@clickview/reports 0.71.1-dev.0 → 0.72.0

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 (417) hide show
  1. package/dist/bundles.json +3 -2
  2. package/dist/css/1103-reports-d3d5cc00db.chunk.css +31 -0
  3. package/dist/css/1456-reports-4a5871a275.chunk.css +9 -0
  4. package/dist/css/1648-reports-012456ba48.chunk.css +2 -0
  5. package/dist/css/209-reports-c33663a53e.chunk.css +11 -0
  6. package/dist/css/2150-reports-84ec0e9770.chunk.css +4 -0
  7. package/dist/css/2217-reports-74dec0a3fe.chunk.css +32 -0
  8. package/dist/css/2997-reports-e08318f14b.chunk.css +9 -0
  9. package/dist/css/2999-reports-f190450b10.chunk.css +60 -0
  10. package/dist/css/4582-reports-d3d5cc00db.chunk.css +31 -0
  11. package/dist/css/5304-reports-22c2d8d635.chunk.css +9 -0
  12. package/dist/css/6007-reports-5ba77c55a3.chunk.css +8 -0
  13. package/dist/css/6031-reports-d558076846.chunk.css +6 -0
  14. package/dist/css/6356-reports-8c5b220bf6.chunk.css +1 -0
  15. package/dist/css/6811-reports-baf2e97e71.chunk.css +35 -0
  16. package/dist/css/7723-reports-8c6d3c414b.chunk.css +4 -0
  17. package/dist/css/7747-reports-2d9e191b5a.chunk.css +12 -0
  18. package/dist/css/8087-reports-cfe23ba648.chunk.css +10 -0
  19. package/dist/css/8294-reports-c797263ac2.chunk.css +1 -0
  20. package/dist/css/8418-reports-0ada3f3ce2.chunk.css +29 -0
  21. package/dist/css/8450-reports-06493dfde5.chunk.css +9 -0
  22. package/dist/css/8622-reports-9e8970cc7f.chunk.css +8 -0
  23. package/dist/css/8839-reports-8e46644943.chunk.css +1 -0
  24. package/dist/css/8989-reports-92b4f1dde8.chunk.css +8 -0
  25. package/dist/css/9059-reports-a2ac630ebc.chunk.css +35 -0
  26. package/dist/css/9285-reports-5b9af8380f.chunk.css +13 -0
  27. package/dist/css/9661-reports-7435e94a85.chunk.css +4 -0
  28. package/dist/css/9822-reports-a1db1900c7.chunk.css +8 -0
  29. package/dist/css/9949-reports-f22fa2b407.chunk.css +15 -0
  30. package/dist/css/reports-app-b4c4ec5632.css +32 -0
  31. package/dist/languages/en.json +1 -0
  32. package/dist/scripts/1103-d77d388f5b-reports.chunk.js +1 -0
  33. package/dist/scripts/1177-7cf7817e74-reports.chunk.js +1 -0
  34. package/dist/scripts/1456-b7f437ef87-reports.chunk.js +1 -0
  35. package/dist/scripts/1648-e892604f5a-reports.chunk.js +1 -0
  36. package/dist/scripts/1934-ca8497c768-reports.chunk.js +2 -0
  37. package/dist/scripts/1934-ca8497c768-reports.chunk.js.LICENSE.txt +9 -0
  38. package/dist/scripts/2087-e0ef668e1f-reports.chunk.js +1 -0
  39. package/dist/scripts/209-72e77f375e-reports.chunk.js +1 -0
  40. package/dist/scripts/2150-4e9e1fb433-reports.chunk.js +1 -0
  41. package/dist/scripts/2217-15fa35197a-reports.chunk.js +1 -0
  42. package/dist/scripts/2476-a700f69dc4-reports.chunk.js +1 -0
  43. package/dist/scripts/2539-04dfb4f4f1-reports.chunk.js +1 -0
  44. package/dist/scripts/2997-444b5bdaf0-reports.chunk.js +1 -0
  45. package/dist/scripts/2999-f5ee243b25-reports.chunk.js +2 -0
  46. package/dist/scripts/2999-f5ee243b25-reports.chunk.js.LICENSE.txt +1 -0
  47. package/dist/scripts/312-8b006e92ff-reports.chunk.js +1 -0
  48. package/dist/scripts/4234-e3c04f41eb-reports.chunk.js +1 -0
  49. package/dist/scripts/4372-26474a3318-reports.chunk.js +1 -0
  50. package/dist/scripts/438-b444dfb8c6-reports.chunk.js +1 -0
  51. package/dist/scripts/4582-230f130f41-reports.chunk.js +1 -0
  52. package/dist/scripts/4752-db4247883d-reports.chunk.js +2 -0
  53. package/dist/scripts/4752-db4247883d-reports.chunk.js.LICENSE.txt +118 -0
  54. package/dist/scripts/4979-7e14b09f33-reports.chunk.js +1 -0
  55. package/dist/scripts/5051-ff0ec9348d-reports.chunk.js +1 -0
  56. package/dist/scripts/5091-ddd6f61b55-reports.chunk.js +1 -0
  57. package/dist/scripts/5173-cce3b37672-reports.chunk.js +1 -0
  58. package/dist/scripts/5177-a7372e7b8d-reports.chunk.js +1 -0
  59. package/dist/scripts/5304-d5674b32b4-reports.chunk.js +1 -0
  60. package/dist/scripts/5802-2125536755-reports.chunk.js +1 -0
  61. package/dist/scripts/6007-42edca6bba-reports.chunk.js +1 -0
  62. package/dist/scripts/6031-b1c60cc409-reports.chunk.js +1 -0
  63. package/dist/scripts/6081-2bbda6cac3-reports.chunk.js +1 -0
  64. package/dist/scripts/6180-bdb237ffbe-reports.chunk.js +2 -0
  65. package/dist/scripts/6180-bdb237ffbe-reports.chunk.js.LICENSE.txt +1 -0
  66. package/dist/scripts/6198-189ddde870-reports.chunk.js +1 -0
  67. package/dist/scripts/6356-a1b313c73e-reports.chunk.js +1 -0
  68. package/dist/scripts/645-e8b19128e5-reports.chunk.js +1 -0
  69. package/dist/scripts/6545-eadce8e749-reports.chunk.js +1 -0
  70. package/dist/scripts/6811-40ded4c089-reports.chunk.js +1 -0
  71. package/dist/scripts/7238-de5ef0ebfb-reports.chunk.js +1 -0
  72. package/dist/scripts/7562-748e60c3fc-reports.chunk.js +1 -0
  73. package/dist/scripts/7709-82750ee317-reports.chunk.js +1 -0
  74. package/dist/scripts/7723-1799f5aa26-reports.chunk.js +1 -0
  75. package/dist/scripts/7747-bc33e51d7b-reports.chunk.js +2 -0
  76. package/dist/scripts/7747-bc33e51d7b-reports.chunk.js.LICENSE.txt +1 -0
  77. package/dist/scripts/7925-c6c532c9c4-reports.chunk.js +1 -0
  78. package/dist/scripts/8087-1d9e9701e5-reports.chunk.js +1 -0
  79. package/dist/scripts/8393-c37cc22b4c-reports.chunk.js +1 -0
  80. package/dist/scripts/8418-9f96caf039-reports.chunk.js +1 -0
  81. package/dist/scripts/8450-f2d5d99614-reports.chunk.js +1 -0
  82. package/dist/scripts/8591-4811082ab0-reports.chunk.js +1 -0
  83. package/dist/scripts/8622-a422eff0c4-reports.chunk.js +1 -0
  84. package/dist/scripts/8839-711793a97f-reports.chunk.js +1 -0
  85. package/dist/scripts/8989-ca5cab7f45-reports.chunk.js +1 -0
  86. package/dist/scripts/9059-b2dcf3cdb2-reports.chunk.js +1 -0
  87. package/dist/scripts/9162-7ffc692736-reports.chunk.js +1 -0
  88. package/dist/scripts/9285-ecddd01efb-reports.chunk.js +1 -0
  89. package/dist/scripts/9590-41bb23ae71-reports.chunk.js +1 -0
  90. package/dist/scripts/9647-f0c111d3f0-reports.chunk.js +1 -0
  91. package/dist/scripts/9661-2dee4c3417-reports.chunk.js +1 -0
  92. package/dist/scripts/9822-1b202f9d49-reports.chunk.js +1 -0
  93. package/dist/scripts/9895-3b3feb12b9-reports.chunk.js +1 -0
  94. package/dist/scripts/9949-63e32c6733-reports.chunk.js +1 -0
  95. package/dist/scripts/bundle-8754f0e6b8.min.js +2 -0
  96. package/dist/scripts/bundle-8754f0e6b8.min.js.LICENSE.txt +108 -0
  97. package/dist/scripts/polyfills-3db3f009d4.min.js +1 -0
  98. package/package.json +3 -5
  99. package/typings/utils/imports.d.ts +1 -1
  100. package/dist/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
  101. package/dist/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
  102. package/dist/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
  103. package/dist/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
  104. package/dist/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
  105. package/dist/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
  106. package/dist/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
  107. package/dist/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
  108. package/dist/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
  109. package/dist/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
  110. package/dist/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
  111. package/dist/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
  112. package/dist/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
  113. package/dist/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
  114. package/dist/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
  115. package/dist/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
  116. package/dist/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
  117. package/dist/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
  118. package/dist/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
  119. package/dist/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
  120. package/dist/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
  121. package/dist/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
  122. package/dist/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
  123. package/dist/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
  124. package/dist/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
  125. package/dist/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
  126. package/dist/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
  127. package/dist/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
  128. package/dist/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
  129. package/dist/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
  130. package/dist/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
  131. package/dist/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
  132. package/dist/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
  133. package/dist/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
  134. package/dist/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
  135. package/dist/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
  136. package/dist/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
  137. package/dist/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
  138. package/dist/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
  139. package/dist/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
  140. package/dist/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
  141. package/dist/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
  142. package/dist/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
  143. package/dist/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
  144. package/dist/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
  145. package/dist/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
  146. package/dist/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
  147. package/dist/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
  148. package/dist/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
  149. package/dist/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
  150. package/dist/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
  151. package/dist/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
  152. package/dist/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
  153. package/dist/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
  154. package/dist/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
  155. package/dist/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
  156. package/dist/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
  157. package/dist/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
  158. package/dist/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
  159. package/dist/css/1VpVng8x.chunk.css +0 -1
  160. package/dist/css/BDijM1kt.chunk.css +0 -1
  161. package/dist/css/BMPwvOki.chunk.css +0 -1
  162. package/dist/css/BNt45Kgy.chunk.css +0 -1
  163. package/dist/css/BSGhUWzl.chunk.css +0 -1
  164. package/dist/css/BZ3_uhDP.chunk.css +0 -1
  165. package/dist/css/BaadNO4A.chunk.css +0 -1
  166. package/dist/css/BdUNjJqp.chunk.css +0 -1
  167. package/dist/css/BdeI0FAV.chunk.css +0 -1
  168. package/dist/css/BxcMGr8Y.chunk.css +0 -1
  169. package/dist/css/ByuL_xKJ.chunk.css +0 -1
  170. package/dist/css/C-A0Pj_7.chunk.css +0 -1
  171. package/dist/css/C4jMfPWU.chunk.css +0 -1
  172. package/dist/css/C7XoyEPr.chunk.css +0 -1
  173. package/dist/css/C8sxda3R.chunk.css +0 -1
  174. package/dist/css/CD1qrI1T.chunk.css +0 -1
  175. package/dist/css/CFO--d_R.chunk.css +0 -1
  176. package/dist/css/CX9nw8t8.chunk.css +0 -1
  177. package/dist/css/C_qGRdC2.chunk.css +0 -1
  178. package/dist/css/CdC6ugQR.chunk.css +0 -1
  179. package/dist/css/ClRRGXPb.chunk.css +0 -1
  180. package/dist/css/Cr1bwtZG.chunk.css +0 -1
  181. package/dist/css/DBlPz5Fw.chunk.css +0 -1
  182. package/dist/css/DDnpOnVB.chunk.css +0 -1
  183. package/dist/css/DFZQCLLg.chunk.css +0 -1
  184. package/dist/css/DJwAbl6l.chunk.css +0 -1
  185. package/dist/css/DWjg_0sz.chunk.css +0 -1
  186. package/dist/css/DYV9jjVn.chunk.css +0 -1
  187. package/dist/css/Dgeh4AqU.chunk.css +0 -9
  188. package/dist/css/DlOtoSz0.chunk.css +0 -1
  189. package/dist/css/DlxOgKUu.chunk.css +0 -1
  190. package/dist/css/Dp3arkyy.chunk.css +0 -1
  191. package/dist/css/DwgaDUzz.chunk.css +0 -1
  192. package/dist/css/FPQ_LmXH.chunk.css +0 -1
  193. package/dist/css/H09rC9gw.chunk.css +0 -1
  194. package/dist/css/LAFr2dPT.chunk.css +0 -1
  195. package/dist/css/Pg1TlYG6.chunk.css +0 -1
  196. package/dist/css/PsQn3-kb.chunk.css +0 -1
  197. package/dist/css/alkEuPrr.chunk.css +0 -1
  198. package/dist/css/k4DgCj_g.chunk.css +0 -1
  199. package/dist/en.json +0 -1
  200. package/dist/scripts/5O9SdVRZ.chunk.js +0 -2
  201. package/dist/scripts/5O9SdVRZ.chunk.js.map +0 -1
  202. package/dist/scripts/71lqp_27.chunk.js +0 -2
  203. package/dist/scripts/71lqp_27.chunk.js.map +0 -1
  204. package/dist/scripts/B29cILrj.chunk.js +0 -2
  205. package/dist/scripts/B29cILrj.chunk.js.map +0 -1
  206. package/dist/scripts/B8h79IbE.chunk.js +0 -10
  207. package/dist/scripts/B8h79IbE.chunk.js.map +0 -1
  208. package/dist/scripts/BAY69EEW.chunk.js +0 -4
  209. package/dist/scripts/BAY69EEW.chunk.js.map +0 -1
  210. package/dist/scripts/BAb7U5e_.chunk.js +0 -2
  211. package/dist/scripts/BAb7U5e_.chunk.js.map +0 -1
  212. package/dist/scripts/BENXQfLb.chunk.js +0 -2
  213. package/dist/scripts/BENXQfLb.chunk.js.map +0 -1
  214. package/dist/scripts/BF6robfP.chunk.js +0 -2
  215. package/dist/scripts/BF6robfP.chunk.js.map +0 -1
  216. package/dist/scripts/BHgJhw0m.chunk.js +0 -2
  217. package/dist/scripts/BHgJhw0m.chunk.js.map +0 -1
  218. package/dist/scripts/BJDrvt1V.chunk.js +0 -3
  219. package/dist/scripts/BJDrvt1V.chunk.js.map +0 -1
  220. package/dist/scripts/BKardFg7.chunk.js +0 -2
  221. package/dist/scripts/BKardFg7.chunk.js.map +0 -1
  222. package/dist/scripts/BNPb8jz9.chunk.js +0 -2
  223. package/dist/scripts/BNPb8jz9.chunk.js.map +0 -1
  224. package/dist/scripts/BPjdUUKC.chunk.js +0 -2
  225. package/dist/scripts/BPjdUUKC.chunk.js.map +0 -1
  226. package/dist/scripts/BQIPBrM1.chunk.js +0 -2
  227. package/dist/scripts/BQIPBrM1.chunk.js.map +0 -1
  228. package/dist/scripts/BSOiWR0F.chunk.js +0 -6
  229. package/dist/scripts/BSOiWR0F.chunk.js.map +0 -1
  230. package/dist/scripts/BUXFRkJU.chunk.js +0 -2
  231. package/dist/scripts/BUXFRkJU.chunk.js.map +0 -1
  232. package/dist/scripts/BVwIslOW.chunk.js +0 -2
  233. package/dist/scripts/BVwIslOW.chunk.js.map +0 -1
  234. package/dist/scripts/BWQPt-2Q.chunk.js +0 -2
  235. package/dist/scripts/BWQPt-2Q.chunk.js.map +0 -1
  236. package/dist/scripts/BcPvb8J5.chunk.js +0 -2
  237. package/dist/scripts/BcPvb8J5.chunk.js.map +0 -1
  238. package/dist/scripts/Bf0d_B71.chunk.js +0 -2
  239. package/dist/scripts/Bf0d_B71.chunk.js.map +0 -1
  240. package/dist/scripts/Bic1CpMi.chunk.js +0 -2
  241. package/dist/scripts/Bic1CpMi.chunk.js.map +0 -1
  242. package/dist/scripts/BjgJ1i6i.chunk.js +0 -6
  243. package/dist/scripts/BjgJ1i6i.chunk.js.map +0 -1
  244. package/dist/scripts/BjiBJyQD.chunk.js +0 -2
  245. package/dist/scripts/BjiBJyQD.chunk.js.map +0 -1
  246. package/dist/scripts/BkuaVwYH.chunk.js +0 -2
  247. package/dist/scripts/BkuaVwYH.chunk.js.map +0 -1
  248. package/dist/scripts/BmVEWaPp.chunk.js +0 -4
  249. package/dist/scripts/BmVEWaPp.chunk.js.map +0 -1
  250. package/dist/scripts/BohkY37l.chunk.js +0 -2
  251. package/dist/scripts/BohkY37l.chunk.js.map +0 -1
  252. package/dist/scripts/BvIrLDbv.chunk.js +0 -2
  253. package/dist/scripts/BvIrLDbv.chunk.js.map +0 -1
  254. package/dist/scripts/BvJAziJf.chunk.js +0 -2
  255. package/dist/scripts/BvJAziJf.chunk.js.map +0 -1
  256. package/dist/scripts/BzoD15bZ.chunk.js +0 -2
  257. package/dist/scripts/BzoD15bZ.chunk.js.map +0 -1
  258. package/dist/scripts/C0fIn5Jw.chunk.js +0 -2
  259. package/dist/scripts/C0fIn5Jw.chunk.js.map +0 -1
  260. package/dist/scripts/C1LS2BqQ.chunk.js +0 -2
  261. package/dist/scripts/C1LS2BqQ.chunk.js.map +0 -1
  262. package/dist/scripts/C89Wm2QM.chunk.js +0 -2
  263. package/dist/scripts/C89Wm2QM.chunk.js.map +0 -1
  264. package/dist/scripts/CFp1zKGZ.chunk.js +0 -8
  265. package/dist/scripts/CFp1zKGZ.chunk.js.map +0 -1
  266. package/dist/scripts/CGvB_tzk.chunk.js +0 -2
  267. package/dist/scripts/CGvB_tzk.chunk.js.map +0 -1
  268. package/dist/scripts/CJGzIuaC.chunk.js +0 -2
  269. package/dist/scripts/CJGzIuaC.chunk.js.map +0 -1
  270. package/dist/scripts/CK9SUSD9.chunk.js +0 -2
  271. package/dist/scripts/CK9SUSD9.chunk.js.map +0 -1
  272. package/dist/scripts/CRnFAzfK.chunk.js +0 -2
  273. package/dist/scripts/CRnFAzfK.chunk.js.map +0 -1
  274. package/dist/scripts/CVftTaOh.chunk.js +0 -2
  275. package/dist/scripts/CVftTaOh.chunk.js.map +0 -1
  276. package/dist/scripts/CW7x8M-z.chunk.js +0 -2
  277. package/dist/scripts/CW7x8M-z.chunk.js.map +0 -1
  278. package/dist/scripts/CX5q-0jT.chunk.js +0 -2
  279. package/dist/scripts/CX5q-0jT.chunk.js.map +0 -1
  280. package/dist/scripts/CcJo9tyC.chunk.js +0 -2
  281. package/dist/scripts/CcJo9tyC.chunk.js.map +0 -1
  282. package/dist/scripts/Cd8Y7VGD.chunk.js +0 -2
  283. package/dist/scripts/Cd8Y7VGD.chunk.js.map +0 -1
  284. package/dist/scripts/CdEUIVMJ.chunk.js +0 -2
  285. package/dist/scripts/CdEUIVMJ.chunk.js.map +0 -1
  286. package/dist/scripts/Cf7yxDlS.chunk.js +0 -2
  287. package/dist/scripts/Cf7yxDlS.chunk.js.map +0 -1
  288. package/dist/scripts/Ch38wU3l.chunk.js +0 -2
  289. package/dist/scripts/Ch38wU3l.chunk.js.map +0 -1
  290. package/dist/scripts/Cj1EIzRP.chunk.js +0 -2
  291. package/dist/scripts/Cj1EIzRP.chunk.js.map +0 -1
  292. package/dist/scripts/Ckh8ZMGm.chunk.js +0 -2
  293. package/dist/scripts/Ckh8ZMGm.chunk.js.map +0 -1
  294. package/dist/scripts/ClIb9fji.chunk.js +0 -10
  295. package/dist/scripts/ClIb9fji.chunk.js.map +0 -1
  296. package/dist/scripts/ClkubQ2J.chunk.js +0 -2
  297. package/dist/scripts/ClkubQ2J.chunk.js.map +0 -1
  298. package/dist/scripts/ClngJcaG.chunk.js +0 -2
  299. package/dist/scripts/ClngJcaG.chunk.js.map +0 -1
  300. package/dist/scripts/Cmh_kkGl.chunk.js +0 -2
  301. package/dist/scripts/Cmh_kkGl.chunk.js.map +0 -1
  302. package/dist/scripts/Cmu1J2M7.chunk.js +0 -262
  303. package/dist/scripts/Cmu1J2M7.chunk.js.map +0 -1
  304. package/dist/scripts/CqnFgpqG.chunk.js +0 -2
  305. package/dist/scripts/CqnFgpqG.chunk.js.map +0 -1
  306. package/dist/scripts/Ctl4eE7j.chunk.js +0 -2
  307. package/dist/scripts/Ctl4eE7j.chunk.js.map +0 -1
  308. package/dist/scripts/Cu2SZCs_.chunk.js +0 -3
  309. package/dist/scripts/Cu2SZCs_.chunk.js.map +0 -1
  310. package/dist/scripts/Cus4Epw8.chunk.js +0 -2
  311. package/dist/scripts/Cus4Epw8.chunk.js.map +0 -1
  312. package/dist/scripts/Cwr3w1_A.chunk.js +0 -2
  313. package/dist/scripts/Cwr3w1_A.chunk.js.map +0 -1
  314. package/dist/scripts/CyS0Qcff.chunk.js +0 -2
  315. package/dist/scripts/CyS0Qcff.chunk.js.map +0 -1
  316. package/dist/scripts/Cz6t-6nF.chunk.js +0 -2
  317. package/dist/scripts/Cz6t-6nF.chunk.js.map +0 -1
  318. package/dist/scripts/D22pDzdH.chunk.js +0 -2
  319. package/dist/scripts/D22pDzdH.chunk.js.map +0 -1
  320. package/dist/scripts/D2z6V6KN.chunk.js +0 -2
  321. package/dist/scripts/D2z6V6KN.chunk.js.map +0 -1
  322. package/dist/scripts/D3rgHjw0.chunk.js +0 -2
  323. package/dist/scripts/D3rgHjw0.chunk.js.map +0 -1
  324. package/dist/scripts/D4zllLcC.chunk.js +0 -2
  325. package/dist/scripts/D4zllLcC.chunk.js.map +0 -1
  326. package/dist/scripts/D5FZp_R5.chunk.js +0 -2
  327. package/dist/scripts/D5FZp_R5.chunk.js.map +0 -1
  328. package/dist/scripts/D9PHjOfy.chunk.js +0 -42
  329. package/dist/scripts/D9PHjOfy.chunk.js.map +0 -1
  330. package/dist/scripts/DMIuTLXg.chunk.js +0 -2
  331. package/dist/scripts/DMIuTLXg.chunk.js.map +0 -1
  332. package/dist/scripts/DNgLQx2d.chunk.js +0 -2
  333. package/dist/scripts/DNgLQx2d.chunk.js.map +0 -1
  334. package/dist/scripts/DPPRKUKt.chunk.js +0 -2
  335. package/dist/scripts/DPPRKUKt.chunk.js.map +0 -1
  336. package/dist/scripts/DTDgnfLK.chunk.js +0 -2
  337. package/dist/scripts/DTDgnfLK.chunk.js.map +0 -1
  338. package/dist/scripts/DTUnn1Hh.chunk.js +0 -2
  339. package/dist/scripts/DTUnn1Hh.chunk.js.map +0 -1
  340. package/dist/scripts/DWKdFOij.chunk.js +0 -2
  341. package/dist/scripts/DWKdFOij.chunk.js.map +0 -1
  342. package/dist/scripts/DXjxFPuU.chunk.js +0 -2
  343. package/dist/scripts/DXjxFPuU.chunk.js.map +0 -1
  344. package/dist/scripts/DZYVycui.chunk.js +0 -2
  345. package/dist/scripts/DZYVycui.chunk.js.map +0 -1
  346. package/dist/scripts/D_Q6UyjE.chunk.js +0 -2
  347. package/dist/scripts/D_Q6UyjE.chunk.js.map +0 -1
  348. package/dist/scripts/D_YN6yks.chunk.js +0 -2
  349. package/dist/scripts/D_YN6yks.chunk.js.map +0 -1
  350. package/dist/scripts/DecntqLn.chunk.js +0 -2
  351. package/dist/scripts/DecntqLn.chunk.js.map +0 -1
  352. package/dist/scripts/DfBzbPUM.chunk.js +0 -2
  353. package/dist/scripts/DfBzbPUM.chunk.js.map +0 -1
  354. package/dist/scripts/Di60KvwG.chunk.js +0 -2
  355. package/dist/scripts/Di60KvwG.chunk.js.map +0 -1
  356. package/dist/scripts/Dj0aHq7R.chunk.js +0 -2
  357. package/dist/scripts/Dj0aHq7R.chunk.js.map +0 -1
  358. package/dist/scripts/DjZDmVy9.chunk.js +0 -2
  359. package/dist/scripts/DjZDmVy9.chunk.js.map +0 -1
  360. package/dist/scripts/DjgLQWKh.chunk.js +0 -2
  361. package/dist/scripts/DjgLQWKh.chunk.js.map +0 -1
  362. package/dist/scripts/DljLRdDL.chunk.js +0 -2
  363. package/dist/scripts/DljLRdDL.chunk.js.map +0 -1
  364. package/dist/scripts/DoKirPj2.chunk.js +0 -2
  365. package/dist/scripts/DoKirPj2.chunk.js.map +0 -1
  366. package/dist/scripts/DrZPksO1.chunk.js +0 -2
  367. package/dist/scripts/DrZPksO1.chunk.js.map +0 -1
  368. package/dist/scripts/DwXWjOFd.chunk.js +0 -2
  369. package/dist/scripts/DwXWjOFd.chunk.js.map +0 -1
  370. package/dist/scripts/Dwsvd8p8.chunk.js +0 -3
  371. package/dist/scripts/Dwsvd8p8.chunk.js.map +0 -1
  372. package/dist/scripts/Ewq6yyV4.chunk.js +0 -2
  373. package/dist/scripts/Ewq6yyV4.chunk.js.map +0 -1
  374. package/dist/scripts/GOwzfXiv.chunk.js +0 -2
  375. package/dist/scripts/GOwzfXiv.chunk.js.map +0 -1
  376. package/dist/scripts/GybZtYpZ.chunk.js +0 -3
  377. package/dist/scripts/GybZtYpZ.chunk.js.map +0 -1
  378. package/dist/scripts/H13OLF2T.chunk.js +0 -2
  379. package/dist/scripts/H13OLF2T.chunk.js.map +0 -1
  380. package/dist/scripts/HdH1xgCy.chunk.js +0 -2
  381. package/dist/scripts/HdH1xgCy.chunk.js.map +0 -1
  382. package/dist/scripts/K65Dt7jg.chunk.js +0 -2
  383. package/dist/scripts/K65Dt7jg.chunk.js.map +0 -1
  384. package/dist/scripts/M-TSYEoo.chunk.js +0 -2
  385. package/dist/scripts/M-TSYEoo.chunk.js.map +0 -1
  386. package/dist/scripts/O9F9Sybw.chunk.js +0 -34
  387. package/dist/scripts/O9F9Sybw.chunk.js.map +0 -1
  388. package/dist/scripts/PRj0OsVz.chunk.js +0 -2
  389. package/dist/scripts/PRj0OsVz.chunk.js.map +0 -1
  390. package/dist/scripts/SsbfqiCA.chunk.js +0 -2
  391. package/dist/scripts/SsbfqiCA.chunk.js.map +0 -1
  392. package/dist/scripts/app-BDrXtKwD.js +0 -228
  393. package/dist/scripts/app-BDrXtKwD.js.map +0 -1
  394. package/dist/scripts/bOC-mo3v.chunk.js +0 -2
  395. package/dist/scripts/bOC-mo3v.chunk.js.map +0 -1
  396. package/dist/scripts/cCAKx9a1.chunk.js +0 -2
  397. package/dist/scripts/cCAKx9a1.chunk.js.map +0 -1
  398. package/dist/scripts/csPZD_eN.chunk.js +0 -2
  399. package/dist/scripts/csPZD_eN.chunk.js.map +0 -1
  400. package/dist/scripts/iTBVzKEZ.chunk.js +0 -2
  401. package/dist/scripts/iTBVzKEZ.chunk.js.map +0 -1
  402. package/dist/scripts/jhT3mG38.chunk.js +0 -2
  403. package/dist/scripts/jhT3mG38.chunk.js.map +0 -1
  404. package/dist/scripts/lcnUAi0K.chunk.js +0 -2
  405. package/dist/scripts/lcnUAi0K.chunk.js.map +0 -1
  406. package/dist/scripts/mBxqWw8V.chunk.js +0 -2
  407. package/dist/scripts/mBxqWw8V.chunk.js.map +0 -1
  408. package/dist/scripts/nR79RHo_.chunk.js +0 -15
  409. package/dist/scripts/nR79RHo_.chunk.js.map +0 -1
  410. package/dist/scripts/sFV5nxD4.chunk.js +0 -2
  411. package/dist/scripts/sFV5nxD4.chunk.js.map +0 -1
  412. package/dist/scripts/t5MCaEYl.chunk.js +0 -2
  413. package/dist/scripts/t5MCaEYl.chunk.js.map +0 -1
  414. package/dist/scripts/uoF107dn.chunk.js +0 -380
  415. package/dist/scripts/uoF107dn.chunk.js.map +0 -1
  416. package/dist/scripts/zeFMHqhy.chunk.js +0 -2
  417. package/dist/scripts/zeFMHqhy.chunk.js.map +0 -1
@@ -1,228 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["scripts/DwXWjOFd.chunk.js","scripts/ClngJcaG.chunk.js","scripts/nR79RHo_.chunk.js","scripts/H13OLF2T.chunk.js","scripts/Cmh_kkGl.chunk.js","scripts/BcPvb8J5.chunk.js","css/DlOtoSz0.chunk.css","scripts/csPZD_eN.chunk.js","scripts/BAb7U5e_.chunk.js","scripts/BzoD15bZ.chunk.js","scripts/B29cILrj.chunk.js","scripts/lcnUAi0K.chunk.js","scripts/Ctl4eE7j.chunk.js","scripts/CVftTaOh.chunk.js","scripts/ClkubQ2J.chunk.js","scripts/BJDrvt1V.chunk.js","scripts/K65Dt7jg.chunk.js","scripts/5O9SdVRZ.chunk.js","css/BdUNjJqp.chunk.css","scripts/GybZtYpZ.chunk.js","scripts/sFV5nxD4.chunk.js","scripts/D4zllLcC.chunk.js","css/C7XoyEPr.chunk.css","scripts/DjgLQWKh.chunk.js","css/DWjg_0sz.chunk.css","scripts/D3rgHjw0.chunk.js","scripts/BHgJhw0m.chunk.js","scripts/Cu2SZCs_.chunk.js","scripts/HdH1xgCy.chunk.js","css/CdC6ugQR.chunk.css","scripts/M-TSYEoo.chunk.js","scripts/BvJAziJf.chunk.js","scripts/BKardFg7.chunk.js","css/H09rC9gw.chunk.css","scripts/DTDgnfLK.chunk.js","css/ClRRGXPb.chunk.css","css/C8sxda3R.chunk.css","scripts/PRj0OsVz.chunk.js","scripts/uoF107dn.chunk.js","scripts/CFp1zKGZ.chunk.js","css/DJwAbl6l.chunk.css","scripts/Dwsvd8p8.chunk.js","scripts/CW7x8M-z.chunk.js","scripts/BF6robfP.chunk.js","scripts/DfBzbPUM.chunk.js","scripts/mBxqWw8V.chunk.js","scripts/CyS0Qcff.chunk.js","scripts/DZYVycui.chunk.js","scripts/Cf7yxDlS.chunk.js","scripts/D9PHjOfy.chunk.js","css/BNt45Kgy.chunk.css","scripts/CX5q-0jT.chunk.js","scripts/D22pDzdH.chunk.js","css/k4DgCj_g.chunk.css","scripts/CK9SUSD9.chunk.js","css/1VpVng8x.chunk.css","scripts/D5FZp_R5.chunk.js","scripts/CJGzIuaC.chunk.js","scripts/BPjdUUKC.chunk.js","css/PsQn3-kb.chunk.css","scripts/BNPb8jz9.chunk.js","scripts/CdEUIVMJ.chunk.js","scripts/B8h79IbE.chunk.js","scripts/DljLRdDL.chunk.js","scripts/C89Wm2QM.chunk.js","scripts/DecntqLn.chunk.js","css/BdeI0FAV.chunk.css","scripts/Bf0d_B71.chunk.js","css/CFO--d_R.chunk.css","css/Cr1bwtZG.chunk.css","css/DwgaDUzz.chunk.css","scripts/DXjxFPuU.chunk.js","scripts/jhT3mG38.chunk.js","scripts/bOC-mo3v.chunk.js","scripts/SsbfqiCA.chunk.js","css/BaadNO4A.chunk.css","scripts/C0fIn5Jw.chunk.js","css/BZ3_uhDP.chunk.css","scripts/DPPRKUKt.chunk.js","css/DFZQCLLg.chunk.css","scripts/Cwr3w1_A.chunk.js","css/BxcMGr8Y.chunk.css","scripts/CGvB_tzk.chunk.js","css/BDijM1kt.chunk.css","scripts/Cus4Epw8.chunk.js","scripts/cCAKx9a1.chunk.js","scripts/BjiBJyQD.chunk.js","scripts/BkuaVwYH.chunk.js","scripts/BjgJ1i6i.chunk.js","css/C4jMfPWU.chunk.css","css/Dp3arkyy.chunk.css","scripts/t5MCaEYl.chunk.js","scripts/BSOiWR0F.chunk.js","css/Pg1TlYG6.chunk.css","scripts/ClIb9fji.chunk.js","css/Dgeh4AqU.chunk.css","scripts/Ch38wU3l.chunk.js","scripts/C1LS2BqQ.chunk.js","css/DDnpOnVB.chunk.css","scripts/BVwIslOW.chunk.js","css/C-A0Pj_7.chunk.css","scripts/BAY69EEW.chunk.js","scripts/Cd8Y7VGD.chunk.js","scripts/Ewq6yyV4.chunk.js","scripts/DrZPksO1.chunk.js","scripts/BUXFRkJU.chunk.js","scripts/Ckh8ZMGm.chunk.js","scripts/BENXQfLb.chunk.js","css/DBlPz5Fw.chunk.css","scripts/D2z6V6KN.chunk.js","scripts/BWQPt-2Q.chunk.js","scripts/BvIrLDbv.chunk.js","scripts/BmVEWaPp.chunk.js","scripts/CRnFAzfK.chunk.js","css/DYV9jjVn.chunk.css","scripts/Cz6t-6nF.chunk.js","scripts/O9F9Sybw.chunk.js","css/FPQ_LmXH.chunk.css","css/BMPwvOki.chunk.css","scripts/zeFMHqhy.chunk.js","css/C_qGRdC2.chunk.css","scripts/CqnFgpqG.chunk.js","scripts/D_Q6UyjE.chunk.js","scripts/BohkY37l.chunk.js","css/alkEuPrr.chunk.css","scripts/DMIuTLXg.chunk.js","css/ByuL_xKJ.chunk.css","scripts/Cj1EIzRP.chunk.js","scripts/CcJo9tyC.chunk.js","scripts/71lqp_27.chunk.js","scripts/DoKirPj2.chunk.js","css/BSGhUWzl.chunk.css","scripts/DWKdFOij.chunk.js","scripts/Di60KvwG.chunk.js","scripts/Bic1CpMi.chunk.js","scripts/BQIPBrM1.chunk.js","scripts/DNgLQx2d.chunk.js","scripts/DjZDmVy9.chunk.js","css/DlxOgKUu.chunk.css","scripts/Dj0aHq7R.chunk.js","scripts/iTBVzKEZ.chunk.js","css/CX9nw8t8.chunk.css","scripts/Cmu1J2M7.chunk.js","css/CD1qrI1T.chunk.css"])))=>i.map(i=>d[i]);
2
- var wle=Object.defineProperty;var ble=(e,t,r)=>t in e?wle(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var li=(e,t,r)=>ble(e,typeof t!="symbol"?t+"":t,r);function jn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function $5e(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}),r}var IS={exports:{}},_M;function Tle(){return _M||(_M=1,(function(e){var t=(function(r){var n=Object.prototype,i=n.hasOwnProperty,a,o=typeof Symbol=="function"?Symbol:{},u=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function d(D,I,L){return Object.defineProperty(D,I,{value:L,enumerable:!0,configurable:!0,writable:!0}),D[I]}try{d({},"")}catch{d=function(I,L,re){return I[L]=re}}function h(D,I,L,re){var te=I&&I.prototype instanceof b?I:b,ce=Object.create(te.prototype),be=new K(re||[]);return ce._invoke=$(D,L,be),ce}r.wrap=h;function v(D,I,L){try{return{type:"normal",arg:D.call(I,L)}}catch(re){return{type:"throw",arg:re}}}var g="suspendedStart",m="suspendedYield",y="executing",S="completed",w={};function b(){}function A(){}function R(){}var x={};d(x,u,function(){return this});var O=Object.getPrototypeOf,_=O&&O(O(ee([])));_&&_!==n&&i.call(_,u)&&(x=_);var P=R.prototype=b.prototype=Object.create(x);A.prototype=R,d(P,"constructor",R),d(R,"constructor",A),A.displayName=d(R,c,"GeneratorFunction");function N(D){["next","throw","return"].forEach(function(I){d(D,I,function(L){return this._invoke(I,L)})})}r.isGeneratorFunction=function(D){var I=typeof D=="function"&&D.constructor;return I?I===A||(I.displayName||I.name)==="GeneratorFunction":!1},r.mark=function(D){return Object.setPrototypeOf?Object.setPrototypeOf(D,R):(D.__proto__=R,d(D,c,"GeneratorFunction")),D.prototype=Object.create(P),D},r.awrap=function(D){return{__await:D}};function U(D,I){function L(ce,be,Ie,je){var z=v(D[ce],D,be);if(z.type==="throw")je(z.arg);else{var k=z.arg,q=k.value;return q&&typeof q=="object"&&i.call(q,"__await")?I.resolve(q.__await).then(function(H){L("next",H,Ie,je)},function(H){L("throw",H,Ie,je)}):I.resolve(q).then(function(H){k.value=H,Ie(k)},function(H){return L("throw",H,Ie,je)})}}var re;function te(ce,be){function Ie(){return new I(function(je,z){L(ce,be,je,z)})}return re=re?re.then(Ie,Ie):Ie()}this._invoke=te}N(U.prototype),d(U.prototype,s,function(){return this}),r.AsyncIterator=U,r.async=function(D,I,L,re,te){te===void 0&&(te=Promise);var ce=new U(h(D,I,L,re),te);return r.isGeneratorFunction(I)?ce:ce.next().then(function(be){return be.done?be.value:ce.next()})};function $(D,I,L){var re=g;return function(ce,be){if(re===y)throw new Error("Generator is already running");if(re===S){if(ce==="throw")throw be;return ne()}for(L.method=ce,L.arg=be;;){var Ie=L.delegate;if(Ie){var je=B(Ie,L);if(je){if(je===w)continue;return je}}if(L.method==="next")L.sent=L._sent=L.arg;else if(L.method==="throw"){if(re===g)throw re=S,L.arg;L.dispatchException(L.arg)}else L.method==="return"&&L.abrupt("return",L.arg);re=y;var z=v(D,I,L);if(z.type==="normal"){if(re=L.done?S:m,z.arg===w)continue;return{value:z.arg,done:L.done}}else z.type==="throw"&&(re=S,L.method="throw",L.arg=z.arg)}}}function B(D,I){var L=D.iterator[I.method];if(L===a){if(I.delegate=null,I.method==="throw"){if(D.iterator.return&&(I.method="return",I.arg=a,B(D,I),I.method==="throw"))return w;I.method="throw",I.arg=new TypeError("The iterator does not provide a 'throw' method")}return w}var re=v(L,D.iterator,I.arg);if(re.type==="throw")return I.method="throw",I.arg=re.arg,I.delegate=null,w;var te=re.arg;if(!te)return I.method="throw",I.arg=new TypeError("iterator result is not an object"),I.delegate=null,w;if(te.done)I[D.resultName]=te.value,I.next=D.nextLoc,I.method!=="return"&&(I.method="next",I.arg=a);else return te;return I.delegate=null,w}N(P),d(P,c,"Generator"),d(P,u,function(){return this}),d(P,"toString",function(){return"[object Generator]"});function Y(D){var I={tryLoc:D[0]};1 in D&&(I.catchLoc=D[1]),2 in D&&(I.finallyLoc=D[2],I.afterLoc=D[3]),this.tryEntries.push(I)}function Q(D){var I=D.completion||{};I.type="normal",delete I.arg,D.completion=I}function K(D){this.tryEntries=[{tryLoc:"root"}],D.forEach(Y,this),this.reset(!0)}r.keys=function(D){var I=[];for(var L in D)I.push(L);return I.reverse(),function re(){for(;I.length;){var te=I.pop();if(te in D)return re.value=te,re.done=!1,re}return re.done=!0,re}};function ee(D){if(D){var I=D[u];if(I)return I.call(D);if(typeof D.next=="function")return D;if(!isNaN(D.length)){var L=-1,re=function te(){for(;++L<D.length;)if(i.call(D,L))return te.value=D[L],te.done=!1,te;return te.value=a,te.done=!0,te};return re.next=re}}return{next:ne}}r.values=ee;function ne(){return{value:a,done:!0}}return K.prototype={constructor:K,reset:function(D){if(this.prev=0,this.next=0,this.sent=this._sent=a,this.done=!1,this.delegate=null,this.method="next",this.arg=a,this.tryEntries.forEach(Q),!D)for(var I in this)I.charAt(0)==="t"&&i.call(this,I)&&!isNaN(+I.slice(1))&&(this[I]=a)},stop:function(){this.done=!0;var D=this.tryEntries[0],I=D.completion;if(I.type==="throw")throw I.arg;return this.rval},dispatchException:function(D){if(this.done)throw D;var I=this;function L(je,z){return ce.type="throw",ce.arg=D,I.next=je,z&&(I.method="next",I.arg=a),!!z}for(var re=this.tryEntries.length-1;re>=0;--re){var te=this.tryEntries[re],ce=te.completion;if(te.tryLoc==="root")return L("end");if(te.tryLoc<=this.prev){var be=i.call(te,"catchLoc"),Ie=i.call(te,"finallyLoc");if(be&&Ie){if(this.prev<te.catchLoc)return L(te.catchLoc,!0);if(this.prev<te.finallyLoc)return L(te.finallyLoc)}else if(be){if(this.prev<te.catchLoc)return L(te.catchLoc,!0)}else if(Ie){if(this.prev<te.finallyLoc)return L(te.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(D,I){for(var L=this.tryEntries.length-1;L>=0;--L){var re=this.tryEntries[L];if(re.tryLoc<=this.prev&&i.call(re,"finallyLoc")&&this.prev<re.finallyLoc){var te=re;break}}te&&(D==="break"||D==="continue")&&te.tryLoc<=I&&I<=te.finallyLoc&&(te=null);var ce=te?te.completion:{};return ce.type=D,ce.arg=I,te?(this.method="next",this.next=te.finallyLoc,w):this.complete(ce)},complete:function(D,I){if(D.type==="throw")throw D.arg;return D.type==="break"||D.type==="continue"?this.next=D.arg:D.type==="return"?(this.rval=this.arg=D.arg,this.method="return",this.next="end"):D.type==="normal"&&I&&(this.next=I),w},finish:function(D){for(var I=this.tryEntries.length-1;I>=0;--I){var L=this.tryEntries[I];if(L.finallyLoc===D)return this.complete(L.completion,L.afterLoc),Q(L),w}},catch:function(D){for(var I=this.tryEntries.length-1;I>=0;--I){var L=this.tryEntries[I];if(L.tryLoc===D){var re=L.completion;if(re.type==="throw"){var te=re.arg;Q(L)}return te}}throw new Error("illegal catch attempt")},delegateYield:function(D,I,L){return this.delegate={iterator:ee(D),resultName:I,nextLoc:L},this.method==="next"&&(this.arg=a),w}},r})(e.exports);try{regeneratorRuntime=t}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}})(IS)),IS.exports}Tle();var SM={},EM={},tv,wM;function er(){if(wM)return tv;wM=1;var e=function(t){return t&&t.Math===Math&&t};return tv=e(typeof globalThis=="object"&&globalThis)||e(typeof window=="object"&&window)||e(typeof self=="object"&&self)||e(typeof globalThis=="object"&&globalThis)||e(typeof tv=="object"&&tv)||(function(){return this})()||Function("return this")(),tv}var PS={},DS,bM;function zt(){return bM||(bM=1,DS=function(e){try{return!!e()}catch{return!0}}),DS}var kS,TM;function Ir(){if(TM)return kS;TM=1;var e=zt();return kS=!e(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),kS}var NS,RM;function hp(){if(RM)return NS;RM=1;var e=zt();return NS=!e(function(){var t=(function(){}).bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),NS}var LS,xM;function Sr(){if(xM)return LS;xM=1;var e=hp(),t=Function.prototype.call;return LS=e?t.bind(t):function(){return t.apply(t,arguments)},LS}var MS={},CM;function Uy(){if(CM)return MS;CM=1;var e={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,r=t&&!e.call({1:2},1);return MS.f=r?function(i){var a=t(this,i);return!!a&&a.enumerable}:e,MS}var $S,AM;function ss(){return AM||(AM=1,$S=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}),$S}var FS,OM;function Kt(){if(OM)return FS;OM=1;var e=hp(),t=Function.prototype,r=t.call,n=e&&t.bind.bind(r,r);return FS=e?n:function(i){return function(){return r.apply(i,arguments)}},FS}var jS,IM;function Za(){if(IM)return jS;IM=1;var e=Kt(),t=e({}.toString),r=e("".slice);return jS=function(n){return r(t(n),8,-1)},jS}var US,PM;function eh(){if(PM)return US;PM=1;var e=Kt(),t=zt(),r=Za(),n=Object,i=e("".split);return US=t(function(){return!n("z").propertyIsEnumerable(0)})?function(a){return r(a)==="String"?i(a,""):n(a)}:n,US}var qS,DM;function hl(){return DM||(DM=1,qS=function(e){return e==null}),qS}var VS,kM;function Pi(){if(kM)return VS;kM=1;var e=hl(),t=TypeError;return VS=function(r){if(e(r))throw new t("Can't call method on "+r);return r},VS}var BS,NM;function Ra(){if(NM)return BS;NM=1;var e=eh(),t=Pi();return BS=function(r){return e(t(r))},BS}var HS,LM;function bn(){if(LM)return HS;LM=1;var e=typeof document=="object"&&document.all;return HS=typeof e>"u"&&e!==void 0?function(t){return typeof t=="function"||t===e}:function(t){return typeof t=="function"},HS}var zS,MM;function Gr(){if(MM)return zS;MM=1;var e=bn();return zS=function(t){return typeof t=="object"?t!==null:e(t)},zS}var WS,$M;function yn(){if($M)return WS;$M=1;var e=er(),t=bn(),r=function(n){return t(n)?n:void 0};return WS=function(n,i){return arguments.length<2?r(e[n]):e[n]&&e[n][i]},WS}var GS,FM;function yo(){if(FM)return GS;FM=1;var e=Kt();return GS=e({}.isPrototypeOf),GS}var YS,jM;function Au(){if(jM)return YS;jM=1;var e=er(),t=e.navigator,r=t&&t.userAgent;return YS=r?String(r):"",YS}var KS,UM;function Ou(){if(UM)return KS;UM=1;var e=er(),t=Au(),r=e.process,n=e.Deno,i=r&&r.versions||n&&n.version,a=i&&i.v8,o,u;return a&&(o=a.split("."),u=o[0]>0&&o[0]<4?1:+(o[0]+o[1])),!u&&t&&(o=t.match(/Edge\/(\d+)/),(!o||o[1]>=74)&&(o=t.match(/Chrome\/(\d+)/),o&&(u=+o[1]))),KS=u,KS}var XS,qM;function th(){if(qM)return XS;qM=1;var e=Ou(),t=zt(),r=er(),n=r.String;return XS=!!Object.getOwnPropertySymbols&&!t(function(){var i=Symbol("symbol detection");return!n(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&e&&e<41}),XS}var QS,VM;function wee(){if(VM)return QS;VM=1;var e=th();return QS=e&&!Symbol.sham&&typeof Symbol.iterator=="symbol",QS}var JS,BM;function hf(){if(BM)return JS;BM=1;var e=yn(),t=bn(),r=yo(),n=wee(),i=Object;return JS=n?function(a){return typeof a=="symbol"}:function(a){var o=e("Symbol");return t(o)&&r(o.prototype,i(a))},JS}var ZS,HM;function vf(){if(HM)return ZS;HM=1;var e=String;return ZS=function(t){try{return e(t)}catch{return"Object"}},ZS}var eE,zM;function _n(){if(zM)return eE;zM=1;var e=bn(),t=vf(),r=TypeError;return eE=function(n){if(e(n))return n;throw new r(t(n)+" is not a function")},eE}var tE,WM;function La(){if(WM)return tE;WM=1;var e=_n(),t=hl();return tE=function(r,n){var i=r[n];return t(i)?void 0:e(i)},tE}var rE,GM;function bee(){if(GM)return rE;GM=1;var e=Sr(),t=bn(),r=Gr(),n=TypeError;return rE=function(i,a){var o,u;if(a==="string"&&t(o=i.toString)&&!r(u=e(o,i))||t(o=i.valueOf)&&!r(u=e(o,i))||a!=="string"&&t(o=i.toString)&&!r(u=e(o,i)))return u;throw new n("Can't convert object to primitive value")},rE}var nE={exports:{}},iE,YM;function Un(){return YM||(YM=1,iE=!1),iE}var aE,KM;function TP(){if(KM)return aE;KM=1;var e=er(),t=Object.defineProperty;return aE=function(r,n){try{t(e,r,{value:n,configurable:!0,writable:!0})}catch{e[r]=n}return n},aE}var XM;function qy(){if(XM)return nE.exports;XM=1;var e=Un(),t=er(),r=TP(),n="__core-js_shared__",i=nE.exports=t[n]||r(n,{});return(i.versions||(i.versions=[])).push({version:"3.45.1",mode:e?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.45.1/LICENSE",source:"https://github.com/zloirock/core-js"}),nE.exports}var oE,QM;function rh(){if(QM)return oE;QM=1;var e=qy();return oE=function(t,r){return e[t]||(e[t]=r||{})},oE}var sE,JM;function kn(){if(JM)return sE;JM=1;var e=Pi(),t=Object;return sE=function(r){return t(e(r))},sE}var uE,ZM;function Sn(){if(ZM)return uE;ZM=1;var e=Kt(),t=kn(),r=e({}.hasOwnProperty);return uE=Object.hasOwn||function(i,a){return r(t(i),a)},uE}var lE,e$;function nh(){if(e$)return lE;e$=1;var e=Kt(),t=0,r=Math.random(),n=e(1.1.toString);return lE=function(i){return"Symbol("+(i===void 0?"":i)+")_"+n(++t+r,36)},lE}var cE,t$;function Yr(){if(t$)return cE;t$=1;var e=er(),t=rh(),r=Sn(),n=nh(),i=th(),a=wee(),o=e.Symbol,u=t("wks"),s=a?o.for||o:o&&o.withoutSetter||n;return cE=function(c){return r(u,c)||(u[c]=i&&r(o,c)?o[c]:s("Symbol."+c)),u[c]},cE}var fE,r$;function Vy(){if(r$)return fE;r$=1;var e=Sr(),t=Gr(),r=hf(),n=La(),i=bee(),a=Yr(),o=TypeError,u=a("toPrimitive");return fE=function(s,c){if(!t(s)||r(s))return s;var d=n(s,u),h;if(d){if(c===void 0&&(c="default"),h=e(d,s,c),!t(h)||r(h))return h;throw new o("Can't convert object to primitive value")}return c===void 0&&(c="number"),i(s,c)},fE}var dE,n$;function oc(){if(n$)return dE;n$=1;var e=Vy(),t=hf();return dE=function(r){var n=e(r,"string");return t(n)?n:n+""},dE}var hE,i$;function By(){if(i$)return hE;i$=1;var e=er(),t=Gr(),r=e.document,n=t(r)&&t(r.createElement);return hE=function(i){return n?r.createElement(i):{}},hE}var vE,a$;function Tee(){if(a$)return vE;a$=1;var e=Ir(),t=zt(),r=By();return vE=!e&&!t(function(){return Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a!==7}),vE}var o$;function Ma(){if(o$)return PS;o$=1;var e=Ir(),t=Sr(),r=Uy(),n=ss(),i=Ra(),a=oc(),o=Sn(),u=Tee(),s=Object.getOwnPropertyDescriptor;return PS.f=e?s:function(d,h){if(d=i(d),h=a(h),u)try{return s(d,h)}catch{}if(o(d,h))return n(!t(r.f,d,h),d[h])},PS}var pE={},gE,s$;function Ree(){if(s$)return gE;s$=1;var e=Ir(),t=zt();return gE=e&&t(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),gE}var mE,u$;function Tr(){if(u$)return mE;u$=1;var e=Gr(),t=String,r=TypeError;return mE=function(n){if(e(n))return n;throw new r(t(n)+" is not an object")},mE}var l$;function xi(){if(l$)return pE;l$=1;var e=Ir(),t=Tee(),r=Ree(),n=Tr(),i=oc(),a=TypeError,o=Object.defineProperty,u=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",d="writable";return pE.f=e?r?function(v,g,m){if(n(v),g=i(g),n(m),typeof v=="function"&&g==="prototype"&&"value"in m&&d in m&&!m[d]){var y=u(v,g);y&&y[d]&&(v[g]=m.value,m={configurable:c in m?m[c]:y[c],enumerable:s in m?m[s]:y[s],writable:!1})}return o(v,g,m)}:o:function(v,g,m){if(n(v),g=i(g),n(m),t)try{return o(v,g,m)}catch{}if("get"in m||"set"in m)throw new a("Accessors not supported");return"value"in m&&(v[g]=m.value),v},pE}var yE,c$;function $a(){if(c$)return yE;c$=1;var e=Ir(),t=xi(),r=ss();return yE=e?function(n,i,a){return t.f(n,i,r(1,a))}:function(n,i,a){return n[i]=a,n},yE}var _E={exports:{}},SE,f$;function ih(){if(f$)return SE;f$=1;var e=Ir(),t=Sn(),r=Function.prototype,n=e&&Object.getOwnPropertyDescriptor,i=t(r,"name"),a=i&&(function(){}).name==="something",o=i&&(!e||e&&n(r,"name").configurable);return SE={EXISTS:i,PROPER:a,CONFIGURABLE:o},SE}var EE,d$;function RP(){if(d$)return EE;d$=1;var e=Kt(),t=bn(),r=qy(),n=e(Function.toString);return t(r.inspectSource)||(r.inspectSource=function(i){return n(i)}),EE=r.inspectSource,EE}var wE,h$;function xee(){if(h$)return wE;h$=1;var e=er(),t=bn(),r=e.WeakMap;return wE=t(r)&&/native code/.test(String(r)),wE}var bE,v$;function Hy(){if(v$)return bE;v$=1;var e=rh(),t=nh(),r=e("keys");return bE=function(n){return r[n]||(r[n]=t(n))},bE}var TE,p$;function vp(){return p$||(p$=1,TE={}),TE}var RE,g$;function qi(){if(g$)return RE;g$=1;var e=xee(),t=er(),r=Gr(),n=$a(),i=Sn(),a=qy(),o=Hy(),u=vp(),s="Object already initialized",c=t.TypeError,d=t.WeakMap,h,v,g,m=function(b){return g(b)?v(b):h(b,{})},y=function(b){return function(A){var R;if(!r(A)||(R=v(A)).type!==b)throw new c("Incompatible receiver, "+b+" required");return R}};if(e||a.state){var S=a.state||(a.state=new d);S.get=S.get,S.has=S.has,S.set=S.set,h=function(b,A){if(S.has(b))throw new c(s);return A.facade=b,S.set(b,A),A},v=function(b){return S.get(b)||{}},g=function(b){return S.has(b)}}else{var w=o("state");u[w]=!0,h=function(b,A){if(i(b,w))throw new c(s);return A.facade=b,n(b,w,A),A},v=function(b){return i(b,w)?b[w]:{}},g=function(b){return i(b,w)}}return RE={set:h,get:v,has:g,enforce:m,getterFor:y},RE}var m$;function xP(){if(m$)return _E.exports;m$=1;var e=Kt(),t=zt(),r=bn(),n=Sn(),i=Ir(),a=ih().CONFIGURABLE,o=RP(),u=qi(),s=u.enforce,c=u.get,d=String,h=Object.defineProperty,v=e("".slice),g=e("".replace),m=e([].join),y=i&&!t(function(){return h(function(){},"length",{value:8}).length!==8}),S=String(String).split("String"),w=_E.exports=function(b,A,R){v(d(A),0,7)==="Symbol("&&(A="["+g(d(A),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),R&&R.getter&&(A="get "+A),R&&R.setter&&(A="set "+A),(!n(b,"name")||a&&b.name!==A)&&(i?h(b,"name",{value:A,configurable:!0}):b.name=A),y&&R&&n(R,"arity")&&b.length!==R.arity&&h(b,"length",{value:R.arity});try{R&&n(R,"constructor")&&R.constructor?i&&h(b,"prototype",{writable:!1}):b.prototype&&(b.prototype=void 0)}catch{}var x=s(b);return n(x,"source")||(x.source=m(S,typeof A=="string"?A:"")),b};return Function.prototype.toString=w(function(){return r(this)&&c(this).source||o(this)},"toString"),_E.exports}var xE,y$;function Qn(){if(y$)return xE;y$=1;var e=bn(),t=xi(),r=xP(),n=TP();return xE=function(i,a,o,u){u||(u={});var s=u.enumerable,c=u.name!==void 0?u.name:a;if(e(o)&&r(o,c,u),u.global)s?i[a]=o:n(a,o);else{try{u.unsafe?i[a]&&(s=!0):delete i[a]}catch{}s?i[a]=o:t.f(i,a,{value:o,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return i},xE}var CE={},AE,_$;function Cee(){if(_$)return AE;_$=1;var e=Math.ceil,t=Math.floor;return AE=Math.trunc||function(n){var i=+n;return(i>0?t:e)(i)},AE}var OE,S$;function Gi(){if(S$)return OE;S$=1;var e=Cee();return OE=function(t){var r=+t;return r!==r||r===0?0:e(r)},OE}var IE,E$;function vl(){if(E$)return IE;E$=1;var e=Gi(),t=Math.max,r=Math.min;return IE=function(n,i){var a=e(n);return a<0?t(a+i,0):r(a,i)},IE}var PE,w$;function us(){if(w$)return PE;w$=1;var e=Gi(),t=Math.min;return PE=function(r){var n=e(r);return n>0?t(n,9007199254740991):0},PE}var DE,b$;function ai(){if(b$)return DE;b$=1;var e=us();return DE=function(t){return e(t.length)},DE}var kE,T$;function pp(){if(T$)return kE;T$=1;var e=Ra(),t=vl(),r=ai(),n=function(i){return function(a,o,u){var s=e(a),c=r(s);if(c===0)return!i&&-1;var d=t(u,c),h;if(i&&o!==o){for(;c>d;)if(h=s[d++],h!==h)return!0}else for(;c>d;d++)if((i||d in s)&&s[d]===o)return i||d||0;return!i&&-1}};return kE={includes:n(!0),indexOf:n(!1)},kE}var NE,R$;function Aee(){if(R$)return NE;R$=1;var e=Kt(),t=Sn(),r=Ra(),n=pp().indexOf,i=vp(),a=e([].push);return NE=function(o,u){var s=r(o),c=0,d=[],h;for(h in s)!t(i,h)&&t(s,h)&&a(d,h);for(;u.length>c;)t(s,h=u[c++])&&(~n(d,h)||a(d,h));return d},NE}var LE,x$;function CP(){return x$||(x$=1,LE=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]),LE}var C$;function pf(){if(C$)return CE;C$=1;var e=Aee(),t=CP(),r=t.concat("length","prototype");return CE.f=Object.getOwnPropertyNames||function(i){return e(i,r)},CE}var ME={},A$;function zy(){return A$||(A$=1,ME.f=Object.getOwnPropertySymbols),ME}var $E,O$;function AP(){if(O$)return $E;O$=1;var e=yn(),t=Kt(),r=pf(),n=zy(),i=Tr(),a=t([].concat);return $E=e("Reflect","ownKeys")||function(u){var s=r.f(i(u)),c=n.f;return c?a(s,c(u)):s},$E}var FE,I$;function ah(){if(I$)return FE;I$=1;var e=Sn(),t=AP(),r=Ma(),n=xi();return FE=function(i,a,o){for(var u=t(a),s=n.f,c=r.f,d=0;d<u.length;d++){var h=u[d];!e(i,h)&&!(o&&e(o,h))&&s(i,h,c(a,h))}},FE}var jE,P$;function gp(){if(P$)return jE;P$=1;var e=zt(),t=bn(),r=/#|\.prototype\./,n=function(s,c){var d=a[i(s)];return d===u?!0:d===o?!1:t(c)?e(c):!!c},i=n.normalize=function(s){return String(s).replace(r,".").toLowerCase()},a=n.data={},o=n.NATIVE="N",u=n.POLYFILL="P";return jE=n,jE}var UE,D$;function Ve(){if(D$)return UE;D$=1;var e=er(),t=Ma().f,r=$a(),n=Qn(),i=TP(),a=ah(),o=gp();return UE=function(u,s){var c=u.target,d=u.global,h=u.stat,v,g,m,y,S,w;if(d?g=e:h?g=e[c]||i(c,{}):g=e[c]&&e[c].prototype,g)for(m in s){if(S=s[m],u.dontCallGetSet?(w=t(g,m),y=w&&w.value):y=g[m],v=o(d?m:c+(h?".":"#")+m,u.forced),!v&&y!==void 0){if(typeof S==typeof y)continue;a(S,y)}(u.sham||y&&y.sham)&&r(S,"sham",!0),n(g,m,S,u)}},UE}var qE,k$;function OP(){if(k$)return qE;k$=1;var e=Yr(),t=e("toStringTag"),r={};return r[t]="z",qE=String(r)==="[object z]",qE}var VE,N$;function ls(){if(N$)return VE;N$=1;var e=OP(),t=bn(),r=Za(),n=Yr(),i=n("toStringTag"),a=Object,o=r((function(){return arguments})())==="Arguments",u=function(s,c){try{return s[c]}catch{}};return VE=e?r:function(s){var c,d,h;return s===void 0?"Undefined":s===null?"Null":typeof(d=u(c=a(s),i))=="string"?d:o?r(c):(h=r(c))==="Object"&&t(c.callee)?"Arguments":h},VE}var BE,L$;function rn(){if(L$)return BE;L$=1;var e=ls(),t=String;return BE=function(r){if(e(r)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return t(r)},BE}var HE={},zE,M$;function mp(){if(M$)return zE;M$=1;var e=Aee(),t=CP();return zE=Object.keys||function(n){return e(n,t)},zE}var $$;function IP(){if($$)return HE;$$=1;var e=Ir(),t=Ree(),r=xi(),n=Tr(),i=Ra(),a=mp();return HE.f=e&&!t?Object.defineProperties:function(u,s){n(u);for(var c=i(s),d=a(s),h=d.length,v=0,g;h>v;)r.f(u,g=d[v++],c[g]);return u},HE}var WE,F$;function Oee(){if(F$)return WE;F$=1;var e=yn();return WE=e("document","documentElement"),WE}var GE,j$;function Fa(){if(j$)return GE;j$=1;var e=Tr(),t=IP(),r=CP(),n=vp(),i=Oee(),a=By(),o=Hy(),u=">",s="<",c="prototype",d="script",h=o("IE_PROTO"),v=function(){},g=function(b){return s+d+u+b+s+"/"+d+u},m=function(b){b.write(g("")),b.close();var A=b.parentWindow.Object;return b=null,A},y=function(){var b=a("iframe"),A="java"+d+":",R;return b.style.display="none",i.appendChild(b),b.src=String(A),R=b.contentWindow.document,R.open(),R.write(g("document.F=Object")),R.close(),R.F},S,w=function(){try{S=new ActiveXObject("htmlfile")}catch{}w=typeof document<"u"?document.domain&&S?m(S):y():m(S);for(var b=r.length;b--;)delete w[c][r[b]];return w()};return n[h]=!0,GE=Object.create||function(A,R){var x;return A!==null?(v[c]=e(A),x=new v,v[c]=null,x[h]=A):x=w(),R===void 0?x:t.f(x,R)},GE}var YE={},KE,U$;function $s(){if(U$)return KE;U$=1;var e=Kt();return KE=e([].slice),KE}var q$;function PP(){if(q$)return YE;q$=1;var e=Za(),t=Ra(),r=pf().f,n=$s(),i=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(o){try{return r(o)}catch{return n(i)}};return YE.f=function(u){return i&&e(u)==="Window"?a(u):r(t(u))},YE}var XE,V$;function ta(){if(V$)return XE;V$=1;var e=xP(),t=xi();return XE=function(r,n,i){return i.get&&e(i.get,n,{getter:!0}),i.set&&e(i.set,n,{setter:!0}),t.f(r,n,i)},XE}var QE={},B$;function Iee(){if(B$)return QE;B$=1;var e=Yr();return QE.f=e,QE}var JE,H$;function Wy(){if(H$)return JE;H$=1;var e=er();return JE=e,JE}var ZE,z$;function eo(){if(z$)return ZE;z$=1;var e=Wy(),t=Sn(),r=Iee(),n=xi().f;return ZE=function(i){var a=e.Symbol||(e.Symbol={});t(a,i)||n(a,i,{value:r.f(i)})},ZE}var ew,W$;function Pee(){if(W$)return ew;W$=1;var e=Sr(),t=yn(),r=Yr(),n=Qn();return ew=function(){var i=t("Symbol"),a=i&&i.prototype,o=a&&a.valueOf,u=r("toPrimitive");a&&!a[u]&&n(a,u,function(s){return e(o,this)},{arity:1})},ew}var tw,G$;function qo(){if(G$)return tw;G$=1;var e=xi().f,t=Sn(),r=Yr(),n=r("toStringTag");return tw=function(i,a,o){i&&!o&&(i=i.prototype),i&&!t(i,n)&&e(i,n,{configurable:!0,value:a})},tw}var rw,Y$;function gf(){if(Y$)return rw;Y$=1;var e=Za(),t=Kt();return rw=function(r){if(e(r)==="Function")return t(r)},rw}var nw,K$;function cs(){if(K$)return nw;K$=1;var e=gf(),t=_n(),r=hp(),n=e(e.bind);return nw=function(i,a){return t(i),a===void 0?i:r?n(i,a):function(){return i.apply(a,arguments)}},nw}var iw,X$;function sc(){if(X$)return iw;X$=1;var e=Za();return iw=Array.isArray||function(r){return e(r)==="Array"},iw}var aw,Q$;function mf(){if(Q$)return aw;Q$=1;var e=Kt(),t=zt(),r=bn(),n=ls(),i=yn(),a=RP(),o=function(){},u=i("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=e(s.exec),d=!s.test(o),h=function(m){if(!r(m))return!1;try{return u(o,[],m),!0}catch{return!1}},v=function(m){if(!r(m))return!1;switch(n(m)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!c(s,a(m))}catch{return!0}};return v.sham=!0,aw=!u||t(function(){var g;return h(h.call)||!h(Object)||!h(function(){g=!0})||g})?v:h,aw}var ow,J$;function Rle(){if(J$)return ow;J$=1;var e=sc(),t=mf(),r=Gr(),n=Yr(),i=n("species"),a=Array;return ow=function(o){var u;return e(o)&&(u=o.constructor,t(u)&&(u===a||e(u.prototype))?u=void 0:r(u)&&(u=u[i],u===null&&(u=void 0))),u===void 0?a:u},ow}var sw,Z$;function yp(){if(Z$)return sw;Z$=1;var e=Rle();return sw=function(t,r){return new(e(t))(r===0?0:r)},sw}var uw,eF;function ja(){if(eF)return uw;eF=1;var e=cs(),t=Kt(),r=eh(),n=kn(),i=ai(),a=yp(),o=t([].push),u=function(s){var c=s===1,d=s===2,h=s===3,v=s===4,g=s===6,m=s===7,y=s===5||g;return function(S,w,b,A){for(var R=n(S),x=r(R),O=i(x),_=e(w,b),P=0,N=A||a,U=c?N(S,O):d||m?N(S,0):void 0,$,B;O>P;P++)if((y||P in x)&&($=x[P],B=_($,P,R),s))if(c)U[P]=B;else if(B)switch(s){case 3:return!0;case 5:return $;case 6:return P;case 2:o(U,$)}else switch(s){case 4:return!1;case 7:o(U,$)}return g?-1:h||v?v:U}};return uw={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)},uw}var tF;function xle(){if(tF)return EM;tF=1;var e=Ve(),t=er(),r=Sr(),n=Kt(),i=Un(),a=Ir(),o=th(),u=zt(),s=Sn(),c=yo(),d=Tr(),h=Ra(),v=oc(),g=rn(),m=ss(),y=Fa(),S=mp(),w=pf(),b=PP(),A=zy(),R=Ma(),x=xi(),O=IP(),_=Uy(),P=Qn(),N=ta(),U=rh(),$=Hy(),B=vp(),Y=nh(),Q=Yr(),K=Iee(),ee=eo(),ne=Pee(),D=qo(),I=qi(),L=ja().forEach,re=$("hidden"),te="Symbol",ce="prototype",be=I.set,Ie=I.getterFor(te),je=Object[ce],z=t.Symbol,k=z&&z[ce],q=t.RangeError,H=t.TypeError,ie=t.QObject,V=R.f,Z=x.f,me=b.f,fe=_.f,Re=n([].push),Se=U("symbols"),Oe=U("op-symbols"),Me=U("wks"),de=!ie||!ie[ce]||!ie[ce].findChild,Ee=function(bt,mt,St){var yt=V(je,mt);yt&&delete je[mt],Z(bt,mt,St),yt&&bt!==je&&Z(je,mt,yt)},_e=a&&u(function(){return y(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a!==7})?Ee:Z,xe=function(bt,mt){var St=Se[bt]=y(k);return be(St,{type:te,tag:bt,description:mt}),a||(St.description=mt),St},ke=function(mt,St,yt){mt===je&&ke(Oe,St,yt),d(mt);var at=v(St);return d(yt),s(Se,at)?(yt.enumerable?(s(mt,re)&&mt[re][at]&&(mt[re][at]=!1),yt=y(yt,{enumerable:m(0,!1)})):(s(mt,re)||Z(mt,re,m(1,y(null))),mt[re][at]=!0),_e(mt,at,yt)):Z(mt,at,yt)},Le=function(mt,St){d(mt);var yt=h(St),at=S(yt).concat(Qe(yt));return L(at,function($t){(!a||r(_t,yt,$t))&&ke(mt,$t,yt[$t])}),mt},He=function(mt,St){return St===void 0?y(mt):Le(y(mt),St)},_t=function(mt){var St=v(mt),yt=r(fe,this,St);return this===je&&s(Se,St)&&!s(Oe,St)?!1:yt||!s(this,St)||!s(Se,St)||s(this,re)&&this[re][St]?yt:!0},jt=function(mt,St){var yt=h(mt),at=v(St);if(!(yt===je&&s(Se,at)&&!s(Oe,at))){var $t=V(yt,at);return $t&&s(Se,at)&&!(s(yt,re)&&yt[re][at])&&($t.enumerable=!0),$t}},Lt=function(mt){var St=me(h(mt)),yt=[];return L(St,function(at){!s(Se,at)&&!s(B,at)&&Re(yt,at)}),yt},Qe=function(bt){var mt=bt===je,St=me(mt?Oe:h(bt)),yt=[];return L(St,function(at){s(Se,at)&&(!mt||s(je,at))&&Re(yt,Se[at])}),yt};return o||(z=function(){if(c(k,this))throw new H("Symbol is not a constructor");var mt=!arguments.length||arguments[0]===void 0?void 0:g(arguments[0]),St=Y(mt),yt=function(at){var $t=this===void 0?t:this;$t===je&&r(yt,Oe,at),s($t,re)&&s($t[re],St)&&($t[re][St]=!1);var xt=m(1,at);try{_e($t,St,xt)}catch(Ce){if(!(Ce instanceof q))throw Ce;Ee($t,St,xt)}};return a&&de&&_e(je,St,{configurable:!0,set:yt}),xe(St,mt)},k=z[ce],P(k,"toString",function(){return Ie(this).tag}),P(z,"withoutSetter",function(bt){return xe(Y(bt),bt)}),_.f=_t,x.f=ke,O.f=Le,R.f=jt,w.f=b.f=Lt,A.f=Qe,K.f=function(bt){return xe(Q(bt),bt)},a&&(N(k,"description",{configurable:!0,get:function(){return Ie(this).description}}),i||P(je,"propertyIsEnumerable",_t,{unsafe:!0}))),e({global:!0,constructor:!0,wrap:!0,forced:!o,sham:!o},{Symbol:z}),L(S(Me),function(bt){ee(bt)}),e({target:te,stat:!0,forced:!o},{useSetter:function(){de=!0},useSimple:function(){de=!1}}),e({target:"Object",stat:!0,forced:!o,sham:!a},{create:He,defineProperty:ke,defineProperties:Le,getOwnPropertyDescriptor:jt}),e({target:"Object",stat:!0,forced:!o},{getOwnPropertyNames:Lt}),ne(),D(z,te),B[re]=!0,EM}var rF={},lw,nF;function Dee(){if(nF)return lw;nF=1;var e=th();return lw=e&&!!Symbol.for&&!!Symbol.keyFor,lw}var iF;function Cle(){if(iF)return rF;iF=1;var e=Ve(),t=yn(),r=Sn(),n=rn(),i=rh(),a=Dee(),o=i("string-to-symbol-registry"),u=i("symbol-to-string-registry");return e({target:"Symbol",stat:!0,forced:!a},{for:function(s){var c=n(s);if(r(o,c))return o[c];var d=t("Symbol")(c);return o[c]=d,u[d]=c,d}}),rF}var aF={},oF;function Ale(){if(oF)return aF;oF=1;var e=Ve(),t=Sn(),r=hf(),n=vf(),i=rh(),a=Dee(),o=i("symbol-to-string-registry");return e({target:"Symbol",stat:!0,forced:!a},{keyFor:function(s){if(!r(s))throw new TypeError(n(s)+" is not a symbol");if(t(o,s))return o[s]}}),aF}var sF={},cw,uF;function fs(){if(uF)return cw;uF=1;var e=hp(),t=Function.prototype,r=t.apply,n=t.call;return cw=typeof Reflect=="object"&&Reflect.apply||(e?n.bind(r):function(){return n.apply(r,arguments)}),cw}var fw,lF;function Ole(){if(lF)return fw;lF=1;var e=Kt(),t=sc(),r=bn(),n=Za(),i=rn(),a=e([].push);return fw=function(o){if(r(o))return o;if(t(o)){for(var u=o.length,s=[],c=0;c<u;c++){var d=o[c];typeof d=="string"?a(s,d):(typeof d=="number"||n(d)==="Number"||n(d)==="String")&&a(s,i(d))}var h=s.length,v=!0;return function(g,m){if(v)return v=!1,m;if(t(this))return m;for(var y=0;y<h;y++)if(s[y]===g)return m}}},fw}var cF;function kee(){if(cF)return sF;cF=1;var e=Ve(),t=yn(),r=fs(),n=Sr(),i=Kt(),a=zt(),o=bn(),u=hf(),s=$s(),c=Ole(),d=th(),h=String,v=t("JSON","stringify"),g=i(/./.exec),m=i("".charAt),y=i("".charCodeAt),S=i("".replace),w=i(1.1.toString),b=/[\uD800-\uDFFF]/g,A=/^[\uD800-\uDBFF]$/,R=/^[\uDC00-\uDFFF]$/,x=!d||a(function(){var N=t("Symbol")("stringify detection");return v([N])!=="[null]"||v({a:N})!=="{}"||v(Object(N))!=="{}"}),O=a(function(){return v("\uDF06\uD834")!=='"\\udf06\\ud834"'||v("\uDEAD")!=='"\\udead"'}),_=function(N,U){var $=s(arguments),B=c(U);if(!(!o(B)&&(N===void 0||u(N))))return $[1]=function(Y,Q){if(o(B)&&(Q=n(B,this,h(Y),Q)),!u(Q))return Q},r(v,null,$)},P=function(N,U,$){var B=m($,U-1),Y=m($,U+1);return g(A,N)&&!g(R,Y)||g(R,N)&&!g(A,B)?"\\u"+w(y(N,0),16):N};return v&&e({target:"JSON",stat:!0,arity:3,forced:x||O},{stringify:function(U,$,B){var Y=s(arguments),Q=r(x?_:v,null,Y);return O&&typeof Q=="string"?S(Q,b,P):Q}}),sF}var fF={},dF;function Ile(){if(dF)return fF;dF=1;var e=Ve(),t=th(),r=zt(),n=zy(),i=kn(),a=!t||r(function(){n.f(1)});return e({target:"Object",stat:!0,forced:a},{getOwnPropertySymbols:function(u){var s=n.f;return s?s(i(u)):[]}}),fF}var hF;function Ple(){return hF||(hF=1,xle(),Cle(),Ale(),kee(),Ile()),SM}var vF={},pF;function Dle(){if(pF)return vF;pF=1;var e=Ve(),t=Ir(),r=er(),n=Kt(),i=Sn(),a=bn(),o=yo(),u=rn(),s=ta(),c=ah(),d=r.Symbol,h=d&&d.prototype;if(t&&a(d)&&(!("description"in h)||d().description!==void 0)){var v={},g=function(){var x=arguments.length<1||arguments[0]===void 0?void 0:u(arguments[0]),O=o(h,this)?new d(x):x===void 0?d():d(x);return x===""&&(v[O]=!0),O};c(g,d),g.prototype=h,h.constructor=g;var m=String(d("description detection"))==="Symbol(description detection)",y=n(h.valueOf),S=n(h.toString),w=/^Symbol\((.*)\)[^)]+$/,b=n("".replace),A=n("".slice);s(h,"description",{configurable:!0,get:function(){var x=y(this);if(i(v,x))return"";var O=S(x),_=m?A(O,7,-1):b(O,w,"$1");return _===""?void 0:_}}),e({global:!0,constructor:!0,forced:!0},{Symbol:g})}return vF}var gF={},mF;function kle(){if(mF)return gF;mF=1;var e=er(),t=eo(),r=xi().f,n=Ma().f,i=e.Symbol;if(t("asyncDispose"),i){var a=n(i,"asyncDispose");a.enumerable&&a.configurable&&a.writable&&r(i,"asyncDispose",{value:a.value,enumerable:!1,configurable:!1,writable:!1})}return gF}var yF={},_F;function Nle(){if(_F)return yF;_F=1;var e=eo();return e("asyncIterator"),yF}var SF={},EF;function Lle(){if(EF)return SF;EF=1;var e=er(),t=eo(),r=xi().f,n=Ma().f,i=e.Symbol;if(t("dispose"),i){var a=n(i,"dispose");a.enumerable&&a.configurable&&a.writable&&r(i,"dispose",{value:a.value,enumerable:!1,configurable:!1,writable:!1})}return SF}var wF={},bF;function Mle(){if(bF)return wF;bF=1;var e=eo();return e("hasInstance"),wF}var TF={},RF;function $le(){if(RF)return TF;RF=1;var e=eo();return e("isConcatSpreadable"),TF}var xF={},CF;function Fle(){if(CF)return xF;CF=1;var e=eo();return e("iterator"),xF}var AF={},OF;function jle(){if(OF)return AF;OF=1;var e=eo();return e("match"),AF}var IF={},PF;function Ule(){if(PF)return IF;PF=1;var e=eo();return e("matchAll"),IF}var DF={},kF;function qle(){if(kF)return DF;kF=1;var e=eo();return e("replace"),DF}var NF={},LF;function Vle(){if(LF)return NF;LF=1;var e=eo();return e("search"),NF}var MF={},$F;function Ble(){if($F)return MF;$F=1;var e=eo();return e("species"),MF}var FF={},jF;function Hle(){if(jF)return FF;jF=1;var e=eo();return e("split"),FF}var UF={},qF;function zle(){if(qF)return UF;qF=1;var e=eo(),t=Pee();return e("toPrimitive"),t(),UF}var VF={},BF;function Wle(){if(BF)return VF;BF=1;var e=yn(),t=eo(),r=qo();return t("toStringTag"),r(e("Symbol"),"Symbol"),VF}var HF={},zF;function Gle(){if(zF)return HF;zF=1;var e=eo();return e("unscopables"),HF}var WF={},dw,GF;function Gy(){if(GF)return dw;GF=1;var e=Kt(),t=_n();return dw=function(r,n,i){try{return e(t(Object.getOwnPropertyDescriptor(r,n)[i]))}catch{}},dw}var hw,YF;function Nee(){if(YF)return hw;YF=1;var e=Gr();return hw=function(t){return e(t)||t===null},hw}var vw,KF;function Lee(){if(KF)return vw;KF=1;var e=Nee(),t=String,r=TypeError;return vw=function(n){if(e(n))return n;throw new r("Can't set "+t(n)+" as a prototype")},vw}var pw,XF;function ru(){if(XF)return pw;XF=1;var e=Gy(),t=Gr(),r=Pi(),n=Lee();return pw=Object.setPrototypeOf||("__proto__"in{}?(function(){var i=!1,a={},o;try{o=e(Object.prototype,"__proto__","set"),o(a,[]),i=a instanceof Array}catch{}return function(s,c){return r(s),n(c),t(s)&&(i?o(s,c):s.__proto__=c),s}})():void 0),pw}var gw,QF;function Mee(){if(QF)return gw;QF=1;var e=xi().f;return gw=function(t,r,n){n in t||e(t,n,{configurable:!0,get:function(){return r[n]},set:function(i){r[n]=i}})},gw}var mw,JF;function yf(){if(JF)return mw;JF=1;var e=bn(),t=Gr(),r=ru();return mw=function(n,i,a){var o,u;return r&&e(o=i.constructor)&&o!==a&&t(u=o.prototype)&&u!==a.prototype&&r(n,u),n},mw}var yw,ZF;function oh(){if(ZF)return yw;ZF=1;var e=rn();return yw=function(t,r){return t===void 0?arguments.length<2?"":r:e(t)},yw}var _w,ej;function $ee(){if(ej)return _w;ej=1;var e=Gr(),t=$a();return _w=function(r,n){e(n)&&"cause"in n&&t(r,"cause",n.cause)},_w}var Sw,tj;function DP(){if(tj)return Sw;tj=1;var e=Kt(),t=Error,r=e("".replace),n=(function(o){return String(new t(o).stack)})("zxcasd"),i=/\n\s*at [^:]*:[^\n]*/,a=i.test(n);return Sw=function(o,u){if(a&&typeof o=="string"&&!t.prepareStackTrace)for(;u--;)o=r(o,i,"");return o},Sw}var Ew,rj;function Fee(){if(rj)return Ew;rj=1;var e=zt(),t=ss();return Ew=!e(function(){var r=new Error("a");return"stack"in r?(Object.defineProperty(r,"stack",t(1,7)),r.stack!==7):!0}),Ew}var ww,nj;function kP(){if(nj)return ww;nj=1;var e=$a(),t=DP(),r=Fee(),n=Error.captureStackTrace;return ww=function(i,a,o,u){r&&(n?n(i,a):e(i,"stack",t(o,u)))},ww}var bw,ij;function jee(){if(ij)return bw;ij=1;var e=yn(),t=Sn(),r=$a(),n=yo(),i=ru(),a=ah(),o=Mee(),u=yf(),s=oh(),c=$ee(),d=kP(),h=Ir(),v=Un();return bw=function(g,m,y,S){var w="stackTraceLimit",b=S?2:1,A=g.split("."),R=A[A.length-1],x=e.apply(null,A);if(x){var O=x.prototype;if(!v&&t(O,"cause")&&delete O.cause,!y)return x;var _=e("Error"),P=m(function(N,U){var $=s(S?U:N,void 0),B=S?new x(N):new x;return $!==void 0&&r(B,"message",$),d(B,P,B.stack,2),this&&n(O,this)&&u(B,this,P),arguments.length>b&&c(B,arguments[b]),B});if(P.prototype=O,R!=="Error"?i?i(P,_):a(P,_,{name:!0}):h&&w in x&&(o(P,x,w),o(P,x,"prepareStackTrace")),a(P,x),!v)try{O.name!==R&&r(O,"name",R),O.constructor=P}catch{}return P}},bw}var aj;function Yle(){if(aj)return WF;aj=1;var e=Ve(),t=er(),r=fs(),n=jee(),i="WebAssembly",a=t[i],o=new Error("e",{cause:7}).cause!==7,u=function(c,d){var h={};h[c]=n(c,d,o),e({global:!0,constructor:!0,arity:1,forced:o},h)},s=function(c,d){if(a&&a[c]){var h={};h[c]=n(i+"."+c,d,o),e({target:i,stat:!0,constructor:!0,arity:1,forced:o},h)}};return u("Error",function(c){return function(h){return r(c,this,arguments)}}),u("EvalError",function(c){return function(h){return r(c,this,arguments)}}),u("RangeError",function(c){return function(h){return r(c,this,arguments)}}),u("ReferenceError",function(c){return function(h){return r(c,this,arguments)}}),u("SyntaxError",function(c){return function(h){return r(c,this,arguments)}}),u("TypeError",function(c){return function(h){return r(c,this,arguments)}}),u("URIError",function(c){return function(h){return r(c,this,arguments)}}),s("CompileError",function(c){return function(h){return r(c,this,arguments)}}),s("LinkError",function(c){return function(h){return r(c,this,arguments)}}),s("RuntimeError",function(c){return function(h){return r(c,this,arguments)}}),WF}var oj={},sj;function Kle(){if(sj)return oj;sj=1;var e=Ve(),t=yn(),r=Gr(),n=ls(),i=zt(),a="Error",o="DOMException",u=Object.setPrototypeOf||{}.__proto__,s=t(o),c=Error,d=c.isError,h=!d||!u||i(function(){return s&&!d(new s(o))||!d(new c(a,{cause:function(){}}))||d(t("Object","create")(c.prototype))});return e({target:"Error",stat:!0,sham:!0,forced:h},{isError:function(g){if(!r(g))return!1;var m=n(g);return m===a||m===o}}),oj}var uj={},Tw,lj;function Uee(){if(lj)return Tw;lj=1;var e=Ir(),t=zt(),r=Tr(),n=oh(),i=Error.prototype.toString,a=t(function(){if(e){var o=Object.create(Object.defineProperty({},"name",{get:function(){return this===o}}));if(i.call(o)!=="true")return!0}return i.call({message:1,name:2})!=="2: 1"||i.call({})!=="Error"});return Tw=a?function(){var u=r(this),s=n(u.name,"Error"),c=n(u.message);return s?c?s+": "+c:s:c}:i,Tw}var cj;function Xle(){if(cj)return uj;cj=1;var e=Qn(),t=Uee(),r=Error.prototype;return r.toString!==t&&e(r,"toString",t),uj}var fj={},dj={},Rw,hj;function NP(){if(hj)return Rw;hj=1;var e=zt();return Rw=!e(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),Rw}var xw,vj;function _o(){if(vj)return xw;vj=1;var e=Sn(),t=bn(),r=kn(),n=Hy(),i=NP(),a=n("IE_PROTO"),o=Object,u=o.prototype;return xw=i?o.getPrototypeOf:function(s){var c=r(s);if(e(c,a))return c[a];var d=c.constructor;return t(d)&&c instanceof d?d.prototype:c instanceof o?u:null},xw}var Cw,pj;function _p(){return pj||(pj=1,Cw={}),Cw}var Aw,gj;function LP(){if(gj)return Aw;gj=1;var e=Yr(),t=_p(),r=e("iterator"),n=Array.prototype;return Aw=function(i){return i!==void 0&&(t.Array===i||n[r]===i)},Aw}var Ow,mj;function _f(){if(mj)return Ow;mj=1;var e=ls(),t=La(),r=hl(),n=_p(),i=Yr(),a=i("iterator");return Ow=function(o){if(!r(o))return t(o,a)||t(o,"@@iterator")||n[e(o)]},Ow}var Iw,yj;function sh(){if(yj)return Iw;yj=1;var e=Sr(),t=_n(),r=Tr(),n=vf(),i=_f(),a=TypeError;return Iw=function(o,u){var s=arguments.length<2?i(o):u;if(t(s))return r(e(s,o));throw new a(n(o)+" is not iterable")},Iw}var Pw,_j;function Ua(){if(_j)return Pw;_j=1;var e=Sr(),t=Tr(),r=La();return Pw=function(n,i,a){var o,u;t(n);try{if(o=r(n,"return"),!o){if(i==="throw")throw a;return a}o=e(o,n)}catch(s){u=!0,o=s}if(i==="throw")throw a;if(u)throw o;return t(o),a},Pw}var Dw,Sj;function ha(){if(Sj)return Dw;Sj=1;var e=cs(),t=Sr(),r=Tr(),n=vf(),i=LP(),a=ai(),o=yo(),u=sh(),s=_f(),c=Ua(),d=TypeError,h=function(g,m){this.stopped=g,this.result=m},v=h.prototype;return Dw=function(g,m,y){var S=y&&y.that,w=!!(y&&y.AS_ENTRIES),b=!!(y&&y.IS_RECORD),A=!!(y&&y.IS_ITERATOR),R=!!(y&&y.INTERRUPTED),x=e(m,S),O,_,P,N,U,$,B,Y=function(K){return O&&c(O,"normal"),new h(!0,K)},Q=function(K){return w?(r(K),R?x(K[0],K[1],Y):x(K[0],K[1])):R?x(K,Y):x(K)};if(b)O=g.iterator;else if(A)O=g;else{if(_=s(g),!_)throw new d(n(g)+" is not iterable");if(i(_)){for(P=0,N=a(g);N>P;P++)if(U=Q(g[P]),U&&o(v,U))return U;return new h(!1)}O=u(g,_)}for($=b?g.next:O.next;!(B=t($,O)).done;){try{U=Q(B.value)}catch(K){c(O,"throw",K)}if(typeof U=="object"&&U&&o(v,U))return U}return new h(!1)},Dw}var Ej;function Qle(){if(Ej)return dj;Ej=1;var e=Ve(),t=yo(),r=_o(),n=ru(),i=ah(),a=Fa(),o=$a(),u=ss(),s=$ee(),c=kP(),d=ha(),h=oh(),v=Yr(),g=v("toStringTag"),m=Error,y=[].push,S=function(A,R){var x=t(w,this),O;n?O=n(new m,x?r(this):w):(O=x?this:a(w),o(O,g,"Error")),R!==void 0&&o(O,"message",h(R)),c(O,S,O.stack,1),arguments.length>2&&s(O,arguments[2]);var _=[];return d(A,y,{that:_}),o(O,"errors",_),O};n?n(S,m):i(S,m,{name:!0});var w=S.prototype=a(m.prototype,{constructor:u(1,S),message:u(1,""),name:u(1,"AggregateError")});return e({global:!0,constructor:!0,arity:2},{AggregateError:S}),dj}var wj;function Jle(){return wj||(wj=1,Qle()),fj}var bj={},Tj;function Zle(){if(Tj)return bj;Tj=1;var e=Ve(),t=yn(),r=fs(),n=zt(),i=jee(),a="AggregateError",o=t(a),u=!n(function(){return o([1]).errors[0]!==1})&&n(function(){return o([1],a,{cause:7}).cause!==7});return e({global:!0,constructor:!0,arity:2,forced:u},{AggregateError:i(a,function(s){return function(d,h){return r(s,this,arguments)}},u,!0)}),bj}var Rj={},xj;function ece(){if(xj)return Rj;xj=1;var e=Ve(),t=er(),r=yo(),n=_o(),i=ru(),a=ah(),o=Fa(),u=$a(),s=ss(),c=kP(),d=oh(),h=Yr(),v=zt(),g=Un(),m=t.SuppressedError,y=h("toStringTag"),S=Error,w=!!m&&m.length!==3,b=!!m&&v(function(){return new m(1,2,3,{cause:4}).cause===4}),A=w||b,R=function(_,P,N){var U=r(x,this),$;return i?$=A&&(!U||n(this)===x)?new m:i(new S,U?n(this):x):($=U?this:o(x),u($,y,"Error")),N!==void 0&&u($,"message",d(N)),c($,R,$.stack,1),u($,"error",_),u($,"suppressed",P),$};i?i(R,S):a(R,S,{name:!0});var x=R.prototype=A?m.prototype:o(S.prototype,{constructor:s(1,R),message:s(1,""),name:s(1,"SuppressedError")});return A&&!g&&(x.constructor=R),e({global:!0,constructor:!0,arity:3,forced:A},{SuppressedError:R}),Rj}var Cj={},kw,Aj;function Vo(){if(Aj)return kw;Aj=1;var e=Yr(),t=Fa(),r=xi().f,n=e("unscopables"),i=Array.prototype;return i[n]===void 0&&r(i,n,{configurable:!0,value:t(null)}),kw=function(a){i[n][a]=!0},kw}var Oj;function tce(){if(Oj)return Cj;Oj=1;var e=Ve(),t=kn(),r=ai(),n=Gi(),i=Vo();return e({target:"Array",proto:!0},{at:function(o){var u=t(this),s=r(u),c=n(o),d=c>=0?c:s+c;return d<0||d>=s?void 0:u[d]}}),i("at"),Cj}var Ij={},Nw,Pj;function Sf(){if(Pj)return Nw;Pj=1;var e=TypeError,t=9007199254740991;return Nw=function(r){if(r>t)throw e("Maximum allowed index exceeded");return r},Nw}var Lw,Dj;function pl(){if(Dj)return Lw;Dj=1;var e=Ir(),t=xi(),r=ss();return Lw=function(n,i,a){e?t.f(n,i,r(0,a)):n[i]=a},Lw}var Mw,kj;function Sp(){if(kj)return Mw;kj=1;var e=zt(),t=Yr(),r=Ou(),n=t("species");return Mw=function(i){return r>=51||!e(function(){var a=[],o=a.constructor={};return o[n]=function(){return{foo:1}},a[i](Boolean).foo!==1})},Mw}var Nj;function rce(){if(Nj)return Ij;Nj=1;var e=Ve(),t=zt(),r=sc(),n=Gr(),i=kn(),a=ai(),o=Sf(),u=pl(),s=yp(),c=Sp(),d=Yr(),h=Ou(),v=d("isConcatSpreadable"),g=h>=51||!t(function(){var S=[];return S[v]=!1,S.concat()[0]!==S}),m=function(S){if(!n(S))return!1;var w=S[v];return w!==void 0?!!w:r(S)},y=!g||!c("concat");return e({target:"Array",proto:!0,arity:1,forced:y},{concat:function(w){var b=i(this),A=s(b,0),R=0,x,O,_,P,N;for(x=-1,_=arguments.length;x<_;x++)if(N=x===-1?b:arguments[x],m(N))for(P=a(N),o(R+P),O=0;O<P;O++,R++)O in N&&u(A,R,N[O]);else o(R+1),u(A,R++,N);return A.length=R,A}}),Ij}var Lj={},$w,Mj;function Yy(){if(Mj)return $w;Mj=1;var e=vf(),t=TypeError;return $w=function(r,n){if(!delete r[n])throw new t("Cannot delete property "+e(n)+" of "+e(r))},$w}var Fw,$j;function qee(){if($j)return Fw;$j=1;var e=kn(),t=vl(),r=ai(),n=Yy(),i=Math.min;return Fw=[].copyWithin||function(o,u){var s=e(this),c=r(s),d=t(o,c),h=t(u,c),v=arguments.length>2?arguments[2]:void 0,g=i((v===void 0?c:t(v,c))-h,c-d),m=1;for(h<d&&d<h+g&&(m=-1,h+=g-1,d+=g-1);g-- >0;)h in s?s[d]=s[h]:n(s,d),d+=m,h+=m;return s},Fw}var Fj;function nce(){if(Fj)return Lj;Fj=1;var e=Ve(),t=qee(),r=Vo();return e({target:"Array",proto:!0},{copyWithin:t}),r("copyWithin"),Lj}var jj={},jw,Uj;function gl(){if(Uj)return jw;Uj=1;var e=zt();return jw=function(t,r){var n=[][t];return!!n&&e(function(){n.call(null,r||function(){return 1},1)})},jw}var qj;function ice(){if(qj)return jj;qj=1;var e=Ve(),t=ja().every,r=gl(),n=r("every");return e({target:"Array",proto:!0,forced:!n},{every:function(a){return t(this,a,arguments.length>1?arguments[1]:void 0)}}),jj}var Vj={},Uw,Bj;function MP(){if(Bj)return Uw;Bj=1;var e=kn(),t=vl(),r=ai();return Uw=function(i){for(var a=e(this),o=r(a),u=arguments.length,s=t(u>1?arguments[1]:void 0,o),c=u>2?arguments[2]:void 0,d=c===void 0?o:t(c,o);d>s;)a[s++]=i;return a},Uw}var Hj;function ace(){if(Hj)return Vj;Hj=1;var e=Ve(),t=MP(),r=Vo();return e({target:"Array",proto:!0},{fill:t}),r("fill"),Vj}var zj={},Wj;function oce(){if(Wj)return zj;Wj=1;var e=Ve(),t=ja().filter,r=Sp(),n=r("filter");return e({target:"Array",proto:!0,forced:!n},{filter:function(a){return t(this,a,arguments.length>1?arguments[1]:void 0)}}),zj}var Gj={},Yj;function sce(){if(Yj)return Gj;Yj=1;var e=Ve(),t=ja().find,r=Vo(),n="find",i=!0;return n in[]&&Array(1)[n](function(){i=!1}),e({target:"Array",proto:!0,forced:i},{find:function(o){return t(this,o,arguments.length>1?arguments[1]:void 0)}}),r(n),Gj}var Kj={},Xj;function uce(){if(Xj)return Kj;Xj=1;var e=Ve(),t=ja().findIndex,r=Vo(),n="findIndex",i=!0;return n in[]&&Array(1)[n](function(){i=!1}),e({target:"Array",proto:!0,forced:i},{findIndex:function(o){return t(this,o,arguments.length>1?arguments[1]:void 0)}}),r(n),Kj}var Qj={},qw,Jj;function Ky(){if(Jj)return qw;Jj=1;var e=cs(),t=eh(),r=kn(),n=ai(),i=function(a){var o=a===1;return function(u,s,c){for(var d=r(u),h=t(d),v=n(h),g=e(s,c),m,y;v-- >0;)if(m=h[v],y=g(m,v,d),y)switch(a){case 0:return m;case 1:return v}return o?-1:void 0}};return qw={findLast:i(0),findLastIndex:i(1)},qw}var Zj;function lce(){if(Zj)return Qj;Zj=1;var e=Ve(),t=Ky().findLast,r=Vo();return e({target:"Array",proto:!0},{findLast:function(i){return t(this,i,arguments.length>1?arguments[1]:void 0)}}),r("findLast"),Qj}var e3={},t3;function cce(){if(t3)return e3;t3=1;var e=Ve(),t=Ky().findLastIndex,r=Vo();return e({target:"Array",proto:!0},{findLastIndex:function(i){return t(this,i,arguments.length>1?arguments[1]:void 0)}}),r("findLastIndex"),e3}var r3={},Vw,n3;function Vee(){if(n3)return Vw;n3=1;var e=sc(),t=ai(),r=Sf(),n=cs(),i=function(a,o,u,s,c,d,h,v){for(var g=c,m=0,y=h?n(h,v):!1,S,w;m<s;)m in u&&(S=y?y(u[m],m,o):u[m],d>0&&e(S)?(w=t(S),g=i(a,o,S,w,g,d-1)-1):(r(g+1),a[g]=S),g++),m++;return g};return Vw=i,Vw}var i3;function fce(){if(i3)return r3;i3=1;var e=Ve(),t=Vee(),r=kn(),n=ai(),i=Gi(),a=yp();return e({target:"Array",proto:!0},{flat:function(){var u=arguments.length?arguments[0]:void 0,s=r(this),c=n(s),d=a(s,0);return d.length=t(d,s,s,c,0,u===void 0?1:i(u)),d}}),r3}var a3={},o3;function dce(){if(o3)return a3;o3=1;var e=Ve(),t=Vee(),r=_n(),n=kn(),i=ai(),a=yp();return e({target:"Array",proto:!0},{flatMap:function(u){var s=n(this),c=i(s),d;return r(u),d=a(s,0),d.length=t(d,s,s,c,0,1,u,arguments.length>1?arguments[1]:void 0),d}}),a3}var s3={},Bw,u3;function Bee(){if(u3)return Bw;u3=1;var e=ja().forEach,t=gl(),r=t("forEach");return Bw=r?[].forEach:function(i){return e(this,i,arguments.length>1?arguments[1]:void 0)},Bw}var l3;function hce(){if(l3)return s3;l3=1;var e=Ve(),t=Bee();return e({target:"Array",proto:!0,forced:[].forEach!==t},{forEach:t}),s3}var c3={},Hw,f3;function $P(){if(f3)return Hw;f3=1;var e=Tr(),t=Ua();return Hw=function(r,n,i,a){try{return a?n(e(i)[0],i[1]):n(i)}catch(o){t(r,"throw",o)}},Hw}var zw,d3;function Hee(){if(d3)return zw;d3=1;var e=cs(),t=Sr(),r=kn(),n=$P(),i=LP(),a=mf(),o=ai(),u=pl(),s=sh(),c=_f(),d=Array;return zw=function(v){var g=r(v),m=a(this),y=arguments.length,S=y>1?arguments[1]:void 0,w=S!==void 0;w&&(S=e(S,y>2?arguments[2]:void 0));var b=c(g),A=0,R,x,O,_,P,N;if(b&&!(this===d&&i(b)))for(x=m?new this:[],_=s(g,b),P=_.next;!(O=t(P,_)).done;A++)N=w?n(_,S,[O.value,A],!0):O.value,u(x,A,N);else for(R=o(g),x=m?new this(R):d(R);R>A;A++)N=w?S(g[A],A):g[A],u(x,A,N);return x.length=A,x},zw}var Ww,h3;function Xy(){if(h3)return Ww;h3=1;var e=Yr(),t=e("iterator"),r=!1;try{var n=0,i={next:function(){return{done:!!n++}},return:function(){r=!0}};i[t]=function(){return this},Array.from(i,function(){throw 2})}catch{}return Ww=function(a,o){try{if(!o&&!r)return!1}catch{return!1}var u=!1;try{var s={};s[t]=function(){return{next:function(){return{done:u=!0}}}},a(s)}catch{}return u},Ww}var v3;function vce(){if(v3)return c3;v3=1;var e=Ve(),t=Hee(),r=Xy(),n=!r(function(i){Array.from(i)});return e({target:"Array",stat:!0,forced:n},{from:t}),c3}var p3={},g3;function pce(){if(g3)return p3;g3=1;var e=Ve(),t=pp().includes,r=zt(),n=Vo(),i=r(function(){return!Array(1).includes()});return e({target:"Array",proto:!0,forced:i},{includes:function(o){return t(this,o,arguments.length>1?arguments[1]:void 0)}}),n("includes"),p3}var m3={},y3;function gce(){if(y3)return m3;y3=1;var e=Ve(),t=gf(),r=pp().indexOf,n=gl(),i=t([].indexOf),a=!!i&&1/i([1],1,-0)<0,o=a||!n("indexOf");return e({target:"Array",proto:!0,forced:o},{indexOf:function(s){var c=arguments.length>1?arguments[1]:void 0;return a?i(this,s,c)||0:r(this,s,c)}}),m3}var _3={},S3;function mce(){if(S3)return _3;S3=1;var e=Ve(),t=sc();return e({target:"Array",stat:!0},{isArray:t}),_3}var Gw,E3;function uh(){if(E3)return Gw;E3=1;var e=zt(),t=bn(),r=Gr(),n=Fa(),i=_o(),a=Qn(),o=Yr(),u=Un(),s=o("iterator"),c=!1,d,h,v;[].keys&&(v=[].keys(),"next"in v?(h=i(i(v)),h!==Object.prototype&&(d=h)):c=!0);var g=!r(d)||e(function(){var m={};return d[s].call(m)!==m});return g?d={}:u&&(d=n(d)),t(d[s])||a(d,s,function(){return this}),Gw={IteratorPrototype:d,BUGGY_SAFARI_ITERATORS:c},Gw}var Yw,w3;function FP(){if(w3)return Yw;w3=1;var e=uh().IteratorPrototype,t=Fa(),r=ss(),n=qo(),i=_p(),a=function(){return this};return Yw=function(o,u,s,c){var d=u+" Iterator";return o.prototype=t(e,{next:r(+!c,s)}),n(o,d,!1,!0),i[d]=a,o},Yw}var Kw,b3;function jP(){if(b3)return Kw;b3=1;var e=Ve(),t=Sr(),r=Un(),n=ih(),i=bn(),a=FP(),o=_o(),u=ru(),s=qo(),c=$a(),d=Qn(),h=Yr(),v=_p(),g=uh(),m=n.PROPER,y=n.CONFIGURABLE,S=g.IteratorPrototype,w=g.BUGGY_SAFARI_ITERATORS,b=h("iterator"),A="keys",R="values",x="entries",O=function(){return this};return Kw=function(_,P,N,U,$,B,Y){a(N,P,U);var Q=function(be){if(be===$&&I)return I;if(!w&&be&&be in ne)return ne[be];switch(be){case A:return function(){return new N(this,be)};case R:return function(){return new N(this,be)};case x:return function(){return new N(this,be)}}return function(){return new N(this)}},K=P+" Iterator",ee=!1,ne=_.prototype,D=ne[b]||ne["@@iterator"]||$&&ne[$],I=!w&&D||Q($),L=P==="Array"&&ne.entries||D,re,te,ce;if(L&&(re=o(L.call(new _)),re!==Object.prototype&&re.next&&(!r&&o(re)!==S&&(u?u(re,S):i(re[b])||d(re,b,O)),s(re,K,!0,!0),r&&(v[K]=O))),m&&$===R&&D&&D.name!==R&&(!r&&y?c(ne,"name",R):(ee=!0,I=function(){return t(D,this)})),$)if(te={values:Q(R),keys:B?I:Q(A),entries:Q(x)},Y)for(ce in te)(w||ee||!(ce in ne))&&d(ne,ce,te[ce]);else e({target:P,proto:!0,forced:w||ee},te);return(!r||Y)&&ne[b]!==I&&d(ne,b,I,{name:$}),v[P]=I,te},Kw}var Xw,T3;function Ef(){return T3||(T3=1,Xw=function(e,t){return{value:e,done:t}}),Xw}var Qw,R3;function Qy(){if(R3)return Qw;R3=1;var e=Ra(),t=Vo(),r=_p(),n=qi(),i=xi().f,a=jP(),o=Ef(),u=Un(),s=Ir(),c="Array Iterator",d=n.set,h=n.getterFor(c);Qw=a(Array,"Array",function(g,m){d(this,{type:c,target:e(g),index:0,kind:m})},function(){var g=h(this),m=g.target,y=g.index++;if(!m||y>=m.length)return g.target=null,o(void 0,!0);switch(g.kind){case"keys":return o(y,!1);case"values":return o(m[y],!1)}return o([y,m[y]],!1)},"values");var v=r.Arguments=r.Array;if(t("keys"),t("values"),t("entries"),!u&&s&&v.name!=="values")try{i(v,"name",{value:"values"})}catch{}return Qw}var x3={},C3;function yce(){if(C3)return x3;C3=1;var e=Ve(),t=Kt(),r=eh(),n=Ra(),i=gl(),a=t([].join),o=r!==Object,u=o||!i("join",",");return e({target:"Array",proto:!0,forced:u},{join:function(c){return a(n(this),c===void 0?",":c)}}),x3}var A3={},Jw,O3;function zee(){if(O3)return Jw;O3=1;var e=fs(),t=Ra(),r=Gi(),n=ai(),i=gl(),a=Math.min,o=[].lastIndexOf,u=!!o&&1/[1].lastIndexOf(1,-0)<0,s=i("lastIndexOf"),c=u||!s;return Jw=c?function(h){if(u)return e(o,this,arguments)||0;var v=t(this),g=n(v);if(g===0)return-1;var m=g-1;for(arguments.length>1&&(m=a(m,r(arguments[1]))),m<0&&(m=g+m);m>=0;m--)if(m in v&&v[m]===h)return m||0;return-1}:o,Jw}var I3;function _ce(){if(I3)return A3;I3=1;var e=Ve(),t=zee();return e({target:"Array",proto:!0,forced:t!==[].lastIndexOf},{lastIndexOf:t}),A3}var P3={},D3;function Sce(){if(D3)return P3;D3=1;var e=Ve(),t=ja().map,r=Sp(),n=r("map");return e({target:"Array",proto:!0,forced:!n},{map:function(a){return t(this,a,arguments.length>1?arguments[1]:void 0)}}),P3}var k3={},N3;function Ece(){if(N3)return k3;N3=1;var e=Ve(),t=zt(),r=mf(),n=pl(),i=Array,a=t(function(){function o(){}return!(i.of.call(o)instanceof o)});return e({target:"Array",stat:!0,forced:a},{of:function(){for(var u=0,s=arguments.length,c=new(r(this)?this:i)(s);s>u;)n(c,u,arguments[u++]);return c.length=s,c}}),k3}var L3={},Zw,M3;function UP(){if(M3)return Zw;M3=1;var e=Ir(),t=sc(),r=TypeError,n=Object.getOwnPropertyDescriptor,i=e&&!(function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(a){return a instanceof TypeError}})();return Zw=i?function(a,o){if(t(a)&&!n(a,"length").writable)throw new r("Cannot set read only .length");return a.length=o}:function(a,o){return a.length=o},Zw}var $3;function wce(){if($3)return L3;$3=1;var e=Ve(),t=kn(),r=ai(),n=UP(),i=Sf(),a=zt(),o=a(function(){return[].push.call({length:4294967296},1)!==4294967297}),u=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(c){return c instanceof TypeError}},s=o||!u();return e({target:"Array",proto:!0,arity:1,forced:s},{push:function(d){var h=t(this),v=r(h),g=arguments.length;i(v+g);for(var m=0;m<g;m++)h[v]=arguments[m],v++;return n(h,v),v}}),L3}var F3={},e1,j3;function Jy(){if(j3)return e1;j3=1;var e=_n(),t=kn(),r=eh(),n=ai(),i=TypeError,a="Reduce of empty array with no initial value",o=function(u){return function(s,c,d,h){var v=t(s),g=r(v),m=n(v);if(e(c),m===0&&d<2)throw new i(a);var y=u?m-1:0,S=u?-1:1;if(d<2)for(;;){if(y in g){h=g[y],y+=S;break}if(y+=S,u?y<0:m<=y)throw new i(a)}for(;u?y>=0:m>y;y+=S)y in g&&(h=c(h,g[y],y,v));return h}};return e1={left:o(!1),right:o(!0)},e1}var t1,U3;function Zy(){if(U3)return t1;U3=1;var e=er(),t=Au(),r=Za(),n=function(i){return t.slice(0,i.length)===i};return t1=(function(){return n("Bun/")?"BUN":n("Cloudflare-Workers")?"CLOUDFLARE":n("Deno/")?"DENO":n("Node.js/")?"NODE":e.Bun&&typeof Bun.version=="string"?"BUN":e.Deno&&typeof Deno.version=="object"?"DENO":r(e.process)==="process"?"NODE":e.window&&e.document?"BROWSER":"REST"})(),t1}var r1,q3;function lh(){if(q3)return r1;q3=1;var e=Zy();return r1=e==="NODE",r1}var V3;function bce(){if(V3)return F3;V3=1;var e=Ve(),t=Jy().left,r=gl(),n=Ou(),i=lh(),a=!i&&n>79&&n<83,o=a||!r("reduce");return e({target:"Array",proto:!0,forced:o},{reduce:function(s){var c=arguments.length;return t(this,s,c,c>1?arguments[1]:void 0)}}),F3}var B3={},H3;function Tce(){if(H3)return B3;H3=1;var e=Ve(),t=Jy().right,r=gl(),n=Ou(),i=lh(),a=!i&&n>79&&n<83,o=a||!r("reduceRight");return e({target:"Array",proto:!0,forced:o},{reduceRight:function(s){return t(this,s,arguments.length,arguments.length>1?arguments[1]:void 0)}}),B3}var z3={},W3;function Rce(){if(W3)return z3;W3=1;var e=Ve(),t=Kt(),r=sc(),n=t([].reverse),i=[1,2];return e({target:"Array",proto:!0,forced:String(i)===String(i.reverse())},{reverse:function(){return r(this)&&(this.length=this.length),n(this)}}),z3}var G3={},Y3;function xce(){if(Y3)return G3;Y3=1;var e=Ve(),t=sc(),r=mf(),n=Gr(),i=vl(),a=ai(),o=Ra(),u=pl(),s=Yr(),c=Sp(),d=$s(),h=c("slice"),v=s("species"),g=Array,m=Math.max;return e({target:"Array",proto:!0,forced:!h},{slice:function(S,w){var b=o(this),A=a(b),R=i(S,A),x=i(w===void 0?A:w,A),O,_,P;if(t(b)&&(O=b.constructor,r(O)&&(O===g||t(O.prototype))?O=void 0:n(O)&&(O=O[v],O===null&&(O=void 0)),O===g||O===void 0))return d(b,R,x);for(_=new(O===void 0?g:O)(m(x-R,0)),P=0;R<x;R++,P++)R in b&&u(_,P,b[R]);return _.length=P,_}}),G3}var K3={},X3;function Cce(){if(X3)return K3;X3=1;var e=Ve(),t=ja().some,r=gl(),n=r("some");return e({target:"Array",proto:!0,forced:!n},{some:function(a){return t(this,a,arguments.length>1?arguments[1]:void 0)}}),K3}var Q3={},n1,J3;function qP(){if(J3)return n1;J3=1;var e=$s(),t=Math.floor,r=function(n,i){var a=n.length;if(a<8)for(var o=1,u,s;o<a;){for(s=o,u=n[o];s&&i(n[s-1],u)>0;)n[s]=n[--s];s!==o++&&(n[s]=u)}else for(var c=t(a/2),d=r(e(n,0,c),i),h=r(e(n,c),i),v=d.length,g=h.length,m=0,y=0;m<v||y<g;)n[m+y]=m<v&&y<g?i(d[m],h[y])<=0?d[m++]:h[y++]:m<v?d[m++]:h[y++];return n};return n1=r,n1}var i1,Z3;function Wee(){if(Z3)return i1;Z3=1;var e=Au(),t=e.match(/firefox\/(\d+)/i);return i1=!!t&&+t[1],i1}var a1,e2;function Gee(){if(e2)return a1;e2=1;var e=Au();return a1=/MSIE|Trident/.test(e),a1}var o1,t2;function VP(){if(t2)return o1;t2=1;var e=Au(),t=e.match(/AppleWebKit\/(\d+)\./);return o1=!!t&&+t[1],o1}var r2;function Ace(){if(r2)return Q3;r2=1;var e=Ve(),t=Kt(),r=_n(),n=kn(),i=ai(),a=Yy(),o=rn(),u=zt(),s=qP(),c=gl(),d=Wee(),h=Gee(),v=Ou(),g=VP(),m=[],y=t(m.sort),S=t(m.push),w=u(function(){m.sort(void 0)}),b=u(function(){m.sort(null)}),A=c("sort"),R=!u(function(){if(v)return v<70;if(!(d&&d>3)){if(h)return!0;if(g)return g<603;var _="",P,N,U,$;for(P=65;P<76;P++){switch(N=String.fromCharCode(P),P){case 66:case 69:case 70:case 72:U=3;break;case 68:case 71:U=4;break;default:U=2}for($=0;$<47;$++)m.push({k:N+$,v:U})}for(m.sort(function(B,Y){return Y.v-B.v}),$=0;$<m.length;$++)N=m[$].k.charAt(0),_.charAt(_.length-1)!==N&&(_+=N);return _!=="DGBEFHACIJK"}}),x=w||!b||!A||!R,O=function(_){return function(P,N){return N===void 0?-1:P===void 0?1:_!==void 0?+_(P,N)||0:o(P)>o(N)?1:-1}};return e({target:"Array",proto:!0,forced:x},{sort:function(P){P!==void 0&&r(P);var N=n(this);if(R)return P===void 0?y(N):y(N,P);var U=[],$=i(N),B,Y;for(Y=0;Y<$;Y++)Y in N&&S(U,N[Y]);for(s(U,O(P)),B=i(U),Y=0;Y<B;)N[Y]=U[Y++];for(;Y<$;)a(N,Y++);return N}}),Q3}var n2={},s1,i2;function ch(){if(i2)return s1;i2=1;var e=yn(),t=ta(),r=Yr(),n=Ir(),i=r("species");return s1=function(a){var o=e(a);n&&o&&!o[i]&&t(o,i,{configurable:!0,get:function(){return this}})},s1}var a2;function Oce(){if(a2)return n2;a2=1;var e=ch();return e("Array"),n2}var o2={},s2;function Ice(){if(s2)return o2;s2=1;var e=Ve(),t=kn(),r=vl(),n=Gi(),i=ai(),a=UP(),o=Sf(),u=yp(),s=pl(),c=Yy(),d=Sp(),h=d("splice"),v=Math.max,g=Math.min;return e({target:"Array",proto:!0,forced:!h},{splice:function(y,S){var w=t(this),b=i(w),A=r(y,b),R=arguments.length,x,O,_,P,N,U;for(R===0?x=O=0:R===1?(x=0,O=b-A):(x=R-2,O=g(v(n(S),0),b-A)),o(b+x-O),_=u(w,O),P=0;P<O;P++)N=A+P,N in w&&s(_,P,w[N]);if(_.length=O,x<O){for(P=A;P<b-O;P++)N=P+O,U=P+x,N in w?w[U]=w[N]:c(w,U);for(P=b;P>b-O+x;P--)c(w,P-1)}else if(x>O)for(P=b-O;P>A;P--)N=P+O-1,U=P+x-1,N in w?w[U]=w[N]:c(w,U);for(P=0;P<x;P++)w[P+A]=arguments[P+2];return a(w,b-O+x),_}}),o2}var u2={},u1,l2;function Yee(){if(l2)return u1;l2=1;var e=ai();return u1=function(t,r){for(var n=e(t),i=new r(n),a=0;a<n;a++)i[a]=t[n-a-1];return i},u1}var c2;function Pce(){if(c2)return u2;c2=1;var e=Ve(),t=Yee(),r=Ra(),n=Vo(),i=Array;return e({target:"Array",proto:!0},{toReversed:function(){return t(r(this),i)}}),n("toReversed"),u2}var f2={},l1,d2;function Ep(){if(d2)return l1;d2=1;var e=ai();return l1=function(t,r,n){for(var i=0,a=arguments.length>2?n:e(r),o=new t(a);a>i;)o[i]=r[i++];return o},l1}var c1,h2;function Kee(){if(h2)return c1;h2=1;var e=er();return c1=function(t,r){var n=e[t],i=n&&n.prototype;return i&&i[r]},c1}var v2;function Dce(){if(v2)return f2;v2=1;var e=Ve(),t=Kt(),r=_n(),n=Ra(),i=Ep(),a=Kee(),o=Vo(),u=Array,s=t(a("Array","sort"));return e({target:"Array",proto:!0},{toSorted:function(d){d!==void 0&&r(d);var h=n(this),v=i(u,h);return s(v,d)}}),o("toSorted"),f2}var p2={},g2;function kce(){if(g2)return p2;g2=1;var e=Ve(),t=Vo(),r=Sf(),n=ai(),i=vl(),a=Ra(),o=Gi(),u=Array,s=Math.max,c=Math.min;return e({target:"Array",proto:!0},{toSpliced:function(h,v){var g=a(this),m=n(g),y=i(h,m),S=arguments.length,w=0,b,A,R,x;for(S===0?b=A=0:S===1?(b=0,A=m-y):(b=S-2,A=c(s(o(v),0),m-y)),R=r(m+b-A),x=u(R);w<y;w++)x[w]=g[w];for(;w<y+b;w++)x[w]=arguments[w-y+2];for(;w<R;w++)x[w]=g[w+A-b];return x}}),t("toSpliced"),p2}var m2={},y2;function Nce(){if(y2)return m2;y2=1;var e=Vo();return e("flat"),m2}var _2={},S2;function Lce(){if(S2)return _2;S2=1;var e=Vo();return e("flatMap"),_2}var E2={},w2;function Mce(){if(w2)return E2;w2=1;var e=Ve(),t=kn(),r=ai(),n=UP(),i=Yy(),a=Sf(),o=[].unshift(0)!==1,u=function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(c){return c instanceof TypeError}},s=o||!u();return e({target:"Array",proto:!0,arity:1,forced:s},{unshift:function(d){var h=t(this),v=r(h),g=arguments.length;if(g){a(v+g);for(var m=v;m--;){var y=m+g;m in h?h[y]=h[m]:i(h,y)}for(var S=0;S<g;S++)h[S]=arguments[S]}return n(h,v+g)}}),E2}var b2={},f1,T2;function Xee(){if(T2)return f1;T2=1;var e=ai(),t=Gi(),r=RangeError;return f1=function(n,i,a,o){var u=e(n),s=t(a),c=s<0?u+s:s;if(c>=u||c<0)throw new r("Incorrect index");for(var d=new i(u),h=0;h<u;h++)d[h]=h===c?o:n[h];return d},f1}var R2;function $ce(){if(R2)return b2;R2=1;var e=Ve(),t=Xee(),r=Ra(),n=Array,i=(function(){try{[].with({valueOf:function(){throw 4}},null)}catch(a){return a!==4}})();return e({target:"Array",proto:!0,forced:i},{with:function(a,o){return t(r(this),n,a,o)}}),b2}var x2={},d1,C2;function e_(){return C2||(C2=1,d1=typeof ArrayBuffer<"u"&&typeof DataView<"u"),d1}var h1,A2;function ml(){if(A2)return h1;A2=1;var e=Qn();return h1=function(t,r,n){for(var i in r)e(t,i,r[i],n);return t},h1}var v1,O2;function ds(){if(O2)return v1;O2=1;var e=yo(),t=TypeError;return v1=function(r,n){if(e(n,r))return r;throw new t("Incorrect invocation")},v1}var p1,I2;function t_(){if(I2)return p1;I2=1;var e=Gi(),t=us(),r=RangeError;return p1=function(n){if(n===void 0)return 0;var i=e(n),a=t(i);if(i!==a)throw new r("Wrong length or index");return a},p1}var g1,P2;function BP(){return P2||(P2=1,g1=Math.sign||function(t){var r=+t;return r===0||r!==r?r:r<0?-1:1}),g1}var m1,D2;function Qee(){if(D2)return m1;D2=1;var e=2220446049250313e-31,t=1/e;return m1=function(r){return r+t-t},m1}var y1,k2;function Jee(){if(k2)return y1;k2=1;var e=BP(),t=Qee(),r=Math.abs,n=2220446049250313e-31;return y1=function(i,a,o,u){var s=+i,c=r(s),d=e(s);if(c<u)return d*t(c/u/a)*u*a;var h=(1+a/n)*c,v=h-(h-c);return v>o||v!==v?d*(1/0):d*v},y1}var _1,N2;function Zee(){if(N2)return _1;N2=1;var e=Jee(),t=11920928955078125e-23,r=34028234663852886e22,n=11754943508222875e-54;return _1=Math.fround||function(a){return e(a,t,r,n)},_1}var S1,L2;function Fce(){if(L2)return S1;L2=1;var e=Array,t=Math.abs,r=Math.pow,n=Math.floor,i=Math.log,a=Math.LN2,o=function(s,c,d){var h=e(d),v=d*8-c-1,g=(1<<v)-1,m=g>>1,y=c===23?r(2,-24)-r(2,-77):0,S=s<0||s===0&&1/s<0?1:0,w=0,b,A,R;for(s=t(s),s!==s||s===1/0?(A=s!==s?1:0,b=g):(b=n(i(s)/a),R=r(2,-b),s*R<1&&(b--,R*=2),b+m>=1?s+=y/R:s+=y*r(2,1-m),s*R>=2&&(b++,R/=2),b+m>=g?(A=0,b=g):b+m>=1?(A=(s*R-1)*r(2,c),b+=m):(A=s*r(2,m-1)*r(2,c),b=0));c>=8;)h[w++]=A&255,A/=256,c-=8;for(b=b<<c|A,v+=c;v>0;)h[w++]=b&255,b/=256,v-=8;return h[w-1]|=S*128,h},u=function(s,c){var d=s.length,h=d*8-c-1,v=(1<<h)-1,g=v>>1,m=h-7,y=d-1,S=s[y--],w=S&127,b;for(S>>=7;m>0;)w=w*256+s[y--],m-=8;for(b=w&(1<<-m)-1,w>>=-m,m+=c;m>0;)b=b*256+s[y--],m-=8;if(w===0)w=1-g;else{if(w===v)return b?NaN:S?-1/0:1/0;b+=r(2,c),w-=g}return(S?-1:1)*b*r(2,w-c)};return S1={pack:o,unpack:u},S1}var E1,M2;function r_(){if(M2)return E1;M2=1;var e=er(),t=Kt(),r=Ir(),n=e_(),i=ih(),a=$a(),o=ta(),u=ml(),s=zt(),c=ds(),d=Gi(),h=us(),v=t_(),g=Zee(),m=Fce(),y=_o(),S=ru(),w=MP(),b=$s(),A=yf(),R=ah(),x=qo(),O=qi(),_=i.PROPER,P=i.CONFIGURABLE,N="ArrayBuffer",U="DataView",$="prototype",B="Wrong length",Y="Wrong index",Q=O.getterFor(N),K=O.getterFor(U),ee=O.set,ne=e[N],D=ne,I=D&&D[$],L=e[U],re=L&&L[$],te=Object.prototype,ce=e.Array,be=e.RangeError,Ie=t(w),je=t([].reverse),z=m.pack,k=m.unpack,q=function(Ee){return[Ee&255]},H=function(Ee){return[Ee&255,Ee>>8&255]},ie=function(Ee){return[Ee&255,Ee>>8&255,Ee>>16&255,Ee>>24&255]},V=function(Ee){return Ee[3]<<24|Ee[2]<<16|Ee[1]<<8|Ee[0]},Z=function(Ee){return z(g(Ee),23,4)},me=function(Ee){return z(Ee,52,8)},fe=function(Ee,_e,xe){o(Ee[$],_e,{configurable:!0,get:function(){return xe(this)[_e]}})},Re=function(Ee,_e,xe,ke){var Le=K(Ee),He=v(xe),_t=!!ke;if(He+_e>Le.byteLength)throw new be(Y);var jt=Le.bytes,Lt=He+Le.byteOffset,Qe=b(jt,Lt,Lt+_e);return _t?Qe:je(Qe)},Se=function(Ee,_e,xe,ke,Le,He){var _t=K(Ee),jt=v(xe),Lt=ke(+Le),Qe=!!He;if(jt+_e>_t.byteLength)throw new be(Y);for(var bt=_t.bytes,mt=jt+_t.byteOffset,St=0;St<_e;St++)bt[mt+St]=Lt[Qe?St:_e-St-1]};if(!n)D=function(_e){c(this,I);var xe=v(_e);ee(this,{type:N,bytes:Ie(ce(xe),0),byteLength:xe}),r||(this.byteLength=xe,this.detached=!1)},I=D[$],L=function(_e,xe,ke){c(this,re),c(_e,I);var Le=Q(_e),He=Le.byteLength,_t=d(xe);if(_t<0||_t>He)throw new be("Wrong offset");if(ke=ke===void 0?He-_t:h(ke),_t+ke>He)throw new be(B);ee(this,{type:U,buffer:_e,byteLength:ke,byteOffset:_t,bytes:Le.bytes}),r||(this.buffer=_e,this.byteLength=ke,this.byteOffset=_t)},re=L[$],r&&(fe(D,"byteLength",Q),fe(L,"buffer",K),fe(L,"byteLength",K),fe(L,"byteOffset",K)),u(re,{getInt8:function(_e){return Re(this,1,_e)[0]<<24>>24},getUint8:function(_e){return Re(this,1,_e)[0]},getInt16:function(_e){var xe=Re(this,2,_e,arguments.length>1?arguments[1]:!1);return(xe[1]<<8|xe[0])<<16>>16},getUint16:function(_e){var xe=Re(this,2,_e,arguments.length>1?arguments[1]:!1);return xe[1]<<8|xe[0]},getInt32:function(_e){return V(Re(this,4,_e,arguments.length>1?arguments[1]:!1))},getUint32:function(_e){return V(Re(this,4,_e,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(_e){return k(Re(this,4,_e,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(_e){return k(Re(this,8,_e,arguments.length>1?arguments[1]:!1),52)},setInt8:function(_e,xe){Se(this,1,_e,q,xe)},setUint8:function(_e,xe){Se(this,1,_e,q,xe)},setInt16:function(_e,xe){Se(this,2,_e,H,xe,arguments.length>2?arguments[2]:!1)},setUint16:function(_e,xe){Se(this,2,_e,H,xe,arguments.length>2?arguments[2]:!1)},setInt32:function(_e,xe){Se(this,4,_e,ie,xe,arguments.length>2?arguments[2]:!1)},setUint32:function(_e,xe){Se(this,4,_e,ie,xe,arguments.length>2?arguments[2]:!1)},setFloat32:function(_e,xe){Se(this,4,_e,Z,xe,arguments.length>2?arguments[2]:!1)},setFloat64:function(_e,xe){Se(this,8,_e,me,xe,arguments.length>2?arguments[2]:!1)}});else{var Oe=_&&ne.name!==N;!s(function(){ne(1)})||!s(function(){new ne(-1)})||s(function(){return new ne,new ne(1.5),new ne(NaN),ne.length!==1||Oe&&!P})?(D=function(_e){return c(this,I),A(new ne(v(_e)),this,D)},D[$]=I,I.constructor=D,R(D,ne)):Oe&&P&&a(ne,"name",N),S&&y(re)!==te&&S(re,te);var Me=new L(new D(2)),de=t(re.setInt8);Me.setInt8(0,2147483648),Me.setInt8(1,2147483649),(Me.getInt8(0)||!Me.getInt8(1))&&u(re,{setInt8:function(_e,xe){de(this,_e,xe<<24>>24)},setUint8:function(_e,xe){de(this,_e,xe<<24>>24)}},{unsafe:!0})}return x(D,N),x(L,U),E1={ArrayBuffer:D,DataView:L},E1}var $2;function jce(){if($2)return x2;$2=1;var e=Ve(),t=er(),r=r_(),n=ch(),i="ArrayBuffer",a=r[i],o=t[i];return e({global:!0,constructor:!0,forced:o!==a},{ArrayBuffer:a}),n(i),x2}var F2={},w1,j2;function Tn(){if(j2)return w1;j2=1;var e=e_(),t=Ir(),r=er(),n=bn(),i=Gr(),a=Sn(),o=ls(),u=vf(),s=$a(),c=Qn(),d=ta(),h=yo(),v=_o(),g=ru(),m=Yr(),y=nh(),S=qi(),w=S.enforce,b=S.get,A=r.Int8Array,R=A&&A.prototype,x=r.Uint8ClampedArray,O=x&&x.prototype,_=A&&v(A),P=R&&v(R),N=Object.prototype,U=r.TypeError,$=m("toStringTag"),B=y("TYPED_ARRAY_TAG"),Y="TypedArrayConstructor",Q=e&&!!g&&o(r.opera)!=="Opera",K=!1,ee,ne,D,I={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},L={BigInt64Array:8,BigUint64Array:8},re=function(q){if(!i(q))return!1;var H=o(q);return H==="DataView"||a(I,H)||a(L,H)},te=function(k){var q=v(k);if(i(q)){var H=b(q);return H&&a(H,Y)?H[Y]:te(q)}},ce=function(k){if(!i(k))return!1;var q=o(k);return a(I,q)||a(L,q)},be=function(k){if(ce(k))return k;throw new U("Target is not a typed array")},Ie=function(k){if(n(k)&&(!g||h(_,k)))return k;throw new U(u(k)+" is not a typed array constructor")},je=function(k,q,H,ie){if(t){if(H)for(var V in I){var Z=r[V];if(Z&&a(Z.prototype,k))try{delete Z.prototype[k]}catch{try{Z.prototype[k]=q}catch{}}}(!P[k]||H)&&c(P,k,H?q:Q&&R[k]||q,ie)}},z=function(k,q,H){var ie,V;if(t){if(g){if(H){for(ie in I)if(V=r[ie],V&&a(V,k))try{delete V[k]}catch{}}if(!_[k]||H)try{return c(_,k,H?q:Q&&_[k]||q)}catch{}else return}for(ie in I)V=r[ie],V&&(!V[k]||H)&&c(V,k,q)}};for(ee in I)ne=r[ee],D=ne&&ne.prototype,D?w(D)[Y]=ne:Q=!1;for(ee in L)ne=r[ee],D=ne&&ne.prototype,D&&(w(D)[Y]=ne);if((!Q||!n(_)||_===Function.prototype)&&(_=function(){throw new U("Incorrect invocation")},Q))for(ee in I)r[ee]&&g(r[ee],_);if((!Q||!P||P===N)&&(P=_.prototype,Q))for(ee in I)r[ee]&&g(r[ee].prototype,P);if(Q&&v(O)!==P&&g(O,P),t&&!a(P,$)){K=!0,d(P,$,{configurable:!0,get:function(){return i(this)?this[B]:void 0}});for(ee in I)r[ee]&&s(r[ee],B,ee)}return w1={NATIVE_ARRAY_BUFFER_VIEWS:Q,TYPED_ARRAY_TAG:K&&B,aTypedArray:be,aTypedArrayConstructor:Ie,exportTypedArrayMethod:je,exportTypedArrayStaticMethod:z,getTypedArrayConstructor:te,isView:re,isTypedArray:ce,TypedArray:_,TypedArrayPrototype:P},w1}var U2;function Uce(){if(U2)return F2;U2=1;var e=Ve(),t=Tn(),r=t.NATIVE_ARRAY_BUFFER_VIEWS;return e({target:"ArrayBuffer",stat:!0,forced:!r},{isView:t.isView}),F2}var q2={},V2;function qce(){if(V2)return q2;V2=1;var e=Ve(),t=gf(),r=zt(),n=r_(),i=Tr(),a=vl(),o=us(),u=n.ArrayBuffer,s=n.DataView,c=s.prototype,d=t(u.prototype.slice),h=t(c.getUint8),v=t(c.setUint8),g=r(function(){return!new u(2).slice(1,void 0).byteLength});return e({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:g},{slice:function(y,S){if(d&&S===void 0)return d(i(this),y);for(var w=i(this).byteLength,b=a(y,w),A=a(S===void 0?w:S,w),R=new u(o(A-b)),x=new s(this),O=new s(R),_=0;b<A;)v(O,_++,h(x,b++));return R}}),q2}var B2={},H2={},z2;function Vce(){if(z2)return H2;z2=1;var e=Ve(),t=r_(),r=e_();return e({global:!0,constructor:!0,forced:!r},{DataView:t.DataView}),H2}var W2;function Bce(){return W2||(W2=1,Vce()),B2}var G2={},Y2;function Hce(){if(Y2)return G2;Y2=1;var e=Ve(),t=Kt(),r=Math.pow,n=31,i=1023,a=r(2,-24),o=.0009765625,u=function(c){var d=c>>>15,h=c>>>10&n,v=c&i;return h===n?v===0?d===0?1/0:-1/0:NaN:h===0?v*(d===0?a:-a):r(2,h-15)*(d===0?1+v*o:-1-v*o)},s=t(DataView.prototype.getUint16);return e({target:"DataView",proto:!0},{getFloat16:function(d){return u(s(this,d,arguments.length>1?arguments[1]:!1))}}),G2}var K2={},b1,X2;function zce(){if(X2)return b1;X2=1;var e=ls(),t=TypeError;return b1=function(r){if(e(r)==="DataView")return r;throw new t("Argument is not a DataView")},b1}var T1,Q2;function ete(){if(Q2)return T1;Q2=1;var e=Math.log,t=Math.LN2;return T1=Math.log2||function(n){return e(n)/t},T1}var J2;function Wce(){if(J2)return K2;J2=1;var e=Ve(),t=Kt(),r=zce(),n=t_(),i=ete(),a=Qee(),o=Math.pow,u=65520,s=61005353927612305e-21,c=16777216,d=1024,h=function(g){if(g!==g)return 32256;if(g===0)return(1/g===-1/0)<<15;var m=g<0;if(m&&(g=-g),g>=u)return m<<15|31744;if(g<s)return m<<15|a(g*c);var y=i(g)|0;if(y===-15)return m<<15|d;var S=a((g*o(2,-y)-1)*d);return S===d?m<<15|y+16<<10:m<<15|y+15<<10|S},v=t(DataView.prototype.setUint16);return e({target:"DataView",proto:!0},{setFloat16:function(m,y){v(r(this),n(m),h(+y),arguments.length>2?arguments[2]:!1)}}),K2}var Z2={},R1,e4;function tte(){if(e4)return R1;e4=1;var e=er(),t=Gy(),r=Za(),n=e.ArrayBuffer,i=e.TypeError;return R1=n&&t(n.prototype,"byteLength","get")||function(a){if(r(a)!=="ArrayBuffer")throw new i("ArrayBuffer expected");return a.byteLength},R1}var x1,t4;function rte(){if(t4)return x1;t4=1;var e=er(),t=e_(),r=tte(),n=e.DataView;return x1=function(i){if(!t||r(i)!==0)return!1;try{return new n(i),!1}catch{return!0}},x1}var r4;function Gce(){if(r4)return Z2;r4=1;var e=Ir(),t=ta(),r=rte(),n=ArrayBuffer.prototype;return e&&!("detached"in n)&&t(n,"detached",{configurable:!0,get:function(){return r(this)}}),Z2}var n4={},C1,i4;function wp(){if(i4)return C1;i4=1;var e=rte(),t=TypeError;return C1=function(r){if(e(r))throw new t("ArrayBuffer is detached");return r},C1}var A1,a4;function nte(){if(a4)return A1;a4=1;var e=er(),t=lh();return A1=function(r){if(t){try{return e.process.getBuiltinModule(r)}catch{}try{return Function('return require("'+r+'")')()}catch{}}},A1}var O1,o4;function HP(){if(o4)return O1;o4=1;var e=er(),t=zt(),r=Ou(),n=Zy(),i=e.structuredClone;return O1=!!i&&!t(function(){if(n==="DENO"&&r>92||n==="NODE"&&r>94||n==="BROWSER"&&r>97)return!1;var a=new ArrayBuffer(8),o=i(a,{transfer:[a]});return a.byteLength!==0||o.byteLength!==8}),O1}var I1,s4;function ite(){if(s4)return I1;s4=1;var e=er(),t=nte(),r=HP(),n=e.structuredClone,i=e.ArrayBuffer,a=e.MessageChannel,o=!1,u,s,c,d;if(r)o=function(h){n(h,{transfer:[h]})};else if(i)try{a||(u=t("worker_threads"),u&&(a=u.MessageChannel)),a&&(s=new a,c=new i(2),d=function(h){s.port1.postMessage(null,[h])},c.byteLength===2&&(d(c),c.byteLength===0&&(o=d)))}catch{}return I1=o,I1}var P1,u4;function ate(){if(u4)return P1;u4=1;var e=er(),t=Kt(),r=Gy(),n=t_(),i=wp(),a=tte(),o=ite(),u=HP(),s=e.structuredClone,c=e.ArrayBuffer,d=e.DataView,h=Math.min,v=c.prototype,g=d.prototype,m=t(v.slice),y=r(v,"resizable","get"),S=r(v,"maxByteLength","get"),w=t(g.getInt8),b=t(g.setInt8);return P1=(u||o)&&function(A,R,x){var O=a(A),_=R===void 0?O:n(R),P=!y||!y(A),N;if(i(A),u&&(A=s(A,{transfer:[A]}),O===_&&(x||P)))return A;if(O>=_&&(!x||P))N=m(A,0,_);else{var U=x&&!P&&S?{maxByteLength:S(A)}:void 0;N=new c(_,U);for(var $=new d(A),B=new d(N),Y=h(_,O),Q=0;Q<Y;Q++)b(B,Q,w($,Q))}return u||o(A),N},P1}var l4;function Yce(){if(l4)return n4;l4=1;var e=Ve(),t=ate();return t&&e({target:"ArrayBuffer",proto:!0},{transfer:function(){return t(this,arguments.length?arguments[0]:void 0,!0)}}),n4}var c4={},f4;function Kce(){if(f4)return c4;f4=1;var e=Ve(),t=ate();return t&&e({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return t(this,arguments.length?arguments[0]:void 0,!1)}}),c4}var d4={},h4;function Xce(){if(h4)return d4;h4=1;var e=Ve(),t=Kt(),r=zt(),n=r(function(){return new Date(16e11).getYear()!==120}),i=t(Date.prototype.getFullYear);return e({target:"Date",proto:!0,forced:n},{getYear:function(){return i(this)-1900}}),d4}var v4={},p4;function Qce(){if(p4)return v4;p4=1;var e=Ve(),t=Kt(),r=Date,n=t(r.prototype.getTime);return e({target:"Date",stat:!0},{now:function(){return n(new r)}}),v4}var g4={},m4;function Jce(){if(m4)return g4;m4=1;var e=Ve(),t=Kt(),r=Gi(),n=Date.prototype,i=t(n.getTime),a=t(n.setFullYear);return e({target:"Date",proto:!0},{setYear:function(u){i(this);var s=r(u),c=s>=0&&s<=99?s+1900:s;return a(this,c)}}),g4}var y4={},_4;function Zce(){if(_4)return y4;_4=1;var e=Ve();return e({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString}),y4}var S4={},D1,E4;function n_(){if(E4)return D1;E4=1;var e=Gi(),t=rn(),r=Pi(),n=RangeError;return D1=function(a){var o=t(r(this)),u="",s=e(a);if(s<0||s===1/0)throw new n("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(o+=o))s&1&&(u+=o);return u},D1}var k1,w4;function i_(){if(w4)return k1;w4=1;var e=Kt(),t=us(),r=rn(),n=n_(),i=Pi(),a=e(n),o=e("".slice),u=Math.ceil,s=function(c){return function(d,h,v){var g=r(i(d)),m=t(h),y=g.length,S=v===void 0?" ":r(v),w,b;return m<=y||S===""?g:(w=m-y,b=a(S,u(w/S.length)),b.length>w&&(b=o(b,0,w)),c?g+b:b+g)}};return k1={start:s(!1),end:s(!0)},k1}var N1,b4;function efe(){if(b4)return N1;b4=1;var e=Kt(),t=zt(),r=i_().start,n=RangeError,i=isFinite,a=Math.abs,o=Date.prototype,u=o.toISOString,s=e(o.getTime),c=e(o.getUTCDate),d=e(o.getUTCFullYear),h=e(o.getUTCHours),v=e(o.getUTCMilliseconds),g=e(o.getUTCMinutes),m=e(o.getUTCMonth),y=e(o.getUTCSeconds);return N1=t(function(){return u.call(new Date(-5e13-1))!=="0385-07-25T07:06:39.999Z"})||!t(function(){u.call(new Date(NaN))})?function(){if(!i(s(this)))throw new n("Invalid time value");var w=this,b=d(w),A=v(w),R=b<0?"-":b>9999?"+":"";return R+r(a(b),R?6:4,0)+"-"+r(m(w)+1,2,0)+"-"+r(c(w),2,0)+"T"+r(h(w),2,0)+":"+r(g(w),2,0)+":"+r(y(w),2,0)+"."+r(A,3,0)+"Z"}:u,N1}var T4;function tfe(){if(T4)return S4;T4=1;var e=Ve(),t=efe();return e({target:"Date",proto:!0,forced:Date.prototype.toISOString!==t},{toISOString:t}),S4}var R4={},x4;function rfe(){if(x4)return R4;x4=1;var e=Ve(),t=zt(),r=kn(),n=Vy(),i=t(function(){return new Date(NaN).toJSON()!==null||Date.prototype.toJSON.call({toISOString:function(){return 1}})!==1});return e({target:"Date",proto:!0,arity:1,forced:i},{toJSON:function(o){var u=r(this),s=n(u,"number");return typeof s=="number"&&!isFinite(s)?null:u.toISOString()}}),R4}var C4={},L1,A4;function nfe(){if(A4)return L1;A4=1;var e=Tr(),t=bee(),r=TypeError;return L1=function(n){if(e(this),n==="string"||n==="default")n="string";else if(n!=="number")throw new r("Incorrect hint");return t(this,n)},L1}var O4;function ife(){if(O4)return C4;O4=1;var e=Sn(),t=Qn(),r=nfe(),n=Yr(),i=n("toPrimitive"),a=Date.prototype;return e(a,i)||t(a,i,r),C4}var I4={},P4;function afe(){if(P4)return I4;P4=1;var e=Kt(),t=Qn(),r=Date.prototype,n="Invalid Date",i="toString",a=e(r[i]),o=e(r.getTime);return String(new Date(NaN))!==n&&t(r,i,function(){var s=o(this);return s===s?a(this):n}),I4}var D4={},M1,k4;function ote(){if(k4)return M1;k4=1;var e=yn(),t=Sr(),r=Kt(),n=cs(),i=Tr(),a=_n(),o=hl(),u=La(),s=Yr(),c=s("asyncDispose"),d=s("dispose"),h=r([].push),v=function(m,y){if(y==="async-dispose"){var S=u(m,c);return S!==void 0||(S=u(m,d),S===void 0)?S:function(){var w=this,b=e("Promise");return new b(function(A){t(S,w),A(void 0)})}}return u(m,d)},g=function(m,y,S){return arguments.length<3&&!o(m)&&(S=a(v(i(m),y))),S===void 0?function(){}:n(S,m)};return M1=function(m,y,S,w){var b;if(arguments.length<4){if(o(y)&&S==="sync-dispose")return;b=g(y,S)}else b=g(void 0,S,w);h(m.stack,b)},M1}var N4;function ofe(){if(N4)return D4;N4=1;var e=Ve(),t=Ir(),r=yn(),n=_n(),i=ds(),a=Qn(),o=ml(),u=ta(),s=Yr(),c=qi(),d=ote(),h=r("SuppressedError"),v=ReferenceError,g=s("dispose"),m=s("toStringTag"),y="DisposableStack",S=c.set,w=c.getterFor(y),b="sync-dispose",A="disposed",R="pending",x=function(P){var N=w(P);if(N.state===A)throw new v(y+" already disposed");return N},O=function(){S(i(this,_),{type:y,state:R,stack:[]}),t||(this.disposed=!1)},_=O.prototype;return o(_,{dispose:function(){var N=w(this);if(N.state!==A){N.state=A,t||(this.disposed=!0);for(var U=N.stack,$=U.length,B=!1,Y;$;){var Q=U[--$];U[$]=null;try{Q()}catch(K){B?Y=new h(K,Y):(B=!0,Y=K)}}if(N.stack=null,B)throw Y}},use:function(N){return d(x(this),N,b),N},adopt:function(N,U){var $=x(this);return n(U),d($,void 0,b,function(){U(N)}),N},defer:function(N){var U=x(this);n(N),d(U,void 0,b,N)},move:function(){var N=x(this),U=new O;return w(U).stack=N.stack,N.stack=[],N.state=A,t||(this.disposed=!0),U}}),t&&u(_,"disposed",{configurable:!0,get:function(){return w(this).state===A}}),a(_,g,_.dispose,{name:"dispose"}),a(_,m,y,{nonWritable:!0}),e({global:!0,constructor:!0},{DisposableStack:O}),D4}var L4={},M4;function sfe(){if(M4)return L4;M4=1;var e=Ve(),t=Kt(),r=rn(),n=t("".charAt),i=t("".charCodeAt),a=t(/./.exec),o=t(1.1.toString),u=t("".toUpperCase),s=/[\w*+\-./@]/,c=function(d,h){for(var v=o(d,16);v.length<h;)v="0"+v;return v};return e({global:!0},{escape:function(h){for(var v=r(h),g="",m=v.length,y=0,S,w;y<m;)S=n(v,y++),a(s,S)?g+=S:(w=i(S,0),w<256?g+="%"+c(w,2):g+="%u"+u(c(w,4)));return g}}),L4}var $4={},$1,F4;function ste(){if(F4)return $1;F4=1;var e=Kt(),t=_n(),r=Gr(),n=Sn(),i=$s(),a=hp(),o=Function,u=e([].concat),s=e([].join),c={},d=function(h,v,g){if(!n(c,v)){for(var m=[],y=0;y<v;y++)m[y]="a["+y+"]";c[v]=o("C,a","return new C("+s(m,",")+")")}return c[v](h,g)};return $1=a?o.bind:function(v){var g=t(this),m=g.prototype,y=i(arguments,1),S=function(){var b=u(y,i(arguments));return this instanceof S?d(g,b.length,b):g.apply(v,b)};return r(m)&&(S.prototype=m),S},$1}var j4;function ufe(){if(j4)return $4;j4=1;var e=Ve(),t=ste();return e({target:"Function",proto:!0,forced:Function.bind!==t},{bind:t}),$4}var U4={},q4;function lfe(){if(q4)return U4;q4=1;var e=bn(),t=Gr(),r=xi(),n=yo(),i=Yr(),a=xP(),o=i("hasInstance"),u=Function.prototype;return o in u||r.f(u,o,{value:a(function(s){if(!e(this)||!t(s))return!1;var c=this.prototype;return t(c)?n(c,s):s instanceof this},o)}),U4}var V4={},B4;function cfe(){if(B4)return V4;B4=1;var e=Ir(),t=ih().EXISTS,r=Kt(),n=ta(),i=Function.prototype,a=r(i.toString),o=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,u=r(o.exec),s="name";return e&&!t&&n(i,s,{configurable:!0,get:function(){try{return u(o,a(this))[1]}catch{return""}}}),V4}var H4={},z4;function ffe(){if(z4)return H4;z4=1;var e=Ve(),t=er();return e({global:!0,forced:t.globalThis!==t},{globalThis:t}),H4}var W4={},G4;function dfe(){if(G4)return W4;G4=1;var e=Ve(),t=er(),r=ds(),n=Tr(),i=bn(),a=_o(),o=ta(),u=pl(),s=zt(),c=Sn(),d=Yr(),h=uh().IteratorPrototype,v=Ir(),g=Un(),m="constructor",y="Iterator",S=d("toStringTag"),w=TypeError,b=t[y],A=g||!i(b)||b.prototype!==h||!s(function(){b({})}),R=function(){if(r(this,h),a(this)===h)throw new w("Abstract class Iterator not directly constructable")},x=function(O,_){v?o(h,O,{configurable:!0,get:function(){return _},set:function(P){if(n(this),this===h)throw new w("You can't redefine this property");c(this,O)?this[O]=P:u(this,O,P)}}):h[O]=_};return c(h,S)||x(S,y),(A||!c(h,m)||h[m]===Object)&&x(m,R),R.prototype=h,e({global:!0,constructor:!0,forced:A},{Iterator:R}),W4}var Y4={},K4;function hfe(){if(K4)return Y4;K4=1;var e=Sr(),t=Qn(),r=La(),n=Sn(),i=Yr(),a=uh().IteratorPrototype,o=i("dispose");return n(a,o)||t(a,o,function(){var u=r(this,"return");u&&e(u,this)}),Y4}var X4={},F1,Q4;function to(){return Q4||(Q4=1,F1=function(e){return{iterator:e,next:e.next,done:!1}}),F1}var j1,J4;function ute(){if(J4)return j1;J4=1;var e=RangeError;return j1=function(t){if(t===t)return t;throw new e("NaN is not allowed")},j1}var U1,Z4;function zP(){if(Z4)return U1;Z4=1;var e=Gi(),t=RangeError;return U1=function(r){var n=e(r);if(n<0)throw new t("The argument can't be less than 0");return n},U1}var q1,eU;function vfe(){if(eU)return q1;eU=1;var e=Ua();return q1=function(t,r,n){for(var i=t.length-1;i>=0;i--)if(t[i]!==void 0)try{n=e(t[i].iterator,r,n)}catch(a){r="throw",n=a}if(r==="throw")throw n;return n},q1}var V1,tU;function fh(){if(tU)return V1;tU=1;var e=Sr(),t=Fa(),r=$a(),n=ml(),i=Yr(),a=qi(),o=La(),u=uh().IteratorPrototype,s=Ef(),c=Ua(),d=vfe(),h=i("toStringTag"),v="IteratorHelper",g="WrapForValidIterator",m="normal",y="throw",S=a.set,w=function(R){var x=a.getterFor(R?g:v);return n(t(u),{next:function(){var _=x(this);if(R)return _.nextHandler();if(_.done)return s(void 0,!0);try{var P=_.nextHandler();return _.returnHandlerResult?P:s(P,_.done)}catch(N){throw _.done=!0,N}},return:function(){var O=x(this),_=O.iterator;if(O.done=!0,R){var P=o(_,"return");return P?e(P,_):s(void 0,!0)}if(O.inner)try{c(O.inner.iterator,m)}catch(N){return c(_,y,N)}if(O.openIters)try{d(O.openIters,m)}catch(N){return c(_,y,N)}return _&&c(_,m),s(void 0,!0)}})},b=w(!0),A=w(!1);return r(A,h,"Iterator Helper"),V1=function(R,x,O){var _=function(N,U){U?(U.iterator=N.iterator,U.next=N.next):U=N,U.type=x?g:v,U.returnHandlerResult=!!O,U.nextHandler=R,U.counter=0,U.done=!1,S(this,U)};return _.prototype=x?b:A,_},V1}var B1,rU;function a_(){return rU||(rU=1,B1=function(e,t){var r=typeof Iterator=="function"&&Iterator.prototype[e];if(r)try{r.call({next:null},t).next()}catch{return!0}}),B1}var H1,nU;function Iu(){if(nU)return H1;nU=1;var e=er();return H1=function(t,r){var n=e.Iterator,i=n&&n.prototype,a=i&&i[t],o=!1;if(a)try{a.call({next:function(){return{done:!0}},return:function(){o=!0}},-1)}catch(u){u instanceof r||(o=!1)}if(!o)return a},H1}var iU;function pfe(){if(iU)return X4;iU=1;var e=Ve(),t=Sr(),r=Tr(),n=to(),i=ute(),a=zP(),o=Ua(),u=fh(),s=a_(),c=Iu(),d=Un(),h=!d&&!s("drop",0),v=!d&&!h&&c("drop",RangeError),g=d||h||v,m=u(function(){for(var y=this.iterator,S=this.next,w,b;this.remaining;)if(this.remaining--,w=r(t(S,y)),b=this.done=!!w.done,b)return;if(w=r(t(S,y)),b=this.done=!!w.done,!b)return w.value});return e({target:"Iterator",proto:!0,real:!0,forced:g},{drop:function(S){r(this);var w;try{w=a(i(+S))}catch(b){o(this,"throw",b)}return v?t(v,this,w):new m(n(this),{remaining:w})}}),X4}var aU={},oU;function gfe(){if(oU)return aU;oU=1;var e=Ve(),t=Sr(),r=ha(),n=_n(),i=Tr(),a=to(),o=Ua(),u=Iu(),s=u("every",TypeError);return e({target:"Iterator",proto:!0,real:!0,forced:s},{every:function(d){i(this);try{n(d)}catch(g){o(this,"throw",g)}if(s)return t(s,this,d);var h=a(this),v=0;return!r(h,function(g,m){if(!d(g,v++))return m()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}}),aU}var sU={},uU;function mfe(){if(uU)return sU;uU=1;var e=Ve(),t=Sr(),r=_n(),n=Tr(),i=to(),a=fh(),o=$P(),u=Un(),s=Ua(),c=a_(),d=Iu(),h=!u&&!c("filter",function(){}),v=!u&&!h&&d("filter",TypeError),g=u||h||v,m=a(function(){for(var y=this.iterator,S=this.predicate,w=this.next,b,A,R;;){if(b=n(t(w,y)),A=this.done=!!b.done,A)return;if(R=b.value,o(y,S,[R,this.counter++],!0))return R}});return e({target:"Iterator",proto:!0,real:!0,forced:g},{filter:function(S){n(this);try{r(S)}catch(w){s(this,"throw",w)}return v?t(v,this,S):new m(i(this),{predicate:S})}}),sU}var lU={},cU;function yfe(){if(cU)return lU;cU=1;var e=Ve(),t=Sr(),r=ha(),n=_n(),i=Tr(),a=to(),o=Ua(),u=Iu(),s=u("find",TypeError);return e({target:"Iterator",proto:!0,real:!0,forced:s},{find:function(d){i(this);try{n(d)}catch(g){o(this,"throw",g)}if(s)return t(s,this,d);var h=a(this),v=0;return r(h,function(g,m){if(d(g,v++))return m(g)},{IS_RECORD:!0,INTERRUPTED:!0}).result}}),lU}var fU={},z1,dU;function lte(){if(dU)return z1;dU=1;var e=Sr(),t=Tr(),r=to(),n=_f();return z1=function(i,a){(!a||typeof i!="string")&&t(i);var o=n(i);return r(t(o!==void 0?e(o,i):i))},z1}var hU;function _fe(){if(hU)return fU;hU=1;var e=Ve(),t=Sr(),r=_n(),n=Tr(),i=to(),a=lte(),o=fh(),u=Ua(),s=Un(),c=a_(),d=Iu(),h=!s&&!c("flatMap",function(){}),v=!s&&!h&&d("flatMap",TypeError),g=s||h||v,m=o(function(){for(var y=this.iterator,S=this.mapper,w,b;;){if(b=this.inner)try{if(w=n(t(b.next,b.iterator)),!w.done)return w.value;this.inner=null}catch(A){u(y,"throw",A)}if(w=n(t(this.next,y)),this.done=!!w.done)return;try{this.inner=a(S(w.value,this.counter++),!1)}catch(A){u(y,"throw",A)}}});return e({target:"Iterator",proto:!0,real:!0,forced:g},{flatMap:function(S){n(this);try{r(S)}catch(w){u(this,"throw",w)}return v?t(v,this,S):new m(i(this),{mapper:S,inner:null})}}),fU}var vU={},pU;function Sfe(){if(pU)return vU;pU=1;var e=Ve(),t=Sr(),r=ha(),n=_n(),i=Tr(),a=to(),o=Ua(),u=Iu(),s=u("forEach",TypeError);return e({target:"Iterator",proto:!0,real:!0,forced:s},{forEach:function(d){i(this);try{n(d)}catch(g){o(this,"throw",g)}if(s)return t(s,this,d);var h=a(this),v=0;r(h,function(g){d(g,v++)},{IS_RECORD:!0})}}),vU}var gU={},mU;function Efe(){if(mU)return gU;mU=1;var e=Ve(),t=Sr(),r=kn(),n=yo(),i=uh().IteratorPrototype,a=fh(),o=lte(),u=Un(),s=u||(function(){try{Iterator.from({return:null}).return()}catch{return!0}})(),c=a(function(){return t(this.next,this.iterator)},!0);return e({target:"Iterator",stat:!0,forced:s},{from:function(h){var v=o(typeof h=="string"?r(h):h,!0);return n(i,v.iterator)?v.iterator:new c(v)}}),gU}var yU={},_U;function wfe(){if(_U)return yU;_U=1;var e=Ve(),t=Sr(),r=_n(),n=Tr(),i=to(),a=fh(),o=$P(),u=Ua(),s=a_(),c=Iu(),d=Un(),h=!d&&!s("map",function(){}),v=!d&&!h&&c("map",TypeError),g=d||h||v,m=a(function(){var y=this.iterator,S=n(t(this.next,y)),w=this.done=!!S.done;if(!w)return o(y,this.mapper,[S.value,this.counter++],!0)});return e({target:"Iterator",proto:!0,real:!0,forced:g},{map:function(S){n(this);try{r(S)}catch(w){u(this,"throw",w)}return v?t(v,this,S):new m(i(this),{mapper:S})}}),yU}var SU={},EU;function bfe(){if(EU)return SU;EU=1;var e=Ve(),t=ha(),r=_n(),n=Tr(),i=to(),a=Ua(),o=Iu(),u=fs(),s=zt(),c=TypeError,d=s(function(){[].keys().reduce(function(){},void 0)}),h=!d&&o("reduce",c);return e({target:"Iterator",proto:!0,real:!0,forced:d||h},{reduce:function(g){n(this);try{r(g)}catch(b){a(this,"throw",b)}var m=arguments.length<2,y=m?void 0:arguments[1];if(h)return u(h,this,m?[g]:[g,y]);var S=i(this),w=0;if(t(S,function(b){m?(m=!1,y=b):y=g(y,b,w),w++},{IS_RECORD:!0}),m)throw new c("Reduce of empty iterator with no initial value");return y}}),SU}var wU={},bU;function Tfe(){if(bU)return wU;bU=1;var e=Ve(),t=Sr(),r=ha(),n=_n(),i=Tr(),a=to(),o=Ua(),u=Iu(),s=u("some",TypeError);return e({target:"Iterator",proto:!0,real:!0,forced:s},{some:function(d){i(this);try{n(d)}catch(g){o(this,"throw",g)}if(s)return t(s,this,d);var h=a(this),v=0;return r(h,function(g,m){if(d(g,v++))return m()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}}),wU}var TU={},RU;function Rfe(){if(RU)return TU;RU=1;var e=Ve(),t=Sr(),r=Tr(),n=to(),i=ute(),a=zP(),o=fh(),u=Ua(),s=Iu(),c=Un(),d=!c&&s("take",RangeError),h=o(function(){var v=this.iterator;if(!this.remaining--)return this.done=!0,u(v,"normal",void 0);var g=r(t(this.next,v)),m=this.done=!!g.done;if(!m)return g.value});return e({target:"Iterator",proto:!0,real:!0,forced:c||d},{take:function(g){r(this);var m;try{m=a(i(+g))}catch(y){u(this,"throw",y)}return d?t(d,this,m):new h(n(this),{remaining:m})}}),TU}var xU={},CU;function xfe(){if(CU)return xU;CU=1;var e=Ve(),t=Tr(),r=ha(),n=to(),i=[].push;return e({target:"Iterator",proto:!0,real:!0},{toArray:function(){var o=[];return r(n(t(this)),i,{that:o,IS_RECORD:!0}),o}}),xU}var AU={},OU;function Cfe(){if(OU)return AU;OU=1;var e=er(),t=qo();return t(e.JSON,"JSON",!0),AU}var IU={},PU={},W1={exports:{}},G1,DU;function WP(){if(DU)return G1;DU=1;var e=zt();return G1=e(function(){if(typeof ArrayBuffer=="function"){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}),G1}var Y1,kU;function GP(){if(kU)return Y1;kU=1;var e=zt(),t=Gr(),r=Za(),n=WP(),i=Object.isExtensible,a=e(function(){});return Y1=a||n?function(u){return!t(u)||n&&r(u)==="ArrayBuffer"?!1:i?i(u):!0}:i,Y1}var K1,NU;function dh(){if(NU)return K1;NU=1;var e=zt();return K1=!e(function(){return Object.isExtensible(Object.preventExtensions({}))}),K1}var LU;function wf(){if(LU)return W1.exports;LU=1;var e=Ve(),t=Kt(),r=vp(),n=Gr(),i=Sn(),a=xi().f,o=pf(),u=PP(),s=GP(),c=nh(),d=dh(),h=!1,v=c("meta"),g=0,m=function(R){a(R,v,{value:{objectID:"O"+g++,weakData:{}}})},y=function(R,x){if(!n(R))return typeof R=="symbol"?R:(typeof R=="string"?"S":"P")+R;if(!i(R,v)){if(!s(R))return"F";if(!x)return"E";m(R)}return R[v].objectID},S=function(R,x){if(!i(R,v)){if(!s(R))return!0;if(!x)return!1;m(R)}return R[v].weakData},w=function(R){return d&&h&&s(R)&&!i(R,v)&&m(R),R},b=function(){A.enable=function(){},h=!0;var R=o.f,x=t([].splice),O={};O[v]=1,R(O).length&&(o.f=function(_){for(var P=R(_),N=0,U=P.length;N<U;N++)if(P[N]===v){x(P,N,1);break}return P},e({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:u.f}))},A=W1.exports={enable:b,fastKey:y,getWeakData:S,onFreeze:w};return r[v]=!0,W1.exports}var X1,MU;function o_(){if(MU)return X1;MU=1;var e=Ve(),t=er(),r=Kt(),n=gp(),i=Qn(),a=wf(),o=ha(),u=ds(),s=bn(),c=hl(),d=Gr(),h=zt(),v=Xy(),g=qo(),m=yf();return X1=function(y,S,w){var b=y.indexOf("Map")!==-1,A=y.indexOf("Weak")!==-1,R=b?"set":"add",x=t[y],O=x&&x.prototype,_=x,P={},N=function(ee){var ne=r(O[ee]);i(O,ee,ee==="add"?function(I){return ne(this,I===0?0:I),this}:ee==="delete"?function(D){return A&&!d(D)?!1:ne(this,D===0?0:D)}:ee==="get"?function(I){return A&&!d(I)?void 0:ne(this,I===0?0:I)}:ee==="has"?function(I){return A&&!d(I)?!1:ne(this,I===0?0:I)}:function(I,L){return ne(this,I===0?0:I,L),this})},U=n(y,!s(x)||!(A||O.forEach&&!h(function(){new x().entries().next()})));if(U)_=w.getConstructor(S,y,b,R),a.enable();else if(n(y,!0)){var $=new _,B=$[R](A?{}:-0,1)!==$,Y=h(function(){$.has(1)}),Q=v(function(ee){new x(ee)}),K=!A&&h(function(){for(var ee=new x,ne=5;ne--;)ee[R](ne,ne);return!ee.has(-0)});Q||(_=S(function(ee,ne){u(ee,O);var D=m(new x,ee,_);return c(ne)||o(ne,D[R],{that:D,AS_ENTRIES:b}),D}),_.prototype=O,O.constructor=_),(Y||K)&&(N("delete"),N("has"),b&&N("get")),(K||B)&&N(R),A&&O.clear&&delete O.clear}return P[y]=_,e({global:!0,constructor:!0,forced:_!==x},P),g(_,y),A||w.setStrong(_,y,b),_},X1}var Q1,$U;function cte(){if($U)return Q1;$U=1;var e=Fa(),t=ta(),r=ml(),n=cs(),i=ds(),a=hl(),o=ha(),u=jP(),s=Ef(),c=ch(),d=Ir(),h=wf().fastKey,v=qi(),g=v.set,m=v.getterFor;return Q1={getConstructor:function(y,S,w,b){var A=y(function(P,N){i(P,R),g(P,{type:S,index:e(null),first:null,last:null,size:0}),d||(P.size=0),a(N)||o(N,P[b],{that:P,AS_ENTRIES:w})}),R=A.prototype,x=m(S),O=function(P,N,U){var $=x(P),B=_(P,N),Y,Q;return B?B.value=U:($.last=B={index:Q=h(N,!0),key:N,value:U,previous:Y=$.last,next:null,removed:!1},$.first||($.first=B),Y&&(Y.next=B),d?$.size++:P.size++,Q!=="F"&&($.index[Q]=B)),P},_=function(P,N){var U=x(P),$=h(N),B;if($!=="F")return U.index[$];for(B=U.first;B;B=B.next)if(B.key===N)return B};return r(R,{clear:function(){for(var N=this,U=x(N),$=U.first;$;)$.removed=!0,$.previous&&($.previous=$.previous.next=null),$=$.next;U.first=U.last=null,U.index=e(null),d?U.size=0:N.size=0},delete:function(P){var N=this,U=x(N),$=_(N,P);if($){var B=$.next,Y=$.previous;delete U.index[$.index],$.removed=!0,Y&&(Y.next=B),B&&(B.previous=Y),U.first===$&&(U.first=B),U.last===$&&(U.last=Y),d?U.size--:N.size--}return!!$},forEach:function(N){for(var U=x(this),$=n(N,arguments.length>1?arguments[1]:void 0),B;B=B?B.next:U.first;)for($(B.value,B.key,this);B&&B.removed;)B=B.previous},has:function(N){return!!_(this,N)}}),r(R,w?{get:function(N){var U=_(this,N);return U&&U.value},set:function(N,U){return O(this,N===0?0:N,U)}}:{add:function(N){return O(this,N=N===0?0:N,N)}}),d&&t(R,"size",{configurable:!0,get:function(){return x(this).size}}),A},setStrong:function(y,S,w){var b=S+" Iterator",A=m(S),R=m(b);u(y,S,function(x,O){g(this,{type:b,target:x,state:A(x),kind:O,last:null})},function(){for(var x=R(this),O=x.kind,_=x.last;_&&_.removed;)_=_.previous;return!x.target||!(x.last=_=_?_.next:x.state.first)?(x.target=null,s(void 0,!0)):s(O==="keys"?_.key:O==="values"?_.value:[_.key,_.value],!1)},w?"entries":"values",!w,!0),c(S)}},Q1}var FU;function Afe(){if(FU)return PU;FU=1;var e=o_(),t=cte();return e("Map",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},t),PU}var jU;function Ofe(){return jU||(jU=1,Afe()),IU}var UU={},J1,qU;function fte(){if(qU)return J1;qU=1;var e=Kt(),t=Map.prototype;return J1={Map,set:e(t.set),get:e(t.get),has:e(t.has),remove:e(t.delete),proto:t},J1}var VU;function Ife(){if(VU)return UU;VU=1;var e=Ve(),t=Kt(),r=_n(),n=Pi(),i=ha(),a=fte(),o=Un(),u=zt(),s=a.Map,c=a.has,d=a.get,h=a.set,v=t([].push),g=o||u(function(){return s.groupBy("ab",function(m){return m}).get("a").length!==1});return e({target:"Map",stat:!0,forced:o||g},{groupBy:function(y,S){n(y),r(S);var w=new s,b=0;return i(y,function(A){var R=S(A,b++);c(w,R)?v(d(w,R),A):h(w,R,[A])}),w}}),UU}var BU={},Z1,HU;function dte(){if(HU)return Z1;HU=1;var e=Math.log;return Z1=Math.log1p||function(r){var n=+r;return n>-1e-8&&n<1e-8?n-n*n/2:e(1+n)},Z1}var zU;function Pfe(){if(zU)return BU;zU=1;var e=Ve(),t=dte(),r=Math.acosh,n=Math.log,i=Math.sqrt,a=Math.LN2,o=!r||Math.floor(r(Number.MAX_VALUE))!==710||r(1/0)!==1/0;return e({target:"Math",stat:!0,forced:o},{acosh:function(s){var c=+s;return c<1?NaN:c>9490626562425156e-8?n(c)+a:t(c-1+i(c-1)*i(c+1))}}),BU}var WU={},GU;function Dfe(){if(GU)return WU;GU=1;var e=Ve(),t=Math.asinh,r=Math.log,n=Math.sqrt;function i(o){var u=+o;return!isFinite(u)||u===0?u:u<0?-i(-u):r(u+n(u*u+1))}var a=!(t&&1/t(0)>0);return e({target:"Math",stat:!0,forced:a},{asinh:i}),WU}var YU={},KU;function kfe(){if(KU)return YU;KU=1;var e=Ve(),t=Math.atanh,r=Math.log,n=!(t&&1/t(-0)<0);return e({target:"Math",stat:!0,forced:n},{atanh:function(a){var o=+a;return o===0?o:r((1+o)/(1-o))/2}}),YU}var XU={},QU;function Nfe(){if(QU)return XU;QU=1;var e=Ve(),t=BP(),r=Math.abs,n=Math.pow;return e({target:"Math",stat:!0},{cbrt:function(a){var o=+a;return t(o)*n(r(o),1/3)}}),XU}var JU={},ZU;function Lfe(){if(ZU)return JU;ZU=1;var e=Ve(),t=Math.floor,r=Math.log,n=Math.LOG2E;return e({target:"Math",stat:!0},{clz32:function(a){var o=a>>>0;return o?31-t(r(o+.5)*n):32}}),JU}var e6={},eb,t6;function s_(){if(t6)return eb;t6=1;var e=Math.expm1,t=Math.exp;return eb=!e||e(10)>22025.465794806718||e(10)<22025.465794806718||e(-2e-17)!==-2e-17?function(n){var i=+n;return i===0?i:i>-1e-6&&i<1e-6?i+i*i/2:t(i)-1}:e,eb}var r6;function Mfe(){if(r6)return e6;r6=1;var e=Ve(),t=s_(),r=Math.cosh,n=Math.abs,i=Math.E,a=!r||r(710)===1/0;return e({target:"Math",stat:!0,forced:a},{cosh:function(u){var s=t(n(u)-1)+1;return(s+1/(s*i*i))*(i/2)}}),e6}var n6={},i6;function $fe(){if(i6)return n6;i6=1;var e=Ve(),t=s_();return e({target:"Math",stat:!0,forced:t!==Math.expm1},{expm1:t}),n6}var a6={},o6;function Ffe(){if(o6)return a6;o6=1;var e=Ve(),t=Zee();return e({target:"Math",stat:!0},{fround:t}),a6}var s6={},u6;function jfe(){if(u6)return s6;u6=1;var e=Ve(),t=Jee(),r=.0009765625,n=65504,i=6103515625e-14;return e({target:"Math",stat:!0},{f16round:function(o){return t(o,r,n,i)}}),s6}var l6={},c6;function Ufe(){if(c6)return l6;c6=1;var e=Ve(),t=Math.hypot,r=Math.abs,n=Math.sqrt,i=!!t&&t(1/0,NaN)!==1/0;return e({target:"Math",stat:!0,arity:2,forced:i},{hypot:function(o,u){for(var s=0,c=0,d=arguments.length,h=0,v,g;c<d;)v=r(arguments[c++]),h<v?(g=h/v,s=s*g*g+1,h=v):v>0?(g=v/h,s+=g*g):s+=v;return h===1/0?1/0:h*n(s)}}),l6}var f6={},d6;function qfe(){if(d6)return f6;d6=1;var e=Ve(),t=zt(),r=Math.imul,n=t(function(){return r(4294967295,5)!==-5||r.length!==2});return e({target:"Math",stat:!0,forced:n},{imul:function(a,o){var u=65535,s=+a,c=+o,d=u&s,h=u&c;return 0|d*h+((u&s>>>16)*h+d*(u&c>>>16)<<16>>>0)}}),f6}var h6={},tb,v6;function hte(){if(v6)return tb;v6=1;var e=Math.log,t=Math.LOG10E;return tb=Math.log10||function(n){return e(n)*t},tb}var p6;function Vfe(){if(p6)return h6;p6=1;var e=Ve(),t=hte();return e({target:"Math",stat:!0},{log10:t}),h6}var g6={},m6;function Bfe(){if(m6)return g6;m6=1;var e=Ve(),t=dte();return e({target:"Math",stat:!0},{log1p:t}),g6}var y6={},_6;function Hfe(){if(_6)return y6;_6=1;var e=Ve(),t=ete();return e({target:"Math",stat:!0},{log2:t}),y6}var S6={},E6;function zfe(){if(E6)return S6;E6=1;var e=Ve(),t=BP();return e({target:"Math",stat:!0},{sign:t}),S6}var w6={},b6;function Wfe(){if(b6)return w6;b6=1;var e=Ve(),t=zt(),r=s_(),n=Math.abs,i=Math.exp,a=Math.E,o=t(function(){return Math.sinh(-2e-17)!==-2e-17});return e({target:"Math",stat:!0,forced:o},{sinh:function(s){var c=+s;return n(c)<1?(r(c)-r(-c))/2:(i(c-1)-i(-c-1))*(a/2)}}),w6}var T6={},R6;function Gfe(){if(R6)return T6;R6=1;var e=Ve(),t=Kt(),r=ha(),n=RangeError,i=TypeError,a=1/0,o=NaN,u=Math.abs,s=Math.pow,c=t([].push),d=s(2,1023),h=s(2,53)-1,v=Number.MAX_VALUE,g=s(2,971),m={},y={},S={},w={},b={},A=function(R,x){var O=R+x,_=x-(O-R);return{hi:O,lo:_}};return e({target:"Math",stat:!0},{sumPrecise:function(x){var O=[],_=0,P=w;switch(r(x,function(ce){if(++_>=h)throw new n("Maximum allowed index exceeded");if(typeof ce!="number")throw new i("Value is not a number");P!==m&&(ce!==ce?P=m:ce===a?P=P===y?m:S:ce===-a?P=P===S?m:y:(ce!==0||1/ce===a)&&(P===w||P===b)&&(P=b,c(O,ce)))}),P){case m:return o;case y:return-a;case S:return a;case w:return-0}for(var N=[],U=0,$,B,Y,Q,K,ee,ne=0;ne<O.length;ne++){$=O[ne];for(var D=0,I=0;I<N.length;I++){if(B=N[I],u($)<u(B)&&(ee=$,$=B,B=ee),Y=A($,B),Q=Y.hi,K=Y.lo,u(Q)===a){var L=Q===a?1:-1;U+=L,$=$-L*d-L*d,u($)<u(B)&&(ee=$,$=B,B=ee),Y=A($,B),Q=Y.hi,K=Y.lo}K!==0&&(N[D++]=K),$=Q}N.length=D,$!==0&&c(N,$)}var re=N.length-1;if(Q=0,K=0,U!==0){var te=re>=0?N[re]:0;if(re--,u(U)>1||U>0&&te>0||U<0&&te<0)return U>0?a:-a;if(Y=A(U*d,te/2),Q=Y.hi,K=Y.lo,K*=2,u(2*Q)===a)return Q>0?Q===d&&K===-(g/2)&&re>=0&&N[re]<0?v:a:Q===-d&&K===g/2&&re>=0&&N[re]>0?-v:-a;K!==0&&(N[++re]=K,K=0),Q*=2}for(;re>=0&&(Y=A(Q,N[re--]),Q=Y.hi,K=Y.lo,K===0););return re>=0&&(K<0&&N[re]<0||K>0&&N[re]>0)&&(B=K*2,$=Q+B,B===$-Q&&(Q=$)),Q}}),T6}var x6={},C6;function Yfe(){if(C6)return x6;C6=1;var e=Ve(),t=s_(),r=Math.exp;return e({target:"Math",stat:!0},{tanh:function(i){var a=+i,o=t(a),u=t(-a);return o===1/0?1:u===1/0?-1:(o-u)/(r(a)+r(-a))}}),x6}var A6={},O6;function Kfe(){if(O6)return A6;O6=1;var e=qo();return e(Math,"Math",!0),A6}var I6={},P6;function Xfe(){if(P6)return I6;P6=1;var e=Ve(),t=Cee();return e({target:"Math",stat:!0},{trunc:t}),I6}var D6={},rb,k6;function u_(){if(k6)return rb;k6=1;var e=Kt();return rb=e(1.1.valueOf),rb}var nb,N6;function bp(){return N6||(N6=1,nb=`
3
- \v\f\r                 \u2028\u2029\uFEFF`),nb}var ib,L6;function hh(){if(L6)return ib;L6=1;var e=Kt(),t=Pi(),r=rn(),n=bp(),i=e("".replace),a=RegExp("^["+n+"]+"),o=RegExp("(^|[^"+n+"])["+n+"]+$"),u=function(s){return function(c){var d=r(t(c));return s&1&&(d=i(d,a,"")),s&2&&(d=i(d,o,"$1")),d}};return ib={start:u(1),end:u(2),trim:u(3)},ib}var M6;function Qfe(){if(M6)return D6;M6=1;var e=Ve(),t=Un(),r=Ir(),n=er(),i=Wy(),a=Kt(),o=gp(),u=Sn(),s=yf(),c=yo(),d=hf(),h=Vy(),v=zt(),g=pf().f,m=Ma().f,y=xi().f,S=u_(),w=hh().trim,b="Number",A=n[b],R=i[b],x=A.prototype,O=n.TypeError,_=a("".slice),P=a("".charCodeAt),N=function(K){var ee=h(K,"number");return typeof ee=="bigint"?ee:U(ee)},U=function(K){var ee=h(K,"number"),ne,D,I,L,re,te,ce,be;if(d(ee))throw new O("Cannot convert a Symbol value to a number");if(typeof ee=="string"&&ee.length>2){if(ee=w(ee),ne=P(ee,0),ne===43||ne===45){if(D=P(ee,2),D===88||D===120)return NaN}else if(ne===48){switch(P(ee,1)){case 66:case 98:I=2,L=49;break;case 79:case 111:I=8,L=55;break;default:return+ee}for(re=_(ee,2),te=re.length,ce=0;ce<te;ce++)if(be=P(re,ce),be<48||be>L)return NaN;return parseInt(re,I)}}return+ee},$=o(b,!A(" 0o1")||!A("0b1")||A("+0x1")),B=function(K){return c(x,K)&&v(function(){S(K)})},Y=function(ee){var ne=arguments.length<1?0:A(N(ee));return B(this)?s(Object(ne),this,Y):ne};Y.prototype=x,$&&!t&&(x.constructor=Y),e({global:!0,constructor:!0,wrap:!0,forced:$},{Number:Y});var Q=function(K,ee){for(var ne=r?g(ee):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),D=0,I;ne.length>D;D++)u(ee,I=ne[D])&&!u(K,I)&&y(K,I,m(ee,I))};return t&&R&&Q(i[b],R),($||t)&&Q(i[b],A),D6}var $6={},F6;function Jfe(){if(F6)return $6;F6=1;var e=Ve();return e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)}),$6}var j6={},ab,U6;function Zfe(){if(U6)return ab;U6=1;var e=er(),t=e.isFinite;return ab=Number.isFinite||function(n){return typeof n=="number"&&t(n)},ab}var q6;function ede(){if(q6)return j6;q6=1;var e=Ve(),t=Zfe();return e({target:"Number",stat:!0},{isFinite:t}),j6}var V6={},ob,B6;function YP(){if(B6)return ob;B6=1;var e=Gr(),t=Math.floor;return ob=Number.isInteger||function(n){return!e(n)&&isFinite(n)&&t(n)===n},ob}var H6;function tde(){if(H6)return V6;H6=1;var e=Ve(),t=YP();return e({target:"Number",stat:!0},{isInteger:t}),V6}var z6={},W6;function rde(){if(W6)return z6;W6=1;var e=Ve();return e({target:"Number",stat:!0},{isNaN:function(r){return r!==r}}),z6}var G6={},Y6;function nde(){if(Y6)return G6;Y6=1;var e=Ve(),t=YP(),r=Math.abs;return e({target:"Number",stat:!0},{isSafeInteger:function(i){return t(i)&&r(i)<=9007199254740991}}),G6}var K6={},X6;function ide(){if(X6)return K6;X6=1;var e=Ve();return e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991}),K6}var Q6={},J6;function ade(){if(J6)return Q6;J6=1;var e=Ve();return e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991}),Q6}var Z6={},sb,e5;function vte(){if(e5)return sb;e5=1;var e=er(),t=zt(),r=Kt(),n=rn(),i=hh().trim,a=bp(),o=r("".charAt),u=e.parseFloat,s=e.Symbol,c=s&&s.iterator,d=1/u(a+"-0")!==-1/0||c&&!t(function(){u(Object(c))});return sb=d?function(v){var g=i(n(v)),m=u(g);return m===0&&o(g,0)==="-"?-0:m}:u,sb}var t5;function ode(){if(t5)return Z6;t5=1;var e=Ve(),t=vte();return e({target:"Number",stat:!0,forced:Number.parseFloat!==t},{parseFloat:t}),Z6}var r5={},ub,n5;function pte(){if(n5)return ub;n5=1;var e=er(),t=zt(),r=Kt(),n=rn(),i=hh().trim,a=bp(),o=e.parseInt,u=e.Symbol,s=u&&u.iterator,c=/^[+-]?0x/i,d=r(c.exec),h=o(a+"08")!==8||o(a+"0x16")!==22||s&&!t(function(){o(Object(s))});return ub=h?function(g,m){var y=i(n(g));return o(y,m>>>0||(d(c,y)?16:10))}:o,ub}var i5;function sde(){if(i5)return r5;i5=1;var e=Ve(),t=pte();return e({target:"Number",stat:!0,forced:Number.parseInt!==t},{parseInt:t}),r5}var a5={},o5;function ude(){if(o5)return a5;o5=1;var e=Ve(),t=Kt(),r=Gi(),n=u_(),i=n_(),a=hte(),o=zt(),u=RangeError,s=String,c=isFinite,d=Math.abs,h=Math.floor,v=Math.pow,g=Math.round,m=t(1.1.toExponential),y=t(i),S=t("".slice),w=m(-69e-12,4)==="-6.9000e-11"&&m(1.255,2)==="1.25e+0"&&m(12345,3)==="1.235e+4"&&m(25,0)==="3e+1",b=function(){return o(function(){m(1,1/0)})&&o(function(){m(1,-1/0)})},A=function(){return!o(function(){m(1/0,1/0),m(NaN,1/0)})},R=!w||!b()||!A();return e({target:"Number",proto:!0,forced:R},{toExponential:function(O){var _=n(this);if(O===void 0)return m(_);var P=r(O);if(!c(_))return String(_);if(P<0||P>20)throw new u("Incorrect fraction digits");if(w)return m(_,P);var N="",U,$,B,Y;if(_<0&&(N="-",_=-_),_===0)$=0,U=y("0",P+1);else{var Q=a(_);$=h(Q);var K=v(10,$-P),ee=g(_/K);2*_>=(2*ee+1)*K&&(ee+=1),ee>=v(10,P+1)&&(ee/=10,$+=1),U=s(ee)}return P!==0&&(U=S(U,0,1)+"."+S(U,1)),$===0?(B="+",Y="0"):(B=$>0?"+":"-",Y=s(d($))),U+="e"+B+Y,N+U}}),a5}var s5={},u5;function lde(){if(u5)return s5;u5=1;var e=Ve(),t=Kt(),r=Gi(),n=u_(),i=n_(),a=zt(),o=RangeError,u=String,s=Math.floor,c=t(i),d=t("".slice),h=t(1.1.toFixed),v=function(b,A,R){return A===0?R:A%2===1?v(b,A-1,R*b):v(b*b,A/2,R)},g=function(b){for(var A=0,R=b;R>=4096;)A+=12,R/=4096;for(;R>=2;)A+=1,R/=2;return A},m=function(b,A,R){for(var x=-1,O=R;++x<6;)O+=A*b[x],b[x]=O%1e7,O=s(O/1e7)},y=function(b,A){for(var R=6,x=0;--R>=0;)x+=b[R],b[R]=s(x/A),x=x%A*1e7},S=function(b){for(var A=6,R="";--A>=0;)if(R!==""||A===0||b[A]!==0){var x=u(b[A]);R=R===""?x:R+c("0",7-x.length)+x}return R},w=a(function(){return h(8e-5,3)!=="0.000"||h(.9,0)!=="1"||h(1.255,2)!=="1.25"||h(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!a(function(){h({})});return e({target:"Number",proto:!0,forced:w},{toFixed:function(A){var R=n(this),x=r(A),O=[0,0,0,0,0,0],_="",P="0",N,U,$,B;if(x<0||x>20)throw new o("Incorrect fraction digits");if(R!==R)return"NaN";if(R<=-1e21||R>=1e21)return u(R);if(R<0&&(_="-",R=-R),R>1e-21)if(N=g(R*v(2,69,1))-69,U=N<0?R*v(2,-N,1):R/v(2,N,1),U*=4503599627370496,N=52-N,N>0){for(m(O,0,U),$=x;$>=7;)m(O,1e7,0),$-=7;for(m(O,v(10,$,1),0),$=N-1;$>=23;)y(O,1<<23),$-=23;y(O,1<<$),m(O,1,1),y(O,2),P=S(O)}else m(O,0,U),m(O,1<<-N,0),P=S(O)+c("0",x);return x>0?(B=P.length,P=_+(B<=x?"0."+c("0",x-B)+P:d(P,0,B-x)+"."+d(P,B-x))):P=_+P,P}}),s5}var l5={},c5;function cde(){if(c5)return l5;c5=1;var e=Ve(),t=Kt(),r=zt(),n=u_(),i=t(1.1.toPrecision),a=r(function(){return i(1,void 0)!=="1"})||!r(function(){i({})});return e({target:"Number",proto:!0,forced:a},{toPrecision:function(u){return u===void 0?i(n(this)):i(n(this),u)}}),l5}var f5={},lb,d5;function gte(){if(d5)return lb;d5=1;var e=Ir(),t=Kt(),r=Sr(),n=zt(),i=mp(),a=zy(),o=Uy(),u=kn(),s=eh(),c=Object.assign,d=Object.defineProperty,h=t([].concat);return lb=!c||n(function(){if(e&&c({b:1},c(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var v={},g={},m=Symbol("assign detection"),y="abcdefghijklmnopqrst";return v[m]=7,y.split("").forEach(function(S){g[S]=S}),c({},v)[m]!==7||i(c({},g)).join("")!==y})?function(g,m){for(var y=u(g),S=arguments.length,w=1,b=a.f,A=o.f;S>w;)for(var R=s(arguments[w++]),x=b?h(i(R),b(R)):i(R),O=x.length,_=0,P;O>_;)P=x[_++],(!e||r(A,R,P))&&(y[P]=R[P]);return y}:c,lb}var h5;function fde(){if(h5)return f5;h5=1;var e=Ve(),t=gte();return e({target:"Object",stat:!0,arity:2,forced:Object.assign!==t},{assign:t}),f5}var v5={},p5;function dde(){if(p5)return v5;p5=1;var e=Ve(),t=Ir(),r=Fa();return e({target:"Object",stat:!0,sham:!t},{create:r}),v5}var g5={},cb,m5;function l_(){if(m5)return cb;m5=1;var e=Un(),t=er(),r=zt(),n=VP();return cb=e||!r(function(){if(!(n&&n<535)){var i=Math.random();__defineSetter__.call(null,i,function(){}),delete t[i]}}),cb}var y5;function hde(){if(y5)return g5;y5=1;var e=Ve(),t=Ir(),r=l_(),n=_n(),i=kn(),a=xi();return t&&e({target:"Object",proto:!0,forced:r},{__defineGetter__:function(u,s){a.f(i(this),u,{get:n(s),enumerable:!0,configurable:!0})}}),g5}var _5={},S5;function vde(){if(S5)return _5;S5=1;var e=Ve(),t=Ir(),r=IP().f;return e({target:"Object",stat:!0,forced:Object.defineProperties!==r,sham:!t},{defineProperties:r}),_5}var E5={},w5;function pde(){if(w5)return E5;w5=1;var e=Ve(),t=Ir(),r=xi().f;return e({target:"Object",stat:!0,forced:Object.defineProperty!==r,sham:!t},{defineProperty:r}),E5}var b5={},T5;function gde(){if(T5)return b5;T5=1;var e=Ve(),t=Ir(),r=l_(),n=_n(),i=kn(),a=xi();return t&&e({target:"Object",proto:!0,forced:r},{__defineSetter__:function(u,s){a.f(i(this),u,{set:n(s),enumerable:!0,configurable:!0})}}),b5}var R5={},fb,x5;function mte(){if(x5)return fb;x5=1;var e=Ir(),t=zt(),r=Kt(),n=_o(),i=mp(),a=Ra(),o=Uy().f,u=r(o),s=r([].push),c=e&&t(function(){var h=Object.create(null);return h[2]=2,!u(h,2)}),d=function(h){return function(v){for(var g=a(v),m=i(g),y=c&&n(g)===null,S=m.length,w=0,b=[],A;S>w;)A=m[w++],(!e||(y?A in g:u(g,A)))&&s(b,h?[A,g[A]]:g[A]);return b}};return fb={entries:d(!0),values:d(!1)},fb}var C5;function mde(){if(C5)return R5;C5=1;var e=Ve(),t=mte().entries;return e({target:"Object",stat:!0},{entries:function(n){return t(n)}}),R5}var A5={},O5;function yde(){if(O5)return A5;O5=1;var e=Ve(),t=dh(),r=zt(),n=Gr(),i=wf().onFreeze,a=Object.freeze,o=r(function(){a(1)});return e({target:"Object",stat:!0,forced:o,sham:!t},{freeze:function(s){return a&&n(s)?a(i(s)):s}}),A5}var I5={},P5;function _de(){if(P5)return I5;P5=1;var e=Ve(),t=ha(),r=pl();return e({target:"Object",stat:!0},{fromEntries:function(i){var a={};return t(i,function(o,u){r(a,o,u)},{AS_ENTRIES:!0}),a}}),I5}var D5={},k5;function Sde(){if(k5)return D5;k5=1;var e=Ve(),t=zt(),r=Ra(),n=Ma().f,i=Ir(),a=!i||t(function(){n(1)});return e({target:"Object",stat:!0,forced:a,sham:!i},{getOwnPropertyDescriptor:function(u,s){return n(r(u),s)}}),D5}var N5={},L5;function Ede(){if(L5)return N5;L5=1;var e=Ve(),t=Ir(),r=AP(),n=Ra(),i=Ma(),a=pl();return e({target:"Object",stat:!0,sham:!t},{getOwnPropertyDescriptors:function(u){for(var s=n(u),c=i.f,d=r(s),h={},v=0,g,m;d.length>v;)m=c(s,g=d[v++]),m!==void 0&&a(h,g,m);return h}}),N5}var M5={},$5;function wde(){if($5)return M5;$5=1;var e=Ve(),t=zt(),r=PP().f,n=t(function(){return!Object.getOwnPropertyNames(1)});return e({target:"Object",stat:!0,forced:n},{getOwnPropertyNames:r}),M5}var F5={},j5;function bde(){if(j5)return F5;j5=1;var e=Ve(),t=zt(),r=kn(),n=_o(),i=NP(),a=t(function(){n(1)});return e({target:"Object",stat:!0,forced:a,sham:!i},{getPrototypeOf:function(u){return n(r(u))}}),F5}var U5={},q5;function Tde(){if(q5)return U5;q5=1;var e=Ve(),t=yn(),r=Kt(),n=_n(),i=Pi(),a=oc(),o=ha(),u=zt(),s=Object.groupBy,c=t("Object","create"),d=r([].push),h=!s||u(function(){return s("ab",function(v){return v}).a.length!==1});return e({target:"Object",stat:!0,forced:h},{groupBy:function(g,m){i(g),n(m);var y=c(null),S=0;return o(g,function(w){var b=a(m(w,S++));b in y?d(y[b],w):y[b]=[w]}),y}}),U5}var V5={},B5;function Rde(){if(B5)return V5;B5=1;var e=Ve(),t=Sn();return e({target:"Object",stat:!0},{hasOwn:t}),V5}var H5={},db,z5;function yte(){return z5||(z5=1,db=Object.is||function(t,r){return t===r?t!==0||1/t===1/r:t!==t&&r!==r}),db}var W5;function xde(){if(W5)return H5;W5=1;var e=Ve(),t=yte();return e({target:"Object",stat:!0},{is:t}),H5}var G5={},Y5;function Cde(){if(Y5)return G5;Y5=1;var e=Ve(),t=GP();return e({target:"Object",stat:!0,forced:Object.isExtensible!==t},{isExtensible:t}),G5}var K5={},X5;function Ade(){if(X5)return K5;X5=1;var e=Ve(),t=zt(),r=Gr(),n=Za(),i=WP(),a=Object.isFrozen,o=i||t(function(){});return e({target:"Object",stat:!0,forced:o},{isFrozen:function(s){return!r(s)||i&&n(s)==="ArrayBuffer"?!0:a?a(s):!1}}),K5}var Q5={},J5;function Ode(){if(J5)return Q5;J5=1;var e=Ve(),t=zt(),r=Gr(),n=Za(),i=WP(),a=Object.isSealed,o=i||t(function(){});return e({target:"Object",stat:!0,forced:o},{isSealed:function(s){return!r(s)||i&&n(s)==="ArrayBuffer"?!0:a?a(s):!1}}),Q5}var Z5={},eq;function Ide(){if(eq)return Z5;eq=1;var e=Ve(),t=kn(),r=mp(),n=zt(),i=n(function(){r(1)});return e({target:"Object",stat:!0,forced:i},{keys:function(o){return r(t(o))}}),Z5}var tq={},rq;function Pde(){if(rq)return tq;rq=1;var e=Ve(),t=Ir(),r=l_(),n=kn(),i=oc(),a=_o(),o=Ma().f;return t&&e({target:"Object",proto:!0,forced:r},{__lookupGetter__:function(s){var c=n(this),d=i(s),h;do if(h=o(c,d))return h.get;while(c=a(c))}}),tq}var nq={},iq;function Dde(){if(iq)return nq;iq=1;var e=Ve(),t=Ir(),r=l_(),n=kn(),i=oc(),a=_o(),o=Ma().f;return t&&e({target:"Object",proto:!0,forced:r},{__lookupSetter__:function(s){var c=n(this),d=i(s),h;do if(h=o(c,d))return h.set;while(c=a(c))}}),nq}var aq={},oq;function kde(){if(oq)return aq;oq=1;var e=Ve(),t=Gr(),r=wf().onFreeze,n=dh(),i=zt(),a=Object.preventExtensions,o=i(function(){a(1)});return e({target:"Object",stat:!0,forced:o,sham:!n},{preventExtensions:function(s){return a&&t(s)?a(r(s)):s}}),aq}var sq={},uq;function Nde(){if(uq)return sq;uq=1;var e=Ir(),t=ta(),r=Gr(),n=Nee(),i=kn(),a=Pi(),o=Object.getPrototypeOf,u=Object.setPrototypeOf,s=Object.prototype,c="__proto__";if(e&&o&&u&&!(c in s))try{t(s,c,{configurable:!0,get:function(){return o(i(this))},set:function(h){var v=a(this);n(h)&&r(v)&&u(v,h)}})}catch{}return sq}var lq={},cq;function Lde(){if(cq)return lq;cq=1;var e=Ve(),t=Gr(),r=wf().onFreeze,n=dh(),i=zt(),a=Object.seal,o=i(function(){a(1)});return e({target:"Object",stat:!0,forced:o,sham:!n},{seal:function(s){return a&&t(s)?a(r(s)):s}}),lq}var fq={},dq;function Mde(){if(dq)return fq;dq=1;var e=Ve(),t=ru();return e({target:"Object",stat:!0},{setPrototypeOf:t}),fq}var hq={},hb,vq;function $de(){if(vq)return hb;vq=1;var e=OP(),t=ls();return hb=e?{}.toString:function(){return"[object "+t(this)+"]"},hb}var pq;function Fde(){if(pq)return hq;pq=1;var e=OP(),t=Qn(),r=$de();return e||t(Object.prototype,"toString",r,{unsafe:!0}),hq}var gq={},mq;function jde(){if(mq)return gq;mq=1;var e=Ve(),t=mte().values;return e({target:"Object",stat:!0},{values:function(n){return t(n)}}),gq}var yq={},_q;function Ude(){if(_q)return yq;_q=1;var e=Ve(),t=vte();return e({global:!0,forced:parseFloat!==t},{parseFloat:t}),yq}var Sq={},Eq;function qde(){if(Eq)return Sq;Eq=1;var e=Ve(),t=pte();return e({global:!0,forced:parseInt!==t},{parseInt:t}),Sq}var wq={},bq={},vb,Tq;function KP(){if(Tq)return vb;Tq=1;var e=mf(),t=vf(),r=TypeError;return vb=function(n){if(e(n))return n;throw new r(t(n)+" is not a constructor")},vb}var pb,Rq;function c_(){if(Rq)return pb;Rq=1;var e=Tr(),t=KP(),r=hl(),n=Yr(),i=n("species");return pb=function(a,o){var u=e(a).constructor,s;return u===void 0||r(s=e(u)[i])?o:t(s)},pb}var gb,xq;function Fs(){if(xq)return gb;xq=1;var e=TypeError;return gb=function(t,r){if(t<r)throw new e("Not enough arguments");return t},gb}var mb,Cq;function _te(){if(Cq)return mb;Cq=1;var e=Au();return mb=/(?:ipad|iphone|ipod).*applewebkit/i.test(e),mb}var yb,Aq;function f_(){if(Aq)return yb;Aq=1;var e=er(),t=fs(),r=cs(),n=bn(),i=Sn(),a=zt(),o=Oee(),u=$s(),s=By(),c=Fs(),d=_te(),h=lh(),v=e.setImmediate,g=e.clearImmediate,m=e.process,y=e.Dispatch,S=e.Function,w=e.MessageChannel,b=e.String,A=0,R={},x="onreadystatechange",O,_,P,N;a(function(){O=e.location});var U=function(Q){if(i(R,Q)){var K=R[Q];delete R[Q],K()}},$=function(Q){return function(){U(Q)}},B=function(Q){U(Q.data)},Y=function(Q){e.postMessage(b(Q),O.protocol+"//"+O.host)};return(!v||!g)&&(v=function(K){c(arguments.length,1);var ee=n(K)?K:S(K),ne=u(arguments,1);return R[++A]=function(){t(ee,void 0,ne)},_(A),A},g=function(K){delete R[K]},h?_=function(Q){m.nextTick($(Q))}:y&&y.now?_=function(Q){y.now($(Q))}:w&&!d?(P=new w,N=P.port2,P.port1.onmessage=B,_=r(N.postMessage,N)):e.addEventListener&&n(e.postMessage)&&!e.importScripts&&O&&O.protocol!=="file:"&&!a(Y)?(_=Y,e.addEventListener("message",B,!1)):x in s("script")?_=function(Q){o.appendChild(s("script"))[x]=function(){o.removeChild(this),U(Q)}}:_=function(Q){setTimeout($(Q),0)}),yb={set:v,clear:g},yb}var _b,Oq;function Ste(){if(Oq)return _b;Oq=1;var e=er(),t=Ir(),r=Object.getOwnPropertyDescriptor;return _b=function(n){if(!t)return e[n];var i=r(e,n);return i&&i.value},_b}var Sb,Iq;function Ete(){if(Iq)return Sb;Iq=1;var e=function(){this.head=null,this.tail=null};return e.prototype={add:function(t){var r={item:t,next:null},n=this.tail;n?n.next=r:this.head=r,this.tail=r},get:function(){var t=this.head;if(t){var r=this.head=t.next;return r===null&&(this.tail=null),t.item}}},Sb=e,Sb}var Eb,Pq;function Vde(){if(Pq)return Eb;Pq=1;var e=Au();return Eb=/ipad|iphone|ipod/i.test(e)&&typeof Pebble<"u",Eb}var wb,Dq;function Bde(){if(Dq)return wb;Dq=1;var e=Au();return wb=/web0s(?!.*chrome)/i.test(e),wb}var bb,kq;function wte(){if(kq)return bb;kq=1;var e=er(),t=Ste(),r=cs(),n=f_().set,i=Ete(),a=_te(),o=Vde(),u=Bde(),s=lh(),c=e.MutationObserver||e.WebKitMutationObserver,d=e.document,h=e.process,v=e.Promise,g=t("queueMicrotask"),m,y,S,w,b;if(!g){var A=new i,R=function(){var x,O;for(s&&(x=h.domain)&&x.exit();O=A.get();)try{O()}catch(_){throw A.head&&m(),_}x&&x.enter()};!a&&!s&&!u&&c&&d?(y=!0,S=d.createTextNode(""),new c(R).observe(S,{characterData:!0}),m=function(){S.data=y=!y}):!o&&v&&v.resolve?(w=v.resolve(void 0),w.constructor=v,b=r(w.then,w),m=function(){b(R)}):s?m=function(){h.nextTick(R)}:(n=r(n,e),m=function(){n(R)}),g=function(x){A.head||m(),A.add(x)}}return bb=g,bb}var Tb,Nq;function Hde(){return Nq||(Nq=1,Tb=function(e,t){try{arguments.length===1?console.error(e):console.error(e,t)}catch{}}),Tb}var Rb,Lq;function vh(){return Lq||(Lq=1,Rb=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}),Rb}var xb,Mq;function ph(){if(Mq)return xb;Mq=1;var e=er();return xb=e.Promise,xb}var Cb,$q;function Tp(){if($q)return Cb;$q=1;var e=er(),t=ph(),r=bn(),n=gp(),i=RP(),a=Yr(),o=Zy(),u=Un(),s=Ou(),c=t&&t.prototype,d=a("species"),h=!1,v=r(e.PromiseRejectionEvent),g=n("Promise",function(){var m=i(t),y=m!==String(t);if(!y&&s===66||u&&!(c.catch&&c.finally))return!0;if(!s||s<51||!/native code/.test(m)){var S=new t(function(A){A(1)}),w=function(A){A(function(){},function(){})},b=S.constructor={};if(b[d]=w,h=S.then(function(){})instanceof w,!h)return!0}return!y&&(o==="BROWSER"||o==="DENO")&&!v});return Cb={CONSTRUCTOR:g,REJECTION_EVENT:v,SUBCLASSING:h},Cb}var Ab={},Fq;function yl(){if(Fq)return Ab;Fq=1;var e=_n(),t=TypeError,r=function(n){var i,a;this.promise=new n(function(o,u){if(i!==void 0||a!==void 0)throw new t("Bad Promise constructor");i=o,a=u}),this.resolve=e(i),this.reject=e(a)};return Ab.f=function(n){return new r(n)},Ab}var jq;function zde(){if(jq)return bq;jq=1;var e=Ve(),t=Un(),r=lh(),n=er(),i=Wy(),a=Sr(),o=Qn(),u=ru(),s=qo(),c=ch(),d=_n(),h=bn(),v=Gr(),g=ds(),m=c_(),y=f_().set,S=wte(),w=Hde(),b=vh(),A=Ete(),R=qi(),x=ph(),O=Tp(),_=yl(),P="Promise",N=O.CONSTRUCTOR,U=O.REJECTION_EVENT,$=O.SUBCLASSING,B=R.getterFor(P),Y=R.set,Q=x&&x.prototype,K=x,ee=Q,ne=n.TypeError,D=n.document,I=n.process,L=_.f,re=L,te=!!(D&&D.createEvent&&n.dispatchEvent),ce="unhandledrejection",be="rejectionhandled",Ie=0,je=1,z=2,k=1,q=2,H,ie,V,Z,me=function(ke){var Le;return v(ke)&&h(Le=ke.then)?Le:!1},fe=function(ke,Le){var He=Le.value,_t=Le.state===je,jt=_t?ke.ok:ke.fail,Lt=ke.resolve,Qe=ke.reject,bt=ke.domain,mt,St,yt;try{jt?(_t||(Le.rejection===q&&de(Le),Le.rejection=k),jt===!0?mt=He:(bt&&bt.enter(),mt=jt(He),bt&&(bt.exit(),yt=!0)),mt===ke.promise?Qe(new ne("Promise-chain cycle")):(St=me(mt))?a(St,mt,Lt,Qe):Lt(mt)):Qe(He)}catch(at){bt&&!yt&&bt.exit(),Qe(at)}},Re=function(ke,Le){ke.notified||(ke.notified=!0,S(function(){for(var He=ke.reactions,_t;_t=He.get();)fe(_t,ke);ke.notified=!1,Le&&!ke.rejection&&Oe(ke)}))},Se=function(ke,Le,He){var _t,jt;te?(_t=D.createEvent("Event"),_t.promise=Le,_t.reason=He,_t.initEvent(ke,!1,!0),n.dispatchEvent(_t)):_t={promise:Le,reason:He},!U&&(jt=n["on"+ke])?jt(_t):ke===ce&&w("Unhandled promise rejection",He)},Oe=function(ke){a(y,n,function(){var Le=ke.facade,He=ke.value,_t=Me(ke),jt;if(_t&&(jt=b(function(){r?I.emit("unhandledRejection",He,Le):Se(ce,Le,He)}),ke.rejection=r||Me(ke)?q:k,jt.error))throw jt.value})},Me=function(ke){return ke.rejection!==k&&!ke.parent},de=function(ke){a(y,n,function(){var Le=ke.facade;r?I.emit("rejectionHandled",Le):Se(be,Le,ke.value)})},Ee=function(ke,Le,He){return function(_t){ke(Le,_t,He)}},_e=function(ke,Le,He){ke.done||(ke.done=!0,He&&(ke=He),ke.value=Le,ke.state=z,Re(ke,!0))},xe=function(ke,Le,He){if(!ke.done){ke.done=!0,He&&(ke=He);try{if(ke.facade===Le)throw new ne("Promise can't be resolved itself");var _t=me(Le);_t?S(function(){var jt={done:!1};try{a(_t,Le,Ee(xe,jt,ke),Ee(_e,jt,ke))}catch(Lt){_e(jt,Lt,ke)}}):(ke.value=Le,ke.state=je,Re(ke,!1))}catch(jt){_e({done:!1},jt,ke)}}};if(N&&(K=function(Le){g(this,ee),d(Le),a(H,this);var He=B(this);try{Le(Ee(xe,He),Ee(_e,He))}catch(_t){_e(He,_t)}},ee=K.prototype,H=function(Le){Y(this,{type:P,done:!1,notified:!1,parent:!1,reactions:new A,rejection:!1,state:Ie,value:null})},H.prototype=o(ee,"then",function(Le,He){var _t=B(this),jt=L(m(this,K));return _t.parent=!0,jt.ok=h(Le)?Le:!0,jt.fail=h(He)&&He,jt.domain=r?I.domain:void 0,_t.state===Ie?_t.reactions.add(jt):S(function(){fe(jt,_t)}),jt.promise}),ie=function(){var ke=new H,Le=B(ke);this.promise=ke,this.resolve=Ee(xe,Le),this.reject=Ee(_e,Le)},_.f=L=function(ke){return ke===K||ke===V?new ie(ke):re(ke)},!t&&h(x)&&Q!==Object.prototype)){Z=Q.then,$||o(Q,"then",function(Le,He){var _t=this;return new K(function(jt,Lt){a(Z,_t,jt,Lt)}).then(Le,He)},{unsafe:!0});try{delete Q.constructor}catch{}u&&u(Q,ee)}return e({global:!0,constructor:!0,wrap:!0,forced:N},{Promise:K}),V=i.Promise,s(K,P,!1,!0),c(P),bq}var Uq={},Ob,qq;function d_(){if(qq)return Ob;qq=1;var e=ph(),t=Xy(),r=Tp().CONSTRUCTOR;return Ob=r||!t(function(n){e.all(n).then(void 0,function(){})}),Ob}var Vq;function Wde(){if(Vq)return Uq;Vq=1;var e=Ve(),t=Sr(),r=_n(),n=yl(),i=vh(),a=ha(),o=d_();return e({target:"Promise",stat:!0,forced:o},{all:function(s){var c=this,d=n.f(c),h=d.resolve,v=d.reject,g=i(function(){var m=r(c.resolve),y=[],S=0,w=1;a(s,function(b){var A=S++,R=!1;w++,t(m,c,b).then(function(x){R||(R=!0,y[A]=x,--w||h(y))},v)}),--w||h(y)});return g.error&&v(g.value),d.promise}}),Uq}var Bq={},Hq;function Gde(){if(Hq)return Bq;Hq=1;var e=Ve(),t=Un(),r=Tp().CONSTRUCTOR,n=ph(),i=yn(),a=bn(),o=Qn(),u=n&&n.prototype;if(e({target:"Promise",proto:!0,forced:r,real:!0},{catch:function(c){return this.then(void 0,c)}}),!t&&a(n)){var s=i("Promise").prototype.catch;u.catch!==s&&o(u,"catch",s,{unsafe:!0})}return Bq}var zq={},Wq;function Yde(){if(Wq)return zq;Wq=1;var e=Ve(),t=Sr(),r=_n(),n=yl(),i=vh(),a=ha(),o=d_();return e({target:"Promise",stat:!0,forced:o},{race:function(s){var c=this,d=n.f(c),h=d.reject,v=i(function(){var g=r(c.resolve);a(s,function(m){t(g,c,m).then(d.resolve,h)})});return v.error&&h(v.value),d.promise}}),zq}var Gq={},Yq;function Kde(){if(Yq)return Gq;Yq=1;var e=Ve(),t=yl(),r=Tp().CONSTRUCTOR;return e({target:"Promise",stat:!0,forced:r},{reject:function(i){var a=t.f(this),o=a.reject;return o(i),a.promise}}),Gq}var Kq={},Ib,Xq;function bte(){if(Xq)return Ib;Xq=1;var e=Tr(),t=Gr(),r=yl();return Ib=function(n,i){if(e(n),t(i)&&i.constructor===n)return i;var a=r.f(n),o=a.resolve;return o(i),a.promise},Ib}var Qq;function Xde(){if(Qq)return Kq;Qq=1;var e=Ve(),t=yn(),r=Un(),n=ph(),i=Tp().CONSTRUCTOR,a=bte(),o=t("Promise"),u=r&&!i;return e({target:"Promise",stat:!0,forced:r||i},{resolve:function(c){return a(u&&this===o?n:this,c)}}),Kq}var Jq;function Qde(){return Jq||(Jq=1,zde(),Wde(),Gde(),Yde(),Kde(),Xde()),wq}var Zq={},e8;function Jde(){if(e8)return Zq;e8=1;var e=Ve(),t=Sr(),r=_n(),n=yl(),i=vh(),a=ha(),o=d_();return e({target:"Promise",stat:!0,forced:o},{allSettled:function(s){var c=this,d=n.f(c),h=d.resolve,v=d.reject,g=i(function(){var m=r(c.resolve),y=[],S=0,w=1;a(s,function(b){var A=S++,R=!1;w++,t(m,c,b).then(function(x){R||(R=!0,y[A]={status:"fulfilled",value:x},--w||h(y))},function(x){R||(R=!0,y[A]={status:"rejected",reason:x},--w||h(y))})}),--w||h(y)});return g.error&&v(g.value),d.promise}}),Zq}var t8={},r8;function Zde(){if(r8)return t8;r8=1;var e=Ve(),t=Sr(),r=_n(),n=yn(),i=yl(),a=vh(),o=ha(),u=d_(),s="No one promise resolved";return e({target:"Promise",stat:!0,forced:u},{any:function(d){var h=this,v=n("AggregateError"),g=i.f(h),m=g.resolve,y=g.reject,S=a(function(){var w=r(h.resolve),b=[],A=0,R=1,x=!1;o(d,function(O){var _=A++,P=!1;R++,t(w,h,O).then(function(N){P||x||(x=!0,m(N))},function(N){P||x||(P=!0,b[_]=N,--R||y(new v(b,s)))})}),--R||y(new v(b,s))});return S.error&&y(S.value),g.promise}}),t8}var n8={},i8;function ehe(){if(i8)return n8;i8=1;var e=Ve(),t=Un(),r=ph(),n=zt(),i=yn(),a=bn(),o=c_(),u=bte(),s=Qn(),c=r&&r.prototype,d=!!r&&n(function(){c.finally.call({then:function(){}},function(){})});if(e({target:"Promise",proto:!0,real:!0,forced:d},{finally:function(v){var g=o(this,i("Promise")),m=a(v);return this.then(m?function(y){return u(g,v()).then(function(){return y})}:v,m?function(y){return u(g,v()).then(function(){throw y})}:v)}}),!t&&a(r)){var h=i("Promise").prototype.finally;c.finally!==h&&s(c,"finally",h,{unsafe:!0})}return n8}var a8={},o8;function the(){if(o8)return a8;o8=1;var e=Ve(),t=er(),r=fs(),n=$s(),i=yl(),a=_n(),o=vh(),u=t.Promise,s=!1,c=!u||!u.try||o(function(){u.try(function(d){s=d===8},8)}).error||!s;return e({target:"Promise",stat:!0,forced:c},{try:function(d){var h=arguments.length>1?n(arguments,1):[],v=i.f(this),g=o(function(){return r(a(d),void 0,h)});return(g.error?v.reject:v.resolve)(g.value),v.promise}}),a8}var s8={},u8;function rhe(){if(u8)return s8;u8=1;var e=Ve(),t=yl();return e({target:"Promise",stat:!0},{withResolvers:function(){var n=t.f(this);return{promise:n.promise,resolve:n.resolve,reject:n.reject}}}),s8}var l8={},Pb,c8;function Tte(){if(c8)return Pb;c8=1;var e=er(),t=qy(),r=bn(),n=Fa(),i=_o(),a=Qn(),o=Yr(),u=Un(),s="USE_FUNCTION_CONSTRUCTOR",c=o("asyncIterator"),d=e.AsyncIterator,h=t.AsyncIteratorPrototype,v,g;if(h)v=h;else if(r(d))v=d.prototype;else if(t[s]||e[s])try{g=i(i(i(Function("return async function*(){}()")()))),i(g)===Object.prototype&&(v=g)}catch{}return v?u&&(v=n(v)):v={},r(v[c])||a(v,c,function(){return this}),Pb=v,Pb}var Db,f8;function Rte(){if(f8)return Db;f8=1;var e=Sr(),t=Tr(),r=Fa(),n=La(),i=ml(),a=qi(),o=Ua(),u=yn(),s=Tte(),c=Ef(),d=u("Promise"),h="AsyncFromSyncIterator",v=a.set,g=a.getterFor(h),m=function(S,w,b,A,R){var x=S.done;d.resolve(S.value).then(function(O){w(c(O,x))},function(O){if(!x&&R)try{o(A,"throw",O)}catch(_){O=_}b(O)})},y=function(w){w.type=h,v(this,w)};return y.prototype=i(r(s),{next:function(){var w=g(this);return new d(function(b,A){var R=t(e(w.next,w.iterator));m(R,b,A,w.iterator,!0)})},return:function(){var S=g(this).iterator;return new d(function(w,b){var A=n(S,"return");if(A===void 0)return w(c(void 0,!0));var R=t(e(A,S));m(R,w,b,S)})}}),Db=y,Db}var kb,d8;function nhe(){if(d8)return kb;d8=1;var e=Sr(),t=Rte(),r=Tr(),n=sh(),i=to(),a=La(),o=Yr(),u=o("asyncIterator");return kb=function(s,c){var d=arguments.length<2?a(s,u):c;return d?r(e(d,s)):new t(i(n(s)))},kb}var Nb,h8;function ihe(){if(h8)return Nb;h8=1;var e=Sr(),t=yn(),r=La();return Nb=function(n,i,a,o){try{var u=r(n,"return");if(u)return t("Promise").resolve(e(u,n)).then(function(){i(a)},function(s){o(s)})}catch(s){return o(s)}i(a)},Nb}var Lb,v8;function ahe(){if(v8)return Lb;v8=1;var e=Sr(),t=_n(),r=Tr(),n=Gr(),i=Sf(),a=yn(),o=to(),u=ihe(),s=function(c){var d=c===0,h=c===1,v=c===2,g=c===3;return function(m,y,S){r(m);var w=y!==void 0;(w||!d)&&t(y);var b=o(m),A=a("Promise"),R=b.iterator,x=b.next,O=0;return new A(function(_,P){var N=function($){u(R,P,$,P)},U=function(){try{if(w)try{i(O)}catch($){N($)}A.resolve(r(e(x,R))).then(function($){try{if(r($).done)d?(S.length=O,_(S)):_(g?!1:v||void 0);else{var B=$.value;try{if(w){var Y=y(B,O),Q=function(K){if(h)U();else if(v)K?U():u(R,_,!1,P);else if(d)try{S[O++]=K,U()}catch(ee){N(ee)}else K?u(R,_,g||B,P):U()};n(Y)?A.resolve(Y).then(Q,N):Q(Y)}else S[O++]=B,U()}catch(K){N(K)}}}catch(K){P(K)}},P)}catch($){P($)}};U()})}};return Lb={toArray:s(0),forEach:s(1),every:s(2),some:s(3),find:s(4)},Lb}var Mb,p8;function ohe(){if(p8)return Mb;p8=1;var e=cs(),t=Kt(),r=kn(),n=mf(),i=nhe(),a=sh(),o=to(),u=_f(),s=La(),c=yn(),d=Kee(),h=Yr(),v=Rte(),g=ahe().toArray,m=h("asyncIterator"),y=t(d("Array","values")),S=t(y([]).next),w=function(){return new b(this)},b=function(A){this.iterator=y(A)};return b.prototype.next=function(){return S(this.iterator)},Mb=function(R){var x=this,O=arguments.length,_=O>1?arguments[1]:void 0,P=O>2?arguments[2]:void 0;return new(c("Promise"))(function(N){var U=r(R);_!==void 0&&(_=e(_,P));var $=s(U,m),B=$?void 0:u(U)||w,Y=n(x)?new x:[],Q=$?i(U,$):new v(o(a(U,B)));N(g(Q,_,Y))})},Mb}var g8;function she(){if(g8)return l8;g8=1;var e=Ve(),t=ohe(),r=zt(),n=Array.fromAsync,i=!n||r(function(){var a=0;return n.call(function(){return a++,[]},{length:0}),a!==1});return e({target:"Array",stat:!0,forced:i},{fromAsync:t}),l8}var m8={},y8;function uhe(){if(y8)return m8;y8=1;var e=Ve(),t=Ir(),r=yn(),n=_n(),i=ds(),a=Qn(),o=ml(),u=ta(),s=Yr(),c=qi(),d=ote(),h=Ou(),v=r("Promise"),g=r("SuppressedError"),m=ReferenceError,y=s("asyncDispose"),S=s("toStringTag"),w="AsyncDisposableStack",b=c.set,A=c.getterFor(w),R="async-dispose",x="disposed",O="pending",_=function($){var B=A($);if(B.state===x)throw new m(w+" already disposed");return B},P=function(){b(i(this,N),{type:w,state:O,stack:[]}),t||(this.disposed=!1)},N=P.prototype;o(N,{disposeAsync:function(){var B=this;return new v(function(Y,Q){var K=A(B);if(K.state===x)return Y(void 0);K.state=x,t||(B.disposed=!0);var ee=K.stack,ne=ee.length,D=!1,I,L=function(te){D?I=new g(te,I):(D=!0,I=te),re()},re=function(){if(ne){var te=ee[--ne];ee[ne]=null;try{v.resolve(te()).then(re,L)}catch(ce){L(ce)}}else K.stack=null,D?Q(I):Y(void 0)};re()})},use:function(B){return d(_(this),B,R),B},adopt:function(B,Y){var Q=_(this);return n(Y),d(Q,void 0,R,function(){return Y(B)}),B},defer:function(B){var Y=_(this);n(B),d(Y,void 0,R,B)},move:function(){var B=_(this),Y=new P;return A(Y).stack=B.stack,B.stack=[],B.state=x,t||(this.disposed=!0),Y}}),t&&u(N,"disposed",{configurable:!0,get:function(){return A(this).state===x}}),a(N,y,N.disposeAsync,{name:"disposeAsync"}),a(N,S,w,{nonWritable:!0});var U=h&&h<136;return e({global:!0,constructor:!0,forced:U},{AsyncDisposableStack:P}),m8}var _8={},S8;function lhe(){if(S8)return _8;S8=1;var e=Sr(),t=Qn(),r=yn(),n=La(),i=Sn(),a=Yr(),o=Tte(),u=a("asyncDispose"),s=r("Promise");return i(o,u)||t(o,u,function(){var c=this;return new s(function(d,h){var v=n(c,"return");v?s.resolve(e(v,c)).then(function(){d(void 0)},h):d(void 0)})}),_8}var E8={},w8;function che(){if(w8)return E8;w8=1;var e=Ve(),t=fs(),r=_n(),n=Tr(),i=zt(),a=!i(function(){Reflect.apply(function(){})});return e({target:"Reflect",stat:!0,forced:a},{apply:function(u,s,c){return t(r(u),s,n(c))}}),E8}var b8={},T8;function fhe(){if(T8)return b8;T8=1;var e=Ve(),t=yn(),r=fs(),n=ste(),i=KP(),a=Tr(),o=Gr(),u=Fa(),s=zt(),c=t("Reflect","construct"),d=Object.prototype,h=[].push,v=s(function(){function y(){}return!(c(function(){},[],y)instanceof y)}),g=!s(function(){c(function(){})}),m=v||g;return e({target:"Reflect",stat:!0,forced:m,sham:m},{construct:function(S,w){i(S),a(w);var b=arguments.length<3?S:i(arguments[2]);if(g&&!v)return c(S,w,b);if(S===b){switch(w.length){case 0:return new S;case 1:return new S(w[0]);case 2:return new S(w[0],w[1]);case 3:return new S(w[0],w[1],w[2]);case 4:return new S(w[0],w[1],w[2],w[3])}var A=[null];return r(h,A,w),new(r(n,S,A))}var R=b.prototype,x=u(o(R)?R:d),O=r(S,x,w);return o(O)?O:x}}),b8}var R8={},x8;function dhe(){if(x8)return R8;x8=1;var e=Ve(),t=Ir(),r=Tr(),n=oc(),i=xi(),a=zt(),o=a(function(){Reflect.defineProperty(i.f({},1,{value:1}),1,{value:2})});return e({target:"Reflect",stat:!0,forced:o,sham:!t},{defineProperty:function(s,c,d){r(s);var h=n(c);r(d);try{return i.f(s,h,d),!0}catch{return!1}}}),R8}var C8={},A8;function hhe(){if(A8)return C8;A8=1;var e=Ve(),t=Tr(),r=Ma().f;return e({target:"Reflect",stat:!0},{deleteProperty:function(i,a){var o=r(t(i),a);return o&&!o.configurable?!1:delete i[a]}}),C8}var O8={},$b,I8;function xte(){if(I8)return $b;I8=1;var e=Sn();return $b=function(t){return t!==void 0&&(e(t,"value")||e(t,"writable"))},$b}var P8;function vhe(){if(P8)return O8;P8=1;var e=Ve(),t=Sr(),r=Gr(),n=Tr(),i=xte(),a=Ma(),o=_o();function u(s,c){var d=arguments.length<3?s:arguments[2],h,v;if(n(s)===d)return s[c];if(h=a.f(s,c),h)return i(h)?h.value:h.get===void 0?void 0:t(h.get,d);if(r(v=o(s)))return u(v,c,d)}return e({target:"Reflect",stat:!0},{get:u}),O8}var D8={},k8;function phe(){if(k8)return D8;k8=1;var e=Ve(),t=Ir(),r=Tr(),n=Ma();return e({target:"Reflect",stat:!0,sham:!t},{getOwnPropertyDescriptor:function(a,o){return n.f(r(a),o)}}),D8}var N8={},L8;function ghe(){if(L8)return N8;L8=1;var e=Ve(),t=Tr(),r=_o(),n=NP();return e({target:"Reflect",stat:!0,sham:!n},{getPrototypeOf:function(a){return r(t(a))}}),N8}var M8={},$8;function mhe(){if($8)return M8;$8=1;var e=Ve();return e({target:"Reflect",stat:!0},{has:function(r,n){return n in r}}),M8}var F8={},j8;function yhe(){if(j8)return F8;j8=1;var e=Ve(),t=Tr(),r=GP();return e({target:"Reflect",stat:!0},{isExtensible:function(i){return t(i),r(i)}}),F8}var U8={},q8;function _he(){if(q8)return U8;q8=1;var e=Ve(),t=AP();return e({target:"Reflect",stat:!0},{ownKeys:t}),U8}var V8={},B8;function She(){if(B8)return V8;B8=1;var e=Ve(),t=yn(),r=Tr(),n=dh();return e({target:"Reflect",stat:!0,sham:!n},{preventExtensions:function(a){r(a);try{var o=t("Object","preventExtensions");return o&&o(a),!0}catch{return!1}}}),V8}var H8={},z8;function Ehe(){if(z8)return H8;z8=1;var e=Ve(),t=Sr(),r=Tr(),n=Gr(),i=xte(),a=zt(),o=xi(),u=Ma(),s=_o(),c=ss();function d(v,g,m){var y=arguments.length<4?v:arguments[3],S=u.f(r(v),g),w,b,A;if(!S){if(n(b=s(v)))return d(b,g,m,y);S=c(0)}if(i(S)){if(S.writable===!1||!n(y))return!1;if(w=u.f(y,g)){if(w.get||w.set||w.writable===!1)return!1;w.value=m,o.f(y,g,w)}else o.f(y,g,c(0,m))}else{if(A=S.set,A===void 0)return!1;t(A,y,m)}return!0}var h=a(function(){var v=function(){},g=o.f(new v,"a",{configurable:!0});return Reflect.set(v.prototype,"a",1,g)!==!1});return e({target:"Reflect",stat:!0,forced:h},{set:d}),H8}var W8={},G8;function whe(){if(G8)return W8;G8=1;var e=Ve(),t=Tr(),r=Lee(),n=ru();return n&&e({target:"Reflect",stat:!0},{setPrototypeOf:function(a,o){t(a),r(o);try{return n(a,o),!0}catch{return!1}}}),W8}var Y8={},K8;function bhe(){if(K8)return Y8;K8=1;var e=Ve(),t=er(),r=qo();return e({global:!0},{Reflect:{}}),r(t.Reflect,"Reflect",!0),Y8}var X8={},Fb,Q8;function h_(){if(Q8)return Fb;Q8=1;var e=Gr(),t=Za(),r=Yr(),n=r("match");return Fb=function(i){var a;return e(i)&&((a=i[n])!==void 0?!!a:t(i)==="RegExp")},Fb}var jb,J8;function Cte(){if(J8)return jb;J8=1;var e=er(),t=zt(),r=e.RegExp,n=!t(function(){var i=!0;try{r(".","d")}catch{i=!1}var a={},o="",u=i?"dgimsy":"gimsy",s=function(v,g){Object.defineProperty(a,v,{get:function(){return o+=g,!0}})},c={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};i&&(c.hasIndices="d");for(var d in c)s(d,c[d]);var h=Object.getOwnPropertyDescriptor(r.prototype,"flags").get.call(a);return h!==u||o!==u});return jb={correct:n},jb}var Ub,Z8;function XP(){if(Z8)return Ub;Z8=1;var e=Tr();return Ub=function(){var t=e(this),r="";return t.hasIndices&&(r+="d"),t.global&&(r+="g"),t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.dotAll&&(r+="s"),t.unicode&&(r+="u"),t.unicodeSets&&(r+="v"),t.sticky&&(r+="y"),r},Ub}var qb,eV;function bf(){if(eV)return qb;eV=1;var e=Sr(),t=Sn(),r=yo(),n=Cte(),i=XP(),a=RegExp.prototype;return qb=n.correct?function(o){return o.flags}:function(o){return!n.correct&&r(a,o)&&!t(o,"flags")?e(i,o):o.flags},qb}var Vb,tV;function v_(){if(tV)return Vb;tV=1;var e=zt(),t=er(),r=t.RegExp,n=e(function(){var o=r("a","y");return o.lastIndex=2,o.exec("abcd")!==null}),i=n||e(function(){return!r("a","y").sticky}),a=n||e(function(){var o=r("^r","gy");return o.lastIndex=2,o.exec("str")!==null});return Vb={BROKEN_CARET:a,MISSED_STICKY:i,UNSUPPORTED_Y:n},Vb}var Bb,rV;function QP(){if(rV)return Bb;rV=1;var e=zt(),t=er(),r=t.RegExp;return Bb=e(function(){var n=r(".","s");return!(n.dotAll&&n.test(`
4
- `)&&n.flags==="s")}),Bb}var Hb,nV;function Ate(){if(nV)return Hb;nV=1;var e=zt(),t=er(),r=t.RegExp;return Hb=e(function(){var n=r("(?<a>b)","g");return n.exec("b").groups.a!=="b"||"b".replace(n,"$<a>c")!=="bc"}),Hb}var iV;function The(){if(iV)return X8;iV=1;var e=Ir(),t=er(),r=Kt(),n=gp(),i=yf(),a=$a(),o=Fa(),u=pf().f,s=yo(),c=h_(),d=rn(),h=bf(),v=v_(),g=Mee(),m=Qn(),y=zt(),S=Sn(),w=qi().enforce,b=ch(),A=Yr(),R=QP(),x=Ate(),O=A("match"),_=t.RegExp,P=_.prototype,N=t.SyntaxError,U=r(P.exec),$=r("".charAt),B=r("".replace),Y=r("".indexOf),Q=r("".slice),K=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,ee=/a/g,ne=/a/g,D=new _(ee)!==ee,I=v.MISSED_STICKY,L=v.UNSUPPORTED_Y,re=e&&(!D||I||R||x||y(function(){return ne[O]=!1,_(ee)!==ee||_(ne)===ne||String(_(ee,"i"))!=="/a/i"})),te=function(z){for(var k=z.length,q=0,H="",ie=!1,V;q<=k;q++){if(V=$(z,q),V==="\\"){H+=V+$(z,++q);continue}!ie&&V==="."?H+="[\\s\\S]":(V==="["?ie=!0:V==="]"&&(ie=!1),H+=V)}return H},ce=function(z){for(var k=z.length,q=0,H="",ie=[],V=o(null),Z=!1,me=!1,fe=0,Re="",Se;q<=k;q++){if(Se=$(z,q),Se==="\\")Se+=$(z,++q);else if(Se==="]")Z=!1;else if(!Z)switch(!0){case Se==="[":Z=!0;break;case Se==="(":if(H+=Se,Q(z,q+1,q+3)==="?:")continue;U(K,Q(z,q+1))&&(q+=2,me=!0),fe++;continue;case(Se===">"&&me):if(Re===""||S(V,Re))throw new N("Invalid capture group name");V[Re]=!0,ie[ie.length]=[Re,fe],me=!1,Re="";continue}me?Re+=Se:H+=Se}return[H,ie]};if(n("RegExp",re)){for(var be=function(k,q){var H=s(P,this),ie=c(k),V=q===void 0,Z=[],me=k,fe,Re,Se,Oe,Me,de;if(!H&&ie&&V&&k.constructor===be)return k;if((ie||s(P,k))&&(k=k.source,V&&(q=h(me))),k=k===void 0?"":d(k),q=q===void 0?"":d(q),me=k,R&&"dotAll"in ee&&(Re=!!q&&Y(q,"s")>-1,Re&&(q=B(q,/s/g,""))),fe=q,I&&"sticky"in ee&&(Se=!!q&&Y(q,"y")>-1,Se&&L&&(q=B(q,/y/g,""))),x&&(Oe=ce(k),k=Oe[0],Z=Oe[1]),Me=i(_(k,q),H?this:P,be),(Re||Se||Z.length)&&(de=w(Me),Re&&(de.dotAll=!0,de.raw=be(te(k),fe)),Se&&(de.sticky=!0),Z.length&&(de.groups=Z)),k!==me)try{a(Me,"source",me===""?"(?:)":me)}catch{}return Me},Ie=u(_),je=0;Ie.length>je;)g(be,_,Ie[je++]);P.constructor=be,be.prototype=P,m(t,"RegExp",be,{constructor:!0})}return b("RegExp"),X8}var aV={},zb,oV;function p_(){if(oV)return zb;oV=1;var e=TypeError;return zb=function(t){if(typeof t=="string")return t;throw new e("Argument is not a string")},zb}var sV;function Rhe(){if(sV)return aV;sV=1;var e=Ve(),t=Kt(),r=p_(),n=Sn(),i=i_().start,a=bp(),o=Array,u=RegExp.escape,s=t("".charAt),c=t("".charCodeAt),d=t(1.1.toString),h=t([].join),v=/^[0-9a-z]/i,g=/^[$()*+./?[\\\]^{|}]/,m=RegExp("^[!\"#%&',\\-:;<=>@`~"+a+"]"),y=t(v.exec),S={" ":"t","\n":"n","\v":"v","\f":"f","\r":"r"},w=function(A){var R=d(c(A,0),16);return R.length<3?"\\x"+i(R,2,"0"):"\\u"+i(R,4,"0")},b=!u||u("ab")!=="\\x61b";return e({target:"RegExp",stat:!0,forced:b},{escape:function(R){r(R);for(var x=R.length,O=o(x),_=0;_<x;_++){var P=s(R,_);if(_===0&&y(v,P))O[_]=w(P);else if(n(S,P))O[_]="\\"+S[P];else if(y(g,P))O[_]="\\"+P;else if(y(m,P))O[_]=w(P);else{var N=c(P,0);(N&63488)!==55296?O[_]=P:N>=56320||_+1>=x||(c(R,_+1)&64512)!==56320?O[_]=w(P):(O[_]=P,O[++_]=s(R,_))}}return h(O,"")}}),aV}var uV={},lV;function xhe(){if(lV)return uV;lV=1;var e=Ir(),t=QP(),r=Za(),n=ta(),i=qi().get,a=RegExp.prototype,o=TypeError;return e&&t&&n(a,"dotAll",{configurable:!0,get:function(){if(this!==a){if(r(this)==="RegExp")return!!i(this).dotAll;throw new o("Incompatible receiver, RegExp required")}}}),uV}var cV={},Wb,fV;function JP(){if(fV)return Wb;fV=1;var e=Sr(),t=Kt(),r=rn(),n=XP(),i=v_(),a=rh(),o=Fa(),u=qi().get,s=QP(),c=Ate(),d=a("native-string-replace",String.prototype.replace),h=RegExp.prototype.exec,v=h,g=t("".charAt),m=t("".indexOf),y=t("".replace),S=t("".slice),w=(function(){var x=/a/,O=/b*/g;return e(h,x,"a"),e(h,O,"a"),x.lastIndex!==0||O.lastIndex!==0})(),b=i.BROKEN_CARET,A=/()??/.exec("")[1]!==void 0,R=w||A||b||s||c;return R&&(v=function(O){var _=this,P=u(_),N=r(O),U=P.raw,$,B,Y,Q,K,ee,ne;if(U)return U.lastIndex=_.lastIndex,$=e(v,U,N),_.lastIndex=U.lastIndex,$;var D=P.groups,I=b&&_.sticky,L=e(n,_),re=_.source,te=0,ce=N;if(I&&(L=y(L,"y",""),m(L,"g")===-1&&(L+="g"),ce=S(N,_.lastIndex),_.lastIndex>0&&(!_.multiline||_.multiline&&g(N,_.lastIndex-1)!==`
5
- `)&&(re="(?: "+re+")",ce=" "+ce,te++),B=new RegExp("^(?:"+re+")",L)),A&&(B=new RegExp("^"+re+"$(?!\\s)",L)),w&&(Y=_.lastIndex),Q=e(h,I?B:_,ce),I?Q?(Q.input=S(Q.input,te),Q[0]=S(Q[0],te),Q.index=_.lastIndex,_.lastIndex+=Q[0].length):_.lastIndex=0:w&&Q&&(_.lastIndex=_.global?Q.index+Q[0].length:Y),A&&Q&&Q.length>1&&e(d,Q[0],B,function(){for(K=1;K<arguments.length-2;K++)arguments[K]===void 0&&(Q[K]=void 0)}),Q&&D)for(Q.groups=ee=o(null),K=0;K<D.length;K++)ne=D[K],ee[ne[0]]=Q[ne[1]];return Q}),Wb=v,Wb}var dV;function ZP(){if(dV)return cV;dV=1;var e=Ve(),t=JP();return e({target:"RegExp",proto:!0,forced:/./.exec!==t},{exec:t}),cV}var hV={},vV;function Che(){if(vV)return hV;vV=1;var e=Ir(),t=ta(),r=Cte(),n=XP();return e&&!r.correct&&(t(RegExp.prototype,"flags",{configurable:!0,get:n}),r.correct=!0),hV}var pV={},gV;function Ahe(){if(gV)return pV;gV=1;var e=Ir(),t=v_().MISSED_STICKY,r=Za(),n=ta(),i=qi().get,a=RegExp.prototype,o=TypeError;return e&&t&&n(a,"sticky",{configurable:!0,get:function(){if(this!==a){if(r(this)==="RegExp")return!!i(this).sticky;throw new o("Incompatible receiver, RegExp required")}}}),pV}var mV={},yV;function Ohe(){if(yV)return mV;yV=1,ZP();var e=Ve(),t=Sr(),r=bn(),n=Tr(),i=rn(),a=(function(){var u=!1,s=/[ac]/;return s.exec=function(){return u=!0,/./.exec.apply(this,arguments)},s.test("abc")===!0&&u})(),o=/./.test;return e({target:"RegExp",proto:!0,forced:!a},{test:function(u){var s=n(this),c=i(u),d=s.exec;if(!r(d))return t(o,s,c);var h=t(d,s,c);return h===null?!1:(n(h),!0)}}),mV}var _V={},SV;function Ihe(){if(SV)return _V;SV=1;var e=ih().PROPER,t=Qn(),r=Tr(),n=rn(),i=zt(),a=bf(),o="toString",u=RegExp.prototype,s=u[o],c=i(function(){return s.call({source:"a",flags:"b"})!=="/a/b"}),d=e&&s.name!==o;return(c||d)&&t(u,o,function(){var v=r(this),g=n(v.source),m=n(a(v));return"/"+g+"/"+m},{unsafe:!0}),_V}var EV={},wV={},bV;function Phe(){if(bV)return wV;bV=1;var e=o_(),t=cte();return e("Set",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},t),wV}var TV;function Dhe(){return TV||(TV=1,Phe()),EV}var RV={},Gb,xV;function nu(){if(xV)return Gb;xV=1;var e=Kt(),t=Set.prototype;return Gb={Set,add:e(t.add),has:e(t.has),remove:e(t.delete),proto:t},Gb}var Yb,CV;function Tf(){if(CV)return Yb;CV=1;var e=nu().has;return Yb=function(t){return e(t),t},Yb}var Kb,AV;function Rf(){if(AV)return Kb;AV=1;var e=Sr();return Kb=function(t,r,n){for(var i=n?t:t.iterator,a=t.next,o,u;!(o=e(a,i)).done;)if(u=r(o.value),u!==void 0)return u},Kb}var Xb,OV;function gh(){if(OV)return Xb;OV=1;var e=Kt(),t=Rf(),r=nu(),n=r.Set,i=r.proto,a=e(i.forEach),o=e(i.keys),u=o(new n).next;return Xb=function(s,c,d){return d?t({iterator:o(s),next:u},c):a(s,c)},Xb}var Qb,IV;function eD(){if(IV)return Qb;IV=1;var e=nu(),t=gh(),r=e.Set,n=e.add;return Qb=function(i){var a=new r;return t(i,function(o){n(a,o)}),a},Qb}var Jb,PV;function Rp(){if(PV)return Jb;PV=1;var e=Gy(),t=nu();return Jb=e(t.proto,"size","get")||function(r){return r.size},Jb}var Zb,DV;function xf(){if(DV)return Zb;DV=1;var e=_n(),t=Tr(),r=Sr(),n=Gi(),i=to(),a="Invalid size",o=RangeError,u=TypeError,s=Math.max,c=function(d,h){this.set=d,this.size=s(h,0),this.has=e(d.has),this.keys=e(d.keys)};return c.prototype={getIterator:function(){return i(t(r(this.keys,this.set)))},includes:function(d){return r(this.has,this.set,d)}},Zb=function(d){t(d);var h=+d.size;if(h!==h)throw new u(a);var v=n(h);if(v<0)throw new o(a);return new c(d,v)},Zb}var eT,kV;function khe(){if(kV)return eT;kV=1;var e=Tf(),t=nu(),r=eD(),n=Rp(),i=xf(),a=gh(),o=Rf(),u=t.has,s=t.remove;return eT=function(d){var h=e(this),v=i(d),g=r(h);return n(h)<=v.size?a(h,function(m){v.includes(m)&&s(g,m)}):o(v.getIterator(),function(m){u(g,m)&&s(g,m)}),g},eT}var tT,NV;function Cf(){if(NV)return tT;NV=1;var e=yn(),t=function(n){return{size:n,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},r=function(n){return{size:n,has:function(){return!0},keys:function(){throw new Error("e")}}};return tT=function(n,i){var a=e("Set");try{new a()[n](t(0));try{return new a()[n](t(-1)),!1}catch{if(!i)return!0;try{return new a()[n](r(-1/0)),!1}catch{var o=new a;return o.add(1),o.add(2),i(o[n](r(1/0)))}}}catch{return!1}},tT}var LV;function Nhe(){if(LV)return RV;LV=1;var e=Ve(),t=khe(),r=zt(),n=Cf(),i=!n("difference",function(o){return o.size===0}),a=i||r(function(){var o={size:1,has:function(){return!0},keys:function(){var s=0;return{next:function(){var c=s++>1;return u.has(1)&&u.clear(),{done:c,value:2}}}}},u=new Set([1,2,3,4]);return u.difference(o).size!==3});return e({target:"Set",proto:!0,real:!0,forced:a},{difference:t}),RV}var MV={},rT,$V;function Lhe(){if($V)return rT;$V=1;var e=Tf(),t=nu(),r=Rp(),n=xf(),i=gh(),a=Rf(),o=t.Set,u=t.add,s=t.has;return rT=function(d){var h=e(this),v=n(d),g=new o;return r(h)>v.size?a(v.getIterator(),function(m){s(h,m)&&u(g,m)}):i(h,function(m){v.includes(m)&&u(g,m)}),g},rT}var FV;function Mhe(){if(FV)return MV;FV=1;var e=Ve(),t=zt(),r=Lhe(),n=Cf(),i=!n("intersection",function(a){return a.size===2&&a.has(1)&&a.has(2)})||t(function(){return String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))!=="3,2"});return e({target:"Set",proto:!0,real:!0,forced:i},{intersection:r}),MV}var jV={},nT,UV;function $he(){if(UV)return nT;UV=1;var e=Tf(),t=nu().has,r=Rp(),n=xf(),i=gh(),a=Rf(),o=Ua();return nT=function(s){var c=e(this),d=n(s);if(r(c)<=d.size)return i(c,function(v){if(d.includes(v))return!1},!0)!==!1;var h=d.getIterator();return a(h,function(v){if(t(c,v))return o(h,"normal",!1)})!==!1},nT}var qV;function Fhe(){if(qV)return jV;qV=1;var e=Ve(),t=$he(),r=Cf(),n=!r("isDisjointFrom",function(i){return!i});return e({target:"Set",proto:!0,real:!0,forced:n},{isDisjointFrom:t}),jV}var VV={},iT,BV;function jhe(){if(BV)return iT;BV=1;var e=Tf(),t=Rp(),r=gh(),n=xf();return iT=function(a){var o=e(this),u=n(a);return t(o)>u.size?!1:r(o,function(s){if(!u.includes(s))return!1},!0)!==!1},iT}var HV;function Uhe(){if(HV)return VV;HV=1;var e=Ve(),t=jhe(),r=Cf(),n=!r("isSubsetOf",function(i){return i});return e({target:"Set",proto:!0,real:!0,forced:n},{isSubsetOf:t}),VV}var zV={},aT,WV;function qhe(){if(WV)return aT;WV=1;var e=Tf(),t=nu().has,r=Rp(),n=xf(),i=Rf(),a=Ua();return aT=function(u){var s=e(this),c=n(u);if(r(s)<c.size)return!1;var d=c.getIterator();return i(d,function(h){if(!t(s,h))return a(d,"normal",!1)})!==!1},aT}var GV;function Vhe(){if(GV)return zV;GV=1;var e=Ve(),t=qhe(),r=Cf(),n=!r("isSupersetOf",function(i){return!i});return e({target:"Set",proto:!0,real:!0,forced:n},{isSupersetOf:t}),zV}var YV={},oT,KV;function Bhe(){if(KV)return oT;KV=1;var e=Tf(),t=nu(),r=eD(),n=xf(),i=Rf(),a=t.add,o=t.has,u=t.remove;return oT=function(c){var d=e(this),h=n(c).getIterator(),v=r(d);return i(h,function(g){o(d,g)?u(v,g):a(v,g)}),v},oT}var sT,XV;function Ote(){return XV||(XV=1,sT=function(e){try{var t=new Set,r={size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return t.clear(),t.add(4),function(){return{done:!0}}}})}},n=t[e](r);return n.size===1&&n.values().next().value===4}catch{return!1}}),sT}var QV;function Hhe(){if(QV)return YV;QV=1;var e=Ve(),t=Bhe(),r=Ote(),n=Cf(),i=!n("symmetricDifference")||!r("symmetricDifference");return e({target:"Set",proto:!0,real:!0,forced:i},{symmetricDifference:t}),YV}var JV={},uT,ZV;function zhe(){if(ZV)return uT;ZV=1;var e=Tf(),t=nu().add,r=eD(),n=xf(),i=Rf();return uT=function(o){var u=e(this),s=n(o).getIterator(),c=r(u);return i(s,function(d){t(c,d)}),c},uT}var eB;function Whe(){if(eB)return JV;eB=1;var e=Ve(),t=zhe(),r=Ote(),n=Cf(),i=!n("union")||!r("union");return e({target:"Set",proto:!0,real:!0,forced:i},{union:t}),JV}var tB={},rB;function Ghe(){if(rB)return tB;rB=1;var e=Ve(),t=Kt(),r=Pi(),n=Gi(),i=rn(),a=zt(),o=t("".charAt),u=a(function(){return"𠮷".at(-2)!=="\uD842"});return e({target:"String",proto:!0,forced:u},{at:function(c){var d=i(r(this)),h=d.length,v=n(c),g=v>=0?v:h+v;return g<0||g>=h?void 0:o(d,g)}}),tB}var nB={},lT,iB;function g_(){if(iB)return lT;iB=1;var e=Kt(),t=Gi(),r=rn(),n=Pi(),i=e("".charAt),a=e("".charCodeAt),o=e("".slice),u=function(s){return function(c,d){var h=r(n(c)),v=t(d),g=h.length,m,y;return v<0||v>=g?s?"":void 0:(m=a(h,v),m<55296||m>56319||v+1===g||(y=a(h,v+1))<56320||y>57343?s?i(h,v):m:s?o(h,v,v+2):(m-55296<<10)+(y-56320)+65536)}};return lT={codeAt:u(!1),charAt:u(!0)},lT}var aB;function Yhe(){if(aB)return nB;aB=1;var e=Ve(),t=g_().codeAt;return e({target:"String",proto:!0},{codePointAt:function(n){return t(this,n)}}),nB}var oB={},cT,sB;function tD(){if(sB)return cT;sB=1;var e=h_(),t=TypeError;return cT=function(r){if(e(r))throw new t("The method doesn't accept regular expressions");return r},cT}var fT,uB;function rD(){if(uB)return fT;uB=1;var e=Yr(),t=e("match");return fT=function(r){var n=/./;try{"/./"[r](n)}catch{try{return n[t]=!1,"/./"[r](n)}catch{}}return!1},fT}var lB;function Khe(){if(lB)return oB;lB=1;var e=Ve(),t=gf(),r=Ma().f,n=us(),i=rn(),a=tD(),o=Pi(),u=rD(),s=Un(),c=t("".slice),d=Math.min,h=u("endsWith"),v=!s&&!h&&!!(function(){var g=r(String.prototype,"endsWith");return g&&!g.writable})();return e({target:"String",proto:!0,forced:!v&&!h},{endsWith:function(m){var y=i(o(this));a(m);var S=arguments.length>1?arguments[1]:void 0,w=y.length,b=S===void 0?w:d(n(S),w),A=i(m);return c(y,b-A.length,b)===A}}),oB}var cB={},fB;function Ite(){if(fB)return cB;fB=1;var e=Ve(),t=Kt(),r=vl(),n=RangeError,i=String.fromCharCode,a=String.fromCodePoint,o=t([].join),u=!!a&&a.length!==1;return e({target:"String",stat:!0,arity:1,forced:u},{fromCodePoint:function(c){for(var d=[],h=arguments.length,v=0,g;h>v;){if(g=+arguments[v++],r(g,1114111)!==g)throw new n(g+" is not a valid code point");d[v]=g<65536?i(g):i(((g-=65536)>>10)+55296,g%1024+56320)}return o(d,"")}}),cB}var dB={},hB;function Xhe(){if(hB)return dB;hB=1;var e=Ve(),t=Kt(),r=tD(),n=Pi(),i=rn(),a=rD(),o=t("".indexOf);return e({target:"String",proto:!0,forced:!a("includes")},{includes:function(s){return!!~o(i(n(this)),i(r(s)),arguments.length>1?arguments[1]:void 0)}}),dB}var vB={},pB;function Qhe(){if(pB)return vB;pB=1;var e=Ve(),t=Kt(),r=Pi(),n=rn(),i=t("".charCodeAt);return e({target:"String",proto:!0},{isWellFormed:function(){for(var o=n(r(this)),u=o.length,s=0;s<u;s++){var c=i(o,s);if((c&63488)===55296&&(c>=56320||++s>=u||(i(o,s)&64512)!==56320))return!1}return!0}}),vB}var gB={},mB;function Pte(){if(mB)return gB;mB=1;var e=g_().charAt,t=rn(),r=qi(),n=jP(),i=Ef(),a="String Iterator",o=r.set,u=r.getterFor(a);return n(String,"String",function(s){o(this,{type:a,string:t(s),index:0})},function(){var c=u(this),d=c.string,h=c.index,v;return h>=d.length?i(void 0,!0):(v=e(d,h),c.index+=v.length,i(v,!1))}),gB}var yB={},dT,_B;function m_(){if(_B)return dT;_B=1,ZP();var e=Sr(),t=Qn(),r=JP(),n=zt(),i=Yr(),a=$a(),o=i("species"),u=RegExp.prototype;return dT=function(s,c,d,h){var v=i(s),g=!n(function(){var w={};return w[v]=function(){return 7},""[s](w)!==7}),m=g&&!n(function(){var w=!1,b=/a/;return s==="split"&&(b={},b.constructor={},b.constructor[o]=function(){return b},b.flags="",b[v]=/./[v]),b.exec=function(){return w=!0,null},b[v](""),!w});if(!g||!m||d){var y=/./[v],S=c(v,""[s],function(w,b,A,R,x){var O=b.exec;return O===r||O===u.exec?g&&!x?{done:!0,value:e(y,b,A,R)}:{done:!0,value:e(w,A,b,R)}:{done:!1}});t(String.prototype,s,S[0]),t(u,v,S[1])}h&&a(u[v],"sham",!0)},dT}var hT,SB;function y_(){if(SB)return hT;SB=1;var e=g_().charAt;return hT=function(t,r,n){return r+(n?e(t,r).length:1)},hT}var vT,EB;function xp(){if(EB)return vT;EB=1;var e=Sr(),t=Tr(),r=bn(),n=Za(),i=JP(),a=TypeError;return vT=function(o,u){var s=o.exec;if(r(s)){var c=e(s,o,u);return c!==null&&t(c),c}if(n(o)==="RegExp")return e(i,o,u);throw new a("RegExp#exec called on incompatible receiver")},vT}var wB;function Jhe(){if(wB)return yB;wB=1;var e=Sr(),t=Kt(),r=m_(),n=Tr(),i=Gr(),a=us(),o=rn(),u=Pi(),s=La(),c=y_(),d=bf(),h=xp(),v=t("".indexOf);return r("match",function(g,m,y){return[function(w){var b=u(this),A=i(w)?s(w,g):void 0;return A?e(A,w,b):new RegExp(w)[g](o(b))},function(S){var w=n(this),b=o(S),A=y(m,w,b);if(A.done)return A.value;var R=o(d(w));if(v(R,"g")===-1)return h(w,b);var x=v(R,"u")!==-1;w.lastIndex=0;for(var O=[],_=0,P;(P=h(w,b))!==null;){var N=o(P[0]);O[_]=N,N===""&&(w.lastIndex=c(b,a(w.lastIndex),x)),_++}return _===0?null:O}]}),yB}var bB={},TB;function Zhe(){if(TB)return bB;TB=1;var e=Ve(),t=Sr(),r=gf(),n=FP(),i=Ef(),a=Pi(),o=us(),u=rn(),s=Tr(),c=Gr(),d=Za(),h=h_(),v=bf(),g=La(),m=Qn(),y=zt(),S=Yr(),w=c_(),b=y_(),A=xp(),R=qi(),x=Un(),O=S("matchAll"),_="RegExp String",P=_+" Iterator",N=R.set,U=R.getterFor(P),$=RegExp.prototype,B=TypeError,Y=r("".indexOf),Q=r("".matchAll),K=!!Q&&!y(function(){Q("a",/./)}),ee=n(function(I,L,re,te){N(this,{type:P,regexp:I,string:L,global:re,unicode:te,done:!1})},_,function(){var I=U(this);if(I.done)return i(void 0,!0);var L=I.regexp,re=I.string,te=A(L,re);return te===null?(I.done=!0,i(void 0,!0)):I.global?(u(te[0])===""&&(L.lastIndex=b(re,o(L.lastIndex),I.unicode)),i(te,!1)):(I.done=!0,i(te,!1))}),ne=function(D){var I=s(this),L=u(D),re=w(I,RegExp),te=u(v(I)),ce,be,Ie;return ce=new re(re===RegExp?I.source:I,te),be=!!~Y(te,"g"),Ie=!!~Y(te,"u"),ce.lastIndex=o(I.lastIndex),new ee(ce,L,be,Ie)};return e({target:"String",proto:!0,forced:K},{matchAll:function(I){var L=a(this),re,te,ce,be;if(c(I)){if(h(I)&&(re=u(a(v(I))),!~Y(re,"g")))throw new B("`.matchAll` does not allow non-global regexes");if(K)return Q(L,I);if(ce=g(I,O),ce===void 0&&x&&d(I)==="RegExp"&&(ce=ne),ce)return t(ce,I,L)}else if(K)return Q(L,I);return te=u(L),be=new RegExp(I,"g"),x?t(ne,be,te):be[O](te)}}),x||O in $||m($,O,ne),bB}var RB={},pT,xB;function Dte(){if(xB)return pT;xB=1;var e=Au();return pT=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(e),pT}var CB;function eve(){if(CB)return RB;CB=1;var e=Ve(),t=i_().end,r=Dte();return e({target:"String",proto:!0,forced:r},{padEnd:function(i){return t(this,i,arguments.length>1?arguments[1]:void 0)}}),RB}var AB={},OB;function tve(){if(OB)return AB;OB=1;var e=Ve(),t=i_().start,r=Dte();return e({target:"String",proto:!0,forced:r},{padStart:function(i){return t(this,i,arguments.length>1?arguments[1]:void 0)}}),AB}var IB={},PB;function rve(){if(PB)return IB;PB=1;var e=Ve(),t=Kt(),r=Ra(),n=kn(),i=rn(),a=ai(),o=t([].push),u=t([].join);return e({target:"String",stat:!0},{raw:function(c){var d=r(n(c).raw),h=a(d);if(!h)return"";for(var v=arguments.length,g=[],m=0;;){if(o(g,i(d[m++])),m===h)return u(g,"");m<v&&o(g,i(arguments[m]))}}}),IB}var DB={},kB;function nve(){if(kB)return DB;kB=1;var e=Ve(),t=n_();return e({target:"String",proto:!0},{repeat:t}),DB}var NB={},gT,LB;function kte(){if(LB)return gT;LB=1;var e=Kt(),t=kn(),r=Math.floor,n=e("".charAt),i=e("".replace),a=e("".slice),o=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;return gT=function(s,c,d,h,v,g){var m=d+s.length,y=h.length,S=u;return v!==void 0&&(v=t(v),S=o),i(g,S,function(w,b){var A;switch(n(b,0)){case"$":return"$";case"&":return s;case"`":return a(c,0,d);case"'":return a(c,m);case"<":A=v[a(b,1,-1)];break;default:var R=+b;if(R===0)return w;if(R>y){var x=r(R/10);return x===0?w:x<=y?h[x-1]===void 0?n(b,1):h[x-1]+n(b,1):w}A=h[R-1]}return A===void 0?"":A})},gT}var MB;function ive(){if(MB)return NB;MB=1;var e=fs(),t=Sr(),r=Kt(),n=m_(),i=zt(),a=Tr(),o=bn(),u=Gr(),s=Gi(),c=us(),d=rn(),h=Pi(),v=y_(),g=La(),m=kte(),y=bf(),S=xp(),w=Yr(),b=w("replace"),A=Math.max,R=Math.min,x=r([].concat),O=r([].push),_=r("".indexOf),P=r("".slice),N=function(Y){return Y===void 0?Y:String(Y)},U=(function(){return"a".replace(/./,"$0")==="$0"})(),$=(function(){return/./[b]?/./[b]("a","$0")==="":!1})(),B=!i(function(){var Y=/./;return Y.exec=function(){var Q=[];return Q.groups={a:"7"},Q},"".replace(Y,"$<a>")!=="7"});return n("replace",function(Y,Q,K){var ee=$?"$":"$0";return[function(D,I){var L=h(this),re=u(D)?g(D,b):void 0;return re?t(re,D,L,I):t(Q,d(L),D,I)},function(ne,D){var I=a(this),L=d(ne);if(typeof D=="string"&&_(D,ee)===-1&&_(D,"$<")===-1){var re=K(Q,I,L,D);if(re.done)return re.value}var te=o(D);te||(D=d(D));var ce=d(y(I)),be=_(ce,"g")!==-1,Ie;be&&(Ie=_(ce,"u")!==-1,I.lastIndex=0);for(var je=[],z;z=S(I,L),!(z===null||(O(je,z),!be));){var k=d(z[0]);k===""&&(I.lastIndex=v(L,c(I.lastIndex),Ie))}for(var q="",H=0,ie=0;ie<je.length;ie++){z=je[ie];for(var V=d(z[0]),Z=A(R(s(z.index),L.length),0),me=[],fe,Re=1;Re<z.length;Re++)O(me,N(z[Re]));var Se=z.groups;if(te){var Oe=x([V],me,Z,L);Se!==void 0&&O(Oe,Se),fe=d(e(D,void 0,Oe))}else fe=m(V,L,Z,me,Se,D);Z>=H&&(q+=P(L,H,Z)+fe,H=Z+V.length)}return q+P(L,H)}]},!B||!U||$),NB}var $B={},FB;function ave(){if(FB)return $B;FB=1;var e=Ve(),t=Sr(),r=Kt(),n=Pi(),i=bn(),a=Gr(),o=h_(),u=rn(),s=La(),c=bf(),d=kte(),h=Yr(),v=Un(),g=h("replace"),m=TypeError,y=r("".indexOf),S=r("".replace),w=r("".slice),b=Math.max;return e({target:"String",proto:!0},{replaceAll:function(R,x){var O=n(this),_,P,N,U,$,B,Y,Q,K,ee,ne=0,D="";if(a(R)){if(_=o(R),_&&(P=u(n(c(R))),!~y(P,"g")))throw new m("`.replaceAll` does not allow non-global regexes");if(N=s(R,g),N)return t(N,R,O,x);if(v&&_)return S(u(O),R,x)}for(U=u(O),$=u(R),B=i(x),B||(x=u(x)),Y=$.length,Q=b(1,Y),K=y(U,$);K!==-1;)ee=B?u(x($,K,U)):d($,U,K,[],void 0,x),D+=w(U,ne,K)+ee,ne=K+Y,K=K+Q>U.length?-1:y(U,$,K+Q);return ne<U.length&&(D+=w(U,ne)),D}}),$B}var jB={},UB;function ove(){if(UB)return jB;UB=1;var e=Sr(),t=m_(),r=Tr(),n=Gr(),i=Pi(),a=yte(),o=rn(),u=La(),s=xp();return t("search",function(c,d,h){return[function(g){var m=i(this),y=n(g)?u(g,c):void 0;return y?e(y,g,m):new RegExp(g)[c](o(m))},function(v){var g=r(this),m=o(v),y=h(d,g,m);if(y.done)return y.value;var S=g.lastIndex;a(S,0)||(g.lastIndex=0);var w=s(g,m);return a(g.lastIndex,S)||(g.lastIndex=S),w===null?-1:w.index}]}),jB}var qB={},VB;function sve(){if(VB)return qB;VB=1;var e=Sr(),t=Kt(),r=m_(),n=Tr(),i=Gr(),a=Pi(),o=c_(),u=y_(),s=us(),c=rn(),d=La(),h=xp(),v=v_(),g=zt(),m=v.UNSUPPORTED_Y,y=4294967295,S=Math.min,w=t([].push),b=t("".slice),A=!g(function(){var x=/(?:)/,O=x.exec;x.exec=function(){return O.apply(this,arguments)};var _="ab".split(x);return _.length!==2||_[0]!=="a"||_[1]!=="b"}),R="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;return r("split",function(x,O,_){var P="0".split(void 0,0).length?function(N,U){return N===void 0&&U===0?[]:e(O,this,N,U)}:O;return[function(U,$){var B=a(this),Y=i(U)?d(U,x):void 0;return Y?e(Y,U,B,$):e(P,c(B),U,$)},function(N,U){var $=n(this),B=c(N);if(!R){var Y=_(P,$,B,U,P!==O);if(Y.done)return Y.value}var Q=o($,RegExp),K=$.unicode,ee=($.ignoreCase?"i":"")+($.multiline?"m":"")+($.unicode?"u":"")+(m?"g":"y"),ne=new Q(m?"^(?:"+$.source+")":$,ee),D=U===void 0?y:U>>>0;if(D===0)return[];if(B.length===0)return h(ne,B)===null?[B]:[];for(var I=0,L=0,re=[];L<B.length;){ne.lastIndex=m?0:L;var te=h(ne,m?b(B,L):B),ce;if(te===null||(ce=S(s(ne.lastIndex+(m?L:0)),B.length))===I)L=u(B,L,K);else{if(w(re,b(B,I,L)),re.length===D)return re;for(var be=1;be<=te.length-1;be++)if(w(re,te[be]),re.length===D)return re;L=I=ce}}return w(re,b(B,I)),re}]},R||!A,m),qB}var BB={},HB;function uve(){if(HB)return BB;HB=1;var e=Ve(),t=gf(),r=Ma().f,n=us(),i=rn(),a=tD(),o=Pi(),u=rD(),s=Un(),c=t("".slice),d=Math.min,h=u("startsWith"),v=!s&&!h&&!!(function(){var g=r(String.prototype,"startsWith");return g&&!g.writable})();return e({target:"String",proto:!0,forced:!v&&!h},{startsWith:function(m){var y=i(o(this));a(m);var S=n(d(arguments.length>1?arguments[1]:void 0,y.length)),w=i(m);return c(y,S,S+w.length)===w}}),BB}var zB={},WB;function lve(){if(WB)return zB;WB=1;var e=Ve(),t=Kt(),r=Pi(),n=Gi(),i=rn(),a=t("".slice),o=Math.max,u=Math.min,s=!"".substr||"ab".substr(-1)!=="b";return e({target:"String",proto:!0,forced:s},{substr:function(d,h){var v=i(r(this)),g=v.length,m=n(d),y,S;return m===1/0&&(m=0),m<0&&(m=o(g+m,0)),y=h===void 0?g:n(h),y<=0||y===1/0?"":(S=u(m+y,g),m>=S?"":a(v,m,S))}}),zB}var GB={},YB;function cve(){if(YB)return GB;YB=1;var e=Ve(),t=Sr(),r=Kt(),n=Pi(),i=rn(),a=zt(),o=Array,u=r("".charAt),s=r("".charCodeAt),c=r([].join),d="".toWellFormed,h="�",v=d&&a(function(){return t(d,1)!=="1"});return e({target:"String",proto:!0,forced:v},{toWellFormed:function(){var m=i(n(this));if(v)return t(d,m);for(var y=m.length,S=o(y),w=0;w<y;w++){var b=s(m,w);(b&63488)!==55296?S[w]=u(m,w):b>=56320||w+1>=y||(s(m,w+1)&64512)!==56320?S[w]=h:(S[w]=u(m,w),S[++w]=u(m,w))}return c(S,"")}}),GB}var KB={},mT,XB;function nD(){if(XB)return mT;XB=1;var e=ih().PROPER,t=zt(),r=bp(),n="​…᠎";return mT=function(i){return t(function(){return!!r[i]()||n[i]()!==n||e&&r[i].name!==i})},mT}var QB;function fve(){if(QB)return KB;QB=1;var e=Ve(),t=hh().trim,r=nD();return e({target:"String",proto:!0,forced:r("trim")},{trim:function(){return t(this)}}),KB}var JB={},ZB={},yT,eH;function Nte(){if(eH)return yT;eH=1;var e=hh().end,t=nD();return yT=t("trimEnd")?function(){return e(this)}:"".trimEnd,yT}var tH;function dve(){if(tH)return ZB;tH=1;var e=Ve(),t=Nte();return e({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==t},{trimRight:t}),ZB}var rH;function hve(){if(rH)return JB;rH=1,dve();var e=Ve(),t=Nte();return e({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==t},{trimEnd:t}),JB}var nH={},iH={},_T,aH;function Lte(){if(aH)return _T;aH=1;var e=hh().start,t=nD();return _T=t("trimStart")?function(){return e(this)}:"".trimStart,_T}var oH;function vve(){if(oH)return iH;oH=1;var e=Ve(),t=Lte();return e({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==t},{trimLeft:t}),iH}var sH;function pve(){if(sH)return nH;sH=1,vve();var e=Ve(),t=Lte();return e({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==t},{trimStart:t}),nH}var uH={},ST,lH;function hs(){if(lH)return ST;lH=1;var e=Kt(),t=Pi(),r=rn(),n=/"/g,i=e("".replace);return ST=function(a,o,u,s){var c=r(t(a)),d="<"+o;return u!==""&&(d+=" "+u+'="'+i(r(s),n,"&quot;")+'"'),d+">"+c+"</"+o+">"},ST}var ET,cH;function vs(){if(cH)return ET;cH=1;var e=zt();return ET=function(t){return e(function(){var r=""[t]('"');return r!==r.toLowerCase()||r.split('"').length>3})},ET}var fH;function gve(){if(fH)return uH;fH=1;var e=Ve(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("anchor")},{anchor:function(i){return t(this,"a","name",i)}}),uH}var dH={},hH;function mve(){if(hH)return dH;hH=1;var e=Ve(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("big")},{big:function(){return t(this,"big","","")}}),dH}var vH={},pH;function yve(){if(pH)return vH;pH=1;var e=Ve(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("blink")},{blink:function(){return t(this,"blink","","")}}),vH}var gH={},mH;function _ve(){if(mH)return gH;mH=1;var e=Ve(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("bold")},{bold:function(){return t(this,"b","","")}}),gH}var yH={},_H;function Sve(){if(_H)return yH;_H=1;var e=Ve(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("fixed")},{fixed:function(){return t(this,"tt","","")}}),yH}var SH={},EH;function Eve(){if(EH)return SH;EH=1;var e=Ve(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("fontcolor")},{fontcolor:function(i){return t(this,"font","color",i)}}),SH}var wH={},bH;function wve(){if(bH)return wH;bH=1;var e=Ve(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("fontsize")},{fontsize:function(i){return t(this,"font","size",i)}}),wH}var TH={},RH;function bve(){if(RH)return TH;RH=1;var e=Ve(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("italics")},{italics:function(){return t(this,"i","","")}}),TH}var xH={},CH;function Tve(){if(CH)return xH;CH=1;var e=Ve(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("link")},{link:function(i){return t(this,"a","href",i)}}),xH}var AH={},OH;function Rve(){if(OH)return AH;OH=1;var e=Ve(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("small")},{small:function(){return t(this,"small","","")}}),AH}var IH={},PH;function xve(){if(PH)return IH;PH=1;var e=Ve(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("strike")},{strike:function(){return t(this,"strike","","")}}),IH}var DH={},kH;function Cve(){if(kH)return DH;kH=1;var e=Ve(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("sub")},{sub:function(){return t(this,"sub","","")}}),DH}var NH={},LH;function Ave(){if(LH)return NH;LH=1;var e=Ve(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("sup")},{sup:function(){return t(this,"sup","","")}}),NH}var MH={},Wg={exports:{}},wT,$H;function iD(){if($H)return wT;$H=1;var e=er(),t=zt(),r=Xy(),n=Tn().NATIVE_ARRAY_BUFFER_VIEWS,i=e.ArrayBuffer,a=e.Int8Array;return wT=!n||!t(function(){a(1)})||!t(function(){new a(-1)})||!r(function(o){new a,new a(null),new a(1.5),new a(o)},!0)||t(function(){return new a(new i(2),1,void 0).length!==1}),wT}var bT,FH;function Mte(){if(FH)return bT;FH=1;var e=zP(),t=RangeError;return bT=function(r,n){var i=e(r);if(i%n)throw new t("Wrong offset");return i},bT}var TT,jH;function Ove(){if(jH)return TT;jH=1;var e=Math.round;return TT=function(t){var r=e(t);return r<0?0:r>255?255:r&255},TT}var RT,UH;function $te(){if(UH)return RT;UH=1;var e=ls();return RT=function(t){var r=e(t);return r==="BigInt64Array"||r==="BigUint64Array"},RT}var xT,qH;function aD(){if(qH)return xT;qH=1;var e=Vy(),t=TypeError;return xT=function(r){var n=e(r,"number");if(typeof n=="number")throw new t("Can't convert number to bigint");return BigInt(n)},xT}var CT,VH;function Fte(){if(VH)return CT;VH=1;var e=cs(),t=Sr(),r=KP(),n=kn(),i=ai(),a=sh(),o=_f(),u=LP(),s=$te(),c=Tn().aTypedArrayConstructor,d=aD();return CT=function(v){var g=r(this),m=n(v),y=arguments.length,S=y>1?arguments[1]:void 0,w=S!==void 0,b=o(m),A,R,x,O,_,P,N,U;if(b&&!u(b))for(N=a(m,b),U=N.next,m=[];!(P=t(U,N)).done;)m.push(P.value);for(w&&y>2&&(S=e(S,arguments[2])),R=i(m),x=new(c(g))(R),O=s(x),A=0;R>A;A++)_=w?S(m[A],A):m[A],x[A]=O?d(_):+_;return x},CT}var BH;function _l(){if(BH)return Wg.exports;BH=1;var e=Ve(),t=er(),r=Sr(),n=Ir(),i=iD(),a=Tn(),o=r_(),u=ds(),s=ss(),c=$a(),d=YP(),h=us(),v=t_(),g=Mte(),m=Ove(),y=oc(),S=Sn(),w=ls(),b=Gr(),A=hf(),R=Fa(),x=yo(),O=ru(),_=pf().f,P=Fte(),N=ja().forEach,U=ch(),$=ta(),B=xi(),Y=Ma(),Q=Ep(),K=qi(),ee=yf(),ne=K.get,D=K.set,I=K.enforce,L=B.f,re=Y.f,te=t.RangeError,ce=o.ArrayBuffer,be=ce.prototype,Ie=o.DataView,je=a.NATIVE_ARRAY_BUFFER_VIEWS,z=a.TYPED_ARRAY_TAG,k=a.TypedArray,q=a.TypedArrayPrototype,H=a.isTypedArray,ie="BYTES_PER_ELEMENT",V="Wrong length",Z=function(Oe,Me){$(Oe,Me,{configurable:!0,get:function(){return ne(this)[Me]}})},me=function(Oe){var Me;return x(be,Oe)||(Me=w(Oe))==="ArrayBuffer"||Me==="SharedArrayBuffer"},fe=function(Oe,Me){return H(Oe)&&!A(Me)&&Me in Oe&&d(+Me)&&Me>=0},Re=function(Me,de){return de=y(de),fe(Me,de)?s(2,Me[de]):re(Me,de)},Se=function(Me,de,Ee){return de=y(de),fe(Me,de)&&b(Ee)&&S(Ee,"value")&&!S(Ee,"get")&&!S(Ee,"set")&&!Ee.configurable&&(!S(Ee,"writable")||Ee.writable)&&(!S(Ee,"enumerable")||Ee.enumerable)?(Me[de]=Ee.value,Me):L(Me,de,Ee)};return n?(je||(Y.f=Re,B.f=Se,Z(q,"buffer"),Z(q,"byteOffset"),Z(q,"byteLength"),Z(q,"length")),e({target:"Object",stat:!0,forced:!je},{getOwnPropertyDescriptor:Re,defineProperty:Se}),Wg.exports=function(Oe,Me,de){var Ee=Oe.match(/\d+/)[0]/8,_e=Oe+(de?"Clamped":"")+"Array",xe="get"+Oe,ke="set"+Oe,Le=t[_e],He=Le,_t=He&&He.prototype,jt={},Lt=function(St,yt){var at=ne(St);return at.view[xe](yt*Ee+at.byteOffset,!0)},Qe=function(St,yt,at){var $t=ne(St);$t.view[ke](yt*Ee+$t.byteOffset,de?m(at):at,!0)},bt=function(St,yt){L(St,yt,{get:function(){return Lt(this,yt)},set:function(at){return Qe(this,yt,at)},enumerable:!0})};je?i&&(He=Me(function(St,yt,at,$t){return u(St,_t),ee((function(){return b(yt)?me(yt)?$t!==void 0?new Le(yt,g(at,Ee),$t):at!==void 0?new Le(yt,g(at,Ee)):new Le(yt):H(yt)?Q(He,yt):r(P,He,yt):new Le(v(yt))})(),St,He)}),O&&O(He,k),N(_(Le),function(St){St in He||c(He,St,Le[St])}),He.prototype=_t):(He=Me(function(St,yt,at,$t){u(St,_t);var xt=0,Ce=0,Ze,ut,Tt;if(!b(yt))Tt=v(yt),ut=Tt*Ee,Ze=new ce(ut);else if(me(yt)){Ze=yt,Ce=g(at,Ee);var Pt=yt.byteLength;if($t===void 0){if(Pt%Ee)throw new te(V);if(ut=Pt-Ce,ut<0)throw new te(V)}else if(ut=h($t)*Ee,ut+Ce>Pt)throw new te(V);Tt=ut/Ee}else return H(yt)?Q(He,yt):r(P,He,yt);for(D(St,{buffer:Ze,byteOffset:Ce,byteLength:ut,length:Tt,view:new Ie(Ze)});xt<Tt;)bt(St,xt++)}),O&&O(He,k),_t=He.prototype=R(q)),_t.constructor!==He&&c(_t,"constructor",He),I(_t).TypedArrayConstructor=He,z&&c(_t,z,_e);var mt=He!==Le;jt[_e]=He,e({global:!0,constructor:!0,forced:mt,sham:!je},jt),ie in He||c(He,ie,Ee),ie in _t||c(_t,ie,Ee),U(_e)}):Wg.exports=function(){},Wg.exports}var HH;function Ive(){if(HH)return MH;HH=1;var e=_l();return e("Float32",function(t){return function(n,i,a){return t(this,n,i,a)}}),MH}var zH={},WH;function Pve(){if(WH)return zH;WH=1;var e=_l();return e("Float64",function(t){return function(n,i,a){return t(this,n,i,a)}}),zH}var GH={},YH;function Dve(){if(YH)return GH;YH=1;var e=_l();return e("Int8",function(t){return function(n,i,a){return t(this,n,i,a)}}),GH}var KH={},XH;function kve(){if(XH)return KH;XH=1;var e=_l();return e("Int16",function(t){return function(n,i,a){return t(this,n,i,a)}}),KH}var QH={},JH;function Nve(){if(JH)return QH;JH=1;var e=_l();return e("Int32",function(t){return function(n,i,a){return t(this,n,i,a)}}),QH}var ZH={},e7;function Lve(){if(e7)return ZH;e7=1;var e=_l();return e("Uint8",function(t){return function(n,i,a){return t(this,n,i,a)}}),ZH}var t7={},r7;function Mve(){if(r7)return t7;r7=1;var e=_l();return e("Uint8",function(t){return function(n,i,a){return t(this,n,i,a)}},!0),t7}var n7={},i7;function $ve(){if(i7)return n7;i7=1;var e=_l();return e("Uint16",function(t){return function(n,i,a){return t(this,n,i,a)}}),n7}var a7={},o7;function Fve(){if(o7)return a7;o7=1;var e=_l();return e("Uint32",function(t){return function(n,i,a){return t(this,n,i,a)}}),a7}var s7={},u7;function jve(){if(u7)return s7;u7=1;var e=Tn(),t=ai(),r=Gi(),n=e.aTypedArray,i=e.exportTypedArrayMethod;return i("at",function(o){var u=n(this),s=t(u),c=r(o),d=c>=0?c:s+c;return d<0||d>=s?void 0:u[d]}),s7}var l7={},c7;function Uve(){if(c7)return l7;c7=1;var e=Kt(),t=Tn(),r=qee(),n=e(r),i=t.aTypedArray,a=t.exportTypedArrayMethod;return a("copyWithin",function(u,s){return n(i(this),u,s,arguments.length>2?arguments[2]:void 0)}),l7}var f7={},d7;function qve(){if(d7)return f7;d7=1;var e=Tn(),t=ja().every,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("every",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),f7}var h7={},v7;function Vve(){if(v7)return h7;v7=1;var e=Tn(),t=MP(),r=aD(),n=ls(),i=Sr(),a=Kt(),o=zt(),u=e.aTypedArray,s=e.exportTypedArrayMethod,c=a("".slice),d=o(function(){var h=0;return new Int8Array(2).fill({valueOf:function(){return h++}}),h!==1});return s("fill",function(v){var g=arguments.length;u(this);var m=c(n(this),0,3)==="Big"?r(v):+v;return i(t,this,m,g>1?arguments[1]:void 0,g>2?arguments[2]:void 0)},d),h7}var p7={},AT,g7;function Bve(){if(g7)return AT;g7=1;var e=Ep(),t=Tn().getTypedArrayConstructor;return AT=function(r,n){return e(t(r),n)},AT}var m7;function Hve(){if(m7)return p7;m7=1;var e=Tn(),t=ja().filter,r=Bve(),n=e.aTypedArray,i=e.exportTypedArrayMethod;return i("filter",function(o){var u=t(n(this),o,arguments.length>1?arguments[1]:void 0);return r(this,u)}),p7}var y7={},_7;function zve(){if(_7)return y7;_7=1;var e=Tn(),t=ja().find,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("find",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),y7}var S7={},E7;function Wve(){if(E7)return S7;E7=1;var e=Tn(),t=ja().findIndex,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("findIndex",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),S7}var w7={},b7;function Gve(){if(b7)return w7;b7=1;var e=Tn(),t=Ky().findLast,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("findLast",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),w7}var T7={},R7;function Yve(){if(R7)return T7;R7=1;var e=Tn(),t=Ky().findLastIndex,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("findLastIndex",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),T7}var x7={},C7;function Kve(){if(C7)return x7;C7=1;var e=Tn(),t=ja().forEach,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("forEach",function(a){t(r(this),a,arguments.length>1?arguments[1]:void 0)}),x7}var A7={},O7;function Xve(){if(O7)return A7;O7=1;var e=iD(),t=Tn().exportTypedArrayStaticMethod,r=Fte();return t("from",r,e),A7}var I7={},P7;function Qve(){if(P7)return I7;P7=1;var e=Tn(),t=pp().includes,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("includes",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),I7}var D7={},k7;function Jve(){if(k7)return D7;k7=1;var e=Tn(),t=pp().indexOf,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("indexOf",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),D7}var N7={},L7;function Zve(){if(L7)return N7;L7=1;var e=er(),t=zt(),r=Kt(),n=Tn(),i=Qy(),a=Yr(),o=a("iterator"),u=e.Uint8Array,s=r(i.values),c=r(i.keys),d=r(i.entries),h=n.aTypedArray,v=n.exportTypedArrayMethod,g=u&&u.prototype,m=!t(function(){g[o].call([1])}),y=!!g&&g.values&&g[o]===g.values&&g.values.name==="values",S=function(){return s(h(this))};return v("entries",function(){return d(h(this))},m),v("keys",function(){return c(h(this))},m),v("values",S,m||!y,{name:"values"}),v(o,S,m||!y,{name:"values"}),N7}var M7={},$7;function epe(){if($7)return M7;$7=1;var e=Tn(),t=Kt(),r=e.aTypedArray,n=e.exportTypedArrayMethod,i=t([].join);return n("join",function(o){return i(r(this),o)}),M7}var F7={},j7;function tpe(){if(j7)return F7;j7=1;var e=Tn(),t=fs(),r=zee(),n=e.aTypedArray,i=e.exportTypedArrayMethod;return i("lastIndexOf",function(o){var u=arguments.length;return t(r,n(this),u>1?[o,arguments[1]]:[o])}),F7}var U7={},q7;function rpe(){if(q7)return U7;q7=1;var e=Tn(),t=ja().map,r=e.aTypedArray,n=e.getTypedArrayConstructor,i=e.exportTypedArrayMethod;return i("map",function(o){return t(r(this),o,arguments.length>1?arguments[1]:void 0,function(u,s){return new(n(u))(s)})}),U7}var V7={},B7;function npe(){if(B7)return V7;B7=1;var e=Tn(),t=iD(),r=e.aTypedArrayConstructor,n=e.exportTypedArrayStaticMethod;return n("of",function(){for(var a=0,o=arguments.length,u=new(r(this))(o);o>a;)u[a]=arguments[a++];return u},t),V7}var H7={},z7;function ipe(){if(z7)return H7;z7=1;var e=Tn(),t=Jy().left,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("reduce",function(a){var o=arguments.length;return t(r(this),a,o,o>1?arguments[1]:void 0)}),H7}var W7={},G7;function ape(){if(G7)return W7;G7=1;var e=Tn(),t=Jy().right,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("reduceRight",function(a){var o=arguments.length;return t(r(this),a,o,o>1?arguments[1]:void 0)}),W7}var Y7={},K7;function ope(){if(K7)return Y7;K7=1;var e=Tn(),t=e.aTypedArray,r=e.exportTypedArrayMethod,n=Math.floor;return r("reverse",function(){for(var a=this,o=t(a).length,u=n(o/2),s=0,c;s<u;)c=a[s],a[s++]=a[--o],a[o]=c;return a}),Y7}var X7={},Q7;function spe(){if(Q7)return X7;Q7=1;var e=er(),t=Sr(),r=Tn(),n=ai(),i=Mte(),a=kn(),o=zt(),u=e.RangeError,s=e.Int8Array,c=s&&s.prototype,d=c&&c.set,h=r.aTypedArray,v=r.exportTypedArrayMethod,g=!o(function(){var y=new Uint8ClampedArray(2);return t(d,y,{length:1,0:3},1),y[1]!==3}),m=g&&r.NATIVE_ARRAY_BUFFER_VIEWS&&o(function(){var y=new s(2);return y.set(1),y.set("2",1),y[0]!==0||y[1]!==2});return v("set",function(S){h(this);var w=i(arguments.length>1?arguments[1]:void 0,1),b=a(S);if(g)return t(d,this,b,w);var A=this.length,R=n(b),x=0;if(R+w>A)throw new u("Wrong length");for(;x<R;)this[w+x]=b[x++]},!g||m),X7}var J7={},Z7;function upe(){if(Z7)return J7;Z7=1;var e=Tn(),t=zt(),r=$s(),n=e.aTypedArray,i=e.getTypedArrayConstructor,a=e.exportTypedArrayMethod,o=t(function(){new Int8Array(1).slice()});return a("slice",function(s,c){for(var d=r(n(this),s,c),h=i(this),v=0,g=d.length,m=new h(g);g>v;)m[v]=d[v++];return m},o),J7}var e9={},t9;function lpe(){if(t9)return e9;t9=1;var e=Tn(),t=ja().some,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("some",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),e9}var r9={},n9;function cpe(){if(n9)return r9;n9=1;var e=er(),t=gf(),r=zt(),n=_n(),i=qP(),a=Tn(),o=Wee(),u=Gee(),s=Ou(),c=VP(),d=a.aTypedArray,h=a.exportTypedArrayMethod,v=e.Uint16Array,g=v&&t(v.prototype.sort),m=!!g&&!(r(function(){g(new v(2),null)})&&r(function(){g(new v(2),{})})),y=!!g&&!r(function(){if(s)return s<74;if(o)return o<67;if(u)return!0;if(c)return c<602;var w=new v(516),b=Array(516),A,R;for(A=0;A<516;A++)R=A%4,w[A]=515-A,b[A]=A-2*R+3;for(g(w,function(x,O){return(x/4|0)-(O/4|0)}),A=0;A<516;A++)if(w[A]!==b[A])return!0}),S=function(w){return function(b,A){return w!==void 0?+w(b,A)||0:A!==A?-1:b!==b?1:b===0&&A===0?1/b>0&&1/A<0?1:-1:b>A}};return h("sort",function(b){return b!==void 0&&n(b),y?g(this,b):i(d(this),S(b))},!y||m),r9}var i9={},a9;function fpe(){if(a9)return i9;a9=1;var e=Tn(),t=us(),r=vl(),n=e.aTypedArray,i=e.getTypedArrayConstructor,a=e.exportTypedArrayMethod;return a("subarray",function(u,s){var c=n(this),d=c.length,h=r(u,d),v=i(c);return new v(c.buffer,c.byteOffset+h*c.BYTES_PER_ELEMENT,t((s===void 0?d:r(s,d))-h))}),i9}var o9={},s9;function dpe(){if(s9)return o9;s9=1;var e=er(),t=fs(),r=Tn(),n=zt(),i=$s(),a=e.Int8Array,o=r.aTypedArray,u=r.exportTypedArrayMethod,s=[].toLocaleString,c=!!a&&n(function(){s.call(new a(1))}),d=n(function(){return[1,2].toLocaleString()!==new a([1,2]).toLocaleString()})||!n(function(){a.prototype.toLocaleString.call([1,2])});return u("toLocaleString",function(){return t(s,c?i(o(this)):o(this),i(arguments))},d),o9}var u9={},l9;function hpe(){if(l9)return u9;l9=1;var e=Yee(),t=Tn(),r=t.aTypedArray,n=t.exportTypedArrayMethod,i=t.getTypedArrayConstructor;return n("toReversed",function(){return e(r(this),i(this))}),u9}var c9={},f9;function vpe(){if(f9)return c9;f9=1;var e=Tn(),t=Kt(),r=_n(),n=Ep(),i=e.aTypedArray,a=e.getTypedArrayConstructor,o=e.exportTypedArrayMethod,u=t(e.TypedArrayPrototype.sort);return o("toSorted",function(c){c!==void 0&&r(c);var d=i(this),h=n(a(d),d);return u(h,c)}),c9}var d9={},h9;function ppe(){if(h9)return d9;h9=1;var e=Tn().exportTypedArrayMethod,t=zt(),r=er(),n=Kt(),i=r.Uint8Array,a=i&&i.prototype||{},o=[].toString,u=n([].join);t(function(){o.call({})})&&(o=function(){return u(this)});var s=a.toString!==o;return e("toString",o,s),d9}var v9={},p9;function gpe(){if(p9)return v9;p9=1;var e=Xee(),t=Tn(),r=$te(),n=Gi(),i=aD(),a=t.aTypedArray,o=t.getTypedArrayConstructor,u=t.exportTypedArrayMethod,s=(function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(d){return d===8}})(),c=s&&(function(){try{new Int8Array(1).with(-.5,1)}catch{return!0}})();return u("with",function(d,h){var v=a(this),g=n(d),m=r(v)?i(h):+h;return e(v,o(v),g,m)},!s||c),v9}var g9={},OT,m9;function jte(){if(m9)return OT;m9=1;var e=Gr(),t=String,r=TypeError;return OT=function(n){if(n===void 0||e(n))return n;throw new r(t(n)+" is not an object or undefined")},OT}var IT,y9;function __(){if(y9)return IT;y9=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",t=e+"+/",r=e+"-_",n=function(i){for(var a={},o=0;o<64;o++)a[i.charAt(o)]=o;return a};return IT={i2c:t,c2i:n(t),i2cUrl:r,c2iUrl:n(r)},IT}var PT,_9;function Ute(){if(_9)return PT;_9=1;var e=TypeError;return PT=function(t){var r=t&&t.alphabet;if(r===void 0||r==="base64"||r==="base64url")return r||"base64";throw new e("Incorrect `alphabet` option")},PT}var DT,S9;function qte(){if(S9)return DT;S9=1;var e=er(),t=Kt(),r=jte(),n=p_(),i=Sn(),a=__(),o=Ute(),u=wp(),s=a.c2i,c=a.c2iUrl,d=e.SyntaxError,h=e.TypeError,v=t("".charAt),g=function(S,w){for(var b=S.length;w<b;w++){var A=v(S,w);if(A!==" "&&A!==" "&&A!==`
6
- `&&A!=="\f"&&A!=="\r")break}return w},m=function(S,w,b){var A=S.length;A<4&&(S+=A===2?"AA":"A");var R=(w[v(S,0)]<<18)+(w[v(S,1)]<<12)+(w[v(S,2)]<<6)+w[v(S,3)],x=[R>>16&255,R>>8&255,R&255];if(A===2){if(b&&x[1]!==0)throw new d("Extra bits");return[x[0]]}if(A===3){if(b&&x[2]!==0)throw new d("Extra bits");return[x[0],x[1]]}return x},y=function(S,w,b){for(var A=w.length,R=0;R<A;R++)S[b+R]=w[R];return b+A};return DT=function(S,w,b,A){n(S),r(w);var R=o(w)==="base64"?s:c,x=w?w.lastChunkHandling:void 0;if(x===void 0&&(x="loose"),x!=="loose"&&x!=="strict"&&x!=="stop-before-partial")throw new h("Incorrect `lastChunkHandling` option");b&&u(b.buffer);var O=S.length,_=b||[],P=0,N=0,U="",$=0;if(A)for(;;){if($=g(S,$),$===O){if(U.length>0){if(x==="stop-before-partial")break;if(x==="loose"){if(U.length===1)throw new d("Malformed padding: exactly one additional character");P=y(_,m(U,R,!1),P)}else throw new d("Missing padding")}N=O;break}var B=v(S,$);if(++$,B==="="){if(U.length<2)throw new d("Padding is too early");if($=g(S,$),U.length===2){if($===O){if(x==="stop-before-partial")break;throw new d("Malformed padding: only one =")}v(S,$)==="="&&(++$,$=g(S,$))}if($<O)throw new d("Unexpected character after padding");P=y(_,m(U,R,x==="strict"),P),N=O;break}if(!i(R,B))throw new d("Unexpected character");var Y=A-P;if(Y===1&&U.length===2||Y===2&&U.length===3||(U+=B,U.length===4&&(P=y(_,m(U,R,!1),P),U="",N=$,P===A)))break}return{bytes:_,read:N,written:P}},DT}var E9;function mpe(){if(E9)return g9;E9=1;var e=Ve(),t=er(),r=Ep(),n=qte(),i=t.Uint8Array,a=!i||!i.fromBase64||!(function(){try{i.fromBase64("a");return}catch{}try{i.fromBase64("",null)}catch{return!0}})();return i&&e({target:"Uint8Array",stat:!0,forced:a},{fromBase64:function(u){var s=n(u,arguments.length>1?arguments[1]:void 0,null,9007199254740991);return r(i,s.bytes)}}),g9}var w9={},kT,b9;function Vte(){if(b9)return kT;b9=1;var e=er(),t=Kt(),r=e.Uint8Array,n=e.SyntaxError,i=e.parseInt,a=Math.min,o=/[^\da-f]/i,u=t(o.exec),s=t("".slice);return kT=function(c,d){var h=c.length;if(h%2!==0)throw new n("String should be an even number of characters");for(var v=d?a(d.length,h/2):h/2,g=d||new r(v),m=0,y=0;y<v;){var S=s(c,m,m+=2);if(u(o,S))throw new n("String should only contain hex characters");g[y++]=i(S,16)}return{bytes:g,read:m}},kT}var T9;function ype(){if(T9)return w9;T9=1;var e=Ve(),t=er(),r=p_(),n=Vte();return t.Uint8Array&&e({target:"Uint8Array",stat:!0},{fromHex:function(a){return n(r(a)).bytes}}),w9}var R9={},NT,x9;function S_(){if(x9)return NT;x9=1;var e=ls(),t=TypeError;return NT=function(r){if(e(r)==="Uint8Array")return r;throw new t("Argument is not an Uint8Array")},NT}var C9;function _pe(){if(C9)return R9;C9=1;var e=Ve(),t=er(),r=qte(),n=S_(),i=t.Uint8Array,a=!i||!i.prototype.setFromBase64||!(function(){var o=new i([255,255,255,255,255]);try{o.setFromBase64("",null);return}catch{}try{o.setFromBase64("a");return}catch{}try{o.setFromBase64("MjYyZg===")}catch{return o[0]===50&&o[1]===54&&o[2]===50&&o[3]===255&&o[4]===255}})();return i&&e({target:"Uint8Array",proto:!0,forced:a},{setFromBase64:function(u){n(this);var s=r(u,arguments.length>1?arguments[1]:void 0,this,this.length);return{read:s.read,written:s.written}}}),R9}var A9={},O9;function Spe(){if(O9)return A9;O9=1;var e=Ve(),t=er(),r=p_(),n=S_(),i=wp(),a=Vte();return t.Uint8Array&&e({target:"Uint8Array",proto:!0},{setFromHex:function(u){n(this),r(u),i(this.buffer);var s=a(u,this).read;return{read:s,written:s/2}}}),A9}var I9={},P9;function Epe(){if(P9)return I9;P9=1;var e=Ve(),t=er(),r=Kt(),n=jte(),i=S_(),a=wp(),o=__(),u=Ute(),s=o.i2c,c=o.i2cUrl,d=r("".charAt),h=t.Uint8Array,v=!h||!h.prototype.toBase64||!(function(){try{var g=new h;g.toBase64(null)}catch{return!0}})();return h&&e({target:"Uint8Array",proto:!0,forced:v},{toBase64:function(){var m=i(this),y=arguments.length?n(arguments[0]):void 0,S=u(y)==="base64"?s:c,w=!!y&&!!y.omitPadding;a(this.buffer);for(var b="",A=0,R=m.length,x,O=function(_){return d(S,x>>6*_&63)};A+2<R;A+=3)x=(m[A]<<16)+(m[A+1]<<8)+m[A+2],b+=O(3)+O(2)+O(1)+O(0);return A+2===R?(x=(m[A]<<16)+(m[A+1]<<8),b+=O(3)+O(2)+O(1)+(w?"":"=")):A+1===R&&(x=m[A]<<16,b+=O(3)+O(2)+(w?"":"==")),b}}),I9}var D9={},k9;function wpe(){if(k9)return D9;k9=1;var e=Ve(),t=er(),r=Kt(),n=S_(),i=wp(),a=r(1.1.toString),o=t.Uint8Array,u=!o||!o.prototype.toHex||!(function(){try{var s=new o([255,255,255,255,255,255,255,255]);return s.toHex()==="ffffffffffffffff"}catch{return!1}})();return o&&e({target:"Uint8Array",proto:!0,forced:u},{toHex:function(){n(this),i(this.buffer);for(var c="",d=0,h=this.length;d<h;d++){var v=a(this[d],16);c+=v.length===1?"0"+v:v}return c}}),D9}var N9={},L9;function bpe(){if(L9)return N9;L9=1;var e=Ve(),t=Kt(),r=rn(),n=String.fromCharCode,i=t("".charAt),a=t(/./.exec),o=t("".slice),u=/^[\da-f]{2}$/i,s=/^[\da-f]{4}$/i;return e({global:!0},{unescape:function(d){for(var h=r(d),v="",g=h.length,m=0,y,S;m<g;){if(y=i(h,m++),y==="%"){if(i(h,m)==="u"){if(S=o(h,m+1,m+5),a(s,S)){v+=n(parseInt(S,16)),m+=5;continue}}else if(S=o(h,m,m+2),a(u,S)){v+=n(parseInt(S,16)),m+=2;continue}}v+=y}return v}}),N9}var M9={},$9={},LT,F9;function Bte(){if(F9)return LT;F9=1;var e=Kt(),t=ml(),r=wf().getWeakData,n=ds(),i=Tr(),a=hl(),o=Gr(),u=ha(),s=ja(),c=Sn(),d=qi(),h=d.set,v=d.getterFor,g=s.find,m=s.findIndex,y=e([].splice),S=0,w=function(R){return R.frozen||(R.frozen=new b)},b=function(){this.entries=[]},A=function(R,x){return g(R.entries,function(O){return O[0]===x})};return b.prototype={get:function(R){var x=A(this,R);if(x)return x[1]},has:function(R){return!!A(this,R)},set:function(R,x){var O=A(this,R);O?O[1]=x:this.entries.push([R,x])},delete:function(R){var x=m(this.entries,function(O){return O[0]===R});return~x&&y(this.entries,x,1),!!~x}},LT={getConstructor:function(R,x,O,_){var P=R(function(B,Y){n(B,N),h(B,{type:x,id:S++,frozen:null}),a(Y)||u(Y,B[_],{that:B,AS_ENTRIES:O})}),N=P.prototype,U=v(x),$=function(B,Y,Q){var K=U(B),ee=r(i(Y),!0);return ee===!0?w(K).set(Y,Q):ee[K.id]=Q,B};return t(N,{delete:function(B){var Y=U(this);if(!o(B))return!1;var Q=r(B);return Q===!0?w(Y).delete(B):Q&&c(Q,Y.id)&&delete Q[Y.id]},has:function(Y){var Q=U(this);if(!o(Y))return!1;var K=r(Y);return K===!0?w(Q).has(Y):K&&c(K,Q.id)}}),t(N,O?{get:function(Y){var Q=U(this);if(o(Y)){var K=r(Y);if(K===!0)return w(Q).get(Y);if(K)return K[Q.id]}},set:function(Y,Q){return $(this,Y,Q)}}:{add:function(Y){return $(this,Y,!0)}}),P}},LT}var j9;function Tpe(){if(j9)return $9;j9=1;var e=dh(),t=er(),r=Kt(),n=ml(),i=wf(),a=o_(),o=Bte(),u=Gr(),s=qi().enforce,c=zt(),d=xee(),h=Object,v=Array.isArray,g=h.isExtensible,m=h.isFrozen,y=h.isSealed,S=h.freeze,w=h.seal,b=!t.ActiveXObject&&"ActiveXObject"in t,A,R=function(B){return function(){return B(this,arguments.length?arguments[0]:void 0)}},x=a("WeakMap",R,o),O=x.prototype,_=r(O.set),P=function(){return e&&c(function(){var B=S([]);return _(new x,B,1),!m(B)})};if(d)if(b){A=o.getConstructor(R,"WeakMap",!0),i.enable();var N=r(O.delete),U=r(O.has),$=r(O.get);n(O,{delete:function(B){if(u(B)&&!g(B)){var Y=s(this);return Y.frozen||(Y.frozen=new A),N(this,B)||Y.frozen.delete(B)}return N(this,B)},has:function(Y){if(u(Y)&&!g(Y)){var Q=s(this);return Q.frozen||(Q.frozen=new A),U(this,Y)||Q.frozen.has(Y)}return U(this,Y)},get:function(Y){if(u(Y)&&!g(Y)){var Q=s(this);return Q.frozen||(Q.frozen=new A),U(this,Y)?$(this,Y):Q.frozen.get(Y)}return $(this,Y)},set:function(Y,Q){if(u(Y)&&!g(Y)){var K=s(this);K.frozen||(K.frozen=new A),U(this,Y)?_(this,Y,Q):K.frozen.set(Y,Q)}else _(this,Y,Q);return this}})}else P()&&n(O,{set:function(Y,Q){var K;return v(Y)&&(m(Y)?K=S:y(Y)&&(K=w)),_(this,Y,Q),K&&K(Y),this}});return $9}var U9;function Rpe(){return U9||(U9=1,Tpe()),M9}var q9={},V9={},B9;function xpe(){if(B9)return V9;B9=1;var e=o_(),t=Bte();return e("WeakSet",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},t),V9}var H9;function Cpe(){return H9||(H9=1,xpe()),q9}var z9={},W9;function Ape(){if(W9)return z9;W9=1;var e=Ve(),t=er(),r=yn(),n=Kt(),i=Sr(),a=zt(),o=rn(),u=Fs(),s=__().c2i,c=/[^\d+/a-z]/i,d=/[\t\n\f\r ]+/g,h=/[=]{1,2}$/,v=r("atob"),g=String.fromCharCode,m=n("".charAt),y=n("".replace),S=n(c.exec),w=!!v&&!a(function(){return v("aGk=")!=="hi"}),b=w&&a(function(){return v(" ")!==""}),A=w&&!a(function(){v("a")}),R=w&&!a(function(){v()}),x=w&&v.length!==1,O=!w||b||A||R||x;return e({global:!0,bind:!0,enumerable:!0,forced:O},{atob:function(P){if(u(arguments.length,1),w&&!b&&!A)return i(v,t,P);var N=y(o(P),d,""),U="",$=0,B=0,Y,Q,K;if(N.length%4===0&&(N=y(N,h,"")),Y=N.length,Y%4===1||S(c,N))throw new(r("DOMException"))("The string is not correctly encoded","InvalidCharacterError");for(;$<Y;)Q=m(N,$++),K=B%4?K*64+s[Q]:s[Q],B++%4&&(U+=g(255&K>>(-2*B&6)));return U}}),z9}var G9={},Y9;function Ope(){if(Y9)return G9;Y9=1;var e=Ve(),t=er(),r=yn(),n=Kt(),i=Sr(),a=zt(),o=rn(),u=Fs(),s=__().i2c,c=r("btoa"),d=n("".charAt),h=n("".charCodeAt),v=!!c&&!a(function(){return c("hi")!=="aGk="}),g=v&&!a(function(){c()}),m=v&&a(function(){return c(null)!=="bnVsbA=="}),y=v&&c.length!==1;return e({global:!0,bind:!0,enumerable:!0,forced:!v||g||m||y},{btoa:function(w){if(u(arguments.length,1),v)return i(c,t,o(w));for(var b=o(w),A="",R=0,x=s,O,_;d(b,R)||(x="=",R%1);){if(_=h(b,R+=3/4),_>255)throw new(r("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");O=O<<8|_,A+=d(x,63&O>>8-R%1*8)}return A}}),G9}var K9={},MT,X9;function Hte(){return X9||(X9=1,MT={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}),MT}var $T,Q9;function zte(){if(Q9)return $T;Q9=1;var e=By(),t=e("span").classList,r=t&&t.constructor&&t.constructor.prototype;return $T=r===Object.prototype?void 0:r,$T}var J9;function Ipe(){if(J9)return K9;J9=1;var e=er(),t=Hte(),r=zte(),n=Bee(),i=$a(),a=function(u){if(u&&u.forEach!==n)try{i(u,"forEach",n)}catch{u.forEach=n}};for(var o in t)t[o]&&a(e[o]&&e[o].prototype);return a(r),K9}var Z9={},ez;function Ppe(){if(ez)return Z9;ez=1;var e=er(),t=Hte(),r=zte(),n=Qy(),i=$a(),a=qo(),o=Yr(),u=o("iterator"),s=n.values,c=function(h,v){if(h){if(h[u]!==s)try{i(h,u,s)}catch{h[u]=s}if(a(h,v,!0),t[v]){for(var g in n)if(h[g]!==n[g])try{i(h,g,n[g])}catch{h[g]=n[g]}}}};for(var d in t)c(e[d]&&e[d].prototype,d);return c(r,"DOMTokenList"),Z9}var tz={},FT,rz;function Wte(){return rz||(rz=1,FT={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}),FT}var nz;function Dpe(){if(nz)return tz;nz=1;var e=Ve(),t=yn(),r=nte(),n=zt(),i=Fa(),a=ss(),o=xi().f,u=Qn(),s=ta(),c=Sn(),d=ds(),h=Tr(),v=Uee(),g=oh(),m=Wte(),y=DP(),S=qi(),w=Ir(),b=Un(),A="DOMException",R="DATA_CLONE_ERR",x=t("Error"),O=t(A)||(function(){try{var k=t("MessageChannel")||r("worker_threads").MessageChannel;new k().port1.postMessage(new WeakMap)}catch(q){if(q.name===R&&q.code===25)return q.constructor}})(),_=O&&O.prototype,P=x.prototype,N=S.set,U=S.getterFor(A),$="stack"in new x(A),B=function(k){return c(m,k)&&m[k].m?m[k].c:0},Y=function(){d(this,Q);var q=arguments.length,H=g(q<1?void 0:arguments[0]),ie=g(q<2?void 0:arguments[1],"Error"),V=B(ie);if(N(this,{type:A,name:ie,message:H,code:V}),w||(this.name=ie,this.message=H,this.code=V),$){var Z=new x(H);Z.name=A,o(this,"stack",a(1,y(Z.stack,1)))}},Q=Y.prototype=i(P),K=function(k){return{enumerable:!0,configurable:!0,get:k}},ee=function(k){return K(function(){return U(this)[k]})};w&&(s(Q,"code",ee("code")),s(Q,"message",ee("message")),s(Q,"name",ee("name"))),o(Q,"constructor",a(1,Y));var ne=n(function(){return!(new O instanceof x)}),D=ne||n(function(){return P.toString!==v||String(new O(1,2))!=="2: 1"}),I=ne||n(function(){return new O(1,"DataCloneError").code!==25}),L=ne||O[R]!==25||_[R]!==25,re=b?D||I||L:ne;e({global:!0,constructor:!0,forced:re},{DOMException:re?Y:O});var te=t(A),ce=te.prototype;D&&(b||O===te)&&u(ce,"toString",v),I&&w&&O===te&&s(ce,"code",K(function(){return B(h(this).name)}));for(var be in m)if(c(m,be)){var Ie=m[be],je=Ie.s,z=a(6,Ie.c);c(te,je)||o(te,je,z),c(ce,je)||o(ce,je,z)}return tz}var iz={},az;function kpe(){if(az)return iz;az=1;var e=Ve(),t=er(),r=yn(),n=ss(),i=xi().f,a=Sn(),o=ds(),u=yf(),s=oh(),c=Wte(),d=DP(),h=Ir(),v=Un(),g="DOMException",m=r("Error"),y=r(g),S=function(){o(this,w);var Y=arguments.length,Q=s(Y<1?void 0:arguments[0]),K=s(Y<2?void 0:arguments[1],"Error"),ee=new y(Q,K),ne=new m(Q);return ne.name=g,i(ee,"stack",n(1,d(ne.stack,1))),u(ee,this,S),ee},w=S.prototype=y.prototype,b="stack"in new m(g),A="stack"in new y(1,2),R=y&&h&&Object.getOwnPropertyDescriptor(t,g),x=!!R&&!(R.writable&&R.configurable),O=b&&!x&&!A;e({global:!0,constructor:!0,forced:v||O},{DOMException:O?S:y});var _=r(g),P=_.prototype;if(P.constructor!==_){v||i(P,"constructor",n(1,_));for(var N in c)if(a(c,N)){var U=c[N],$=U.s;a(_,$)||i(_,$,n(6,U.c))}}return iz}var oz={},sz;function Npe(){if(sz)return oz;sz=1;var e=yn(),t=qo(),r="DOMException";return t(e(r),r),oz}var uz={},lz={},cz;function Lpe(){if(cz)return lz;cz=1;var e=Ve(),t=er(),r=f_().clear;return e({global:!0,bind:!0,enumerable:!0,forced:t.clearImmediate!==r},{clearImmediate:r}),lz}var fz={},jT,dz;function oD(){if(dz)return jT;dz=1;var e=er(),t=fs(),r=bn(),n=Zy(),i=Au(),a=$s(),o=Fs(),u=e.Function,s=/MSIE .\./.test(i)||n==="BUN"&&(function(){var c=e.Bun.version.split(".");return c.length<3||c[0]==="0"&&(c[1]<3||c[1]==="3"&&c[2]==="0")})();return jT=function(c,d){var h=d?2:1;return s?function(v,g){var m=o(arguments.length,1)>h,y=r(v)?v:u(v),S=m?a(arguments,h):[],w=m?function(){t(y,this,S)}:y;return d?c(w,g):c(w)}:c},jT}var hz;function Mpe(){if(hz)return fz;hz=1;var e=Ve(),t=er(),r=f_().set,n=oD(),i=t.setImmediate?n(r,!1):r;return e({global:!0,bind:!0,enumerable:!0,forced:t.setImmediate!==i},{setImmediate:i}),fz}var vz;function $pe(){return vz||(vz=1,Lpe(),Mpe()),uz}var pz={},gz;function Fpe(){if(gz)return pz;gz=1;var e=Ve(),t=er(),r=wte(),n=_n(),i=Fs(),a=zt(),o=Ir(),u=a(function(){return o&&Object.getOwnPropertyDescriptor(t,"queueMicrotask").value.length!==1});return e({global:!0,enumerable:!0,dontCallGetSet:!0,forced:u},{queueMicrotask:function(c){i(arguments.length,1),r(n(c))}}),pz}var mz={},yz;function jpe(){if(yz)return mz;yz=1;var e=Ve(),t=er(),r=ta(),n=Ir(),i=TypeError,a=Object.defineProperty,o=t.self!==t;try{if(n){var u=Object.getOwnPropertyDescriptor(t,"self");(o||!u||!u.get||!u.enumerable)&&r(t,"self",{get:function(){return t},set:function(c){if(this!==t)throw new i("Illegal invocation");a(t,"self",{value:c,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else e({global:!0,simple:!0,forced:o},{self:t})}catch{}return mz}var _z={},Sz;function Upe(){if(Sz)return _z;Sz=1;var e=Un(),t=Ve(),r=er(),n=yn(),i=Kt(),a=zt(),o=nh(),u=bn(),s=mf(),c=hl(),d=Gr(),h=hf(),v=ha(),g=Tr(),m=ls(),y=Sn(),S=pl(),w=$a(),b=ai(),A=Fs(),R=bf(),x=fte(),O=nu(),_=gh(),P=ite(),N=Fee(),U=HP(),$=r.Object,B=r.Array,Y=r.Date,Q=r.Error,K=r.TypeError,ee=r.PerformanceMark,ne=n("DOMException"),D=x.Map,I=x.has,L=x.get,re=x.set,te=O.Set,ce=O.add,be=O.has,Ie=n("Object","keys"),je=i([].push),z=i((!0).valueOf),k=i(1.1.valueOf),q=i("".valueOf),H=i(Y.prototype.getTime),ie=o("structuredClone"),V="DataCloneError",Z="Transferring",me=function(Qe){return!a(function(){var bt=new r.Set([7]),mt=Qe(bt),St=Qe($(7));return mt===bt||!mt.has(7)||!d(St)||+St!=7})&&Qe},fe=function(Qe,bt){return!a(function(){var mt=new bt,St=Qe({a:mt,b:mt});return!(St&&St.a===St.b&&St.a instanceof bt&&St.a.stack===mt.stack)})},Re=function(Qe){return!a(function(){var bt=Qe(new r.AggregateError([1],ie,{cause:3}));return bt.name!=="AggregateError"||bt.errors[0]!==1||bt.message!==ie||bt.cause!==3})},Se=r.structuredClone,Oe=e||!fe(Se,Q)||!fe(Se,ne)||!Re(Se),Me=!Se&&me(function(Qe){return new ee(ie,{detail:Qe}).detail}),de=me(Se)||Me,Ee=function(Qe){throw new ne("Uncloneable type: "+Qe,V)},_e=function(Qe,bt){throw new ne((bt||"Cloning")+" of "+Qe+" cannot be properly polyfilled in this engine",V)},xe=function(Qe,bt){return de||_e(bt),de(Qe)},ke=function(){var Qe;try{Qe=new r.DataTransfer}catch{try{Qe=new r.ClipboardEvent("").clipboardData}catch{}}return Qe&&Qe.items&&Qe.files?Qe:null},Le=function(Qe,bt,mt){if(I(bt,Qe))return L(bt,Qe);var St=mt||m(Qe),yt,at,$t,xt,Ce,Ze;if(St==="SharedArrayBuffer")de?yt=de(Qe):yt=Qe;else{var ut=r.DataView;!ut&&!u(Qe.slice)&&_e("ArrayBuffer");try{if(u(Qe.slice)&&!Qe.resizable)yt=Qe.slice(0);else for(at=Qe.byteLength,$t=("maxByteLength"in Qe)?{maxByteLength:Qe.maxByteLength}:void 0,yt=new ArrayBuffer(at,$t),xt=new ut(Qe),Ce=new ut(yt),Ze=0;Ze<at;Ze++)Ce.setUint8(Ze,xt.getUint8(Ze))}catch{throw new ne("ArrayBuffer is detached",V)}}return re(bt,Qe,yt),yt},He=function(Qe,bt,mt,St,yt){var at=r[bt];return d(at)||_e(bt),new at(Le(Qe.buffer,yt),mt,St)},_t=function(Qe,bt){if(h(Qe)&&Ee("Symbol"),!d(Qe))return Qe;if(bt){if(I(bt,Qe))return L(bt,Qe)}else bt=new D;var mt=m(Qe),St,yt,at,$t,xt,Ce,Ze,ut;switch(mt){case"Array":at=B(b(Qe));break;case"Object":at={};break;case"Map":at=new D;break;case"Set":at=new te;break;case"RegExp":at=new RegExp(Qe.source,R(Qe));break;case"Error":switch(yt=Qe.name,yt){case"AggregateError":at=new(n(yt))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":at=new(n(yt));break;case"CompileError":case"LinkError":case"RuntimeError":at=new(n("WebAssembly",yt));break;default:at=new Q}break;case"DOMException":at=new ne(Qe.message,Qe.name);break;case"ArrayBuffer":case"SharedArrayBuffer":at=Le(Qe,bt,mt);break;case"DataView":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float16Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":Ce=mt==="DataView"?Qe.byteLength:Qe.length,at=He(Qe,mt,Qe.byteOffset,Ce,bt);break;case"DOMQuad":try{at=new DOMQuad(_t(Qe.p1,bt),_t(Qe.p2,bt),_t(Qe.p3,bt),_t(Qe.p4,bt))}catch{at=xe(Qe,mt)}break;case"File":if(de)try{at=de(Qe),m(at)!==mt&&(at=void 0)}catch{}if(!at)try{at=new File([Qe],Qe.name,Qe)}catch{}at||_e(mt);break;case"FileList":if($t=ke(),$t){for(xt=0,Ce=b(Qe);xt<Ce;xt++)$t.items.add(_t(Qe[xt],bt));at=$t.files}else at=xe(Qe,mt);break;case"ImageData":try{at=new ImageData(_t(Qe.data,bt),Qe.width,Qe.height,{colorSpace:Qe.colorSpace})}catch{at=xe(Qe,mt)}break;default:if(de)at=de(Qe);else switch(mt){case"BigInt":at=$(Qe.valueOf());break;case"Boolean":at=$(z(Qe));break;case"Number":at=$(k(Qe));break;case"String":at=$(q(Qe));break;case"Date":at=new Y(H(Qe));break;case"Blob":try{at=Qe.slice(0,Qe.size,Qe.type)}catch{_e(mt)}break;case"DOMPoint":case"DOMPointReadOnly":St=r[mt];try{at=St.fromPoint?St.fromPoint(Qe):new St(Qe.x,Qe.y,Qe.z,Qe.w)}catch{_e(mt)}break;case"DOMRect":case"DOMRectReadOnly":St=r[mt];try{at=St.fromRect?St.fromRect(Qe):new St(Qe.x,Qe.y,Qe.width,Qe.height)}catch{_e(mt)}break;case"DOMMatrix":case"DOMMatrixReadOnly":St=r[mt];try{at=St.fromMatrix?St.fromMatrix(Qe):new St(Qe)}catch{_e(mt)}break;case"AudioData":case"VideoFrame":u(Qe.clone)||_e(mt);try{at=Qe.clone()}catch{Ee(mt)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":_e(mt);default:Ee(mt)}}switch(re(bt,Qe,at),mt){case"Array":case"Object":for(Ze=Ie(Qe),xt=0,Ce=b(Ze);xt<Ce;xt++)ut=Ze[xt],S(at,ut,_t(Qe[ut],bt));break;case"Map":Qe.forEach(function(Tt,Pt){re(at,_t(Pt,bt),_t(Tt,bt))});break;case"Set":Qe.forEach(function(Tt){ce(at,_t(Tt,bt))});break;case"Error":w(at,"message",_t(Qe.message,bt)),y(Qe,"cause")&&w(at,"cause",_t(Qe.cause,bt)),yt==="AggregateError"?at.errors=_t(Qe.errors,bt):yt==="SuppressedError"&&(at.error=_t(Qe.error,bt),at.suppressed=_t(Qe.suppressed,bt));case"DOMException":N&&w(at,"stack",_t(Qe.stack,bt))}return at},jt=function(Qe,bt){if(!d(Qe))throw new K("Transfer option cannot be converted to a sequence");var mt=[];v(Qe,function(Pt){je(mt,g(Pt))});for(var St=0,yt=b(mt),at=new te,$t,xt,Ce,Ze,ut,Tt;St<yt;){if($t=mt[St++],xt=m($t),xt==="ArrayBuffer"?be(at,$t):I(bt,$t))throw new ne("Duplicate transferable",V);if(xt==="ArrayBuffer"){ce(at,$t);continue}if(U)Ze=Se($t,{transfer:[$t]});else switch(xt){case"ImageBitmap":Ce=r.OffscreenCanvas,s(Ce)||_e(xt,Z);try{ut=new Ce($t.width,$t.height),Tt=ut.getContext("bitmaprenderer"),Tt.transferFromImageBitmap($t),Ze=ut.transferToImageBitmap()}catch{}break;case"AudioData":case"VideoFrame":(!u($t.clone)||!u($t.close))&&_e(xt,Z);try{Ze=$t.clone(),$t.close()}catch{}break;case"MediaSourceHandle":case"MessagePort":case"MIDIAccess":case"OffscreenCanvas":case"ReadableStream":case"RTCDataChannel":case"TransformStream":case"WebTransportReceiveStream":case"WebTransportSendStream":case"WritableStream":_e(xt,Z)}if(Ze===void 0)throw new ne("This object cannot be transferred: "+xt,V);re(bt,$t,Ze)}return at},Lt=function(Qe){_(Qe,function(bt){U?de(bt,{transfer:[bt]}):u(bt.transfer)?bt.transfer():P?P(bt):_e("ArrayBuffer",Z)})};return t({global:!0,enumerable:!0,sham:!U,forced:Oe},{structuredClone:function(bt){var mt=A(arguments.length,1)>1&&!c(arguments[1])?g(arguments[1]):void 0,St=mt?mt.transfer:void 0,yt,at;St!==void 0&&(yt=new D,at=jt(St,yt));var $t=_t(bt,yt);return at&&Lt(at),$t}}),_z}var Ez={},wz={},bz;function qpe(){if(bz)return wz;bz=1;var e=Ve(),t=er(),r=oD(),n=r(t.setInterval,!0);return e({global:!0,bind:!0,forced:t.setInterval!==n},{setInterval:n}),wz}var Tz={},Rz;function Vpe(){if(Rz)return Tz;Rz=1;var e=Ve(),t=er(),r=oD(),n=r(t.setTimeout,!0);return e({global:!0,bind:!0,forced:t.setTimeout!==n},{setTimeout:n}),Tz}var xz;function Bpe(){return xz||(xz=1,qpe(),Vpe()),Ez}var Cz={},Az={},UT,Oz;function E_(){if(Oz)return UT;Oz=1;var e=zt(),t=Yr(),r=Ir(),n=Un(),i=t("iterator");return UT=!e(function(){var a=new URL("b?a=1&b=2&c=3","https://a"),o=a.searchParams,u=new URLSearchParams("a=1&a=2&b=3"),s="";return a.pathname="c%20d",o.forEach(function(c,d){o.delete("b"),s+=d+c}),u.delete("a",2),u.delete("b",void 0),n&&(!a.toJSON||!u.has("a",1)||u.has("a",2)||!u.has("a",void 0)||u.has("b"))||!o.size&&(n||!r)||!o.sort||a.href!=="https://a/c%20d?a=1&c=3"||o.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!o[i]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("https://тест").host!=="xn--e1aybc"||new URL("https://a#б").hash!=="#%D0%B1"||s!=="a1c3"||new URL("https://x",void 0).host!=="x"}),UT}var qT,Iz;function Hpe(){if(Iz)return qT;Iz=1;var e=Kt(),t=2147483647,r=36,n=1,i=26,a=38,o=700,u=72,s=128,c="-",d=/[^\0-\u007E]/,h=/[.\u3002\uFF0E\uFF61]/g,v="Overflow: input needs wider integers to process",g=r-n,m=RangeError,y=e(h.exec),S=Math.floor,w=String.fromCharCode,b=e("".charCodeAt),A=e([].join),R=e([].push),x=e("".replace),O=e("".split),_=e("".toLowerCase),P=function(B){for(var Y=[],Q=0,K=B.length;Q<K;){var ee=b(B,Q++);if(ee>=55296&&ee<=56319&&Q<K){var ne=b(B,Q++);(ne&64512)===56320?R(Y,((ee&1023)<<10)+(ne&1023)+65536):(R(Y,ee),Q--)}else R(Y,ee)}return Y},N=function(B){return B+22+75*(B<26)},U=function(B,Y,Q){var K=0;for(B=Q?S(B/o):B>>1,B+=S(B/Y);B>g*i>>1;)B=S(B/g),K+=r;return S(K+(g+1)*B/(B+a))},$=function(B){var Y=[];B=P(B);var Q=B.length,K=s,ee=0,ne=u,D,I;for(D=0;D<B.length;D++)I=B[D],I<128&&R(Y,w(I));var L=Y.length,re=L;for(L&&R(Y,c);re<Q;){var te=t;for(D=0;D<B.length;D++)I=B[D],I>=K&&I<te&&(te=I);var ce=re+1;if(te-K>S((t-ee)/ce))throw new m(v);for(ee+=(te-K)*ce,K=te,D=0;D<B.length;D++){if(I=B[D],I<K&&++ee>t)throw new m(v);if(I===K){for(var be=ee,Ie=r;;){var je=Ie<=ne?n:Ie>=ne+i?i:Ie-ne;if(be<je)break;var z=be-je,k=r-je;R(Y,w(N(je+z%k))),be=S(z/k),Ie+=r}R(Y,w(N(be))),ne=U(ee,ce,re===L),ee=0,re++}}ee++,K++}return A(Y,"")};return qT=function(B){var Y=[],Q=O(x(_(B),h,"."),"."),K,ee;for(K=0;K<Q.length;K++)ee=Q[K],R(Y,y(d,ee)?"xn--"+$(ee):ee);return A(Y,".")},qT}var VT,Pz;function Gte(){if(Pz)return VT;Pz=1,Qy(),Ite();var e=Ve(),t=er(),r=Ste(),n=yn(),i=Sr(),a=Kt(),o=Ir(),u=E_(),s=Qn(),c=ta(),d=ml(),h=qo(),v=FP(),g=qi(),m=ds(),y=bn(),S=Sn(),w=cs(),b=ls(),A=Tr(),R=Gr(),x=rn(),O=Fa(),_=ss(),P=sh(),N=_f(),U=Ef(),$=Fs(),B=Yr(),Y=qP(),Q=B("iterator"),K="URLSearchParams",ee=K+"Iterator",ne=g.set,D=g.getterFor(K),I=g.getterFor(ee),L=r("fetch"),re=r("Request"),te=r("Headers"),ce=re&&re.prototype,be=te&&te.prototype,Ie=t.TypeError,je=t.encodeURIComponent,z=String.fromCharCode,k=n("String","fromCodePoint"),q=parseInt,H=a("".charAt),ie=a([].join),V=a([].push),Z=a("".replace),me=a([].shift),fe=a([].splice),Re=a("".split),Se=a("".slice),Oe=a(/./.exec),Me=/\+/g,de="�",Ee=/^[0-9a-f]+$/i,_e=function(Ce,Ze){var ut=Se(Ce,Ze,Ze+2);return Oe(Ee,ut)?q(ut,16):NaN},xe=function(Ce){for(var Ze=0,ut=128;ut>0&&(Ce&ut)!==0;ut>>=1)Ze++;return Ze},ke=function(Ce){var Ze=null;switch(Ce.length){case 1:Ze=Ce[0];break;case 2:Ze=(Ce[0]&31)<<6|Ce[1]&63;break;case 3:Ze=(Ce[0]&15)<<12|(Ce[1]&63)<<6|Ce[2]&63;break;case 4:Ze=(Ce[0]&7)<<18|(Ce[1]&63)<<12|(Ce[2]&63)<<6|Ce[3]&63;break}return Ze>1114111?null:Ze},Le=function(Ce){Ce=Z(Ce,Me," ");for(var Ze=Ce.length,ut="",Tt=0;Tt<Ze;){var Pt=H(Ce,Tt);if(Pt==="%"){if(H(Ce,Tt+1)==="%"||Tt+3>Ze){ut+="%",Tt++;continue}var rr=_e(Ce,Tt+1);if(rr!==rr){ut+=Pt,Tt++;continue}Tt+=2;var _r=xe(rr);if(_r===0)Pt=z(rr);else{if(_r===1||_r>4){ut+=de,Tt++;continue}for(var sr=[rr],mr=1;mr<_r&&(Tt++,!(Tt+3>Ze||H(Ce,Tt)!=="%"));){var Pr=_e(Ce,Tt+1);if(Pr!==Pr){Tt+=3;break}if(Pr>191||Pr<128)break;V(sr,Pr),Tt+=2,mr++}if(sr.length!==_r){ut+=de;continue}var ln=ke(sr);ln===null?ut+=de:Pt=k(ln)}}ut+=Pt,Tt++}return ut},He=/[!'()~]|%20/g,_t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},jt=function(Ce){return _t[Ce]},Lt=function(Ce){return Z(je(Ce),He,jt)},Qe=v(function(Ze,ut){ne(this,{type:ee,target:D(Ze).entries,index:0,kind:ut})},K,function(){var Ze=I(this),ut=Ze.target,Tt=Ze.index++;if(!ut||Tt>=ut.length)return Ze.target=null,U(void 0,!0);var Pt=ut[Tt];switch(Ze.kind){case"keys":return U(Pt.key,!1);case"values":return U(Pt.value,!1)}return U([Pt.key,Pt.value],!1)},!0),bt=function(Ce){this.entries=[],this.url=null,Ce!==void 0&&(R(Ce)?this.parseObject(Ce):this.parseQuery(typeof Ce=="string"?H(Ce,0)==="?"?Se(Ce,1):Ce:x(Ce)))};bt.prototype={type:K,bindURL:function(Ce){this.url=Ce,this.update()},parseObject:function(Ce){var Ze=this.entries,ut=N(Ce),Tt,Pt,rr,_r,sr,mr,Pr;if(ut)for(Tt=P(Ce,ut),Pt=Tt.next;!(rr=i(Pt,Tt)).done;){if(_r=P(A(rr.value)),sr=_r.next,(mr=i(sr,_r)).done||(Pr=i(sr,_r)).done||!i(sr,_r).done)throw new Ie("Expected sequence with length 2");V(Ze,{key:x(mr.value),value:x(Pr.value)})}else for(var ln in Ce)S(Ce,ln)&&V(Ze,{key:ln,value:x(Ce[ln])})},parseQuery:function(Ce){if(Ce)for(var Ze=this.entries,ut=Re(Ce,"&"),Tt=0,Pt,rr;Tt<ut.length;)Pt=ut[Tt++],Pt.length&&(rr=Re(Pt,"="),V(Ze,{key:Le(me(rr)),value:Le(ie(rr,"="))}))},serialize:function(){for(var Ce=this.entries,Ze=[],ut=0,Tt;ut<Ce.length;)Tt=Ce[ut++],V(Ze,Lt(Tt.key)+"="+Lt(Tt.value));return ie(Ze,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var mt=function(){m(this,St);var Ze=arguments.length>0?arguments[0]:void 0,ut=ne(this,new bt(Ze));o||(this.size=ut.entries.length)},St=mt.prototype;if(d(St,{append:function(Ze,ut){var Tt=D(this);$(arguments.length,2),V(Tt.entries,{key:x(Ze),value:x(ut)}),o||this.length++,Tt.updateURL()},delete:function(Ce){for(var Ze=D(this),ut=$(arguments.length,1),Tt=Ze.entries,Pt=x(Ce),rr=ut<2?void 0:arguments[1],_r=rr===void 0?rr:x(rr),sr=0;sr<Tt.length;){var mr=Tt[sr];if(mr.key===Pt&&(_r===void 0||mr.value===_r)){if(fe(Tt,sr,1),_r!==void 0)break}else sr++}o||(this.size=Tt.length),Ze.updateURL()},get:function(Ze){var ut=D(this).entries;$(arguments.length,1);for(var Tt=x(Ze),Pt=0;Pt<ut.length;Pt++)if(ut[Pt].key===Tt)return ut[Pt].value;return null},getAll:function(Ze){var ut=D(this).entries;$(arguments.length,1);for(var Tt=x(Ze),Pt=[],rr=0;rr<ut.length;rr++)ut[rr].key===Tt&&V(Pt,ut[rr].value);return Pt},has:function(Ze){for(var ut=D(this).entries,Tt=$(arguments.length,1),Pt=x(Ze),rr=Tt<2?void 0:arguments[1],_r=rr===void 0?rr:x(rr),sr=0;sr<ut.length;){var mr=ut[sr++];if(mr.key===Pt&&(_r===void 0||mr.value===_r))return!0}return!1},set:function(Ze,ut){var Tt=D(this);$(arguments.length,1);for(var Pt=Tt.entries,rr=!1,_r=x(Ze),sr=x(ut),mr=0,Pr;mr<Pt.length;mr++)Pr=Pt[mr],Pr.key===_r&&(rr?fe(Pt,mr--,1):(rr=!0,Pr.value=sr));rr||V(Pt,{key:_r,value:sr}),o||(this.size=Pt.length),Tt.updateURL()},sort:function(){var Ze=D(this);Y(Ze.entries,function(ut,Tt){return ut.key>Tt.key?1:-1}),Ze.updateURL()},forEach:function(Ze){for(var ut=D(this).entries,Tt=w(Ze,arguments.length>1?arguments[1]:void 0),Pt=0,rr;Pt<ut.length;)rr=ut[Pt++],Tt(rr.value,rr.key,this)},keys:function(){return new Qe(this,"keys")},values:function(){return new Qe(this,"values")},entries:function(){return new Qe(this,"entries")}},{enumerable:!0}),s(St,Q,St.entries,{name:"entries"}),s(St,"toString",function(){return D(this).serialize()},{enumerable:!0}),o&&c(St,"size",{get:function(){return D(this).entries.length},configurable:!0,enumerable:!0}),h(mt,K),e({global:!0,constructor:!0,forced:!u},{URLSearchParams:mt}),!u&&y(te)){var yt=a(be.has),at=a(be.set),$t=function(Ce){if(R(Ce)){var Ze=Ce.body,ut;if(b(Ze)===K)return ut=Ce.headers?new te(Ce.headers):new te,yt(ut,"content-type")||at(ut,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),O(Ce,{body:_(0,x(Ze)),headers:_(0,ut)})}return Ce};if(y(L)&&e({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(Ze){return L(Ze,arguments.length>1?$t(arguments[1]):{})}}),y(re)){var xt=function(Ze){return m(this,ce),new re(Ze,arguments.length>1?$t(arguments[1]):{})};ce.constructor=xt,xt.prototype=ce,e({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:xt})}}return VT={URLSearchParams:mt,getState:D},VT}var Dz;function zpe(){if(Dz)return Az;Dz=1,Pte();var e=Ve(),t=Ir(),r=E_(),n=er(),i=cs(),a=Kt(),o=Qn(),u=ta(),s=ds(),c=Sn(),d=gte(),h=Hee(),v=$s(),g=g_().codeAt,m=Hpe(),y=rn(),S=qo(),w=Fs(),b=Gte(),A=qi(),R=A.set,x=A.getterFor("URL"),O=b.URLSearchParams,_=b.getState,P=n.URL,N=n.TypeError,U=n.parseInt,$=Math.floor,B=Math.pow,Y=a("".charAt),Q=a(/./.exec),K=a([].join),ee=a(1.1.toString),ne=a([].pop),D=a([].push),I=a("".replace),L=a([].shift),re=a("".split),te=a("".slice),ce=a("".toLowerCase),be=a([].unshift),Ie="Invalid authority",je="Invalid scheme",z="Invalid host",k="Invalid port",q=/[a-z]/i,H=/[\d+-.a-z]/i,ie=/\d/,V=/^0x/i,Z=/^[0-7]+$/,me=/^\d+$/,fe=/^[\da-f]+$/i,Re=/[\0\t\n\r #%/:<>?@[\\\]^|]/,Se=/[\0\t\n\r #/:<>?@[\\\]^|]/,Oe=/^[\u0000-\u0020]+/,Me=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,de=/[\t\n\r]/g,Ee,_e=function(it){var Ft=re(it,"."),pt,Ke,At,pr,we,ct,nt;if(Ft.length&&Ft[Ft.length-1]===""&&Ft.length--,pt=Ft.length,pt>4)return it;for(Ke=[],At=0;At<pt;At++){if(pr=Ft[At],pr==="")return it;if(we=10,pr.length>1&&Y(pr,0)==="0"&&(we=Q(V,pr)?16:8,pr=te(pr,we===8?1:2)),pr==="")ct=0;else{if(!Q(we===10?me:we===8?Z:fe,pr))return it;ct=U(pr,we)}D(Ke,ct)}for(At=0;At<pt;At++)if(ct=Ke[At],At===pt-1){if(ct>=B(256,5-pt))return null}else if(ct>255)return null;for(nt=ne(Ke),At=0;At<Ke.length;At++)nt+=Ke[At]*B(256,3-At);return nt},xe=function(it){var Ft=[0,0,0,0,0,0,0,0],pt=0,Ke=null,At=0,pr,we,ct,nt,ft,kt,dt,Yt=function(){return Y(it,At)};if(Yt()===":"){if(Y(it,1)!==":")return;At+=2,pt++,Ke=pt}for(;Yt();){if(pt===8)return;if(Yt()===":"){if(Ke!==null)return;At++,pt++,Ke=pt;continue}for(pr=we=0;we<4&&Q(fe,Yt());)pr=pr*16+U(Yt(),16),At++,we++;if(Yt()==="."){if(we===0||(At-=we,pt>6))return;for(ct=0;Yt();){if(nt=null,ct>0)if(Yt()==="."&&ct<4)At++;else return;if(!Q(ie,Yt()))return;for(;Q(ie,Yt());){if(ft=U(Yt(),10),nt===null)nt=ft;else{if(nt===0)return;nt=nt*10+ft}if(nt>255)return;At++}Ft[pt]=Ft[pt]*256+nt,ct++,(ct===2||ct===4)&&pt++}if(ct!==4)return;break}else if(Yt()===":"){if(At++,!Yt())return}else if(Yt())return;Ft[pt++]=pr}if(Ke!==null)for(kt=pt-Ke,pt=7;pt!==0&&kt>0;)dt=Ft[pt],Ft[pt--]=Ft[Ke+kt-1],Ft[Ke+--kt]=dt;else if(pt!==8)return;return Ft},ke=function(it){for(var Ft=null,pt=1,Ke=null,At=0,pr=0;pr<8;pr++)it[pr]!==0?(At>pt&&(Ft=Ke,pt=At),Ke=null,At=0):(Ke===null&&(Ke=pr),++At);return At>pt?Ke:Ft},Le=function(it){var Ft,pt,Ke,At;if(typeof it=="number"){for(Ft=[],pt=0;pt<4;pt++)be(Ft,it%256),it=$(it/256);return K(Ft,".")}if(typeof it=="object"){for(Ft="",Ke=ke(it),pt=0;pt<8;pt++)At&&it[pt]===0||(At&&(At=!1),Ke===pt?(Ft+=pt?":":"::",At=!0):(Ft+=ee(it[pt],16),pt<7&&(Ft+=":")));return"["+Ft+"]"}return it},He={},_t=d({},He,{" ":1,'"':1,"<":1,">":1,"`":1}),jt=d({},_t,{"#":1,"?":1,"{":1,"}":1}),Lt=d({},jt,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Qe=function(it,Ft){var pt=g(it,0);return pt>32&&pt<127&&!c(Ft,it)?it:encodeURIComponent(it)},bt={ftp:21,file:null,http:80,https:443,ws:80,wss:443},mt=function(it,Ft){var pt;return it.length===2&&Q(q,Y(it,0))&&((pt=Y(it,1))===":"||!Ft&&pt==="|")},St=function(it){var Ft;return it.length>1&&mt(te(it,0,2))&&(it.length===2||(Ft=Y(it,2))==="/"||Ft==="\\"||Ft==="?"||Ft==="#")},yt=function(it){return it==="."||ce(it)==="%2e"},at=function(it){return it=ce(it),it===".."||it==="%2e."||it===".%2e"||it==="%2e%2e"},$t={},xt={},Ce={},Ze={},ut={},Tt={},Pt={},rr={},_r={},sr={},mr={},Pr={},ln={},di={},Nn={},Rn={},En={},Jn={},Zn={},Ci={},_i={},Vi=function(it,Ft,pt){var Ke=y(it),At,pr,we;if(Ft){if(pr=this.parse(Ke),pr)throw new N(pr);this.searchParams=null}else{if(pt!==void 0&&(At=new Vi(pt,!0)),pr=this.parse(Ke,null,At),pr)throw new N(pr);we=_(new O),we.bindURL(this),this.searchParams=we}};Vi.prototype={type:"URL",parse:function(it,Ft,pt){var Ke=this,At=Ft||$t,pr=0,we="",ct=!1,nt=!1,ft=!1,kt,dt,Yt,Dr;for(it=y(it),Ft||(Ke.scheme="",Ke.username="",Ke.password="",Ke.host=null,Ke.port=null,Ke.path=[],Ke.query=null,Ke.fragment=null,Ke.cannotBeABaseURL=!1,it=I(it,Oe,""),it=I(it,Me,"$1")),it=I(it,de,""),kt=h(it);pr<=kt.length;){switch(dt=kt[pr],At){case $t:if(dt&&Q(q,dt))we+=ce(dt),At=xt;else{if(Ft)return je;At=Ce;continue}break;case xt:if(dt&&(Q(H,dt)||dt==="+"||dt==="-"||dt==="."))we+=ce(dt);else if(dt===":"){if(Ft&&(Ke.isSpecial()!==c(bt,we)||we==="file"&&(Ke.includesCredentials()||Ke.port!==null)||Ke.scheme==="file"&&!Ke.host))return;if(Ke.scheme=we,Ft){Ke.isSpecial()&&bt[Ke.scheme]===Ke.port&&(Ke.port=null);return}we="",Ke.scheme==="file"?At=di:Ke.isSpecial()&&pt&&pt.scheme===Ke.scheme?At=Ze:Ke.isSpecial()?At=rr:kt[pr+1]==="/"?(At=ut,pr++):(Ke.cannotBeABaseURL=!0,D(Ke.path,""),At=Zn)}else{if(Ft)return je;we="",At=Ce,pr=0;continue}break;case Ce:if(!pt||pt.cannotBeABaseURL&&dt!=="#")return je;if(pt.cannotBeABaseURL&&dt==="#"){Ke.scheme=pt.scheme,Ke.path=v(pt.path),Ke.query=pt.query,Ke.fragment="",Ke.cannotBeABaseURL=!0,At=_i;break}At=pt.scheme==="file"?di:Tt;continue;case Ze:if(dt==="/"&&kt[pr+1]==="/")At=_r,pr++;else{At=Tt;continue}break;case ut:if(dt==="/"){At=sr;break}else{At=Jn;continue}case Tt:if(Ke.scheme=pt.scheme,dt===Ee)Ke.username=pt.username,Ke.password=pt.password,Ke.host=pt.host,Ke.port=pt.port,Ke.path=v(pt.path),Ke.query=pt.query;else if(dt==="/"||dt==="\\"&&Ke.isSpecial())At=Pt;else if(dt==="?")Ke.username=pt.username,Ke.password=pt.password,Ke.host=pt.host,Ke.port=pt.port,Ke.path=v(pt.path),Ke.query="",At=Ci;else if(dt==="#")Ke.username=pt.username,Ke.password=pt.password,Ke.host=pt.host,Ke.port=pt.port,Ke.path=v(pt.path),Ke.query=pt.query,Ke.fragment="",At=_i;else{Ke.username=pt.username,Ke.password=pt.password,Ke.host=pt.host,Ke.port=pt.port,Ke.path=v(pt.path),Ke.path.length--,At=Jn;continue}break;case Pt:if(Ke.isSpecial()&&(dt==="/"||dt==="\\"))At=_r;else if(dt==="/")At=sr;else{Ke.username=pt.username,Ke.password=pt.password,Ke.host=pt.host,Ke.port=pt.port,At=Jn;continue}break;case rr:if(At=_r,dt!=="/"||Y(we,pr+1)!=="/")continue;pr++;break;case _r:if(dt!=="/"&&dt!=="\\"){At=sr;continue}break;case sr:if(dt==="@"){ct&&(we="%40"+we),ct=!0,Yt=h(we);for(var Zr=0;Zr<Yt.length;Zr++){var en=Yt[Zr];if(en===":"&&!ft){ft=!0;continue}var pn=Qe(en,Lt);ft?Ke.password+=pn:Ke.username+=pn}we=""}else if(dt===Ee||dt==="/"||dt==="?"||dt==="#"||dt==="\\"&&Ke.isSpecial()){if(ct&&we==="")return Ie;pr-=h(we).length+1,we="",At=mr}else we+=dt;break;case mr:case Pr:if(Ft&&Ke.scheme==="file"){At=Rn;continue}else if(dt===":"&&!nt){if(we==="")return z;if(Dr=Ke.parseHost(we),Dr)return Dr;if(we="",At=ln,Ft===Pr)return}else if(dt===Ee||dt==="/"||dt==="?"||dt==="#"||dt==="\\"&&Ke.isSpecial()){if(Ke.isSpecial()&&we==="")return z;if(Ft&&we===""&&(Ke.includesCredentials()||Ke.port!==null))return;if(Dr=Ke.parseHost(we),Dr)return Dr;if(we="",At=En,Ft)return;continue}else dt==="["?nt=!0:dt==="]"&&(nt=!1),we+=dt;break;case ln:if(Q(ie,dt))we+=dt;else if(dt===Ee||dt==="/"||dt==="?"||dt==="#"||dt==="\\"&&Ke.isSpecial()||Ft){if(we!==""){var Mt=U(we,10);if(Mt>65535)return k;Ke.port=Ke.isSpecial()&&Mt===bt[Ke.scheme]?null:Mt,we=""}if(Ft)return;At=En;continue}else return k;break;case di:if(Ke.scheme="file",dt==="/"||dt==="\\")At=Nn;else if(pt&&pt.scheme==="file")switch(dt){case Ee:Ke.host=pt.host,Ke.path=v(pt.path),Ke.query=pt.query;break;case"?":Ke.host=pt.host,Ke.path=v(pt.path),Ke.query="",At=Ci;break;case"#":Ke.host=pt.host,Ke.path=v(pt.path),Ke.query=pt.query,Ke.fragment="",At=_i;break;default:St(K(v(kt,pr),""))||(Ke.host=pt.host,Ke.path=v(pt.path),Ke.shortenPath()),At=Jn;continue}else{At=Jn;continue}break;case Nn:if(dt==="/"||dt==="\\"){At=Rn;break}pt&&pt.scheme==="file"&&!St(K(v(kt,pr),""))&&(mt(pt.path[0],!0)?D(Ke.path,pt.path[0]):Ke.host=pt.host),At=Jn;continue;case Rn:if(dt===Ee||dt==="/"||dt==="\\"||dt==="?"||dt==="#"){if(!Ft&&mt(we))At=Jn;else if(we===""){if(Ke.host="",Ft)return;At=En}else{if(Dr=Ke.parseHost(we),Dr)return Dr;if(Ke.host==="localhost"&&(Ke.host=""),Ft)return;we="",At=En}continue}else we+=dt;break;case En:if(Ke.isSpecial()){if(At=Jn,dt!=="/"&&dt!=="\\")continue}else if(!Ft&&dt==="?")Ke.query="",At=Ci;else if(!Ft&&dt==="#")Ke.fragment="",At=_i;else if(dt!==Ee&&(At=Jn,dt!=="/"))continue;break;case Jn:if(dt===Ee||dt==="/"||dt==="\\"&&Ke.isSpecial()||!Ft&&(dt==="?"||dt==="#")){if(at(we)?(Ke.shortenPath(),dt!=="/"&&!(dt==="\\"&&Ke.isSpecial())&&D(Ke.path,"")):yt(we)?dt!=="/"&&!(dt==="\\"&&Ke.isSpecial())&&D(Ke.path,""):(Ke.scheme==="file"&&!Ke.path.length&&mt(we)&&(Ke.host&&(Ke.host=""),we=Y(we,0)+":"),D(Ke.path,we)),we="",Ke.scheme==="file"&&(dt===Ee||dt==="?"||dt==="#"))for(;Ke.path.length>1&&Ke.path[0]==="";)L(Ke.path);dt==="?"?(Ke.query="",At=Ci):dt==="#"&&(Ke.fragment="",At=_i)}else we+=Qe(dt,jt);break;case Zn:dt==="?"?(Ke.query="",At=Ci):dt==="#"?(Ke.fragment="",At=_i):dt!==Ee&&(Ke.path[0]+=Qe(dt,He));break;case Ci:!Ft&&dt==="#"?(Ke.fragment="",At=_i):dt!==Ee&&(dt==="'"&&Ke.isSpecial()?Ke.query+="%27":dt==="#"?Ke.query+="%23":Ke.query+=Qe(dt,He));break;case _i:dt!==Ee&&(Ke.fragment+=Qe(dt,_t));break}pr++}},parseHost:function(it){var Ft,pt,Ke;if(Y(it,0)==="["){if(Y(it,it.length-1)!=="]"||(Ft=xe(te(it,1,-1)),!Ft))return z;this.host=Ft}else if(this.isSpecial()){if(it=m(it),Q(Re,it)||(Ft=_e(it),Ft===null))return z;this.host=Ft}else{if(Q(Se,it))return z;for(Ft="",pt=h(it),Ke=0;Ke<pt.length;Ke++)Ft+=Qe(pt[Ke],He);this.host=Ft}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||this.scheme==="file"},includesCredentials:function(){return this.username!==""||this.password!==""},isSpecial:function(){return c(bt,this.scheme)},shortenPath:function(){var it=this.path,Ft=it.length;Ft&&(this.scheme!=="file"||Ft!==1||!mt(it[0],!0))&&it.length--},serialize:function(){var it=this,Ft=it.scheme,pt=it.username,Ke=it.password,At=it.host,pr=it.port,we=it.path,ct=it.query,nt=it.fragment,ft=Ft+":";return At!==null?(ft+="//",it.includesCredentials()&&(ft+=pt+(Ke?":"+Ke:"")+"@"),ft+=Le(At),pr!==null&&(ft+=":"+pr)):Ft==="file"&&(ft+="//"),ft+=it.cannotBeABaseURL?we[0]:we.length?"/"+K(we,"/"):"",ct!==null&&(ft+="?"+ct),nt!==null&&(ft+="#"+nt),ft},setHref:function(it){var Ft=this.parse(it);if(Ft)throw new N(Ft);this.searchParams.update()},getOrigin:function(){var it=this.scheme,Ft=this.port;if(it==="blob")try{return new Yi(it.path[0]).origin}catch{return"null"}return it==="file"||!this.isSpecial()?"null":it+"://"+Le(this.host)+(Ft!==null?":"+Ft:"")},getProtocol:function(){return this.scheme+":"},setProtocol:function(it){this.parse(y(it)+":",$t)},getUsername:function(){return this.username},setUsername:function(it){var Ft=h(y(it));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var pt=0;pt<Ft.length;pt++)this.username+=Qe(Ft[pt],Lt)}},getPassword:function(){return this.password},setPassword:function(it){var Ft=h(y(it));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var pt=0;pt<Ft.length;pt++)this.password+=Qe(Ft[pt],Lt)}},getHost:function(){var it=this.host,Ft=this.port;return it===null?"":Ft===null?Le(it):Le(it)+":"+Ft},setHost:function(it){this.cannotBeABaseURL||this.parse(it,mr)},getHostname:function(){var it=this.host;return it===null?"":Le(it)},setHostname:function(it){this.cannotBeABaseURL||this.parse(it,Pr)},getPort:function(){var it=this.port;return it===null?"":y(it)},setPort:function(it){this.cannotHaveUsernamePasswordPort()||(it=y(it),it===""?this.port=null:this.parse(it,ln))},getPathname:function(){var it=this.path;return this.cannotBeABaseURL?it[0]:it.length?"/"+K(it,"/"):""},setPathname:function(it){this.cannotBeABaseURL||(this.path=[],this.parse(it,En))},getSearch:function(){var it=this.query;return it?"?"+it:""},setSearch:function(it){it=y(it),it===""?this.query=null:(Y(it,0)==="?"&&(it=te(it,1)),this.query="",this.parse(it,Ci)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var it=this.fragment;return it?"#"+it:""},setHash:function(it){if(it=y(it),it===""){this.fragment=null;return}Y(it,0)==="#"&&(it=te(it,1)),this.fragment="",this.parse(it,_i)},update:function(){this.query=this.searchParams.serialize()||null}};var Yi=function(Ft){var pt=s(this,Ln),Ke=w(arguments.length,1)>1?arguments[1]:void 0,At=R(pt,new Vi(Ft,!1,Ke));t||(pt.href=At.serialize(),pt.origin=At.getOrigin(),pt.protocol=At.getProtocol(),pt.username=At.getUsername(),pt.password=At.getPassword(),pt.host=At.getHost(),pt.hostname=At.getHostname(),pt.port=At.getPort(),pt.pathname=At.getPathname(),pt.search=At.getSearch(),pt.searchParams=At.getSearchParams(),pt.hash=At.getHash())},Ln=Yi.prototype,oi=function(it,Ft){return{get:function(){return x(this)[it]()},set:Ft&&function(pt){return x(this)[Ft](pt)},configurable:!0,enumerable:!0}};if(t&&(u(Ln,"href",oi("serialize","setHref")),u(Ln,"origin",oi("getOrigin")),u(Ln,"protocol",oi("getProtocol","setProtocol")),u(Ln,"username",oi("getUsername","setUsername")),u(Ln,"password",oi("getPassword","setPassword")),u(Ln,"host",oi("getHost","setHost")),u(Ln,"hostname",oi("getHostname","setHostname")),u(Ln,"port",oi("getPort","setPort")),u(Ln,"pathname",oi("getPathname","setPathname")),u(Ln,"search",oi("getSearch","setSearch")),u(Ln,"searchParams",oi("getSearchParams")),u(Ln,"hash",oi("getHash","setHash"))),o(Ln,"toJSON",function(){return x(this).serialize()},{enumerable:!0}),o(Ln,"toString",function(){return x(this).serialize()},{enumerable:!0}),P){var Di=P.createObjectURL,Ai=P.revokeObjectURL;Di&&o(Yi,"createObjectURL",i(Di,P)),Ai&&o(Yi,"revokeObjectURL",i(Ai,P))}return S(Yi,"URL"),e({global:!0,constructor:!0,forced:!r,sham:!t},{URL:Yi}),Az}var kz;function Wpe(){return kz||(kz=1,zpe()),Cz}var Nz={},Lz;function Gpe(){if(Lz)return Nz;Lz=1;var e=Ve(),t=yn(),r=zt(),n=Fs(),i=rn(),a=E_(),o=t("URL"),u=a&&r(function(){o.canParse()}),s=r(function(){return o.canParse.length!==1});return e({target:"URL",stat:!0,forced:!u||s},{canParse:function(d){var h=n(arguments.length,1),v=i(d),g=h<2||arguments[1]===void 0?void 0:i(arguments[1]);try{return!!new o(v,g)}catch{return!1}}}),Nz}var Mz={},$z;function Ype(){if($z)return Mz;$z=1;var e=Ve(),t=yn(),r=Fs(),n=rn(),i=E_(),a=t("URL");return e({target:"URL",stat:!0,forced:!i},{parse:function(u){var s=r(arguments.length,1),c=n(u),d=s<2||arguments[1]===void 0?void 0:n(arguments[1]);try{return new a(c,d)}catch{return null}}}),Mz}var Fz={},jz;function Kpe(){if(jz)return Fz;jz=1;var e=Ve(),t=Sr();return e({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return t(URL.prototype.toString,this)}}),Fz}var Uz={},qz;function Xpe(){return qz||(qz=1,Gte()),Uz}var Vz={},Bz;function Qpe(){if(Bz)return Vz;Bz=1;var e=Qn(),t=Kt(),r=rn(),n=Fs(),i=URLSearchParams,a=i.prototype,o=t(a.append),u=t(a.delete),s=t(a.forEach),c=t([].push),d=new i("a=1&a=2&b=3");return d.delete("a",1),d.delete("b",void 0),d+""!="a=2"&&e(a,"delete",function(h){var v=arguments.length,g=v<2?void 0:arguments[1];if(v&&g===void 0)return u(this,h);var m=[];s(this,function(O,_){c(m,{key:_,value:O})}),n(v,1);for(var y=r(h),S=r(g),w=0,b=0,A=!1,R=m.length,x;w<R;)x=m[w++],A||x.key===y?(A=!0,u(this,x.key)):b++;for(;b<R;)x=m[b++],x.key===y&&x.value===S||o(this,x.key,x.value)},{enumerable:!0,unsafe:!0}),Vz}var Hz={},zz;function Jpe(){if(zz)return Hz;zz=1;var e=Qn(),t=Kt(),r=rn(),n=Fs(),i=URLSearchParams,a=i.prototype,o=t(a.getAll),u=t(a.has),s=new i("a=1");return(s.has("a",2)||!s.has("a",void 0))&&e(a,"has",function(d){var h=arguments.length,v=h<2?void 0:arguments[1];if(h&&v===void 0)return u(this,d);var g=o(this,d);n(h,1);for(var m=r(v),y=0;y<g.length;)if(g[y++]===m)return!0;return!1},{enumerable:!0,unsafe:!0}),Hz}var Wz={},Gz;function Zpe(){if(Gz)return Wz;Gz=1;var e=Ir(),t=Kt(),r=ta(),n=URLSearchParams.prototype,i=t(n.forEach);return e&&!("size"in n)&&r(n,"size",{get:function(){var o=0;return i(this,function(){o++}),o},configurable:!0,enumerable:!0}),Wz}var BT,Yz;function ege(){return Yz||(Yz=1,Ple(),Dle(),kle(),Nle(),Lle(),Mle(),$le(),Fle(),jle(),Ule(),qle(),Vle(),Ble(),Hle(),zle(),Wle(),Gle(),Yle(),Kle(),Xle(),Jle(),Zle(),ece(),tce(),rce(),nce(),ice(),ace(),oce(),sce(),uce(),lce(),cce(),fce(),dce(),hce(),vce(),pce(),gce(),mce(),Qy(),yce(),_ce(),Sce(),Ece(),wce(),bce(),Tce(),Rce(),xce(),Cce(),Ace(),Oce(),Ice(),Pce(),Dce(),kce(),Nce(),Lce(),Mce(),$ce(),jce(),Uce(),qce(),Bce(),Hce(),Wce(),Gce(),Yce(),Kce(),Xce(),Qce(),Jce(),Zce(),tfe(),rfe(),ife(),afe(),ofe(),sfe(),ufe(),lfe(),cfe(),ffe(),dfe(),hfe(),pfe(),gfe(),mfe(),yfe(),_fe(),Sfe(),Efe(),wfe(),bfe(),Tfe(),Rfe(),xfe(),kee(),Cfe(),Ofe(),Ife(),Pfe(),Dfe(),kfe(),Nfe(),Lfe(),Mfe(),$fe(),Ffe(),jfe(),Ufe(),qfe(),Vfe(),Bfe(),Hfe(),zfe(),Wfe(),Gfe(),Yfe(),Kfe(),Xfe(),Qfe(),Jfe(),ede(),tde(),rde(),nde(),ide(),ade(),ode(),sde(),ude(),lde(),cde(),fde(),dde(),hde(),vde(),pde(),gde(),mde(),yde(),_de(),Sde(),Ede(),wde(),bde(),Tde(),Rde(),xde(),Cde(),Ade(),Ode(),Ide(),Pde(),Dde(),kde(),Nde(),Lde(),Mde(),Fde(),jde(),Ude(),qde(),Qde(),Jde(),Zde(),ehe(),the(),rhe(),she(),uhe(),lhe(),che(),fhe(),dhe(),hhe(),vhe(),phe(),ghe(),mhe(),yhe(),_he(),She(),Ehe(),whe(),bhe(),The(),Rhe(),xhe(),ZP(),Che(),Ahe(),Ohe(),Ihe(),Dhe(),Nhe(),Mhe(),Fhe(),Uhe(),Vhe(),Hhe(),Whe(),Ghe(),Yhe(),Khe(),Ite(),Xhe(),Qhe(),Pte(),Jhe(),Zhe(),eve(),tve(),rve(),nve(),ive(),ave(),ove(),sve(),uve(),lve(),cve(),fve(),hve(),pve(),gve(),mve(),yve(),_ve(),Sve(),Eve(),wve(),bve(),Tve(),Rve(),xve(),Cve(),Ave(),Ive(),Pve(),Dve(),kve(),Nve(),Lve(),Mve(),$ve(),Fve(),jve(),Uve(),qve(),Vve(),Hve(),zve(),Wve(),Gve(),Yve(),Kve(),Xve(),Qve(),Jve(),Zve(),epe(),tpe(),rpe(),npe(),ipe(),ape(),ope(),spe(),upe(),lpe(),cpe(),fpe(),dpe(),hpe(),vpe(),ppe(),gpe(),mpe(),ype(),_pe(),Spe(),Epe(),wpe(),bpe(),Rpe(),Cpe(),Ape(),Ope(),Ipe(),Ppe(),Dpe(),kpe(),Npe(),$pe(),Fpe(),jpe(),Upe(),Bpe(),Wpe(),Gpe(),Ype(),Kpe(),Xpe(),Qpe(),Jpe(),Zpe(),BT=Wy()),BT}ege();var po="top",ns="bottom",is="right",go="left",w_="auto",mh=[po,ns,is,go],tf="start",Bd="end",Yte="clippingParents",sD="viewport",bd="popper",Kte="reference",dI=mh.reduce(function(e,t){return e.concat([t+"-"+tf,t+"-"+Bd])},[]),uD=[].concat(mh,[w_]).reduce(function(e,t){return e.concat([t,t+"-"+tf,t+"-"+Bd])},[]),Xte="beforeRead",Qte="read",Jte="afterRead",Zte="beforeMain",ere="main",tre="afterMain",rre="beforeWrite",nre="write",ire="afterWrite",are=[Xte,Qte,Jte,Zte,ere,tre,rre,nre,ire];function xu(e){return e?(e.nodeName||"").toLowerCase():null}function as(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function rf(e){var t=as(e).Element;return e instanceof t||e instanceof Element}function ks(e){var t=as(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function lD(e){if(typeof ShadowRoot>"u")return!1;var t=as(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function tge(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},i=t.attributes[r]||{},a=t.elements[r];!ks(a)||!xu(a)||(Object.assign(a.style,n),Object.keys(i).forEach(function(o){var u=i[o];u===!1?a.removeAttribute(o):a.setAttribute(o,u===!0?"":u)}))})}function rge(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var i=t.elements[n],a=t.attributes[n]||{},o=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),u=o.reduce(function(s,c){return s[c]="",s},{});!ks(i)||!xu(i)||(Object.assign(i.style,u),Object.keys(a).forEach(function(s){i.removeAttribute(s)}))})}}const cD={name:"applyStyles",enabled:!0,phase:"write",fn:tge,effect:rge,requires:["computeStyles"]};function bu(e){return e.split("-")[0]}var Qc=Math.max,Zm=Math.min,Hd=Math.round;function hI(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function ore(){return!/^((?!chrome|android).)*safari/i.test(hI())}function zd(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),i=1,a=1;t&&ks(e)&&(i=e.offsetWidth>0&&Hd(n.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Hd(n.height)/e.offsetHeight||1);var o=rf(e)?as(e):window,u=o.visualViewport,s=!ore()&&r,c=(n.left+(s&&u?u.offsetLeft:0))/i,d=(n.top+(s&&u?u.offsetTop:0))/a,h=n.width/i,v=n.height/a;return{width:h,height:v,top:d,right:c+h,bottom:d+v,left:c,x:c,y:d}}function fD(e){var t=zd(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function sre(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&lD(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function fl(e){return as(e).getComputedStyle(e)}function nge(e){return["table","td","th"].indexOf(xu(e))>=0}function uc(e){return((rf(e)?e.ownerDocument:e.document)||window.document).documentElement}function b_(e){return xu(e)==="html"?e:e.assignedSlot||e.parentNode||(lD(e)?e.host:null)||uc(e)}function Kz(e){return!ks(e)||fl(e).position==="fixed"?null:e.offsetParent}function ige(e){var t=/firefox/i.test(hI()),r=/Trident/i.test(hI());if(r&&ks(e)){var n=fl(e);if(n.position==="fixed")return null}var i=b_(e);for(lD(i)&&(i=i.host);ks(i)&&["html","body"].indexOf(xu(i))<0;){var a=fl(i);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return i;i=i.parentNode}return null}function Cp(e){for(var t=as(e),r=Kz(e);r&&nge(r)&&fl(r).position==="static";)r=Kz(r);return r&&(xu(r)==="html"||xu(r)==="body"&&fl(r).position==="static")?t:r||ige(e)||t}function dD(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Iv(e,t,r){return Qc(e,Zm(t,r))}function age(e,t,r){var n=Iv(e,t,r);return n>r?r:n}function ure(){return{top:0,right:0,bottom:0,left:0}}function lre(e){return Object.assign({},ure(),e)}function cre(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var oge=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,lre(typeof t!="number"?t:cre(t,mh))};function sge(e){var t,r=e.state,n=e.name,i=e.options,a=r.elements.arrow,o=r.modifiersData.popperOffsets,u=bu(r.placement),s=dD(u),c=[go,is].indexOf(u)>=0,d=c?"height":"width";if(!(!a||!o)){var h=oge(i.padding,r),v=fD(a),g=s==="y"?po:go,m=s==="y"?ns:is,y=r.rects.reference[d]+r.rects.reference[s]-o[s]-r.rects.popper[d],S=o[s]-r.rects.reference[s],w=Cp(a),b=w?s==="y"?w.clientHeight||0:w.clientWidth||0:0,A=y/2-S/2,R=h[g],x=b-v[d]-h[m],O=b/2-v[d]/2+A,_=Iv(R,O,x),P=s;r.modifiersData[n]=(t={},t[P]=_,t.centerOffset=_-O,t)}}function uge(e){var t=e.state,r=e.options,n=r.element,i=n===void 0?"[data-popper-arrow]":n;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||sre(t.elements.popper,i)&&(t.elements.arrow=i))}const hD={name:"arrow",enabled:!0,phase:"main",fn:sge,effect:uge,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Wd(e){return e.split("-")[1]}var lge={top:"auto",right:"auto",bottom:"auto",left:"auto"};function cge(e,t){var r=e.x,n=e.y,i=t.devicePixelRatio||1;return{x:Hd(r*i)/i||0,y:Hd(n*i)/i||0}}function Xz(e){var t,r=e.popper,n=e.popperRect,i=e.placement,a=e.variation,o=e.offsets,u=e.position,s=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,h=e.isFixed,v=o.x,g=v===void 0?0:v,m=o.y,y=m===void 0?0:m,S=typeof d=="function"?d({x:g,y}):{x:g,y};g=S.x,y=S.y;var w=o.hasOwnProperty("x"),b=o.hasOwnProperty("y"),A=go,R=po,x=window;if(c){var O=Cp(r),_="clientHeight",P="clientWidth";if(O===as(r)&&(O=uc(r),fl(O).position!=="static"&&u==="absolute"&&(_="scrollHeight",P="scrollWidth")),O=O,i===po||(i===go||i===is)&&a===Bd){R=ns;var N=h&&O===x&&x.visualViewport?x.visualViewport.height:O[_];y-=N-n.height,y*=s?1:-1}if(i===go||(i===po||i===ns)&&a===Bd){A=is;var U=h&&O===x&&x.visualViewport?x.visualViewport.width:O[P];g-=U-n.width,g*=s?1:-1}}var $=Object.assign({position:u},c&&lge),B=d===!0?cge({x:g,y},as(r)):{x:g,y};if(g=B.x,y=B.y,s){var Y;return Object.assign({},$,(Y={},Y[R]=b?"0":"",Y[A]=w?"0":"",Y.transform=(x.devicePixelRatio||1)<=1?"translate("+g+"px, "+y+"px)":"translate3d("+g+"px, "+y+"px, 0)",Y))}return Object.assign({},$,(t={},t[R]=b?y+"px":"",t[A]=w?g+"px":"",t.transform="",t))}function fge(e){var t=e.state,r=e.options,n=r.gpuAcceleration,i=n===void 0?!0:n,a=r.adaptive,o=a===void 0?!0:a,u=r.roundOffsets,s=u===void 0?!0:u,c={placement:bu(t.placement),variation:Wd(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Xz(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:s})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Xz(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const T_={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:fge,data:{}};var Gg={passive:!0};function dge(e){var t=e.state,r=e.instance,n=e.options,i=n.scroll,a=i===void 0?!0:i,o=n.resize,u=o===void 0?!0:o,s=as(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach(function(d){d.addEventListener("scroll",r.update,Gg)}),u&&s.addEventListener("resize",r.update,Gg),function(){a&&c.forEach(function(d){d.removeEventListener("scroll",r.update,Gg)}),u&&s.removeEventListener("resize",r.update,Gg)}}const R_={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:dge,data:{}};var hge={left:"right",right:"left",bottom:"top",top:"bottom"};function Tm(e){return e.replace(/left|right|bottom|top/g,function(t){return hge[t]})}var vge={start:"end",end:"start"};function Qz(e){return e.replace(/start|end/g,function(t){return vge[t]})}function vD(e){var t=as(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function pD(e){return zd(uc(e)).left+vD(e).scrollLeft}function pge(e,t){var r=as(e),n=uc(e),i=r.visualViewport,a=n.clientWidth,o=n.clientHeight,u=0,s=0;if(i){a=i.width,o=i.height;var c=ore();(c||!c&&t==="fixed")&&(u=i.offsetLeft,s=i.offsetTop)}return{width:a,height:o,x:u+pD(e),y:s}}function gge(e){var t,r=uc(e),n=vD(e),i=(t=e.ownerDocument)==null?void 0:t.body,a=Qc(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=Qc(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),u=-n.scrollLeft+pD(e),s=-n.scrollTop;return fl(i||r).direction==="rtl"&&(u+=Qc(r.clientWidth,i?i.clientWidth:0)-a),{width:a,height:o,x:u,y:s}}function gD(e){var t=fl(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function fre(e){return["html","body","#document"].indexOf(xu(e))>=0?e.ownerDocument.body:ks(e)&&gD(e)?e:fre(b_(e))}function Pv(e,t){var r;t===void 0&&(t=[]);var n=fre(e),i=n===((r=e.ownerDocument)==null?void 0:r.body),a=as(n),o=i?[a].concat(a.visualViewport||[],gD(n)?n:[]):n,u=t.concat(o);return i?u:u.concat(Pv(b_(o)))}function vI(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function mge(e,t){var r=zd(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function Jz(e,t,r){return t===sD?vI(pge(e,r)):rf(t)?mge(t,r):vI(gge(uc(e)))}function yge(e){var t=Pv(b_(e)),r=["absolute","fixed"].indexOf(fl(e).position)>=0,n=r&&ks(e)?Cp(e):e;return rf(n)?t.filter(function(i){return rf(i)&&sre(i,n)&&xu(i)!=="body"}):[]}function _ge(e,t,r,n){var i=t==="clippingParents"?yge(e):[].concat(t),a=[].concat(i,[r]),o=a[0],u=a.reduce(function(s,c){var d=Jz(e,c,n);return s.top=Qc(d.top,s.top),s.right=Zm(d.right,s.right),s.bottom=Zm(d.bottom,s.bottom),s.left=Qc(d.left,s.left),s},Jz(e,o,n));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function dre(e){var t=e.reference,r=e.element,n=e.placement,i=n?bu(n):null,a=n?Wd(n):null,o=t.x+t.width/2-r.width/2,u=t.y+t.height/2-r.height/2,s;switch(i){case po:s={x:o,y:t.y-r.height};break;case ns:s={x:o,y:t.y+t.height};break;case is:s={x:t.x+t.width,y:u};break;case go:s={x:t.x-r.width,y:u};break;default:s={x:t.x,y:t.y}}var c=i?dD(i):null;if(c!=null){var d=c==="y"?"height":"width";switch(a){case tf:s[c]=s[c]-(t[d]/2-r[d]/2);break;case Bd:s[c]=s[c]+(t[d]/2-r[d]/2);break}}return s}function Gd(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=n===void 0?e.placement:n,a=r.strategy,o=a===void 0?e.strategy:a,u=r.boundary,s=u===void 0?Yte:u,c=r.rootBoundary,d=c===void 0?sD:c,h=r.elementContext,v=h===void 0?bd:h,g=r.altBoundary,m=g===void 0?!1:g,y=r.padding,S=y===void 0?0:y,w=lre(typeof S!="number"?S:cre(S,mh)),b=v===bd?Kte:bd,A=e.rects.popper,R=e.elements[m?b:v],x=_ge(rf(R)?R:R.contextElement||uc(e.elements.popper),s,d,o),O=zd(e.elements.reference),_=dre({reference:O,element:A,placement:i}),P=vI(Object.assign({},A,_)),N=v===bd?P:O,U={top:x.top-N.top+w.top,bottom:N.bottom-x.bottom+w.bottom,left:x.left-N.left+w.left,right:N.right-x.right+w.right},$=e.modifiersData.offset;if(v===bd&&$){var B=$[i];Object.keys(U).forEach(function(Y){var Q=[is,ns].indexOf(Y)>=0?1:-1,K=[po,ns].indexOf(Y)>=0?"y":"x";U[Y]+=B[K]*Q})}return U}function Sge(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=r.boundary,a=r.rootBoundary,o=r.padding,u=r.flipVariations,s=r.allowedAutoPlacements,c=s===void 0?uD:s,d=Wd(n),h=d?u?dI:dI.filter(function(m){return Wd(m)===d}):mh,v=h.filter(function(m){return c.indexOf(m)>=0});v.length===0&&(v=h);var g=v.reduce(function(m,y){return m[y]=Gd(e,{placement:y,boundary:i,rootBoundary:a,padding:o})[bu(y)],m},{});return Object.keys(g).sort(function(m,y){return g[m]-g[y]})}function Ege(e){if(bu(e)===w_)return[];var t=Tm(e);return[Qz(e),t,Qz(t)]}function wge(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var i=r.mainAxis,a=i===void 0?!0:i,o=r.altAxis,u=o===void 0?!0:o,s=r.fallbackPlacements,c=r.padding,d=r.boundary,h=r.rootBoundary,v=r.altBoundary,g=r.flipVariations,m=g===void 0?!0:g,y=r.allowedAutoPlacements,S=t.options.placement,w=bu(S),b=w===S,A=s||(b||!m?[Tm(S)]:Ege(S)),R=[S].concat(A).reduce(function(be,Ie){return be.concat(bu(Ie)===w_?Sge(t,{placement:Ie,boundary:d,rootBoundary:h,padding:c,flipVariations:m,allowedAutoPlacements:y}):Ie)},[]),x=t.rects.reference,O=t.rects.popper,_=new Map,P=!0,N=R[0],U=0;U<R.length;U++){var $=R[U],B=bu($),Y=Wd($)===tf,Q=[po,ns].indexOf(B)>=0,K=Q?"width":"height",ee=Gd(t,{placement:$,boundary:d,rootBoundary:h,altBoundary:v,padding:c}),ne=Q?Y?is:go:Y?ns:po;x[K]>O[K]&&(ne=Tm(ne));var D=Tm(ne),I=[];if(a&&I.push(ee[B]<=0),u&&I.push(ee[ne]<=0,ee[D]<=0),I.every(function(be){return be})){N=$,P=!1;break}_.set($,I)}if(P)for(var L=m?3:1,re=function(Ie){var je=R.find(function(z){var k=_.get(z);if(k)return k.slice(0,Ie).every(function(q){return q})});if(je)return N=je,"break"},te=L;te>0;te--){var ce=re(te);if(ce==="break")break}t.placement!==N&&(t.modifiersData[n]._skip=!0,t.placement=N,t.reset=!0)}}const mD={name:"flip",enabled:!0,phase:"main",fn:wge,requiresIfExists:["offset"],data:{_skip:!1}};function Zz(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function eW(e){return[po,is,ns,go].some(function(t){return e[t]>=0})}function bge(e){var t=e.state,r=e.name,n=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,o=Gd(t,{elementContext:"reference"}),u=Gd(t,{altBoundary:!0}),s=Zz(o,n),c=Zz(u,i,a),d=eW(s),h=eW(c);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":h})}const yD={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:bge};function Tge(e,t,r){var n=bu(e),i=[go,po].indexOf(n)>=0?-1:1,a=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,o=a[0],u=a[1];return o=o||0,u=(u||0)*i,[go,is].indexOf(n)>=0?{x:u,y:o}:{x:o,y:u}}function Rge(e){var t=e.state,r=e.options,n=e.name,i=r.offset,a=i===void 0?[0,0]:i,o=uD.reduce(function(d,h){return d[h]=Tge(h,t.rects,a),d},{}),u=o[t.placement],s=u.x,c=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=o}const _D={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Rge};function xge(e){var t=e.state,r=e.name;t.modifiersData[r]=dre({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const x_={name:"popperOffsets",enabled:!0,phase:"read",fn:xge,data:{}};function Cge(e){return e==="x"?"y":"x"}function Age(e){var t=e.state,r=e.options,n=e.name,i=r.mainAxis,a=i===void 0?!0:i,o=r.altAxis,u=o===void 0?!1:o,s=r.boundary,c=r.rootBoundary,d=r.altBoundary,h=r.padding,v=r.tether,g=v===void 0?!0:v,m=r.tetherOffset,y=m===void 0?0:m,S=Gd(t,{boundary:s,rootBoundary:c,padding:h,altBoundary:d}),w=bu(t.placement),b=Wd(t.placement),A=!b,R=dD(w),x=Cge(R),O=t.modifiersData.popperOffsets,_=t.rects.reference,P=t.rects.popper,N=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,U=typeof N=="number"?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),$=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,B={x:0,y:0};if(O){if(a){var Y,Q=R==="y"?po:go,K=R==="y"?ns:is,ee=R==="y"?"height":"width",ne=O[R],D=ne+S[Q],I=ne-S[K],L=g?-P[ee]/2:0,re=b===tf?_[ee]:P[ee],te=b===tf?-P[ee]:-_[ee],ce=t.elements.arrow,be=g&&ce?fD(ce):{width:0,height:0},Ie=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:ure(),je=Ie[Q],z=Ie[K],k=Iv(0,_[ee],be[ee]),q=A?_[ee]/2-L-k-je-U.mainAxis:re-k-je-U.mainAxis,H=A?-_[ee]/2+L+k+z+U.mainAxis:te+k+z+U.mainAxis,ie=t.elements.arrow&&Cp(t.elements.arrow),V=ie?R==="y"?ie.clientTop||0:ie.clientLeft||0:0,Z=(Y=$==null?void 0:$[R])!=null?Y:0,me=ne+q-Z-V,fe=ne+H-Z,Re=Iv(g?Zm(D,me):D,ne,g?Qc(I,fe):I);O[R]=Re,B[R]=Re-ne}if(u){var Se,Oe=R==="x"?po:go,Me=R==="x"?ns:is,de=O[x],Ee=x==="y"?"height":"width",_e=de+S[Oe],xe=de-S[Me],ke=[po,go].indexOf(w)!==-1,Le=(Se=$==null?void 0:$[x])!=null?Se:0,He=ke?_e:de-_[Ee]-P[Ee]-Le+U.altAxis,_t=ke?de+_[Ee]+P[Ee]-Le-U.altAxis:xe,jt=g&&ke?age(He,de,_t):Iv(g?He:_e,de,g?_t:xe);O[x]=jt,B[x]=jt-de}t.modifiersData[n]=B}}const SD={name:"preventOverflow",enabled:!0,phase:"main",fn:Age,requiresIfExists:["offset"]};function Oge(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Ige(e){return e===as(e)||!ks(e)?vD(e):Oge(e)}function Pge(e){var t=e.getBoundingClientRect(),r=Hd(t.width)/e.offsetWidth||1,n=Hd(t.height)/e.offsetHeight||1;return r!==1||n!==1}function Dge(e,t,r){r===void 0&&(r=!1);var n=ks(t),i=ks(t)&&Pge(t),a=uc(t),o=zd(e,i,r),u={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(n||!n&&!r)&&((xu(t)!=="body"||gD(a))&&(u=Ige(t)),ks(t)?(s=zd(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):a&&(s.x=pD(a))),{x:o.left+u.scrollLeft-s.x,y:o.top+u.scrollTop-s.y,width:o.width,height:o.height}}function kge(e){var t=new Map,r=new Set,n=[];e.forEach(function(a){t.set(a.name,a)});function i(a){r.add(a.name);var o=[].concat(a.requires||[],a.requiresIfExists||[]);o.forEach(function(u){if(!r.has(u)){var s=t.get(u);s&&i(s)}}),n.push(a)}return e.forEach(function(a){r.has(a.name)||i(a)}),n}function Nge(e){var t=kge(e);return are.reduce(function(r,n){return r.concat(t.filter(function(i){return i.phase===n}))},[])}function Lge(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Mge(e){var t=e.reduce(function(r,n){var i=r[n.name];return r[n.name]=i?Object.assign({},i,n,{options:Object.assign({},i.options,n.options),data:Object.assign({},i.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var tW={placement:"bottom",modifiers:[],strategy:"absolute"};function rW(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function Ap(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,i=t.defaultOptions,a=i===void 0?tW:i;return function(u,s,c){c===void 0&&(c=a);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},tW,a),modifiersData:{},elements:{reference:u,popper:s},attributes:{},styles:{}},h=[],v=!1,g={state:d,setOptions:function(w){var b=typeof w=="function"?w(d.options):w;y(),d.options=Object.assign({},a,d.options,b),d.scrollParents={reference:rf(u)?Pv(u):u.contextElement?Pv(u.contextElement):[],popper:Pv(s)};var A=Nge(Mge([].concat(n,d.options.modifiers)));return d.orderedModifiers=A.filter(function(R){return R.enabled}),m(),g.update()},forceUpdate:function(){if(!v){var w=d.elements,b=w.reference,A=w.popper;if(rW(b,A)){d.rects={reference:Dge(b,Cp(A),d.options.strategy==="fixed"),popper:fD(A)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(U){return d.modifiersData[U.name]=Object.assign({},U.data)});for(var R=0;R<d.orderedModifiers.length;R++){if(d.reset===!0){d.reset=!1,R=-1;continue}var x=d.orderedModifiers[R],O=x.fn,_=x.options,P=_===void 0?{}:_,N=x.name;typeof O=="function"&&(d=O({state:d,options:P,name:N,instance:g})||d)}}}},update:Lge(function(){return new Promise(function(S){g.forceUpdate(),S(d)})}),destroy:function(){y(),v=!0}};if(!rW(u,s))return g;g.setOptions(c).then(function(S){!v&&c.onFirstUpdate&&c.onFirstUpdate(S)});function m(){d.orderedModifiers.forEach(function(S){var w=S.name,b=S.options,A=b===void 0?{}:b,R=S.effect;if(typeof R=="function"){var x=R({state:d,name:w,instance:g,options:A}),O=function(){};h.push(x||O)}})}function y(){h.forEach(function(S){return S()}),h=[]}return g}}var $ge=Ap(),Fge=[R_,x_,T_,cD],jge=Ap({defaultModifiers:Fge}),Uge=[R_,x_,T_,cD,_D,mD,SD,hD,yD],ED=Ap({defaultModifiers:Uge});const hre=Object.freeze(Object.defineProperty({__proto__:null,afterMain:tre,afterRead:Jte,afterWrite:ire,applyStyles:cD,arrow:hD,auto:w_,basePlacements:mh,beforeMain:Zte,beforeRead:Xte,beforeWrite:rre,bottom:ns,clippingParents:Yte,computeStyles:T_,createPopper:ED,createPopperBase:$ge,createPopperLite:jge,detectOverflow:Gd,end:Bd,eventListeners:R_,flip:mD,hide:yD,left:go,main:ere,modifierPhases:are,offset:_D,placements:uD,popper:bd,popperGenerator:Ap,popperOffsets:x_,preventOverflow:SD,read:Qte,reference:Kte,right:is,start:tf,top:po,variationPlacements:dI,viewport:sD,write:nre},Symbol.toStringTag,{value:"Module"}));/*!
7
- * Bootstrap v5.3.2 (https://getbootstrap.com/)
8
- * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
9
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
10
- */const $l=new Map,HT={set(e,t,r){$l.has(e)||$l.set(e,new Map);const n=$l.get(e);if(!n.has(t)&&n.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`);return}n.set(t,r)},get(e,t){return $l.has(e)&&$l.get(e).get(t)||null},remove(e,t){if(!$l.has(e))return;const r=$l.get(e);r.delete(t),r.size===0&&$l.delete(e)}},qge=1e6,Vge=1e3,pI="transitionend",vre=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(t,r)=>`#${CSS.escape(r)}`)),e),Bge=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),Hge=e=>{do e+=Math.floor(Math.random()*qge);while(document.getElementById(e));return e},zge=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:r}=window.getComputedStyle(e);const n=Number.parseFloat(t),i=Number.parseFloat(r);return!n&&!i?0:(t=t.split(",")[0],r=r.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(r))*Vge)},pre=e=>{e.dispatchEvent(new Event(pI))},al=e=>!e||typeof e!="object"?!1:(typeof e.jquery<"u"&&(e=e[0]),typeof e.nodeType<"u"),tc=e=>al(e)?e.jquery?e[0]:e:typeof e=="string"&&e.length>0?document.querySelector(vre(e)):null,yh=e=>{if(!al(e)||e.getClientRects().length===0)return!1;const t=getComputedStyle(e).getPropertyValue("visibility")==="visible",r=e.closest("details:not([open])");if(!r)return t;if(r!==e){const n=e.closest("summary");if(n&&n.parentNode!==r||n===null)return!1}return t},rc=e=>!e||e.nodeType!==Node.ELEMENT_NODE||e.classList.contains("disabled")?!0:typeof e.disabled<"u"?e.disabled:e.hasAttribute("disabled")&&e.getAttribute("disabled")!=="false",gre=e=>{if(!document.documentElement.attachShadow)return null;if(typeof e.getRootNode=="function"){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?gre(e.parentNode):null},ey=()=>{},Op=e=>{e.offsetHeight},mre=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,zT=[],Wge=e=>{document.readyState==="loading"?(zT.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of zT)t()}),zT.push(e)):e()},Ns=()=>document.documentElement.dir==="rtl",js=e=>{Wge(()=>{const t=mre();if(t){const r=e.NAME,n=t.fn[r];t.fn[r]=e.jQueryInterface,t.fn[r].Constructor=e,t.fn[r].noConflict=()=>(t.fn[r]=n,e.jQueryInterface)}})},No=(e,t=[],r=e)=>typeof e=="function"?e(...t):r,yre=(e,t,r=!0)=>{if(!r){No(e);return}const i=zge(t)+5;let a=!1;const o=({target:u})=>{u===t&&(a=!0,t.removeEventListener(pI,o),No(e))};t.addEventListener(pI,o),setTimeout(()=>{a||pre(t)},i)},wD=(e,t,r,n)=>{const i=e.length;let a=e.indexOf(t);return a===-1?!r&&n?e[i-1]:e[0]:(a+=r?1:-1,n&&(a=(a+i)%i),e[Math.max(0,Math.min(a,i-1))])},Gge=/[^.]*(?=\..*)\.|.*/,Yge=/\..*/,Kge=/::\d+$/,WT={};let nW=1;const _re={mouseenter:"mouseover",mouseleave:"mouseout"},Xge=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function Sre(e,t){return t&&`${t}::${nW++}`||e.uidEvent||nW++}function Ere(e){const t=Sre(e);return e.uidEvent=t,WT[t]=WT[t]||{},WT[t]}function Qge(e,t){return function r(n){return bD(n,{delegateTarget:e}),r.oneOff&&Ht.off(e,n.type,t),t.apply(e,[n])}}function Jge(e,t,r){return function n(i){const a=e.querySelectorAll(t);for(let{target:o}=i;o&&o!==this;o=o.parentNode)for(const u of a)if(u===o)return bD(i,{delegateTarget:o}),n.oneOff&&Ht.off(e,i.type,t,r),r.apply(o,[i])}}function wre(e,t,r=null){return Object.values(e).find(n=>n.callable===t&&n.delegationSelector===r)}function bre(e,t,r){const n=typeof t=="string",i=n?r:t||r;let a=Tre(e);return Xge.has(a)||(a=e),[n,i,a]}function iW(e,t,r,n,i){if(typeof t!="string"||!e)return;let[a,o,u]=bre(t,r,n);t in _re&&(o=(m=>function(y){if(!y.relatedTarget||y.relatedTarget!==y.delegateTarget&&!y.delegateTarget.contains(y.relatedTarget))return m.call(this,y)})(o));const s=Ere(e),c=s[u]||(s[u]={}),d=wre(c,o,a?r:null);if(d){d.oneOff=d.oneOff&&i;return}const h=Sre(o,t.replace(Gge,"")),v=a?Jge(e,r,o):Qge(e,o);v.delegationSelector=a?r:null,v.callable=o,v.oneOff=i,v.uidEvent=h,c[h]=v,e.addEventListener(u,v,a)}function gI(e,t,r,n,i){const a=wre(t[r],n,i);a&&(e.removeEventListener(r,a,!!i),delete t[r][a.uidEvent])}function Zge(e,t,r,n){const i=t[r]||{};for(const[a,o]of Object.entries(i))a.includes(n)&&gI(e,t,r,o.callable,o.delegationSelector)}function Tre(e){return e=e.replace(Yge,""),_re[e]||e}const Ht={on(e,t,r,n){iW(e,t,r,n,!1)},one(e,t,r,n){iW(e,t,r,n,!0)},off(e,t,r,n){if(typeof t!="string"||!e)return;const[i,a,o]=bre(t,r,n),u=o!==t,s=Ere(e),c=s[o]||{},d=t.startsWith(".");if(typeof a<"u"){if(!Object.keys(c).length)return;gI(e,s,o,a,i?r:null);return}if(d)for(const h of Object.keys(s))Zge(e,s,h,t.slice(1));for(const[h,v]of Object.entries(c)){const g=h.replace(Kge,"");(!u||t.includes(g))&&gI(e,s,o,v.callable,v.delegationSelector)}},trigger(e,t,r){if(typeof t!="string"||!e)return null;const n=mre(),i=Tre(t),a=t!==i;let o=null,u=!0,s=!0,c=!1;a&&n&&(o=n.Event(t,r),n(e).trigger(o),u=!o.isPropagationStopped(),s=!o.isImmediatePropagationStopped(),c=o.isDefaultPrevented());const d=bD(new Event(t,{bubbles:u,cancelable:!0}),r);return c&&d.preventDefault(),s&&e.dispatchEvent(d),d.defaultPrevented&&o&&o.preventDefault(),d}};function bD(e,t={}){for(const[r,n]of Object.entries(t))try{e[r]=n}catch{Object.defineProperty(e,r,{configurable:!0,get(){return n}})}return e}function aW(e){if(e==="true")return!0;if(e==="false")return!1;if(e===Number(e).toString())return Number(e);if(e===""||e==="null")return null;if(typeof e!="string")return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function GT(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const ol={setDataAttribute(e,t,r){e.setAttribute(`data-bs-${GT(t)}`,r)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${GT(t)}`)},getDataAttributes(e){if(!e)return{};const t={},r=Object.keys(e.dataset).filter(n=>n.startsWith("bs")&&!n.startsWith("bsConfig"));for(const n of r){let i=n.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),t[i]=aW(e.dataset[n])}return t},getDataAttribute(e,t){return aW(e.getAttribute(`data-bs-${GT(t)}`))}};class Ip{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,r){const n=al(r)?ol.getDataAttribute(r,"config"):{};return{...this.constructor.Default,...typeof n=="object"?n:{},...al(r)?ol.getDataAttributes(r):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,r=this.constructor.DefaultType){for(const[n,i]of Object.entries(r)){const a=t[n],o=al(a)?"element":Bge(a);if(!new RegExp(i).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${o}" but expected type "${i}".`)}}}const eme="5.3.2";class iu extends Ip{constructor(t,r){super(),t=tc(t),t&&(this._element=t,this._config=this._getConfig(r),HT.set(this._element,this.constructor.DATA_KEY,this))}dispose(){HT.remove(this._element,this.constructor.DATA_KEY),Ht.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,r,n=!0){yre(t,r,n)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return HT.get(tc(t),this.DATA_KEY)}static getOrCreateInstance(t,r={}){return this.getInstance(t)||new this(t,typeof r=="object"?r:null)}static get VERSION(){return eme}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const YT=e=>{let t=e.getAttribute("data-bs-target");if(!t||t==="#"){let r=e.getAttribute("href");if(!r||!r.includes("#")&&!r.startsWith("."))return null;r.includes("#")&&!r.startsWith("#")&&(r=`#${r.split("#")[1]}`),t=r&&r!=="#"?vre(r.trim()):null}return t},Or={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(r=>r.matches(t))},parents(e,t){const r=[];let n=e.parentNode.closest(t);for(;n;)r.push(n),n=n.parentNode.closest(t);return r},prev(e,t){let r=e.previousElementSibling;for(;r;){if(r.matches(t))return[r];r=r.previousElementSibling}return[]},next(e,t){let r=e.nextElementSibling;for(;r;){if(r.matches(t))return[r];r=r.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(r=>`${r}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(r=>!rc(r)&&yh(r))},getSelectorFromElement(e){const t=YT(e);return t&&Or.findOne(t)?t:null},getElementFromSelector(e){const t=YT(e);return t?Or.findOne(t):null},getMultipleElementsFromSelector(e){const t=YT(e);return t?Or.find(t):[]}},C_=(e,t="hide")=>{const r=`click.dismiss${e.EVENT_KEY}`,n=e.NAME;Ht.on(document,r,`[data-bs-dismiss="${n}"]`,function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),rc(this))return;const a=Or.getElementFromSelector(this)||this.closest(`.${n}`);e.getOrCreateInstance(a)[t]()})},tme="alert",rme="bs.alert",Rre=`.${rme}`,nme=`close${Rre}`,ime=`closed${Rre}`,ame="fade",ome="show";let xre=class Cre extends iu{static get NAME(){return tme}close(){if(Ht.trigger(this._element,nme).defaultPrevented)return;this._element.classList.remove(ome);const r=this._element.classList.contains(ame);this._queueCallback(()=>this._destroyElement(),this._element,r)}_destroyElement(){this._element.remove(),Ht.trigger(this._element,ime),this.dispose()}static jQueryInterface(t){return this.each(function(){const r=Cre.getOrCreateInstance(this);if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t](this)}})}};C_(xre,"close");js(xre);const sme="button",ume="bs.button",lme=`.${ume}`,cme=".data-api",fme="active",oW='[data-bs-toggle="button"]',dme=`click${lme}${cme}`;let Are=class Ore extends iu{static get NAME(){return sme}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(fme))}static jQueryInterface(t){return this.each(function(){const r=Ore.getOrCreateInstance(this);t==="toggle"&&r[t]()})}};Ht.on(document,dme,oW,e=>{e.preventDefault();const t=e.target.closest(oW);Are.getOrCreateInstance(t).toggle()});js(Are);const hme="swipe",_h=".bs.swipe",vme=`touchstart${_h}`,pme=`touchmove${_h}`,gme=`touchend${_h}`,mme=`pointerdown${_h}`,yme=`pointerup${_h}`,_me="touch",Sme="pen",Eme="pointer-event",wme=40,bme={endCallback:null,leftCallback:null,rightCallback:null},Tme={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class ty extends Ip{constructor(t,r){super(),this._element=t,!(!t||!ty.isSupported())&&(this._config=this._getConfig(r),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return bme}static get DefaultType(){return Tme}static get NAME(){return hme}dispose(){Ht.off(this._element,_h)}_start(t){if(!this._supportPointerEvents){this._deltaX=t.touches[0].clientX;return}this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX)}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),No(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=wme)return;const r=t/this._deltaX;this._deltaX=0,r&&No(r>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(Ht.on(this._element,mme,t=>this._start(t)),Ht.on(this._element,yme,t=>this._end(t)),this._element.classList.add(Eme)):(Ht.on(this._element,vme,t=>this._start(t)),Ht.on(this._element,pme,t=>this._move(t)),Ht.on(this._element,gme,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===Sme||t.pointerType===_me)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Rme="carousel",xme="bs.carousel",lc=`.${xme}`,Ire=".data-api",Cme="ArrowLeft",Ame="ArrowRight",Ome=500,rv="next",dd="prev",Td="left",Rm="right",Ime=`slide${lc}`,KT=`slid${lc}`,Pme=`keydown${lc}`,Dme=`mouseenter${lc}`,kme=`mouseleave${lc}`,Nme=`dragstart${lc}`,Lme=`load${lc}${Ire}`,Mme=`click${lc}${Ire}`,Pre="carousel",Yg="active",$me="slide",Fme="carousel-item-end",jme="carousel-item-start",Ume="carousel-item-next",qme="carousel-item-prev",Dre=".active",kre=".carousel-item",Vme=Dre+kre,Bme=".carousel-item img",Hme=".carousel-indicators",zme="[data-bs-slide], [data-bs-slide-to]",Wme='[data-bs-ride="carousel"]',Gme={[Cme]:Rm,[Ame]:Td},Yme={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Kme={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Pp extends iu{constructor(t,r){super(t,r),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Or.findOne(Hme,this._element),this._addEventListeners(),this._config.ride===Pre&&this.cycle()}static get Default(){return Yme}static get DefaultType(){return Kme}static get NAME(){return Rme}next(){this._slide(rv)}nextWhenVisible(){!document.hidden&&yh(this._element)&&this.next()}prev(){this._slide(dd)}pause(){this._isSliding&&pre(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){Ht.one(this._element,KT,()=>this.cycle());return}this.cycle()}}to(t){const r=this._getItems();if(t>r.length-1||t<0)return;if(this._isSliding){Ht.one(this._element,KT,()=>this.to(t));return}const n=this._getItemIndex(this._getActive());if(n===t)return;const i=t>n?rv:dd;this._slide(i,r[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&Ht.on(this._element,Pme,t=>this._keydown(t)),this._config.pause==="hover"&&(Ht.on(this._element,Dme,()=>this.pause()),Ht.on(this._element,kme,()=>this._maybeEnableCycle())),this._config.touch&&ty.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const n of Or.find(Bme,this._element))Ht.on(n,Nme,i=>i.preventDefault());const r={leftCallback:()=>this._slide(this._directionToOrder(Td)),rightCallback:()=>this._slide(this._directionToOrder(Rm)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),Ome+this._config.interval))}};this._swipeHelper=new ty(this._element,r)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const r=Gme[t.key];r&&(t.preventDefault(),this._slide(this._directionToOrder(r)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const r=Or.findOne(Dre,this._indicatorsElement);r.classList.remove(Yg),r.removeAttribute("aria-current");const n=Or.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);n&&(n.classList.add(Yg),n.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const r=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=r||this._config.defaultInterval}_slide(t,r=null){if(this._isSliding)return;const n=this._getActive(),i=t===rv,a=r||wD(this._getItems(),n,i,this._config.wrap);if(a===n)return;const o=this._getItemIndex(a),u=g=>Ht.trigger(this._element,g,{relatedTarget:a,direction:this._orderToDirection(t),from:this._getItemIndex(n),to:o});if(u(Ime).defaultPrevented||!n||!a)return;const c=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=a;const d=i?jme:Fme,h=i?Ume:qme;a.classList.add(h),Op(a),n.classList.add(d),a.classList.add(d);const v=()=>{a.classList.remove(d,h),a.classList.add(Yg),n.classList.remove(Yg,h,d),this._isSliding=!1,u(KT)};this._queueCallback(v,n,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains($me)}_getActive(){return Or.findOne(Vme,this._element)}_getItems(){return Or.find(kre,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return Ns()?t===Td?dd:rv:t===Td?rv:dd}_orderToDirection(t){return Ns()?t===dd?Td:Rm:t===dd?Rm:Td}static jQueryInterface(t){return this.each(function(){const r=Pp.getOrCreateInstance(this,t);if(typeof t=="number"){r.to(t);return}if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t]()}})}}Ht.on(document,Mme,zme,function(e){const t=Or.getElementFromSelector(this);if(!t||!t.classList.contains(Pre))return;e.preventDefault();const r=Pp.getOrCreateInstance(t),n=this.getAttribute("data-bs-slide-to");if(n){r.to(n),r._maybeEnableCycle();return}if(ol.getDataAttribute(this,"slide")==="next"){r.next(),r._maybeEnableCycle();return}r.prev(),r._maybeEnableCycle()});Ht.on(window,Lme,()=>{const e=Or.find(Wme);for(const t of e)Pp.getOrCreateInstance(t)});js(Pp);const Xme="collapse",Qme="bs.collapse",Dp=`.${Qme}`,Jme=".data-api",Zme=`show${Dp}`,eye=`shown${Dp}`,tye=`hide${Dp}`,rye=`hidden${Dp}`,nye=`click${Dp}${Jme}`,XT="show",Od="collapse",Kg="collapsing",iye="collapsed",aye=`:scope .${Od} .${Od}`,oye="collapse-horizontal",sye="width",uye="height",lye=".collapse.show, .collapse.collapsing",mI='[data-bs-toggle="collapse"]',cye={parent:null,toggle:!0},fye={parent:"(null|element)",toggle:"boolean"};class zv extends iu{constructor(t,r){super(t,r),this._isTransitioning=!1,this._triggerArray=[];const n=Or.find(mI);for(const i of n){const a=Or.getSelectorFromElement(i),o=Or.find(a).filter(u=>u===this._element);a!==null&&o.length&&this._triggerArray.push(i)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return cye}static get DefaultType(){return fye}static get NAME(){return Xme}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(lye).filter(u=>u!==this._element).map(u=>zv.getOrCreateInstance(u,{toggle:!1}))),t.length&&t[0]._isTransitioning||Ht.trigger(this._element,Zme).defaultPrevented)return;for(const u of t)u.hide();const n=this._getDimension();this._element.classList.remove(Od),this._element.classList.add(Kg),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=()=>{this._isTransitioning=!1,this._element.classList.remove(Kg),this._element.classList.add(Od,XT),this._element.style[n]="",Ht.trigger(this._element,eye)},o=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback(i,this._element,!0),this._element.style[n]=`${this._element[o]}px`}hide(){if(this._isTransitioning||!this._isShown()||Ht.trigger(this._element,tye).defaultPrevented)return;const r=this._getDimension();this._element.style[r]=`${this._element.getBoundingClientRect()[r]}px`,Op(this._element),this._element.classList.add(Kg),this._element.classList.remove(Od,XT);for(const i of this._triggerArray){const a=Or.getElementFromSelector(i);a&&!this._isShown(a)&&this._addAriaAndCollapsedClass([i],!1)}this._isTransitioning=!0;const n=()=>{this._isTransitioning=!1,this._element.classList.remove(Kg),this._element.classList.add(Od),Ht.trigger(this._element,rye)};this._element.style[r]="",this._queueCallback(n,this._element,!0)}_isShown(t=this._element){return t.classList.contains(XT)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=tc(t.parent),t}_getDimension(){return this._element.classList.contains(oye)?sye:uye}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(mI);for(const r of t){const n=Or.getElementFromSelector(r);n&&this._addAriaAndCollapsedClass([r],this._isShown(n))}}_getFirstLevelChildren(t){const r=Or.find(aye,this._config.parent);return Or.find(t,this._config.parent).filter(n=>!r.includes(n))}_addAriaAndCollapsedClass(t,r){if(t.length)for(const n of t)n.classList.toggle(iye,!r),n.setAttribute("aria-expanded",r)}static jQueryInterface(t){const r={};return typeof t=="string"&&/show|hide/.test(t)&&(r.toggle=!1),this.each(function(){const n=zv.getOrCreateInstance(this,r);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}Ht.on(document,nye,mI,function(e){(e.target.tagName==="A"||e.delegateTarget&&e.delegateTarget.tagName==="A")&&e.preventDefault();for(const t of Or.getMultipleElementsFromSelector(this))zv.getOrCreateInstance(t,{toggle:!1}).toggle()});js(zv);const sW="dropdown",dye="bs.dropdown",Af=`.${dye}`,TD=".data-api",hye="Escape",uW="Tab",vye="ArrowUp",lW="ArrowDown",pye=2,gye=`hide${Af}`,mye=`hidden${Af}`,yye=`show${Af}`,_ye=`shown${Af}`,Nre=`click${Af}${TD}`,Lre=`keydown${Af}${TD}`,Sye=`keyup${Af}${TD}`,Rd="show",Eye="dropup",wye="dropend",bye="dropstart",Tye="dropup-center",Rye="dropdown-center",zc='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',xye=`${zc}.${Rd}`,xm=".dropdown-menu",Cye=".navbar",Aye=".navbar-nav",Oye=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Iye=Ns()?"top-end":"top-start",Pye=Ns()?"top-start":"top-end",Dye=Ns()?"bottom-end":"bottom-start",kye=Ns()?"bottom-start":"bottom-end",Nye=Ns()?"left-start":"right-start",Lye=Ns()?"right-start":"left-start",Mye="top",$ye="bottom",Fye={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},jye={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};let Sh=class Cm extends iu{constructor(t,r){super(t,r),this._popper=null,this._parent=this._element.parentNode,this._menu=Or.next(this._element,xm)[0]||Or.prev(this._element,xm)[0]||Or.findOne(xm,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Fye}static get DefaultType(){return jye}static get NAME(){return sW}toggle(){return this._isShown()?this.hide():this.show()}show(){if(rc(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!Ht.trigger(this._element,yye,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Aye))for(const n of[].concat(...document.body.children))Ht.on(n,"mouseover",ey);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Rd),this._element.classList.add(Rd),Ht.trigger(this._element,_ye,t)}}hide(){if(rc(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!Ht.trigger(this._element,gye,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const n of[].concat(...document.body.children))Ht.off(n,"mouseover",ey);this._popper&&this._popper.destroy(),this._menu.classList.remove(Rd),this._element.classList.remove(Rd),this._element.setAttribute("aria-expanded","false"),ol.removeDataAttribute(this._menu,"popper"),Ht.trigger(this._element,mye,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!al(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${sW.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof hre>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;this._config.reference==="parent"?t=this._parent:al(this._config.reference)?t=tc(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const r=this._getPopperConfig();this._popper=ED(t,this._menu,r)}_isShown(){return this._menu.classList.contains(Rd)}_getPlacement(){const t=this._parent;if(t.classList.contains(wye))return Nye;if(t.classList.contains(bye))return Lye;if(t.classList.contains(Tye))return Mye;if(t.classList.contains(Rye))return $ye;const r=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(Eye)?r?Pye:Iye:r?kye:Dye}_detectNavbar(){return this._element.closest(Cye)!==null}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(r=>Number.parseInt(r,10)):typeof t=="function"?r=>t(r,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(ol.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...No(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:r}){const n=Or.find(Oye,this._menu).filter(i=>yh(i));n.length&&wD(n,r,t===lW,!n.includes(r)).focus()}static jQueryInterface(t){return this.each(function(){const r=Cm.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}static clearMenus(t){if(t.button===pye||t.type==="keyup"&&t.key!==uW)return;const r=Or.find(xye);for(const n of r){const i=Cm.getInstance(n);if(!i||i._config.autoClose===!1)continue;const a=t.composedPath(),o=a.includes(i._menu);if(a.includes(i._element)||i._config.autoClose==="inside"&&!o||i._config.autoClose==="outside"&&o||i._menu.contains(t.target)&&(t.type==="keyup"&&t.key===uW||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const u={relatedTarget:i._element};t.type==="click"&&(u.clickEvent=t),i._completeHide(u)}}static dataApiKeydownHandler(t){const r=/input|textarea/i.test(t.target.tagName),n=t.key===hye,i=[vye,lW].includes(t.key);if(!i&&!n||r&&!n)return;t.preventDefault();const a=this.matches(zc)?this:Or.prev(this,zc)[0]||Or.next(this,zc)[0]||Or.findOne(zc,t.delegateTarget.parentNode),o=Cm.getOrCreateInstance(a);if(i){t.stopPropagation(),o.show(),o._selectMenuItem(t);return}o._isShown()&&(t.stopPropagation(),o.hide(),a.focus())}};Ht.on(document,Lre,zc,Sh.dataApiKeydownHandler);Ht.on(document,Lre,xm,Sh.dataApiKeydownHandler);Ht.on(document,Nre,Sh.clearMenus);Ht.on(document,Sye,Sh.clearMenus);Ht.on(document,Nre,zc,function(e){e.preventDefault(),Sh.getOrCreateInstance(this).toggle()});js(Sh);const Mre="backdrop",Uye="fade",cW="show",fW=`mousedown.bs.${Mre}`,qye={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Vye={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class $re extends Ip{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return qye}static get DefaultType(){return Vye}static get NAME(){return Mre}show(t){if(!this._config.isVisible){No(t);return}this._append();const r=this._getElement();this._config.isAnimated&&Op(r),r.classList.add(cW),this._emulateAnimation(()=>{No(t)})}hide(t){if(!this._config.isVisible){No(t);return}this._getElement().classList.remove(cW),this._emulateAnimation(()=>{this.dispose(),No(t)})}dispose(){this._isAppended&&(Ht.off(this._element,fW),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add(Uye),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=tc(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),Ht.on(t,fW,()=>{No(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){yre(t,this._getElement(),this._config.isAnimated)}}const Bye="focustrap",Hye="bs.focustrap",ry=`.${Hye}`,zye=`focusin${ry}`,Wye=`keydown.tab${ry}`,Gye="Tab",Yye="forward",dW="backward",Kye={autofocus:!0,trapElement:null},Xye={autofocus:"boolean",trapElement:"element"};class Fre extends Ip{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Kye}static get DefaultType(){return Xye}static get NAME(){return Bye}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),Ht.off(document,ry),Ht.on(document,zye,t=>this._handleFocusin(t)),Ht.on(document,Wye,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,Ht.off(document,ry))}_handleFocusin(t){const{trapElement:r}=this._config;if(t.target===document||t.target===r||r.contains(t.target))return;const n=Or.focusableChildren(r);n.length===0?r.focus():this._lastTabNavDirection===dW?n[n.length-1].focus():n[0].focus()}_handleKeydown(t){t.key===Gye&&(this._lastTabNavDirection=t.shiftKey?dW:Yye)}}const hW=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",vW=".sticky-top",Xg="padding-right",pW="margin-right";class yI{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Xg,r=>r+t),this._setElementAttributes(hW,Xg,r=>r+t),this._setElementAttributes(vW,pW,r=>r-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Xg),this._resetElementAttributes(hW,Xg),this._resetElementAttributes(vW,pW)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,r,n){const i=this.getWidth(),a=o=>{if(o!==this._element&&window.innerWidth>o.clientWidth+i)return;this._saveInitialAttribute(o,r);const u=window.getComputedStyle(o).getPropertyValue(r);o.style.setProperty(r,`${n(Number.parseFloat(u))}px`)};this._applyManipulationCallback(t,a)}_saveInitialAttribute(t,r){const n=t.style.getPropertyValue(r);n&&ol.setDataAttribute(t,r,n)}_resetElementAttributes(t,r){const n=i=>{const a=ol.getDataAttribute(i,r);if(a===null){i.style.removeProperty(r);return}ol.removeDataAttribute(i,r),i.style.setProperty(r,a)};this._applyManipulationCallback(t,n)}_applyManipulationCallback(t,r){if(al(t)){r(t);return}for(const n of Or.find(t,this._element))r(n)}}const Qye="modal",Jye="bs.modal",Ls=`.${Jye}`,Zye=".data-api",e_e="Escape",t_e=`hide${Ls}`,r_e=`hidePrevented${Ls}`,jre=`hidden${Ls}`,Ure=`show${Ls}`,n_e=`shown${Ls}`,i_e=`resize${Ls}`,a_e=`click.dismiss${Ls}`,o_e=`mousedown.dismiss${Ls}`,s_e=`keydown.dismiss${Ls}`,u_e=`click${Ls}${Zye}`,gW="modal-open",l_e="fade",mW="show",QT="modal-static",c_e=".modal.show",f_e=".modal-dialog",d_e=".modal-body",h_e='[data-bs-toggle="modal"]',v_e={backdrop:!0,focus:!0,keyboard:!0},p_e={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};let ny=class qre extends iu{constructor(t,r){super(t,r),this._dialog=Or.findOne(f_e,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new yI,this._addEventListeners()}static get Default(){return v_e}static get DefaultType(){return p_e}static get NAME(){return Qye}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||Ht.trigger(this._element,Ure,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(gW),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||Ht.trigger(this._element,t_e).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(mW),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){Ht.off(window,Ls),Ht.off(this._dialog,Ls),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new $re({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Fre({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const r=Or.findOne(d_e,this._dialog);r&&(r.scrollTop=0),Op(this._element),this._element.classList.add(mW);const n=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,Ht.trigger(this._element,n_e,{relatedTarget:t})};this._queueCallback(n,this._dialog,this._isAnimated())}_addEventListeners(){Ht.on(this._element,s_e,t=>{if(t.key===e_e){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),Ht.on(window,i_e,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),Ht.on(this._element,o_e,t=>{Ht.one(this._element,a_e,r=>{if(!(this._element!==t.target||this._element!==r.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(gW),this._resetAdjustments(),this._scrollBar.reset(),Ht.trigger(this._element,jre)})}_isAnimated(){return this._element.classList.contains(l_e)}_triggerBackdropTransition(){if(Ht.trigger(this._element,r_e).defaultPrevented)return;const r=this._element.scrollHeight>document.documentElement.clientHeight,n=this._element.style.overflowY;n==="hidden"||this._element.classList.contains(QT)||(r||(this._element.style.overflowY="hidden"),this._element.classList.add(QT),this._queueCallback(()=>{this._element.classList.remove(QT),this._queueCallback(()=>{this._element.style.overflowY=n},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,r=this._scrollBar.getWidth(),n=r>0;if(n&&!t){const i=Ns()?"paddingLeft":"paddingRight";this._element.style[i]=`${r}px`}if(!n&&t){const i=Ns()?"paddingRight":"paddingLeft";this._element.style[i]=`${r}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,r){return this.each(function(){const n=qre.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t](r)}})}};Ht.on(document,u_e,h_e,function(e){const t=Or.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),Ht.one(t,Ure,i=>{i.defaultPrevented||Ht.one(t,jre,()=>{yh(this)&&this.focus()})});const r=Or.findOne(c_e);r&&ny.getInstance(r).hide(),ny.getOrCreateInstance(t).toggle(this)});C_(ny);js(ny);const g_e="offcanvas",m_e="bs.offcanvas",Sl=`.${m_e}`,Vre=".data-api",y_e=`load${Sl}${Vre}`,__e="Escape",yW="show",_W="showing",SW="hiding",S_e="offcanvas-backdrop",Bre=".offcanvas.show",E_e=`show${Sl}`,w_e=`shown${Sl}`,b_e=`hide${Sl}`,EW=`hidePrevented${Sl}`,Hre=`hidden${Sl}`,T_e=`resize${Sl}`,R_e=`click${Sl}${Vre}`,x_e=`keydown.dismiss${Sl}`,C_e='[data-bs-toggle="offcanvas"]',A_e={backdrop:!0,keyboard:!0,scroll:!1},O_e={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class nc extends iu{constructor(t,r){super(t,r),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return A_e}static get DefaultType(){return O_e}static get NAME(){return g_e}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||Ht.trigger(this._element,E_e,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new yI().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(_W);const n=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(yW),this._element.classList.remove(_W),Ht.trigger(this._element,w_e,{relatedTarget:t})};this._queueCallback(n,this._element,!0)}hide(){if(!this._isShown||Ht.trigger(this._element,b_e).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(SW),this._backdrop.hide();const r=()=>{this._element.classList.remove(yW,SW),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new yI().reset(),Ht.trigger(this._element,Hre)};this._queueCallback(r,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=()=>{if(this._config.backdrop==="static"){Ht.trigger(this._element,EW);return}this.hide()},r=!!this._config.backdrop;return new $re({className:S_e,isVisible:r,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:r?t:null})}_initializeFocusTrap(){return new Fre({trapElement:this._element})}_addEventListeners(){Ht.on(this._element,x_e,t=>{if(t.key===__e){if(this._config.keyboard){this.hide();return}Ht.trigger(this._element,EW)}})}static jQueryInterface(t){return this.each(function(){const r=nc.getOrCreateInstance(this,t);if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t](this)}})}}Ht.on(document,R_e,C_e,function(e){const t=Or.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),rc(this))return;Ht.one(t,Hre,()=>{yh(this)&&this.focus()});const r=Or.findOne(Bre);r&&r!==t&&nc.getInstance(r).hide(),nc.getOrCreateInstance(t).toggle(this)});Ht.on(window,y_e,()=>{for(const e of Or.find(Bre))nc.getOrCreateInstance(e).show()});Ht.on(window,T_e,()=>{for(const e of Or.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(e).position!=="fixed"&&nc.getOrCreateInstance(e).hide()});C_(nc);js(nc);const I_e=/^aria-[\w-]*$/i,zre={"*":["class","dir","id","lang","role",I_e],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},P_e=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),D_e=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,k_e=(e,t)=>{const r=e.nodeName.toLowerCase();return t.includes(r)?P_e.has(r)?!!D_e.test(e.nodeValue):!0:t.filter(n=>n instanceof RegExp).some(n=>n.test(r))};function N_e(e,t,r){if(!e.length)return e;if(r&&typeof r=="function")return r(e);const i=new window.DOMParser().parseFromString(e,"text/html"),a=[].concat(...i.body.querySelectorAll("*"));for(const o of a){const u=o.nodeName.toLowerCase();if(!Object.keys(t).includes(u)){o.remove();continue}const s=[].concat(...o.attributes),c=[].concat(t["*"]||[],t[u]||[]);for(const d of s)k_e(d,c)||o.removeAttribute(d.nodeName)}return i.body.innerHTML}const L_e="TemplateFactory",M_e={allowList:zre,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},$_e={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},F_e={entry:"(string|element|function|null)",selector:"(string|element)"};class j_e extends Ip{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return M_e}static get DefaultType(){return $_e}static get NAME(){return L_e}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[i,a]of Object.entries(this._config.content))this._setContent(t,a,i);const r=t.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&r.classList.add(...n.split(" ")),r}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[r,n]of Object.entries(t))super._typeCheckConfig({selector:r,entry:n},F_e)}_setContent(t,r,n){const i=Or.findOne(n,t);if(i){if(r=this._resolvePossibleFunction(r),!r){i.remove();return}if(al(r)){this._putElementInTemplate(tc(r),i);return}if(this._config.html){i.innerHTML=this._maybeSanitize(r);return}i.textContent=r}}_maybeSanitize(t){return this._config.sanitize?N_e(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return No(t,[this])}_putElementInTemplate(t,r){if(this._config.html){r.innerHTML="",r.append(t);return}r.textContent=t.textContent}}const U_e="tooltip",q_e=new Set(["sanitize","allowList","sanitizeFn"]),JT="fade",V_e="modal",Qg="show",B_e=".tooltip-inner",wW=`.${V_e}`,bW="hide.bs.modal",nv="hover",ZT="focus",H_e="click",z_e="manual",W_e="hide",G_e="hidden",Y_e="show",K_e="shown",X_e="inserted",Q_e="click",J_e="focusin",Z_e="focusout",e0e="mouseenter",t0e="mouseleave",r0e={AUTO:"auto",TOP:"top",RIGHT:Ns()?"left":"right",BOTTOM:"bottom",LEFT:Ns()?"right":"left"},n0e={allowList:zre,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},i0e={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};let A_=class Wre extends iu{constructor(t,r){if(typeof hre>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,r),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return n0e}static get DefaultType(){return i0e}static get NAME(){return U_e}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),Ht.off(this._element.closest(wW),bW,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const t=Ht.trigger(this._element,this.constructor.eventName(Y_e)),n=(gre(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!n)return;this._disposePopper();const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:a}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(a.append(i),Ht.trigger(this._element,this.constructor.eventName(X_e))),this._popper=this._createPopper(i),i.classList.add(Qg),"ontouchstart"in document.documentElement)for(const u of[].concat(...document.body.children))Ht.on(u,"mouseover",ey);const o=()=>{Ht.trigger(this._element,this.constructor.eventName(K_e)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(o,this.tip,this._isAnimated())}hide(){if(!this._isShown()||Ht.trigger(this._element,this.constructor.eventName(W_e)).defaultPrevented)return;if(this._getTipElement().classList.remove(Qg),"ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))Ht.off(i,"mouseover",ey);this._activeTrigger[H_e]=!1,this._activeTrigger[ZT]=!1,this._activeTrigger[nv]=!1,this._isHovered=null;const n=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),Ht.trigger(this._element,this.constructor.eventName(G_e)))};this._queueCallback(n,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const r=this._getTemplateFactory(t).toHtml();if(!r)return null;r.classList.remove(JT,Qg),r.classList.add(`bs-${this.constructor.NAME}-auto`);const n=Hge(this.constructor.NAME).toString();return r.setAttribute("id",n),this._isAnimated()&&r.classList.add(JT),r}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new j_e({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[B_e]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(JT)}_isShown(){return this.tip&&this.tip.classList.contains(Qg)}_createPopper(t){const r=No(this._config.placement,[this,t,this._element]),n=r0e[r.toUpperCase()];return ED(this._element,t,this._getPopperConfig(n))}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(r=>Number.parseInt(r,10)):typeof t=="function"?r=>t(r,this._element):t}_resolvePossibleFunction(t){return No(t,[this._element])}_getPopperConfig(t){const r={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:n=>{this._getTipElement().setAttribute("data-popper-placement",n.state.placement)}}]};return{...r,...No(this._config.popperConfig,[r])}}_setListeners(){const t=this._config.trigger.split(" ");for(const r of t)if(r==="click")Ht.on(this._element,this.constructor.eventName(Q_e),this._config.selector,n=>{this._initializeOnDelegatedTarget(n).toggle()});else if(r!==z_e){const n=r===nv?this.constructor.eventName(e0e):this.constructor.eventName(J_e),i=r===nv?this.constructor.eventName(t0e):this.constructor.eventName(Z_e);Ht.on(this._element,n,this._config.selector,a=>{const o=this._initializeOnDelegatedTarget(a);o._activeTrigger[a.type==="focusin"?ZT:nv]=!0,o._enter()}),Ht.on(this._element,i,this._config.selector,a=>{const o=this._initializeOnDelegatedTarget(a);o._activeTrigger[a.type==="focusout"?ZT:nv]=o._element.contains(a.relatedTarget),o._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},Ht.on(this._element.closest(wW),bW,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,r){clearTimeout(this._timeout),this._timeout=setTimeout(t,r)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const r=ol.getDataAttributes(this._element);for(const n of Object.keys(r))q_e.has(n)&&delete r[n];return t={...r,...typeof t=="object"&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=t.container===!1?document.body:tc(t.container),typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),typeof t.title=="number"&&(t.title=t.title.toString()),typeof t.content=="number"&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[r,n]of Object.entries(this._config))this.constructor.Default[r]!==n&&(t[r]=n);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){const r=Wre.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}};js(A_);const a0e="popover",o0e=".popover-header",s0e=".popover-body",u0e={...A_.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},l0e={...A_.DefaultType,content:"(null|string|element|function)"};let c0e=class Gre extends A_{static get Default(){return u0e}static get DefaultType(){return l0e}static get NAME(){return a0e}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[o0e]:this._getTitle(),[s0e]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const r=Gre.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}};js(c0e);const f0e="scrollspy",d0e="bs.scrollspy",RD=`.${d0e}`,h0e=".data-api",v0e=`activate${RD}`,TW=`click${RD}`,p0e=`load${RD}${h0e}`,g0e="dropdown-item",hd="active",m0e='[data-bs-spy="scroll"]',eR="[href]",y0e=".nav, .list-group",RW=".nav-link",_0e=".nav-item",S0e=".list-group-item",E0e=`${RW}, ${_0e} > ${RW}, ${S0e}`,w0e=".dropdown",b0e=".dropdown-toggle",T0e={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},R0e={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class O_ extends iu{constructor(t,r){super(t,r),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return T0e}static get DefaultType(){return R0e}static get NAME(){return f0e}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=tc(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,typeof t.threshold=="string"&&(t.threshold=t.threshold.split(",").map(r=>Number.parseFloat(r))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(Ht.off(this._config.target,TW),Ht.on(this._config.target,TW,eR,t=>{const r=this._observableSections.get(t.target.hash);if(r){t.preventDefault();const n=this._rootElement||window,i=r.offsetTop-this._element.offsetTop;if(n.scrollTo){n.scrollTo({top:i,behavior:"smooth"});return}n.scrollTop=i}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(r=>this._observerCallback(r),t)}_observerCallback(t){const r=o=>this._targetLinks.get(`#${o.target.id}`),n=o=>{this._previousScrollData.visibleEntryTop=o.target.offsetTop,this._process(r(o))},i=(this._rootElement||document.documentElement).scrollTop,a=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(const o of t){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(r(o));continue}const u=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(a&&u){if(n(o),!i)return;continue}!a&&!u&&n(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=Or.find(eR,this._config.target);for(const r of t){if(!r.hash||rc(r))continue;const n=Or.findOne(decodeURI(r.hash),this._element);yh(n)&&(this._targetLinks.set(decodeURI(r.hash),r),this._observableSections.set(r.hash,n))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(hd),this._activateParents(t),Ht.trigger(this._element,v0e,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(g0e)){Or.findOne(b0e,t.closest(w0e)).classList.add(hd);return}for(const r of Or.parents(t,y0e))for(const n of Or.prev(r,E0e))n.classList.add(hd)}_clearActiveClass(t){t.classList.remove(hd);const r=Or.find(`${eR}.${hd}`,t);for(const n of r)n.classList.remove(hd)}static jQueryInterface(t){return this.each(function(){const r=O_.getOrCreateInstance(this,t);if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t]()}})}}Ht.on(window,p0e,()=>{for(const e of Or.find(m0e))O_.getOrCreateInstance(e)});js(O_);const x0e="tab",C0e="bs.tab",Of=`.${C0e}`,A0e=`hide${Of}`,O0e=`hidden${Of}`,I0e=`show${Of}`,P0e=`shown${Of}`,D0e=`click${Of}`,k0e=`keydown${Of}`,N0e=`load${Of}`,L0e="ArrowLeft",xW="ArrowRight",M0e="ArrowUp",CW="ArrowDown",tR="Home",AW="End",Wc="active",OW="fade",rR="show",$0e="dropdown",Yre=".dropdown-toggle",F0e=".dropdown-menu",nR=`:not(${Yre})`,j0e='.list-group, .nav, [role="tablist"]',U0e=".nav-item, .list-group-item",q0e=`.nav-link${nR}, .list-group-item${nR}, [role="tab"]${nR}`,Kre='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',iR=`${q0e}, ${Kre}`,V0e=`.${Wc}[data-bs-toggle="tab"], .${Wc}[data-bs-toggle="pill"], .${Wc}[data-bs-toggle="list"]`;class Yd extends iu{constructor(t){super(t),this._parent=this._element.closest(j0e),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),Ht.on(this._element,k0e,r=>this._keydown(r)))}static get NAME(){return x0e}show(){const t=this._element;if(this._elemIsActive(t))return;const r=this._getActiveElem(),n=r?Ht.trigger(r,A0e,{relatedTarget:t}):null;Ht.trigger(t,I0e,{relatedTarget:r}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(r,t),this._activate(t,r))}_activate(t,r){if(!t)return;t.classList.add(Wc),this._activate(Or.getElementFromSelector(t));const n=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(rR);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),Ht.trigger(t,P0e,{relatedTarget:r})};this._queueCallback(n,t,t.classList.contains(OW))}_deactivate(t,r){if(!t)return;t.classList.remove(Wc),t.blur(),this._deactivate(Or.getElementFromSelector(t));const n=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(rR);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),Ht.trigger(t,O0e,{relatedTarget:r})};this._queueCallback(n,t,t.classList.contains(OW))}_keydown(t){if(![L0e,xW,M0e,CW,tR,AW].includes(t.key))return;t.stopPropagation(),t.preventDefault();const r=this._getChildren().filter(i=>!rc(i));let n;if([tR,AW].includes(t.key))n=r[t.key===tR?0:r.length-1];else{const i=[xW,CW].includes(t.key);n=wD(r,t.target,i,!0)}n&&(n.focus({preventScroll:!0}),Yd.getOrCreateInstance(n).show())}_getChildren(){return Or.find(iR,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,r){this._setAttributeIfNotExists(t,"role","tablist");for(const n of r)this._setInitialAttributesOnChild(n)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const r=this._elemIsActive(t),n=this._getOuterElement(t);t.setAttribute("aria-selected",r),n!==t&&this._setAttributeIfNotExists(n,"role","presentation"),r||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const r=Or.getElementFromSelector(t);r&&(this._setAttributeIfNotExists(r,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(r,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,r){const n=this._getOuterElement(t);if(!n.classList.contains($0e))return;const i=(a,o)=>{const u=Or.findOne(a,n);u&&u.classList.toggle(o,r)};i(Yre,Wc),i(F0e,rR),n.setAttribute("aria-expanded",r)}_setAttributeIfNotExists(t,r,n){t.hasAttribute(r)||t.setAttribute(r,n)}_elemIsActive(t){return t.classList.contains(Wc)}_getInnerElement(t){return t.matches(iR)?t:Or.findOne(iR,t)}_getOuterElement(t){return t.closest(U0e)||t}static jQueryInterface(t){return this.each(function(){const r=Yd.getOrCreateInstance(this);if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t]()}})}}Ht.on(document,D0e,Kre,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),!rc(this)&&Yd.getOrCreateInstance(this).show()});Ht.on(window,N0e,()=>{for(const e of Or.find(V0e))Yd.getOrCreateInstance(e)});js(Yd);const B0e="toast",H0e="bs.toast",cc=`.${H0e}`,z0e=`mouseover${cc}`,W0e=`mouseout${cc}`,G0e=`focusin${cc}`,Y0e=`focusout${cc}`,K0e=`hide${cc}`,X0e=`hidden${cc}`,Q0e=`show${cc}`,J0e=`shown${cc}`,Z0e="fade",IW="hide",Jg="show",Zg="showing",eSe={animation:"boolean",autohide:"boolean",delay:"number"},tSe={animation:!0,autohide:!0,delay:5e3};class I_ extends iu{constructor(t,r){super(t,r),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return tSe}static get DefaultType(){return eSe}static get NAME(){return B0e}show(){if(Ht.trigger(this._element,Q0e).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Z0e);const r=()=>{this._element.classList.remove(Zg),Ht.trigger(this._element,J0e),this._maybeScheduleHide()};this._element.classList.remove(IW),Op(this._element),this._element.classList.add(Jg,Zg),this._queueCallback(r,this._element,this._config.animation)}hide(){if(!this.isShown()||Ht.trigger(this._element,K0e).defaultPrevented)return;const r=()=>{this._element.classList.add(IW),this._element.classList.remove(Zg,Jg),Ht.trigger(this._element,X0e)};this._element.classList.add(Zg),this._queueCallback(r,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Jg),super.dispose()}isShown(){return this._element.classList.contains(Jg)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,r){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=r;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=r;break}}if(r){this._clearTimeout();return}const n=t.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){Ht.on(this._element,z0e,t=>this._onInteraction(t,!0)),Ht.on(this._element,W0e,t=>this._onInteraction(t,!1)),Ht.on(this._element,G0e,t=>this._onInteraction(t,!0)),Ht.on(this._element,Y0e,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const r=I_.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t](this)}})}}C_(I_);js(I_);var Am={exports:{}},Om={exports:{}},rSe=Om.exports,PW;function Xre(){return PW||(PW=1,(function(e,t){(function(r,n){e.exports=n()})(rSe,(function(){var r="1.13.7",n=typeof self=="object"&&self.self===self&&self||typeof globalThis=="object"&&globalThis.global===globalThis&&globalThis||Function("return this")()||{},i=Array.prototype,a=Object.prototype,o=typeof Symbol<"u"?Symbol.prototype:null,u=i.push,s=i.slice,c=a.toString,d=a.hasOwnProperty,h=typeof ArrayBuffer<"u",v=typeof DataView<"u",g=Array.isArray,m=Object.keys,y=Object.create,S=h&&ArrayBuffer.isView,w=isNaN,b=isFinite,A=!{toString:null}.propertyIsEnumerable("toString"),R=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],x=Math.pow(2,53)-1;function O(ae,pe){return pe=pe==null?ae.length-1:+pe,function(){for(var Pe=Math.max(arguments.length-pe,0),Fe=Array(Pe),Be=0;Be<Pe;Be++)Fe[Be]=arguments[Be+pe];switch(pe){case 0:return ae.call(this,Fe);case 1:return ae.call(this,arguments[0],Fe);case 2:return ae.call(this,arguments[0],arguments[1],Fe)}var Ye=Array(pe+1);for(Be=0;Be<pe;Be++)Ye[Be]=arguments[Be];return Ye[pe]=Fe,ae.apply(this,Ye)}}function _(ae){var pe=typeof ae;return pe==="function"||pe==="object"&&!!ae}function P(ae){return ae===null}function N(ae){return ae===void 0}function U(ae){return ae===!0||ae===!1||c.call(ae)==="[object Boolean]"}function $(ae){return!!(ae&&ae.nodeType===1)}function B(ae){var pe="[object "+ae+"]";return function(Pe){return c.call(Pe)===pe}}var Y=B("String"),Q=B("Number"),K=B("Date"),ee=B("RegExp"),ne=B("Error"),D=B("Symbol"),I=B("ArrayBuffer"),L=B("Function"),re=n.document&&n.document.childNodes;typeof/./!="function"&&typeof Int8Array!="object"&&typeof re!="function"&&(L=function(ae){return typeof ae=="function"||!1});var te=L,ce=B("Object"),be=v&&(!/\[native code\]/.test(String(DataView))||ce(new DataView(new ArrayBuffer(8)))),Ie=typeof Map<"u"&&ce(new Map),je=B("DataView");function z(ae){return ae!=null&&te(ae.getInt8)&&I(ae.buffer)}var k=be?z:je,q=g||B("Array");function H(ae,pe){return ae!=null&&d.call(ae,pe)}var ie=B("Arguments");(function(){ie(arguments)||(ie=function(ae){return H(ae,"callee")})})();var V=ie;function Z(ae){return!D(ae)&&b(ae)&&!isNaN(parseFloat(ae))}function me(ae){return Q(ae)&&w(ae)}function fe(ae){return function(){return ae}}function Re(ae){return function(pe){var Pe=ae(pe);return typeof Pe=="number"&&Pe>=0&&Pe<=x}}function Se(ae){return function(pe){return pe==null?void 0:pe[ae]}}var Oe=Se("byteLength"),Me=Re(Oe),de=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function Ee(ae){return S?S(ae)&&!k(ae):Me(ae)&&de.test(c.call(ae))}var _e=h?Ee:fe(!1),xe=Se("length");function ke(ae){for(var pe={},Pe=ae.length,Fe=0;Fe<Pe;++Fe)pe[ae[Fe]]=!0;return{contains:function(Be){return pe[Be]===!0},push:function(Be){return pe[Be]=!0,ae.push(Be)}}}function Le(ae,pe){pe=ke(pe);var Pe=R.length,Fe=ae.constructor,Be=te(Fe)&&Fe.prototype||a,Ye="constructor";for(H(ae,Ye)&&!pe.contains(Ye)&&pe.push(Ye);Pe--;)Ye=R[Pe],Ye in ae&&ae[Ye]!==Be[Ye]&&!pe.contains(Ye)&&pe.push(Ye)}function He(ae){if(!_(ae))return[];if(m)return m(ae);var pe=[];for(var Pe in ae)H(ae,Pe)&&pe.push(Pe);return A&&Le(ae,pe),pe}function _t(ae){if(ae==null)return!0;var pe=xe(ae);return typeof pe=="number"&&(q(ae)||Y(ae)||V(ae))?pe===0:xe(He(ae))===0}function jt(ae,pe){var Pe=He(pe),Fe=Pe.length;if(ae==null)return!Fe;for(var Be=Object(ae),Ye=0;Ye<Fe;Ye++){var Rt=Pe[Ye];if(pe[Rt]!==Be[Rt]||!(Rt in Be))return!1}return!0}function Lt(ae){if(ae instanceof Lt)return ae;if(!(this instanceof Lt))return new Lt(ae);this._wrapped=ae}Lt.VERSION=r,Lt.prototype.value=function(){return this._wrapped},Lt.prototype.valueOf=Lt.prototype.toJSON=Lt.prototype.value,Lt.prototype.toString=function(){return String(this._wrapped)};function Qe(ae){return new Uint8Array(ae.buffer||ae,ae.byteOffset||0,Oe(ae))}var bt="[object DataView]";function mt(ae,pe,Pe,Fe){if(ae===pe)return ae!==0||1/ae===1/pe;if(ae==null||pe==null)return!1;if(ae!==ae)return pe!==pe;var Be=typeof ae;return Be!=="function"&&Be!=="object"&&typeof pe!="object"?!1:St(ae,pe,Pe,Fe)}function St(ae,pe,Pe,Fe){ae instanceof Lt&&(ae=ae._wrapped),pe instanceof Lt&&(pe=pe._wrapped);var Be=c.call(ae);if(Be!==c.call(pe))return!1;if(be&&Be=="[object Object]"&&k(ae)){if(!k(pe))return!1;Be=bt}switch(Be){case"[object RegExp]":case"[object String]":return""+ae==""+pe;case"[object Number]":return+ae!=+ae?+pe!=+pe:+ae==0?1/+ae===1/pe:+ae==+pe;case"[object Date]":case"[object Boolean]":return+ae==+pe;case"[object Symbol]":return o.valueOf.call(ae)===o.valueOf.call(pe);case"[object ArrayBuffer]":case bt:return St(Qe(ae),Qe(pe),Pe,Fe)}var Ye=Be==="[object Array]";if(!Ye&&_e(ae)){var Rt=Oe(ae);if(Rt!==Oe(pe))return!1;if(ae.buffer===pe.buffer&&ae.byteOffset===pe.byteOffset)return!0;Ye=!0}if(!Ye){if(typeof ae!="object"||typeof pe!="object")return!1;var Xt=ae.constructor,Br=pe.constructor;if(Xt!==Br&&!(te(Xt)&&Xt instanceof Xt&&te(Br)&&Br instanceof Br)&&"constructor"in ae&&"constructor"in pe)return!1}Pe=Pe||[],Fe=Fe||[];for(var Lr=Pe.length;Lr--;)if(Pe[Lr]===ae)return Fe[Lr]===pe;if(Pe.push(ae),Fe.push(pe),Ye){if(Lr=ae.length,Lr!==pe.length)return!1;for(;Lr--;)if(!mt(ae[Lr],pe[Lr],Pe,Fe))return!1}else{var ti=He(ae),Ei;if(Lr=ti.length,He(pe).length!==Lr)return!1;for(;Lr--;)if(Ei=ti[Lr],!(H(pe,Ei)&&mt(ae[Ei],pe[Ei],Pe,Fe)))return!1}return Pe.pop(),Fe.pop(),!0}function yt(ae,pe){return mt(ae,pe)}function at(ae){if(!_(ae))return[];var pe=[];for(var Pe in ae)pe.push(Pe);return A&&Le(ae,pe),pe}function $t(ae){var pe=xe(ae);return function(Pe){if(Pe==null)return!1;var Fe=at(Pe);if(xe(Fe))return!1;for(var Be=0;Be<pe;Be++)if(!te(Pe[ae[Be]]))return!1;return ae!==Pt||!te(Pe[xt])}}var xt="forEach",Ce="has",Ze=["clear","delete"],ut=["get",Ce,"set"],Tt=Ze.concat(xt,ut),Pt=Ze.concat(ut),rr=["add"].concat(Ze,xt,Ce),_r=Ie?$t(Tt):B("Map"),sr=Ie?$t(Pt):B("WeakMap"),mr=Ie?$t(rr):B("Set"),Pr=B("WeakSet");function ln(ae){for(var pe=He(ae),Pe=pe.length,Fe=Array(Pe),Be=0;Be<Pe;Be++)Fe[Be]=ae[pe[Be]];return Fe}function di(ae){for(var pe=He(ae),Pe=pe.length,Fe=Array(Pe),Be=0;Be<Pe;Be++)Fe[Be]=[pe[Be],ae[pe[Be]]];return Fe}function Nn(ae){for(var pe={},Pe=He(ae),Fe=0,Be=Pe.length;Fe<Be;Fe++)pe[ae[Pe[Fe]]]=Pe[Fe];return pe}function Rn(ae){var pe=[];for(var Pe in ae)te(ae[Pe])&&pe.push(Pe);return pe.sort()}function En(ae,pe){return function(Pe){var Fe=arguments.length;if(pe&&(Pe=Object(Pe)),Fe<2||Pe==null)return Pe;for(var Be=1;Be<Fe;Be++)for(var Ye=arguments[Be],Rt=ae(Ye),Xt=Rt.length,Br=0;Br<Xt;Br++){var Lr=Rt[Br];(!pe||Pe[Lr]===void 0)&&(Pe[Lr]=Ye[Lr])}return Pe}}var Jn=En(at),Zn=En(He),Ci=En(at,!0);function _i(){return function(){}}function Vi(ae){if(!_(ae))return{};if(y)return y(ae);var pe=_i();pe.prototype=ae;var Pe=new pe;return pe.prototype=null,Pe}function Yi(ae,pe){var Pe=Vi(ae);return pe&&Zn(Pe,pe),Pe}function Ln(ae){return _(ae)?q(ae)?ae.slice():Jn({},ae):ae}function oi(ae,pe){return pe(ae),ae}function Di(ae){return q(ae)?ae:[ae]}Lt.toPath=Di;function Ai(ae){return Lt.toPath(ae)}function it(ae,pe){for(var Pe=pe.length,Fe=0;Fe<Pe;Fe++){if(ae==null)return;ae=ae[pe[Fe]]}return Pe?ae:void 0}function Ft(ae,pe,Pe){var Fe=it(ae,Ai(pe));return N(Fe)?Pe:Fe}function pt(ae,pe){pe=Ai(pe);for(var Pe=pe.length,Fe=0;Fe<Pe;Fe++){var Be=pe[Fe];if(!H(ae,Be))return!1;ae=ae[Be]}return!!Pe}function Ke(ae){return ae}function At(ae){return ae=Zn({},ae),function(pe){return jt(pe,ae)}}function pr(ae){return ae=Ai(ae),function(pe){return it(pe,ae)}}function we(ae,pe,Pe){if(pe===void 0)return ae;switch(Pe??3){case 1:return function(Fe){return ae.call(pe,Fe)};case 3:return function(Fe,Be,Ye){return ae.call(pe,Fe,Be,Ye)};case 4:return function(Fe,Be,Ye,Rt){return ae.call(pe,Fe,Be,Ye,Rt)}}return function(){return ae.apply(pe,arguments)}}function ct(ae,pe,Pe){return ae==null?Ke:te(ae)?we(ae,pe,Pe):_(ae)&&!q(ae)?At(ae):pr(ae)}function nt(ae,pe){return ct(ae,pe,1/0)}Lt.iteratee=nt;function ft(ae,pe,Pe){return Lt.iteratee!==nt?Lt.iteratee(ae,pe):ct(ae,pe,Pe)}function kt(ae,pe,Pe){pe=ft(pe,Pe);for(var Fe=He(ae),Be=Fe.length,Ye={},Rt=0;Rt<Be;Rt++){var Xt=Fe[Rt];Ye[Xt]=pe(ae[Xt],Xt,ae)}return Ye}function dt(){}function Yt(ae){return ae==null?dt:function(pe){return Ft(ae,pe)}}function Dr(ae,pe,Pe){var Fe=Array(Math.max(0,ae));pe=we(pe,Pe,1);for(var Be=0;Be<ae;Be++)Fe[Be]=pe(Be);return Fe}function Zr(ae,pe){return pe==null&&(pe=ae,ae=0),ae+Math.floor(Math.random()*(pe-ae+1))}var en=Date.now||function(){return new Date().getTime()};function pn(ae){var pe=function(Ye){return ae[Ye]},Pe="(?:"+He(ae).join("|")+")",Fe=RegExp(Pe),Be=RegExp(Pe,"g");return function(Ye){return Ye=Ye==null?"":""+Ye,Fe.test(Ye)?Ye.replace(Be,pe):Ye}}var Mt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},Kr=pn(Mt),Ki=Nn(Mt),si=pn(Ki),va=Lt.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Bi=/(.)^/,xa={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},no=/\\|'|\r|\n|\u2028|\u2029/g;function qa(ae){return"\\"+xa[ae]}var W=/^\s*(\w|\$)+\s*$/;function ue(ae,pe,Pe){!pe&&Pe&&(pe=Pe),pe=Ci({},pe,Lt.templateSettings);var Fe=RegExp([(pe.escape||Bi).source,(pe.interpolate||Bi).source,(pe.evaluate||Bi).source].join("|")+"|$","g"),Be=0,Ye="__p+='";ae.replace(Fe,function(Lr,ti,Ei,wl,Qo){return Ye+=ae.slice(Be,Qo).replace(no,qa),Be=Qo+Lr.length,ti?Ye+=`'+
11
- ((__t=(`+ti+`))==null?'':_.escape(__t))+
12
- '`:Ei?Ye+=`'+
13
- ((__t=(`+Ei+`))==null?'':__t)+
14
- '`:wl&&(Ye+=`';
15
- `+wl+`
16
- __p+='`),Lr}),Ye+=`';
17
- `;var Rt=pe.variable;if(Rt){if(!W.test(Rt))throw new Error("variable is not a bare identifier: "+Rt)}else Ye=`with(obj||{}){
18
- `+Ye+`}
19
- `,Rt="obj";Ye=`var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
20
- `+Ye+`return __p;
21
- `;var Xt;try{Xt=new Function(Rt,"_",Ye)}catch(Lr){throw Lr.source=Ye,Lr}var Br=function(Lr){return Xt.call(this,Lr,Lt)};return Br.source="function("+Rt+`){
22
- `+Ye+"}",Br}function Te(ae,pe,Pe){pe=Ai(pe);var Fe=pe.length;if(!Fe)return te(Pe)?Pe.call(ae):Pe;for(var Be=0;Be<Fe;Be++){var Ye=ae==null?void 0:ae[pe[Be]];Ye===void 0&&(Ye=Pe,Be=Fe),ae=te(Ye)?Ye.call(ae):Ye}return ae}var qe=0;function ht(ae){var pe=++qe+"";return ae?ae+pe:pe}function rt(ae){var pe=Lt(ae);return pe._chain=!0,pe}function Ot(ae,pe,Pe,Fe,Be){if(!(Fe instanceof pe))return ae.apply(Pe,Be);var Ye=Vi(ae.prototype),Rt=ae.apply(Ye,Be);return _(Rt)?Rt:Ye}var Wt=O(function(ae,pe){var Pe=Wt.placeholder,Fe=function(){for(var Be=0,Ye=pe.length,Rt=Array(Ye),Xt=0;Xt<Ye;Xt++)Rt[Xt]=pe[Xt]===Pe?arguments[Be++]:pe[Xt];for(;Be<arguments.length;)Rt.push(arguments[Be++]);return Ot(ae,Fe,this,this,Rt)};return Fe});Wt.placeholder=Lt;var Jt=O(function(ae,pe,Pe){if(!te(ae))throw new TypeError("Bind must be called on a function");var Fe=O(function(Be){return Ot(ae,Fe,pe,this,Pe.concat(Be))});return Fe}),wr=Re(xe);function Ar(ae,pe,Pe,Fe){if(Fe=Fe||[],!pe&&pe!==0)pe=1/0;else if(pe<=0)return Fe.concat(ae);for(var Be=Fe.length,Ye=0,Rt=xe(ae);Ye<Rt;Ye++){var Xt=ae[Ye];if(wr(Xt)&&(q(Xt)||V(Xt)))if(pe>1)Ar(Xt,pe-1,Pe,Fe),Be=Fe.length;else for(var Br=0,Lr=Xt.length;Br<Lr;)Fe[Be++]=Xt[Br++];else Pe||(Fe[Be++]=Xt)}return Fe}var qn=O(function(ae,pe){pe=Ar(pe,!1,!1);var Pe=pe.length;if(Pe<1)throw new Error("bindAll must be passed function names");for(;Pe--;){var Fe=pe[Pe];ae[Fe]=Jt(ae[Fe],ae)}return ae});function ki(ae,pe){var Pe=function(Fe){var Be=Pe.cache,Ye=""+(pe?pe.apply(this,arguments):Fe);return H(Be,Ye)||(Be[Ye]=ae.apply(this,arguments)),Be[Ye]};return Pe.cache={},Pe}var Ni=O(function(ae,pe,Pe){return setTimeout(function(){return ae.apply(null,Pe)},pe)}),ms=Wt(Ni,Lt,1);function lu(ae,pe,Pe){var Fe,Be,Ye,Rt,Xt=0;Pe||(Pe={});var Br=function(){Xt=Pe.leading===!1?0:en(),Fe=null,Rt=ae.apply(Be,Ye),Fe||(Be=Ye=null)},Lr=function(){var ti=en();!Xt&&Pe.leading===!1&&(Xt=ti);var Ei=pe-(ti-Xt);return Be=this,Ye=arguments,Ei<=0||Ei>pe?(Fe&&(clearTimeout(Fe),Fe=null),Xt=ti,Rt=ae.apply(Be,Ye),Fe||(Be=Ye=null)):!Fe&&Pe.trailing!==!1&&(Fe=setTimeout(Br,Ei)),Rt};return Lr.cancel=function(){clearTimeout(Fe),Xt=0,Fe=Be=Ye=null},Lr}function ys(ae,pe,Pe){var Fe,Be,Ye,Rt,Xt,Br=function(){var ti=en()-Be;pe>ti?Fe=setTimeout(Br,pe-ti):(Fe=null,Pe||(Rt=ae.apply(Xt,Ye)),Fe||(Ye=Xt=null))},Lr=O(function(ti){return Xt=this,Ye=ti,Be=en(),Fe||(Fe=setTimeout(Br,pe),Pe&&(Rt=ae.apply(Xt,Ye))),Rt});return Lr.cancel=function(){clearTimeout(Fe),Fe=Ye=Xt=null},Lr}function io(ae,pe){return Wt(pe,ae)}function Si(ae){return function(){return!ae.apply(this,arguments)}}function Va(){var ae=arguments,pe=ae.length-1;return function(){for(var Pe=pe,Fe=ae[pe].apply(this,arguments);Pe--;)Fe=ae[Pe].call(this,Fe);return Fe}}function ao(ae,pe){return function(){if(--ae<1)return pe.apply(this,arguments)}}function gn(ae,pe){var Pe;return function(){return--ae>0&&(Pe=pe.apply(this,arguments)),ae<=1&&(pe=null),Pe}}var pa=Wt(gn,2);function Wo(ae,pe,Pe){pe=ft(pe,Pe);for(var Fe=He(ae),Be,Ye=0,Rt=Fe.length;Ye<Rt;Ye++)if(Be=Fe[Ye],pe(ae[Be],Be,ae))return Be}function Go(ae){return function(pe,Pe,Fe){Pe=ft(Pe,Fe);for(var Be=xe(pe),Ye=ae>0?0:Be-1;Ye>=0&&Ye<Be;Ye+=ae)if(Pe(pe[Ye],Ye,pe))return Ye;return-1}}var ra=Go(1),Us=Go(-1);function oo(ae,pe,Pe,Fe){Pe=ft(Pe,Fe,1);for(var Be=Pe(pe),Ye=0,Rt=xe(ae);Ye<Rt;){var Xt=Math.floor((Ye+Rt)/2);Pe(ae[Xt])<Be?Ye=Xt+1:Rt=Xt}return Ye}function _s(ae,pe,Pe){return function(Fe,Be,Ye){var Rt=0,Xt=xe(Fe);if(typeof Ye=="number")ae>0?Rt=Ye>=0?Ye:Math.max(Ye+Xt,Rt):Xt=Ye>=0?Math.min(Ye+1,Xt):Ye+Xt+1;else if(Pe&&Ye&&Xt)return Ye=Pe(Fe,Be),Fe[Ye]===Be?Ye:-1;if(Be!==Be)return Ye=pe(s.call(Fe,Rt,Xt),me),Ye>=0?Ye+Rt:-1;for(Ye=ae>0?Rt:Xt-1;Ye>=0&&Ye<Xt;Ye+=ae)if(Fe[Ye]===Be)return Ye;return-1}}var qs=_s(1,ra,oo),Nu=_s(-1,Us);function so(ae,pe,Pe){var Fe=wr(ae)?ra:Wo,Be=Fe(ae,pe,Pe);if(Be!==void 0&&Be!==-1)return ae[Be]}function So(ae,pe){return so(ae,At(pe))}function Hi(ae,pe,Pe){pe=we(pe,Pe);var Fe,Be;if(wr(ae))for(Fe=0,Be=ae.length;Fe<Be;Fe++)pe(ae[Fe],Fe,ae);else{var Ye=He(ae);for(Fe=0,Be=Ye.length;Fe<Be;Fe++)pe(ae[Ye[Fe]],Ye[Fe],ae)}return ae}function ga(ae,pe,Pe){pe=ft(pe,Pe);for(var Fe=!wr(ae)&&He(ae),Be=(Fe||ae).length,Ye=Array(Be),Rt=0;Rt<Be;Rt++){var Xt=Fe?Fe[Rt]:Rt;Ye[Rt]=pe(ae[Xt],Xt,ae)}return Ye}function Lu(ae){var pe=function(Pe,Fe,Be,Ye){var Rt=!wr(Pe)&&He(Pe),Xt=(Rt||Pe).length,Br=ae>0?0:Xt-1;for(Ye||(Be=Pe[Rt?Rt[Br]:Br],Br+=ae);Br>=0&&Br<Xt;Br+=ae){var Lr=Rt?Rt[Br]:Br;Be=Fe(Be,Pe[Lr],Lr,Pe)}return Be};return function(Pe,Fe,Be,Ye){var Rt=arguments.length>=3;return pe(Pe,we(Fe,Ye,4),Be,Rt)}}var Yo=Lu(1),Ko=Lu(-1);function ma(ae,pe,Pe){var Fe=[];return pe=ft(pe,Pe),Hi(ae,function(Be,Ye,Rt){pe(Be,Ye,Rt)&&Fe.push(Be)}),Fe}function Vs(ae,pe,Pe){return ma(ae,Si(ft(pe)),Pe)}function Mu(ae,pe,Pe){pe=ft(pe,Pe);for(var Fe=!wr(ae)&&He(ae),Be=(Fe||ae).length,Ye=0;Ye<Be;Ye++){var Rt=Fe?Fe[Ye]:Ye;if(!pe(ae[Rt],Rt,ae))return!1}return!0}function Li(ae,pe,Pe){pe=ft(pe,Pe);for(var Fe=!wr(ae)&&He(ae),Be=(Fe||ae).length,Ye=0;Ye<Be;Ye++){var Rt=Fe?Fe[Ye]:Ye;if(pe(ae[Rt],Rt,ae))return!0}return!1}function ya(ae,pe,Pe,Fe){return wr(ae)||(ae=ln(ae)),(typeof Pe!="number"||Fe)&&(Pe=0),qs(ae,pe,Pe)>=0}var Eo=O(function(ae,pe,Pe){var Fe,Be;return te(pe)?Be=pe:(pe=Ai(pe),Fe=pe.slice(0,-1),pe=pe[pe.length-1]),ga(ae,function(Ye){var Rt=Be;if(!Rt){if(Fe&&Fe.length&&(Ye=it(Ye,Fe)),Ye==null)return;Rt=Ye[pe]}return Rt==null?Rt:Rt.apply(Ye,Pe)})});function Xo(ae,pe){return ga(ae,pr(pe))}function wo(ae,pe){return ma(ae,At(pe))}function bo(ae,pe,Pe){var Fe=-1/0,Be=-1/0,Ye,Rt;if(pe==null||typeof pe=="number"&&typeof ae[0]!="object"&&ae!=null){ae=wr(ae)?ae:ln(ae);for(var Xt=0,Br=ae.length;Xt<Br;Xt++)Ye=ae[Xt],Ye!=null&&Ye>Fe&&(Fe=Ye)}else pe=ft(pe,Pe),Hi(ae,function(Lr,ti,Ei){Rt=pe(Lr,ti,Ei),(Rt>Be||Rt===-1/0&&Fe===-1/0)&&(Fe=Lr,Be=Rt)});return Fe}function E(ae,pe,Pe){var Fe=1/0,Be=1/0,Ye,Rt;if(pe==null||typeof pe=="number"&&typeof ae[0]!="object"&&ae!=null){ae=wr(ae)?ae:ln(ae);for(var Xt=0,Br=ae.length;Xt<Br;Xt++)Ye=ae[Xt],Ye!=null&&Ye<Fe&&(Fe=Ye)}else pe=ft(pe,Pe),Hi(ae,function(Lr,ti,Ei){Rt=pe(Lr,ti,Ei),(Rt<Be||Rt===1/0&&Fe===1/0)&&(Fe=Lr,Be=Rt)});return Fe}var C=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function M(ae){return ae?q(ae)?s.call(ae):Y(ae)?ae.match(C):wr(ae)?ga(ae,Ke):ln(ae):[]}function X(ae,pe,Pe){if(pe==null||Pe)return wr(ae)||(ae=ln(ae)),ae[Zr(ae.length-1)];var Fe=M(ae),Be=xe(Fe);pe=Math.max(Math.min(pe,Be),0);for(var Ye=Be-1,Rt=0;Rt<pe;Rt++){var Xt=Zr(Rt,Ye),Br=Fe[Rt];Fe[Rt]=Fe[Xt],Fe[Xt]=Br}return Fe.slice(0,pe)}function oe(ae){return X(ae,1/0)}function le(ae,pe,Pe){var Fe=0;return pe=ft(pe,Pe),Xo(ga(ae,function(Be,Ye,Rt){return{value:Be,index:Fe++,criteria:pe(Be,Ye,Rt)}}).sort(function(Be,Ye){var Rt=Be.criteria,Xt=Ye.criteria;if(Rt!==Xt){if(Rt>Xt||Rt===void 0)return 1;if(Rt<Xt||Xt===void 0)return-1}return Be.index-Ye.index}),"value")}function ve(ae,pe){return function(Pe,Fe,Be){var Ye=pe?[[],[]]:{};return Fe=ft(Fe,Be),Hi(Pe,function(Rt,Xt){var Br=Fe(Rt,Xt,Pe);ae(Ye,Rt,Br)}),Ye}}var Ue=ve(function(ae,pe,Pe){H(ae,Pe)?ae[Pe].push(pe):ae[Pe]=[pe]}),Ne=ve(function(ae,pe,Pe){ae[Pe]=pe}),Ge=ve(function(ae,pe,Pe){H(ae,Pe)?ae[Pe]++:ae[Pe]=1}),wt=ve(function(ae,pe,Pe){ae[Pe?0:1].push(pe)},!0);function Ct(ae){return ae==null?0:wr(ae)?ae.length:He(ae).length}function st(ae,pe,Pe){return pe in Pe}var Vt=O(function(ae,pe){var Pe={},Fe=pe[0];if(ae==null)return Pe;te(Fe)?(pe.length>1&&(Fe=we(Fe,pe[1])),pe=at(ae)):(Fe=st,pe=Ar(pe,!1,!1),ae=Object(ae));for(var Be=0,Ye=pe.length;Be<Ye;Be++){var Rt=pe[Be],Xt=ae[Rt];Fe(Xt,Rt,ae)&&(Pe[Rt]=Xt)}return Pe}),Rr=O(function(ae,pe){var Pe=pe[0],Fe;return te(Pe)?(Pe=Si(Pe),pe.length>1&&(Fe=pe[1])):(pe=ga(Ar(pe,!1,!1),String),Pe=function(Be,Ye){return!ya(pe,Ye)}),Vt(ae,Pe,Fe)});function tn(ae,pe,Pe){return s.call(ae,0,Math.max(0,ae.length-(pe==null||Pe?1:pe)))}function qr(ae,pe,Pe){return ae==null||ae.length<1?pe==null||Pe?void 0:[]:pe==null||Pe?ae[0]:tn(ae,ae.length-pe)}function ei(ae,pe,Pe){return s.call(ae,pe==null||Pe?1:pe)}function hi(ae,pe,Pe){return ae==null||ae.length<1?pe==null||Pe?void 0:[]:pe==null||Pe?ae[ae.length-1]:ei(ae,Math.max(0,ae.length-pe))}function G(ae){return ma(ae,Boolean)}function se(ae,pe){return Ar(ae,pe,!1)}var ge=O(function(ae,pe){return pe=Ar(pe,!0,!0),ma(ae,function(Pe){return!ya(pe,Pe)})}),$e=O(function(ae,pe){return ge(ae,pe)});function Je(ae,pe,Pe,Fe){U(pe)||(Fe=Pe,Pe=pe,pe=!1),Pe!=null&&(Pe=ft(Pe,Fe));for(var Be=[],Ye=[],Rt=0,Xt=xe(ae);Rt<Xt;Rt++){var Br=ae[Rt],Lr=Pe?Pe(Br,Rt,ae):Br;pe&&!Pe?((!Rt||Ye!==Lr)&&Be.push(Br),Ye=Lr):Pe?ya(Ye,Lr)||(Ye.push(Lr),Be.push(Br)):ya(Be,Br)||Be.push(Br)}return Be}var et=O(function(ae){return Je(Ar(ae,!0,!0))});function It(ae){for(var pe=[],Pe=arguments.length,Fe=0,Be=xe(ae);Fe<Be;Fe++){var Ye=ae[Fe];if(!ya(pe,Ye)){var Rt;for(Rt=1;Rt<Pe&&ya(arguments[Rt],Ye);Rt++);Rt===Pe&&pe.push(Ye)}}return pe}function Gt(ae){for(var pe=ae&&bo(ae,xe).length||0,Pe=Array(pe),Fe=0;Fe<pe;Fe++)Pe[Fe]=Xo(ae,Fe);return Pe}var yr=O(Gt);function Vr(ae,pe){for(var Pe={},Fe=0,Be=xe(ae);Fe<Be;Fe++)pe?Pe[ae[Fe]]=pe[Fe]:Pe[ae[Fe][0]]=ae[Fe][1];return Pe}function xr(ae,pe,Pe){pe==null&&(pe=ae||0,ae=0),Pe||(Pe=pe<ae?-1:1);for(var Fe=Math.max(Math.ceil((pe-ae)/Pe),0),Be=Array(Fe),Ye=0;Ye<Fe;Ye++,ae+=Pe)Be[Ye]=ae;return Be}function Mn(ae,pe){if(pe==null||pe<1)return[];for(var Pe=[],Fe=0,Be=ae.length;Fe<Be;)Pe.push(s.call(ae,Fe,Fe+=pe));return Pe}function ui(ae,pe){return ae._chain?Lt(pe).chain():pe}function Vn(ae){return Hi(Rn(ae),function(pe){var Pe=Lt[pe]=ae[pe];Lt.prototype[pe]=function(){var Fe=[this._wrapped];return u.apply(Fe,arguments),ui(this,Pe.apply(Lt,Fe))}}),Lt}Hi(["pop","push","reverse","shift","sort","splice","unshift"],function(ae){var pe=i[ae];Lt.prototype[ae]=function(){var Pe=this._wrapped;return Pe!=null&&(pe.apply(Pe,arguments),(ae==="shift"||ae==="splice")&&Pe.length===0&&delete Pe[0]),ui(this,Pe)}}),Hi(["concat","join","slice"],function(ae){var pe=i[ae];Lt.prototype[ae]=function(){var Pe=this._wrapped;return Pe!=null&&(Pe=pe.apply(Pe,arguments)),ui(this,Pe)}});var _c={__proto__:null,VERSION:r,restArguments:O,isObject:_,isNull:P,isUndefined:N,isBoolean:U,isElement:$,isString:Y,isNumber:Q,isDate:K,isRegExp:ee,isError:ne,isSymbol:D,isArrayBuffer:I,isDataView:k,isArray:q,isFunction:te,isArguments:V,isFinite:Z,isNaN:me,isTypedArray:_e,isEmpty:_t,isMatch:jt,isEqual:yt,isMap:_r,isWeakMap:sr,isSet:mr,isWeakSet:Pr,keys:He,allKeys:at,values:ln,pairs:di,invert:Nn,functions:Rn,methods:Rn,extend:Jn,extendOwn:Zn,assign:Zn,defaults:Ci,create:Yi,clone:Ln,tap:oi,get:Ft,has:pt,mapObject:kt,identity:Ke,constant:fe,noop:dt,toPath:Di,property:pr,propertyOf:Yt,matcher:At,matches:At,times:Dr,random:Zr,now:en,escape:Kr,unescape:si,templateSettings:va,template:ue,result:Te,uniqueId:ht,chain:rt,iteratee:nt,partial:Wt,bind:Jt,bindAll:qn,memoize:ki,delay:Ni,defer:ms,throttle:lu,debounce:ys,wrap:io,negate:Si,compose:Va,after:ao,before:gn,once:pa,findKey:Wo,findIndex:ra,findLastIndex:Us,sortedIndex:oo,indexOf:qs,lastIndexOf:Nu,find:so,detect:so,findWhere:So,each:Hi,forEach:Hi,map:ga,collect:ga,reduce:Yo,foldl:Yo,inject:Yo,reduceRight:Ko,foldr:Ko,filter:ma,select:ma,reject:Vs,every:Mu,all:Mu,some:Li,any:Li,contains:ya,includes:ya,include:ya,invoke:Eo,pluck:Xo,where:wo,max:bo,min:E,shuffle:oe,sample:X,sortBy:le,groupBy:Ue,indexBy:Ne,countBy:Ge,partition:wt,toArray:M,size:Ct,pick:Vt,omit:Rr,first:qr,head:qr,take:qr,initial:tn,last:hi,rest:ei,tail:ei,drop:ei,compact:G,flatten:se,without:$e,uniq:Je,unique:Je,union:et,intersection:It,difference:ge,unzip:Gt,transpose:Gt,zip:yr,object:Vr,range:xr,chunk:Mn,mixin:Vn,default:Lt},uo=Vn(_c);return uo._=uo,uo}))})(Om)),Om.exports}var aR={},Im={exports:{}};/*!
23
- * jQuery JavaScript Library v3.7.1
24
- * https://jquery.com/
25
- *
26
- * Copyright OpenJS Foundation and other contributors
27
- * Released under the MIT license
28
- * https://jquery.org/license
29
- *
30
- * Date: 2023-08-28T13:37Z
31
- */var nSe=Im.exports,DW;function Qre(){return DW||(DW=1,(function(e){(function(t,r){e.exports=t.document?r(t,!0):function(n){if(!n.document)throw new Error("jQuery requires a window with a document");return r(n)}})(typeof window<"u"?window:nSe,function(t,r){var n=[],i=Object.getPrototypeOf,a=n.slice,o=n.flat?function(E){return n.flat.call(E)}:function(E){return n.concat.apply([],E)},u=n.push,s=n.indexOf,c={},d=c.toString,h=c.hasOwnProperty,v=h.toString,g=v.call(Object),m={},y=function(C){return typeof C=="function"&&typeof C.nodeType!="number"&&typeof C.item!="function"},S=function(C){return C!=null&&C===C.window},w=t.document,b={type:!0,src:!0,nonce:!0,noModule:!0};function A(E,C,M){M=M||w;var X,oe,le=M.createElement("script");if(le.text=E,C)for(X in b)oe=C[X]||C.getAttribute&&C.getAttribute(X),oe&&le.setAttribute(X,oe);M.head.appendChild(le).parentNode.removeChild(le)}function R(E){return E==null?E+"":typeof E=="object"||typeof E=="function"?c[d.call(E)]||"object":typeof E}var x="3.7.1",O=/HTML$/i,_=function(E,C){return new _.fn.init(E,C)};_.fn=_.prototype={jquery:x,constructor:_,length:0,toArray:function(){return a.call(this)},get:function(E){return E==null?a.call(this):E<0?this[E+this.length]:this[E]},pushStack:function(E){var C=_.merge(this.constructor(),E);return C.prevObject=this,C},each:function(E){return _.each(this,E)},map:function(E){return this.pushStack(_.map(this,function(C,M){return E.call(C,M,C)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(_.grep(this,function(E,C){return(C+1)%2}))},odd:function(){return this.pushStack(_.grep(this,function(E,C){return C%2}))},eq:function(E){var C=this.length,M=+E+(E<0?C:0);return this.pushStack(M>=0&&M<C?[this[M]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:n.sort,splice:n.splice},_.extend=_.fn.extend=function(){var E,C,M,X,oe,le,ve=arguments[0]||{},Ue=1,Ne=arguments.length,Ge=!1;for(typeof ve=="boolean"&&(Ge=ve,ve=arguments[Ue]||{},Ue++),typeof ve!="object"&&!y(ve)&&(ve={}),Ue===Ne&&(ve=this,Ue--);Ue<Ne;Ue++)if((E=arguments[Ue])!=null)for(C in E)X=E[C],!(C==="__proto__"||ve===X)&&(Ge&&X&&(_.isPlainObject(X)||(oe=Array.isArray(X)))?(M=ve[C],oe&&!Array.isArray(M)?le=[]:!oe&&!_.isPlainObject(M)?le={}:le=M,oe=!1,ve[C]=_.extend(Ge,le,X)):X!==void 0&&(ve[C]=X));return ve},_.extend({expando:"jQuery"+(x+Math.random()).replace(/\D/g,""),isReady:!0,error:function(E){throw new Error(E)},noop:function(){},isPlainObject:function(E){var C,M;return!E||d.call(E)!=="[object Object]"?!1:(C=i(E),C?(M=h.call(C,"constructor")&&C.constructor,typeof M=="function"&&v.call(M)===g):!0)},isEmptyObject:function(E){var C;for(C in E)return!1;return!0},globalEval:function(E,C,M){A(E,{nonce:C&&C.nonce},M)},each:function(E,C){var M,X=0;if(P(E))for(M=E.length;X<M&&C.call(E[X],X,E[X])!==!1;X++);else for(X in E)if(C.call(E[X],X,E[X])===!1)break;return E},text:function(E){var C,M="",X=0,oe=E.nodeType;if(!oe)for(;C=E[X++];)M+=_.text(C);return oe===1||oe===11?E.textContent:oe===9?E.documentElement.textContent:oe===3||oe===4?E.nodeValue:M},makeArray:function(E,C){var M=C||[];return E!=null&&(P(Object(E))?_.merge(M,typeof E=="string"?[E]:E):u.call(M,E)),M},inArray:function(E,C,M){return C==null?-1:s.call(C,E,M)},isXMLDoc:function(E){var C=E&&E.namespaceURI,M=E&&(E.ownerDocument||E).documentElement;return!O.test(C||M&&M.nodeName||"HTML")},merge:function(E,C){for(var M=+C.length,X=0,oe=E.length;X<M;X++)E[oe++]=C[X];return E.length=oe,E},grep:function(E,C,M){for(var X,oe=[],le=0,ve=E.length,Ue=!M;le<ve;le++)X=!C(E[le],le),X!==Ue&&oe.push(E[le]);return oe},map:function(E,C,M){var X,oe,le=0,ve=[];if(P(E))for(X=E.length;le<X;le++)oe=C(E[le],le,M),oe!=null&&ve.push(oe);else for(le in E)oe=C(E[le],le,M),oe!=null&&ve.push(oe);return o(ve)},guid:1,support:m}),typeof Symbol=="function"&&(_.fn[Symbol.iterator]=n[Symbol.iterator]),_.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(E,C){c["[object "+C+"]"]=C.toLowerCase()});function P(E){var C=!!E&&"length"in E&&E.length,M=R(E);return y(E)||S(E)?!1:M==="array"||C===0||typeof C=="number"&&C>0&&C-1 in E}function N(E,C){return E.nodeName&&E.nodeName.toLowerCase()===C.toLowerCase()}var U=n.pop,$=n.sort,B=n.splice,Y="[\\x20\\t\\r\\n\\f]",Q=new RegExp("^"+Y+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Y+"+$","g");_.contains=function(E,C){var M=C&&C.parentNode;return E===M||!!(M&&M.nodeType===1&&(E.contains?E.contains(M):E.compareDocumentPosition&&E.compareDocumentPosition(M)&16))};var K=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function ee(E,C){return C?E==="\0"?"�":E.slice(0,-1)+"\\"+E.charCodeAt(E.length-1).toString(16)+" ":"\\"+E}_.escapeSelector=function(E){return(E+"").replace(K,ee)};var ne=w,D=u;(function(){var E,C,M,X,oe,le=D,ve,Ue,Ne,Ge,wt,Ct=_.expando,st=0,Vt=0,Rr=Ye(),tn=Ye(),qr=Ye(),ei=Ye(),hi=function(Ae,We){return Ae===We&&(oe=!0),0},G="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",se="(?:\\\\[\\da-fA-F]{1,6}"+Y+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",ge="\\["+Y+"*("+se+")(?:"+Y+"*([*^$|!~]?=)"+Y+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+se+"))|)"+Y+"*\\]",$e=":("+se+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+ge+")*)|.*)\\)|)",Je=new RegExp(Y+"+","g"),et=new RegExp("^"+Y+"*,"+Y+"*"),It=new RegExp("^"+Y+"*([>+~]|"+Y+")"+Y+"*"),Gt=new RegExp(Y+"|>"),yr=new RegExp($e),Vr=new RegExp("^"+se+"$"),xr={ID:new RegExp("^#("+se+")"),CLASS:new RegExp("^\\.("+se+")"),TAG:new RegExp("^("+se+"|[*])"),ATTR:new RegExp("^"+ge),PSEUDO:new RegExp("^"+$e),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Y+"*(even|odd|(([+-]|)(\\d*)n|)"+Y+"*(?:([+-]|)"+Y+"*(\\d+)|))"+Y+"*\\)|)","i"),bool:new RegExp("^(?:"+G+")$","i"),needsContext:new RegExp("^"+Y+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Y+"*((?:-\\d)?\\d*)"+Y+"*\\)|)(?=[^-]|$)","i")},Mn=/^(?:input|select|textarea|button)$/i,ui=/^h\d$/i,Vn=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,_c=/[+~]/,uo=new RegExp("\\\\[\\da-fA-F]{1,6}"+Y+"?|\\\\([^\\r\\n\\f])","g"),ae=function(Ae,We){var lt="0x"+Ae.slice(1)-65536;return We||(lt<0?String.fromCharCode(lt+65536):String.fromCharCode(lt>>10|55296,lt&1023|56320))},pe=function(){Qo()},Pe=fu(function(Ae){return Ae.disabled===!0&&N(Ae,"fieldset")},{dir:"parentNode",next:"legend"});function Fe(){try{return ve.activeElement}catch{}}try{le.apply(n=a.call(ne.childNodes),ne.childNodes),n[ne.childNodes.length].nodeType}catch{le={apply:function(We,lt){D.apply(We,a.call(lt))},call:function(We){D.apply(We,a.call(arguments,1))}}}function Be(Ae,We,lt,Et){var Dt,Zt,tr,lr,ar,sn,Mr,Hr=We&&We.ownerDocument,nn=We?We.nodeType:9;if(lt=lt||[],typeof Ae!="string"||!Ae||nn!==1&&nn!==9&&nn!==11)return lt;if(!Et&&(Qo(We),We=We||ve,Ne)){if(nn!==11&&(ar=Vn.exec(Ae)))if(Dt=ar[1]){if(nn===9)if(tr=We.getElementById(Dt)){if(tr.id===Dt)return le.call(lt,tr),lt}else return lt;else if(Hr&&(tr=Hr.getElementById(Dt))&&Be.contains(We,tr)&&tr.id===Dt)return le.call(lt,tr),lt}else{if(ar[2])return le.apply(lt,We.getElementsByTagName(Ae)),lt;if((Dt=ar[3])&&We.getElementsByClassName)return le.apply(lt,We.getElementsByClassName(Dt)),lt}if(!ei[Ae+" "]&&(!Ge||!Ge.test(Ae))){if(Mr=Ae,Hr=We,nn===1&&(Gt.test(Ae)||It.test(Ae))){for(Hr=_c.test(Ae)&&wl(We.parentNode)||We,(Hr!=We||!m.scope)&&((lr=We.getAttribute("id"))?lr=_.escapeSelector(lr):We.setAttribute("id",lr=Ct)),sn=bl(Ae),Zt=sn.length;Zt--;)sn[Zt]=(lr?"#"+lr:":scope")+" "+cu(sn[Zt]);Mr=sn.join(",")}try{return le.apply(lt,Hr.querySelectorAll(Mr)),lt}catch{ei(Ae,!0)}finally{lr===Ct&&We.removeAttribute("id")}}}return Nh(Ae.replace(Q,"$1"),We,lt,Et)}function Ye(){var Ae=[];function We(lt,Et){return Ae.push(lt+" ")>C.cacheLength&&delete We[Ae.shift()],We[lt+" "]=Et}return We}function Rt(Ae){return Ae[Ct]=!0,Ae}function Xt(Ae){var We=ve.createElement("fieldset");try{return!!Ae(We)}catch{return!1}finally{We.parentNode&&We.parentNode.removeChild(We),We=null}}function Br(Ae){return function(We){return N(We,"input")&&We.type===Ae}}function Lr(Ae){return function(We){return(N(We,"input")||N(We,"button"))&&We.type===Ae}}function ti(Ae){return function(We){return"form"in We?We.parentNode&&We.disabled===!1?"label"in We?"label"in We.parentNode?We.parentNode.disabled===Ae:We.disabled===Ae:We.isDisabled===Ae||We.isDisabled!==!Ae&&Pe(We)===Ae:We.disabled===Ae:"label"in We?We.disabled===Ae:!1}}function Ei(Ae){return Rt(function(We){return We=+We,Rt(function(lt,Et){for(var Dt,Zt=Ae([],lt.length,We),tr=Zt.length;tr--;)lt[Dt=Zt[tr]]&&(lt[Dt]=!(Et[Dt]=lt[Dt]))})})}function wl(Ae){return Ae&&typeof Ae.getElementsByTagName<"u"&&Ae}function Qo(Ae){var We,lt=Ae?Ae.ownerDocument||Ae:ne;return lt==ve||lt.nodeType!==9||!lt.documentElement||(ve=lt,Ue=ve.documentElement,Ne=!_.isXMLDoc(ve),wt=Ue.matches||Ue.webkitMatchesSelector||Ue.msMatchesSelector,Ue.msMatchesSelector&&ne!=ve&&(We=ve.defaultView)&&We.top!==We&&We.addEventListener("unload",pe),m.getById=Xt(function(Et){return Ue.appendChild(Et).id=_.expando,!ve.getElementsByName||!ve.getElementsByName(_.expando).length}),m.disconnectedMatch=Xt(function(Et){return wt.call(Et,"*")}),m.scope=Xt(function(){return ve.querySelectorAll(":scope")}),m.cssHas=Xt(function(){try{return ve.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),m.getById?(C.filter.ID=function(Et){var Dt=Et.replace(uo,ae);return function(Zt){return Zt.getAttribute("id")===Dt}},C.find.ID=function(Et,Dt){if(typeof Dt.getElementById<"u"&&Ne){var Zt=Dt.getElementById(Et);return Zt?[Zt]:[]}}):(C.filter.ID=function(Et){var Dt=Et.replace(uo,ae);return function(Zt){var tr=typeof Zt.getAttributeNode<"u"&&Zt.getAttributeNode("id");return tr&&tr.value===Dt}},C.find.ID=function(Et,Dt){if(typeof Dt.getElementById<"u"&&Ne){var Zt,tr,lr,ar=Dt.getElementById(Et);if(ar){if(Zt=ar.getAttributeNode("id"),Zt&&Zt.value===Et)return[ar];for(lr=Dt.getElementsByName(Et),tr=0;ar=lr[tr++];)if(Zt=ar.getAttributeNode("id"),Zt&&Zt.value===Et)return[ar]}return[]}}),C.find.TAG=function(Et,Dt){return typeof Dt.getElementsByTagName<"u"?Dt.getElementsByTagName(Et):Dt.querySelectorAll(Et)},C.find.CLASS=function(Et,Dt){if(typeof Dt.getElementsByClassName<"u"&&Ne)return Dt.getElementsByClassName(Et)},Ge=[],Xt(function(Et){var Dt;Ue.appendChild(Et).innerHTML="<a id='"+Ct+"' href='' disabled='disabled'></a><select id='"+Ct+"-\r\\' disabled='disabled'><option selected=''></option></select>",Et.querySelectorAll("[selected]").length||Ge.push("\\["+Y+"*(?:value|"+G+")"),Et.querySelectorAll("[id~="+Ct+"-]").length||Ge.push("~="),Et.querySelectorAll("a#"+Ct+"+*").length||Ge.push(".#.+[+~]"),Et.querySelectorAll(":checked").length||Ge.push(":checked"),Dt=ve.createElement("input"),Dt.setAttribute("type","hidden"),Et.appendChild(Dt).setAttribute("name","D"),Ue.appendChild(Et).disabled=!0,Et.querySelectorAll(":disabled").length!==2&&Ge.push(":enabled",":disabled"),Dt=ve.createElement("input"),Dt.setAttribute("name",""),Et.appendChild(Dt),Et.querySelectorAll("[name='']").length||Ge.push("\\["+Y+"*name"+Y+"*="+Y+`*(?:''|"")`)}),m.cssHas||Ge.push(":has"),Ge=Ge.length&&new RegExp(Ge.join("|")),hi=function(Et,Dt){if(Et===Dt)return oe=!0,0;var Zt=!Et.compareDocumentPosition-!Dt.compareDocumentPosition;return Zt||(Zt=(Et.ownerDocument||Et)==(Dt.ownerDocument||Dt)?Et.compareDocumentPosition(Dt):1,Zt&1||!m.sortDetached&&Dt.compareDocumentPosition(Et)===Zt?Et===ve||Et.ownerDocument==ne&&Be.contains(ne,Et)?-1:Dt===ve||Dt.ownerDocument==ne&&Be.contains(ne,Dt)?1:X?s.call(X,Et)-s.call(X,Dt):0:Zt&4?-1:1)}),ve}Be.matches=function(Ae,We){return Be(Ae,null,null,We)},Be.matchesSelector=function(Ae,We){if(Qo(Ae),Ne&&!ei[We+" "]&&(!Ge||!Ge.test(We)))try{var lt=wt.call(Ae,We);if(lt||m.disconnectedMatch||Ae.document&&Ae.document.nodeType!==11)return lt}catch{ei(We,!0)}return Be(We,ve,null,[Ae]).length>0},Be.contains=function(Ae,We){return(Ae.ownerDocument||Ae)!=ve&&Qo(Ae),_.contains(Ae,We)},Be.attr=function(Ae,We){(Ae.ownerDocument||Ae)!=ve&&Qo(Ae);var lt=C.attrHandle[We.toLowerCase()],Et=lt&&h.call(C.attrHandle,We.toLowerCase())?lt(Ae,We,!Ne):void 0;return Et!==void 0?Et:Ae.getAttribute(We)},Be.error=function(Ae){throw new Error("Syntax error, unrecognized expression: "+Ae)},_.uniqueSort=function(Ae){var We,lt=[],Et=0,Dt=0;if(oe=!m.sortStable,X=!m.sortStable&&a.call(Ae,0),$.call(Ae,hi),oe){for(;We=Ae[Dt++];)We===Ae[Dt]&&(Et=lt.push(Dt));for(;Et--;)B.call(Ae,lt[Et],1)}return X=null,Ae},_.fn.uniqueSort=function(){return this.pushStack(_.uniqueSort(a.apply(this)))},C=_.expr={cacheLength:50,createPseudo:Rt,match:xr,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(Ae){return Ae[1]=Ae[1].replace(uo,ae),Ae[3]=(Ae[3]||Ae[4]||Ae[5]||"").replace(uo,ae),Ae[2]==="~="&&(Ae[3]=" "+Ae[3]+" "),Ae.slice(0,4)},CHILD:function(Ae){return Ae[1]=Ae[1].toLowerCase(),Ae[1].slice(0,3)==="nth"?(Ae[3]||Be.error(Ae[0]),Ae[4]=+(Ae[4]?Ae[5]+(Ae[6]||1):2*(Ae[3]==="even"||Ae[3]==="odd")),Ae[5]=+(Ae[7]+Ae[8]||Ae[3]==="odd")):Ae[3]&&Be.error(Ae[0]),Ae},PSEUDO:function(Ae){var We,lt=!Ae[6]&&Ae[2];return xr.CHILD.test(Ae[0])?null:(Ae[3]?Ae[2]=Ae[4]||Ae[5]||"":lt&&yr.test(lt)&&(We=bl(lt,!0))&&(We=lt.indexOf(")",lt.length-We)-lt.length)&&(Ae[0]=Ae[0].slice(0,We),Ae[2]=lt.slice(0,We)),Ae.slice(0,3))}},filter:{TAG:function(Ae){var We=Ae.replace(uo,ae).toLowerCase();return Ae==="*"?function(){return!0}:function(lt){return N(lt,We)}},CLASS:function(Ae){var We=Rr[Ae+" "];return We||(We=new RegExp("(^|"+Y+")"+Ae+"("+Y+"|$)"))&&Rr(Ae,function(lt){return We.test(typeof lt.className=="string"&&lt.className||typeof lt.getAttribute<"u"&&lt.getAttribute("class")||"")})},ATTR:function(Ae,We,lt){return function(Et){var Dt=Be.attr(Et,Ae);return Dt==null?We==="!=":We?(Dt+="",We==="="?Dt===lt:We==="!="?Dt!==lt:We==="^="?lt&&Dt.indexOf(lt)===0:We==="*="?lt&&Dt.indexOf(lt)>-1:We==="$="?lt&&Dt.slice(-lt.length)===lt:We==="~="?(" "+Dt.replace(Je," ")+" ").indexOf(lt)>-1:We==="|="?Dt===lt||Dt.slice(0,lt.length+1)===lt+"-":!1):!0}},CHILD:function(Ae,We,lt,Et,Dt){var Zt=Ae.slice(0,3)!=="nth",tr=Ae.slice(-4)!=="last",lr=We==="of-type";return Et===1&&Dt===0?(function(ar){return!!ar.parentNode}):function(ar,sn,Mr){var Hr,nn,Cr,ri,Xi,na=Zt!==tr?"nextSibling":"previousSibling",_a=ar.parentNode,To=lr&&ar.nodeName.toLowerCase(),$u=!Mr&&!lr,ia=!1;if(_a){if(Zt){for(;na;){for(Cr=ar;Cr=Cr[na];)if(lr?N(Cr,To):Cr.nodeType===1)return!1;Xi=na=Ae==="only"&&!Xi&&"nextSibling"}return!0}if(Xi=[tr?_a.firstChild:_a.lastChild],tr&&$u){for(nn=_a[Ct]||(_a[Ct]={}),Hr=nn[Ae]||[],ri=Hr[0]===st&&Hr[1],ia=ri&&Hr[2],Cr=ri&&_a.childNodes[ri];Cr=++ri&&Cr&&Cr[na]||(ia=ri=0)||Xi.pop();)if(Cr.nodeType===1&&++ia&&Cr===ar){nn[Ae]=[st,ri,ia];break}}else if($u&&(nn=ar[Ct]||(ar[Ct]={}),Hr=nn[Ae]||[],ri=Hr[0]===st&&Hr[1],ia=ri),ia===!1)for(;(Cr=++ri&&Cr&&Cr[na]||(ia=ri=0)||Xi.pop())&&!((lr?N(Cr,To):Cr.nodeType===1)&&++ia&&($u&&(nn=Cr[Ct]||(Cr[Ct]={}),nn[Ae]=[st,ia]),Cr===ar)););return ia-=Dt,ia===Et||ia%Et===0&&ia/Et>=0}}},PSEUDO:function(Ae,We){var lt,Et=C.pseudos[Ae]||C.setFilters[Ae.toLowerCase()]||Be.error("unsupported pseudo: "+Ae);return Et[Ct]?Et(We):Et.length>1?(lt=[Ae,Ae,"",We],C.setFilters.hasOwnProperty(Ae.toLowerCase())?Rt(function(Dt,Zt){for(var tr,lr=Et(Dt,We),ar=lr.length;ar--;)tr=s.call(Dt,lr[ar]),Dt[tr]=!(Zt[tr]=lr[ar])}):function(Dt){return Et(Dt,0,lt)}):Et}},pseudos:{not:Rt(function(Ae){var We=[],lt=[],Et=Yf(Ae.replace(Q,"$1"));return Et[Ct]?Rt(function(Dt,Zt,tr,lr){for(var ar,sn=Et(Dt,null,lr,[]),Mr=Dt.length;Mr--;)(ar=sn[Mr])&&(Dt[Mr]=!(Zt[Mr]=ar))}):function(Dt,Zt,tr){return We[0]=Dt,Et(We,null,tr,lt),We[0]=null,!lt.pop()}}),has:Rt(function(Ae){return function(We){return Be(Ae,We).length>0}}),contains:Rt(function(Ae){return Ae=Ae.replace(uo,ae),function(We){return(We.textContent||_.text(We)).indexOf(Ae)>-1}}),lang:Rt(function(Ae){return Vr.test(Ae||"")||Be.error("unsupported lang: "+Ae),Ae=Ae.replace(uo,ae).toLowerCase(),function(We){var lt;do if(lt=Ne?We.lang:We.getAttribute("xml:lang")||We.getAttribute("lang"))return lt=lt.toLowerCase(),lt===Ae||lt.indexOf(Ae+"-")===0;while((We=We.parentNode)&&We.nodeType===1);return!1}}),target:function(Ae){var We=t.location&&t.location.hash;return We&&We.slice(1)===Ae.id},root:function(Ae){return Ae===Ue},focus:function(Ae){return Ae===Fe()&&ve.hasFocus()&&!!(Ae.type||Ae.href||~Ae.tabIndex)},enabled:ti(!1),disabled:ti(!0),checked:function(Ae){return N(Ae,"input")&&!!Ae.checked||N(Ae,"option")&&!!Ae.selected},selected:function(Ae){return Ae.parentNode&&Ae.parentNode.selectedIndex,Ae.selected===!0},empty:function(Ae){for(Ae=Ae.firstChild;Ae;Ae=Ae.nextSibling)if(Ae.nodeType<6)return!1;return!0},parent:function(Ae){return!C.pseudos.empty(Ae)},header:function(Ae){return ui.test(Ae.nodeName)},input:function(Ae){return Mn.test(Ae.nodeName)},button:function(Ae){return N(Ae,"input")&&Ae.type==="button"||N(Ae,"button")},text:function(Ae){var We;return N(Ae,"input")&&Ae.type==="text"&&((We=Ae.getAttribute("type"))==null||We.toLowerCase()==="text")},first:Ei(function(){return[0]}),last:Ei(function(Ae,We){return[We-1]}),eq:Ei(function(Ae,We,lt){return[lt<0?lt+We:lt]}),even:Ei(function(Ae,We){for(var lt=0;lt<We;lt+=2)Ae.push(lt);return Ae}),odd:Ei(function(Ae,We){for(var lt=1;lt<We;lt+=2)Ae.push(lt);return Ae}),lt:Ei(function(Ae,We,lt){var Et;for(lt<0?Et=lt+We:lt>We?Et=We:Et=lt;--Et>=0;)Ae.push(Et);return Ae}),gt:Ei(function(Ae,We,lt){for(var Et=lt<0?lt+We:lt;++Et<We;)Ae.push(Et);return Ae})}},C.pseudos.nth=C.pseudos.eq;for(E in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})C.pseudos[E]=Br(E);for(E in{submit:!0,reset:!0})C.pseudos[E]=Lr(E);function Ph(){}Ph.prototype=C.filters=C.pseudos,C.setFilters=new Ph;function bl(Ae,We){var lt,Et,Dt,Zt,tr,lr,ar,sn=tn[Ae+" "];if(sn)return We?0:sn.slice(0);for(tr=Ae,lr=[],ar=C.preFilter;tr;){(!lt||(Et=et.exec(tr)))&&(Et&&(tr=tr.slice(Et[0].length)||tr),lr.push(Dt=[])),lt=!1,(Et=It.exec(tr))&&(lt=Et.shift(),Dt.push({value:lt,type:Et[0].replace(Q," ")}),tr=tr.slice(lt.length));for(Zt in C.filter)(Et=xr[Zt].exec(tr))&&(!ar[Zt]||(Et=ar[Zt](Et)))&&(lt=Et.shift(),Dt.push({value:lt,type:Zt,matches:Et}),tr=tr.slice(lt.length));if(!lt)break}return We?tr.length:tr?Be.error(Ae):tn(Ae,lr).slice(0)}function cu(Ae){for(var We=0,lt=Ae.length,Et="";We<lt;We++)Et+=Ae[We].value;return Et}function fu(Ae,We,lt){var Et=We.dir,Dt=We.next,Zt=Dt||Et,tr=lt&&Zt==="parentNode",lr=Vt++;return We.first?(function(ar,sn,Mr){for(;ar=ar[Et];)if(ar.nodeType===1||tr)return Ae(ar,sn,Mr);return!1}):(function(ar,sn,Mr){var Hr,nn,Cr=[st,lr];if(Mr){for(;ar=ar[Et];)if((ar.nodeType===1||tr)&&Ae(ar,sn,Mr))return!0}else for(;ar=ar[Et];)if(ar.nodeType===1||tr)if(nn=ar[Ct]||(ar[Ct]={}),Dt&&N(ar,Dt))ar=ar[Et]||ar;else{if((Hr=nn[Zt])&&Hr[0]===st&&Hr[1]===lr)return Cr[2]=Hr[2];if(nn[Zt]=Cr,Cr[2]=Ae(ar,sn,Mr))return!0}return!1})}function Dh(Ae){return Ae.length>1?function(We,lt,Et){for(var Dt=Ae.length;Dt--;)if(!Ae[Dt](We,lt,Et))return!1;return!0}:Ae[0]}function zf(Ae,We,lt){for(var Et=0,Dt=We.length;Et<Dt;Et++)Be(Ae,We[Et],lt);return lt}function Wf(Ae,We,lt,Et,Dt){for(var Zt,tr=[],lr=0,ar=Ae.length,sn=We!=null;lr<ar;lr++)(Zt=Ae[lr])&&(!lt||lt(Zt,Et,Dt))&&(tr.push(Zt),sn&&We.push(lr));return tr}function Gf(Ae,We,lt,Et,Dt,Zt){return Et&&!Et[Ct]&&(Et=Gf(Et)),Dt&&!Dt[Ct]&&(Dt=Gf(Dt,Zt)),Rt(function(tr,lr,ar,sn){var Mr,Hr,nn,Cr,ri=[],Xi=[],na=lr.length,_a=tr||zf(We||"*",ar.nodeType?[ar]:ar,[]),To=Ae&&(tr||!We)?Wf(_a,ri,Ae,ar,sn):_a;if(lt?(Cr=Dt||(tr?Ae:na||Et)?[]:lr,lt(To,Cr,ar,sn)):Cr=To,Et)for(Mr=Wf(Cr,Xi),Et(Mr,[],ar,sn),Hr=Mr.length;Hr--;)(nn=Mr[Hr])&&(Cr[Xi[Hr]]=!(To[Xi[Hr]]=nn));if(tr){if(Dt||Ae){if(Dt){for(Mr=[],Hr=Cr.length;Hr--;)(nn=Cr[Hr])&&Mr.push(To[Hr]=nn);Dt(null,Cr=[],Mr,sn)}for(Hr=Cr.length;Hr--;)(nn=Cr[Hr])&&(Mr=Dt?s.call(tr,nn):ri[Hr])>-1&&(tr[Mr]=!(lr[Mr]=nn))}}else Cr=Wf(Cr===lr?Cr.splice(na,Cr.length):Cr),Dt?Dt(null,lr,Cr,sn):le.apply(lr,Cr)})}function Sc(Ae){for(var We,lt,Et,Dt=Ae.length,Zt=C.relative[Ae[0].type],tr=Zt||C.relative[" "],lr=Zt?1:0,ar=fu(function(Hr){return Hr===We},tr,!0),sn=fu(function(Hr){return s.call(We,Hr)>-1},tr,!0),Mr=[function(Hr,nn,Cr){var ri=!Zt&&(Cr||nn!=M)||((We=nn).nodeType?ar(Hr,nn,Cr):sn(Hr,nn,Cr));return We=null,ri}];lr<Dt;lr++)if(lt=C.relative[Ae[lr].type])Mr=[fu(Dh(Mr),lt)];else{if(lt=C.filter[Ae[lr].type].apply(null,Ae[lr].matches),lt[Ct]){for(Et=++lr;Et<Dt&&!C.relative[Ae[Et].type];Et++);return Gf(lr>1&&Dh(Mr),lr>1&&cu(Ae.slice(0,lr-1).concat({value:Ae[lr-2].type===" "?"*":""})).replace(Q,"$1"),lt,lr<Et&&Sc(Ae.slice(lr,Et)),Et<Dt&&Sc(Ae=Ae.slice(Et)),Et<Dt&&cu(Ae))}Mr.push(lt)}return Dh(Mr)}function kh(Ae,We){var lt=We.length>0,Et=Ae.length>0,Dt=function(Zt,tr,lr,ar,sn){var Mr,Hr,nn,Cr=0,ri="0",Xi=Zt&&[],na=[],_a=M,To=Zt||Et&&C.find.TAG("*",sn),$u=st+=_a==null?1:Math.random()||.1,ia=To.length;for(sn&&(M=tr==ve||tr||sn);ri!==ia&&(Mr=To[ri])!=null;ri++){if(Et&&Mr){for(Hr=0,!tr&&Mr.ownerDocument!=ve&&(Qo(Mr),lr=!Ne);nn=Ae[Hr++];)if(nn(Mr,tr||ve,lr)){le.call(ar,Mr);break}sn&&(st=$u)}lt&&((Mr=!nn&&Mr)&&Cr--,Zt&&Xi.push(Mr))}if(Cr+=ri,lt&&ri!==Cr){for(Hr=0;nn=We[Hr++];)nn(Xi,na,tr,lr);if(Zt){if(Cr>0)for(;ri--;)Xi[ri]||na[ri]||(na[ri]=U.call(ar));na=Wf(na)}le.apply(ar,na),sn&&!Zt&&na.length>0&&Cr+We.length>1&&_.uniqueSort(ar)}return sn&&(st=$u,M=_a),Xi};return lt?Rt(Dt):Dt}function Yf(Ae,We){var lt,Et=[],Dt=[],Zt=qr[Ae+" "];if(!Zt){for(We||(We=bl(Ae)),lt=We.length;lt--;)Zt=Sc(We[lt]),Zt[Ct]?Et.push(Zt):Dt.push(Zt);Zt=qr(Ae,kh(Dt,Et)),Zt.selector=Ae}return Zt}function Nh(Ae,We,lt,Et){var Dt,Zt,tr,lr,ar,sn=typeof Ae=="function"&&Ae,Mr=!Et&&bl(Ae=sn.selector||Ae);if(lt=lt||[],Mr.length===1){if(Zt=Mr[0]=Mr[0].slice(0),Zt.length>2&&(tr=Zt[0]).type==="ID"&&We.nodeType===9&&Ne&&C.relative[Zt[1].type]){if(We=(C.find.ID(tr.matches[0].replace(uo,ae),We)||[])[0],We)sn&&(We=We.parentNode);else return lt;Ae=Ae.slice(Zt.shift().value.length)}for(Dt=xr.needsContext.test(Ae)?0:Zt.length;Dt--&&(tr=Zt[Dt],!C.relative[lr=tr.type]);)if((ar=C.find[lr])&&(Et=ar(tr.matches[0].replace(uo,ae),_c.test(Zt[0].type)&&wl(We.parentNode)||We))){if(Zt.splice(Dt,1),Ae=Et.length&&cu(Zt),!Ae)return le.apply(lt,Et),lt;break}}return(sn||Yf(Ae,Mr))(Et,We,!Ne,lt,!We||_c.test(Ae)&&wl(We.parentNode)||We),lt}m.sortStable=Ct.split("").sort(hi).join("")===Ct,Qo(),m.sortDetached=Xt(function(Ae){return Ae.compareDocumentPosition(ve.createElement("fieldset"))&1}),_.find=Be,_.expr[":"]=_.expr.pseudos,_.unique=_.uniqueSort,Be.compile=Yf,Be.select=Nh,Be.setDocument=Qo,Be.tokenize=bl,Be.escape=_.escapeSelector,Be.getText=_.text,Be.isXML=_.isXMLDoc,Be.selectors=_.expr,Be.support=_.support,Be.uniqueSort=_.uniqueSort})();var I=function(E,C,M){for(var X=[],oe=M!==void 0;(E=E[C])&&E.nodeType!==9;)if(E.nodeType===1){if(oe&&_(E).is(M))break;X.push(E)}return X},L=function(E,C){for(var M=[];E;E=E.nextSibling)E.nodeType===1&&E!==C&&M.push(E);return M},re=_.expr.match.needsContext,te=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function ce(E,C,M){return y(C)?_.grep(E,function(X,oe){return!!C.call(X,oe,X)!==M}):C.nodeType?_.grep(E,function(X){return X===C!==M}):typeof C!="string"?_.grep(E,function(X){return s.call(C,X)>-1!==M}):_.filter(C,E,M)}_.filter=function(E,C,M){var X=C[0];return M&&(E=":not("+E+")"),C.length===1&&X.nodeType===1?_.find.matchesSelector(X,E)?[X]:[]:_.find.matches(E,_.grep(C,function(oe){return oe.nodeType===1}))},_.fn.extend({find:function(E){var C,M,X=this.length,oe=this;if(typeof E!="string")return this.pushStack(_(E).filter(function(){for(C=0;C<X;C++)if(_.contains(oe[C],this))return!0}));for(M=this.pushStack([]),C=0;C<X;C++)_.find(E,oe[C],M);return X>1?_.uniqueSort(M):M},filter:function(E){return this.pushStack(ce(this,E||[],!1))},not:function(E){return this.pushStack(ce(this,E||[],!0))},is:function(E){return!!ce(this,typeof E=="string"&&re.test(E)?_(E):E||[],!1).length}});var be,Ie=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,je=_.fn.init=function(E,C,M){var X,oe;if(!E)return this;if(M=M||be,typeof E=="string")if(E[0]==="<"&&E[E.length-1]===">"&&E.length>=3?X=[null,E,null]:X=Ie.exec(E),X&&(X[1]||!C))if(X[1]){if(C=C instanceof _?C[0]:C,_.merge(this,_.parseHTML(X[1],C&&C.nodeType?C.ownerDocument||C:w,!0)),te.test(X[1])&&_.isPlainObject(C))for(X in C)y(this[X])?this[X](C[X]):this.attr(X,C[X]);return this}else return oe=w.getElementById(X[2]),oe&&(this[0]=oe,this.length=1),this;else return!C||C.jquery?(C||M).find(E):this.constructor(C).find(E);else{if(E.nodeType)return this[0]=E,this.length=1,this;if(y(E))return M.ready!==void 0?M.ready(E):E(_)}return _.makeArray(E,this)};je.prototype=_.fn,be=_(w);var z=/^(?:parents|prev(?:Until|All))/,k={children:!0,contents:!0,next:!0,prev:!0};_.fn.extend({has:function(E){var C=_(E,this),M=C.length;return this.filter(function(){for(var X=0;X<M;X++)if(_.contains(this,C[X]))return!0})},closest:function(E,C){var M,X=0,oe=this.length,le=[],ve=typeof E!="string"&&_(E);if(!re.test(E)){for(;X<oe;X++)for(M=this[X];M&&M!==C;M=M.parentNode)if(M.nodeType<11&&(ve?ve.index(M)>-1:M.nodeType===1&&_.find.matchesSelector(M,E))){le.push(M);break}}return this.pushStack(le.length>1?_.uniqueSort(le):le)},index:function(E){return E?typeof E=="string"?s.call(_(E),this[0]):s.call(this,E.jquery?E[0]:E):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(E,C){return this.pushStack(_.uniqueSort(_.merge(this.get(),_(E,C))))},addBack:function(E){return this.add(E==null?this.prevObject:this.prevObject.filter(E))}});function q(E,C){for(;(E=E[C])&&E.nodeType!==1;);return E}_.each({parent:function(E){var C=E.parentNode;return C&&C.nodeType!==11?C:null},parents:function(E){return I(E,"parentNode")},parentsUntil:function(E,C,M){return I(E,"parentNode",M)},next:function(E){return q(E,"nextSibling")},prev:function(E){return q(E,"previousSibling")},nextAll:function(E){return I(E,"nextSibling")},prevAll:function(E){return I(E,"previousSibling")},nextUntil:function(E,C,M){return I(E,"nextSibling",M)},prevUntil:function(E,C,M){return I(E,"previousSibling",M)},siblings:function(E){return L((E.parentNode||{}).firstChild,E)},children:function(E){return L(E.firstChild)},contents:function(E){return E.contentDocument!=null&&i(E.contentDocument)?E.contentDocument:(N(E,"template")&&(E=E.content||E),_.merge([],E.childNodes))}},function(E,C){_.fn[E]=function(M,X){var oe=_.map(this,C,M);return E.slice(-5)!=="Until"&&(X=M),X&&typeof X=="string"&&(oe=_.filter(X,oe)),this.length>1&&(k[E]||_.uniqueSort(oe),z.test(E)&&oe.reverse()),this.pushStack(oe)}});var H=/[^\x20\t\r\n\f]+/g;function ie(E){var C={};return _.each(E.match(H)||[],function(M,X){C[X]=!0}),C}_.Callbacks=function(E){E=typeof E=="string"?ie(E):_.extend({},E);var C,M,X,oe,le=[],ve=[],Ue=-1,Ne=function(){for(oe=oe||E.once,X=C=!0;ve.length;Ue=-1)for(M=ve.shift();++Ue<le.length;)le[Ue].apply(M[0],M[1])===!1&&E.stopOnFalse&&(Ue=le.length,M=!1);E.memory||(M=!1),C=!1,oe&&(M?le=[]:le="")},Ge={add:function(){return le&&(M&&!C&&(Ue=le.length-1,ve.push(M)),(function wt(Ct){_.each(Ct,function(st,Vt){y(Vt)?(!E.unique||!Ge.has(Vt))&&le.push(Vt):Vt&&Vt.length&&R(Vt)!=="string"&&wt(Vt)})})(arguments),M&&!C&&Ne()),this},remove:function(){return _.each(arguments,function(wt,Ct){for(var st;(st=_.inArray(Ct,le,st))>-1;)le.splice(st,1),st<=Ue&&Ue--}),this},has:function(wt){return wt?_.inArray(wt,le)>-1:le.length>0},empty:function(){return le&&(le=[]),this},disable:function(){return oe=ve=[],le=M="",this},disabled:function(){return!le},lock:function(){return oe=ve=[],!M&&!C&&(le=M=""),this},locked:function(){return!!oe},fireWith:function(wt,Ct){return oe||(Ct=Ct||[],Ct=[wt,Ct.slice?Ct.slice():Ct],ve.push(Ct),C||Ne()),this},fire:function(){return Ge.fireWith(this,arguments),this},fired:function(){return!!X}};return Ge};function V(E){return E}function Z(E){throw E}function me(E,C,M,X){var oe;try{E&&y(oe=E.promise)?oe.call(E).done(C).fail(M):E&&y(oe=E.then)?oe.call(E,C,M):C.apply(void 0,[E].slice(X))}catch(le){M.apply(void 0,[le])}}_.extend({Deferred:function(E){var C=[["notify","progress",_.Callbacks("memory"),_.Callbacks("memory"),2],["resolve","done",_.Callbacks("once memory"),_.Callbacks("once memory"),0,"resolved"],["reject","fail",_.Callbacks("once memory"),_.Callbacks("once memory"),1,"rejected"]],M="pending",X={state:function(){return M},always:function(){return oe.done(arguments).fail(arguments),this},catch:function(le){return X.then(null,le)},pipe:function(){var le=arguments;return _.Deferred(function(ve){_.each(C,function(Ue,Ne){var Ge=y(le[Ne[4]])&&le[Ne[4]];oe[Ne[1]](function(){var wt=Ge&&Ge.apply(this,arguments);wt&&y(wt.promise)?wt.promise().progress(ve.notify).done(ve.resolve).fail(ve.reject):ve[Ne[0]+"With"](this,Ge?[wt]:arguments)})}),le=null}).promise()},then:function(le,ve,Ue){var Ne=0;function Ge(wt,Ct,st,Vt){return function(){var Rr=this,tn=arguments,qr=function(){var hi,G;if(!(wt<Ne)){if(hi=st.apply(Rr,tn),hi===Ct.promise())throw new TypeError("Thenable self-resolution");G=hi&&(typeof hi=="object"||typeof hi=="function")&&hi.then,y(G)?Vt?G.call(hi,Ge(Ne,Ct,V,Vt),Ge(Ne,Ct,Z,Vt)):(Ne++,G.call(hi,Ge(Ne,Ct,V,Vt),Ge(Ne,Ct,Z,Vt),Ge(Ne,Ct,V,Ct.notifyWith))):(st!==V&&(Rr=void 0,tn=[hi]),(Vt||Ct.resolveWith)(Rr,tn))}},ei=Vt?qr:function(){try{qr()}catch(hi){_.Deferred.exceptionHook&&_.Deferred.exceptionHook(hi,ei.error),wt+1>=Ne&&(st!==Z&&(Rr=void 0,tn=[hi]),Ct.rejectWith(Rr,tn))}};wt?ei():(_.Deferred.getErrorHook?ei.error=_.Deferred.getErrorHook():_.Deferred.getStackHook&&(ei.error=_.Deferred.getStackHook()),t.setTimeout(ei))}}return _.Deferred(function(wt){C[0][3].add(Ge(0,wt,y(Ue)?Ue:V,wt.notifyWith)),C[1][3].add(Ge(0,wt,y(le)?le:V)),C[2][3].add(Ge(0,wt,y(ve)?ve:Z))}).promise()},promise:function(le){return le!=null?_.extend(le,X):X}},oe={};return _.each(C,function(le,ve){var Ue=ve[2],Ne=ve[5];X[ve[1]]=Ue.add,Ne&&Ue.add(function(){M=Ne},C[3-le][2].disable,C[3-le][3].disable,C[0][2].lock,C[0][3].lock),Ue.add(ve[3].fire),oe[ve[0]]=function(){return oe[ve[0]+"With"](this===oe?void 0:this,arguments),this},oe[ve[0]+"With"]=Ue.fireWith}),X.promise(oe),E&&E.call(oe,oe),oe},when:function(E){var C=arguments.length,M=C,X=Array(M),oe=a.call(arguments),le=_.Deferred(),ve=function(Ue){return function(Ne){X[Ue]=this,oe[Ue]=arguments.length>1?a.call(arguments):Ne,--C||le.resolveWith(X,oe)}};if(C<=1&&(me(E,le.done(ve(M)).resolve,le.reject,!C),le.state()==="pending"||y(oe[M]&&oe[M].then)))return le.then();for(;M--;)me(oe[M],ve(M),le.reject);return le.promise()}});var fe=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;_.Deferred.exceptionHook=function(E,C){t.console&&t.console.warn&&E&&fe.test(E.name)&&t.console.warn("jQuery.Deferred exception: "+E.message,E.stack,C)},_.readyException=function(E){t.setTimeout(function(){throw E})};var Re=_.Deferred();_.fn.ready=function(E){return Re.then(E).catch(function(C){_.readyException(C)}),this},_.extend({isReady:!1,readyWait:1,ready:function(E){(E===!0?--_.readyWait:_.isReady)||(_.isReady=!0,!(E!==!0&&--_.readyWait>0)&&Re.resolveWith(w,[_]))}}),_.ready.then=Re.then;function Se(){w.removeEventListener("DOMContentLoaded",Se),t.removeEventListener("load",Se),_.ready()}w.readyState==="complete"||w.readyState!=="loading"&&!w.documentElement.doScroll?t.setTimeout(_.ready):(w.addEventListener("DOMContentLoaded",Se),t.addEventListener("load",Se));var Oe=function(E,C,M,X,oe,le,ve){var Ue=0,Ne=E.length,Ge=M==null;if(R(M)==="object"){oe=!0;for(Ue in M)Oe(E,C,Ue,M[Ue],!0,le,ve)}else if(X!==void 0&&(oe=!0,y(X)||(ve=!0),Ge&&(ve?(C.call(E,X),C=null):(Ge=C,C=function(wt,Ct,st){return Ge.call(_(wt),st)})),C))for(;Ue<Ne;Ue++)C(E[Ue],M,ve?X:X.call(E[Ue],Ue,C(E[Ue],M)));return oe?E:Ge?C.call(E):Ne?C(E[0],M):le},Me=/^-ms-/,de=/-([a-z])/g;function Ee(E,C){return C.toUpperCase()}function _e(E){return E.replace(Me,"ms-").replace(de,Ee)}var xe=function(E){return E.nodeType===1||E.nodeType===9||!+E.nodeType};function ke(){this.expando=_.expando+ke.uid++}ke.uid=1,ke.prototype={cache:function(E){var C=E[this.expando];return C||(C={},xe(E)&&(E.nodeType?E[this.expando]=C:Object.defineProperty(E,this.expando,{value:C,configurable:!0}))),C},set:function(E,C,M){var X,oe=this.cache(E);if(typeof C=="string")oe[_e(C)]=M;else for(X in C)oe[_e(X)]=C[X];return oe},get:function(E,C){return C===void 0?this.cache(E):E[this.expando]&&E[this.expando][_e(C)]},access:function(E,C,M){return C===void 0||C&&typeof C=="string"&&M===void 0?this.get(E,C):(this.set(E,C,M),M!==void 0?M:C)},remove:function(E,C){var M,X=E[this.expando];if(X!==void 0){if(C!==void 0)for(Array.isArray(C)?C=C.map(_e):(C=_e(C),C=C in X?[C]:C.match(H)||[]),M=C.length;M--;)delete X[C[M]];(C===void 0||_.isEmptyObject(X))&&(E.nodeType?E[this.expando]=void 0:delete E[this.expando])}},hasData:function(E){var C=E[this.expando];return C!==void 0&&!_.isEmptyObject(C)}};var Le=new ke,He=new ke,_t=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,jt=/[A-Z]/g;function Lt(E){return E==="true"?!0:E==="false"?!1:E==="null"?null:E===+E+""?+E:_t.test(E)?JSON.parse(E):E}function Qe(E,C,M){var X;if(M===void 0&&E.nodeType===1)if(X="data-"+C.replace(jt,"-$&").toLowerCase(),M=E.getAttribute(X),typeof M=="string"){try{M=Lt(M)}catch{}He.set(E,C,M)}else M=void 0;return M}_.extend({hasData:function(E){return He.hasData(E)||Le.hasData(E)},data:function(E,C,M){return He.access(E,C,M)},removeData:function(E,C){He.remove(E,C)},_data:function(E,C,M){return Le.access(E,C,M)},_removeData:function(E,C){Le.remove(E,C)}}),_.fn.extend({data:function(E,C){var M,X,oe,le=this[0],ve=le&&le.attributes;if(E===void 0){if(this.length&&(oe=He.get(le),le.nodeType===1&&!Le.get(le,"hasDataAttrs"))){for(M=ve.length;M--;)ve[M]&&(X=ve[M].name,X.indexOf("data-")===0&&(X=_e(X.slice(5)),Qe(le,X,oe[X])));Le.set(le,"hasDataAttrs",!0)}return oe}return typeof E=="object"?this.each(function(){He.set(this,E)}):Oe(this,function(Ue){var Ne;if(le&&Ue===void 0)return Ne=He.get(le,E),Ne!==void 0||(Ne=Qe(le,E),Ne!==void 0)?Ne:void 0;this.each(function(){He.set(this,E,Ue)})},null,C,arguments.length>1,null,!0)},removeData:function(E){return this.each(function(){He.remove(this,E)})}}),_.extend({queue:function(E,C,M){var X;if(E)return C=(C||"fx")+"queue",X=Le.get(E,C),M&&(!X||Array.isArray(M)?X=Le.access(E,C,_.makeArray(M)):X.push(M)),X||[]},dequeue:function(E,C){C=C||"fx";var M=_.queue(E,C),X=M.length,oe=M.shift(),le=_._queueHooks(E,C),ve=function(){_.dequeue(E,C)};oe==="inprogress"&&(oe=M.shift(),X--),oe&&(C==="fx"&&M.unshift("inprogress"),delete le.stop,oe.call(E,ve,le)),!X&&le&&le.empty.fire()},_queueHooks:function(E,C){var M=C+"queueHooks";return Le.get(E,M)||Le.access(E,M,{empty:_.Callbacks("once memory").add(function(){Le.remove(E,[C+"queue",M])})})}}),_.fn.extend({queue:function(E,C){var M=2;return typeof E!="string"&&(C=E,E="fx",M--),arguments.length<M?_.queue(this[0],E):C===void 0?this:this.each(function(){var X=_.queue(this,E,C);_._queueHooks(this,E),E==="fx"&&X[0]!=="inprogress"&&_.dequeue(this,E)})},dequeue:function(E){return this.each(function(){_.dequeue(this,E)})},clearQueue:function(E){return this.queue(E||"fx",[])},promise:function(E,C){var M,X=1,oe=_.Deferred(),le=this,ve=this.length,Ue=function(){--X||oe.resolveWith(le,[le])};for(typeof E!="string"&&(C=E,E=void 0),E=E||"fx";ve--;)M=Le.get(le[ve],E+"queueHooks"),M&&M.empty&&(X++,M.empty.add(Ue));return Ue(),oe.promise(C)}});var bt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,mt=new RegExp("^(?:([+-])=|)("+bt+")([a-z%]*)$","i"),St=["Top","Right","Bottom","Left"],yt=w.documentElement,at=function(E){return _.contains(E.ownerDocument,E)},$t={composed:!0};yt.getRootNode&&(at=function(E){return _.contains(E.ownerDocument,E)||E.getRootNode($t)===E.ownerDocument});var xt=function(E,C){return E=C||E,E.style.display==="none"||E.style.display===""&&at(E)&&_.css(E,"display")==="none"};function Ce(E,C,M,X){var oe,le,ve=20,Ue=X?function(){return X.cur()}:function(){return _.css(E,C,"")},Ne=Ue(),Ge=M&&M[3]||(_.cssNumber[C]?"":"px"),wt=E.nodeType&&(_.cssNumber[C]||Ge!=="px"&&+Ne)&&mt.exec(_.css(E,C));if(wt&&wt[3]!==Ge){for(Ne=Ne/2,Ge=Ge||wt[3],wt=+Ne||1;ve--;)_.style(E,C,wt+Ge),(1-le)*(1-(le=Ue()/Ne||.5))<=0&&(ve=0),wt=wt/le;wt=wt*2,_.style(E,C,wt+Ge),M=M||[]}return M&&(wt=+wt||+Ne||0,oe=M[1]?wt+(M[1]+1)*M[2]:+M[2],X&&(X.unit=Ge,X.start=wt,X.end=oe)),oe}var Ze={};function ut(E){var C,M=E.ownerDocument,X=E.nodeName,oe=Ze[X];return oe||(C=M.body.appendChild(M.createElement(X)),oe=_.css(C,"display"),C.parentNode.removeChild(C),oe==="none"&&(oe="block"),Ze[X]=oe,oe)}function Tt(E,C){for(var M,X,oe=[],le=0,ve=E.length;le<ve;le++)X=E[le],X.style&&(M=X.style.display,C?(M==="none"&&(oe[le]=Le.get(X,"display")||null,oe[le]||(X.style.display="")),X.style.display===""&&xt(X)&&(oe[le]=ut(X))):M!=="none"&&(oe[le]="none",Le.set(X,"display",M)));for(le=0;le<ve;le++)oe[le]!=null&&(E[le].style.display=oe[le]);return E}_.fn.extend({show:function(){return Tt(this,!0)},hide:function(){return Tt(this)},toggle:function(E){return typeof E=="boolean"?E?this.show():this.hide():this.each(function(){xt(this)?_(this).show():_(this).hide()})}});var Pt=/^(?:checkbox|radio)$/i,rr=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,_r=/^$|^module$|\/(?:java|ecma)script/i;(function(){var E=w.createDocumentFragment(),C=E.appendChild(w.createElement("div")),M=w.createElement("input");M.setAttribute("type","radio"),M.setAttribute("checked","checked"),M.setAttribute("name","t"),C.appendChild(M),m.checkClone=C.cloneNode(!0).cloneNode(!0).lastChild.checked,C.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!C.cloneNode(!0).lastChild.defaultValue,C.innerHTML="<option></option>",m.option=!!C.lastChild})();var sr={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};sr.tbody=sr.tfoot=sr.colgroup=sr.caption=sr.thead,sr.th=sr.td,m.option||(sr.optgroup=sr.option=[1,"<select multiple='multiple'>","</select>"]);function mr(E,C){var M;return typeof E.getElementsByTagName<"u"?M=E.getElementsByTagName(C||"*"):typeof E.querySelectorAll<"u"?M=E.querySelectorAll(C||"*"):M=[],C===void 0||C&&N(E,C)?_.merge([E],M):M}function Pr(E,C){for(var M=0,X=E.length;M<X;M++)Le.set(E[M],"globalEval",!C||Le.get(C[M],"globalEval"))}var ln=/<|&#?\w+;/;function di(E,C,M,X,oe){for(var le,ve,Ue,Ne,Ge,wt,Ct=C.createDocumentFragment(),st=[],Vt=0,Rr=E.length;Vt<Rr;Vt++)if(le=E[Vt],le||le===0)if(R(le)==="object")_.merge(st,le.nodeType?[le]:le);else if(!ln.test(le))st.push(C.createTextNode(le));else{for(ve=ve||Ct.appendChild(C.createElement("div")),Ue=(rr.exec(le)||["",""])[1].toLowerCase(),Ne=sr[Ue]||sr._default,ve.innerHTML=Ne[1]+_.htmlPrefilter(le)+Ne[2],wt=Ne[0];wt--;)ve=ve.lastChild;_.merge(st,ve.childNodes),ve=Ct.firstChild,ve.textContent=""}for(Ct.textContent="",Vt=0;le=st[Vt++];){if(X&&_.inArray(le,X)>-1){oe&&oe.push(le);continue}if(Ge=at(le),ve=mr(Ct.appendChild(le),"script"),Ge&&Pr(ve),M)for(wt=0;le=ve[wt++];)_r.test(le.type||"")&&M.push(le)}return Ct}var Nn=/^([^.]*)(?:\.(.+)|)/;function Rn(){return!0}function En(){return!1}function Jn(E,C,M,X,oe,le){var ve,Ue;if(typeof C=="object"){typeof M!="string"&&(X=X||M,M=void 0);for(Ue in C)Jn(E,Ue,M,X,C[Ue],le);return E}if(X==null&&oe==null?(oe=M,X=M=void 0):oe==null&&(typeof M=="string"?(oe=X,X=void 0):(oe=X,X=M,M=void 0)),oe===!1)oe=En;else if(!oe)return E;return le===1&&(ve=oe,oe=function(Ne){return _().off(Ne),ve.apply(this,arguments)},oe.guid=ve.guid||(ve.guid=_.guid++)),E.each(function(){_.event.add(this,C,oe,X,M)})}_.event={global:{},add:function(E,C,M,X,oe){var le,ve,Ue,Ne,Ge,wt,Ct,st,Vt,Rr,tn,qr=Le.get(E);if(xe(E))for(M.handler&&(le=M,M=le.handler,oe=le.selector),oe&&_.find.matchesSelector(yt,oe),M.guid||(M.guid=_.guid++),(Ne=qr.events)||(Ne=qr.events=Object.create(null)),(ve=qr.handle)||(ve=qr.handle=function(ei){return typeof _<"u"&&_.event.triggered!==ei.type?_.event.dispatch.apply(E,arguments):void 0}),C=(C||"").match(H)||[""],Ge=C.length;Ge--;)Ue=Nn.exec(C[Ge])||[],Vt=tn=Ue[1],Rr=(Ue[2]||"").split(".").sort(),Vt&&(Ct=_.event.special[Vt]||{},Vt=(oe?Ct.delegateType:Ct.bindType)||Vt,Ct=_.event.special[Vt]||{},wt=_.extend({type:Vt,origType:tn,data:X,handler:M,guid:M.guid,selector:oe,needsContext:oe&&_.expr.match.needsContext.test(oe),namespace:Rr.join(".")},le),(st=Ne[Vt])||(st=Ne[Vt]=[],st.delegateCount=0,(!Ct.setup||Ct.setup.call(E,X,Rr,ve)===!1)&&E.addEventListener&&E.addEventListener(Vt,ve)),Ct.add&&(Ct.add.call(E,wt),wt.handler.guid||(wt.handler.guid=M.guid)),oe?st.splice(st.delegateCount++,0,wt):st.push(wt),_.event.global[Vt]=!0)},remove:function(E,C,M,X,oe){var le,ve,Ue,Ne,Ge,wt,Ct,st,Vt,Rr,tn,qr=Le.hasData(E)&&Le.get(E);if(!(!qr||!(Ne=qr.events))){for(C=(C||"").match(H)||[""],Ge=C.length;Ge--;){if(Ue=Nn.exec(C[Ge])||[],Vt=tn=Ue[1],Rr=(Ue[2]||"").split(".").sort(),!Vt){for(Vt in Ne)_.event.remove(E,Vt+C[Ge],M,X,!0);continue}for(Ct=_.event.special[Vt]||{},Vt=(X?Ct.delegateType:Ct.bindType)||Vt,st=Ne[Vt]||[],Ue=Ue[2]&&new RegExp("(^|\\.)"+Rr.join("\\.(?:.*\\.|)")+"(\\.|$)"),ve=le=st.length;le--;)wt=st[le],(oe||tn===wt.origType)&&(!M||M.guid===wt.guid)&&(!Ue||Ue.test(wt.namespace))&&(!X||X===wt.selector||X==="**"&&wt.selector)&&(st.splice(le,1),wt.selector&&st.delegateCount--,Ct.remove&&Ct.remove.call(E,wt));ve&&!st.length&&((!Ct.teardown||Ct.teardown.call(E,Rr,qr.handle)===!1)&&_.removeEvent(E,Vt,qr.handle),delete Ne[Vt])}_.isEmptyObject(Ne)&&Le.remove(E,"handle events")}},dispatch:function(E){var C,M,X,oe,le,ve,Ue=new Array(arguments.length),Ne=_.event.fix(E),Ge=(Le.get(this,"events")||Object.create(null))[Ne.type]||[],wt=_.event.special[Ne.type]||{};for(Ue[0]=Ne,C=1;C<arguments.length;C++)Ue[C]=arguments[C];if(Ne.delegateTarget=this,!(wt.preDispatch&&wt.preDispatch.call(this,Ne)===!1)){for(ve=_.event.handlers.call(this,Ne,Ge),C=0;(oe=ve[C++])&&!Ne.isPropagationStopped();)for(Ne.currentTarget=oe.elem,M=0;(le=oe.handlers[M++])&&!Ne.isImmediatePropagationStopped();)(!Ne.rnamespace||le.namespace===!1||Ne.rnamespace.test(le.namespace))&&(Ne.handleObj=le,Ne.data=le.data,X=((_.event.special[le.origType]||{}).handle||le.handler).apply(oe.elem,Ue),X!==void 0&&(Ne.result=X)===!1&&(Ne.preventDefault(),Ne.stopPropagation()));return wt.postDispatch&&wt.postDispatch.call(this,Ne),Ne.result}},handlers:function(E,C){var M,X,oe,le,ve,Ue=[],Ne=C.delegateCount,Ge=E.target;if(Ne&&Ge.nodeType&&!(E.type==="click"&&E.button>=1)){for(;Ge!==this;Ge=Ge.parentNode||this)if(Ge.nodeType===1&&!(E.type==="click"&&Ge.disabled===!0)){for(le=[],ve={},M=0;M<Ne;M++)X=C[M],oe=X.selector+" ",ve[oe]===void 0&&(ve[oe]=X.needsContext?_(oe,this).index(Ge)>-1:_.find(oe,this,null,[Ge]).length),ve[oe]&&le.push(X);le.length&&Ue.push({elem:Ge,handlers:le})}}return Ge=this,Ne<C.length&&Ue.push({elem:Ge,handlers:C.slice(Ne)}),Ue},addProp:function(E,C){Object.defineProperty(_.Event.prototype,E,{enumerable:!0,configurable:!0,get:y(C)?function(){if(this.originalEvent)return C(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[E]},set:function(M){Object.defineProperty(this,E,{enumerable:!0,configurable:!0,writable:!0,value:M})}})},fix:function(E){return E[_.expando]?E:new _.Event(E)},special:{load:{noBubble:!0},click:{setup:function(E){var C=this||E;return Pt.test(C.type)&&C.click&&N(C,"input")&&Zn(C,"click",!0),!1},trigger:function(E){var C=this||E;return Pt.test(C.type)&&C.click&&N(C,"input")&&Zn(C,"click"),!0},_default:function(E){var C=E.target;return Pt.test(C.type)&&C.click&&N(C,"input")&&Le.get(C,"click")||N(C,"a")}},beforeunload:{postDispatch:function(E){E.result!==void 0&&E.originalEvent&&(E.originalEvent.returnValue=E.result)}}}};function Zn(E,C,M){if(!M){Le.get(E,C)===void 0&&_.event.add(E,C,Rn);return}Le.set(E,C,!1),_.event.add(E,C,{namespace:!1,handler:function(X){var oe,le=Le.get(this,C);if(X.isTrigger&1&&this[C]){if(le)(_.event.special[C]||{}).delegateType&&X.stopPropagation();else if(le=a.call(arguments),Le.set(this,C,le),this[C](),oe=Le.get(this,C),Le.set(this,C,!1),le!==oe)return X.stopImmediatePropagation(),X.preventDefault(),oe}else le&&(Le.set(this,C,_.event.trigger(le[0],le.slice(1),this)),X.stopPropagation(),X.isImmediatePropagationStopped=Rn)}})}_.removeEvent=function(E,C,M){E.removeEventListener&&E.removeEventListener(C,M)},_.Event=function(E,C){if(!(this instanceof _.Event))return new _.Event(E,C);E&&E.type?(this.originalEvent=E,this.type=E.type,this.isDefaultPrevented=E.defaultPrevented||E.defaultPrevented===void 0&&E.returnValue===!1?Rn:En,this.target=E.target&&E.target.nodeType===3?E.target.parentNode:E.target,this.currentTarget=E.currentTarget,this.relatedTarget=E.relatedTarget):this.type=E,C&&_.extend(this,C),this.timeStamp=E&&E.timeStamp||Date.now(),this[_.expando]=!0},_.Event.prototype={constructor:_.Event,isDefaultPrevented:En,isPropagationStopped:En,isImmediatePropagationStopped:En,isSimulated:!1,preventDefault:function(){var E=this.originalEvent;this.isDefaultPrevented=Rn,E&&!this.isSimulated&&E.preventDefault()},stopPropagation:function(){var E=this.originalEvent;this.isPropagationStopped=Rn,E&&!this.isSimulated&&E.stopPropagation()},stopImmediatePropagation:function(){var E=this.originalEvent;this.isImmediatePropagationStopped=Rn,E&&!this.isSimulated&&E.stopImmediatePropagation(),this.stopPropagation()}},_.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},_.event.addProp),_.each({focus:"focusin",blur:"focusout"},function(E,C){function M(X){if(w.documentMode){var oe=Le.get(this,"handle"),le=_.event.fix(X);le.type=X.type==="focusin"?"focus":"blur",le.isSimulated=!0,oe(X),le.target===le.currentTarget&&oe(le)}else _.event.simulate(C,X.target,_.event.fix(X))}_.event.special[E]={setup:function(){var X;if(Zn(this,E,!0),w.documentMode)X=Le.get(this,C),X||this.addEventListener(C,M),Le.set(this,C,(X||0)+1);else return!1},trigger:function(){return Zn(this,E),!0},teardown:function(){var X;if(w.documentMode)X=Le.get(this,C)-1,X?Le.set(this,C,X):(this.removeEventListener(C,M),Le.remove(this,C));else return!1},_default:function(X){return Le.get(X.target,E)},delegateType:C},_.event.special[C]={setup:function(){var X=this.ownerDocument||this.document||this,oe=w.documentMode?this:X,le=Le.get(oe,C);le||(w.documentMode?this.addEventListener(C,M):X.addEventListener(E,M,!0)),Le.set(oe,C,(le||0)+1)},teardown:function(){var X=this.ownerDocument||this.document||this,oe=w.documentMode?this:X,le=Le.get(oe,C)-1;le?Le.set(oe,C,le):(w.documentMode?this.removeEventListener(C,M):X.removeEventListener(E,M,!0),Le.remove(oe,C))}}}),_.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(E,C){_.event.special[E]={delegateType:C,bindType:C,handle:function(M){var X,oe=this,le=M.relatedTarget,ve=M.handleObj;return(!le||le!==oe&&!_.contains(oe,le))&&(M.type=ve.origType,X=ve.handler.apply(this,arguments),M.type=C),X}}}),_.fn.extend({on:function(E,C,M,X){return Jn(this,E,C,M,X)},one:function(E,C,M,X){return Jn(this,E,C,M,X,1)},off:function(E,C,M){var X,oe;if(E&&E.preventDefault&&E.handleObj)return X=E.handleObj,_(E.delegateTarget).off(X.namespace?X.origType+"."+X.namespace:X.origType,X.selector,X.handler),this;if(typeof E=="object"){for(oe in E)this.off(oe,C,E[oe]);return this}return(C===!1||typeof C=="function")&&(M=C,C=void 0),M===!1&&(M=En),this.each(function(){_.event.remove(this,E,M,C)})}});var Ci=/<script|<style|<link/i,_i=/checked\s*(?:[^=]|=\s*.checked.)/i,Vi=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Yi(E,C){return N(E,"table")&&N(C.nodeType!==11?C:C.firstChild,"tr")&&_(E).children("tbody")[0]||E}function Ln(E){return E.type=(E.getAttribute("type")!==null)+"/"+E.type,E}function oi(E){return(E.type||"").slice(0,5)==="true/"?E.type=E.type.slice(5):E.removeAttribute("type"),E}function Di(E,C){var M,X,oe,le,ve,Ue,Ne;if(C.nodeType===1){if(Le.hasData(E)&&(le=Le.get(E),Ne=le.events,Ne)){Le.remove(C,"handle events");for(oe in Ne)for(M=0,X=Ne[oe].length;M<X;M++)_.event.add(C,oe,Ne[oe][M])}He.hasData(E)&&(ve=He.access(E),Ue=_.extend({},ve),He.set(C,Ue))}}function Ai(E,C){var M=C.nodeName.toLowerCase();M==="input"&&Pt.test(E.type)?C.checked=E.checked:(M==="input"||M==="textarea")&&(C.defaultValue=E.defaultValue)}function it(E,C,M,X){C=o(C);var oe,le,ve,Ue,Ne,Ge,wt=0,Ct=E.length,st=Ct-1,Vt=C[0],Rr=y(Vt);if(Rr||Ct>1&&typeof Vt=="string"&&!m.checkClone&&_i.test(Vt))return E.each(function(tn){var qr=E.eq(tn);Rr&&(C[0]=Vt.call(this,tn,qr.html())),it(qr,C,M,X)});if(Ct&&(oe=di(C,E[0].ownerDocument,!1,E,X),le=oe.firstChild,oe.childNodes.length===1&&(oe=le),le||X)){for(ve=_.map(mr(oe,"script"),Ln),Ue=ve.length;wt<Ct;wt++)Ne=oe,wt!==st&&(Ne=_.clone(Ne,!0,!0),Ue&&_.merge(ve,mr(Ne,"script"))),M.call(E[wt],Ne,wt);if(Ue)for(Ge=ve[ve.length-1].ownerDocument,_.map(ve,oi),wt=0;wt<Ue;wt++)Ne=ve[wt],_r.test(Ne.type||"")&&!Le.access(Ne,"globalEval")&&_.contains(Ge,Ne)&&(Ne.src&&(Ne.type||"").toLowerCase()!=="module"?_._evalUrl&&!Ne.noModule&&_._evalUrl(Ne.src,{nonce:Ne.nonce||Ne.getAttribute("nonce")},Ge):A(Ne.textContent.replace(Vi,""),Ne,Ge))}return E}function Ft(E,C,M){for(var X,oe=C?_.filter(C,E):E,le=0;(X=oe[le])!=null;le++)!M&&X.nodeType===1&&_.cleanData(mr(X)),X.parentNode&&(M&&at(X)&&Pr(mr(X,"script")),X.parentNode.removeChild(X));return E}_.extend({htmlPrefilter:function(E){return E},clone:function(E,C,M){var X,oe,le,ve,Ue=E.cloneNode(!0),Ne=at(E);if(!m.noCloneChecked&&(E.nodeType===1||E.nodeType===11)&&!_.isXMLDoc(E))for(ve=mr(Ue),le=mr(E),X=0,oe=le.length;X<oe;X++)Ai(le[X],ve[X]);if(C)if(M)for(le=le||mr(E),ve=ve||mr(Ue),X=0,oe=le.length;X<oe;X++)Di(le[X],ve[X]);else Di(E,Ue);return ve=mr(Ue,"script"),ve.length>0&&Pr(ve,!Ne&&mr(E,"script")),Ue},cleanData:function(E){for(var C,M,X,oe=_.event.special,le=0;(M=E[le])!==void 0;le++)if(xe(M)){if(C=M[Le.expando]){if(C.events)for(X in C.events)oe[X]?_.event.remove(M,X):_.removeEvent(M,X,C.handle);M[Le.expando]=void 0}M[He.expando]&&(M[He.expando]=void 0)}}}),_.fn.extend({detach:function(E){return Ft(this,E,!0)},remove:function(E){return Ft(this,E)},text:function(E){return Oe(this,function(C){return C===void 0?_.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=C)})},null,E,arguments.length)},append:function(){return it(this,arguments,function(E){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var C=Yi(this,E);C.appendChild(E)}})},prepend:function(){return it(this,arguments,function(E){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var C=Yi(this,E);C.insertBefore(E,C.firstChild)}})},before:function(){return it(this,arguments,function(E){this.parentNode&&this.parentNode.insertBefore(E,this)})},after:function(){return it(this,arguments,function(E){this.parentNode&&this.parentNode.insertBefore(E,this.nextSibling)})},empty:function(){for(var E,C=0;(E=this[C])!=null;C++)E.nodeType===1&&(_.cleanData(mr(E,!1)),E.textContent="");return this},clone:function(E,C){return E=E??!1,C=C??E,this.map(function(){return _.clone(this,E,C)})},html:function(E){return Oe(this,function(C){var M=this[0]||{},X=0,oe=this.length;if(C===void 0&&M.nodeType===1)return M.innerHTML;if(typeof C=="string"&&!Ci.test(C)&&!sr[(rr.exec(C)||["",""])[1].toLowerCase()]){C=_.htmlPrefilter(C);try{for(;X<oe;X++)M=this[X]||{},M.nodeType===1&&(_.cleanData(mr(M,!1)),M.innerHTML=C);M=0}catch{}}M&&this.empty().append(C)},null,E,arguments.length)},replaceWith:function(){var E=[];return it(this,arguments,function(C){var M=this.parentNode;_.inArray(this,E)<0&&(_.cleanData(mr(this)),M&&M.replaceChild(C,this))},E)}}),_.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(E,C){_.fn[E]=function(M){for(var X,oe=[],le=_(M),ve=le.length-1,Ue=0;Ue<=ve;Ue++)X=Ue===ve?this:this.clone(!0),_(le[Ue])[C](X),u.apply(oe,X.get());return this.pushStack(oe)}});var pt=new RegExp("^("+bt+")(?!px)[a-z%]+$","i"),Ke=/^--/,At=function(E){var C=E.ownerDocument.defaultView;return(!C||!C.opener)&&(C=t),C.getComputedStyle(E)},pr=function(E,C,M){var X,oe,le={};for(oe in C)le[oe]=E.style[oe],E.style[oe]=C[oe];X=M.call(E);for(oe in C)E.style[oe]=le[oe];return X},we=new RegExp(St.join("|"),"i");(function(){function E(){if(Ge){Ne.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",Ge.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",yt.appendChild(Ne).appendChild(Ge);var wt=t.getComputedStyle(Ge);M=wt.top!=="1%",Ue=C(wt.marginLeft)===12,Ge.style.right="60%",le=C(wt.right)===36,X=C(wt.width)===36,Ge.style.position="absolute",oe=C(Ge.offsetWidth/3)===12,yt.removeChild(Ne),Ge=null}}function C(wt){return Math.round(parseFloat(wt))}var M,X,oe,le,ve,Ue,Ne=w.createElement("div"),Ge=w.createElement("div");Ge.style&&(Ge.style.backgroundClip="content-box",Ge.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle=Ge.style.backgroundClip==="content-box",_.extend(m,{boxSizingReliable:function(){return E(),X},pixelBoxStyles:function(){return E(),le},pixelPosition:function(){return E(),M},reliableMarginLeft:function(){return E(),Ue},scrollboxSize:function(){return E(),oe},reliableTrDimensions:function(){var wt,Ct,st,Vt;return ve==null&&(wt=w.createElement("table"),Ct=w.createElement("tr"),st=w.createElement("div"),wt.style.cssText="position:absolute;left:-11111px;border-collapse:separate",Ct.style.cssText="box-sizing:content-box;border:1px solid",Ct.style.height="1px",st.style.height="9px",st.style.display="block",yt.appendChild(wt).appendChild(Ct).appendChild(st),Vt=t.getComputedStyle(Ct),ve=parseInt(Vt.height,10)+parseInt(Vt.borderTopWidth,10)+parseInt(Vt.borderBottomWidth,10)===Ct.offsetHeight,yt.removeChild(wt)),ve}}))})();function ct(E,C,M){var X,oe,le,ve,Ue=Ke.test(C),Ne=E.style;return M=M||At(E),M&&(ve=M.getPropertyValue(C)||M[C],Ue&&ve&&(ve=ve.replace(Q,"$1")||void 0),ve===""&&!at(E)&&(ve=_.style(E,C)),!m.pixelBoxStyles()&&pt.test(ve)&&we.test(C)&&(X=Ne.width,oe=Ne.minWidth,le=Ne.maxWidth,Ne.minWidth=Ne.maxWidth=Ne.width=ve,ve=M.width,Ne.width=X,Ne.minWidth=oe,Ne.maxWidth=le)),ve!==void 0?ve+"":ve}function nt(E,C){return{get:function(){if(E()){delete this.get;return}return(this.get=C).apply(this,arguments)}}}var ft=["Webkit","Moz","ms"],kt=w.createElement("div").style,dt={};function Yt(E){for(var C=E[0].toUpperCase()+E.slice(1),M=ft.length;M--;)if(E=ft[M]+C,E in kt)return E}function Dr(E){var C=_.cssProps[E]||dt[E];return C||(E in kt?E:dt[E]=Yt(E)||E)}var Zr=/^(none|table(?!-c[ea]).+)/,en={position:"absolute",visibility:"hidden",display:"block"},pn={letterSpacing:"0",fontWeight:"400"};function Mt(E,C,M){var X=mt.exec(C);return X?Math.max(0,X[2]-(M||0))+(X[3]||"px"):C}function Kr(E,C,M,X,oe,le){var ve=C==="width"?1:0,Ue=0,Ne=0,Ge=0;if(M===(X?"border":"content"))return 0;for(;ve<4;ve+=2)M==="margin"&&(Ge+=_.css(E,M+St[ve],!0,oe)),X?(M==="content"&&(Ne-=_.css(E,"padding"+St[ve],!0,oe)),M!=="margin"&&(Ne-=_.css(E,"border"+St[ve]+"Width",!0,oe))):(Ne+=_.css(E,"padding"+St[ve],!0,oe),M!=="padding"?Ne+=_.css(E,"border"+St[ve]+"Width",!0,oe):Ue+=_.css(E,"border"+St[ve]+"Width",!0,oe));return!X&&le>=0&&(Ne+=Math.max(0,Math.ceil(E["offset"+C[0].toUpperCase()+C.slice(1)]-le-Ne-Ue-.5))||0),Ne+Ge}function Ki(E,C,M){var X=At(E),oe=!m.boxSizingReliable()||M,le=oe&&_.css(E,"boxSizing",!1,X)==="border-box",ve=le,Ue=ct(E,C,X),Ne="offset"+C[0].toUpperCase()+C.slice(1);if(pt.test(Ue)){if(!M)return Ue;Ue="auto"}return(!m.boxSizingReliable()&&le||!m.reliableTrDimensions()&&N(E,"tr")||Ue==="auto"||!parseFloat(Ue)&&_.css(E,"display",!1,X)==="inline")&&E.getClientRects().length&&(le=_.css(E,"boxSizing",!1,X)==="border-box",ve=Ne in E,ve&&(Ue=E[Ne])),Ue=parseFloat(Ue)||0,Ue+Kr(E,C,M||(le?"border":"content"),ve,X,Ue)+"px"}_.extend({cssHooks:{opacity:{get:function(E,C){if(C){var M=ct(E,"opacity");return M===""?"1":M}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(E,C,M,X){if(!(!E||E.nodeType===3||E.nodeType===8||!E.style)){var oe,le,ve,Ue=_e(C),Ne=Ke.test(C),Ge=E.style;if(Ne||(C=Dr(Ue)),ve=_.cssHooks[C]||_.cssHooks[Ue],M!==void 0){if(le=typeof M,le==="string"&&(oe=mt.exec(M))&&oe[1]&&(M=Ce(E,C,oe),le="number"),M==null||M!==M)return;le==="number"&&!Ne&&(M+=oe&&oe[3]||(_.cssNumber[Ue]?"":"px")),!m.clearCloneStyle&&M===""&&C.indexOf("background")===0&&(Ge[C]="inherit"),(!ve||!("set"in ve)||(M=ve.set(E,M,X))!==void 0)&&(Ne?Ge.setProperty(C,M):Ge[C]=M)}else return ve&&"get"in ve&&(oe=ve.get(E,!1,X))!==void 0?oe:Ge[C]}},css:function(E,C,M,X){var oe,le,ve,Ue=_e(C),Ne=Ke.test(C);return Ne||(C=Dr(Ue)),ve=_.cssHooks[C]||_.cssHooks[Ue],ve&&"get"in ve&&(oe=ve.get(E,!0,M)),oe===void 0&&(oe=ct(E,C,X)),oe==="normal"&&C in pn&&(oe=pn[C]),M===""||M?(le=parseFloat(oe),M===!0||isFinite(le)?le||0:oe):oe}}),_.each(["height","width"],function(E,C){_.cssHooks[C]={get:function(M,X,oe){if(X)return Zr.test(_.css(M,"display"))&&(!M.getClientRects().length||!M.getBoundingClientRect().width)?pr(M,en,function(){return Ki(M,C,oe)}):Ki(M,C,oe)},set:function(M,X,oe){var le,ve=At(M),Ue=!m.scrollboxSize()&&ve.position==="absolute",Ne=Ue||oe,Ge=Ne&&_.css(M,"boxSizing",!1,ve)==="border-box",wt=oe?Kr(M,C,oe,Ge,ve):0;return Ge&&Ue&&(wt-=Math.ceil(M["offset"+C[0].toUpperCase()+C.slice(1)]-parseFloat(ve[C])-Kr(M,C,"border",!1,ve)-.5)),wt&&(le=mt.exec(X))&&(le[3]||"px")!=="px"&&(M.style[C]=X,X=_.css(M,C)),Mt(M,X,wt)}}}),_.cssHooks.marginLeft=nt(m.reliableMarginLeft,function(E,C){if(C)return(parseFloat(ct(E,"marginLeft"))||E.getBoundingClientRect().left-pr(E,{marginLeft:0},function(){return E.getBoundingClientRect().left}))+"px"}),_.each({margin:"",padding:"",border:"Width"},function(E,C){_.cssHooks[E+C]={expand:function(M){for(var X=0,oe={},le=typeof M=="string"?M.split(" "):[M];X<4;X++)oe[E+St[X]+C]=le[X]||le[X-2]||le[0];return oe}},E!=="margin"&&(_.cssHooks[E+C].set=Mt)}),_.fn.extend({css:function(E,C){return Oe(this,function(M,X,oe){var le,ve,Ue={},Ne=0;if(Array.isArray(X)){for(le=At(M),ve=X.length;Ne<ve;Ne++)Ue[X[Ne]]=_.css(M,X[Ne],!1,le);return Ue}return oe!==void 0?_.style(M,X,oe):_.css(M,X)},E,C,arguments.length>1)}});function si(E,C,M,X,oe){return new si.prototype.init(E,C,M,X,oe)}_.Tween=si,si.prototype={constructor:si,init:function(E,C,M,X,oe,le){this.elem=E,this.prop=M,this.easing=oe||_.easing._default,this.options=C,this.start=this.now=this.cur(),this.end=X,this.unit=le||(_.cssNumber[M]?"":"px")},cur:function(){var E=si.propHooks[this.prop];return E&&E.get?E.get(this):si.propHooks._default.get(this)},run:function(E){var C,M=si.propHooks[this.prop];return this.options.duration?this.pos=C=_.easing[this.easing](E,this.options.duration*E,0,1,this.options.duration):this.pos=C=E,this.now=(this.end-this.start)*C+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),M&&M.set?M.set(this):si.propHooks._default.set(this),this}},si.prototype.init.prototype=si.prototype,si.propHooks={_default:{get:function(E){var C;return E.elem.nodeType!==1||E.elem[E.prop]!=null&&E.elem.style[E.prop]==null?E.elem[E.prop]:(C=_.css(E.elem,E.prop,""),!C||C==="auto"?0:C)},set:function(E){_.fx.step[E.prop]?_.fx.step[E.prop](E):E.elem.nodeType===1&&(_.cssHooks[E.prop]||E.elem.style[Dr(E.prop)]!=null)?_.style(E.elem,E.prop,E.now+E.unit):E.elem[E.prop]=E.now}}},si.propHooks.scrollTop=si.propHooks.scrollLeft={set:function(E){E.elem.nodeType&&E.elem.parentNode&&(E.elem[E.prop]=E.now)}},_.easing={linear:function(E){return E},swing:function(E){return .5-Math.cos(E*Math.PI)/2},_default:"swing"},_.fx=si.prototype.init,_.fx.step={};var va,Bi,xa=/^(?:toggle|show|hide)$/,no=/queueHooks$/;function qa(){Bi&&(w.hidden===!1&&t.requestAnimationFrame?t.requestAnimationFrame(qa):t.setTimeout(qa,_.fx.interval),_.fx.tick())}function W(){return t.setTimeout(function(){va=void 0}),va=Date.now()}function ue(E,C){var M,X=0,oe={height:E};for(C=C?1:0;X<4;X+=2-C)M=St[X],oe["margin"+M]=oe["padding"+M]=E;return C&&(oe.opacity=oe.width=E),oe}function Te(E,C,M){for(var X,oe=(rt.tweeners[C]||[]).concat(rt.tweeners["*"]),le=0,ve=oe.length;le<ve;le++)if(X=oe[le].call(M,C,E))return X}function qe(E,C,M){var X,oe,le,ve,Ue,Ne,Ge,wt,Ct="width"in C||"height"in C,st=this,Vt={},Rr=E.style,tn=E.nodeType&&xt(E),qr=Le.get(E,"fxshow");M.queue||(ve=_._queueHooks(E,"fx"),ve.unqueued==null&&(ve.unqueued=0,Ue=ve.empty.fire,ve.empty.fire=function(){ve.unqueued||Ue()}),ve.unqueued++,st.always(function(){st.always(function(){ve.unqueued--,_.queue(E,"fx").length||ve.empty.fire()})}));for(X in C)if(oe=C[X],xa.test(oe)){if(delete C[X],le=le||oe==="toggle",oe===(tn?"hide":"show"))if(oe==="show"&&qr&&qr[X]!==void 0)tn=!0;else continue;Vt[X]=qr&&qr[X]||_.style(E,X)}if(Ne=!_.isEmptyObject(C),!(!Ne&&_.isEmptyObject(Vt))){Ct&&E.nodeType===1&&(M.overflow=[Rr.overflow,Rr.overflowX,Rr.overflowY],Ge=qr&&qr.display,Ge==null&&(Ge=Le.get(E,"display")),wt=_.css(E,"display"),wt==="none"&&(Ge?wt=Ge:(Tt([E],!0),Ge=E.style.display||Ge,wt=_.css(E,"display"),Tt([E]))),(wt==="inline"||wt==="inline-block"&&Ge!=null)&&_.css(E,"float")==="none"&&(Ne||(st.done(function(){Rr.display=Ge}),Ge==null&&(wt=Rr.display,Ge=wt==="none"?"":wt)),Rr.display="inline-block")),M.overflow&&(Rr.overflow="hidden",st.always(function(){Rr.overflow=M.overflow[0],Rr.overflowX=M.overflow[1],Rr.overflowY=M.overflow[2]})),Ne=!1;for(X in Vt)Ne||(qr?"hidden"in qr&&(tn=qr.hidden):qr=Le.access(E,"fxshow",{display:Ge}),le&&(qr.hidden=!tn),tn&&Tt([E],!0),st.done(function(){tn||Tt([E]),Le.remove(E,"fxshow");for(X in Vt)_.style(E,X,Vt[X])})),Ne=Te(tn?qr[X]:0,X,st),X in qr||(qr[X]=Ne.start,tn&&(Ne.end=Ne.start,Ne.start=0))}}function ht(E,C){var M,X,oe,le,ve;for(M in E)if(X=_e(M),oe=C[X],le=E[M],Array.isArray(le)&&(oe=le[1],le=E[M]=le[0]),M!==X&&(E[X]=le,delete E[M]),ve=_.cssHooks[X],ve&&"expand"in ve){le=ve.expand(le),delete E[X];for(M in le)M in E||(E[M]=le[M],C[M]=oe)}else C[X]=oe}function rt(E,C,M){var X,oe,le=0,ve=rt.prefilters.length,Ue=_.Deferred().always(function(){delete Ne.elem}),Ne=function(){if(oe)return!1;for(var Ct=va||W(),st=Math.max(0,Ge.startTime+Ge.duration-Ct),Vt=st/Ge.duration||0,Rr=1-Vt,tn=0,qr=Ge.tweens.length;tn<qr;tn++)Ge.tweens[tn].run(Rr);return Ue.notifyWith(E,[Ge,Rr,st]),Rr<1&&qr?st:(qr||Ue.notifyWith(E,[Ge,1,0]),Ue.resolveWith(E,[Ge]),!1)},Ge=Ue.promise({elem:E,props:_.extend({},C),opts:_.extend(!0,{specialEasing:{},easing:_.easing._default},M),originalProperties:C,originalOptions:M,startTime:va||W(),duration:M.duration,tweens:[],createTween:function(Ct,st){var Vt=_.Tween(E,Ge.opts,Ct,st,Ge.opts.specialEasing[Ct]||Ge.opts.easing);return Ge.tweens.push(Vt),Vt},stop:function(Ct){var st=0,Vt=Ct?Ge.tweens.length:0;if(oe)return this;for(oe=!0;st<Vt;st++)Ge.tweens[st].run(1);return Ct?(Ue.notifyWith(E,[Ge,1,0]),Ue.resolveWith(E,[Ge,Ct])):Ue.rejectWith(E,[Ge,Ct]),this}}),wt=Ge.props;for(ht(wt,Ge.opts.specialEasing);le<ve;le++)if(X=rt.prefilters[le].call(Ge,E,wt,Ge.opts),X)return y(X.stop)&&(_._queueHooks(Ge.elem,Ge.opts.queue).stop=X.stop.bind(X)),X;return _.map(wt,Te,Ge),y(Ge.opts.start)&&Ge.opts.start.call(E,Ge),Ge.progress(Ge.opts.progress).done(Ge.opts.done,Ge.opts.complete).fail(Ge.opts.fail).always(Ge.opts.always),_.fx.timer(_.extend(Ne,{elem:E,anim:Ge,queue:Ge.opts.queue})),Ge}_.Animation=_.extend(rt,{tweeners:{"*":[function(E,C){var M=this.createTween(E,C);return Ce(M.elem,E,mt.exec(C),M),M}]},tweener:function(E,C){y(E)?(C=E,E=["*"]):E=E.match(H);for(var M,X=0,oe=E.length;X<oe;X++)M=E[X],rt.tweeners[M]=rt.tweeners[M]||[],rt.tweeners[M].unshift(C)},prefilters:[qe],prefilter:function(E,C){C?rt.prefilters.unshift(E):rt.prefilters.push(E)}}),_.speed=function(E,C,M){var X=E&&typeof E=="object"?_.extend({},E):{complete:M||!M&&C||y(E)&&E,duration:E,easing:M&&C||C&&!y(C)&&C};return _.fx.off?X.duration=0:typeof X.duration!="number"&&(X.duration in _.fx.speeds?X.duration=_.fx.speeds[X.duration]:X.duration=_.fx.speeds._default),(X.queue==null||X.queue===!0)&&(X.queue="fx"),X.old=X.complete,X.complete=function(){y(X.old)&&X.old.call(this),X.queue&&_.dequeue(this,X.queue)},X},_.fn.extend({fadeTo:function(E,C,M,X){return this.filter(xt).css("opacity",0).show().end().animate({opacity:C},E,M,X)},animate:function(E,C,M,X){var oe=_.isEmptyObject(E),le=_.speed(C,M,X),ve=function(){var Ue=rt(this,_.extend({},E),le);(oe||Le.get(this,"finish"))&&Ue.stop(!0)};return ve.finish=ve,oe||le.queue===!1?this.each(ve):this.queue(le.queue,ve)},stop:function(E,C,M){var X=function(oe){var le=oe.stop;delete oe.stop,le(M)};return typeof E!="string"&&(M=C,C=E,E=void 0),C&&this.queue(E||"fx",[]),this.each(function(){var oe=!0,le=E!=null&&E+"queueHooks",ve=_.timers,Ue=Le.get(this);if(le)Ue[le]&&Ue[le].stop&&X(Ue[le]);else for(le in Ue)Ue[le]&&Ue[le].stop&&no.test(le)&&X(Ue[le]);for(le=ve.length;le--;)ve[le].elem===this&&(E==null||ve[le].queue===E)&&(ve[le].anim.stop(M),oe=!1,ve.splice(le,1));(oe||!M)&&_.dequeue(this,E)})},finish:function(E){return E!==!1&&(E=E||"fx"),this.each(function(){var C,M=Le.get(this),X=M[E+"queue"],oe=M[E+"queueHooks"],le=_.timers,ve=X?X.length:0;for(M.finish=!0,_.queue(this,E,[]),oe&&oe.stop&&oe.stop.call(this,!0),C=le.length;C--;)le[C].elem===this&&le[C].queue===E&&(le[C].anim.stop(!0),le.splice(C,1));for(C=0;C<ve;C++)X[C]&&X[C].finish&&X[C].finish.call(this);delete M.finish})}}),_.each(["toggle","show","hide"],function(E,C){var M=_.fn[C];_.fn[C]=function(X,oe,le){return X==null||typeof X=="boolean"?M.apply(this,arguments):this.animate(ue(C,!0),X,oe,le)}}),_.each({slideDown:ue("show"),slideUp:ue("hide"),slideToggle:ue("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(E,C){_.fn[E]=function(M,X,oe){return this.animate(C,M,X,oe)}}),_.timers=[],_.fx.tick=function(){var E,C=0,M=_.timers;for(va=Date.now();C<M.length;C++)E=M[C],!E()&&M[C]===E&&M.splice(C--,1);M.length||_.fx.stop(),va=void 0},_.fx.timer=function(E){_.timers.push(E),_.fx.start()},_.fx.interval=13,_.fx.start=function(){Bi||(Bi=!0,qa())},_.fx.stop=function(){Bi=null},_.fx.speeds={slow:600,fast:200,_default:400},_.fn.delay=function(E,C){return E=_.fx&&_.fx.speeds[E]||E,C=C||"fx",this.queue(C,function(M,X){var oe=t.setTimeout(M,E);X.stop=function(){t.clearTimeout(oe)}})},(function(){var E=w.createElement("input"),C=w.createElement("select"),M=C.appendChild(w.createElement("option"));E.type="checkbox",m.checkOn=E.value!=="",m.optSelected=M.selected,E=w.createElement("input"),E.value="t",E.type="radio",m.radioValue=E.value==="t"})();var Ot,Wt=_.expr.attrHandle;_.fn.extend({attr:function(E,C){return Oe(this,_.attr,E,C,arguments.length>1)},removeAttr:function(E){return this.each(function(){_.removeAttr(this,E)})}}),_.extend({attr:function(E,C,M){var X,oe,le=E.nodeType;if(!(le===3||le===8||le===2)){if(typeof E.getAttribute>"u")return _.prop(E,C,M);if((le!==1||!_.isXMLDoc(E))&&(oe=_.attrHooks[C.toLowerCase()]||(_.expr.match.bool.test(C)?Ot:void 0)),M!==void 0){if(M===null){_.removeAttr(E,C);return}return oe&&"set"in oe&&(X=oe.set(E,M,C))!==void 0?X:(E.setAttribute(C,M+""),M)}return oe&&"get"in oe&&(X=oe.get(E,C))!==null?X:(X=_.find.attr(E,C),X??void 0)}},attrHooks:{type:{set:function(E,C){if(!m.radioValue&&C==="radio"&&N(E,"input")){var M=E.value;return E.setAttribute("type",C),M&&(E.value=M),C}}}},removeAttr:function(E,C){var M,X=0,oe=C&&C.match(H);if(oe&&E.nodeType===1)for(;M=oe[X++];)E.removeAttribute(M)}}),Ot={set:function(E,C,M){return C===!1?_.removeAttr(E,M):E.setAttribute(M,M),M}},_.each(_.expr.match.bool.source.match(/\w+/g),function(E,C){var M=Wt[C]||_.find.attr;Wt[C]=function(X,oe,le){var ve,Ue,Ne=oe.toLowerCase();return le||(Ue=Wt[Ne],Wt[Ne]=ve,ve=M(X,oe,le)!=null?Ne:null,Wt[Ne]=Ue),ve}});var Jt=/^(?:input|select|textarea|button)$/i,wr=/^(?:a|area)$/i;_.fn.extend({prop:function(E,C){return Oe(this,_.prop,E,C,arguments.length>1)},removeProp:function(E){return this.each(function(){delete this[_.propFix[E]||E]})}}),_.extend({prop:function(E,C,M){var X,oe,le=E.nodeType;if(!(le===3||le===8||le===2))return(le!==1||!_.isXMLDoc(E))&&(C=_.propFix[C]||C,oe=_.propHooks[C]),M!==void 0?oe&&"set"in oe&&(X=oe.set(E,M,C))!==void 0?X:E[C]=M:oe&&"get"in oe&&(X=oe.get(E,C))!==null?X:E[C]},propHooks:{tabIndex:{get:function(E){var C=_.find.attr(E,"tabindex");return C?parseInt(C,10):Jt.test(E.nodeName)||wr.test(E.nodeName)&&E.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(_.propHooks.selected={get:function(E){var C=E.parentNode;return C&&C.parentNode&&C.parentNode.selectedIndex,null},set:function(E){var C=E.parentNode;C&&(C.selectedIndex,C.parentNode&&C.parentNode.selectedIndex)}}),_.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){_.propFix[this.toLowerCase()]=this});function Ar(E){var C=E.match(H)||[];return C.join(" ")}function qn(E){return E.getAttribute&&E.getAttribute("class")||""}function ki(E){return Array.isArray(E)?E:typeof E=="string"?E.match(H)||[]:[]}_.fn.extend({addClass:function(E){var C,M,X,oe,le,ve;return y(E)?this.each(function(Ue){_(this).addClass(E.call(this,Ue,qn(this)))}):(C=ki(E),C.length?this.each(function(){if(X=qn(this),M=this.nodeType===1&&" "+Ar(X)+" ",M){for(le=0;le<C.length;le++)oe=C[le],M.indexOf(" "+oe+" ")<0&&(M+=oe+" ");ve=Ar(M),X!==ve&&this.setAttribute("class",ve)}}):this)},removeClass:function(E){var C,M,X,oe,le,ve;return y(E)?this.each(function(Ue){_(this).removeClass(E.call(this,Ue,qn(this)))}):arguments.length?(C=ki(E),C.length?this.each(function(){if(X=qn(this),M=this.nodeType===1&&" "+Ar(X)+" ",M){for(le=0;le<C.length;le++)for(oe=C[le];M.indexOf(" "+oe+" ")>-1;)M=M.replace(" "+oe+" "," ");ve=Ar(M),X!==ve&&this.setAttribute("class",ve)}}):this):this.attr("class","")},toggleClass:function(E,C){var M,X,oe,le,ve=typeof E,Ue=ve==="string"||Array.isArray(E);return y(E)?this.each(function(Ne){_(this).toggleClass(E.call(this,Ne,qn(this),C),C)}):typeof C=="boolean"&&Ue?C?this.addClass(E):this.removeClass(E):(M=ki(E),this.each(function(){if(Ue)for(le=_(this),oe=0;oe<M.length;oe++)X=M[oe],le.hasClass(X)?le.removeClass(X):le.addClass(X);else(E===void 0||ve==="boolean")&&(X=qn(this),X&&Le.set(this,"__className__",X),this.setAttribute&&this.setAttribute("class",X||E===!1?"":Le.get(this,"__className__")||""))}))},hasClass:function(E){var C,M,X=0;for(C=" "+E+" ";M=this[X++];)if(M.nodeType===1&&(" "+Ar(qn(M))+" ").indexOf(C)>-1)return!0;return!1}});var Ni=/\r/g;_.fn.extend({val:function(E){var C,M,X,oe=this[0];return arguments.length?(X=y(E),this.each(function(le){var ve;this.nodeType===1&&(X?ve=E.call(this,le,_(this).val()):ve=E,ve==null?ve="":typeof ve=="number"?ve+="":Array.isArray(ve)&&(ve=_.map(ve,function(Ue){return Ue==null?"":Ue+""})),C=_.valHooks[this.type]||_.valHooks[this.nodeName.toLowerCase()],(!C||!("set"in C)||C.set(this,ve,"value")===void 0)&&(this.value=ve))})):oe?(C=_.valHooks[oe.type]||_.valHooks[oe.nodeName.toLowerCase()],C&&"get"in C&&(M=C.get(oe,"value"))!==void 0?M:(M=oe.value,typeof M=="string"?M.replace(Ni,""):M??"")):void 0}}),_.extend({valHooks:{option:{get:function(E){var C=_.find.attr(E,"value");return C??Ar(_.text(E))}},select:{get:function(E){var C,M,X,oe=E.options,le=E.selectedIndex,ve=E.type==="select-one",Ue=ve?null:[],Ne=ve?le+1:oe.length;for(le<0?X=Ne:X=ve?le:0;X<Ne;X++)if(M=oe[X],(M.selected||X===le)&&!M.disabled&&(!M.parentNode.disabled||!N(M.parentNode,"optgroup"))){if(C=_(M).val(),ve)return C;Ue.push(C)}return Ue},set:function(E,C){for(var M,X,oe=E.options,le=_.makeArray(C),ve=oe.length;ve--;)X=oe[ve],(X.selected=_.inArray(_.valHooks.option.get(X),le)>-1)&&(M=!0);return M||(E.selectedIndex=-1),le}}}}),_.each(["radio","checkbox"],function(){_.valHooks[this]={set:function(E,C){if(Array.isArray(C))return E.checked=_.inArray(_(E).val(),C)>-1}},m.checkOn||(_.valHooks[this].get=function(E){return E.getAttribute("value")===null?"on":E.value})});var ms=t.location,lu={guid:Date.now()},ys=/\?/;_.parseXML=function(E){var C,M;if(!E||typeof E!="string")return null;try{C=new t.DOMParser().parseFromString(E,"text/xml")}catch{}return M=C&&C.getElementsByTagName("parsererror")[0],(!C||M)&&_.error("Invalid XML: "+(M?_.map(M.childNodes,function(X){return X.textContent}).join(`
32
- `):E)),C};var io=/^(?:focusinfocus|focusoutblur)$/,Si=function(E){E.stopPropagation()};_.extend(_.event,{trigger:function(E,C,M,X){var oe,le,ve,Ue,Ne,Ge,wt,Ct,st=[M||w],Vt=h.call(E,"type")?E.type:E,Rr=h.call(E,"namespace")?E.namespace.split("."):[];if(le=Ct=ve=M=M||w,!(M.nodeType===3||M.nodeType===8)&&!io.test(Vt+_.event.triggered)&&(Vt.indexOf(".")>-1&&(Rr=Vt.split("."),Vt=Rr.shift(),Rr.sort()),Ne=Vt.indexOf(":")<0&&"on"+Vt,E=E[_.expando]?E:new _.Event(Vt,typeof E=="object"&&E),E.isTrigger=X?2:3,E.namespace=Rr.join("."),E.rnamespace=E.namespace?new RegExp("(^|\\.)"+Rr.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,E.result=void 0,E.target||(E.target=M),C=C==null?[E]:_.makeArray(C,[E]),wt=_.event.special[Vt]||{},!(!X&&wt.trigger&&wt.trigger.apply(M,C)===!1))){if(!X&&!wt.noBubble&&!S(M)){for(Ue=wt.delegateType||Vt,io.test(Ue+Vt)||(le=le.parentNode);le;le=le.parentNode)st.push(le),ve=le;ve===(M.ownerDocument||w)&&st.push(ve.defaultView||ve.parentWindow||t)}for(oe=0;(le=st[oe++])&&!E.isPropagationStopped();)Ct=le,E.type=oe>1?Ue:wt.bindType||Vt,Ge=(Le.get(le,"events")||Object.create(null))[E.type]&&Le.get(le,"handle"),Ge&&Ge.apply(le,C),Ge=Ne&&le[Ne],Ge&&Ge.apply&&xe(le)&&(E.result=Ge.apply(le,C),E.result===!1&&E.preventDefault());return E.type=Vt,!X&&!E.isDefaultPrevented()&&(!wt._default||wt._default.apply(st.pop(),C)===!1)&&xe(M)&&Ne&&y(M[Vt])&&!S(M)&&(ve=M[Ne],ve&&(M[Ne]=null),_.event.triggered=Vt,E.isPropagationStopped()&&Ct.addEventListener(Vt,Si),M[Vt](),E.isPropagationStopped()&&Ct.removeEventListener(Vt,Si),_.event.triggered=void 0,ve&&(M[Ne]=ve)),E.result}},simulate:function(E,C,M){var X=_.extend(new _.Event,M,{type:E,isSimulated:!0});_.event.trigger(X,null,C)}}),_.fn.extend({trigger:function(E,C){return this.each(function(){_.event.trigger(E,C,this)})},triggerHandler:function(E,C){var M=this[0];if(M)return _.event.trigger(E,C,M,!0)}});var Va=/\[\]$/,ao=/\r?\n/g,gn=/^(?:submit|button|image|reset|file)$/i,pa=/^(?:input|select|textarea|keygen)/i;function Wo(E,C,M,X){var oe;if(Array.isArray(C))_.each(C,function(le,ve){M||Va.test(E)?X(E,ve):Wo(E+"["+(typeof ve=="object"&&ve!=null?le:"")+"]",ve,M,X)});else if(!M&&R(C)==="object")for(oe in C)Wo(E+"["+oe+"]",C[oe],M,X);else X(E,C)}_.param=function(E,C){var M,X=[],oe=function(le,ve){var Ue=y(ve)?ve():ve;X[X.length]=encodeURIComponent(le)+"="+encodeURIComponent(Ue??"")};if(E==null)return"";if(Array.isArray(E)||E.jquery&&!_.isPlainObject(E))_.each(E,function(){oe(this.name,this.value)});else for(M in E)Wo(M,E[M],C,oe);return X.join("&")},_.fn.extend({serialize:function(){return _.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var E=_.prop(this,"elements");return E?_.makeArray(E):this}).filter(function(){var E=this.type;return this.name&&!_(this).is(":disabled")&&pa.test(this.nodeName)&&!gn.test(E)&&(this.checked||!Pt.test(E))}).map(function(E,C){var M=_(this).val();return M==null?null:Array.isArray(M)?_.map(M,function(X){return{name:C.name,value:X.replace(ao,`\r
33
- `)}}):{name:C.name,value:M.replace(ao,`\r
34
- `)}}).get()}});var Go=/%20/g,ra=/#.*$/,Us=/([?&])_=[^&]*/,oo=/^(.*?):[ \t]*([^\r\n]*)$/mg,_s=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,qs=/^(?:GET|HEAD)$/,Nu=/^\/\//,so={},So={},Hi="*/".concat("*"),ga=w.createElement("a");ga.href=ms.href;function Lu(E){return function(C,M){typeof C!="string"&&(M=C,C="*");var X,oe=0,le=C.toLowerCase().match(H)||[];if(y(M))for(;X=le[oe++];)X[0]==="+"?(X=X.slice(1)||"*",(E[X]=E[X]||[]).unshift(M)):(E[X]=E[X]||[]).push(M)}}function Yo(E,C,M,X){var oe={},le=E===So;function ve(Ue){var Ne;return oe[Ue]=!0,_.each(E[Ue]||[],function(Ge,wt){var Ct=wt(C,M,X);if(typeof Ct=="string"&&!le&&!oe[Ct])return C.dataTypes.unshift(Ct),ve(Ct),!1;if(le)return!(Ne=Ct)}),Ne}return ve(C.dataTypes[0])||!oe["*"]&&ve("*")}function Ko(E,C){var M,X,oe=_.ajaxSettings.flatOptions||{};for(M in C)C[M]!==void 0&&((oe[M]?E:X||(X={}))[M]=C[M]);return X&&_.extend(!0,E,X),E}function ma(E,C,M){for(var X,oe,le,ve,Ue=E.contents,Ne=E.dataTypes;Ne[0]==="*";)Ne.shift(),X===void 0&&(X=E.mimeType||C.getResponseHeader("Content-Type"));if(X){for(oe in Ue)if(Ue[oe]&&Ue[oe].test(X)){Ne.unshift(oe);break}}if(Ne[0]in M)le=Ne[0];else{for(oe in M){if(!Ne[0]||E.converters[oe+" "+Ne[0]]){le=oe;break}ve||(ve=oe)}le=le||ve}if(le)return le!==Ne[0]&&Ne.unshift(le),M[le]}function Vs(E,C,M,X){var oe,le,ve,Ue,Ne,Ge={},wt=E.dataTypes.slice();if(wt[1])for(ve in E.converters)Ge[ve.toLowerCase()]=E.converters[ve];for(le=wt.shift();le;)if(E.responseFields[le]&&(M[E.responseFields[le]]=C),!Ne&&X&&E.dataFilter&&(C=E.dataFilter(C,E.dataType)),Ne=le,le=wt.shift(),le){if(le==="*")le=Ne;else if(Ne!=="*"&&Ne!==le){if(ve=Ge[Ne+" "+le]||Ge["* "+le],!ve){for(oe in Ge)if(Ue=oe.split(" "),Ue[1]===le&&(ve=Ge[Ne+" "+Ue[0]]||Ge["* "+Ue[0]],ve)){ve===!0?ve=Ge[oe]:Ge[oe]!==!0&&(le=Ue[0],wt.unshift(Ue[1]));break}}if(ve!==!0)if(ve&&E.throws)C=ve(C);else try{C=ve(C)}catch(Ct){return{state:"parsererror",error:ve?Ct:"No conversion from "+Ne+" to "+le}}}}return{state:"success",data:C}}_.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ms.href,type:"GET",isLocal:_s.test(ms.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Hi,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":_.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(E,C){return C?Ko(Ko(E,_.ajaxSettings),C):Ko(_.ajaxSettings,E)},ajaxPrefilter:Lu(so),ajaxTransport:Lu(So),ajax:function(E,C){typeof E=="object"&&(C=E,E=void 0),C=C||{};var M,X,oe,le,ve,Ue,Ne,Ge,wt,Ct,st=_.ajaxSetup({},C),Vt=st.context||st,Rr=st.context&&(Vt.nodeType||Vt.jquery)?_(Vt):_.event,tn=_.Deferred(),qr=_.Callbacks("once memory"),ei=st.statusCode||{},hi={},G={},se="canceled",ge={readyState:0,getResponseHeader:function(Je){var et;if(Ne){if(!le)for(le={};et=oo.exec(oe);)le[et[1].toLowerCase()+" "]=(le[et[1].toLowerCase()+" "]||[]).concat(et[2]);et=le[Je.toLowerCase()+" "]}return et==null?null:et.join(", ")},getAllResponseHeaders:function(){return Ne?oe:null},setRequestHeader:function(Je,et){return Ne==null&&(Je=G[Je.toLowerCase()]=G[Je.toLowerCase()]||Je,hi[Je]=et),this},overrideMimeType:function(Je){return Ne==null&&(st.mimeType=Je),this},statusCode:function(Je){var et;if(Je)if(Ne)ge.always(Je[ge.status]);else for(et in Je)ei[et]=[ei[et],Je[et]];return this},abort:function(Je){var et=Je||se;return M&&M.abort(et),$e(0,et),this}};if(tn.promise(ge),st.url=((E||st.url||ms.href)+"").replace(Nu,ms.protocol+"//"),st.type=C.method||C.type||st.method||st.type,st.dataTypes=(st.dataType||"*").toLowerCase().match(H)||[""],st.crossDomain==null){Ue=w.createElement("a");try{Ue.href=st.url,Ue.href=Ue.href,st.crossDomain=ga.protocol+"//"+ga.host!=Ue.protocol+"//"+Ue.host}catch{st.crossDomain=!0}}if(st.data&&st.processData&&typeof st.data!="string"&&(st.data=_.param(st.data,st.traditional)),Yo(so,st,C,ge),Ne)return ge;Ge=_.event&&st.global,Ge&&_.active++===0&&_.event.trigger("ajaxStart"),st.type=st.type.toUpperCase(),st.hasContent=!qs.test(st.type),X=st.url.replace(ra,""),st.hasContent?st.data&&st.processData&&(st.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(st.data=st.data.replace(Go,"+")):(Ct=st.url.slice(X.length),st.data&&(st.processData||typeof st.data=="string")&&(X+=(ys.test(X)?"&":"?")+st.data,delete st.data),st.cache===!1&&(X=X.replace(Us,"$1"),Ct=(ys.test(X)?"&":"?")+"_="+lu.guid+++Ct),st.url=X+Ct),st.ifModified&&(_.lastModified[X]&&ge.setRequestHeader("If-Modified-Since",_.lastModified[X]),_.etag[X]&&ge.setRequestHeader("If-None-Match",_.etag[X])),(st.data&&st.hasContent&&st.contentType!==!1||C.contentType)&&ge.setRequestHeader("Content-Type",st.contentType),ge.setRequestHeader("Accept",st.dataTypes[0]&&st.accepts[st.dataTypes[0]]?st.accepts[st.dataTypes[0]]+(st.dataTypes[0]!=="*"?", "+Hi+"; q=0.01":""):st.accepts["*"]);for(wt in st.headers)ge.setRequestHeader(wt,st.headers[wt]);if(st.beforeSend&&(st.beforeSend.call(Vt,ge,st)===!1||Ne))return ge.abort();if(se="abort",qr.add(st.complete),ge.done(st.success),ge.fail(st.error),M=Yo(So,st,C,ge),!M)$e(-1,"No Transport");else{if(ge.readyState=1,Ge&&Rr.trigger("ajaxSend",[ge,st]),Ne)return ge;st.async&&st.timeout>0&&(ve=t.setTimeout(function(){ge.abort("timeout")},st.timeout));try{Ne=!1,M.send(hi,$e)}catch(Je){if(Ne)throw Je;$e(-1,Je)}}function $e(Je,et,It,Gt){var yr,Vr,xr,Mn,ui,Vn=et;Ne||(Ne=!0,ve&&t.clearTimeout(ve),M=void 0,oe=Gt||"",ge.readyState=Je>0?4:0,yr=Je>=200&&Je<300||Je===304,It&&(Mn=ma(st,ge,It)),!yr&&_.inArray("script",st.dataTypes)>-1&&_.inArray("json",st.dataTypes)<0&&(st.converters["text script"]=function(){}),Mn=Vs(st,Mn,ge,yr),yr?(st.ifModified&&(ui=ge.getResponseHeader("Last-Modified"),ui&&(_.lastModified[X]=ui),ui=ge.getResponseHeader("etag"),ui&&(_.etag[X]=ui)),Je===204||st.type==="HEAD"?Vn="nocontent":Je===304?Vn="notmodified":(Vn=Mn.state,Vr=Mn.data,xr=Mn.error,yr=!xr)):(xr=Vn,(Je||!Vn)&&(Vn="error",Je<0&&(Je=0))),ge.status=Je,ge.statusText=(et||Vn)+"",yr?tn.resolveWith(Vt,[Vr,Vn,ge]):tn.rejectWith(Vt,[ge,Vn,xr]),ge.statusCode(ei),ei=void 0,Ge&&Rr.trigger(yr?"ajaxSuccess":"ajaxError",[ge,st,yr?Vr:xr]),qr.fireWith(Vt,[ge,Vn]),Ge&&(Rr.trigger("ajaxComplete",[ge,st]),--_.active||_.event.trigger("ajaxStop")))}return ge},getJSON:function(E,C,M){return _.get(E,C,M,"json")},getScript:function(E,C){return _.get(E,void 0,C,"script")}}),_.each(["get","post"],function(E,C){_[C]=function(M,X,oe,le){return y(X)&&(le=le||oe,oe=X,X=void 0),_.ajax(_.extend({url:M,type:C,dataType:le,data:X,success:oe},_.isPlainObject(M)&&M))}}),_.ajaxPrefilter(function(E){var C;for(C in E.headers)C.toLowerCase()==="content-type"&&(E.contentType=E.headers[C]||"")}),_._evalUrl=function(E,C,M){return _.ajax({url:E,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(X){_.globalEval(X,C,M)}})},_.fn.extend({wrapAll:function(E){var C;return this[0]&&(y(E)&&(E=E.call(this[0])),C=_(E,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&C.insertBefore(this[0]),C.map(function(){for(var M=this;M.firstElementChild;)M=M.firstElementChild;return M}).append(this)),this},wrapInner:function(E){return y(E)?this.each(function(C){_(this).wrapInner(E.call(this,C))}):this.each(function(){var C=_(this),M=C.contents();M.length?M.wrapAll(E):C.append(E)})},wrap:function(E){var C=y(E);return this.each(function(M){_(this).wrapAll(C?E.call(this,M):E)})},unwrap:function(E){return this.parent(E).not("body").each(function(){_(this).replaceWith(this.childNodes)}),this}}),_.expr.pseudos.hidden=function(E){return!_.expr.pseudos.visible(E)},_.expr.pseudos.visible=function(E){return!!(E.offsetWidth||E.offsetHeight||E.getClientRects().length)},_.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch{}};var Mu={0:200,1223:204},Li=_.ajaxSettings.xhr();m.cors=!!Li&&"withCredentials"in Li,m.ajax=Li=!!Li,_.ajaxTransport(function(E){var C,M;if(m.cors||Li&&!E.crossDomain)return{send:function(X,oe){var le,ve=E.xhr();if(ve.open(E.type,E.url,E.async,E.username,E.password),E.xhrFields)for(le in E.xhrFields)ve[le]=E.xhrFields[le];E.mimeType&&ve.overrideMimeType&&ve.overrideMimeType(E.mimeType),!E.crossDomain&&!X["X-Requested-With"]&&(X["X-Requested-With"]="XMLHttpRequest");for(le in X)ve.setRequestHeader(le,X[le]);C=function(Ue){return function(){C&&(C=M=ve.onload=ve.onerror=ve.onabort=ve.ontimeout=ve.onreadystatechange=null,Ue==="abort"?ve.abort():Ue==="error"?typeof ve.status!="number"?oe(0,"error"):oe(ve.status,ve.statusText):oe(Mu[ve.status]||ve.status,ve.statusText,(ve.responseType||"text")!=="text"||typeof ve.responseText!="string"?{binary:ve.response}:{text:ve.responseText},ve.getAllResponseHeaders()))}},ve.onload=C(),M=ve.onerror=ve.ontimeout=C("error"),ve.onabort!==void 0?ve.onabort=M:ve.onreadystatechange=function(){ve.readyState===4&&t.setTimeout(function(){C&&M()})},C=C("abort");try{ve.send(E.hasContent&&E.data||null)}catch(Ue){if(C)throw Ue}},abort:function(){C&&C()}}}),_.ajaxPrefilter(function(E){E.crossDomain&&(E.contents.script=!1)}),_.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(E){return _.globalEval(E),E}}}),_.ajaxPrefilter("script",function(E){E.cache===void 0&&(E.cache=!1),E.crossDomain&&(E.type="GET")}),_.ajaxTransport("script",function(E){if(E.crossDomain||E.scriptAttrs){var C,M;return{send:function(X,oe){C=_("<script>").attr(E.scriptAttrs||{}).prop({charset:E.scriptCharset,src:E.url}).on("load error",M=function(le){C.remove(),M=null,le&&oe(le.type==="error"?404:200,le.type)}),w.head.appendChild(C[0])},abort:function(){M&&M()}}}});var ya=[],Eo=/(=)\?(?=&|$)|\?\?/;_.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var E=ya.pop()||_.expando+"_"+lu.guid++;return this[E]=!0,E}}),_.ajaxPrefilter("json jsonp",function(E,C,M){var X,oe,le,ve=E.jsonp!==!1&&(Eo.test(E.url)?"url":typeof E.data=="string"&&(E.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&Eo.test(E.data)&&"data");if(ve||E.dataTypes[0]==="jsonp")return X=E.jsonpCallback=y(E.jsonpCallback)?E.jsonpCallback():E.jsonpCallback,ve?E[ve]=E[ve].replace(Eo,"$1"+X):E.jsonp!==!1&&(E.url+=(ys.test(E.url)?"&":"?")+E.jsonp+"="+X),E.converters["script json"]=function(){return le||_.error(X+" was not called"),le[0]},E.dataTypes[0]="json",oe=t[X],t[X]=function(){le=arguments},M.always(function(){oe===void 0?_(t).removeProp(X):t[X]=oe,E[X]&&(E.jsonpCallback=C.jsonpCallback,ya.push(X)),le&&y(oe)&&oe(le[0]),le=oe=void 0}),"script"}),m.createHTMLDocument=(function(){var E=w.implementation.createHTMLDocument("").body;return E.innerHTML="<form></form><form></form>",E.childNodes.length===2})(),_.parseHTML=function(E,C,M){if(typeof E!="string")return[];typeof C=="boolean"&&(M=C,C=!1);var X,oe,le;return C||(m.createHTMLDocument?(C=w.implementation.createHTMLDocument(""),X=C.createElement("base"),X.href=w.location.href,C.head.appendChild(X)):C=w),oe=te.exec(E),le=!M&&[],oe?[C.createElement(oe[1])]:(oe=di([E],C,le),le&&le.length&&_(le).remove(),_.merge([],oe.childNodes))},_.fn.load=function(E,C,M){var X,oe,le,ve=this,Ue=E.indexOf(" ");return Ue>-1&&(X=Ar(E.slice(Ue)),E=E.slice(0,Ue)),y(C)?(M=C,C=void 0):C&&typeof C=="object"&&(oe="POST"),ve.length>0&&_.ajax({url:E,type:oe||"GET",dataType:"html",data:C}).done(function(Ne){le=arguments,ve.html(X?_("<div>").append(_.parseHTML(Ne)).find(X):Ne)}).always(M&&function(Ne,Ge){ve.each(function(){M.apply(this,le||[Ne.responseText,Ge,Ne])})}),this},_.expr.pseudos.animated=function(E){return _.grep(_.timers,function(C){return E===C.elem}).length},_.offset={setOffset:function(E,C,M){var X,oe,le,ve,Ue,Ne,Ge,wt=_.css(E,"position"),Ct=_(E),st={};wt==="static"&&(E.style.position="relative"),Ue=Ct.offset(),le=_.css(E,"top"),Ne=_.css(E,"left"),Ge=(wt==="absolute"||wt==="fixed")&&(le+Ne).indexOf("auto")>-1,Ge?(X=Ct.position(),ve=X.top,oe=X.left):(ve=parseFloat(le)||0,oe=parseFloat(Ne)||0),y(C)&&(C=C.call(E,M,_.extend({},Ue))),C.top!=null&&(st.top=C.top-Ue.top+ve),C.left!=null&&(st.left=C.left-Ue.left+oe),"using"in C?C.using.call(E,st):Ct.css(st)}},_.fn.extend({offset:function(E){if(arguments.length)return E===void 0?this:this.each(function(oe){_.offset.setOffset(this,E,oe)});var C,M,X=this[0];if(X)return X.getClientRects().length?(C=X.getBoundingClientRect(),M=X.ownerDocument.defaultView,{top:C.top+M.pageYOffset,left:C.left+M.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var E,C,M,X=this[0],oe={top:0,left:0};if(_.css(X,"position")==="fixed")C=X.getBoundingClientRect();else{for(C=this.offset(),M=X.ownerDocument,E=X.offsetParent||M.documentElement;E&&(E===M.body||E===M.documentElement)&&_.css(E,"position")==="static";)E=E.parentNode;E&&E!==X&&E.nodeType===1&&(oe=_(E).offset(),oe.top+=_.css(E,"borderTopWidth",!0),oe.left+=_.css(E,"borderLeftWidth",!0))}return{top:C.top-oe.top-_.css(X,"marginTop",!0),left:C.left-oe.left-_.css(X,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var E=this.offsetParent;E&&_.css(E,"position")==="static";)E=E.offsetParent;return E||yt})}}),_.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(E,C){var M=C==="pageYOffset";_.fn[E]=function(X){return Oe(this,function(oe,le,ve){var Ue;if(S(oe)?Ue=oe:oe.nodeType===9&&(Ue=oe.defaultView),ve===void 0)return Ue?Ue[C]:oe[le];Ue?Ue.scrollTo(M?Ue.pageXOffset:ve,M?ve:Ue.pageYOffset):oe[le]=ve},E,X,arguments.length)}}),_.each(["top","left"],function(E,C){_.cssHooks[C]=nt(m.pixelPosition,function(M,X){if(X)return X=ct(M,C),pt.test(X)?_(M).position()[C]+"px":X})}),_.each({Height:"height",Width:"width"},function(E,C){_.each({padding:"inner"+E,content:C,"":"outer"+E},function(M,X){_.fn[X]=function(oe,le){var ve=arguments.length&&(M||typeof oe!="boolean"),Ue=M||(oe===!0||le===!0?"margin":"border");return Oe(this,function(Ne,Ge,wt){var Ct;return S(Ne)?X.indexOf("outer")===0?Ne["inner"+E]:Ne.document.documentElement["client"+E]:Ne.nodeType===9?(Ct=Ne.documentElement,Math.max(Ne.body["scroll"+E],Ct["scroll"+E],Ne.body["offset"+E],Ct["offset"+E],Ct["client"+E])):wt===void 0?_.css(Ne,Ge,Ue):_.style(Ne,Ge,wt,Ue)},C,ve?oe:void 0,ve)}})}),_.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(E,C){_.fn[C]=function(M){return this.on(C,M)}}),_.fn.extend({bind:function(E,C,M){return this.on(E,null,C,M)},unbind:function(E,C){return this.off(E,null,C)},delegate:function(E,C,M,X){return this.on(C,E,M,X)},undelegate:function(E,C,M){return arguments.length===1?this.off(E,"**"):this.off(C,E||"**",M)},hover:function(E,C){return this.on("mouseenter",E).on("mouseleave",C||E)}}),_.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(E,C){_.fn[C]=function(M,X){return arguments.length>0?this.on(C,null,M,X):this.trigger(C)}});var Xo=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;_.proxy=function(E,C){var M,X,oe;if(typeof C=="string"&&(M=E[C],C=E,E=M),!!y(E))return X=a.call(arguments,2),oe=function(){return E.apply(C||this,X.concat(a.call(arguments)))},oe.guid=E.guid=E.guid||_.guid++,oe},_.holdReady=function(E){E?_.readyWait++:_.ready(!0)},_.isArray=Array.isArray,_.parseJSON=JSON.parse,_.nodeName=N,_.isFunction=y,_.isWindow=S,_.camelCase=_e,_.type=R,_.now=Date.now,_.isNumeric=function(E){var C=_.type(E);return(C==="number"||C==="string")&&!isNaN(E-parseFloat(E))},_.trim=function(E){return E==null?"":(E+"").replace(Xo,"$1")};var wo=t.jQuery,bo=t.$;return _.noConflict=function(E){return t.$===_&&(t.$=bo),E&&t.jQuery===_&&(t.jQuery=wo),_},typeof r>"u"&&(t.jQuery=t.$=_),_})})(Im)),Im.exports}var kW;function Jre(){return kW||(kW=1,(function(e){(function(t){var r=typeof self=="object"&&self.self===self&&self||typeof globalThis=="object"&&globalThis.global===globalThis&&globalThis;{var n=Xre(),i;try{i=Qre()}catch{}t(r,e,n,i)}})(function(t,r,n,i){var a=t.Backbone,o=Array.prototype.slice;r.VERSION="1.3.3",r.$=i,r.noConflict=function(){return t.Backbone=a,this},r.emulateHTTP=!1,r.emulateJSON=!1;var u=function(z,k,q){switch(z){case 1:return function(){return n[k](this[q])};case 2:return function(H){return n[k](this[q],H)};case 3:return function(H,ie){return n[k](this[q],c(H,this),ie)};case 4:return function(H,ie,V){return n[k](this[q],c(H,this),ie,V)};default:return function(){var H=o.call(arguments);return H.unshift(this[q]),n[k].apply(n,H)}}},s=function(z,k,q){n.each(k,function(H,ie){n[ie]&&(z.prototype[ie]=u(H,ie,q))})},c=function(z,k){return n.isFunction(z)?z:n.isObject(z)&&!k._isModel(z)?d(z):n.isString(z)?function(q){return q.get(z)}:z},d=function(z){var k=n.matches(z);return function(q){return k(q.attributes)}},h=r.Events={},v=/\s+/,g=function(z,k,q,H,ie){var V=0,Z;if(q&&typeof q=="object")for(H!==void 0&&("context"in ie)&&ie.context===void 0&&(ie.context=H),Z=n.keys(q);V<Z.length;V++)k=g(z,k,Z[V],q[Z[V]],ie);else if(q&&v.test(q))for(Z=q.split(v);V<Z.length;V++)k=z(k,Z[V],H,ie);else k=z(k,q,H,ie);return k};h.on=function(z,k,q){return m(this,z,k,q)};var m=function(z,k,q,H,ie){if(z._events=g(y,z._events||{},k,q,{context:H,ctx:z,listening:ie}),ie){var V=z._listeners||(z._listeners={});V[ie.id]=ie}return z};h.listenTo=function(z,k,q){if(!z)return this;var H=z._listenId||(z._listenId=n.uniqueId("l")),ie=this._listeningTo||(this._listeningTo={}),V=ie[H];if(!V){var Z=this._listenId||(this._listenId=n.uniqueId("l"));V=ie[H]={obj:z,objId:H,id:Z,listeningTo:ie,count:0}}return m(z,k,q,this,V),this};var y=function(z,k,q,H){if(q){var ie=z[k]||(z[k]=[]),V=H.context,Z=H.ctx,me=H.listening;me&&me.count++,ie.push({callback:q,context:V,ctx:V||Z,listening:me})}return z};h.off=function(z,k,q){return this._events?(this._events=g(S,this._events,z,k,{context:q,listeners:this._listeners}),this):this},h.stopListening=function(z,k,q){var H=this._listeningTo;if(!H)return this;for(var ie=z?[z._listenId]:n.keys(H),V=0;V<ie.length;V++){var Z=H[ie[V]];if(!Z)break;Z.obj.off(k,q,this)}return this};var S=function(z,k,q,H){if(z){var ie=0,V,Z=H.context,me=H.listeners;if(!k&&!q&&!Z){for(var fe=n.keys(me);ie<fe.length;ie++)V=me[fe[ie]],delete me[V.id],delete V.listeningTo[V.objId];return}for(var Re=k?[k]:n.keys(z);ie<Re.length;ie++){k=Re[ie];var Se=z[k];if(!Se)break;for(var Oe=[],Me=0;Me<Se.length;Me++){var de=Se[Me];q&&q!==de.callback&&q!==de.callback._callback||Z&&Z!==de.context?Oe.push(de):(V=de.listening,V&&--V.count===0&&(delete me[V.id],delete V.listeningTo[V.objId]))}Oe.length?z[k]=Oe:delete z[k]}return z}};h.once=function(z,k,q){var H=g(w,{},z,k,n.bind(this.off,this));return typeof z=="string"&&q==null&&(k=void 0),this.on(H,k,q)},h.listenToOnce=function(z,k,q){var H=g(w,{},k,q,n.bind(this.stopListening,this,z));return this.listenTo(z,H)};var w=function(z,k,q,H){if(q){var ie=z[k]=n.once(function(){H(k,ie),q.apply(this,arguments)});ie._callback=q}return z};h.trigger=function(z){if(!this._events)return this;for(var k=Math.max(0,arguments.length-1),q=Array(k),H=0;H<k;H++)q[H]=arguments[H+1];return g(b,this._events,z,void 0,q),this};var b=function(z,k,q,H){if(z){var ie=z[k],V=z.all;ie&&V&&(V=V.slice()),ie&&A(ie,H),V&&A(V,[k].concat(H))}return z},A=function(z,k){var q,H=-1,ie=z.length,V=k[0],Z=k[1],me=k[2];switch(k.length){case 0:for(;++H<ie;)(q=z[H]).callback.call(q.ctx);return;case 1:for(;++H<ie;)(q=z[H]).callback.call(q.ctx,V);return;case 2:for(;++H<ie;)(q=z[H]).callback.call(q.ctx,V,Z);return;case 3:for(;++H<ie;)(q=z[H]).callback.call(q.ctx,V,Z,me);return;default:for(;++H<ie;)(q=z[H]).callback.apply(q.ctx,k);return}};h.bind=h.on,h.unbind=h.off,n.extend(r,h);var R=r.Model=function(z,k){var q=z||{};k||(k={}),this.cid=n.uniqueId(this.cidPrefix),this.attributes={},k.collection&&(this.collection=k.collection),k.parse&&(q=this.parse(q,k)||{});var H=n.result(this,"defaults");q=n.defaults(n.extend({},H,q),H),this.set(q,k),this.changed={},this.initialize.apply(this,arguments)};n.extend(R.prototype,h,{changed:null,validationError:null,idAttribute:"id",cidPrefix:"c",initialize:function(){},toJSON:function(z){return n.clone(this.attributes)},sync:function(){return r.sync.apply(this,arguments)},get:function(z){return this.attributes[z]},escape:function(z){return n.escape(this.get(z))},has:function(z){return this.get(z)!=null},matches:function(z){return!!n.iteratee(z,this)(this.attributes)},set:function(z,k,q){if(z==null)return this;var H;if(typeof z=="object"?(H=z,q=k):(H={})[z]=k,q||(q={}),!this._validate(H,q))return!1;var ie=q.unset,V=q.silent,Z=[],me=this._changing;this._changing=!0,me||(this._previousAttributes=n.clone(this.attributes),this.changed={});var fe=this.attributes,Re=this.changed,Se=this._previousAttributes;for(var Oe in H)k=H[Oe],n.isEqual(fe[Oe],k)||Z.push(Oe),n.isEqual(Se[Oe],k)?delete Re[Oe]:Re[Oe]=k,ie?delete fe[Oe]:fe[Oe]=k;if(this.idAttribute in H&&(this.id=this.get(this.idAttribute)),!V){Z.length&&(this._pending=q);for(var Me=0;Me<Z.length;Me++)this.trigger("change:"+Z[Me],this,fe[Z[Me]],q)}if(me)return this;if(!V)for(;this._pending;)q=this._pending,this._pending=!1,this.trigger("change",this,q);return this._pending=!1,this._changing=!1,this},unset:function(z,k){return this.set(z,void 0,n.extend({},k,{unset:!0}))},clear:function(z){var k={};for(var q in this.attributes)k[q]=void 0;return this.set(k,n.extend({},z,{unset:!0}))},hasChanged:function(z){return z==null?!n.isEmpty(this.changed):n.has(this.changed,z)},changedAttributes:function(z){if(!z)return this.hasChanged()?n.clone(this.changed):!1;var k=this._changing?this._previousAttributes:this.attributes,q={};for(var H in z){var ie=z[H];n.isEqual(k[H],ie)||(q[H]=ie)}return n.size(q)?q:!1},previous:function(z){return z==null||!this._previousAttributes?null:this._previousAttributes[z]},previousAttributes:function(){return n.clone(this._previousAttributes)},fetch:function(z){z=n.extend({parse:!0},z);var k=this,q=z.success;return z.success=function(H){var ie=z.parse?k.parse(H,z):H;if(!k.set(ie,z))return!1;q&&q.call(z.context,k,H,z),k.trigger("sync",k,H,z)},je(this,z),this.sync("read",this,z)},save:function(z,k,q){var H;z==null||typeof z=="object"?(H=z,q=k):(H={})[z]=k,q=n.extend({validate:!0,parse:!0},q);var ie=q.wait;if(H&&!ie){if(!this.set(H,q))return!1}else if(!this._validate(H,q))return!1;var V=this,Z=q.success,me=this.attributes;q.success=function(Se){V.attributes=me;var Oe=q.parse?V.parse(Se,q):Se;if(ie&&(Oe=n.extend({},H,Oe)),Oe&&!V.set(Oe,q))return!1;Z&&Z.call(q.context,V,Se,q),V.trigger("sync",V,Se,q)},je(this,q),H&&ie&&(this.attributes=n.extend({},me,H));var fe=this.isNew()?"create":q.patch?"patch":"update";fe==="patch"&&!q.attrs&&(q.attrs=H);var Re=this.sync(fe,this,q);return this.attributes=me,Re},destroy:function(z){z=z?n.clone(z):{};var k=this,q=z.success,H=z.wait,ie=function(){k.stopListening(),k.trigger("destroy",k,k.collection,z)};z.success=function(Z){H&&ie(),q&&q.call(z.context,k,Z,z),k.isNew()||k.trigger("sync",k,Z,z)};var V=!1;return this.isNew()?n.defer(z.success):(je(this,z),V=this.sync("delete",this,z)),H||ie(),V},url:function(){var z=n.result(this,"urlRoot")||n.result(this.collection,"url")||Ie();if(this.isNew())return z;var k=this.get(this.idAttribute);return z.replace(/[^\/]$/,"$&/")+encodeURIComponent(k)},parse:function(z,k){return z},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(z){return this._validate({},n.extend({},z,{validate:!0}))},_validate:function(z,k){if(!k.validate||!this.validate)return!0;z=n.extend({},this.attributes,z);var q=this.validationError=this.validate(z,k)||null;return q?(this.trigger("invalid",this,q,n.extend(k,{validationError:q})),!1):!0}});var x={keys:1,values:1,pairs:1,invert:1,pick:0,omit:0,chain:1,isEmpty:1};s(R,x,"attributes");var O=r.Collection=function(z,k){k||(k={}),k.model&&(this.model=k.model),k.comparator!==void 0&&(this.comparator=k.comparator),this._reset(),this.initialize.apply(this,arguments),z&&this.reset(z,n.extend({silent:!0},k))},_={add:!0,remove:!0,merge:!0},P={add:!0,remove:!1},N=function(z,k,q){q=Math.min(Math.max(q,0),z.length);var H=Array(z.length-q),ie=k.length,V;for(V=0;V<H.length;V++)H[V]=z[V+q];for(V=0;V<ie;V++)z[V+q]=k[V];for(V=0;V<H.length;V++)z[V+ie+q]=H[V]};n.extend(O.prototype,h,{model:R,initialize:function(){},toJSON:function(z){return this.map(function(k){return k.toJSON(z)})},sync:function(){return r.sync.apply(this,arguments)},add:function(z,k){return this.set(z,n.extend({merge:!1},k,P))},remove:function(z,k){k=n.extend({},k);var q=!n.isArray(z);z=q?[z]:z.slice();var H=this._removeModels(z,k);return!k.silent&&H.length&&(k.changes={added:[],merged:[],removed:H},this.trigger("update",this,k)),q?H[0]:H},set:function(z,k){if(z!=null){k=n.extend({},_,k),k.parse&&!this._isModel(z)&&(z=this.parse(z,k)||[]);var q=!n.isArray(z);z=q?[z]:z.slice();var H=k.at;H!=null&&(H=+H),H>this.length&&(H=this.length),H<0&&(H+=this.length+1);var ie=[],V=[],Z=[],me=[],fe={},Re=k.add,Se=k.merge,Oe=k.remove,Me=!1,de=this.comparator&&H==null&&k.sort!==!1,Ee=n.isString(this.comparator)?this.comparator:null,_e,xe;for(xe=0;xe<z.length;xe++){_e=z[xe];var ke=this.get(_e);if(ke){if(Se&&_e!==ke){var Le=this._isModel(_e)?_e.attributes:_e;k.parse&&(Le=ke.parse(Le,k)),ke.set(Le,k),Z.push(ke),de&&!Me&&(Me=ke.hasChanged(Ee))}fe[ke.cid]||(fe[ke.cid]=!0,ie.push(ke)),z[xe]=ke}else Re&&(_e=z[xe]=this._prepareModel(_e,k),_e&&(V.push(_e),this._addReference(_e,k),fe[_e.cid]=!0,ie.push(_e)))}if(Oe){for(xe=0;xe<this.length;xe++)_e=this.models[xe],fe[_e.cid]||me.push(_e);me.length&&this._removeModels(me,k)}var He=!1,_t=!de&&Re&&Oe;if(ie.length&&_t?(He=this.length!==ie.length||n.some(this.models,function(jt,Lt){return jt!==ie[Lt]}),this.models.length=0,N(this.models,ie,0),this.length=this.models.length):V.length&&(de&&(Me=!0),N(this.models,V,H??this.length),this.length=this.models.length),Me&&this.sort({silent:!0}),!k.silent){for(xe=0;xe<V.length;xe++)H!=null&&(k.index=H+xe),_e=V[xe],_e.trigger("add",_e,this,k);(Me||He)&&this.trigger("sort",this,k),(V.length||me.length||Z.length)&&(k.changes={added:V,removed:me,merged:Z},this.trigger("update",this,k))}return q?z[0]:z}},reset:function(z,k){k=k?n.clone(k):{};for(var q=0;q<this.models.length;q++)this._removeReference(this.models[q],k);return k.previousModels=this.models,this._reset(),z=this.add(z,n.extend({silent:!0},k)),k.silent||this.trigger("reset",this,k),z},push:function(z,k){return this.add(z,n.extend({at:this.length},k))},pop:function(z){var k=this.at(this.length-1);return this.remove(k,z)},unshift:function(z,k){return this.add(z,n.extend({at:0},k))},shift:function(z){var k=this.at(0);return this.remove(k,z)},slice:function(){return o.apply(this.models,arguments)},get:function(z){if(z!=null)return this._byId[z]||this._byId[this.modelId(z.attributes||z)]||z.cid&&this._byId[z.cid]},has:function(z){return this.get(z)!=null},at:function(z){return z<0&&(z+=this.length),this.models[z]},where:function(z,k){return this[k?"find":"filter"](z)},findWhere:function(z){return this.where(z,!0)},sort:function(z){var k=this.comparator;if(!k)throw new Error("Cannot sort a set without a comparator");z||(z={});var q=k.length;return n.isFunction(k)&&(k=n.bind(k,this)),q===1||n.isString(k)?this.models=this.sortBy(k):this.models.sort(k),z.silent||this.trigger("sort",this,z),this},pluck:function(z){return this.map(z+"")},fetch:function(z){z=n.extend({parse:!0},z);var k=z.success,q=this;return z.success=function(H){var ie=z.reset?"reset":"set";q[ie](H,z),k&&k.call(z.context,q,H,z),q.trigger("sync",q,H,z)},je(this,z),this.sync("read",this,z)},create:function(z,k){k=k?n.clone(k):{};var q=k.wait;if(z=this._prepareModel(z,k),!z)return!1;q||this.add(z,k);var H=this,ie=k.success;return k.success=function(V,Z,me){q&&H.add(V,me),ie&&ie.call(me.context,V,Z,me)},z.save(null,k),z},parse:function(z,k){return z},clone:function(){return new this.constructor(this.models,{model:this.model,comparator:this.comparator})},modelId:function(z){return z[this.model.prototype.idAttribute||"id"]},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(z,k){if(this._isModel(z))return z.collection||(z.collection=this),z;k=k?n.clone(k):{},k.collection=this;var q=new this.model(z,k);return q.validationError?(this.trigger("invalid",this,q.validationError,k),!1):q},_removeModels:function(z,k){for(var q=[],H=0;H<z.length;H++){var ie=this.get(z[H]);if(ie){var V=this.indexOf(ie);this.models.splice(V,1),this.length--,delete this._byId[ie.cid];var Z=this.modelId(ie.attributes);Z!=null&&delete this._byId[Z],k.silent||(k.index=V,ie.trigger("remove",ie,this,k)),q.push(ie),this._removeReference(ie,k)}}return q},_isModel:function(z){return z instanceof R},_addReference:function(z,k){this._byId[z.cid]=z;var q=this.modelId(z.attributes);q!=null&&(this._byId[q]=z),z.on("all",this._onModelEvent,this)},_removeReference:function(z,k){delete this._byId[z.cid];var q=this.modelId(z.attributes);q!=null&&delete this._byId[q],this===z.collection&&delete z.collection,z.off("all",this._onModelEvent,this)},_onModelEvent:function(z,k,q,H){if(k){if((z==="add"||z==="remove")&&q!==this)return;if(z==="destroy"&&this.remove(k,H),z==="change"){var ie=this.modelId(k.previousAttributes()),V=this.modelId(k.attributes);ie!==V&&(ie!=null&&delete this._byId[ie],V!=null&&(this._byId[V]=k))}}this.trigger.apply(this,arguments)}});var U={forEach:3,each:3,map:3,collect:3,reduce:0,foldl:0,inject:0,reduceRight:0,foldr:0,find:3,detect:3,filter:3,select:3,reject:3,every:3,all:3,some:3,any:3,include:3,includes:3,contains:3,invoke:0,max:3,min:3,toArray:1,size:1,first:3,head:3,take:3,initial:3,rest:3,tail:3,drop:3,last:3,without:0,difference:0,indexOf:3,shuffle:1,lastIndexOf:3,isEmpty:1,chain:1,sample:3,partition:3,groupBy:3,countBy:3,sortBy:3,indexBy:3,findIndex:3,findLastIndex:3};s(O,U,"models");var $=r.View=function(z){this.cid=n.uniqueId("view"),n.extend(this,n.pick(z,Y)),this._ensureElement(),this.initialize.apply(this,arguments)},B=/^(\S+)\s*(.*)$/,Y=["model","collection","el","id","attributes","className","tagName","events"];n.extend($.prototype,h,{tagName:"div",$:function(z){return this.$el.find(z)},initialize:function(){},render:function(){return this},remove:function(){return this._removeElement(),this.stopListening(),this},_removeElement:function(){this.$el.remove()},setElement:function(z){return this.undelegateEvents(),this._setElement(z),this.delegateEvents(),this},_setElement:function(z){this.$el=z instanceof r.$?z:r.$(z),this.el=this.$el[0]},delegateEvents:function(z){if(z||(z=n.result(this,"events")),!z)return this;this.undelegateEvents();for(var k in z){var q=z[k];if(n.isFunction(q)||(q=this[q]),!!q){var H=k.match(B);this.delegate(H[1],H[2],n.bind(q,this))}}return this},delegate:function(z,k,q){return this.$el.on(z+".delegateEvents"+this.cid,k,q),this},undelegateEvents:function(){return this.$el&&this.$el.off(".delegateEvents"+this.cid),this},undelegate:function(z,k,q){return this.$el.off(z+".delegateEvents"+this.cid,k,q),this},_createElement:function(z){return document.createElement(z)},_ensureElement:function(){if(this.el)this.setElement(n.result(this,"el"));else{var z=n.extend({},n.result(this,"attributes"));this.id&&(z.id=n.result(this,"id")),this.className&&(z.class=n.result(this,"className")),this.setElement(this._createElement(n.result(this,"tagName"))),this._setAttributes(z)}},_setAttributes:function(z){this.$el.attr(z)}}),r.sync=function(z,k,q){var H=Q[z];n.defaults(q||(q={}),{emulateHTTP:r.emulateHTTP,emulateJSON:r.emulateJSON});var ie={type:H,dataType:"json"};if(q.url||(ie.url=n.result(k,"url")||Ie()),q.data==null&&k&&(z==="create"||z==="update"||z==="patch")&&(ie.contentType="application/json",ie.data=JSON.stringify(q.attrs||k.toJSON(q))),q.emulateJSON&&(ie.contentType="application/x-www-form-urlencoded",ie.data=ie.data?{model:ie.data}:{}),q.emulateHTTP&&(H==="PUT"||H==="DELETE"||H==="PATCH")){ie.type="POST",q.emulateJSON&&(ie.data._method=H);var V=q.beforeSend;q.beforeSend=function(fe){if(fe.setRequestHeader("X-HTTP-Method-Override",H),V)return V.apply(this,arguments)}}ie.type!=="GET"&&!q.emulateJSON&&(ie.processData=!1);var Z=q.error;q.error=function(fe,Re,Se){q.textStatus=Re,q.errorThrown=Se,Z&&Z.call(q.context,fe,Re,Se)};var me=q.xhr=r.ajax(n.extend(ie,q));return k.trigger("request",k,me,q),me};var Q={create:"POST",update:"PUT",patch:"PATCH",delete:"DELETE",read:"GET"};r.ajax=function(){return r.$.ajax.apply(r.$,arguments)};var K=r.Router=function(z){z||(z={}),z.routes&&(this.routes=z.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},ee=/\((.*?)\)/g,ne=/(\(\?)?:\w+/g,D=/\*\w+/g,I=/[\-{}\[\]+?.,\\\^$|#\s]/g;n.extend(K.prototype,h,{initialize:function(){},route:function(z,k,q){n.isRegExp(z)||(z=this._routeToRegExp(z)),n.isFunction(k)&&(q=k,k=""),q||(q=this[k]);var H=this;return r.history.route(z,function(ie){var V=H._extractParameters(z,ie);H.execute(q,V,k)!==!1&&(H.trigger.apply(H,["route:"+k].concat(V)),H.trigger("route",k,V),r.history.trigger("route",H,k,V))}),this},execute:function(z,k,q){z&&z.apply(this,k)},navigate:function(z,k){return r.history.navigate(z,k),this},_bindRoutes:function(){if(this.routes){this.routes=n.result(this,"routes");for(var z,k=n.keys(this.routes);(z=k.pop())!=null;)this.route(z,this.routes[z])}},_routeToRegExp:function(z){return z=z.replace(I,"\\$&").replace(ee,"(?:$1)?").replace(ne,function(k,q){return q?k:"([^/?]+)"}).replace(D,"([^?]*?)"),new RegExp("^"+z+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(z,k){var q=z.exec(k).slice(1);return n.map(q,function(H,ie){return ie===q.length-1?H||null:H?decodeURIComponent(H):null})}});var L=r.History=function(){this.handlers=[],this.checkUrl=n.bind(this.checkUrl,this),typeof window<"u"&&(this.location=window.location,this.history=window.history)},re=/^[#\/]|\s+$/g,te=/^\/+|\/+$/g,ce=/#.*$/;L.started=!1,n.extend(L.prototype,h,{interval:50,atRoot:function(){var z=this.location.pathname.replace(/[^\/]$/,"$&/");return z===this.root&&!this.getSearch()},matchRoot:function(){var z=this.decodeFragment(this.location.pathname),k=z.slice(0,this.root.length-1)+"/";return k===this.root},decodeFragment:function(z){return decodeURI(z.replace(/%25/g,"%2525"))},getSearch:function(){var z=this.location.href.replace(/#.*/,"").match(/\?.+/);return z?z[0]:""},getHash:function(z){var k=(z||this).location.href.match(/#(.*)$/);return k?k[1]:""},getPath:function(){var z=this.decodeFragment(this.location.pathname+this.getSearch()).slice(this.root.length-1);return z.charAt(0)==="/"?z.slice(1):z},getFragment:function(z){return z==null&&(this._usePushState||!this._wantsHashChange?z=this.getPath():z=this.getHash()),z.replace(re,"")},start:function(z){if(L.started)throw new Error("Backbone.history has already been started");if(L.started=!0,this.options=n.extend({root:"/"},this.options,z),this.root=this.options.root,this._wantsHashChange=this.options.hashChange!==!1,this._hasHashChange="onhashchange"in window&&(document.documentMode===void 0||document.documentMode>7),this._useHashChange=this._wantsHashChange&&this._hasHashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!!(this.history&&this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=("/"+this.root+"/").replace(te,"/"),this._wantsHashChange&&this._wantsPushState)if(!this._hasPushState&&!this.atRoot()){var k=this.root.slice(0,-1)||"/";return this.location.replace(k+"#"+this.getPath()),!0}else this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0});if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1;var q=document.body,H=q.insertBefore(this.iframe,q.firstChild).contentWindow;H.document.open(),H.document.close(),H.location.hash="#"+this.fragment}var ie=window.addEventListener||function(V,Z){return attachEvent("on"+V,Z)};if(this._usePushState?ie("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?ie("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var z=window.removeEventListener||function(k,q){return detachEvent("on"+k,q)};this._usePushState?z("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&z("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),L.started=!1},route:function(z,k){this.handlers.unshift({route:z,callback:k})},checkUrl:function(z){var k=this.getFragment();if(k===this.fragment&&this.iframe&&(k=this.getHash(this.iframe.contentWindow)),k===this.fragment)return!1;this.iframe&&this.navigate(k),this.loadUrl()},loadUrl:function(z){return this.matchRoot()?(z=this.fragment=this.getFragment(z),n.some(this.handlers,function(k){if(k.route.test(z))return k.callback(z),!0})):!1},navigate:function(z,k){if(!L.started)return!1;(!k||k===!0)&&(k={trigger:!!k}),z=this.getFragment(z||"");var q=this.root;(z===""||z.charAt(0)==="?")&&(q=q.slice(0,-1)||"/");var H=q+z;if(z=this.decodeFragment(z.replace(ce,"")),this.fragment!==z){if(this.fragment=z,this._usePushState)this.history[k.replace?"replaceState":"pushState"]({},document.title,H);else if(this._wantsHashChange){if(this._updateHash(this.location,z,k.replace),this.iframe&&z!==this.getHash(this.iframe.contentWindow)){var ie=this.iframe.contentWindow;k.replace||(ie.document.open(),ie.document.close()),this._updateHash(ie.location,z,k.replace)}}else return this.location.assign(H);if(k.trigger)return this.loadUrl(z)}},_updateHash:function(z,k,q){if(q){var H=z.href.replace(/(javascript:|#).*$/,"");z.replace(H+"#"+k)}else z.hash="#"+k}}),r.history=new L;var be=function(z,k){var q=this,H;return z&&n.has(z,"constructor")?H=z.constructor:H=function(){return q.apply(this,arguments)},n.extend(H,q,k),H.prototype=n.create(q.prototype,z),H.prototype.constructor=H,H.__super__=q.prototype,H};R.extend=O.extend=K.extend=$.extend=L.extend=be;var Ie=function(){throw new Error('A "url" property or function must be specified')},je=function(z,k){var q=k.error;k.error=function(H){q&&q.call(k.context,z,H,k),z.trigger("error",z,H,k)}};return r})})(aR)),aR}var iSe=Am.exports,NW;function aSe(){return NW||(NW=1,(function(e,t){(function(r,n){e.exports=n(Xre(),Jre())})(iSe,function(r,n){r="default"in r?r.default:r,n="default"in n?n.default:n;var i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(S){return typeof S}:function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol?"symbol":typeof S},a=n.Radio,o=n.Radio={};o.VERSION="2.0.0",o.noConflict=function(){return n.Radio=a,this},o.DEBUG=!1,o._debugText=function(S,w,b){return S+(b?" on the "+b+" channel":"")+': "'+w+'"'},o.debugLog=function(S,w,b){o.DEBUG&&console&&console.warn&&console.warn(o._debugText(S,w,b))};var u=/\s+/;o._eventsApi=function(S,w,b,A){if(!b)return!1;var R={};if((typeof b>"u"?"undefined":i(b))==="object"){for(var x in b){var O=S[w].apply(S,[x,b[x]].concat(A));u.test(x)?r.extend(R,O):R[x]=O}return R}if(u.test(b)){for(var _=b.split(u),P=0,N=_.length;P<N;P++)R[_[P]]=S[w].apply(S,[_[P]].concat(A));return R}return!1},o._callHandler=function(S,w,b){var A=b[0],R=b[1],x=b[2];switch(b.length){case 0:return S.call(w);case 1:return S.call(w,A);case 2:return S.call(w,A,R);case 3:return S.call(w,A,R,x);default:return S.apply(w,b)}};function s(S,w,b,A){var R=S[w];if((!b||b===R.callback||b===R.callback._callback)&&(!A||A===R.context))return delete S[w],!0}function c(S,w,b,A){S||(S={});for(var R=w?[w]:r.keys(S),x=!1,O=0,_=R.length;O<_;O++)w=R[O],S[w]&&s(S,w,b,A)&&(x=!0);return x}var d={};function h(S){return d[S]||(d[S]=r.bind(o.log,o,S))}r.extend(o,{log:function(w,b){if(!(typeof console>"u")){var A=r.toArray(arguments).slice(2);console.log("["+w+'] "'+b+'"',A)}},tuneIn:function(w){var b=o.channel(w);return b._tunedIn=!0,b.on("all",h(w)),this},tuneOut:function(w){var b=o.channel(w);return b._tunedIn=!1,b.off("all",h(w)),delete d[w],this}});function v(S){return r.isFunction(S)?S:function(){return S}}o.Requests={request:function(w){var b=r.toArray(arguments).slice(1),A=o._eventsApi(this,"request",w,b);if(A)return A;var R=this.channelName,x=this._requests;if(R&&this._tunedIn&&o.log.apply(this,[R,w].concat(b)),x&&(x[w]||x.default)){var O=x[w]||x.default;return b=x[w]?b:arguments,o._callHandler(O.callback,O.context,b)}else o.debugLog("An unhandled request was fired",w,R)},reply:function(w,b,A){return o._eventsApi(this,"reply",w,[b,A])?this:(this._requests||(this._requests={}),this._requests[w]&&o.debugLog("A request was overwritten",w,this.channelName),this._requests[w]={callback:v(b),context:A||this},this)},replyOnce:function(w,b,A){if(o._eventsApi(this,"replyOnce",w,[b,A]))return this;var R=this,x=r.once(function(){return R.stopReplying(w),v(b).apply(this,arguments)});return this.reply(w,x,A)},stopReplying:function(w,b,A){return o._eventsApi(this,"stopReplying",w)?this:(!w&&!b&&!A?delete this._requests:c(this._requests,w,b,A)||o.debugLog("Attempted to remove the unregistered request",w,this.channelName),this)}},o._channels={},o.channel=function(S){if(!S)throw new Error("You must provide a name for the channel.");return o._channels[S]?o._channels[S]:o._channels[S]=new o.Channel(S)},o.Channel=function(S){this.channelName=S},r.extend(o.Channel.prototype,n.Events,o.Requests,{reset:function(){return this.off(),this.stopListening(),this.stopReplying(),this}});var g,m,y=[n.Events,o.Requests];return r.each(y,function(S){r.each(S,function(w,b){o[b]=function(A){return m=r.toArray(arguments).slice(1),g=this.channel(A),g[b].apply(g,m)}})}),o.reset=function(S){var w=S?[this._channels[S]]:this._channels;r.each(w,function(b){b.reset()})},o})})(Am)),Am.exports}var oSe=aSe();const LW=jn(oSe);var $r=Jre();const oa=jn($r);var Zre="1.13.7",MW=typeof self=="object"&&self.self===self&&self||typeof globalThis=="object"&&globalThis.global===globalThis&&globalThis||Function("return this")()||{},P_=Array.prototype,xD=Object.prototype,$W=typeof Symbol<"u"?Symbol.prototype:null,sSe=P_.push,kp=P_.slice,Wv=xD.toString,uSe=xD.hasOwnProperty,ene=typeof ArrayBuffer<"u",lSe=typeof DataView<"u",cSe=Array.isArray,FW=Object.keys,jW=Object.create,UW=ene&&ArrayBuffer.isView,fSe=isNaN,dSe=isFinite,tne=!{toString:null}.propertyIsEnumerable("toString"),qW=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],hSe=Math.pow(2,53)-1;function jo(e,t){return t=t==null?e.length-1:+t,function(){for(var r=Math.max(arguments.length-t,0),n=Array(r),i=0;i<r;i++)n[i]=arguments[i+t];switch(t){case 0:return e.call(this,n);case 1:return e.call(this,arguments[0],n);case 2:return e.call(this,arguments[0],arguments[1],n)}var a=Array(t+1);for(i=0;i<t;i++)a[i]=arguments[i];return a[t]=n,e.apply(this,a)}}function Ms(e){var t=typeof e;return t==="function"||t==="object"&&!!e}function vSe(e){return e===null}function iy(e){return e===void 0}function rne(e){return e===!0||e===!1||Wv.call(e)==="[object Boolean]"}function pSe(e){return!!(e&&e.nodeType===1)}function ro(e){var t="[object "+e+"]";return function(r){return Wv.call(r)===t}}var CD=ro("String"),Ld=ro("Number"),gSe=ro("Date"),mSe=ro("RegExp"),ySe=ro("Error"),nne=ro("Symbol"),ine=ro("ArrayBuffer"),ane=ro("Function"),_Se=MW.document&&MW.document.childNodes;typeof/./!="function"&&typeof Int8Array!="object"&&typeof _Se!="function"&&(ane=function(e){return typeof e=="function"||!1});var on=ane,one=ro("Object"),sne=lSe&&(!/\[native code\]/.test(String(DataView))||one(new DataView(new ArrayBuffer(8)))),AD=typeof Map<"u"&&one(new Map),SSe=ro("DataView");function ESe(e){return e!=null&&on(e.getInt8)&&ine(e.buffer)}var ay=sne?ESe:SSe,fc=cSe||ro("Array");function dc(e,t){return e!=null&&uSe.call(e,t)}var _I=ro("Arguments");(function(){_I(arguments)||(_I=function(e){return dc(e,"callee")})})();var OD=_I;function wSe(e){return!nne(e)&&dSe(e)&&!isNaN(parseFloat(e))}function une(e){return Ld(e)&&fSe(e)}function lne(e){return function(){return e}}function cne(e){return function(t){var r=e(t);return typeof r=="number"&&r>=0&&r<=hSe}}function fne(e){return function(t){return t==null?void 0:t[e]}}var oy=fne("byteLength"),bSe=cne(oy),TSe=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function RSe(e){return UW?UW(e)&&!ay(e):bSe(e)&&TSe.test(Wv.call(e))}var dne=ene?RSe:lne(!1),Uo=fne("length");function xSe(e){for(var t={},r=e.length,n=0;n<r;++n)t[e[n]]=!0;return{contains:function(i){return t[i]===!0},push:function(i){return t[i]=!0,e.push(i)}}}function hne(e,t){t=xSe(t);var r=qW.length,n=e.constructor,i=on(n)&&n.prototype||xD,a="constructor";for(dc(e,a)&&!t.contains(a)&&t.push(a);r--;)a=qW[r],a in e&&e[a]!==i[a]&&!t.contains(a)&&t.push(a)}function sa(e){if(!Ms(e))return[];if(FW)return FW(e);var t=[];for(var r in e)dc(e,r)&&t.push(r);return tne&&hne(e,t),t}function Gv(e){if(e==null)return!0;var t=Uo(e);return typeof t=="number"&&(fc(e)||CD(e)||OD(e))?t===0:Uo(sa(e))===0}function vne(e,t){var r=sa(t),n=r.length;if(e==null)return!n;for(var i=Object(e),a=0;a<n;a++){var o=r[a];if(t[o]!==i[o]||!(o in i))return!1}return!0}function Wn(e){if(e instanceof Wn)return e;if(!(this instanceof Wn))return new Wn(e);this._wrapped=e}Wn.VERSION=Zre;Wn.prototype.value=function(){return this._wrapped};Wn.prototype.valueOf=Wn.prototype.toJSON=Wn.prototype.value;Wn.prototype.toString=function(){return String(this._wrapped)};function VW(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,oy(e))}var BW="[object DataView]";function SI(e,t,r,n){if(e===t)return e!==0||1/e===1/t;if(e==null||t==null)return!1;if(e!==e)return t!==t;var i=typeof e;return i!=="function"&&i!=="object"&&typeof t!="object"?!1:pne(e,t,r,n)}function pne(e,t,r,n){e instanceof Wn&&(e=e._wrapped),t instanceof Wn&&(t=t._wrapped);var i=Wv.call(e);if(i!==Wv.call(t))return!1;if(sne&&i=="[object Object]"&&ay(e)){if(!ay(t))return!1;i=BW}switch(i){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:+e==0?1/+e===1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return $W.valueOf.call(e)===$W.valueOf.call(t);case"[object ArrayBuffer]":case BW:return pne(VW(e),VW(t),r,n)}var a=i==="[object Array]";if(!a&&dne(e)){var o=oy(e);if(o!==oy(t))return!1;if(e.buffer===t.buffer&&e.byteOffset===t.byteOffset)return!0;a=!0}if(!a){if(typeof e!="object"||typeof t!="object")return!1;var u=e.constructor,s=t.constructor;if(u!==s&&!(on(u)&&u instanceof u&&on(s)&&s instanceof s)&&"constructor"in e&&"constructor"in t)return!1}r=r||[],n=n||[];for(var c=r.length;c--;)if(r[c]===e)return n[c]===t;if(r.push(e),n.push(t),a){if(c=e.length,c!==t.length)return!1;for(;c--;)if(!SI(e[c],t[c],r,n))return!1}else{var d=sa(e),h;if(c=d.length,sa(t).length!==c)return!1;for(;c--;)if(h=d[c],!(dc(t,h)&&SI(e[h],t[h],r,n)))return!1}return r.pop(),n.pop(),!0}function gne(e,t){return SI(e,t)}function Np(e){if(!Ms(e))return[];var t=[];for(var r in e)t.push(r);return tne&&hne(e,t),t}function ID(e){var t=Uo(e);return function(r){if(r==null)return!1;var n=Np(r);if(Uo(n))return!1;for(var i=0;i<t;i++)if(!on(r[e[i]]))return!1;return e!==_ne||!on(r[PD])}}var PD="forEach",mne="has",DD=["clear","delete"],yne=["get",mne,"set"],CSe=DD.concat(PD,yne),_ne=DD.concat(yne),ASe=["add"].concat(DD,PD,mne),OSe=AD?ID(CSe):ro("Map"),ISe=AD?ID(_ne):ro("WeakMap"),PSe=AD?ID(ASe):ro("Set"),DSe=ro("WeakSet");function hc(e){for(var t=sa(e),r=t.length,n=Array(r),i=0;i<r;i++)n[i]=e[t[i]];return n}function kSe(e){for(var t=sa(e),r=t.length,n=Array(r),i=0;i<r;i++)n[i]=[t[i],e[t[i]]];return n}function Sne(e){for(var t={},r=sa(e),n=0,i=r.length;n<i;n++)t[e[r[n]]]=r[n];return t}function EI(e){var t=[];for(var r in e)on(e[r])&&t.push(r);return t.sort()}function kD(e,t){return function(r){var n=arguments.length;if(t&&(r=Object(r)),n<2||r==null)return r;for(var i=1;i<n;i++)for(var a=arguments[i],o=e(a),u=o.length,s=0;s<u;s++){var c=o[s];(!t||r[c]===void 0)&&(r[c]=a[c])}return r}}var ko=kD(Np),sy=kD(sa),Ene=kD(Np,!0);function NSe(){return function(){}}function wne(e){if(!Ms(e))return{};if(jW)return jW(e);var t=NSe();t.prototype=e;var r=new t;return t.prototype=null,r}function LSe(e,t){var r=wne(e);return t&&sy(r,t),r}function bne(e){return Ms(e)?fc(e)?e.slice():ko({},e):e}function MSe(e,t){return t(e),e}function Tne(e){return fc(e)?e:[e]}Wn.toPath=Tne;function Lp(e){return Wn.toPath(e)}function ND(e,t){for(var r=t.length,n=0;n<r;n++){if(e==null)return;e=e[t[n]]}return r?e:void 0}function Rne(e,t,r){var n=ND(e,Lp(t));return iy(n)?r:n}function uy(e,t){t=Lp(t);for(var r=t.length,n=0;n<r;n++){var i=t[n];if(!dc(e,i))return!1;e=e[i]}return!!r}function D_(e){return e}function Yv(e){return e=sy({},e),function(t){return vne(t,e)}}function LD(e){return e=Lp(e),function(t){return ND(t,e)}}function Mp(e,t,r){if(t===void 0)return e;switch(r??3){case 1:return function(n){return e.call(t,n)};case 3:return function(n,i,a){return e.call(t,n,i,a)};case 4:return function(n,i,a,o){return e.call(t,n,i,a,o)}}return function(){return e.apply(t,arguments)}}function xne(e,t,r){return e==null?D_:on(e)?Mp(e,t,r):Ms(e)&&!fc(e)?Yv(e):LD(e)}function MD(e,t){return xne(e,t,1/0)}Wn.iteratee=MD;function Bo(e,t,r){return Wn.iteratee!==MD?Wn.iteratee(e,t):xne(e,t,r)}function $Se(e,t,r){t=Bo(t,r);for(var n=sa(e),i=n.length,a={},o=0;o<i;o++){var u=n[o];a[u]=t(e[u],u,e)}return a}function Cne(){}function FSe(e){return e==null?Cne:function(t){return Rne(e,t)}}function jSe(e,t,r){var n=Array(Math.max(0,e));t=Mp(t,r,1);for(var i=0;i<e;i++)n[i]=t(i);return n}function wI(e,t){return t==null&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}var Kv=Date.now||function(){return new Date().getTime()};function Ane(e){var t=function(a){return e[a]},r="(?:"+sa(e).join("|")+")",n=RegExp(r),i=RegExp(r,"g");return function(a){return a=a==null?"":""+a,n.test(a)?a.replace(i,t):a}}var One={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},USe=Ane(One),qSe=Sne(One),VSe=Ane(qSe),BSe=Wn.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},oR=/(.)^/,HSe={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},zSe=/\\|'|\r|\n|\u2028|\u2029/g;function WSe(e){return"\\"+HSe[e]}var GSe=/^\s*(\w|\$)+\s*$/;function YSe(e,t,r){!t&&r&&(t=r),t=Ene({},t,Wn.templateSettings);var n=RegExp([(t.escape||oR).source,(t.interpolate||oR).source,(t.evaluate||oR).source].join("|")+"|$","g"),i=0,a="__p+='";e.replace(n,function(c,d,h,v,g){return a+=e.slice(i,g).replace(zSe,WSe),i=g+c.length,d?a+=`'+
35
- ((__t=(`+d+`))==null?'':_.escape(__t))+
36
- '`:h?a+=`'+
37
- ((__t=(`+h+`))==null?'':__t)+
38
- '`:v&&(a+=`';
39
- `+v+`
40
- __p+='`),c}),a+=`';
41
- `;var o=t.variable;if(o){if(!GSe.test(o))throw new Error("variable is not a bare identifier: "+o)}else a=`with(obj||{}){
42
- `+a+`}
43
- `,o="obj";a=`var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
44
- `+a+`return __p;
45
- `;var u;try{u=new Function(o,"_",a)}catch(c){throw c.source=a,c}var s=function(c){return u.call(this,c,Wn)};return s.source="function("+o+`){
46
- `+a+"}",s}function Dv(e,t,r){t=Lp(t);var n=t.length;if(!n)return on(r)?r.call(e):r;for(var i=0;i<n;i++){var a=e==null?void 0:e[t[i]];a===void 0&&(a=r,i=n),e=on(a)?a.call(e):a}return e}var KSe=0;function Ine(e){var t=++KSe+"";return e?e+t:t}function XSe(e){var t=Wn(e);return t._chain=!0,t}function Pne(e,t,r,n,i){if(!(n instanceof t))return e.apply(r,i);var a=wne(e.prototype),o=e.apply(a,i);return Ms(o)?o:a}var Eh=jo(function(e,t){var r=Eh.placeholder,n=function(){for(var i=0,a=t.length,o=Array(a),u=0;u<a;u++)o[u]=t[u]===r?arguments[i++]:t[u];for(;i<arguments.length;)o.push(arguments[i++]);return Pne(e,n,this,this,o)};return n});Eh.placeholder=Wn;var Ku=jo(function(e,t,r){if(!on(e))throw new TypeError("Bind must be called on a function");var n=jo(function(i){return Pne(e,n,t,this,r.concat(i))});return n}),ps=cne(Uo);function If(e,t,r,n){if(n=n||[],!t&&t!==0)t=1/0;else if(t<=0)return n.concat(e);for(var i=n.length,a=0,o=Uo(e);a<o;a++){var u=e[a];if(ps(u)&&(fc(u)||OD(u)))if(t>1)If(u,t-1,r,n),i=n.length;else for(var s=0,c=u.length;s<c;)n[i++]=u[s++];else r||(n[i++]=u)}return n}var QSe=jo(function(e,t){t=If(t,!1,!1);var r=t.length;if(r<1)throw new Error("bindAll must be passed function names");for(;r--;){var n=t[r];e[n]=Ku(e[n],e)}return e});function Dne(e,t){var r=function(n){var i=r.cache,a=""+(t?t.apply(this,arguments):n);return dc(i,a)||(i[a]=e.apply(this,arguments)),i[a]};return r.cache={},r}var kne=jo(function(e,t,r){return setTimeout(function(){return e.apply(null,r)},t)}),JSe=Eh(kne,Wn,1);function Nne(e,t,r){var n,i,a,o,u=0;r||(r={});var s=function(){u=r.leading===!1?0:Kv(),n=null,o=e.apply(i,a),n||(i=a=null)},c=function(){var d=Kv();!u&&r.leading===!1&&(u=d);var h=t-(d-u);return i=this,a=arguments,h<=0||h>t?(n&&(clearTimeout(n),n=null),u=d,o=e.apply(i,a),n||(i=a=null)):!n&&r.trailing!==!1&&(n=setTimeout(s,h)),o};return c.cancel=function(){clearTimeout(n),u=0,n=i=a=null},c}function Lne(e,t,r){var n,i,a,o,u,s=function(){var d=Kv()-i;t>d?n=setTimeout(s,t-d):(n=null,r||(o=e.apply(u,a)),n||(a=u=null))},c=jo(function(d){return u=this,a=d,i=Kv(),n||(n=setTimeout(s,t),r&&(o=e.apply(u,a))),o});return c.cancel=function(){clearTimeout(n),n=a=u=null},c}function ZSe(e,t){return Eh(t,e)}function $D(e){return function(){return!e.apply(this,arguments)}}function eEe(){var e=arguments,t=e.length-1;return function(){for(var r=t,n=e[t].apply(this,arguments);r--;)n=e[r].call(this,n);return n}}function tEe(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function Mne(e,t){var r;return function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=null),r}}var rEe=Eh(Mne,2);function $ne(e,t,r){t=Bo(t,r);for(var n=sa(e),i,a=0,o=n.length;a<o;a++)if(i=n[a],t(e[i],i,e))return i}function Fne(e){return function(t,r,n){r=Bo(r,n);for(var i=Uo(t),a=e>0?0:i-1;a>=0&&a<i;a+=e)if(r(t[a],a,t))return a;return-1}}var k_=Fne(1),jne=Fne(-1);function Une(e,t,r,n){r=Bo(r,n,1);for(var i=r(t),a=0,o=Uo(e);a<o;){var u=Math.floor((a+o)/2);r(e[u])<i?a=u+1:o=u}return a}function qne(e,t,r){return function(n,i,a){var o=0,u=Uo(n);if(typeof a=="number")e>0?o=a>=0?a:Math.max(a+u,o):u=a>=0?Math.min(a+1,u):a+u+1;else if(r&&a&&u)return a=r(n,i),n[a]===i?a:-1;if(i!==i)return a=t(kp.call(n,o,u),une),a>=0?a+o:-1;for(a=e>0?o:u-1;a>=0&&a<u;a+=e)if(n[a]===i)return a;return-1}}var Vne=qne(1,k_,Une),nEe=qne(-1,jne);function bI(e,t,r){var n=ps(e)?k_:$ne,i=n(e,t,r);if(i!==void 0&&i!==-1)return e[i]}function Bne(e,t){return bI(e,Yv(t))}function Ja(e,t,r){t=Mp(t,r);var n,i;if(ps(e))for(n=0,i=e.length;n<i;n++)t(e[n],n,e);else{var a=sa(e);for(n=0,i=a.length;n<i;n++)t(e[a[n]],a[n],e)}return e}function nf(e,t,r){t=Bo(t,r);for(var n=!ps(e)&&sa(e),i=(n||e).length,a=Array(i),o=0;o<i;o++){var u=n?n[o]:o;a[o]=t(e[u],u,e)}return a}function Hne(e){var t=function(r,n,i,a){var o=!ps(r)&&sa(r),u=(o||r).length,s=e>0?0:u-1;for(a||(i=r[o?o[s]:s],s+=e);s>=0&&s<u;s+=e){var c=o?o[s]:s;i=n(i,r[c],c,r)}return i};return function(r,n,i,a){var o=arguments.length>=3;return t(r,Mp(n,a,4),i,o)}}var Pm=Hne(1),HW=Hne(-1);function af(e,t,r){var n=[];return t=Bo(t,r),Ja(e,function(i,a,o){t(i,a,o)&&n.push(i)}),n}function iEe(e,t,r){return af(e,$D(Bo(t)),r)}function TI(e,t,r){t=Bo(t,r);for(var n=!ps(e)&&sa(e),i=(n||e).length,a=0;a<i;a++){var o=n?n[a]:a;if(!t(e[o],o,e))return!1}return!0}function RI(e,t,r){t=Bo(t,r);for(var n=!ps(e)&&sa(e),i=(n||e).length,a=0;a<i;a++){var o=n?n[a]:a;if(t(e[o],o,e))return!0}return!1}function sl(e,t,r,n){return ps(e)||(e=hc(e)),(typeof r!="number"||n)&&(r=0),Vne(e,t,r)>=0}var aEe=jo(function(e,t,r){var n,i;return on(t)?i=t:(t=Lp(t),n=t.slice(0,-1),t=t[t.length-1]),nf(e,function(a){var o=i;if(!o){if(n&&n.length&&(a=ND(a,n)),a==null)return;o=a[t]}return o==null?o:o.apply(a,r)})});function FD(e,t){return nf(e,LD(t))}function zne(e,t){return af(e,Yv(t))}function jD(e,t,r){var n=-1/0,i=-1/0,a,o;if(t==null||typeof t=="number"&&typeof e[0]!="object"&&e!=null){e=ps(e)?e:hc(e);for(var u=0,s=e.length;u<s;u++)a=e[u],a!=null&&a>n&&(n=a)}else t=Bo(t,r),Ja(e,function(c,d,h){o=t(c,d,h),(o>i||o===-1/0&&n===-1/0)&&(n=c,i=o)});return n}function oEe(e,t,r){var n=1/0,i=1/0,a,o;if(t==null||typeof t=="number"&&typeof e[0]!="object"&&e!=null){e=ps(e)?e:hc(e);for(var u=0,s=e.length;u<s;u++)a=e[u],a!=null&&a<n&&(n=a)}else t=Bo(t,r),Ja(e,function(c,d,h){o=t(c,d,h),(o<i||o===1/0&&n===1/0)&&(n=c,i=o)});return n}var sEe=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function Wne(e){return e?fc(e)?kp.call(e):CD(e)?e.match(sEe):ps(e)?nf(e,D_):hc(e):[]}function Gne(e,t,r){if(t==null||r)return ps(e)||(e=hc(e)),e[wI(e.length-1)];var n=Wne(e),i=Uo(n);t=Math.max(Math.min(t,i),0);for(var a=i-1,o=0;o<t;o++){var u=wI(o,a),s=n[o];n[o]=n[u],n[u]=s}return n.slice(0,t)}function Yne(e){return Gne(e,1/0)}function Kne(e,t,r){var n=0;return t=Bo(t,r),FD(nf(e,function(i,a,o){return{value:i,index:n++,criteria:t(i,a,o)}}).sort(function(i,a){var o=i.criteria,u=a.criteria;if(o!==u){if(o>u||o===void 0)return 1;if(o<u||u===void 0)return-1}return i.index-a.index}),"value")}function N_(e,t){return function(r,n,i){var a=t?[[],[]]:{};return n=Bo(n,i),Ja(r,function(o,u){var s=n(o,u,r);e(a,o,s)}),a}}var Xne=N_(function(e,t,r){dc(e,r)?e[r].push(t):e[r]=[t]}),uEe=N_(function(e,t,r){e[r]=t}),Qne=N_(function(e,t,r){dc(e,r)?e[r]++:e[r]=1}),lEe=N_(function(e,t,r){e[r?0:1].push(t)},!0);function cEe(e){return e==null?0:ps(e)?e.length:sa(e).length}function fEe(e,t,r){return t in r}var UD=jo(function(e,t){var r={},n=t[0];if(e==null)return r;on(n)?(t.length>1&&(n=Mp(n,t[1])),t=Np(e)):(n=fEe,t=If(t,!1,!1),e=Object(e));for(var i=0,a=t.length;i<a;i++){var o=t[i],u=e[o];n(u,o,e)&&(r[o]=u)}return r}),L_=jo(function(e,t){var r=t[0],n;return on(r)?(r=$D(r),t.length>1&&(n=t[1])):(t=nf(If(t,!1,!1),String),r=function(i,a){return!sl(t,a)}),UD(e,r,n)});function Jne(e,t,r){return kp.call(e,0,Math.max(0,e.length-(t==null||r?1:t)))}function kv(e,t,r){return e==null||e.length<1?t==null||r?void 0:[]:t==null||r?e[0]:Jne(e,e.length-t)}function Dm(e,t,r){return kp.call(e,t==null||r?1:t)}function xI(e,t,r){return e==null||e.length<1?t==null||r?void 0:[]:t==null||r?e[e.length-1]:Dm(e,Math.max(0,e.length-t))}function dEe(e){return af(e,Boolean)}function Zne(e,t){return If(e,t,!1)}var eie=jo(function(e,t){return t=If(t,!0,!0),af(e,function(r){return!sl(t,r)})}),CI=jo(function(e,t){return eie(e,t)});function Xv(e,t,r,n){rne(t)||(n=r,r=t,t=!1),r!=null&&(r=Bo(r,n));for(var i=[],a=[],o=0,u=Uo(e);o<u;o++){var s=e[o],c=r?r(s,o,e):s;t&&!r?((!o||a!==c)&&i.push(s),a=c):r?sl(a,c)||(a.push(c),i.push(s)):sl(i,s)||i.push(s)}return i}var hEe=jo(function(e){return Xv(If(e,!0,!0))});function tie(e){for(var t=[],r=arguments.length,n=0,i=Uo(e);n<i;n++){var a=e[n];if(!sl(t,a)){var o;for(o=1;o<r&&sl(arguments[o],a);o++);o===r&&t.push(a)}}return t}function AI(e){for(var t=e&&jD(e,Uo).length||0,r=Array(t),n=0;n<t;n++)r[n]=FD(e,n);return r}var vEe=jo(AI);function rie(e,t){for(var r={},n=0,i=Uo(e);n<i;n++)t?r[e[n]]=t[n]:r[e[n][0]]=e[n][1];return r}function pEe(e,t,r){t==null&&(t=e||0,e=0),r||(r=t<e?-1:1);for(var n=Math.max(Math.ceil((t-e)/r),0),i=Array(n),a=0;a<n;a++,e+=r)i[a]=e;return i}function nie(e,t){if(t==null||t<1)return[];for(var r=[],n=0,i=e.length;n<i;)r.push(kp.call(e,n,n+=t));return r}function qD(e,t){return e._chain?Wn(t).chain():t}function iie(e){return Ja(EI(e),function(t){var r=Wn[t]=e[t];Wn.prototype[t]=function(){var n=[this._wrapped];return sSe.apply(n,arguments),qD(this,r.apply(Wn,n))}}),Wn}Ja(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=P_[e];Wn.prototype[e]=function(){var r=this._wrapped;return r!=null&&(t.apply(r,arguments),(e==="shift"||e==="splice")&&r.length===0&&delete r[0]),qD(this,r)}});Ja(["concat","join","slice"],function(e){var t=P_[e];Wn.prototype[e]=function(){var r=this._wrapped;return r!=null&&(r=t.apply(r,arguments)),qD(this,r)}});var gEe={__proto__:null,VERSION:Zre,restArguments:jo,isObject:Ms,isNull:vSe,isUndefined:iy,isBoolean:rne,isElement:pSe,isString:CD,isNumber:Ld,isDate:gSe,isRegExp:mSe,isError:ySe,isSymbol:nne,isArrayBuffer:ine,isDataView:ay,isArray:fc,isFunction:on,isArguments:OD,isFinite:wSe,isNaN:une,isTypedArray:dne,isEmpty:Gv,isMatch:vne,isEqual:gne,isMap:OSe,isWeakMap:ISe,isSet:PSe,isWeakSet:DSe,keys:sa,allKeys:Np,values:hc,pairs:kSe,invert:Sne,functions:EI,methods:EI,extend:ko,extendOwn:sy,assign:sy,defaults:Ene,create:LSe,clone:bne,tap:MSe,get:Rne,has:uy,mapObject:$Se,identity:D_,constant:lne,noop:Cne,toPath:Tne,property:LD,propertyOf:FSe,matcher:Yv,matches:Yv,times:jSe,random:wI,now:Kv,escape:USe,unescape:VSe,templateSettings:BSe,template:YSe,result:Dv,uniqueId:Ine,chain:XSe,iteratee:MD,partial:Eh,bind:Ku,bindAll:QSe,memoize:Dne,delay:kne,defer:JSe,throttle:Nne,debounce:Lne,wrap:ZSe,negate:$D,compose:eEe,after:tEe,before:Mne,once:rEe,findKey:$ne,findIndex:k_,findLastIndex:jne,sortedIndex:Une,indexOf:Vne,lastIndexOf:nEe,find:bI,detect:bI,findWhere:Bne,each:Ja,forEach:Ja,map:nf,collect:nf,reduce:Pm,foldl:Pm,inject:Pm,reduceRight:HW,foldr:HW,filter:af,select:af,reject:iEe,every:TI,all:TI,some:RI,any:RI,contains:sl,includes:sl,include:sl,invoke:aEe,pluck:FD,where:zne,max:jD,min:oEe,shuffle:Yne,sample:Gne,sortBy:Kne,groupBy:Xne,indexBy:uEe,countBy:Qne,partition:lEe,toArray:Wne,size:cEe,pick:UD,omit:L_,first:kv,head:kv,take:kv,initial:Jne,last:xI,rest:Dm,tail:Dm,drop:Dm,compact:dEe,flatten:Zne,without:CI,uniq:Xv,unique:Xv,union:hEe,intersection:tie,difference:eie,unzip:AI,transpose:AI,zip:vEe,object:rie,range:pEe,chunk:nie,mixin:iie,default:Wn},tt=iie(gEe);tt._=tt;const $n={SHELL:"global:shell",ALERT:"global:alert",POPUP:"global:popup"},Fn={SHOW_POPUP:"show:popup",ROUTE:"route",LOCK_NAV:"lock:nav",UNLOCK_NAV:"unlock:nav",NAV_IS_LOCKED:"navigation:islocked",NAV_UNLOCKED_BY_USER:"navigation:unlocked:by:user",ROUTING_START:"routing:start",ROUTING_END:"routing:end",HAS_ACTIVE_ROUTE:"has:active:route",ROUTE_LOOKUP:"route:look:up",URL_CHANGE:"url:change",ERROR:"error",CURRENT_ROUTE:"route:current"},mEe=/\/+$/g,yEe=$r.history.getFragment.bind($r.history);ko($r.history,{getFragment(e){return yEe(e).replace(mEe,"")}});const Yn={GetQuery(){return Yn.DeserializeQueryParams(window.location.search.substring(1))},UpdateQuery(e){if(!e)return;const t=Yn.GetQuery();let r=Yn.SerializeQueryParams(ko(t,e));r&&(r=`?${r}`),Yn.UpdateUrl(`${Yn.GetCurrentPath()}${r}`,null,{replace:!0,trigger:!1})},UpdateUrl(e,t,r){const n=Kn.buildRoute(e,t);$r.history.navigate(n,r),$r.Radio.channel($n.SHELL).trigger(Fn.URL_CHANGE,t,r)},SerializeQueryParams(e){if(!e)return"";if(typeof e=="string")return e;const t=[],r=(n,i)=>`${encodeURIComponent(n)}=${encodeURIComponent(i)}`;return Object.keys(e).sort().forEach(n=>{const i=e[n];if(!(typeof i>"u"||i===null)){if(Array.isArray(i)){i.forEach(a=>{t.push(r(n,a))});return}t.push(r(n,i))}}),t.join("&")},DeserializeQueryParams(e){return e?Pm(e.split("&"),(t,r)=>{const n=r.split("="),i=n[0],a=n.length>0?decodeURIComponent(n[1]):"";return t[i]?t[i]instanceof Array?(t[i].push(a),t):(t[i]=[t[i],a],t):(t[i]=a,t)},{}):{}},StartHistory(){$r.History.started&&$r.history.stop(),$r.history.start({pushState:!0})},PageLoad(e,t=!1,r){if(!t){window.location.href=e;return}window.open(e,"_blank",r)},Redirect(e,t=!0){const r=()=>t?window.location.replace(e):window.location.href=e;es.hasActiveRoute()?$r.Radio.channel($n.SHELL).once("routing:end",r):r()},Reload(){window.location.reload()},GetCurrentPath(){return window.location.pathname},GetCurrentQueryString(){return window.location.search},GetCurrentPathAndQuery(){return window.location.pathname+window.location.search},GetCurrentUrl(){return window.location.href},GetCurrentReferrer(){return document.referrer},GetCurrentOrigin(){return window.location.origin},GetCurrentHostname(){return window.location.hostname},SetPageTitle(e){document.title=e}},_Ee=/((\(\?)?:\w+)|(\*\w+)/,SEe=/[\(\)]/g,EEe=/\(\/\)/g,wEe=/\/$/,bEe=/\([^)]*\)/g,es={routingStarted(){$r.Radio.channel($n.SHELL).trigger(Fn.ROUTING_START)},routingEnded(){if(!es.hasActiveRoute())return;$r.Radio.channel($n.SHELL).trigger(Fn.ROUTING_END)},hasActiveRoute(){return $r.Radio.channel($n.SHELL).request(Fn.HAS_ACTIVE_ROUTE)}},zW=(e,t={})=>{t.usedHelper=!0;const{application:r,action:n}=e;$r.Radio.channel(r).trigger(n,e,t)},Kn={getHref(e,t){if(!e)return"";const{application:r,action:n,args:i,params:a}=e,o=$r.Radio.channel($n.SHELL),u={...t,middlewareOptions:{buildHref:!0,...t==null?void 0:t.middlewareOptions}},s=o.request(Fn.ROUTE_LOOKUP,`${r}:${n}`,i,a,u);return s===!1?"":`/${s}`},buildRoute(e,t,r){if(!t)return e;const n=t.args,i=t.params;if(Ja(n,o=>{e=e.replace(_Ee,o||"")}),r!=null&&r.excludeOptionalRoute&&(e=e.replace(bEe,"")),e=e.replace(EEe,""),e=e.replace(SEe,""),e=e.replace(wEe,""),!i)return e;const a=Yn.SerializeQueryParams(i);return a.length?`${e}?${a}`:e},trigger(e,t){if(!e)return;if(!es.hasActiveRoute()){zW(e,t);return}$r.Radio.channel($n.SHELL).once("routing:end",()=>{zW(e,t)})},getCurrentAppLink(){return $r.Radio.channel($n.SHELL).request(Fn.CURRENT_ROUTE)},getAppLinkString(e){return e?e.application+e.action:""},isEqual(e,t,r={args:!0,params:!0}){if((e==null?void 0:e.application)!==(t==null?void 0:t.application)||(e==null?void 0:e.action)!==(t==null?void 0:t.action))return!1;const n=((e==null?void 0:e.args)??[]).join(","),i=(t.args??[]).join(",");if(r.args&&n!==i)return!1;const a=Yn.SerializeQueryParams((e==null?void 0:e.params)??{}),o=Yn.SerializeQueryParams((t==null?void 0:t.params)??{});return!(r.params&&a!==o)}};var TEe="4.1.3",$p=oa.Model.extend,VD=function(t){var r=this;if(t)return tt.reduce(t,function(n,i,a){return tt.isFunction(i)||(i=r[i]),i&&(n[a]=i),n},{})},WW=["description","fileName","lineNumber","name","message","number","url"],Pa=$p.call(Error,{urlRoot:"http://marionettejs.com/docs/v".concat(TEe,"/"),url:"",constructor:function(t){var r=Error.call(this,t.message);tt.extend(this,tt.pick(r,WW),tt.pick(t,WW)),Error.captureStackTrace&&this.captureStackTrace(),this.url=this.urlRoot+this.url},captureStackTrace:function(){Error.captureStackTrace(this,Pa)},toString:function(){return"".concat(this.name,": ").concat(this.message," See: ").concat(this.url)}});function aie(e,t){if(!tt.isObject(t))throw new Pa({message:"Bindings must be an object.",url:"common.html#bindevents"});return VD.call(e,t)}function REe(e,t){return!e||!t?this:(this.listenTo(e,aie(this,t)),this)}function xEe(e,t){return e?t?(this.stopListening(e,aie(this,t)),this):(this.stopListening(e),this):this}function oie(e,t){if(!tt.isObject(t))throw new Pa({message:"Bindings must be an object.",url:"common.html#bindrequests"});return VD.call(e,t)}function CEe(e,t){return!e||!t?this:(e.reply(oie(this,t),this),this)}function AEe(e,t){return e?t?(e.stopReplying(oie(this,t),this),this):(e.stopReplying(null,null,this),this):this}var sie=function(t){if(t)return this.options&&this.options[t]!==void 0?this.options[t]:this[t]},OEe=function(t,r){var n=this;t&&tt.each(r,function(i){var a=t[i];a!==void 0&&(n[i]=a)})};function M_(e,t,r){e._getImmediateChildren&&tt.each(e._getImmediateChildren(),function(n){r(n)&&n.triggerMethod(t,n)})}function uie(e){return!e._isAttached}function IEe(e){return uie(e)?(e._isAttached=!0,!0):!1}function PEe(e){return e._isAttached}function DEe(e){return e._isAttached=!1,!0}function lie(e){e._isAttached&&e._isRendered&&e.triggerMethod("dom:refresh",e)}function cie(e){e._isAttached&&e._isRendered&&e.triggerMethod("dom:remove",e)}function kEe(){M_(this,"before:attach",uie)}function NEe(){M_(this,"attach",IEe),lie(this)}function LEe(){M_(this,"before:detach",PEe),cie(this)}function MEe(){M_(this,"detach",DEe)}function $Ee(){cie(this)}function FEe(){lie(this)}function ly(e){e._areViewEventsMonitored||e.monitorViewEvents===!1||(e._areViewEventsMonitored=!0,e.on({"before:attach":kEe,attach:NEe,"before:detach":LEe,detach:MEe,"before:render":$Ee,render:FEe}))}var jEe=/(^|:)(\w)/gi,sR={};function UEe(e,t,r){return r.toUpperCase()}var qEe=function(t){return sR[t]||(sR[t]="on"+t.replace(jEe,UEe)),sR[t]};function VEe(e){var t=qEe(e),r=sie.call(this,t),n;return tt.isFunction(r)&&(n=r.apply(this,tt.drop(arguments))),this.trigger.apply(this,arguments),n}var wh={normalizeMethods:VD,_setOptions:function(t,r){this.options=tt.extend({},tt.result(this,"options"),t),this.mergeOptions(t,r)},mergeOptions:OEe,getOption:sie,bindEvents:REe,unbindEvents:xEe,bindRequests:CEe,unbindRequests:AEe,triggerMethod:VEe};tt.extend(wh,oa.Events);var fie={_isDestroyed:!1,isDestroyed:function(){return this._isDestroyed},destroy:function(t){return this._isDestroyed?this:(this.triggerMethod("before:destroy",this,t),this._isDestroyed=!0,this.triggerMethod("destroy",this,t),this.stopListening(),this)}},die={_initRadio:function(){var t=tt.result(this,"channelName");if(t){if(!LW)throw new Pa({message:'The dependency "backbone.radio" is missing.',url:"backbone.radio.html#marionette-integration"});var r=this._channel=LW.channel(t),n=tt.result(this,"radioEvents");this.bindEvents(r,n);var i=tt.result(this,"radioRequests");this.bindRequests(r,i),this.on("destroy",this._destroyRadio)}},_destroyRadio:function(){this._channel.stopReplying(null,null,this)},getChannel:function(){return this._channel}},BEe=["channelName","radioEvents","radioRequests"],Pf=function(t){this._setOptions(t,BEe),this.cid=tt.uniqueId(this.cidPrefix),this._initRadio(),this.initialize.apply(this,arguments)};Pf.extend=$p;tt.extend(Pf.prototype,wh,fie,die,{cidPrefix:"mno",initialize:function(){}});var Ys=tt.invokeMap||tt.invoke;function HEe(e){if(e.behaviorClass)return{BehaviorClass:e.behaviorClass,options:e};if(tt.isFunction(e))return{BehaviorClass:e,options:{}};throw new Pa({message:"Unable to get behavior class. A Behavior constructor should be passed directly or as behaviorClass property of options",url:"marionette.behavior.html#defining-and-attaching-behaviors"})}function hie(e,t,r){return tt.reduce(t,function(n,i){var a=HEe(i),o=a.BehaviorClass,u=a.options,s=new o(u,e);return n.push(s),hie(e,tt.result(s,"behaviors"),n)},r)}var zEe={_initBehaviors:function(){this._behaviors=hie(this,tt.result(this,"behaviors"),[])},_getBehaviorTriggers:function(){var t=Ys(this._behaviors,"_getTriggers");return tt.reduce(t,function(r,n){return tt.extend(r,n)},{})},_getBehaviorEvents:function(){var t=Ys(this._behaviors,"_getEvents");return tt.reduce(t,function(r,n){return tt.extend(r,n)},{})},_proxyBehaviorViewProperties:function(){Ys(this._behaviors,"proxyViewProperties")},_delegateBehaviorEntityEvents:function(){Ys(this._behaviors,"delegateEntityEvents")},_undelegateBehaviorEntityEvents:function(){Ys(this._behaviors,"undelegateEntityEvents")},_destroyBehaviors:function(t){Ys(this._behaviors,"destroy",t)},_removeBehavior:function(t){this._isDestroyed||(this.undelegate(".trig".concat(t.cid," .").concat(t.cid)),this._behaviors=tt.without(this._behaviors,t))},_bindBehaviorUIElements:function(){Ys(this._behaviors,"bindUIElements")},_unbindBehaviorUIElements:function(){Ys(this._behaviors,"unbindUIElements")},_triggerEventOnBehaviors:function(t,r,n){Ys(this._behaviors,"triggerMethod",t,r,n)}},vie={_delegateEntityEvents:function(t,r){t&&(this._modelEvents=tt.result(this,"modelEvents"),this.bindEvents(t,this._modelEvents)),r&&(this._collectionEvents=tt.result(this,"collectionEvents"),this.bindEvents(r,this._collectionEvents))},_undelegateEntityEvents:function(t,r){this._modelEvents&&(this.unbindEvents(t,this._modelEvents),delete this._modelEvents),this._collectionEvents&&(this.unbindEvents(r,this._collectionEvents),delete this._collectionEvents)},_deleteEntityEventHandlers:function(){delete this._modelEvents,delete this._collectionEvents}},WEe={_renderTemplate:function(t){var r=this.mixinTemplateContext(this.serializeData())||{},n=this._renderHtml(t,r);typeof n<"u"&&this.attachElContent(n)},getTemplate:function(){return this.template},mixinTemplateContext:function(t){var r=tt.result(this,"templateContext");return r?t?tt.extend({},t,r):r:t},serializeData:function(){if(this.model)return this.serializeModel();if(this.collection)return{items:this.serializeCollection()}},serializeModel:function(){return this.model.attributes},serializeCollection:function(){return tt.map(this.collection.models,function(t){return t.attributes})},_renderHtml:function(t,r){return t(r)},attachElContent:function(t){this.Dom.setContents(this.el,t,this.$el)}},GEe=/^(\S+)\s*(.*)$/,pie=function(t,r){var n=t.match(GEe);return"".concat(n[1],".").concat(r," ").concat(n[2])},YEe={childViewEventPrefix:!1,triggersStopPropagation:!0,triggersPreventDefault:!0,DEV_MODE:!1};function OI(e){return!!YEe[e]}function KEe(e,t){tt.isString(t)&&(t={event:t});var r=t.event,n=!!t.preventDefault;OI("triggersPreventDefault")&&(n=t.preventDefault!==!1);var i=!!t.stopPropagation;return OI("triggersStopPropagation")&&(i=t.stopPropagation!==!1),function(a){n&&a.preventDefault(),i&&a.stopPropagation();for(var o=arguments.length,u=new Array(o>1?o-1:0),s=1;s<o;s++)u[s-1]=arguments[s];e.triggerMethod.apply(e,[r,e,a].concat(u))}}var gie={_getViewTriggers:function(t,r){var n=this;return tt.reduce(r,function(i,a,o){return o=pie(o,"trig".concat(n.cid)),i[o]=KEe(t,a),i},{})}},XEe=function(t,r){return tt.reduce(t,function(n,i,a){var o=cy(a,r);return n[o]=i,n},{})},QEe=/@ui\.[a-zA-Z-_$0-9]*/g,cy=function(t,r){return t.replace(QEe,function(n){return r[n.slice(4)]})},JEe=function(t,r,n){return tt.each(t,function(i,a){if(tt.isString(i))t[a]=cy(i,r);else if(i){var o=i[n];tt.isString(o)&&(i[n]=cy(o,r))}}),t},mie={normalizeUIKeys:function(t){var r=this._getUIBindings();return XEe(t,r)},normalizeUIString:function(t){var r=this._getUIBindings();return cy(t,r)},normalizeUIValues:function(t,r){var n=this._getUIBindings();return JEe(t,n,r)},_getUIBindings:function(){var t=tt.result(this,"_uiBindings");return t||tt.result(this,"ui")},_bindUIElements:function(){var t=this;if(this.ui){this._uiBindings||(this._uiBindings=this.ui);var r=tt.result(this,"_uiBindings");this._ui={},tt.each(r,function(n,i){t._ui[i]=t.$(n)}),this.ui=this._ui}},_unbindUIElements:function(){var t=this;!this.ui||!this._uiBindings||(tt.each(this.ui,function(r,n){delete t.ui[n]}),this.ui=this._uiBindings,delete this._uiBindings,delete this._ui)},_getUI:function(t){return this._ui[t]}};function Dc(e){return e instanceof oa.$?e:oa.$(e)}function BD(e){return this.prototype.Dom=tt.extend({},this.prototype.Dom,e),this}var yie={createBuffer:function(){return document.createDocumentFragment()},getDocumentEl:function(t){return t.ownerDocument.documentElement},getEl:function(t){return Dc(t)},findEl:function(t,r){return Dc(t).find(r)},hasEl:function(t,r){return t.contains(r&&r.parentNode)},detachEl:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Dc(t);r.detach()},replaceEl:function(t,r){if(t!==r){var n=r.parentNode;n&&n.replaceChild(t,r)}},swapEl:function(t,r){if(t!==r){var n=t.parentNode,i=r.parentNode;if(!(!n||!i)){var a=t.nextSibling,o=r.nextSibling;n.insertBefore(r,a),i.insertBefore(t,o)}}},setContents:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Dc(t);n.html(r)},appendContents:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=n._$el,a=i===void 0?Dc(t):i,o=n._$contents,u=o===void 0?Dc(r):o;a.append(u)},hasContents:function(t){return!!t&&t.hasChildNodes()},detachContents:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Dc(t);r.contents().detach()}},HD={Dom:yie,_isElAttached:function(){return!!this.el&&this.Dom.hasEl(this.Dom.getDocumentEl(this.el),this.el)},supportsRenderLifecycle:!0,supportsDestroyLifecycle:!0,_isDestroyed:!1,isDestroyed:function(){return!!this._isDestroyed},_isRendered:!1,isRendered:function(){return!!this._isRendered},_isAttached:!1,isAttached:function(){return!!this._isAttached},delegateEvents:function(t){this._proxyBehaviorViewProperties(),this._buildEventProxies();var r=tt.extend({},this._getBehaviorEvents(),this._getEvents(t),this._getBehaviorTriggers(),this._getTriggers());return oa.View.prototype.delegateEvents.call(this,r),this},_getEvents:function(t){if(t)return this.normalizeUIKeys(t);if(this.events)return this.normalizeUIKeys(tt.result(this,"events"))},_getTriggers:function(){if(this.triggers){var t=this.normalizeUIKeys(tt.result(this,"triggers"));return this._getViewTriggers(this,t)}},delegateEntityEvents:function(){return this._delegateEntityEvents(this.model,this.collection),this._delegateBehaviorEntityEvents(),this},undelegateEntityEvents:function(){return this._undelegateEntityEvents(this.model,this.collection),this._undelegateBehaviorEntityEvents(),this},destroy:function(t){if(this._isDestroyed||this._isDestroying)return this;this._isDestroying=!0;var r=this._isAttached&&!this._disableDetachEvents;return this.triggerMethod("before:destroy",this,t),r&&this.triggerMethod("before:detach",this),this.unbindUIElements(),this._removeElement(),r&&(this._isAttached=!1,this.triggerMethod("detach",this)),this._removeChildren(),this._isDestroyed=!0,this._isRendered=!1,this._destroyBehaviors(t),this._deleteEntityEventHandlers(),this.triggerMethod("destroy",this,t),this._triggerEventOnBehaviors("destroy",this,t),this.stopListening(),this},_removeElement:function(){this.$el.off().removeData(),this.Dom.detachEl(this.el,this.$el)},bindUIElements:function(){return this._bindUIElements(),this._bindBehaviorUIElements(),this},unbindUIElements:function(){return this._unbindUIElements(),this._unbindBehaviorUIElements(),this},getUI:function(t){return this._getUI(t)},_buildEventProxies:function(){this._childViewEvents=this.normalizeMethods(tt.result(this,"childViewEvents")),this._childViewTriggers=tt.result(this,"childViewTriggers"),this._eventPrefix=this._getEventPrefix()},_getEventPrefix:function(){var t=OI("childViewEventPrefix")?"childview":!1,r=tt.result(this,"childViewEventPrefix",t);return r===!1?r:r+":"},_proxyChildViewEvents:function(t){(this._childViewEvents||this._childViewTriggers||this._eventPrefix)&&this.listenTo(t,"all",this._childViewEventHandler)},_childViewEventHandler:function(t){for(var r=this._childViewEvents,n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];r&&r[t]&&r[t].apply(this,i);var o=this._childViewTriggers;o&&o[t]&&this.triggerMethod.apply(this,[o[t]].concat(i)),this._eventPrefix&&this.triggerMethod.apply(this,[this._eventPrefix+t].concat(i))}};tt.extend(HD,zEe,wh,vie,WEe,gie,mie);function _ie(e){e._isRendered||(e.supportsRenderLifecycle||e.triggerMethod("before:render",e),e.render(),e._isRendered=!0,e.supportsRenderLifecycle||e.triggerMethod("render",e))}function Sie(e,t){if(e.destroy){e._disableDetachEvents=t,e.destroy();return}e.supportsDestroyLifecycle||e.triggerMethod("before:destroy",e);var r=e._isAttached&&!t;r&&e.triggerMethod("before:detach",e),e.remove(),r&&(e._isAttached=!1,e.triggerMethod("detach",e)),e._isDestroyed=!0,e.supportsDestroyLifecycle||e.triggerMethod("destroy",e)}var iv="RegionError",ZEe=["allowMissingEl","parentEl","replaceElement"],Df=function(t){this._setOptions(t,ZEe),this.cid=tt.uniqueId(this.cidPrefix),this._initEl=this.el=this.getOption("el"),this.el=this.el instanceof oa.$?this.el[0]:this.el,this.$el=this._getEl(this.el),this.initialize.apply(this,arguments)};Df.extend=$p;Df.setDomApi=BD;tt.extend(Df.prototype,wh,{Dom:yie,cidPrefix:"mnr",replaceElement:!1,_isReplaced:!1,_isSwappingView:!1,initialize:function(){},show:function(t,r){if(this._ensureElement(r)){if(t=this._getView(t,r),t===this.currentView)return this;if(t._isShown)throw new Pa({name:iv,message:"View is already shown in a Region or CollectionView",url:"marionette.region.html#showing-a-view"});return this._isSwappingView=!!this.currentView,this.triggerMethod("before:show",this,t,r),(this.currentView||!t._isAttached)&&this.empty(r),this._setupChildView(t),this.currentView=t,_ie(t),this._attachView(t,r),this.triggerMethod("show",this,t,r),this._isSwappingView=!1,this}},_getEl:function(t){if(!t)throw new Pa({name:iv,message:'An "el" must be specified for a region.',url:"marionette.region.html#additional-options"});return this.getEl(t)},_setEl:function(){this.$el=this._getEl(this.el),this.$el.length&&(this.el=this.$el[0]),this.$el.length>1&&(this.$el=this.Dom.getEl(this.el))},_setElement:function(t){if(t===this.el)return this;var r=this._isReplaced;if(this._restoreEl(),this.el=t,this._setEl(),this.currentView){var n=this.currentView;r?this._replaceEl(n):this.attachHtml(n)}return this},_setupChildView:function(t){ly(t),this._proxyChildViewEvents(t),t.on("destroy",this._empty,this)},_proxyChildViewEvents:function(t){var r=this._parentView;r&&r._proxyChildViewEvents(t)},_shouldDisableMonitoring:function(){return this._parentView&&this._parentView.monitorViewEvents===!1},_isElAttached:function(){return this.Dom.hasEl(this.Dom.getDocumentEl(this.el),this.el)},_attachView:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.replaceElement,i=!t._isAttached&&this._isElAttached()&&!this._shouldDisableMonitoring(),a=typeof n>"u"?!!tt.result(this,"replaceElement"):!!n;i&&t.triggerMethod("before:attach",t),a?this._replaceEl(t):this.attachHtml(t),i&&(t._isAttached=!0,t.triggerMethod("attach",t)),t._isShown=!0},_ensureElement:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(tt.isObject(this.el)||this._setEl(),!this.$el||this.$el.length===0){var r=typeof t.allowMissingEl>"u"?!!tt.result(this,"allowMissingEl"):!!t.allowMissingEl;if(r)return!1;throw new Pa({name:iv,message:'An "el" must exist in DOM for this region '.concat(this.cid),url:"marionette.region.html#additional-options"})}return!0},_getView:function(t){if(!t)throw new Pa({name:iv,message:"The view passed is undefined and therefore invalid. You must pass a view instance to show.",url:"marionette.region.html#showing-a-view"});if(t._isDestroyed)throw new Pa({name:iv,message:'View (cid: "'.concat(t.cid,'") has already been destroyed and cannot be used.'),url:"marionette.region.html#showing-a-view"});if(t instanceof oa.View)return t;var r=this._getViewOptions(t);return new zD(r)},_getViewOptions:function(t){if(tt.isFunction(t))return{template:t};if(tt.isObject(t))return t;var r=function(){return t};return{template:r}},getEl:function(t){var r=tt.result(this,"parentEl");return r&&tt.isString(t)?this.Dom.findEl(r,t):this.Dom.getEl(t)},_replaceEl:function(t){this._restoreEl(),t.on("before:destroy",this._restoreEl,this),this.Dom.replaceEl(t.el,this.el),this._isReplaced=!0},_restoreEl:function(){if(this._isReplaced){var t=this.currentView;t&&(this._detachView(t),this._isReplaced=!1)}},isReplaced:function(){return!!this._isReplaced},isSwappingView:function(){return!!this._isSwappingView},attachHtml:function(t){this.Dom.appendContents(this.el,t.el,{_$el:this.$el,_$contents:t.$el})},empty:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{allowMissingEl:!0},r=this.currentView;return r?(this._empty(r,!0),this):(this._ensureElement(t)&&this.detachHtml(),this)},_empty:function(t,r){t.off("destroy",this._empty,this),this.triggerMethod("before:empty",this,t),this._restoreEl(),delete this.currentView,t._isDestroyed||(r?this.removeView(t):this._detachView(t),t._isShown=!1,this._stopChildViewEvents(t)),this.triggerMethod("empty",this,t)},_stopChildViewEvents:function(t){var r=this._parentView;r&&this._parentView.stopListening(t)},destroyView:function(t){return t._isDestroyed||Sie(t,this._shouldDisableMonitoring()),t},removeView:function(t){this.destroyView(t)},detachView:function(){var t=this.currentView;if(t)return this._empty(t),t},_detachView:function(t){var r=t._isAttached&&!this._shouldDisableMonitoring(),n=this._isReplaced;r&&t.triggerMethod("before:detach",t),n?this.Dom.replaceEl(this.el,t.el):this.detachHtml(),r&&(t._isAttached=!1,t.triggerMethod("detach",t))},detachHtml:function(){this.Dom.detachContents(this.el,this.$el)},hasView:function(){return!!this.currentView},reset:function(t){return this.empty(t),this.el=this._initEl,delete this.$el,this},_isDestroyed:!1,isDestroyed:function(){return this._isDestroyed},destroy:function(t){return this._isDestroyed?this:(this.triggerMethod("before:destroy",this,t),this._isDestroyed=!0,this.reset(t),this._name&&this._parentView._removeReferences(this._name),delete this._parentView,delete this._name,this.triggerMethod("destroy",this,t),this.stopListening(),this)}});function Eie(e,t){if(e instanceof Df)return e;if(tt.isString(e))return uR(t,{el:e});if(tt.isFunction(e))return uR(t,{regionClass:e});if(tt.isObject(e))return uR(t,e);throw new Pa({message:"Improper region configuration type.",url:"marionette.region.html#defining-regions"})}function uR(e,t){var r=tt.extend({},e,t),n=r.regionClass;return delete r.regionClass,new n(r)}var ewe={regionClass:Df,_initRegions:function(){this.regions=this.regions||{},this._regions={},this.addRegions(tt.result(this,"regions"))},_reInitRegions:function(){Ys(this._regions,"reset")},addRegion:function(t,r){var n={};return n[t]=r,this.addRegions(n)[t]},addRegions:function(t){if(!tt.isEmpty(t))return t=this.normalizeUIValues(t,"el"),this.regions=tt.extend({},this.regions,t),this._addRegions(t)},_addRegions:function(t){var r=this,n={regionClass:this.regionClass,parentEl:tt.partial(tt.result,this,"el")};return tt.reduce(t,function(i,a,o){return i[o]=Eie(a,n),r._addRegion(i[o],o),i},{})},_addRegion:function(t,r){this.triggerMethod("before:add:region",this,r,t),t._parentView=this,t._name=r,this._regions[r]=t,this.triggerMethod("add:region",this,r,t)},removeRegion:function(t){var r=this._regions[t];return this._removeRegion(r,t),r},removeRegions:function(){var t=this._getRegions();return tt.each(this._regions,this._removeRegion.bind(this)),t},_removeRegion:function(t,r){this.triggerMethod("before:remove:region",this,r,t),t.destroy(),this.triggerMethod("remove:region",this,r,t)},_removeReferences:function(t){delete this.regions[t],delete this._regions[t]},emptyRegions:function(){var t=this.getRegions();return Ys(t,"empty"),t},hasRegion:function(t){return!!this.getRegion(t)},getRegion:function(t){return this._isRendered||this.render(),this._regions[t]},_getRegions:function(){return tt.clone(this._regions)},getRegions:function(){return this._isRendered||this.render(),this._getRegions()},showChildView:function(t,r,n){var i=this.getRegion(t);return i.show(r,n),r},detachChildView:function(t){return this.getRegion(t).detachView()},getChildView:function(t){return this.getRegion(t).currentView}};function wie(e){return this.prototype._renderHtml=e,this}var twe=["behaviors","childViewEventPrefix","childViewEvents","childViewTriggers","collectionEvents","events","modelEvents","regionClass","regions","template","templateContext","triggers","ui"];function rwe(e,t){return t.currentView&&e.push(t.currentView),e}var zD=oa.View.extend({constructor:function(t){this._setOptions(t,twe),ly(this),this._initBehaviors(),this._initRegions(),oa.View.prototype.constructor.apply(this,arguments),this.delegateEntityEvents(),this._triggerEventOnBehaviors("initialize",this,t)},setElement:function(){return oa.View.prototype.setElement.apply(this,arguments),this._isRendered=this.Dom.hasContents(this.el),this._isAttached=this._isElAttached(),this._isRendered&&this.bindUIElements(),this},render:function(){var t=this.getTemplate();return t===!1||this._isDestroyed?this:(this.triggerMethod("before:render",this),this._isRendered&&this._reInitRegions(),this._renderTemplate(t),this.bindUIElements(),this._isRendered=!0,this.triggerMethod("render",this),this)},_removeChildren:function(){this.removeRegions()},_getImmediateChildren:function(){return tt.reduce(this._regions,rwe,[])}},{setRenderer:wie,setDomApi:BD});tt.extend(zD.prototype,HD,ewe);var fy=function(){this._init()},nwe=["forEach","each","map","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","toArray","first","initial","rest","last","without","isEmpty","pluck","reduce","partition"];tt.each(nwe,function(e){fy.prototype[e]=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return tt[e].apply(tt,[this._views].concat(r))}});function iwe(e,t){return t.model&&t.model.get(e)}tt.extend(fy.prototype,{_init:function(){this._views=[],this._viewsByCid={},this._indexByModel={},this._updateLength()},_add:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._views.length;this._addViewIndexes(t),this._views.splice(r,0,t),this._updateLength()},_addViewIndexes:function(t){this._viewsByCid[t.cid]=t,t.model&&(this._indexByModel[t.model.cid]=t)},_sort:function(t,r){return typeof t=="string"?(t=tt.partial(iwe,t),this._sortBy(t)):t.length===1?this._sortBy(t.bind(r)):this._views.sort(t.bind(r))},_sortBy:function(t){var r=tt.sortBy(this._views,t);return this._set(r),r},_set:function(t,r){this._views.length=0,this._views.push.apply(this._views,t.slice(0)),r&&(this._viewsByCid={},this._indexByModel={},tt.each(t,this._addViewIndexes.bind(this)),this._updateLength())},_swap:function(t,r){var n=this.findIndexByView(t),i=this.findIndexByView(r);if(!(n===-1||i===-1)){var a=this._views[n];this._views[n]=this._views[i],this._views[i]=a}},findByModel:function(t){return this.findByModelCid(t.cid)},findByModelCid:function(t){return this._indexByModel[t]},findByIndex:function(t){return this._views[t]},findIndexByView:function(t){return this._views.indexOf(t)},findByCid:function(t){return this._viewsByCid[t]},hasView:function(t){return!!this.findByCid(t.cid)},_remove:function(t){if(this._viewsByCid[t.cid]){t.model&&delete this._indexByModel[t.model.cid],delete this._viewsByCid[t.cid];var r=this.findIndexByView(t);this._views.splice(r,1),this._updateLength()}},_updateLength:function(){this.length=this._views.length}});var vd="CollectionViewError",awe=["behaviors","childView","childViewContainer","childViewEventPrefix","childViewEvents","childViewOptions","childViewTriggers","collectionEvents","emptyView","emptyViewOptions","events","modelEvents","sortWithCollection","template","templateContext","triggers","ui","viewComparator","viewFilter"],owe=oa.View.extend({sortWithCollection:!0,constructor:function(t){this._setOptions(t,awe),ly(this),this._initChildViewStorage(),this._initBehaviors(),oa.View.prototype.constructor.apply(this,arguments),this.getEmptyRegion(),this.delegateEntityEvents(),this._triggerEventOnBehaviors("initialize",this,t)},_initChildViewStorage:function(){this._children=new fy,this.children=new fy},getEmptyRegion:function(){var t=this.$container||this.$el;return this._emptyRegion&&!this._emptyRegion.isDestroyed()?(this._emptyRegion._setElement(t[0]),this._emptyRegion):(this._emptyRegion=new Df({el:t[0],replaceElement:!1}),this._emptyRegion._parentView=this,this._emptyRegion)},_initialEvents:function(){this._isRendered||this.listenTo(this.collection,{sort:this._onCollectionSort,reset:this._onCollectionReset,update:this._onCollectionUpdate})},_onCollectionSort:function(t,r){var n=r.add,i=r.merge,a=r.remove;!this.sortWithCollection||this.viewComparator===!1||n||a||i||this.sort()},_onCollectionReset:function(){this._destroyChildren(),this._addChildModels(this.collection.models),this.sort()},_onCollectionUpdate:function(t,r){var n=r.changes,i=n.removed.length&&this._removeChildModels(n.removed);this._addedViews=n.added.length&&this._addChildModels(n.added),this._detachChildren(i),this.sort(),this._removeChildViews(i)},_removeChildModels:function(t){var r=this;return tt.reduce(t,function(n,i){var a=r._removeChildModel(i);return a&&n.push(a),n},[])},_removeChildModel:function(t){var r=this._children.findByModel(t);return r&&this._removeChild(r),r},_removeChild:function(t){this.triggerMethod("before:remove:child",this,t),this.children._remove(t),this._children._remove(t),this.triggerMethod("remove:child",this,t)},_addChildModels:function(t){return tt.map(t,this._addChildModel.bind(this))},_addChildModel:function(t){var r=this._createChildView(t);return this._addChild(r),r},_createChildView:function(t){var r=this._getChildView(t),n=this._getChildViewOptions(t),i=this.buildChildView(t,r,n);return i},_addChild:function(t,r){this.triggerMethod("before:add:child",this,t),this._setupChildView(t),this._children._add(t,r),this.children._add(t,r),this.triggerMethod("add:child",this,t)},_getChildView:function(t){var r=this.childView;if(!r)throw new Pa({name:vd,message:'A "childView" must be specified',url:"marionette.collectionview.html#collectionviews-childview"});if(r=this._getView(r,t),!r)throw new Pa({name:vd,message:'"childView" must be a view class or a function that returns a view class',url:"marionette.collectionview.html#collectionviews-childview"});return r},_getView:function(t,r){if(t.prototype instanceof oa.View||t===oa.View)return t;if(tt.isFunction(t))return t.call(this,r)},_getChildViewOptions:function(t){return tt.isFunction(this.childViewOptions)?this.childViewOptions(t):this.childViewOptions},buildChildView:function(t,r,n){var i=tt.extend({model:t},n);return new r(i)},_setupChildView:function(t){ly(t),t.on("destroy",this.removeChildView,this),this._proxyChildViewEvents(t)},_getImmediateChildren:function(){return this.children._views},setElement:function(){return oa.View.prototype.setElement.apply(this,arguments),this._isAttached=this._isElAttached(),this},render:function(){if(this._isDestroyed)return this;this.triggerMethod("before:render",this),this._destroyChildren(),this.collection&&(this._addChildModels(this.collection.models),this._initialEvents());var t=this.getTemplate();return t&&(this._renderTemplate(t),this.bindUIElements()),this._getChildViewContainer(),this.sort(),this._isRendered=!0,this.triggerMethod("render",this),this},_getChildViewContainer:function(){var t=tt.result(this,"childViewContainer");if(this.$container=t?this.$(t):this.$el,!this.$container.length)throw new Pa({name:vd,message:'The specified "childViewContainer" was not found: '.concat(t),url:"marionette.collectionview.html#defining-the-childviewcontainer"})},sort:function(){return this._sortChildren(),this.filter(),this},_sortChildren:function(){if(this._children.length){var t=this.getComparator();t&&(delete this._addedViews,this.triggerMethod("before:sort",this),this._children._sort(t,this),this.triggerMethod("sort",this))}},setComparator:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.preventRender,i=this.viewComparator!==t,a=i&&!n;return this.viewComparator=t,a&&this.sort(),this},removeComparator:function(t){return this.setComparator(null,t)},getComparator:function(){return this.viewComparator?this.viewComparator:!this.sortWithCollection||this.viewComparator===!1||!this.collection?!1:this._viewComparator},_viewComparator:function(t){return this.collection.indexOf(t.model)},filter:function(){return this._isDestroyed?this:(this._filterChildren(),this._renderChildren(),this)},_filterChildren:function(){var t=this;if(this._children.length){var r=this._getFilter();if(!r){var n=this.children.length!==this._children.length;this.children._set(this._children._views,n);return}delete this._addedViews,this.triggerMethod("before:filter",this);var i=[],a=[];tt.each(this._children._views,function(o,u,s){(r.call(t,o,u,s)?i:a).push(o)}),this._detachChildren(a),this.children._set(i,!0),this.triggerMethod("filter",this,i,a)}},_getFilter:function(){var t=this.getFilter();if(!t)return!1;if(tt.isFunction(t))return t;if(tt.isObject(t)){var r=tt.matches(t);return function(n){return r(n.model&&n.model.attributes)}}if(tt.isString(t))return function(n){return n.model&&n.model.get(t)};throw new Pa({name:vd,message:'"viewFilter" must be a function, predicate object literal, a string indicating a model attribute, or falsy',url:"marionette.collectionview.html#defining-the-viewfilter"})},getFilter:function(){return this.viewFilter},setFilter:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.preventRender,i=this.viewFilter!==t,a=i&&!n;return this.viewFilter=t,a&&this.filter(),this},removeFilter:function(t){return this.setFilter(null,t)},_detachChildren:function(t){tt.each(t,this._detachChildView.bind(this))},_detachChildView:function(t){var r=t._isAttached&&this.monitorViewEvents!==!1;r&&t.triggerMethod("before:detach",t),this.detachHtml(t),r&&(t._isAttached=!1,t.triggerMethod("detach",t)),t._isShown=!1},detachHtml:function(t){this.Dom.detachEl(t.el,t.$el)},_renderChildren:function(){this._hasUnrenderedViews&&(delete this._addedViews,delete this._hasUnrenderedViews);var t=this._addedViews||this.children._views;if(this.triggerMethod("before:render:children",this,t),this.isEmpty())this._showEmptyView();else{this._destroyEmptyView();var r=this._getBuffer(t);this._attachChildren(r,t)}delete this._addedViews,this.triggerMethod("render:children",this,t)},_getBuffer:function(t){var r=this,n=this.Dom.createBuffer();return tt.each(t,function(i){_ie(i),i._isShown=!0,r.Dom.appendContents(n,i.el,{_$contents:i.$el})}),n},_attachChildren:function(t,r){var n=this._isAttached&&this.monitorViewEvents!==!1;r=n?r:[],tt.each(r,function(i){i._isAttached||i.triggerMethod("before:attach",i)}),this.attachHtml(t,this.$container),tt.each(r,function(i){i._isAttached||(i._isAttached=!0,i.triggerMethod("attach",i))})},attachHtml:function(t,r){this.Dom.appendContents(r[0],t,{_$el:r})},isEmpty:function(){return!this.children.length},_showEmptyView:function(){var t=this._getEmptyView();if(t){var r=this._getEmptyViewOptions(),n=this.getEmptyRegion();n.show(new t(r))}},_getEmptyView:function(){var t=this.emptyView;if(t)return this._getView(t)},_destroyEmptyView:function(){var t=this.getEmptyRegion();t.hasView()&&t.empty()},_getEmptyViewOptions:function(){var t=this.emptyViewOptions||this.childViewOptions;return tt.isFunction(t)?t.call(this):t},swapChildViews:function(t,r){if(!this._children.hasView(t)||!this._children.hasView(r))throw new Pa({name:vd,message:"Both views must be children of the collection view to swap.",url:"marionette.collectionview.html#swapping-child-views"});return this._children._swap(t,r),this.Dom.swapEl(t.el,r.el),this.children.hasView(t)!==this.children.hasView(r)?this.filter():this.children._swap(t,r),this},addChildView:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t||t._isDestroyed)return t;if(t._isShown)throw new Pa({name:vd,message:"View is already shown in a Region or CollectionView",url:"marionette.region.html#showing-a-view"});if(tt.isObject(r)&&(n=r),n.index!=null&&(r=n.index),this._isRendered||this.render(),this._addChild(t,r),n.preventRender)return this._hasUnrenderedViews=!0,t;var i=typeof r<"u",a=!i||r>=this._children.length;return a&&!this._hasUnrenderedViews&&(this._addedViews=[t]),i?this._renderChildren():this.sort(),t},detachChildView:function(t){return this.removeChildView(t,{shouldDetach:!0}),t},removeChildView:function(t,r){return t&&(this._removeChildView(t,r),this._removeChild(t),this.isEmpty()&&this._showEmptyView(),t)},_removeChildViews:function(t){tt.each(t,this._removeChildView.bind(this))},_removeChildView:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.shouldDetach;t.off("destroy",this.removeChildView,this),n?this._detachChildView(t):this._destroyChildView(t),this.stopListening(t)},_destroyChildView:function(t){if(!t._isDestroyed){var r=this.monitorViewEvents===!1;Sie(t,r)}},_removeChildren:function(){this._destroyChildren();var t=this.getEmptyRegion();t.destroy(),delete this._addedViews},_destroyChildren:function(){this._children.length&&(this.triggerMethod("before:destroy:children",this),this.monitorViewEvents===!1&&this.Dom.detachContents(this.el,this.$el),this._removeChildViews(this._children._views),this._children._init(),this.children._init(),this.triggerMethod("destroy:children",this))}},{setDomApi:BD,setRenderer:wie});tt.extend(owe.prototype,HD);var swe=["collectionEvents","events","modelEvents","triggers","ui"],bie=function(t,r){this.view=r,this._setOptions(t,swe),this.cid=tt.uniqueId(this.cidPrefix),this.ui=tt.extend({},tt.result(this,"ui"),tt.result(r,"ui")),this.listenTo(r,"all",this.triggerMethod),this.initialize.apply(this,arguments)};bie.extend=$p;tt.extend(bie.prototype,wh,vie,gie,mie,{cidPrefix:"mnb",initialize:function(){},$:function(){return this.view.$.apply(this.view,arguments)},destroy:function(){return this.stopListening(),this.view._removeBehavior(this),this._deleteEntityEventHandlers(),this},proxyViewProperties:function(){return this.$el=this.view.$el,this.el=this.view.el,this},bindUIElements:function(){return this._bindUIElements(),this},unbindUIElements:function(){return this._unbindUIElements(),this},getUI:function(t){return this._getUI(t)},delegateEntityEvents:function(){return this._delegateEntityEvents(this.view.model,this.view.collection),this},undelegateEntityEvents:function(){return this._undelegateEntityEvents(this.view.model,this.view.collection),this},_getEvents:function(){var t=this;if(this.events){var r=this.normalizeUIKeys(tt.result(this,"events"));return tt.reduce(r,function(n,i,a){return tt.isFunction(i)||(i=t[i]),i&&(a=pie(a,t.cid),n[a]=i.bind(t)),n},{})}},_getTriggers:function(){if(this.triggers){var t=this.normalizeUIKeys(tt.result(this,"triggers"));return this._getViewTriggers(this.view,t)}}});var uwe=["channelName","radioEvents","radioRequests","region","regionClass"],$_=function(t){this._setOptions(t,uwe),this.cid=tt.uniqueId(this.cidPrefix),this._initRegion(),this._initRadio(),this.initialize.apply(this,arguments)};$_.extend=$p;tt.extend($_.prototype,wh,fie,die,{cidPrefix:"mna",initialize:function(){},start:function(t){return this.triggerMethod("before:start",this,t),this.triggerMethod("start",this,t),this},regionClass:Df,_initRegion:function(){var t=this.region;if(t){var r={regionClass:this.regionClass};this._region=Eie(t,r)}},getRegion:function(){return this._region},showView:function(t){for(var r=this.getRegion(),n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];return r.show.apply(r,[t].concat(i)),t},getView:function(){return this.getRegion().currentView}});var F_=(e=>(e[e.Ok=200]="Ok",e[e.NoContent=204]="NoContent",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.Conflict=409]="Conflict",e[e.InternalServer=500]="InternalServer",e))(F_||{}),II=(e=>(e[e.Information=1]="Information",e[e.Success=2]="Success",e[e.Redirect=3]="Redirect",e[e.ClientError=4]="ClientError",e[e.ServerError=5]="ServerError",e))(II||{});class Tie extends Error{constructor(t){super(t)}}class j_ extends Tie{get name(){return"SilentError"}}class Da extends Error{get name(){return"CoreError"}}const vr={throw(e){if($r.Radio.channel($n.SHELL).trigger(Fn.ERROR,e),!(e instanceof j_))throw e},isStatusCodeError(e){var r;const t=+((r=e==null?void 0:e.toString())==null?void 0:r.substr(0,1));return t===II.ClientError||t===II.ServerError}};function vc(e,t,r,n){let i=e;return typeof e=="string"&&(i=$r.Radio.channel(e)),n.call(this,i,t,r)}class lwe extends $_{get defaultProps(){return["shell","layoutService"]}constructor(t){super(t),this.mergeOptions(t,[...this.defaultProps,...this.props||[]]),tt.result(this,"name")||vr.throw(new Da("BaseApplication must define a name")),tt.result(this,"channelName")||vr.throw(new Da("BaseApplication must define a channelName")),this.listenTo(this.getGlobalRadioChannel("popup"),Fn.SHOW_POPUP,this.onShowPopup),this.listenTo(this.getGlobalRadioChannel("alert"),"show:alert",this.onShowAlert)}getGlobalRadioChannel(t){const n=this.shell.getGlobalRadioChannels()[t.toUpperCase()];return n||vr.throw(new Da(`Global channel ${n} does not exist`)),$r.Radio.channel(n)}onLoadLayout(){if(!this.layoutOptions||!this.layoutOptions.name)return;const t=tt.extend({},this.layoutOptions.options||{},{store:this.shell.store});this.layout=this.layoutService.getLayout(tt.extend(this.layoutOptions,{options:t})),this.layout||vr.throw(new Da(`Layout: ${this.layoutOptions.name} does not exist or was not registered`)),this.shell.showView(this.layout),this.triggerMethod("layout:loaded")}onShowPopup(t){this.layout.getRegion("popup")||vr.throw(new Da("Your application layout must define a popup region")),this.layout.showChildView("popup",t)}onShowAlert(t){const{ctor:r,collection:n}=t,i=this.layout.getRegion("alert");if(!i){vr.throw(new Da("Your application layout must define an alert region"));return}i.hasView()||this.layout.showChildView("alert",new r({collection:n}))}setDefaultQueryParams(t){this.defaultQueryParams&&(t=tt.extend(this.defaultQueryParams,t)),this.defaultQueryParams=t}getAndClearDefaultQueryParams(){const t=this.defaultQueryParams;return delete this.defaultQueryParams,t||{}}listenTo(...t){return vc.call(this,t[0],t[1],t[2],super.listenTo)}}/**
47
- * @license
48
- * MarionetteJS (Marionette.AppRouter)
49
- * ----------------------------------
50
- * v1.0.1
51
- *
52
- * Copyright (c)2018 Derick Bailey, Muted Solutions, LLC.
53
- * Distributed under MIT license
54
- *
55
- * http://marionettejs.com
56
- */var cwe=["triggerMethod","normalizeMethods","_setOptions","mergeOptions","getOption","bindEvents","unbindEvents"],fwe=["appRoutes","controller"],Rie=oa.Router.extend({constructor:function(t){this._setOptions(t),this.mergeOptions(t,fwe),oa.Router.apply(this,arguments);var r=this.appRoutes,n=this._getController();this.processAppRoutes(n,r),this.on("route",this._processOnRoute,this)},appRoute:function(t,r){var n=this._getController();return this._addAppRoute(n,t,r),this},_processOnRoute:function(t,r){if(tt.isFunction(this.onRoute)){var n=tt.invert(this.appRoutes)[t];this.onRoute(t,n,r)}},processAppRoutes:function(t,r){var n=this;if(!r)return this;var i=tt.keys(r).reverse();return tt.each(i,function(a){n._addAppRoute(t,a,r[a])}),this},_getController:function(){return this.controller},_addAppRoute:function(t,r,n){var i=t[n];if(!i)throw new Error('Method "'+n+'" was not found on the controller');this.route(r,n,tt.bind(i,t))}});tt.extend(Rie.prototype,tt.pick(Pf.prototype,cwe));class Md{constructor(){this.stack=[]}useAsync(t){const r=n=>(i,a)=>n(i,o=>t(o,a));this.goAsync=r(this.goAsync)}goAsync(t,r){r(t)}useSync(t){this.stack.push(t)}goSync(t){let r=t;for(const n of this.stack)r=n(r);return r}}const dwe=/([A-Z])/g,hwe=/(^|:)(\w)/gi;class au extends Rie{constructor(t){super(t)}processAppRoutes(t){super.processAppRoutes.call(this,t,null)}async _initRoutes(){const t=new Md,r=this.options.shell.routeMiddleware,n=this.appRoutes;return tt.each(r,t.useAsync,t),new Promise(i=>{if(!r||!r.length)return i(n);t.goAsync({appRoutes:n,shell:this.options.shell},a=>i(a.appRoutes))})}_processAppRoutes(t){super.processAppRoutes.call(this,this.controller,t),this._appRoutes=t}_buildRouteLookup(){const t=this.appRoutes??{},r=this._appRoutes??{},n=Object.entries(t).reduce((a,[o,u])=>({...a,[u]:o}),{}),i=Object.entries(r).reduce((a,[o,u])=>({...a,[u]:o}),{});this._routeLookup={baseRoutes:{...this.appRoutes,...n},modifiedRoutes:{...this._appRoutes,...i}}}async start(){const t=await this._initRoutes();this._processAppRoutes(t),this._buildRouteLookup(),this.bindDisposal(),this.processInternalRoutes(),this.processExternalRoutes(),this.processAppLinks()}_processOnRoute(t,r){if(tt.isFunction(this.onRoute)){const n=tt.invert(this._appRoutes)[t];this.onRoute(t,n,r)}}bindDisposal(){this.listenTo($n.SHELL,Fn.ROUTE,t=>{t.application!==this.channelName&&this.destroyApp()})}_executeAppLinkMiddleware(t,r){const n=new Md;return tt.each(t,n.useSync,n),!t||!t.length?r.appLink:n.goSync(r).appLink}addRouteLookup(t,r){this.options.shell.addRouteLookup(`${this.channelName}:${t}`,(n,i,a)=>{const u={appLink:{application:this.channelName,action:t,args:n,params:i},appLinkOptions:a,currentRoute:r,routeLookup:this._routeLookup},s=this._executeAppLinkMiddleware(this.options.shell.onBeforeExecuteAppLinkMiddleware,u),c=this.toMethodName(s.action),d=this._routeLookup.modifiedRoutes[c];return Kn.buildRoute(d??r,s,a)})}processInternalRoutes(){tt.each(tt.keys(this._appRoutes),t=>{const r=this._appRoutes[t],n=this.toEventName(r);this.addRouteLookup(n,t),this.listenTo(this.channelName,n,(i,a)=>{(!a||!a.usedHelper)&&vr.throw(new Da("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks."));const o={appLink:i,appLinkOptions:a,currentRoute:t,routeLookup:this._routeLookup},u=this._executeAppLinkMiddleware(this.options.shell.onBeforeExecuteAppLinkMiddleware,o),s=this.toMethodName(u.action),c=this._routeLookup.modifiedRoutes[s];this.executeRoute(u,{isAppRoute:!0,route:c??t},d=>{const h=tt.extend({},this.controller.getAndClearDefaultQueryParams(),d.params);d.params=h,Yn.UpdateUrl(c??t,d,a)})})})}triggerNavLocked(t,r){t.trigger(Fn.NAV_IS_LOCKED,r),es.routingEnded()}processExternalRoutes(){this.externalRoutes&&tt.each(tt.keys(this.externalRoutes),t=>{const r=this.externalRoutes[t],n=this.toEventName(r);this.addRouteLookup(n,t),this.listenTo(this.channelName,n,(i,a)=>{(!a||!a.usedHelper)&&vr.throw(new Da("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks."));const o=$r.Radio.channel($n.SHELL);if(this.options.shell.isNavLocked()){this.triggerNavLocked(o,i);return}Yn.PageLoad(Kn.getHref(i))})})}processAppLinks(){this.appLinks&&tt.each(this.appLinks,t=>{const r=this.toEventName(t);this.listenTo(this.channelName,r,(n,i)=>{(!i||!i.usedHelper)&&vr.throw(new Da("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks.")),this.executeRoute(n,{isAppRoute:!1,route:null})})})}executeRoute(t,r,n){this.validateAppLink(t),es.routingStarted();const i=$r.Radio.channel($n.SHELL);if(this.options.shell.isNavLocked()){this.triggerNavLocked(i,t);return}const a={appLink:t,currentRoute:r.route,routeLookup:this._routeLookup},o=this._executeAppLinkMiddleware(this.options.shell.onExecuteAppLinkMiddleware,a),u=this.toMethodName(o.action),s=new Md;tt.each(this.filters,c=>s.useAsync(c)),s.goAsync({appLink:o,shell:this.options.shell},()=>{i.trigger(Fn.ROUTE,o,r),this.createApp();const c=this.controller;if(tt.isFunction(c[u])||(es.routingEnded(),vr.throw(new Da(`${u} does not exist on the ${tt.result(c,"name")}.`))),c.triggerMethod("before:action",t)===!1){c.triggerMethod("action:cancelled"),es.routingEnded();return}c.triggerMethod("load:layout");const d={appLink:o,currentRoute:r.route,routeLookup:this._routeLookup},h=this._executeAppLinkMiddleware(this.options.shell.onAfterExecuteAppLinkMiddleware,d);c[u].apply(c,[...h.args||[],h.params||{}]),tt.isFunction(n)&&n(o),es.routingEnded()})}createApp(){this.controller||(this.controller=new this.options.appConstructor(this.options.appOptions),this.controller.start())}destroyApp(){if(!this.controller)return;this.controller.destroy(),delete this.controller}_addAppRoute(t,r,n){this.route(r,n,(...i)=>{const a={application:this.channelName,action:this.toEventName(n),args:i.slice(0,i.length-1),params:Yn.DeserializeQueryParams(i[i.length-1])};this.executeRoute(a,{isAppRoute:!0,route:r},()=>{Yn.UpdateQuery(tt.extend(this.controller.getAndClearDefaultQueryParams(),a.params))})})}toEventName(t){return t.replace(dwe,":$1").toLowerCase()}toMethodName(t){const r=t.replace(hwe,(n,i,a)=>a.toUpperCase());return r[0].toLowerCase()+r.slice(1,r.length)}validateAppLink(t){(!t.application||!t.action)&&(es.routingEnded(),vr.throw(new Da("Invalid AppLink")))}listenTo(...t){return vc.call(this,t[0],t[1],t[2],super.listenTo)}}class U_ extends $r.Collection{listenTo(...t){return vc.call(this,t[0],t[1],t[2],super.listenTo)}}class On extends Tie{get name(){return"DevError"}}class vwe{constructor(){this.variables={}}static get Instance(){return this.instance||(this.instance=new this)}get name(){return"EnvironmentVariables"}get isDevelopment(){return this.variables.isDevelopment}get(t){return this.variables[t]}setUpVariables(t){this.variables=t}}const q_=vwe.Instance;function pwe(e,t){for(;e;){const r=Object.getOwnPropertyDescriptor(e,t);if(r)return r;e=Object.getPrototypeOf(e)}return null}const gwe=["model","collection","el","id","attributes","className","tagName","events"];$r.View.prototype.constructor=function(e){this.cid=tt.uniqueId("view");const t=gwe.filter(r=>{var n;return!((n=pwe(this,r))!=null&&n.get)});tt.extend(this,tt.pick(e,t)),this._ensureElement(),this.initialize.call(this,e)};const Nd=class Nd extends zD{get defaultProps(){return["shell","layoutService"]}_setOptions(t){this.options=tt.extend({},tt.result(this,"defaults"),t)}_setAttributes(t){q_.isDevelopment&&tt.extend(t,{"cv-classname":this.name}),this.$el.attr(t)}get elements(){return null}get ui(){return this.uiStorage?this.uiStorage:(this.uiStorage=this.elements,this.uiStorage)}set ui(t){this.uiStorage=t}constructor(t){super(t);const r=[...this.defaultProps,...this.props||[]];this.mergeOptions(t,r),tt.result(this,"name")||vr.throw(new Da(`Error: View with cid:${this.cid} requires a name.`))}static AddViewDataExtension(t){Nd.ViewDataExtensions.push(t)}serializeModel(){return this.model?this.model.toJSON():{}}serializeCollection(){return this.collection?this.collection.toJSON():[]}resetClassName(){this.$el.attr("class",tt.result(this,"className"))}serializeData(){const t=super.serializeData(),r=tt.result(this,"viewOptions"),n=tt.extend({},t,{options:r});return Nd.ViewDataExtensions.length?tt.extend(n,...tt.map(Nd.ViewDataExtensions,i=>i instanceof Function?i(this):i)):n}viewOptions(){return this.options}undelegateAppLinks(){this.$el&&this.$el.off(`.appLinks${this.cid}`)}renderAppLinks(){let t=this.appLinks;t&&(t=this.normalizeUIKeys(t),this.undelegateAppLinks(),tt.each(tt.keys(t),r=>{let n=r;const i=t[r],a=Kn.getHref(i);n==="[this]"&&(n=null);const o=n?this.$el.find(r):this.$el;!o.is("a")&&!o.is("button")||(a&&a!=="/"&&o.attr("href",a),this.delegate(`click.appLinks${this.cid}`,n,function(u){u.preventDefault(),Kn.trigger(i)}))}))}hasPartialLoadingRegions(){const t=this;return t._hasPartialLoadingRegions!==void 0||(t._hasPartialLoadingRegions=tt.some(t.regions,(r=>tt.has(r,"partialLoading")))),t._hasPartialLoadingRegions}renderPartialLoading(t){$r.Radio.channel($n.SHELL).trigger("render:partial:loading",this,t)}getTemplate(){var t;return this.template||((t=this.options)==null?void 0:t.template)}listenTo(...t){return vc.call(this,t[0],t[1],t[2],super.listenTo)}render(){const t=this;if(t._isDestroyed)return this;const r=this.getTemplate();if(!r)return this;let n=this.processRequriedResources(!0);return n&&(n=t.triggerMethod("before:render",this)),n!==!1&&(n=!0),n=n&&this.processRequriedResources(!1),n===!1?t._partialLoadingRendered||!t.hasPartialLoadingRegions()?this:(t._partialLoadingRendered=!0,t._reInitRegions(),t._renderTemplate(r),t.renderPartialLoading(),this):((t._isRendered||t._partialLoadingRendered)&&t._reInitRegions(),this.setTitle(),t._renderTemplate(r),t.bindUIElements(),this.renderAppLinks(),t._partialLoadingRendered=!1,t._isRendered=!0,t.triggerMethod("render",this),this)}processRequriedResources(t){return!0}setTitle(){}};Nd.ViewDataExtensions=[];let PI=Nd;class mwe extends PI{constructor(t){super(t),this.boundListeners={},this.resourceInstances={}}processRequriedResources(t){const r=tt.keys(this.requiredResources);if(!r.length)return!0;const n=this;let i=!0;return tt.each(r,a=>{const o=this.requiredResources[a];if(o.beforeOnBeforeRender!==t)return;const u=o.dataServiceName;this.resourceInstances[u]||(this.resourceInstances[u]=o.getInstance(this)),this.boundListeners[`${u}:${o.eventName}`]||(this.listenTo(this.resourceInstances[u].channelName,o.eventName,this.render),this.boundListeners[`${u}:${o.eventName}`]=!0),n[a]=o.getData(this.resourceInstances[u]),i=i&&!!n[a]}),i}setTitle(){!tt.isString(this.title)&&this.title!==!1&&vr.throw(new On(`Must define a title for ${this.name}.`)),$r.Radio.channel($n.SHELL).trigger("set:page:title",this.title)}}class ywe extends mwe{constructor(t){super(t)}static getCacheKey(t){vr.throw(new On(`Must define getCacheKey for ${this.name}.`))}unmountRegion(t){this.trigger(`unmount:${t}`)}}class ul extends $r.Model{mixin(t){const r=this;for(const n in t){if(r.hasOwnProperty(n)){const i=r[n];r[n]=ko({},i,t[n]);return}r[n]=t[n]}}addValidation(t){this.mixin({validation:t})}validate(t,r){super.validate.call(this,t,r)}listenTo(...t){return vc.call(this,t[0],t[1],t[2],super.listenTo)}}class GW extends ul{set(t,r,n){let i,a;if(t===null)return this;typeof t=="object"?(a=t,n=r):(a={},a[t]=r),n||(n={});for(i in a)uy(this.associations,i)&&(a[i]=this.setAssociation(i,a[i],n));return super.set.call(this,a,n)}get(t){const r=t.indexOf(".");if(r===-1)return super.get.call(this,t);const n=t.substr(0,r),i=this.attributes[n];if(!i||!on(i.get))return super.get.call(this,t);const a=t.substr(r+1);return i.get(a)}setAssociation(t,r,n){const i=this.associations[t],a=this.attributes[t];if(!on(i))return r;if(n.unset)return a&&delete a.parent,delete this[t],a;if(a)return a instanceof ul&&a.set(r,n),a instanceof U_&&a.set(r,n),n.silent||this.trigger(`change:${t}`,this,r,n),a;const o=r instanceof ul?r:new i(r,{parse:!0});return o.parent=this,this[t]=o,o}toJSON(...t){const r=super.toJSON.apply(this,t);return Ja(this.associations,(n,i)=>{uy(r,i)&&on(r[i].toJSON)?r[i]=r[i].toJSON():r[i]=new n().toJSON()}),r}toFlatJSON(...t){return L_(super.toJSON.apply(this,t),sa(this.associations))}}class Ho extends Pf{constructor(t){super(t),this.name||vr.throw(new Da("Your service must be named."))}listenTo(...t){return vc.call(this,t[0],t[1],t[2],super.listenTo)}}class _we extends Pf{constructor(t){super(t),this.layouts={},this.requiredRegions=t.requiredRegions}clearLayout(){this.currentLayout&&(this.currentLayout.destroy(),delete this.currentLayout,delete this.currentLayoutCacheKey)}registerLayout(t,r){return this.checkRequiredRegions(r),this.layouts[t]=r,this}getLayout(t){const{name:r,options:n={}}=t;this.layouts[r]||vr.throw(new Da(`${r} was not registered as a template.`));const i=this.layouts[r].getCacheKey(n);return this.currentLayoutCacheKey===i&&this.currentLayout?(this.currentLayout.triggerMethod("layout:requested",n),this.currentLayout):(this.clearLayout(),this.currentLayoutCacheKey=i,this.currentLayout=new this.layouts[r](n),this.listenToOnce(this.currentLayout,"destroy",this.clearLayout),this.currentLayout)}checkRequiredRegions(t){Ja(this.requiredRegions,r=>{uy(Dv(t.prototype,"regions"),r)||vr.throw(new Da(`Layout: ${t.prototype.name} must define an ${r} region.`))})}listenTo(...t){return vc.call(this,t[0],t[1],t[2],super.listenTo)}}class Swe{constructor(t,r){this.application=t,this.options=r||{}}get Application(){return this.application}get Options(){return this.options}}class Ewe extends $_{constructor(){super(...arguments),this.routeMiddleware=[],this.onBeforeExecuteAppLinkMiddleware=[],this.onExecuteAppLinkMiddleware=[],this.onAfterExecuteAppLinkMiddleware=[]}initialize(t){this.mergeOptions(t,["layoutService"]),this.applications=[],this.routeLookup={},this.shellState={navLock:!1,activeRoute:!1,currentAppLink:null},this.errorHandlers=[]}bindListeners(){this.bindRouteLookup(),this.bindNavLockListeners(),this.bindAppLinkListeners(),this.bindErrorHandlers(),this.bindErrorListener()}bindNavLockListeners(){this.listenTo($n.SHELL,Fn.LOCK_NAV,()=>this.shellState.navLock=!0),this.listenTo($n.SHELL,Fn.UNLOCK_NAV,()=>this.shellState.navLock=!1)}bindAppLinkListeners(){this.listenTo($n.SHELL,Fn.ROUTING_START,()=>this.shellState.activeRoute=!0),this.listenTo($n.SHELL,Fn.ROUTING_END,()=>this.shellState.activeRoute=!1),this.listenTo($n.SHELL,Fn.ROUTE,r=>this.shellState.currentAppLink=r);const t=$r.Radio.channel($n.SHELL);t.reply(Fn.HAS_ACTIVE_ROUTE,tt.bind(this.hasActiveRoute,this)),t.reply(Fn.CURRENT_ROUTE,()=>this.shellState.currentAppLink)}bindErrorHandlers(){window.addEventListener("error",()=>{es.routingEnded()})}bindErrorListener(){const t=$r.Radio.channel($n.SHELL);this.listenTo(t,Fn.ERROR,this.handleError)}bindRouteLookup(){$r.Radio.channel($n.SHELL).reply(Fn.ROUTE_LOOKUP,(r,n,i,a)=>this.routeLookup[r]?this.routeLookup[r](n,i,a):!1,this)}addRouteLookup(t,r){this.routeLookup[t]=r}registerApplication(t,r){return this.applications.push(new Swe(t,r)),this}getGlobalRadioChannels(){return $n}isNavLocked(){return this.shellState.navLock}start(t){t||(t={}),this.runInitializationSteps(this,()=>{this.runStartUpSteps(this,t,()=>{super.start(t)})})}hasActiveRoute(){return this.shellState.activeRoute}async onStart(){const t=tt.map(this.applications,r=>{const n={appConstructor:r.Application,shell:this,appOptions:{region:"",shell:this,layoutService:this.layoutService,...r.Options}};return new r.Application.router(n)});await Promise.all(t.map(r=>r.start())),this.bindListeners(),Yn.StartHistory()}addInitializationStep(t){return this.runInitializationSteps=(r=>(n,i)=>r(n,()=>t(n,i)))(this.runInitializationSteps),this}runInitializationSteps(t,r){r(t)}addStartUpStep(t){return this.runStartUpSteps=(r=>(n,i,a)=>r(n,i,()=>t(n,i,a)))(this.runStartUpSteps),this}runStartUpSteps(t,r,n){n(t,r)}registerLayout(t,r){return this.layoutService.registerLayout(t,r),this}registerErrorHandler(t,r){return t||vr.throw(new Da("An error must have a name in order to register a handler for it.")),tt.any(this.errorHandlers,n=>n.errorType===t)&&vr.throw(new Da(`An error handler for ${t.prototype.name} has already been defined.`)),this.errorHandlers.push({errorType:t,handler:r}),this}handleError(t){const r=tt.find(this.errorHandlers,n=>t instanceof n.errorType);r&&r.handler&&r.handler(t)}registerStore(t){this.store=t}registerRouteMiddleware(t){return this.routeMiddleware.push(t),this}registerAppLinkMiddleware(t,r){return t==="onBeforeExecute"&&this.onBeforeExecuteAppLinkMiddleware.push(r),t==="onExecute"&&this.onExecuteAppLinkMiddleware.push(r),t==="onAfterExecute"&&this.onAfterExecuteAppLinkMiddleware.push(r),this}listenTo(...t){return vc.call(this,t[0],t[1],t[2],super.listenTo)}}class wwe extends Ho{constructor(){super(),this.constructors={},this.destructors={},this.instances={},this.singletonInstances={},this.referenceCounts={}}get name(){return"InstanceManager"}static get Instance(){return this.instance||(this.instance=new this)}registerDataService(t,r){this.validateConstructor(t);const n=t.prototype.name;return this.referenceCounts[n]=0,this.constructors[n]=()=>new t({dataProvider:this.getInstance(r.dataProvider),cache:this.getInstance(r.cache),bootstrapData:r.bootstrapData,defaultErrorHandler:r.defaultErrorHandler,alertService:r.alertService}),this.destructors[n]=()=>{this.instances[n]?this.instances[n].destroy():vr.throw(new On(`Trying to destroy a ${n} instance that has already been destroyed`)),this.releaseInstance(r.dataProvider),this.releaseInstance(r.cache)},this}registerInstance(t,r){this.validateConstructor(t);const n=t.prototype.name;return this.referenceCounts[n]=0,this.constructors[n]=()=>new t(r),this.destructors[n]=()=>on(this.instances[n].destroy)&&this.instances[n].destroy(),this}registerSingleton(t){const r=t.name;return this.singletonInstances[r]=t,this}getInstance(t,r){return this.singletonInstances[t]?this.singletonInstances[t]:(this.constructors[t]||vr.throw(new On(`${t} was not registered with ${this.name}`)),this.referenceCounts[t]++,r&&this.listenTo(r,"destroy",()=>this.releaseInstance(t)),this.instances[t]||(this.instances[t]=this.constructors[t]()),this.instances[t])}releaseInstance(t){if(this.instances[t])return window.setTimeout(()=>{this.referenceCounts[t]--,this.referenceCounts[t]<1&&(this.destructors[t](),delete this.instances[t])},0),this}validateConstructor(t){const r=t.prototype.name;r||vr.throw(new On(`Classes registered with ${this.name} must have a unique name property.`)),this.constructors[r]&&vr.throw(new On(`A class with the name: ${r} has already been registered with ${this.name}`))}}const Qs=wwe.Instance,ho={API_REQUEST:"API_REQUEST",API_RESPONSE:"API_RESPONSE",API_ERROR:"API_ERROR",INVALIDATE:"INVALIDATE",UPDATE:"UPDATE"};var Tu=(e=>(e.None="None",e.Fetching="Fetching",e.Success="Success",e.Error="Error",e))(Tu||{}),bwe=Qre();const dy=jn(bwe);var fn=(e=>(e.GET="GET",e.POST="POST",e.PUT="PUT",e.DELETE="DELETE",e))(fn||{});function YW(e){const{getResponseHeader:t,responseJSON:r,status:n}=e;return{getResponseHeader:t,responseJSON:r,status:n}}const Twe=[fn.POST,fn.PUT];function DI(e){const{resource:t,type:r,headers:n,success:i,error:a,always:o}=e,u={url:t,method:r,contentType:"application/json; charset=utf-8"};Twe.includes(r)&&e.data&&(u.data=JSON.stringify(e.data)),n&&(u.headers=n),dy.ajax(u).done((s,c,d)=>{i&&i(s,YW(d))}).fail(s=>{a&&a(YW(s))}).always(()=>{o&&o()})}const xie="id";function lR(e,t={}){const{idAttribute:r=xie,namespace:n=""}=t;return`${n}__${e[r]}`}function Cie(e,t,r,n={}){const{idAttribute:i=xie}=n,a={...e};if(r.has(e))return e[i]?lR(e,n):a;if(r.add(e),Object.keys(e).forEach(o=>{const u=e[o];if(u){if(Array.isArray(u)){a[o]=u.map(s=>WD(s,t,r,n));return}if(typeof u=="object"){const s=Cie(u,t,r,n);u[i]?a[o]=lR(u,n):a[o]=s}}}),e[i]){const o=lR(e,n);return t[o]?t[o]={...t[o],...a}:t[o]=a,o}return a}function WD(e,t,r,n={}){return e&&(Array.isArray(e)?e.map(i=>WD(i,t,r,n)):typeof e=="object"?Cie(e,t,r,n):e)}function Aie(e,t){const r={};return{result:WD(e,r,new Set,t),entities:r}}var cR,KW;function Rwe(){if(KW)return cR;KW=1;function e(){this.__data__=[],this.size=0}return cR=e,cR}var fR,XW;function Oie(){if(XW)return fR;XW=1;function e(t,r){return t===r||t!==t&&r!==r}return fR=e,fR}var dR,QW;function V_(){if(QW)return dR;QW=1;var e=Oie();function t(r,n){for(var i=r.length;i--;)if(e(r[i][0],n))return i;return-1}return dR=t,dR}var hR,JW;function xwe(){if(JW)return hR;JW=1;var e=V_(),t=Array.prototype,r=t.splice;function n(i){var a=this.__data__,o=e(a,i);if(o<0)return!1;var u=a.length-1;return o==u?a.pop():r.call(a,o,1),--this.size,!0}return hR=n,hR}var vR,ZW;function Cwe(){if(ZW)return vR;ZW=1;var e=V_();function t(r){var n=this.__data__,i=e(n,r);return i<0?void 0:n[i][1]}return vR=t,vR}var pR,eG;function Awe(){if(eG)return pR;eG=1;var e=V_();function t(r){return e(this.__data__,r)>-1}return pR=t,pR}var gR,tG;function Owe(){if(tG)return gR;tG=1;var e=V_();function t(r,n){var i=this.__data__,a=e(i,r);return a<0?(++this.size,i.push([r,n])):i[a][1]=n,this}return gR=t,gR}var mR,rG;function B_(){if(rG)return mR;rG=1;var e=Rwe(),t=xwe(),r=Cwe(),n=Awe(),i=Owe();function a(o){var u=-1,s=o==null?0:o.length;for(this.clear();++u<s;){var c=o[u];this.set(c[0],c[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=r,a.prototype.has=n,a.prototype.set=i,mR=a,mR}var yR,nG;function Iwe(){if(nG)return yR;nG=1;var e=B_();function t(){this.__data__=new e,this.size=0}return yR=t,yR}var _R,iG;function Pwe(){if(iG)return _R;iG=1;function e(t){var r=this.__data__,n=r.delete(t);return this.size=r.size,n}return _R=e,_R}var SR,aG;function Dwe(){if(aG)return SR;aG=1;function e(t){return this.__data__.get(t)}return SR=e,SR}var ER,oG;function kwe(){if(oG)return ER;oG=1;function e(t){return this.__data__.has(t)}return ER=e,ER}var wR,sG;function Iie(){if(sG)return wR;sG=1;var e=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis;return wR=e,wR}var bR,uG;function Pu(){if(uG)return bR;uG=1;var e=Iie(),t=typeof self=="object"&&self&&self.Object===Object&&self,r=e||t||Function("return this")();return bR=r,bR}var TR,lG;function H_(){if(lG)return TR;lG=1;var e=Pu(),t=e.Symbol;return TR=t,TR}var RR,cG;function Nwe(){if(cG)return RR;cG=1;var e=H_(),t=Object.prototype,r=t.hasOwnProperty,n=t.toString,i=e?e.toStringTag:void 0;function a(o){var u=r.call(o,i),s=o[i];try{o[i]=void 0;var c=!0}catch{}var d=n.call(o);return c&&(u?o[i]=s:delete o[i]),d}return RR=a,RR}var xR,fG;function Lwe(){if(fG)return xR;fG=1;var e=Object.prototype,t=e.toString;function r(n){return t.call(n)}return xR=r,xR}var CR,dG;function Fp(){if(dG)return CR;dG=1;var e=H_(),t=Nwe(),r=Lwe(),n="[object Null]",i="[object Undefined]",a=e?e.toStringTag:void 0;function o(u){return u==null?u===void 0?i:n:a&&a in Object(u)?t(u):r(u)}return CR=o,CR}var AR,hG;function jp(){if(hG)return AR;hG=1;function e(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}return AR=e,AR}var OR,vG;function Pie(){if(vG)return OR;vG=1;var e=Fp(),t=jp(),r="[object AsyncFunction]",n="[object Function]",i="[object GeneratorFunction]",a="[object Proxy]";function o(u){if(!t(u))return!1;var s=e(u);return s==n||s==i||s==r||s==a}return OR=o,OR}var IR,pG;function Mwe(){if(pG)return IR;pG=1;var e=Pu(),t=e["__core-js_shared__"];return IR=t,IR}var PR,gG;function $we(){if(gG)return PR;gG=1;var e=Mwe(),t=(function(){var n=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""})();function r(n){return!!t&&t in n}return PR=r,PR}var DR,mG;function Die(){if(mG)return DR;mG=1;var e=Function.prototype,t=e.toString;function r(n){if(n!=null){try{return t.call(n)}catch{}try{return n+""}catch{}}return""}return DR=r,DR}var kR,yG;function Fwe(){if(yG)return kR;yG=1;var e=Pie(),t=$we(),r=jp(),n=Die(),i=/[\\^$.*+?()[\]{}|]/g,a=/^\[object .+?Constructor\]$/,o=Function.prototype,u=Object.prototype,s=o.toString,c=u.hasOwnProperty,d=RegExp("^"+s.call(c).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function h(v){if(!r(v)||t(v))return!1;var g=e(v)?d:a;return g.test(n(v))}return kR=h,kR}var NR,_G;function jwe(){if(_G)return NR;_G=1;function e(t,r){return t==null?void 0:t[r]}return NR=e,NR}var LR,SG;function kf(){if(SG)return LR;SG=1;var e=Fwe(),t=jwe();function r(n,i){var a=t(n,i);return e(a)?a:void 0}return LR=r,LR}var MR,EG;function GD(){if(EG)return MR;EG=1;var e=kf(),t=Pu(),r=e(t,"Map");return MR=r,MR}var $R,wG;function z_(){if(wG)return $R;wG=1;var e=kf(),t=e(Object,"create");return $R=t,$R}var FR,bG;function Uwe(){if(bG)return FR;bG=1;var e=z_();function t(){this.__data__=e?e(null):{},this.size=0}return FR=t,FR}var jR,TG;function qwe(){if(TG)return jR;TG=1;function e(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}return jR=e,jR}var UR,RG;function Vwe(){if(RG)return UR;RG=1;var e=z_(),t="__lodash_hash_undefined__",r=Object.prototype,n=r.hasOwnProperty;function i(a){var o=this.__data__;if(e){var u=o[a];return u===t?void 0:u}return n.call(o,a)?o[a]:void 0}return UR=i,UR}var qR,xG;function Bwe(){if(xG)return qR;xG=1;var e=z_(),t=Object.prototype,r=t.hasOwnProperty;function n(i){var a=this.__data__;return e?a[i]!==void 0:r.call(a,i)}return qR=n,qR}var VR,CG;function Hwe(){if(CG)return VR;CG=1;var e=z_(),t="__lodash_hash_undefined__";function r(n,i){var a=this.__data__;return this.size+=this.has(n)?0:1,a[n]=e&&i===void 0?t:i,this}return VR=r,VR}var BR,AG;function zwe(){if(AG)return BR;AG=1;var e=Uwe(),t=qwe(),r=Vwe(),n=Bwe(),i=Hwe();function a(o){var u=-1,s=o==null?0:o.length;for(this.clear();++u<s;){var c=o[u];this.set(c[0],c[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=r,a.prototype.has=n,a.prototype.set=i,BR=a,BR}var HR,OG;function Wwe(){if(OG)return HR;OG=1;var e=zwe(),t=B_(),r=GD();function n(){this.size=0,this.__data__={hash:new e,map:new(r||t),string:new e}}return HR=n,HR}var zR,IG;function Gwe(){if(IG)return zR;IG=1;function e(t){var r=typeof t;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null}return zR=e,zR}var WR,PG;function W_(){if(PG)return WR;PG=1;var e=Gwe();function t(r,n){var i=r.__data__;return e(n)?i[typeof n=="string"?"string":"hash"]:i.map}return WR=t,WR}var GR,DG;function Ywe(){if(DG)return GR;DG=1;var e=W_();function t(r){var n=e(this,r).delete(r);return this.size-=n?1:0,n}return GR=t,GR}var YR,kG;function Kwe(){if(kG)return YR;kG=1;var e=W_();function t(r){return e(this,r).get(r)}return YR=t,YR}var KR,NG;function Xwe(){if(NG)return KR;NG=1;var e=W_();function t(r){return e(this,r).has(r)}return KR=t,KR}var XR,LG;function Qwe(){if(LG)return XR;LG=1;var e=W_();function t(r,n){var i=e(this,r),a=i.size;return i.set(r,n),this.size+=i.size==a?0:1,this}return XR=t,XR}var QR,MG;function kie(){if(MG)return QR;MG=1;var e=Wwe(),t=Ywe(),r=Kwe(),n=Xwe(),i=Qwe();function a(o){var u=-1,s=o==null?0:o.length;for(this.clear();++u<s;){var c=o[u];this.set(c[0],c[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=r,a.prototype.has=n,a.prototype.set=i,QR=a,QR}var JR,$G;function Jwe(){if($G)return JR;$G=1;var e=B_(),t=GD(),r=kie(),n=200;function i(a,o){var u=this.__data__;if(u instanceof e){var s=u.__data__;if(!t||s.length<n-1)return s.push([a,o]),this.size=++u.size,this;u=this.__data__=new r(s)}return u.set(a,o),this.size=u.size,this}return JR=i,JR}var ZR,FG;function Zwe(){if(FG)return ZR;FG=1;var e=B_(),t=Iwe(),r=Pwe(),n=Dwe(),i=kwe(),a=Jwe();function o(u){var s=this.__data__=new e(u);this.size=s.size}return o.prototype.clear=t,o.prototype.delete=r,o.prototype.get=n,o.prototype.has=i,o.prototype.set=a,ZR=o,ZR}var ex,jG;function e1e(){if(jG)return ex;jG=1;function e(t,r){for(var n=-1,i=t==null?0:t.length;++n<i&&r(t[n],n,t)!==!1;);return t}return ex=e,ex}var tx,UG;function t1e(){if(UG)return tx;UG=1;var e=kf(),t=(function(){try{var r=e(Object,"defineProperty");return r({},"",{}),r}catch{}})();return tx=t,tx}var rx,qG;function Nie(){if(qG)return rx;qG=1;var e=t1e();function t(r,n,i){n=="__proto__"&&e?e(r,n,{configurable:!0,enumerable:!0,value:i,writable:!0}):r[n]=i}return rx=t,rx}var nx,VG;function Lie(){if(VG)return nx;VG=1;var e=Nie(),t=Oie(),r=Object.prototype,n=r.hasOwnProperty;function i(a,o,u){var s=a[o];(!(n.call(a,o)&&t(s,u))||u===void 0&&!(o in a))&&e(a,o,u)}return nx=i,nx}var ix,BG;function G_(){if(BG)return ix;BG=1;var e=Lie(),t=Nie();function r(n,i,a,o){var u=!a;a||(a={});for(var s=-1,c=i.length;++s<c;){var d=i[s],h=o?o(a[d],n[d],d,a,n):void 0;h===void 0&&(h=n[d]),u?t(a,d,h):e(a,d,h)}return a}return ix=r,ix}var ax,HG;function r1e(){if(HG)return ax;HG=1;function e(t,r){for(var n=-1,i=Array(t);++n<t;)i[n]=r(n);return i}return ax=e,ax}var ox,zG;function bh(){if(zG)return ox;zG=1;function e(t){return t!=null&&typeof t=="object"}return ox=e,ox}var sx,WG;function n1e(){if(WG)return sx;WG=1;var e=Fp(),t=bh(),r="[object Arguments]";function n(i){return t(i)&&e(i)==r}return sx=n,sx}var ux,GG;function i1e(){if(GG)return ux;GG=1;var e=n1e(),t=bh(),r=Object.prototype,n=r.hasOwnProperty,i=r.propertyIsEnumerable,a=e((function(){return arguments})())?e:function(o){return t(o)&&n.call(o,"callee")&&!i.call(o,"callee")};return ux=a,ux}var lx,YG;function Th(){if(YG)return lx;YG=1;var e=Array.isArray;return lx=e,lx}var wv={exports:{}},cx,KG;function a1e(){if(KG)return cx;KG=1;function e(){return!1}return cx=e,cx}wv.exports;var XG;function Mie(){return XG||(XG=1,(function(e,t){var r=Pu(),n=a1e(),i=t&&!t.nodeType&&t,a=i&&!0&&e&&!e.nodeType&&e,o=a&&a.exports===i,u=o?r.Buffer:void 0,s=u?u.isBuffer:void 0,c=s||n;e.exports=c})(wv,wv.exports)),wv.exports}var fx,QG;function o1e(){if(QG)return fx;QG=1;var e=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function r(n,i){var a=typeof n;return i=i??e,!!i&&(a=="number"||a!="symbol"&&t.test(n))&&n>-1&&n%1==0&&n<i}return fx=r,fx}var dx,JG;function $ie(){if(JG)return dx;JG=1;var e=9007199254740991;function t(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=e}return dx=t,dx}var hx,ZG;function s1e(){if(ZG)return hx;ZG=1;var e=Fp(),t=$ie(),r=bh(),n="[object Arguments]",i="[object Array]",a="[object Boolean]",o="[object Date]",u="[object Error]",s="[object Function]",c="[object Map]",d="[object Number]",h="[object Object]",v="[object RegExp]",g="[object Set]",m="[object String]",y="[object WeakMap]",S="[object ArrayBuffer]",w="[object DataView]",b="[object Float32Array]",A="[object Float64Array]",R="[object Int8Array]",x="[object Int16Array]",O="[object Int32Array]",_="[object Uint8Array]",P="[object Uint8ClampedArray]",N="[object Uint16Array]",U="[object Uint32Array]",$={};$[b]=$[A]=$[R]=$[x]=$[O]=$[_]=$[P]=$[N]=$[U]=!0,$[n]=$[i]=$[S]=$[a]=$[w]=$[o]=$[u]=$[s]=$[c]=$[d]=$[h]=$[v]=$[g]=$[m]=$[y]=!1;function B(Y){return r(Y)&&t(Y.length)&&!!$[e(Y)]}return hx=B,hx}var vx,eY;function YD(){if(eY)return vx;eY=1;function e(t){return function(r){return t(r)}}return vx=e,vx}var bv={exports:{}};bv.exports;var tY;function KD(){return tY||(tY=1,(function(e,t){var r=Iie(),n=t&&!t.nodeType&&t,i=n&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===n,o=a&&r.process,u=(function(){try{var s=i&&i.require&&i.require("util").types;return s||o&&o.binding&&o.binding("util")}catch{}})();e.exports=u})(bv,bv.exports)),bv.exports}var px,rY;function u1e(){if(rY)return px;rY=1;var e=s1e(),t=YD(),r=KD(),n=r&&r.isTypedArray,i=n?t(n):e;return px=i,px}var gx,nY;function Fie(){if(nY)return gx;nY=1;var e=r1e(),t=i1e(),r=Th(),n=Mie(),i=o1e(),a=u1e(),o=Object.prototype,u=o.hasOwnProperty;function s(c,d){var h=r(c),v=!h&&t(c),g=!h&&!v&&n(c),m=!h&&!v&&!g&&a(c),y=h||v||g||m,S=y?e(c.length,String):[],w=S.length;for(var b in c)(d||u.call(c,b))&&!(y&&(b=="length"||g&&(b=="offset"||b=="parent")||m&&(b=="buffer"||b=="byteLength"||b=="byteOffset")||i(b,w)))&&S.push(b);return S}return gx=s,gx}var mx,iY;function XD(){if(iY)return mx;iY=1;var e=Object.prototype;function t(r){var n=r&&r.constructor,i=typeof n=="function"&&n.prototype||e;return r===i}return mx=t,mx}var yx,aY;function jie(){if(aY)return yx;aY=1;function e(t,r){return function(n){return t(r(n))}}return yx=e,yx}var _x,oY;function l1e(){if(oY)return _x;oY=1;var e=jie(),t=e(Object.keys,Object);return _x=t,_x}var Sx,sY;function c1e(){if(sY)return Sx;sY=1;var e=XD(),t=l1e(),r=Object.prototype,n=r.hasOwnProperty;function i(a){if(!e(a))return t(a);var o=[];for(var u in Object(a))n.call(a,u)&&u!="constructor"&&o.push(u);return o}return Sx=i,Sx}var Ex,uY;function Uie(){if(uY)return Ex;uY=1;var e=Pie(),t=$ie();function r(n){return n!=null&&t(n.length)&&!e(n)}return Ex=r,Ex}var wx,lY;function QD(){if(lY)return wx;lY=1;var e=Fie(),t=c1e(),r=Uie();function n(i){return r(i)?e(i):t(i)}return wx=n,wx}var bx,cY;function f1e(){if(cY)return bx;cY=1;var e=G_(),t=QD();function r(n,i){return n&&e(i,t(i),n)}return bx=r,bx}var Tx,fY;function d1e(){if(fY)return Tx;fY=1;function e(t){var r=[];if(t!=null)for(var n in Object(t))r.push(n);return r}return Tx=e,Tx}var Rx,dY;function h1e(){if(dY)return Rx;dY=1;var e=jp(),t=XD(),r=d1e(),n=Object.prototype,i=n.hasOwnProperty;function a(o){if(!e(o))return r(o);var u=t(o),s=[];for(var c in o)c=="constructor"&&(u||!i.call(o,c))||s.push(c);return s}return Rx=a,Rx}var xx,hY;function JD(){if(hY)return xx;hY=1;var e=Fie(),t=h1e(),r=Uie();function n(i){return r(i)?e(i,!0):t(i)}return xx=n,xx}var Cx,vY;function v1e(){if(vY)return Cx;vY=1;var e=G_(),t=JD();function r(n,i){return n&&e(i,t(i),n)}return Cx=r,Cx}var Tv={exports:{}};Tv.exports;var pY;function p1e(){return pY||(pY=1,(function(e,t){var r=Pu(),n=t&&!t.nodeType&&t,i=n&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===n,o=a?r.Buffer:void 0,u=o?o.allocUnsafe:void 0;function s(c,d){if(d)return c.slice();var h=c.length,v=u?u(h):new c.constructor(h);return c.copy(v),v}e.exports=s})(Tv,Tv.exports)),Tv.exports}var Ax,gY;function g1e(){if(gY)return Ax;gY=1;function e(t,r){var n=-1,i=t.length;for(r||(r=Array(i));++n<i;)r[n]=t[n];return r}return Ax=e,Ax}var Ox,mY;function m1e(){if(mY)return Ox;mY=1;function e(t,r){for(var n=-1,i=t==null?0:t.length,a=0,o=[];++n<i;){var u=t[n];r(u,n,t)&&(o[a++]=u)}return o}return Ox=e,Ox}var Ix,yY;function qie(){if(yY)return Ix;yY=1;function e(){return[]}return Ix=e,Ix}var Px,_Y;function ZD(){if(_Y)return Px;_Y=1;var e=m1e(),t=qie(),r=Object.prototype,n=r.propertyIsEnumerable,i=Object.getOwnPropertySymbols,a=i?function(o){return o==null?[]:(o=Object(o),e(i(o),function(u){return n.call(o,u)}))}:t;return Px=a,Px}var Dx,SY;function y1e(){if(SY)return Dx;SY=1;var e=G_(),t=ZD();function r(n,i){return e(n,t(n),i)}return Dx=r,Dx}var kx,EY;function Vie(){if(EY)return kx;EY=1;function e(t,r){for(var n=-1,i=r.length,a=t.length;++n<i;)t[a+n]=r[n];return t}return kx=e,kx}var Nx,wY;function Bie(){if(wY)return Nx;wY=1;var e=jie(),t=e(Object.getPrototypeOf,Object);return Nx=t,Nx}var Lx,bY;function Hie(){if(bY)return Lx;bY=1;var e=Vie(),t=Bie(),r=ZD(),n=qie(),i=Object.getOwnPropertySymbols,a=i?function(o){for(var u=[];o;)e(u,r(o)),o=t(o);return u}:n;return Lx=a,Lx}var Mx,TY;function _1e(){if(TY)return Mx;TY=1;var e=G_(),t=Hie();function r(n,i){return e(n,t(n),i)}return Mx=r,Mx}var $x,RY;function zie(){if(RY)return $x;RY=1;var e=Vie(),t=Th();function r(n,i,a){var o=i(n);return t(n)?o:e(o,a(n))}return $x=r,$x}var Fx,xY;function S1e(){if(xY)return Fx;xY=1;var e=zie(),t=ZD(),r=QD();function n(i){return e(i,r,t)}return Fx=n,Fx}var jx,CY;function E1e(){if(CY)return jx;CY=1;var e=zie(),t=Hie(),r=JD();function n(i){return e(i,r,t)}return jx=n,jx}var Ux,AY;function w1e(){if(AY)return Ux;AY=1;var e=kf(),t=Pu(),r=e(t,"DataView");return Ux=r,Ux}var qx,OY;function b1e(){if(OY)return qx;OY=1;var e=kf(),t=Pu(),r=e(t,"Promise");return qx=r,qx}var Vx,IY;function T1e(){if(IY)return Vx;IY=1;var e=kf(),t=Pu(),r=e(t,"Set");return Vx=r,Vx}var Bx,PY;function R1e(){if(PY)return Bx;PY=1;var e=kf(),t=Pu(),r=e(t,"WeakMap");return Bx=r,Bx}var Hx,DY;function ek(){if(DY)return Hx;DY=1;var e=w1e(),t=GD(),r=b1e(),n=T1e(),i=R1e(),a=Fp(),o=Die(),u="[object Map]",s="[object Object]",c="[object Promise]",d="[object Set]",h="[object WeakMap]",v="[object DataView]",g=o(e),m=o(t),y=o(r),S=o(n),w=o(i),b=a;return(e&&b(new e(new ArrayBuffer(1)))!=v||t&&b(new t)!=u||r&&b(r.resolve())!=c||n&&b(new n)!=d||i&&b(new i)!=h)&&(b=function(A){var R=a(A),x=R==s?A.constructor:void 0,O=x?o(x):"";if(O)switch(O){case g:return v;case m:return u;case y:return c;case S:return d;case w:return h}return R}),Hx=b,Hx}var zx,kY;function x1e(){if(kY)return zx;kY=1;var e=Object.prototype,t=e.hasOwnProperty;function r(n){var i=n.length,a=new n.constructor(i);return i&&typeof n[0]=="string"&&t.call(n,"index")&&(a.index=n.index,a.input=n.input),a}return zx=r,zx}var Wx,NY;function C1e(){if(NY)return Wx;NY=1;var e=Pu(),t=e.Uint8Array;return Wx=t,Wx}var Gx,LY;function tk(){if(LY)return Gx;LY=1;var e=C1e();function t(r){var n=new r.constructor(r.byteLength);return new e(n).set(new e(r)),n}return Gx=t,Gx}var Yx,MY;function A1e(){if(MY)return Yx;MY=1;var e=tk();function t(r,n){var i=n?e(r.buffer):r.buffer;return new r.constructor(i,r.byteOffset,r.byteLength)}return Yx=t,Yx}var Kx,$Y;function O1e(){if($Y)return Kx;$Y=1;var e=/\w*$/;function t(r){var n=new r.constructor(r.source,e.exec(r));return n.lastIndex=r.lastIndex,n}return Kx=t,Kx}var Xx,FY;function I1e(){if(FY)return Xx;FY=1;var e=H_(),t=e?e.prototype:void 0,r=t?t.valueOf:void 0;function n(i){return r?Object(r.call(i)):{}}return Xx=n,Xx}var Qx,jY;function P1e(){if(jY)return Qx;jY=1;var e=tk();function t(r,n){var i=n?e(r.buffer):r.buffer;return new r.constructor(i,r.byteOffset,r.length)}return Qx=t,Qx}var Jx,UY;function D1e(){if(UY)return Jx;UY=1;var e=tk(),t=A1e(),r=O1e(),n=I1e(),i=P1e(),a="[object Boolean]",o="[object Date]",u="[object Map]",s="[object Number]",c="[object RegExp]",d="[object Set]",h="[object String]",v="[object Symbol]",g="[object ArrayBuffer]",m="[object DataView]",y="[object Float32Array]",S="[object Float64Array]",w="[object Int8Array]",b="[object Int16Array]",A="[object Int32Array]",R="[object Uint8Array]",x="[object Uint8ClampedArray]",O="[object Uint16Array]",_="[object Uint32Array]";function P(N,U,$){var B=N.constructor;switch(U){case g:return e(N);case a:case o:return new B(+N);case m:return t(N,$);case y:case S:case w:case b:case A:case R:case x:case O:case _:return i(N,$);case u:return new B;case s:case h:return new B(N);case c:return r(N);case d:return new B;case v:return n(N)}}return Jx=P,Jx}var Zx,qY;function k1e(){if(qY)return Zx;qY=1;var e=jp(),t=Object.create,r=(function(){function n(){}return function(i){if(!e(i))return{};if(t)return t(i);n.prototype=i;var a=new n;return n.prototype=void 0,a}})();return Zx=r,Zx}var eC,VY;function N1e(){if(VY)return eC;VY=1;var e=k1e(),t=Bie(),r=XD();function n(i){return typeof i.constructor=="function"&&!r(i)?e(t(i)):{}}return eC=n,eC}var tC,BY;function L1e(){if(BY)return tC;BY=1;var e=ek(),t=bh(),r="[object Map]";function n(i){return t(i)&&e(i)==r}return tC=n,tC}var rC,HY;function M1e(){if(HY)return rC;HY=1;var e=L1e(),t=YD(),r=KD(),n=r&&r.isMap,i=n?t(n):e;return rC=i,rC}var nC,zY;function $1e(){if(zY)return nC;zY=1;var e=ek(),t=bh(),r="[object Set]";function n(i){return t(i)&&e(i)==r}return nC=n,nC}var iC,WY;function F1e(){if(WY)return iC;WY=1;var e=$1e(),t=YD(),r=KD(),n=r&&r.isSet,i=n?t(n):e;return iC=i,iC}var aC,GY;function j1e(){if(GY)return aC;GY=1;var e=Zwe(),t=e1e(),r=Lie(),n=f1e(),i=v1e(),a=p1e(),o=g1e(),u=y1e(),s=_1e(),c=S1e(),d=E1e(),h=ek(),v=x1e(),g=D1e(),m=N1e(),y=Th(),S=Mie(),w=M1e(),b=jp(),A=F1e(),R=QD(),x=JD(),O=1,_=2,P=4,N="[object Arguments]",U="[object Array]",$="[object Boolean]",B="[object Date]",Y="[object Error]",Q="[object Function]",K="[object GeneratorFunction]",ee="[object Map]",ne="[object Number]",D="[object Object]",I="[object RegExp]",L="[object Set]",re="[object String]",te="[object Symbol]",ce="[object WeakMap]",be="[object ArrayBuffer]",Ie="[object DataView]",je="[object Float32Array]",z="[object Float64Array]",k="[object Int8Array]",q="[object Int16Array]",H="[object Int32Array]",ie="[object Uint8Array]",V="[object Uint8ClampedArray]",Z="[object Uint16Array]",me="[object Uint32Array]",fe={};fe[N]=fe[U]=fe[be]=fe[Ie]=fe[$]=fe[B]=fe[je]=fe[z]=fe[k]=fe[q]=fe[H]=fe[ee]=fe[ne]=fe[D]=fe[I]=fe[L]=fe[re]=fe[te]=fe[ie]=fe[V]=fe[Z]=fe[me]=!0,fe[Y]=fe[Q]=fe[ce]=!1;function Re(Se,Oe,Me,de,Ee,_e){var xe,ke=Oe&O,Le=Oe&_,He=Oe&P;if(Me&&(xe=Ee?Me(Se,de,Ee,_e):Me(Se)),xe!==void 0)return xe;if(!b(Se))return Se;var _t=y(Se);if(_t){if(xe=v(Se),!ke)return o(Se,xe)}else{var jt=h(Se),Lt=jt==Q||jt==K;if(S(Se))return a(Se,ke);if(jt==D||jt==N||Lt&&!Ee){if(xe=Le||Lt?{}:m(Se),!ke)return Le?s(Se,i(xe,Se)):u(Se,n(xe,Se))}else{if(!fe[jt])return Ee?Se:{};xe=g(Se,jt,ke)}}_e||(_e=new e);var Qe=_e.get(Se);if(Qe)return Qe;_e.set(Se,xe),A(Se)?Se.forEach(function(St){xe.add(Re(St,Oe,Me,St,Se,_e))}):w(Se)&&Se.forEach(function(St,yt){xe.set(yt,Re(St,Oe,Me,yt,Se,_e))});var bt=He?Le?d:c:Le?x:R,mt=_t?void 0:bt(Se);return t(mt||Se,function(St,yt){mt&&(yt=St,St=Se[yt]),r(xe,yt,Re(St,Oe,Me,yt,Se,_e))}),xe}return aC=Re,aC}var oC,YY;function U1e(){if(YY)return oC;YY=1;var e=j1e(),t=1,r=4;function n(i){return e(i,t|r)}return oC=n,oC}var q1e=U1e();const V1e=jn(q1e);var sC,KY;function rk(){if(KY)return sC;KY=1;var e=Fp(),t=bh(),r="[object Symbol]";function n(i){return typeof i=="symbol"||t(i)&&e(i)==r}return sC=n,sC}var uC,XY;function B1e(){if(XY)return uC;XY=1;var e=Th(),t=rk(),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function i(a,o){if(e(a))return!1;var u=typeof a;return u=="number"||u=="symbol"||u=="boolean"||a==null||t(a)?!0:n.test(a)||!r.test(a)||o!=null&&a in Object(o)}return uC=i,uC}var lC,QY;function H1e(){if(QY)return lC;QY=1;var e=kie(),t="Expected a function";function r(n,i){if(typeof n!="function"||i!=null&&typeof i!="function")throw new TypeError(t);var a=function(){var o=arguments,u=i?i.apply(this,o):o[0],s=a.cache;if(s.has(u))return s.get(u);var c=n.apply(this,o);return a.cache=s.set(u,c)||s,c};return a.cache=new(r.Cache||e),a}return r.Cache=e,lC=r,lC}var cC,JY;function z1e(){if(JY)return cC;JY=1;var e=H1e(),t=500;function r(n){var i=e(n,function(o){return a.size===t&&a.clear(),o}),a=i.cache;return i}return cC=r,cC}var fC,ZY;function W1e(){if(ZY)return fC;ZY=1;var e=z1e(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,n=e(function(i){var a=[];return i.charCodeAt(0)===46&&a.push(""),i.replace(t,function(o,u,s,c){a.push(s?c.replace(r,"$1"):u||o)}),a});return fC=n,fC}var dC,eK;function G1e(){if(eK)return dC;eK=1;function e(t,r){for(var n=-1,i=t==null?0:t.length,a=Array(i);++n<i;)a[n]=r(t[n],n,t);return a}return dC=e,dC}var hC,tK;function Y1e(){if(tK)return hC;tK=1;var e=H_(),t=G1e(),r=Th(),n=rk(),i=e?e.prototype:void 0,a=i?i.toString:void 0;function o(u){if(typeof u=="string")return u;if(r(u))return t(u,o)+"";if(n(u))return a?a.call(u):"";var s=u+"";return s=="0"&&1/u==-1/0?"-0":s}return hC=o,hC}var vC,rK;function K1e(){if(rK)return vC;rK=1;var e=Y1e();function t(r){return r==null?"":e(r)}return vC=t,vC}var pC,nK;function X1e(){if(nK)return pC;nK=1;var e=Th(),t=B1e(),r=W1e(),n=K1e();function i(a,o){return e(a)?a:t(a,o)?[a]:r(n(a))}return pC=i,pC}var gC,iK;function Q1e(){if(iK)return gC;iK=1;var e=rk();function t(r){if(typeof r=="string"||e(r))return r;var n=r+"";return n=="0"&&1/r==-1/0?"-0":n}return gC=t,gC}var mC,aK;function J1e(){if(aK)return mC;aK=1;var e=X1e(),t=Q1e();function r(n,i){i=e(i,n);for(var a=0,o=i.length;n!=null&&a<o;)n=n[t(i[a++])];return a&&a==o?n:void 0}return mC=r,mC}var yC,oK;function Z1e(){if(oK)return yC;oK=1;var e=J1e();function t(r,n,i){var a=r==null?void 0:e(r,n);return a===void 0?i:a}return yC=t,yC}var ebe=Z1e();const tbe=jn(ebe),Ui={isEmpty(e){return Gv(e)},values(e){return hc(e)},keys(e){return sa(e)},deepClone(e){return V1e(e)},getEnumKeys(e){return Object.keys(e).filter(t=>!(parseInt(t)>=0))},isObject(e){return Ms(e)},isEqual(e,t){return gne(e,t)},omit(e,t){return L_(e,t)},pick(e,t){return UD(e,t)},removeEmptyKeys(e){return Object.entries(e).filter(([,t])=>t!=null).reduce((t,[r,n])=>({...t,[r]:n}),{})},flattenObjectToString(e,t="",r=","){return Object.keys(e).sort().map(n=>{const i=t?`${t}.${n}`:n;return typeof e[n]=="object"&&!Array.isArray(e[n])?Ui.flattenObjectToString(e[n],i):`${i}:${e[n]}`}).join(r)},get(e,t,r){return tbe(e,t,r)},swapKeysAndValues(e){return Object.entries(e).reduce((t,[r,n])=>({...t,[n]:r}),{})}};function rbe(e,t,r,n){if(r[e])return r[e];r[e]={};const i=hy(t[e],t,r,n);return Object.assign(r[e],i),Ui.isEmpty(r[e])?(delete r[e],e):Ui.omit(r[e],["__modifyCount"])}function hy(e,t,r,n){if(!e)return e;if(typeof e=="string")return rbe(e,t,r,n);if(Array.isArray(e))return e.map(i=>hy(i,t,r,n));if(n.has(e))return n.get(e);if(typeof e=="object"){const i={};return n.set(e,i),Object.keys(e).forEach(a=>{i[a]=hy(e[a],t,r,n)}),i}return e}function nk(e,t){return hy(e,t,{},new WeakMap)}var _C={exports:{}},mn={},sK;function nbe(){if(sK)return mn;sK=1;/**
57
- * @license React
58
- * react.production.min.js
59
- *
60
- * Copyright (c) Facebook, Inc. and its affiliates.
61
- *
62
- * This source code is licensed under the MIT license found in the
63
- * LICENSE file in the root directory of this source tree.
64
- */var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),o=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.iterator;function v(L){return L===null||typeof L!="object"?null:(L=h&&L[h]||L["@@iterator"],typeof L=="function"?L:null)}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,y={};function S(L,re,te){this.props=L,this.context=re,this.refs=y,this.updater=te||g}S.prototype.isReactComponent={},S.prototype.setState=function(L,re){if(typeof L!="object"&&typeof L!="function"&&L!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,L,re,"setState")},S.prototype.forceUpdate=function(L){this.updater.enqueueForceUpdate(this,L,"forceUpdate")};function w(){}w.prototype=S.prototype;function b(L,re,te){this.props=L,this.context=re,this.refs=y,this.updater=te||g}var A=b.prototype=new w;A.constructor=b,m(A,S.prototype),A.isPureReactComponent=!0;var R=Array.isArray,x=Object.prototype.hasOwnProperty,O={current:null},_={key:!0,ref:!0,__self:!0,__source:!0};function P(L,re,te){var ce,be={},Ie=null,je=null;if(re!=null)for(ce in re.ref!==void 0&&(je=re.ref),re.key!==void 0&&(Ie=""+re.key),re)x.call(re,ce)&&!_.hasOwnProperty(ce)&&(be[ce]=re[ce]);var z=arguments.length-2;if(z===1)be.children=te;else if(1<z){for(var k=Array(z),q=0;q<z;q++)k[q]=arguments[q+2];be.children=k}if(L&&L.defaultProps)for(ce in z=L.defaultProps,z)be[ce]===void 0&&(be[ce]=z[ce]);return{$$typeof:e,type:L,key:Ie,ref:je,props:be,_owner:O.current}}function N(L,re){return{$$typeof:e,type:L.type,key:re,ref:L.ref,props:L.props,_owner:L._owner}}function U(L){return typeof L=="object"&&L!==null&&L.$$typeof===e}function $(L){var re={"=":"=0",":":"=2"};return"$"+L.replace(/[=:]/g,function(te){return re[te]})}var B=/\/+/g;function Y(L,re){return typeof L=="object"&&L!==null&&L.key!=null?$(""+L.key):re.toString(36)}function Q(L,re,te,ce,be){var Ie=typeof L;(Ie==="undefined"||Ie==="boolean")&&(L=null);var je=!1;if(L===null)je=!0;else switch(Ie){case"string":case"number":je=!0;break;case"object":switch(L.$$typeof){case e:case t:je=!0}}if(je)return je=L,be=be(je),L=ce===""?"."+Y(je,0):ce,R(be)?(te="",L!=null&&(te=L.replace(B,"$&/")+"/"),Q(be,re,te,"",function(q){return q})):be!=null&&(U(be)&&(be=N(be,te+(!be.key||je&&je.key===be.key?"":(""+be.key).replace(B,"$&/")+"/")+L)),re.push(be)),1;if(je=0,ce=ce===""?".":ce+":",R(L))for(var z=0;z<L.length;z++){Ie=L[z];var k=ce+Y(Ie,z);je+=Q(Ie,re,te,k,be)}else if(k=v(L),typeof k=="function")for(L=k.call(L),z=0;!(Ie=L.next()).done;)Ie=Ie.value,k=ce+Y(Ie,z++),je+=Q(Ie,re,te,k,be);else if(Ie==="object")throw re=String(L),Error("Objects are not valid as a React child (found: "+(re==="[object Object]"?"object with keys {"+Object.keys(L).join(", ")+"}":re)+"). If you meant to render a collection of children, use an array instead.");return je}function K(L,re,te){if(L==null)return L;var ce=[],be=0;return Q(L,ce,"","",function(Ie){return re.call(te,Ie,be++)}),ce}function ee(L){if(L._status===-1){var re=L._result;re=re(),re.then(function(te){(L._status===0||L._status===-1)&&(L._status=1,L._result=te)},function(te){(L._status===0||L._status===-1)&&(L._status=2,L._result=te)}),L._status===-1&&(L._status=0,L._result=re)}if(L._status===1)return L._result.default;throw L._result}var ne={current:null},D={transition:null},I={ReactCurrentDispatcher:ne,ReactCurrentBatchConfig:D,ReactCurrentOwner:O};return mn.Children={map:K,forEach:function(L,re,te){K(L,function(){re.apply(this,arguments)},te)},count:function(L){var re=0;return K(L,function(){re++}),re},toArray:function(L){return K(L,function(re){return re})||[]},only:function(L){if(!U(L))throw Error("React.Children.only expected to receive a single React element child.");return L}},mn.Component=S,mn.Fragment=r,mn.Profiler=i,mn.PureComponent=b,mn.StrictMode=n,mn.Suspense=s,mn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=I,mn.cloneElement=function(L,re,te){if(L==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+L+".");var ce=m({},L.props),be=L.key,Ie=L.ref,je=L._owner;if(re!=null){if(re.ref!==void 0&&(Ie=re.ref,je=O.current),re.key!==void 0&&(be=""+re.key),L.type&&L.type.defaultProps)var z=L.type.defaultProps;for(k in re)x.call(re,k)&&!_.hasOwnProperty(k)&&(ce[k]=re[k]===void 0&&z!==void 0?z[k]:re[k])}var k=arguments.length-2;if(k===1)ce.children=te;else if(1<k){z=Array(k);for(var q=0;q<k;q++)z[q]=arguments[q+2];ce.children=z}return{$$typeof:e,type:L.type,key:be,ref:Ie,props:ce,_owner:je}},mn.createContext=function(L){return L={$$typeof:o,_currentValue:L,_currentValue2:L,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},L.Provider={$$typeof:a,_context:L},L.Consumer=L},mn.createElement=P,mn.createFactory=function(L){var re=P.bind(null,L);return re.type=L,re},mn.createRef=function(){return{current:null}},mn.forwardRef=function(L){return{$$typeof:u,render:L}},mn.isValidElement=U,mn.lazy=function(L){return{$$typeof:d,_payload:{_status:-1,_result:L},_init:ee}},mn.memo=function(L,re){return{$$typeof:c,type:L,compare:re===void 0?null:re}},mn.startTransition=function(L){var re=D.transition;D.transition={};try{L()}finally{D.transition=re}},mn.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},mn.useCallback=function(L,re){return ne.current.useCallback(L,re)},mn.useContext=function(L){return ne.current.useContext(L)},mn.useDebugValue=function(){},mn.useDeferredValue=function(L){return ne.current.useDeferredValue(L)},mn.useEffect=function(L,re){return ne.current.useEffect(L,re)},mn.useId=function(){return ne.current.useId()},mn.useImperativeHandle=function(L,re,te){return ne.current.useImperativeHandle(L,re,te)},mn.useInsertionEffect=function(L,re){return ne.current.useInsertionEffect(L,re)},mn.useLayoutEffect=function(L,re){return ne.current.useLayoutEffect(L,re)},mn.useMemo=function(L,re){return ne.current.useMemo(L,re)},mn.useReducer=function(L,re,te){return ne.current.useReducer(L,re,te)},mn.useRef=function(L){return ne.current.useRef(L)},mn.useState=function(L){return ne.current.useState(L)},mn.useSyncExternalStore=function(L,re,te){return ne.current.useSyncExternalStore(L,re,te)},mn.useTransition=function(){return ne.current.useTransition()},mn.version="18.1.0",mn}var uK;function zo(){return uK||(uK=1,_C.exports=nbe()),_C.exports}var he=zo();const or=jn(he);var SC={exports:{}},EC={};/**
65
- * @license React
66
- * use-sync-external-store-shim.production.js
67
- *
68
- * Copyright (c) Meta Platforms, Inc. and affiliates.
69
- *
70
- * This source code is licensed under the MIT license found in the
71
- * LICENSE file in the root directory of this source tree.
72
- */var lK;function ibe(){if(lK)return EC;lK=1;var e=zo();function t(h,v){return h===v&&(h!==0||1/h===1/v)||h!==h&&v!==v}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,i=e.useEffect,a=e.useLayoutEffect,o=e.useDebugValue;function u(h,v){var g=v(),m=n({inst:{value:g,getSnapshot:v}}),y=m[0].inst,S=m[1];return a(function(){y.value=g,y.getSnapshot=v,s(y)&&S({inst:y})},[h,g,v]),i(function(){return s(y)&&S({inst:y}),h(function(){s(y)&&S({inst:y})})},[h]),o(g),g}function s(h){var v=h.getSnapshot;h=h.value;try{var g=v();return!r(h,g)}catch{return!0}}function c(h,v){return v()}var d=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?c:u;return EC.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:d,EC}var cK;function Wie(){return cK||(cK=1,SC.exports=ibe()),SC.exports}Wie();var wC={exports:{}},bC={};/**
73
- * @license React
74
- * use-sync-external-store-shim/with-selector.production.js
75
- *
76
- * Copyright (c) Meta Platforms, Inc. and affiliates.
77
- *
78
- * This source code is licensed under the MIT license found in the
79
- * LICENSE file in the root directory of this source tree.
80
- */var fK;function abe(){if(fK)return bC;fK=1;var e=zo(),t=Wie();function r(c,d){return c===d&&(c!==0||1/c===1/d)||c!==c&&d!==d}var n=typeof Object.is=="function"?Object.is:r,i=t.useSyncExternalStore,a=e.useRef,o=e.useEffect,u=e.useMemo,s=e.useDebugValue;return bC.useSyncExternalStoreWithSelector=function(c,d,h,v,g){var m=a(null);if(m.current===null){var y={hasValue:!1,value:null};m.current=y}else y=m.current;m=u(function(){function w(O){if(!b){if(b=!0,A=O,O=v(O),g!==void 0&&y.hasValue){var _=y.value;if(g(_,O))return R=_}return R=O}if(_=R,n(A,O))return _;var P=v(O);return g!==void 0&&g(_,P)?(A=O,_):(A=O,R=P)}var b=!1,A,R,x=h===void 0?null:h;return[function(){return w(d())},x===null?void 0:function(){return w(x())}]},[d,h,v,g]);var S=i(c,m[0],m[1]);return o(function(){y.hasValue=!0,y.value=S},[S]),s(S),S},bC}var dK;function obe(){return dK||(dK=1,wC.exports=abe()),wC.exports}var sbe=obe(),TC={exports:{}},Po={},RC={exports:{}},xC={};/**
81
- * @license React
82
- * scheduler.production.min.js
83
- *
84
- * Copyright (c) Facebook, Inc. and its affiliates.
85
- *
86
- * This source code is licensed under the MIT license found in the
87
- * LICENSE file in the root directory of this source tree.
88
- */var hK;function ube(){return hK||(hK=1,(function(e){function t(D,I){var L=D.length;D.push(I);e:for(;0<L;){var re=L-1>>>1,te=D[re];if(0<i(te,I))D[re]=I,D[L]=te,L=re;else break e}}function r(D){return D.length===0?null:D[0]}function n(D){if(D.length===0)return null;var I=D[0],L=D.pop();if(L!==I){D[0]=L;e:for(var re=0,te=D.length,ce=te>>>1;re<ce;){var be=2*(re+1)-1,Ie=D[be],je=be+1,z=D[je];if(0>i(Ie,L))je<te&&0>i(z,Ie)?(D[re]=z,D[je]=L,re=je):(D[re]=Ie,D[be]=L,re=be);else if(je<te&&0>i(z,L))D[re]=z,D[je]=L,re=je;else break e}}return I}function i(D,I){var L=D.sortIndex-I.sortIndex;return L!==0?L:D.id-I.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,u=o.now();e.unstable_now=function(){return o.now()-u}}var s=[],c=[],d=1,h=null,v=3,g=!1,m=!1,y=!1,S=typeof setTimeout=="function"?setTimeout:null,w=typeof clearTimeout=="function"?clearTimeout:null,b=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function A(D){for(var I=r(c);I!==null;){if(I.callback===null)n(c);else if(I.startTime<=D)n(c),I.sortIndex=I.expirationTime,t(s,I);else break;I=r(c)}}function R(D){if(y=!1,A(D),!m)if(r(s)!==null)m=!0,ee(x);else{var I=r(c);I!==null&&ne(R,I.startTime-D)}}function x(D,I){m=!1,y&&(y=!1,w(P),P=-1),g=!0;var L=v;try{for(A(I),h=r(s);h!==null&&(!(h.expirationTime>I)||D&&!$());){var re=h.callback;if(typeof re=="function"){h.callback=null,v=h.priorityLevel;var te=re(h.expirationTime<=I);I=e.unstable_now(),typeof te=="function"?h.callback=te:h===r(s)&&n(s),A(I)}else n(s);h=r(s)}if(h!==null)var ce=!0;else{var be=r(c);be!==null&&ne(R,be.startTime-I),ce=!1}return ce}finally{h=null,v=L,g=!1}}var O=!1,_=null,P=-1,N=5,U=-1;function $(){return!(e.unstable_now()-U<N)}function B(){if(_!==null){var D=e.unstable_now();U=D;var I=!0;try{I=_(!0,D)}finally{I?Y():(O=!1,_=null)}}else O=!1}var Y;if(typeof b=="function")Y=function(){b(B)};else if(typeof MessageChannel<"u"){var Q=new MessageChannel,K=Q.port2;Q.port1.onmessage=B,Y=function(){K.postMessage(null)}}else Y=function(){S(B,0)};function ee(D){_=D,O||(O=!0,Y())}function ne(D,I){P=S(function(){D(e.unstable_now())},I)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(D){D.callback=null},e.unstable_continueExecution=function(){m||g||(m=!0,ee(x))},e.unstable_forceFrameRate=function(D){0>D||125<D?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):N=0<D?Math.floor(1e3/D):5},e.unstable_getCurrentPriorityLevel=function(){return v},e.unstable_getFirstCallbackNode=function(){return r(s)},e.unstable_next=function(D){switch(v){case 1:case 2:case 3:var I=3;break;default:I=v}var L=v;v=I;try{return D()}finally{v=L}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(D,I){switch(D){case 1:case 2:case 3:case 4:case 5:break;default:D=3}var L=v;v=D;try{return I()}finally{v=L}},e.unstable_scheduleCallback=function(D,I,L){var re=e.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?re+L:re):L=re,D){case 1:var te=-1;break;case 2:te=250;break;case 5:te=1073741823;break;case 4:te=1e4;break;default:te=5e3}return te=L+te,D={id:d++,callback:I,priorityLevel:D,startTime:L,expirationTime:te,sortIndex:-1},L>re?(D.sortIndex=L,t(c,D),r(s)===null&&D===r(c)&&(y?(w(P),P=-1):y=!0,ne(R,L-re))):(D.sortIndex=te,t(s,D),m||g||(m=!0,ee(x))),D},e.unstable_shouldYield=$,e.unstable_wrapCallback=function(D){var I=v;return function(){var L=v;v=I;try{return D.apply(this,arguments)}finally{v=L}}}})(xC)),xC}var vK;function lbe(){return vK||(vK=1,RC.exports=ube()),RC.exports}/**
89
- * @license React
90
- * react-dom.production.min.js
91
- *
92
- * Copyright (c) Facebook, Inc. and its affiliates.
93
- *
94
- * This source code is licensed under the MIT license found in the
95
- * LICENSE file in the root directory of this source tree.
96
- */var pK;function cbe(){if(pK)return Po;pK=1;var e=zo(),t=lbe();function r(l){for(var f="https://reactjs.org/docs/error-decoder.html?invariant="+l,p=1;p<arguments.length;p++)f+="&args[]="+encodeURIComponent(arguments[p]);return"Minified React error #"+l+"; visit "+f+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=new Set,i={};function a(l,f){o(l,f),o(l+"Capture",f)}function o(l,f){for(i[l]=f,l=0;l<f.length;l++)n.add(f[l])}var u=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),s=Object.prototype.hasOwnProperty,c=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,d={},h={};function v(l){return s.call(h,l)?!0:s.call(d,l)?!1:c.test(l)?h[l]=!0:(d[l]=!0,!1)}function g(l,f,p,T){if(p!==null&&p.type===0)return!1;switch(typeof f){case"function":case"symbol":return!0;case"boolean":return T?!1:p!==null?!p.acceptsBooleans:(l=l.toLowerCase().slice(0,5),l!=="data-"&&l!=="aria-");default:return!1}}function m(l,f,p,T){if(f===null||typeof f>"u"||g(l,f,p,T))return!0;if(T)return!1;if(p!==null)switch(p.type){case 3:return!f;case 4:return f===!1;case 5:return isNaN(f);case 6:return isNaN(f)||1>f}return!1}function y(l,f,p,T,F,J,ye){this.acceptsBooleans=f===2||f===3||f===4,this.attributeName=T,this.attributeNamespace=F,this.mustUseProperty=p,this.propertyName=l,this.type=f,this.sanitizeURL=J,this.removeEmptyString=ye}var S={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(l){S[l]=new y(l,0,!1,l,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(l){var f=l[0];S[f]=new y(f,1,!1,l[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(l){S[l]=new y(l,2,!1,l.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(l){S[l]=new y(l,2,!1,l,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(l){S[l]=new y(l,3,!1,l.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(l){S[l]=new y(l,3,!0,l,null,!1,!1)}),["capture","download"].forEach(function(l){S[l]=new y(l,4,!1,l,null,!1,!1)}),["cols","rows","size","span"].forEach(function(l){S[l]=new y(l,6,!1,l,null,!1,!1)}),["rowSpan","start"].forEach(function(l){S[l]=new y(l,5,!1,l.toLowerCase(),null,!1,!1)});var w=/[\-:]([a-z])/g;function b(l){return l[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(l){var f=l.replace(w,b);S[f]=new y(f,1,!1,l,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(l){var f=l.replace(w,b);S[f]=new y(f,1,!1,l,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(l){var f=l.replace(w,b);S[f]=new y(f,1,!1,l,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(l){S[l]=new y(l,1,!1,l.toLowerCase(),null,!1,!1)}),S.xlinkHref=new y("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(l){S[l]=new y(l,1,!1,l.toLowerCase(),null,!0,!0)});function A(l,f,p,T){var F=S.hasOwnProperty(f)?S[f]:null;(F!==null?F.type!==0:T||!(2<f.length)||f[0]!=="o"&&f[0]!=="O"||f[1]!=="n"&&f[1]!=="N")&&(m(f,p,F,T)&&(p=null),T||F===null?v(f)&&(p===null?l.removeAttribute(f):l.setAttribute(f,""+p)):F.mustUseProperty?l[F.propertyName]=p===null?F.type===3?!1:"":p:(f=F.attributeName,T=F.attributeNamespace,p===null?l.removeAttribute(f):(F=F.type,p=F===3||F===4&&p===!0?"":""+p,T?l.setAttributeNS(T,f,p):l.setAttribute(f,p))))}var R=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=Symbol.for("react.element"),O=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),P=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),U=Symbol.for("react.provider"),$=Symbol.for("react.context"),B=Symbol.for("react.forward_ref"),Y=Symbol.for("react.suspense"),Q=Symbol.for("react.suspense_list"),K=Symbol.for("react.memo"),ee=Symbol.for("react.lazy"),ne=Symbol.for("react.offscreen"),D=Symbol.iterator;function I(l){return l===null||typeof l!="object"?null:(l=D&&l[D]||l["@@iterator"],typeof l=="function"?l:null)}var L=Object.assign,re;function te(l){if(re===void 0)try{throw Error()}catch(p){var f=p.stack.trim().match(/\n( *(at )?)/);re=f&&f[1]||""}return`
97
- `+re+l}var ce=!1;function be(l,f){if(!l||ce)return"";ce=!0;var p=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(f)if(f=function(){throw Error()},Object.defineProperty(f.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(f,[])}catch(gt){var T=gt}Reflect.construct(l,[],f)}else{try{f.call()}catch(gt){T=gt}l.call(f.prototype)}else{try{throw Error()}catch(gt){T=gt}l()}}catch(gt){if(gt&&T&&typeof gt.stack=="string"){for(var F=gt.stack.split(`
98
- `),J=T.stack.split(`
99
- `),ye=F.length-1,De=J.length-1;1<=ye&&0<=De&&F[ye]!==J[De];)De--;for(;1<=ye&&0<=De;ye--,De--)if(F[ye]!==J[De]){if(ye!==1||De!==1)do if(ye--,De--,0>De||F[ye]!==J[De]){var ze=`
100
- `+F[ye].replace(" at new "," at ");return l.displayName&&ze.includes("<anonymous>")&&(ze=ze.replace("<anonymous>",l.displayName)),ze}while(1<=ye&&0<=De);break}}}finally{ce=!1,Error.prepareStackTrace=p}return(l=l?l.displayName||l.name:"")?te(l):""}function Ie(l){switch(l.tag){case 5:return te(l.type);case 16:return te("Lazy");case 13:return te("Suspense");case 19:return te("SuspenseList");case 0:case 2:case 15:return l=be(l.type,!1),l;case 11:return l=be(l.type.render,!1),l;case 1:return l=be(l.type,!0),l;default:return""}}function je(l){if(l==null)return null;if(typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case _:return"Fragment";case O:return"Portal";case N:return"Profiler";case P:return"StrictMode";case Y:return"Suspense";case Q:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case $:return(l.displayName||"Context")+".Consumer";case U:return(l._context.displayName||"Context")+".Provider";case B:var f=l.render;return l=l.displayName,l||(l=f.displayName||f.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case K:return f=l.displayName||null,f!==null?f:je(l.type)||"Memo";case ee:f=l._payload,l=l._init;try{return je(l(f))}catch{}}return null}function z(l){var f=l.type;switch(l.tag){case 24:return"Cache";case 9:return(f.displayName||"Context")+".Consumer";case 10:return(f._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return l=f.render,l=l.displayName||l.name||"",f.displayName||(l!==""?"ForwardRef("+l+")":"ForwardRef");case 7:return"Fragment";case 5:return f;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return je(f);case 8:return f===P?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof f=="function")return f.displayName||f.name||null;if(typeof f=="string")return f}return null}function k(l){switch(typeof l){case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function q(l){var f=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(f==="checkbox"||f==="radio")}function H(l){var f=q(l)?"checked":"value",p=Object.getOwnPropertyDescriptor(l.constructor.prototype,f),T=""+l[f];if(!l.hasOwnProperty(f)&&typeof p<"u"&&typeof p.get=="function"&&typeof p.set=="function"){var F=p.get,J=p.set;return Object.defineProperty(l,f,{configurable:!0,get:function(){return F.call(this)},set:function(ye){T=""+ye,J.call(this,ye)}}),Object.defineProperty(l,f,{enumerable:p.enumerable}),{getValue:function(){return T},setValue:function(ye){T=""+ye},stopTracking:function(){l._valueTracker=null,delete l[f]}}}}function ie(l){l._valueTracker||(l._valueTracker=H(l))}function V(l){if(!l)return!1;var f=l._valueTracker;if(!f)return!0;var p=f.getValue(),T="";return l&&(T=q(l)?l.checked?"true":"false":l.value),l=T,l!==p?(f.setValue(l),!0):!1}function Z(l){if(l=l||(typeof document<"u"?document:void 0),typeof l>"u")return null;try{return l.activeElement||l.body}catch{return l.body}}function me(l,f){var p=f.checked;return L({},f,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:p??l._wrapperState.initialChecked})}function fe(l,f){var p=f.defaultValue==null?"":f.defaultValue,T=f.checked!=null?f.checked:f.defaultChecked;p=k(f.value!=null?f.value:p),l._wrapperState={initialChecked:T,initialValue:p,controlled:f.type==="checkbox"||f.type==="radio"?f.checked!=null:f.value!=null}}function Re(l,f){f=f.checked,f!=null&&A(l,"checked",f,!1)}function Se(l,f){Re(l,f);var p=k(f.value),T=f.type;if(p!=null)T==="number"?(p===0&&l.value===""||l.value!=p)&&(l.value=""+p):l.value!==""+p&&(l.value=""+p);else if(T==="submit"||T==="reset"){l.removeAttribute("value");return}f.hasOwnProperty("value")?Me(l,f.type,p):f.hasOwnProperty("defaultValue")&&Me(l,f.type,k(f.defaultValue)),f.checked==null&&f.defaultChecked!=null&&(l.defaultChecked=!!f.defaultChecked)}function Oe(l,f,p){if(f.hasOwnProperty("value")||f.hasOwnProperty("defaultValue")){var T=f.type;if(!(T!=="submit"&&T!=="reset"||f.value!==void 0&&f.value!==null))return;f=""+l._wrapperState.initialValue,p||f===l.value||(l.value=f),l.defaultValue=f}p=l.name,p!==""&&(l.name=""),l.defaultChecked=!!l._wrapperState.initialChecked,p!==""&&(l.name=p)}function Me(l,f,p){(f!=="number"||Z(l.ownerDocument)!==l)&&(p==null?l.defaultValue=""+l._wrapperState.initialValue:l.defaultValue!==""+p&&(l.defaultValue=""+p))}var de=Array.isArray;function Ee(l,f,p,T){if(l=l.options,f){f={};for(var F=0;F<p.length;F++)f["$"+p[F]]=!0;for(p=0;p<l.length;p++)F=f.hasOwnProperty("$"+l[p].value),l[p].selected!==F&&(l[p].selected=F),F&&T&&(l[p].defaultSelected=!0)}else{for(p=""+k(p),f=null,F=0;F<l.length;F++){if(l[F].value===p){l[F].selected=!0,T&&(l[F].defaultSelected=!0);return}f!==null||l[F].disabled||(f=l[F])}f!==null&&(f.selected=!0)}}function _e(l,f){if(f.dangerouslySetInnerHTML!=null)throw Error(r(91));return L({},f,{value:void 0,defaultValue:void 0,children:""+l._wrapperState.initialValue})}function xe(l,f){var p=f.value;if(p==null){if(p=f.children,f=f.defaultValue,p!=null){if(f!=null)throw Error(r(92));if(de(p)){if(1<p.length)throw Error(r(93));p=p[0]}f=p}f==null&&(f=""),p=f}l._wrapperState={initialValue:k(p)}}function ke(l,f){var p=k(f.value),T=k(f.defaultValue);p!=null&&(p=""+p,p!==l.value&&(l.value=p),f.defaultValue==null&&l.defaultValue!==p&&(l.defaultValue=p)),T!=null&&(l.defaultValue=""+T)}function Le(l){var f=l.textContent;f===l._wrapperState.initialValue&&f!==""&&f!==null&&(l.value=f)}function He(l){switch(l){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function _t(l,f){return l==null||l==="http://www.w3.org/1999/xhtml"?He(f):l==="http://www.w3.org/2000/svg"&&f==="foreignObject"?"http://www.w3.org/1999/xhtml":l}var jt,Lt=(function(l){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(f,p,T,F){MSApp.execUnsafeLocalFunction(function(){return l(f,p,T,F)})}:l})(function(l,f){if(l.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in l)l.innerHTML=f;else{for(jt=jt||document.createElement("div"),jt.innerHTML="<svg>"+f.valueOf().toString()+"</svg>",f=jt.firstChild;l.firstChild;)l.removeChild(l.firstChild);for(;f.firstChild;)l.appendChild(f.firstChild)}});function Qe(l,f){if(f){var p=l.firstChild;if(p&&p===l.lastChild&&p.nodeType===3){p.nodeValue=f;return}}l.textContent=f}var bt={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},mt=["Webkit","ms","Moz","O"];Object.keys(bt).forEach(function(l){mt.forEach(function(f){f=f+l.charAt(0).toUpperCase()+l.substring(1),bt[f]=bt[l]})});function St(l,f,p){return f==null||typeof f=="boolean"||f===""?"":p||typeof f!="number"||f===0||bt.hasOwnProperty(l)&&bt[l]?(""+f).trim():f+"px"}function yt(l,f){l=l.style;for(var p in f)if(f.hasOwnProperty(p)){var T=p.indexOf("--")===0,F=St(p,f[p],T);p==="float"&&(p="cssFloat"),T?l.setProperty(p,F):l[p]=F}}var at=L({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function $t(l,f){if(f){if(at[l]&&(f.children!=null||f.dangerouslySetInnerHTML!=null))throw Error(r(137,l));if(f.dangerouslySetInnerHTML!=null){if(f.children!=null)throw Error(r(60));if(typeof f.dangerouslySetInnerHTML!="object"||!("__html"in f.dangerouslySetInnerHTML))throw Error(r(61))}if(f.style!=null&&typeof f.style!="object")throw Error(r(62))}}function xt(l,f){if(l.indexOf("-")===-1)return typeof f.is=="string";switch(l){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ce=null;function Ze(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var ut=null,Tt=null,Pt=null;function rr(l){if(l=jh(l)){if(typeof ut!="function")throw Error(r(280));var f=l.stateNode;f&&(f=og(f),ut(l.stateNode,l.type,f))}}function _r(l){Tt?Pt?Pt.push(l):Pt=[l]:Tt=l}function sr(){if(Tt){var l=Tt,f=Pt;if(Pt=Tt=null,rr(l),f)for(l=0;l<f.length;l++)rr(f[l])}}function mr(l,f){return l(f)}function Pr(){}var ln=!1;function di(l,f,p){if(ln)return l(f,p);ln=!0;try{return mr(l,f,p)}finally{ln=!1,(Tt!==null||Pt!==null)&&(Pr(),sr())}}function Nn(l,f){var p=l.stateNode;if(p===null)return null;var T=og(p);if(T===null)return null;p=T[f];e:switch(f){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(T=!T.disabled)||(l=l.type,T=!(l==="button"||l==="input"||l==="select"||l==="textarea")),l=!T;break e;default:l=!1}if(l)return null;if(p&&typeof p!="function")throw Error(r(231,f,typeof p));return p}var Rn=!1;if(u)try{var En={};Object.defineProperty(En,"passive",{get:function(){Rn=!0}}),window.addEventListener("test",En,En),window.removeEventListener("test",En,En)}catch{Rn=!1}function Jn(l,f,p,T,F,J,ye,De,ze){var gt=Array.prototype.slice.call(arguments,3);try{f.apply(p,gt)}catch(qt){this.onError(qt)}}var Zn=!1,Ci=null,_i=!1,Vi=null,Yi={onError:function(l){Zn=!0,Ci=l}};function Ln(l,f,p,T,F,J,ye,De,ze){Zn=!1,Ci=null,Jn.apply(Yi,arguments)}function oi(l,f,p,T,F,J,ye,De,ze){if(Ln.apply(this,arguments),Zn){if(Zn){var gt=Ci;Zn=!1,Ci=null}else throw Error(r(198));_i||(_i=!0,Vi=gt)}}function Di(l){var f=l,p=l;if(l.alternate)for(;f.return;)f=f.return;else{l=f;do f=l,(f.flags&4098)!==0&&(p=f.return),l=f.return;while(l)}return f.tag===3?p:null}function Ai(l){if(l.tag===13){var f=l.memoizedState;if(f===null&&(l=l.alternate,l!==null&&(f=l.memoizedState)),f!==null)return f.dehydrated}return null}function it(l){if(Di(l)!==l)throw Error(r(188))}function Ft(l){var f=l.alternate;if(!f){if(f=Di(l),f===null)throw Error(r(188));return f!==l?null:l}for(var p=l,T=f;;){var F=p.return;if(F===null)break;var J=F.alternate;if(J===null){if(T=F.return,T!==null){p=T;continue}break}if(F.child===J.child){for(J=F.child;J;){if(J===p)return it(F),l;if(J===T)return it(F),f;J=J.sibling}throw Error(r(188))}if(p.return!==T.return)p=F,T=J;else{for(var ye=!1,De=F.child;De;){if(De===p){ye=!0,p=F,T=J;break}if(De===T){ye=!0,T=F,p=J;break}De=De.sibling}if(!ye){for(De=J.child;De;){if(De===p){ye=!0,p=J,T=F;break}if(De===T){ye=!0,T=J,p=F;break}De=De.sibling}if(!ye)throw Error(r(189))}}if(p.alternate!==T)throw Error(r(190))}if(p.tag!==3)throw Error(r(188));return p.stateNode.current===p?l:f}function pt(l){return l=Ft(l),l!==null?Ke(l):null}function Ke(l){if(l.tag===5||l.tag===6)return l;for(l=l.child;l!==null;){var f=Ke(l);if(f!==null)return f;l=l.sibling}return null}var At=t.unstable_scheduleCallback,pr=t.unstable_cancelCallback,we=t.unstable_shouldYield,ct=t.unstable_requestPaint,nt=t.unstable_now,ft=t.unstable_getCurrentPriorityLevel,kt=t.unstable_ImmediatePriority,dt=t.unstable_UserBlockingPriority,Yt=t.unstable_NormalPriority,Dr=t.unstable_LowPriority,Zr=t.unstable_IdlePriority,en=null,pn=null;function Mt(l){if(pn&&typeof pn.onCommitFiberRoot=="function")try{pn.onCommitFiberRoot(en,l,void 0,(l.current.flags&128)===128)}catch{}}var Kr=Math.clz32?Math.clz32:va,Ki=Math.log,si=Math.LN2;function va(l){return l>>>=0,l===0?32:31-(Ki(l)/si|0)|0}var Bi=64,xa=4194304;function no(l){switch(l&-l){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return l&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return l&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return l}}function qa(l,f){var p=l.pendingLanes;if(p===0)return 0;var T=0,F=l.suspendedLanes,J=l.pingedLanes,ye=p&268435455;if(ye!==0){var De=ye&~F;De!==0?T=no(De):(J&=ye,J!==0&&(T=no(J)))}else ye=p&~F,ye!==0?T=no(ye):J!==0&&(T=no(J));if(T===0)return 0;if(f!==0&&f!==T&&(f&F)===0&&(F=T&-T,J=f&-f,F>=J||F===16&&(J&4194240)!==0))return f;if((T&4)!==0&&(T|=p&16),f=l.entangledLanes,f!==0)for(l=l.entanglements,f&=T;0<f;)p=31-Kr(f),F=1<<p,T|=l[p],f&=~F;return T}function W(l,f){switch(l){case 1:case 2:case 4:return f+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return f+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ue(l,f){for(var p=l.suspendedLanes,T=l.pingedLanes,F=l.expirationTimes,J=l.pendingLanes;0<J;){var ye=31-Kr(J),De=1<<ye,ze=F[ye];ze===-1?((De&p)===0||(De&T)!==0)&&(F[ye]=W(De,f)):ze<=f&&(l.expiredLanes|=De),J&=~De}}function Te(l){return l=l.pendingLanes&-1073741825,l!==0?l:l&1073741824?1073741824:0}function qe(){var l=Bi;return Bi<<=1,(Bi&4194240)===0&&(Bi=64),l}function ht(l){for(var f=[],p=0;31>p;p++)f.push(l);return f}function rt(l,f,p){l.pendingLanes|=f,f!==536870912&&(l.suspendedLanes=0,l.pingedLanes=0),l=l.eventTimes,f=31-Kr(f),l[f]=p}function Ot(l,f){var p=l.pendingLanes&~f;l.pendingLanes=f,l.suspendedLanes=0,l.pingedLanes=0,l.expiredLanes&=f,l.mutableReadLanes&=f,l.entangledLanes&=f,f=l.entanglements;var T=l.eventTimes;for(l=l.expirationTimes;0<p;){var F=31-Kr(p),J=1<<F;f[F]=0,T[F]=-1,l[F]=-1,p&=~J}}function Wt(l,f){var p=l.entangledLanes|=f;for(l=l.entanglements;p;){var T=31-Kr(p),F=1<<T;F&f|l[T]&f&&(l[T]|=f),p&=~F}}var Jt=0;function wr(l){return l&=-l,1<l?4<l?(l&268435455)!==0?16:536870912:4:1}var Ar,qn,ki,Ni,ms,lu=!1,ys=[],io=null,Si=null,Va=null,ao=new Map,gn=new Map,pa=[],Wo="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Go(l,f){switch(l){case"focusin":case"focusout":io=null;break;case"dragenter":case"dragleave":Si=null;break;case"mouseover":case"mouseout":Va=null;break;case"pointerover":case"pointerout":ao.delete(f.pointerId);break;case"gotpointercapture":case"lostpointercapture":gn.delete(f.pointerId)}}function ra(l,f,p,T,F,J){return l===null||l.nativeEvent!==J?(l={blockedOn:f,domEventName:p,eventSystemFlags:T,nativeEvent:J,targetContainers:[F]},f!==null&&(f=jh(f),f!==null&&qn(f)),l):(l.eventSystemFlags|=T,f=l.targetContainers,F!==null&&f.indexOf(F)===-1&&f.push(F),l)}function Us(l,f,p,T,F){switch(f){case"focusin":return io=ra(io,l,f,p,T,F),!0;case"dragenter":return Si=ra(Si,l,f,p,T,F),!0;case"mouseover":return Va=ra(Va,l,f,p,T,F),!0;case"pointerover":var J=F.pointerId;return ao.set(J,ra(ao.get(J)||null,l,f,p,T,F)),!0;case"gotpointercapture":return J=F.pointerId,gn.set(J,ra(gn.get(J)||null,l,f,p,T,F)),!0}return!1}function oo(l){var f=Ec(l.target);if(f!==null){var p=Di(f);if(p!==null){if(f=p.tag,f===13){if(f=Ai(p),f!==null){l.blockedOn=f,ms(l.priority,function(){ki(p)});return}}else if(f===3&&p.stateNode.current.memoizedState.isDehydrated){l.blockedOn=p.tag===3?p.stateNode.containerInfo:null;return}}}l.blockedOn=null}function _s(l){if(l.blockedOn!==null)return!1;for(var f=l.targetContainers;0<f.length;){var p=Vs(l.domEventName,l.eventSystemFlags,f[0],l.nativeEvent);if(p===null){p=l.nativeEvent;var T=new p.constructor(p.type,p);Ce=T,p.target.dispatchEvent(T),Ce=null}else return f=jh(p),f!==null&&qn(f),l.blockedOn=p,!1;f.shift()}return!0}function qs(l,f,p){_s(l)&&p.delete(f)}function Nu(){lu=!1,io!==null&&_s(io)&&(io=null),Si!==null&&_s(Si)&&(Si=null),Va!==null&&_s(Va)&&(Va=null),ao.forEach(qs),gn.forEach(qs)}function so(l,f){l.blockedOn===f&&(l.blockedOn=null,lu||(lu=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Nu)))}function So(l){function f(F){return so(F,l)}if(0<ys.length){so(ys[0],l);for(var p=1;p<ys.length;p++){var T=ys[p];T.blockedOn===l&&(T.blockedOn=null)}}for(io!==null&&so(io,l),Si!==null&&so(Si,l),Va!==null&&so(Va,l),ao.forEach(f),gn.forEach(f),p=0;p<pa.length;p++)T=pa[p],T.blockedOn===l&&(T.blockedOn=null);for(;0<pa.length&&(p=pa[0],p.blockedOn===null);)oo(p),p.blockedOn===null&&pa.shift()}var Hi=R.ReactCurrentBatchConfig,ga=!0;function Lu(l,f,p,T){var F=Jt,J=Hi.transition;Hi.transition=null;try{Jt=1,Ko(l,f,p,T)}finally{Jt=F,Hi.transition=J}}function Yo(l,f,p,T){var F=Jt,J=Hi.transition;Hi.transition=null;try{Jt=4,Ko(l,f,p,T)}finally{Jt=F,Hi.transition=J}}function Ko(l,f,p,T){if(ga){var F=Vs(l,f,p,T);if(F===null)b0(l,f,T,ma,p),Go(l,T);else if(Us(F,l,f,p,T))T.stopPropagation();else if(Go(l,T),f&4&&-1<Wo.indexOf(l)){for(;F!==null;){var J=jh(F);if(J!==null&&Ar(J),J=Vs(l,f,p,T),J===null&&b0(l,f,T,ma,p),J===F)break;F=J}F!==null&&T.stopPropagation()}else b0(l,f,T,null,p)}}var ma=null;function Vs(l,f,p,T){if(ma=null,l=Ze(T),l=Ec(l),l!==null)if(f=Di(l),f===null)l=null;else if(p=f.tag,p===13){if(l=Ai(f),l!==null)return l;l=null}else if(p===3){if(f.stateNode.current.memoizedState.isDehydrated)return f.tag===3?f.stateNode.containerInfo:null;l=null}else f!==l&&(l=null);return ma=l,null}function Mu(l){switch(l){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(ft()){case kt:return 1;case dt:return 4;case Yt:case Dr:return 16;case Zr:return 536870912;default:return 16}default:return 16}}var Li=null,ya=null,Eo=null;function Xo(){if(Eo)return Eo;var l,f=ya,p=f.length,T,F="value"in Li?Li.value:Li.textContent,J=F.length;for(l=0;l<p&&f[l]===F[l];l++);var ye=p-l;for(T=1;T<=ye&&f[p-T]===F[J-T];T++);return Eo=F.slice(l,1<T?1-T:void 0)}function wo(l){var f=l.keyCode;return"charCode"in l?(l=l.charCode,l===0&&f===13&&(l=13)):l=f,l===10&&(l=13),32<=l||l===13?l:0}function bo(){return!0}function E(){return!1}function C(l){function f(p,T,F,J,ye){this._reactName=p,this._targetInst=F,this.type=T,this.nativeEvent=J,this.target=ye,this.currentTarget=null;for(var De in l)l.hasOwnProperty(De)&&(p=l[De],this[De]=p?p(J):J[De]);return this.isDefaultPrevented=(J.defaultPrevented!=null?J.defaultPrevented:J.returnValue===!1)?bo:E,this.isPropagationStopped=E,this}return L(f.prototype,{preventDefault:function(){this.defaultPrevented=!0;var p=this.nativeEvent;p&&(p.preventDefault?p.preventDefault():typeof p.returnValue!="unknown"&&(p.returnValue=!1),this.isDefaultPrevented=bo)},stopPropagation:function(){var p=this.nativeEvent;p&&(p.stopPropagation?p.stopPropagation():typeof p.cancelBubble!="unknown"&&(p.cancelBubble=!0),this.isPropagationStopped=bo)},persist:function(){},isPersistent:bo}),f}var M={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(l){return l.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},X=C(M),oe=L({},M,{view:0,detail:0}),le=C(oe),ve,Ue,Ne,Ge=L({},oe,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:It,button:0,buttons:0,relatedTarget:function(l){return l.relatedTarget===void 0?l.fromElement===l.srcElement?l.toElement:l.fromElement:l.relatedTarget},movementX:function(l){return"movementX"in l?l.movementX:(l!==Ne&&(Ne&&l.type==="mousemove"?(ve=l.screenX-Ne.screenX,Ue=l.screenY-Ne.screenY):Ue=ve=0,Ne=l),ve)},movementY:function(l){return"movementY"in l?l.movementY:Ue}}),wt=C(Ge),Ct=L({},Ge,{dataTransfer:0}),st=C(Ct),Vt=L({},oe,{relatedTarget:0}),Rr=C(Vt),tn=L({},M,{animationName:0,elapsedTime:0,pseudoElement:0}),qr=C(tn),ei=L({},M,{clipboardData:function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData}}),hi=C(ei),G=L({},M,{data:0}),se=C(G),ge={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},$e={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Je={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function et(l){var f=this.nativeEvent;return f.getModifierState?f.getModifierState(l):(l=Je[l])?!!f[l]:!1}function It(){return et}var Gt=L({},oe,{key:function(l){if(l.key){var f=ge[l.key]||l.key;if(f!=="Unidentified")return f}return l.type==="keypress"?(l=wo(l),l===13?"Enter":String.fromCharCode(l)):l.type==="keydown"||l.type==="keyup"?$e[l.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:It,charCode:function(l){return l.type==="keypress"?wo(l):0},keyCode:function(l){return l.type==="keydown"||l.type==="keyup"?l.keyCode:0},which:function(l){return l.type==="keypress"?wo(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0}}),yr=C(Gt),Vr=L({},Ge,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),xr=C(Vr),Mn=L({},oe,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:It}),ui=C(Mn),Vn=L({},M,{propertyName:0,elapsedTime:0,pseudoElement:0}),_c=C(Vn),uo=L({},Ge,{deltaX:function(l){return"deltaX"in l?l.deltaX:"wheelDeltaX"in l?-l.wheelDeltaX:0},deltaY:function(l){return"deltaY"in l?l.deltaY:"wheelDeltaY"in l?-l.wheelDeltaY:"wheelDelta"in l?-l.wheelDelta:0},deltaZ:0,deltaMode:0}),ae=C(uo),pe=[9,13,27,32],Pe=u&&"CompositionEvent"in window,Fe=null;u&&"documentMode"in document&&(Fe=document.documentMode);var Be=u&&"TextEvent"in window&&!Fe,Ye=u&&(!Pe||Fe&&8<Fe&&11>=Fe),Rt=" ",Xt=!1;function Br(l,f){switch(l){case"keyup":return pe.indexOf(f.keyCode)!==-1;case"keydown":return f.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Lr(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var ti=!1;function Ei(l,f){switch(l){case"compositionend":return Lr(f);case"keypress":return f.which!==32?null:(Xt=!0,Rt);case"textInput":return l=f.data,l===Rt&&Xt?null:l;default:return null}}function wl(l,f){if(ti)return l==="compositionend"||!Pe&&Br(l,f)?(l=Xo(),Eo=ya=Li=null,ti=!1,l):null;switch(l){case"paste":return null;case"keypress":if(!(f.ctrlKey||f.altKey||f.metaKey)||f.ctrlKey&&f.altKey){if(f.char&&1<f.char.length)return f.char;if(f.which)return String.fromCharCode(f.which)}return null;case"compositionend":return Ye&&f.locale!=="ko"?null:f.data;default:return null}}var Qo={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Ph(l){var f=l&&l.nodeName&&l.nodeName.toLowerCase();return f==="input"?!!Qo[l.type]:f==="textarea"}function bl(l,f,p,T){_r(T),f=ng(f,"onChange"),0<f.length&&(p=new X("onChange","change",null,p,T),l.push({event:p,listeners:f}))}var cu=null,fu=null;function Dh(l){DN(l,0)}function zf(l){var f=Jf(l);if(V(f))return l}function Wf(l,f){if(l==="change")return f}var Gf=!1;if(u){var Sc;if(u){var kh="oninput"in document;if(!kh){var Yf=document.createElement("div");Yf.setAttribute("oninput","return;"),kh=typeof Yf.oninput=="function"}Sc=kh}else Sc=!1;Gf=Sc&&(!document.documentMode||9<document.documentMode)}function Nh(){cu&&(cu.detachEvent("onpropertychange",Ae),fu=cu=null)}function Ae(l){if(l.propertyName==="value"&&zf(fu)){var f=[];bl(f,fu,l,Ze(l)),di(Dh,f)}}function We(l,f,p){l==="focusin"?(Nh(),cu=f,fu=p,cu.attachEvent("onpropertychange",Ae)):l==="focusout"&&Nh()}function lt(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return zf(fu)}function Et(l,f){if(l==="click")return zf(f)}function Dt(l,f){if(l==="input"||l==="change")return zf(f)}function Zt(l,f){return l===f&&(l!==0||1/l===1/f)||l!==l&&f!==f}var tr=typeof Object.is=="function"?Object.is:Zt;function lr(l,f){if(tr(l,f))return!0;if(typeof l!="object"||l===null||typeof f!="object"||f===null)return!1;var p=Object.keys(l),T=Object.keys(f);if(p.length!==T.length)return!1;for(T=0;T<p.length;T++){var F=p[T];if(!s.call(f,F)||!tr(l[F],f[F]))return!1}return!0}function ar(l){for(;l&&l.firstChild;)l=l.firstChild;return l}function sn(l,f){var p=ar(l);l=0;for(var T;p;){if(p.nodeType===3){if(T=l+p.textContent.length,l<=f&&T>=f)return{node:p,offset:f-l};l=T}e:{for(;p;){if(p.nextSibling){p=p.nextSibling;break e}p=p.parentNode}p=void 0}p=ar(p)}}function Mr(l,f){return l&&f?l===f?!0:l&&l.nodeType===3?!1:f&&f.nodeType===3?Mr(l,f.parentNode):"contains"in l?l.contains(f):l.compareDocumentPosition?!!(l.compareDocumentPosition(f)&16):!1:!1}function Hr(){for(var l=window,f=Z();f instanceof l.HTMLIFrameElement;){try{var p=typeof f.contentWindow.location.href=="string"}catch{p=!1}if(p)l=f.contentWindow;else break;f=Z(l.document)}return f}function nn(l){var f=l&&l.nodeName&&l.nodeName.toLowerCase();return f&&(f==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||f==="textarea"||l.contentEditable==="true")}function Cr(l){var f=Hr(),p=l.focusedElem,T=l.selectionRange;if(f!==p&&p&&p.ownerDocument&&Mr(p.ownerDocument.documentElement,p)){if(T!==null&&nn(p)){if(f=T.start,l=T.end,l===void 0&&(l=f),"selectionStart"in p)p.selectionStart=f,p.selectionEnd=Math.min(l,p.value.length);else if(l=(f=p.ownerDocument||document)&&f.defaultView||window,l.getSelection){l=l.getSelection();var F=p.textContent.length,J=Math.min(T.start,F);T=T.end===void 0?J:Math.min(T.end,F),!l.extend&&J>T&&(F=T,T=J,J=F),F=sn(p,J);var ye=sn(p,T);F&&ye&&(l.rangeCount!==1||l.anchorNode!==F.node||l.anchorOffset!==F.offset||l.focusNode!==ye.node||l.focusOffset!==ye.offset)&&(f=f.createRange(),f.setStart(F.node,F.offset),l.removeAllRanges(),J>T?(l.addRange(f),l.extend(ye.node,ye.offset)):(f.setEnd(ye.node,ye.offset),l.addRange(f)))}}for(f=[],l=p;l=l.parentNode;)l.nodeType===1&&f.push({element:l,left:l.scrollLeft,top:l.scrollTop});for(typeof p.focus=="function"&&p.focus(),p=0;p<f.length;p++)l=f[p],l.element.scrollLeft=l.left,l.element.scrollTop=l.top}}var ri=u&&"documentMode"in document&&11>=document.documentMode,Xi=null,na=null,_a=null,To=!1;function $u(l,f,p){var T=p.window===p?p.document:p.nodeType===9?p:p.ownerDocument;To||Xi==null||Xi!==Z(T)||(T=Xi,"selectionStart"in T&&nn(T)?T={start:T.selectionStart,end:T.selectionEnd}:(T=(T.ownerDocument&&T.ownerDocument.defaultView||window).getSelection(),T={anchorNode:T.anchorNode,anchorOffset:T.anchorOffset,focusNode:T.focusNode,focusOffset:T.focusOffset}),_a&&lr(_a,T)||(_a=T,T=ng(na,"onSelect"),0<T.length&&(f=new X("onSelect","select",null,f,p),l.push({event:f,listeners:T}),f.target=Xi)))}function ia(l,f){var p={};return p[l.toLowerCase()]=f.toLowerCase(),p["Webkit"+l]="webkit"+f,p["Moz"+l]="moz"+f,p}var Kf={animationend:ia("Animation","AnimationEnd"),animationiteration:ia("Animation","AnimationIteration"),animationstart:ia("Animation","AnimationStart"),transitionend:ia("Transition","TransitionEnd")},_0={},TN={};u&&(TN=document.createElement("div").style,"AnimationEvent"in window||(delete Kf.animationend.animation,delete Kf.animationiteration.animation,delete Kf.animationstart.animation),"TransitionEvent"in window||delete Kf.transitionend.transition);function tg(l){if(_0[l])return _0[l];if(!Kf[l])return l;var f=Kf[l],p;for(p in f)if(f.hasOwnProperty(p)&&p in TN)return _0[l]=f[p];return l}var RN=tg("animationend"),xN=tg("animationiteration"),CN=tg("animationstart"),AN=tg("transitionend"),ON=new Map,IN="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Tl(l,f){ON.set(l,f),a(f,[l])}for(var S0=0;S0<IN.length;S0++){var E0=IN[S0],Due=E0.toLowerCase(),kue=E0[0].toUpperCase()+E0.slice(1);Tl(Due,"on"+kue)}Tl(RN,"onAnimationEnd"),Tl(xN,"onAnimationIteration"),Tl(CN,"onAnimationStart"),Tl("dblclick","onDoubleClick"),Tl("focusin","onFocus"),Tl("focusout","onBlur"),Tl(AN,"onTransitionEnd"),o("onMouseEnter",["mouseout","mouseover"]),o("onMouseLeave",["mouseout","mouseover"]),o("onPointerEnter",["pointerout","pointerover"]),o("onPointerLeave",["pointerout","pointerover"]),a("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),a("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),a("onBeforeInput",["compositionend","keypress","textInput","paste"]),a("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Lh="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Nue=new Set("cancel close invalid load scroll toggle".split(" ").concat(Lh));function PN(l,f,p){var T=l.type||"unknown-event";l.currentTarget=p,oi(T,f,void 0,l),l.currentTarget=null}function DN(l,f){f=(f&4)!==0;for(var p=0;p<l.length;p++){var T=l[p],F=T.event;T=T.listeners;e:{var J=void 0;if(f)for(var ye=T.length-1;0<=ye;ye--){var De=T[ye],ze=De.instance,gt=De.currentTarget;if(De=De.listener,ze!==J&&F.isPropagationStopped())break e;PN(F,De,gt),J=ze}else for(ye=0;ye<T.length;ye++){if(De=T[ye],ze=De.instance,gt=De.currentTarget,De=De.listener,ze!==J&&F.isPropagationStopped())break e;PN(F,De,gt),J=ze}}}if(_i)throw l=Vi,_i=!1,Vi=null,l}function wi(l,f){var p=f[O0];p===void 0&&(p=f[O0]=new Set);var T=l+"__bubble";p.has(T)||(kN(f,l,2,!1),p.add(T))}function w0(l,f,p){var T=0;f&&(T|=4),kN(p,l,T,f)}var rg="_reactListening"+Math.random().toString(36).slice(2);function Mh(l){if(!l[rg]){l[rg]=!0,n.forEach(function(p){p!=="selectionchange"&&(Nue.has(p)||w0(p,!1,l),w0(p,!0,l))});var f=l.nodeType===9?l:l.ownerDocument;f===null||f[rg]||(f[rg]=!0,w0("selectionchange",!1,f))}}function kN(l,f,p,T){switch(Mu(f)){case 1:var F=Lu;break;case 4:F=Yo;break;default:F=Ko}p=F.bind(null,f,p,l),F=void 0,!Rn||f!=="touchstart"&&f!=="touchmove"&&f!=="wheel"||(F=!0),T?F!==void 0?l.addEventListener(f,p,{capture:!0,passive:F}):l.addEventListener(f,p,!0):F!==void 0?l.addEventListener(f,p,{passive:F}):l.addEventListener(f,p,!1)}function b0(l,f,p,T,F){var J=T;if((f&1)===0&&(f&2)===0&&T!==null)e:for(;;){if(T===null)return;var ye=T.tag;if(ye===3||ye===4){var De=T.stateNode.containerInfo;if(De===F||De.nodeType===8&&De.parentNode===F)break;if(ye===4)for(ye=T.return;ye!==null;){var ze=ye.tag;if((ze===3||ze===4)&&(ze=ye.stateNode.containerInfo,ze===F||ze.nodeType===8&&ze.parentNode===F))return;ye=ye.return}for(;De!==null;){if(ye=Ec(De),ye===null)return;if(ze=ye.tag,ze===5||ze===6){T=J=ye;continue e}De=De.parentNode}}T=T.return}di(function(){var gt=J,qt=Ze(p),ir=[];e:{var Nt=ON.get(l);if(Nt!==void 0){var ur=X,nr=l;switch(l){case"keypress":if(wo(p)===0)break e;case"keydown":case"keyup":ur=yr;break;case"focusin":nr="focus",ur=Rr;break;case"focusout":nr="blur",ur=Rr;break;case"beforeblur":case"afterblur":ur=Rr;break;case"click":if(p.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ur=wt;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ur=st;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ur=ui;break;case RN:case xN:case CN:ur=qr;break;case AN:ur=_c;break;case"scroll":ur=le;break;case"wheel":ur=ae;break;case"copy":case"cut":case"paste":ur=hi;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ur=xr}var Qr=(f&4)!==0,Qi=!Qr&&l==="scroll",ot=Qr?Nt!==null?Nt+"Capture":null:Nt;Qr=[];for(var Xe=gt,vt;Xe!==null;){vt=Xe;var Qt=vt.stateNode;if(vt.tag===5&&Qt!==null&&(vt=Qt,ot!==null&&(Qt=Nn(Xe,ot),Qt!=null&&Qr.push($h(Xe,Qt,vt)))),Qi)break;Xe=Xe.return}0<Qr.length&&(Nt=new ur(Nt,nr,null,p,qt),ir.push({event:Nt,listeners:Qr}))}}if((f&7)===0){e:{if(Nt=l==="mouseover"||l==="pointerover",ur=l==="mouseout"||l==="pointerout",Nt&&p!==Ce&&(nr=p.relatedTarget||p.fromElement)&&(Ec(nr)||nr[ju]))break e;if((ur||Nt)&&(Nt=qt.window===qt?qt:(Nt=qt.ownerDocument)?Nt.defaultView||Nt.parentWindow:window,ur?(nr=p.relatedTarget||p.toElement,ur=gt,nr=nr?Ec(nr):null,nr!==null&&(Qi=Di(nr),nr!==Qi||nr.tag!==5&&nr.tag!==6)&&(nr=null)):(ur=null,nr=gt),ur!==nr)){if(Qr=wt,Qt="onMouseLeave",ot="onMouseEnter",Xe="mouse",(l==="pointerout"||l==="pointerover")&&(Qr=xr,Qt="onPointerLeave",ot="onPointerEnter",Xe="pointer"),Qi=ur==null?Nt:Jf(ur),vt=nr==null?Nt:Jf(nr),Nt=new Qr(Qt,Xe+"leave",ur,p,qt),Nt.target=Qi,Nt.relatedTarget=vt,Qt=null,Ec(qt)===gt&&(Qr=new Qr(ot,Xe+"enter",nr,p,qt),Qr.target=vt,Qr.relatedTarget=Qi,Qt=Qr),Qi=Qt,ur&&nr)t:{for(Qr=ur,ot=nr,Xe=0,vt=Qr;vt;vt=Xf(vt))Xe++;for(vt=0,Qt=ot;Qt;Qt=Xf(Qt))vt++;for(;0<Xe-vt;)Qr=Xf(Qr),Xe--;for(;0<vt-Xe;)ot=Xf(ot),vt--;for(;Xe--;){if(Qr===ot||ot!==null&&Qr===ot.alternate)break t;Qr=Xf(Qr),ot=Xf(ot)}Qr=null}else Qr=null;ur!==null&&NN(ir,Nt,ur,Qr,!1),nr!==null&&Qi!==null&&NN(ir,Qi,nr,Qr,!0)}}e:{if(Nt=gt?Jf(gt):window,ur=Nt.nodeName&&Nt.nodeName.toLowerCase(),ur==="select"||ur==="input"&&Nt.type==="file")var hr=Wf;else if(Ph(Nt))if(Gf)hr=Dt;else{hr=lt;var kr=We}else(ur=Nt.nodeName)&&ur.toLowerCase()==="input"&&(Nt.type==="checkbox"||Nt.type==="radio")&&(hr=Et);if(hr&&(hr=hr(l,gt))){bl(ir,hr,p,qt);break e}kr&&kr(l,Nt,gt),l==="focusout"&&(kr=Nt._wrapperState)&&kr.controlled&&Nt.type==="number"&&Me(Nt,"number",Nt.value)}switch(kr=gt?Jf(gt):window,l){case"focusin":(Ph(kr)||kr.contentEditable==="true")&&(Xi=kr,na=gt,_a=null);break;case"focusout":_a=na=Xi=null;break;case"mousedown":To=!0;break;case"contextmenu":case"mouseup":case"dragend":To=!1,$u(ir,p,qt);break;case"selectionchange":if(ri)break;case"keydown":case"keyup":$u(ir,p,qt)}var Nr;if(Pe)e:{switch(l){case"compositionstart":var Wr="onCompositionStart";break e;case"compositionend":Wr="onCompositionEnd";break e;case"compositionupdate":Wr="onCompositionUpdate";break e}Wr=void 0}else ti?Br(l,p)&&(Wr="onCompositionEnd"):l==="keydown"&&p.keyCode===229&&(Wr="onCompositionStart");Wr&&(Ye&&p.locale!=="ko"&&(ti||Wr!=="onCompositionStart"?Wr==="onCompositionEnd"&&ti&&(Nr=Xo()):(Li=qt,ya="value"in Li?Li.value:Li.textContent,ti=!0)),kr=ng(gt,Wr),0<kr.length&&(Wr=new se(Wr,l,null,p,qt),ir.push({event:Wr,listeners:kr}),Nr?Wr.data=Nr:(Nr=Lr(p),Nr!==null&&(Wr.data=Nr)))),(Nr=Be?Ei(l,p):wl(l,p))&&(gt=ng(gt,"onBeforeInput"),0<gt.length&&(qt=new se("onBeforeInput","beforeinput",null,p,qt),ir.push({event:qt,listeners:gt}),qt.data=Nr))}DN(ir,f)})}function $h(l,f,p){return{instance:l,listener:f,currentTarget:p}}function ng(l,f){for(var p=f+"Capture",T=[];l!==null;){var F=l,J=F.stateNode;F.tag===5&&J!==null&&(F=J,J=Nn(l,p),J!=null&&T.unshift($h(l,J,F)),J=Nn(l,f),J!=null&&T.push($h(l,J,F))),l=l.return}return T}function Xf(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5);return l||null}function NN(l,f,p,T,F){for(var J=f._reactName,ye=[];p!==null&&p!==T;){var De=p,ze=De.alternate,gt=De.stateNode;if(ze!==null&&ze===T)break;De.tag===5&&gt!==null&&(De=gt,F?(ze=Nn(p,J),ze!=null&&ye.unshift($h(p,ze,De))):F||(ze=Nn(p,J),ze!=null&&ye.push($h(p,ze,De)))),p=p.return}ye.length!==0&&l.push({event:f,listeners:ye})}var Lue=/\r\n?/g,Mue=/\u0000|\uFFFD/g;function LN(l){return(typeof l=="string"?l:""+l).replace(Lue,`
101
- `).replace(Mue,"")}function ig(l,f,p){if(f=LN(f),LN(l)!==f&&p)throw Error(r(425))}function ag(){}var T0=null,R0=null;function x0(l,f){return l==="textarea"||l==="noscript"||typeof f.children=="string"||typeof f.children=="number"||typeof f.dangerouslySetInnerHTML=="object"&&f.dangerouslySetInnerHTML!==null&&f.dangerouslySetInnerHTML.__html!=null}var C0=typeof setTimeout=="function"?setTimeout:void 0,$ue=typeof clearTimeout=="function"?clearTimeout:void 0,MN=typeof Promise=="function"?Promise:void 0,Fue=typeof queueMicrotask=="function"?queueMicrotask:typeof MN<"u"?function(l){return MN.resolve(null).then(l).catch(jue)}:C0;function jue(l){setTimeout(function(){throw l})}function A0(l,f){var p=f,T=0;do{var F=p.nextSibling;if(l.removeChild(p),F&&F.nodeType===8)if(p=F.data,p==="/$"){if(T===0){l.removeChild(F),So(f);return}T--}else p!=="$"&&p!=="$?"&&p!=="$!"||T++;p=F}while(p);So(f)}function Fu(l){for(;l!=null;l=l.nextSibling){var f=l.nodeType;if(f===1||f===3)break;if(f===8){if(f=l.data,f==="$"||f==="$!"||f==="$?")break;if(f==="/$")return null}}return l}function $N(l){l=l.previousSibling;for(var f=0;l;){if(l.nodeType===8){var p=l.data;if(p==="$"||p==="$!"||p==="$?"){if(f===0)return l;f--}else p==="/$"&&f++}l=l.previousSibling}return null}var Qf=Math.random().toString(36).slice(2),du="__reactFiber$"+Qf,Fh="__reactProps$"+Qf,ju="__reactContainer$"+Qf,O0="__reactEvents$"+Qf,Uue="__reactListeners$"+Qf,que="__reactHandles$"+Qf;function Ec(l){var f=l[du];if(f)return f;for(var p=l.parentNode;p;){if(f=p[ju]||p[du]){if(p=f.alternate,f.child!==null||p!==null&&p.child!==null)for(l=$N(l);l!==null;){if(p=l[du])return p;l=$N(l)}return f}l=p,p=l.parentNode}return null}function jh(l){return l=l[du]||l[ju],!l||l.tag!==5&&l.tag!==6&&l.tag!==13&&l.tag!==3?null:l}function Jf(l){if(l.tag===5||l.tag===6)return l.stateNode;throw Error(r(33))}function og(l){return l[Fh]||null}var I0=[],Zf=-1;function Rl(l){return{current:l}}function bi(l){0>Zf||(l.current=I0[Zf],I0[Zf]=null,Zf--)}function vi(l,f){Zf++,I0[Zf]=l.current,l.current=f}var xl={},Ba=Rl(xl),Ro=Rl(!1),wc=xl;function ed(l,f){var p=l.type.contextTypes;if(!p)return xl;var T=l.stateNode;if(T&&T.__reactInternalMemoizedUnmaskedChildContext===f)return T.__reactInternalMemoizedMaskedChildContext;var F={},J;for(J in p)F[J]=f[J];return T&&(l=l.stateNode,l.__reactInternalMemoizedUnmaskedChildContext=f,l.__reactInternalMemoizedMaskedChildContext=F),F}function xo(l){return l=l.childContextTypes,l!=null}function sg(){bi(Ro),bi(Ba)}function FN(l,f,p){if(Ba.current!==xl)throw Error(r(168));vi(Ba,f),vi(Ro,p)}function jN(l,f,p){var T=l.stateNode;if(f=f.childContextTypes,typeof T.getChildContext!="function")return p;T=T.getChildContext();for(var F in T)if(!(F in f))throw Error(r(108,z(l)||"Unknown",F));return L({},p,T)}function ug(l){return l=(l=l.stateNode)&&l.__reactInternalMemoizedMergedChildContext||xl,wc=Ba.current,vi(Ba,l),vi(Ro,Ro.current),!0}function UN(l,f,p){var T=l.stateNode;if(!T)throw Error(r(169));p?(l=jN(l,f,wc),T.__reactInternalMemoizedMergedChildContext=l,bi(Ro),bi(Ba),vi(Ba,l)):bi(Ro),vi(Ro,p)}var Uu=null,lg=!1,P0=!1;function qN(l){Uu===null?Uu=[l]:Uu.push(l)}function Vue(l){lg=!0,qN(l)}function Cl(){if(!P0&&Uu!==null){P0=!0;var l=0,f=Jt;try{var p=Uu;for(Jt=1;l<p.length;l++){var T=p[l];do T=T(!0);while(T!==null)}Uu=null,lg=!1}catch(F){throw Uu!==null&&(Uu=Uu.slice(l+1)),At(kt,Cl),F}finally{Jt=f,P0=!1}}return null}var Bue=R.ReactCurrentBatchConfig;function Bs(l,f){if(l&&l.defaultProps){f=L({},f),l=l.defaultProps;for(var p in l)f[p]===void 0&&(f[p]=l[p]);return f}return f}var cg=Rl(null),fg=null,td=null,D0=null;function k0(){D0=td=fg=null}function N0(l){var f=cg.current;bi(cg),l._currentValue=f}function L0(l,f,p){for(;l!==null;){var T=l.alternate;if((l.childLanes&f)!==f?(l.childLanes|=f,T!==null&&(T.childLanes|=f)):T!==null&&(T.childLanes&f)!==f&&(T.childLanes|=f),l===p)break;l=l.return}}function rd(l,f){fg=l,D0=td=null,l=l.dependencies,l!==null&&l.firstContext!==null&&((l.lanes&f)!==0&&(Ao=!0),l.firstContext=null)}function Ss(l){var f=l._currentValue;if(D0!==l)if(l={context:l,memoizedValue:f,next:null},td===null){if(fg===null)throw Error(r(308));td=l,fg.dependencies={lanes:0,firstContext:l}}else td=td.next=l;return f}var Hs=null,Al=!1;function M0(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function VN(l,f){l=l.updateQueue,f.updateQueue===l&&(f.updateQueue={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,effects:l.effects})}function qu(l,f){return{eventTime:l,lane:f,tag:0,payload:null,callback:null,next:null}}function Ol(l,f){var p=l.updateQueue;p!==null&&(p=p.shared,nM(l)?(l=p.interleaved,l===null?(f.next=f,Hs===null?Hs=[p]:Hs.push(p)):(f.next=l.next,l.next=f),p.interleaved=f):(l=p.pending,l===null?f.next=f:(f.next=l.next,l.next=f),p.pending=f))}function dg(l,f,p){if(f=f.updateQueue,f!==null&&(f=f.shared,(p&4194240)!==0)){var T=f.lanes;T&=l.pendingLanes,p|=T,f.lanes=p,Wt(l,p)}}function BN(l,f){var p=l.updateQueue,T=l.alternate;if(T!==null&&(T=T.updateQueue,p===T)){var F=null,J=null;if(p=p.firstBaseUpdate,p!==null){do{var ye={eventTime:p.eventTime,lane:p.lane,tag:p.tag,payload:p.payload,callback:p.callback,next:null};J===null?F=J=ye:J=J.next=ye,p=p.next}while(p!==null);J===null?F=J=f:J=J.next=f}else F=J=f;p={baseState:T.baseState,firstBaseUpdate:F,lastBaseUpdate:J,shared:T.shared,effects:T.effects},l.updateQueue=p;return}l=p.lastBaseUpdate,l===null?p.firstBaseUpdate=f:l.next=f,p.lastBaseUpdate=f}function hg(l,f,p,T){var F=l.updateQueue;Al=!1;var J=F.firstBaseUpdate,ye=F.lastBaseUpdate,De=F.shared.pending;if(De!==null){F.shared.pending=null;var ze=De,gt=ze.next;ze.next=null,ye===null?J=gt:ye.next=gt,ye=ze;var qt=l.alternate;qt!==null&&(qt=qt.updateQueue,De=qt.lastBaseUpdate,De!==ye&&(De===null?qt.firstBaseUpdate=gt:De.next=gt,qt.lastBaseUpdate=ze))}if(J!==null){var ir=F.baseState;ye=0,qt=gt=ze=null,De=J;do{var Nt=De.lane,ur=De.eventTime;if((T&Nt)===Nt){qt!==null&&(qt=qt.next={eventTime:ur,lane:0,tag:De.tag,payload:De.payload,callback:De.callback,next:null});e:{var nr=l,Qr=De;switch(Nt=f,ur=p,Qr.tag){case 1:if(nr=Qr.payload,typeof nr=="function"){ir=nr.call(ur,ir,Nt);break e}ir=nr;break e;case 3:nr.flags=nr.flags&-65537|128;case 0:if(nr=Qr.payload,Nt=typeof nr=="function"?nr.call(ur,ir,Nt):nr,Nt==null)break e;ir=L({},ir,Nt);break e;case 2:Al=!0}}De.callback!==null&&De.lane!==0&&(l.flags|=64,Nt=F.effects,Nt===null?F.effects=[De]:Nt.push(De))}else ur={eventTime:ur,lane:Nt,tag:De.tag,payload:De.payload,callback:De.callback,next:null},qt===null?(gt=qt=ur,ze=ir):qt=qt.next=ur,ye|=Nt;if(De=De.next,De===null){if(De=F.shared.pending,De===null)break;Nt=De,De=Nt.next,Nt.next=null,F.lastBaseUpdate=Nt,F.shared.pending=null}}while(!0);if(qt===null&&(ze=ir),F.baseState=ze,F.firstBaseUpdate=gt,F.lastBaseUpdate=qt,f=F.shared.interleaved,f!==null){F=f;do ye|=F.lane,F=F.next;while(F!==f)}else J===null&&(F.shared.lanes=0);Cc|=ye,l.lanes=ye,l.memoizedState=ir}}function HN(l,f,p){if(l=f.effects,f.effects=null,l!==null)for(f=0;f<l.length;f++){var T=l[f],F=T.callback;if(F!==null){if(T.callback=null,T=p,typeof F!="function")throw Error(r(191,F));F.call(T)}}}var zN=new e.Component().refs;function $0(l,f,p,T){f=l.memoizedState,p=p(T,f),p=p==null?f:L({},f,p),l.memoizedState=p,l.lanes===0&&(l.updateQueue.baseState=p)}var vg={isMounted:function(l){return(l=l._reactInternals)?Di(l)===l:!1},enqueueSetState:function(l,f,p){l=l._reactInternals;var T=co(),F=kl(l),J=qu(T,F);J.payload=f,p!=null&&(J.callback=p),Ol(l,J),f=Rs(l,F,T),f!==null&&dg(f,l,F)},enqueueReplaceState:function(l,f,p){l=l._reactInternals;var T=co(),F=kl(l),J=qu(T,F);J.tag=1,J.payload=f,p!=null&&(J.callback=p),Ol(l,J),f=Rs(l,F,T),f!==null&&dg(f,l,F)},enqueueForceUpdate:function(l,f){l=l._reactInternals;var p=co(),T=kl(l),F=qu(p,T);F.tag=2,f!=null&&(F.callback=f),Ol(l,F),f=Rs(l,T,p),f!==null&&dg(f,l,T)}};function WN(l,f,p,T,F,J,ye){return l=l.stateNode,typeof l.shouldComponentUpdate=="function"?l.shouldComponentUpdate(T,J,ye):f.prototype&&f.prototype.isPureReactComponent?!lr(p,T)||!lr(F,J):!0}function GN(l,f,p){var T=!1,F=xl,J=f.contextType;return typeof J=="object"&&J!==null?J=Ss(J):(F=xo(f)?wc:Ba.current,T=f.contextTypes,J=(T=T!=null)?ed(l,F):xl),f=new f(p,J),l.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=vg,l.stateNode=f,f._reactInternals=l,T&&(l=l.stateNode,l.__reactInternalMemoizedUnmaskedChildContext=F,l.__reactInternalMemoizedMaskedChildContext=J),f}function YN(l,f,p,T){l=f.state,typeof f.componentWillReceiveProps=="function"&&f.componentWillReceiveProps(p,T),typeof f.UNSAFE_componentWillReceiveProps=="function"&&f.UNSAFE_componentWillReceiveProps(p,T),f.state!==l&&vg.enqueueReplaceState(f,f.state,null)}function F0(l,f,p,T){var F=l.stateNode;F.props=p,F.state=l.memoizedState,F.refs=zN,M0(l);var J=f.contextType;typeof J=="object"&&J!==null?F.context=Ss(J):(J=xo(f)?wc:Ba.current,F.context=ed(l,J)),F.state=l.memoizedState,J=f.getDerivedStateFromProps,typeof J=="function"&&($0(l,f,J,p),F.state=l.memoizedState),typeof f.getDerivedStateFromProps=="function"||typeof F.getSnapshotBeforeUpdate=="function"||typeof F.UNSAFE_componentWillMount!="function"&&typeof F.componentWillMount!="function"||(f=F.state,typeof F.componentWillMount=="function"&&F.componentWillMount(),typeof F.UNSAFE_componentWillMount=="function"&&F.UNSAFE_componentWillMount(),f!==F.state&&vg.enqueueReplaceState(F,F.state,null),hg(l,p,F,T),F.state=l.memoizedState),typeof F.componentDidMount=="function"&&(l.flags|=4194308)}var nd=[],id=0,pg=null,gg=0,Es=[],ws=0,bc=null,Vu=1,Bu="";function Tc(l,f){nd[id++]=gg,nd[id++]=pg,pg=l,gg=f}function KN(l,f,p){Es[ws++]=Vu,Es[ws++]=Bu,Es[ws++]=bc,bc=l;var T=Vu;l=Bu;var F=32-Kr(T)-1;T&=~(1<<F),p+=1;var J=32-Kr(f)+F;if(30<J){var ye=F-F%5;J=(T&(1<<ye)-1).toString(32),T>>=ye,F-=ye,Vu=1<<32-Kr(f)+F|p<<F|T,Bu=J+l}else Vu=1<<J|p<<F|T,Bu=l}function j0(l){l.return!==null&&(Tc(l,1),KN(l,1,0))}function U0(l){for(;l===pg;)pg=nd[--id],nd[id]=null,gg=nd[--id],nd[id]=null;for(;l===bc;)bc=Es[--ws],Es[ws]=null,Bu=Es[--ws],Es[ws]=null,Vu=Es[--ws],Es[ws]=null}var Jo=null,Co=null,Oi=!1,zs=null;function XN(l,f){var p=xs(5,null,null,0);p.elementType="DELETED",p.stateNode=f,p.return=l,f=l.deletions,f===null?(l.deletions=[p],l.flags|=16):f.push(p)}function QN(l,f){switch(l.tag){case 5:var p=l.type;return f=f.nodeType!==1||p.toLowerCase()!==f.nodeName.toLowerCase()?null:f,f!==null?(l.stateNode=f,Jo=l,Co=Fu(f.firstChild),!0):!1;case 6:return f=l.pendingProps===""||f.nodeType!==3?null:f,f!==null?(l.stateNode=f,Jo=l,Co=null,!0):!1;case 13:return f=f.nodeType!==8?null:f,f!==null?(p=bc!==null?{id:Vu,overflow:Bu}:null,l.memoizedState={dehydrated:f,treeContext:p,retryLane:1073741824},p=xs(18,null,null,0),p.stateNode=f,p.return=l,l.child=p,Jo=l,Co=null,!0):!1;default:return!1}}function q0(l){return(l.mode&1)!==0&&(l.flags&128)===0}function V0(l){if(Oi){var f=Co;if(f){var p=f;if(!QN(l,f)){if(q0(l))throw Error(r(418));f=Fu(p.nextSibling);var T=Jo;f&&QN(l,f)?XN(T,p):(l.flags=l.flags&-4097|2,Oi=!1,Jo=l)}}else{if(q0(l))throw Error(r(418));l.flags=l.flags&-4097|2,Oi=!1,Jo=l}}}function JN(l){for(l=l.return;l!==null&&l.tag!==5&&l.tag!==3&&l.tag!==13;)l=l.return;Jo=l}function Uh(l){if(l!==Jo)return!1;if(!Oi)return JN(l),Oi=!0,!1;var f;if((f=l.tag!==3)&&!(f=l.tag!==5)&&(f=l.type,f=f!=="head"&&f!=="body"&&!x0(l.type,l.memoizedProps)),f&&(f=Co)){if(q0(l)){for(l=Co;l;)l=Fu(l.nextSibling);throw Error(r(418))}for(;f;)XN(l,f),f=Fu(f.nextSibling)}if(JN(l),l.tag===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(r(317));e:{for(l=l.nextSibling,f=0;l;){if(l.nodeType===8){var p=l.data;if(p==="/$"){if(f===0){Co=Fu(l.nextSibling);break e}f--}else p!=="$"&&p!=="$!"&&p!=="$?"||f++}l=l.nextSibling}Co=null}}else Co=Jo?Fu(l.stateNode.nextSibling):null;return!0}function ad(){Co=Jo=null,Oi=!1}function B0(l){zs===null?zs=[l]:zs.push(l)}function qh(l,f,p){if(l=p.ref,l!==null&&typeof l!="function"&&typeof l!="object"){if(p._owner){if(p=p._owner,p){if(p.tag!==1)throw Error(r(309));var T=p.stateNode}if(!T)throw Error(r(147,l));var F=T,J=""+l;return f!==null&&f.ref!==null&&typeof f.ref=="function"&&f.ref._stringRef===J?f.ref:(f=function(ye){var De=F.refs;De===zN&&(De=F.refs={}),ye===null?delete De[J]:De[J]=ye},f._stringRef=J,f)}if(typeof l!="string")throw Error(r(284));if(!p._owner)throw Error(r(290,l))}return l}function mg(l,f){throw l=Object.prototype.toString.call(f),Error(r(31,l==="[object Object]"?"object with keys {"+Object.keys(f).join(", ")+"}":l))}function ZN(l){var f=l._init;return f(l._payload)}function eL(l){function f(ot,Xe){if(l){var vt=ot.deletions;vt===null?(ot.deletions=[Xe],ot.flags|=16):vt.push(Xe)}}function p(ot,Xe){if(!l)return null;for(;Xe!==null;)f(ot,Xe),Xe=Xe.sibling;return null}function T(ot,Xe){for(ot=new Map;Xe!==null;)Xe.key!==null?ot.set(Xe.key,Xe):ot.set(Xe.index,Xe),Xe=Xe.sibling;return ot}function F(ot,Xe){return ot=Ll(ot,Xe),ot.index=0,ot.sibling=null,ot}function J(ot,Xe,vt){return ot.index=vt,l?(vt=ot.alternate,vt!==null?(vt=vt.index,vt<Xe?(ot.flags|=2,Xe):vt):(ot.flags|=2,Xe)):(ot.flags|=1048576,Xe)}function ye(ot){return l&&ot.alternate===null&&(ot.flags|=2),ot}function De(ot,Xe,vt,Qt){return Xe===null||Xe.tag!==6?(Xe=TS(vt,ot.mode,Qt),Xe.return=ot,Xe):(Xe=F(Xe,vt),Xe.return=ot,Xe)}function ze(ot,Xe,vt,Qt){var hr=vt.type;return hr===_?qt(ot,Xe,vt.props.children,Qt,vt.key):Xe!==null&&(Xe.elementType===hr||typeof hr=="object"&&hr!==null&&hr.$$typeof===ee&&ZN(hr)===Xe.type)?(Qt=F(Xe,vt.props),Qt.ref=qh(ot,Xe,vt),Qt.return=ot,Qt):(Qt=Fg(vt.type,vt.key,vt.props,null,ot.mode,Qt),Qt.ref=qh(ot,Xe,vt),Qt.return=ot,Qt)}function gt(ot,Xe,vt,Qt){return Xe===null||Xe.tag!==4||Xe.stateNode.containerInfo!==vt.containerInfo||Xe.stateNode.implementation!==vt.implementation?(Xe=RS(vt,ot.mode,Qt),Xe.return=ot,Xe):(Xe=F(Xe,vt.children||[]),Xe.return=ot,Xe)}function qt(ot,Xe,vt,Qt,hr){return Xe===null||Xe.tag!==7?(Xe=Pc(vt,ot.mode,Qt,hr),Xe.return=ot,Xe):(Xe=F(Xe,vt),Xe.return=ot,Xe)}function ir(ot,Xe,vt){if(typeof Xe=="string"&&Xe!==""||typeof Xe=="number")return Xe=TS(""+Xe,ot.mode,vt),Xe.return=ot,Xe;if(typeof Xe=="object"&&Xe!==null){switch(Xe.$$typeof){case x:return vt=Fg(Xe.type,Xe.key,Xe.props,null,ot.mode,vt),vt.ref=qh(ot,null,Xe),vt.return=ot,vt;case O:return Xe=RS(Xe,ot.mode,vt),Xe.return=ot,Xe;case ee:var Qt=Xe._init;return ir(ot,Qt(Xe._payload),vt)}if(de(Xe)||I(Xe))return Xe=Pc(Xe,ot.mode,vt,null),Xe.return=ot,Xe;mg(ot,Xe)}return null}function Nt(ot,Xe,vt,Qt){var hr=Xe!==null?Xe.key:null;if(typeof vt=="string"&&vt!==""||typeof vt=="number")return hr!==null?null:De(ot,Xe,""+vt,Qt);if(typeof vt=="object"&&vt!==null){switch(vt.$$typeof){case x:return vt.key===hr?ze(ot,Xe,vt,Qt):null;case O:return vt.key===hr?gt(ot,Xe,vt,Qt):null;case ee:return hr=vt._init,Nt(ot,Xe,hr(vt._payload),Qt)}if(de(vt)||I(vt))return hr!==null?null:qt(ot,Xe,vt,Qt,null);mg(ot,vt)}return null}function ur(ot,Xe,vt,Qt,hr){if(typeof Qt=="string"&&Qt!==""||typeof Qt=="number")return ot=ot.get(vt)||null,De(Xe,ot,""+Qt,hr);if(typeof Qt=="object"&&Qt!==null){switch(Qt.$$typeof){case x:return ot=ot.get(Qt.key===null?vt:Qt.key)||null,ze(Xe,ot,Qt,hr);case O:return ot=ot.get(Qt.key===null?vt:Qt.key)||null,gt(Xe,ot,Qt,hr);case ee:var kr=Qt._init;return ur(ot,Xe,vt,kr(Qt._payload),hr)}if(de(Qt)||I(Qt))return ot=ot.get(vt)||null,qt(Xe,ot,Qt,hr,null);mg(Xe,Qt)}return null}function nr(ot,Xe,vt,Qt){for(var hr=null,kr=null,Nr=Xe,Wr=Xe=0,Ea=null;Nr!==null&&Wr<vt.length;Wr++){Nr.index>Wr?(Ea=Nr,Nr=null):Ea=Nr.sibling;var Pn=Nt(ot,Nr,vt[Wr],Qt);if(Pn===null){Nr===null&&(Nr=Ea);break}l&&Nr&&Pn.alternate===null&&f(ot,Nr),Xe=J(Pn,Xe,Wr),kr===null?hr=Pn:kr.sibling=Pn,kr=Pn,Nr=Ea}if(Wr===vt.length)return p(ot,Nr),Oi&&Tc(ot,Wr),hr;if(Nr===null){for(;Wr<vt.length;Wr++)Nr=ir(ot,vt[Wr],Qt),Nr!==null&&(Xe=J(Nr,Xe,Wr),kr===null?hr=Nr:kr.sibling=Nr,kr=Nr);return Oi&&Tc(ot,Wr),hr}for(Nr=T(ot,Nr);Wr<vt.length;Wr++)Ea=ur(Nr,ot,Wr,vt[Wr],Qt),Ea!==null&&(l&&Ea.alternate!==null&&Nr.delete(Ea.key===null?Wr:Ea.key),Xe=J(Ea,Xe,Wr),kr===null?hr=Ea:kr.sibling=Ea,kr=Ea);return l&&Nr.forEach(function(Ml){return f(ot,Ml)}),Oi&&Tc(ot,Wr),hr}function Qr(ot,Xe,vt,Qt){var hr=I(vt);if(typeof hr!="function")throw Error(r(150));if(vt=hr.call(vt),vt==null)throw Error(r(151));for(var kr=hr=null,Nr=Xe,Wr=Xe=0,Ea=null,Pn=vt.next();Nr!==null&&!Pn.done;Wr++,Pn=vt.next()){Nr.index>Wr?(Ea=Nr,Nr=null):Ea=Nr.sibling;var Ml=Nt(ot,Nr,Pn.value,Qt);if(Ml===null){Nr===null&&(Nr=Ea);break}l&&Nr&&Ml.alternate===null&&f(ot,Nr),Xe=J(Ml,Xe,Wr),kr===null?hr=Ml:kr.sibling=Ml,kr=Ml,Nr=Ea}if(Pn.done)return p(ot,Nr),Oi&&Tc(ot,Wr),hr;if(Nr===null){for(;!Pn.done;Wr++,Pn=vt.next())Pn=ir(ot,Pn.value,Qt),Pn!==null&&(Xe=J(Pn,Xe,Wr),kr===null?hr=Pn:kr.sibling=Pn,kr=Pn);return Oi&&Tc(ot,Wr),hr}for(Nr=T(ot,Nr);!Pn.done;Wr++,Pn=vt.next())Pn=ur(Nr,ot,Wr,Pn.value,Qt),Pn!==null&&(l&&Pn.alternate!==null&&Nr.delete(Pn.key===null?Wr:Pn.key),Xe=J(Pn,Xe,Wr),kr===null?hr=Pn:kr.sibling=Pn,kr=Pn);return l&&Nr.forEach(function(Ele){return f(ot,Ele)}),Oi&&Tc(ot,Wr),hr}function Qi(ot,Xe,vt,Qt){if(typeof vt=="object"&&vt!==null&&vt.type===_&&vt.key===null&&(vt=vt.props.children),typeof vt=="object"&&vt!==null){switch(vt.$$typeof){case x:e:{for(var hr=vt.key,kr=Xe;kr!==null;){if(kr.key===hr){if(hr=vt.type,hr===_){if(kr.tag===7){p(ot,kr.sibling),Xe=F(kr,vt.props.children),Xe.return=ot,ot=Xe;break e}}else if(kr.elementType===hr||typeof hr=="object"&&hr!==null&&hr.$$typeof===ee&&ZN(hr)===kr.type){p(ot,kr.sibling),Xe=F(kr,vt.props),Xe.ref=qh(ot,kr,vt),Xe.return=ot,ot=Xe;break e}p(ot,kr);break}else f(ot,kr);kr=kr.sibling}vt.type===_?(Xe=Pc(vt.props.children,ot.mode,Qt,vt.key),Xe.return=ot,ot=Xe):(Qt=Fg(vt.type,vt.key,vt.props,null,ot.mode,Qt),Qt.ref=qh(ot,Xe,vt),Qt.return=ot,ot=Qt)}return ye(ot);case O:e:{for(kr=vt.key;Xe!==null;){if(Xe.key===kr)if(Xe.tag===4&&Xe.stateNode.containerInfo===vt.containerInfo&&Xe.stateNode.implementation===vt.implementation){p(ot,Xe.sibling),Xe=F(Xe,vt.children||[]),Xe.return=ot,ot=Xe;break e}else{p(ot,Xe);break}else f(ot,Xe);Xe=Xe.sibling}Xe=RS(vt,ot.mode,Qt),Xe.return=ot,ot=Xe}return ye(ot);case ee:return kr=vt._init,Qi(ot,Xe,kr(vt._payload),Qt)}if(de(vt))return nr(ot,Xe,vt,Qt);if(I(vt))return Qr(ot,Xe,vt,Qt);mg(ot,vt)}return typeof vt=="string"&&vt!==""||typeof vt=="number"?(vt=""+vt,Xe!==null&&Xe.tag===6?(p(ot,Xe.sibling),Xe=F(Xe,vt),Xe.return=ot,ot=Xe):(p(ot,Xe),Xe=TS(vt,ot.mode,Qt),Xe.return=ot,ot=Xe),ye(ot)):p(ot,Xe)}return Qi}var od=eL(!0),tL=eL(!1),Vh={},hu=Rl(Vh),Bh=Rl(Vh),Hh=Rl(Vh);function Rc(l){if(l===Vh)throw Error(r(174));return l}function H0(l,f){switch(vi(Hh,f),vi(Bh,l),vi(hu,Vh),l=f.nodeType,l){case 9:case 11:f=(f=f.documentElement)?f.namespaceURI:_t(null,"");break;default:l=l===8?f.parentNode:f,f=l.namespaceURI||null,l=l.tagName,f=_t(f,l)}bi(hu),vi(hu,f)}function sd(){bi(hu),bi(Bh),bi(Hh)}function rL(l){Rc(Hh.current);var f=Rc(hu.current),p=_t(f,l.type);f!==p&&(vi(Bh,l),vi(hu,p))}function z0(l){Bh.current===l&&(bi(hu),bi(Bh))}var Mi=Rl(0);function yg(l){for(var f=l;f!==null;){if(f.tag===13){var p=f.memoizedState;if(p!==null&&(p=p.dehydrated,p===null||p.data==="$?"||p.data==="$!"))return f}else if(f.tag===19&&f.memoizedProps.revealOrder!==void 0){if((f.flags&128)!==0)return f}else if(f.child!==null){f.child.return=f,f=f.child;continue}if(f===l)break;for(;f.sibling===null;){if(f.return===null||f.return===l)return null;f=f.return}f.sibling.return=f.return,f=f.sibling}return null}var W0=[];function G0(){for(var l=0;l<W0.length;l++)W0[l]._workInProgressVersionPrimary=null;W0.length=0}var _g=R.ReactCurrentDispatcher,Y0=R.ReactCurrentBatchConfig,xc=0,$i=null,ua=null,Sa=null,Sg=!1,zh=!1,Wh=0,Hue=0;function Ha(){throw Error(r(321))}function K0(l,f){if(f===null)return!1;for(var p=0;p<f.length&&p<l.length;p++)if(!tr(l[p],f[p]))return!1;return!0}function X0(l,f,p,T,F,J){if(xc=J,$i=f,f.memoizedState=null,f.updateQueue=null,f.lanes=0,_g.current=l===null||l.memoizedState===null?Yue:Kue,l=p(T,F),zh){J=0;do{if(zh=!1,Wh=0,25<=J)throw Error(r(301));J+=1,Sa=ua=null,f.updateQueue=null,_g.current=Xue,l=p(T,F)}while(zh)}if(_g.current=bg,f=ua!==null&&ua.next!==null,xc=0,Sa=ua=$i=null,Sg=!1,f)throw Error(r(300));return l}function Q0(){var l=Wh!==0;return Wh=0,l}function vu(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Sa===null?$i.memoizedState=Sa=l:Sa=Sa.next=l,Sa}function bs(){if(ua===null){var l=$i.alternate;l=l!==null?l.memoizedState:null}else l=ua.next;var f=Sa===null?$i.memoizedState:Sa.next;if(f!==null)Sa=f,ua=l;else{if(l===null)throw Error(r(310));ua=l,l={memoizedState:ua.memoizedState,baseState:ua.baseState,baseQueue:ua.baseQueue,queue:ua.queue,next:null},Sa===null?$i.memoizedState=Sa=l:Sa=Sa.next=l}return Sa}function Gh(l,f){return typeof f=="function"?f(l):f}function J0(l){var f=bs(),p=f.queue;if(p===null)throw Error(r(311));p.lastRenderedReducer=l;var T=ua,F=T.baseQueue,J=p.pending;if(J!==null){if(F!==null){var ye=F.next;F.next=J.next,J.next=ye}T.baseQueue=F=J,p.pending=null}if(F!==null){J=F.next,T=T.baseState;var De=ye=null,ze=null,gt=J;do{var qt=gt.lane;if((xc&qt)===qt)ze!==null&&(ze=ze.next={lane:0,action:gt.action,hasEagerState:gt.hasEagerState,eagerState:gt.eagerState,next:null}),T=gt.hasEagerState?gt.eagerState:l(T,gt.action);else{var ir={lane:qt,action:gt.action,hasEagerState:gt.hasEagerState,eagerState:gt.eagerState,next:null};ze===null?(De=ze=ir,ye=T):ze=ze.next=ir,$i.lanes|=qt,Cc|=qt}gt=gt.next}while(gt!==null&&gt!==J);ze===null?ye=T:ze.next=De,tr(T,f.memoizedState)||(Ao=!0),f.memoizedState=T,f.baseState=ye,f.baseQueue=ze,p.lastRenderedState=T}if(l=p.interleaved,l!==null){F=l;do J=F.lane,$i.lanes|=J,Cc|=J,F=F.next;while(F!==l)}else F===null&&(p.lanes=0);return[f.memoizedState,p.dispatch]}function Z0(l){var f=bs(),p=f.queue;if(p===null)throw Error(r(311));p.lastRenderedReducer=l;var T=p.dispatch,F=p.pending,J=f.memoizedState;if(F!==null){p.pending=null;var ye=F=F.next;do J=l(J,ye.action),ye=ye.next;while(ye!==F);tr(J,f.memoizedState)||(Ao=!0),f.memoizedState=J,f.baseQueue===null&&(f.baseState=J),p.lastRenderedState=J}return[J,T]}function nL(){}function iL(l,f){var p=$i,T=bs(),F=f(),J=!tr(T.memoizedState,F);if(J&&(T.memoizedState=F,Ao=!0),T=T.queue,eS(sL.bind(null,p,T,l),[l]),T.getSnapshot!==f||J||Sa!==null&&Sa.memoizedState.tag&1){if(p.flags|=2048,Yh(9,oL.bind(null,p,T,F,f),void 0,null),la===null)throw Error(r(349));(xc&30)!==0||aL(p,f,F)}return F}function aL(l,f,p){l.flags|=16384,l={getSnapshot:f,value:p},f=$i.updateQueue,f===null?(f={lastEffect:null,stores:null},$i.updateQueue=f,f.stores=[l]):(p=f.stores,p===null?f.stores=[l]:p.push(l))}function oL(l,f,p,T){f.value=p,f.getSnapshot=T,uL(f)&&Rs(l,1,-1)}function sL(l,f,p){return p(function(){uL(f)&&Rs(l,1,-1)})}function uL(l){var f=l.getSnapshot;l=l.value;try{var p=f();return!tr(l,p)}catch{return!0}}function lL(l){var f=vu();return typeof l=="function"&&(l=l()),f.memoizedState=f.baseState=l,l={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Gh,lastRenderedState:l},f.queue=l,l=l.dispatch=Gue.bind(null,$i,l),[f.memoizedState,l]}function Yh(l,f,p,T){return l={tag:l,create:f,destroy:p,deps:T,next:null},f=$i.updateQueue,f===null?(f={lastEffect:null,stores:null},$i.updateQueue=f,f.lastEffect=l.next=l):(p=f.lastEffect,p===null?f.lastEffect=l.next=l:(T=p.next,p.next=l,l.next=T,f.lastEffect=l)),l}function cL(){return bs().memoizedState}function Eg(l,f,p,T){var F=vu();$i.flags|=l,F.memoizedState=Yh(1|f,p,void 0,T===void 0?null:T)}function wg(l,f,p,T){var F=bs();T=T===void 0?null:T;var J=void 0;if(ua!==null){var ye=ua.memoizedState;if(J=ye.destroy,T!==null&&K0(T,ye.deps)){F.memoizedState=Yh(f,p,J,T);return}}$i.flags|=l,F.memoizedState=Yh(1|f,p,J,T)}function fL(l,f){return Eg(8390656,8,l,f)}function eS(l,f){return wg(2048,8,l,f)}function dL(l,f){return wg(4,2,l,f)}function hL(l,f){return wg(4,4,l,f)}function vL(l,f){if(typeof f=="function")return l=l(),f(l),function(){f(null)};if(f!=null)return l=l(),f.current=l,function(){f.current=null}}function pL(l,f,p){return p=p!=null?p.concat([l]):null,wg(4,4,vL.bind(null,f,l),p)}function tS(){}function gL(l,f){var p=bs();f=f===void 0?null:f;var T=p.memoizedState;return T!==null&&f!==null&&K0(f,T[1])?T[0]:(p.memoizedState=[l,f],l)}function mL(l,f){var p=bs();f=f===void 0?null:f;var T=p.memoizedState;return T!==null&&f!==null&&K0(f,T[1])?T[0]:(l=l(),p.memoizedState=[l,f],l)}function yL(l,f,p){return(xc&21)===0?(l.baseState&&(l.baseState=!1,Ao=!0),l.memoizedState=p):(tr(p,f)||(p=qe(),$i.lanes|=p,Cc|=p,l.baseState=!0),f)}function zue(l,f){var p=Jt;Jt=p!==0&&4>p?p:4,l(!0);var T=Y0.transition;Y0.transition={};try{l(!1),f()}finally{Jt=p,Y0.transition=T}}function _L(){return bs().memoizedState}function Wue(l,f,p){var T=kl(l);p={lane:T,action:p,hasEagerState:!1,eagerState:null,next:null},SL(l)?EL(f,p):(wL(l,f,p),p=co(),l=Rs(l,T,p),l!==null&&bL(l,f,T))}function Gue(l,f,p){var T=kl(l),F={lane:T,action:p,hasEagerState:!1,eagerState:null,next:null};if(SL(l))EL(f,F);else{wL(l,f,F);var J=l.alternate;if(l.lanes===0&&(J===null||J.lanes===0)&&(J=f.lastRenderedReducer,J!==null))try{var ye=f.lastRenderedState,De=J(ye,p);if(F.hasEagerState=!0,F.eagerState=De,tr(De,ye))return}catch{}finally{}p=co(),l=Rs(l,T,p),l!==null&&bL(l,f,T)}}function SL(l){var f=l.alternate;return l===$i||f!==null&&f===$i}function EL(l,f){zh=Sg=!0;var p=l.pending;p===null?f.next=f:(f.next=p.next,p.next=f),l.pending=f}function wL(l,f,p){nM(l)?(l=f.interleaved,l===null?(p.next=p,Hs===null?Hs=[f]:Hs.push(f)):(p.next=l.next,l.next=p),f.interleaved=p):(l=f.pending,l===null?p.next=p:(p.next=l.next,l.next=p),f.pending=p)}function bL(l,f,p){if((p&4194240)!==0){var T=f.lanes;T&=l.pendingLanes,p|=T,f.lanes=p,Wt(l,p)}}var bg={readContext:Ss,useCallback:Ha,useContext:Ha,useEffect:Ha,useImperativeHandle:Ha,useInsertionEffect:Ha,useLayoutEffect:Ha,useMemo:Ha,useReducer:Ha,useRef:Ha,useState:Ha,useDebugValue:Ha,useDeferredValue:Ha,useTransition:Ha,useMutableSource:Ha,useSyncExternalStore:Ha,useId:Ha,unstable_isNewReconciler:!1},Yue={readContext:Ss,useCallback:function(l,f){return vu().memoizedState=[l,f===void 0?null:f],l},useContext:Ss,useEffect:fL,useImperativeHandle:function(l,f,p){return p=p!=null?p.concat([l]):null,Eg(4194308,4,vL.bind(null,f,l),p)},useLayoutEffect:function(l,f){return Eg(4194308,4,l,f)},useInsertionEffect:function(l,f){return Eg(4,2,l,f)},useMemo:function(l,f){var p=vu();return f=f===void 0?null:f,l=l(),p.memoizedState=[l,f],l},useReducer:function(l,f,p){var T=vu();return f=p!==void 0?p(f):f,T.memoizedState=T.baseState=f,l={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:f},T.queue=l,l=l.dispatch=Wue.bind(null,$i,l),[T.memoizedState,l]},useRef:function(l){var f=vu();return l={current:l},f.memoizedState=l},useState:lL,useDebugValue:tS,useDeferredValue:function(l){return vu().memoizedState=l},useTransition:function(){var l=lL(!1),f=l[0];return l=zue.bind(null,l[1]),vu().memoizedState=l,[f,l]},useMutableSource:function(){},useSyncExternalStore:function(l,f,p){var T=$i,F=vu();if(Oi){if(p===void 0)throw Error(r(407));p=p()}else{if(p=f(),la===null)throw Error(r(349));(xc&30)!==0||aL(T,f,p)}F.memoizedState=p;var J={value:p,getSnapshot:f};return F.queue=J,fL(sL.bind(null,T,J,l),[l]),T.flags|=2048,Yh(9,oL.bind(null,T,J,p,f),void 0,null),p},useId:function(){var l=vu(),f=la.identifierPrefix;if(Oi){var p=Bu,T=Vu;p=(T&~(1<<32-Kr(T)-1)).toString(32)+p,f=":"+f+"R"+p,p=Wh++,0<p&&(f+="H"+p.toString(32)),f+=":"}else p=Hue++,f=":"+f+"r"+p.toString(32)+":";return l.memoizedState=f},unstable_isNewReconciler:!1},Kue={readContext:Ss,useCallback:gL,useContext:Ss,useEffect:eS,useImperativeHandle:pL,useInsertionEffect:dL,useLayoutEffect:hL,useMemo:mL,useReducer:J0,useRef:cL,useState:function(){return J0(Gh)},useDebugValue:tS,useDeferredValue:function(l){var f=bs();return yL(f,ua.memoizedState,l)},useTransition:function(){var l=J0(Gh)[0],f=bs().memoizedState;return[l,f]},useMutableSource:nL,useSyncExternalStore:iL,useId:_L,unstable_isNewReconciler:!1},Xue={readContext:Ss,useCallback:gL,useContext:Ss,useEffect:eS,useImperativeHandle:pL,useInsertionEffect:dL,useLayoutEffect:hL,useMemo:mL,useReducer:Z0,useRef:cL,useState:function(){return Z0(Gh)},useDebugValue:tS,useDeferredValue:function(l){var f=bs();return ua===null?f.memoizedState=l:yL(f,ua.memoizedState,l)},useTransition:function(){var l=Z0(Gh)[0],f=bs().memoizedState;return[l,f]},useMutableSource:nL,useSyncExternalStore:iL,useId:_L,unstable_isNewReconciler:!1};function rS(l,f){try{var p="",T=f;do p+=Ie(T),T=T.return;while(T);var F=p}catch(J){F=`
102
- Error generating stack: `+J.message+`
103
- `+J.stack}return{value:l,source:f,stack:F}}function nS(l,f){try{console.error(f.value)}catch(p){setTimeout(function(){throw p})}}var Que=typeof WeakMap=="function"?WeakMap:Map;function TL(l,f,p){p=qu(-1,p),p.tag=3,p.payload={element:null};var T=f.value;return p.callback=function(){Pg||(Pg=!0,gS=T),nS(l,f)},p}function RL(l,f,p){p=qu(-1,p),p.tag=3;var T=l.type.getDerivedStateFromError;if(typeof T=="function"){var F=f.value;p.payload=function(){return T(F)},p.callback=function(){nS(l,f)}}var J=l.stateNode;return J!==null&&typeof J.componentDidCatch=="function"&&(p.callback=function(){nS(l,f),typeof T!="function"&&(Pl===null?Pl=new Set([this]):Pl.add(this));var ye=f.stack;this.componentDidCatch(f.value,{componentStack:ye!==null?ye:""})}),p}function xL(l,f,p){var T=l.pingCache;if(T===null){T=l.pingCache=new Que;var F=new Set;T.set(f,F)}else F=T.get(f),F===void 0&&(F=new Set,T.set(f,F));F.has(p)||(F.add(p),l=cle.bind(null,l,f,p),f.then(l,l))}function CL(l){do{var f;if((f=l.tag===13)&&(f=l.memoizedState,f=f!==null?f.dehydrated!==null:!0),f)return l;l=l.return}while(l!==null);return null}function AL(l,f,p,T,F){return(l.mode&1)===0?(l===f?l.flags|=65536:(l.flags|=128,p.flags|=131072,p.flags&=-52805,p.tag===1&&(p.alternate===null?p.tag=17:(f=qu(-1,1),f.tag=2,Ol(p,f))),p.lanes|=1),l):(l.flags|=65536,l.lanes=F,l)}var OL,iS,IL,PL;OL=function(l,f){for(var p=f.child;p!==null;){if(p.tag===5||p.tag===6)l.appendChild(p.stateNode);else if(p.tag!==4&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===f)break;for(;p.sibling===null;){if(p.return===null||p.return===f)return;p=p.return}p.sibling.return=p.return,p=p.sibling}},iS=function(){},IL=function(l,f,p,T){var F=l.memoizedProps;if(F!==T){l=f.stateNode,Rc(hu.current);var J=null;switch(p){case"input":F=me(l,F),T=me(l,T),J=[];break;case"select":F=L({},F,{value:void 0}),T=L({},T,{value:void 0}),J=[];break;case"textarea":F=_e(l,F),T=_e(l,T),J=[];break;default:typeof F.onClick!="function"&&typeof T.onClick=="function"&&(l.onclick=ag)}$t(p,T);var ye;p=null;for(gt in F)if(!T.hasOwnProperty(gt)&&F.hasOwnProperty(gt)&&F[gt]!=null)if(gt==="style"){var De=F[gt];for(ye in De)De.hasOwnProperty(ye)&&(p||(p={}),p[ye]="")}else gt!=="dangerouslySetInnerHTML"&&gt!=="children"&&gt!=="suppressContentEditableWarning"&&gt!=="suppressHydrationWarning"&&gt!=="autoFocus"&&(i.hasOwnProperty(gt)?J||(J=[]):(J=J||[]).push(gt,null));for(gt in T){var ze=T[gt];if(De=F!=null?F[gt]:void 0,T.hasOwnProperty(gt)&&ze!==De&&(ze!=null||De!=null))if(gt==="style")if(De){for(ye in De)!De.hasOwnProperty(ye)||ze&&ze.hasOwnProperty(ye)||(p||(p={}),p[ye]="");for(ye in ze)ze.hasOwnProperty(ye)&&De[ye]!==ze[ye]&&(p||(p={}),p[ye]=ze[ye])}else p||(J||(J=[]),J.push(gt,p)),p=ze;else gt==="dangerouslySetInnerHTML"?(ze=ze?ze.__html:void 0,De=De?De.__html:void 0,ze!=null&&De!==ze&&(J=J||[]).push(gt,ze)):gt==="children"?typeof ze!="string"&&typeof ze!="number"||(J=J||[]).push(gt,""+ze):gt!=="suppressContentEditableWarning"&&gt!=="suppressHydrationWarning"&&(i.hasOwnProperty(gt)?(ze!=null&&gt==="onScroll"&&wi("scroll",l),J||De===ze||(J=[])):(J=J||[]).push(gt,ze))}p&&(J=J||[]).push("style",p);var gt=J;(f.updateQueue=gt)&&(f.flags|=4)}},PL=function(l,f,p,T){p!==T&&(f.flags|=4)};function Kh(l,f){if(!Oi)switch(l.tailMode){case"hidden":f=l.tail;for(var p=null;f!==null;)f.alternate!==null&&(p=f),f=f.sibling;p===null?l.tail=null:p.sibling=null;break;case"collapsed":p=l.tail;for(var T=null;p!==null;)p.alternate!==null&&(T=p),p=p.sibling;T===null?f||l.tail===null?l.tail=null:l.tail.sibling=null:T.sibling=null}}function za(l){var f=l.alternate!==null&&l.alternate.child===l.child,p=0,T=0;if(f)for(var F=l.child;F!==null;)p|=F.lanes|F.childLanes,T|=F.subtreeFlags&14680064,T|=F.flags&14680064,F.return=l,F=F.sibling;else for(F=l.child;F!==null;)p|=F.lanes|F.childLanes,T|=F.subtreeFlags,T|=F.flags,F.return=l,F=F.sibling;return l.subtreeFlags|=T,l.childLanes=p,f}function Jue(l,f,p){var T=f.pendingProps;switch(U0(f),f.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return za(f),null;case 1:return xo(f.type)&&sg(),za(f),null;case 3:return T=f.stateNode,sd(),bi(Ro),bi(Ba),G0(),T.pendingContext&&(T.context=T.pendingContext,T.pendingContext=null),(l===null||l.child===null)&&(Uh(f)?f.flags|=4:l===null||l.memoizedState.isDehydrated&&(f.flags&256)===0||(f.flags|=1024,zs!==null&&(_S(zs),zs=null))),iS(l,f),za(f),null;case 5:z0(f);var F=Rc(Hh.current);if(p=f.type,l!==null&&f.stateNode!=null)IL(l,f,p,T,F),l.ref!==f.ref&&(f.flags|=512,f.flags|=2097152);else{if(!T){if(f.stateNode===null)throw Error(r(166));return za(f),null}if(l=Rc(hu.current),Uh(f)){T=f.stateNode,p=f.type;var J=f.memoizedProps;switch(T[du]=f,T[Fh]=J,l=(f.mode&1)!==0,p){case"dialog":wi("cancel",T),wi("close",T);break;case"iframe":case"object":case"embed":wi("load",T);break;case"video":case"audio":for(F=0;F<Lh.length;F++)wi(Lh[F],T);break;case"source":wi("error",T);break;case"img":case"image":case"link":wi("error",T),wi("load",T);break;case"details":wi("toggle",T);break;case"input":fe(T,J),wi("invalid",T);break;case"select":T._wrapperState={wasMultiple:!!J.multiple},wi("invalid",T);break;case"textarea":xe(T,J),wi("invalid",T)}$t(p,J),F=null;for(var ye in J)if(J.hasOwnProperty(ye)){var De=J[ye];ye==="children"?typeof De=="string"?T.textContent!==De&&(J.suppressHydrationWarning!==!0&&ig(T.textContent,De,l),F=["children",De]):typeof De=="number"&&T.textContent!==""+De&&(J.suppressHydrationWarning!==!0&&ig(T.textContent,De,l),F=["children",""+De]):i.hasOwnProperty(ye)&&De!=null&&ye==="onScroll"&&wi("scroll",T)}switch(p){case"input":ie(T),Oe(T,J,!0);break;case"textarea":ie(T),Le(T);break;case"select":case"option":break;default:typeof J.onClick=="function"&&(T.onclick=ag)}T=F,f.updateQueue=T,T!==null&&(f.flags|=4)}else{ye=F.nodeType===9?F:F.ownerDocument,l==="http://www.w3.org/1999/xhtml"&&(l=He(p)),l==="http://www.w3.org/1999/xhtml"?p==="script"?(l=ye.createElement("div"),l.innerHTML="<script><\/script>",l=l.removeChild(l.firstChild)):typeof T.is=="string"?l=ye.createElement(p,{is:T.is}):(l=ye.createElement(p),p==="select"&&(ye=l,T.multiple?ye.multiple=!0:T.size&&(ye.size=T.size))):l=ye.createElementNS(l,p),l[du]=f,l[Fh]=T,OL(l,f,!1,!1),f.stateNode=l;e:{switch(ye=xt(p,T),p){case"dialog":wi("cancel",l),wi("close",l),F=T;break;case"iframe":case"object":case"embed":wi("load",l),F=T;break;case"video":case"audio":for(F=0;F<Lh.length;F++)wi(Lh[F],l);F=T;break;case"source":wi("error",l),F=T;break;case"img":case"image":case"link":wi("error",l),wi("load",l),F=T;break;case"details":wi("toggle",l),F=T;break;case"input":fe(l,T),F=me(l,T),wi("invalid",l);break;case"option":F=T;break;case"select":l._wrapperState={wasMultiple:!!T.multiple},F=L({},T,{value:void 0}),wi("invalid",l);break;case"textarea":xe(l,T),F=_e(l,T),wi("invalid",l);break;default:F=T}$t(p,F),De=F;for(J in De)if(De.hasOwnProperty(J)){var ze=De[J];J==="style"?yt(l,ze):J==="dangerouslySetInnerHTML"?(ze=ze?ze.__html:void 0,ze!=null&&Lt(l,ze)):J==="children"?typeof ze=="string"?(p!=="textarea"||ze!=="")&&Qe(l,ze):typeof ze=="number"&&Qe(l,""+ze):J!=="suppressContentEditableWarning"&&J!=="suppressHydrationWarning"&&J!=="autoFocus"&&(i.hasOwnProperty(J)?ze!=null&&J==="onScroll"&&wi("scroll",l):ze!=null&&A(l,J,ze,ye))}switch(p){case"input":ie(l),Oe(l,T,!1);break;case"textarea":ie(l),Le(l);break;case"option":T.value!=null&&l.setAttribute("value",""+k(T.value));break;case"select":l.multiple=!!T.multiple,J=T.value,J!=null?Ee(l,!!T.multiple,J,!1):T.defaultValue!=null&&Ee(l,!!T.multiple,T.defaultValue,!0);break;default:typeof F.onClick=="function"&&(l.onclick=ag)}switch(p){case"button":case"input":case"select":case"textarea":T=!!T.autoFocus;break e;case"img":T=!0;break e;default:T=!1}}T&&(f.flags|=4)}f.ref!==null&&(f.flags|=512,f.flags|=2097152)}return za(f),null;case 6:if(l&&f.stateNode!=null)PL(l,f,l.memoizedProps,T);else{if(typeof T!="string"&&f.stateNode===null)throw Error(r(166));if(p=Rc(Hh.current),Rc(hu.current),Uh(f)){if(T=f.stateNode,p=f.memoizedProps,T[du]=f,(J=T.nodeValue!==p)&&(l=Jo,l!==null))switch(l.tag){case 3:ig(T.nodeValue,p,(l.mode&1)!==0);break;case 5:l.memoizedProps.suppressHydrationWarning!==!0&&ig(T.nodeValue,p,(l.mode&1)!==0)}J&&(f.flags|=4)}else T=(p.nodeType===9?p:p.ownerDocument).createTextNode(T),T[du]=f,f.stateNode=T}return za(f),null;case 13:if(bi(Mi),T=f.memoizedState,Oi&&Co!==null&&(f.mode&1)!==0&&(f.flags&128)===0){for(T=Co;T;)T=Fu(T.nextSibling);return ad(),f.flags|=98560,f}if(T!==null&&T.dehydrated!==null){if(T=Uh(f),l===null){if(!T)throw Error(r(318));if(T=f.memoizedState,T=T!==null?T.dehydrated:null,!T)throw Error(r(317));T[du]=f}else ad(),(f.flags&128)===0&&(f.memoizedState=null),f.flags|=4;return za(f),null}return zs!==null&&(_S(zs),zs=null),(f.flags&128)!==0?(f.lanes=p,f):(T=T!==null,p=!1,l===null?Uh(f):p=l.memoizedState!==null,T!==p&&T&&(f.child.flags|=8192,(f.mode&1)!==0&&(l===null||(Mi.current&1)!==0?ca===0&&(ca=3):wS())),f.updateQueue!==null&&(f.flags|=4),za(f),null);case 4:return sd(),iS(l,f),l===null&&Mh(f.stateNode.containerInfo),za(f),null;case 10:return N0(f.type._context),za(f),null;case 17:return xo(f.type)&&sg(),za(f),null;case 19:if(bi(Mi),J=f.memoizedState,J===null)return za(f),null;if(T=(f.flags&128)!==0,ye=J.rendering,ye===null)if(T)Kh(J,!1);else{if(ca!==0||l!==null&&(l.flags&128)!==0)for(l=f.child;l!==null;){if(ye=yg(l),ye!==null){for(f.flags|=128,Kh(J,!1),T=ye.updateQueue,T!==null&&(f.updateQueue=T,f.flags|=4),f.subtreeFlags=0,T=p,p=f.child;p!==null;)J=p,l=T,J.flags&=14680066,ye=J.alternate,ye===null?(J.childLanes=0,J.lanes=l,J.child=null,J.subtreeFlags=0,J.memoizedProps=null,J.memoizedState=null,J.updateQueue=null,J.dependencies=null,J.stateNode=null):(J.childLanes=ye.childLanes,J.lanes=ye.lanes,J.child=ye.child,J.subtreeFlags=0,J.deletions=null,J.memoizedProps=ye.memoizedProps,J.memoizedState=ye.memoizedState,J.updateQueue=ye.updateQueue,J.type=ye.type,l=ye.dependencies,J.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),p=p.sibling;return vi(Mi,Mi.current&1|2),f.child}l=l.sibling}J.tail!==null&&nt()>cd&&(f.flags|=128,T=!0,Kh(J,!1),f.lanes=4194304)}else{if(!T)if(l=yg(ye),l!==null){if(f.flags|=128,T=!0,p=l.updateQueue,p!==null&&(f.updateQueue=p,f.flags|=4),Kh(J,!0),J.tail===null&&J.tailMode==="hidden"&&!ye.alternate&&!Oi)return za(f),null}else 2*nt()-J.renderingStartTime>cd&&p!==1073741824&&(f.flags|=128,T=!0,Kh(J,!1),f.lanes=4194304);J.isBackwards?(ye.sibling=f.child,f.child=ye):(p=J.last,p!==null?p.sibling=ye:f.child=ye,J.last=ye)}return J.tail!==null?(f=J.tail,J.rendering=f,J.tail=f.sibling,J.renderingStartTime=nt(),f.sibling=null,p=Mi.current,vi(Mi,T?p&1|2:p&1),f):(za(f),null);case 22:case 23:return ES(),T=f.memoizedState!==null,l!==null&&l.memoizedState!==null!==T&&(f.flags|=8192),T&&(f.mode&1)!==0?(Zo&1073741824)!==0&&(za(f),f.subtreeFlags&6&&(f.flags|=8192)):za(f),null;case 24:return null;case 25:return null}throw Error(r(156,f.tag))}var Zue=R.ReactCurrentOwner,Ao=!1;function lo(l,f,p,T){f.child=l===null?tL(f,null,p,T):od(f,l.child,p,T)}function DL(l,f,p,T,F){p=p.render;var J=f.ref;return rd(f,F),T=X0(l,f,p,T,J,F),p=Q0(),l!==null&&!Ao?(f.updateQueue=l.updateQueue,f.flags&=-2053,l.lanes&=~F,Hu(l,f,F)):(Oi&&p&&j0(f),f.flags|=1,lo(l,f,T,F),f.child)}function kL(l,f,p,T,F){if(l===null){var J=p.type;return typeof J=="function"&&!bS(J)&&J.defaultProps===void 0&&p.compare===null&&p.defaultProps===void 0?(f.tag=15,f.type=J,NL(l,f,J,T,F)):(l=Fg(p.type,null,T,f,f.mode,F),l.ref=f.ref,l.return=f,f.child=l)}if(J=l.child,(l.lanes&F)===0){var ye=J.memoizedProps;if(p=p.compare,p=p!==null?p:lr,p(ye,T)&&l.ref===f.ref)return Hu(l,f,F)}return f.flags|=1,l=Ll(J,T),l.ref=f.ref,l.return=f,f.child=l}function NL(l,f,p,T,F){if(l!==null){var J=l.memoizedProps;if(lr(J,T)&&l.ref===f.ref)if(Ao=!1,f.pendingProps=T=J,(l.lanes&F)!==0)(l.flags&131072)!==0&&(Ao=!0);else return f.lanes=l.lanes,Hu(l,f,F)}return aS(l,f,p,T,F)}function LL(l,f,p){var T=f.pendingProps,F=T.children,J=l!==null?l.memoizedState:null;if(T.mode==="hidden")if((f.mode&1)===0)f.memoizedState={baseLanes:0,cachePool:null,transitions:null},vi(ld,Zo),Zo|=p;else if((p&1073741824)!==0)f.memoizedState={baseLanes:0,cachePool:null,transitions:null},T=J!==null?J.baseLanes:p,vi(ld,Zo),Zo|=T;else return l=J!==null?J.baseLanes|p:p,f.lanes=f.childLanes=1073741824,f.memoizedState={baseLanes:l,cachePool:null,transitions:null},f.updateQueue=null,vi(ld,Zo),Zo|=l,null;else J!==null?(T=J.baseLanes|p,f.memoizedState=null):T=p,vi(ld,Zo),Zo|=T;return lo(l,f,F,p),f.child}function ML(l,f){var p=f.ref;(l===null&&p!==null||l!==null&&l.ref!==p)&&(f.flags|=512,f.flags|=2097152)}function aS(l,f,p,T,F){var J=xo(p)?wc:Ba.current;return J=ed(f,J),rd(f,F),p=X0(l,f,p,T,J,F),T=Q0(),l!==null&&!Ao?(f.updateQueue=l.updateQueue,f.flags&=-2053,l.lanes&=~F,Hu(l,f,F)):(Oi&&T&&j0(f),f.flags|=1,lo(l,f,p,F),f.child)}function $L(l,f,p,T,F){if(xo(p)){var J=!0;ug(f)}else J=!1;if(rd(f,F),f.stateNode===null)l!==null&&(l.alternate=null,f.alternate=null,f.flags|=2),GN(f,p,T),F0(f,p,T,F),T=!0;else if(l===null){var ye=f.stateNode,De=f.memoizedProps;ye.props=De;var ze=ye.context,gt=p.contextType;typeof gt=="object"&&gt!==null?gt=Ss(gt):(gt=xo(p)?wc:Ba.current,gt=ed(f,gt));var qt=p.getDerivedStateFromProps,ir=typeof qt=="function"||typeof ye.getSnapshotBeforeUpdate=="function";ir||typeof ye.UNSAFE_componentWillReceiveProps!="function"&&typeof ye.componentWillReceiveProps!="function"||(De!==T||ze!==gt)&&YN(f,ye,T,gt),Al=!1;var Nt=f.memoizedState;ye.state=Nt,hg(f,T,ye,F),ze=f.memoizedState,De!==T||Nt!==ze||Ro.current||Al?(typeof qt=="function"&&($0(f,p,qt,T),ze=f.memoizedState),(De=Al||WN(f,p,De,T,Nt,ze,gt))?(ir||typeof ye.UNSAFE_componentWillMount!="function"&&typeof ye.componentWillMount!="function"||(typeof ye.componentWillMount=="function"&&ye.componentWillMount(),typeof ye.UNSAFE_componentWillMount=="function"&&ye.UNSAFE_componentWillMount()),typeof ye.componentDidMount=="function"&&(f.flags|=4194308)):(typeof ye.componentDidMount=="function"&&(f.flags|=4194308),f.memoizedProps=T,f.memoizedState=ze),ye.props=T,ye.state=ze,ye.context=gt,T=De):(typeof ye.componentDidMount=="function"&&(f.flags|=4194308),T=!1)}else{ye=f.stateNode,VN(l,f),De=f.memoizedProps,gt=f.type===f.elementType?De:Bs(f.type,De),ye.props=gt,ir=f.pendingProps,Nt=ye.context,ze=p.contextType,typeof ze=="object"&&ze!==null?ze=Ss(ze):(ze=xo(p)?wc:Ba.current,ze=ed(f,ze));var ur=p.getDerivedStateFromProps;(qt=typeof ur=="function"||typeof ye.getSnapshotBeforeUpdate=="function")||typeof ye.UNSAFE_componentWillReceiveProps!="function"&&typeof ye.componentWillReceiveProps!="function"||(De!==ir||Nt!==ze)&&YN(f,ye,T,ze),Al=!1,Nt=f.memoizedState,ye.state=Nt,hg(f,T,ye,F);var nr=f.memoizedState;De!==ir||Nt!==nr||Ro.current||Al?(typeof ur=="function"&&($0(f,p,ur,T),nr=f.memoizedState),(gt=Al||WN(f,p,gt,T,Nt,nr,ze)||!1)?(qt||typeof ye.UNSAFE_componentWillUpdate!="function"&&typeof ye.componentWillUpdate!="function"||(typeof ye.componentWillUpdate=="function"&&ye.componentWillUpdate(T,nr,ze),typeof ye.UNSAFE_componentWillUpdate=="function"&&ye.UNSAFE_componentWillUpdate(T,nr,ze)),typeof ye.componentDidUpdate=="function"&&(f.flags|=4),typeof ye.getSnapshotBeforeUpdate=="function"&&(f.flags|=1024)):(typeof ye.componentDidUpdate!="function"||De===l.memoizedProps&&Nt===l.memoizedState||(f.flags|=4),typeof ye.getSnapshotBeforeUpdate!="function"||De===l.memoizedProps&&Nt===l.memoizedState||(f.flags|=1024),f.memoizedProps=T,f.memoizedState=nr),ye.props=T,ye.state=nr,ye.context=ze,T=gt):(typeof ye.componentDidUpdate!="function"||De===l.memoizedProps&&Nt===l.memoizedState||(f.flags|=4),typeof ye.getSnapshotBeforeUpdate!="function"||De===l.memoizedProps&&Nt===l.memoizedState||(f.flags|=1024),T=!1)}return oS(l,f,p,T,J,F)}function oS(l,f,p,T,F,J){ML(l,f);var ye=(f.flags&128)!==0;if(!T&&!ye)return F&&UN(f,p,!1),Hu(l,f,J);T=f.stateNode,Zue.current=f;var De=ye&&typeof p.getDerivedStateFromError!="function"?null:T.render();return f.flags|=1,l!==null&&ye?(f.child=od(f,l.child,null,J),f.child=od(f,null,De,J)):lo(l,f,De,J),f.memoizedState=T.state,F&&UN(f,p,!0),f.child}function FL(l){var f=l.stateNode;f.pendingContext?FN(l,f.pendingContext,f.pendingContext!==f.context):f.context&&FN(l,f.context,!1),H0(l,f.containerInfo)}function jL(l,f,p,T,F){return ad(),B0(F),f.flags|=256,lo(l,f,p,T),f.child}var Tg={dehydrated:null,treeContext:null,retryLane:0};function Rg(l){return{baseLanes:l,cachePool:null,transitions:null}}function UL(l,f){return{baseLanes:l.baseLanes|f,cachePool:null,transitions:l.transitions}}function qL(l,f,p){var T=f.pendingProps,F=Mi.current,J=!1,ye=(f.flags&128)!==0,De;if((De=ye)||(De=l!==null&&l.memoizedState===null?!1:(F&2)!==0),De?(J=!0,f.flags&=-129):(l===null||l.memoizedState!==null)&&(F|=1),vi(Mi,F&1),l===null)return V0(f),l=f.memoizedState,l!==null&&(l=l.dehydrated,l!==null)?((f.mode&1)===0?f.lanes=1:l.data==="$!"?f.lanes=8:f.lanes=1073741824,null):(F=T.children,l=T.fallback,J?(T=f.mode,J=f.child,F={mode:"hidden",children:F},(T&1)===0&&J!==null?(J.childLanes=0,J.pendingProps=F):J=jg(F,T,0,null),l=Pc(l,T,p,null),J.return=f,l.return=f,J.sibling=l,f.child=J,f.child.memoizedState=Rg(p),f.memoizedState=Tg,l):sS(f,F));if(F=l.memoizedState,F!==null){if(De=F.dehydrated,De!==null){if(ye)return f.flags&256?(f.flags&=-257,xg(l,f,p,Error(r(422)))):f.memoizedState!==null?(f.child=l.child,f.flags|=128,null):(J=T.fallback,F=f.mode,T=jg({mode:"visible",children:T.children},F,0,null),J=Pc(J,F,p,null),J.flags|=2,T.return=f,J.return=f,T.sibling=J,f.child=T,(f.mode&1)!==0&&od(f,l.child,null,p),f.child.memoizedState=Rg(p),f.memoizedState=Tg,J);if((f.mode&1)===0)f=xg(l,f,p,null);else if(De.data==="$!")f=xg(l,f,p,Error(r(419)));else if(T=(p&l.childLanes)!==0,Ao||T){if(T=la,T!==null){switch(p&-p){case 4:J=2;break;case 16:J=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:J=32;break;case 536870912:J=268435456;break;default:J=0}T=(J&(T.suspendedLanes|p))!==0?0:J,T!==0&&T!==F.retryLane&&(F.retryLane=T,Rs(l,T,-1))}wS(),f=xg(l,f,p,Error(r(421)))}else De.data==="$?"?(f.flags|=128,f.child=l.child,f=fle.bind(null,l),De._reactRetry=f,f=null):(p=F.treeContext,Co=Fu(De.nextSibling),Jo=f,Oi=!0,zs=null,p!==null&&(Es[ws++]=Vu,Es[ws++]=Bu,Es[ws++]=bc,Vu=p.id,Bu=p.overflow,bc=f),f=sS(f,f.pendingProps.children),f.flags|=4096);return f}return J?(T=BL(l,f,T.children,T.fallback,p),J=f.child,F=l.child.memoizedState,J.memoizedState=F===null?Rg(p):UL(F,p),J.childLanes=l.childLanes&~p,f.memoizedState=Tg,T):(p=VL(l,f,T.children,p),f.memoizedState=null,p)}return J?(T=BL(l,f,T.children,T.fallback,p),J=f.child,F=l.child.memoizedState,J.memoizedState=F===null?Rg(p):UL(F,p),J.childLanes=l.childLanes&~p,f.memoizedState=Tg,T):(p=VL(l,f,T.children,p),f.memoizedState=null,p)}function sS(l,f){return f=jg({mode:"visible",children:f},l.mode,0,null),f.return=l,l.child=f}function VL(l,f,p,T){var F=l.child;return l=F.sibling,p=Ll(F,{mode:"visible",children:p}),(f.mode&1)===0&&(p.lanes=T),p.return=f,p.sibling=null,l!==null&&(T=f.deletions,T===null?(f.deletions=[l],f.flags|=16):T.push(l)),f.child=p}function BL(l,f,p,T,F){var J=f.mode;l=l.child;var ye=l.sibling,De={mode:"hidden",children:p};return(J&1)===0&&f.child!==l?(p=f.child,p.childLanes=0,p.pendingProps=De,f.deletions=null):(p=Ll(l,De),p.subtreeFlags=l.subtreeFlags&14680064),ye!==null?T=Ll(ye,T):(T=Pc(T,J,F,null),T.flags|=2),T.return=f,p.return=f,p.sibling=T,f.child=p,T}function xg(l,f,p,T){return T!==null&&B0(T),od(f,l.child,null,p),l=sS(f,f.pendingProps.children),l.flags|=2,f.memoizedState=null,l}function HL(l,f,p){l.lanes|=f;var T=l.alternate;T!==null&&(T.lanes|=f),L0(l.return,f,p)}function uS(l,f,p,T,F){var J=l.memoizedState;J===null?l.memoizedState={isBackwards:f,rendering:null,renderingStartTime:0,last:T,tail:p,tailMode:F}:(J.isBackwards=f,J.rendering=null,J.renderingStartTime=0,J.last=T,J.tail=p,J.tailMode=F)}function zL(l,f,p){var T=f.pendingProps,F=T.revealOrder,J=T.tail;if(lo(l,f,T.children,p),T=Mi.current,(T&2)!==0)T=T&1|2,f.flags|=128;else{if(l!==null&&(l.flags&128)!==0)e:for(l=f.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&HL(l,p,f);else if(l.tag===19)HL(l,p,f);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===f)break e;for(;l.sibling===null;){if(l.return===null||l.return===f)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}T&=1}if(vi(Mi,T),(f.mode&1)===0)f.memoizedState=null;else switch(F){case"forwards":for(p=f.child,F=null;p!==null;)l=p.alternate,l!==null&&yg(l)===null&&(F=p),p=p.sibling;p=F,p===null?(F=f.child,f.child=null):(F=p.sibling,p.sibling=null),uS(f,!1,F,p,J);break;case"backwards":for(p=null,F=f.child,f.child=null;F!==null;){if(l=F.alternate,l!==null&&yg(l)===null){f.child=F;break}l=F.sibling,F.sibling=p,p=F,F=l}uS(f,!0,p,null,J);break;case"together":uS(f,!1,null,null,void 0);break;default:f.memoizedState=null}return f.child}function Hu(l,f,p){if(l!==null&&(f.dependencies=l.dependencies),Cc|=f.lanes,(p&f.childLanes)===0)return null;if(l!==null&&f.child!==l.child)throw Error(r(153));if(f.child!==null){for(l=f.child,p=Ll(l,l.pendingProps),f.child=p,p.return=f;l.sibling!==null;)l=l.sibling,p=p.sibling=Ll(l,l.pendingProps),p.return=f;p.sibling=null}return f.child}function ele(l,f,p){switch(f.tag){case 3:FL(f),ad();break;case 5:rL(f);break;case 1:xo(f.type)&&ug(f);break;case 4:H0(f,f.stateNode.containerInfo);break;case 10:var T=f.type._context,F=f.memoizedProps.value;vi(cg,T._currentValue),T._currentValue=F;break;case 13:if(T=f.memoizedState,T!==null)return T.dehydrated!==null?(vi(Mi,Mi.current&1),f.flags|=128,null):(p&f.child.childLanes)!==0?qL(l,f,p):(vi(Mi,Mi.current&1),l=Hu(l,f,p),l!==null?l.sibling:null);vi(Mi,Mi.current&1);break;case 19:if(T=(p&f.childLanes)!==0,(l.flags&128)!==0){if(T)return zL(l,f,p);f.flags|=128}if(F=f.memoizedState,F!==null&&(F.rendering=null,F.tail=null,F.lastEffect=null),vi(Mi,Mi.current),T)break;return null;case 22:case 23:return f.lanes=0,LL(l,f,p)}return Hu(l,f,p)}function tle(l,f){switch(U0(f),f.tag){case 1:return xo(f.type)&&sg(),l=f.flags,l&65536?(f.flags=l&-65537|128,f):null;case 3:return sd(),bi(Ro),bi(Ba),G0(),l=f.flags,(l&65536)!==0&&(l&128)===0?(f.flags=l&-65537|128,f):null;case 5:return z0(f),null;case 13:if(bi(Mi),l=f.memoizedState,l!==null&&l.dehydrated!==null){if(f.alternate===null)throw Error(r(340));ad()}return l=f.flags,l&65536?(f.flags=l&-65537|128,f):null;case 19:return bi(Mi),null;case 4:return sd(),null;case 10:return N0(f.type._context),null;case 22:case 23:return ES(),null;case 24:return null;default:return null}}var Cg=!1,Wa=!1,rle=typeof WeakSet=="function"?WeakSet:Set,cr=null;function ud(l,f){var p=l.ref;if(p!==null)if(typeof p=="function")try{p(null)}catch(T){zi(l,f,T)}else p.current=null}function lS(l,f,p){try{p()}catch(T){zi(l,f,T)}}var WL=!1;function nle(l,f){if(T0=ga,l=Hr(),nn(l)){if("selectionStart"in l)var p={start:l.selectionStart,end:l.selectionEnd};else e:{p=(p=l.ownerDocument)&&p.defaultView||window;var T=p.getSelection&&p.getSelection();if(T&&T.rangeCount!==0){p=T.anchorNode;var F=T.anchorOffset,J=T.focusNode;T=T.focusOffset;try{p.nodeType,J.nodeType}catch{p=null;break e}var ye=0,De=-1,ze=-1,gt=0,qt=0,ir=l,Nt=null;t:for(;;){for(var ur;ir!==p||F!==0&&ir.nodeType!==3||(De=ye+F),ir!==J||T!==0&&ir.nodeType!==3||(ze=ye+T),ir.nodeType===3&&(ye+=ir.nodeValue.length),(ur=ir.firstChild)!==null;)Nt=ir,ir=ur;for(;;){if(ir===l)break t;if(Nt===p&&++gt===F&&(De=ye),Nt===J&&++qt===T&&(ze=ye),(ur=ir.nextSibling)!==null)break;ir=Nt,Nt=ir.parentNode}ir=ur}p=De===-1||ze===-1?null:{start:De,end:ze}}else p=null}p=p||{start:0,end:0}}else p=null;for(R0={focusedElem:l,selectionRange:p},ga=!1,cr=f;cr!==null;)if(f=cr,l=f.child,(f.subtreeFlags&1028)!==0&&l!==null)l.return=f,cr=l;else for(;cr!==null;){f=cr;try{var nr=f.alternate;if((f.flags&1024)!==0)switch(f.tag){case 0:case 11:case 15:break;case 1:if(nr!==null){var Qr=nr.memoizedProps,Qi=nr.memoizedState,ot=f.stateNode,Xe=ot.getSnapshotBeforeUpdate(f.elementType===f.type?Qr:Bs(f.type,Qr),Qi);ot.__reactInternalSnapshotBeforeUpdate=Xe}break;case 3:var vt=f.stateNode.containerInfo;if(vt.nodeType===1)vt.textContent="";else if(vt.nodeType===9){var Qt=vt.body;Qt!=null&&(Qt.textContent="")}break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(hr){zi(f,f.return,hr)}if(l=f.sibling,l!==null){l.return=f.return,cr=l;break}cr=f.return}return nr=WL,WL=!1,nr}function Xh(l,f,p){var T=f.updateQueue;if(T=T!==null?T.lastEffect:null,T!==null){var F=T=T.next;do{if((F.tag&l)===l){var J=F.destroy;F.destroy=void 0,J!==void 0&&lS(f,p,J)}F=F.next}while(F!==T)}}function Ag(l,f){if(f=f.updateQueue,f=f!==null?f.lastEffect:null,f!==null){var p=f=f.next;do{if((p.tag&l)===l){var T=p.create;p.destroy=T()}p=p.next}while(p!==f)}}function cS(l){var f=l.ref;if(f!==null){var p=l.stateNode;switch(l.tag){case 5:l=p;break;default:l=p}typeof f=="function"?f(l):f.current=l}}function GL(l){var f=l.alternate;f!==null&&(l.alternate=null,GL(f)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(f=l.stateNode,f!==null&&(delete f[du],delete f[Fh],delete f[O0],delete f[Uue],delete f[que])),l.stateNode=null,l.return=null,l.dependencies=null,l.memoizedProps=null,l.memoizedState=null,l.pendingProps=null,l.stateNode=null,l.updateQueue=null}function YL(l){return l.tag===5||l.tag===3||l.tag===4}function KL(l){e:for(;;){for(;l.sibling===null;){if(l.return===null||YL(l.return))return null;l=l.return}for(l.sibling.return=l.return,l=l.sibling;l.tag!==5&&l.tag!==6&&l.tag!==18;){if(l.flags&2||l.child===null||l.tag===4)continue e;l.child.return=l,l=l.child}if(!(l.flags&2))return l.stateNode}}function fS(l,f,p){var T=l.tag;if(T===5||T===6)l=l.stateNode,f?p.nodeType===8?p.parentNode.insertBefore(l,f):p.insertBefore(l,f):(p.nodeType===8?(f=p.parentNode,f.insertBefore(l,p)):(f=p,f.appendChild(l)),p=p._reactRootContainer,p!=null||f.onclick!==null||(f.onclick=ag));else if(T!==4&&(l=l.child,l!==null))for(fS(l,f,p),l=l.sibling;l!==null;)fS(l,f,p),l=l.sibling}function dS(l,f,p){var T=l.tag;if(T===5||T===6)l=l.stateNode,f?p.insertBefore(l,f):p.appendChild(l);else if(T!==4&&(l=l.child,l!==null))for(dS(l,f,p),l=l.sibling;l!==null;)dS(l,f,p),l=l.sibling}var Ca=null,Ws=!1;function Il(l,f,p){for(p=p.child;p!==null;)XL(l,f,p),p=p.sibling}function XL(l,f,p){if(pn&&typeof pn.onCommitFiberUnmount=="function")try{pn.onCommitFiberUnmount(en,p)}catch{}switch(p.tag){case 5:Wa||ud(p,f);case 6:var T=Ca,F=Ws;Ca=null,Il(l,f,p),Ca=T,Ws=F,Ca!==null&&(Ws?(l=Ca,p=p.stateNode,l.nodeType===8?l.parentNode.removeChild(p):l.removeChild(p)):Ca.removeChild(p.stateNode));break;case 18:Ca!==null&&(Ws?(l=Ca,p=p.stateNode,l.nodeType===8?A0(l.parentNode,p):l.nodeType===1&&A0(l,p),So(l)):A0(Ca,p.stateNode));break;case 4:T=Ca,F=Ws,Ca=p.stateNode.containerInfo,Ws=!0,Il(l,f,p),Ca=T,Ws=F;break;case 0:case 11:case 14:case 15:if(!Wa&&(T=p.updateQueue,T!==null&&(T=T.lastEffect,T!==null))){F=T=T.next;do{var J=F,ye=J.destroy;J=J.tag,ye!==void 0&&((J&2)!==0||(J&4)!==0)&&lS(p,f,ye),F=F.next}while(F!==T)}Il(l,f,p);break;case 1:if(!Wa&&(ud(p,f),T=p.stateNode,typeof T.componentWillUnmount=="function"))try{T.props=p.memoizedProps,T.state=p.memoizedState,T.componentWillUnmount()}catch(De){zi(p,f,De)}Il(l,f,p);break;case 21:Il(l,f,p);break;case 22:p.mode&1?(Wa=(T=Wa)||p.memoizedState!==null,Il(l,f,p),Wa=T):Il(l,f,p);break;default:Il(l,f,p)}}function QL(l){var f=l.updateQueue;if(f!==null){l.updateQueue=null;var p=l.stateNode;p===null&&(p=l.stateNode=new rle),f.forEach(function(T){var F=dle.bind(null,l,T);p.has(T)||(p.add(T),T.then(F,F))})}}function Gs(l,f){var p=f.deletions;if(p!==null)for(var T=0;T<p.length;T++){var F=p[T];try{var J=l,ye=f,De=ye;e:for(;De!==null;){switch(De.tag){case 5:Ca=De.stateNode,Ws=!1;break e;case 3:Ca=De.stateNode.containerInfo,Ws=!0;break e;case 4:Ca=De.stateNode.containerInfo,Ws=!0;break e}De=De.return}if(Ca===null)throw Error(r(160));XL(J,ye,F),Ca=null,Ws=!1;var ze=F.alternate;ze!==null&&(ze.return=null),F.return=null}catch(gt){zi(F,f,gt)}}if(f.subtreeFlags&12854)for(f=f.child;f!==null;)JL(f,l),f=f.sibling}function JL(l,f){var p=l.alternate,T=l.flags;switch(l.tag){case 0:case 11:case 14:case 15:if(Gs(f,l),pu(l),T&4){try{Xh(3,l,l.return),Ag(3,l)}catch(nr){zi(l,l.return,nr)}try{Xh(5,l,l.return)}catch(nr){zi(l,l.return,nr)}}break;case 1:Gs(f,l),pu(l),T&512&&p!==null&&ud(p,p.return);break;case 5:if(Gs(f,l),pu(l),T&512&&p!==null&&ud(p,p.return),l.flags&32){var F=l.stateNode;try{Qe(F,"")}catch(nr){zi(l,l.return,nr)}}if(T&4&&(F=l.stateNode,F!=null)){var J=l.memoizedProps,ye=p!==null?p.memoizedProps:J,De=l.type,ze=l.updateQueue;if(l.updateQueue=null,ze!==null)try{De==="input"&&J.type==="radio"&&J.name!=null&&Re(F,J),xt(De,ye);var gt=xt(De,J);for(ye=0;ye<ze.length;ye+=2){var qt=ze[ye],ir=ze[ye+1];qt==="style"?yt(F,ir):qt==="dangerouslySetInnerHTML"?Lt(F,ir):qt==="children"?Qe(F,ir):A(F,qt,ir,gt)}switch(De){case"input":Se(F,J);break;case"textarea":ke(F,J);break;case"select":var Nt=F._wrapperState.wasMultiple;F._wrapperState.wasMultiple=!!J.multiple;var ur=J.value;ur!=null?Ee(F,!!J.multiple,ur,!1):Nt!==!!J.multiple&&(J.defaultValue!=null?Ee(F,!!J.multiple,J.defaultValue,!0):Ee(F,!!J.multiple,J.multiple?[]:"",!1))}F[Fh]=J}catch(nr){zi(l,l.return,nr)}}break;case 6:if(Gs(f,l),pu(l),T&4){if(l.stateNode===null)throw Error(r(162));gt=l.stateNode,qt=l.memoizedProps;try{gt.nodeValue=qt}catch(nr){zi(l,l.return,nr)}}break;case 3:if(Gs(f,l),pu(l),T&4&&p!==null&&p.memoizedState.isDehydrated)try{So(f.containerInfo)}catch(nr){zi(l,l.return,nr)}break;case 4:Gs(f,l),pu(l);break;case 13:Gs(f,l),pu(l),gt=l.child,gt.flags&8192&&gt.memoizedState!==null&&(gt.alternate===null||gt.alternate.memoizedState===null)&&(pS=nt()),T&4&&QL(l);break;case 22:if(gt=p!==null&&p.memoizedState!==null,l.mode&1?(Wa=(qt=Wa)||gt,Gs(f,l),Wa=qt):Gs(f,l),pu(l),T&8192){qt=l.memoizedState!==null;e:for(ir=null,Nt=l;;){if(Nt.tag===5){if(ir===null){ir=Nt;try{F=Nt.stateNode,qt?(J=F.style,typeof J.setProperty=="function"?J.setProperty("display","none","important"):J.display="none"):(De=Nt.stateNode,ze=Nt.memoizedProps.style,ye=ze!=null&&ze.hasOwnProperty("display")?ze.display:null,De.style.display=St("display",ye))}catch(nr){zi(l,l.return,nr)}}}else if(Nt.tag===6){if(ir===null)try{Nt.stateNode.nodeValue=qt?"":Nt.memoizedProps}catch(nr){zi(l,l.return,nr)}}else if((Nt.tag!==22&&Nt.tag!==23||Nt.memoizedState===null||Nt===l)&&Nt.child!==null){Nt.child.return=Nt,Nt=Nt.child;continue}if(Nt===l)break e;for(;Nt.sibling===null;){if(Nt.return===null||Nt.return===l)break e;ir===Nt&&(ir=null),Nt=Nt.return}ir===Nt&&(ir=null),Nt.sibling.return=Nt.return,Nt=Nt.sibling}if(qt&&!gt&&(l.mode&1)!==0)for(cr=l,l=l.child;l!==null;){for(gt=cr=l;cr!==null;){switch(qt=cr,ir=qt.child,qt.tag){case 0:case 11:case 14:case 15:Xh(4,qt,qt.return);break;case 1:if(ud(qt,qt.return),J=qt.stateNode,typeof J.componentWillUnmount=="function"){Nt=qt,ur=qt.return;try{F=Nt,J.props=F.memoizedProps,J.state=F.memoizedState,J.componentWillUnmount()}catch(nr){zi(Nt,ur,nr)}}break;case 5:ud(qt,qt.return);break;case 22:if(qt.memoizedState!==null){tM(gt);continue}}ir!==null?(ir.return=qt,cr=ir):tM(gt)}l=l.sibling}}break;case 19:Gs(f,l),pu(l),T&4&&QL(l);break;case 21:break;default:Gs(f,l),pu(l)}}function pu(l){var f=l.flags;if(f&2){try{e:{for(var p=l.return;p!==null;){if(YL(p)){var T=p;break e}p=p.return}throw Error(r(160))}switch(T.tag){case 5:var F=T.stateNode;T.flags&32&&(Qe(F,""),T.flags&=-33);var J=KL(l);dS(l,J,F);break;case 3:case 4:var ye=T.stateNode.containerInfo,De=KL(l);fS(l,De,ye);break;default:throw Error(r(161))}}catch(ze){zi(l,l.return,ze)}l.flags&=-3}f&4096&&(l.flags&=-4097)}function ile(l,f,p){cr=l,ZL(l)}function ZL(l,f,p){for(var T=(l.mode&1)!==0;cr!==null;){var F=cr,J=F.child;if(F.tag===22&&T){var ye=F.memoizedState!==null||Cg;if(!ye){var De=F.alternate,ze=De!==null&&De.memoizedState!==null||Wa;De=Cg;var gt=Wa;if(Cg=ye,(Wa=ze)&&!gt)for(cr=F;cr!==null;)ye=cr,ze=ye.child,ye.tag===22&&ye.memoizedState!==null?rM(F):ze!==null?(ze.return=ye,cr=ze):rM(F);for(;J!==null;)cr=J,ZL(J),J=J.sibling;cr=F,Cg=De,Wa=gt}eM(l)}else(F.subtreeFlags&8772)!==0&&J!==null?(J.return=F,cr=J):eM(l)}}function eM(l){for(;cr!==null;){var f=cr;if((f.flags&8772)!==0){var p=f.alternate;try{if((f.flags&8772)!==0)switch(f.tag){case 0:case 11:case 15:Wa||Ag(5,f);break;case 1:var T=f.stateNode;if(f.flags&4&&!Wa)if(p===null)T.componentDidMount();else{var F=f.elementType===f.type?p.memoizedProps:Bs(f.type,p.memoizedProps);T.componentDidUpdate(F,p.memoizedState,T.__reactInternalSnapshotBeforeUpdate)}var J=f.updateQueue;J!==null&&HN(f,J,T);break;case 3:var ye=f.updateQueue;if(ye!==null){if(p=null,f.child!==null)switch(f.child.tag){case 5:p=f.child.stateNode;break;case 1:p=f.child.stateNode}HN(f,ye,p)}break;case 5:var De=f.stateNode;if(p===null&&f.flags&4){p=De;var ze=f.memoizedProps;switch(f.type){case"button":case"input":case"select":case"textarea":ze.autoFocus&&p.focus();break;case"img":ze.src&&(p.src=ze.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(f.memoizedState===null){var gt=f.alternate;if(gt!==null){var qt=gt.memoizedState;if(qt!==null){var ir=qt.dehydrated;ir!==null&&So(ir)}}}break;case 19:case 17:case 21:case 22:case 23:break;default:throw Error(r(163))}Wa||f.flags&512&&cS(f)}catch(Nt){zi(f,f.return,Nt)}}if(f===l){cr=null;break}if(p=f.sibling,p!==null){p.return=f.return,cr=p;break}cr=f.return}}function tM(l){for(;cr!==null;){var f=cr;if(f===l){cr=null;break}var p=f.sibling;if(p!==null){p.return=f.return,cr=p;break}cr=f.return}}function rM(l){for(;cr!==null;){var f=cr;try{switch(f.tag){case 0:case 11:case 15:var p=f.return;try{Ag(4,f)}catch(ze){zi(f,p,ze)}break;case 1:var T=f.stateNode;if(typeof T.componentDidMount=="function"){var F=f.return;try{T.componentDidMount()}catch(ze){zi(f,F,ze)}}var J=f.return;try{cS(f)}catch(ze){zi(f,J,ze)}break;case 5:var ye=f.return;try{cS(f)}catch(ze){zi(f,ye,ze)}}}catch(ze){zi(f,f.return,ze)}if(f===l){cr=null;break}var De=f.sibling;if(De!==null){De.return=f.return,cr=De;break}cr=f.return}}var ale=Math.ceil,Og=R.ReactCurrentDispatcher,hS=R.ReactCurrentOwner,Ts=R.ReactCurrentBatchConfig,An=0,la=null,aa=null,Aa=0,Zo=0,ld=Rl(0),ca=0,Qh=null,Cc=0,Ig=0,vS=0,Jh=null,Oo=null,pS=0,cd=1/0,zu=null,Pg=!1,gS=null,Pl=null,Dg=!1,Dl=null,kg=0,Zh=0,mS=null,Ng=-1,Lg=0;function co(){return(An&6)!==0?nt():Ng!==-1?Ng:Ng=nt()}function kl(l){return(l.mode&1)===0?1:(An&2)!==0&&Aa!==0?Aa&-Aa:Bue.transition!==null?(Lg===0&&(Lg=qe()),Lg):(l=Jt,l!==0||(l=window.event,l=l===void 0?16:Mu(l.type)),l)}function Rs(l,f,p){if(50<Zh)throw Zh=0,mS=null,Error(r(185));var T=Mg(l,f);return T===null?null:(rt(T,f,p),((An&2)===0||T!==la)&&(T===la&&((An&2)===0&&(Ig|=f),ca===4&&Nl(T,Aa)),Io(T,p),f===1&&An===0&&(l.mode&1)===0&&(cd=nt()+500,lg&&Cl())),T)}function Mg(l,f){l.lanes|=f;var p=l.alternate;for(p!==null&&(p.lanes|=f),p=l,l=l.return;l!==null;)l.childLanes|=f,p=l.alternate,p!==null&&(p.childLanes|=f),p=l,l=l.return;return p.tag===3?p.stateNode:null}function nM(l){return(la!==null||Hs!==null)&&(l.mode&1)!==0&&(An&2)===0}function Io(l,f){var p=l.callbackNode;ue(l,f);var T=qa(l,l===la?Aa:0);if(T===0)p!==null&&pr(p),l.callbackNode=null,l.callbackPriority=0;else if(f=T&-T,l.callbackPriority!==f){if(p!=null&&pr(p),f===1)l.tag===0?Vue(aM.bind(null,l)):qN(aM.bind(null,l)),Fue(function(){An===0&&Cl()}),p=null;else{switch(wr(T)){case 1:p=kt;break;case 4:p=dt;break;case 16:p=Yt;break;case 536870912:p=Zr;break;default:p=Yt}p=hM(p,iM.bind(null,l))}l.callbackPriority=f,l.callbackNode=p}}function iM(l,f){if(Ng=-1,Lg=0,(An&6)!==0)throw Error(r(327));var p=l.callbackNode;if(fd()&&l.callbackNode!==p)return null;var T=qa(l,l===la?Aa:0);if(T===0)return null;if((T&30)!==0||(T&l.expiredLanes)!==0||f)f=$g(l,T);else{f=T;var F=An;An|=2;var J=sM();(la!==l||Aa!==f)&&(zu=null,cd=nt()+500,Oc(l,f));do try{ule();break}catch(De){oM(l,De)}while(!0);k0(),Og.current=J,An=F,aa!==null?f=0:(la=null,Aa=0,f=ca)}if(f!==0){if(f===2&&(F=Te(l),F!==0&&(T=F,f=yS(l,F))),f===1)throw p=Qh,Oc(l,0),Nl(l,T),Io(l,nt()),p;if(f===6)Nl(l,T);else{if(F=l.current.alternate,(T&30)===0&&!ole(F)&&(f=$g(l,T),f===2&&(J=Te(l),J!==0&&(T=J,f=yS(l,J))),f===1))throw p=Qh,Oc(l,0),Nl(l,T),Io(l,nt()),p;switch(l.finishedWork=F,l.finishedLanes=T,f){case 0:case 1:throw Error(r(345));case 2:Ic(l,Oo,zu);break;case 3:if(Nl(l,T),(T&130023424)===T&&(f=pS+500-nt(),10<f)){if(qa(l,0)!==0)break;if(F=l.suspendedLanes,(F&T)!==T){co(),l.pingedLanes|=l.suspendedLanes&F;break}l.timeoutHandle=C0(Ic.bind(null,l,Oo,zu),f);break}Ic(l,Oo,zu);break;case 4:if(Nl(l,T),(T&4194240)===T)break;for(f=l.eventTimes,F=-1;0<T;){var ye=31-Kr(T);J=1<<ye,ye=f[ye],ye>F&&(F=ye),T&=~J}if(T=F,T=nt()-T,T=(120>T?120:480>T?480:1080>T?1080:1920>T?1920:3e3>T?3e3:4320>T?4320:1960*ale(T/1960))-T,10<T){l.timeoutHandle=C0(Ic.bind(null,l,Oo,zu),T);break}Ic(l,Oo,zu);break;case 5:Ic(l,Oo,zu);break;default:throw Error(r(329))}}}return Io(l,nt()),l.callbackNode===p?iM.bind(null,l):null}function yS(l,f){var p=Jh;return l.current.memoizedState.isDehydrated&&(Oc(l,f).flags|=256),l=$g(l,f),l!==2&&(f=Oo,Oo=p,f!==null&&_S(f)),l}function _S(l){Oo===null?Oo=l:Oo.push.apply(Oo,l)}function ole(l){for(var f=l;;){if(f.flags&16384){var p=f.updateQueue;if(p!==null&&(p=p.stores,p!==null))for(var T=0;T<p.length;T++){var F=p[T],J=F.getSnapshot;F=F.value;try{if(!tr(J(),F))return!1}catch{return!1}}}if(p=f.child,f.subtreeFlags&16384&&p!==null)p.return=f,f=p;else{if(f===l)break;for(;f.sibling===null;){if(f.return===null||f.return===l)return!0;f=f.return}f.sibling.return=f.return,f=f.sibling}}return!0}function Nl(l,f){for(f&=~vS,f&=~Ig,l.suspendedLanes|=f,l.pingedLanes&=~f,l=l.expirationTimes;0<f;){var p=31-Kr(f),T=1<<p;l[p]=-1,f&=~T}}function aM(l){if((An&6)!==0)throw Error(r(327));fd();var f=qa(l,0);if((f&1)===0)return Io(l,nt()),null;var p=$g(l,f);if(l.tag!==0&&p===2){var T=Te(l);T!==0&&(f=T,p=yS(l,T))}if(p===1)throw p=Qh,Oc(l,0),Nl(l,f),Io(l,nt()),p;if(p===6)throw Error(r(345));return l.finishedWork=l.current.alternate,l.finishedLanes=f,Ic(l,Oo,zu),Io(l,nt()),null}function SS(l,f){var p=An;An|=1;try{return l(f)}finally{An=p,An===0&&(cd=nt()+500,lg&&Cl())}}function Ac(l){Dl!==null&&Dl.tag===0&&(An&6)===0&&fd();var f=An;An|=1;var p=Ts.transition,T=Jt;try{if(Ts.transition=null,Jt=1,l)return l()}finally{Jt=T,Ts.transition=p,An=f,(An&6)===0&&Cl()}}function ES(){Zo=ld.current,bi(ld)}function Oc(l,f){l.finishedWork=null,l.finishedLanes=0;var p=l.timeoutHandle;if(p!==-1&&(l.timeoutHandle=-1,$ue(p)),aa!==null)for(p=aa.return;p!==null;){var T=p;switch(U0(T),T.tag){case 1:T=T.type.childContextTypes,T!=null&&sg();break;case 3:sd(),bi(Ro),bi(Ba),G0();break;case 5:z0(T);break;case 4:sd();break;case 13:bi(Mi);break;case 19:bi(Mi);break;case 10:N0(T.type._context);break;case 22:case 23:ES()}p=p.return}if(la=l,aa=l=Ll(l.current,null),Aa=Zo=f,ca=0,Qh=null,vS=Ig=Cc=0,Oo=Jh=null,Hs!==null){for(f=0;f<Hs.length;f++)if(p=Hs[f],T=p.interleaved,T!==null){p.interleaved=null;var F=T.next,J=p.pending;if(J!==null){var ye=J.next;J.next=F,T.next=ye}p.pending=T}Hs=null}return l}function oM(l,f){do{var p=aa;try{if(k0(),_g.current=bg,Sg){for(var T=$i.memoizedState;T!==null;){var F=T.queue;F!==null&&(F.pending=null),T=T.next}Sg=!1}if(xc=0,Sa=ua=$i=null,zh=!1,Wh=0,hS.current=null,p===null||p.return===null){ca=1,Qh=f,aa=null;break}e:{var J=l,ye=p.return,De=p,ze=f;if(f=Aa,De.flags|=32768,ze!==null&&typeof ze=="object"&&typeof ze.then=="function"){var gt=ze,qt=De,ir=qt.tag;if((qt.mode&1)===0&&(ir===0||ir===11||ir===15)){var Nt=qt.alternate;Nt?(qt.updateQueue=Nt.updateQueue,qt.memoizedState=Nt.memoizedState,qt.lanes=Nt.lanes):(qt.updateQueue=null,qt.memoizedState=null)}var ur=CL(ye);if(ur!==null){ur.flags&=-257,AL(ur,ye,De,J,f),ur.mode&1&&xL(J,gt,f),f=ur,ze=gt;var nr=f.updateQueue;if(nr===null){var Qr=new Set;Qr.add(ze),f.updateQueue=Qr}else nr.add(ze);break e}else{if((f&1)===0){xL(J,gt,f),wS();break e}ze=Error(r(426))}}else if(Oi&&De.mode&1){var Qi=CL(ye);if(Qi!==null){(Qi.flags&65536)===0&&(Qi.flags|=256),AL(Qi,ye,De,J,f),B0(ze);break e}}J=ze,ca!==4&&(ca=2),Jh===null?Jh=[J]:Jh.push(J),ze=rS(ze,De),De=ye;do{switch(De.tag){case 3:De.flags|=65536,f&=-f,De.lanes|=f;var ot=TL(De,ze,f);BN(De,ot);break e;case 1:J=ze;var Xe=De.type,vt=De.stateNode;if((De.flags&128)===0&&(typeof Xe.getDerivedStateFromError=="function"||vt!==null&&typeof vt.componentDidCatch=="function"&&(Pl===null||!Pl.has(vt)))){De.flags|=65536,f&=-f,De.lanes|=f;var Qt=RL(De,J,f);BN(De,Qt);break e}}De=De.return}while(De!==null)}lM(p)}catch(hr){f=hr,aa===p&&p!==null&&(aa=p=p.return);continue}break}while(!0)}function sM(){var l=Og.current;return Og.current=bg,l===null?bg:l}function wS(){(ca===0||ca===3||ca===2)&&(ca=4),la===null||(Cc&268435455)===0&&(Ig&268435455)===0||Nl(la,Aa)}function $g(l,f){var p=An;An|=2;var T=sM();(la!==l||Aa!==f)&&(zu=null,Oc(l,f));do try{sle();break}catch(F){oM(l,F)}while(!0);if(k0(),An=p,Og.current=T,aa!==null)throw Error(r(261));return la=null,Aa=0,ca}function sle(){for(;aa!==null;)uM(aa)}function ule(){for(;aa!==null&&!we();)uM(aa)}function uM(l){var f=dM(l.alternate,l,Zo);l.memoizedProps=l.pendingProps,f===null?lM(l):aa=f,hS.current=null}function lM(l){var f=l;do{var p=f.alternate;if(l=f.return,(f.flags&32768)===0){if(p=Jue(p,f,Zo),p!==null){aa=p;return}}else{if(p=tle(p,f),p!==null){p.flags&=32767,aa=p;return}if(l!==null)l.flags|=32768,l.subtreeFlags=0,l.deletions=null;else{ca=6,aa=null;return}}if(f=f.sibling,f!==null){aa=f;return}aa=f=l}while(f!==null);ca===0&&(ca=5)}function Ic(l,f,p){var T=Jt,F=Ts.transition;try{Ts.transition=null,Jt=1,lle(l,f,p,T)}finally{Ts.transition=F,Jt=T}return null}function lle(l,f,p,T){do fd();while(Dl!==null);if((An&6)!==0)throw Error(r(327));p=l.finishedWork;var F=l.finishedLanes;if(p===null)return null;if(l.finishedWork=null,l.finishedLanes=0,p===l.current)throw Error(r(177));l.callbackNode=null,l.callbackPriority=0;var J=p.lanes|p.childLanes;if(Ot(l,J),l===la&&(aa=la=null,Aa=0),(p.subtreeFlags&2064)===0&&(p.flags&2064)===0||Dg||(Dg=!0,hM(Yt,function(){return fd(),null})),J=(p.flags&15990)!==0,(p.subtreeFlags&15990)!==0||J){J=Ts.transition,Ts.transition=null;var ye=Jt;Jt=1;var De=An;An|=4,hS.current=null,nle(l,p),JL(p,l),Cr(R0),ga=!!T0,R0=T0=null,l.current=p,ile(p),ct(),An=De,Jt=ye,Ts.transition=J}else l.current=p;if(Dg&&(Dg=!1,Dl=l,kg=F),J=l.pendingLanes,J===0&&(Pl=null),Mt(p.stateNode),Io(l,nt()),f!==null)for(T=l.onRecoverableError,p=0;p<f.length;p++)T(f[p]);if(Pg)throw Pg=!1,l=gS,gS=null,l;return(kg&1)!==0&&l.tag!==0&&fd(),J=l.pendingLanes,(J&1)!==0?l===mS?Zh++:(Zh=0,mS=l):Zh=0,Cl(),null}function fd(){if(Dl!==null){var l=wr(kg),f=Ts.transition,p=Jt;try{if(Ts.transition=null,Jt=16>l?16:l,Dl===null)var T=!1;else{if(l=Dl,Dl=null,kg=0,(An&6)!==0)throw Error(r(331));var F=An;for(An|=4,cr=l.current;cr!==null;){var J=cr,ye=J.child;if((cr.flags&16)!==0){var De=J.deletions;if(De!==null){for(var ze=0;ze<De.length;ze++){var gt=De[ze];for(cr=gt;cr!==null;){var qt=cr;switch(qt.tag){case 0:case 11:case 15:Xh(8,qt,J)}var ir=qt.child;if(ir!==null)ir.return=qt,cr=ir;else for(;cr!==null;){qt=cr;var Nt=qt.sibling,ur=qt.return;if(GL(qt),qt===gt){cr=null;break}if(Nt!==null){Nt.return=ur,cr=Nt;break}cr=ur}}}var nr=J.alternate;if(nr!==null){var Qr=nr.child;if(Qr!==null){nr.child=null;do{var Qi=Qr.sibling;Qr.sibling=null,Qr=Qi}while(Qr!==null)}}cr=J}}if((J.subtreeFlags&2064)!==0&&ye!==null)ye.return=J,cr=ye;else e:for(;cr!==null;){if(J=cr,(J.flags&2048)!==0)switch(J.tag){case 0:case 11:case 15:Xh(9,J,J.return)}var ot=J.sibling;if(ot!==null){ot.return=J.return,cr=ot;break e}cr=J.return}}var Xe=l.current;for(cr=Xe;cr!==null;){ye=cr;var vt=ye.child;if((ye.subtreeFlags&2064)!==0&&vt!==null)vt.return=ye,cr=vt;else e:for(ye=Xe;cr!==null;){if(De=cr,(De.flags&2048)!==0)try{switch(De.tag){case 0:case 11:case 15:Ag(9,De)}}catch(hr){zi(De,De.return,hr)}if(De===ye){cr=null;break e}var Qt=De.sibling;if(Qt!==null){Qt.return=De.return,cr=Qt;break e}cr=De.return}}if(An=F,Cl(),pn&&typeof pn.onPostCommitFiberRoot=="function")try{pn.onPostCommitFiberRoot(en,l)}catch{}T=!0}return T}finally{Jt=p,Ts.transition=f}}return!1}function cM(l,f,p){f=rS(p,f),f=TL(l,f,1),Ol(l,f),f=co(),l=Mg(l,1),l!==null&&(rt(l,1,f),Io(l,f))}function zi(l,f,p){if(l.tag===3)cM(l,l,p);else for(;f!==null;){if(f.tag===3){cM(f,l,p);break}else if(f.tag===1){var T=f.stateNode;if(typeof f.type.getDerivedStateFromError=="function"||typeof T.componentDidCatch=="function"&&(Pl===null||!Pl.has(T))){l=rS(p,l),l=RL(f,l,1),Ol(f,l),l=co(),f=Mg(f,1),f!==null&&(rt(f,1,l),Io(f,l));break}}f=f.return}}function cle(l,f,p){var T=l.pingCache;T!==null&&T.delete(f),f=co(),l.pingedLanes|=l.suspendedLanes&p,la===l&&(Aa&p)===p&&(ca===4||ca===3&&(Aa&130023424)===Aa&&500>nt()-pS?Oc(l,0):vS|=p),Io(l,f)}function fM(l,f){f===0&&((l.mode&1)===0?f=1:(f=xa,xa<<=1,(xa&130023424)===0&&(xa=4194304)));var p=co();l=Mg(l,f),l!==null&&(rt(l,f,p),Io(l,p))}function fle(l){var f=l.memoizedState,p=0;f!==null&&(p=f.retryLane),fM(l,p)}function dle(l,f){var p=0;switch(l.tag){case 13:var T=l.stateNode,F=l.memoizedState;F!==null&&(p=F.retryLane);break;case 19:T=l.stateNode;break;default:throw Error(r(314))}T!==null&&T.delete(f),fM(l,p)}var dM;dM=function(l,f,p){if(l!==null)if(l.memoizedProps!==f.pendingProps||Ro.current)Ao=!0;else{if((l.lanes&p)===0&&(f.flags&128)===0)return Ao=!1,ele(l,f,p);Ao=(l.flags&131072)!==0}else Ao=!1,Oi&&(f.flags&1048576)!==0&&KN(f,gg,f.index);switch(f.lanes=0,f.tag){case 2:var T=f.type;l!==null&&(l.alternate=null,f.alternate=null,f.flags|=2),l=f.pendingProps;var F=ed(f,Ba.current);rd(f,p),F=X0(null,f,T,l,F,p);var J=Q0();return f.flags|=1,typeof F=="object"&&F!==null&&typeof F.render=="function"&&F.$$typeof===void 0?(f.tag=1,f.memoizedState=null,f.updateQueue=null,xo(T)?(J=!0,ug(f)):J=!1,f.memoizedState=F.state!==null&&F.state!==void 0?F.state:null,M0(f),F.updater=vg,f.stateNode=F,F._reactInternals=f,F0(f,T,l,p),f=oS(null,f,T,!0,J,p)):(f.tag=0,Oi&&J&&j0(f),lo(null,f,F,p),f=f.child),f;case 16:T=f.elementType;e:{switch(l!==null&&(l.alternate=null,f.alternate=null,f.flags|=2),l=f.pendingProps,F=T._init,T=F(T._payload),f.type=T,F=f.tag=vle(T),l=Bs(T,l),F){case 0:f=aS(null,f,T,l,p);break e;case 1:f=$L(null,f,T,l,p);break e;case 11:f=DL(null,f,T,l,p);break e;case 14:f=kL(null,f,T,Bs(T.type,l),p);break e}throw Error(r(306,T,""))}return f;case 0:return T=f.type,F=f.pendingProps,F=f.elementType===T?F:Bs(T,F),aS(l,f,T,F,p);case 1:return T=f.type,F=f.pendingProps,F=f.elementType===T?F:Bs(T,F),$L(l,f,T,F,p);case 3:e:{if(FL(f),l===null)throw Error(r(387));T=f.pendingProps,J=f.memoizedState,F=J.element,VN(l,f),hg(f,T,null,p);var ye=f.memoizedState;if(T=ye.element,J.isDehydrated)if(J={element:T,isDehydrated:!1,cache:ye.cache,pendingSuspenseBoundaries:ye.pendingSuspenseBoundaries,transitions:ye.transitions},f.updateQueue.baseState=J,f.memoizedState=J,f.flags&256){F=Error(r(423)),f=jL(l,f,T,p,F);break e}else if(T!==F){F=Error(r(424)),f=jL(l,f,T,p,F);break e}else for(Co=Fu(f.stateNode.containerInfo.firstChild),Jo=f,Oi=!0,zs=null,p=tL(f,null,T,p),f.child=p;p;)p.flags=p.flags&-3|4096,p=p.sibling;else{if(ad(),T===F){f=Hu(l,f,p);break e}lo(l,f,T,p)}f=f.child}return f;case 5:return rL(f),l===null&&V0(f),T=f.type,F=f.pendingProps,J=l!==null?l.memoizedProps:null,ye=F.children,x0(T,F)?ye=null:J!==null&&x0(T,J)&&(f.flags|=32),ML(l,f),lo(l,f,ye,p),f.child;case 6:return l===null&&V0(f),null;case 13:return qL(l,f,p);case 4:return H0(f,f.stateNode.containerInfo),T=f.pendingProps,l===null?f.child=od(f,null,T,p):lo(l,f,T,p),f.child;case 11:return T=f.type,F=f.pendingProps,F=f.elementType===T?F:Bs(T,F),DL(l,f,T,F,p);case 7:return lo(l,f,f.pendingProps,p),f.child;case 8:return lo(l,f,f.pendingProps.children,p),f.child;case 12:return lo(l,f,f.pendingProps.children,p),f.child;case 10:e:{if(T=f.type._context,F=f.pendingProps,J=f.memoizedProps,ye=F.value,vi(cg,T._currentValue),T._currentValue=ye,J!==null)if(tr(J.value,ye)){if(J.children===F.children&&!Ro.current){f=Hu(l,f,p);break e}}else for(J=f.child,J!==null&&(J.return=f);J!==null;){var De=J.dependencies;if(De!==null){ye=J.child;for(var ze=De.firstContext;ze!==null;){if(ze.context===T){if(J.tag===1){ze=qu(-1,p&-p),ze.tag=2;var gt=J.updateQueue;if(gt!==null){gt=gt.shared;var qt=gt.pending;qt===null?ze.next=ze:(ze.next=qt.next,qt.next=ze),gt.pending=ze}}J.lanes|=p,ze=J.alternate,ze!==null&&(ze.lanes|=p),L0(J.return,p,f),De.lanes|=p;break}ze=ze.next}}else if(J.tag===10)ye=J.type===f.type?null:J.child;else if(J.tag===18){if(ye=J.return,ye===null)throw Error(r(341));ye.lanes|=p,De=ye.alternate,De!==null&&(De.lanes|=p),L0(ye,p,f),ye=J.sibling}else ye=J.child;if(ye!==null)ye.return=J;else for(ye=J;ye!==null;){if(ye===f){ye=null;break}if(J=ye.sibling,J!==null){J.return=ye.return,ye=J;break}ye=ye.return}J=ye}lo(l,f,F.children,p),f=f.child}return f;case 9:return F=f.type,T=f.pendingProps.children,rd(f,p),F=Ss(F),T=T(F),f.flags|=1,lo(l,f,T,p),f.child;case 14:return T=f.type,F=Bs(T,f.pendingProps),F=Bs(T.type,F),kL(l,f,T,F,p);case 15:return NL(l,f,f.type,f.pendingProps,p);case 17:return T=f.type,F=f.pendingProps,F=f.elementType===T?F:Bs(T,F),l!==null&&(l.alternate=null,f.alternate=null,f.flags|=2),f.tag=1,xo(T)?(l=!0,ug(f)):l=!1,rd(f,p),GN(f,T,F),F0(f,T,F,p),oS(null,f,T,!0,l,p);case 19:return zL(l,f,p);case 22:return LL(l,f,p)}throw Error(r(156,f.tag))};function hM(l,f){return At(l,f)}function hle(l,f,p,T){this.tag=l,this.key=p,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=f,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=T,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function xs(l,f,p,T){return new hle(l,f,p,T)}function bS(l){return l=l.prototype,!(!l||!l.isReactComponent)}function vle(l){if(typeof l=="function")return bS(l)?1:0;if(l!=null){if(l=l.$$typeof,l===B)return 11;if(l===K)return 14}return 2}function Ll(l,f){var p=l.alternate;return p===null?(p=xs(l.tag,f,l.key,l.mode),p.elementType=l.elementType,p.type=l.type,p.stateNode=l.stateNode,p.alternate=l,l.alternate=p):(p.pendingProps=f,p.type=l.type,p.flags=0,p.subtreeFlags=0,p.deletions=null),p.flags=l.flags&14680064,p.childLanes=l.childLanes,p.lanes=l.lanes,p.child=l.child,p.memoizedProps=l.memoizedProps,p.memoizedState=l.memoizedState,p.updateQueue=l.updateQueue,f=l.dependencies,p.dependencies=f===null?null:{lanes:f.lanes,firstContext:f.firstContext},p.sibling=l.sibling,p.index=l.index,p.ref=l.ref,p}function Fg(l,f,p,T,F,J){var ye=2;if(T=l,typeof l=="function")bS(l)&&(ye=1);else if(typeof l=="string")ye=5;else e:switch(l){case _:return Pc(p.children,F,J,f);case P:ye=8,F|=8;break;case N:return l=xs(12,p,f,F|2),l.elementType=N,l.lanes=J,l;case Y:return l=xs(13,p,f,F),l.elementType=Y,l.lanes=J,l;case Q:return l=xs(19,p,f,F),l.elementType=Q,l.lanes=J,l;case ne:return jg(p,F,J,f);default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case U:ye=10;break e;case $:ye=9;break e;case B:ye=11;break e;case K:ye=14;break e;case ee:ye=16,T=null;break e}throw Error(r(130,l==null?l:typeof l,""))}return f=xs(ye,p,f,F),f.elementType=l,f.type=T,f.lanes=J,f}function Pc(l,f,p,T){return l=xs(7,l,T,f),l.lanes=p,l}function jg(l,f,p,T){return l=xs(22,l,T,f),l.elementType=ne,l.lanes=p,l.stateNode={},l}function TS(l,f,p){return l=xs(6,l,null,f),l.lanes=p,l}function RS(l,f,p){return f=xs(4,l.children!==null?l.children:[],l.key,f),f.lanes=p,f.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},f}function ple(l,f,p,T,F){this.tag=f,this.containerInfo=l,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ht(0),this.expirationTimes=ht(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ht(0),this.identifierPrefix=T,this.onRecoverableError=F,this.mutableSourceEagerHydrationData=null}function xS(l,f,p,T,F,J,ye,De,ze){return l=new ple(l,f,p,De,ze),f===1?(f=1,J===!0&&(f|=8)):f=0,J=xs(3,null,null,f),l.current=J,J.stateNode=l,J.memoizedState={element:T,isDehydrated:p,cache:null,transitions:null,pendingSuspenseBoundaries:null},M0(J),l}function gle(l,f,p){var T=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:O,key:T==null?null:""+T,children:l,containerInfo:f,implementation:p}}function vM(l){if(!l)return xl;l=l._reactInternals;e:{if(Di(l)!==l||l.tag!==1)throw Error(r(170));var f=l;do{switch(f.tag){case 3:f=f.stateNode.context;break e;case 1:if(xo(f.type)){f=f.stateNode.__reactInternalMemoizedMergedChildContext;break e}}f=f.return}while(f!==null);throw Error(r(171))}if(l.tag===1){var p=l.type;if(xo(p))return jN(l,p,f)}return f}function pM(l,f,p,T,F,J,ye,De,ze){return l=xS(p,T,!0,l,F,J,ye,De,ze),l.context=vM(null),p=l.current,T=co(),F=kl(p),J=qu(T,F),J.callback=f??null,Ol(p,J),l.current.lanes=F,rt(l,F,T),Io(l,T),l}function Ug(l,f,p,T){var F=f.current,J=co(),ye=kl(F);return p=vM(p),f.context===null?f.context=p:f.pendingContext=p,f=qu(J,ye),f.payload={element:l},T=T===void 0?null:T,T!==null&&(f.callback=T),Ol(F,f),l=Rs(F,ye,J),l!==null&&dg(l,F,ye),ye}function qg(l){if(l=l.current,!l.child)return null;switch(l.child.tag){case 5:return l.child.stateNode;default:return l.child.stateNode}}function gM(l,f){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var p=l.retryLane;l.retryLane=p!==0&&p<f?p:f}}function CS(l,f){gM(l,f),(l=l.alternate)&&gM(l,f)}function mle(){return null}var mM=typeof reportError=="function"?reportError:function(l){console.error(l)};function AS(l){this._internalRoot=l}Vg.prototype.render=AS.prototype.render=function(l){var f=this._internalRoot;if(f===null)throw Error(r(409));Ug(l,f,null,null)},Vg.prototype.unmount=AS.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var f=l.containerInfo;Ac(function(){Ug(null,l,null,null)}),f[ju]=null}};function Vg(l){this._internalRoot=l}Vg.prototype.unstable_scheduleHydration=function(l){if(l){var f=Ni();l={blockedOn:null,target:l,priority:f};for(var p=0;p<pa.length&&f!==0&&f<pa[p].priority;p++);pa.splice(p,0,l),p===0&&oo(l)}};function OS(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}function Bg(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11&&(l.nodeType!==8||l.nodeValue!==" react-mount-point-unstable "))}function yM(){}function yle(l,f,p,T,F){if(F){if(typeof T=="function"){var J=T;T=function(){var gt=qg(ye);J.call(gt)}}var ye=pM(f,T,l,0,null,!1,!1,"",yM);return l._reactRootContainer=ye,l[ju]=ye.current,Mh(l.nodeType===8?l.parentNode:l),Ac(),ye}for(;F=l.lastChild;)l.removeChild(F);if(typeof T=="function"){var De=T;T=function(){var gt=qg(ze);De.call(gt)}}var ze=xS(l,0,!1,null,null,!1,!1,"",yM);return l._reactRootContainer=ze,l[ju]=ze.current,Mh(l.nodeType===8?l.parentNode:l),Ac(function(){Ug(f,ze,p,T)}),ze}function Hg(l,f,p,T,F){var J=p._reactRootContainer;if(J){var ye=J;if(typeof F=="function"){var De=F;F=function(){var ze=qg(ye);De.call(ze)}}Ug(f,ye,l,F)}else ye=yle(p,f,l,F,T);return qg(ye)}Ar=function(l){switch(l.tag){case 3:var f=l.stateNode;if(f.current.memoizedState.isDehydrated){var p=no(f.pendingLanes);p!==0&&(Wt(f,p|1),Io(f,nt()),(An&6)===0&&(cd=nt()+500,Cl()))}break;case 13:var T=co();Ac(function(){return Rs(l,1,T)}),CS(l,1)}},qn=function(l){if(l.tag===13){var f=co();Rs(l,134217728,f),CS(l,134217728)}},ki=function(l){if(l.tag===13){var f=co(),p=kl(l);Rs(l,p,f),CS(l,p)}},Ni=function(){return Jt},ms=function(l,f){var p=Jt;try{return Jt=l,f()}finally{Jt=p}},ut=function(l,f,p){switch(f){case"input":if(Se(l,p),f=p.name,p.type==="radio"&&f!=null){for(p=l;p.parentNode;)p=p.parentNode;for(p=p.querySelectorAll("input[name="+JSON.stringify(""+f)+'][type="radio"]'),f=0;f<p.length;f++){var T=p[f];if(T!==l&&T.form===l.form){var F=og(T);if(!F)throw Error(r(90));V(T),Se(T,F)}}}break;case"textarea":ke(l,p);break;case"select":f=p.value,f!=null&&Ee(l,!!p.multiple,f,!1)}},mr=SS,Pr=Ac;var _le={usingClientEntryPoint:!1,Events:[jh,Jf,og,_r,sr,SS]},ev={findFiberByHostInstance:Ec,bundleType:0,version:"18.1.0",rendererPackageName:"react-dom"},Sle={bundleType:ev.bundleType,version:ev.version,rendererPackageName:ev.rendererPackageName,rendererConfig:ev.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:R.ReactCurrentDispatcher,findHostInstanceByFiber:function(l){return l=pt(l),l===null?null:l.stateNode},findFiberByHostInstance:ev.findFiberByHostInstance||mle,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.1.0-next-22edb9f77-20220426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var zg=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!zg.isDisabled&&zg.supportsFiber)try{en=zg.inject(Sle),pn=zg}catch{}}return Po.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_le,Po.createPortal=function(l,f){var p=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!OS(f))throw Error(r(200));return gle(l,f,null,p)},Po.createRoot=function(l,f){if(!OS(l))throw Error(r(299));var p=!1,T="",F=mM;return f!=null&&(f.unstable_strictMode===!0&&(p=!0),f.identifierPrefix!==void 0&&(T=f.identifierPrefix),f.onRecoverableError!==void 0&&(F=f.onRecoverableError)),f=xS(l,1,!1,null,null,p,!1,T,F),l[ju]=f.current,Mh(l.nodeType===8?l.parentNode:l),new AS(f)},Po.findDOMNode=function(l){if(l==null)return null;if(l.nodeType===1)return l;var f=l._reactInternals;if(f===void 0)throw typeof l.render=="function"?Error(r(188)):(l=Object.keys(l).join(","),Error(r(268,l)));return l=pt(f),l=l===null?null:l.stateNode,l},Po.flushSync=function(l){return Ac(l)},Po.hydrate=function(l,f,p){if(!Bg(f))throw Error(r(200));return Hg(null,l,f,!0,p)},Po.hydrateRoot=function(l,f,p){if(!OS(l))throw Error(r(405));var T=p!=null&&p.hydratedSources||null,F=!1,J="",ye=mM;if(p!=null&&(p.unstable_strictMode===!0&&(F=!0),p.identifierPrefix!==void 0&&(J=p.identifierPrefix),p.onRecoverableError!==void 0&&(ye=p.onRecoverableError)),f=pM(f,null,l,1,p??null,F,!1,J,ye),l[ju]=f.current,Mh(l),T)for(l=0;l<T.length;l++)p=T[l],F=p._getVersion,F=F(p._source),f.mutableSourceEagerHydrationData==null?f.mutableSourceEagerHydrationData=[p,F]:f.mutableSourceEagerHydrationData.push(p,F);return new Vg(f)},Po.render=function(l,f,p){if(!Bg(f))throw Error(r(200));return Hg(null,l,f,!1,p)},Po.unmountComponentAtNode=function(l){if(!Bg(l))throw Error(r(40));return l._reactRootContainer?(Ac(function(){Hg(null,null,l,!1,function(){l._reactRootContainer=null,l[ju]=null})}),!0):!1},Po.unstable_batchedUpdates=SS,Po.unstable_renderSubtreeIntoContainer=function(l,f,p,T){if(!Bg(p))throw Error(r(200));if(l==null||l._reactInternals===void 0)throw Error(r(38));return Hg(l,f,p,!1,T)},Po.version="18.1.0-next-22edb9f77-20220426",Po}var gK;function Gie(){if(gK)return TC.exports;gK=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),TC.exports=cbe(),TC.exports}var Yie=Gie();const Gc=jn(Yie);function fbe(e){e()}let Kie=fbe;const dbe=e=>Kie=e,hbe=()=>Kie,ic=or.createContext(null);function Xie(){return he.useContext(ic)}const vbe=()=>{throw new Error("uSES not initialized!")};let Qie=vbe;const pbe=e=>{Qie=e},gbe=(e,t)=>e===t;function mbe(e=ic){const t=e===ic?Xie:()=>he.useContext(e);return function(n,i=gbe){const{store:a,subscription:o,getServerState:u}=t(),s=Qie(o.addNestedSub,a.getState,u||a.getState,n,i);return he.useDebugValue(s),s}}const Y_=mbe();function Qv(){return Qv=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Qv.apply(null,arguments)}function K_(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var CC={exports:{}},Bn={};/** @license React v16.13.1
104
- * react-is.production.min.js
105
- *
106
- * Copyright (c) Facebook, Inc. and its affiliates.
107
- *
108
- * This source code is licensed under the MIT license found in the
109
- * LICENSE file in the root directory of this source tree.
110
- */var mK;function ybe(){if(mK)return Bn;mK=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,v=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,S=e?Symbol.for("react.fundamental"):60117,w=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function A(x){if(typeof x=="object"&&x!==null){var O=x.$$typeof;switch(O){case t:switch(x=x.type,x){case s:case c:case n:case a:case i:case h:return x;default:switch(x=x&&x.$$typeof,x){case u:case d:case m:case g:case o:return x;default:return O}}case r:return O}}}function R(x){return A(x)===c}return Bn.AsyncMode=s,Bn.ConcurrentMode=c,Bn.ContextConsumer=u,Bn.ContextProvider=o,Bn.Element=t,Bn.ForwardRef=d,Bn.Fragment=n,Bn.Lazy=m,Bn.Memo=g,Bn.Portal=r,Bn.Profiler=a,Bn.StrictMode=i,Bn.Suspense=h,Bn.isAsyncMode=function(x){return R(x)||A(x)===s},Bn.isConcurrentMode=R,Bn.isContextConsumer=function(x){return A(x)===u},Bn.isContextProvider=function(x){return A(x)===o},Bn.isElement=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===t},Bn.isForwardRef=function(x){return A(x)===d},Bn.isFragment=function(x){return A(x)===n},Bn.isLazy=function(x){return A(x)===m},Bn.isMemo=function(x){return A(x)===g},Bn.isPortal=function(x){return A(x)===r},Bn.isProfiler=function(x){return A(x)===a},Bn.isStrictMode=function(x){return A(x)===i},Bn.isSuspense=function(x){return A(x)===h},Bn.isValidElementType=function(x){return typeof x=="string"||typeof x=="function"||x===n||x===c||x===a||x===i||x===h||x===v||typeof x=="object"&&x!==null&&(x.$$typeof===m||x.$$typeof===g||x.$$typeof===o||x.$$typeof===u||x.$$typeof===d||x.$$typeof===S||x.$$typeof===w||x.$$typeof===b||x.$$typeof===y)},Bn.typeOf=A,Bn}var yK;function _be(){return yK||(yK=1,CC.exports=ybe()),CC.exports}var AC,_K;function Sbe(){if(_K)return AC;_K=1;var e=_be(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};a[e.ForwardRef]=n,a[e.Memo]=i;function o(m){return e.isMemo(m)?i:a[m.$$typeof]||t}var u=Object.defineProperty,s=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,v=Object.prototype;function g(m,y,S){if(typeof y!="string"){if(v){var w=h(y);w&&w!==v&&g(m,w,S)}var b=s(y);c&&(b=b.concat(c(y)));for(var A=o(m),R=o(y),x=0;x<b.length;++x){var O=b[x];if(!r[O]&&!(S&&S[O])&&!(R&&R[O])&&!(A&&A[O])){var _=d(y,O);try{u(m,O,_)}catch{}}}}return m}return AC=g,AC}var Ebe=Sbe();const wbe=jn(Ebe);var OC={exports:{}},Hn={};/**
111
- * @license React
112
- * react-is.production.min.js
113
- *
114
- * Copyright (c) Facebook, Inc. and its affiliates.
115
- *
116
- * This source code is licensed under the MIT license found in the
117
- * LICENSE file in the root directory of this source tree.
118
- */var SK;function bbe(){if(SK)return Hn;SK=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),o=Symbol.for("react.context"),u=Symbol.for("react.server_context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),m;m=Symbol.for("react.module.reference");function y(S){if(typeof S=="object"&&S!==null){var w=S.$$typeof;switch(w){case e:switch(S=S.type,S){case r:case i:case n:case c:case d:return S;default:switch(S=S&&S.$$typeof,S){case u:case o:case s:case v:case h:case a:return S;default:return w}}case t:return w}}}return Hn.ContextConsumer=o,Hn.ContextProvider=a,Hn.Element=e,Hn.ForwardRef=s,Hn.Fragment=r,Hn.Lazy=v,Hn.Memo=h,Hn.Portal=t,Hn.Profiler=i,Hn.StrictMode=n,Hn.Suspense=c,Hn.SuspenseList=d,Hn.isAsyncMode=function(){return!1},Hn.isConcurrentMode=function(){return!1},Hn.isContextConsumer=function(S){return y(S)===o},Hn.isContextProvider=function(S){return y(S)===a},Hn.isElement=function(S){return typeof S=="object"&&S!==null&&S.$$typeof===e},Hn.isForwardRef=function(S){return y(S)===s},Hn.isFragment=function(S){return y(S)===r},Hn.isLazy=function(S){return y(S)===v},Hn.isMemo=function(S){return y(S)===h},Hn.isPortal=function(S){return y(S)===t},Hn.isProfiler=function(S){return y(S)===i},Hn.isStrictMode=function(S){return y(S)===n},Hn.isSuspense=function(S){return y(S)===c},Hn.isSuspenseList=function(S){return y(S)===d},Hn.isValidElementType=function(S){return typeof S=="string"||typeof S=="function"||S===r||S===i||S===n||S===c||S===d||S===g||typeof S=="object"&&S!==null&&(S.$$typeof===v||S.$$typeof===h||S.$$typeof===a||S.$$typeof===o||S.$$typeof===s||S.$$typeof===m||S.getModuleId!==void 0)},Hn.typeOf=y,Hn}var EK;function Tbe(){return EK||(EK=1,OC.exports=bbe()),OC.exports}Tbe();function Rbe(){const e=hbe();let t=null,r=null;return{clear(){t=null,r=null},notify(){e(()=>{let n=t;for(;n;)n.callback(),n=n.next})},get(){let n=[],i=t;for(;i;)n.push(i),i=i.next;return n},subscribe(n){let i=!0,a=r={callback:n,next:null,prev:r};return a.prev?a.prev.next=a:t=a,function(){!i||t===null||(i=!1,a.next?a.next.prev=a.prev:r=a.prev,a.prev?a.prev.next=a.next:t=a.next)}}}}const wK={notify(){},get:()=>[]};function xbe(e,t){let r,n=wK;function i(h){return s(),n.subscribe(h)}function a(){n.notify()}function o(){d.onStateChange&&d.onStateChange()}function u(){return!!r}function s(){r||(r=e.subscribe(o),n=Rbe())}function c(){r&&(r(),r=void 0,n.clear(),n=wK)}const d={addNestedSub:i,notifyNestedSubs:a,handleChangeWrapper:o,isSubscribed:u,trySubscribe:s,tryUnsubscribe:c,getListeners:()=>n};return d}const Cbe=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Abe=Cbe?he.useLayoutEffect:he.useEffect;function Jie({store:e,context:t,children:r,serverState:n}){const i=he.useMemo(()=>{const u=xbe(e);return{store:e,subscription:u,getServerState:n?()=>n:void 0}},[e,n]),a=he.useMemo(()=>e.getState(),[e]);Abe(()=>{const{subscription:u}=i;return u.onStateChange=u.notifyNestedSubs,u.trySubscribe(),a!==e.getState()&&u.notifyNestedSubs(),()=>{u.tryUnsubscribe(),u.onStateChange=void 0}},[i,a]);const o=t||ic;return or.createElement(o.Provider,{value:i},r)}function Zie(e=ic){const t=e===ic?Xie:()=>he.useContext(e);return function(){const{store:n}=t();return n}}const eae=Zie();function Obe(e=ic){const t=e===ic?eae:Zie(e);return function(){return t().dispatch}}const Nf=Obe();pbe(sbe.useSyncExternalStoreWithSelector);dbe(Yie.unstable_batchedUpdates);var vy="NOT_FOUND";function Ibe(e){var t;return{get:function(n){return t&&e(t.key,n)?t.value:vy},put:function(n,i){t={key:n,value:i}},getEntries:function(){return t?[t]:[]},clear:function(){t=void 0}}}function Pbe(e,t){var r=[];function n(u){var s=r.findIndex(function(d){return t(u,d.key)});if(s>-1){var c=r[s];return s>0&&(r.splice(s,1),r.unshift(c)),c.value}return vy}function i(u,s){n(u)===vy&&(r.unshift({key:u,value:s}),r.length>e&&r.pop())}function a(){return r}function o(){r=[]}return{get:n,put:i,getEntries:a,clear:o}}var Dbe=function(t,r){return t===r};function kbe(e){return function(r,n){if(r===null||n===null||r.length!==n.length)return!1;for(var i=r.length,a=0;a<i;a++)if(!e(r[a],n[a]))return!1;return!0}}function Nbe(e,t){var r=typeof t=="object"?t:{equalityCheck:t},n=r.equalityCheck,i=n===void 0?Dbe:n,a=r.maxSize,o=a===void 0?1:a,u=r.resultEqualityCheck,s=kbe(i),c=o===1?Ibe(s):Pbe(o,s);function d(){var h=c.get(arguments);if(h===vy){if(h=e.apply(null,arguments),u){var v=c.getEntries(),g=v.find(function(m){return u(m.value,h)});g&&(h=g.value)}c.put(arguments,h)}return h}return d.clearCache=function(){return c.clear()},d}function Lbe(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every(function(n){return typeof n=="function"})){var r=t.map(function(n){return typeof n=="function"?"function "+(n.name||"unnamed")+"()":typeof n}).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+r+"]")}return t}function Mbe(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=function(){for(var o=arguments.length,u=new Array(o),s=0;s<o;s++)u[s]=arguments[s];var c=0,d,h={memoizeOptions:void 0},v=u.pop();if(typeof v=="object"&&(h=v,v=u.pop()),typeof v!="function")throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof v+"]");var g=h,m=g.memoizeOptions,y=m===void 0?r:m,S=Array.isArray(y)?y:[y],w=Lbe(u),b=e.apply(void 0,[function(){return c++,v.apply(null,arguments)}].concat(S)),A=e(function(){for(var x=[],O=w.length,_=0;_<O;_++)x.push(w[_].apply(null,arguments));return d=b.apply(null,x),d});return Object.assign(A,{resultFunc:v,memoizedResultFunc:b,dependencies:w,lastResult:function(){return d},recomputations:function(){return c},resetRecomputations:function(){return c=0}}),A};return i}const ik={getMatchingKeyMap(e,t,r){const n=Array.isArray(t)?t:[t];let i=[];return n.forEach(a=>{const o=new RegExp(a,"i"),u=Object.keys(e.resources).filter(s=>o.test(s));i.push(...u)}),r&&(i=i.filter(a=>a!==r)),i.reduce((a,o)=>(a[o]=!0,a),{})},updateState(e,t,r){const n=e.getState(),i=ik.getMatchingKeyMap(n.flightData,t.keys),a={...Object.keys(n.flightData.resources).filter(u=>i[u]).reduce((u,s)=>{const c=n.flightData.resources[s];let d=c.response;return c.request.normalize&&(d=nk(c.response,n.flightData.entities)),u[s]=d,u},{})},o=t.updateData(a,r);Object.keys(o).forEach(u=>{const s=n.flightData.resources[u],c=o[u];let d={result:c,entities:{}};s.request.normalize&&(d=Aie(c,s.request.normalizeOptions)),e.dispatch({type:ho.UPDATE,result:d.result,entities:d.entities,request:s.request})})}};function $be(e){const r=e.timeout||300;return r/2+(Math.floor(Math.random()*r/2)+1)}const bK={isSimulated(e){const t=e;return!!(t.successResponse||t.errorResponse||t.noResponse)},simulateFetchData(e,t){const{success:r,error:n,always:i}=e,a=t;window.setTimeout(async()=>{if(!a.noResponse){if(a.successResponse){const o=await a.successResponse();r(o,{status:F_.Ok,getResponseHeader:()=>""})}else a.errorResponse&&n(a.errorResponse());i()}},$be(t))}},Fbe=1e3,jbe=12,TK=18;function IC(e){const t=+e;return isNaN(t)||!t?0:t}const Jv={currentTimestamp(){return new Date().valueOf()},isExpired(e,t){if(!t)return!1;const r=t*Fbe;return e<Jv.currentTimestamp()-r},currentTimeOfDay(e){e||(e=new Date);const t=e.getHours();return t>=jbe&&t<TK?"afternoon":t>=TK?"evening":"morning"},convertDurationToSeconds(e,t,r){return IC(e)*60*60+IC(t)*60+IC(r)}};class tae{constructor(t){this.status=t.status,this.requestTime=t.requestTime,this.cacheDuration=t.cacheDuration,this.data=t.data,this.statusCode=t.statusCode,this.hasCompleted=t.hasCompleted}get shouldFetch(){return this.status===Tu.None?!0:this.isExpired}get isExpired(){return this.cacheDuration instanceof Function?Jv.isExpired(this.requestTime,this.cacheDuration(this.data)):Jv.isExpired(this.requestTime,this.cacheDuration)}get isFetching(){return this.status===Tu.Fetching}get hasError(){return this.status===Tu.Error}}function Ube(e,t){var n,i;if(!Ui.isEqual(e.resource,t.resource)||!e.resource||!t.resource||((n=e.resource.entityIds)==null?void 0:n.length)!==((i=t.resource.entityIds)==null?void 0:i.length))return!1;for(const a in e.resource.entityIds){const o=e.resource.entityIds[a];if(e.entities[o].__modifyCount!==t.entities[o].__modifyCount)return!1}return!0}function qbe(e){const t=n=>({resource:n.flightData.resources[e],entities:n.flightData.entities});return Mbe(Nbe,Ube)(t,n=>X_(e,n.resource,n.entities).response)}function X_(e,t,r){if(!e||!t)return{resource:t,response:Vbe()};let n=t.response;t.request.normalize!==!1&&(n=nk(t.response,r));const i=new tae({status:t.status,statusCode:t.statusCode,requestTime:t.timestamp,cacheDuration:t.request.cacheDuration,hasCompleted:t.hasCompleted,data:n});return{resource:t,response:i}}function Vbe(){return new tae({status:Tu.None})}function py(e,t){return X_(t,e.flightData.resources[t],e.flightData.entities).response}function Q_(e){return t=>{t&&Rh(e,t)}}function Bbe(e){return t=>{if(t)return ak(e,t)}}function Rh(e,t){e({type:ho.API_REQUEST,request:t})}function ak(e,t){return new Promise((r,n)=>{const i=t.success,a=t.error;t.success=o=>{i==null||i(o),r(o)},t.error=o=>{a==null||a(o),n(o)},Rh(e,t)})}function rae(e,t){var o,u,s,c;const r=e.getState(),n=t==null?void 0:t.key,i=X_(n,r.flightData.resources[n],r.flightData.entities),a=i.response;if(t&&a.shouldFetch){Rh(e.dispatch,t);return}if(a.isFetching){let d=!1;const h=e.subscribe(()=>{h(),!d&&(d=!0,rae(e,t))});return}a.hasError?((o=t.error)==null||o.call(t,{status:a.statusCode,getResponseHeader:null,responseJSON:i.resource.errorResponse}),(u=t.always)==null||u.call(t)):((s=t.success)==null||s.call(t,a.data),(c=t.always)==null||c.call(t))}function Hbe(){const e=Nf();return Q_(e)}function zbe(){const e=Nf();return Bbe(e)}function Wbe(e){const t=he.useMemo(()=>qbe(e),[e]);return Y_(r=>t(r))}function Ii(e){const t=Nf(),r=Wbe(e&&e.key),n=Q_(t);return he.useEffect(()=>{e&&r.shouldFetch&&n(e)},[e==null?void 0:e.key,r.shouldFetch]),r}function Gbe(e){const t=Hbe(),r=eae().getState();let n="",i="";const a={};return e==null||e.forEach(o=>{const u=py(r,o.key);n+=`:${o.key}`,i+=`:${u.shouldFetch}`,a[o.key]={request:o,response:u}}),he.useEffect(()=>{e!=null&&e.length&&Object.values(a).forEach(({request:o,response:u})=>{u.shouldFetch&&t(o)})},[n,i]),Y_(()=>{const o=Object.values(a).map(({response:h})=>h),u=[];let s=!1,c=!1;o.forEach(h=>{h.data&&u.push(h.data),s=s||h.isFetching,c=c||h.hasError});const d=!!(o!=null&&o.length)&&o.every(h=>h.hasCompleted);return{data:u,isFetching:s,hasError:c,hasCompleted:d,responses:o}})}async function Xa(e,t){return new Promise((r,n)=>{const i=t.success,a=t.error;t.success=o=>{i==null||i(o),r(o)},t.error=o=>{a==null||a(o),n(o)},rae(e,t)})}async function Jc(e,t){const r=e.getState(),{response:n}=X_(t.key,r.flightData.resources[t.key],r.flightData.entities);return!n.hasCompleted||n.hasError?Xa(e,t):(n.shouldFetch&&Rh(e.dispatch,{...t,success:null,error:null,always:null}),n.data)}function Ybe(e){const{fetchData:t,getFetchDataOptions:r,bootstrappedData:n,defaultCacheDuration:i}=e,a=Object.freeze({key:null,url:null,type:fn.GET,normalize:!0,formatData:o=>o,cacheDuration:i});return function(u){return s=>c=>{if(c.type!==ho.API_REQUEST){s(c);return}const d=u.getState(),{success:h,error:v,always:g,formatData:m,...y}=Object.assign({},a,c.request),S=d.flightData.resources[y.key];if(s(c),S&&S.status===Tu.Fetching)return;if(y.bootstrapName&&n&&n[c.request.bootstrapName]){A(n[c.request.bootstrapName]),x(),delete n[c.request.bootstrapName];return}const w={resource:y.url,type:y.type,data:y.data,success:A,error:R,always:x};if(typeof r!="function"){b(w);return}r(w,y).then(b);return;function b(O){if(bK.isSimulated(y)){bK.simulateFetchData(O,y);return}t(O)}function A(O,_){const P=m(O);let N={result:P,entities:{}};y.normalize&&(N=Aie(P,y.normalizeOptions)),u.dispatch({type:ho.API_RESPONSE,result:N.result,entities:N.entities,request:y,timestamp:Jv.currentTimestamp(),xhr:_});let U=N.result;if(y.normalize){const $={...d.flightData.entities,...N.entities};U=nk(N.result,$)}y.updateState&&(Array.isArray(y.updateState)?y.updateState:[y.updateState]).forEach(B=>{ik.updateState(u,B,U)}),y.invalidationKeys&&u.dispatch({type:ho.INVALIDATE,keys:y.invalidationKeys,request:y}),h&&h(U)}function R(O){u.dispatch({type:ho.API_ERROR,errorResponse:O.responseJSON,request:c.request,timestamp:Jv.currentTimestamp(),xhr:O}),y.invalidationKeys&&u.dispatch({type:ho.INVALIDATE,keys:y.invalidationKeys,request:y}),v&&v(O)}function x(){g&&g()}}}}function nae(e,t){const r={...e};return Object.keys(t).forEach(n=>{if(!e[n]){r[n]={...t[n],__modifyCount:0};return}const i={...e[n],...t[n]};Ui.isEqual(e[n],i)||(i.__modifyCount=e[n].__modifyCount+1),r[n]=i}),r}function Kbe(e,t){const r=e.resources[t.request.key];return{entities:{...e.entities},resources:{...e.resources,[t.request.key]:{request:t.request,status:Tu.Fetching,response:r?r.response:null,entityIds:r?r.entityIds:void 0,hasCompleted:!!(r!=null&&r.hasCompleted)}}}}function Xbe(e,t){var r;return{entities:nae(e.entities,t.entities),resources:{...e.resources,[t.request.key]:{request:t.request,status:Tu.Success,response:t.result,timestamp:t.timestamp,statusCode:(r=t.xhr)==null?void 0:r.status,hasCompleted:!0,entityIds:t.request.normalize===!1?void 0:Object.keys(t.entities)}}}}function Qbe(e,t){var r;return{entities:{...e.entities},resources:{...e.resources,[t.request.key]:{request:t.request,status:Tu.Error,errorResponse:t.errorResponse,timestamp:t.timestamp,statusCode:(r=t.xhr)==null?void 0:r.status,hasCompleted:!0}}}}function Jbe(e,t){var n;const r=ik.getMatchingKeyMap(e,t.keys,(n=t.request)==null?void 0:n.key);return{entities:{...e.entities},resources:{...e.resources,...Object.keys(e.resources).filter(i=>r[i]).reduce((i,a)=>{const o=e.resources[a];return i[a]=Object.assign({},o,{status:Tu.None}),i},{})}}}function Zbe(e=iae,t){return{entities:nae(e.entities,t.entities),resources:{...e.resources,[t.request.key]:{...e.resources[t.request.key],request:t.request,response:t.result,entityIds:t.request.normalize===!1?void 0:Object.keys(t.entities)}}}}const iae={resources:{},entities:{}};function eTe(e=iae,t){switch(t.type){case ho.API_REQUEST:return Kbe(e,t);case ho.API_RESPONSE:return Xbe(e,t);case ho.API_ERROR:return Qbe(e,t);case ho.INVALIDATE:return Jbe(e,t);case ho.UPDATE:return Zbe(e,t)}return e}const Qa={first(e){return kv(e)},firstFew(e,t){return kv(e,t)},last(e){return xI(e)},lastFew(e,t){return xI(e,t)},max(e,t){return jD(e,t)},cloneAndReplaceAtIdx(e,t,r,n=null){let i=e&&e.length?e.slice():[];return t+1>i.length&&(i=[...i,...Array(t+1-i.length).fill(n)]),i.splice(t,1,r),i},moveItem(e,t,r){const n=e.slice();return n.splice(r,0,n.splice(t,1)[0]),n},isEmpty(e){return e&&!e.length},findIndex(e,t){return k_(e,t)},findWhere(e,t){return Bne(e,t)},where(e,t){return zne(e,t)},groupBy(e,t){return Xne(e,t)},countBy(e,t){return Qne(e,t)},flatten(e,t){return Zne(e,t)},intersection(...e){return tie(...e)},addOrRemove(e,t){const r=e.indexOf(t);return r===-1?e.push(t):e.splice(r,1),e},addOrRemoveImmutable(e,t){const r=e.indexOf(t),n=Ui.deepClone(e);return r===-1?[...n,t]:[...n.slice(0,r),...n.slice(r+1)]},sortBy(e,t){return Kne(e,t)},chunk(e,t){return nie(e,t)},uniq(e,t){return Xv(e,t)},toObject(e,t){return e.reduce((r,n)=>Object.assign(r,Ui.isObject(n)?{[n[t]]:n}:{[t]:n}),{})},findIndexById(e,t){return e.findIndex(r=>r.id===t.id)},removeItem(e,t){const r=this.findIndex(e,t);return r===-1?e:this.removeItemFromIndex(e,r)},removeItemFromIndex(e,t){return[...e.slice(0,t),...e.slice(t+1)]},findMatchedIdIndex(e,t){return e.findIndex(r=>{var n;return((n=r.id)==null?void 0:n.toString())===t.toString()})},shuffle(e){return Yne(e)}},aae={getStorage(){return window.localStorage?window.localStorage:window.sessionStorage?window.sessionStorage:aae.getMemoryStorage()},getMemoryStorage(){const e=new Map;return{setItem(t,r){e.set(t,r)},getItem(t){return e.get(t)},removeItem(t){e.delete(t)},clear(){e.clear()},get length(){return e.size},key(t){return Array.from(e.values())[t]}}}};var Js=(e=>(e.LocalStorage="localStorage",e.SessionStorage="sessionStorage",e.MemoryStorage="memoryStorage",e))(Js||{});class ok{constructor(t){if(this.cachePrefix="_cv:",this.expireTime=3600,this.type=t.type,this.hasSupport=this.hasBrowserSupport(),!!this.hasSupport)try{this.type==="memoryStorage"?this.storage=aae.getMemoryStorage():this.storage=window[this.type]}catch{}}isAvailable(){return this.hasSupport}get(t){if(!this.hasSupport)return;const r=this.storage.getItem(t);try{return JSON.parse(r)}catch{return r}}set(t,r){if(this.hasSupport)try{return this.storage.removeItem(t),typeof r!="string"?(this.storage.setItem(t,JSON.stringify(r)),!0):(this.storage.setItem(t,r),!0)}catch{return!1}}remove(t){if(this.hasSupport)return this.storage.removeItem(t)}length(){if(this.hasSupport)return this.storage.length}clear(){if(this.hasSupport)return this.storage.clear()}cacheSet(t,r,n=this.expireTime){this.cacheClean();const i={time:this.getCurrentTime()+n*1e3,data:typeof r<"u"&&r!==null&&r};return this.set(`${this.cachePrefix}${t}`,i)}cacheGet(t){const r=`${this.cachePrefix}${t}`,n=this.get(r);return n?this.isExpired(n)?(this.remove(r),null):n.data:null}cacheExists(t){const r=`${this.cachePrefix}${t}`,n=this.get(r);return n?this.isExpired(n)?(this.remove(r),!1):!0:!1}cacheRemove(t){return this.remove(`${this.cachePrefix}${t}`)}cacheFlush(){this.cacheClean()}cacheClean(){if(this.hasSupport)for(let t=0;t<this.storage.length;t++){const r=this.storage.key(t);if(r.indexOf(this.cachePrefix)===0){const n=this.get(r);n&&n.time&&this.isExpired(n)&&this.remove(r)}}}isExpired(t){return t.time<this.getCurrentTime()}getCurrentTime(){return new Date().getTime()}hasBrowserSupport(){if(this.type==="memoryStorage")return!0;try{return this.type in window&&window[this.type]!==null}catch{return!1}}}class tTe extends ok{static get Instance(){return this.instance||(this.instance=new this({type:"localStorage"}))}}class rTe extends ok{static get Instance(){return this.instance||(this.instance=new this({type:"sessionStorage"}))}}class nTe extends ok{static get Instance(){return this.instance||(this.instance=new this({type:"memoryStorage"}))}}const da=tTe.Instance,gy=rTe.Instance,RK=nTe.Instance;class iTe extends Ho{constructor(){super(),this.viewObjects={}}static get Instance(){return this.instance||(this.instance=new this)}get name(){return"ViewModelService"}updateViewModel(t,r){const n=this.mergeData(r,t.toJSON());return t instanceof GW&&t.set(n,{silent:!0}),t instanceof ul&&!(t instanceof GW)&&t.set(n,{silent:!0}),t}get(t,r={},n={}){const{update:i=!1}=n,a=this.viewObjects[t];if(a&&i)return this.updateViewModel(a,r);if(a)return a;const o=this.getLocalData(t,n);return this.set(t,r,o,n)}set(t,r={},n,i){const{ctor:a,storage:o}=i,u=this.mergeData(r,n),s=a?new a(u):new ul(u);return this.viewObjects[t]=s,o&&!n?(this.setLocalData(t,s,null,i),this.setupChangeListeners(t,s,i)):o&&n&&this.setupChangeListeners(t,s,i),s}clear(t){const r=this.viewObjects[t];return r?(this.stopListening(r),r.trigger("destroy"),delete this.viewObjects[t],!0):!1}getLocalData(t,r){const{storage:n}=r;return n?this.getStorageHelper(n.type).get(t):void 0}setLocalData(t,r,n,i){const{storage:a}=i;if(!a||a&&!a.persistProps)return;typeof a.persistProps=="string"&&(a.persistProps=[a.persistProps]);let o;r instanceof ul&&(o=r.pick(a.persistProps)),this.getStorageHelper(a.type).set(t,o)}setupChangeListeners(t,r,n){const{storage:i}=n;!i||i&&!i.persistProps||(typeof i.persistProps=="string"&&(i.persistProps=[i.persistProps]),tt.each(i.persistProps,a=>{this.listenTo(r,`change:${a}`,tt.partial(this.setLocalData,t,tt,tt,n))}))}mergeData(t,r){if(!r)return t;if(tt.isObject(t)&&tt.isObject(r))return tt.extend(t,r);vr.throw(new On("defaultValues and existingData are not of the same datatype and cannot be merged"))}getStorageHelper(t){switch(t){case Js.LocalStorage:return da;case Js.SessionStorage:return gy}}}const oae=iTe.Instance,gi={debounce(e,t,r){return Lne(e,t,r)},throttle(e,t,r){return Nne(e,t,r)},isFunction(e){return on(e)},useIdentity(){return D_},memoize(e,t){return Dne(e,t)}},aTe="application:options";var $d=(e=>(e.Inlet="event:inlet",e.Outlet="event:outlet",e))($d||{});const sae={ANALYTICS:"global:analytics"};var sk=(e=>(e.Analytics="AnalyticsService",e.Context="ContextService",e.PageView="PageViewService",e.ProfileApiClient="ProfileApiClient",e))(sk||{});class oTe extends Ho{constructor(t){super(),this.clients={},this.enrichers={},oae.get(aTe).set(t??{})}get name(){return sk.Analytics}registerTransport(t,r){return this.transport=new t(r),this.bindTransportListeners(),this}bindTransportListeners(){this.listenTo(sae.ANALYTICS,$d.Inlet,this.onEvent)}registerClient(t,r){return this.validateConstructor(t),this.clients[t.prototype.name]=t.prototype.name,this.transport.subscribe(new t(r)),this}registerEnricher(t,r){this.validateConstructor(t);const n=new t(r);return this.enrichers[n.name]=n,this.registerMiddleware(Ku(n.enrich,n)),this}hasEnricher(t){return!!this.enrichers[t.prototype.name]}onEvent(t){this.executeMiddleware(t,r=>{this.transport.publish(r)})}validateConstructor(t){const r=t.prototype.name;r||vr.throw(new On(`Classes registered with ${this.name} must have a unique name property.`));const n=i=>gi.isFunction(t.prototype.isType)&&t.prototype.isType(i);(n("BaseAnalyticsClient")||r==="CollectionApiClient")&&this.clients[r]&&vr.throw(new On(`A client class with the name: ${r} has already been registered with ${this.name}`)),n("BaseAnalyticsEnricher")&&this.enrichers[r]&&vr.throw(new On(`An enricher class named: ${r} has already been registered with ${this.name}`))}registerMiddleware(t){this.executeMiddleware=(r=>(n,i)=>r(n,()=>t(n,i)))(this.executeMiddleware)}executeMiddleware(t,r){r(t)}}const uae="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function xK(e,t,r,n){let i,a,o;const u=t||[0],s=(r=r||0)>>>3,c=n===-1?3:0;for(i=0;i<e.length;i+=1)o=i+s,a=o>>>2,u.length<=a&&u.push(0),u[a]|=e[i]<<8*(c+n*(o%4));return{value:u,binLen:8*e.length+r}}function PC(e,t,r){switch(t){case"UTF8":case"UTF16BE":case"UTF16LE":break;default:throw new Error("encoding must be UTF8, UTF16BE, or UTF16LE")}switch(e){case"HEX":return function(n,i,a){return(function(o,u,s,c){let d,h,v,g;if(o.length%2!=0)throw new Error("String of HEX type must be in byte increments");const m=u||[0],y=(s=s||0)>>>3,S=c===-1?3:0;for(d=0;d<o.length;d+=2){if(h=parseInt(o.substr(d,2),16),isNaN(h))throw new Error("String of HEX type contains invalid characters");for(g=(d>>>1)+y,v=g>>>2;m.length<=v;)m.push(0);m[v]|=h<<8*(S+c*(g%4))}return{value:m,binLen:4*o.length+s}})(n,i,a,r)};case"TEXT":return function(n,i,a){return(function(o,u,s,c,d){let h,v,g,m,y,S,w,b,A=0;const R=s||[0],x=(c=c||0)>>>3;if(u==="UTF8")for(w=d===-1?3:0,g=0;g<o.length;g+=1)for(h=o.charCodeAt(g),v=[],128>h?v.push(h):2048>h?(v.push(192|h>>>6),v.push(128|63&h)):55296>h||57344<=h?v.push(224|h>>>12,128|h>>>6&63,128|63&h):(g+=1,h=65536+((1023&h)<<10|1023&o.charCodeAt(g)),v.push(240|h>>>18,128|h>>>12&63,128|h>>>6&63,128|63&h)),m=0;m<v.length;m+=1){for(S=A+x,y=S>>>2;R.length<=y;)R.push(0);R[y]|=v[m]<<8*(w+d*(S%4)),A+=1}else for(w=d===-1?2:0,b=u==="UTF16LE"&&d!==1||u!=="UTF16LE"&&d===1,g=0;g<o.length;g+=1){for(h=o.charCodeAt(g),b===!0&&(m=255&h,h=m<<8|h>>>8),S=A+x,y=S>>>2;R.length<=y;)R.push(0);R[y]|=h<<8*(w+d*(S%4)),A+=2}return{value:R,binLen:8*A+c}})(n,t,i,a,r)};case"B64":return function(n,i,a){return(function(o,u,s,c){let d,h,v,g,m,y,S,w=0;const b=u||[0],A=(s=s||0)>>>3,R=c===-1?3:0,x=o.indexOf("=");if(o.search(/^[a-zA-Z0-9=+/]+$/)===-1)throw new Error("Invalid character in base-64 string");if(o=o.replace(/=/g,""),x!==-1&&x<o.length)throw new Error("Invalid '=' found in base-64 string");for(h=0;h<o.length;h+=4){for(m=o.substr(h,4),g=0,v=0;v<m.length;v+=1)d=uae.indexOf(m.charAt(v)),g|=d<<18-6*v;for(v=0;v<m.length-1;v+=1){for(S=w+A,y=S>>>2;b.length<=y;)b.push(0);b[y]|=(g>>>16-8*v&255)<<8*(R+c*(S%4)),w+=1}}return{value:b,binLen:8*w+s}})(n,i,a,r)};case"BYTES":return function(n,i,a){return(function(o,u,s,c){let d,h,v,g;const m=u||[0],y=(s=s||0)>>>3,S=c===-1?3:0;for(h=0;h<o.length;h+=1)d=o.charCodeAt(h),g=h+y,v=g>>>2,m.length<=v&&m.push(0),m[v]|=d<<8*(S+c*(g%4));return{value:m,binLen:8*o.length+s}})(n,i,a,r)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch{throw new Error("ARRAYBUFFER not supported by this environment")}return function(n,i,a){return(function(o,u,s,c){return xK(new Uint8Array(o),u,s,c)})(n,i,a,r)};case"UINT8ARRAY":try{new Uint8Array(0)}catch{throw new Error("UINT8ARRAY not supported by this environment")}return function(n,i,a){return xK(n,i,a,r)};default:throw new Error("format must be HEX, TEXT, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}function CK(e,t,r,n){switch(e){case"HEX":return function(i){return(function(a,o,u,s){let c,d,h="";const v=o/8,g=u===-1?3:0;for(c=0;c<v;c+=1)d=a[c>>>2]>>>8*(g+u*(c%4)),h+="0123456789abcdef".charAt(d>>>4&15)+"0123456789abcdef".charAt(15&d);return s.outputUpper?h.toUpperCase():h})(i,t,r,n)};case"B64":return function(i){return(function(a,o,u,s){let c,d,h,v,g,m="";const y=o/8,S=u===-1?3:0;for(c=0;c<y;c+=3)for(v=c+1<y?a[c+1>>>2]:0,g=c+2<y?a[c+2>>>2]:0,h=(a[c>>>2]>>>8*(S+u*(c%4))&255)<<16|(v>>>8*(S+u*((c+1)%4))&255)<<8|g>>>8*(S+u*((c+2)%4))&255,d=0;d<4;d+=1)m+=8*c+6*d<=o?uae.charAt(h>>>6*(3-d)&63):s.b64Pad;return m})(i,t,r,n)};case"BYTES":return function(i){return(function(a,o,u){let s,c,d="";const h=o/8,v=u===-1?3:0;for(s=0;s<h;s+=1)c=a[s>>>2]>>>8*(v+u*(s%4))&255,d+=String.fromCharCode(c);return d})(i,t,r)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch{throw new Error("ARRAYBUFFER not supported by this environment")}return function(i){return(function(a,o,u){let s;const c=o/8,d=new ArrayBuffer(c),h=new Uint8Array(d),v=u===-1?3:0;for(s=0;s<c;s+=1)h[s]=a[s>>>2]>>>8*(v+u*(s%4))&255;return d})(i,t,r)};case"UINT8ARRAY":try{new Uint8Array(0)}catch{throw new Error("UINT8ARRAY not supported by this environment")}return function(i){return(function(a,o,u){let s;const c=o/8,d=u===-1?3:0,h=new Uint8Array(c);for(s=0;s<c;s+=1)h[s]=a[s>>>2]>>>8*(d+u*(s%4))&255;return h})(i,t,r)};default:throw new Error("format must be HEX, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}function AK(e){const t={outputUpper:!1,b64Pad:"=",outputLen:-1},r=e||{},n="Output length must be a multiple of 8";if(t.outputUpper=r.outputUpper||!1,r.b64Pad&&(t.b64Pad=r.b64Pad),r.outputLen){if(r.outputLen%8!=0)throw new Error(n);t.outputLen=r.outputLen}else if(r.shakeLen){if(r.shakeLen%8!=0)throw new Error(n);t.outputLen=r.shakeLen}if(typeof t.outputUpper!="boolean")throw new Error("Invalid outputUpper formatting option");if(typeof t.b64Pad!="string")throw new Error("Invalid b64Pad formatting option");return t}function pd(e,t){return e<<t|e>>>32-t}function OK(e,t,r){return e^t^r}function sTe(e,t,r){return e&t^e&r^t&r}function av(e,t){const r=(65535&e)+(65535&t);return(65535&(e>>>16)+(t>>>16)+(r>>>16))<<16|65535&r}function em(e,t,r,n,i){const a=(65535&e)+(65535&t)+(65535&r)+(65535&n)+(65535&i);return(65535&(e>>>16)+(t>>>16)+(r>>>16)+(n>>>16)+(i>>>16)+(a>>>16))<<16|65535&a}function uTe(e){return[1732584193,4023233417,2562383102,271733878,3285377520]}function lae(e,t){let r,n,i,a,o,u,s;const c=[];for(r=t[0],n=t[1],i=t[2],a=t[3],o=t[4],s=0;s<80;s+=1)c[s]=s<16?e[s]:pd(c[s-3]^c[s-8]^c[s-14]^c[s-16],1),u=s<20?em(pd(r,5),(d=n)&i^~d&a,o,1518500249,c[s]):s<40?em(pd(r,5),OK(n,i,a),o,1859775393,c[s]):s<60?em(pd(r,5),sTe(n,i,a),o,2400959708,c[s]):em(pd(r,5),OK(n,i,a),o,3395469782,c[s]),o=a,a=i,i=pd(n,30),n=r,r=u;var d;return t[0]=av(r,t[0]),t[1]=av(n,t[1]),t[2]=av(i,t[2]),t[3]=av(a,t[3]),t[4]=av(o,t[4]),t}function lTe(e,t,r,n){let i;const a=15+(t+65>>>9<<4),o=t+r;for(;e.length<=a;)e.push(0);for(e[t>>>5]|=128<<24-t%32,e[a]=4294967295&o,e[a-1]=o/4294967296|0,i=0;i<e.length;i+=16)n=lae(e.slice(i,i+16),n);return n}class cTe extends class{constructor(t,r,n){const i=n||{};if(this.t=r,this.i=i.encoding||"UTF8",this.numRounds=i.numRounds||1,isNaN(this.numRounds)||this.numRounds!==parseInt(this.numRounds,10)||1>this.numRounds)throw new Error("numRounds must a integer >= 1");this.s=t,this.o=[],this.h=0,this.u=!1,this.l=0,this.A=!1,this.p=[],this.R=[]}update(t){let r,n=0;const i=this.U>>>5,a=this.T(t,this.o,this.h),o=a.binLen,u=a.value,s=o>>>5;for(r=0;r<s;r+=i)n+this.U<=o&&(this.F=this.m(u.slice(r,r+i),this.F),n+=this.U);this.l+=n,this.o=u.slice(n>>>5),this.h=o%this.U,this.u=!0}getHash(t,r){let n,i,a=this.g;const o=AK(r);if(this.B){if(o.outputLen===-1)throw new Error("Output length must be specified in options");a=o.outputLen}const u=CK(t,a,this.v,o);if(this.A&&this.Y)return u(this.Y(o));for(i=this.H(this.o.slice(),this.h,this.l,this.C(this.F),a),n=1;n<this.numRounds;n+=1)this.B&&a%32!=0&&(i[i.length-1]&=16777215>>>24-a%32),i=this.H(i,a,0,this.I(this.s),a);return u(i)}setHMACKey(t,r,n){if(!this.L)throw new Error("Variant does not support HMAC");if(this.u)throw new Error("Cannot set MAC key after calling update");const i=PC(r,(n||{}).encoding||"UTF8",this.v);this.M(i(t))}M(t){const r=this.U>>>3,n=r/4-1;let i;if(this.numRounds!==1)throw new Error("Cannot set numRounds with MAC");if(this.A)throw new Error("MAC key already set");for(r<t.binLen/8&&(t.value=this.H(t.value,t.binLen,0,this.I(this.s),this.g));t.value.length<=n;)t.value.push(0);for(i=0;i<=n;i+=1)this.p[i]=909522486^t.value[i],this.R[i]=1549556828^t.value[i];this.F=this.m(this.p,this.F),this.l=this.U,this.A=!0}getHMAC(t,r){const n=AK(r);return CK(t,this.g,this.v,n)(this.N())}N(){let t;if(!this.A)throw new Error("Cannot call getHMAC without first setting MAC key");const r=this.H(this.o.slice(),this.h,this.l,this.C(this.F),this.g);return t=this.m(this.R,this.I(this.s)),t=this.H(r,this.g,this.U,t,this.g),t}}{constructor(t,r,n){if(t!=="SHA-1")throw new Error("Chosen SHA variant is not supported");super(t,r,n);const i=n||{};this.L=!0,this.Y=this.N,this.v=-1,this.T=PC(this.t,this.i,this.v),this.m=lae,this.C=function(a){return a.slice()},this.I=uTe,this.H=lTe,this.F=[1732584193,4023233417,2562383102,271733878,3285377520],this.U=512,this.g=160,this.B=!1,i.hmacKey&&this.M((function(a,o,u,s){const c=a+" must include a value and format";if(!o)throw new Error(c);if(o.value===void 0||!o.format)throw new Error(c);return PC(o.format,o.encoding||"UTF8",u)(o.value)})("hmacKey",i.hmacKey,this.v))}}var el=(e=>(e.CvApSoutheast1="cv-ap-southeast-1",e.CvApSoutheast2="cv-ap-southeast-2",e.CvEuWest1="cv-eu-west-1",e.CvNaWest1="cv-na-west-1",e))(el||{});const fTe={systemName:el.CvApSoutheast1},dTe={systemName:el.CvApSoutheast2},hTe={systemName:el.CvEuWest1},vTe={systemName:el.CvNaWest1},pTe={CvApSoutheast1:fTe,CvApSoutheast2:dTe,CvEuWest1:hTe,CvNaWest1:vTe};var cae=(e=>(e.Staff="Staff",e.Learner="Learner",e.Unknown="Unknown",e.System="System",e))(cae||{});const IK="r",J_="cv:r",Z_="cv:r:e",tm="referrer",PK="cv:originalReferrer",kI=28800,DK=["internalReferrer"],fae={getDecodedAttributionData(){const e=da.cacheGet(J_);if(e&&Object.keys(e).length>0)return e;const t=kK();return t==null?void 0:t.decoded},getEncodedAttributionData(){const e=da.cacheGet(Z_);return e!=null&&e.length?e:kK().encoded},getProfileId(){const e=fae.getDecodedAttributionData();return(e==null?void 0:e.profileId)??null}};function kK(){const e=da.cacheGet(J_),t=da.cacheGet(Z_);return uk(e)?{encoded:t,decoded:e}:gTe()}function gTe(){da.cacheRemove(J_),da.cacheRemove(Z_);const e=yTe(),t=_Te(e);if(t)return NK(e,t),{decoded:t,encoded:e};const r={internalReferrer:window.location.origin+window.location.pathname,originalReferrer:mTe()},n=STe(r);return NK(n,r),{decoded:r,encoded:n}}function uk(e){return!e||typeof e!="object"||Object.keys(e).length<DK.length?!1:DK.every(t=>typeof e[t]=="string")}function mTe(){const e=da.cacheGet(PK);if(e&&typeof e=="string")return e;let t=document.referrer??"";if(window.URLSearchParams){const r=new URLSearchParams(window.location.search),n=r.has(tm)&&r.get(tm);r.has(tm)&&r.get(tm)&&(t=n)}return t&&da.cacheSet(PK,t,kI),t}function yTe(){if(!window.URLSearchParams)return;const e=new URLSearchParams(window.location.search);if(e.has(IK))return e.get(IK)}function _Te(e){if(e)try{const t=atob(e),r=JSON.parse(t);if(!uk(r))throw Error(`Decoded R value is invalid: ${JSON.stringify(r)}`);return r}catch(t){const r=t instanceof Error?t.message:t==null?void 0:t.toString();console.error(r)}}function STe(e){if(uk(e))try{return btoa(JSON.stringify(e))}catch{console.error(`R value could not be encoded: ${JSON.stringify(e)}`)}}function NK(e,t){try{da.cacheSet(J_,t,kI),da.cacheSet(Z_,e,kI)}catch{console.error("Could not store attribution data in session storage")}}const LK=3,ETe=5e3,wTe=6,DC={};class bTe{constructor(t){this.key=t.toString()}getCount(){return DC[this.key]||0}increment(){DC[this.key]=this.getCount()+1}reset(){delete DC[this.key]}shouldBreak(){return this.getCount()>=wTe}}class TTe{constructor(){this.attempt=0}async wait(){await new Promise(t=>setTimeout(t,ETe*Math.pow(2,this.attempt))),this.attempt++}}async function RTe(e,t){const r=new TTe,n=new bTe(e);async function i(){const a=await fetch(e,t);if(a.status>=500&&!n.shouldBreak())throw new Error(`Server error: ${a.status}`);return a.ok&&n.reset(),a}for(let a=1;a<=LK;a++)try{return await i()}catch(o){if(a>=LK||n.shouldBreak())throw o;n.increment(),await r.wait()}}var rm,xTe=new Uint8Array(16);function CTe(){if(!rm&&(rm=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),!rm))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return rm(xTe)}const ATe=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function lk(e){return typeof e=="string"&&ATe.test(e)}var Ia=[];for(var kC=0;kC<256;++kC)Ia.push((kC+256).toString(16).substr(1));function OTe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=(Ia[e[t+0]]+Ia[e[t+1]]+Ia[e[t+2]]+Ia[e[t+3]]+"-"+Ia[e[t+4]]+Ia[e[t+5]]+"-"+Ia[e[t+6]]+Ia[e[t+7]]+"-"+Ia[e[t+8]]+Ia[e[t+9]]+"-"+Ia[e[t+10]]+Ia[e[t+11]]+Ia[e[t+12]]+Ia[e[t+13]]+Ia[e[t+14]]+Ia[e[t+15]]).toLowerCase();if(!lk(r))throw TypeError("Stringified UUID is invalid");return r}function ITe(e,t,r){e=e||{};var n=e.random||(e.rng||CTe)();return n[6]=n[6]&15|64,n[8]=n[8]&63|128,OTe(n)}function PTe(e){if(!lk(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}const MK="cv:session:",$K="cv:window:",DTe=new Date(864e13).getTime(),FK=18e5,kTe=4;function dae(e){if(e===Js.LocalStorage)return da.isAvailable()?da:RK;if(e===Js.SessionStorage)return gy.isAvailable()?gy:RK}function jK(e){return e===!1?DTe:new Date().getTime()+e}function NTe(){return ITe()}function LTe(e){return e?new Date().getTime()>e:!1}function MTe(e){return!(typeof e!="object"||typeof(e==null?void 0:e.id)!="string"||!lk(e.id)||PTe(e.id)!==kTe||typeof(e==null?void 0:e.ttl)!="number"||(e==null?void 0:e.ttl)<=0||isNaN(e==null?void 0:e.ttl))}function UK(e,t,r){const n=dae(r);if(!(n!=null&&n.isAvailable()))return;const i=e+(t||"0");n.remove(i)}function qK(e,t,r,n){const i=dae(r),a=e+(t||"0"),o=i.get(a);if(!MTe(o)||LTe(o==null?void 0:o.ttl)){const s={id:NTe(),ttl:jK(n)};return i.set(a,s),s.id}const u={id:o.id,ttl:jK(n)};return i.set(a,u),o.id}let NC=!1;const VK={getClientSessionData(e){const t=qK(MK,e,Js.LocalStorage,FK),r=qK($K,e,Js.SessionStorage,NC?!1:FK);return!t&&!r?null:{id:t,windowId:r}},resetClientSession(e){UK(MK,e,Js.LocalStorage),UK($K,e,Js.SessionStorage)},lockWindowSession(){NC=!0},unlockWindowSession(){NC=!1}},Yc={isObject(e){const t=typeof e;return t==="function"||t==="object"&&!!e},isFunction(e){return typeof e=="function"}},NI={safeUrlConcat(e,t){if(!e)return;let r=e;return e.endsWith("/")||(r+="/"),t&&(r+=t.startsWith("/")?t.slice(1):t),r}},cn={mobileDevice:/Mobi/i,iphone:/iphone/i,ipad:/ipad/i,android:/android/i,blackberry:/blackberry/i,windowsPhone:/windows phone/i,iosVersion:/OS\s+([\d_.-:]+)\s/i,androidVersion:/android\s+([\d_.-\/]+)[\s;:,\)]/i,blackberryVersion:/(blackberry|version)\s?\d*\/([\d.]+)/i,windowsPhoneVersion:/windows\sphone.*?([\d_.-\/]+)[\s;:,\)]/i,mac:/Mac/i,unix:/X11/i,linux:/Linux/i,windows:/Win/i,win2000:/nt 5.0/i,winXP:/nt 5.1/i,winVista:/nt 6.0/i,win7:/nt 6.1/i,win8:/nt 6.2/i,win81:/nt 6.3/i,win10:/nt 10.0/i,osxVersion:/OS\sX\s([\d_.]+)/i,chrome:/^(?!.*Edge).*Chrome/i,safari:/^(?!.*(?:Chrome|Edge)).*Safari/i,edge:/edge/i,ie:/(msie|trident)/i,opera:/(opr|opera)/i,firefox:/firefox/i,generalVersion:/(chrome|firefox|version)\/(\d+.*?)(\s|$)/i,operaVersion:/(opr|opera)\/(\d+).*?(\s|$)/i,ieVersion:/MSIE\s+(\d+).*?/i,edgeVersion:/(edge)\/(\d+).*?(\s|$)/i},Ju="Unknown";function gd(e,t,r){const n=t.exec(r)||[];let[i]=n;return i||(i=Ju),{name:e,version:i}}function kc(e,t,r){if(!t)return{name:e,version:Ju};const n=t.exec(r),i=n&&n.length?n[0].trim():Ju;return{name:e,version:i}}function $Te(e,t){const r={name:e,version:null};return cn.win2000.test(t)&&(r.version="2000"),cn.winXP.test(t)&&(r.version="XP"),cn.winVista.test(t)&&(r.version="Vista"),cn.win7.test(t)&&(r.version="7"),cn.win8.test(t)&&(r.version="8"),cn.win81.test(t)&&(r.version="8.1"),cn.win10.test(t)&&(r.version="10"),r.version||(r.version=Ju),r}const BK={getDeviceType(){const e=window.navigator.userAgent;return cn.mobileDevice.test(e)?cn.iphone.test(e)?"iPhone":cn.ipad.test(e)?"iPad":cn.android.test(e)?"Android":cn.blackberry.test(e)?"Blackberry":cn.windowsPhone.test(e)?"Windows Phone":Ju:"Desktop"},getOperatingSystem(){const e=window.navigator.userAgent;return cn.android.test(e)?kc("Android",cn.androidVersion,e):cn.iphone.test(e)||cn.ipad.test(e)?kc("iOS",cn.iosVersion,e):cn.linux.test(e)?kc("Linux",null,e):cn.unix.test(e)?kc("Unix",null,e):cn.mac.test(e)?kc("Macintosh",cn.osxVersion,e):cn.windows.test(e)?$Te("Windows",e):cn.blackberry.test(e)?kc("BlackBerry",cn.blackberryVersion,e):cn.windowsPhone.test(e)?kc("Windows Phone",cn.windowsPhoneVersion,e):{name:Ju,version:Ju}},getBrowser(){const e=window.navigator.userAgent;return cn.chrome.test(e)?gd("Chrome",cn.generalVersion,e):cn.firefox.test(e)?gd("Firefox",cn.generalVersion,e):cn.safari.test(e)?gd("Safari",cn.generalVersion,e):cn.ie.test(e)?gd("Internet Explorer",cn.ieVersion,e):cn.edge.test(e)?gd("Edge",cn.edgeVersion,e):cn.opera.test(e)?gd("Opera",cn.operaVersion,e):{name:Ju,version:Ju}},isTouchScreen(){return!!("ontouchstart"in window||navigator.maxTouchPoints)}},FTe=28800,HK="cv:utmparams",LI=[["source","utm_source"],["medium","utm_medium"],["campaign","utm_campaign"],["term","utm_term"],["content","utm_content"]],jTe=LI.reduce((e,[t])=>({...e,[t]:t}),{}),hae={getUtmParameters(){if(!window.URLSearchParams)return null;const e=new URLSearchParams(window.location.search),t={},r=([n,i])=>{e.has(i)&&(t[n]=e.get(i))};return LI.forEach(r),zK(t)},setUtmParameters(e){if(!e)return null;const t={},r=n=>{jTe[n]&&(t[n]=e[n])};return Object.keys(e).forEach(r),zK(t)},getURLSearchParams(){if(!window.URLSearchParams)return null;const e=new URLSearchParams,t=hae.getUtmParameters();return t?(LI.forEach(([r,n])=>{t[r]&&e.set(n,t[r])}),e):null}};function zK(e){if(Object.keys(e).length)return da.cacheSet(HK,e,FTe),e;const t=da.cacheGet(HK);return t&&typeof t=="object"&&Object.keys(t).length?t:null}const UTe="2.3.0",qTe={version:UTe},VTe="zXJL9nOHxzDlMUDjiP41",WK="unknown";class BTe{constructor(t){this.options=t,this.initialize()}initialize(){this.validateOptions(),this.options.logUtmParameters&&(this.utmParameters=hae.getUtmParameters()),this.options.logAttributionData&&(this.attributionData=fae.getDecodedAttributionData())}get name(){return"CollectionApiClient"}async log(t){if(Array.isArray(t))return this.logBulk(t);this.shouldLog(t)&&(this.validateEvent(t),await this.postData(await this.formatData(t)))}async logBulk(t){const r=t.filter(i=>this.shouldLog(i));if(!r.length)return;r.forEach(i=>this.validateEvent(i));const n=await Promise.all(r.map(i=>this.formatData(i)));await this.postData(n)}validateOptions(){if(!Yc.isFunction(this.options.getUser))throw new Error("getUser option is required.")}shouldLog(t){return Yc.isFunction(this.options.shouldLog)?this.options.shouldLog(t):!0}async postData(t){const r=await this.getRegionalUrl(this.options.collectionApiUrls),n=JSON.stringify(t),i={"Content-Type":"application/json",...this.getSignatureHeader(n)};let a=NI.safeUrlConcat(r,"/v1/ingest");Array.isArray(t)&&(a=NI.safeUrlConcat(a,"/bulk"));try{const o=await RTe(a,{method:"POST",mode:"cors",headers:i,body:n});o.ok||this.logError(new Error(`CollectionApiClient failed to log event. Status: ${o.status} ${o.statusText}`),!1,this.getResponseAsObject(o))}catch(o){this.logError(o)}}getResponseAsObject(t){return{headers:t.headers,ok:t.ok,redirected:t.redirected,status:t.status,statusText:t.statusText,type:t.type,url:t.url,body:t.text()}}getSignatureHeader(t){const r=new cTe("SHA-1","TEXT",{hmacKey:{value:VTe,format:"TEXT",encoding:"UTF8"}});return r.update(t),{"cv-analytics-signature":`${this.options.collectionApiClientId}.${r.getHash("B64")}`}}async getRegionalUrl(t){switch((await this.getRegion()).systemName){case el.CvEuWest1:return t.cvEuWest1;case el.CvApSoutheast2:return t.cvApSoutheast2;case el.CvNaWest1:return t.cvNaWest1;case el.CvApSoutheast1:default:return t.cvApSoutheast1}}validateEvent(t){typeof t.type!="string"&&this.logError(new Error("Event type is required."),!0),Yc.isObject(t.actionContext)||this.logError(new Error("Event actionContext is required."),!0),t.actionContext.entity||this.logError(new Error("Event actionContext entity is required."),!0)}async formatData(t){return{type:t.type,data:await this.getEventData(t),metadata:this.getEventMetadata(t)}}async getEventData(t){const r=t.actionContext,n=this.getPlatformMetadata(),i=await this.getUserData(),a=await this.getSessionData(),o={name:this.options.productName,version:this.options.productVersion};this.options.productVariant&&(o.variant=this.options.productVariant);const u={user:i,action:r,platform:n,product:o,session:a};this.utmParameters&&(u.utm=this.utmParameters);const s=this.extractData(t),c=Object.keys(u).map(h=>h.toLowerCase()),d=Object.keys(s).map(h=>h.toLowerCase());return c.forEach(h=>{d.includes(h)&&this.logError(new Error(`${h} is a reserved key.`),!0)}),{...u,...s}}extractData(t){return Yc.isFunction(this.options.formatData)?this.options.formatData(t):{[t.actionContext.entity]:t.data}}async getUserData(){var r,n,i;let t;try{t=await((n=(r=this.options).getProfileId)==null?void 0:n.call(r))}catch(a){this.logError(a)}try{const a=await this.options.getUser();return a!=null&&a.id?{id:a.id,role:((i=a.role)==null?void 0:i.toLowerCase())||WK,userGroup:(a.userGroup??cae.Unknown).toLowerCase(),yearGroup:this.normalizeYearGroup(a.yearGroup),profileId:t,customer:{id:a.customerId,name:a.customerName,customerGuid:a.customerGuid,crmId:a.crmId,country:a.countryCode,region:await this.getRegion(),openCustomer:!1,accessPolicy:a.accessPolicy}}:t?{profileId:t}:void 0}catch(a){this.logError(a)}}async getRegion(){let t=this.options.regionName;try{const r=await this.options.getUser();r!=null&&r.instanceRegion&&(t=r.instanceRegion)}catch(r){this.logError(r)}return t||this.logError(new Error("RegionName is not set."),!0),this.getRegionByName(t.toLowerCase())}async getSessionData(){try{const t=await this.options.getUser();return{...VK.getClientSessionData(t==null?void 0:t.id),authSessionId:t==null?void 0:t.sessionId}}catch(t){return console.error(t),VK.getClientSessionData(null)}}getPlatformMetadata(){var r,n;const t={url:window.location.href,referrer:document.referrer};return(r=this.attributionData)!=null&&r.internalReferrer&&(t.internalReferrer=this.attributionData.internalReferrer),(n=this.attributionData)!=null&&n.originalReferrer&&(t.originalReferrer=this.attributionData.originalReferrer),{browser:BK.getBrowser(),os:BK.getOperatingSystem(),request:t,screenResolution:`${window.screen.width}x${window.screen.height}`,viewportResolution:`${window.innerWidth}x${window.innerHeight}`}}getEventMetadata(t){return{client:{name:`${this.name}.ts`,version:qTe.version,region:this.getRegionByName(this.options.regionName)},timestamp:new Date().toISOString(),eventVersion:t.eventVersion}}getRegionByName(t){let r;return Object.values(pTe).forEach(n=>{n.systemName===t&&(r=n)}),r}normalizeYearGroup(t){return t?t.toLowerCase().split(" ").join("_"):WK}logError(t,r,...n){if(this.options.logError&&this.options.logError(t,...n),r)throw t}}const Fy=class Fy extends Ho{constructor(t){super(t)}shouldLog(t){return!0}log(t){}isType(t){return t===Fy.type}};Fy.type="BaseAnalyticsClient";let MI=Fy;class HTe extends MI{get name(){return"DebuggerClient"}shouldLog(){return q_.isDevelopment}log(t){const r=bne(t);for(const n in t){const i=r[n];(i instanceof ul||i instanceof U_)&&(r[n]=i.toJSON())}console.log("Event Debugger: ",r)}}const an={mobileDevice:/Mobi/i,iphone:/iphone/i,ipad:/ipad/i,android:/android/i,blackberry:/blackberry/i,windowsPhone:/windows phone/i,iosVersion:/OS\s+([\d_.-:]+)\s/i,androidVersion:/android\s+([\d_.-\/]+)[\s;:,\)]/i,blackberryVersion:/(blackberry|version)\s?\d*\/([\d.]+)/i,windowsPhoneVersion:/windows\sphone.*?([\d_.-\/]+)[\s;:,\)]/i,mac:/Mac/i,unix:/X11/i,linux:/Linux/i,windows:/Win/i,win2000:/nt 5.0/i,winXP:/nt 5.1/i,winVista:/nt 6.0/i,win7:/nt 6.1/i,win8:/nt 6.2/i,win81:/nt 6.3/i,win10:/nt 10.0/i,osxVersion:/OS\sX\s([\d_.]+)/i,chrome:/(^(?!.*Edge).*Chrome)|(CriOS)/i,safari:/^(?!.*(?:Chrome|Edge)).*Safari/i,edge:/edge/i,ie:/(msie|trident)/i,opera:/(opr|opera)/i,firefox:/firefox/i,generalVersion:/(chrome|firefox|version)\/(\d+.*?)(\s|$)/i,operaVersion:/(opr|opera)\/(\d+).*?(\s|$)/i,ieVersion:/MSIE\s+(\d+).*?/i,edgeVersion:/(edge)\/(\d+).*?(\s|$)/i,tablet:/(tablet|ipad|playbook|silk)|(android(?!.*mobi))/i,mobile:/Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Kindle|Silk-Accelerated|(hpw|web)OS|Opera M(obi|ini)/},Zu="Unknown";function md(e,t,r){const n=t.exec(r)||[];let[i]=n;return i||(i=Zu),{browser:e,version:i}}function Nc(e,t,r){if(!t)return{os:e,version:Zu};const n=t.exec(r),i=n&&n.length?n[0].trim():Zu;return{os:e,version:i}}function zTe(e,t){const r={os:e};return an.win2000.test(t)&&(r.version="2000"),an.winXP.test(t)&&(r.version="XP"),an.winVista.test(t)&&(r.version="Vista"),an.win7.test(t)&&(r.version="7"),an.win8.test(t)&&(r.version="8"),an.win81.test(t)&&(r.version="8.1"),an.win10.test(t)&&(r.version="10"),r.version||(r.version=Zu),r}const Nv={getDeviceType(){const e=window.navigator.userAgent;return an.mobileDevice.test(e)?an.iphone.test(e)?"iPhone":an.ipad.test(e)?"iPad":an.android.test(e)?"Android":an.blackberry.test(e)?"Blackberry":an.windowsPhone.test(e)?"Windows Phone":Zu:"Desktop"},getOperatingSystem(){const e=window.navigator.userAgent;return an.android.test(e)?Nc("Android",an.androidVersion,e):an.iphone.test(e)||an.ipad.test(e)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1?Nc("iOS",an.iosVersion,e):an.linux.test(e)?Nc("Linux",null,e):an.unix.test(e)?Nc("Unix",null,e):an.mac.test(e)?Nc("Macintosh",an.osxVersion,e):an.windows.test(e)?zTe("Windows",e):an.blackberry.test(e)?Nc("BlackBerry",an.blackberryVersion,e):an.windowsPhone.test(e)?Nc("Windows Phone",an.windowsPhoneVersion,e):{os:Zu,version:Zu}},getBrowser(){const e=window.navigator.userAgent;return an.chrome.test(e)?md("Chrome",an.generalVersion,e):an.firefox.test(e)?md("Firefox",an.generalVersion,e):an.safari.test(e)?md("Safari",an.generalVersion,e):an.ie.test(e)?md("Internet Explorer",an.ieVersion,e):an.edge.test(e)?md("Edge",an.edgeVersion,e):an.opera.test(e)?md("Opera",an.operaVersion,e):{browser:Zu,version:Zu}},isTouchScreen(){return!!("ontouchstart"in window||navigator.maxTouchPoints)},isTabletOrMobile(){return Nv.isTouchScreen()?an.tablet.test(navigator.userAgent)||an.mobile.test(navigator.userAgent):!1},isAndroid(){return Nv.getOperatingSystem().os==="Android"},isIOS(){return Nv.getOperatingSystem().os==="iOS"}};var km={exports:{}},WTe=km.exports,GK;function GTe(){return GK||(GK=1,(function(e,t){(function(r,n){e.exports=n()})(WTe,(function(){var r=1e3,n=6e4,i=36e5,a="millisecond",o="second",u="minute",s="hour",c="day",d="week",h="month",v="quarter",g="year",m="date",y="Invalid Date",S=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,w=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,b={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Q){var K=["th","st","nd","rd"],ee=Q%100;return"["+Q+(K[(ee-20)%10]||K[ee]||K[0])+"]"}},A=function(Q,K,ee){var ne=String(Q);return!ne||ne.length>=K?Q:""+Array(K+1-ne.length).join(ee)+Q},R={s:A,z:function(Q){var K=-Q.utcOffset(),ee=Math.abs(K),ne=Math.floor(ee/60),D=ee%60;return(K<=0?"+":"-")+A(ne,2,"0")+":"+A(D,2,"0")},m:function Q(K,ee){if(K.date()<ee.date())return-Q(ee,K);var ne=12*(ee.year()-K.year())+(ee.month()-K.month()),D=K.clone().add(ne,h),I=ee-D<0,L=K.clone().add(ne+(I?-1:1),h);return+(-(ne+(ee-D)/(I?D-L:L-D))||0)},a:function(Q){return Q<0?Math.ceil(Q)||0:Math.floor(Q)},p:function(Q){return{M:h,y:g,w:d,d:c,D:m,h:s,m:u,s:o,ms:a,Q:v}[Q]||String(Q||"").toLowerCase().replace(/s$/,"")},u:function(Q){return Q===void 0}},x="en",O={};O[x]=b;var _="$isDayjsObject",P=function(Q){return Q instanceof B||!(!Q||!Q[_])},N=function Q(K,ee,ne){var D;if(!K)return x;if(typeof K=="string"){var I=K.toLowerCase();O[I]&&(D=I),ee&&(O[I]=ee,D=I);var L=K.split("-");if(!D&&L.length>1)return Q(L[0])}else{var re=K.name;O[re]=K,D=re}return!ne&&D&&(x=D),D||!ne&&x},U=function(Q,K){if(P(Q))return Q.clone();var ee=typeof K=="object"?K:{};return ee.date=Q,ee.args=arguments,new B(ee)},$=R;$.l=N,$.i=P,$.w=function(Q,K){return U(Q,{locale:K.$L,utc:K.$u,x:K.$x,$offset:K.$offset})};var B=(function(){function Q(ee){this.$L=N(ee.locale,null,!0),this.parse(ee),this.$x=this.$x||ee.x||{},this[_]=!0}var K=Q.prototype;return K.parse=function(ee){this.$d=(function(ne){var D=ne.date,I=ne.utc;if(D===null)return new Date(NaN);if($.u(D))return new Date;if(D instanceof Date)return new Date(D);if(typeof D=="string"&&!/Z$/i.test(D)){var L=D.match(S);if(L){var re=L[2]-1||0,te=(L[7]||"0").substring(0,3);return I?new Date(Date.UTC(L[1],re,L[3]||1,L[4]||0,L[5]||0,L[6]||0,te)):new Date(L[1],re,L[3]||1,L[4]||0,L[5]||0,L[6]||0,te)}}return new Date(D)})(ee),this.init()},K.init=function(){var ee=this.$d;this.$y=ee.getFullYear(),this.$M=ee.getMonth(),this.$D=ee.getDate(),this.$W=ee.getDay(),this.$H=ee.getHours(),this.$m=ee.getMinutes(),this.$s=ee.getSeconds(),this.$ms=ee.getMilliseconds()},K.$utils=function(){return $},K.isValid=function(){return this.$d.toString()!==y},K.isSame=function(ee,ne){var D=U(ee);return this.startOf(ne)<=D&&D<=this.endOf(ne)},K.isAfter=function(ee,ne){return U(ee)<this.startOf(ne)},K.isBefore=function(ee,ne){return this.endOf(ne)<U(ee)},K.$g=function(ee,ne,D){return $.u(ee)?this[ne]:this.set(D,ee)},K.unix=function(){return Math.floor(this.valueOf()/1e3)},K.valueOf=function(){return this.$d.getTime()},K.startOf=function(ee,ne){var D=this,I=!!$.u(ne)||ne,L=$.p(ee),re=function(q,H){var ie=$.w(D.$u?Date.UTC(D.$y,H,q):new Date(D.$y,H,q),D);return I?ie:ie.endOf(c)},te=function(q,H){return $.w(D.toDate()[q].apply(D.toDate("s"),(I?[0,0,0,0]:[23,59,59,999]).slice(H)),D)},ce=this.$W,be=this.$M,Ie=this.$D,je="set"+(this.$u?"UTC":"");switch(L){case g:return I?re(1,0):re(31,11);case h:return I?re(1,be):re(0,be+1);case d:var z=this.$locale().weekStart||0,k=(ce<z?ce+7:ce)-z;return re(I?Ie-k:Ie+(6-k),be);case c:case m:return te(je+"Hours",0);case s:return te(je+"Minutes",1);case u:return te(je+"Seconds",2);case o:return te(je+"Milliseconds",3);default:return this.clone()}},K.endOf=function(ee){return this.startOf(ee,!1)},K.$set=function(ee,ne){var D,I=$.p(ee),L="set"+(this.$u?"UTC":""),re=(D={},D[c]=L+"Date",D[m]=L+"Date",D[h]=L+"Month",D[g]=L+"FullYear",D[s]=L+"Hours",D[u]=L+"Minutes",D[o]=L+"Seconds",D[a]=L+"Milliseconds",D)[I],te=I===c?this.$D+(ne-this.$W):ne;if(I===h||I===g){var ce=this.clone().set(m,1);ce.$d[re](te),ce.init(),this.$d=ce.set(m,Math.min(this.$D,ce.daysInMonth())).$d}else re&&this.$d[re](te);return this.init(),this},K.set=function(ee,ne){return this.clone().$set(ee,ne)},K.get=function(ee){return this[$.p(ee)]()},K.add=function(ee,ne){var D,I=this;ee=Number(ee);var L=$.p(ne),re=function(be){var Ie=U(I);return $.w(Ie.date(Ie.date()+Math.round(be*ee)),I)};if(L===h)return this.set(h,this.$M+ee);if(L===g)return this.set(g,this.$y+ee);if(L===c)return re(1);if(L===d)return re(7);var te=(D={},D[u]=n,D[s]=i,D[o]=r,D)[L]||1,ce=this.$d.getTime()+ee*te;return $.w(ce,this)},K.subtract=function(ee,ne){return this.add(-1*ee,ne)},K.format=function(ee){var ne=this,D=this.$locale();if(!this.isValid())return D.invalidDate||y;var I=ee||"YYYY-MM-DDTHH:mm:ssZ",L=$.z(this),re=this.$H,te=this.$m,ce=this.$M,be=D.weekdays,Ie=D.months,je=D.meridiem,z=function(H,ie,V,Z){return H&&(H[ie]||H(ne,I))||V[ie].slice(0,Z)},k=function(H){return $.s(re%12||12,H,"0")},q=je||function(H,ie,V){var Z=H<12?"AM":"PM";return V?Z.toLowerCase():Z};return I.replace(w,(function(H,ie){return ie||(function(V){switch(V){case"YY":return String(ne.$y).slice(-2);case"YYYY":return $.s(ne.$y,4,"0");case"M":return ce+1;case"MM":return $.s(ce+1,2,"0");case"MMM":return z(D.monthsShort,ce,Ie,3);case"MMMM":return z(Ie,ce);case"D":return ne.$D;case"DD":return $.s(ne.$D,2,"0");case"d":return String(ne.$W);case"dd":return z(D.weekdaysMin,ne.$W,be,2);case"ddd":return z(D.weekdaysShort,ne.$W,be,3);case"dddd":return be[ne.$W];case"H":return String(re);case"HH":return $.s(re,2,"0");case"h":return k(1);case"hh":return k(2);case"a":return q(re,te,!0);case"A":return q(re,te,!1);case"m":return String(te);case"mm":return $.s(te,2,"0");case"s":return String(ne.$s);case"ss":return $.s(ne.$s,2,"0");case"SSS":return $.s(ne.$ms,3,"0");case"Z":return L}return null})(H)||L.replace(":","")}))},K.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},K.diff=function(ee,ne,D){var I,L=this,re=$.p(ne),te=U(ee),ce=(te.utcOffset()-this.utcOffset())*n,be=this-te,Ie=function(){return $.m(L,te)};switch(re){case g:I=Ie()/12;break;case h:I=Ie();break;case v:I=Ie()/3;break;case d:I=(be-ce)/6048e5;break;case c:I=(be-ce)/864e5;break;case s:I=be/i;break;case u:I=be/n;break;case o:I=be/r;break;default:I=be}return D?I:$.a(I)},K.daysInMonth=function(){return this.endOf(h).$D},K.$locale=function(){return O[this.$L]},K.locale=function(ee,ne){if(!ee)return this.$L;var D=this.clone(),I=N(ee,ne,!0);return I&&(D.$L=I),D},K.clone=function(){return $.w(this.$d,this)},K.toDate=function(){return new Date(this.valueOf())},K.toJSON=function(){return this.isValid()?this.toISOString():null},K.toISOString=function(){return this.$d.toISOString()},K.toString=function(){return this.$d.toUTCString()},Q})(),Y=B.prototype;return U.prototype=Y,[["$ms",a],["$s",o],["$m",u],["$H",s],["$W",c],["$M",h],["$y",g],["$D",m]].forEach((function(Q){Y[Q[1]]=function(K){return this.$g(K,Q[0],Q[1])}})),U.extend=function(Q,K){return Q.$i||(Q(K,B,U),Q.$i=!0),U},U.locale=N,U.isDayjs=P,U.unix=function(Q){return U(1e3*Q)},U.en=O[x],U.Ls=O,U.p={},U}))})(km)),km.exports}var YTe=GTe();const fr=jn(YTe);var Nm={exports:{}},KTe=Nm.exports,YK;function XTe(){return YK||(YK=1,(function(e,t){(function(r,n){e.exports=n()})(KTe,(function(){return function(r,n){var i=n.prototype,a=i.format;i.format=function(o){var u=this,s=this.$locale();if(!this.isValid())return a.bind(this)(o);var c=this.$utils(),d=(o||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(h){switch(h){case"Q":return Math.ceil((u.$M+1)/3);case"Do":return s.ordinal(u.$D);case"gggg":return u.weekYear();case"GGGG":return u.isoWeekYear();case"wo":return s.ordinal(u.week(),"W");case"w":case"ww":return c.s(u.week(),h==="w"?1:2,"0");case"W":case"WW":return c.s(u.isoWeek(),h==="W"?1:2,"0");case"k":case"kk":return c.s(String(u.$H===0?24:u.$H),h==="k"?1:2,"0");case"X":return Math.floor(u.$d.getTime()/1e3);case"x":return u.$d.getTime();case"z":return"["+u.offsetName()+"]";case"zzz":return"["+u.offsetName("long")+"]";default:return h}}));return a.bind(this)(d)}}}))})(Nm)),Nm.exports}var QTe=XTe();const JTe=jn(QTe);var Lm={exports:{}},ZTe=Lm.exports,KK;function eRe(){return KK||(KK=1,(function(e,t){(function(r,n){e.exports=n()})(ZTe,(function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},n=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d\d/,a=/\d\d?/,o=/\d*[^-_:/,()\s\d]+/,u={},s=function(y){return(y=+y)+(y>68?1900:2e3)},c=function(y){return function(S){this[y]=+S}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(y){(this.zone||(this.zone={})).offset=(function(S){if(!S||S==="Z")return 0;var w=S.match(/([+-]|\d\d)/g),b=60*w[1]+(+w[2]||0);return b===0?0:w[0]==="+"?-b:b})(y)}],h=function(y){var S=u[y];return S&&(S.indexOf?S:S.s.concat(S.f))},v=function(y,S){var w,b=u.meridiem;if(b){for(var A=1;A<=24;A+=1)if(y.indexOf(b(A,0,S))>-1){w=A>12;break}}else w=y===(S?"pm":"PM");return w},g={A:[o,function(y){this.afternoon=v(y,!1)}],a:[o,function(y){this.afternoon=v(y,!0)}],S:[/\d/,function(y){this.milliseconds=100*+y}],SS:[i,function(y){this.milliseconds=10*+y}],SSS:[/\d{3}/,function(y){this.milliseconds=+y}],s:[a,c("seconds")],ss:[a,c("seconds")],m:[a,c("minutes")],mm:[a,c("minutes")],H:[a,c("hours")],h:[a,c("hours")],HH:[a,c("hours")],hh:[a,c("hours")],D:[a,c("day")],DD:[i,c("day")],Do:[o,function(y){var S=u.ordinal,w=y.match(/\d+/);if(this.day=w[0],S)for(var b=1;b<=31;b+=1)S(b).replace(/\[|\]/g,"")===y&&(this.day=b)}],M:[a,c("month")],MM:[i,c("month")],MMM:[o,function(y){var S=h("months"),w=(h("monthsShort")||S.map((function(b){return b.slice(0,3)}))).indexOf(y)+1;if(w<1)throw new Error;this.month=w%12||w}],MMMM:[o,function(y){var S=h("months").indexOf(y)+1;if(S<1)throw new Error;this.month=S%12||S}],Y:[/[+-]?\d+/,c("year")],YY:[i,function(y){this.year=s(y)}],YYYY:[/\d{4}/,c("year")],Z:d,ZZ:d};function m(y){var S,w;S=y,w=u&&u.formats;for(var b=(y=S.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(N,U,$){var B=$&&$.toUpperCase();return U||w[$]||r[$]||w[B].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(Y,Q,K){return Q||K.slice(1)}))}))).match(n),A=b.length,R=0;R<A;R+=1){var x=b[R],O=g[x],_=O&&O[0],P=O&&O[1];b[R]=P?{regex:_,parser:P}:x.replace(/^\[|\]$/g,"")}return function(N){for(var U={},$=0,B=0;$<A;$+=1){var Y=b[$];if(typeof Y=="string")B+=Y.length;else{var Q=Y.regex,K=Y.parser,ee=N.slice(B),ne=Q.exec(ee)[0];K.call(U,ne),N=N.replace(ne,"")}}return(function(D){var I=D.afternoon;if(I!==void 0){var L=D.hours;I?L<12&&(D.hours+=12):L===12&&(D.hours=0),delete D.afternoon}})(U),U}}return function(y,S,w){w.p.customParseFormat=!0,y&&y.parseTwoDigitYear&&(s=y.parseTwoDigitYear);var b=S.prototype,A=b.parse;b.parse=function(R){var x=R.date,O=R.utc,_=R.args;this.$u=O;var P=_[1];if(typeof P=="string"){var N=_[2]===!0,U=_[3]===!0,$=N||U,B=_[2];U&&(B=_[2]),u=this.$locale(),!N&&B&&(u=w.Ls[B]),this.$d=(function(ee,ne,D){try{if(["x","X"].indexOf(ne)>-1)return new Date((ne==="X"?1e3:1)*ee);var I=m(ne)(ee),L=I.year,re=I.month,te=I.day,ce=I.hours,be=I.minutes,Ie=I.seconds,je=I.milliseconds,z=I.zone,k=new Date,q=te||(L||re?1:k.getDate()),H=L||k.getFullYear(),ie=0;L&&!re||(ie=re>0?re-1:k.getMonth());var V=ce||0,Z=be||0,me=Ie||0,fe=je||0;return z?new Date(Date.UTC(H,ie,q,V,Z,me,fe+60*z.offset*1e3)):D?new Date(Date.UTC(H,ie,q,V,Z,me,fe)):new Date(H,ie,q,V,Z,me,fe)}catch{return new Date("")}})(x,P,O),this.init(),B&&B!==!0&&(this.$L=this.locale(B).$L),$&&x!=this.format(P)&&(this.$d=new Date("")),u={}}else if(P instanceof Array)for(var Y=P.length,Q=1;Q<=Y;Q+=1){_[1]=P[Q-1];var K=w.apply(this,_);if(K.isValid()){this.$d=K.$d,this.$L=K.$L,this.init();break}Q===Y&&(this.$d=new Date(""))}else A.call(this,R)}}}))})(Lm)),Lm.exports}var tRe=eRe();const vae=jn(tRe);var Mm={exports:{}},rRe=Mm.exports,XK;function nRe(){return XK||(XK=1,(function(e,t){(function(r,n){e.exports=n()})(rRe,(function(){var r,n,i=1e3,a=6e4,o=36e5,u=864e5,s=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,c=31536e6,d=2628e6,h=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,v={years:c,months:d,days:u,hours:o,minutes:a,seconds:i,milliseconds:1,weeks:6048e5},g=function(O){return O instanceof R},m=function(O,_,P){return new R(O,P,_.$l)},y=function(O){return n.p(O)+"s"},S=function(O){return O<0},w=function(O){return S(O)?Math.ceil(O):Math.floor(O)},b=function(O){return Math.abs(O)},A=function(O,_){return O?S(O)?{negative:!0,format:""+b(O)+_}:{negative:!1,format:""+O+_}:{negative:!1,format:""}},R=(function(){function O(P,N,U){var $=this;if(this.$d={},this.$l=U,P===void 0&&(this.$ms=0,this.parseFromMilliseconds()),N)return m(P*v[y(N)],this);if(typeof P=="number")return this.$ms=P,this.parseFromMilliseconds(),this;if(typeof P=="object")return Object.keys(P).forEach((function(Q){$.$d[y(Q)]=P[Q]})),this.calMilliseconds(),this;if(typeof P=="string"){var B=P.match(h);if(B){var Y=B.slice(2).map((function(Q){return Q!=null?Number(Q):0}));return this.$d.years=Y[0],this.$d.months=Y[1],this.$d.weeks=Y[2],this.$d.days=Y[3],this.$d.hours=Y[4],this.$d.minutes=Y[5],this.$d.seconds=Y[6],this.calMilliseconds(),this}}return this}var _=O.prototype;return _.calMilliseconds=function(){var P=this;this.$ms=Object.keys(this.$d).reduce((function(N,U){return N+(P.$d[U]||0)*v[U]}),0)},_.parseFromMilliseconds=function(){var P=this.$ms;this.$d.years=w(P/c),P%=c,this.$d.months=w(P/d),P%=d,this.$d.days=w(P/u),P%=u,this.$d.hours=w(P/o),P%=o,this.$d.minutes=w(P/a),P%=a,this.$d.seconds=w(P/i),P%=i,this.$d.milliseconds=P},_.toISOString=function(){var P=A(this.$d.years,"Y"),N=A(this.$d.months,"M"),U=+this.$d.days||0;this.$d.weeks&&(U+=7*this.$d.weeks);var $=A(U,"D"),B=A(this.$d.hours,"H"),Y=A(this.$d.minutes,"M"),Q=this.$d.seconds||0;this.$d.milliseconds&&(Q+=this.$d.milliseconds/1e3,Q=Math.round(1e3*Q)/1e3);var K=A(Q,"S"),ee=P.negative||N.negative||$.negative||B.negative||Y.negative||K.negative,ne=B.format||Y.format||K.format?"T":"",D=(ee?"-":"")+"P"+P.format+N.format+$.format+ne+B.format+Y.format+K.format;return D==="P"||D==="-P"?"P0D":D},_.toJSON=function(){return this.toISOString()},_.format=function(P){var N=P||"YYYY-MM-DDTHH:mm:ss",U={Y:this.$d.years,YY:n.s(this.$d.years,2,"0"),YYYY:n.s(this.$d.years,4,"0"),M:this.$d.months,MM:n.s(this.$d.months,2,"0"),D:this.$d.days,DD:n.s(this.$d.days,2,"0"),H:this.$d.hours,HH:n.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:n.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:n.s(this.$d.seconds,2,"0"),SSS:n.s(this.$d.milliseconds,3,"0")};return N.replace(s,(function($,B){return B||String(U[$])}))},_.as=function(P){return this.$ms/v[y(P)]},_.get=function(P){var N=this.$ms,U=y(P);return U==="milliseconds"?N%=1e3:N=U==="weeks"?w(N/v[U]):this.$d[U],N||0},_.add=function(P,N,U){var $;return $=N?P*v[y(N)]:g(P)?P.$ms:m(P,this).$ms,m(this.$ms+$*(U?-1:1),this)},_.subtract=function(P,N){return this.add(P,N,!0)},_.locale=function(P){var N=this.clone();return N.$l=P,N},_.clone=function(){return m(this.$ms,this)},_.humanize=function(P){return r().add(this.$ms,"ms").locale(this.$l).fromNow(!P)},_.valueOf=function(){return this.asMilliseconds()},_.milliseconds=function(){return this.get("milliseconds")},_.asMilliseconds=function(){return this.as("milliseconds")},_.seconds=function(){return this.get("seconds")},_.asSeconds=function(){return this.as("seconds")},_.minutes=function(){return this.get("minutes")},_.asMinutes=function(){return this.as("minutes")},_.hours=function(){return this.get("hours")},_.asHours=function(){return this.as("hours")},_.days=function(){return this.get("days")},_.asDays=function(){return this.as("days")},_.weeks=function(){return this.get("weeks")},_.asWeeks=function(){return this.as("weeks")},_.months=function(){return this.get("months")},_.asMonths=function(){return this.as("months")},_.years=function(){return this.get("years")},_.asYears=function(){return this.as("years")},O})(),x=function(O,_,P){return O.add(_.years()*P,"y").add(_.months()*P,"M").add(_.days()*P,"d").add(_.hours()*P,"h").add(_.minutes()*P,"m").add(_.seconds()*P,"s").add(_.milliseconds()*P,"ms")};return function(O,_,P){r=P,n=P().$utils(),P.duration=function($,B){var Y=P.locale();return m($,{$l:Y},B)},P.isDuration=g;var N=_.prototype.add,U=_.prototype.subtract;_.prototype.add=function($,B){return g($)?x(this,$,1):N.bind(this)($,B)},_.prototype.subtract=function($,B){return g($)?x(this,$,-1):U.bind(this)($,B)}}}))})(Mm)),Mm.exports}var iRe=nRe();const aRe=jn(iRe);var $m={exports:{}},oRe=$m.exports,QK;function sRe(){return QK||(QK=1,(function(e,t){(function(r,n){e.exports=n()})(oRe,(function(){return function(r,n,i){n.prototype.isBetween=function(a,o,u,s){var c=i(a),d=i(o),h=(s=s||"()")[0]==="(",v=s[1]===")";return(h?this.isAfter(c,u):!this.isBefore(c,u))&&(v?this.isBefore(d,u):!this.isAfter(d,u))||(h?this.isBefore(c,u):!this.isAfter(c,u))&&(v?this.isAfter(d,u):!this.isBefore(d,u))}}}))})($m)),$m.exports}var uRe=sRe();const lRe=jn(uRe);var Fm={exports:{}},cRe=Fm.exports,JK;function fRe(){return JK||(JK=1,(function(e,t){(function(r,n){e.exports=n()})(cRe,(function(){return function(r,n){n.prototype.isSameOrAfter=function(i,a){return this.isSame(i,a)||this.isAfter(i,a)}}}))})(Fm)),Fm.exports}var dRe=fRe();const hRe=jn(dRe);var jm={exports:{}},vRe=jm.exports,ZK;function pRe(){return ZK||(ZK=1,(function(e,t){(function(r,n){e.exports=n()})(vRe,(function(){return function(r,n){n.prototype.isSameOrBefore=function(i,a){return this.isSame(i,a)||this.isBefore(i,a)}}}))})(jm)),jm.exports}var gRe=pRe();const mRe=jn(gRe);var Um={exports:{}},yRe=Um.exports,eX;function _Re(){return eX||(eX=1,(function(e,t){(function(r,n){e.exports=n()})(yRe,(function(){return function(r,n,i){var a=n.prototype,o=function(h){return h&&(h.indexOf?h:h.s)},u=function(h,v,g,m,y){var S=h.name?h:h.$locale(),w=o(S[v]),b=o(S[g]),A=w||b.map((function(x){return x.slice(0,m)}));if(!y)return A;var R=S.weekStart;return A.map((function(x,O){return A[(O+(R||0))%7]}))},s=function(){return i.Ls[i.locale()]},c=function(h,v){return h.formats[v]||(function(g){return g.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(m,y,S){return y||S.slice(1)}))})(h.formats[v.toUpperCase()])},d=function(){var h=this;return{months:function(v){return v?v.format("MMMM"):u(h,"months")},monthsShort:function(v){return v?v.format("MMM"):u(h,"monthsShort","months",3)},firstDayOfWeek:function(){return h.$locale().weekStart||0},weekdays:function(v){return v?v.format("dddd"):u(h,"weekdays")},weekdaysMin:function(v){return v?v.format("dd"):u(h,"weekdaysMin","weekdays",2)},weekdaysShort:function(v){return v?v.format("ddd"):u(h,"weekdaysShort","weekdays",3)},longDateFormat:function(v){return c(h.$locale(),v)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};a.localeData=function(){return d.bind(this)()},i.localeData=function(){var h=s();return{firstDayOfWeek:function(){return h.weekStart||0},weekdays:function(){return i.weekdays()},weekdaysShort:function(){return i.weekdaysShort()},weekdaysMin:function(){return i.weekdaysMin()},months:function(){return i.months()},monthsShort:function(){return i.monthsShort()},longDateFormat:function(v){return c(h,v)},meridiem:h.meridiem,ordinal:h.ordinal}},i.months=function(){return u(s(),"months")},i.monthsShort=function(){return u(s(),"monthsShort","months",3)},i.weekdays=function(h){return u(s(),"weekdays",null,null,h)},i.weekdaysShort=function(h){return u(s(),"weekdaysShort","weekdays",3,h)},i.weekdaysMin=function(h){return u(s(),"weekdaysMin","weekdays",2,h)}}}))})(Um)),Um.exports}var SRe=_Re();const ERe=jn(SRe);var qm={exports:{}},wRe=qm.exports,tX;function bRe(){return tX||(tX=1,(function(e,t){(function(r,n){e.exports=n()})(wRe,(function(){return function(r,n,i){r=r||{};var a=n.prototype,o={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function u(c,d,h,v){return a.fromToBase(c,d,h,v)}i.en.relativeTime=o,a.fromToBase=function(c,d,h,v,g){for(var m,y,S,w=h.$locale().relativeTime||o,b=r.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],A=b.length,R=0;R<A;R+=1){var x=b[R];x.d&&(m=v?i(c).diff(h,x.d,!0):h.diff(c,x.d,!0));var O=(r.rounding||Math.round)(Math.abs(m));if(S=m>0,O<=x.r||!x.r){O<=1&&R>0&&(x=b[R-1]);var _=w[x.l];g&&(O=g(""+O)),y=typeof _=="string"?_.replace("%d",O):_(O,d,x.l,S);break}}if(d)return y;var P=S?w.future:w.past;return typeof P=="function"?P(y):P.replace("%s",y)},a.to=function(c,d){return u(c,d,this,!0)},a.from=function(c,d){return u(c,d,this)};var s=function(c){return c.$u?i.utc():i()};a.toNow=function(c){return this.to(s(this),c)},a.fromNow=function(c){return this.from(s(this),c)}}}))})(qm)),qm.exports}var TRe=bRe();const RRe=jn(TRe);var Vm={exports:{}},xRe=Vm.exports,rX;function CRe(){return rX||(rX=1,(function(e,t){(function(r,n){e.exports=n()})(xRe,(function(){var r={year:0,month:1,day:2,hour:3,minute:4,second:5},n={};return function(i,a,o){var u,s=function(v,g,m){m===void 0&&(m={});var y=new Date(v),S=(function(w,b){b===void 0&&(b={});var A=b.timeZoneName||"short",R=w+"|"+A,x=n[R];return x||(x=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:w,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:A}),n[R]=x),x})(g,m);return S.formatToParts(y)},c=function(v,g){for(var m=s(v,g),y=[],S=0;S<m.length;S+=1){var w=m[S],b=w.type,A=w.value,R=r[b];R>=0&&(y[R]=parseInt(A,10))}var x=y[3],O=x===24?0:x,_=y[0]+"-"+y[1]+"-"+y[2]+" "+O+":"+y[4]+":"+y[5]+":000",P=+v;return(o.utc(_).valueOf()-(P-=P%1e3))/6e4},d=a.prototype;d.tz=function(v,g){v===void 0&&(v=u);var m=this.utcOffset(),y=this.toDate(),S=y.toLocaleString("en-US",{timeZone:v}),w=Math.round((y-new Date(S))/1e3/60),b=o(S,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(15*-Math.round(y.getTimezoneOffset()/15)-w,!0);if(g){var A=b.utcOffset();b=b.add(m-A,"minute")}return b.$x.$timezone=v,b},d.offsetName=function(v){var g=this.$x.$timezone||o.tz.guess(),m=s(this.valueOf(),g,{timeZoneName:v}).find((function(y){return y.type.toLowerCase()==="timezonename"}));return m&&m.value};var h=d.startOf;d.startOf=function(v,g){if(!this.$x||!this.$x.$timezone)return h.call(this,v,g);var m=o(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return h.call(m,v,g).tz(this.$x.$timezone,!0)},o.tz=function(v,g,m){var y=m&&g,S=m||g||u,w=c(+o(),S);if(typeof v!="string")return o(v).tz(S);var b=(function(O,_,P){var N=O-60*_*1e3,U=c(N,P);if(_===U)return[N,_];var $=c(N-=60*(U-_)*1e3,P);return U===$?[N,U]:[O-60*Math.min(U,$)*1e3,Math.max(U,$)]})(o.utc(v,y).valueOf(),w,S),A=b[0],R=b[1],x=o(A).utcOffset(R);return x.$x.$timezone=S,x},o.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},o.tz.setDefault=function(v){u=v}}}))})(Vm)),Vm.exports}var ARe=CRe();const ORe=jn(ARe);var Bm={exports:{}},IRe=Bm.exports,nX;function PRe(){return nX||(nX=1,(function(e,t){(function(r,n){e.exports=n()})(IRe,(function(){var r="minute",n=/[+-]\d\d(?::?\d\d)?/g,i=/([+-]|\d\d)/g;return function(a,o,u){var s=o.prototype;u.utc=function(y){var S={date:y,utc:!0,args:arguments};return new o(S)},s.utc=function(y){var S=u(this.toDate(),{locale:this.$L,utc:!0});return y?S.add(this.utcOffset(),r):S},s.local=function(){return u(this.toDate(),{locale:this.$L,utc:!1})};var c=s.parse;s.parse=function(y){y.utc&&(this.$u=!0),this.$utils().u(y.$offset)||(this.$offset=y.$offset),c.call(this,y)};var d=s.init;s.init=function(){if(this.$u){var y=this.$d;this.$y=y.getUTCFullYear(),this.$M=y.getUTCMonth(),this.$D=y.getUTCDate(),this.$W=y.getUTCDay(),this.$H=y.getUTCHours(),this.$m=y.getUTCMinutes(),this.$s=y.getUTCSeconds(),this.$ms=y.getUTCMilliseconds()}else d.call(this)};var h=s.utcOffset;s.utcOffset=function(y,S){var w=this.$utils().u;if(w(y))return this.$u?0:w(this.$offset)?h.call(this):this.$offset;if(typeof y=="string"&&(y=(function(x){x===void 0&&(x="");var O=x.match(n);if(!O)return null;var _=(""+O[0]).match(i)||["-",0,0],P=_[0],N=60*+_[1]+ +_[2];return N===0?0:P==="+"?N:-N})(y),y===null))return this;var b=Math.abs(y)<=16?60*y:y,A=this;if(S)return A.$offset=b,A.$u=y===0,A;if(y!==0){var R=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(A=this.local().add(b+R,r)).$offset=b,A.$x.$localOffset=R}else A=this.utc();return A};var v=s.format;s.format=function(y){var S=y||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return v.call(this,S)},s.valueOf=function(){var y=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*y},s.isUTC=function(){return!!this.$u},s.toISOString=function(){return this.toDate().toISOString()},s.toString=function(){return this.toDate().toUTCString()};var g=s.toDate;s.toDate=function(y){return y==="s"&&this.$offset?u(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():g.call(this)};var m=s.diff;s.diff=function(y,S,w){if(y&&this.$u===y.$u)return m.call(this,y,S,w);var b=this.local(),A=u(y).local();return m.call(b,A,S,w)}}}))})(Bm)),Bm.exports}var DRe=PRe();const kRe=jn(DRe);var Hm={exports:{}},NRe=Hm.exports,iX;function LRe(){return iX||(iX=1,(function(e,t){(function(r,n){e.exports=n()})(NRe,(function(){return function(r,n){n.prototype.weekday=function(i){var a=this.$locale().weekStart||0,o=this.$W,u=(o<a?o+7:o)-a;return this.$utils().u(i)?u:this.subtract(u,"day").add(i,"day")}}}))})(Hm)),Hm.exports}var MRe=LRe();const $Re=jn(MRe);let nm;const FRe={"DD/MM/YYYY":{"en-us":"MM/DD/YYYY"},"DD/MM/YYYY, hh:mmA":{"en-us":"MM/DD/YYYY, hh:mmA"},"Do MMMM":{"en-us":"MMMM Do"},"Do MMMM YYYY":{"en-us":"MMMM Do YYYY"},"D MMMM YYYY":{"en-us":"MMMM D YYYY"},"ddd, D MMM YYYY":{"en-us":"ddd, MMM D YYYY"},"ddd, D MMM":{"en-us":"ddd, MMM D"}},pae={getCurrentRegion(){return nm},setCurrentRegion(e){nm=e},updateFormatByRegion(e){var r;return nm&&((r=FRe[e])==null?void 0:r[nm])||e}};fr.extend(JTe);fr.extend(vae);fr.extend(RRe);fr.extend(hRe);fr.extend(lRe);fr.extend($Re);fr.extend(ERe);fr.extend(mRe);fr.extend(vae);fr.extend(aRe);fr.extend(kRe);fr.extend(ORe);const jRe=/[\[\]]/g;function URe(e){const t=e.split(":"),r=parseInt(t[0],10)||0,n=parseInt(t[1],10)||0,i=parseInt(t[2],10)||0;return{hours:r,minutes:n,seconds:i}}const Cn={add(e,t,r){return fr(e).add(t,r).toDate()},subtract(e,t,r){return fr(e).subtract(t,r).toDate()},format(e,t){return fr(e).format(pae.updateFormatByRegion(t))},formatToISODate(e){return fr(e).format("YYYY-MM-DD")},isValid(e){return fr(e).isValid()},formatIsValid(e,t,r){return fr(e,t,r).isValid()},fromNow(e,t){return fr(e).fromNow(!!t)},convertUTCToLocal(e){let t=e;typeof t=="string"&&(t=new Date(t));const r=t.getHours(),n=t.getMinutes(),i=t.getTimezoneOffset()>0,o=Math.abs(t.getTimezoneOffset())/60,u=Math.floor(o),s=Math.floor((o-u)*60);let c=r+u,d=n+s;return i&&(c=r-u,d=n-s),t.setHours(c),t.setMinutes(d),t},convertDateToUTC(e){return new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds())},isBefore(e,t,r){const n=fr(e);return r?n.isBefore(t,r):n.isBefore(t)},isAfter(e,t,r){const n=fr(e);return r?n.isAfter(t,r):n.isAfter(t)},isSame(e,t,r){return fr(e).isSame(fr(t),r)},isSameOrBefore(e,t,r){return fr(e).isSameOrBefore(fr(t),r)},isToday(e){return fr().isSame(fr(e),"day")},isBetween(e,t,r){return fr(e).isSameOrAfter(fr(t))&&fr(e).isSameOrBefore(fr(r))},timeSince(e,t,r){const n=fr(e);return fr().diff(n,t,r)},startOf(e,t){return fr(e).startOf(t).toDate()},endOf(e,t){return fr(e).endOf(t).toDate()},getTimezoneOffset(){const e=new Date().getTimezoneOffset();if(e===0)return"00:00:00";const t=Math.floor(Math.abs(e/60)),r=Math.abs(e%60),n=t<10?"0"+t:t.toString(),i=r<10?"0"+r:r.toString(),a=`${n}:${i}:00`;return e<0?a:`-${a}`},weekday(e,t){return fr(e).weekday(t).toDate()},getWeekday(e){return fr(e).weekday()},daysInMonth(e){return fr(e).daysInMonth()},get(e,t){return fr(e).get(t)},set(e,t,r){return fr(e).set(t,r).toDate()},diffBetween(e,t,r){return fr(e).diff(fr(t),r)},getLocalDateOrdinal(e){return fr.localeData().ordinal(e).replace(jRe,"")},parseDateString(e,t){return e?fr(e,t).toDate():fr().toDate()},getDurationISOString(e,t){return fr.duration(e,t).toISOString()},convertISODuration(e,t){switch(t){case"milliseconds":return fr.duration(e).asMilliseconds();default:console.error(`Unsupported unit: ${t}, please added in the DateHelper.convertISODuration`);break}},convertDurationByUnit(e,t,r){switch(r){case"hours":return fr.duration(e,t).asHours()}},convertTimestampDuration(e,t){const r=URe(e);switch(t){case"milliseconds":return fr.duration(r).asMilliseconds();case"seconds":return fr.duration(r).asSeconds();case"hours":return fr.duration(r).asHours();default:console.error(`Unsupported unit: ${t}, please added in the DateHelper.convertDurationByUnit`);break}},buildUTCDate(e,t,r){const n=fr().day(e).hour(t).minute(r).utc().toDate();return Cn.convertDateToUTC(n)},buildLocalDateFromUTC(e,t,r){return fr().utc().day(e).hour(t).minute(r).local().toDate()},getUtcISOString(e){return fr(e).utc().toISOString()},formatUtc(e,t){return fr(e).utc().format(t)},formatUtcString(e,t){return fr.utc(e).local().format(t)},getDurationComponentByUnit(e,t,r){switch(r){case"hours":return fr.duration(e,t).hours();case"minutes":return fr.duration(e,t).minutes();case"seconds":return fr.duration(e,t).seconds();default:console.error(`Unsupported unit: ${r}, please added in the DateHelper`);break}},getFirstDayInMonthNumMonthsAgo(e){return fr().startOf("month").subtract(e,"month").format("YYYY-MM-DD")},getLastDayInMonthNumMonthsAgo(e){return fr().endOf("month").subtract(e,"month").format("YYYY-MM-DD")},getUtcTimeByTimezone(e,t,r){return r?fr.utc(e).tz(r).format(t):fr.utc(e).format(t)},getUtcStringByTimezone(e,t){return fr.tz(e,t).utc().toISOString()}},jy=class jy extends Ho{enrich(t,r){}isType(t){return t===jy.type}};jy.type="BaseAnalyticsEnricher";let $I=jy;class qRe extends $I{constructor(t){super(t),this.productName=t.productName,this.productVersion=t.productVersion}get name(){return"CoreContextEnricher"}shouldEnrich(t){return!0}enrich(t,r){this.shouldEnrich(t)||r(t),t.enrich("coreContext",this.getCoreContext()),r(t)}getCoreContext(){return{timestamp:this.getTimestamp(),product:this.getProductInfo(),request:this.getRequestInfo(),client:this.getClientInfo()}}getTimestamp(){return Cn.getUtcISOString()}getProductInfo(){return{name:this.productName,version:this.productVersion}}getRequestInfo(){return{referrer:Yn.GetCurrentReferrer(),requestUrl:Yn.GetCurrentUrl()}}getClientInfo(){const t=Nv.getOperatingSystem(),r=Nv.getBrowser();return{os:t.os,osVersion:t.version,browser:r.browser,browserVersion:r.version,screenResolution:`${window.screen.width}x${window.screen.height}`,viewportResolution:`${window.innerWidth}x${window.innerHeight}`}}}class VRe extends Pf{}class BRe extends VRe{get name(){return"EventTransport"}get channelName(){return"event:transport"}publish(t){this.getChannel().trigger($d.Outlet,t)}subscribe(t){const r=t,n=i=>{gi.isFunction(r.shouldLog)&&!r.shouldLog(i)||t.log(i)};on(r.listenTo)?r.listenTo(this.getChannel(),$d.Outlet,n):this.listenTo(this.getChannel(),$d.Outlet,n)}}var Bt=(e=>(e.Stream="cv_product_stream",e.WebPlayerStream="cv_product_webplayer_stream",e.StreamProgress="cv_product_stream_progress",e.Login="cv_product_login",e.LoginSsoRedirect="cv_product_login_sso_redirect",e.LoginFailed="cv_product_login_failed",e.Search="cv_product_search",e.InstantSearch="cv_product_instant_search",e.SearchEmptyResult="cv_product_search_empty_result",e.Filter="cv_product_search_filter",e.SearchLanding="cv_product_search_landing",e.Share="cv_product_share",e.Unshare="cv_product_unshare",e.WorkspaceAdd="cv_product_tv_add",e.Rename="cv_product_rename",e.Move="cv_product_move",e.Sort="cv_product_sort",e.Create="cv_product_create",e.Delete="cv_product_delete",e.Associate="cv_product_associate",e.Dissociate="cv_product_dissociate",e.Edit="cv_product_edit",e.Approve="cv_product_approve",e.Reject="cv_product_reject",e.Disable="cv_product_disable",e.Upload="cv_product_upload",e.Download="cv_product_download",e.Navigate="cv_product_navigate",e.Click="cv_product_click",e.Suggest="cv_product_suggest",e.EditAssoc="cv_product_edit_assoc",e.Play="cv_product_play",e.Favourite="cv_product_favourite",e.Follow="cv_product_follow",e.Prefer="cv_product_prefer",e.Print="cv_product_print",e.Copy="cv_product_copy",e.Activate="cv_product_activate",e.VerifyEmail="cv_product_verify_email",e.ChangePassword="cv_product_change_password",e.ManageGroup="cv_product_manage_group",e.Export="cv_product_export",e.SendEmail="cv_product_send_email",e.Publish="cv_product_publish",e.Submit="cv_product_submit",e.Complete="cv_product_complete",e.Archive="cv_product_archive",e.Promote="cv_product_promote",e.Demote="cv_product_demote",e.BulkAction="cv_product_bulk_action",e.Remove="cv_product_remove",e.Dismiss="cv_product_dismiss",e.Open="cv_product_open",e.Hide="cv_product_hide",e.PageView="cv_product_page_view",e.Select="cv_product_select",e.SwitchCustomer="cv_product_switch_customer",e.Focus="cv_product_focus",e.Blur="cv_product_blur",e.Hover="cv_product_hover",e.Unhover="cv_product_unhover",e.SetAccess="cv_product_set_access",e.AddToLocalCache="cv_product_add_to_lc",e.ResolveWarning="cv_product_resolve_warning",e.DismissWarning="cv_product_dismiss_warning",e))(Bt||{}),xn=(e=>(e.Folder="folder",e.Video="video",e.Rating="rating",e.Series="series",e.Library="library",e.Resource="resource",e.Tag="tag",e.Subtitle="subtitle",e.Chapter="chapter",e.Resolution="resolution",e.PlaybackSpeed="playback_speed",e.Device="device",e.Restriction="restriction",e.Interactive="interactive",e.Interaction="interaction",e.PDF="pdf",e.CustomerSetting="customer_setting",e.UserSetting="user_setting",e.LibraryRequest="staff_request",e.Logo="logo",e.Pagination="pagination",e.Thumbnail="thumbnail",e.Banner="banner",e.Link="link",e.Playlist="playlist",e.Playlists="playlists",e.Person="person",e.Company="company",e.Classroom="classroom",e.ClassroomGroup="classroom_group",e.Classification="classification",e.ShareLink="share_link",e.DirectShare="direct_share",e.Upload="upload",e.SearchResults="search_results",e.SearchSuggestion="search_suggestion",e.Audience="audience",e.User="user",e.Clip="clip",e.UserChannel="user_channel",e.Widget="widget",e.Url="url",e.SocialShare="social_share",e.Presentation="presentation",e.BatchJob="batch_job",e.DeepLink="deep_link",e.Feedback="feedback",e.AppLink="app_link",e.SignUp="sign_up",e.FileGeneratorJob="file_generator_job",e.ExportLibraries="export_libraries",e.Product="product",e.Customer="customer",e.SpecialEvent="special_event",e.Region="region",e.ProductTip="product_tip",e.Livestream="livestream",e.DevicesCta="devices_cta",e.Integration="integration",e.Faq="faq",e.MixedMedia="mixed_media",e.TableOfContents="table_of_contents",e.Author="author",e.Glance="glance",e.Filter="filter",e.NotificationSetting="notification_setting",e.Transcript="transcript",e.CurriculumCode="curriculum_code",e.Assign="assign",e))(xn||{}),ka=(e=>(e.TopNav="top_nav",e.LeftNav="left_nav",e.Footer="footer",e.Popup="popup",e.Banner="banner",e.VideoList="video_list",e.VideoListItem="video_list_item",e.VideoListHeader="video_header",e.VideoThumbnail="video_thumbnail",e.ExpandableVideoThumbnail="expandable_video_thumbnail",e.VideoItemPreview="video_item_preview",e.InteractiveItemPreview="interactive_item_preview",e.ClipItemPreview="clip_item_preview",e.VideoDetails="video_details",e.InteractiveDetails="interactive_details",e.ClipDetails="clip_details",e.VideoDetailsHeader="video_details_header",e.EditVideoDetails="edit_video_details",e.EditInteractiveVideoDetails="edit_interactive_video_details",e.EditClipDetails="edit_clip_details",e.EditVideoChapters="edit_video_chapters",e.EditVideoResources="edit_video_resources",e.PreviewVideoResources="preview_video_resources",e.VideoUpload="video_upload",e.VideoRequest="video_request",e.Pagination="pagination",e.LibraryHeader="library_header",e.LibraryTiles="library_tiles",e.LibraryRequestDetails="staff_request_details",e.Libraries="libraries",e.SubFolderList="sub_folder_list",e.AwaitingReviewVideoListHeader="awaiting_review_video_list_header",e.AwaitingReviewVideoItem="awaiting_review_video_item",e.PastReleasesHeader="past_releases_header",e.MigrationWarnings="migration_warnings",e.PlaylistListHeader="playlist_list_header",e.PlaylistListItem="playlist_list_item",e.SeriesListItem="series_list_item",e.SeriesWithVideos="series_with_videos",e.PlaylistWithVideos="playlist_with_videos",e.Dropdown="dropdown",e.ViewCurriculumLinks="view_curriculum_links",e.SearchBar="search_bar",e.InstantSearch="instant_search",e.SearchFilters="search_filters",e.FeaturedSeriesSearchResult="featured_series_search_result",e.ExchangeSearchGroupItem="exchange_search_group_item",e.StaffManager="staff_manager",e.StaffManagerListItem="staff_manager_list_item",e.StudentManager="student_manager",e.ViewStudentVideos="view_student_videos",e.StudentManagerListItem="student_manager_list_item",e.EditUser="edit_user",e.UserAuditLog="user_audit_log",e.BulkUserActionsWizard="bulk_user_actions_wizard",e.BulkUserUploadWizard="bulk_user_upload_wizard",e.Classroom="classroom",e.ClassroomsList="classrooms_list",e.ClassroomsListItem="classrooms_list_item",e.ManageClassroomStudents="manage_classroom_students",e.ManageClassroomStudentListItem="manage_classroom_student_list_item",e.ManageClassroomGroups="manage_classroom_groups",e.ManageClassroomGroupListItem="manage_classroom_group_list_item",e.ManageClassroomTeachers="manage_classroom_teachers",e.ManageClassroomTeacherListItem="manage_classroom_teachers_list_item",e.ArchivedClassrooms="archived_classrooms",e.PreviewInteractive="preview_interactive",e.PreviewSharedInteractive="preview_shared_interactive",e.PreviewInteractiveQuestions="preview_interactive_questions",e.EditInteractive="edit_interactive",e.EditInteractiveDetails="edit_interactive_details",e.PlaySharedInteractive="play_shared_interactive",e.PlayInteractive="play_interactive",e.InteractiveListItem="interactive_list_item",e.DeleteInteractive="delete_interactive",e.NewInteractive="new_interactive",e.CopyInteractive="copy_interactive",e.UnpublishInteractive="unpublish_interactive",e.ShareInteractive="share_interactive",e.PlayPage="play_page",e.Player="player",e.FloatingPlayer="floating_player",e.InteractivePlayer="interactive_player",e.EmbeddedPlayer="embedded_player",e.CreateClipPlayer="create_clip_player",e.PlayClip="play_clip",e.PlaySharedClip="play_shared_clip",e.ClipListItem="clip_list_item",e.ContentUpdatesBanner="content_updates_banner",e.ContentUpdatesClassificationBanner="content_updates_classification_banner",e.PreferencesSettings="preferences_settings",e.NotificationSettings="notification_settings",e.TopicsOnboarding="topics_onboarding",e.MyUploads="my_uploads",e.MyVideos="my_videos",e.SlidingList="sliding_list",e.HeroBannerItem="hero_banner_item",e.SlidingListItem="sliding_list_item",e.ClassificationListItem="classification_list_item",e.ClassificationComingSoon="classification_coming_soon",e.ClassificationHero="classification_hero",e.ClassificationFooter="classification_footer",e.Classification="classification",e.PresentationClassifications="presentation_classifications",e.Dashboard="dashboard",e.DiscoverFooter="discover_footer",e.ProductBanner="product_banner",e.UserOptions="user_options",e.MagicTabs="magic_tabs",e.Settings="settings",e.StudentFeed="student_feed",e.MyShares="my_shares",e.SharedByMe="shared_by_me",e.SharedWithMe="shared_with_me",e.Insights="insights",e.Error="error_view",e.UpgradeForm="upgrade_form",e.ClassroomGuide="classroom_guide",e.TeachingResources="teaching_resources",e.ResourcesGuidancePopup="resources_guidance_popup",e.InteractivesGuidancePopup="interactives_guidance_popup",e.CurriculumGuidancePopup="curriculum_guidance_popup",e.TopVideos="top_videos",e.VideoViewsList="video_views_list",e.VideoOverview="video_overview",e.LiteUpgradeFeedbackPopup="lite_upgrade_feedback_popup",e.LiteUpgradeBanner="lite_upgrade_banner",e.LiteUpgradeOnboarding="lite_upgrade_onboarding",e.GiveFeedbackPopup="give_feedback_popup",e.LibraryRequestSettings="library_request_settings",e.OpenInAppPrompt="open_in_app_prompt",e.UseAppButton="use_app_button",e.Launchpad="launchpad",e.EditableSubjectPreferencesWidget="editable_subject_preferences_widget",e.ThumbnailHeroMediaWidget="thumbnail_hero_media_widget",e.ThumbnailFixedListMediaLargeWidget="thumbnail_fixed_list_media_large",e.FilterSlidingPillListSmallWidget="filter_sliding_pill_list_small",e.CircleLogoSlidingListWidget="circle_logo_sliding_list_widget",e.HeroBannerSmallWidget="hero_banner_small",e.EventIconSlidingListWidget="event_icon_sliding_list_widget",e.OnboardingStepsWidget="onboarding_steps_widget",e.FaqQuestionWidget="faq_question_widget",e.FaqQuestionAccordionWidget="faq_question_accordion_widget",e.SubjectStatsWidgetItem="subject_stats_widget_item",e.AuthorReviewerWidget="author_reviewer_widget",e.ThumbnailFixedListMediaSmallWidget="thumbnail_fixed_list_media_small_widget",e.ThumbnailFixedListFolderSmallWidget="thumbnail_fixed_list_folder_small_widget",e.ThumbnailVerticalListWidget="thumbnail_vertical_list_widget",e.ThumbnailFixedListSmallWidget="thumbnail_fixed_list_small_widget",e.PosterFixedListLargeWidget="poster_fixed_list_large_widget",e.CurriculumResourcesAccordionWidget="curriculum_resources_accordion_widget",e.SearchCurriculumCodeWidget="search_curriculum_code_widget",e.ExchangeLinksWidget="exchange_links_widget",e.TableOfContents="table_of_contents",e.SignUpPopup="sign_up_popup",e.SignUpPage="sign_up_page",e.TrialBanner="trial_banner",e.InviteColleaguePopup="invite_colleague_popup",e.AuthProspectSelect="auth_prospect_select",e.WelcomePopup="welcome_popup",e.WatchHistoryLanding="watch_history_landing",e.MyFavouritesLanding="my_favourites_landing",e.MyVideoLanding="my_videos_landing",e.PlaylistsLanding="playlists_landing",e.MySharesLanding="myshares_landing",e.NotificationsDropdown="notifications_dropdown",e.CalendarNav="calendar_nav",e.CalendarDay="calendar_day",e.CalendarPopup="calendar_popup",e.RegionMap="region_map",e.OnboardingWelcomeVideoScreen="onboarding_welcome_video_screen",e.OnboardingSelectRoleScreen="onboarding_select_role_screen",e.OnboardingUsageIntentionScreen="onboarding_usage_intention_screen",e.OnboardingSchoolLevelScreen="onboarding_school_level_screen",e.OnboardingSelectCurriculumScreen="onboarding_select_curriculum_screen",e.OnboardingSubjectsScreen="onboarding_subjects_screen",e.OnboardingSelectVideosScreen="onboarding_select_videos_screen",e.OnboardingCreatePlaylistScreen="onboarding_create_playlist_screen",e.OnboardingSubjectsSummaryScreen="onboarding_subjects_summary_screen",e.ProductTips="product_tips",e.LivestreamBookingForm="booking_form",e.DateRangeFilter="date_range_selector",e.AudienceFilter="audience_filter",e.AssignFlowView="assign_flow_view",e.Global="global",e))(ka||{}),ec=(e=>(e.Start="start",e.Complete="complete",e.Save="save",e.Discard="discard",e.Next="next",e.Back="back",e))(ec||{}),FI=(e=>(e.Single="single",e.Bulk="bulk",e.All="all",e))(FI||{}),ck=(e=>(e.Content="content",e.Quality="quality",e.Duration="duration",e.Reset="reset",e.DateRange="date_range",e.Audience="audience",e))(ck||{}),HRe=(e=>(e.Start="start",e.Finish="finish",e.Terminate="terminate",e.Play="play",e.Pause="pause",e.Playback="playback",e.NextChapter="next_chapter",e.PreviousChapter="previous_chapter",e.FullScreenEnter="full_screen_enter",e.FullScreenExit="full_screen_exit",e.ChangeResolution="change_resolution",e.ChangeSpeed="change_speed",e.ChangeDevice="change_device",e.EnableTheatreMode="enable_theatre_mode",e.DisableTheatreMode="disable_theatre_mode",e.ShowTranscript="show_transcript",e.HideTranscript="hide_transcript",e))(HRe||{}),zRe=(e=>(e.Embedded="embedded",e))(zRe||{}),Fd=(e=>(e.TogglePreview="toggle_preview",e.NavigateHome="navigate_home",e.OpenInStaffView="open_in_staff_view",e.Title="title",e.ToggleHideValidListings="toggle_hide_valid_listings",e.LaunchImmersiveReader="launch_immersive_reader",e.CopyEmbedHtml="copy_embed_html",e.Close="close",e.Open="open",e.Button="button",e.Link="link",e.Tile="tile",e.Thumbnail="thumbnail",e.Cover="cover",e.TallPoster="tall_poster",e.Banner="banner",e.Slide="slide",e.ExternalLink="external_link",e.ViewStudentWorkspace="view_student_workspace",e.Card="card",e.SelectAllUsers="select_all_users",e.ClickViewLogo="clickview_logo",e.Clear="clear",e.SeeMore="see_more",e.Settings="settings",e.Expand="expand",e.Collapse="collapse",e.Search="search",e))(Fd||{}),WRe=(e=>(e.FeatureUserChannelVideo="feature_user_channel_video",e.RemoveFromUserChannelPlaylist="remove_from_user_channel_playlist",e.ShareClip="share_clip",e.ViewOriginalVideo="view_original_video",e.ShareInteractive="share_interactive",e.DeleteInteractiveVideo="delete_interactive_video",e.CopyInteractiveVideo="copy_interactive_video",e.EditInteractiveVideo="edit_interactive_video",e.PrintAsWorksheet="print_as_worksheet",e.PreviewInteractiveVideo="preview_interactive_video",e.ViewResults="view_results",e.ViewInsights="view_insights",e.ViewUsage="view_usage",e.MoveToAnotherFolder="move_to_another_folder",e.CreateInteractiveVideo="create_interactive_video",e.ShareVideo="share_video",e.EditVideo="edit_video",e.DownloadVideo="download_video",e.AddToExchange="add_to_exchange",e.AddToUserChannel="add_to_user_channel",e.CreateClip="create_clip",e.FlagVideo="flag_video",e.AddToLibrary="add_to_library",e.AddToWorkspace="add_to_workspace",e.AddToPlaylist="add_to_playlist",e.RemoveFromPlaylist="remove_from_playlist",e.AddCurriculumLink="add_curriculum_link",e.ViewCurriculumLinks="view_curriculum_links",e.OpenInCurator="open_in_curator",e.ManageVideoAccess="manage_video_access",e.Approve="approve",e.AddToLocalCache="add_to_local_cache",e.OpenInLibraryEditor="open_in_library_editor",e.OpenInClickView="open_in_clickview",e.PlayClip="play_clip",e.EditClip="edit_clip",e.DeleteClip="delete_clip",e.EditVideoDetails="edit_video_details",e.DeleteVideo="delete_video",e.ManageAccess="manage_access",e.SuggestEdit="suggest_edit",e.RemoveFromWatchHistory="remove_from_watch_history",e.ShowTranscript="show_transcript",e.HideTranscript="hide_transcript",e.TranscriptTimepoint="transcript_timepoint",e))(WRe||{}),jI=(e=>(e.FileSelect="file_select",e.DragDrop="drag_drop",e))(jI||{}),GRe=(e=>(e.On="on",e.Off="off",e))(GRe||{}),YRe=(e=>(e.DirectShare="direct_share",e.CopyLink="copy_link",e.CopyEmbedHtml="copy_embed_html",e.PluginEmbed="plugin_embed",e))(YRe||{}),Zv=(e=>(e.SignIn="sign_in",e.SignUp="sign_up",e.SignOut="sign_out",e.SwitchAccount="switch_account",e.TopNavButton="top_nav_button",e.Educator="educator",e.Student="student",e.TermsAndConditions="terms_and_conditions",e.PrivacyPolicy="privacy_policy",e.EnterEmail="enter_email",e.ClosePopup="close_popup",e.Back="back",e.UseMyLocation="use_my_location",e.TrialCreated="trial_created",e.TrialRequested="trial_requested",e.DeadEnd="dead_end",e.CantFindSchool="cant_find_school",e.ResendEmail="resend_email",e.ContactUs="contact_us",e.InviteColleague="invite_colleague",e.Upgrade="upgrade",e.FindSchool="find_school",e.AddToBraze="add_to_braze",e.RequestAccess="request_access",e.AutoJoin="auto_join",e.WrongEmail="wrong_email",e.RequestBdmTrial="request_bdm_trial",e.SkipIdpSelect="skip_idp_select",e))(Zv||{}),KRe=(e=>(e.SearchTranscript="search_transcript",e.NextResult="next_result",e.PreviousResult="previous_result",e.ResetResults="reset_results",e))(KRe||{}),UI=(e=>(e.FileSelect="file-select",e.DragDrop="drag-drop",e))(UI||{}),Bl=(e=>(e.Video="videos",e.Clip="clips",e.Interactive="interactives",e.Folder="categories",e.Series="series",e.Tags="tags",e.Subjects="subjects",e))(Bl||{}),gae=(e=>(e[e.V1=1]="V1",e[e.V2=2]="V2",e[e.V3=3]="V3",e[e.V4=4]="V4",e[e.V5=5]="V5",e))(gae||{});const Fi={passthrough(e){return e}},Er={allow:()=>!0,restrict:()=>!1},XRe={getShareData(e){var u,s,c,d;const{id:t,search:r,pagePositionIndex:n,shareId:i,shareType:a}=e,o={id:t,search:r,pagePositionIndex:n,shareId:i,shareType:a};return(u=e.video)!=null&&u.id&&(o.video={id:e.video.id}),(s=e.clip)!=null&&s.id&&(o.clip={id:e.clip.id},(c=e.clip.video)!=null&&c.id&&(o.video={id:(d=e.clip.video)==null?void 0:d.id})),e.shareCount!==void 0&&(o.shareCount=e.shareCount),e.embedDetails&&(o.embedDetails=o.embedDetails),o}},xd={getUploadData(e,t){const{entity:r}=t.actionContext;if(r===xn.Video)return xd.formatVideoUpload(e,t);if(r===xn.Resource||r===xn.Subtitle)return xd.formatResourceUpload(e);if(r===xn.Banner||r===xn.Thumbnail||r===xn.MixedMedia)return e;throw new Error("Upload data event not correctly formatted.")},formatVideoUpload(e,t){const{workflowPhase:r}=t.actionContext;if(r===ec.Start)return xd.getStartVideoUploadData(e);if(r===ec.Discard)return xd.getDiscardVideoUploadData(e);if(r===ec.Complete)return xd.getCompleteUploadData(e)},getStartVideoUploadData(e){return!e||!e.length?[]:(e instanceof FileList&&(e=Array.from(e)),e.map(t=>({fileName:t.name,size:t.size,type:t.type,count:e.length})))},getDiscardVideoUploadData(e){const t=r=>{const{type:n,name:i,status:a,cvUpload:o}=r.file,u={fileName:i,count:Array.isArray(e)?e.length:1,type:n,status:a};return r.progress&&(u.progress=r.progress.toFixed(2)),o&&(u.uploadId=o.uploadId),u};return Array.isArray(e)?e.map(r=>t(r)):[t(e)]},getCompleteUploadData(e){return!e||!e.length?[]:e.map(t=>{const{fileName:r,libraryId:n,folderId:i,autoCaption:a}=t;return{fileName:r,libraryId:n,folderId:i,autoCaption:a,count:e.length}})},formatResourceUpload(e){const{id:t,name:r}=e,n={id:t,name:r};return Yc.isObject(e.metadata)&&(n.type=e.metadata.type),n}},QRe={[Bt.Navigate]:Er.restrict,[Bt.Click]:Er.allow,[Bt.Search]:Er.allow,[Bt.InstantSearch]:Er.allow,[Bt.Play]:Er.allow,[Bt.Stream]:Er.allow,[Bt.WebPlayerStream]:Er.allow,[Bt.StreamProgress]:Er.allow,[Bt.Rename]:Er.allow,[Bt.Move]:Er.allow,[Bt.Create]:Er.allow,[Bt.Delete]:Er.allow,[Bt.Associate]:Er.allow,[Bt.Dissociate]:Er.allow,[Bt.Filter]:Er.allow,[Bt.Sort]:Er.allow,[Bt.Approve]:Er.allow,[Bt.Reject]:Er.allow,[Bt.Disable]:Er.allow,[Bt.Upload]:Er.allow,[Bt.Download]:Er.allow,[Bt.SetAccess]:Er.allow,[Bt.AddToLocalCache]:Er.restrict,[Bt.Share]:Er.allow,[Bt.Unshare]:Er.allow,[Bt.Edit]:Er.allow,[Bt.Suggest]:Er.allow,[Bt.Favourite]:Er.allow,[Bt.WorkspaceAdd]:Er.allow,[Bt.ResolveWarning]:Er.allow,[Bt.DismissWarning]:Er.allow,[Bt.EditAssoc]:Er.allow,[Bt.Follow]:Er.allow,[Bt.Print]:Er.allow,[Bt.Copy]:Er.allow,[Bt.Activate]:Er.allow,[Bt.VerifyEmail]:Er.allow,[Bt.ChangePassword]:Er.allow,[Bt.Export]:Er.allow,[Bt.SendEmail]:Er.allow,[Bt.Publish]:Er.allow,[Bt.Submit]:Er.allow,[Bt.Complete]:Er.allow,[Bt.Archive]:Er.allow,[Bt.Promote]:Er.allow,[Bt.Demote]:Er.allow,[Bt.BulkAction]:Er.allow,[Bt.Remove]:Er.allow,[Bt.Dismiss]:Er.allow,[Bt.Open]:Er.allow,[Bt.Hide]:Er.allow,[Bt.PageView]:Er.allow,[Bt.Select]:Er.allow,[Bt.SwitchCustomer]:Er.allow,[Bt.Focus]:Er.allow,[Bt.Blur]:Er.allow,[Bt.Hover]:Er.allow,[Bt.Unhover]:Er.allow},JRe={[Bt.Search]:Fi.passthrough,[Bt.InstantSearch]:Fi.passthrough,[Bt.Play]:Fi.passthrough,[Bt.Stream]:Fi.passthrough,[Bt.StreamProgress]:Fi.passthrough,[Bt.Click]:Fi.passthrough,[Bt.Filter]:Fi.passthrough,[Bt.Sort]:Fi.passthrough,[Bt.SetAccess]:Fi.passthrough,[Bt.Approve]:Fi.passthrough,[Bt.Reject]:Fi.passthrough,[Bt.Create]:Fi.passthrough,[Bt.Delete]:Fi.passthrough,[Bt.Rename]:Fi.passthrough,[Bt.Move]:Fi.passthrough,[Bt.Edit]:Fi.passthrough,[Bt.Share]:XRe.getShareData,[Bt.Disable]:Fi.passthrough,[Bt.Suggest]:Fi.passthrough,[Bt.Upload]:xd.getUploadData,[Bt.ResolveWarning]:Fi.passthrough,[Bt.DismissWarning]:Fi.passthrough,[Bt.Follow]:Fi.passthrough,[Bt.Print]:Fi.passthrough,[Bt.Copy]:Fi.passthrough},aX={[Bt.Search]:()=>"search",[Bt.InstantSearch]:()=>"search",[Bt.Filter]:()=>"filter",[Bt.Stream]:()=>xn.Video},oX={user:"target_user",product:"target_product"},ZRe={[Bt.StreamProgress]:!0,[Bt.WebPlayerStream]:!0},sX={shouldLog(e){return!!QRe[e.type](e)},formatData(e){const t=JRe[e.type],r=Yc.isFunction(t)?t(e.data,e):e.data;if(ZRe[e.type])return r;let n=e.actionContext.entity;return Yc.isFunction(aX[e.type])&&(n=aX[e.type](e)),oX[n]&&(n=oX[n]),{[n]:r}}};var br=(e=>(e.MustCompleteOnboarding="must_complete_onboarding",e.StudentWorkspaceSharing="student_ws_sharing",e.StudentToStudentMessaging="student_to_student_messaging",e.HideResourcesForStudents="hide_resources_for_students",e.LibraryReview="library_review",e.SchoolMessaging="school_messaging",e.LegacyTvNaming="legacy_tv_naming",e.LegacyAlbertCustomer="legacy_albert_customer",e.HideHostedLibraries="hide_hosted_libraries",e.MaxCustomLibraries="max_custom_libraries",e.AutoCaptioning="auto_captioning",e.Topics="subjects",e.NewDashboards="new_dashboards",e.ShareToGoogleClassroom="share_to_google_classroom",e.ShareToMicrosoftTeams="share_to_microsoft_teams",e.DefaultPlaybackQuality="playback_quality_default",e.DefaultLocalCachePlaybackQuality="playback_quality_local_cache_default",e.EnableSubtitlesDefault="playback_subtitles_enabled_default",e.LTI="lti",e.HasNewClassificationView="new_classification_view",e.HasCuratedDiscoverDashboards="has_curated_discover_dashboards",e.HasLiteSearchDropdown="has_lite_search_dropdown",e.HasSpecialEventCalendar="has_special_event_calendar",e.PreviewVideos="preview_videos",e.DomainSettings="domain_settings",e.InviteColleague="invite_colleague",e.ExchangeTvProductOption="exchange_tv_product_option",e.MyVideosFolders="my_videos_folders",e.TvRegion="tv_region",e.ShareOverrideRestrictions="share_override_restrictions",e.HasTopicDirectories="has_topic_directories",e.MessageFrequencyOption="message_frequency",e.HasTopicVideoListFeature="has_topic_video_list_feature",e.HasManageGrouPermissions="has_manage_group_permissions",e.ExperimentalInteractiveQuestions="experimental_interactive_questions",e.PublicInteractiveAttempts="public_interactive_attempts",e.HasClassrooms="has_classrooms",e.HasNewSearch="has_new_search",e.HasPlayPageTranscript="has_play_page_transcript",e.HasShareFlowV2="has_share_flow_v2",e.HasEnabledViviPlayback="has_enabled_vivi_playback",e.HasEnabledViviStudentCasting="has_enabled_vivi_student_casting",e.HasEnabledAppleTvPlayback="has_enabled_apple_tv_playback",e.HasDisplayedPresentationSwitcherProductTip="has_displayed_presentation_switcher_spotlight",e.HasDisplayedTopicsDirectoryTabProductTip="has_displayed_topics_directory_tab_spotlight",e.HasDisplayedGiveFeedbackFormProductTip="has_displayed_give_feedback_form_spotlight",e.HasDisplayedWhatsNewLinkProductTip="has_displayed_whats_new_link_spotlight",e.ShowExchangeSearchResultsUser="show_exchange_search_results_user",e.LiteUpgradeTime="lite_upgrade_time",e.LiteUpgradeTypeCustomer="lite_upgrade_type_customer",e.LiteUpgradeTypeUser="lite_upgrade_type_user",e.HasCompletedUpgradeOnboarding="has_completed_upgrade_onboarding",e.LiteUpgradeFeedback="lite_upgrade_feedback",e.LiteUpgradeComplete="lite_upgrade_complete",e.PolicyEndTime="policy_end_time",e.HasCompletedOnboardingV1="has_completed_onboarding",e.BulkOnboardingPreferencesState="bulk_onboarding_preferences_state",e.HasCompletedOnboardingV2="has_completed_onboarding_v2",e.HasNewOnboarding="has_new_onboarding",e.HasExitedOnboarding="has_exited_onboarding",e.HasCompletedOnboardingStepWelcomeVideo="has_completed_onboarding_step_welcome_video",e.HasCompletedOnboardingStepSelectRole="has_completed_onboarding_step_select_role",e.HasCompletedOnboardingStepUsageIntention="has_completed_onboarding_step_usage_intention",e.HasCompletedOnboardingStepSchoolLevel="has_completed_onboarding_step_school_level",e.HasCompletedOnboardingStepSelectCurriculum="has_completed_onboarding_step_select_curriculum",e.HasCompletedOnboardingStepSubjects="has_completed_onboarding_step_subjects",e.HasCompletedOnboardingStepSelectVideos="has_completed_onboarding_step_select_videos",e.HasCompletedOnboardingStepCreatePlaylist="has_completed_onboarding_step_create_playlist",e.HasCompletedOnboardingStepSubjectsSummary="has_completed_onboarding_step_subjects_summary",e.HasCompletedOnboardingProductTips="has_completed_onboarding_product_tips",e.StudentInteractives="student_interactives",e.ExpandSchoolLibrary="expand_school_library",e.PrimaryProduct="primary_product",e.ImmediateFeedbackInteractives="immediate_feedback_interactives",e.LiteStudentCustomLibraries="lite_student_custom_libraries",e.HasEnabledRostering="has_enabled_rostering",e))(br||{});const of={config(e,t){return{url:"/api/config",key:"config",bootstrapName:"config",success:e,error:t}},version(e,t){return{url:"/api/version",key:"version",bootstrapName:"version",normalize:!1,success:e,error:t}},geoLocation(){return{url:"/api/geolocation",key:"geolocation",normalize:!1,bootstrapName:"geolocation"}}},Lv={get(e,t){var r;return(r=e==null?void 0:e[t])==null?void 0:r.value},getCustomerSettingsRequest(e,t){return e!=null&&e.isAuthenticated?wu.customerSettings(t==null?void 0:t.success,t==null?void 0:t.error):wu._publicCustomerSettings(t==null?void 0:t.success,t==null?void 0:t.error)},getUserSettingsRequest(e,t){return e!=null&&e.isAuthenticated?wu.userSettings(t==null?void 0:t.success,t==null?void 0:t.error):wu._publicUserSettings(t==null?void 0:t.success,t==null?void 0:t.error)},formatSettings(e){return e.reduce((t,r)=>(t[r.name]=r,t),{})}},uX=[{name:"new_classification_view",value:!0},{name:"must_complete_onboarding",value:!1},{name:"has_completed_onboarding",value:!0},{name:"has_displayed_presentation_switcher_spotlight",value:!0},{name:"has_curated_discover_dashboards",value:!0},{name:"has_special_event_calendar",value:!0},{name:"new_movies_and_tv",value:!0}];let LC=()=>(vr.throw(new On("SettingRequests.setPublicFormatSettings must be called before using public requests in SettingRequests")),null);const wu={setPublicFormatSettings(e){e&&(LC=e)},organisationSettings(e,t,r){return{key:`settings:organisation:${e}`,url:`{gateway}/v1/organisations/${e}/settings`,normalizeOptions:{idAttribute:"name"},formatData:Lv.formatSettings,success:t,error:r}},customerSetting(e,t,r){return{key:`settings:customer:${e}`,url:`{gateway}/v1/customers/me/settings?type=${e}`,normalizeOptions:{idAttribute:"name"},formatData:n=>Qa.first(n),success:t,error:r}},customerSettings(e,t){return{key:"customer:settings",url:"{gateway}/v1/customers/me/settings?(customerSettings)",normalizeOptions:{idAttribute:"name"},formatData:Lv.formatSettings,success:e,error:t}},_publicCustomerSettings(e,t){return{key:"customer:settings",url:"simulated:/api/domain/v3/settings/public",normalizeOptions:{idAttribute:"name"},formatData:LC,success:e,error:t,successResponse:()=>uX}},_publicUserSettings(e,t){return{key:"user:settings",url:"simulated:/api/domain/v3/settings/public",normalizeOptions:{idAttribute:"name"},formatData:LC,success:e,error:t,successResponse:()=>uX}},userSetting(e,t,r){return{key:`settings:user:${e}`,url:`{gateway}/v1/customers/me/settings?type=${e}`,normalizeOptions:{idAttribute:"name"},formatData:n=>Qa.first(n),success:t,error:r}},userSettings(e,t){return{key:"user:settings",url:"{gateway}/v1/users/me/settings?(userSettings)",normalizeOptions:{idAttribute:"name"},formatData:Lv.formatSettings,success:e,error:t}},updateUserSetting(e,t,r,n){return{key:`update:user:setting:${e.name}`,url:"{gateway}/v1/users/me/settings",data:e,type:fn.PUT,formatData:()=>e,normalizeOptions:{idAttribute:"name"},success:t,error:r,always:n}},updateCustomerSetting(e,t,r,n){return{key:`update:customer:setting:${e.name}`,url:"{gateway}/v1/customers/me/settings",data:e,type:fn.PUT,formatData:()=>e,normalizeOptions:{idAttribute:"name"},success:t,error:r,always:n}}};var Id=(e=>(e.Unknown="Unknown",e.Staff="Staff",e.Learner="Learner",e.System="System",e))(Id||{});const exe=/\/$/,dn={urlBuilder(e,t){const n=Object.entries(t).map(([i,a])=>i&&Array.isArray(a)?a.map(u=>`${i}=${encodeURIComponent(u)}`).join("&"):i&&a!==void 0&&a!==null?`${i}=${encodeURIComponent(a)}`:"").reduce((i,a)=>a?i?`${i}&${a}`:a:i,"");return n?`${e}?${n}`:e},buildFilter(e){const t=[];if(e.limit&&t.push(`limit:${e.limit}`),e.cursor&&t.push(`page:${e.cursor}`),e.before&&t.push(`dateCreated:...${e.before}`),!!t.length)return t.join(",")},makeHttps(e){return typeof e!="string"||e.indexOf("http://")===-1||(e=e.replace("http://","https://")),e},safeUrlConcat(e,t){if(!e)return;let r=e;return e.endsWith("/")||(r+="/"),t&&(r+=t.startsWith("/")?t.slice(1):t),r},removeTrailingSlash(e){if(typeof e=="string")return e.replace(exe,"")}},mae={customer(e,t,r,n){return{url:dn.urlBuilder(`{gateway}/v1/objects/${e}`,{query:n?"organisation":""}),key:`customers:${e}:${n?"with-organization":""}`,success:t,error:r}},yearGroups(e){return{url:`{gateway}/v1/customers/${e}/year-groups?query={orderby:value}rating`,key:"year:groups"}},updateYearGroupRatings(e,t,r,n){return{url:`{gateway}/v1/customers/${e}/year-groups`,key:"update:year:group:ratings",type:fn.PUT,data:t,success:r,error:n,invalidationKeys:["year:groups"]}}},ll={LOCALE:"locale",PHRASES:"phrases",TOKEN:"token",PERMISSIONS:"permissions",USER:"currentUser",PRODUCTS:"products"},Wi={currentUser(e,t){return{url:"/api/currentuser",key:"currentuser",normalizeOptions:{namespace:"currentuser"},bootstrapName:ll.USER,success:e,error:t}},user(e,t,r){return{url:`{gateway}/v1/users/${e}`,key:`users:${e}`,success:t,error:r}},groups(e){return{url:`{gateway}/v1/objects/${e}/members?query=groups`,key:`users:${e}:groups`}},usersById(e,t,r){return{url:dn.urlBuilder("{gateway}/v1/users",{id:e}),key:`users:list:${e.join(",")}`,success:t,error:r,formatData:n=>{const i=n.reduce((a,o)=>(a[o.id.toString()]=o,a),{});return e.map(a=>i[a.toString()])}}},getUserIdByQuery(e,t){return{url:`{gateway}/v1/users/ids?${e}`,key:`users:ids:${e}`,success:t}},workspace(e,t){return{url:"/api/domain/v2/me/workspace?query=categorytree",key:"workspace",success:e,error:t}},sendVerificationEmail(e,t,r,n){return{url:"api/account/email",key:"verify:email",type:fn.POST,data:{emailAddress:e},success:t,error:r,always:n,invalidationKeys:["verify:email:status"]}},token(e,t){return{url:"/api/token",key:"token",bootstrapName:ll.TOKEN,formatData:r=>typeof r.expiry!="number"||r.expiry<=0||isNaN(r.expiry)?r:{value:r.value,localTTL:new Date().getTime()+r.expiry*1e3},success:e,error:t}},permissions(e,t){return{url:"{gateway}/v1/users/me/permissions",publicUrl:"/api/permissions",key:"permissions",success:e,error:t,normalize:!1,formatData:r=>r.reduce((n,i)=>(n[i]=!0,n),{}),bootstrapName:ll.PERMISSIONS}},customers(e){return{url:`{gateway}/v1/objects/${e}/customers`,key:"customers"}},accessPolicy(){return{url:"{gateway}/v1/users/me/access-policy",key:"access:policy"}},updateJobTitle(e,t,r){return{url:`{gateway}/v1/customers/${t}/users/job-titles`,key:`update:${e}:job:title:${r}`,type:fn.PUT,data:{customerId:t,users:[{userId:e,jobTitle:r}]},updateState:{keys:`users:${e}`,updateData:n=>{const i=n[`users:${e}`];return{...n,[`users:${e}`]:{...i,userProfile:{...i.userProfile,metadata:{...i.userProfile.metadata||{},jobTitle:r}}}}}}}},getById(e,t){const r=Qa.uniq(e);return r.sort(),{url:`{gateway}/v1/objects?query=${`avatar&${r.map(i=>`id=${i}`).join("&")}`}`,key:`users:by:id:${r.join(",")}`,error:t}},updateCurrentUser(e,t,r,n){return{url:"{gateway}/v1/users/me/profile",key:"edit:current:user",type:fn.PUT,data:e,invalidationKeys:["search:aggregation","currentuser"],success:t,error:r,always:n}}},MC={"Academic Coach":"teacher","Assistant Head Teacher":"kdm","Consortium Leadership":"kdm","Curriculum Coordinator":"teacher","Curriculum Leader":"teacher","Deputy Head Teacher":"kdm","Deputy Principal":"kdm","Digital Technology Coordinator":"teacher","District Leadership":"kdm","e-Learning/ICT Coordinator":"teacher","Head of Department":"teacher","Head of Faculty":"teacher","Head of Key Stage":"teacher","Head of Subject":"teacher","Head Teacher":"kdm",IT:"kdm","IT/LRC":"kdm","e-Learning Coordinator":"kdm","Instructional Technology Specialist":"teacher","Librarian / Teacher Librarian":"teacher",Principal:"kdm","School Leadership":"kdm","Subject Lead":"teacher",Teacher:"teacher","SSO / SLSO":"teacher","Assistant Principal":"kdm","IT / IT Specialist":"kdm","Learning Support":"teacher","Learning Assistant":"teacher","Educational Assistant (EA)":"teacher","Learning Support Teacher / Resource Teacher":"teacher","Department Head / Manager":"teacher","Curriculum Coordinator / Consultant":"teacher","School Counsellor / Guidance Counsellor":"teacher","Vice-Principal":"kdm",Superintendent:"kdm","Director of Education":"kdm","Business Manager":"kdm",Professor:"kdm",Lecturer:"teacher","Course Coordinator / Administrator":"teacher","Digital Learning Manager":"teacher",Tutor:"teacher","Teaching Fellow":"teacher",Librarian:"teacher",Researcher:"teacher","Learning Technologist":"teacher","Teaching Assistant":"teacher"};var Xu=(e=>(e.Disabled="Disabled",e.Active="Active",e.Inactive="Inactive",e))(Xu||{}),Os=(e=>(e.Guest="Guest",e.User="User",e.Admin="Admin",e.SuperAdmin="SuperAdmin",e))(Os||{});const Kl={getInitials(e,t){let r="";return e!=null&&e.length&&(r=e[0]),t!=null&&t.length&&(r+=t[0]),r.toUpperCase()},getInitialsFromFullName(e){const t=(e==null?void 0:e.split(" "))??[];if(!t.length)return"";const r=t[0],n=t.length>1?t[1]:"";return Kl.getInitials(r,n)},getFullName(e){return e!=null&&e.name?`${(e==null?void 0:e.name)??""} ${(e==null?void 0:e.surname)??""}`.trim():""},getCommunityName(e){var t;return e!=null&&e.name?`${e.name} ${(t=e.surname)==null?void 0:t.slice(0,1)}`:""},getUserType(e){let t=e.userType;if(typeof t=="number")switch(t){case 0:t=Id.Unknown;break;case 1:t=Id.Staff;break;case 2:t=Id.Learner;break;case 255:t=Id.System;break}return t},getUserStatus(e){let t=e.status;if(typeof t=="number")switch(t){case 0:t=Xu.Disabled;break;case 1:t=Xu.Active;break;case 2:t=Xu.Inactive;break}return t},getUserStatusFromValue(e){if(typeof e=="number")switch(e){case 0:e=Xu.Disabled;break;case 1:e=Xu.Active;break;case 2:e=Xu.Inactive;break}return e},getUserRole(e){var r,n;let t;if("userProfiles"in e&&((n=(r=e.userProfiles)==null?void 0:r.data)!=null&&n[0])&&(t=e.userProfiles.data[0].role),"userProfile"in e&&e.userProfile&&(t=e.userProfile.role),!t)return Os.User;if(typeof t=="number")switch(t){case 16:t=Os.Guest;break;case 32:t=Os.User;break;case 48:t=Os.Admin;break;case 64:t=Os.SuperAdmin;break}return t},getUserRoleFromValue(e){if(!e&&e!==0)return Os.User;if(typeof e=="number")switch(e){case 16:return Os.Guest;case 32:return Os.User;case 48:return Os.Admin;case 64:return Os.SuperAdmin;default:return Os.User}return e},getDisplayName(e){var t,r;return(t=e.metadata)!=null&&t.displayName?(r=e.metadata)==null?void 0:r.displayName:Kl.getFullName(e)},getYearGroup(e){var t,r,n;return(t=e.masterYearGroup)!=null&&t.id?e.masterYearGroup:(n=(r=e.yearGroups)==null?void 0:r.data)!=null&&n.length?Qa.first(e.yearGroups.data):null},hasLegacySso(e){var t;return(t=e==null?void 0:e.authenticationMethods)!=null&&t.length?e.authenticationMethods.some(r=>!r.local&&r.isLegacy):!1},hasNonLegacySso(e){var t;return(t=e==null?void 0:e.authenticationMethods)!=null&&t.length?e.authenticationMethods.some(r=>!r.local&&!r.isLegacy):!1},hasSso(e){return Kl.hasLegacySso(e)||Kl.hasNonLegacySso(e)},getPersonaFromJobTitle(e){if(!e)return"teacher";const t={};for(const n in MC)MC.hasOwnProperty(n)&&(t[n.toLowerCase()]=MC[n]);const r=t[e.toLowerCase()];return r||"teacher"},isKDM(e){return e?Kl.getPersonaFromJobTitle(e)==="kdm":!1},getValidYearGroups(e){return e?e.filter(t=>t.value!==0):[]}},txe="staff";async function rxe(e){try{return await Xa(e.store,Wi.accessPolicy())}catch{return null}}const yae={async getUser(e){const t=await Xa(e.store,Wi.currentUser());if(!t.isAuthenticated)return null;const r=Xa(e.store,mae.customer(t.customerId)),n=Xa(e.store,Wi.user(t.id)),i=rxe(e);return yae.mapCurrentUserToAnalyticsUser(t,await n,await r,await i)},mapCurrentUserToAnalyticsUser(e,t,r,n){var a;const i=Kl.getUserType(t);return{id:e==null?void 0:e.id,countryCode:e==null?void 0:e.countryCode,contentRegion:e==null?void 0:e.contentRegion,instanceRegion:e==null?void 0:e.instanceRegion,customerId:e==null?void 0:e.customerId,customerGuid:r==null?void 0:r.customerGuid,customerName:e==null?void 0:e.customerName,crmId:r==null?void 0:r.crmId,role:e==null?void 0:e.role,sessionId:e==null?void 0:e.sessionId,userGroup:i,yearGroup:i===Id.Staff?txe:(a=t==null?void 0:t.masterYearGroup)==null?void 0:a.name,accessPolicy:n==null?void 0:n.id}}},nxe={logError(e,...t){var r;gi.isFunction(trackJs==null?void 0:trackJs.track)&&(t&&gi.isFunction((r=trackJs.console)==null?void 0:r.info)&&trackJs.console.info(...t),trackJs.track(e))}};async function ixe(e,t){const r=await Xa(e.store,of.config()),n=await Xa(e.store,of.version()),i=await Xa(e.store,wu.customerSettings()),a=new oTe;Qs.registerSingleton(a),a.registerTransport(BRe),a.registerClient(HTe),a.registerClient(BTe,{productName:"analytics.web",productVersion:n,productVariant:axe(i),regionName:r.instanceRegion,collectionApiUrls:r.collectionApiUrls,collectionApiClientId:r.collectionApiClientId,getUser:()=>yae.getUser(e),shouldLog:sX.shouldLog,formatData:sX.formatData,logError:nxe.logError}),a.registerEnricher(qRe,{productName:"ClickView Analytics",productVersion:n}),t(e)}function axe(e){var t;return(t=e[br.HasShareFlowV2])!=null&&t.value?"admins-only":"admins-and-teachers"}var _ae=(e=>(e.AU="cv-ap-southeast-1",e.NZ="cv-ap-southeast-2",e.UK="cv-eu-west-1",e.US="cv-na-west-1",e))(_ae||{});const oxe={[_ae.US]:"en-us"};var Na=(e=>(e.ManageSubjectPreferences="subjects.preferences.manage",e.FollowSubjects="subjects.follow",e.ViewClassrooms="classrooms.view",e.ManageAllClassrooms="classrooms.manage.all",e.JoinClassroom="classroom.join",e.ShareToUsers="share.direct.users",e.ShareToClassrooms="share.direct.classrooms",e.ShareToClassroomGroups="share.direct.classroomgroups",e.CreateClassrooms="classrooms.create",e.DeleteClassrooms="classrooms.delete",e.StudentExperience="studentexperience",e.ManageUsers="users.manage",e.ManageIntegrations="integrations.manage",e.EditProfileDetails="profile.edit",e.ManageCustomerSettings="customersettings.manage",e.ManageLocalCache="localcache.manage",e.ManageVideoAccess="video.access.manage",e.ViewCustomerAnalytics="analytics.customeranalytics.view",e.ViewAnalyticsProduct="analytics.view",e.ManageShareLinkSettings="sharelink.settings.edit",e.ViewProductBoard="productboard.view",e.CanSubmitFeedback="feedback.submit",e.ViewTrialDuration="trial.duration.view",e.ViewTrialBanner="trial.banner.view",e.ViewTrialUpgrade="trial.upgrade.view",e.ViewInviteColleague="invitecolleague.view",e.UploadVideo="video.upload",e.FavouriteVideo="video.favourite",e.ViewVideoPointsOfInterest="video.pointsofinterest.view",e.ViewVideoGlance="video.glance.view",e.ViewVideoInteractives="video.interactives.view",e.ViewVideoClips="video.clips.view",e.ViewCurriculums="curriculums.view",e.ViewLibraries="libraries.view",e.ContributeVideo="video.contribute",e.ViewOnboarding="onboarding.view",e.Exchange="exchangetv.manage",e.Rostering="rostering.manage",e.ViewMoviesTv="moviestv.view",e.ViewDiscover="discover.view",e.ViewSearch="search.view",e.ViewMyShares="myshares.view",e.ViewInsights="insights.view",e.ViewRestrictedMode="restrictedmode.view",e.GuestExperience="guestexperience",e))(Na||{}),$C,lX;function sxe(){if(lX)return $C;lX=1;var e=Function.prototype.toString,t=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,r,n;if(typeof t=="function"&&typeof Object.defineProperty=="function")try{r=Object.defineProperty({},"length",{get:function(){throw n}}),n={},t(function(){throw 42},null,r)}catch(b){b!==n&&(t=null)}else t=null;var i=/^\s*class\b/,a=function(A){try{var R=e.call(A);return i.test(R)}catch{return!1}},o=function(A){try{return a(A)?!1:(e.call(A),!0)}catch{return!1}},u=Object.prototype.toString,s="[object Object]",c="[object Function]",d="[object GeneratorFunction]",h="[object HTMLAllCollection]",v="[object HTML document.all class]",g="[object HTMLCollection]",m=typeof Symbol=="function"&&!!Symbol.toStringTag,y=!(0 in[,]),S=function(){return!1};if(typeof document=="object"){var w=document.all;u.call(w)===u.call(document.all)&&(S=function(A){if((y||!A)&&(typeof A>"u"||typeof A=="object"))try{var R=u.call(A);return(R===h||R===v||R===g||R===s)&&A("")==null}catch{}return!1})}return $C=t?function(A){if(S(A))return!0;if(!A||typeof A!="function"&&typeof A!="object")return!1;try{t(A,null,r)}catch(R){if(R!==n)return!1}return!a(A)&&o(A)}:function(A){if(S(A))return!0;if(!A||typeof A!="function"&&typeof A!="object")return!1;if(m)return o(A);if(a(A))return!1;var R=u.call(A);return R!==c&&R!==d&&!/^\[object HTML/.test(R)?!1:o(A)},$C}var FC,cX;function uxe(){if(cX)return FC;cX=1;var e=sxe(),t=Object.prototype.toString,r=Object.prototype.hasOwnProperty,n=function(s,c,d){for(var h=0,v=s.length;h<v;h++)r.call(s,h)&&(d==null?c(s[h],h,s):c.call(d,s[h],h,s))},i=function(s,c,d){for(var h=0,v=s.length;h<v;h++)d==null?c(s.charAt(h),h,s):c.call(d,s.charAt(h),h,s)},a=function(s,c,d){for(var h in s)r.call(s,h)&&(d==null?c(s[h],h,s):c.call(d,s[h],h,s))};function o(u){return t.call(u)==="[object Array]"}return FC=function(s,c,d){if(!e(c))throw new TypeError("iterator must be a function");var h;arguments.length>=3&&(h=d),o(s)?n(s,c,h):typeof s=="string"?i(s,c,h):a(s,c,h)},FC}var jC,fX;function Sae(){if(fX)return jC;fX=1;var e=function(){};return jC=e,jC}var UC,dX;function lxe(){if(dX)return UC;dX=1;var e={}.hasOwnProperty,t=Function.prototype.call;return UC=t.bind?t.bind(e):function(r,n){return t.call(e,r,n)},UC}var qC={exports:{}},VC,hX;function Eae(){return hX||(hX=1,VC=Object),VC}var BC,vX;function cxe(){return vX||(vX=1,BC=Error),BC}var HC,pX;function fxe(){return pX||(pX=1,HC=EvalError),HC}var zC,gX;function dxe(){return gX||(gX=1,zC=RangeError),zC}var WC,mX;function hxe(){return mX||(mX=1,WC=ReferenceError),WC}var GC,yX;function wae(){return yX||(yX=1,GC=SyntaxError),GC}var YC,_X;function xh(){return _X||(_X=1,YC=TypeError),YC}var KC,SX;function vxe(){return SX||(SX=1,KC=URIError),KC}var XC,EX;function pxe(){return EX||(EX=1,XC=Math.abs),XC}var QC,wX;function gxe(){return wX||(wX=1,QC=Math.floor),QC}var JC,bX;function mxe(){return bX||(bX=1,JC=Math.max),JC}var ZC,TX;function yxe(){return TX||(TX=1,ZC=Math.min),ZC}var eA,RX;function _xe(){return RX||(RX=1,eA=Math.pow),eA}var tA,xX;function Sxe(){return xX||(xX=1,tA=Math.round),tA}var rA,CX;function Exe(){return CX||(CX=1,rA=Number.isNaN||function(t){return t!==t}),rA}var nA,AX;function wxe(){if(AX)return nA;AX=1;var e=Exe();return nA=function(r){return e(r)||r===0?r:r<0?-1:1},nA}var iA,OX;function bxe(){return OX||(OX=1,iA=Object.getOwnPropertyDescriptor),iA}var aA,IX;function e0(){if(IX)return aA;IX=1;var e=bxe();if(e)try{e([],"length")}catch{e=null}return aA=e,aA}var oA,PX;function t0(){if(PX)return oA;PX=1;var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return oA=e,oA}var sA,DX;function Txe(){return DX||(DX=1,sA=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;t[r]=i;for(var a in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var o=Object.getOwnPropertySymbols(t);if(o.length!==1||o[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(t,r);if(u.value!==i||u.enumerable!==!0)return!1}return!0}),sA}var uA,kX;function Rxe(){if(kX)return uA;kX=1;var e=typeof Symbol<"u"&&Symbol,t=Txe();return uA=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},uA}var lA,NX;function bae(){return NX||(NX=1,lA=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),lA}var cA,LX;function Tae(){if(LX)return cA;LX=1;var e=Eae();return cA=e.getPrototypeOf||null,cA}var fA,MX;function xxe(){if(MX)return fA;MX=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,r=Math.max,n="[object Function]",i=function(s,c){for(var d=[],h=0;h<s.length;h+=1)d[h]=s[h];for(var v=0;v<c.length;v+=1)d[v+s.length]=c[v];return d},a=function(s,c){for(var d=[],h=c,v=0;h<s.length;h+=1,v+=1)d[v]=s[h];return d},o=function(u,s){for(var c="",d=0;d<u.length;d+=1)c+=u[d],d+1<u.length&&(c+=s);return c};return fA=function(s){var c=this;if(typeof c!="function"||t.apply(c)!==n)throw new TypeError(e+c);for(var d=a(arguments,1),h,v=function(){if(this instanceof h){var w=c.apply(this,i(d,arguments));return Object(w)===w?w:this}return c.apply(s,i(d,arguments))},g=r(0,c.length-d.length),m=[],y=0;y<g;y++)m[y]="$"+y;if(h=Function("binder","return function ("+o(m,",")+"){ return binder.apply(this,arguments); }")(v),c.prototype){var S=function(){};S.prototype=c.prototype,h.prototype=new S,S.prototype=null}return h},fA}var dA,$X;function Up(){if($X)return dA;$X=1;var e=xxe();return dA=Function.prototype.bind||e,dA}var hA,FX;function fk(){return FX||(FX=1,hA=Function.prototype.call),hA}var vA,jX;function dk(){return jX||(jX=1,vA=Function.prototype.apply),vA}var pA,UX;function Cxe(){return UX||(UX=1,pA=typeof Reflect<"u"&&Reflect&&Reflect.apply),pA}var gA,qX;function Rae(){if(qX)return gA;qX=1;var e=Up(),t=dk(),r=fk(),n=Cxe();return gA=n||e.call(r,t),gA}var mA,VX;function hk(){if(VX)return mA;VX=1;var e=Up(),t=xh(),r=fk(),n=Rae();return mA=function(a){if(a.length<1||typeof a[0]!="function")throw new t("a function is required");return n(e,r,a)},mA}var yA,BX;function Axe(){if(BX)return yA;BX=1;var e=hk(),t=e0(),r;try{r=[].__proto__===Array.prototype}catch(o){if(!o||typeof o!="object"||!("code"in o)||o.code!=="ERR_PROTO_ACCESS")throw o}var n=!!r&&t&&t(Object.prototype,"__proto__"),i=Object,a=i.getPrototypeOf;return yA=n&&typeof n.get=="function"?e([n.get]):typeof a=="function"?function(u){return a(u==null?u:i(u))}:!1,yA}var _A,HX;function Oxe(){if(HX)return _A;HX=1;var e=bae(),t=Tae(),r=Axe();return _A=e?function(i){return e(i)}:t?function(i){if(!i||typeof i!="object"&&typeof i!="function")throw new TypeError("getProto: not an object");return t(i)}:r?function(i){return r(i)}:null,_A}var SA,zX;function Ixe(){if(zX)return SA;zX=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=Up();return SA=r.call(e,t),SA}var EA,WX;function vk(){if(WX)return EA;WX=1;var e,t=Eae(),r=cxe(),n=fxe(),i=dxe(),a=hxe(),o=wae(),u=xh(),s=vxe(),c=pxe(),d=gxe(),h=mxe(),v=yxe(),g=_xe(),m=Sxe(),y=wxe(),S=Function,w=function(q){try{return S('"use strict"; return ('+q+").constructor;")()}catch{}},b=e0(),A=t0(),R=function(){throw new u},x=b?(function(){try{return arguments.callee,R}catch{try{return b(arguments,"callee").get}catch{return R}}})():R,O=Rxe()(),_=Oxe(),P=Tae(),N=bae(),U=dk(),$=fk(),B={},Y=typeof Uint8Array>"u"||!_?e:_(Uint8Array),Q={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":O&&_?_([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":B,"%AsyncGenerator%":B,"%AsyncGeneratorFunction%":B,"%AsyncIteratorPrototype%":B,"%Atomics%":typeof Atomics>"u"?e:Atomics,"%BigInt%":typeof BigInt>"u"?e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":r,"%eval%":eval,"%EvalError%":n,"%Float16Array%":typeof Float16Array>"u"?e:Float16Array,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":S,"%GeneratorFunction%":B,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":O&&_?_(_([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!O||!_?e:_(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":t,"%Object.getOwnPropertyDescriptor%":b,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":i,"%ReferenceError%":a,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!O||!_?e:_(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":O&&_?_(""[Symbol.iterator]()):e,"%Symbol%":O?Symbol:e,"%SyntaxError%":o,"%ThrowTypeError%":x,"%TypedArray%":Y,"%TypeError%":u,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":s,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet,"%Function.prototype.call%":$,"%Function.prototype.apply%":U,"%Object.defineProperty%":A,"%Object.getPrototypeOf%":P,"%Math.abs%":c,"%Math.floor%":d,"%Math.max%":h,"%Math.min%":v,"%Math.pow%":g,"%Math.round%":m,"%Math.sign%":y,"%Reflect.getPrototypeOf%":N};if(_)try{null.error}catch(q){var K=_(_(q));Q["%Error.prototype%"]=K}var ee=function q(H){var ie;if(H==="%AsyncFunction%")ie=w("async function () {}");else if(H==="%GeneratorFunction%")ie=w("function* () {}");else if(H==="%AsyncGeneratorFunction%")ie=w("async function* () {}");else if(H==="%AsyncGenerator%"){var V=q("%AsyncGeneratorFunction%");V&&(ie=V.prototype)}else if(H==="%AsyncIteratorPrototype%"){var Z=q("%AsyncGenerator%");Z&&_&&(ie=_(Z.prototype))}return Q[H]=ie,ie},ne={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},D=Up(),I=Ixe(),L=D.call($,Array.prototype.concat),re=D.call(U,Array.prototype.splice),te=D.call($,String.prototype.replace),ce=D.call($,String.prototype.slice),be=D.call($,RegExp.prototype.exec),Ie=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,je=/\\(\\)?/g,z=function(H){var ie=ce(H,0,1),V=ce(H,-1);if(ie==="%"&&V!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(V==="%"&&ie!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var Z=[];return te(H,Ie,function(me,fe,Re,Se){Z[Z.length]=Re?te(Se,je,"$1"):fe||me}),Z},k=function(H,ie){var V=H,Z;if(I(ne,V)&&(Z=ne[V],V="%"+Z[0]+"%"),I(Q,V)){var me=Q[V];if(me===B&&(me=ee(V)),typeof me>"u"&&!ie)throw new u("intrinsic "+H+" exists, but is not available. Please file an issue!");return{alias:Z,name:V,value:me}}throw new o("intrinsic "+H+" does not exist!")};return EA=function(H,ie){if(typeof H!="string"||H.length===0)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof ie!="boolean")throw new u('"allowMissing" argument must be a boolean');if(be(/^%?[^%]*%?$/,H)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var V=z(H),Z=V.length>0?V[0]:"",me=k("%"+Z+"%",ie),fe=me.name,Re=me.value,Se=!1,Oe=me.alias;Oe&&(Z=Oe[0],re(V,L([0,1],Oe)));for(var Me=1,de=!0;Me<V.length;Me+=1){var Ee=V[Me],_e=ce(Ee,0,1),xe=ce(Ee,-1);if((_e==='"'||_e==="'"||_e==="`"||xe==='"'||xe==="'"||xe==="`")&&_e!==xe)throw new o("property names with quotes must have matching quotes");if((Ee==="constructor"||!de)&&(Se=!0),Z+="."+Ee,fe="%"+Z+"%",I(Q,fe))Re=Q[fe];else if(Re!=null){if(!(Ee in Re)){if(!ie)throw new u("base intrinsic for "+H+" exists, but the property is not available.");return}if(b&&Me+1>=V.length){var ke=b(Re,Ee);de=!!ke,de&&"get"in ke&&!("originalValue"in ke.get)?Re=ke.get:Re=Re[Ee]}else de=I(Re,Ee),Re=Re[Ee];de&&!Se&&(Q[fe]=Re)}}return Re},EA}var wA,GX;function pk(){if(GX)return wA;GX=1;var e=t0(),t=wae(),r=xh(),n=e0();return wA=function(a,o,u){if(!a||typeof a!="object"&&typeof a!="function")throw new r("`obj` must be an object or a function`");if(typeof o!="string"&&typeof o!="symbol")throw new r("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new r("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new r("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new r("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new r("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,d=arguments.length>5?arguments[5]:null,h=arguments.length>6?arguments[6]:!1,v=!!n&&n(a,o);if(e)e(a,o,{configurable:d===null&&v?v.configurable:!d,enumerable:s===null&&v?v.enumerable:!s,value:u,writable:c===null&&v?v.writable:!c});else if(h||!s&&!c&&!d)a[o]=u;else throw new t("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},wA}var bA,YX;function gk(){if(YX)return bA;YX=1;var e=t0(),t=function(){return!!e};return t.hasArrayLengthDefineBug=function(){if(!e)return null;try{return e([],"length",{value:1}).length!==1}catch{return!0}},bA=t,bA}var TA,KX;function Pxe(){if(KX)return TA;KX=1;var e=vk(),t=pk(),r=gk()(),n=e0(),i=xh(),a=e("%Math.floor%");return TA=function(u,s){if(typeof u!="function")throw new i("`fn` is not a function");if(typeof s!="number"||s<0||s>4294967295||a(s)!==s)throw new i("`length` must be a positive 32-bit integer");var c=arguments.length>2&&!!arguments[2],d=!0,h=!0;if("length"in u&&n){var v=n(u,"length");v&&!v.configurable&&(d=!1),v&&!v.writable&&(h=!1)}return(d||h||!c)&&(r?t(u,"length",s,!0,!0):t(u,"length",s)),u},TA}var RA,XX;function Dxe(){if(XX)return RA;XX=1;var e=Up(),t=dk(),r=Rae();return RA=function(){return r(e,t,arguments)},RA}var QX;function kxe(){return QX||(QX=1,(function(e){var t=Pxe(),r=t0(),n=hk(),i=Dxe();e.exports=function(o){var u=n(arguments),s=o.length-(arguments.length-1);return t(u,1+(s>0?s:0),!0)},r?r(e.exports,"apply",{value:i}):e.exports.apply=i})(qC)),qC.exports}var xA,JX;function xae(){if(JX)return xA;JX=1;var e=Object.prototype.toString;return xA=function(r){var n=e.call(r),i=n==="[object Arguments]";return i||(i=n!=="[object Array]"&&r!==null&&typeof r=="object"&&typeof r.length=="number"&&r.length>=0&&e.call(r.callee)==="[object Function]"),i},xA}var CA,ZX;function Nxe(){if(ZX)return CA;ZX=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=xae(),i=Object.prototype.propertyIsEnumerable,a=!i.call({toString:null},"toString"),o=i.call(function(){},"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],s=function(v){var g=v.constructor;return g&&g.prototype===v},c={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},d=(function(){if(typeof window>"u")return!1;for(var v in window)try{if(!c["$"+v]&&t.call(window,v)&&window[v]!==null&&typeof window[v]=="object")try{s(window[v])}catch{return!0}}catch{return!0}return!1})(),h=function(v){if(typeof window>"u"||!d)return s(v);try{return s(v)}catch{return!1}};e=function(g){var m=g!==null&&typeof g=="object",y=r.call(g)==="[object Function]",S=n(g),w=m&&r.call(g)==="[object String]",b=[];if(!m&&!y&&!S)throw new TypeError("Object.keys called on a non-object");var A=o&&y;if(w&&g.length>0&&!t.call(g,0))for(var R=0;R<g.length;++R)b.push(String(R));if(S&&g.length>0)for(var x=0;x<g.length;++x)b.push(String(x));else for(var O in g)!(A&&O==="prototype")&&t.call(g,O)&&b.push(String(O));if(a)for(var _=h(g),P=0;P<u.length;++P)!(_&&u[P]==="constructor")&&t.call(g,u[P])&&b.push(u[P]);return b}}return CA=e,CA}var AA,eQ;function Lxe(){if(eQ)return AA;eQ=1;var e=Array.prototype.slice,t=xae(),r=Object.keys,n=r?function(o){return r(o)}:Nxe(),i=Object.keys;return n.shim=function(){if(Object.keys){var o=(function(){var u=Object.keys(arguments);return u&&u.length===arguments.length})(1,2);o||(Object.keys=function(s){return t(s)?i(e.call(s)):i(s)})}else Object.keys=n;return Object.keys||n},AA=n,AA}var OA,tQ;function Mxe(){if(tQ)return OA;tQ=1;var e=Lxe(),t=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",r=Object.prototype.toString,n=Array.prototype.concat,i=pk(),a=function(c){return typeof c=="function"&&r.call(c)==="[object Function]"},o=gk()(),u=function(c,d,h,v){if(d in c){if(v===!0){if(c[d]===h)return}else if(!a(v)||!v())return}o?i(c,d,h,!0):i(c,d,h)},s=function(c,d){var h=arguments.length>2?arguments[2]:{},v=e(d);t&&(v=n.call(v,Object.getOwnPropertySymbols(d)));for(var g=0;g<v.length;g+=1)u(c,v[g],d[v[g]],h[v[g]])};return s.supportsDescriptors=!!o,OA=s,OA}var IA,rQ;function Cae(){if(rQ)return IA;rQ=1;var e=xh();return IA=function(r){if(r==null)throw new e(arguments.length>0&&arguments[1]||"Cannot call method on "+r);return r},IA}var PA,nQ;function $xe(){if(nQ)return PA;nQ=1;var e=vk(),t=e("%String%"),r=xh();return PA=function(i){if(typeof i=="symbol")throw new r("Cannot convert a Symbol value to a string");return t(i)},PA}var DA,iQ;function Fxe(){if(iQ)return DA;iQ=1;var e=vk(),t=hk(),r=t([e("%String.prototype.indexOf%")]);return DA=function(i,a){var o=e(i,!!a);return typeof o=="function"&&r(i,".prototype.")>-1?t([o]):o},DA}var kA,aQ;function Aae(){if(aQ)return kA;aQ=1;var e=Cae(),t=$xe(),r=Fxe(),n=r("String.prototype.replace"),i=/^\s$/.test("᠎"),a=i?/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/:/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/,o=i?/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/:/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/;return kA=function(){var s=t(e(this));return n(n(s,a,""),o,"")},kA}var NA,oQ;function Oae(){if(oQ)return NA;oQ=1;var e=Aae(),t="​",r="᠎";return NA=function(){return String.prototype.trim&&t.trim()===t&&r.trim()===r&&("_"+r).trim()==="_"+r&&(r+"_").trim()===r+"_"?String.prototype.trim:e},NA}var LA,sQ;function jxe(){if(sQ)return LA;sQ=1;var e=gk()(),t=pk(),r=Oae();return LA=function(){var i=r();return String.prototype.trim!==i&&(e?t(String.prototype,"trim",i,!0):t(String.prototype,"trim",i)),i},LA}var MA,uQ;function Uxe(){if(uQ)return MA;uQ=1;var e=kxe(),t=Mxe(),r=Cae(),n=Aae(),i=Oae(),a=jxe(),o=e(i()),u=function(c){return r(c),o(c)};return t(u,{getPolyfill:i,implementation:n,shim:a}),MA=u,MA}var $A,lQ;function qxe(){if(lQ)return $A;lQ=1;var e=uxe(),t=Sae(),r=lxe(),n=Uxe(),i=function(O){t(!1,O)},a=String.prototype.replace,o=String.prototype.split,u="||||",s=function(x){var O=x%10;return x!==11&&O===1?0:2<=O&&O<=4&&!(x>=12&&x<=14)?1:2},c={arabic:function(x){if(x<3)return x;var O=x%100;return O>=3&&O<=10?3:O>=11?4:5},bosnian_serbian:s,chinese:function(){return 0},croatian:s,french:function(x){return x>1?1:0},german:function(x){return x!==1?1:0},russian:s,lithuanian:function(x){return x%10===1&&x%100!==11?0:x%10>=2&&x%10<=9&&(x%100<11||x%100>19)?1:2},czech:function(x){return x===1?0:x>=2&&x<=4?1:2},polish:function(x){if(x===1)return 0;var O=x%10;return 2<=O&&O<=4&&(x%100<10||x%100>=20)?1:2},icelandic:function(x){return x%10!==1||x%100===11?1:0},slovenian:function(x){var O=x%100;return O===1?0:O===2?1:O===3||O===4?2:3}},d={arabic:["ar"],bosnian_serbian:["bs-Latn-BA","bs-Cyrl-BA","srl-RS","sr-RS"],chinese:["id","id-ID","ja","ko","ko-KR","lo","ms","th","th-TH","zh"],croatian:["hr","hr-HR"],german:["fa","da","de","en","es","fi","el","he","hi-IN","hu","hu-HU","it","nl","no","pt","sv","tr"],french:["fr","tl","pt-br"],russian:["ru","ru-RU"],lithuanian:["lt"],czech:["cs","cs-CZ","sk"],polish:["pl"],icelandic:["is"],slovenian:["sl-SL"]};function h(x){var O={};return e(x,function(_,P){e(_,function(N){O[N]=P})}),O}function v(x){var O=h(d);return O[x]||O[o.call(x,/-/,1)[0]]||O.en}function g(x,O){return c[v(x)](O)}function m(x){return x.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function y(x){var O=x&&x.prefix||"%{",_=x&&x.suffix||"}";if(O===u||_===u)throw new RangeError('"'+u+'" token is reserved for pluralization');return new RegExp(m(O)+"(.*?)"+m(_),"g")}var S=/\$/g,w="$$",b=/%\{(.*?)\}/g;function A(x,O,_,P){if(typeof x!="string")throw new TypeError("Polyglot.transformPhrase expects argument #1 to be string");if(O==null)return x;var N=x,U=P||b,$=typeof O=="number"?{smart_count:O}:O;if($.smart_count!=null&&N){var B=o.call(N,u);N=n(B[g(_||"en",$.smart_count)]||B[0])}return N=a.call(N,U,function(Y,Q){return!r($,Q)||$[Q]==null?Y:a.call($[Q],S,w)}),N}function R(x){var O=x||{};this.phrases={},this.extend(O.phrases||{}),this.currentLocale=O.locale||"en";var _=O.allowMissing?A:null;this.onMissingKey=typeof O.onMissingKey=="function"?O.onMissingKey:_,this.warn=O.warn||i,this.tokenRegex=y(O.interpolation)}return R.prototype.locale=function(x){return x&&(this.currentLocale=x),this.currentLocale},R.prototype.extend=function(x,O){e(x,function(_,P){var N=O?O+"."+P:P;typeof _=="object"?this.extend(_,N):this.phrases[N]=_},this)},R.prototype.unset=function(x,O){typeof x=="string"?delete this.phrases[x]:e(x,function(_,P){var N=O?O+"."+P:P;typeof _=="object"?this.unset(_,N):delete this.phrases[N]},this)},R.prototype.clear=function(){this.phrases={}},R.prototype.replace=function(x){this.clear(),this.extend(x)},R.prototype.t=function(x,O){var _,P,N=O??{};if(typeof this.phrases[x]=="string")_=this.phrases[x];else if(typeof N._=="string")_=N._;else if(this.onMissingKey){var U=this.onMissingKey;P=U(x,N,this.currentLocale,this.tokenRegex)}else this.warn('Missing translation for key: "'+x+'"'),P=x;return typeof _=="string"&&(P=A(_,N,this.currentLocale,this.tokenRegex)),P},R.prototype.has=function(x){return r(this.phrases,x)},R.transformPhrase=function(O,_,P){return A(O,_,P)},$A=R,$A}var Vxe=qxe();const Bxe=jn(Vxe),qp={ALERT:"AlertService",LANGUAGE:"LanguageService"};var Vp=Object.freeze||function(e){return e},cQ=Vp(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),fQ=Vp(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","audio","canvas","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","video","view","vkern"]),dQ=Vp(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),hQ=Vp(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),vQ=Vp(["#text"]),r0=Object.freeze||function(e){return e},pQ=r0(["accept","action","align","alt","autocomplete","background","bgcolor","border","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","coords","crossorigin","datetime","default","dir","disabled","download","enctype","face","for","headers","height","hidden","high","href","hreflang","id","integrity","ismap","label","lang","list","loop","low","max","maxlength","media","method","min","minlength","multiple","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","type","usemap","valign","value","width","xmlns"]),FA=r0(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),gQ=r0(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),im=r0(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Hxe=Object.hasOwnProperty,mQ=Object.setPrototypeOf,zxe=typeof Reflect<"u"&&Reflect,qI=zxe.apply;qI||(qI=function(t,r,n){return t.apply(r,n)});function ni(e,t){mQ&&mQ(e,null);for(var r=t.length;r--;){var n=t[r];if(typeof n=="string"){var i=n.toLowerCase();i!==n&&(Object.isFrozen(t)||(t[r]=i),n=i)}e[n]=!0}return e}function jA(e){var t={},r=void 0;for(r in e)qI(Hxe,e,[r])&&(t[r]=e[r]);return t}var Lf=Object.seal||function(e){return e},Wxe=Lf(/\{\{[\s\S]*|[\s\S]*\}\}/gm),Gxe=Lf(/<%[\s\S]*|[\s\S]*%>/gm),Yxe=Lf(/^data-[\-\w.\u00B7-\uFFFF]/),Kxe=Lf(/^aria-[\-\w]+$/),Xxe=Lf(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Qxe=Lf(/^(?:\w+script|data):/i),Jxe=Lf(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g),Rv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function gu(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}else return Array.from(e)}var Zxe=typeof Reflect<"u"&&Reflect,VI=Zxe.apply,eCe=Array.prototype.slice,yQ=Object.freeze,tCe=function(){return typeof window>"u"?null:window};VI||(VI=function(t,r,n){return t.apply(r,n)});var rCe=function(t,r){if((typeof t>"u"?"undefined":Rv(t))!=="object"||typeof t.createPolicy!="function")return null;var n=null,i="data-tt-policy-suffix";r.currentScript&&r.currentScript.hasAttribute(i)&&(n=r.currentScript.getAttribute(i));var a="dompurify"+(n?"#"+n:"");try{return t.createPolicy(a,{createHTML:function(u){return u}})}catch{return console.warn("TrustedTypes policy "+a+" could not be created."),null}};function Iae(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:tCe(),t=function(Ce){return Iae(Ce)};if(t.version="2.0.7",t.removed=[],!e||!e.document||e.document.nodeType!==9)return t.isSupported=!1,t;var r=e.document,n=!1,i=!1,a=e.document,o=e.DocumentFragment,u=e.HTMLTemplateElement,s=e.Node,c=e.NodeFilter,d=e.NamedNodeMap,h=d===void 0?e.NamedNodeMap||e.MozNamedAttrMap:d,v=e.Text,g=e.Comment,m=e.DOMParser,y=e.TrustedTypes;if(typeof u=="function"){var S=a.createElement("template");S.content&&S.content.ownerDocument&&(a=S.content.ownerDocument)}var w=rCe(y,r),b=w?w.createHTML(""):"",A=a,R=A.implementation,x=A.createNodeIterator,O=A.getElementsByTagName,_=A.createDocumentFragment,P=r.importNode,N={};t.isSupported=R&&typeof R.createHTMLDocument<"u"&&a.documentMode!==9;var U=Wxe,$=Gxe,B=Yxe,Y=Kxe,Q=Qxe,K=Jxe,ee=Xxe,ne=null,D=ni({},[].concat(gu(cQ),gu(fQ),gu(dQ),gu(hQ),gu(vQ))),I=null,L=ni({},[].concat(gu(pQ),gu(FA),gu(gQ),gu(im))),re=null,te=null,ce=!0,be=!0,Ie=!1,je=!1,z=!1,k=!1,q=!1,H=!1,ie=!1,V=!1,Z=!1,me=!1,fe=!0,Re=!0,Se=!1,Oe={},Me=ni({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","plaintext","script","style","svg","template","thead","title","video","xmp"]),de=ni({},["audio","video","img","source","image"]),Ee=null,_e=ni({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),xe=null,ke=a.createElement("form"),Le=function(Ce){xe&&xe===Ce||((!Ce||(typeof Ce>"u"?"undefined":Rv(Ce))!=="object")&&(Ce={}),ne="ALLOWED_TAGS"in Ce?ni({},Ce.ALLOWED_TAGS):D,I="ALLOWED_ATTR"in Ce?ni({},Ce.ALLOWED_ATTR):L,Ee="ADD_URI_SAFE_ATTR"in Ce?ni(jA(_e),Ce.ADD_URI_SAFE_ATTR):_e,re="FORBID_TAGS"in Ce?ni({},Ce.FORBID_TAGS):{},te="FORBID_ATTR"in Ce?ni({},Ce.FORBID_ATTR):{},Oe="USE_PROFILES"in Ce?Ce.USE_PROFILES:!1,ce=Ce.ALLOW_ARIA_ATTR!==!1,be=Ce.ALLOW_DATA_ATTR!==!1,Ie=Ce.ALLOW_UNKNOWN_PROTOCOLS||!1,je=Ce.SAFE_FOR_JQUERY||!1,z=Ce.SAFE_FOR_TEMPLATES||!1,k=Ce.WHOLE_DOCUMENT||!1,ie=Ce.RETURN_DOM||!1,V=Ce.RETURN_DOM_FRAGMENT||!1,Z=Ce.RETURN_DOM_IMPORT||!1,me=Ce.RETURN_TRUSTED_TYPE||!1,H=Ce.FORCE_BODY||!1,fe=Ce.SANITIZE_DOM!==!1,Re=Ce.KEEP_CONTENT!==!1,Se=Ce.IN_PLACE||!1,ee=Ce.ALLOWED_URI_REGEXP||ee,z&&(be=!1),V&&(ie=!0),Oe&&(ne=ni({},[].concat(gu(vQ))),I=[],Oe.html===!0&&(ni(ne,cQ),ni(I,pQ)),Oe.svg===!0&&(ni(ne,fQ),ni(I,FA),ni(I,im)),Oe.svgFilters===!0&&(ni(ne,dQ),ni(I,FA),ni(I,im)),Oe.mathMl===!0&&(ni(ne,hQ),ni(I,gQ),ni(I,im))),Ce.ADD_TAGS&&(ne===D&&(ne=jA(ne)),ni(ne,Ce.ADD_TAGS)),Ce.ADD_ATTR&&(I===L&&(I=jA(I)),ni(I,Ce.ADD_ATTR)),Ce.ADD_URI_SAFE_ATTR&&ni(Ee,Ce.ADD_URI_SAFE_ATTR),Re&&(ne["#text"]=!0),k&&ni(ne,["html","head","body"]),ne.table&&(ni(ne,["tbody"]),delete re.tbody),yQ&&yQ(Ce),xe=Ce)},He=function(Ce){t.removed.push({element:Ce});try{Ce.parentNode.removeChild(Ce)}catch{Ce.outerHTML=b}},_t=function(Ce,Ze){try{t.removed.push({attribute:Ze.getAttributeNode(Ce),from:Ze})}catch{t.removed.push({attribute:null,from:Ze})}Ze.removeAttribute(Ce)},jt=function(Ce){var Ze=void 0,ut=void 0;if(H)Ce="<remove></remove>"+Ce;else{var Tt=Ce.match(/^[\s]+/);ut=Tt&&Tt[0],ut&&(Ce=Ce.slice(ut.length))}if(n)try{Ze=new m().parseFromString(Ce,"text/html")}catch{}if(i&&ni(re,["title"]),!Ze||!Ze.documentElement){Ze=R.createHTMLDocument("");var Pt=Ze,rr=Pt.body;rr.parentNode.removeChild(rr.parentNode.firstElementChild),rr.outerHTML=w?w.createHTML(Ce):Ce}return Ce&&ut&&Ze.body.insertBefore(a.createTextNode(ut),Ze.body.childNodes[0]||null),O.call(Ze,k?"html":"body")[0]};t.isSupported&&((function(){try{var xt=jt('<svg><p><textarea><img src="</textarea><img src=x abc=1//">');xt.querySelector("svg img")&&(n=!0)}catch{}})(),(function(){try{var xt=jt("<x/><title>&lt;/title&gt;&lt;img&gt;");/<\/title/.test(xt.querySelector("title").innerHTML)&&(i=!0)}catch{}})());var Lt=function(Ce){return x.call(Ce.ownerDocument||Ce,Ce,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT,function(){return c.FILTER_ACCEPT},!1)},Qe=function(Ce){return Ce instanceof v||Ce instanceof g?!1:typeof Ce.nodeName!="string"||typeof Ce.textContent!="string"||typeof Ce.removeChild!="function"||!(Ce.attributes instanceof h)||typeof Ce.removeAttribute!="function"||typeof Ce.setAttribute!="function"||typeof Ce.namespaceURI!="string"},bt=function(Ce){return(typeof s>"u"?"undefined":Rv(s))==="object"?Ce instanceof s:Ce&&(typeof Ce>"u"?"undefined":Rv(Ce))==="object"&&typeof Ce.nodeType=="number"&&typeof Ce.nodeName=="string"},mt=function(Ce,Ze,ut){N[Ce]&&N[Ce].forEach(function(Tt){Tt.call(t,Ze,ut,xe)})},St=function(Ce){var Ze=void 0;if(mt("beforeSanitizeElements",Ce,null),Qe(Ce))return He(Ce),!0;var ut=Ce.nodeName.toLowerCase();if(mt("uponSanitizeElement",Ce,{tagName:ut,allowedTags:ne}),(ut==="svg"||ut==="math")&&Ce.querySelectorAll("p, br").length!==0)return He(Ce),!0;if(!ne[ut]||re[ut]){if(Re&&!Me[ut]&&typeof Ce.insertAdjacentHTML=="function")try{var Tt=Ce.innerHTML;Ce.insertAdjacentHTML("AfterEnd",w?w.createHTML(Tt):Tt)}catch{}return He(Ce),!0}return ut==="noscript"&&/<\/noscript/i.test(Ce.innerHTML)||ut==="noembed"&&/<\/noembed/i.test(Ce.innerHTML)?(He(Ce),!0):(je&&!Ce.firstElementChild&&(!Ce.content||!Ce.content.firstElementChild)&&/</g.test(Ce.textContent)&&(t.removed.push({element:Ce.cloneNode()}),Ce.innerHTML?Ce.innerHTML=Ce.innerHTML.replace(/</g,"&lt;"):Ce.innerHTML=Ce.textContent.replace(/</g,"&lt;")),z&&Ce.nodeType===3&&(Ze=Ce.textContent,Ze=Ze.replace(U," "),Ze=Ze.replace($," "),Ce.textContent!==Ze&&(t.removed.push({element:Ce.cloneNode()}),Ce.textContent=Ze)),mt("afterSanitizeElements",Ce,null),!1)},yt=function(Ce,Ze,ut){if(fe&&(Ze==="id"||Ze==="name")&&(ut in a||ut in ke))return!1;if(!(be&&B.test(Ze))){if(!(ce&&Y.test(Ze))){if(!I[Ze]||te[Ze])return!1;if(!Ee[Ze]){if(!ee.test(ut.replace(K,""))){if(!((Ze==="src"||Ze==="xlink:href"||Ze==="href")&&Ce!=="script"&&ut.indexOf("data:")===0&&de[Ce])){if(!(Ie&&!Q.test(ut.replace(K,"")))){if(ut)return!1}}}}}}return!0},at=function(Ce){var Ze=void 0,ut=void 0,Tt=void 0,Pt=void 0,rr=void 0;mt("beforeSanitizeAttributes",Ce,null);var _r=Ce.attributes;if(_r){var sr={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:I};for(rr=_r.length;rr--;){Ze=_r[rr];var mr=Ze,Pr=mr.name,ln=mr.namespaceURI;if(ut=Ze.value.trim(),Tt=Pr.toLowerCase(),sr.attrName=Tt,sr.attrValue=ut,sr.keepAttr=!0,mt("uponSanitizeAttribute",Ce,sr),ut=sr.attrValue,Tt==="name"&&Ce.nodeName==="IMG"&&_r.id)Pt=_r.id,_r=VI(eCe,_r,[]),_t("id",Ce),_t(Pr,Ce),_r.indexOf(Pt)>rr&&Ce.setAttribute("id",Pt.value);else{if(Ce.nodeName==="INPUT"&&Tt==="type"&&ut==="file"&&sr.keepAttr&&(I[Tt]||!te[Tt]))continue;Pr==="id"&&Ce.setAttribute(Pr,""),_t(Pr,Ce)}if(sr.keepAttr){if(/svg|math/i.test(Ce.namespaceURI)&&new RegExp("</("+Object.keys(Me).join("|")+")","i").test(ut)){_t(Pr,Ce);continue}z&&(ut=ut.replace(U," "),ut=ut.replace($," "));var di=Ce.nodeName.toLowerCase();if(yt(di,Tt,ut))try{ln?Ce.setAttributeNS(ln,Pr,ut):Ce.setAttribute(Pr,ut),t.removed.pop()}catch{}}}mt("afterSanitizeAttributes",Ce,null)}},$t=function xt(Ce){var Ze=void 0,ut=Lt(Ce);for(mt("beforeSanitizeShadowDOM",Ce,null);Ze=ut.nextNode();)mt("uponSanitizeShadowNode",Ze,null),!St(Ze)&&(Ze.content instanceof o&&xt(Ze.content),at(Ze));mt("afterSanitizeShadowDOM",Ce,null)};return t.sanitize=function(xt,Ce){var Ze=void 0,ut=void 0,Tt=void 0,Pt=void 0,rr=void 0;if(xt||(xt="<!-->"),typeof xt!="string"&&!bt(xt)){if(typeof xt.toString!="function")throw new TypeError("toString is not a function");if(xt=xt.toString(),typeof xt!="string")throw new TypeError("dirty is not a string, aborting")}if(!t.isSupported){if(Rv(e.toStaticHTML)==="object"||typeof e.toStaticHTML=="function"){if(typeof xt=="string")return e.toStaticHTML(xt);if(bt(xt))return e.toStaticHTML(xt.outerHTML)}return xt}if(q||Le(Ce),t.removed=[],!Se)if(xt instanceof s)Ze=jt("<!-->"),ut=Ze.ownerDocument.importNode(xt,!0),ut.nodeType===1&&ut.nodeName==="BODY"||ut.nodeName==="HTML"?Ze=ut:Ze.appendChild(ut);else{if(!ie&&!z&&!k&&me&&xt.indexOf("<")===-1)return w?w.createHTML(xt):xt;if(Ze=jt(xt),!Ze)return ie?null:b}Ze&&H&&He(Ze.firstChild);for(var _r=Lt(Se?xt:Ze);Tt=_r.nextNode();)Tt.nodeType===3&&Tt===Pt||St(Tt)||(Tt.content instanceof o&&$t(Tt.content),at(Tt),Pt=Tt);if(Pt=null,Se)return xt;if(ie){if(V)for(rr=_.call(Ze.ownerDocument);Ze.firstChild;)rr.appendChild(Ze.firstChild);else rr=Ze;return Z&&(rr=P.call(r,rr,!0)),rr}var sr=k?Ze.outerHTML:Ze.innerHTML;return z&&(sr=sr.replace(U," "),sr=sr.replace($," ")),w&&me?w.createHTML(sr):sr},t.setConfig=function(xt){Le(xt),q=!0},t.clearConfig=function(){xe=null,q=!1},t.isValidAttribute=function(xt,Ce,Ze){xe||Le({});var ut=xt.toLowerCase(),Tt=Ce.toLowerCase();return yt(ut,Tt,Ze)},t.addHook=function(xt,Ce){typeof Ce=="function"&&(N[xt]=N[xt]||[],N[xt].push(Ce))},t.removeHook=function(xt){N[xt]&&N[xt].pop()},t.removeHooks=function(xt){N[xt]&&(N[xt]=[])},t.removeAllHooks=function(){N={}},t}var BI=Iae();const nCe=/&/g,iCe=/[\W]+/g,aCe=/\s+/g,Pd={escapeExpression(e){const t=/[&<>"'`=]/g,r=/[&<>"'`=]/,n={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"};function i(a){return n[a]}if(typeof e!="string"){if(e===null)return"";if(!e)return e+"";e=""+e}return r.test(e)?e.replace(t,i):e},escapeRegExp(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},slugify(e){if(e)return e.toLowerCase().replace(nCe,"and").replace(iCe," ").trim().replace(aCe,"-").substr(0,80)},isEqual(e,t){return!!e&&!!t&&e.toString()===t.toString()},toTitleCase(e){return e?e.split(" ").map(t=>{const r=t[0]?t[0].toUpperCase():"",n=t.substr(1)?t.substr(1).toLowerCase():"";return r+n}).join(" "):""},toSentenceCase(e){return e?e.split(" ").map((t,r)=>{const n=t[0]?t[0].toUpperCase():"",i=t.substr(1)?t.substr(1).toLowerCase():"";return r===0?n+i:t}).join(" "):""},sanitize(e){return e===0?"0":e?BI.sanitize(e.toString(),{ADD_ATTR:["target"]}).replace("&amp;","&"):""},removeExtraSpace(e){return e.replace(/\s+/g," ").trim()}};class oCe extends Ho{constructor(){super(...arguments),this.initialized=!1}static get Instance(){return this.instance||(this.instance=new this)}get name(){return qp.LANGUAGE}setConfig(t){this.polyglot=new Bxe({locale:t.locale,phrases:t.phrases.rootElement||t.phrases}),this.cache={},this.initialized=!0}isInitialised(){return this.initialized}getPhrase(t,r,n){const i=`${t}.${r}`;if(this.polyglot||vr.throw(new On("LanguageService config must be set.")),!this.polyglot.has(i)){if(!q_.isDevelopment){const d=window.trackJs;return d&&d.console.error(`No phrase set for ${i} in language config`),""}vr.throw(new On(`No phrase set for ${i} in language config.`))}if(!n||Gv(n)){const d=this.cache[i];if(d)return d;const h=this.polyglot.t(i);return this.cache[i]=h,h}const a=L_(n,"smartCount","escapeText"),o={};for(const d in a){let h=Pd.sanitize(a[d]);n.escapeText&&(h=Pd.escapeExpression(h)),o[d]=h}Ld(n.smartCount)&&(o.smart_count=n.smartCount);const u=`${i}:${hc({...o}).join(":")}`,s=this.cache[u];if(s)return s;const c=this.polyglot.t(i,o);return this.cache[u]=c,c}encloseNamespace(t){return(r,n)=>this.getPhrase(t,r,n)}}const gr=oCe.Instance;class Mf extends j_{get name(){return"ErrorPageError"}}const UA="shared.unspecifiedError";class sf extends Mf{constructor(){super(gr.getPhrase(UA,"title"))}get name(){return"UnspecifiedError"}get heading(){return gr.getPhrase(UA,"heading")}get description(){return gr.getPhrase(UA,"description")}get cta(){return!1}}const sCe="modulepreload",uCe=function(e){return"/"+e},_Q={},wn=function(t,r,n){let i=Promise.resolve();if(r&&r.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),u=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));i=Promise.allSettled(r.map(s=>{if(s=uCe(s),s in _Q)return;_Q[s]=!0;const c=s.endsWith(".css"),d=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${d}`))return;const h=document.createElement("link");if(h.rel=c?"stylesheet":sCe,c||(h.as="script"),h.crossOrigin="",h.href=s,u&&h.setAttribute("nonce",u),document.head.appendChild(h),c)return new Promise((v,g)=>{h.addEventListener("load",v),h.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${s}`)))})}))}function a(o){const u=new Event("vite:preloadError",{cancelable:!0});if(u.payload=o,window.dispatchEvent(u),!u.defaultPrevented)throw o}return i.then(o=>{for(const u of o||[])u.status==="rejected"&&a(u.reason);return t().catch(a)})};var qA={exports:{}},ov={};/**
119
- * @license React
120
- * react-jsx-runtime.production.min.js
121
- *
122
- * Copyright (c) Facebook, Inc. and its affiliates.
123
- *
124
- * This source code is licensed under the MIT license found in the
125
- * LICENSE file in the root directory of this source tree.
126
- */var SQ;function lCe(){if(SQ)return ov;SQ=1;var e=zo(),t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function o(u,s,c){var d,h={},v=null,g=null;c!==void 0&&(v=""+c),s.key!==void 0&&(v=""+s.key),s.ref!==void 0&&(g=s.ref);for(d in s)n.call(s,d)&&!a.hasOwnProperty(d)&&(h[d]=s[d]);if(u&&u.defaultProps)for(d in s=u.defaultProps,s)h[d]===void 0&&(h[d]=s[d]);return{$$typeof:t,type:u,key:v,ref:g,props:h,_owner:i.current}}return ov.Fragment=r,ov.jsx=o,ov.jsxs=o,ov}var EQ;function cCe(){return EQ||(EQ=1,qA.exports=lCe()),qA.exports}var j=cCe();class ou extends lwe{onShowAlert(t){if(!this.layoutOptions.options.alertRegion)return super.onShowAlert(t);const{ctor:r,collection:n}=t,i=n?n.toJSON():[],a=o=>$r.Radio.channel($n.ALERT).trigger("remove:alert",o);this.layout.showChildView(this.layoutOptions.options.alertRegion,j.jsx(r,{alerts:i,removeAlert:a}))}}let VA=!1,BA=!1,HA=!1,zA=!0,WA=!0;class fCe extends Ho{get name(){return"LayoutHelper"}shouldHideNav(){return VA}disableNav(){VA=!0}enableNav(){VA=!1}shouldHideHeader(){return BA}disableHeader(){BA=!0}enableHeader(){BA=!1}lockContentWidth(){HA=!0,this.trigger("change:lockContentWidth")}unlockContentWidth(){HA=!1,this.trigger("change:lockContentWidth")}shouldLockContentWidth(){return!!HA}shouldShowSearch(){return WA}enableSearch(){WA=!0}disableSearch(){WA=!1}enableLogoClick(){zA=!0}disableLogoClick(){zA=!1}shouldAllowLogoClick(){return zA}}const mi=new fCe,Ur={CONTENT:"content",POPUP:"popup",ALERT:"alert"},gs={REPORTS_LAYOUT:"ReportsLayout"},dr={CLIPS:"clips:application",DASHBOARD:"dashboard:application",DEFAULT:"default:application",INTERACTIVES:"interactives:application",LOGINS:"logins:application",VIDEOS:"videos:application"};var Lo=(e=>(e.Analytics="analytics",e.LibraryEditor="manage",e.Online="online",e.Primary="lite",e.Exchange="exchange_tv",e.StreamableLearning="streamable_learning",e))(Lo||{});const n0={userProducts(e,t){return{url:"{gateway}/v1/users/me/products",key:"user:products",normalizeOptions:{namespace:"product"},success:e,error:t,bootstrapName:ll.PRODUCTS}}},dCe={Language:"LanguageDataService"},Pae={MixedMediaUpload:"MixedMediaUploadService",Context:"ContextService"},hCe=5,vCe=3;let pCe=class extends Ho{constructor(){super(...arguments),this.routeHistory=[],this.contextHistory=[]}get name(){return Pae.Context}static get Instance(){return this.instance||(this.instance=new this)}initialize(){this.listenTo($n.SHELL,Fn.ROUTE,this.setContext),this.listenTo($n.SHELL,Fn.ROUTE,this.updateRouteHistory)}setContext(t){var r;Kn.isEqual(t,(r=this.getCurrentContext())==null?void 0:r.appLink)||(this.contextHistory.length>=hCe&&this.contextHistory.shift(),this.contextHistory.push({pageLoad:!this.contextHistory.length,appLink:t}))}getCurrentContext(){if(this.contextHistory.length)return this.contextHistory[this.contextHistory.length-1]}getPreviousContext(){if(!(!this.contextHistory.length||this.contextHistory.length-2<0))return this.contextHistory[this.contextHistory.length-2]}updateRouteHistory(t){var n;Kn.getHref(t)&&(Kn.isEqual(t,(n=this.getCurrentRoute())==null?void 0:n.appLink)||(this.routeHistory.length>=vCe&&this.routeHistory.shift(),this.routeHistory.push({pageLoad:!this.routeHistory.length,appLink:t})))}getCurrentRoute(){if(this.routeHistory.length)return this.routeHistory[this.routeHistory.length-1]}getPreviousRoute(){if(!(!this.routeHistory.length||this.routeHistory.length-2<0))return this.routeHistory[this.routeHistory.length-2]}fromPageLoad(){return this.contextHistory.length===1}_forcePushContext(t){this.setContext(t),this.updateRouteHistory(t)}};const pc=new pCe,Jr={Default:{LOG_IN:"log:in",LOG_OUT:"log:out",ERROR:"error",NOT_FOUND:"not:found",DEV_ERROR:"dev:error",DIALOG_ERROR:"dialog:error",NO_CLASSROOMS_ERROR:"no:classrooms:error",SHARE:"share",GENERATE_REPORT:"generate:report",GIVE_FEEDBACK:"give:feedback",UPLOAD_IMAGE:"upload:image",REMOVE_LOGO:"remove:logo"},Dashboard:{HOME:"index"},Interactives:{HOME:"index",OVERVIEW:"overview",ENGAGEMENT:"engagement",RESULTS:"results",QUESTION_LIST:"question:list",STUDENT_RESULTS:"student:results",GENERATE_REPORT:"generate:report"},Videos:{HOME:"index",VIEWS:"views",OVERVIEW:"overview",ENGAGEMENT:"engagement",TOP_VIDEOS:"top:videos",VIDEO_VIEWS:"video:views",INTERACTIVE_VIEWS:"interactive:views",CLIP_VIEWS:"clip:views"},Clips:{OVERVIEW:"overview",ENGAGEMENT:"engagement"},Logins:{HOME:"index"}},gCe="reportsShared.noAccess",wQ=gr.encloseNamespace(gCe);class mCe extends Mf{constructor(){super("Current user does not have access to analytics")}get name(){return"NoAccessError"}get heading(){return wQ("heading")}get description(){return wQ("body")}get cta(){return!1}}const yCe=[{application:dr.DEFAULT,action:Jr.Default.ERROR},{application:dr.DEFAULT,action:Jr.Default.DEV_ERROR}];function bQ(e,t){pc._forcePushContext(e),mi.disableNav(),mi.disableHeader(),es.routingEnded(),vr.throw(t??new sf)}async function su(e,t){const{appLink:r,shell:n}=e;if(yCe.find(u=>u.application===(r==null?void 0:r.application)&&u.action===(r==null?void 0:r.action))){t(e);return}let i=null;try{i=await Jc(n.store,n0.userProducts())}catch{return bQ(r)}const a=i.some(u=>u.id===Lo.Analytics),o=i.some(u=>u.id===Lo.Primary);if(a&&o){t(e);return}bQ(r,new mCe)}var zn=(e=>(e[e.Audience=1]="Audience",e[e.Category=2]="Category",e[e.Channel=3]="Channel",e[e.Chapter=4]="Chapter",e[e.Comment=5]="Comment",e[e.OwnerComment=6]="OwnerComment",e[e.Image=7]="Image",e[e.Thumbnail=8]="Thumbnail",e[e.Avatar=9]="Avatar",e[e.Banner=10]="Banner",e[e.Video=11]="Video",e[e.Trailer=12]="Trailer",e[e.Rating=13]="Rating",e[e.Topic=14]="Topic",e[e.Series=15]="Series",e[e.Season=16]="Season",e[e.HostedMediaObjectCollection=17]="HostedMediaObjectCollection",e[e.ExchangeCollection=18]="ExchangeCollection",e[e.CustomMediaObjectCollection=19]="CustomMediaObjectCollection",e[e.Playlist=20]="Playlist",e[e.ClickViewTvCollection=21]="ClickViewTvCollection",e[e.ClickViewProductionsCollection=22]="ClickViewProductionsCollection",e[e.User=23]="User",e[e.SystemUser=24]="SystemUser",e[e.Customer=25]="Customer",e[e.Country=26]="Country",e[e.Organisation=28]="Organisation",e[e.SystemOrganisation=29]="SystemOrganisation",e[e.Group=30]="Group",e[e.SystemGroup=31]="SystemGroup",e[e.FlagReason=32]="FlagReason",e[e.Library=33]="Library",e[e.Interactive=34]="Interactive",e[e.WorkspaceCollection=35]="WorkspaceCollection",e[e.Conversation=36]="Conversation",e[e.Message=37]="Message",e[e.Notification=38]="Notification",e[e.Clip=39]="Clip",e[e.Link=40]="Link",e[e.UserChannel=41]="UserChannel",e[e.Resource=42]="Resource",e[e.VideoStream=43]="VideoStream",e[e.AudioStream=44]="AudioStream",e[e.Tag=45]="Tag",e[e.Subtitle=46]="Subtitle",e[e.LicencedContentCollection=47]="LicencedContentCollection",e[e.PublicCollection=48]="PublicCollection",e[e.CategoryTree=49]="CategoryTree",e[e.Logo=50]="Logo",e[e.Permission=51]="Permission",e[e.Subject=52]="Subject",e[e.Field=53]="Field",e[e.Company=54]="Company",e[e.Person=55]="Person",e[e.Cover=56]="Cover",e[e.Poster=57]="Poster",e[e.SubjectAudience=58]="SubjectAudience",e[e.TallPoster=60]="TallPoster",e[e.Classroom=67]="Classroom",e[e.ClassroomGroup=68]="ClassroomGroup",e[e.UserProfile=74]="UserProfile",e))(zn||{});const Dae={getPrimaryObjectUrl(e,t){let r="";switch(t.typeId){case zn.Video:r=`/videos/${t.id}/${Pd.slugify(t.name)}`;break;case zn.Interactive:r=`/interactive/${t.id}/preview`;break;case zn.Clip:r=`/clips/${t.id}/${Pd.slugify(t.name)}`;break;case zn.Series:r=`/series/${t.id}/${Pd.slugify(t.name)}`;break;case zn.Playlist:r=`/playlists/${t.id}/${Pd.slugify(t.name)}`;break}if(!r)return;const n=new URL(e.url);return n.pathname=r,n.href},getPrimarySearchUrl(e,t){const r=new URL(e.url);return r.pathname="search",r.search=`query=${t}`,r.href},getLiteClassroomsUrl(e){const t=new URL(e.url);return t.pathname="/classrooms",t.href},getSharesUrl(e){const t=new URL(e.url);return t.pathname="/shares",t.href}},_Ce="reportsShared.insightsError",GA=gr.encloseNamespace(_Ce);class SCe extends Mf{constructor(t){super("Current user is not an admin and has Insights"),this.liteProduct=t}get name(){return"InsightsErrorError"}get heading(){return GA("heading")}get description(){return GA("body")}get cta(){const t=!!this.liteProduct&&Dae.getSharesUrl(this.liteProduct);return t?{url:t,text:GA("cta")}:!1}}const ECe=[{application:dr.DEFAULT,action:Jr.Default.ERROR},{application:dr.DEFAULT,action:Jr.Default.DEV_ERROR}];function TQ(e,t){pc._forcePushContext(e),mi.disableNav(),mi.disableHeader(),es.routingEnded(),vr.throw(t??new sf)}async function uu(e,t){var i;const{appLink:r,shell:n}=e;if(ECe.find(a=>a.application===(r==null?void 0:r.application)&&a.action===(r==null?void 0:r.action))){t(e);return}try{const a=Jc(n.store,Wi.permissions()),o=Jc(n.store,n0.userProducts()),u=await Jc(n.store,wu.customerSettings()),s=await a,c=await o;if(s!=null&&s[Na.ViewCustomerAnalytics]){t(e);return}if(!((i=u[br.HasShareFlowV2])!=null&&i.value)){t(e);return}TQ(r,new SCe(c.find(d=>d.id===Lo.Primary)))}catch{TQ(r)}}const uf={classroom(e){return{url:`{gateway}/v1/objects/${e}`,key:`classroom:${e}`}},classroomGroup(e){return{url:`{gateway}/v1/objects/${e}?query=classroom`,key:`classroom:group:${e}:classroom`}},getClassroomsById(e){return e.sort(),{url:`{gateway}/v1/objects?query=${`users[count()]{limit:0}&${e.map(r=>`id=${r}`).join("&")}`}`,key:`classrooms:${e.join(",")}`}},getClassroomGroupsById(e){return e.sort(),{url:`{gateway}/v1/objects?query=${`users[count()]{limit:0}&${e.map(r=>`id=${r}`).join("&")}`}`,key:`classroom:groups:${e.join(",")}`}},userClassrooms(e,t,r,n){return{url:dn.urlBuilder("{gateway}/v1/classrooms",{cursor:e}),key:`user:classrooms${e?`:${e}`:""}`,success:t,error:r,always:n}},getPinnedClassrooms(e,t){return{url:dn.urlBuilder(`{gateway}/v1/objects/${e}/members`,{query:`favouriteClassrooms[favouritedBy{id:${e}},_integrations,enrolments[user]{role:'owner'}]{status:${Xu.Active},customer.id:${t},limit:100,orderby:name}`}),key:"pinned:classrooms",normalize:!1}},getPublished(e,t=""){const r={query:`{orderby:name,status:${Xu.Active}}favouritedBy{id:${e}},_integrations,enrolments[user]{role:'owner'}`};return t&&(r.cursor=t),{url:dn.urlBuilder("{gateway}/v1/classrooms",r),key:`published:classrooms${t?`:${t}`:""}`}}},wCe="reportsShared.noClassrooms",YA=gr.encloseNamespace(wCe);class kae extends Mf{constructor(t){super("Current user does not have any classrooms"),this.liteProduct=t}get name(){return"NoClassroomsError"}get heading(){return YA("heading")}get description(){return YA("body")}get cta(){const t=!!this.liteProduct&&Dae.getLiteClassroomsUrl(this.liteProduct);return t?{url:t,text:YA("cta")}:!1}}const bCe=[{application:dr.DEFAULT,action:Jr.Default.ERROR},{application:dr.DEFAULT,action:Jr.Default.DEV_ERROR},{application:dr.DEFAULT,action:Jr.Default.NO_CLASSROOMS_ERROR}];function am(e,t){pc._forcePushContext(e),es.routingEnded(),vr.throw(t??new sf)}async function i0(e,t){var u;const{appLink:r,shell:n}=e;if(bCe.find(s=>s.application===(r==null?void 0:r.application)&&s.action===(r==null?void 0:r.action))){t(e);return}let i=null;try{i=await Jc(n.store,Wi.permissions())}catch{return am(r)}if(i!=null&&i[Na.ViewCustomerAnalytics]){t(e);return}let a=null;try{a=await Jc(n.store,uf.userClassrooms(null))}catch{return am(r)}if((u=a==null?void 0:a.data)!=null&&u.length){t(e);return}let o=null;try{o=await Jc(n.store,n0.userProducts())}catch{return am(r)}am(r,new kae(o.find(s=>s.id===Lo.Primary)))}class TCe extends au{get channelName(){return dr.CLIPS}get appRoutes(){return{"clips/:id/overview(/)":"overview","clips/:id/engagement(/)":"engagement"}}get filters(){return[su,uu,i0]}}class RCe extends ou{get name(){return"Clips Application"}get layoutOptions(){return{name:gs.REPORTS_LAYOUT,options:{hideNav:mi.shouldHideNav(),hideHeader:mi.shouldHideHeader(),alertRegion:Ur.ALERT}}}get channelName(){return dr.CLIPS}static get router(){return TCe}overview(t){wn(async()=>{const{ClipOverviewView:r}=await import("./DwXWjOFd.chunk.js");return{ClipOverviewView:r}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36])).then(({ClipOverviewView:r})=>{this.layout.showChildView(Ur.CONTENT,j.jsx(r,{id:t}))})}engagement(t){wn(async()=>{const{ClipEngagementView:r}=await import("./PRj0OsVz.chunk.js");return{ClipEngagementView:r}},__vite__mapDeps([37,38,39,40,41,16,17,18,42,43,44,45,46,47,48,4,13,27,49,50,51,19,20,21,5,22,23,24,9,52,53,1,2,3,6,7,8,30,54,10,11,12,14,15,31,32,28,33,34,35,55])).then(({ClipEngagementView:r})=>{this.layout.showChildView(Ur.CONTENT,j.jsx(r,{id:t}))})}}class xCe extends au{get channelName(){return dr.DASHBOARD}get appRoutes(){return{"(/)":"index"}}get filters(){return[su,uu]}}class CCe extends ou{get name(){return"Admin Dashboard Application"}get layoutOptions(){return{name:gs.REPORTS_LAYOUT,options:{hideNav:mi.shouldHideNav(),hideHeader:mi.shouldHideHeader(),alertRegion:Ur.ALERT}}}get channelName(){return dr.DASHBOARD}static get router(){return xCe}index(){wn(async()=>{const{AdminOverviewDashboardView:t}=await import("./D5FZp_R5.chunk.js");return{AdminOverviewDashboardView:t}},__vite__mapDeps([56,14,25,19,20,21,5,22,23,24,9,26,27,28,29,30,31,32,33,34,35,57,58,59,60,11,61,62,3,4,63,13,64,65,66,45,44,48,67,68,69,70])).then(({AdminOverviewDashboardView:t})=>{this.layout.showChildView(Ur.CONTENT,j.jsx(t,{}))})}}class ACe extends au{get channelName(){return dr.DASHBOARD}get appRoutes(){return{"(/)":"index"}}get filters(){return[su,uu]}}class OCe extends ou{get name(){return"School Dashboard Application"}get layoutOptions(){return{name:gs.REPORTS_LAYOUT,options:{hideNav:mi.shouldHideNav(),hideHeader:mi.shouldHideHeader(),alertRegion:Ur.ALERT}}}get channelName(){return dr.DASHBOARD}static get router(){return ACe}async index(){const{SchoolAnalyticsDashboardView:t}=await wn(async()=>{const{SchoolAnalyticsDashboardView:r}=await import("./DXjxFPuU.chunk.js");return{SchoolAnalyticsDashboardView:r}},__vite__mapDeps([71,34,20,14,72,73,27,74,75,76,64,65,66,21,5,22,77,60,11,62,3,4,63,13,45,44,48,67,68,78,79]));this.layout.showChildView(Ur.CONTENT,j.jsx(t,{}))}}class ICe extends au{get channelName(){return dr.DASHBOARD}get appRoutes(){return{"(/)":"index"}}get filters(){return[su,i0,uu]}}class PCe extends ou{get name(){return"Teacher Dashboard Application"}get layoutOptions(){return{name:gs.REPORTS_LAYOUT,options:{hideNav:mi.shouldHideNav(),hideHeader:mi.shouldHideHeader(),alertRegion:Ur.ALERT}}}get channelName(){return dr.DASHBOARD}static get router(){return ICe}index(){wn(async()=>{const{TeacherOverviewDashboardView:t}=await import("./Cwr3w1_A.chunk.js");return{TeacherOverviewDashboardView:t}},__vite__mapDeps([80,14,25,19,20,21,5,22,23,24,9,26,27,28,29,30,57,58,59,60,11,34,61,62,3,4,63,13,64,65,66,45,44,48,67,68,69,81])).then(({TeacherOverviewDashboardView:t})=>{this.layout.showChildView(Ur.CONTENT,j.jsx(t,{}))})}}const KA="shared.notFoundError";class Nae extends Mf{constructor(){super(gr.getPhrase(KA,"title"))}get name(){return"NotFoundError"}get heading(){return gr.getPhrase(KA,"heading")}get description(){return gr.getPhrase(KA,"description")}}const DCe={uploadBase64Image(e,t,r,n){return{url:`/api/image/upload?type=${e}`,key:"upload:image",data:t,type:fn.POST,success:r,always:n}}},zm={EmptyStates:{Interactives:{StudentInsights:"/images/empty-states/interactives/student-insights-v2.png",NoResponses:"/images/empty-states/interactives/no-responses-v2.png",NoData:"/images/empty-states/interactives/no-data-v2.png",SharedInteractives:"/images/empty-states/interactives/shared-interactives-v2.png",NoQuestions:"/images/empty-states/interactives/no-questions.png"},Shared:{School:"/images/empty-states/logins/school.png",BagQuestionOrange:"/images/empty-states/videos/bag-question-orange.png",PuzzleGroup:"/images/empty-states/videos/puzzle-group.png",Ticket:"/images/empty-states/videos/ticket.png",LoginCount:"/images/empty-states/logins/login-count-v2.png",ViewCount:"/images/empty-states/videos/view-count-v2.png",TypeaheadResults:"/images/empty-states/generic/typeahead-results-v2.png"}},Errors:{SmallAvatar:"/images/error-avatars/small/error-{number}.png",TypeaheadError:"/images/empty-states/generic/typeahead-results-v2.png",NoClassrooms:"/images/errors/no-classrooms.png"}};class kCe extends au{get channelName(){return dr.DEFAULT}get appRoutes(){return{"*path":"catchAllRoutes"}}get appLinks(){return["devError","dialogError","error","notFound","noClassroomsError","share","generateReport","updates","giveFeedback","uploadImage","removeLogo"]}get externalRoutes(){return{"login(/)":"logIn","logout(/)":"logOut"}}get filters(){return[su,i0,uu]}}class NCe extends ou{get name(){return"Default Application"}get layoutOptions(){return{name:gs.REPORTS_LAYOUT,options:{hideNav:mi.shouldHideNav(),hideHeader:mi.shouldHideHeader(),alertRegion:Ur.ALERT}}}get channelName(){return dr.DEFAULT}static get router(){return kCe}catchAllRoutes(){vr.throw(new Nae)}async notFound(){const t=$r.Radio.channel("error:view").request("current:error"),{NotFoundView:r}=await wn(async()=>{const{NotFoundView:n}=await import("./DTUnn1Hh.chunk.js");return{NotFoundView:n}},[]);this.layout.showChildView(Ur.CONTENT,j.jsx(r,{error:t}))}async error(){const t=$r.Radio.channel("error:view").request("current:error"),{ErrorView:r}=await wn(async()=>{const{ErrorView:n}=await Promise.resolve().then(()=>z6e);return{ErrorView:n}},void 0);this.layout.showChildView(Ur.CONTENT,j.jsx(r,{error:t}))}async dialogError(){const t=$r.Radio.channel("error:view").request("current:error");if(!t)return;const{dialogOptions:r}=t,{DialogView:n}=await wn(async()=>{const{DialogView:i}=await import("./D_YN6yks.chunk.js");return{DialogView:i}},[]);this.layout.showChildView(Ur.POPUP,j.jsx(n,{title:r.title,text:r.text,buttons:r.buttons,onDone:t.onDone,onFail:t.onFail,closePopup:()=>this.layout.closePopup()}))}async devError(){const t=$r.Radio.channel("error:view").request("current:error"),{DevErrorView:r}=await wn(async()=>{const{DevErrorView:n}=await import("./GOwzfXiv.chunk.js");return{DevErrorView:n}},[]);this.layout.showChildView(Ur.CONTENT,j.jsx(r,{error:t}))}async noClassroomsError(){const t=$r.Radio.channel("error:view").request("current:error"),{NoClassroomsErrorView:r}=await wn(async()=>{const{NoClassroomsErrorView:n}=await import("./CGvB_tzk.chunk.js");return{NoClassroomsErrorView:n}},__vite__mapDeps([82,83]));this.layout.showChildView(Ur.CONTENT,j.jsx(r,{error:t,imageUrl:zm.Errors.NoClassrooms}))}async share(t,r){const{ShareView:n}=await wn(async()=>{const{ShareView:i}=await import("./Cus4Epw8.chunk.js");return{ShareView:i}},__vite__mapDeps([84,85,86,87,46,88,23,41,42,89,63,3,4,5,13,90]));this.layout.showChildView(Ur.POPUP,j.jsx(n,{entityId:t,entityType:r.entityType,closePopup:()=>this.layout.closePopup(),emptyStateImageUrl:zm.EmptyStates.Shared.TypeaheadResults,errorStateImageUrl:zm.Errors.TypeaheadError}))}async generateReport(t){const{GenerateReportView:r}=await wn(async()=>{const{GenerateReportView:n}=await import("./Ctl4eE7j.chunk.js").then(i=>i.a);return{GenerateReportView:n}},__vite__mapDeps([12,13]));this.layout.showChildView(Ur.POPUP,j.jsx(r,{type:t.type,closePopup:()=>this.layout.closePopup()}))}async removeLogo(t){const{RemoveLogoView:r}=await wn(async()=>{const{RemoveLogoView:n}=await import("./t5MCaEYl.chunk.js");return{RemoveLogoView:n}},__vite__mapDeps([91,13]));this.layout.showChildView(Ur.POPUP,j.jsx(r,{logoId:t.logoId,customerId:t.customerId,closePopup:()=>this.layout.closePopup()}))}async giveFeedback(){const{GiveFeedbackView:t}=await wn(async()=>{const{GiveFeedbackView:r}=await import("./BSOiWR0F.chunk.js");return{GiveFeedbackView:r}},__vite__mapDeps([92,13,87,48,88,23,41,42,89,5,93]));this.layout.showChildView(Ur.POPUP,j.jsx(t,{product:Lo.Analytics,closePopup:()=>this.layout.closePopup()}))}async uploadImage(t){const{ImageUploadView:r}=await wn(async()=>{const{ImageUploadView:n}=await import("./ClIb9fji.chunk.js");return{ImageUploadView:n}},__vite__mapDeps([94,95]));this.layout.showChildView(Ur.POPUP,j.jsx(r,{getRequest:DCe.uploadBase64Image,imageType:t,popupSize:"lg",closePopup:()=>this.layout.closePopup()}))}}const Hl=or.createContext("unknown");function LCe(){return or.useContext(Hl)}class MCe extends au{get channelName(){return dr.INTERACTIVES}get appRoutes(){return{"interactives(/)":"index","interactives/:id/overview(/)":"overview","interactives/:id/results(/)":"results","interactives/:id/engagement(/)":"engagement","interactives/:id/question-list(/)":"questionList"}}get appLinks(){return["studentResults","generateReport"]}get filters(){return[su,uu]}}class $Ce extends ou{get name(){return"Interactives Application"}get layoutOptions(){return{name:gs.REPORTS_LAYOUT,options:{hideNav:mi.shouldHideNav(),hideHeader:mi.shouldHideHeader(),alertRegion:Ur.ALERT}}}get channelName(){return dr.INTERACTIVES}static get router(){return MCe}index(){wn(async()=>{const{SharedInteractivesView:t}=await import("./Ch38wU3l.chunk.js");return{SharedInteractivesView:t}},__vite__mapDeps([96,39,40,86,85,87,64,65,66,21,5,22,62,3,4,63,13,45,44,48,67,68,23,97,47,98,78,52,53,99,14,51,11,100])).then(({SharedInteractivesView:t})=>{this.layout.showChildView(Ur.CONTENT,j.jsx(Hl.Provider,{value:"interactives",children:j.jsx(t,{})}))})}overview(t){wn(async()=>{const{InteractiveOverviewView:r}=await import("./BAY69EEW.chunk.js");return{InteractiveOverviewView:r}},__vite__mapDeps([101,102,20,8,9,7,10,11,12,13,14,15,16,17,18,19,21,5,22,23,24,25,26,27,28,29,30,31,32,33,34,35,103,2,3,4,6,85,104,105,49,58,59,106,107,41,108])).then(({InteractiveOverviewView:r})=>{this.layout.showChildView(Ur.CONTENT,j.jsx(Hl.Provider,{value:"interactives",children:j.jsx(r,{interactiveMetadataId:t})}))})}engagement(t){wn(async()=>{const{InteractiveEngagementView:r}=await import("./D2z6V6KN.chunk.js");return{InteractiveEngagementView:r}},__vite__mapDeps([109,38,39,40,41,16,17,18,42,43,44,45,46,47,48,4,13,27,49,50,102,20,51,19,21,5,22,23,24,8,9,52,53,7,30,54,10,11,12,14,15,31,32,28,33,34,35,103,2,3,6,85,106,55])).then(({InteractiveEngagementView:r})=>{this.layout.showChildView(Ur.CONTENT,j.jsx(Hl.Provider,{value:"interactives",children:j.jsx(r,{interactiveMetadataId:t})}))})}results(t){wn(async()=>{const{InteractiveStudentResultsListView:r}=await import("./BWQPt-2Q.chunk.js");return{InteractiveStudentResultsListView:r}},__vite__mapDeps([110,102,20,8,9,52,53,7,10,11,12,13,14,103,2,3,4,5,6,85,104,105,17,49,58,59,111,51,107,39,40,112,113,16,18,41,114])).then(({InteractiveStudentResultsListView:r})=>{this.layout.showChildView(Ur.CONTENT,j.jsx(Hl.Provider,{value:"interactives",children:j.jsx(r,{interactiveMetadataId:t})}))})}studentResults(t,r,n){wn(async()=>{const{InteractiveStudentResultsView:i}=await import("./Cz6t-6nF.chunk.js");return{InteractiveStudentResultsView:i}},__vite__mapDeps([115,102,20,116,105,17,49,13,45,43,67,117,41,8,9,118])).then(({InteractiveStudentResultsView:i})=>{this.layout.showChildView(Ur.POPUP,j.jsx(Hl.Provider,{value:"interactives",children:j.jsx(i,{userId:t,interactiveId:r,interactionId:n.interactionId,closePopup:()=>this.layout.closePopup()})}))})}questionList(t,r){wn(async()=>{const{InteractiveQuestionListView:n}=await import("./zeFMHqhy.chunk.js");return{InteractiveQuestionListView:n}},__vite__mapDeps([119,116,102,20,105,17,49,13,45,43,67,117,41,113,16,18,39,40,8,9,52,53,7,10,11,12,14,103,2,3,4,5,6,85,111,51,107,120])).then(({InteractiveQuestionListView:n})=>{this.layout.showChildView(Ur.CONTENT,j.jsx(Hl.Provider,{value:"interactives",children:j.jsx(n,{interactiveMetadataId:t,interactionId:r.interactionId})}))})}generateReport(t){wn(async()=>{const{GenerateInteractiveResultsReportView:r}=await import("./CqnFgpqG.chunk.js");return{GenerateInteractiveResultsReportView:r}},__vite__mapDeps([121,102,20,16,17,18,105,49,13,12,112,113,41,4,114])).then(({GenerateInteractiveResultsReportView:r})=>{this.layout.showChildView(Ur.POPUP,j.jsx(Hl.Provider,{value:"interactives",children:j.jsx(r,{interactiveId:t,closePopup:()=>this.layout.closePopup()})}))})}}class FCe extends au{get channelName(){return dr.LOGINS}get appRoutes(){return{"logins(/)":"index"}}get filters(){return[su,uu]}}class jCe extends ou{get name(){return"Logins Application"}get layoutOptions(){return{name:gs.REPORTS_LAYOUT,options:{hideNav:mi.shouldHideNav(),hideHeader:mi.shouldHideHeader(),alertRegion:Ur.ALERT}}}get channelName(){return dr.LOGINS}static get router(){return FCe}index(){wn(async()=>{const{LoginOverviewView:t}=await import("./D_Q6UyjE.chunk.js");return{LoginOverviewView:t}},__vite__mapDeps([122,10,11,12,13,14,9,26,27,28,29,123,20,30,32,33,124])).then(({LoginOverviewView:t})=>{this.layout.showChildView(Ur.CONTENT,j.jsx(t,{}))})}}class UCe extends au{get channelName(){return dr.LOGINS}get appRoutes(){return{"logins(/)":"index"}}get filters(){return[su,uu]}}class qCe extends ou{get name(){return"SchoolLogins Application"}get layoutOptions(){return{name:gs.REPORTS_LAYOUT,options:{hideNav:mi.shouldHideNav(),hideHeader:mi.shouldHideHeader(),alertRegion:Ur.ALERT}}}get channelName(){return dr.LOGINS}static get router(){return UCe}async index(){const{SchoolLoginOverview:t}=await wn(async()=>{const{SchoolLoginOverview:r}=await import("./DMIuTLXg.chunk.js");return{SchoolLoginOverview:r}},__vite__mapDeps([125,10,11,12,13,14,73,27,123,20,126]));this.layout.showChildView(Ur.CONTENT,j.jsx(t,{}))}}class VCe extends au{get channelName(){return dr.VIDEOS}get appRoutes(){return{"videos(/)":"index","videos/views(/)":"views","videos/:id/overview(/)":"overview","videos/:id/engagement(/)":"engagement"}}get filters(){return[su,uu]}}class BCe extends ou{get name(){return"Videos Application"}get layoutOptions(){return{name:gs.REPORTS_LAYOUT,options:{hideNav:mi.shouldHideNav(),hideHeader:mi.shouldHideHeader(),alertRegion:Ur.ALERT}}}get channelName(){return dr.VIDEOS}static get router(){return VCe}index(){wn(async()=>{const{CustomerVideoOverviewView:t}=await import("./Cj1EIzRP.chunk.js");return{CustomerVideoOverviewView:t}},__vite__mapDeps([127,10,11,12,13,14,25,19,20,21,5,22,23,24,9,26,27,28,29,30,31,32,33,34,35,128,2,3,4,6,124])).then(({CustomerVideoOverviewView:t})=>{this.layout.showChildView(Ur.CONTENT,j.jsx(t,{}))})}views(){wn(async()=>{const{CustomerVideoViewsView:t}=await import("./71lqp_27.chunk.js");return{CustomerVideoViewsView:t}},__vite__mapDeps([129,9,52,53,99,61,20,30,10,11,12,13,14,128,2,3,4,5,6,130,39,40,62,63,64,65,66,21,22,45,44,48,67,68,131])).then(({CustomerVideoViewsView:t})=>{this.layout.showChildView(Ur.CONTENT,j.jsx(t,{}))})}overview(t){wn(async()=>{const{VideoOverviewView:r}=await import("./DWKdFOij.chunk.js");return{VideoOverviewView:r}},__vite__mapDeps([132,133,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36])).then(({VideoOverviewView:r})=>{this.layout.showChildView(Ur.CONTENT,j.jsx(r,{id:t}))})}engagement(t){wn(async()=>{const{VideoEngagementView:r}=await import("./Bic1CpMi.chunk.js");return{VideoEngagementView:r}},__vite__mapDeps([134,38,39,40,41,16,17,18,42,43,44,45,46,47,48,4,13,27,49,50,51,19,20,21,5,22,23,24,9,52,53,99,133,2,3,6,7,8,30,54,10,11,12,14,15,31,32,28,33,34,35,55])).then(({VideoEngagementView:r})=>{this.layout.showChildView(Ur.CONTENT,j.jsx(r,{id:t}))})}}class HCe extends au{get channelName(){return dr.VIDEOS}get appRoutes(){return{"videos(/)":"index","videos/top(/)":"topVideos","videos/:id/views(/)":"videoViews","interactives/:id/views(/)":"interactiveViews","clips/:id/views(/)":"clipViews","videos/:id/overview":"videoRedirect","videos/:id/engagement":"videoRedirect","clips/:id/overview":"clipRedirect","clips/:id/engagement":"clipRedirect","interactives/:id/overview":"interactiveRedirect","interactives/:id/results":"interactiveRedirect","interactives/:id/engagement":"interactiveRedirect","interactives/:id/question-list":"interactiveRedirect"}}get filters(){return[su,uu]}}class zCe extends ou{get name(){return"School Videos Application"}get layoutOptions(){return{name:gs.REPORTS_LAYOUT,options:{hideNav:mi.shouldHideNav(),hideHeader:mi.shouldHideHeader(),alertRegion:Ur.ALERT}}}get channelName(){return dr.VIDEOS}static get router(){return HCe}async index(){const{SchoolVideoOverviewView:t}=await wn(async()=>{const{SchoolVideoOverviewView:r}=await import("./BQIPBrM1.chunk.js");return{SchoolVideoOverviewView:r}},__vite__mapDeps([135,34,20,10,11,12,13,14,72,73,27,74,75,76,64,65,66,21,5,22,77,136,137,2,3,4,6,138]));this.layout.showChildView(Ur.CONTENT,j.jsx(t,{}))}async topVideos(){const{SchoolTopVideosView:t}=await wn(async()=>{const{SchoolTopVideosView:r}=await import("./Dj0aHq7R.chunk.js");return{SchoolTopVideosView:r}},__vite__mapDeps([139,78,9,52,53,99,74,20,14,137,2,3,4,5,6,130,39,40,62,63,13,64,65,66,21,22,45,44,48,67,68,131]));this.layout.showChildView(Ur.CONTENT,j.jsx(t,{}))}async videoViews(t){const{SchoolVideoViewsView:r}=await wn(async()=>{const{SchoolVideoViewsView:n}=await import("./iTBVzKEZ.chunk.js");return{SchoolVideoViewsView:n}},__vite__mapDeps([140,38,39,40,41,16,17,18,42,43,44,45,46,47,48,4,13,27,49,50,51,97,65,98,78,74,20,7,8,9,10,11,12,14,72,73,75,136,141]));this.layout.showChildView(Ur.CONTENT,j.jsx(r,{typeId:zn.Video,id:t}))}async interactiveViews(t){const{SchoolVideoViewsView:r}=await wn(async()=>{const{SchoolVideoViewsView:n}=await import("./iTBVzKEZ.chunk.js");return{SchoolVideoViewsView:n}},__vite__mapDeps([140,38,39,40,41,16,17,18,42,43,44,45,46,47,48,4,13,27,49,50,51,97,65,98,78,74,20,7,8,9,10,11,12,14,72,73,75,136,141]));this.layout.showChildView(Ur.CONTENT,j.jsx(r,{typeId:zn.Interactive,id:t}))}async clipViews(t){const{SchoolVideoViewsView:r}=await wn(async()=>{const{SchoolVideoViewsView:n}=await import("./iTBVzKEZ.chunk.js");return{SchoolVideoViewsView:n}},__vite__mapDeps([140,38,39,40,41,16,17,18,42,43,44,45,46,47,48,4,13,27,49,50,51,97,65,98,78,74,20,7,8,9,10,11,12,14,72,73,75,136,141]));this.layout.showChildView(Ur.CONTENT,j.jsx(r,{typeId:zn.Clip,id:t}))}videoRedirect(t,r){Kn.trigger({application:dr.VIDEOS,action:Jr.Videos.VIDEO_VIEWS,args:[t],params:r},{replace:!0})}clipRedirect(t,r){Kn.trigger({application:dr.VIDEOS,action:Jr.Videos.CLIP_VIEWS,args:[t],params:r},{replace:!0})}interactiveRedirect(t,r){Kn.trigger({application:dr.VIDEOS,action:Jr.Videos.INTERACTIVE_VIEWS,args:[t],params:r},{replace:!0})}}class WCe extends au{get channelName(){return dr.VIDEOS}get appRoutes(){return{"videos/:id/overview(/)":"overview","videos/:id/engagement(/)":"engagement"}}get filters(){return[su,i0,uu]}}class GCe extends ou{get name(){return"Videos Application"}get layoutOptions(){return{name:gs.REPORTS_LAYOUT,options:{hideNav:mi.shouldHideNav(),hideHeader:mi.shouldHideHeader(),alertRegion:Ur.ALERT}}}get channelName(){return dr.VIDEOS}static get router(){return WCe}overview(t){wn(async()=>{const{VideoOverviewView:r}=await import("./DWKdFOij.chunk.js");return{VideoOverviewView:r}},__vite__mapDeps([132,133,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36])).then(({VideoOverviewView:r})=>{this.layout.showChildView(Ur.CONTENT,j.jsx(r,{id:t}))})}engagement(t){wn(async()=>{const{VideoEngagementView:r}=await import("./Bic1CpMi.chunk.js");return{VideoEngagementView:r}},__vite__mapDeps([134,38,39,40,41,16,17,18,42,43,44,45,46,47,48,4,13,27,49,50,51,19,20,21,5,22,23,24,9,52,53,99,133,2,3,6,7,8,30,54,10,11,12,14,15,31,32,28,33,34,35,55])).then(({VideoEngagementView:r})=>{this.layout.showChildView(Ur.CONTENT,j.jsx(r,{id:t}))})}}async function YCe(e,t){const r=await Xa(e.store,Wi.currentUser()),n=await Xa(e.store,Wi.permissions()),i=await Xa(e.store,wu.customerSettings());await Xa(e.store,wu.userSettings());try{if(pae.setCurrentRegion(oxe[r.instanceRegion]),e.registerApplication(NCe),!r.isAuthenticated){t(e);return}if(i[br.HasShareFlowV2].value&&n[Na.ViewMyShares]){e.registerApplication(OCe).registerApplication(qCe).registerApplication(zCe),t(e);return}if(e.registerApplication($Ce).registerApplication(RCe),n[Na.ViewCustomerAnalytics]){e.registerApplication(CCe).registerApplication(jCe).registerApplication(BCe),t(e);return}e.registerApplication(PCe).registerApplication(GCe),t(e)}catch{vr.throw(new sf)}}var ep=(e=>(e.Fifo="FifoMemoryCache",e))(ep||{});class KCe extends Ho{constructor(t){super(),this.size=t.size,this.cache={},this.cachedkeys=[],this.store=t.store}get name(){return ep.Fifo}removeCacheKey(t){this.cachedkeys=CI(this.cachedkeys,t)}has(t){return!!this.cache[t]}get(t){return this.cache[t]}set(t,r){(!t||!r)&&vr.throw(new On("Must provide a cache key and a value to cache in FifoMemoryCache.")),this.has(t)&&this.removeCacheKey(t),this.cachedkeys.push(t),this.cache[t]=r,this.cachedkeys.length>this.size&&delete this.cache[this.cachedkeys.shift()]}getOrSet(t,r){if(this.has(t))return this.get(t);const n=r();return this.set(t,n),n}remove(t){return this.has(t)?(delete this.cache[t],this.removeCacheKey(t),!0):!1}invalidate(t,r,n=!1){const i=rie(this.cachedkeys,this.cachedkeys);let a=[];Ja(t,o=>{i[o]&&a.push(o);const u=new RegExp(o,"i"),s=af(i,c=>u.test(c));a.push(...s)}),a.length&&(a=Xv(a),Ja(a,o=>{delete this.cache[o],on(r)&&r(o)}),this.cachedkeys=CI(this.cachedkeys,...a)),!(!this.store||!n)&&this.store.dispatch({type:ho.INVALIDATE,keys:t})}}function XCe(e,t){Qs.registerInstance(KCe,{size:100}),t(e)}var tp=(e=>(e.Ajax="AjaxDataProvider",e.Notifications="NotificationsSignalRDataProvider",e))(tp||{}),Bc=(e=>(e[e.Unknown=0]="Unknown",e[e.BadRequest=1]="BadRequest",e[e.Unauthorized=2]="Unauthorized",e[e.Forbidden=3]="Forbidden",e[e.NotFound=4]="NotFound",e[e.InternalServer=5]="InternalServer",e))(Bc||{});const QCe={type:Bc.Unknown,message:"",code:0},JCe={parseErrorMessage(e,t,r){if(!r||!r.errorCode)return e[t];let n=`${r.errorCode}`;return r.errorSubCode&&(n+=`.${r.errorSubCode}`),e[n]||e[t]}};class ZCe extends Pf{constructor(t){super(t),dy.ajaxSetup({cache:t.cacheRequests??!1,contentType:"application/json; charset=utf-8"}),this.successMiddleware={},this.errorMiddleware={},this.dataServiceErrorMessageMappings=t.dataServiceErrorMessageMappings,this.defaultErrorMessageKey=t.defaultErrorMessageKey}get name(){return tp.Ajax}parseUrl(t){const r=document.createElement("a");return r.href=t,r.host===""&&(r.href=r.href),r}makeHttps(t){const r=this.parseUrl(t);return r.protocol==="http:"&&(r.protocol="https:"),r.href}base(t,r,n,i={}){n||(n=fn.GET);const a=tt.defaults(i,{forceHttps:!1}),o={url:t,method:n,type:n};r&&(o.data=n===fn.POST||n===fn.PUT?JSON.stringify(r):r),a.forceHttps&&(o.url=this.makeHttps(o.url)),a.traditional&&(o.traditional=a.traditional);const u=dy.ajax(o);return tt.keys(this.successMiddleware).length&&u.done(tt.values(this.successMiddleware)),tt.keys(this.errorMiddleware).length&&u.fail(tt.values(this.errorMiddleware)),u}create(t,r,n){const{channel:i,successEvent:a,errorEvent:o}=n;this.base(t,r,fn.POST).done((u,s,c)=>i.trigger(a,u,s,c)).fail((u,s,c)=>i.trigger(o,u,s,c))}read(t,r){const{channel:n,successEvent:i,errorEvent:a}=r;this.base(t,null,fn.GET).done((o,u,s)=>{n.trigger(i,o,u,s)}).fail((o,u,s)=>{n.trigger(a,o,u,s)})}update(t,r,n){const{channel:i,successEvent:a,errorEvent:o}=n;this.base(t,r,fn.PUT).done((u,s,c)=>i.trigger(a,u,s,c)).fail((u,s,c)=>i.trigger(o,u,s,c))}delete(t,r){const{channel:n,successEvent:i,errorEvent:a}=r;this.base(t,null,fn.DELETE).done((o,u,s)=>n.trigger(i,o,u,s)).fail((o,u,s)=>n.trigger(a,o,u,s))}useMiddleware(t,r){this.successMiddleware[t]||(this.successMiddleware[t]=r)}useErrorMiddleware(t,r){this.errorMiddleware[t]||(this.errorMiddleware[t]=r)}parseError(t){const r=t.responseJSON,n=QCe;switch(n.code=t.status,n.message=JCe.parseErrorMessage(this.dataServiceErrorMessageMappings,this.defaultErrorMessageKey,r),t.status){case 400:n.type=Bc.BadRequest;break;case 401:n.type=Bc.Unauthorized;break;case 403:n.type=Bc.Forbidden;break;case 404:n.type=Bc.NotFound;break;case 500:n.type=Bc.InternalServer;break}return n}}function eAe(e,t){Qs.registerInstance(ZCe,{dataServiceErrorMessageMappings:{temp:"Error"},defaultErrorMessageKey:"temp"}),t(e)}var Xs=(e=>(e.Success="success",e.Warning="warning",e.Fail="danger",e.Info="info",e.Pending="pending",e))(Xs||{}),tAe=(e=>(e.Success="Success! 🙌",e.Warning="Whoops...",e.Fail="Oops...",e.Info="FYI",e))(tAe||{});class rAe extends Ho{constructor(t){super(t)}initialize(){this.alertCollection=new U_,this.listenTo($n.ALERT,"remove:alert",this.removeAlert),this.showAlerts()}get name(){return qp.ALERT}get defaults(){return{maxAlerts:3}}showAlerts(){const t=$r.Radio.channel($n.ALERT);let r={collection:this.alertCollection};this.options.alertViewCtor&&(r=ko({},r,{ctor:this.options.alertViewCtor})),t.trigger("show:alert",r)}removeAlert(t){this.alertCollection.remove(t),this.showAlerts()}createAlert(t){this.alertCollection.length===this.options.maxAlerts&&this.alertCollection.shift(),t.id||(t=ko({},t,{id:this.generateUniqueAlertId()})),this.alertCollection.push(new ul(t)),this.showAlerts()}clearAllAlerts(){this.alertCollection.reset(null)}success(t){return typeof t=="string"?Ku(()=>this.createAlert(ko({},this.options.defaultSuccessAlert,{message:t})),this):t.useXHR?Ku((r,n)=>this.createAlert(ko({},this.options.defaultSuccessAlert,{message:n})),this):Ku(()=>this.createAlert(ko({},this.options.defaultSuccessAlert,t)),this)}error(t){return typeof t=="string"?Ku(()=>this.createAlert(ko({},this.options.defaultErrorAlert,{message:t})),this):t.useXHR?Ku(r=>this.createAlert(ko({},this.options.defaultErrorAlert,{message:r.message})),this):Ku(()=>this.createAlert(ko({},this.options.defaultErrorAlertIL_DEFAULT,t)),this)}generateUniqueAlertId(){return Ine("alert_")}}class Lae extends Ho{get defaultProps(){return["dataProvider","cache","bootstrapData","defaultErrorHandler","alertService"]}constructor(t){super(t),Dv(this,"name")||vr.throw(new On("Must provide a name when extending BaseDataService")),Dv(this,"channelName")||vr.throw(new On(`Must provide a channelName for ${Dv(this,"name")}`));const r=[...this.defaultProps,...this.props||[]];this.dataRequestSignatures={},this.mergeOptions(t,r)}getCursors(t){const r=this.cache.get(t);return r?r.cursors:{next:"",previous:""}}clearCacheAndGet(t){const{callback:r,errorCallback:n,eventPrefix:i}=t,{syncEvent:a,errorEvent:o}=this.getEventNames(i),u=this.cache.get(i);if(u&&u.openRequest){const s=d=>{on(n)&&this.stopListening(this.getChannel(),o,n),on(r)&&r(d)},c=()=>{on(r)&&this.stopListening(this.getChannel(),a,r),on(n)&&n()};this.listenToOnce(this.getChannel(),a,s),this.listenToOnce(this.getChannel(),o,c);return}this.cache.remove(t.eventPrefix),this.get(t)}get(t){const{callback:r,errorCallback:n,eventPrefix:i,resource:a,formatData:o,expiryTime:u,successHandler:s,errorHandler:c,bootstrapName:d,invalidateFlight:h}=t,{syncEvent:v,requestEvent:g,successEvent:m,errorEvent:y}=this.getEventNames(i),S=this.getChannel(),w=this.currentTimestamp();this.bootstrapData&&this.bootstrapData[d]&&(this.cacheData(i,this.bootstrapData[d],o,{openRequest:!1,timestamp:w}),delete this.bootstrapData[d]);const b=this.cache.get(i);let A;b&&(A=b.data);const R=b&&b.openRequest,x=this.isExpired(i,u);if(R){const O=P=>{on(n)&&this.stopListening(this.getChannel(),y,n),on(r)&&r(P)},_=()=>{on(r)&&this.stopListening(this.getChannel(),v,r),on(n)&&n()};this.listenToOnce(S,v,O),this.listenToOnce(S,y,_)}if((!this.cache.has(i)||x)&&(S.trigger(g),this.listenToResponse({eventPrefix:i,formatData:o,cacheOptions:{timestamp:w},callback:r,errorCallback:n,successHandler:s,errorHandler:c,invalidateFlight:h}),this.cacheData(i,null,null,{openRequest:!0,timestamp:w}),this.dataProvider.read(a,{channel:this.getTransportChannel(),successEvent:m,errorEvent:y})),A&&on(r)&&!x&&r(A),A)return A}create(t){const{eventPrefix:r,resource:n,data:i,formatData:a,callback:o,errorCallback:u,invalidationKeys:s,successHandler:c,errorHandler:d,invalidateFlight:h}=t,{requestEvent:v,successEvent:g,errorEvent:m}=this.getEventNames(t.eventPrefix),y=this.getChannel(),S=this.getTransportChannel();y.trigger(v),this.listenToResponse({eventPrefix:r,formatData:a,invalidationKeys:s,callback:o,errorCallback:u,successHandler:c,errorHandler:d,invalidateFlight:h}),this.dataProvider.create(n,i,{channel:S,successEvent:g,errorEvent:m})}update(t){const{data:r,callback:n,errorCallback:i,resource:a,formatData:o,eventPrefix:u,invalidationKeys:s,errorHandler:c,successHandler:d,invalidateFlight:h}=t,{requestEvent:v,successEvent:g,errorEvent:m}=this.getEventNames(t.eventPrefix),y=this.getChannel(),S=this.getTransportChannel();y.trigger(v),this.listenToResponse({eventPrefix:u,formatData:o,invalidationKeys:s,callback:n,errorCallback:i,successHandler:d,errorHandler:c,invalidateFlight:h}),this.dataProvider.update(a,r,{channel:S,successEvent:g,errorEvent:m})}delete(t){const{eventPrefix:r,resource:n,callback:i,errorCallback:a,invalidationKeys:o,successHandler:u,errorHandler:s,invalidateFlight:c}=t,{successEvent:d,errorEvent:h}=this.getEventNames(r),v=this.getTransportChannel(),g={noCache:!0,clearCacheKey:!0};this.listenToResponse({eventPrefix:r,invalidationKeys:o,callback:i,errorCallback:a,cacheOptions:g,successHandler:u,errorHandler:s,invalidateFlight:c}),this.dataProvider.delete(n,{channel:v,successEvent:d,errorEvent:h})}listenToResponse(t){const{eventPrefix:r,formatData:n,callback:i,errorCallback:a,successHandler:o,errorHandler:u,invalidationKeys:s,cacheOptions:c={},invalidateFlight:d}=t,{syncEvent:h,successEvent:v,errorEvent:g,successAlertEvent:m,errorAlertEvent:y}=this.getEventNames(r),S=this.getChannel(),w=this.getTransportChannel(),b=this.getAlertChannel();if(on(i)&&this.listenToOnce(S,h,i),on(a)&&this.listenToOnce(S,g,a),this.stopListening(b,m),this.stopListening(b,y),on(o)&&this.listenToOnce(b,m,o),on(u)&&this.listenToOnce(b,y,u),!on(u)&&u!==!1&&on(this.defaultErrorHandler)&&this.listenToOnce(b,y,this.defaultErrorHandler),this.hasRequestSignature(r))return;this.setRequestSignature(r);const A=(x,...O)=>{this.stopListening(S,g,a),b.trigger(m,x,...O);const _=c.noCache?this.formatData(x,n):this.cacheData(r,x,n);c.clearCacheKey&&this.cache.remove(r),S.trigger(h,_),s&&s.length&&this.cache.invalidate(s,P=>S.trigger(`${P}:invalidate`),d)},R=(...x)=>{this.stopListening(S,h,i);const O=this.dataProvider.parseError(...x);b.trigger(y,O),S.trigger(g,O),!c.noCache&&this.cacheData(r,null,null)};this.listenTo(w,v,A),this.listenTo(w,g,R)}cacheData(t,r,n,i={}){const{openRequest:a=!1}=i;let{timestamp:o}=i;o||(o=this.currentTimestamp());const u=this.processPagination(r),s=this.formatData(r,n);return this.cache.set(t,{data:s,timestamp:o,cursors:u,openRequest:a}),s}processPagination(t){if(!t)return;const{pagination:r}=t;if(r){if(r.cursors)return r.cursors;if(!iy(r.offset)&&!iy(r.pageSize))return this.convertOffsetPaginationToCursors(r);if(r.page)return this.convertLegacyPaginationToCursors(r)}}formatData(t,r){return on(r)?r(t):t}chain(){const t=[],r=(a,o)=>{on(a)&&a(o)},n=(a,o)=>{const u=()=>{const s=a.callback;a.callback=c=>{r(s,c),r(t.shift())},this[o](a)};return t.push(u),i},i={func(a){return t.push(()=>{a(t.shift()||(()=>{}))}),i},get(a){return n(a,"get")},create(a){return n(a,"create")},update(a){return n(a,"update")},delete(a){return n(a,"delete")},run(){r(t.shift())}};return i}invalidateCache(t,r=!1){!t||!t.length||this.cache.invalidate(t,n=>this.getChannel().trigger(`${n}:invalidate`),r)}currentTimestamp(){return new Date().valueOf()}isExpired(t,r){if(!r)return!1;const n=this.cache.get(t);if(!n||!n.timestamp)return!0;const i=1e3,a=n.timestamp,o=r*i;return a<this.currentTimestamp()-o}getEventNames(t){return{syncEvent:`${t}:sync`,requestEvent:`${t}:request`,successEvent:`${t}:success`,errorEvent:`${t}:error`,successAlertEvent:`${t}:success:alert`,errorAlertEvent:`${t}:error:alert`}}getTransportChannel(){return $r.Radio.channel(`${this.channelName}:transport`)}getAlertChannel(){return $r.Radio.channel(`${this.channelName}:alert`)}setRequestSignature(t){this.dataRequestSignatures[t]=t}hasRequestSignature(t){return!!this.dataRequestSignatures[t]}convertOffsetPaginationToCursors(t){const{offset:r,pageSize:n,totalItems:i}=t,a=i>0&&r<i&&r+n,o=i>0&&r>0&&Math.max(r-n,0),u={};if(a&&a<i&&(u.next=a.toString()),Ld(o)&&(u.previous=o.toString()),!Gv(u))return u}convertLegacyPaginationToCursors(t){const{page:r,totalPages:n}=t,i=Ld(r)&&r>0&&r<n&&r+1,a=Ld(r)&&r>1&&r-1,o={};if(i&&i<=n&&(o.next=i.toString()),a&&(o.previous=a.toString()),!Gv(o))return o}}const nAe=5;class iAe extends Ho{constructor(){super(...arguments),this.contextHistory=[]}get name(){return sk.Context}static get Instance(){return this.instance||(this.instance=new this)}initialize(){this.listenTo($n.SHELL,Fn.ROUTE,this.setContext)}setContext(t){this.contextHistory.length>=nAe&&this.contextHistory.unshift(),this.contextHistory.push({pageLoad:!this.contextHistory.length,appLink:t})}getCurrentContext(){if(this.contextHistory.length)return this.contextHistory[this.contextHistory.length-1]}fromPageLoad(){return this.contextHistory.length===1}}const aAe=new iAe,oAe=gae.V2;class sAe{constructor(t,r,n,i){this.type=t,this.data=r,this.actionContext=n,this.eventVersion=i||oAe}isType(t){return t===this.type}enrich(t,r){this.validateKey(t),this[t]=r}get(t){if(t&&this[t])return this[t]}validateKey(t){(t==="type"||t==="data")&&vr.throw(new On(`${t} is not a valid key`)),this[t]&&vr.throw(new On(`Event already contains an enrichment named ${t}`))}}const uAe={log(e,t,r,n){$r.Radio.channel(sae.ANALYTICS).trigger($d.Inlet,new sAe(e,t,r,n))}};function lAe(){const{appLink:e}=aAe.getCurrentContext();return Ms(e)||vr.throw(new On("Applink does not exist. Check current context.")),dAe(e.application)}function om(e={}){const{location:t,entity:r,workflowPhase:n=null,descriptor:i=null}=e;return t||vr.throw(new On("location must be set.")),r||vr.throw(new On("entity must be set.")),{productArea:e.productArea??lAe(),location:t,entity:r,descriptor:i,workflowPhase:n}}function cAe(e){return!!(fc(e)&&TI(e,t=>Ms(t))||Ms(e))}function fAe(){return Yn.GetCurrentPath()+Yn.GetCurrentQueryString()}function dAe(e){return e.replace(":","-")}const wa={logUserAction(e,t){if(!cAe(e)||!Ms(t))return;const{userAction:r,action:n,eventVersion:i}=wa.buildUserActionEvent(t);uAe.log(r,e,n,i)},mergeOptions(e,t){return Array.isArray(t)||(t=[t]),ko({},e,...t)},buildActionContext(e={}){return om(e)},buildUserActionEvent(e={}){const{actionType:t,eventVersion:r}=e,n=t,i=om(e);return{userAction:n,action:i,eventVersion:r}},buildCurrentLocation(){return fAe()},buildSearchEvent(e,t){return{data:{query:e},action:om({entity:xn.Video,location:ka.SearchBar,descriptor:t})}},buildInstantSearchEvent(e,t,r){let n;r===Bl.Series&&(n=xn.Series),r===Bl.Folder&&(n=xn.Folder),r===Bl.Tags&&(n=xn.Tag),r===Bl.Video&&(n=xn.Video),r===Bl.Clip&&(n=xn.Clip),r===Bl.Interactive&&(n=xn.Interactive),r===Bl.Subjects&&(n=xn.Classification);const i={instant:{},query:e};return t.id&&(i.instant.selectedId=t.id),t.name&&(i.instant.selectedName=t.name),{data:i,action:om({entity:n,location:ka.SearchBar})}},mapInteractionType(e){switch(e){case UI.DragDrop:return jI.DragDrop;case UI.FileSelect:return jI.FileSelect;default:return}}},tl={UPLOAD_COMPLETE:"upload:complete",UPLOAD_SUCCESS:"upload:success",FILES_ADDED:"files:added",UPLOAD_CANCELLED:"upload:cancelled",UNLOCK_NAV:"upload:unlock:nav"};var mk=(e=>(e[e.Permanent=0]="Permanent",e[e.Temporary=1]="Temporary",e))(mk||{});class $f extends j_{constructor(t){super(t),this.dialogOptions||vr.throw(new On("Please provide DialogOptions for your implementation of DialogError"))}get name(){return"DialogError"}onDone(){}onFail(){}}class hAe extends $f{constructor(t){super(t)}get name(){return"FileTypeError"}get lang(){return"upload.fileType"}get dialogOptions(){return{title:gr.getPhrase(this.lang,"heading"),text:gr.getPhrase(this.lang,"body"),buttons:[{text:gr.getPhrase(this.lang,"okay"),className:"btn btn-dark",success:!0},{text:gr.getPhrase(this.lang,"close"),className:"btn btn-link",close:!0}]}}}const vAe=["pdf"],pAe=["doc","docx","dotx","dot","rtf","docm","odt"],gAe=["csv","txt"],mAe=["xlsx"],XA=["jpg","jpeg","png","bmp","gif"],RQ=["3gp","3gpp","asx","avi","divx","flv","m2t","m2ts","m2v","m4v","mkv","mod","mov","mp4","mpe","mpeg","mpg","mts","ogv","qt","ts","vob","webm","wmv"],yAe=["zip"],_Ae=["ppt","pps","pptx"],SAe=["srt"],xv={IMAGES:`.${XA.join(",.")}`,VIDEO:`.${RQ.join(",.")}`,MIXED_MEDIA:`.${XA.join(",.")},${RQ.join(",.")}`,RESOURCES:`.${[...pAe,...mAe,..._Ae,...vAe,...gAe,...XA,...yAe].join(",.")}`,SUBTITLES:`.${SAe.join(",.")}`},EAe={LANGUAGE:"language:data:service"},Cv={VIDEO_UPLOAD:"video:upload:service",SUBTITLE_UPLOAD:"subtitle:upload:service",RESOURCE_UPLOAD:"resource:upload:service",MIXED_MEDIA_UPLOAD:"media:upload:service"},wAe={requestUpload(e,t){const r=e.name.split("."),n=t===mk.Permanent?null:Cn.add(new Date,7,"days").toISOString(),i={name:r.join("."),extension:r.length>1?r.pop():"",size:e.size,lifestyle:t,dateExpires:n,contentType:"multipart/form-data",chunkUploadEnabled:!0};return{url:"{gateway}/v1/files/upload",key:"upload:file",type:fn.POST,data:i}}};var QA={exports:{}},xQ;function bAe(){return xQ||(xQ=1,(function(e,t){(function(n,i){e.exports=i()})(self,function(){return(function(){var r={3099:(function(o){o.exports=function(u){if(typeof u!="function")throw TypeError(String(u)+" is not a function");return u}}),6077:(function(o,u,s){var c=s(111);o.exports=function(d){if(!c(d)&&d!==null)throw TypeError("Can't set "+String(d)+" as a prototype");return d}}),1223:(function(o,u,s){var c=s(5112),d=s(30),h=s(3070),v=c("unscopables"),g=Array.prototype;g[v]==null&&h.f(g,v,{configurable:!0,value:d(null)}),o.exports=function(m){g[v][m]=!0}}),1530:(function(o,u,s){var c=s(8710).charAt;o.exports=function(d,h,v){return h+(v?c(d,h).length:1)}}),5787:(function(o){o.exports=function(u,s,c){if(!(u instanceof s))throw TypeError("Incorrect "+(c?c+" ":"")+"invocation");return u}}),9670:(function(o,u,s){var c=s(111);o.exports=function(d){if(!c(d))throw TypeError(String(d)+" is not an object");return d}}),4019:(function(o){o.exports=typeof ArrayBuffer<"u"&&typeof DataView<"u"}),260:(function(o,u,s){var c=s(4019),d=s(9781),h=s(7854),v=s(111),g=s(6656),m=s(648),y=s(8880),S=s(1320),w=s(3070).f,b=s(9518),A=s(7674),R=s(5112),x=s(9711),O=h.Int8Array,_=O&&O.prototype,P=h.Uint8ClampedArray,N=P&&P.prototype,U=O&&b(O),$=_&&b(_),B=Object.prototype,Y=B.isPrototypeOf,Q=R("toStringTag"),K=x("TYPED_ARRAY_TAG"),ee=c&&!!A&&m(h.opera)!=="Opera",ne=!1,D,I={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},L={BigInt64Array:8,BigUint64Array:8},re=function(k){if(!v(k))return!1;var q=m(k);return q==="DataView"||g(I,q)||g(L,q)},te=function(z){if(!v(z))return!1;var k=m(z);return g(I,k)||g(L,k)},ce=function(z){if(te(z))return z;throw TypeError("Target is not a typed array")},be=function(z){if(A){if(Y.call(U,z))return z}else for(var k in I)if(g(I,D)){var q=h[k];if(q&&(z===q||Y.call(q,z)))return z}throw TypeError("Target is not a typed array constructor")},Ie=function(z,k,q){if(d){if(q)for(var H in I){var ie=h[H];ie&&g(ie.prototype,z)&&delete ie.prototype[z]}(!$[z]||q)&&S($,z,q?k:ee&&_[z]||k)}},je=function(z,k,q){var H,ie;if(d){if(A){if(q)for(H in I)ie=h[H],ie&&g(ie,z)&&delete ie[z];if(!U[z]||q)try{return S(U,z,q?k:ee&&O[z]||k)}catch{}else return}for(H in I)ie=h[H],ie&&(!ie[z]||q)&&S(ie,z,k)}};for(D in I)h[D]||(ee=!1);if((!ee||typeof U!="function"||U===Function.prototype)&&(U=function(){throw TypeError("Incorrect invocation")},ee))for(D in I)h[D]&&A(h[D],U);if((!ee||!$||$===B)&&($=U.prototype,ee))for(D in I)h[D]&&A(h[D].prototype,$);if(ee&&b(N)!==$&&A(N,$),d&&!g($,Q)){ne=!0,w($,Q,{get:function(){return v(this)?this[K]:void 0}});for(D in I)h[D]&&y(h[D],K,D)}o.exports={NATIVE_ARRAY_BUFFER_VIEWS:ee,TYPED_ARRAY_TAG:ne&&K,aTypedArray:ce,aTypedArrayConstructor:be,exportTypedArrayMethod:Ie,exportTypedArrayStaticMethod:je,isView:re,isTypedArray:te,TypedArray:U,TypedArrayPrototype:$}}),3331:(function(o,u,s){var c=s(7854),d=s(9781),h=s(4019),v=s(8880),g=s(2248),m=s(7293),y=s(5787),S=s(9958),w=s(7466),b=s(7067),A=s(1179),R=s(9518),x=s(7674),O=s(8006).f,_=s(3070).f,P=s(1285),N=s(8003),U=s(9909),$=U.get,B=U.set,Y="ArrayBuffer",Q="DataView",K="prototype",ee="Wrong length",ne="Wrong index",D=c[Y],I=D,L=c[Q],re=L&&L[K],te=Object.prototype,ce=c.RangeError,be=A.pack,Ie=A.unpack,je=function(Ee){return[Ee&255]},z=function(Ee){return[Ee&255,Ee>>8&255]},k=function(Ee){return[Ee&255,Ee>>8&255,Ee>>16&255,Ee>>24&255]},q=function(Ee){return Ee[3]<<24|Ee[2]<<16|Ee[1]<<8|Ee[0]},H=function(Ee){return be(Ee,23,4)},ie=function(Ee){return be(Ee,52,8)},V=function(Ee,_e){_(Ee[K],_e,{get:function(){return $(this)[_e]}})},Z=function(Ee,_e,xe,ke){var Le=b(xe),He=$(Ee);if(Le+_e>He.byteLength)throw ce(ne);var _t=$(He.buffer).bytes,jt=Le+He.byteOffset,Lt=_t.slice(jt,jt+_e);return ke?Lt:Lt.reverse()},me=function(Ee,_e,xe,ke,Le,He){var _t=b(xe),jt=$(Ee);if(_t+_e>jt.byteLength)throw ce(ne);for(var Lt=$(jt.buffer).bytes,Qe=_t+jt.byteOffset,bt=ke(+Le),mt=0;mt<_e;mt++)Lt[Qe+mt]=bt[He?mt:_e-mt-1]};if(!h)I=function(_e){y(this,I,Y);var xe=b(_e);B(this,{bytes:P.call(new Array(xe),0),byteLength:xe}),d||(this.byteLength=xe)},L=function(_e,xe,ke){y(this,L,Q),y(_e,I,Q);var Le=$(_e).byteLength,He=S(xe);if(He<0||He>Le)throw ce("Wrong offset");if(ke=ke===void 0?Le-He:w(ke),He+ke>Le)throw ce(ee);B(this,{buffer:_e,byteLength:ke,byteOffset:He}),d||(this.buffer=_e,this.byteLength=ke,this.byteOffset=He)},d&&(V(I,"byteLength"),V(L,"buffer"),V(L,"byteLength"),V(L,"byteOffset")),g(L[K],{getInt8:function(_e){return Z(this,1,_e)[0]<<24>>24},getUint8:function(_e){return Z(this,1,_e)[0]},getInt16:function(_e){var xe=Z(this,2,_e,arguments.length>1?arguments[1]:void 0);return(xe[1]<<8|xe[0])<<16>>16},getUint16:function(_e){var xe=Z(this,2,_e,arguments.length>1?arguments[1]:void 0);return xe[1]<<8|xe[0]},getInt32:function(_e){return q(Z(this,4,_e,arguments.length>1?arguments[1]:void 0))},getUint32:function(_e){return q(Z(this,4,_e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(_e){return Ie(Z(this,4,_e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(_e){return Ie(Z(this,8,_e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(_e,xe){me(this,1,_e,je,xe)},setUint8:function(_e,xe){me(this,1,_e,je,xe)},setInt16:function(_e,xe){me(this,2,_e,z,xe,arguments.length>2?arguments[2]:void 0)},setUint16:function(_e,xe){me(this,2,_e,z,xe,arguments.length>2?arguments[2]:void 0)},setInt32:function(_e,xe){me(this,4,_e,k,xe,arguments.length>2?arguments[2]:void 0)},setUint32:function(_e,xe){me(this,4,_e,k,xe,arguments.length>2?arguments[2]:void 0)},setFloat32:function(_e,xe){me(this,4,_e,H,xe,arguments.length>2?arguments[2]:void 0)},setFloat64:function(_e,xe){me(this,8,_e,ie,xe,arguments.length>2?arguments[2]:void 0)}});else{if(!m(function(){D(1)})||!m(function(){new D(-1)})||m(function(){return new D,new D(1.5),new D(NaN),D.name!=Y})){I=function(_e){return y(this,I),new D(b(_e))};for(var fe=I[K]=D[K],Re=O(D),Se=0,Oe;Re.length>Se;)(Oe=Re[Se++])in I||v(I,Oe,D[Oe]);fe.constructor=I}x&&R(re)!==te&&x(re,te);var Me=new L(new I(2)),de=re.setInt8;Me.setInt8(0,2147483648),Me.setInt8(1,2147483649),(Me.getInt8(0)||!Me.getInt8(1))&&g(re,{setInt8:function(_e,xe){de.call(this,_e,xe<<24>>24)},setUint8:function(_e,xe){de.call(this,_e,xe<<24>>24)}},{unsafe:!0})}N(I,Y),N(L,Q),o.exports={ArrayBuffer:I,DataView:L}}),1048:(function(o,u,s){var c=s(7908),d=s(1400),h=s(7466),v=Math.min;o.exports=[].copyWithin||function(m,y){var S=c(this),w=h(S.length),b=d(m,w),A=d(y,w),R=arguments.length>2?arguments[2]:void 0,x=v((R===void 0?w:d(R,w))-A,w-b),O=1;for(A<b&&b<A+x&&(O=-1,A+=x-1,b+=x-1);x-- >0;)A in S?S[b]=S[A]:delete S[b],b+=O,A+=O;return S}}),1285:(function(o,u,s){var c=s(7908),d=s(1400),h=s(7466);o.exports=function(g){for(var m=c(this),y=h(m.length),S=arguments.length,w=d(S>1?arguments[1]:void 0,y),b=S>2?arguments[2]:void 0,A=b===void 0?y:d(b,y);A>w;)m[w++]=g;return m}}),8533:(function(o,u,s){var c=s(2092).forEach,d=s(9341),h=d("forEach");o.exports=h?[].forEach:function(g){return c(this,g,arguments.length>1?arguments[1]:void 0)}}),8457:(function(o,u,s){var c=s(9974),d=s(7908),h=s(3411),v=s(7659),g=s(7466),m=s(6135),y=s(1246);o.exports=function(w){var b=d(w),A=typeof this=="function"?this:Array,R=arguments.length,x=R>1?arguments[1]:void 0,O=x!==void 0,_=y(b),P=0,N,U,$,B,Y,Q;if(O&&(x=c(x,R>2?arguments[2]:void 0,2)),_!=null&&!(A==Array&&v(_)))for(B=_.call(b),Y=B.next,U=new A;!($=Y.call(B)).done;P++)Q=O?h(B,x,[$.value,P],!0):$.value,m(U,P,Q);else for(N=g(b.length),U=new A(N);N>P;P++)Q=O?x(b[P],P):b[P],m(U,P,Q);return U.length=P,U}}),1318:(function(o,u,s){var c=s(5656),d=s(7466),h=s(1400),v=function(g){return function(m,y,S){var w=c(m),b=d(w.length),A=h(S,b),R;if(g&&y!=y){for(;b>A;)if(R=w[A++],R!=R)return!0}else for(;b>A;A++)if((g||A in w)&&w[A]===y)return g||A||0;return!g&&-1}};o.exports={includes:v(!0),indexOf:v(!1)}}),2092:(function(o,u,s){var c=s(9974),d=s(8361),h=s(7908),v=s(7466),g=s(5417),m=[].push,y=function(S){var w=S==1,b=S==2,A=S==3,R=S==4,x=S==6,O=S==7,_=S==5||x;return function(P,N,U,$){for(var B=h(P),Y=d(B),Q=c(N,U,3),K=v(Y.length),ee=0,ne=$||g,D=w?ne(P,K):b||O?ne(P,0):void 0,I,L;K>ee;ee++)if((_||ee in Y)&&(I=Y[ee],L=Q(I,ee,B),S))if(w)D[ee]=L;else if(L)switch(S){case 3:return!0;case 5:return I;case 6:return ee;case 2:m.call(D,I)}else switch(S){case 4:return!1;case 7:m.call(D,I)}return x?-1:A||R?R:D}};o.exports={forEach:y(0),map:y(1),filter:y(2),some:y(3),every:y(4),find:y(5),findIndex:y(6),filterOut:y(7)}}),6583:(function(o,u,s){var c=s(5656),d=s(9958),h=s(7466),v=s(9341),g=Math.min,m=[].lastIndexOf,y=!!m&&1/[1].lastIndexOf(1,-0)<0,S=v("lastIndexOf"),w=y||!S;o.exports=w?function(A){if(y)return m.apply(this,arguments)||0;var R=c(this),x=h(R.length),O=x-1;for(arguments.length>1&&(O=g(O,d(arguments[1]))),O<0&&(O=x+O);O>=0;O--)if(O in R&&R[O]===A)return O||0;return-1}:m}),1194:(function(o,u,s){var c=s(7293),d=s(5112),h=s(7392),v=d("species");o.exports=function(g){return h>=51||!c(function(){var m=[],y=m.constructor={};return y[v]=function(){return{foo:1}},m[g](Boolean).foo!==1})}}),9341:(function(o,u,s){var c=s(7293);o.exports=function(d,h){var v=[][d];return!!v&&c(function(){v.call(null,h||function(){throw 1},1)})}}),3671:(function(o,u,s){var c=s(3099),d=s(7908),h=s(8361),v=s(7466),g=function(m){return function(y,S,w,b){c(S);var A=d(y),R=h(A),x=v(A.length),O=m?x-1:0,_=m?-1:1;if(w<2)for(;;){if(O in R){b=R[O],O+=_;break}if(O+=_,m?O<0:x<=O)throw TypeError("Reduce of empty array with no initial value")}for(;m?O>=0:x>O;O+=_)O in R&&(b=S(b,R[O],O,A));return b}};o.exports={left:g(!1),right:g(!0)}}),5417:(function(o,u,s){var c=s(111),d=s(3157),h=s(5112),v=h("species");o.exports=function(g,m){var y;return d(g)&&(y=g.constructor,typeof y=="function"&&(y===Array||d(y.prototype))?y=void 0:c(y)&&(y=y[v],y===null&&(y=void 0))),new(y===void 0?Array:y)(m===0?0:m)}}),3411:(function(o,u,s){var c=s(9670),d=s(9212);o.exports=function(h,v,g,m){try{return m?v(c(g)[0],g[1]):v(g)}catch(y){throw d(h),y}}}),7072:(function(o,u,s){var c=s(5112),d=c("iterator"),h=!1;try{var v=0,g={next:function(){return{done:!!v++}},return:function(){h=!0}};g[d]=function(){return this},Array.from(g,function(){throw 2})}catch{}o.exports=function(m,y){if(!y&&!h)return!1;var S=!1;try{var w={};w[d]=function(){return{next:function(){return{done:S=!0}}}},m(w)}catch{}return S}}),4326:(function(o){var u={}.toString;o.exports=function(s){return u.call(s).slice(8,-1)}}),648:(function(o,u,s){var c=s(1694),d=s(4326),h=s(5112),v=h("toStringTag"),g=d((function(){return arguments})())=="Arguments",m=function(y,S){try{return y[S]}catch{}};o.exports=c?d:function(y){var S,w,b;return y===void 0?"Undefined":y===null?"Null":typeof(w=m(S=Object(y),v))=="string"?w:g?d(S):(b=d(S))=="Object"&&typeof S.callee=="function"?"Arguments":b}}),9920:(function(o,u,s){var c=s(6656),d=s(3887),h=s(1236),v=s(3070);o.exports=function(g,m){for(var y=d(m),S=v.f,w=h.f,b=0;b<y.length;b++){var A=y[b];c(g,A)||S(g,A,w(m,A))}}}),8544:(function(o,u,s){var c=s(7293);o.exports=!c(function(){function d(){}return d.prototype.constructor=null,Object.getPrototypeOf(new d)!==d.prototype})}),4994:(function(o,u,s){var c=s(3383).IteratorPrototype,d=s(30),h=s(9114),v=s(8003),g=s(7497),m=function(){return this};o.exports=function(y,S,w){var b=S+" Iterator";return y.prototype=d(c,{next:h(1,w)}),v(y,b,!1,!0),g[b]=m,y}}),8880:(function(o,u,s){var c=s(9781),d=s(3070),h=s(9114);o.exports=c?function(v,g,m){return d.f(v,g,h(1,m))}:function(v,g,m){return v[g]=m,v}}),9114:(function(o){o.exports=function(u,s){return{enumerable:!(u&1),configurable:!(u&2),writable:!(u&4),value:s}}}),6135:(function(o,u,s){var c=s(7593),d=s(3070),h=s(9114);o.exports=function(v,g,m){var y=c(g);y in v?d.f(v,y,h(0,m)):v[y]=m}}),654:(function(o,u,s){var c=s(2109),d=s(4994),h=s(9518),v=s(7674),g=s(8003),m=s(8880),y=s(1320),S=s(5112),w=s(1913),b=s(7497),A=s(3383),R=A.IteratorPrototype,x=A.BUGGY_SAFARI_ITERATORS,O=S("iterator"),_="keys",P="values",N="entries",U=function(){return this};o.exports=function($,B,Y,Q,K,ee,ne){d(Y,B,Q);var D=function(k){if(k===K&&ce)return ce;if(!x&&k in re)return re[k];switch(k){case _:return function(){return new Y(this,k)};case P:return function(){return new Y(this,k)};case N:return function(){return new Y(this,k)}}return function(){return new Y(this)}},I=B+" Iterator",L=!1,re=$.prototype,te=re[O]||re["@@iterator"]||K&&re[K],ce=!x&&te||D(K),be=B=="Array"&&re.entries||te,Ie,je,z;if(be&&(Ie=h(be.call(new $)),R!==Object.prototype&&Ie.next&&(!w&&h(Ie)!==R&&(v?v(Ie,R):typeof Ie[O]!="function"&&m(Ie,O,U)),g(Ie,I,!0,!0),w&&(b[I]=U))),K==P&&te&&te.name!==P&&(L=!0,ce=function(){return te.call(this)}),(!w||ne)&&re[O]!==ce&&m(re,O,ce),b[B]=ce,K)if(je={values:D(P),keys:ee?ce:D(_),entries:D(N)},ne)for(z in je)(x||L||!(z in re))&&y(re,z,je[z]);else c({target:B,proto:!0,forced:x||L},je);return je}}),9781:(function(o,u,s){var c=s(7293);o.exports=!c(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),317:(function(o,u,s){var c=s(7854),d=s(111),h=c.document,v=d(h)&&d(h.createElement);o.exports=function(g){return v?h.createElement(g):{}}}),8324:(function(o){o.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}}),8113:(function(o,u,s){var c=s(5005);o.exports=c("navigator","userAgent")||""}),7392:(function(o,u,s){var c=s(7854),d=s(8113),h=c.process,v=h&&h.versions,g=v&&v.v8,m,y;g?(m=g.split("."),y=m[0]+m[1]):d&&(m=d.match(/Edge\/(\d+)/),(!m||m[1]>=74)&&(m=d.match(/Chrome\/(\d+)/),m&&(y=m[1]))),o.exports=y&&+y}),748:(function(o){o.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),2109:(function(o,u,s){var c=s(7854),d=s(1236).f,h=s(8880),v=s(1320),g=s(3505),m=s(9920),y=s(4705);o.exports=function(S,w){var b=S.target,A=S.global,R=S.stat,x,O,_,P,N,U;if(A?O=c:R?O=c[b]||g(b,{}):O=(c[b]||{}).prototype,O)for(_ in w){if(N=w[_],S.noTargetGet?(U=d(O,_),P=U&&U.value):P=O[_],x=y(A?_:b+(R?".":"#")+_,S.forced),!x&&P!==void 0){if(typeof N==typeof P)continue;m(N,P)}(S.sham||P&&P.sham)&&h(N,"sham",!0),v(O,_,N,S)}}}),7293:(function(o){o.exports=function(u){try{return!!u()}catch{return!0}}}),7007:(function(o,u,s){s(4916);var c=s(1320),d=s(7293),h=s(5112),v=s(2261),g=s(8880),m=h("species"),y=!d(function(){var R=/./;return R.exec=function(){var x=[];return x.groups={a:"7"},x},"".replace(R,"$<a>")!=="7"}),S=(function(){return"a".replace(/./,"$0")==="$0"})(),w=h("replace"),b=(function(){return/./[w]?/./[w]("a","$0")==="":!1})(),A=!d(function(){var R=/(?:)/,x=R.exec;R.exec=function(){return x.apply(this,arguments)};var O="ab".split(R);return O.length!==2||O[0]!=="a"||O[1]!=="b"});o.exports=function(R,x,O,_){var P=h(R),N=!d(function(){var K={};return K[P]=function(){return 7},""[R](K)!=7}),U=N&&!d(function(){var K=!1,ee=/a/;return R==="split"&&(ee={},ee.constructor={},ee.constructor[m]=function(){return ee},ee.flags="",ee[P]=/./[P]),ee.exec=function(){return K=!0,null},ee[P](""),!K});if(!N||!U||R==="replace"&&!(y&&S&&!b)||R==="split"&&!A){var $=/./[P],B=O(P,""[R],function(K,ee,ne,D,I){return ee.exec===v?N&&!I?{done:!0,value:$.call(ee,ne,D)}:{done:!0,value:K.call(ne,ee,D)}:{done:!1}},{REPLACE_KEEPS_$0:S,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:b}),Y=B[0],Q=B[1];c(String.prototype,R,Y),c(RegExp.prototype,P,x==2?function(K,ee){return Q.call(K,this,ee)}:function(K){return Q.call(K,this)})}_&&g(RegExp.prototype[P],"sham",!0)}}),9974:(function(o,u,s){var c=s(3099);o.exports=function(d,h,v){if(c(d),h===void 0)return d;switch(v){case 0:return function(){return d.call(h)};case 1:return function(g){return d.call(h,g)};case 2:return function(g,m){return d.call(h,g,m)};case 3:return function(g,m,y){return d.call(h,g,m,y)}}return function(){return d.apply(h,arguments)}}}),5005:(function(o,u,s){var c=s(857),d=s(7854),h=function(v){return typeof v=="function"?v:void 0};o.exports=function(v,g){return arguments.length<2?h(c[v])||h(d[v]):c[v]&&c[v][g]||d[v]&&d[v][g]}}),1246:(function(o,u,s){var c=s(648),d=s(7497),h=s(5112),v=h("iterator");o.exports=function(g){if(g!=null)return g[v]||g["@@iterator"]||d[c(g)]}}),8554:(function(o,u,s){var c=s(9670),d=s(1246);o.exports=function(h){var v=d(h);if(typeof v!="function")throw TypeError(String(h)+" is not iterable");return c(v.call(h))}}),647:(function(o,u,s){var c=s(7908),d=Math.floor,h="".replace,v=/\$([$&'`]|\d\d?|<[^>]*>)/g,g=/\$([$&'`]|\d\d?)/g;o.exports=function(m,y,S,w,b,A){var R=S+m.length,x=w.length,O=g;return b!==void 0&&(b=c(b),O=v),h.call(A,O,function(_,P){var N;switch(P.charAt(0)){case"$":return"$";case"&":return m;case"`":return y.slice(0,S);case"'":return y.slice(R);case"<":N=b[P.slice(1,-1)];break;default:var U=+P;if(U===0)return _;if(U>x){var $=d(U/10);return $===0?_:$<=x?w[$-1]===void 0?P.charAt(1):w[$-1]+P.charAt(1):_}N=w[U-1]}return N===void 0?"":N})}}),7854:(function(o,u,s){var c=function(d){return d&&d.Math==Math&&d};o.exports=c(typeof globalThis=="object"&&globalThis)||c(typeof window=="object"&&window)||c(typeof self=="object"&&self)||c(typeof s.g=="object"&&s.g)||(function(){return this})()||Function("return this")()}),6656:(function(o){var u={}.hasOwnProperty;o.exports=function(s,c){return u.call(s,c)}}),3501:(function(o){o.exports={}}),490:(function(o,u,s){var c=s(5005);o.exports=c("document","documentElement")}),4664:(function(o,u,s){var c=s(9781),d=s(7293),h=s(317);o.exports=!c&&!d(function(){return Object.defineProperty(h("div"),"a",{get:function(){return 7}}).a!=7})}),1179:(function(o){var u=Math.abs,s=Math.pow,c=Math.floor,d=Math.log,h=Math.LN2,v=function(m,y,S){var w=new Array(S),b=S*8-y-1,A=(1<<b)-1,R=A>>1,x=y===23?s(2,-24)-s(2,-77):0,O=m<0||m===0&&1/m<0?1:0,_=0,P,N,U;for(m=u(m),m!=m||m===1/0?(N=m!=m?1:0,P=A):(P=c(d(m)/h),m*(U=s(2,-P))<1&&(P--,U*=2),P+R>=1?m+=x/U:m+=x*s(2,1-R),m*U>=2&&(P++,U/=2),P+R>=A?(N=0,P=A):P+R>=1?(N=(m*U-1)*s(2,y),P=P+R):(N=m*s(2,R-1)*s(2,y),P=0));y>=8;w[_++]=N&255,N/=256,y-=8);for(P=P<<y|N,b+=y;b>0;w[_++]=P&255,P/=256,b-=8);return w[--_]|=O*128,w},g=function(m,y){var S=m.length,w=S*8-y-1,b=(1<<w)-1,A=b>>1,R=w-7,x=S-1,O=m[x--],_=O&127,P;for(O>>=7;R>0;_=_*256+m[x],x--,R-=8);for(P=_&(1<<-R)-1,_>>=-R,R+=y;R>0;P=P*256+m[x],x--,R-=8);if(_===0)_=1-A;else{if(_===b)return P?NaN:O?-1/0:1/0;P=P+s(2,y),_=_-A}return(O?-1:1)*P*s(2,_-y)};o.exports={pack:v,unpack:g}}),8361:(function(o,u,s){var c=s(7293),d=s(4326),h="".split;o.exports=c(function(){return!Object("z").propertyIsEnumerable(0)})?function(v){return d(v)=="String"?h.call(v,""):Object(v)}:Object}),9587:(function(o,u,s){var c=s(111),d=s(7674);o.exports=function(h,v,g){var m,y;return d&&typeof(m=v.constructor)=="function"&&m!==g&&c(y=m.prototype)&&y!==g.prototype&&d(h,y),h}}),2788:(function(o,u,s){var c=s(5465),d=Function.toString;typeof c.inspectSource!="function"&&(c.inspectSource=function(h){return d.call(h)}),o.exports=c.inspectSource}),9909:(function(o,u,s){var c=s(8536),d=s(7854),h=s(111),v=s(8880),g=s(6656),m=s(5465),y=s(6200),S=s(3501),w=d.WeakMap,b,A,R,x=function(B){return R(B)?A(B):b(B,{})},O=function(B){return function(Y){var Q;if(!h(Y)||(Q=A(Y)).type!==B)throw TypeError("Incompatible receiver, "+B+" required");return Q}};if(c){var _=m.state||(m.state=new w),P=_.get,N=_.has,U=_.set;b=function(B,Y){return Y.facade=B,U.call(_,B,Y),Y},A=function(B){return P.call(_,B)||{}},R=function(B){return N.call(_,B)}}else{var $=y("state");S[$]=!0,b=function(B,Y){return Y.facade=B,v(B,$,Y),Y},A=function(B){return g(B,$)?B[$]:{}},R=function(B){return g(B,$)}}o.exports={set:b,get:A,has:R,enforce:x,getterFor:O}}),7659:(function(o,u,s){var c=s(5112),d=s(7497),h=c("iterator"),v=Array.prototype;o.exports=function(g){return g!==void 0&&(d.Array===g||v[h]===g)}}),3157:(function(o,u,s){var c=s(4326);o.exports=Array.isArray||function(h){return c(h)=="Array"}}),4705:(function(o,u,s){var c=s(7293),d=/#|\.prototype\./,h=function(S,w){var b=g[v(S)];return b==y?!0:b==m?!1:typeof w=="function"?c(w):!!w},v=h.normalize=function(S){return String(S).replace(d,".").toLowerCase()},g=h.data={},m=h.NATIVE="N",y=h.POLYFILL="P";o.exports=h}),111:(function(o){o.exports=function(u){return typeof u=="object"?u!==null:typeof u=="function"}}),1913:(function(o){o.exports=!1}),7850:(function(o,u,s){var c=s(111),d=s(4326),h=s(5112),v=h("match");o.exports=function(g){var m;return c(g)&&((m=g[v])!==void 0?!!m:d(g)=="RegExp")}}),9212:(function(o,u,s){var c=s(9670);o.exports=function(d){var h=d.return;if(h!==void 0)return c(h.call(d)).value}}),3383:(function(o,u,s){var c=s(7293),d=s(9518),h=s(8880),v=s(6656),g=s(5112),m=s(1913),y=g("iterator"),S=!1,w=function(){return this},b,A,R;[].keys&&(R=[].keys(),"next"in R?(A=d(d(R)),A!==Object.prototype&&(b=A)):S=!0);var x=b==null||c(function(){var O={};return b[y].call(O)!==O});x&&(b={}),(!m||x)&&!v(b,y)&&h(b,y,w),o.exports={IteratorPrototype:b,BUGGY_SAFARI_ITERATORS:S}}),7497:(function(o){o.exports={}}),133:(function(o,u,s){var c=s(7293);o.exports=!!Object.getOwnPropertySymbols&&!c(function(){return!String(Symbol())})}),590:(function(o,u,s){var c=s(7293),d=s(5112),h=s(1913),v=d("iterator");o.exports=!c(function(){var g=new URL("b?a=1&b=2&c=3","http://a"),m=g.searchParams,y="";return g.pathname="c%20d",m.forEach(function(S,w){m.delete("b"),y+=w+S}),h&&!g.toJSON||!m.sort||g.href!=="http://a/c%20d?a=1&c=3"||m.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!m[v]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("http://тест").host!=="xn--e1aybc"||new URL("http://a#б").hash!=="#%D0%B1"||y!=="a1c3"||new URL("http://x",void 0).host!=="x"})}),8536:(function(o,u,s){var c=s(7854),d=s(2788),h=c.WeakMap;o.exports=typeof h=="function"&&/native code/.test(d(h))}),1574:(function(o,u,s){var c=s(9781),d=s(7293),h=s(1956),v=s(5181),g=s(5296),m=s(7908),y=s(8361),S=Object.assign,w=Object.defineProperty;o.exports=!S||d(function(){if(c&&S({b:1},S(w({},"a",{enumerable:!0,get:function(){w(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var b={},A={},R=Symbol(),x="abcdefghijklmnopqrst";return b[R]=7,x.split("").forEach(function(O){A[O]=O}),S({},b)[R]!=7||h(S({},A)).join("")!=x})?function(A,R){for(var x=m(A),O=arguments.length,_=1,P=v.f,N=g.f;O>_;)for(var U=y(arguments[_++]),$=P?h(U).concat(P(U)):h(U),B=$.length,Y=0,Q;B>Y;)Q=$[Y++],(!c||N.call(U,Q))&&(x[Q]=U[Q]);return x}:S}),30:(function(o,u,s){var c=s(9670),d=s(6048),h=s(748),v=s(3501),g=s(490),m=s(317),y=s(6200),S=">",w="<",b="prototype",A="script",R=y("IE_PROTO"),x=function(){},O=function($){return w+A+S+$+w+"/"+A+S},_=function($){$.write(O("")),$.close();var B=$.parentWindow.Object;return $=null,B},P=function(){var $=m("iframe"),B="java"+A+":",Y;return $.style.display="none",g.appendChild($),$.src=String(B),Y=$.contentWindow.document,Y.open(),Y.write(O("document.F=Object")),Y.close(),Y.F},N,U=function(){try{N=document.domain&&new ActiveXObject("htmlfile")}catch{}U=N?_(N):P();for(var $=h.length;$--;)delete U[b][h[$]];return U()};v[R]=!0,o.exports=Object.create||function(B,Y){var Q;return B!==null?(x[b]=c(B),Q=new x,x[b]=null,Q[R]=B):Q=U(),Y===void 0?Q:d(Q,Y)}}),6048:(function(o,u,s){var c=s(9781),d=s(3070),h=s(9670),v=s(1956);o.exports=c?Object.defineProperties:function(m,y){h(m);for(var S=v(y),w=S.length,b=0,A;w>b;)d.f(m,A=S[b++],y[A]);return m}}),3070:(function(o,u,s){var c=s(9781),d=s(4664),h=s(9670),v=s(7593),g=Object.defineProperty;u.f=c?g:function(y,S,w){if(h(y),S=v(S,!0),h(w),d)try{return g(y,S,w)}catch{}if("get"in w||"set"in w)throw TypeError("Accessors not supported");return"value"in w&&(y[S]=w.value),y}}),1236:(function(o,u,s){var c=s(9781),d=s(5296),h=s(9114),v=s(5656),g=s(7593),m=s(6656),y=s(4664),S=Object.getOwnPropertyDescriptor;u.f=c?S:function(b,A){if(b=v(b),A=g(A,!0),y)try{return S(b,A)}catch{}if(m(b,A))return h(!d.f.call(b,A),b[A])}}),8006:(function(o,u,s){var c=s(6324),d=s(748),h=d.concat("length","prototype");u.f=Object.getOwnPropertyNames||function(g){return c(g,h)}}),5181:(function(o,u){u.f=Object.getOwnPropertySymbols}),9518:(function(o,u,s){var c=s(6656),d=s(7908),h=s(6200),v=s(8544),g=h("IE_PROTO"),m=Object.prototype;o.exports=v?Object.getPrototypeOf:function(y){return y=d(y),c(y,g)?y[g]:typeof y.constructor=="function"&&y instanceof y.constructor?y.constructor.prototype:y instanceof Object?m:null}}),6324:(function(o,u,s){var c=s(6656),d=s(5656),h=s(1318).indexOf,v=s(3501);o.exports=function(g,m){var y=d(g),S=0,w=[],b;for(b in y)!c(v,b)&&c(y,b)&&w.push(b);for(;m.length>S;)c(y,b=m[S++])&&(~h(w,b)||w.push(b));return w}}),1956:(function(o,u,s){var c=s(6324),d=s(748);o.exports=Object.keys||function(v){return c(v,d)}}),5296:(function(o,u){var s={}.propertyIsEnumerable,c=Object.getOwnPropertyDescriptor,d=c&&!s.call({1:2},1);u.f=d?function(v){var g=c(this,v);return!!g&&g.enumerable}:s}),7674:(function(o,u,s){var c=s(9670),d=s(6077);o.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var h=!1,v={},g;try{g=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,g.call(v,[]),h=v instanceof Array}catch{}return function(y,S){return c(y),d(S),h?g.call(y,S):y.__proto__=S,y}})():void 0)}),288:(function(o,u,s){var c=s(1694),d=s(648);o.exports=c?{}.toString:function(){return"[object "+d(this)+"]"}}),3887:(function(o,u,s){var c=s(5005),d=s(8006),h=s(5181),v=s(9670);o.exports=c("Reflect","ownKeys")||function(m){var y=d.f(v(m)),S=h.f;return S?y.concat(S(m)):y}}),857:(function(o,u,s){var c=s(7854);o.exports=c}),2248:(function(o,u,s){var c=s(1320);o.exports=function(d,h,v){for(var g in h)c(d,g,h[g],v);return d}}),1320:(function(o,u,s){var c=s(7854),d=s(8880),h=s(6656),v=s(3505),g=s(2788),m=s(9909),y=m.get,S=m.enforce,w=String(String).split("String");(o.exports=function(b,A,R,x){var O=x?!!x.unsafe:!1,_=x?!!x.enumerable:!1,P=x?!!x.noTargetGet:!1,N;if(typeof R=="function"&&(typeof A=="string"&&!h(R,"name")&&d(R,"name",A),N=S(R),N.source||(N.source=w.join(typeof A=="string"?A:""))),b===c){_?b[A]=R:v(A,R);return}else O?!P&&b[A]&&(_=!0):delete b[A];_?b[A]=R:d(b,A,R)})(Function.prototype,"toString",function(){return typeof this=="function"&&y(this).source||g(this)})}),7651:(function(o,u,s){var c=s(4326),d=s(2261);o.exports=function(h,v){var g=h.exec;if(typeof g=="function"){var m=g.call(h,v);if(typeof m!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return m}if(c(h)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return d.call(h,v)}}),2261:(function(o,u,s){var c=s(7066),d=s(2999),h=RegExp.prototype.exec,v=String.prototype.replace,g=h,m=(function(){var b=/a/,A=/b*/g;return h.call(b,"a"),h.call(A,"a"),b.lastIndex!==0||A.lastIndex!==0})(),y=d.UNSUPPORTED_Y||d.BROKEN_CARET,S=/()??/.exec("")[1]!==void 0,w=m||S||y;w&&(g=function(A){var R=this,x,O,_,P,N=y&&R.sticky,U=c.call(R),$=R.source,B=0,Y=A;return N&&(U=U.replace("y",""),U.indexOf("g")===-1&&(U+="g"),Y=String(A).slice(R.lastIndex),R.lastIndex>0&&(!R.multiline||R.multiline&&A[R.lastIndex-1]!==`
127
- `)&&($="(?: "+$+")",Y=" "+Y,B++),O=new RegExp("^(?:"+$+")",U)),S&&(O=new RegExp("^"+$+"$(?!\\s)",U)),m&&(x=R.lastIndex),_=h.call(N?O:R,Y),N?_?(_.input=_.input.slice(B),_[0]=_[0].slice(B),_.index=R.lastIndex,R.lastIndex+=_[0].length):R.lastIndex=0:m&&_&&(R.lastIndex=R.global?_.index+_[0].length:x),S&&_&&_.length>1&&v.call(_[0],O,function(){for(P=1;P<arguments.length-2;P++)arguments[P]===void 0&&(_[P]=void 0)}),_}),o.exports=g}),7066:(function(o,u,s){var c=s(9670);o.exports=function(){var d=c(this),h="";return d.global&&(h+="g"),d.ignoreCase&&(h+="i"),d.multiline&&(h+="m"),d.dotAll&&(h+="s"),d.unicode&&(h+="u"),d.sticky&&(h+="y"),h}}),2999:(function(o,u,s){var c=s(7293);function d(h,v){return RegExp(h,v)}u.UNSUPPORTED_Y=c(function(){var h=d("a","y");return h.lastIndex=2,h.exec("abcd")!=null}),u.BROKEN_CARET=c(function(){var h=d("^r","gy");return h.lastIndex=2,h.exec("str")!=null})}),4488:(function(o){o.exports=function(u){if(u==null)throw TypeError("Can't call method on "+u);return u}}),3505:(function(o,u,s){var c=s(7854),d=s(8880);o.exports=function(h,v){try{d(c,h,v)}catch{c[h]=v}return v}}),6340:(function(o,u,s){var c=s(5005),d=s(3070),h=s(5112),v=s(9781),g=h("species");o.exports=function(m){var y=c(m),S=d.f;v&&y&&!y[g]&&S(y,g,{configurable:!0,get:function(){return this}})}}),8003:(function(o,u,s){var c=s(3070).f,d=s(6656),h=s(5112),v=h("toStringTag");o.exports=function(g,m,y){g&&!d(g=y?g:g.prototype,v)&&c(g,v,{configurable:!0,value:m})}}),6200:(function(o,u,s){var c=s(2309),d=s(9711),h=c("keys");o.exports=function(v){return h[v]||(h[v]=d(v))}}),5465:(function(o,u,s){var c=s(7854),d=s(3505),h="__core-js_shared__",v=c[h]||d(h,{});o.exports=v}),2309:(function(o,u,s){var c=s(1913),d=s(5465);(o.exports=function(h,v){return d[h]||(d[h]=v!==void 0?v:{})})("versions",[]).push({version:"3.9.0",mode:c?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),6707:(function(o,u,s){var c=s(9670),d=s(3099),h=s(5112),v=h("species");o.exports=function(g,m){var y=c(g).constructor,S;return y===void 0||(S=c(y)[v])==null?m:d(S)}}),8710:(function(o,u,s){var c=s(9958),d=s(4488),h=function(v){return function(g,m){var y=String(d(g)),S=c(m),w=y.length,b,A;return S<0||S>=w?v?"":void 0:(b=y.charCodeAt(S),b<55296||b>56319||S+1===w||(A=y.charCodeAt(S+1))<56320||A>57343?v?y.charAt(S):b:v?y.slice(S,S+2):(b-55296<<10)+(A-56320)+65536)}};o.exports={codeAt:h(!1),charAt:h(!0)}}),3197:(function(o){var u=2147483647,s=36,c=1,d=26,h=38,v=700,g=72,m=128,y="-",S=/[^\0-\u007E]/,w=/[.\u3002\uFF0E\uFF61]/g,b="Overflow: input needs wider integers to process",A=s-c,R=Math.floor,x=String.fromCharCode,O=function(U){for(var $=[],B=0,Y=U.length;B<Y;){var Q=U.charCodeAt(B++);if(Q>=55296&&Q<=56319&&B<Y){var K=U.charCodeAt(B++);(K&64512)==56320?$.push(((Q&1023)<<10)+(K&1023)+65536):($.push(Q),B--)}else $.push(Q)}return $},_=function(U){return U+22+75*(U<26)},P=function(U,$,B){var Y=0;for(U=B?R(U/v):U>>1,U+=R(U/$);U>A*d>>1;Y+=s)U=R(U/A);return R(Y+(A+1)*U/(U+h))},N=function(U){var $=[];U=O(U);var B=U.length,Y=m,Q=0,K=g,ee,ne;for(ee=0;ee<U.length;ee++)ne=U[ee],ne<128&&$.push(x(ne));var D=$.length,I=D;for(D&&$.push(y);I<B;){var L=u;for(ee=0;ee<U.length;ee++)ne=U[ee],ne>=Y&&ne<L&&(L=ne);var re=I+1;if(L-Y>R((u-Q)/re))throw RangeError(b);for(Q+=(L-Y)*re,Y=L,ee=0;ee<U.length;ee++){if(ne=U[ee],ne<Y&&++Q>u)throw RangeError(b);if(ne==Y){for(var te=Q,ce=s;;ce+=s){var be=ce<=K?c:ce>=K+d?d:ce-K;if(te<be)break;var Ie=te-be,je=s-be;$.push(x(_(be+Ie%je))),te=R(Ie/je)}$.push(x(_(te))),K=P(Q,re,I==D),Q=0,++I}}++Q,++Y}return $.join("")};o.exports=function(U){var $=[],B=U.toLowerCase().replace(w,".").split("."),Y,Q;for(Y=0;Y<B.length;Y++)Q=B[Y],$.push(S.test(Q)?"xn--"+N(Q):Q);return $.join(".")}}),6091:(function(o,u,s){var c=s(7293),d=s(1361),h="​…᠎";o.exports=function(v){return c(function(){return!!d[v]()||h[v]()!=h||d[v].name!==v})}}),3111:(function(o,u,s){var c=s(4488),d=s(1361),h="["+d+"]",v=RegExp("^"+h+h+"*"),g=RegExp(h+h+"*$"),m=function(y){return function(S){var w=String(c(S));return y&1&&(w=w.replace(v,"")),y&2&&(w=w.replace(g,"")),w}};o.exports={start:m(1),end:m(2),trim:m(3)}}),1400:(function(o,u,s){var c=s(9958),d=Math.max,h=Math.min;o.exports=function(v,g){var m=c(v);return m<0?d(m+g,0):h(m,g)}}),7067:(function(o,u,s){var c=s(9958),d=s(7466);o.exports=function(h){if(h===void 0)return 0;var v=c(h),g=d(v);if(v!==g)throw RangeError("Wrong length or index");return g}}),5656:(function(o,u,s){var c=s(8361),d=s(4488);o.exports=function(h){return c(d(h))}}),9958:(function(o){var u=Math.ceil,s=Math.floor;o.exports=function(c){return isNaN(c=+c)?0:(c>0?s:u)(c)}}),7466:(function(o,u,s){var c=s(9958),d=Math.min;o.exports=function(h){return h>0?d(c(h),9007199254740991):0}}),7908:(function(o,u,s){var c=s(4488);o.exports=function(d){return Object(c(d))}}),4590:(function(o,u,s){var c=s(3002);o.exports=function(d,h){var v=c(d);if(v%h)throw RangeError("Wrong offset");return v}}),3002:(function(o,u,s){var c=s(9958);o.exports=function(d){var h=c(d);if(h<0)throw RangeError("The argument can't be less than 0");return h}}),7593:(function(o,u,s){var c=s(111);o.exports=function(d,h){if(!c(d))return d;var v,g;if(h&&typeof(v=d.toString)=="function"&&!c(g=v.call(d))||typeof(v=d.valueOf)=="function"&&!c(g=v.call(d))||!h&&typeof(v=d.toString)=="function"&&!c(g=v.call(d)))return g;throw TypeError("Can't convert object to primitive value")}}),1694:(function(o,u,s){var c=s(5112),d=c("toStringTag"),h={};h[d]="z",o.exports=String(h)==="[object z]"}),9843:(function(o,u,s){var c=s(2109),d=s(7854),h=s(9781),v=s(3832),g=s(260),m=s(3331),y=s(5787),S=s(9114),w=s(8880),b=s(7466),A=s(7067),R=s(4590),x=s(7593),O=s(6656),_=s(648),P=s(111),N=s(30),U=s(7674),$=s(8006).f,B=s(7321),Y=s(2092).forEach,Q=s(6340),K=s(3070),ee=s(1236),ne=s(9909),D=s(9587),I=ne.get,L=ne.set,re=K.f,te=ee.f,ce=Math.round,be=d.RangeError,Ie=m.ArrayBuffer,je=m.DataView,z=g.NATIVE_ARRAY_BUFFER_VIEWS,k=g.TYPED_ARRAY_TAG,q=g.TypedArray,H=g.TypedArrayPrototype,ie=g.aTypedArrayConstructor,V=g.isTypedArray,Z="BYTES_PER_ELEMENT",me="Wrong length",fe=function(Ee,_e){for(var xe=0,ke=_e.length,Le=new(ie(Ee))(ke);ke>xe;)Le[xe]=_e[xe++];return Le},Re=function(Ee,_e){re(Ee,_e,{get:function(){return I(this)[_e]}})},Se=function(Ee){var _e;return Ee instanceof Ie||(_e=_(Ee))=="ArrayBuffer"||_e=="SharedArrayBuffer"},Oe=function(Ee,_e){return V(Ee)&&typeof _e!="symbol"&&_e in Ee&&String(+_e)==String(_e)},Me=function(_e,xe){return Oe(_e,xe=x(xe,!0))?S(2,_e[xe]):te(_e,xe)},de=function(_e,xe,ke){return Oe(_e,xe=x(xe,!0))&&P(ke)&&O(ke,"value")&&!O(ke,"get")&&!O(ke,"set")&&!ke.configurable&&(!O(ke,"writable")||ke.writable)&&(!O(ke,"enumerable")||ke.enumerable)?(_e[xe]=ke.value,_e):re(_e,xe,ke)};h?(z||(ee.f=Me,K.f=de,Re(H,"buffer"),Re(H,"byteOffset"),Re(H,"byteLength"),Re(H,"length")),c({target:"Object",stat:!0,forced:!z},{getOwnPropertyDescriptor:Me,defineProperty:de}),o.exports=function(Ee,_e,xe){var ke=Ee.match(/\d+$/)[0]/8,Le=Ee+(xe?"Clamped":"")+"Array",He="get"+Ee,_t="set"+Ee,jt=d[Le],Lt=jt,Qe=Lt&&Lt.prototype,bt={},mt=function(at,$t){var xt=I(at);return xt.view[He]($t*ke+xt.byteOffset,!0)},St=function(at,$t,xt){var Ce=I(at);xe&&(xt=(xt=ce(xt))<0?0:xt>255?255:xt&255),Ce.view[_t]($t*ke+Ce.byteOffset,xt,!0)},yt=function(at,$t){re(at,$t,{get:function(){return mt(this,$t)},set:function(xt){return St(this,$t,xt)},enumerable:!0})};z?v&&(Lt=_e(function(at,$t,xt,Ce){return y(at,Lt,Le),D((function(){return P($t)?Se($t)?Ce!==void 0?new jt($t,R(xt,ke),Ce):xt!==void 0?new jt($t,R(xt,ke)):new jt($t):V($t)?fe(Lt,$t):B.call(Lt,$t):new jt(A($t))})(),at,Lt)}),U&&U(Lt,q),Y($(jt),function(at){at in Lt||w(Lt,at,jt[at])}),Lt.prototype=Qe):(Lt=_e(function(at,$t,xt,Ce){y(at,Lt,Le);var Ze=0,ut=0,Tt,Pt,rr;if(!P($t))rr=A($t),Pt=rr*ke,Tt=new Ie(Pt);else if(Se($t)){Tt=$t,ut=R(xt,ke);var _r=$t.byteLength;if(Ce===void 0){if(_r%ke||(Pt=_r-ut,Pt<0))throw be(me)}else if(Pt=b(Ce)*ke,Pt+ut>_r)throw be(me);rr=Pt/ke}else return V($t)?fe(Lt,$t):B.call(Lt,$t);for(L(at,{buffer:Tt,byteOffset:ut,byteLength:Pt,length:rr,view:new je(Tt)});Ze<rr;)yt(at,Ze++)}),U&&U(Lt,q),Qe=Lt.prototype=N(H)),Qe.constructor!==Lt&&w(Qe,"constructor",Lt),k&&w(Qe,k,Le),bt[Le]=Lt,c({global:!0,forced:Lt!=jt,sham:!z},bt),Z in Lt||w(Lt,Z,ke),Z in Qe||w(Qe,Z,ke),Q(Le)}):o.exports=function(){}}),3832:(function(o,u,s){var c=s(7854),d=s(7293),h=s(7072),v=s(260).NATIVE_ARRAY_BUFFER_VIEWS,g=c.ArrayBuffer,m=c.Int8Array;o.exports=!v||!d(function(){m(1)})||!d(function(){new m(-1)})||!h(function(y){new m,new m(null),new m(1.5),new m(y)},!0)||d(function(){return new m(new g(2),1,void 0).length!==1})}),3074:(function(o,u,s){var c=s(260).aTypedArrayConstructor,d=s(6707);o.exports=function(h,v){for(var g=d(h,h.constructor),m=0,y=v.length,S=new(c(g))(y);y>m;)S[m]=v[m++];return S}}),7321:(function(o,u,s){var c=s(7908),d=s(7466),h=s(1246),v=s(7659),g=s(9974),m=s(260).aTypedArrayConstructor;o.exports=function(S){var w=c(S),b=arguments.length,A=b>1?arguments[1]:void 0,R=A!==void 0,x=h(w),O,_,P,N,U,$;if(x!=null&&!v(x))for(U=x.call(w),$=U.next,w=[];!(N=$.call(U)).done;)w.push(N.value);for(R&&b>2&&(A=g(A,arguments[2],2)),_=d(w.length),P=new(m(this))(_),O=0;_>O;O++)P[O]=R?A(w[O],O):w[O];return P}}),9711:(function(o){var u=0,s=Math.random();o.exports=function(c){return"Symbol("+String(c===void 0?"":c)+")_"+(++u+s).toString(36)}}),3307:(function(o,u,s){var c=s(133);o.exports=c&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),5112:(function(o,u,s){var c=s(7854),d=s(2309),h=s(6656),v=s(9711),g=s(133),m=s(3307),y=d("wks"),S=c.Symbol,w=m?S:S&&S.withoutSetter||v;o.exports=function(b){return h(y,b)||(g&&h(S,b)?y[b]=S[b]:y[b]=w("Symbol."+b)),y[b]}}),1361:(function(o){o.exports=`
128
- \v\f\r                 \u2028\u2029\uFEFF`}),8264:(function(o,u,s){var c=s(2109),d=s(7854),h=s(3331),v=s(6340),g="ArrayBuffer",m=h[g],y=d[g];c({global:!0,forced:y!==m},{ArrayBuffer:m}),v(g)}),2222:(function(o,u,s){var c=s(2109),d=s(7293),h=s(3157),v=s(111),g=s(7908),m=s(7466),y=s(6135),S=s(5417),w=s(1194),b=s(5112),A=s(7392),R=b("isConcatSpreadable"),x=9007199254740991,O="Maximum allowed index exceeded",_=A>=51||!d(function(){var $=[];return $[R]=!1,$.concat()[0]!==$}),P=w("concat"),N=function($){if(!v($))return!1;var B=$[R];return B!==void 0?!!B:h($)},U=!_||!P;c({target:"Array",proto:!0,forced:U},{concat:function(B){var Y=g(this),Q=S(Y,0),K=0,ee,ne,D,I,L;for(ee=-1,D=arguments.length;ee<D;ee++)if(L=ee===-1?Y:arguments[ee],N(L)){if(I=m(L.length),K+I>x)throw TypeError(O);for(ne=0;ne<I;ne++,K++)ne in L&&y(Q,K,L[ne])}else{if(K>=x)throw TypeError(O);y(Q,K++,L)}return Q.length=K,Q}})}),7327:(function(o,u,s){var c=s(2109),d=s(2092).filter,h=s(1194),v=h("filter");c({target:"Array",proto:!0,forced:!v},{filter:function(m){return d(this,m,arguments.length>1?arguments[1]:void 0)}})}),2772:(function(o,u,s){var c=s(2109),d=s(1318).indexOf,h=s(9341),v=[].indexOf,g=!!v&&1/[1].indexOf(1,-0)<0,m=h("indexOf");c({target:"Array",proto:!0,forced:g||!m},{indexOf:function(S){return g?v.apply(this,arguments)||0:d(this,S,arguments.length>1?arguments[1]:void 0)}})}),6992:(function(o,u,s){var c=s(5656),d=s(1223),h=s(7497),v=s(9909),g=s(654),m="Array Iterator",y=v.set,S=v.getterFor(m);o.exports=g(Array,"Array",function(w,b){y(this,{type:m,target:c(w),index:0,kind:b})},function(){var w=S(this),b=w.target,A=w.kind,R=w.index++;return!b||R>=b.length?(w.target=void 0,{value:void 0,done:!0}):A=="keys"?{value:R,done:!1}:A=="values"?{value:b[R],done:!1}:{value:[R,b[R]],done:!1}},"values"),h.Arguments=h.Array,d("keys"),d("values"),d("entries")}),1249:(function(o,u,s){var c=s(2109),d=s(2092).map,h=s(1194),v=h("map");c({target:"Array",proto:!0,forced:!v},{map:function(m){return d(this,m,arguments.length>1?arguments[1]:void 0)}})}),7042:(function(o,u,s){var c=s(2109),d=s(111),h=s(3157),v=s(1400),g=s(7466),m=s(5656),y=s(6135),S=s(5112),w=s(1194),b=w("slice"),A=S("species"),R=[].slice,x=Math.max;c({target:"Array",proto:!0,forced:!b},{slice:function(_,P){var N=m(this),U=g(N.length),$=v(_,U),B=v(P===void 0?U:P,U),Y,Q,K;if(h(N)&&(Y=N.constructor,typeof Y=="function"&&(Y===Array||h(Y.prototype))?Y=void 0:d(Y)&&(Y=Y[A],Y===null&&(Y=void 0)),Y===Array||Y===void 0))return R.call(N,$,B);for(Q=new(Y===void 0?Array:Y)(x(B-$,0)),K=0;$<B;$++,K++)$ in N&&y(Q,K,N[$]);return Q.length=K,Q}})}),561:(function(o,u,s){var c=s(2109),d=s(1400),h=s(9958),v=s(7466),g=s(7908),m=s(5417),y=s(6135),S=s(1194),w=S("splice"),b=Math.max,A=Math.min,R=9007199254740991,x="Maximum allowed length exceeded";c({target:"Array",proto:!0,forced:!w},{splice:function(_,P){var N=g(this),U=v(N.length),$=d(_,U),B=arguments.length,Y,Q,K,ee,ne,D;if(B===0?Y=Q=0:B===1?(Y=0,Q=U-$):(Y=B-2,Q=A(b(h(P),0),U-$)),U+Y-Q>R)throw TypeError(x);for(K=m(N,Q),ee=0;ee<Q;ee++)ne=$+ee,ne in N&&y(K,ee,N[ne]);if(K.length=Q,Y<Q){for(ee=$;ee<U-Q;ee++)ne=ee+Q,D=ee+Y,ne in N?N[D]=N[ne]:delete N[D];for(ee=U;ee>U-Q+Y;ee--)delete N[ee-1]}else if(Y>Q)for(ee=U-Q;ee>$;ee--)ne=ee+Q-1,D=ee+Y-1,ne in N?N[D]=N[ne]:delete N[D];for(ee=0;ee<Y;ee++)N[ee+$]=arguments[ee+2];return N.length=U-Q+Y,K}})}),8309:(function(o,u,s){var c=s(9781),d=s(3070).f,h=Function.prototype,v=h.toString,g=/^\s*function ([^ (]*)/,m="name";c&&!(m in h)&&d(h,m,{configurable:!0,get:function(){try{return v.call(this).match(g)[1]}catch{return""}}})}),489:(function(o,u,s){var c=s(2109),d=s(7293),h=s(7908),v=s(9518),g=s(8544),m=d(function(){v(1)});c({target:"Object",stat:!0,forced:m,sham:!g},{getPrototypeOf:function(S){return v(h(S))}})}),1539:(function(o,u,s){var c=s(1694),d=s(1320),h=s(288);c||d(Object.prototype,"toString",h,{unsafe:!0})}),4916:(function(o,u,s){var c=s(2109),d=s(2261);c({target:"RegExp",proto:!0,forced:/./.exec!==d},{exec:d})}),9714:(function(o,u,s){var c=s(1320),d=s(9670),h=s(7293),v=s(7066),g="toString",m=RegExp.prototype,y=m[g],S=h(function(){return y.call({source:"a",flags:"b"})!="/a/b"}),w=y.name!=g;(S||w)&&c(RegExp.prototype,g,function(){var A=d(this),R=String(A.source),x=A.flags,O=String(x===void 0&&A instanceof RegExp&&!("flags"in m)?v.call(A):x);return"/"+R+"/"+O},{unsafe:!0})}),8783:(function(o,u,s){var c=s(8710).charAt,d=s(9909),h=s(654),v="String Iterator",g=d.set,m=d.getterFor(v);h(String,"String",function(y){g(this,{type:v,string:String(y),index:0})},function(){var S=m(this),w=S.string,b=S.index,A;return b>=w.length?{value:void 0,done:!0}:(A=c(w,b),S.index+=A.length,{value:A,done:!1})})}),4723:(function(o,u,s){var c=s(7007),d=s(9670),h=s(7466),v=s(4488),g=s(1530),m=s(7651);c("match",1,function(y,S,w){return[function(A){var R=v(this),x=A==null?void 0:A[y];return x!==void 0?x.call(A,R):new RegExp(A)[y](String(R))},function(b){var A=w(S,b,this);if(A.done)return A.value;var R=d(b),x=String(this);if(!R.global)return m(R,x);var O=R.unicode;R.lastIndex=0;for(var _=[],P=0,N;(N=m(R,x))!==null;){var U=String(N[0]);_[P]=U,U===""&&(R.lastIndex=g(x,h(R.lastIndex),O)),P++}return P===0?null:_}]})}),5306:(function(o,u,s){var c=s(7007),d=s(9670),h=s(7466),v=s(9958),g=s(4488),m=s(1530),y=s(647),S=s(7651),w=Math.max,b=Math.min,A=function(R){return R===void 0?R:String(R)};c("replace",2,function(R,x,O,_){var P=_.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,N=_.REPLACE_KEEPS_$0,U=P?"$":"$0";return[function(B,Y){var Q=g(this),K=B==null?void 0:B[R];return K!==void 0?K.call(B,Q,Y):x.call(String(Q),B,Y)},function($,B){if(!P&&N||typeof B=="string"&&B.indexOf(U)===-1){var Y=O(x,$,this,B);if(Y.done)return Y.value}var Q=d($),K=String(this),ee=typeof B=="function";ee||(B=String(B));var ne=Q.global;if(ne){var D=Q.unicode;Q.lastIndex=0}for(var I=[];;){var L=S(Q,K);if(L===null||(I.push(L),!ne))break;var re=String(L[0]);re===""&&(Q.lastIndex=m(K,h(Q.lastIndex),D))}for(var te="",ce=0,be=0;be<I.length;be++){L=I[be];for(var Ie=String(L[0]),je=w(b(v(L.index),K.length),0),z=[],k=1;k<L.length;k++)z.push(A(L[k]));var q=L.groups;if(ee){var H=[Ie].concat(z,je,K);q!==void 0&&H.push(q);var ie=String(B.apply(void 0,H))}else ie=y(Ie,K,je,z,q,B);je>=ce&&(te+=K.slice(ce,je)+ie,ce=je+Ie.length)}return te+K.slice(ce)}]})}),3123:(function(o,u,s){var c=s(7007),d=s(7850),h=s(9670),v=s(4488),g=s(6707),m=s(1530),y=s(7466),S=s(7651),w=s(2261),b=s(7293),A=[].push,R=Math.min,x=4294967295,O=!b(function(){return!RegExp(x,"y")});c("split",2,function(_,P,N){var U;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?U=function($,B){var Y=String(v(this)),Q=B===void 0?x:B>>>0;if(Q===0)return[];if($===void 0)return[Y];if(!d($))return P.call(Y,$,Q);for(var K=[],ee=($.ignoreCase?"i":"")+($.multiline?"m":"")+($.unicode?"u":"")+($.sticky?"y":""),ne=0,D=new RegExp($.source,ee+"g"),I,L,re;(I=w.call(D,Y))&&(L=D.lastIndex,!(L>ne&&(K.push(Y.slice(ne,I.index)),I.length>1&&I.index<Y.length&&A.apply(K,I.slice(1)),re=I[0].length,ne=L,K.length>=Q)));)D.lastIndex===I.index&&D.lastIndex++;return ne===Y.length?(re||!D.test(""))&&K.push(""):K.push(Y.slice(ne)),K.length>Q?K.slice(0,Q):K}:"0".split(void 0,0).length?U=function($,B){return $===void 0&&B===0?[]:P.call(this,$,B)}:U=P,[function(B,Y){var Q=v(this),K=B==null?void 0:B[_];return K!==void 0?K.call(B,Q,Y):U.call(String(Q),B,Y)},function($,B){var Y=N(U,$,this,B,U!==P);if(Y.done)return Y.value;var Q=h($),K=String(this),ee=g(Q,RegExp),ne=Q.unicode,D=(Q.ignoreCase?"i":"")+(Q.multiline?"m":"")+(Q.unicode?"u":"")+(O?"y":"g"),I=new ee(O?Q:"^(?:"+Q.source+")",D),L=B===void 0?x:B>>>0;if(L===0)return[];if(K.length===0)return S(I,K)===null?[K]:[];for(var re=0,te=0,ce=[];te<K.length;){I.lastIndex=O?te:0;var be=S(I,O?K:K.slice(te)),Ie;if(be===null||(Ie=R(y(I.lastIndex+(O?0:te)),K.length))===re)te=m(K,te,ne);else{if(ce.push(K.slice(re,te)),ce.length===L)return ce;for(var je=1;je<=be.length-1;je++)if(ce.push(be[je]),ce.length===L)return ce;te=re=Ie}}return ce.push(K.slice(re)),ce}]},!O)}),3210:(function(o,u,s){var c=s(2109),d=s(3111).trim,h=s(6091);c({target:"String",proto:!0,forced:h("trim")},{trim:function(){return d(this)}})}),2990:(function(o,u,s){var c=s(260),d=s(1048),h=c.aTypedArray,v=c.exportTypedArrayMethod;v("copyWithin",function(m,y){return d.call(h(this),m,y,arguments.length>2?arguments[2]:void 0)})}),8927:(function(o,u,s){var c=s(260),d=s(2092).every,h=c.aTypedArray,v=c.exportTypedArrayMethod;v("every",function(m){return d(h(this),m,arguments.length>1?arguments[1]:void 0)})}),3105:(function(o,u,s){var c=s(260),d=s(1285),h=c.aTypedArray,v=c.exportTypedArrayMethod;v("fill",function(m){return d.apply(h(this),arguments)})}),5035:(function(o,u,s){var c=s(260),d=s(2092).filter,h=s(3074),v=c.aTypedArray,g=c.exportTypedArrayMethod;g("filter",function(y){var S=d(v(this),y,arguments.length>1?arguments[1]:void 0);return h(this,S)})}),7174:(function(o,u,s){var c=s(260),d=s(2092).findIndex,h=c.aTypedArray,v=c.exportTypedArrayMethod;v("findIndex",function(m){return d(h(this),m,arguments.length>1?arguments[1]:void 0)})}),4345:(function(o,u,s){var c=s(260),d=s(2092).find,h=c.aTypedArray,v=c.exportTypedArrayMethod;v("find",function(m){return d(h(this),m,arguments.length>1?arguments[1]:void 0)})}),2846:(function(o,u,s){var c=s(260),d=s(2092).forEach,h=c.aTypedArray,v=c.exportTypedArrayMethod;v("forEach",function(m){d(h(this),m,arguments.length>1?arguments[1]:void 0)})}),4731:(function(o,u,s){var c=s(260),d=s(1318).includes,h=c.aTypedArray,v=c.exportTypedArrayMethod;v("includes",function(m){return d(h(this),m,arguments.length>1?arguments[1]:void 0)})}),7209:(function(o,u,s){var c=s(260),d=s(1318).indexOf,h=c.aTypedArray,v=c.exportTypedArrayMethod;v("indexOf",function(m){return d(h(this),m,arguments.length>1?arguments[1]:void 0)})}),6319:(function(o,u,s){var c=s(7854),d=s(260),h=s(6992),v=s(5112),g=v("iterator"),m=c.Uint8Array,y=h.values,S=h.keys,w=h.entries,b=d.aTypedArray,A=d.exportTypedArrayMethod,R=m&&m.prototype[g],x=!!R&&(R.name=="values"||R.name==null),O=function(){return y.call(b(this))};A("entries",function(){return w.call(b(this))}),A("keys",function(){return S.call(b(this))}),A("values",O,!x),A(g,O,!x)}),8867:(function(o,u,s){var c=s(260),d=c.aTypedArray,h=c.exportTypedArrayMethod,v=[].join;h("join",function(m){return v.apply(d(this),arguments)})}),7789:(function(o,u,s){var c=s(260),d=s(6583),h=c.aTypedArray,v=c.exportTypedArrayMethod;v("lastIndexOf",function(m){return d.apply(h(this),arguments)})}),3739:(function(o,u,s){var c=s(260),d=s(2092).map,h=s(6707),v=c.aTypedArray,g=c.aTypedArrayConstructor,m=c.exportTypedArrayMethod;m("map",function(S){return d(v(this),S,arguments.length>1?arguments[1]:void 0,function(w,b){return new(g(h(w,w.constructor)))(b)})})}),4483:(function(o,u,s){var c=s(260),d=s(3671).right,h=c.aTypedArray,v=c.exportTypedArrayMethod;v("reduceRight",function(m){return d(h(this),m,arguments.length,arguments.length>1?arguments[1]:void 0)})}),9368:(function(o,u,s){var c=s(260),d=s(3671).left,h=c.aTypedArray,v=c.exportTypedArrayMethod;v("reduce",function(m){return d(h(this),m,arguments.length,arguments.length>1?arguments[1]:void 0)})}),2056:(function(o,u,s){var c=s(260),d=c.aTypedArray,h=c.exportTypedArrayMethod,v=Math.floor;h("reverse",function(){for(var m=this,y=d(m).length,S=v(y/2),w=0,b;w<S;)b=m[w],m[w++]=m[--y],m[y]=b;return m})}),3462:(function(o,u,s){var c=s(260),d=s(7466),h=s(4590),v=s(7908),g=s(7293),m=c.aTypedArray,y=c.exportTypedArrayMethod,S=g(function(){new Int8Array(1).set({})});y("set",function(b){m(this);var A=h(arguments.length>1?arguments[1]:void 0,1),R=this.length,x=v(b),O=d(x.length),_=0;if(O+A>R)throw RangeError("Wrong length");for(;_<O;)this[A+_]=x[_++]},S)}),678:(function(o,u,s){var c=s(260),d=s(6707),h=s(7293),v=c.aTypedArray,g=c.aTypedArrayConstructor,m=c.exportTypedArrayMethod,y=[].slice,S=h(function(){new Int8Array(1).slice()});m("slice",function(b,A){for(var R=y.call(v(this),b,A),x=d(this,this.constructor),O=0,_=R.length,P=new(g(x))(_);_>O;)P[O]=R[O++];return P},S)}),7462:(function(o,u,s){var c=s(260),d=s(2092).some,h=c.aTypedArray,v=c.exportTypedArrayMethod;v("some",function(m){return d(h(this),m,arguments.length>1?arguments[1]:void 0)})}),3824:(function(o,u,s){var c=s(260),d=c.aTypedArray,h=c.exportTypedArrayMethod,v=[].sort;h("sort",function(m){return v.call(d(this),m)})}),5021:(function(o,u,s){var c=s(260),d=s(7466),h=s(1400),v=s(6707),g=c.aTypedArray,m=c.exportTypedArrayMethod;m("subarray",function(S,w){var b=g(this),A=b.length,R=h(S,A);return new(v(b,b.constructor))(b.buffer,b.byteOffset+R*b.BYTES_PER_ELEMENT,d((w===void 0?A:h(w,A))-R))})}),2974:(function(o,u,s){var c=s(7854),d=s(260),h=s(7293),v=c.Int8Array,g=d.aTypedArray,m=d.exportTypedArrayMethod,y=[].toLocaleString,S=[].slice,w=!!v&&h(function(){y.call(new v(1))}),b=h(function(){return[1,2].toLocaleString()!=new v([1,2]).toLocaleString()})||!h(function(){v.prototype.toLocaleString.call([1,2])});m("toLocaleString",function(){return y.apply(w?S.call(g(this)):g(this),arguments)},b)}),5016:(function(o,u,s){var c=s(260).exportTypedArrayMethod,d=s(7293),h=s(7854),v=h.Uint8Array,g=v&&v.prototype||{},m=[].toString,y=[].join;d(function(){m.call({})})&&(m=function(){return y.call(this)});var S=g.toString!=m;c("toString",m,S)}),2472:(function(o,u,s){var c=s(9843);c("Uint8",function(d){return function(v,g,m){return d(this,v,g,m)}})}),4747:(function(o,u,s){var c=s(7854),d=s(8324),h=s(8533),v=s(8880);for(var g in d){var m=c[g],y=m&&m.prototype;if(y&&y.forEach!==h)try{v(y,"forEach",h)}catch{y.forEach=h}}}),3948:(function(o,u,s){var c=s(7854),d=s(8324),h=s(6992),v=s(8880),g=s(5112),m=g("iterator"),y=g("toStringTag"),S=h.values;for(var w in d){var b=c[w],A=b&&b.prototype;if(A){if(A[m]!==S)try{v(A,m,S)}catch{A[m]=S}if(A[y]||v(A,y,w),d[w]){for(var R in h)if(A[R]!==h[R])try{v(A,R,h[R])}catch{A[R]=h[R]}}}}}),1637:(function(o,u,s){s(6992);var c=s(2109),d=s(5005),h=s(590),v=s(1320),g=s(2248),m=s(8003),y=s(4994),S=s(9909),w=s(5787),b=s(6656),A=s(9974),R=s(648),x=s(9670),O=s(111),_=s(30),P=s(9114),N=s(8554),U=s(1246),$=s(5112),B=d("fetch"),Y=d("Headers"),Q=$("iterator"),K="URLSearchParams",ee=K+"Iterator",ne=S.set,D=S.getterFor(K),I=S.getterFor(ee),L=/\+/g,re=Array(4),te=function(fe){return re[fe-1]||(re[fe-1]=RegExp("((?:%[\\da-f]{2}){"+fe+"})","gi"))},ce=function(fe){try{return decodeURIComponent(fe)}catch{return fe}},be=function(fe){var Re=fe.replace(L," "),Se=4;try{return decodeURIComponent(Re)}catch{for(;Se;)Re=Re.replace(te(Se--),ce);return Re}},Ie=/[!'()~]|%20/g,je={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},z=function(fe){return je[fe]},k=function(fe){return encodeURIComponent(fe).replace(Ie,z)},q=function(fe,Re){if(Re)for(var Se=Re.split("&"),Oe=0,Me,de;Oe<Se.length;)Me=Se[Oe++],Me.length&&(de=Me.split("="),fe.push({key:be(de.shift()),value:be(de.join("="))}))},H=function(fe){this.entries.length=0,q(this.entries,fe)},ie=function(fe,Re){if(fe<Re)throw TypeError("Not enough arguments")},V=y(function(Re,Se){ne(this,{type:ee,iterator:N(D(Re).entries),kind:Se})},"Iterator",function(){var Re=I(this),Se=Re.kind,Oe=Re.iterator.next(),Me=Oe.value;return Oe.done||(Oe.value=Se==="keys"?Me.key:Se==="values"?Me.value:[Me.key,Me.value]),Oe}),Z=function(){w(this,Z,K);var Re=arguments.length>0?arguments[0]:void 0,Se=this,Oe=[],Me,de,Ee,_e,xe,ke,Le,He,_t;if(ne(Se,{type:K,entries:Oe,updateURL:function(){},updateSearchParams:H}),Re!==void 0)if(O(Re))if(Me=U(Re),typeof Me=="function")for(de=Me.call(Re),Ee=de.next;!(_e=Ee.call(de)).done;){if(xe=N(x(_e.value)),ke=xe.next,(Le=ke.call(xe)).done||(He=ke.call(xe)).done||!ke.call(xe).done)throw TypeError("Expected sequence with length 2");Oe.push({key:Le.value+"",value:He.value+""})}else for(_t in Re)b(Re,_t)&&Oe.push({key:_t,value:Re[_t]+""});else q(Oe,typeof Re=="string"?Re.charAt(0)==="?"?Re.slice(1):Re:Re+"")},me=Z.prototype;g(me,{append:function(Re,Se){ie(arguments.length,2);var Oe=D(this);Oe.entries.push({key:Re+"",value:Se+""}),Oe.updateURL()},delete:function(fe){ie(arguments.length,1);for(var Re=D(this),Se=Re.entries,Oe=fe+"",Me=0;Me<Se.length;)Se[Me].key===Oe?Se.splice(Me,1):Me++;Re.updateURL()},get:function(Re){ie(arguments.length,1);for(var Se=D(this).entries,Oe=Re+"",Me=0;Me<Se.length;Me++)if(Se[Me].key===Oe)return Se[Me].value;return null},getAll:function(Re){ie(arguments.length,1);for(var Se=D(this).entries,Oe=Re+"",Me=[],de=0;de<Se.length;de++)Se[de].key===Oe&&Me.push(Se[de].value);return Me},has:function(Re){ie(arguments.length,1);for(var Se=D(this).entries,Oe=Re+"",Me=0;Me<Se.length;)if(Se[Me++].key===Oe)return!0;return!1},set:function(Re,Se){ie(arguments.length,1);for(var Oe=D(this),Me=Oe.entries,de=!1,Ee=Re+"",_e=Se+"",xe=0,ke;xe<Me.length;xe++)ke=Me[xe],ke.key===Ee&&(de?Me.splice(xe--,1):(de=!0,ke.value=_e));de||Me.push({key:Ee,value:_e}),Oe.updateURL()},sort:function(){var Re=D(this),Se=Re.entries,Oe=Se.slice(),Me,de,Ee;for(Se.length=0,Ee=0;Ee<Oe.length;Ee++){for(Me=Oe[Ee],de=0;de<Ee;de++)if(Se[de].key>Me.key){Se.splice(de,0,Me);break}de===Ee&&Se.push(Me)}Re.updateURL()},forEach:function(Re){for(var Se=D(this).entries,Oe=A(Re,arguments.length>1?arguments[1]:void 0,3),Me=0,de;Me<Se.length;)de=Se[Me++],Oe(de.value,de.key,this)},keys:function(){return new V(this,"keys")},values:function(){return new V(this,"values")},entries:function(){return new V(this,"entries")}},{enumerable:!0}),v(me,Q,me.entries),v(me,"toString",function(){for(var Re=D(this).entries,Se=[],Oe=0,Me;Oe<Re.length;)Me=Re[Oe++],Se.push(k(Me.key)+"="+k(Me.value));return Se.join("&")},{enumerable:!0}),m(Z,K),c({global:!0,forced:!h},{URLSearchParams:Z}),!h&&typeof B=="function"&&typeof Y=="function"&&c({global:!0,enumerable:!0,forced:!0},{fetch:function(Re){var Se=[Re],Oe,Me,de;return arguments.length>1&&(Oe=arguments[1],O(Oe)&&(Me=Oe.body,R(Me)===K&&(de=Oe.headers?new Y(Oe.headers):new Y,de.has("content-type")||de.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),Oe=_(Oe,{body:P(0,String(Me)),headers:P(0,de)}))),Se.push(Oe)),B.apply(this,Se)}}),o.exports={URLSearchParams:Z,getState:D}}),285:(function(o,u,s){s(8783);var c=s(2109),d=s(9781),h=s(590),v=s(7854),g=s(6048),m=s(1320),y=s(5787),S=s(6656),w=s(1574),b=s(8457),A=s(8710).codeAt,R=s(3197),x=s(8003),O=s(1637),_=s(9909),P=v.URL,N=O.URLSearchParams,U=O.getState,$=_.set,B=_.getterFor("URL"),Y=Math.floor,Q=Math.pow,K="Invalid authority",ee="Invalid scheme",ne="Invalid host",D="Invalid port",I=/[A-Za-z]/,L=/[\d+-.A-Za-z]/,re=/\d/,te=/^(0x|0X)/,ce=/^[0-7]+$/,be=/^\d+$/,Ie=/^[\dA-Fa-f]+$/,je=/[\u0000\t\u000A\u000D #%/:?@[\\]]/,z=/[\u0000\t\u000A\u000D #/:?@[\\]]/,k=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,q=/[\t\u000A\u000D]/g,H,ie=function(we,ct){var nt,ft,kt;if(ct.charAt(0)=="["){if(ct.charAt(ct.length-1)!="]"||(nt=Z(ct.slice(1,-1)),!nt))return ne;we.host=nt}else if(_e(we)){if(ct=R(ct),je.test(ct)||(nt=V(ct),nt===null))return ne;we.host=nt}else{if(z.test(ct))return ne;for(nt="",ft=b(ct),kt=0;kt<ft.length;kt++)nt+=de(ft[kt],Re);we.host=nt}},V=function(we){var ct=we.split("."),nt,ft,kt,dt,Yt,Dr,Zr;if(ct.length&&ct[ct.length-1]==""&&ct.pop(),nt=ct.length,nt>4)return we;for(ft=[],kt=0;kt<nt;kt++){if(dt=ct[kt],dt=="")return we;if(Yt=10,dt.length>1&&dt.charAt(0)=="0"&&(Yt=te.test(dt)?16:8,dt=dt.slice(Yt==8?1:2)),dt==="")Dr=0;else{if(!(Yt==10?be:Yt==8?ce:Ie).test(dt))return we;Dr=parseInt(dt,Yt)}ft.push(Dr)}for(kt=0;kt<nt;kt++)if(Dr=ft[kt],kt==nt-1){if(Dr>=Q(256,5-nt))return null}else if(Dr>255)return null;for(Zr=ft.pop(),kt=0;kt<ft.length;kt++)Zr+=ft[kt]*Q(256,3-kt);return Zr},Z=function(we){var ct=[0,0,0,0,0,0,0,0],nt=0,ft=null,kt=0,dt,Yt,Dr,Zr,en,pn,Mt,Kr=function(){return we.charAt(kt)};if(Kr()==":"){if(we.charAt(1)!=":")return;kt+=2,nt++,ft=nt}for(;Kr();){if(nt==8)return;if(Kr()==":"){if(ft!==null)return;kt++,nt++,ft=nt;continue}for(dt=Yt=0;Yt<4&&Ie.test(Kr());)dt=dt*16+parseInt(Kr(),16),kt++,Yt++;if(Kr()=="."){if(Yt==0||(kt-=Yt,nt>6))return;for(Dr=0;Kr();){if(Zr=null,Dr>0)if(Kr()=="."&&Dr<4)kt++;else return;if(!re.test(Kr()))return;for(;re.test(Kr());){if(en=parseInt(Kr(),10),Zr===null)Zr=en;else{if(Zr==0)return;Zr=Zr*10+en}if(Zr>255)return;kt++}ct[nt]=ct[nt]*256+Zr,Dr++,(Dr==2||Dr==4)&&nt++}if(Dr!=4)return;break}else if(Kr()==":"){if(kt++,!Kr())return}else if(Kr())return;ct[nt++]=dt}if(ft!==null)for(pn=nt-ft,nt=7;nt!=0&&pn>0;)Mt=ct[nt],ct[nt--]=ct[ft+pn-1],ct[ft+--pn]=Mt;else if(nt!=8)return;return ct},me=function(we){for(var ct=null,nt=1,ft=null,kt=0,dt=0;dt<8;dt++)we[dt]!==0?(kt>nt&&(ct=ft,nt=kt),ft=null,kt=0):(ft===null&&(ft=dt),++kt);return kt>nt&&(ct=ft,nt=kt),ct},fe=function(we){var ct,nt,ft,kt;if(typeof we=="number"){for(ct=[],nt=0;nt<4;nt++)ct.unshift(we%256),we=Y(we/256);return ct.join(".")}else if(typeof we=="object"){for(ct="",ft=me(we),nt=0;nt<8;nt++)kt&&we[nt]===0||(kt&&(kt=!1),ft===nt?(ct+=nt?":":"::",kt=!0):(ct+=we[nt].toString(16),nt<7&&(ct+=":")));return"["+ct+"]"}return we},Re={},Se=w({},Re,{" ":1,'"':1,"<":1,">":1,"`":1}),Oe=w({},Se,{"#":1,"?":1,"{":1,"}":1}),Me=w({},Oe,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),de=function(we,ct){var nt=A(we,0);return nt>32&&nt<127&&!S(ct,we)?we:encodeURIComponent(we)},Ee={ftp:21,file:null,http:80,https:443,ws:80,wss:443},_e=function(we){return S(Ee,we.scheme)},xe=function(we){return we.username!=""||we.password!=""},ke=function(we){return!we.host||we.cannotBeABaseURL||we.scheme=="file"},Le=function(we,ct){var nt;return we.length==2&&I.test(we.charAt(0))&&((nt=we.charAt(1))==":"||!ct&&nt=="|")},He=function(we){var ct;return we.length>1&&Le(we.slice(0,2))&&(we.length==2||(ct=we.charAt(2))==="/"||ct==="\\"||ct==="?"||ct==="#")},_t=function(we){var ct=we.path,nt=ct.length;nt&&(we.scheme!="file"||nt!=1||!Le(ct[0],!0))&&ct.pop()},jt=function(we){return we==="."||we.toLowerCase()==="%2e"},Lt=function(we){return we=we.toLowerCase(),we===".."||we==="%2e."||we===".%2e"||we==="%2e%2e"},Qe={},bt={},mt={},St={},yt={},at={},$t={},xt={},Ce={},Ze={},ut={},Tt={},Pt={},rr={},_r={},sr={},mr={},Pr={},ln={},di={},Nn={},Rn=function(we,ct,nt,ft){var kt=nt||Qe,dt=0,Yt="",Dr=!1,Zr=!1,en=!1,pn,Mt,Kr,Ki;for(nt||(we.scheme="",we.username="",we.password="",we.host=null,we.port=null,we.path=[],we.query=null,we.fragment=null,we.cannotBeABaseURL=!1,ct=ct.replace(k,"")),ct=ct.replace(q,""),pn=b(ct);dt<=pn.length;){switch(Mt=pn[dt],kt){case Qe:if(Mt&&I.test(Mt))Yt+=Mt.toLowerCase(),kt=bt;else{if(nt)return ee;kt=mt;continue}break;case bt:if(Mt&&(L.test(Mt)||Mt=="+"||Mt=="-"||Mt=="."))Yt+=Mt.toLowerCase();else if(Mt==":"){if(nt&&(_e(we)!=S(Ee,Yt)||Yt=="file"&&(xe(we)||we.port!==null)||we.scheme=="file"&&!we.host))return;if(we.scheme=Yt,nt){_e(we)&&Ee[we.scheme]==we.port&&(we.port=null);return}Yt="",we.scheme=="file"?kt=rr:_e(we)&&ft&&ft.scheme==we.scheme?kt=St:_e(we)?kt=xt:pn[dt+1]=="/"?(kt=yt,dt++):(we.cannotBeABaseURL=!0,we.path.push(""),kt=ln)}else{if(nt)return ee;Yt="",kt=mt,dt=0;continue}break;case mt:if(!ft||ft.cannotBeABaseURL&&Mt!="#")return ee;if(ft.cannotBeABaseURL&&Mt=="#"){we.scheme=ft.scheme,we.path=ft.path.slice(),we.query=ft.query,we.fragment="",we.cannotBeABaseURL=!0,kt=Nn;break}kt=ft.scheme=="file"?rr:at;continue;case St:if(Mt=="/"&&pn[dt+1]=="/")kt=Ce,dt++;else{kt=at;continue}break;case yt:if(Mt=="/"){kt=Ze;break}else{kt=Pr;continue}case at:if(we.scheme=ft.scheme,Mt==H)we.username=ft.username,we.password=ft.password,we.host=ft.host,we.port=ft.port,we.path=ft.path.slice(),we.query=ft.query;else if(Mt=="/"||Mt=="\\"&&_e(we))kt=$t;else if(Mt=="?")we.username=ft.username,we.password=ft.password,we.host=ft.host,we.port=ft.port,we.path=ft.path.slice(),we.query="",kt=di;else if(Mt=="#")we.username=ft.username,we.password=ft.password,we.host=ft.host,we.port=ft.port,we.path=ft.path.slice(),we.query=ft.query,we.fragment="",kt=Nn;else{we.username=ft.username,we.password=ft.password,we.host=ft.host,we.port=ft.port,we.path=ft.path.slice(),we.path.pop(),kt=Pr;continue}break;case $t:if(_e(we)&&(Mt=="/"||Mt=="\\"))kt=Ce;else if(Mt=="/")kt=Ze;else{we.username=ft.username,we.password=ft.password,we.host=ft.host,we.port=ft.port,kt=Pr;continue}break;case xt:if(kt=Ce,Mt!="/"||Yt.charAt(dt+1)!="/")continue;dt++;break;case Ce:if(Mt!="/"&&Mt!="\\"){kt=Ze;continue}break;case Ze:if(Mt=="@"){Dr&&(Yt="%40"+Yt),Dr=!0,Kr=b(Yt);for(var si=0;si<Kr.length;si++){var va=Kr[si];if(va==":"&&!en){en=!0;continue}var Bi=de(va,Me);en?we.password+=Bi:we.username+=Bi}Yt=""}else if(Mt==H||Mt=="/"||Mt=="?"||Mt=="#"||Mt=="\\"&&_e(we)){if(Dr&&Yt=="")return K;dt-=b(Yt).length+1,Yt="",kt=ut}else Yt+=Mt;break;case ut:case Tt:if(nt&&we.scheme=="file"){kt=sr;continue}else if(Mt==":"&&!Zr){if(Yt=="")return ne;if(Ki=ie(we,Yt),Ki)return Ki;if(Yt="",kt=Pt,nt==Tt)return}else if(Mt==H||Mt=="/"||Mt=="?"||Mt=="#"||Mt=="\\"&&_e(we)){if(_e(we)&&Yt=="")return ne;if(nt&&Yt==""&&(xe(we)||we.port!==null))return;if(Ki=ie(we,Yt),Ki)return Ki;if(Yt="",kt=mr,nt)return;continue}else Mt=="["?Zr=!0:Mt=="]"&&(Zr=!1),Yt+=Mt;break;case Pt:if(re.test(Mt))Yt+=Mt;else if(Mt==H||Mt=="/"||Mt=="?"||Mt=="#"||Mt=="\\"&&_e(we)||nt){if(Yt!=""){var xa=parseInt(Yt,10);if(xa>65535)return D;we.port=_e(we)&&xa===Ee[we.scheme]?null:xa,Yt=""}if(nt)return;kt=mr;continue}else return D;break;case rr:if(we.scheme="file",Mt=="/"||Mt=="\\")kt=_r;else if(ft&&ft.scheme=="file")if(Mt==H)we.host=ft.host,we.path=ft.path.slice(),we.query=ft.query;else if(Mt=="?")we.host=ft.host,we.path=ft.path.slice(),we.query="",kt=di;else if(Mt=="#")we.host=ft.host,we.path=ft.path.slice(),we.query=ft.query,we.fragment="",kt=Nn;else{He(pn.slice(dt).join(""))||(we.host=ft.host,we.path=ft.path.slice(),_t(we)),kt=Pr;continue}else{kt=Pr;continue}break;case _r:if(Mt=="/"||Mt=="\\"){kt=sr;break}ft&&ft.scheme=="file"&&!He(pn.slice(dt).join(""))&&(Le(ft.path[0],!0)?we.path.push(ft.path[0]):we.host=ft.host),kt=Pr;continue;case sr:if(Mt==H||Mt=="/"||Mt=="\\"||Mt=="?"||Mt=="#"){if(!nt&&Le(Yt))kt=Pr;else if(Yt==""){if(we.host="",nt)return;kt=mr}else{if(Ki=ie(we,Yt),Ki)return Ki;if(we.host=="localhost"&&(we.host=""),nt)return;Yt="",kt=mr}continue}else Yt+=Mt;break;case mr:if(_e(we)){if(kt=Pr,Mt!="/"&&Mt!="\\")continue}else if(!nt&&Mt=="?")we.query="",kt=di;else if(!nt&&Mt=="#")we.fragment="",kt=Nn;else if(Mt!=H&&(kt=Pr,Mt!="/"))continue;break;case Pr:if(Mt==H||Mt=="/"||Mt=="\\"&&_e(we)||!nt&&(Mt=="?"||Mt=="#")){if(Lt(Yt)?(_t(we),Mt!="/"&&!(Mt=="\\"&&_e(we))&&we.path.push("")):jt(Yt)?Mt!="/"&&!(Mt=="\\"&&_e(we))&&we.path.push(""):(we.scheme=="file"&&!we.path.length&&Le(Yt)&&(we.host&&(we.host=""),Yt=Yt.charAt(0)+":"),we.path.push(Yt)),Yt="",we.scheme=="file"&&(Mt==H||Mt=="?"||Mt=="#"))for(;we.path.length>1&&we.path[0]==="";)we.path.shift();Mt=="?"?(we.query="",kt=di):Mt=="#"&&(we.fragment="",kt=Nn)}else Yt+=de(Mt,Oe);break;case ln:Mt=="?"?(we.query="",kt=di):Mt=="#"?(we.fragment="",kt=Nn):Mt!=H&&(we.path[0]+=de(Mt,Re));break;case di:!nt&&Mt=="#"?(we.fragment="",kt=Nn):Mt!=H&&(Mt=="'"&&_e(we)?we.query+="%27":Mt=="#"?we.query+="%23":we.query+=de(Mt,Re));break;case Nn:Mt!=H&&(we.fragment+=de(Mt,Se));break}dt++}},En=function(ct){var nt=y(this,En,"URL"),ft=arguments.length>1?arguments[1]:void 0,kt=String(ct),dt=$(nt,{type:"URL"}),Yt,Dr;if(ft!==void 0){if(ft instanceof En)Yt=B(ft);else if(Dr=Rn(Yt={},String(ft)),Dr)throw TypeError(Dr)}if(Dr=Rn(dt,kt,null,Yt),Dr)throw TypeError(Dr);var Zr=dt.searchParams=new N,en=U(Zr);en.updateSearchParams(dt.query),en.updateURL=function(){dt.query=String(Zr)||null},d||(nt.href=Zn.call(nt),nt.origin=Ci.call(nt),nt.protocol=_i.call(nt),nt.username=Vi.call(nt),nt.password=Yi.call(nt),nt.host=Ln.call(nt),nt.hostname=oi.call(nt),nt.port=Di.call(nt),nt.pathname=Ai.call(nt),nt.search=it.call(nt),nt.searchParams=Ft.call(nt),nt.hash=pt.call(nt))},Jn=En.prototype,Zn=function(){var we=B(this),ct=we.scheme,nt=we.username,ft=we.password,kt=we.host,dt=we.port,Yt=we.path,Dr=we.query,Zr=we.fragment,en=ct+":";return kt!==null?(en+="//",xe(we)&&(en+=nt+(ft?":"+ft:"")+"@"),en+=fe(kt),dt!==null&&(en+=":"+dt)):ct=="file"&&(en+="//"),en+=we.cannotBeABaseURL?Yt[0]:Yt.length?"/"+Yt.join("/"):"",Dr!==null&&(en+="?"+Dr),Zr!==null&&(en+="#"+Zr),en},Ci=function(){var we=B(this),ct=we.scheme,nt=we.port;if(ct=="blob")try{return new URL(ct.path[0]).origin}catch{return"null"}return ct=="file"||!_e(we)?"null":ct+"://"+fe(we.host)+(nt!==null?":"+nt:"")},_i=function(){return B(this).scheme+":"},Vi=function(){return B(this).username},Yi=function(){return B(this).password},Ln=function(){var we=B(this),ct=we.host,nt=we.port;return ct===null?"":nt===null?fe(ct):fe(ct)+":"+nt},oi=function(){var we=B(this).host;return we===null?"":fe(we)},Di=function(){var we=B(this).port;return we===null?"":String(we)},Ai=function(){var we=B(this),ct=we.path;return we.cannotBeABaseURL?ct[0]:ct.length?"/"+ct.join("/"):""},it=function(){var we=B(this).query;return we?"?"+we:""},Ft=function(){return B(this).searchParams},pt=function(){var we=B(this).fragment;return we?"#"+we:""},Ke=function(we,ct){return{get:we,set:ct,configurable:!0,enumerable:!0}};if(d&&g(Jn,{href:Ke(Zn,function(we){var ct=B(this),nt=String(we),ft=Rn(ct,nt);if(ft)throw TypeError(ft);U(ct.searchParams).updateSearchParams(ct.query)}),origin:Ke(Ci),protocol:Ke(_i,function(we){var ct=B(this);Rn(ct,String(we)+":",Qe)}),username:Ke(Vi,function(we){var ct=B(this),nt=b(String(we));if(!ke(ct)){ct.username="";for(var ft=0;ft<nt.length;ft++)ct.username+=de(nt[ft],Me)}}),password:Ke(Yi,function(we){var ct=B(this),nt=b(String(we));if(!ke(ct)){ct.password="";for(var ft=0;ft<nt.length;ft++)ct.password+=de(nt[ft],Me)}}),host:Ke(Ln,function(we){var ct=B(this);ct.cannotBeABaseURL||Rn(ct,String(we),ut)}),hostname:Ke(oi,function(we){var ct=B(this);ct.cannotBeABaseURL||Rn(ct,String(we),Tt)}),port:Ke(Di,function(we){var ct=B(this);ke(ct)||(we=String(we),we==""?ct.port=null:Rn(ct,we,Pt))}),pathname:Ke(Ai,function(we){var ct=B(this);ct.cannotBeABaseURL||(ct.path=[],Rn(ct,we+"",mr))}),search:Ke(it,function(we){var ct=B(this);we=String(we),we==""?ct.query=null:(we.charAt(0)=="?"&&(we=we.slice(1)),ct.query="",Rn(ct,we,di)),U(ct.searchParams).updateSearchParams(ct.query)}),searchParams:Ke(Ft),hash:Ke(pt,function(we){var ct=B(this);if(we=String(we),we==""){ct.fragment=null;return}we.charAt(0)=="#"&&(we=we.slice(1)),ct.fragment="",Rn(ct,we,Nn)})}),m(Jn,"toJSON",function(){return Zn.call(this)},{enumerable:!0}),m(Jn,"toString",function(){return Zn.call(this)},{enumerable:!0}),P){var At=P.createObjectURL,pr=P.revokeObjectURL;At&&m(En,"createObjectURL",function(ct){return At.apply(P,arguments)}),pr&&m(En,"revokeObjectURL",function(ct){return pr.apply(P,arguments)})}x(En,"URL"),c({global:!0,forced:!h,sham:!d},{URL:En})})},n={};function i(o){if(n[o])return n[o].exports;var u=n[o]={exports:{}};return r[o](u,u.exports,i),u.exports}(function(){i.d=function(o,u){for(var s in u)i.o(u,s)&&!i.o(o,s)&&Object.defineProperty(o,s,{enumerable:!0,get:u[s]})}})(),(function(){i.g=(function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}})()})(),(function(){i.o=function(o,u){return Object.prototype.hasOwnProperty.call(o,u)}})(),(function(){i.r=function(o){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})}})();var a={};return(function(){i.r(a),i.d(a,{Dropzone:function(){return D},default:function(){return z}}),i(2222),i(7327),i(2772),i(6992),i(1249),i(7042),i(561),i(8264),i(8309),i(489),i(1539),i(4916),i(9714),i(8783),i(4723),i(5306),i(3123),i(3210),i(2472),i(2990),i(8927),i(3105),i(5035),i(4345),i(7174),i(2846),i(4731),i(7209),i(6319),i(8867),i(7789),i(3739),i(9368),i(4483),i(2056),i(3462),i(678),i(7462),i(3824),i(5021),i(2974),i(5016),i(4747),i(3948),i(285);function o(k,q){var H;if(typeof Symbol>"u"||k[Symbol.iterator]==null){if(Array.isArray(k)||(H=u(k))||k&&typeof k.length=="number"){H&&(k=H);var ie=0,V=function(){};return{s:V,n:function(){return ie>=k.length?{done:!0}:{done:!1,value:k[ie++]}},e:function(Se){throw Se},f:V}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
129
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Z=!0,me=!1,fe;return{s:function(){H=k[Symbol.iterator]()},n:function(){var Se=H.next();return Z=Se.done,Se},e:function(Se){me=!0,fe=Se},f:function(){try{!Z&&H.return!=null&&H.return()}finally{if(me)throw fe}}}}function u(k,q){if(k){if(typeof k=="string")return s(k,q);var H=Object.prototype.toString.call(k).slice(8,-1);if(H==="Object"&&k.constructor&&(H=k.constructor.name),H==="Map"||H==="Set")return Array.from(k);if(H==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(H))return s(k,q)}}function s(k,q){(q==null||q>k.length)&&(q=k.length);for(var H=0,ie=new Array(q);H<q;H++)ie[H]=k[H];return ie}function c(k,q){if(!(k instanceof q))throw new TypeError("Cannot call a class as a function")}function d(k,q){for(var H=0;H<q.length;H++){var ie=q[H];ie.enumerable=ie.enumerable||!1,ie.configurable=!0,"value"in ie&&(ie.writable=!0),Object.defineProperty(k,ie.key,ie)}}function h(k,q,H){return q&&d(k.prototype,q),k}var v=(function(){function k(){c(this,k)}return h(k,[{key:"on",value:(function(H,ie){return this._callbacks=this._callbacks||{},this._callbacks[H]||(this._callbacks[H]=[]),this._callbacks[H].push(ie),this})},{key:"emit",value:function(H){this._callbacks=this._callbacks||{};for(var ie=this._callbacks[H],V=arguments.length,Z=new Array(V>1?V-1:0),me=1;me<V;me++)Z[me-1]=arguments[me];if(ie){var fe=o(ie),Re;try{for(fe.s();!(Re=fe.n()).done;){var Se=Re.value;Se.apply(this,Z)}}catch(Oe){fe.e(Oe)}finally{fe.f()}}return this.element&&this.element.dispatchEvent(this.makeEvent("dropzone:"+H,{args:Z})),this}},{key:"makeEvent",value:function(H,ie){var V={bubbles:!0,cancelable:!0,detail:ie};if(typeof window.CustomEvent=="function")return new CustomEvent(H,V);var Z=document.createEvent("CustomEvent");return Z.initCustomEvent(H,V.bubbles,V.cancelable,V.detail),Z}},{key:"off",value:function(H,ie){if(!this._callbacks||arguments.length===0)return this._callbacks={},this;var V=this._callbacks[H];if(!V)return this;if(arguments.length===1)return delete this._callbacks[H],this;for(var Z=0;Z<V.length;Z++){var me=V[Z];if(me===ie){V.splice(Z,1);break}}return this}}]),k})(),g='<div class="dz-preview dz-file-preview"> <div class="dz-image"><img data-dz-thumbnail/></div> <div class="dz-details"> <div class="dz-size"><span data-dz-size></span></div> <div class="dz-filename"><span data-dz-name></span></div> </div> <div class="dz-progress"> <span class="dz-upload" data-dz-uploadprogress></span> </div> <div class="dz-error-message"><span data-dz-errormessage></span></div> <div class="dz-success-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Check</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <path d="M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" stroke-opacity="0.198794158" stroke="#747474" fill-opacity="0.816519475" fill="#FFFFFF"></path> </g> </svg> </div> <div class="dz-error-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Error</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g stroke="#747474" stroke-opacity="0.198794158" fill="#FFFFFF" fill-opacity="0.816519475"> <path d="M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z"></path> </g> </g> </svg> </div> </div> ',m=g;function y(k,q){var H;if(typeof Symbol>"u"||k[Symbol.iterator]==null){if(Array.isArray(k)||(H=S(k))||k&&typeof k.length=="number"){H&&(k=H);var ie=0,V=function(){};return{s:V,n:function(){return ie>=k.length?{done:!0}:{done:!1,value:k[ie++]}},e:function(Se){throw Se},f:V}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
130
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Z=!0,me=!1,fe;return{s:function(){H=k[Symbol.iterator]()},n:function(){var Se=H.next();return Z=Se.done,Se},e:function(Se){me=!0,fe=Se},f:function(){try{!Z&&H.return!=null&&H.return()}finally{if(me)throw fe}}}}function S(k,q){if(k){if(typeof k=="string")return w(k,q);var H=Object.prototype.toString.call(k).slice(8,-1);if(H==="Object"&&k.constructor&&(H=k.constructor.name),H==="Map"||H==="Set")return Array.from(k);if(H==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(H))return w(k,q)}}function w(k,q){(q==null||q>k.length)&&(q=k.length);for(var H=0,ie=new Array(q);H<q;H++)ie[H]=k[H];return ie}var b={url:null,method:"post",withCredentials:!1,timeout:null,parallelUploads:2,uploadMultiple:!1,chunking:!1,forceChunking:!1,chunkSize:2e6,parallelChunkUploads:!1,retryChunks:!1,retryChunksLimit:3,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,thumbnailMethod:"crop",resizeWidth:null,resizeHeight:null,resizeMimeType:null,resizeQuality:.8,resizeMethod:"contain",filesizeBase:1e3,maxFiles:null,headers:null,clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,disablePreviews:!1,hiddenInputContainer:"body",capture:null,renameFilename:null,renameFile:null,forceFallback:!1,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictUploadCanceled:"Upload canceled.",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",dictFileSizeUnits:{tb:"TB",gb:"GB",mb:"MB",kb:"KB",b:"b"},init:function(){},params:function(q,H,ie){if(ie)return{dzuuid:ie.file.upload.uuid,dzchunkindex:ie.index,dztotalfilesize:ie.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:ie.file.upload.totalChunkCount,dzchunkbyteoffset:ie.index*this.options.chunkSize}},accept:function(q,H){return H()},chunksUploaded:function(q,H){H()},fallback:function(){var q;this.element.className="".concat(this.element.className," dz-browser-not-supported");var H=y(this.element.getElementsByTagName("div")),ie;try{for(H.s();!(ie=H.n()).done;){var V=ie.value;if(/(^| )dz-message($| )/.test(V.className)){q=V,V.className="dz-message";break}}}catch(me){H.e(me)}finally{H.f()}q||(q=D.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(q));var Z=q.getElementsByTagName("span")[0];return Z&&(Z.textContent!=null?Z.textContent=this.options.dictFallbackMessage:Z.innerText!=null&&(Z.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(q,H,ie,V){var Z={srcX:0,srcY:0,srcWidth:q.width,srcHeight:q.height},me=q.width/q.height;H==null&&ie==null?(H=Z.srcWidth,ie=Z.srcHeight):H==null?H=ie*me:ie==null&&(ie=H/me),H=Math.min(H,Z.srcWidth),ie=Math.min(ie,Z.srcHeight);var fe=H/ie;if(Z.srcWidth>H||Z.srcHeight>ie)if(V==="crop")me>fe?(Z.srcHeight=q.height,Z.srcWidth=Z.srcHeight*fe):(Z.srcWidth=q.width,Z.srcHeight=Z.srcWidth/fe);else if(V==="contain")me>fe?ie=H/me:H=ie*me;else throw new Error("Unknown resizeMethod '".concat(V,"'"));return Z.srcX=(q.width-Z.srcWidth)/2,Z.srcY=(q.height-Z.srcHeight)/2,Z.trgWidth=H,Z.trgHeight=ie,Z},transformFile:function(q,H){return(this.options.resizeWidth||this.options.resizeHeight)&&q.type.match(/image.*/)?this.resizeImage(q,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,H):H(q)},previewTemplate:m,drop:function(q){return this.element.classList.remove("dz-drag-hover")},dragstart:function(q){},dragend:function(q){return this.element.classList.remove("dz-drag-hover")},dragenter:function(q){return this.element.classList.add("dz-drag-hover")},dragover:function(q){return this.element.classList.add("dz-drag-hover")},dragleave:function(q){return this.element.classList.remove("dz-drag-hover")},paste:function(q){},reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(q){var H=this;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer&&!this.options.disablePreviews){q.previewElement=D.createElement(this.options.previewTemplate.trim()),q.previewTemplate=q.previewElement,this.previewsContainer.appendChild(q.previewElement);var ie=y(q.previewElement.querySelectorAll("[data-dz-name]")),V;try{for(ie.s();!(V=ie.n()).done;){var Z=V.value;Z.textContent=q.name}}catch(de){ie.e(de)}finally{ie.f()}var me=y(q.previewElement.querySelectorAll("[data-dz-size]")),fe;try{for(me.s();!(fe=me.n()).done;)Z=fe.value,Z.innerHTML=this.filesize(q.size)}catch(de){me.e(de)}finally{me.f()}this.options.addRemoveLinks&&(q._removeLink=D.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'.concat(this.options.dictRemoveFile,"</a>")),q.previewElement.appendChild(q._removeLink));var Re=function(Ee){return Ee.preventDefault(),Ee.stopPropagation(),q.status===D.UPLOADING?D.confirm(H.options.dictCancelUploadConfirmation,function(){return H.removeFile(q)}):H.options.dictRemoveFileConfirmation?D.confirm(H.options.dictRemoveFileConfirmation,function(){return H.removeFile(q)}):H.removeFile(q)},Se=y(q.previewElement.querySelectorAll("[data-dz-remove]")),Oe;try{for(Se.s();!(Oe=Se.n()).done;){var Me=Oe.value;Me.addEventListener("click",Re)}}catch(de){Se.e(de)}finally{Se.f()}}},removedfile:function(q){return q.previewElement!=null&&q.previewElement.parentNode!=null&&q.previewElement.parentNode.removeChild(q.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(q,H){if(q.previewElement){q.previewElement.classList.remove("dz-file-preview");var ie=y(q.previewElement.querySelectorAll("[data-dz-thumbnail]")),V;try{for(ie.s();!(V=ie.n()).done;){var Z=V.value;Z.alt=q.name,Z.src=H}}catch(me){ie.e(me)}finally{ie.f()}return setTimeout(function(){return q.previewElement.classList.add("dz-image-preview")},1)}},error:function(q,H){if(q.previewElement){q.previewElement.classList.add("dz-error"),typeof H!="string"&&H.error&&(H=H.error);var ie=y(q.previewElement.querySelectorAll("[data-dz-errormessage]")),V;try{for(ie.s();!(V=ie.n()).done;){var Z=V.value;Z.textContent=H}}catch(me){ie.e(me)}finally{ie.f()}}},errormultiple:function(){},processing:function(q){if(q.previewElement&&(q.previewElement.classList.add("dz-processing"),q._removeLink))return q._removeLink.innerHTML=this.options.dictCancelUpload},processingmultiple:function(){},uploadprogress:function(q,H,ie){if(q.previewElement){var V=y(q.previewElement.querySelectorAll("[data-dz-uploadprogress]")),Z;try{for(V.s();!(Z=V.n()).done;){var me=Z.value;me.nodeName==="PROGRESS"?me.value=H:me.style.width="".concat(H,"%")}}catch(fe){V.e(fe)}finally{V.f()}}},totaluploadprogress:function(){},sending:function(){},sendingmultiple:function(){},success:function(q){if(q.previewElement)return q.previewElement.classList.add("dz-success")},successmultiple:function(){},canceled:function(q){return this.emit("error",q,this.options.dictUploadCanceled)},canceledmultiple:function(){},complete:function(q){if(q._removeLink&&(q._removeLink.innerHTML=this.options.dictRemoveFile),q.previewElement)return q.previewElement.classList.add("dz-complete")},completemultiple:function(){},maxfilesexceeded:function(){},maxfilesreached:function(){},queuecomplete:function(){},addedfiles:function(){}},A=b;function R(k){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?R=function(H){return typeof H}:R=function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},R(k)}function x(k,q){var H;if(typeof Symbol>"u"||k[Symbol.iterator]==null){if(Array.isArray(k)||(H=O(k))||k&&typeof k.length=="number"){H&&(k=H);var ie=0,V=function(){};return{s:V,n:function(){return ie>=k.length?{done:!0}:{done:!1,value:k[ie++]}},e:function(Se){throw Se},f:V}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
131
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Z=!0,me=!1,fe;return{s:function(){H=k[Symbol.iterator]()},n:function(){var Se=H.next();return Z=Se.done,Se},e:function(Se){me=!0,fe=Se},f:function(){try{!Z&&H.return!=null&&H.return()}finally{if(me)throw fe}}}}function O(k,q){if(k){if(typeof k=="string")return _(k,q);var H=Object.prototype.toString.call(k).slice(8,-1);if(H==="Object"&&k.constructor&&(H=k.constructor.name),H==="Map"||H==="Set")return Array.from(k);if(H==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(H))return _(k,q)}}function _(k,q){(q==null||q>k.length)&&(q=k.length);for(var H=0,ie=new Array(q);H<q;H++)ie[H]=k[H];return ie}function P(k,q){if(!(k instanceof q))throw new TypeError("Cannot call a class as a function")}function N(k,q){for(var H=0;H<q.length;H++){var ie=q[H];ie.enumerable=ie.enumerable||!1,ie.configurable=!0,"value"in ie&&(ie.writable=!0),Object.defineProperty(k,ie.key,ie)}}function U(k,q,H){return q&&N(k.prototype,q),H&&N(k,H),k}function $(k,q){if(typeof q!="function"&&q!==null)throw new TypeError("Super expression must either be null or a function");k.prototype=Object.create(q&&q.prototype,{constructor:{value:k,writable:!0,configurable:!0}}),q&&B(k,q)}function B(k,q){return B=Object.setPrototypeOf||function(ie,V){return ie.__proto__=V,ie},B(k,q)}function Y(k){var q=ee();return function(){var ie=ne(k),V;if(q){var Z=ne(this).constructor;V=Reflect.construct(ie,arguments,Z)}else V=ie.apply(this,arguments);return Q(this,V)}}function Q(k,q){return q&&(R(q)==="object"||typeof q=="function")?q:K(k)}function K(k){if(k===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return k}function ee(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function ne(k){return ne=Object.setPrototypeOf?Object.getPrototypeOf:function(H){return H.__proto__||Object.getPrototypeOf(H)},ne(k)}var D=(function(k){$(H,k);var q=Y(H);function H(ie,V){var Z;P(this,H),Z=q.call(this);var me,fe;if(Z.element=ie,Z.version=H.version,Z.clickableElements=[],Z.listeners=[],Z.files=[],typeof Z.element=="string"&&(Z.element=document.querySelector(Z.element)),!Z.element||Z.element.nodeType==null)throw new Error("Invalid dropzone element.");if(Z.element.dropzone)throw new Error("Dropzone already attached.");H.instances.push(K(Z)),Z.element.dropzone=K(Z);var Re=(fe=H.optionsForElement(Z.element))!=null?fe:{};if(Z.options=H.extend({},A,Re,V??{}),Z.options.previewTemplate=Z.options.previewTemplate.replace(/\n*/g,""),Z.options.forceFallback||!H.isBrowserSupported())return Q(Z,Z.options.fallback.call(K(Z)));if(Z.options.url==null&&(Z.options.url=Z.element.getAttribute("action")),!Z.options.url)throw new Error("No URL provided.");if(Z.options.acceptedFiles&&Z.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");if(Z.options.uploadMultiple&&Z.options.chunking)throw new Error("You cannot set both: uploadMultiple and chunking.");return Z.options.acceptedMimeTypes&&(Z.options.acceptedFiles=Z.options.acceptedMimeTypes,delete Z.options.acceptedMimeTypes),Z.options.renameFilename!=null&&(Z.options.renameFile=function(Se){return Z.options.renameFilename.call(K(Z),Se.name,Se)}),typeof Z.options.method=="string"&&(Z.options.method=Z.options.method.toUpperCase()),(me=Z.getExistingFallback())&&me.parentNode&&me.parentNode.removeChild(me),Z.options.previewsContainer!==!1&&(Z.options.previewsContainer?Z.previewsContainer=H.getElement(Z.options.previewsContainer,"previewsContainer"):Z.previewsContainer=Z.element),Z.options.clickable&&(Z.options.clickable===!0?Z.clickableElements=[Z.element]:Z.clickableElements=H.getElements(Z.options.clickable,"clickable")),Z.init(),Z}return U(H,[{key:"getAcceptedFiles",value:function(){return this.files.filter(function(V){return V.accepted}).map(function(V){return V})}},{key:"getRejectedFiles",value:function(){return this.files.filter(function(V){return!V.accepted}).map(function(V){return V})}},{key:"getFilesWithStatus",value:function(V){return this.files.filter(function(Z){return Z.status===V}).map(function(Z){return Z})}},{key:"getQueuedFiles",value:function(){return this.getFilesWithStatus(H.QUEUED)}},{key:"getUploadingFiles",value:function(){return this.getFilesWithStatus(H.UPLOADING)}},{key:"getAddedFiles",value:function(){return this.getFilesWithStatus(H.ADDED)}},{key:"getActiveFiles",value:function(){return this.files.filter(function(V){return V.status===H.UPLOADING||V.status===H.QUEUED}).map(function(V){return V})}},{key:"init",value:function(){var V=this;if(this.element.tagName==="form"&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(H.createElement('<div class="dz-default dz-message"><button class="dz-button" type="button">'.concat(this.options.dictDefaultMessage,"</button></div>"))),this.clickableElements.length){var Z=function Me(){V.hiddenFileInput&&V.hiddenFileInput.parentNode.removeChild(V.hiddenFileInput),V.hiddenFileInput=document.createElement("input"),V.hiddenFileInput.setAttribute("type","file"),(V.options.maxFiles===null||V.options.maxFiles>1)&&V.hiddenFileInput.setAttribute("multiple","multiple"),V.hiddenFileInput.className="dz-hidden-input",V.options.acceptedFiles!==null&&V.hiddenFileInput.setAttribute("accept",V.options.acceptedFiles),V.options.capture!==null&&V.hiddenFileInput.setAttribute("capture",V.options.capture),V.hiddenFileInput.setAttribute("tabindex","-1"),V.hiddenFileInput.style.visibility="hidden",V.hiddenFileInput.style.position="absolute",V.hiddenFileInput.style.top="0",V.hiddenFileInput.style.left="0",V.hiddenFileInput.style.height="0",V.hiddenFileInput.style.width="0",H.getElement(V.options.hiddenInputContainer,"hiddenInputContainer").appendChild(V.hiddenFileInput),V.hiddenFileInput.addEventListener("change",function(){var de=V.hiddenFileInput.files;if(de.length){var Ee=x(de),_e;try{for(Ee.s();!(_e=Ee.n()).done;){var xe=_e.value;V.addFile(xe)}}catch(ke){Ee.e(ke)}finally{Ee.f()}}V.emit("addedfiles",de),Me()})};Z()}this.URL=window.URL!==null?window.URL:window.webkitURL;var me=x(this.events),fe;try{for(me.s();!(fe=me.n()).done;){var Re=fe.value;this.on(Re,this.options[Re])}}catch(Me){me.e(Me)}finally{me.f()}this.on("uploadprogress",function(){return V.updateTotalUploadProgress()}),this.on("removedfile",function(){return V.updateTotalUploadProgress()}),this.on("canceled",function(Me){return V.emit("complete",Me)}),this.on("complete",function(Me){if(V.getAddedFiles().length===0&&V.getUploadingFiles().length===0&&V.getQueuedFiles().length===0)return setTimeout(function(){return V.emit("queuecomplete")},0)});var Se=function(de){if(de.dataTransfer.types){for(var Ee=0;Ee<de.dataTransfer.types.length;Ee++)if(de.dataTransfer.types[Ee]==="Files")return!0}return!1},Oe=function(de){if(Se(de))return de.stopPropagation(),de.preventDefault?de.preventDefault():de.returnValue=!1};return this.listeners=[{element:this.element,events:{dragstart:function(de){return V.emit("dragstart",de)},dragenter:function(de){return Oe(de),V.emit("dragenter",de)},dragover:function(de){var Ee;try{Ee=de.dataTransfer.effectAllowed}catch{}return de.dataTransfer.dropEffect=Ee==="move"||Ee==="linkMove"?"move":"copy",Oe(de),V.emit("dragover",de)},dragleave:function(de){return V.emit("dragleave",de)},drop:function(de){return Oe(de),V.drop(de)},dragend:function(de){return V.emit("dragend",de)}}}],this.clickableElements.forEach(function(Me){return V.listeners.push({element:Me,events:{click:function(Ee){return(Me!==V.element||Ee.target===V.element||H.elementInside(Ee.target,V.element.querySelector(".dz-message")))&&V.hiddenFileInput.click(),!0}}})}),this.enable(),this.options.init.call(this)}},{key:"destroy",value:function(){return this.disable(),this.removeAllFiles(!0),this.hiddenFileInput!=null&&this.hiddenFileInput.parentNode&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,H.instances.splice(H.instances.indexOf(this),1)}},{key:"updateTotalUploadProgress",value:function(){var V,Z=0,me=0,fe=this.getActiveFiles();if(fe.length){var Re=x(this.getActiveFiles()),Se;try{for(Re.s();!(Se=Re.n()).done;){var Oe=Se.value;Z+=Oe.upload.bytesSent,me+=Oe.upload.total}}catch(Me){Re.e(Me)}finally{Re.f()}V=100*Z/me}else V=100;return this.emit("totaluploadprogress",V,me,Z)}},{key:"_getParamName",value:function(V){return typeof this.options.paramName=="function"?this.options.paramName(V):"".concat(this.options.paramName).concat(this.options.uploadMultiple?"[".concat(V,"]"):"")}},{key:"_renameFile",value:function(V){return typeof this.options.renameFile!="function"?V.name:this.options.renameFile(V)}},{key:"getFallbackForm",value:function(){var V,Z;if(V=this.getExistingFallback())return V;var me='<div class="dz-fallback">';this.options.dictFallbackText&&(me+="<p>".concat(this.options.dictFallbackText,"</p>")),me+='<input type="file" name="'.concat(this._getParamName(0),'" ').concat(this.options.uploadMultiple?'multiple="multiple"':void 0,' /><input type="submit" value="Upload!"></div>');var fe=H.createElement(me);return this.element.tagName!=="FORM"?(Z=H.createElement('<form action="'.concat(this.options.url,'" enctype="multipart/form-data" method="').concat(this.options.method,'"></form>')),Z.appendChild(fe)):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),Z??fe}},{key:"getExistingFallback",value:function(){for(var V=function(Oe){var Me=x(Oe),de;try{for(Me.s();!(de=Me.n()).done;){var Ee=de.value;if(/(^| )fallback($| )/.test(Ee.className))return Ee}}catch(_e){Me.e(_e)}finally{Me.f()}},Z=0,me=["div","form"];Z<me.length;Z++){var fe=me[Z],Re;if(Re=V(this.element.getElementsByTagName(fe)))return Re}}},{key:"setupEventListeners",value:function(){return this.listeners.map(function(V){return(function(){var Z=[];for(var me in V.events){var fe=V.events[me];Z.push(V.element.addEventListener(me,fe,!1))}return Z})()})}},{key:"removeEventListeners",value:function(){return this.listeners.map(function(V){return(function(){var Z=[];for(var me in V.events){var fe=V.events[me];Z.push(V.element.removeEventListener(me,fe,!1))}return Z})()})}},{key:"disable",value:function(){var V=this;return this.clickableElements.forEach(function(Z){return Z.classList.remove("dz-clickable")}),this.removeEventListeners(),this.disabled=!0,this.files.map(function(Z){return V.cancelUpload(Z)})}},{key:"enable",value:function(){return delete this.disabled,this.clickableElements.forEach(function(V){return V.classList.add("dz-clickable")}),this.setupEventListeners()}},{key:"filesize",value:function(V){var Z=0,me="b";if(V>0){for(var fe=["tb","gb","mb","kb","b"],Re=0;Re<fe.length;Re++){var Se=fe[Re],Oe=Math.pow(this.options.filesizeBase,4-Re)/10;if(V>=Oe){Z=V/Math.pow(this.options.filesizeBase,4-Re),me=Se;break}}Z=Math.round(10*Z)/10}return"<strong>".concat(Z,"</strong> ").concat(this.options.dictFileSizeUnits[me])}},{key:"_updateMaxFilesReachedClass",value:function(){return this.options.maxFiles!=null&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")}},{key:"drop",value:function(V){if(V.dataTransfer){this.emit("drop",V);for(var Z=[],me=0;me<V.dataTransfer.files.length;me++)Z[me]=V.dataTransfer.files[me];if(Z.length){var fe=V.dataTransfer.items;fe&&fe.length&&fe[0].webkitGetAsEntry!=null?this._addFilesFromItems(fe):this.handleFiles(Z)}this.emit("addedfiles",Z)}}},{key:"paste",value:function(V){if(Ie(V!=null?V.clipboardData:void 0,function(me){return me.items})!=null){this.emit("paste",V);var Z=V.clipboardData.items;if(Z.length)return this._addFilesFromItems(Z)}}},{key:"handleFiles",value:function(V){var Z=x(V),me;try{for(Z.s();!(me=Z.n()).done;){var fe=me.value;this.addFile(fe)}}catch(Re){Z.e(Re)}finally{Z.f()}}},{key:"_addFilesFromItems",value:function(V){var Z=this;return(function(){var me=[],fe=x(V),Re;try{for(fe.s();!(Re=fe.n()).done;){var Se=Re.value,Oe;Se.webkitGetAsEntry!=null&&(Oe=Se.webkitGetAsEntry())?Oe.isFile?me.push(Z.addFile(Se.getAsFile())):Oe.isDirectory?me.push(Z._addFilesFromDirectory(Oe,Oe.name)):me.push(void 0):Se.getAsFile!=null&&(Se.kind==null||Se.kind==="file")?me.push(Z.addFile(Se.getAsFile())):me.push(void 0)}}catch(Me){fe.e(Me)}finally{fe.f()}return me})()}},{key:"_addFilesFromDirectory",value:function(V,Z){var me=this,fe=V.createReader(),Re=function(Me){return je(console,"log",function(de){return de.log(Me)})},Se=function Oe(){return fe.readEntries(function(Me){if(Me.length>0){var de=x(Me),Ee;try{for(de.s();!(Ee=de.n()).done;){var _e=Ee.value;_e.isFile?_e.file(function(xe){if(!(me.options.ignoreHiddenFiles&&xe.name.substring(0,1)==="."))return xe.fullPath="".concat(Z,"/").concat(xe.name),me.addFile(xe)}):_e.isDirectory&&me._addFilesFromDirectory(_e,"".concat(Z,"/").concat(_e.name))}}catch(xe){de.e(xe)}finally{de.f()}Oe()}return null},Re)};return Se()}},{key:"accept",value:function(V,Z){this.options.maxFilesize&&V.size>this.options.maxFilesize*1024*1024?Z(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(V.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):H.isValidFile(V,this.options.acceptedFiles)?this.options.maxFiles!=null&&this.getAcceptedFiles().length>=this.options.maxFiles?(Z(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",V)):this.options.accept.call(this,V,Z):Z(this.options.dictInvalidFileType)}},{key:"addFile",value:function(V){var Z=this;V.upload={uuid:H.uuidv4(),progress:0,total:V.size,bytesSent:0,filename:this._renameFile(V)},this.files.push(V),V.status=H.ADDED,this.emit("addedfile",V),this._enqueueThumbnail(V),this.accept(V,function(me){me?(V.accepted=!1,Z._errorProcessing([V],me)):(V.accepted=!0,Z.options.autoQueue&&Z.enqueueFile(V)),Z._updateMaxFilesReachedClass()})}},{key:"enqueueFiles",value:function(V){var Z=x(V),me;try{for(Z.s();!(me=Z.n()).done;){var fe=me.value;this.enqueueFile(fe)}}catch(Re){Z.e(Re)}finally{Z.f()}return null}},{key:"enqueueFile",value:function(V){var Z=this;if(V.status===H.ADDED&&V.accepted===!0){if(V.status=H.QUEUED,this.options.autoProcessQueue)return setTimeout(function(){return Z.processQueue()},0)}else throw new Error("This file can't be queued because it has already been processed or was rejected.")}},{key:"_enqueueThumbnail",value:function(V){var Z=this;if(this.options.createImageThumbnails&&V.type.match(/image.*/)&&V.size<=this.options.maxThumbnailFilesize*1024*1024)return this._thumbnailQueue.push(V),setTimeout(function(){return Z._processThumbnailQueue()},0)}},{key:"_processThumbnailQueue",value:function(){var V=this;if(!(this._processingThumbnail||this._thumbnailQueue.length===0)){this._processingThumbnail=!0;var Z=this._thumbnailQueue.shift();return this.createThumbnail(Z,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,function(me){return V.emit("thumbnail",Z,me),V._processingThumbnail=!1,V._processThumbnailQueue()})}}},{key:"removeFile",value:function(V){if(V.status===H.UPLOADING&&this.cancelUpload(V),this.files=I(this.files,V),this.emit("removedfile",V),this.files.length===0)return this.emit("reset")}},{key:"removeAllFiles",value:function(V){V==null&&(V=!1);var Z=x(this.files.slice()),me;try{for(Z.s();!(me=Z.n()).done;){var fe=me.value;(fe.status!==H.UPLOADING||V)&&this.removeFile(fe)}}catch(Re){Z.e(Re)}finally{Z.f()}return null}},{key:"resizeImage",value:function(V,Z,me,fe,Re){var Se=this;return this.createThumbnail(V,Z,me,fe,!0,function(Oe,Me){if(Me==null)return Re(V);var de=Se.options.resizeMimeType;de==null&&(de=V.type);var Ee=Me.toDataURL(de,Se.options.resizeQuality);return(de==="image/jpeg"||de==="image/jpg")&&(Ee=ce.restore(V.dataURL,Ee)),Re(H.dataURItoBlob(Ee))})}},{key:"createThumbnail",value:function(V,Z,me,fe,Re,Se){var Oe=this,Me=new FileReader;Me.onload=function(){if(V.dataURL=Me.result,V.type==="image/svg+xml"){Se!=null&&Se(Me.result);return}Oe.createThumbnailFromUrl(V,Z,me,fe,Re,Se)},Me.readAsDataURL(V)}},{key:"displayExistingFile",value:function(V,Z,me,fe){var Re=this,Se=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0;if(this.emit("addedfile",V),this.emit("complete",V),!Se)this.emit("thumbnail",V,Z),me&&me();else{var Oe=function(de){Re.emit("thumbnail",V,de),me&&me()};V.dataURL=Z,this.createThumbnailFromUrl(V,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,this.options.fixOrientation,Oe,fe)}}},{key:"createThumbnailFromUrl",value:function(V,Z,me,fe,Re,Se,Oe){var Me=this,de=document.createElement("img");return Oe&&(de.crossOrigin=Oe),Re=getComputedStyle(document.body).imageOrientation=="from-image"?!1:Re,de.onload=function(){var Ee=function(xe){return xe(1)};return typeof EXIF<"u"&&EXIF!==null&&Re&&(Ee=function(xe){return EXIF.getData(de,function(){return xe(EXIF.getTag(this,"Orientation"))})}),Ee(function(_e){V.width=de.width,V.height=de.height;var xe=Me.options.resize.call(Me,V,Z,me,fe),ke=document.createElement("canvas"),Le=ke.getContext("2d");switch(ke.width=xe.trgWidth,ke.height=xe.trgHeight,_e>4&&(ke.width=xe.trgHeight,ke.height=xe.trgWidth),_e){case 2:Le.translate(ke.width,0),Le.scale(-1,1);break;case 3:Le.translate(ke.width,ke.height),Le.rotate(Math.PI);break;case 4:Le.translate(0,ke.height),Le.scale(1,-1);break;case 5:Le.rotate(.5*Math.PI),Le.scale(1,-1);break;case 6:Le.rotate(.5*Math.PI),Le.translate(0,-ke.width);break;case 7:Le.rotate(.5*Math.PI),Le.translate(ke.height,-ke.width),Le.scale(-1,1);break;case 8:Le.rotate(-.5*Math.PI),Le.translate(-ke.height,0);break}te(Le,de,xe.srcX!=null?xe.srcX:0,xe.srcY!=null?xe.srcY:0,xe.srcWidth,xe.srcHeight,xe.trgX!=null?xe.trgX:0,xe.trgY!=null?xe.trgY:0,xe.trgWidth,xe.trgHeight);var He=ke.toDataURL("image/png");if(Se!=null)return Se(He,ke)})},Se!=null&&(de.onerror=Se),de.src=V.dataURL}},{key:"processQueue",value:function(){var V=this.options.parallelUploads,Z=this.getUploadingFiles().length,me=Z;if(!(Z>=V)){var fe=this.getQueuedFiles();if(fe.length>0){if(this.options.uploadMultiple)return this.processFiles(fe.slice(0,V-Z));for(;me<V;){if(!fe.length)return;this.processFile(fe.shift()),me++}}}}},{key:"processFile",value:function(V){return this.processFiles([V])}},{key:"processFiles",value:function(V){var Z=x(V),me;try{for(Z.s();!(me=Z.n()).done;){var fe=me.value;fe.processing=!0,fe.status=H.UPLOADING,this.emit("processing",fe)}}catch(Re){Z.e(Re)}finally{Z.f()}return this.options.uploadMultiple&&this.emit("processingmultiple",V),this.uploadFiles(V)}},{key:"_getFilesWithXhr",value:function(V){return this.files.filter(function(Z){return Z.xhr===V}).map(function(Z){return Z})}},{key:"cancelUpload",value:function(V){if(V.status===H.UPLOADING){var Z=this._getFilesWithXhr(V.xhr),me=x(Z),fe;try{for(me.s();!(fe=me.n()).done;){var Re=fe.value;Re.status=H.CANCELED}}catch(de){me.e(de)}finally{me.f()}typeof V.xhr<"u"&&V.xhr.abort();var Se=x(Z),Oe;try{for(Se.s();!(Oe=Se.n()).done;){var Me=Oe.value;this.emit("canceled",Me)}}catch(de){Se.e(de)}finally{Se.f()}this.options.uploadMultiple&&this.emit("canceledmultiple",Z)}else(V.status===H.ADDED||V.status===H.QUEUED)&&(V.status=H.CANCELED,this.emit("canceled",V),this.options.uploadMultiple&&this.emit("canceledmultiple",[V]));if(this.options.autoProcessQueue)return this.processQueue()}},{key:"resolveOption",value:function(V){if(typeof V=="function"){for(var Z=arguments.length,me=new Array(Z>1?Z-1:0),fe=1;fe<Z;fe++)me[fe-1]=arguments[fe];return V.apply(this,me)}return V}},{key:"uploadFile",value:function(V){return this.uploadFiles([V])}},{key:"uploadFiles",value:function(V){var Z=this;this._transformFiles(V,function(me){if(Z.options.chunking){var fe=me[0];V[0].upload.chunked=Z.options.chunking&&(Z.options.forceChunking||fe.size>Z.options.chunkSize),V[0].upload.totalChunkCount=Math.ceil(fe.size/Z.options.chunkSize)}if(V[0].upload.chunked){var Re=V[0],Se=me[0];Re.upload.chunks=[];var Oe=function(){for(var xe=0;Re.upload.chunks[xe]!==void 0;)xe++;if(!(xe>=Re.upload.totalChunkCount)){var ke=xe*Z.options.chunkSize,Le=Math.min(ke+Z.options.chunkSize,Se.size),He={name:Z._getParamName(0),data:Se.webkitSlice?Se.webkitSlice(ke,Le):Se.slice(ke,Le),filename:Re.upload.filename,chunkIndex:xe};Re.upload.chunks[xe]={file:Re,index:xe,dataBlock:He,status:H.UPLOADING,progress:0,retries:0},Z._uploadData(V,[He])}};if(Re.upload.finishedChunkUpload=function(_e,xe){var ke=!0;_e.status=H.SUCCESS,_e.dataBlock=null,_e.xhr=null;for(var Le=0;Le<Re.upload.totalChunkCount;Le++){if(Re.upload.chunks[Le]===void 0)return Oe();Re.upload.chunks[Le].status!==H.SUCCESS&&(ke=!1)}ke&&Z.options.chunksUploaded(Re,function(){Z._finished(V,xe,null)})},Z.options.parallelChunkUploads)for(var Me=0;Me<Re.upload.totalChunkCount;Me++)Oe();else Oe()}else{for(var de=[],Ee=0;Ee<V.length;Ee++)de[Ee]={name:Z._getParamName(Ee),data:me[Ee],filename:V[Ee].upload.filename};Z._uploadData(V,de)}})}},{key:"_getChunk",value:function(V,Z){for(var me=0;me<V.upload.totalChunkCount;me++)if(V.upload.chunks[me]!==void 0&&V.upload.chunks[me].xhr===Z)return V.upload.chunks[me]}},{key:"_uploadData",value:function(V,Z){var me=this,fe=new XMLHttpRequest,Re=x(V),Se;try{for(Re.s();!(Se=Re.n()).done;){var Oe=Se.value;Oe.xhr=fe}}catch($t){Re.e($t)}finally{Re.f()}V[0].upload.chunked&&(V[0].upload.chunks[Z[0].chunkIndex].xhr=fe);var Me=this.resolveOption(this.options.method,V),de=this.resolveOption(this.options.url,V);fe.open(Me,de,!0);var Ee=this.resolveOption(this.options.timeout,V);Ee&&(fe.timeout=this.resolveOption(this.options.timeout,V)),fe.withCredentials=!!this.options.withCredentials,fe.onload=function($t){me._finishedUploading(V,fe,$t)},fe.ontimeout=function(){me._handleUploadError(V,fe,"Request timedout after ".concat(me.options.timeout/1e3," seconds"))},fe.onerror=function(){me._handleUploadError(V,fe)};var _e=fe.upload!=null?fe.upload:fe;_e.onprogress=function($t){return me._updateFilesUploadProgress(V,fe,$t)};var xe={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"};this.options.headers&&H.extend(xe,this.options.headers);for(var ke in xe){var Le=xe[ke];Le&&fe.setRequestHeader(ke,Le)}var He=new FormData;if(this.options.params){var _t=this.options.params;typeof _t=="function"&&(_t=_t.call(this,V,fe,V[0].upload.chunked?this._getChunk(V[0],fe):null));for(var jt in _t){var Lt=_t[jt];if(Array.isArray(Lt))for(var Qe=0;Qe<Lt.length;Qe++)He.append(jt,Lt[Qe]);else He.append(jt,Lt)}}var bt=x(V),mt;try{for(bt.s();!(mt=bt.n()).done;){var St=mt.value;this.emit("sending",St,fe,He)}}catch($t){bt.e($t)}finally{bt.f()}this.options.uploadMultiple&&this.emit("sendingmultiple",V,fe,He),this._addFormElementData(He);for(var yt=0;yt<Z.length;yt++){var at=Z[yt];He.append(at.name,at.data,at.filename)}this.submitRequest(fe,He,V)}},{key:"_transformFiles",value:function(V,Z){for(var me=this,fe=[],Re=0,Se=function(de){me.options.transformFile.call(me,V[de],function(Ee){fe[de]=Ee,++Re===V.length&&Z(fe)})},Oe=0;Oe<V.length;Oe++)Se(Oe)}},{key:"_addFormElementData",value:function(V){if(this.element.tagName==="FORM"){var Z=x(this.element.querySelectorAll("input, textarea, select, button")),me;try{for(Z.s();!(me=Z.n()).done;){var fe=me.value,Re=fe.getAttribute("name"),Se=fe.getAttribute("type");if(Se&&(Se=Se.toLowerCase()),!(typeof Re>"u"||Re===null))if(fe.tagName==="SELECT"&&fe.hasAttribute("multiple")){var Oe=x(fe.options,!0),Me;try{for(Oe.s();!(Me=Oe.n()).done;){var de=Me.value;de.selected&&V.append(Re,de.value)}}catch(Ee){Oe.e(Ee)}finally{Oe.f()}}else(!Se||Se!=="checkbox"&&Se!=="radio"||fe.checked)&&V.append(Re,fe.value)}}catch(Ee){Z.e(Ee)}finally{Z.f()}}}},{key:"_updateFilesUploadProgress",value:function(V,Z,me){if(V[0].upload.chunked){var Oe=V[0],Me=this._getChunk(Oe,Z);me?(Me.progress=100*me.loaded/me.total,Me.total=me.total,Me.bytesSent=me.loaded):(Me.progress=100,Me.bytesSent=Me.total),Oe.upload.progress=0,Oe.upload.total=0,Oe.upload.bytesSent=0;for(var de=0;de<Oe.upload.totalChunkCount;de++)Oe.upload.chunks[de]&&typeof Oe.upload.chunks[de].progress<"u"&&(Oe.upload.progress+=Oe.upload.chunks[de].progress,Oe.upload.total+=Oe.upload.chunks[de].total,Oe.upload.bytesSent+=Oe.upload.chunks[de].bytesSent);Oe.upload.progress=Oe.upload.progress/Oe.upload.totalChunkCount,this.emit("uploadprogress",Oe,Oe.upload.progress,Oe.upload.bytesSent)}else{var fe=x(V),Re;try{for(fe.s();!(Re=fe.n()).done;){var Se=Re.value;Se.upload.total&&Se.upload.bytesSent&&Se.upload.bytesSent==Se.upload.total||(me?(Se.upload.progress=100*me.loaded/me.total,Se.upload.total=me.total,Se.upload.bytesSent=me.loaded):(Se.upload.progress=100,Se.upload.bytesSent=Se.upload.total),this.emit("uploadprogress",Se,Se.upload.progress,Se.upload.bytesSent))}}catch(Ee){fe.e(Ee)}finally{fe.f()}}}},{key:"_finishedUploading",value:function(V,Z,me){var fe;if(V[0].status!==H.CANCELED&&Z.readyState===4){if(Z.responseType!=="arraybuffer"&&Z.responseType!=="blob"&&(fe=Z.responseText,Z.getResponseHeader("content-type")&&~Z.getResponseHeader("content-type").indexOf("application/json")))try{fe=JSON.parse(fe)}catch(Re){me=Re,fe="Invalid JSON response from server."}this._updateFilesUploadProgress(V,Z),200<=Z.status&&Z.status<300?V[0].upload.chunked?V[0].upload.finishedChunkUpload(this._getChunk(V[0],Z),fe):this._finished(V,fe,me):this._handleUploadError(V,Z,fe)}}},{key:"_handleUploadError",value:function(V,Z,me){if(V[0].status!==H.CANCELED){if(V[0].upload.chunked&&this.options.retryChunks){var fe=this._getChunk(V[0],Z);if(fe.retries++<this.options.retryChunksLimit){this._uploadData(V,[fe.dataBlock]);return}else console.warn("Retried this chunk too often. Giving up.")}this._errorProcessing(V,me||this.options.dictResponseError.replace("{{statusCode}}",Z.status),Z)}}},{key:"submitRequest",value:function(V,Z,me){if(V.readyState!=1){console.warn("Cannot send this request because the XMLHttpRequest.readyState is not OPENED.");return}V.send(Z)}},{key:"_finished",value:function(V,Z,me){var fe=x(V),Re;try{for(fe.s();!(Re=fe.n()).done;){var Se=Re.value;Se.status=H.SUCCESS,this.emit("success",Se,Z,me),this.emit("complete",Se)}}catch(Oe){fe.e(Oe)}finally{fe.f()}if(this.options.uploadMultiple&&(this.emit("successmultiple",V,Z,me),this.emit("completemultiple",V)),this.options.autoProcessQueue)return this.processQueue()}},{key:"_errorProcessing",value:function(V,Z,me){var fe=x(V),Re;try{for(fe.s();!(Re=fe.n()).done;){var Se=Re.value;Se.status=H.ERROR,this.emit("error",Se,Z,me),this.emit("complete",Se)}}catch(Oe){fe.e(Oe)}finally{fe.f()}if(this.options.uploadMultiple&&(this.emit("errormultiple",V,Z,me),this.emit("completemultiple",V)),this.options.autoProcessQueue)return this.processQueue()}}],[{key:"initClass",value:function(){this.prototype.Emitter=v,this.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],this.prototype._thumbnailQueue=[],this.prototype._processingThumbnail=!1}},{key:"extend",value:function(V){for(var Z=arguments.length,me=new Array(Z>1?Z-1:0),fe=1;fe<Z;fe++)me[fe-1]=arguments[fe];for(var Re=0,Se=me;Re<Se.length;Re++){var Oe=Se[Re];for(var Me in Oe){var de=Oe[Me];V[Me]=de}}return V}},{key:"uuidv4",value:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(V){var Z=Math.random()*16|0,me=V==="x"?Z:Z&3|8;return me.toString(16)})}}]),H})(v);D.initClass(),D.version="5.9.3",D.options={},D.optionsForElement=function(k){if(k.getAttribute("id"))return D.options[L(k.getAttribute("id"))]},D.instances=[],D.forElement=function(k){if(typeof k=="string"&&(k=document.querySelector(k)),(k!=null?k.dropzone:void 0)==null)throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return k.dropzone},D.autoDiscover=!0,D.discover=function(){var k;if(document.querySelectorAll)k=document.querySelectorAll(".dropzone");else{k=[];var q=function(ie){return(function(){var V=[],Z=x(ie),me;try{for(Z.s();!(me=Z.n()).done;){var fe=me.value;/(^| )dropzone($| )/.test(fe.className)?V.push(k.push(fe)):V.push(void 0)}}catch(Re){Z.e(Re)}finally{Z.f()}return V})()};q(document.getElementsByTagName("div")),q(document.getElementsByTagName("form"))}return(function(){var H=[],ie=x(k),V;try{for(ie.s();!(V=ie.n()).done;){var Z=V.value;D.optionsForElement(Z)!==!1?H.push(new D(Z)):H.push(void 0)}}catch(me){ie.e(me)}finally{ie.f()}return H})()},D.blockedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i],D.isBrowserSupported=function(){var k=!0;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if(!("classList"in document.createElement("a")))k=!1;else{D.blacklistedBrowsers!==void 0&&(D.blockedBrowsers=D.blacklistedBrowsers);var q=x(D.blockedBrowsers),H;try{for(q.s();!(H=q.n()).done;){var ie=H.value;if(ie.test(navigator.userAgent)){k=!1;continue}}}catch(V){q.e(V)}finally{q.f()}}else k=!1;return k},D.dataURItoBlob=function(k){for(var q=atob(k.split(",")[1]),H=k.split(",")[0].split(":")[1].split(";")[0],ie=new ArrayBuffer(q.length),V=new Uint8Array(ie),Z=0,me=q.length,fe=0<=me;fe?Z<=me:Z>=me;fe?Z++:Z--)V[Z]=q.charCodeAt(Z);return new Blob([ie],{type:H})};var I=function(q,H){return q.filter(function(ie){return ie!==H}).map(function(ie){return ie})},L=function(q){return q.replace(/[\-_](\w)/g,function(H){return H.charAt(1).toUpperCase()})};D.createElement=function(k){var q=document.createElement("div");return q.innerHTML=k,q.childNodes[0]},D.elementInside=function(k,q){if(k===q)return!0;for(;k=k.parentNode;)if(k===q)return!0;return!1},D.getElement=function(k,q){var H;if(typeof k=="string"?H=document.querySelector(k):k.nodeType!=null&&(H=k),H==null)throw new Error("Invalid `".concat(q,"` option provided. Please provide a CSS selector or a plain HTML element."));return H},D.getElements=function(k,q){var H,ie;if(k instanceof Array){ie=[];try{var V=x(k,!0),Z;try{for(V.s();!(Z=V.n()).done;)H=Z.value,ie.push(this.getElement(H,q))}catch(Re){V.e(Re)}finally{V.f()}}catch{ie=null}}else if(typeof k=="string"){ie=[];var me=x(document.querySelectorAll(k)),fe;try{for(me.s();!(fe=me.n()).done;)H=fe.value,ie.push(H)}catch(Re){me.e(Re)}finally{me.f()}}else k.nodeType!=null&&(ie=[k]);if(ie==null||!ie.length)throw new Error("Invalid `".concat(q,"` option provided. Please provide a CSS selector, a plain HTML element or a list of those."));return ie},D.confirm=function(k,q,H){if(window.confirm(k))return q();if(H!=null)return H()},D.isValidFile=function(k,q){if(!q)return!0;q=q.split(",");var H=k.type,ie=H.replace(/\/.*$/,""),V=x(q),Z;try{for(V.s();!(Z=V.n()).done;){var me=Z.value;if(me=me.trim(),me.charAt(0)==="."){if(k.name.toLowerCase().indexOf(me.toLowerCase(),k.name.length-me.length)!==-1)return!0}else if(/\/\*$/.test(me)){if(ie===me.replace(/\/.*$/,""))return!0}else if(H===me)return!0}}catch(fe){V.e(fe)}finally{V.f()}return!1},typeof jQuery<"u"&&jQuery!==null&&(jQuery.fn.dropzone=function(k){return this.each(function(){return new D(this,k)})}),D.ADDED="added",D.QUEUED="queued",D.ACCEPTED=D.QUEUED,D.UPLOADING="uploading",D.PROCESSING=D.UPLOADING,D.CANCELED="canceled",D.ERROR="error",D.SUCCESS="success";var re=function(q){q.naturalWidth;var H=q.naturalHeight,ie=document.createElement("canvas");ie.width=1,ie.height=H;var V=ie.getContext("2d");V.drawImage(q,0,0);for(var Z=V.getImageData(1,0,1,H),me=Z.data,fe=0,Re=H,Se=H;Se>fe;){var Oe=me[(Se-1)*4+3];Oe===0?Re=Se:fe=Se,Se=Re+fe>>1}var Me=Se/H;return Me===0?1:Me},te=function(q,H,ie,V,Z,me,fe,Re,Se,Oe){var Me=re(H);return q.drawImage(H,ie,V,Z,me,fe,Re,Se,Oe/Me)},ce=(function(){function k(){P(this,k)}return U(k,null,[{key:"initClass",value:function(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}},{key:"encode64",value:function(H){for(var ie="",V=void 0,Z=void 0,me="",fe=void 0,Re=void 0,Se=void 0,Oe="",Me=0;V=H[Me++],Z=H[Me++],me=H[Me++],fe=V>>2,Re=(V&3)<<4|Z>>4,Se=(Z&15)<<2|me>>6,Oe=me&63,isNaN(Z)?Se=Oe=64:isNaN(me)&&(Oe=64),ie=ie+this.KEY_STR.charAt(fe)+this.KEY_STR.charAt(Re)+this.KEY_STR.charAt(Se)+this.KEY_STR.charAt(Oe),V=Z=me="",fe=Re=Se=Oe="",Me<H.length;);return ie}},{key:"restore",value:function(H,ie){if(!H.match("data:image/jpeg;base64,"))return ie;var V=this.decode64(H.replace("data:image/jpeg;base64,","")),Z=this.slice2Segments(V),me=this.exifManipulation(ie,Z);return"data:image/jpeg;base64,".concat(this.encode64(me))}},{key:"exifManipulation",value:function(H,ie){var V=this.getExifArray(ie),Z=this.insertExif(H,V),me=new Uint8Array(Z);return me}},{key:"getExifArray",value:function(H){for(var ie=void 0,V=0;V<H.length;){if(ie=H[V],ie[0]===255&ie[1]===225)return ie;V++}return[]}},{key:"insertExif",value:function(H,ie){var V=H.replace("data:image/jpeg;base64,",""),Z=this.decode64(V),me=Z.indexOf(255,3),fe=Z.slice(0,me),Re=Z.slice(me),Se=fe;return Se=Se.concat(ie),Se=Se.concat(Re),Se}},{key:"slice2Segments",value:function(H){for(var ie=0,V=[];;){var Z;if(H[ie]===255&H[ie+1]===218)break;if(H[ie]===255&H[ie+1]===216)ie+=2;else{Z=H[ie+2]*256+H[ie+3];var me=ie+Z+2,fe=H.slice(ie,me);V.push(fe),ie=me}if(ie>H.length)break}return V}},{key:"decode64",value:function(H){var ie=void 0,V=void 0,Z="",me=void 0,fe=void 0,Re=void 0,Se="",Oe=0,Me=[],de=/[^A-Za-z0-9\+\/\=]/g;for(de.exec(H)&&console.warn(`There were invalid base64 characters in the input text.
132
- Valid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='
133
- Expect errors in decoding.`),H=H.replace(/[^A-Za-z0-9\+\/\=]/g,"");me=this.KEY_STR.indexOf(H.charAt(Oe++)),fe=this.KEY_STR.indexOf(H.charAt(Oe++)),Re=this.KEY_STR.indexOf(H.charAt(Oe++)),Se=this.KEY_STR.indexOf(H.charAt(Oe++)),ie=me<<2|fe>>4,V=(fe&15)<<4|Re>>2,Z=(Re&3)<<6|Se,Me.push(ie),Re!==64&&Me.push(V),Se!==64&&Me.push(Z),ie=V=Z="",me=fe=Re=Se="",Oe<H.length;);return Me}}]),k})();ce.initClass();var be=function(q,H){var ie=!1,V=!0,Z=q.document,me=Z.documentElement,fe=Z.addEventListener?"addEventListener":"attachEvent",Re=Z.addEventListener?"removeEventListener":"detachEvent",Se=Z.addEventListener?"":"on",Oe=function de(Ee){if(!(Ee.type==="readystatechange"&&Z.readyState!=="complete")&&((Ee.type==="load"?q:Z)[Re](Se+Ee.type,de,!1),!ie&&(ie=!0)))return H.call(q,Ee.type||Ee)},Me=function de(){try{me.doScroll("left")}catch{setTimeout(de,50);return}return Oe("poll")};if(Z.readyState!=="complete"){if(Z.createEventObject&&me.doScroll){try{V=!q.frameElement}catch{}V&&Me()}return Z[fe](Se+"DOMContentLoaded",Oe,!1),Z[fe](Se+"readystatechange",Oe,!1),q[fe](Se+"load",Oe,!1)}};D._autoDiscoverFunction=function(){if(D.autoDiscover)return D.discover()},be(window,D._autoDiscoverFunction);function Ie(k,q){return typeof k<"u"&&k!==null?q(k):void 0}function je(k,q,H){if(typeof k<"u"&&k!==null&&typeof k[q]=="function")return H(k,q)}window.Dropzone=D;var z=D})(),a})()})})(QA)),QA.exports}var TAe=bAe();const CQ=jn(TAe),sm="upload.internetConnectivityError";class RAe extends $f{constructor(){super(gr.getPhrase(sm,"title"))}get name(){return"InternetConnectivityError"}get dialogOptions(){return{title:gr.getPhrase(sm,"heading"),text:gr.getPhrase(sm,"body"),buttons:[{text:gr.getPhrase(sm,"okay"),className:"btn btn-outline-dark",success:!0}]}}}class Mae extends j_{get name(){return"AlertError"}}const um="upload.slowInternetError";class xAe extends $f{constructor(){super(gr.getPhrase(um,"title"))}get name(){return"SlowInternetError"}get dialogOptions(){return{title:gr.getPhrase(um,"heading"),text:gr.getPhrase(um,"body"),buttons:[{text:gr.getPhrase(um,"okay"),className:"btn btn-outline-dark",success:!0}]}}}const CAe=[];class AQ extends Ho{constructor(t){super(t),this.slowInternetTimeout={},this.showSlowInternetTimeout=!0}get name(){return"DropzoneWrapper"}initialize(t){const{loggingEnabled:r}=this.options,n=$r.Radio.channel(t.channelName),i=this;this.dropzone=new CQ(document.createElement("div"),{url:(a=>{const o=a[0],{ingestUrl:u}=o.cvUpload;return u}),chunking:this.options.chunkingEnabled,chunkSize:this.options.chunkSize,forceChunking:!0,autoProcessQueue:!0,maxFilesize:this.options.maxFileSize,acceptedFiles:this.options.acceptedFiles,paramName:"content",timeout:18e4,init:function(){r&&(tt.each(CAe,a=>{this.on(a,(...o)=>{const u=o[0]instanceof File?o[0].name:o[0];console.info(a,u,o)})}),this.on("uploadprogress",(a,o,u)=>{const s=u/a.size*100;n.trigger("progress",i.getId(a),s,u)}),this.on("success",a=>{const o=a.upload.chunks,u=tt.last(o);let s=u.xhr;s||(s=u.file.xhr);const c=JSON.parse(s.response);a.cvUpload.fileId=c.id,n.trigger(tl.UPLOAD_SUCCESS,a,c)}),this.on("error",(a,o,u)=>{if(u&&u.status===0){vr.throw(new RAe);return}a.status!=="canceled"&&vr.throw(new Mae(gr.getPhrase("upload.services","uploadError",{fileName:a.name,message:o.message})))}),this.on("sending",a=>{window.clearTimeout(i.slowInternetTimeout[a.path]),i.showSlowInternetTimeout&&(i.slowInternetTimeout[a.path]=window.setTimeout(()=>{i.showSlowInternetTimeout&&vr.throw(new xAe),i.showSlowInternetTimeout=!1},3e4))}),this.on("complete",a=>window.clearTimeout(i.slowInternetTimeout[a.path])))},params:(a,o,u)=>{if(u)return{chunk_index:u.index,upload_length:u.file.size}},addedfile:()=>{},thumbnail:()=>{},uploadprogress:()=>{}})}getId(t){return t.upload.uuid}addFile(t){this.dropzone.addFile(t)}removeFile(t){this.dropzone.removeFile(t)}start(){this.dropzone.processQueue()}destroy(){this.dropzone.destroy()}static isValidFile(t,r){return CQ.isValidFile(t,r)}}class AAe extends Lae{constructor(){super({dataProvider:Qs.getInstance(tp.Ajax),cache:Qs.getInstance(ep.Fifo),alertService:Qs.getInstance(qp.ALERT)}),this.incrementingUploadId=0}get name(){return"UploadDataService"}get channelName(){return"private:upload:data:service"}requestUploads(t,r,n,i,a){const o=this.chain();Ja(r,u=>{this.incrementingUploadId++,o.create({resource:t,eventPrefix:`request:upload:${this.incrementingUploadId}`,data:this.getFileUploadRequest(u,n),callback:s=>{i(u,s)},errorHandler:this.alertService.error("Something went wrong while we were uploading your video. Please try again.")})}),o.func(()=>{a()}).run()}cancelUpload(t,r,n){this.create({resource:"/api/upload/cancel",eventPrefix:"cancel:upload",data:{uploadId:t,ingestUrl:r},callback:n})}getFileUploadRequest(t,r){const n=t.name.split(".");return{name:n.join("."),extension:n.length>1?n.pop():"",fileSize:t.size,fileLifestyle:r}}onDestroy(){Qs.releaseInstance(tp.Ajax).releaseInstance(ep.Fifo)}}const OAe={0:xv.VIDEO,1:xv.RESOURCES,2:xv.SUBTITLES,3:xv.MIXED_MEDIA},IAe={0:Cv.VIDEO_UPLOAD,1:Cv.RESOURCE_UPLOAD,2:Cv.SUBTITLE_UPLOAD,3:Cv.MIXED_MEDIA_UPLOAD},PAe=1024*1024*4,DAe=1024*1024*1024*50;class kAe extends Ho{initialize(){this.uploadDataService=new AAe,this.progressViewModel=oae.get(`upload:progress:${this.uploadType}`),this.bindListeners()}get channelName(){return IAe[this.uploadType]}get lang(){return"uploadShared.services"}initUploader(t,r){if(this.uploader)return;let n=PAe;t&&n<t&&(n=t),r&&n>r&&(n=r),this.uploader=new AQ({chunkingEnabled:!0,loggingEnabled:!0,chunkSize:n,maxFileSize:DAe,acceptedFiles:this.getAcceptedFiles(),channelName:this.channelName})}bindListeners(){this.listenTo(this.channelName,"progress",this.onProgress),this.listenTo(this.channelName,tl.UPLOAD_SUCCESS,this.onSuccess)}onProgress(t,r,n){const i=this.collection.get(t);i&&(i.set({progress:r>100?100:r,totalUploaded:n}),this.setOverallProgress())}isUploading(){return!!this.getCollection().length}getCollection(){return this.collection?this.collection:(this.collection=new U_,this.collection)}setOverallProgress(){let t=0,r=0;const n=this.getCollection();if(!n.length){this.progressViewModel.set({progress:0});return}n.each(u=>{t+=u.get("totalUploaded")||0,r+=u.get("file").size||0});const i=t/r*100,a=i>=100,o=()=>{this.progressViewModel.set({progress:a?100:i,done:a})};if(!a){o();return}window.setTimeout(o,2e3)}isValidFile(t){return AQ.isValidFile(t,this.getAcceptedFiles())}addFiles(t,r){if(RI(t,n=>!this.isValidFile(n))){vr.throw(new hAe(gr.getPhrase(this.lang,"invalidFileType")));return}this.requestUploads(t,r)}async requestUploads(t,r){const n=this.isUploading(),i=this.getCollection();for(const o of t){const u=await ak(this.options.store.dispatch,wAe.requestUpload(o,this.fileLifestyle));"minChunkSize"in u&&"maxChunkSize"in u&&this.initUploader(u.minChunkSize,u.maxChunkSize),o.cvUpload={uploadId:u.uploadId,ingestUrl:u.uploadUrl},this.uploader.addFile(o);let s=o.name;this.uploadType===0&&(s=s.replace(/\.[^/.]+$/,""));const c=this.uploader.getId(o);i.add({id:c,file:o,name:s,...this.getAdditionalFileInfo(o,u)},{at:i.length-1})}r&&wa.logUserAction({uploadCount:t.length},r),$r.Radio.channel(this.channelName).trigger(tl.FILES_ADDED,t,n)}addFile(t,r){this.addFiles([t],r)}cancelUpload(t){const r=this.getCollection(),n=r.get(t);if(!n)return;const i=n.get("file");this.uploader.removeFile(i),r.remove(n),this.uploadDataService.cancelUpload(i.cvUpload.uploadId,i.cvUpload.ingestUrl,()=>{wa.logUserAction(n.toJSON(),{entity:xn.Video,actionType:Bt.Upload,workflowPhase:ec.Discard,descriptor:FI.Single,location:ka.MyUploads}),$r.Radio.channel(this.channelName).trigger(tl.UPLOAD_CANCELLED)}),this.setOverallProgress()}onSuccess(t,r){const n=this.uploader.getId(t),i=this.getCollection().get(n);i.set("fileInfo",r),wa.logUserAction({id:t.cvUpload.uploadId},{entity:xn.Video,actionType:Bt.Upload,workflowPhase:ec.Complete,descriptor:FI.Single,location:ka.VideoUpload}),$r.Radio.channel(this.channelName).trigger(tl.UPLOAD_COMPLETE,i)}cancelAllUploads(){const t=this.getCollection().map(r=>r.get("id"));Ja(t,r=>this.cancelUpload(r))}getUpload(t){const r=this.uploader.getId(t);return this.getCollection().get(r)}getAcceptedFiles(){return OAe[this.uploadType]}getAdditionalFileInfo(t,r){return{}}}class NAe extends kAe{get uploadType(){return 3}get name(){return Pae.MixedMediaUpload}get fileLifestyle(){return mk.Temporary}}function HI(e,t){return HI=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},HI(e,t)}function yk(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,HI(e,t)}var JA={exports:{}},ZA,OQ;function LAe(){if(OQ)return ZA;OQ=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return ZA=e,ZA}var eO,IQ;function MAe(){if(IQ)return eO;IQ=1;var e=LAe();function t(){}function r(){}return r.resetWarningCache=t,eO=function(){function n(o,u,s,c,d,h){if(h!==e){var v=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 v.name="Invariant Violation",v}}n.isRequired=n;function i(){return n}var a={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:i,element:n,elementType:n,instanceOf:i,node:n,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:r,resetWarningCache:t};return a.PropTypes=a,a},eO}var PQ;function Ff(){return PQ||(PQ=1,JA.exports=MAe()()),JA.exports}var $Ae=Ff();const Xr=jn($Ae);function zI(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function $ae(e,t){e.classList?e.classList.add(t):zI(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function DQ(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function Fae(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=DQ(e.className,t):e.setAttribute("class",DQ(e.className&&e.className.baseVal||"",t))}const kQ={disabled:!1},my=or.createContext(null);var jae=function(t){return t.scrollTop},Av="unmounted",Fc="exited",Wl="entering",Hc="entered",WI="exiting",Du=(function(e){yk(t,e);function t(n,i){var a;a=e.call(this,n,i)||this;var o=i,u=o&&!o.isMounting?n.enter:n.appear,s;return a.appearStatus=null,n.in?u?(s=Fc,a.appearStatus=Wl):s=Hc:n.unmountOnExit||n.mountOnEnter?s=Av:s=Fc,a.state={status:s},a.nextCallback=null,a}t.getDerivedStateFromProps=function(i,a){var o=i.in;return o&&a.status===Av?{status:Fc}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(i){var a=null;if(i!==this.props){var o=this.state.status;this.props.in?o!==Wl&&o!==Hc&&(a=Wl):(o===Wl||o===Hc)&&(a=WI)}this.updateStatus(!1,a)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var i=this.props.timeout,a,o,u;return a=o=u=i,i!=null&&typeof i!="number"&&(a=i.exit,o=i.enter,u=i.appear!==void 0?i.appear:o),{exit:a,enter:o,appear:u}},r.updateStatus=function(i,a){if(i===void 0&&(i=!1),a!==null)if(this.cancelNextCallback(),a===Wl){if(this.props.unmountOnExit||this.props.mountOnEnter){var o=this.props.nodeRef?this.props.nodeRef.current:Gc.findDOMNode(this);o&&jae(o)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Fc&&this.setState({status:Av})},r.performEnter=function(i){var a=this,o=this.props.enter,u=this.context?this.context.isMounting:i,s=this.props.nodeRef?[u]:[Gc.findDOMNode(this),u],c=s[0],d=s[1],h=this.getTimeouts(),v=u?h.appear:h.enter;if(!i&&!o||kQ.disabled){this.safeSetState({status:Hc},function(){a.props.onEntered(c)});return}this.props.onEnter(c,d),this.safeSetState({status:Wl},function(){a.props.onEntering(c,d),a.onTransitionEnd(v,function(){a.safeSetState({status:Hc},function(){a.props.onEntered(c,d)})})})},r.performExit=function(){var i=this,a=this.props.exit,o=this.getTimeouts(),u=this.props.nodeRef?void 0:Gc.findDOMNode(this);if(!a||kQ.disabled){this.safeSetState({status:Fc},function(){i.props.onExited(u)});return}this.props.onExit(u),this.safeSetState({status:WI},function(){i.props.onExiting(u),i.onTransitionEnd(o.exit,function(){i.safeSetState({status:Fc},function(){i.props.onExited(u)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(i,a){a=this.setNextCallback(a),this.setState(i,a)},r.setNextCallback=function(i){var a=this,o=!0;return this.nextCallback=function(u){o&&(o=!1,a.nextCallback=null,i(u))},this.nextCallback.cancel=function(){o=!1},this.nextCallback},r.onTransitionEnd=function(i,a){this.setNextCallback(a);var o=this.props.nodeRef?this.props.nodeRef.current:Gc.findDOMNode(this),u=i==null&&!this.props.addEndListener;if(!o||u){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var s=this.props.nodeRef?[this.nextCallback]:[o,this.nextCallback],c=s[0],d=s[1];this.props.addEndListener(c,d)}i!=null&&setTimeout(this.nextCallback,i)},r.render=function(){var i=this.state.status;if(i===Av)return null;var a=this.props,o=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var u=K_(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return or.createElement(my.Provider,{value:null},typeof o=="function"?o(i,u):or.cloneElement(or.Children.only(o),u))},t})(or.Component);Du.contextType=my;Du.propTypes={};function yd(){}Du.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:yd,onEntering:yd,onEntered:yd,onExit:yd,onExiting:yd,onExited:yd};Du.UNMOUNTED=Av;Du.EXITED=Fc;Du.ENTERING=Wl;Du.ENTERED=Hc;Du.EXITING=WI;var FAe=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return $ae(t,n)})},tO=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return Fae(t,n)})},_k=(function(e){yk(t,e);function t(){for(var n,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return n=e.call.apply(e,[this].concat(a))||this,n.appliedClasses={appear:{},enter:{},exit:{}},n.onEnter=function(u,s){var c=n.resolveArguments(u,s),d=c[0],h=c[1];n.removeClasses(d,"exit"),n.addClass(d,h?"appear":"enter","base"),n.props.onEnter&&n.props.onEnter(u,s)},n.onEntering=function(u,s){var c=n.resolveArguments(u,s),d=c[0],h=c[1],v=h?"appear":"enter";n.addClass(d,v,"active"),n.props.onEntering&&n.props.onEntering(u,s)},n.onEntered=function(u,s){var c=n.resolveArguments(u,s),d=c[0],h=c[1],v=h?"appear":"enter";n.removeClasses(d,v),n.addClass(d,v,"done"),n.props.onEntered&&n.props.onEntered(u,s)},n.onExit=function(u){var s=n.resolveArguments(u),c=s[0];n.removeClasses(c,"appear"),n.removeClasses(c,"enter"),n.addClass(c,"exit","base"),n.props.onExit&&n.props.onExit(u)},n.onExiting=function(u){var s=n.resolveArguments(u),c=s[0];n.addClass(c,"exit","active"),n.props.onExiting&&n.props.onExiting(u)},n.onExited=function(u){var s=n.resolveArguments(u),c=s[0];n.removeClasses(c,"exit"),n.addClass(c,"exit","done"),n.props.onExited&&n.props.onExited(u)},n.resolveArguments=function(u,s){return n.props.nodeRef?[n.props.nodeRef.current,u]:[u,s]},n.getClassNames=function(u){var s=n.props.classNames,c=typeof s=="string",d=c&&s?s+"-":"",h=c?""+d+u:s[u],v=c?h+"-active":s[u+"Active"],g=c?h+"-done":s[u+"Done"];return{baseClassName:h,activeClassName:v,doneClassName:g}},n}var r=t.prototype;return r.addClass=function(i,a,o){var u=this.getClassNames(a)[o+"ClassName"],s=this.getClassNames("enter"),c=s.doneClassName;a==="appear"&&o==="done"&&c&&(u+=" "+c),o==="active"&&i&&jae(i),u&&(this.appliedClasses[a][o]=u,FAe(i,u))},r.removeClasses=function(i,a){var o=this.appliedClasses[a],u=o.base,s=o.active,c=o.done;this.appliedClasses[a]={},u&&tO(i,u),s&&tO(i,s),c&&tO(i,c)},r.render=function(){var i=this.props;i.classNames;var a=K_(i,["classNames"]);return or.createElement(Du,Qv({},a,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t})(or.Component);_k.defaultProps={classNames:""};_k.propTypes={};function jAe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sk(e,t){var r=function(a){return t&&he.isValidElement(a)?t(a):a},n=Object.create(null);return e&&he.Children.map(e,function(i){return i}).forEach(function(i){n[i.key]=r(i)}),n}function UAe(e,t){e=e||{},t=t||{};function r(d){return d in t?t[d]:e[d]}var n=Object.create(null),i=[];for(var a in e)a in t?i.length&&(n[a]=i,i=[]):i.push(a);var o,u={};for(var s in t){if(n[s])for(o=0;o<n[s].length;o++){var c=n[s][o];u[n[s][o]]=r(c)}u[s]=r(s)}for(o=0;o<i.length;o++)u[i[o]]=r(i[o]);return u}function Kc(e,t,r){return r[t]!=null?r[t]:e.props[t]}function qAe(e,t){return Sk(e.children,function(r){return he.cloneElement(r,{onExited:t.bind(null,r),in:!0,appear:Kc(r,"appear",e),enter:Kc(r,"enter",e),exit:Kc(r,"exit",e)})})}function VAe(e,t,r){var n=Sk(e.children),i=UAe(t,n);return Object.keys(i).forEach(function(a){var o=i[a];if(he.isValidElement(o)){var u=a in t,s=a in n,c=t[a],d=he.isValidElement(c)&&!c.props.in;s&&(!u||d)?i[a]=he.cloneElement(o,{onExited:r.bind(null,o),in:!0,exit:Kc(o,"exit",e),enter:Kc(o,"enter",e)}):!s&&u&&!d?i[a]=he.cloneElement(o,{in:!1}):s&&u&&he.isValidElement(c)&&(i[a]=he.cloneElement(o,{onExited:r.bind(null,o),in:c.props.in,exit:Kc(o,"exit",e),enter:Kc(o,"enter",e)}))}}),i}var BAe=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},HAe={component:"div",childFactory:function(t){return t}},Ek=(function(e){yk(t,e);function t(n,i){var a;a=e.call(this,n,i)||this;var o=a.handleExited.bind(jAe(a));return a.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},a}var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(i,a){var o=a.children,u=a.handleExited,s=a.firstRender;return{children:s?qAe(i,u):VAe(i,o,u),firstRender:!1}},r.handleExited=function(i,a){var o=Sk(this.props.children);i.key in o||(i.props.onExited&&i.props.onExited(a),this.mounted&&this.setState(function(u){var s=Qv({},u.children);return delete s[i.key],{children:s}}))},r.render=function(){var i=this.props,a=i.component,o=i.childFactory,u=K_(i,["component","childFactory"]),s=this.state.contextValue,c=BAe(this.state.children).map(o);return delete u.appear,delete u.enter,delete u.exit,a===null?or.createElement(my.Provider,{value:s},c):or.createElement(my.Provider,{value:s},or.createElement(a,u,c))},t})(or.Component);Ek.propTypes={};Ek.defaultProps=HAe;function zAe(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",d:"M12 3c4.972 0 9 4.028 9 9s-4.028 9-9 9-9-4.028-9-9 4.028-9 9-9m0 1.212c-2.081 0-4.037.809-5.508 2.28A7.74 7.74 0 0 0 4.212 12c0 2.081.809 4.037 2.28 5.508A7.74 7.74 0 0 0 12 19.788c2.081 0 4.037-.809 5.508-2.28A7.74 7.74 0 0 0 19.788 12c0-2.081-.809-4.037-2.28-5.508A7.74 7.74 0 0 0 12 4.212m4.244 4.366a.7.7 0 0 1 .07 1.016l-5.25 5.76a.77.77 0 0 1-1.094.035l-2.25-2.16a.7.7 0 0 1 0-1.018.77.77 0 0 1 1.06 0l1.684 1.616 4.722-5.181a.77.77 0 0 1 1.058-.068"})})}function WAe(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M20 12a8 8 0 1 1-16 0 8 8 0 0 1 16 0m-1 0a7 7 0 1 0-14 0 7 7 0 0 0 14 0m-6.25-.75a.75.75 0 0 0-1.5 0v5a.75.75 0 0 0 1.5 0zm0-3a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0",clipRule:"evenodd"})})}function GAe(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",d:"m13.882 20.807.619 2.935q-.803.17-3.028.258l.176-.008-.175-.004.133-2.997.28.008.154.001a9 9 0 0 0 1.841-.194m-5.888-.75a9 9 0 0 0 2.12.744l-.63 2.933a12 12 0 0 1-2.832-.992zm9.274-.746 1.754 2.436a12 12 0 0 1-2.638 1.433l-1.093-2.793a9 9 0 0 0 1.977-1.076M5.06 17.724A9 9 0 0 0 6.7 19.271l-1.773 2.42a12 12 0 0 1-2.184-2.057zm14.736-1.187 2.592 1.515a12 12 0 0 1-1.828 2.38l-2.137-2.108a9 9 0 0 0 1.373-1.787M3.31 14.344a9 9 0 0 0 .852 2.078L1.55 17.899a12 12 0 0 1-1.138-2.776zm17.661-1.39 2.987.313a12 12 0 0 1-.686 2.92l-2.814-1.046c.261-.7.434-1.434.513-2.187M.135 10.197l2.97.447a9.2 9.2 0 0 0-.056 2.27l-2.988.3Q.02 12.813 0 12l.009-.457q.026-.684.126-1.346m23.299-1.925c.306.937.5 1.924.566 2.947l-2.997.192a9 9 0 0 0-.424-2.208zM1.892 5.532l2.529 1.62a9 9 0 0 0-.967 2.027L.6 8.24c.318-.962.754-1.87 1.291-2.708m19.06-1.548c.668.744 1.245 1.57 1.713 2.464l-2.661 1.39a9 9 0 0 0-1.286-1.849zM5.407 1.976 7.06 4.48a9 9 0 0 0-1.714 1.465l-2.221-2.02a12 12 0 0 1 2.28-1.95m11.503-.937c.923.412 1.784.937 2.566 1.558L17.61 4.946a9 9 0 0 0-1.926-1.168zM10.03.163l.492 2.96a9 9 0 0 0-2.153.643L7.153 1.023C8.058.622 9.023.33 10.03.163M12.013 0l.439.008a12 12 0 0 1 2.541.364L14.25 3.28A9 9 0 0 0 12.012 3z"})})}function YAe(e){return j.jsx("svg",{...e,children:j.jsx("path",{d:"m13.026 4.377 8.5 14A1.2 1.2 0 0 1 20.5 20.2h-17a1.2 1.2 0 0 1-1.026-1.823l8.5-14a1.2 1.2 0 0 1 2.052 0M12 18a1 1 0 1 0 0-2 1 1 0 0 0 0 2m.75-3.677V8.677a.69.69 0 0 0-.7-.677c-.387 0-.7.303-.7.677v5.646c0 .374.313.677.7.677s.7-.303.7-.677",fill:"currentColor"})})}const GI=or.forwardRef((e,t)=>{function r(i){if(e.onKeyDown)return e.onKeyDown(i);if(i.key===" "&&i.preventDefault(),i.key==="Enter"||i.key===" "){if(e.disabled||!e.onClick)return;n(i)}}function n(...i){if(!(e.disabled||!e.onClick))return e.onClick(...i)}return j.jsx("div",{...e,ref:t,role:"button",tabIndex:e.tabIndex||0,className:`${e.className?e.className:""} ${e.disabled?"":"cursor-pointer"}`,onKeyDown:r,onClick:n,style:e.style?e.style:{},children:e.children})}),KAe="_appLink_1d1n3_1",XAe={appLink:KAe},os=he.forwardRef((e,t)=>{const{appLink:r,appLinkOptions:n={},className:i,style:a,children:o,disabled:u,tag:s="a",preventFocus:c}=e;if(!r)return j.jsx("div",{ref:t,className:`${XAe.appLink} ${i||""}`,style:a,children:o});const d=Kn.getHref(r,n)||void 0,v={onClick:g=>{var y;const m=g.metaKey||g.ctrlKey;m||g.preventDefault(),!u&&((y=e.onClick)==null||y.call(e,g),e.analyticsData&&e.analyticsOptions&&wa.logUserAction({href:d,...e.analyticsData},e.analyticsOptions),!m&&(e.openInNewTab?Yn.PageLoad(d,!0):e.forcePageLoad?Yn.PageLoad(d):Kn.trigger(r,n)))},...s==="a"&&{href:d},...e.title?{title:e.title}:{},className:i,style:a,disabled:u,tabIndex:c?-1:0,id:e.id,"aria-label":e.ariaLabel,"aria-labelledby":e.labelledBy,ref:t,role:e.role};return s==="button"||!d?j.jsx(GI,{...v,children:o}):j.jsx(s,{...v,children:o})});var rO={exports:{}};/*!
134
- Copyright (c) 2018 Jed Watson.
135
- Licensed under the MIT License (MIT), see
136
- http://jedwatson.github.io/classnames
137
- */var NQ;function QAe(){return NQ||(NQ=1,(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var a="",o=0;o<arguments.length;o++){var u=arguments[o];u&&(a=i(a,n(u)))}return a}function n(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return r.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var o="";for(var u in a)t.call(a,u)&&a[u]&&(o=i(o,u));return o}function i(a,o){return o?a?a+" "+o:a+o:a}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(rO)),rO.exports}var JAe=QAe();const hn=jn(JAe);var nO,LQ;function ZAe(){if(LQ)return nO;LQ=1;var e=function(t,r,n,i,a,o,u,s){if(!t){var c;if(r===void 0)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var d=[n,i,a,o,u,s],h=0;c=new Error(r.replace(/%s/g,function(){return d[h++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}};return nO=e,nO}var eOe=ZAe();const MQ=jn(eOe);function $Q(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function tOe(e){var t=rOe(e,"string");return typeof t=="symbol"?t:String(t)}function rOe(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function Uae(e,t,r){var n=he.useRef(e!==void 0),i=he.useState(t),a=i[0],o=i[1],u=e!==void 0,s=n.current;return n.current=u,!u&&s&&a!==t&&o(t),[u?e:a,he.useCallback(function(c){for(var d=arguments.length,h=new Array(d>1?d-1:0),v=1;v<d;v++)h[v-1]=arguments[v];r&&r.apply(void 0,[c].concat(h)),o(c)},[r])]}function nOe(e,t){return Object.keys(t).reduce(function(r,n){var i,a=r,o=a[$Q(n)],u=a[n],s=K_(a,[$Q(n),n].map(tOe)),c=t[n],d=Uae(u,o,e[c]),h=d[0],v=d[1];return Qv({},s,(i={},i[n]=h,i[c]=v,i))},e)}const iOe=["xxl","xl","lg","md","sm","xs"],aOe="xs",Bp=he.createContext({prefixes:{},breakpoints:iOe,minBreakpoint:aOe}),{Consumer:j5e,Provider:U5e}=Bp;function In(e,t){const{prefixes:r}=he.useContext(Bp);return e||r[t]||t}function oOe(){const{breakpoints:e}=he.useContext(Bp);return e}function sOe(){const{minBreakpoint:e}=he.useContext(Bp);return e}function a0(){const{dir:e}=he.useContext(Bp);return e==="rtl"}function Ch(e){return e&&e.ownerDocument||document}function uOe(e){var t=Ch(e);return t&&t.defaultView||window}function lOe(e,t){return uOe(e).getComputedStyle(e,t)}var cOe=/([A-Z])/g;function fOe(e){return e.replace(cOe,"-$1").toLowerCase()}var dOe=/^ms-/;function lm(e){return fOe(e).replace(dOe,"-ms-")}var hOe=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function vOe(e){return!!(e&&hOe.test(e))}function Zc(e,t){var r="",n="";if(typeof t=="string")return e.style.getPropertyValue(lm(t))||lOe(e).getPropertyValue(lm(t));Object.keys(t).forEach(function(i){var a=t[i];!a&&a!==0?e.style.removeProperty(lm(i)):vOe(i)?n+=i+"("+a+") ":r+=lm(i)+": "+a+";"}),n&&(r+="transform: "+n+";"),e.style.cssText+=";"+r}function qae(e){return e.code==="Escape"||e.keyCode===27}function pOe(){const e=he.version.split(".");return{major:+e[0],minor:+e[1],patch:+e[2]}}function Hp(e){if(!e||typeof e=="function")return null;const{major:t}=pOe();return t>=19?e.props.ref:e.ref}const Ah=!!(typeof window<"u"&&window.document&&window.document.createElement);var YI=!1,KI=!1;try{var iO={get passive(){return YI=!0},get once(){return KI=YI=!0}};Ah&&(window.addEventListener("test",iO,iO),window.removeEventListener("test",iO,!0))}catch{}function wk(e,t,r,n){if(n&&typeof n!="boolean"&&!KI){var i=n.once,a=n.capture,o=r;!KI&&i&&(o=r.__once||function u(s){this.removeEventListener(t,u,a),r.call(this,s)},r.__once=o),e.addEventListener(t,o,YI?n:a)}e.addEventListener(t,r,n)}function XI(e,t,r,n){var i=n&&typeof n!="boolean"?n.capture:n;e.removeEventListener(t,r,i),r.__once&&e.removeEventListener(t,r.__once,i)}function rl(e,t,r,n){return wk(e,t,r,n),function(){XI(e,t,r,n)}}function gOe(e,t,r,n){if(n===void 0&&(n=!0),e){var i=document.createEvent("HTMLEvents");i.initEvent(t,r,n),e.dispatchEvent(i)}}function mOe(e){var t=Zc(e,"transitionDuration")||"",r=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*r}function yOe(e,t,r){r===void 0&&(r=5);var n=!1,i=setTimeout(function(){n||gOe(e,"transitionend",!0)},t+r),a=rl(e,"transitionend",function(){n=!0},{once:!0});return function(){clearTimeout(i),a()}}function Vae(e,t,r,n){r==null&&(r=mOe(e)||0);var i=yOe(e,r,n),a=rl(e,"transitionend",t);return function(){i(),a()}}function FQ(e,t){const r=Zc(e,t)||"",n=r.indexOf("ms")===-1?1e3:1;return parseFloat(r)*n}function _Oe(e,t){const r=FQ(e,"transitionDuration"),n=FQ(e,"transitionDelay"),i=Vae(e,a=>{a.target===e&&(i(),t(a))},r+n)}function SOe(e){e.offsetHeight}const jQ=e=>!e||typeof e=="function"?e:t=>{e.current=t};function EOe(e,t){const r=jQ(e),n=jQ(t);return i=>{r&&r(i),n&&n(i)}}function Oh(e,t){return he.useMemo(()=>EOe(e,t),[e,t])}function yy(e){return e&&"setState"in e?Gc.findDOMNode(e):e??null}const wOe=or.forwardRef(({onEnter:e,onEntering:t,onEntered:r,onExit:n,onExiting:i,onExited:a,addEndListener:o,children:u,childRef:s,...c},d)=>{const h=he.useRef(null),v=Oh(h,s),g=O=>{v(yy(O))},m=O=>_=>{O&&h.current&&O(h.current,_)},y=he.useCallback(m(e),[e]),S=he.useCallback(m(t),[t]),w=he.useCallback(m(r),[r]),b=he.useCallback(m(n),[n]),A=he.useCallback(m(i),[i]),R=he.useCallback(m(a),[a]),x=he.useCallback(m(o),[o]);return j.jsx(Du,{ref:d,...c,onEnter:y,onEntered:w,onEntering:S,onExit:b,onExited:R,onExiting:A,addEndListener:x,nodeRef:h,children:typeof u=="function"?(O,_)=>u(O,{..._,ref:g}):or.cloneElement(u,{ref:g})})});function bOe(e){const t=he.useRef(e);return he.useEffect(()=>{t.current=e},[e]),t}function rp(e){const t=bOe(e);return he.useCallback(function(...r){return t.current&&t.current(...r)},[t])}const TOe=(e=>he.forwardRef((t,r)=>j.jsx("div",{...t,ref:r,className:hn(t.className,e)})));function QI(){return he.useState(null)}function ROe(e){const t=he.useRef(e);return he.useEffect(()=>{t.current=e},[e]),t}function Ka(e){const t=ROe(e);return he.useCallback(function(...r){return t.current&&t.current(...r)},[t])}function xOe(e,t,r,n=!1){const i=Ka(r);he.useEffect(()=>{const a=typeof e=="function"?e():e;return a.addEventListener(t,i,n),()=>a.removeEventListener(t,i,n)},[e])}function Bae(){const e=he.useRef(!0),t=he.useRef(()=>e.current);return he.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function Hae(e){const t=he.useRef(null);return he.useEffect(()=>{t.current=e}),t.current}const COe=typeof globalThis<"u"&&globalThis.navigator&&globalThis.navigator.product==="ReactNative",AOe=typeof document<"u",UQ=AOe||COe?he.useLayoutEffect:he.useEffect,OOe=["as","disabled"];function IOe(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function POe(e){return!e||e.trim()==="#"}function bk({tagName:e,disabled:t,href:r,target:n,rel:i,role:a,onClick:o,tabIndex:u=0,type:s}){e||(r!=null||n!=null||i!=null?e="a":e="button");const c={tagName:e};if(e==="button")return[{type:s||"button",disabled:t},c];const d=v=>{if((t||e==="a"&&POe(r))&&v.preventDefault(),t){v.stopPropagation();return}o==null||o(v)},h=v=>{v.key===" "&&(v.preventDefault(),d(v))};return e==="a"&&(r||(r="#"),t&&(r=void 0)),[{role:a??"button",disabled:void 0,tabIndex:t?void 0:u,href:r,target:e==="a"?n:void 0,"aria-disabled":t||void 0,rel:e==="a"?i:void 0,onClick:d,onKeyDown:h},c]}const zae=he.forwardRef((e,t)=>{let{as:r,disabled:n}=e,i=IOe(e,OOe);const[a,{tagName:o}]=bk(Object.assign({tagName:r,disabled:n},i));return j.jsx(o,Object.assign({},i,a,{ref:t}))});zae.displayName="Button";const DOe=["onKeyDown"];function kOe(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function NOe(e){return!e||e.trim()==="#"}const Wae=he.forwardRef((e,t)=>{let{onKeyDown:r}=e,n=kOe(e,DOe);const[i]=bk(Object.assign({tagName:"a"},n)),a=Ka(o=>{i.onKeyDown(o),r==null||r(o)});return NOe(n.href)||n.role==="button"?j.jsx("a",Object.assign({ref:t},n,i,{onKeyDown:a})):j.jsx("a",Object.assign({ref:t},n,{onKeyDown:r}))});Wae.displayName="Anchor";const LOe={[Wl]:"show",[Hc]:"show"},np=he.forwardRef(({className:e,children:t,transitionClasses:r={},onEnter:n,...i},a)=>{const o={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...i},u=he.useCallback((s,c)=>{SOe(s),n==null||n(s,c)},[n]);return j.jsx(wOe,{ref:a,addEndListener:_Oe,...o,onEnter:u,childRef:Hp(t),children:(s,c)=>he.cloneElement(t,{...c,className:hn("fade",e,t.props.className,LOe[s],r[s])})})});np.displayName="Fade";const MOe={"aria-label":Xr.string,onClick:Xr.func,variant:Xr.oneOf(["white"])},Tk=he.forwardRef(({className:e,variant:t,"aria-label":r="Close",...n},i)=>j.jsx("button",{ref:i,type:"button",className:hn("btn-close",t&&`btn-close-${t}`,e),"aria-label":r,...n}));Tk.displayName="CloseButton";Tk.propTypes=MOe;const o0=he.forwardRef(({as:e,bsPrefix:t,variant:r="primary",size:n,active:i=!1,disabled:a=!1,className:o,...u},s)=>{const c=In(t,"btn"),[d,{tagName:h}]=bk({tagName:e,disabled:a,...u}),v=h;return j.jsx(v,{...d,...u,ref:s,disabled:a,className:hn(o,c,i&&"active",r&&`${c}-${r}`,n&&`${c}-${n}`,u.href&&a&&"disabled")})});o0.displayName="Button";function $Oe(){const e=he.useRef(!0),t=he.useRef(()=>e.current);return he.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function FOe(e){const t=he.useRef(e);return t.current=e,t}function Gae(e){const t=FOe(e);he.useEffect(()=>()=>t.current(),[])}const JI=2**31-1;function Yae(e,t,r){const n=r-Date.now();e.current=n<=JI?setTimeout(t,n):setTimeout(()=>Yae(e,t,r),JI)}function jOe(){const e=$Oe(),t=he.useRef();return Gae(()=>clearTimeout(t.current)),he.useMemo(()=>{const r=()=>clearTimeout(t.current);function n(i,a=0){e()&&(r(),a<=JI?t.current=setTimeout(i,a):Yae(t,i,Date.now()+a))}return{set:n,clear:r,handleRef:t}},[])}function UOe(e,t){return he.Children.toArray(e).some(r=>he.isValidElement(r)&&r.type===t)}function qOe({as:e,bsPrefix:t,className:r,...n}){t=In(t,"col");const i=oOe(),a=sOe(),o=[],u=[];return i.forEach(s=>{const c=n[s];delete n[s];let d,h,v;typeof c=="object"&&c!=null?{span:d,offset:h,order:v}=c:d=c;const g=s!==a?`-${s}`:"";d&&o.push(d===!0?`${t}${g}`:`${t}${g}-${d}`),v!=null&&u.push(`order${g}-${v}`),h!=null&&u.push(`offset${g}-${h}`)}),[{...n,className:hn(r,...o,...u)},{as:e,bsPrefix:t,spans:o}]}const Kae=he.forwardRef((e,t)=>{const[{className:r,...n},{as:i="div",bsPrefix:a,spans:o}]=qOe(e);return j.jsx(i,{...n,ref:t,className:hn(r,!o.length&&a)})});Kae.displayName="Col";var VOe=Function.prototype.bind.call(Function.prototype.call,[].slice);function Gl(e,t){return VOe(e.querySelectorAll(t))}function BOe(e,t,r){const n=he.useRef(e!==void 0),[i,a]=he.useState(t),o=e!==void 0,u=n.current;return n.current=o,!o&&u&&i!==t&&a(t),[o?e:i,he.useCallback((...s)=>{const[c,...d]=s;let h=r==null?void 0:r(c,...d);return a(c),h},[r])]}function HOe(){const[,e]=he.useReducer(t=>t+1,0);return e}const s0=he.createContext(null);var qQ=Object.prototype.hasOwnProperty;function VQ(e,t,r){for(r of e.keys())if(Mv(r,t))return r}function Mv(e,t){var r,n,i;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&Mv(e[n],t[n]););return n===-1}if(r===Set){if(e.size!==t.size)return!1;for(n of e)if(i=n,i&&typeof i=="object"&&(i=VQ(t,i),!i)||!t.has(i))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(n of e)if(i=n[0],i&&typeof i=="object"&&(i=VQ(t,i),!i)||!Mv(n[1],t.get(i)))return!1;return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((n=e.byteLength)===t.byteLength)for(;n--&&e.getInt8(n)===t.getInt8(n););return n===-1}if(ArrayBuffer.isView(e)){if((n=e.byteLength)===t.byteLength)for(;n--&&e[n]===t[n];);return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(qQ.call(e,r)&&++n&&!qQ.call(t,r)||!(r in t)||!Mv(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}function zOe(e){const t=Bae();return[e[0],he.useCallback(r=>{if(t())return e[1](r)},[t,e[1]])]}const WOe=Ap({defaultModifiers:[yD,x_,T_,R_,_D,mD,SD,hD]}),GOe=["enabled","placement","strategy","modifiers"];function YOe(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}const KOe={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},XOe={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:({state:e})=>()=>{const{reference:t,popper:r}=e.elements;if("removeAttribute"in t){const n=(t.getAttribute("aria-describedby")||"").split(",").filter(i=>i.trim()!==r.id);n.length?t.setAttribute("aria-describedby",n.join(",")):t.removeAttribute("aria-describedby")}},fn:({state:e})=>{var t;const{popper:r,reference:n}=e.elements,i=(t=r.getAttribute("role"))==null?void 0:t.toLowerCase();if(r.id&&i==="tooltip"&&"setAttribute"in n){const a=n.getAttribute("aria-describedby");if(a&&a.split(",").indexOf(r.id)!==-1)return;n.setAttribute("aria-describedby",a?`${a},${r.id}`:r.id)}}},QOe=[];function Xae(e,t,r={}){let{enabled:n=!0,placement:i="bottom",strategy:a="absolute",modifiers:o=QOe}=r,u=YOe(r,GOe);const s=he.useRef(o),c=he.useRef(),d=he.useCallback(()=>{var S;(S=c.current)==null||S.update()},[]),h=he.useCallback(()=>{var S;(S=c.current)==null||S.forceUpdate()},[]),[v,g]=zOe(he.useState({placement:i,update:d,forceUpdate:h,attributes:{},styles:{popper:{},arrow:{}}})),m=he.useMemo(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:S})=>{const w={},b={};Object.keys(S.elements).forEach(A=>{w[A]=S.styles[A],b[A]=S.attributes[A]}),g({state:S,styles:w,attributes:b,update:d,forceUpdate:h,placement:S.placement})}}),[d,h,g]),y=he.useMemo(()=>(Mv(s.current,o)||(s.current=o),s.current),[o]);return he.useEffect(()=>{!c.current||!n||c.current.setOptions({placement:i,strategy:a,modifiers:[...y,m,KOe]})},[a,i,m,n,y]),he.useEffect(()=>{if(!(!n||e==null||t==null))return c.current=WOe(e,t,Object.assign({},u,{placement:i,strategy:a,modifiers:[...y,XOe,m]})),()=>{c.current!=null&&(c.current.destroy(),c.current=void 0,g(S=>Object.assign({},S,{attributes:{},styles:{popper:{}}})))}},[n,e,t]),v}function ip(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(e.compareDocumentPosition(t)&16)}var JOe=Sae();const ZOe=jn(JOe),BQ=()=>{};function eIe(e){return e.button===0}function tIe(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}const Wm=e=>e&&("current"in e?e.current:e),HQ={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};function Qae(e,t=BQ,{disabled:r,clickTrigger:n="click"}={}){const i=he.useRef(!1),a=he.useRef(!1),o=he.useCallback(c=>{const d=Wm(e);ZOe(!!d,"ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"),i.current=!d||tIe(c)||!eIe(c)||!!ip(d,c.target)||a.current,a.current=!1},[e]),u=Ka(c=>{const d=Wm(e);d&&ip(d,c.target)?a.current=!0:a.current=!1}),s=Ka(c=>{i.current||t(c)});he.useEffect(()=>{var c,d;if(r||e==null)return;const h=Ch(Wm(e)),v=h.defaultView||window;let g=(c=v.event)!=null?c:(d=v.parent)==null?void 0:d.event,m=null;HQ[n]&&(m=rl(h,HQ[n],u,!0));const y=rl(h,n,o,!0),S=rl(h,n,b=>{if(b===g){g=void 0;return}s(b)});let w=[];return"ontouchstart"in h.documentElement&&(w=[].slice.call(h.body.children).map(b=>rl(b,"mousemove",BQ))),()=>{m==null||m(),y(),S(),w.forEach(b=>b())}},[e,r,n,o,u,s])}function rIe(e){const t={};return Array.isArray(e)?(e==null||e.forEach(r=>{t[r.name]=r}),t):e||t}function nIe(e={}){return Array.isArray(e)?e:Object.keys(e).map(t=>(e[t].name=t,e[t]))}function Jae({enabled:e,enableEvents:t,placement:r,flip:n,offset:i,fixed:a,containerPadding:o,arrowElement:u,popperConfig:s={}}){var c,d,h,v,g;const m=rIe(s.modifiers);return Object.assign({},s,{placement:r,enabled:e,strategy:a?"fixed":s.strategy,modifiers:nIe(Object.assign({},m,{eventListeners:{enabled:t,options:(c=m.eventListeners)==null?void 0:c.options},preventOverflow:Object.assign({},m.preventOverflow,{options:o?Object.assign({padding:o},(d=m.preventOverflow)==null?void 0:d.options):(h=m.preventOverflow)==null?void 0:h.options}),offset:{options:Object.assign({offset:i},(v=m.offset)==null?void 0:v.options)},arrow:Object.assign({},m.arrow,{enabled:!!u,options:Object.assign({},(g=m.arrow)==null?void 0:g.options,{element:u})}),flip:Object.assign({enabled:!!n},m.flip)}))})}const iIe=["children","usePopper"];function aIe(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}const oIe=()=>{};function Zae(e={}){const t=he.useContext(s0),[r,n]=QI(),i=he.useRef(!1),{flip:a,offset:o,rootCloseEvent:u,fixed:s=!1,placement:c,popperConfig:d={},enableEventListeners:h=!0,usePopper:v=!!t}=e,g=(t==null?void 0:t.show)==null?!!e.show:t.show;g&&!i.current&&(i.current=!0);const m=O=>{t==null||t.toggle(!1,O)},{placement:y,setMenu:S,menuElement:w,toggleElement:b}=t||{},A=Xae(b,w,Jae({placement:c||y||"bottom-start",enabled:v,enableEvents:h??g,offset:o,flip:a,fixed:s,arrowElement:r,popperConfig:d})),R=Object.assign({ref:S||oIe,"aria-labelledby":b==null?void 0:b.id},A.attributes.popper,{style:A.styles.popper}),x={show:g,placement:y,hasShown:i.current,toggle:t==null?void 0:t.toggle,popper:v?A:null,arrowProps:v?Object.assign({ref:n},A.attributes.arrow,{style:A.styles.arrow}):{}};return Qae(w,m,{clickTrigger:u,disabled:!g}),[R,x]}function eoe(e){let{children:t,usePopper:r=!0}=e,n=aIe(e,iIe);const[i,a]=Zae(Object.assign({},n,{usePopper:r}));return j.jsx(j.Fragment,{children:t(i,a)})}eoe.displayName="DropdownMenu";const toe={prefix:String(Math.round(Math.random()*1e10)),current:0},roe=or.createContext(toe),sIe=or.createContext(!1);let aO=new WeakMap;function uIe(e=!1){let t=he.useContext(roe),r=he.useRef(null);if(r.current===null&&!e){var n,i;let a=(i=or.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||i===void 0||(n=i.ReactCurrentOwner)===null||n===void 0?void 0:n.current;if(a){let o=aO.get(a);o==null?aO.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==o.state&&(t.current=o.id,aO.delete(a))}r.current=++t.current}return r.current}function lIe(e){let t=he.useContext(roe),r=uIe(!!e),n=`react-aria${t.prefix}`;return e||`${n}-${r}`}function cIe(e){let t=or.useId(),[r]=he.useState(pIe()),n=r?"react-aria":`react-aria${toe.prefix}`;return e||`${n}-${t}`}const fIe=typeof or.useId=="function"?cIe:lIe;function dIe(){return!1}function hIe(){return!0}function vIe(e){return()=>{}}function pIe(){return typeof or.useSyncExternalStore=="function"?or.useSyncExternalStore(vIe,dIe,hIe):he.useContext(sIe)}const noe=e=>{var t;return((t=e.getAttribute("role"))==null?void 0:t.toLowerCase())==="menu"},zQ=()=>{};function ioe(){const e=fIe(),{show:t=!1,toggle:r=zQ,setToggle:n,menuElement:i}=he.useContext(s0)||{},a=he.useCallback(u=>{r(!t,u)},[t,r]),o={id:e,ref:n||zQ,onClick:a,"aria-expanded":!!t};return i&&noe(i)&&(o["aria-haspopup"]=!0),[o,{show:t,toggle:r}]}function aoe({children:e}){const[t,r]=ioe();return j.jsx(j.Fragment,{children:e(t,r)})}aoe.displayName="DropdownToggle";const ZI=he.createContext(null),WQ=(e,t=null)=>e!=null?String(e):t||null,ooe=he.createContext(null);ooe.displayName="NavContext";const gIe="data-rr-ui-";function Rk(e){return`${gIe}${e}`}const mIe=["eventKey","disabled","onClick","active","as"];function yIe(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function soe({key:e,href:t,active:r,disabled:n,onClick:i}){const a=he.useContext(ZI),o=he.useContext(ooe),{activeKey:u}=o||{},s=WQ(e,t),c=r==null&&e!=null?WQ(u)===s:r;return[{onClick:Ka(h=>{n||(i==null||i(h),a&&!h.isPropagationStopped()&&a(s,h))}),"aria-disabled":n||void 0,"aria-selected":c,[Rk("dropdown-item")]:""},{isActive:c}]}const uoe=he.forwardRef((e,t)=>{let{eventKey:r,disabled:n,onClick:i,active:a,as:o=zae}=e,u=yIe(e,mIe);const[s]=soe({key:r,href:u.href,disabled:n,onClick:i,active:a});return j.jsx(o,Object.assign({},u,{ref:t},s))});uoe.displayName="DropdownItem";const loe=he.createContext(Ah?window:void 0);loe.Provider;function u0(){return he.useContext(loe)}function GQ(){const e=HOe(),t=he.useRef(null),r=he.useCallback(n=>{t.current=n,e()},[e]);return[t,r]}function zp({defaultShow:e,show:t,onSelect:r,onToggle:n,itemSelector:i=`* [${Rk("dropdown-item")}]`,focusFirstItemOnShow:a,placement:o="bottom-start",children:u}){const s=u0(),[c,d]=BOe(t,e,n),[h,v]=GQ(),g=h.current,[m,y]=GQ(),S=m.current,w=Hae(c),b=he.useRef(null),A=he.useRef(!1),R=he.useContext(ZI),x=he.useCallback(($,B,Y=B==null?void 0:B.type)=>{d($,{originalEvent:B,source:Y})},[d]),O=Ka(($,B)=>{r==null||r($,B),x(!1,B,"select"),B.isPropagationStopped()||R==null||R($,B)}),_=he.useMemo(()=>({toggle:x,placement:o,show:c,menuElement:g,toggleElement:S,setMenu:v,setToggle:y}),[x,o,c,g,S,v,y]);g&&w&&!c&&(A.current=g.contains(g.ownerDocument.activeElement));const P=Ka(()=>{S&&S.focus&&S.focus()}),N=Ka(()=>{const $=b.current;let B=a;if(B==null&&(B=h.current&&noe(h.current)?"keyboard":!1),B===!1||B==="keyboard"&&!/^key.+$/.test($))return;const Y=Gl(h.current,i)[0];Y&&Y.focus&&Y.focus()});he.useEffect(()=>{c?N():A.current&&(A.current=!1,P())},[c,A,P,N]),he.useEffect(()=>{b.current=null});const U=($,B)=>{if(!h.current)return null;const Y=Gl(h.current,i);let Q=Y.indexOf($)+B;return Q=Math.max(0,Math.min(Q,Y.length)),Y[Q]};return xOe(he.useCallback(()=>s.document,[s]),"keydown",$=>{var B,Y;const{key:Q}=$,K=$.target,ee=(B=h.current)==null?void 0:B.contains(K),ne=(Y=m.current)==null?void 0:Y.contains(K);if(/input|textarea/i.test(K.tagName)&&(Q===" "||Q!=="Escape"&&ee||Q==="Escape"&&K.type==="search")||!ee&&!ne||Q==="Tab"&&(!h.current||!c))return;b.current=$.type;const I={originalEvent:$,source:$.type};switch(Q){case"ArrowUp":{const L=U(K,-1);L&&L.focus&&L.focus(),$.preventDefault();return}case"ArrowDown":if($.preventDefault(),!c)d(!0,I);else{const L=U(K,1);L&&L.focus&&L.focus()}return;case"Tab":wk(K.ownerDocument,"keyup",L=>{var re;(L.key==="Tab"&&!L.target||!((re=h.current)!=null&&re.contains(L.target)))&&d(!1,I)},{once:!0});break;case"Escape":Q==="Escape"&&($.preventDefault(),$.stopPropagation()),d(!1,I);break}}),j.jsx(ZI.Provider,{value:O,children:j.jsx(s0.Provider,{value:_,children:u})})}zp.displayName="Dropdown";zp.Menu=eoe;zp.Toggle=aoe;zp.Item=uoe;const xk=he.createContext({});xk.displayName="DropdownContext";const coe=he.forwardRef(({className:e,bsPrefix:t,as:r="hr",role:n="separator",...i},a)=>(t=In(t,"dropdown-divider"),j.jsx(r,{ref:a,className:hn(e,t),role:n,...i})));coe.displayName="DropdownDivider";const foe=he.forwardRef(({className:e,bsPrefix:t,as:r="div",role:n="heading",...i},a)=>(t=In(t,"dropdown-header"),j.jsx(r,{ref:a,className:hn(e,t),role:n,...i})));foe.displayName="DropdownHeader";const doe=he.forwardRef(({bsPrefix:e,className:t,eventKey:r,disabled:n=!1,onClick:i,active:a,as:o=Wae,...u},s)=>{const c=In(e,"dropdown-item"),[d,h]=soe({key:r,href:u.href,disabled:n,onClick:i,active:a});return j.jsx(o,{...u,...d,ref:s,className:hn(t,c,h.isActive&&"active",n&&"disabled")})});doe.displayName="DropdownItem";const hoe=he.forwardRef(({className:e,bsPrefix:t,as:r="span",...n},i)=>(t=In(t,"dropdown-item-text"),j.jsx(r,{ref:i,className:hn(e,t),...n})));hoe.displayName="DropdownItemText";const _Ie=typeof globalThis<"u"&&globalThis.navigator&&globalThis.navigator.product==="ReactNative",SIe=typeof document<"u",voe=SIe||_Ie?he.useLayoutEffect:he.useEffect,Ck=he.createContext(null);Ck.displayName="InputGroupContext";const poe=he.createContext(null);poe.displayName="NavbarContext";function goe(e,t){return e}function moe(e,t,r){const n=r?"top-end":"top-start",i=r?"top-start":"top-end",a=r?"bottom-end":"bottom-start",o=r?"bottom-start":"bottom-end",u=r?"right-start":"left-start",s=r?"right-end":"left-end",c=r?"left-start":"right-start",d=r?"left-end":"right-end";let h=e?o:a;return t==="up"?h=e?i:n:t==="end"?h=e?d:c:t==="start"?h=e?s:u:t==="down-centered"?h="bottom":t==="up-centered"&&(h="top"),h}const yoe=he.forwardRef(({bsPrefix:e,className:t,align:r,rootCloseEvent:n,flip:i=!0,show:a,renderOnMount:o,as:u="div",popperConfig:s,variant:c,...d},h)=>{let v=!1;const g=he.useContext(poe),m=In(e,"dropdown-menu"),{align:y,drop:S,isRTL:w}=he.useContext(xk);r=r||y;const b=he.useContext(Ck),A=[];if(r)if(typeof r=="object"){const $=Object.keys(r);if($.length){const B=$[0],Y=r[B];v=Y==="start",A.push(`${m}-${B}-${Y}`)}}else r==="end"&&(v=!0);const R=moe(v,S,w),[x,{hasShown:O,popper:_,show:P,toggle:N}]=Zae({flip:i,rootCloseEvent:n,show:a,usePopper:!g&&A.length===0,offset:[0,2],popperConfig:s,placement:R});if(x.ref=Oh(goe(h),x.ref),voe(()=>{P&&(_==null||_.update())},[P]),!O&&!o&&!b)return null;typeof u!="string"&&(x.show=P,x.close=()=>N==null?void 0:N(!1),x.align=r);let U=d.style;return _!=null&&_.placement&&(U={...d.style,...x.style},d["x-placement"]=_.placement),j.jsx(u,{...d,...x,style:U,...(A.length||g)&&{"data-bs-popper":"static"},className:hn(t,m,P&&"show",v&&`${m}-end`,c&&`${m}-${c}`,...A)})});yoe.displayName="DropdownMenu";const _oe=he.forwardRef(({bsPrefix:e,split:t,className:r,childBsPrefix:n,as:i=o0,...a},o)=>{const u=In(e,"dropdown-toggle"),s=he.useContext(s0);n!==void 0&&(a.bsPrefix=n);const[c]=ioe();return c.ref=Oh(c.ref,goe(o)),j.jsx(i,{className:hn(r,u,t&&`${u}-split`,(s==null?void 0:s.show)&&"show"),...c,...a})});_oe.displayName="DropdownToggle";const Soe=he.forwardRef((e,t)=>{const{bsPrefix:r,drop:n="down",show:i,className:a,align:o="start",onSelect:u,onToggle:s,focusFirstItemOnShow:c,as:d="div",navbar:h,autoClose:v=!0,...g}=nOe(e,{show:"onToggle"}),m=he.useContext(Ck),y=In(r,"dropdown"),S=a0(),w=_=>v===!1?_==="click":v==="inside"?_!=="rootClose":v==="outside"?_!=="select":!0,b=rp((_,P)=>{var N;!((N=P.originalEvent)==null||(N=N.target)==null)&&N.classList.contains("dropdown-toggle")&&P.source==="mousedown"||(P.originalEvent.currentTarget===document&&(P.source!=="keydown"||P.originalEvent.key==="Escape")&&(P.source="rootClose"),w(P.source)&&(s==null||s(_,P)))}),R=moe(o==="end",n,S),x=he.useMemo(()=>({align:o,drop:n,isRTL:S}),[o,n,S]),O={down:y,"down-centered":`${y}-center`,up:"dropup","up-centered":"dropup-center dropup",end:"dropend",start:"dropstart"};return j.jsx(xk.Provider,{value:x,children:j.jsx(zp,{placement:R,show:i,onSelect:u,onToggle:b,focusFirstItemOnShow:c,itemSelector:`.${y}-item:not(.disabled):not(:disabled)`,children:m?g.children:j.jsx(d,{...g,ref:t,className:hn(a,i&&"show",O[n])})})})});Soe.displayName="Dropdown";const Zi=Object.assign(Soe,{Toggle:_oe,Menu:yoe,Item:doe,ItemText:hoe,Divider:coe,Header:foe}),EIe={type:Xr.string,tooltip:Xr.bool,as:Xr.elementType},l0=he.forwardRef(({as:e="div",className:t,type:r="valid",tooltip:n=!1,...i},a)=>j.jsx(e,{...i,ref:a,className:hn(t,`${r}-${n?"tooltip":"feedback"}`)}));l0.displayName="Feedback";l0.propTypes=EIe;const dl=he.createContext({}),Ak=he.forwardRef(({id:e,bsPrefix:t,className:r,type:n="checkbox",isValid:i=!1,isInvalid:a=!1,as:o="input",...u},s)=>{const{controlId:c}=he.useContext(dl);return t=In(t,"form-check-input"),j.jsx(o,{...u,ref:s,type:n,id:e||c,className:hn(r,t,i&&"is-valid",a&&"is-invalid")})});Ak.displayName="FormCheckInput";const _y=he.forwardRef(({bsPrefix:e,className:t,htmlFor:r,...n},i)=>{const{controlId:a}=he.useContext(dl);return e=In(e,"form-check-label"),j.jsx("label",{...n,ref:i,htmlFor:r||a,className:hn(t,e)})});_y.displayName="FormCheckLabel";const Eoe=he.forwardRef(({id:e,bsPrefix:t,bsSwitchPrefix:r,inline:n=!1,reverse:i=!1,disabled:a=!1,isValid:o=!1,isInvalid:u=!1,feedbackTooltip:s=!1,feedback:c,feedbackType:d,className:h,style:v,title:g="",type:m="checkbox",label:y,children:S,as:w="input",...b},A)=>{t=In(t,"form-check"),r=In(r,"form-switch");const{controlId:R}=he.useContext(dl),x=he.useMemo(()=>({controlId:e||R}),[R,e]),O=!S&&y!=null&&y!==!1||UOe(S,_y),_=j.jsx(Ak,{...b,type:m==="switch"?"checkbox":m,ref:A,isValid:o,isInvalid:u,disabled:a,as:w});return j.jsx(dl.Provider,{value:x,children:j.jsx("div",{style:v,className:hn(h,O&&t,n&&`${t}-inline`,i&&`${t}-reverse`,m==="switch"&&r),children:S||j.jsxs(j.Fragment,{children:[_,O&&j.jsx(_y,{title:g,children:y}),c&&j.jsx(l0,{type:d,tooltip:s,children:c})]})})})});Eoe.displayName="FormCheck";const Sy=Object.assign(Eoe,{Input:Ak,Label:_y}),woe=he.forwardRef(({bsPrefix:e,type:t,size:r,htmlSize:n,id:i,className:a,isValid:o=!1,isInvalid:u=!1,plaintext:s,readOnly:c,as:d="input",...h},v)=>{const{controlId:g}=he.useContext(dl);return e=In(e,"form-control"),j.jsx(d,{...h,type:t,size:n,ref:v,readOnly:c,id:i||g,className:hn(a,s?`${e}-plaintext`:e,r&&`${e}-${r}`,t==="color"&&`${e}-color`,o&&"is-valid",u&&"is-invalid")})});woe.displayName="FormControl";const wIe=Object.assign(woe,{Feedback:l0}),boe=he.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=In(t,"form-floating"),j.jsx(r,{ref:i,className:hn(e,t),...n})));boe.displayName="FormFloating";const Ok=he.forwardRef(({controlId:e,as:t="div",...r},n)=>{const i=he.useMemo(()=>({controlId:e}),[e]);return j.jsx(dl.Provider,{value:i,children:j.jsx(t,{...r,ref:n})})});Ok.displayName="FormGroup";const Toe=he.forwardRef(({as:e="label",bsPrefix:t,column:r=!1,visuallyHidden:n=!1,className:i,htmlFor:a,...o},u)=>{const{controlId:s}=he.useContext(dl);t=In(t,"form-label");let c="col-form-label";typeof r=="string"&&(c=`${c} ${c}-${r}`);const d=hn(i,t,n&&"visually-hidden",r&&c);return a=a||s,r?j.jsx(Kae,{ref:u,as:"label",className:d,htmlFor:a,...o}):j.jsx(e,{ref:u,className:d,htmlFor:a,...o})});Toe.displayName="FormLabel";const Roe=he.forwardRef(({bsPrefix:e,className:t,id:r,...n},i)=>{const{controlId:a}=he.useContext(dl);return e=In(e,"form-range"),j.jsx("input",{...n,type:"range",ref:i,className:hn(t,e),id:r||a})});Roe.displayName="FormRange";const xoe=he.forwardRef(({bsPrefix:e,size:t,htmlSize:r,className:n,isValid:i=!1,isInvalid:a=!1,id:o,...u},s)=>{const{controlId:c}=he.useContext(dl);return e=In(e,"form-select"),j.jsx("select",{...u,size:r,ref:s,className:hn(n,e,t&&`${e}-${t}`,i&&"is-valid",a&&"is-invalid"),id:o||c})});xoe.displayName="FormSelect";const Coe=he.forwardRef(({bsPrefix:e,className:t,as:r="small",muted:n,...i},a)=>(e=In(e,"form-text"),j.jsx(r,{...i,ref:a,className:hn(t,e,n&&"text-muted")})));Coe.displayName="FormText";const Aoe=he.forwardRef((e,t)=>j.jsx(Sy,{...e,ref:t,type:"switch"}));Aoe.displayName="Switch";const bIe=Object.assign(Aoe,{Input:Sy.Input,Label:Sy.Label}),Ooe=he.forwardRef(({bsPrefix:e,className:t,children:r,controlId:n,label:i,...a},o)=>(e=In(e,"form-floating"),j.jsxs(Ok,{ref:o,className:hn(t,e),controlId:n,...a,children:[r,j.jsx("label",{htmlFor:n,children:i})]})));Ooe.displayName="FloatingLabel";const TIe={_ref:Xr.any,validated:Xr.bool,as:Xr.elementType},Ik=he.forwardRef(({className:e,validated:t,as:r="form",...n},i)=>j.jsx(r,{...n,ref:i,className:hn(e,t&&"was-validated")}));Ik.displayName="Form";Ik.propTypes=TIe;const RIe=Object.assign(Ik,{Group:Ok,Control:wIe,Floating:boe,Check:Sy,Switch:bIe,Label:Toe,Text:Coe,Range:Roe,Select:xoe,FloatingLabel:Ooe}),YQ=e=>!e||typeof e=="function"?e:t=>{e.current=t};function xIe(e,t){const r=YQ(e),n=YQ(t);return i=>{r&&r(i),n&&n(i)}}function c0(e,t){return he.useMemo(()=>xIe(e,t),[e,t])}var cm;function KQ(e){if((!cm&&cm!==0||e)&&Ah){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),cm=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return cm}function CIe(){return he.useState(null)}function oO(e){e===void 0&&(e=Ch());try{var t=e.activeElement;return!t||!t.nodeName?null:t}catch{return e.body}}function AIe(e){const t=he.useRef(e);return t.current=e,t}function OIe(e){const t=AIe(e);he.useEffect(()=>()=>t.current(),[])}function IIe(e=document){const t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}const XQ=Rk("modal-open");class Pk{constructor({ownerDocument:t,handleContainerOverflow:r=!0,isRTL:n=!1}={}){this.handleContainerOverflow=r,this.isRTL=n,this.modals=[],this.ownerDocument=t}getScrollbarWidth(){return IIe(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(t){}removeModalAttributes(t){}setContainerStyle(t){const r={overflow:"hidden"},n=this.isRTL?"paddingLeft":"paddingRight",i=this.getElement();t.style={overflow:i.style.overflow,[n]:i.style[n]},t.scrollBarWidth&&(r[n]=`${parseInt(Zc(i,n)||"0",10)+t.scrollBarWidth}px`),i.setAttribute(XQ,""),Zc(i,r)}reset(){[...this.modals].forEach(t=>this.remove(t))}removeContainerStyle(t){const r=this.getElement();r.removeAttribute(XQ),Object.assign(r.style,t.style)}add(t){let r=this.modals.indexOf(t);return r!==-1||(r=this.modals.length,this.modals.push(t),this.setModalAttributes(t),r!==0)||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state)),r}remove(t){const r=this.modals.indexOf(t);r!==-1&&(this.modals.splice(r,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(t))}isTopModal(t){return!!this.modals.length&&this.modals[this.modals.length-1]===t}}const sO=(e,t)=>Ah?e==null?(t||Ch()).body:(typeof e=="function"&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function eP(e,t){const r=u0(),[n,i]=he.useState(()=>sO(e,r==null?void 0:r.document));if(!n){const a=sO(e);a&&i(a)}return he.useEffect(()=>{},[t,n]),he.useEffect(()=>{const a=sO(e);a!==n&&i(a)},[e,n]),n}function PIe({children:e,in:t,onExited:r,mountOnEnter:n,unmountOnExit:i}){const a=he.useRef(null),o=he.useRef(t),u=Ka(r);he.useEffect(()=>{t?o.current=!0:u(a.current)},[t,u]);const s=c0(a,Hp(e)),c=he.cloneElement(e,{ref:s});return t?c:i||!o.current&&n?null:c}const DIe=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children"];function kIe(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function NIe(e){let{onEnter:t,onEntering:r,onEntered:n,onExit:i,onExiting:a,onExited:o,addEndListener:u,children:s}=e,c=kIe(e,DIe);const d=he.useRef(null),h=c0(d,Hp(s)),v=R=>x=>{R&&d.current&&R(d.current,x)},g=he.useCallback(v(t),[t]),m=he.useCallback(v(r),[r]),y=he.useCallback(v(n),[n]),S=he.useCallback(v(i),[i]),w=he.useCallback(v(a),[a]),b=he.useCallback(v(o),[o]),A=he.useCallback(v(u),[u]);return Object.assign({},c,{nodeRef:d},t&&{onEnter:g},r&&{onEntering:m},n&&{onEntered:y},i&&{onExit:S},a&&{onExiting:w},o&&{onExited:b},u&&{addEndListener:A},{children:typeof s=="function"?(R,x)=>s(R,Object.assign({},x,{ref:h})):he.cloneElement(s,{ref:h})})}const LIe=["component"];function MIe(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}const $Ie=he.forwardRef((e,t)=>{let{component:r}=e,n=MIe(e,LIe);const i=NIe(n);return j.jsx(r,Object.assign({ref:t},i))});function FIe({in:e,onTransition:t}){const r=he.useRef(null),n=he.useRef(!0),i=Ka(t);return UQ(()=>{if(!r.current)return;let a=!1;return i({in:e,element:r.current,initial:n.current,isStale:()=>a}),()=>{a=!0}},[e,i]),UQ(()=>(n.current=!1,()=>{n.current=!0}),[]),r}function jIe({children:e,in:t,onExited:r,onEntered:n,transition:i}){const[a,o]=he.useState(!t);t&&a&&o(!1);const u=FIe({in:!!t,onTransition:c=>{const d=()=>{c.isStale()||(c.in?n==null||n(c.element,c.initial):(o(!0),r==null||r(c.element)))};Promise.resolve(i(c)).then(d,h=>{throw c.in||o(!0),h})}}),s=c0(u,Hp(e));return a&&!t?null:he.cloneElement(e,{ref:s})}function tP(e,t,r){return e?j.jsx($Ie,Object.assign({},r,{component:e})):t?j.jsx(jIe,Object.assign({},r,{transition:t})):j.jsx(PIe,Object.assign({},r))}const UIe=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","runTransition","backdropTransition","runBackdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"];function qIe(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}let uO;function VIe(e){return uO||(uO=new Pk({ownerDocument:e==null?void 0:e.document})),uO}function BIe(e){const t=u0(),r=e||VIe(t),n=he.useRef({dialog:null,backdrop:null});return Object.assign(n.current,{add:()=>r.add(n.current),remove:()=>r.remove(n.current),isTopModal:()=>r.isTopModal(n.current),setDialogRef:he.useCallback(i=>{n.current.dialog=i},[]),setBackdropRef:he.useCallback(i=>{n.current.backdrop=i},[])})}const Ioe=he.forwardRef((e,t)=>{let{show:r=!1,role:n="dialog",className:i,style:a,children:o,backdrop:u=!0,keyboard:s=!0,onBackdropClick:c,onEscapeKeyDown:d,transition:h,runTransition:v,backdropTransition:g,runBackdropTransition:m,autoFocus:y=!0,enforceFocus:S=!0,restoreFocus:w=!0,restoreFocusOptions:b,renderDialog:A,renderBackdrop:R=fe=>j.jsx("div",Object.assign({},fe)),manager:x,container:O,onShow:_,onHide:P=()=>{},onExit:N,onExited:U,onExiting:$,onEnter:B,onEntering:Y,onEntered:Q}=e,K=qIe(e,UIe);const ee=u0(),ne=eP(O),D=BIe(x),I=Bae(),L=Hae(r),[re,te]=he.useState(!r),ce=he.useRef(null);he.useImperativeHandle(t,()=>D,[D]),Ah&&!L&&r&&(ce.current=oO(ee==null?void 0:ee.document)),r&&re&&te(!1);const be=Ka(()=>{if(D.add(),H.current=rl(document,"keydown",k),q.current=rl(document,"focus",()=>setTimeout(je),!0),_&&_(),y){var fe,Re;const Se=oO((fe=(Re=D.dialog)==null?void 0:Re.ownerDocument)!=null?fe:ee==null?void 0:ee.document);D.dialog&&Se&&!ip(D.dialog,Se)&&(ce.current=Se,D.dialog.focus())}}),Ie=Ka(()=>{if(D.remove(),H.current==null||H.current(),q.current==null||q.current(),w){var fe;(fe=ce.current)==null||fe.focus==null||fe.focus(b),ce.current=null}});he.useEffect(()=>{!r||!ne||be()},[r,ne,be]),he.useEffect(()=>{re&&Ie()},[re,Ie]),OIe(()=>{Ie()});const je=Ka(()=>{if(!S||!I()||!D.isTopModal())return;const fe=oO(ee==null?void 0:ee.document);D.dialog&&fe&&!ip(D.dialog,fe)&&D.dialog.focus()}),z=Ka(fe=>{fe.target===fe.currentTarget&&(c==null||c(fe),u===!0&&P())}),k=Ka(fe=>{s&&qae(fe)&&D.isTopModal()&&(d==null||d(fe),fe.defaultPrevented||P())}),q=he.useRef(),H=he.useRef(),ie=(...fe)=>{te(!0),U==null||U(...fe)};if(!ne)return null;const V=Object.assign({role:n,ref:D.setDialogRef,"aria-modal":n==="dialog"?!0:void 0},K,{style:a,className:i,tabIndex:-1});let Z=A?A(V):j.jsx("div",Object.assign({},V,{children:he.cloneElement(o,{role:"document"})}));Z=tP(h,v,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!r,onExit:N,onExiting:$,onExited:ie,onEnter:B,onEntering:Y,onEntered:Q,children:Z});let me=null;return u&&(me=R({ref:D.setBackdropRef,onClick:z}),me=tP(g,m,{in:!!r,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:me})),j.jsx(j.Fragment,{children:Gc.createPortal(j.jsxs(j.Fragment,{children:[me,Z]}),ne)})});Ioe.displayName="Modal";const HIe=Object.assign(Ioe,{Manager:Pk}),_d={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class zIe extends Pk{adjustAndStore(t,r,n){const i=r.style[t];r.dataset[t]=i,Zc(r,{[t]:`${parseFloat(Zc(r,t))+n}px`})}restore(t,r){const n=r.dataset[t];n!==void 0&&(delete r.dataset[t],Zc(r,{[t]:n}))}setContainerStyle(t){super.setContainerStyle(t);const r=this.getElement();if($ae(r,"modal-open"),!t.scrollBarWidth)return;const n=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";Gl(r,_d.FIXED_CONTENT).forEach(a=>this.adjustAndStore(n,a,t.scrollBarWidth)),Gl(r,_d.STICKY_CONTENT).forEach(a=>this.adjustAndStore(i,a,-t.scrollBarWidth)),Gl(r,_d.NAVBAR_TOGGLER).forEach(a=>this.adjustAndStore(i,a,t.scrollBarWidth))}removeContainerStyle(t){super.removeContainerStyle(t);const r=this.getElement();Fae(r,"modal-open");const n=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";Gl(r,_d.FIXED_CONTENT).forEach(a=>this.restore(n,a)),Gl(r,_d.STICKY_CONTENT).forEach(a=>this.restore(i,a)),Gl(r,_d.NAVBAR_TOGGLER).forEach(a=>this.restore(i,a))}}let lO;function WIe(e){return lO||(lO=new zIe(e)),lO}const Poe=he.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=In(t,"modal-body"),j.jsx(r,{ref:i,className:hn(e,t),...n})));Poe.displayName="ModalBody";const Doe=he.createContext({onHide(){}}),Dk=he.forwardRef(({bsPrefix:e,className:t,contentClassName:r,centered:n,size:i,fullscreen:a,children:o,scrollable:u,...s},c)=>{e=In(e,"modal");const d=`${e}-dialog`,h=typeof a=="string"?`${e}-fullscreen-${a}`:`${e}-fullscreen`;return j.jsx("div",{...s,ref:c,className:hn(d,t,i&&`${e}-${i}`,n&&`${d}-centered`,u&&`${d}-scrollable`,a&&h),children:j.jsx("div",{className:hn(`${e}-content`,r),children:o})})});Dk.displayName="ModalDialog";const koe=he.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=In(t,"modal-footer"),j.jsx(r,{ref:i,className:hn(e,t),...n})));koe.displayName="ModalFooter";const GIe=he.forwardRef(({closeLabel:e="Close",closeVariant:t,closeButton:r=!1,onHide:n,children:i,...a},o)=>{const u=he.useContext(Doe),s=rp(()=>{u==null||u.onHide(),n==null||n()});return j.jsxs("div",{ref:o,...a,children:[i,r&&j.jsx(Tk,{"aria-label":e,variant:t,onClick:s})]})}),Noe=he.forwardRef(({bsPrefix:e,className:t,closeLabel:r="Close",closeButton:n=!1,...i},a)=>(e=In(e,"modal-header"),j.jsx(GIe,{ref:a,...i,className:hn(t,e),closeLabel:r,closeButton:n})));Noe.displayName="ModalHeader";const YIe=TOe("h4"),Loe=he.forwardRef(({className:e,bsPrefix:t,as:r=YIe,...n},i)=>(t=In(t,"modal-title"),j.jsx(r,{ref:i,className:hn(e,t),...n})));Loe.displayName="ModalTitle";function KIe(e){return j.jsx(np,{...e,timeout:null})}function XIe(e){return j.jsx(np,{...e,timeout:null})}const Moe=he.forwardRef(({bsPrefix:e,className:t,style:r,dialogClassName:n,contentClassName:i,children:a,dialogAs:o=Dk,"data-bs-theme":u,"aria-labelledby":s,"aria-describedby":c,"aria-label":d,show:h=!1,animation:v=!0,backdrop:g=!0,keyboard:m=!0,onEscapeKeyDown:y,onShow:S,onHide:w,container:b,autoFocus:A=!0,enforceFocus:R=!0,restoreFocus:x=!0,restoreFocusOptions:O,onEntered:_,onExit:P,onExiting:N,onEnter:U,onEntering:$,onExited:B,backdropClassName:Y,manager:Q,...K},ee)=>{const[ne,D]=he.useState({}),[I,L]=he.useState(!1),re=he.useRef(!1),te=he.useRef(!1),ce=he.useRef(null),[be,Ie]=CIe(),je=Oh(ee,Ie),z=rp(w),k=a0();e=In(e,"modal");const q=he.useMemo(()=>({onHide:z}),[z]);function H(){return Q||WIe({isRTL:k})}function ie(He){if(!Ah)return;const _t=H().getScrollbarWidth()>0,jt=He.scrollHeight>Ch(He).documentElement.clientHeight;D({paddingRight:_t&&!jt?KQ():void 0,paddingLeft:!_t&&jt?KQ():void 0})}const V=rp(()=>{be&&ie(be.dialog)});Gae(()=>{XI(window,"resize",V),ce.current==null||ce.current()});const Z=()=>{re.current=!0},me=He=>{re.current&&be&&He.target===be.dialog&&(te.current=!0),re.current=!1},fe=()=>{L(!0),ce.current=Vae(be.dialog,()=>{L(!1)})},Re=He=>{He.target===He.currentTarget&&fe()},Se=He=>{if(g==="static"){Re(He);return}if(te.current||He.target!==He.currentTarget){te.current=!1;return}w==null||w()},Oe=He=>{m?y==null||y(He):(He.preventDefault(),g==="static"&&fe())},Me=(He,_t)=>{He&&ie(He),U==null||U(He,_t)},de=He=>{ce.current==null||ce.current(),P==null||P(He)},Ee=(He,_t)=>{$==null||$(He,_t),wk(window,"resize",V)},_e=He=>{He&&(He.style.display=""),B==null||B(He),XI(window,"resize",V)},xe=he.useCallback(He=>j.jsx("div",{...He,className:hn(`${e}-backdrop`,Y,!v&&"show")}),[v,Y,e]),ke={...r,...ne};ke.display="block";const Le=He=>j.jsx("div",{role:"dialog",...He,style:ke,className:hn(t,e,I&&`${e}-static`,!v&&"show"),onClick:g?Se:void 0,onMouseUp:me,"data-bs-theme":u,"aria-label":d,"aria-labelledby":s,"aria-describedby":c,children:j.jsx(o,{...K,onMouseDown:Z,className:n,contentClassName:i,children:a})});return j.jsx(Doe.Provider,{value:q,children:j.jsx(HIe,{show:h,ref:je,backdrop:g,container:b,keyboard:!0,autoFocus:A,enforceFocus:R,restoreFocus:x,restoreFocusOptions:O,onEscapeKeyDown:Oe,onShow:S,onHide:w,onEnter:Me,onEntering:Ee,onEntered:_,onExit:de,onExiting:N,onExited:_e,manager:H(),transition:v?KIe:void 0,backdropTransition:v?XIe:void 0,renderBackdrop:xe,renderDialog:Le})})});Moe.displayName="Modal";const fm=Object.assign(Moe,{Body:Poe,Header:Noe,Title:Loe,Footer:koe,Dialog:Dk,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150}),QIe=()=>{};function JIe(e,t,{disabled:r,clickTrigger:n}={}){const i=t||QIe;Qae(e,i,{disabled:r,clickTrigger:n});const a=Ka(o=>{qae(o)&&i(o)});he.useEffect(()=>{if(r||e==null)return;const o=Ch(Wm(e));let u=(o.defaultView||window).event;const s=rl(o,"keyup",c=>{if(c===u){u=void 0;return}a(c)});return()=>{s()}},[e,r,a])}const $oe=he.forwardRef((e,t)=>{const{flip:r,offset:n,placement:i,containerPadding:a,popperConfig:o={},transition:u,runTransition:s}=e,[c,d]=QI(),[h,v]=QI(),g=c0(d,t),m=eP(e.container),y=eP(e.target),[S,w]=he.useState(!e.show),b=Xae(y,c,Jae({placement:i,enableEvents:!!e.show,containerPadding:a||5,flip:r,offset:n,arrowElement:h,popperConfig:o}));e.show&&S&&w(!1);const A=(...$)=>{w(!0),e.onExited&&e.onExited(...$)},R=e.show||!S;if(JIe(c,e.onHide,{disabled:!e.rootClose||e.rootCloseDisabled,clickTrigger:e.rootCloseEvent}),!R)return null;const{onExit:x,onExiting:O,onEnter:_,onEntering:P,onEntered:N}=e;let U=e.children(Object.assign({},b.attributes.popper,{style:b.styles.popper,ref:g}),{popper:b,placement:i,show:!!e.show,arrowProps:Object.assign({},b.attributes.arrow,{style:b.styles.arrow,ref:v})});return U=tP(u,s,{in:!!e.show,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:U,onExit:x,onExiting:O,onExited:A,onEnter:_,onEntering:P,onEntered:N}),m?Gc.createPortal(U,m):null});$oe.displayName="Overlay";const Foe=he.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=In(t,"popover-header"),j.jsx(r,{ref:i,className:hn(e,t),...n})));Foe.displayName="PopoverHeader";const kk=he.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=In(t,"popover-body"),j.jsx(r,{ref:i,className:hn(e,t),...n})));kk.displayName="PopoverBody";function joe(e,t){let r=e;return e==="left"?r=t?"end":"start":e==="right"&&(r=t?"start":"end"),r}function Uoe(e="absolute"){return{position:e,top:"0",left:"0",opacity:"0",pointerEvents:"none"}}const ZIe=he.forwardRef(({bsPrefix:e,placement:t="right",className:r,style:n,children:i,body:a,arrowProps:o,hasDoneInitialMeasure:u,popper:s,show:c,...d},h)=>{const v=In(e,"popover"),g=a0(),[m]=(t==null?void 0:t.split("-"))||[],y=joe(m,g);let S=n;return c&&!u&&(S={...n,...Uoe(s==null?void 0:s.strategy)}),j.jsxs("div",{ref:h,role:"tooltip",style:S,"x-placement":m,className:hn(r,v,m&&`bs-popover-${y}`),...d,children:[j.jsx("div",{className:"popover-arrow",...o}),a?j.jsx(kk,{children:i}):i]})}),ePe=Object.assign(ZIe,{Header:Foe,Body:kk,POPPER_OFFSET:[0,8]}),qoe=he.forwardRef(({bsPrefix:e,placement:t="right",className:r,style:n,children:i,arrowProps:a,hasDoneInitialMeasure:o,popper:u,show:s,...c},d)=>{e=In(e,"tooltip");const h=a0(),[v]=(t==null?void 0:t.split("-"))||[],g=joe(v,h);let m=n;return s&&!o&&(m={...n,...Uoe(u==null?void 0:u.strategy)}),j.jsxs("div",{ref:d,style:m,role:"tooltip","x-placement":v,className:hn(r,e,`bs-tooltip-${g}`),...c,children:[j.jsx("div",{className:"tooltip-arrow",...a}),j.jsx("div",{className:`${e}-inner`,children:i})]})});qoe.displayName="Tooltip";const Nk=Object.assign(qoe,{TOOLTIP_OFFSET:[0,6]});function tPe(e){const t=he.useRef(null),r=In(void 0,"popover"),n=In(void 0,"tooltip"),i=he.useMemo(()=>({name:"offset",options:{offset:()=>{if(e)return e;if(t.current){if(zI(t.current,r))return ePe.POPPER_OFFSET;if(zI(t.current,n))return Nk.TOOLTIP_OFFSET}return[0,0]}}}),[e,r,n]);return[t,[i]]}function rPe(e,t){const{ref:r}=e,{ref:n}=t;e.ref=r.__wrapped||(r.__wrapped=i=>r(yy(i))),t.ref=n.__wrapped||(n.__wrapped=i=>n(yy(i)))}const Voe=he.forwardRef(({children:e,transition:t=np,popperConfig:r={},rootClose:n=!1,placement:i="top",show:a=!1,...o},u)=>{const s=he.useRef({}),[c,d]=he.useState(null),[h,v]=tPe(o.offset),g=Oh(u,h),m=t===!0?np:t||void 0,y=rp(S=>{d(S),r==null||r.onFirstUpdate==null||r.onFirstUpdate(S)});return voe(()=>{c&&o.target&&(s.current.scheduleUpdate==null||s.current.scheduleUpdate())},[c,o.target]),he.useEffect(()=>{a||d(null)},[a]),j.jsx($oe,{...o,ref:g,popperConfig:{...r,modifiers:v.concat(r.modifiers||[]),onFirstUpdate:y},transition:m,rootClose:n,placement:i,show:a,children:(S,{arrowProps:w,popper:b,show:A})=>{var R;rPe(S,w);const x=b==null?void 0:b.placement,O=Object.assign(s.current,{state:b==null?void 0:b.state,scheduleUpdate:b==null?void 0:b.update,placement:x,outOfBoundaries:(b==null||(R=b.state)==null||(R=R.modifiersData.hide)==null?void 0:R.isReferenceHidden)||!1,strategy:r.strategy}),_=!!c;return typeof e=="function"?e({...S,placement:x,show:A,...!t&&A&&{className:"show"},popper:O,arrowProps:w,hasDoneInitialMeasure:_}):he.cloneElement(e,{...S,placement:x,arrowProps:w,popper:O,hasDoneInitialMeasure:_,className:hn(e.props.className,!t&&A&&"show"),style:{...e.props.style,...S.style}})}})});Voe.displayName="Overlay";function nPe(e){return e&&typeof e=="object"?e:{show:e,hide:e}}function QQ(e,t,r){const[n]=t,i=n.currentTarget,a=n.relatedTarget||n.nativeEvent[r];(!a||a!==i)&&!ip(i,a)&&e(...t)}Xr.oneOf(["click","hover","focus"]);const rP=({trigger:e=["hover","focus"],overlay:t,children:r,popperConfig:n={},show:i,defaultShow:a=!1,onToggle:o,delay:u,placement:s,flip:c=s&&s.indexOf("auto")!==-1,...d})=>{const h=he.useRef(null),v=Oh(h,Hp(r)),g=jOe(),m=he.useRef(""),[y,S]=Uae(i,a,o),w=nPe(u),{onFocus:b,onBlur:A,onClick:R}=typeof r!="function"?he.Children.only(r).props:{},x=K=>{v(yy(K))},O=he.useCallback(()=>{if(g.clear(),m.current="show",!w.show){S(!0);return}g.set(()=>{m.current==="show"&&S(!0)},w.show)},[w.show,S,g]),_=he.useCallback(()=>{if(g.clear(),m.current="hide",!w.hide){S(!1);return}g.set(()=>{m.current==="hide"&&S(!1)},w.hide)},[w.hide,S,g]),P=he.useCallback((...K)=>{O(),b==null||b(...K)},[O,b]),N=he.useCallback((...K)=>{_(),A==null||A(...K)},[_,A]),U=he.useCallback((...K)=>{S(!y),R==null||R(...K)},[R,S,y]),$=he.useCallback((...K)=>{QQ(O,K,"fromElement")},[O]),B=he.useCallback((...K)=>{QQ(_,K,"toElement")},[_]),Y=e==null?[]:[].concat(e),Q={ref:x};return Y.indexOf("click")!==-1&&(Q.onClick=U),Y.indexOf("focus")!==-1&&(Q.onFocus=P,Q.onBlur=N),Y.indexOf("hover")!==-1&&(Q.onMouseOver=$,Q.onMouseOut=B),j.jsxs(j.Fragment,{children:[typeof r=="function"?r(Q):he.cloneElement(r,Q),j.jsx(Voe,{...d,show:y,onHide:_,flip:c,placement:s,popperConfig:n,target:h.current,children:t})]})},Wp=he.forwardRef(({bsPrefix:e,variant:t,animation:r="border",size:n,as:i="div",className:a,...o},u)=>{e=In(e,"spinner");const s=`${e}-${r}`;return j.jsx(i,{ref:u,...o,className:hn(a,s,n&&`${s}-${n}`,t&&`text-${t}`)})});Wp.displayName="Spinner";var dm={},JQ;function iPe(){if(JQ)return dm;JQ=1;var e=Gie();return dm.createRoot=e.createRoot,dm.hydrateRoot=e.hydrateRoot,dm}var Lk=iPe();const Mk={getRandomInt(e=1e4){return Math.floor(Math.random()*Math.floor(e))}};function aPe(e){const[t,r]=he.useState(!1),n=he.useMemo(()=>`${e.type}-${Mk.getRandomInt()}`,[]);if(!e.title)return j.jsx(j.Fragment,{children:e.children});const i=j.jsx(Nk,{id:n,style:{opacity:t?1:0},children:e.title});return e.spanHack?j.jsx(rP,{placement:e.placement,overlay:i,trigger:e.trigger,delay:e.disable?Number.POSITIVE_INFINITY:void 0,show:e.show,onEntered:()=>r(!0),onExited:()=>r(!1),children:j.jsx("div",{className:`${e.spanHackClassName??"d-flex justify-content-center align-items-center"}`,children:e.children},n)}):j.jsx(rP,{placement:e.placement,overlay:i,trigger:e.trigger,delay:e.disable?Number.POSITIVE_INFINITY:void 0,show:e.show,onEntered:()=>r(!0),onExited:()=>r(!1),children:j.jsx(he.Fragment,{children:e.children},n)})}function oPe(e){const[t,r]=he.useState(),[n,i]=he.useState(!1);return he.useEffect(()=>{const a=document.createElement("div");Lk.createRoot(a).render(e.markupComponent),window.setTimeout(()=>{r(a.innerHTML)},100)}),j.jsx(rP,{placement:"top",overlay:j.jsx(Nk,{id:e.id,style:{opacity:n?1:0},children:j.jsx("div",{dangerouslySetInnerHTML:{__html:t}})}),trigger:["hover","click","focus"],show:e.show,onEntered:()=>i(!0),onExited:()=>i(!1),children:j.jsx("div",{children:e.children})})}cl.defaultProps={trigger:["hover","click","focus"],placement:"top",type:"text"};function cl(e){return e.type==="text"?j.jsx(aPe,{...e,type:"text"}):e.type==="markup"?j.jsx(oPe,{...e,type:"markup"}):j.jsx(j.Fragment,{})}var Fl={},Lc={};/**
138
- * @license React
139
- * react-dom-server-legacy.browser.production.min.js
140
- *
141
- * Copyright (c) Facebook, Inc. and its affiliates.
142
- *
143
- * This source code is licensed under the MIT license found in the
144
- * LICENSE file in the root directory of this source tree.
145
- */var ZQ;function sPe(){if(ZQ)return Lc;ZQ=1;var e=zo();function t(W){for(var ue="https://reactjs.org/docs/error-decoder.html?invariant="+W,Te=1;Te<arguments.length;Te++)ue+="&args[]="+encodeURIComponent(arguments[Te]);return"Minified React error #"+W+"; visit "+ue+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=!1;function n(W,ue){return r&&(r=!1,ue[0]!=="<"&&W.push("<!-- -->")),ue==="<!-- -->"?r=!0:W.push(ue)}var i=Object.prototype.hasOwnProperty,a=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,o={},u={};function s(W){return i.call(u,W)?!0:i.call(o,W)?!1:a.test(W)?u[W]=!0:(o[W]=!0,!1)}function c(W,ue,Te,qe,ht,rt,Ot){this.acceptsBooleans=ue===2||ue===3||ue===4,this.attributeName=qe,this.attributeNamespace=ht,this.mustUseProperty=Te,this.propertyName=W,this.type=ue,this.sanitizeURL=rt,this.removeEmptyString=Ot}var d={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(W){d[W]=new c(W,0,!1,W,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(W){var ue=W[0];d[ue]=new c(ue,1,!1,W[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(W){d[W]=new c(W,2,!1,W.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(W){d[W]=new c(W,2,!1,W,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(W){d[W]=new c(W,3,!1,W.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(W){d[W]=new c(W,3,!0,W,null,!1,!1)}),["capture","download"].forEach(function(W){d[W]=new c(W,4,!1,W,null,!1,!1)}),["cols","rows","size","span"].forEach(function(W){d[W]=new c(W,6,!1,W,null,!1,!1)}),["rowSpan","start"].forEach(function(W){d[W]=new c(W,5,!1,W.toLowerCase(),null,!1,!1)});var h=/[\-:]([a-z])/g;function v(W){return W[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(W){var ue=W.replace(h,v);d[ue]=new c(ue,1,!1,W,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(W){var ue=W.replace(h,v);d[ue]=new c(ue,1,!1,W,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(W){var ue=W.replace(h,v);d[ue]=new c(ue,1,!1,W,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(W){d[W]=new c(W,1,!1,W.toLowerCase(),null,!1,!1)}),d.xlinkHref=new c("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(W){d[W]=new c(W,1,!1,W.toLowerCase(),null,!0,!0)});var g={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},m=["Webkit","ms","Moz","O"];Object.keys(g).forEach(function(W){m.forEach(function(ue){ue=ue+W.charAt(0).toUpperCase()+W.substring(1),g[ue]=g[W]})});var y=/["'&<>]/;function S(W){if(typeof W=="boolean"||typeof W=="number")return""+W;W=""+W;var ue=y.exec(W);if(ue){var Te="",qe,ht=0;for(qe=ue.index;qe<W.length;qe++){switch(W.charCodeAt(qe)){case 34:ue="&quot;";break;case 38:ue="&amp;";break;case 39:ue="&#x27;";break;case 60:ue="&lt;";break;case 62:ue="&gt;";break;default:continue}ht!==qe&&(Te+=W.substring(ht,qe)),ht=qe+1,Te+=ue}W=ht!==qe?Te+W.substring(ht,qe):Te}return W}var w=/([A-Z])/g,b=/^ms-/,A=Array.isArray;function R(W,ue){return{insertionMode:W,selectedValue:ue}}function x(W,ue,Te){switch(ue){case"select":return R(1,Te.value!=null?Te.value:Te.defaultValue);case"svg":return R(2,null);case"math":return R(3,null);case"foreignObject":return R(1,null);case"table":return R(4,null);case"thead":case"tbody":case"tfoot":return R(5,null);case"colgroup":return R(7,null);case"tr":return R(6,null)}return 4<=W.insertionMode||W.insertionMode===0?R(1,null):W}function O(W,ue){ue!==""&&W.push(S(ue),"<!-- -->")}var _=new Map;function P(W,ue,Te){if(typeof Te!="object")throw Error(t(62));ue=!0;for(var qe in Te)if(i.call(Te,qe)){var ht=Te[qe];if(ht!=null&&typeof ht!="boolean"&&ht!==""){if(qe.indexOf("--")===0){var rt=S(qe);ht=S((""+ht).trim())}else{rt=qe;var Ot=_.get(rt);Ot!==void 0||(Ot=S(rt.replace(w,"-$1").toLowerCase().replace(b,"-ms-")),_.set(rt,Ot)),rt=Ot,ht=typeof ht=="number"?ht===0||i.call(g,qe)?""+ht:ht+"px":S((""+ht).trim())}ue?(ue=!1,W.push(' style="',rt,":",ht)):W.push(";",rt,":",ht)}}ue||W.push('"')}function N(W,ue,Te,qe){switch(Te){case"style":P(W,ue,qe);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<Te.length)||Te[0]!=="o"&&Te[0]!=="O"||Te[1]!=="n"&&Te[1]!=="N"){if(ue=d.hasOwnProperty(Te)?d[Te]:null,ue!==null){switch(typeof qe){case"function":case"symbol":return;case"boolean":if(!ue.acceptsBooleans)return}switch(Te=ue.attributeName,ue.type){case 3:qe&&W.push(" ",Te,'=""');break;case 4:qe===!0?W.push(" ",Te,'=""'):qe!==!1&&W.push(" ",Te,'="',S(qe),'"');break;case 5:isNaN(qe)||W.push(" ",Te,'="',S(qe),'"');break;case 6:!isNaN(qe)&&1<=qe&&W.push(" ",Te,'="',S(qe),'"');break;default:ue.sanitizeURL&&(qe=""+qe),W.push(" ",Te,'="',S(qe),'"')}}else if(s(Te)){switch(typeof qe){case"function":case"symbol":return;case"boolean":if(ue=Te.toLowerCase().slice(0,5),ue!=="data-"&&ue!=="aria-")return}W.push(" ",Te,'="',S(qe),'"')}}}function U(W,ue,Te){if(ue!=null){if(Te!=null)throw Error(t(60));if(typeof ue!="object"||!("__html"in ue))throw Error(t(61));ue=ue.__html,ue!=null&&W.push(""+ue)}}function $(W){var ue="";return e.Children.forEach(W,function(Te){Te!=null&&(ue+=Te)}),ue}function B(W,ue,Te,qe){W.push(K(Te));var ht=Te=null,rt;for(rt in ue)if(i.call(ue,rt)){var Ot=ue[rt];if(Ot!=null)switch(rt){case"children":Te=Ot;break;case"dangerouslySetInnerHTML":ht=Ot;break;default:N(W,qe,rt,Ot)}}return W.push(">"),U(W,ht,Te),typeof Te=="string"?(W.push(S(Te)),null):Te}var Y=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Q=new Map;function K(W){var ue=Q.get(W);if(ue===void 0){if(!Y.test(W))throw Error(t(65,W));ue="<"+W,Q.set(W,ue)}return ue}function ee(W,ue,Te,qe,ht){switch(ue){case"select":W.push(K("select"));var rt=null,Ot=null;for(Ar in Te)if(i.call(Te,Ar)){var Wt=Te[Ar];if(Wt!=null)switch(Ar){case"children":rt=Wt;break;case"dangerouslySetInnerHTML":Ot=Wt;break;case"defaultValue":case"value":break;default:N(W,qe,Ar,Wt)}}return W.push(">"),U(W,Ot,rt),rt;case"option":Ot=ht.selectedValue,W.push(K("option"));var Jt=Wt=null,wr=null,Ar=null;for(rt in Te)if(i.call(Te,rt)&&(ue=Te[rt],ue!=null))switch(rt){case"children":Wt=ue;break;case"selected":wr=ue;break;case"dangerouslySetInnerHTML":Ar=ue;break;case"value":Jt=ue;default:N(W,qe,rt,ue)}if(Ot!=null)if(Te=Jt!==null?""+Jt:$(Wt),A(Ot)){for(qe=0;qe<Ot.length;qe++)if(""+Ot[qe]===Te){W.push(' selected=""');break}}else""+Ot===Te&&W.push(' selected=""');else wr&&W.push(' selected=""');return W.push(">"),U(W,Ar,Wt),Wt;case"textarea":W.push(K("textarea")),Ar=Ot=rt=null;for(Wt in Te)if(i.call(Te,Wt)&&(Jt=Te[Wt],Jt!=null))switch(Wt){case"children":Ar=Jt;break;case"value":rt=Jt;break;case"defaultValue":Ot=Jt;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:N(W,qe,Wt,Jt)}if(rt===null&&Ot!==null&&(rt=Ot),W.push(">"),Ar!=null){if(rt!=null)throw Error(t(92));if(A(Ar)&&1<Ar.length)throw Error(t(93));rt=""+Ar}return typeof rt=="string"&&rt[0]===`
146
- `&&W.push(`
147
- `),rt!==null&&W.push(S(""+rt)),null;case"input":W.push(K("input")),Jt=Ar=Wt=rt=null;for(Ot in Te)if(i.call(Te,Ot)&&(wr=Te[Ot],wr!=null))switch(Ot){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":Jt=wr;break;case"defaultValue":Wt=wr;break;case"checked":Ar=wr;break;case"value":rt=wr;break;default:N(W,qe,Ot,wr)}return Ar!==null?N(W,qe,"checked",Ar):Jt!==null&&N(W,qe,"checked",Jt),rt!==null?N(W,qe,"value",rt):Wt!==null&&N(W,qe,"value",Wt),W.push("/>"),null;case"menuitem":W.push(K("menuitem"));for(var qn in Te)if(i.call(Te,qn)&&(rt=Te[qn],rt!=null))switch(qn){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:N(W,qe,qn,rt)}return W.push(">"),null;case"listing":case"pre":W.push(K(ue)),Ot=rt=null;for(Jt in Te)if(i.call(Te,Jt)&&(Wt=Te[Jt],Wt!=null))switch(Jt){case"children":rt=Wt;break;case"dangerouslySetInnerHTML":Ot=Wt;break;default:N(W,qe,Jt,Wt)}if(W.push(">"),Ot!=null){if(rt!=null)throw Error(t(60));if(typeof Ot!="object"||!("__html"in Ot))throw Error(t(61));Te=Ot.__html,Te!=null&&(typeof Te=="string"&&0<Te.length&&Te[0]===`
148
- `?W.push(`
149
- `,Te):W.push(""+Te))}return typeof rt=="string"&&rt[0]===`
150
- `&&W.push(`
151
- `),rt;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":W.push(K(ue));for(var ki in Te)if(i.call(Te,ki)&&(rt=Te[ki],rt!=null))switch(ki){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,ue));default:N(W,qe,ki,rt)}return W.push("/>"),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return B(W,Te,ue,qe);case"html":return ht.insertionMode===0&&W.push("<!DOCTYPE html>"),B(W,Te,ue,qe);default:if(ue.indexOf("-")===-1&&typeof Te.is!="string")return B(W,Te,ue,qe);W.push(K(ue)),Ot=rt=null;for(wr in Te)if(i.call(Te,wr)&&(Wt=Te[wr],Wt!=null))switch(wr){case"children":rt=Wt;break;case"dangerouslySetInnerHTML":Ot=Wt;break;case"style":P(W,qe,Wt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:s(wr)&&typeof Wt!="function"&&typeof Wt!="symbol"&&W.push(" ",wr,'="',S(Wt),'"')}return W.push(">"),U(W,Ot,rt),rt}}function ne(W,ue,Te){if(n(W,'<!--$?--><template id="'),Te===null)throw Error(t(395));return n(W,Te),n(W,'"></template>')}function D(W,ue,Te,qe){switch(Te.insertionMode){case 0:case 1:return n(W,'<div hidden id="'),n(W,ue.segmentPrefix),ue=qe.toString(16),n(W,ue),n(W,'">');case 2:return n(W,'<svg aria-hidden="true" style="display:none" id="'),n(W,ue.segmentPrefix),ue=qe.toString(16),n(W,ue),n(W,'">');case 3:return n(W,'<math aria-hidden="true" style="display:none" id="'),n(W,ue.segmentPrefix),ue=qe.toString(16),n(W,ue),n(W,'">');case 4:return n(W,'<table hidden id="'),n(W,ue.segmentPrefix),ue=qe.toString(16),n(W,ue),n(W,'">');case 5:return n(W,'<table hidden><tbody id="'),n(W,ue.segmentPrefix),ue=qe.toString(16),n(W,ue),n(W,'">');case 6:return n(W,'<table hidden><tr id="'),n(W,ue.segmentPrefix),ue=qe.toString(16),n(W,ue),n(W,'">');case 7:return n(W,'<table hidden><colgroup id="'),n(W,ue.segmentPrefix),ue=qe.toString(16),n(W,ue),n(W,'">');default:throw Error(t(397))}}function I(W,ue){switch(ue.insertionMode){case 0:case 1:return n(W,"</div>");case 2:return n(W,"</svg>");case 3:return n(W,"</math>");case 4:return n(W,"</table>");case 5:return n(W,"</tbody></table>");case 6:return n(W,"</tr></table>");case 7:return n(W,"</colgroup></table>");default:throw Error(t(397))}}function L(W,ue){return ue=ue===void 0?"":ue,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:ue+"P:",segmentPrefix:ue+"S:",boundaryPrefix:ue+"B:",idPrefix:ue,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:W}}var re=Object.assign,te=Symbol.for("react.element"),ce=Symbol.for("react.portal"),be=Symbol.for("react.fragment"),Ie=Symbol.for("react.strict_mode"),je=Symbol.for("react.profiler"),z=Symbol.for("react.provider"),k=Symbol.for("react.context"),q=Symbol.for("react.forward_ref"),H=Symbol.for("react.suspense"),ie=Symbol.for("react.suspense_list"),V=Symbol.for("react.memo"),Z=Symbol.for("react.lazy"),me=Symbol.for("react.scope"),fe=Symbol.for("react.debug_trace_mode"),Re=Symbol.for("react.legacy_hidden"),Se=Symbol.for("react.default_value"),Oe=Symbol.iterator;function Me(W){if(W==null)return null;if(typeof W=="function")return W.displayName||W.name||null;if(typeof W=="string")return W;switch(W){case be:return"Fragment";case ce:return"Portal";case je:return"Profiler";case Ie:return"StrictMode";case H:return"Suspense";case ie:return"SuspenseList"}if(typeof W=="object")switch(W.$$typeof){case k:return(W.displayName||"Context")+".Consumer";case z:return(W._context.displayName||"Context")+".Provider";case q:var ue=W.render;return W=W.displayName,W||(W=ue.displayName||ue.name||"",W=W!==""?"ForwardRef("+W+")":"ForwardRef"),W;case V:return ue=W.displayName||null,ue!==null?ue:Me(W.type)||"Memo";case Z:ue=W._payload,W=W._init;try{return Me(W(ue))}catch{}}return null}var de={};function Ee(W,ue){if(W=W.contextTypes,!W)return de;var Te={},qe;for(qe in W)Te[qe]=ue[qe];return Te}var _e=null;function xe(W,ue){if(W!==ue){W.context._currentValue2=W.parentValue,W=W.parent;var Te=ue.parent;if(W===null){if(Te!==null)throw Error(t(401))}else{if(Te===null)throw Error(t(401));xe(W,Te)}ue.context._currentValue2=ue.value}}function ke(W){W.context._currentValue2=W.parentValue,W=W.parent,W!==null&&ke(W)}function Le(W){var ue=W.parent;ue!==null&&Le(ue),W.context._currentValue2=W.value}function He(W,ue){if(W.context._currentValue2=W.parentValue,W=W.parent,W===null)throw Error(t(402));W.depth===ue.depth?xe(W,ue):He(W,ue)}function _t(W,ue){var Te=ue.parent;if(Te===null)throw Error(t(402));W.depth===Te.depth?xe(W,Te):_t(W,Te),ue.context._currentValue2=ue.value}function jt(W){var ue=_e;ue!==W&&(ue===null?Le(W):W===null?ke(ue):ue.depth===W.depth?xe(ue,W):ue.depth>W.depth?He(ue,W):_t(ue,W),_e=W)}var Lt={isMounted:function(){return!1},enqueueSetState:function(W,ue){W=W._reactInternals,W.queue!==null&&W.queue.push(ue)},enqueueReplaceState:function(W,ue){W=W._reactInternals,W.replace=!0,W.queue=[ue]},enqueueForceUpdate:function(){}};function Qe(W,ue,Te,qe){var ht=W.state!==void 0?W.state:null;W.updater=Lt,W.props=Te,W.state=ht;var rt={queue:[],replace:!1};W._reactInternals=rt;var Ot=ue.contextType;if(W.context=typeof Ot=="object"&&Ot!==null?Ot._currentValue2:qe,Ot=ue.getDerivedStateFromProps,typeof Ot=="function"&&(Ot=Ot(Te,ht),ht=Ot==null?ht:re({},ht,Ot),W.state=ht),typeof ue.getDerivedStateFromProps!="function"&&typeof W.getSnapshotBeforeUpdate!="function"&&(typeof W.UNSAFE_componentWillMount=="function"||typeof W.componentWillMount=="function"))if(ue=W.state,typeof W.componentWillMount=="function"&&W.componentWillMount(),typeof W.UNSAFE_componentWillMount=="function"&&W.UNSAFE_componentWillMount(),ue!==W.state&&Lt.enqueueReplaceState(W,W.state,null),rt.queue!==null&&0<rt.queue.length)if(ue=rt.queue,Ot=rt.replace,rt.queue=null,rt.replace=!1,Ot&&ue.length===1)W.state=ue[0];else{for(rt=Ot?ue[0]:W.state,ht=!0,Ot=Ot?1:0;Ot<ue.length;Ot++){var Wt=ue[Ot];Wt=typeof Wt=="function"?Wt.call(W,rt,Te,qe):Wt,Wt!=null&&(ht?(ht=!1,rt=re({},rt,Wt)):re(rt,Wt))}W.state=rt}else rt.queue=null}var bt={id:1,overflow:""};function mt(W,ue,Te){var qe=W.id;W=W.overflow;var ht=32-St(qe)-1;qe&=~(1<<ht),Te+=1;var rt=32-St(ue)+ht;if(30<rt){var Ot=ht-ht%5;return rt=(qe&(1<<Ot)-1).toString(32),qe>>=Ot,ht-=Ot,{id:1<<32-St(ue)+ht|Te<<ht|qe,overflow:rt+W}}return{id:1<<rt|Te<<ht|qe,overflow:W}}var St=Math.clz32?Math.clz32:$t,yt=Math.log,at=Math.LN2;function $t(W){return W>>>=0,W===0?32:31-(yt(W)/at|0)|0}function xt(W,ue){return W===ue&&(W!==0||1/W===1/ue)||W!==W&&ue!==ue}var Ce=typeof Object.is=="function"?Object.is:xt,Ze=null,ut=null,Tt=null,Pt=null,rr=!1,_r=!1,sr=0,mr=null,Pr=0;function ln(){if(Ze===null)throw Error(t(321));return Ze}function di(){if(0<Pr)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function Nn(){return Pt===null?Tt===null?(rr=!1,Tt=Pt=di()):(rr=!0,Pt=Tt):Pt.next===null?(rr=!1,Pt=Pt.next=di()):(rr=!0,Pt=Pt.next),Pt}function Rn(){ut=Ze=null,_r=!1,Tt=null,Pr=0,Pt=mr=null}function En(W,ue){return typeof ue=="function"?ue(W):ue}function Jn(W,ue,Te){if(Ze=ln(),Pt=Nn(),rr){var qe=Pt.queue;if(ue=qe.dispatch,mr!==null&&(Te=mr.get(qe),Te!==void 0)){mr.delete(qe),qe=Pt.memoizedState;do qe=W(qe,Te.action),Te=Te.next;while(Te!==null);return Pt.memoizedState=qe,[qe,ue]}return[Pt.memoizedState,ue]}return W=W===En?typeof ue=="function"?ue():ue:Te!==void 0?Te(ue):ue,Pt.memoizedState=W,W=Pt.queue={last:null,dispatch:null},W=W.dispatch=Ci.bind(null,Ze,W),[Pt.memoizedState,W]}function Zn(W,ue){if(Ze=ln(),Pt=Nn(),ue=ue===void 0?null:ue,Pt!==null){var Te=Pt.memoizedState;if(Te!==null&&ue!==null){var qe=Te[1];e:if(qe===null)qe=!1;else{for(var ht=0;ht<qe.length&&ht<ue.length;ht++)if(!Ce(ue[ht],qe[ht])){qe=!1;break e}qe=!0}if(qe)return Te[0]}}return W=W(),Pt.memoizedState=[W,ue],W}function Ci(W,ue,Te){if(25<=Pr)throw Error(t(301));if(W===Ze)if(_r=!0,W={action:Te,next:null},mr===null&&(mr=new Map),Te=mr.get(ue),Te===void 0)mr.set(ue,W);else{for(ue=Te;ue.next!==null;)ue=ue.next;ue.next=W}}function _i(){throw Error(t(394))}function Vi(){}var Yi={readContext:function(W){return W._currentValue2},useContext:function(W){return ln(),W._currentValue2},useMemo:Zn,useReducer:Jn,useRef:function(W){Ze=ln(),Pt=Nn();var ue=Pt.memoizedState;return ue===null?(W={current:W},Pt.memoizedState=W):ue},useState:function(W){return Jn(En,W)},useInsertionEffect:Vi,useLayoutEffect:function(){},useCallback:function(W,ue){return Zn(function(){return W},ue)},useImperativeHandle:Vi,useEffect:Vi,useDebugValue:Vi,useDeferredValue:function(W){return ln(),W},useTransition:function(){return ln(),[!1,_i]},useId:function(){var W=ut.treeContext,ue=W.overflow;W=W.id,W=(W&~(1<<32-St(W)-1)).toString(32)+ue;var Te=Ln;if(Te===null)throw Error(t(404));return ue=sr++,W=":"+Te.idPrefix+"R"+W,0<ue&&(W+="H"+ue.toString(32)),W+":"},useMutableSource:function(W,ue){return ln(),ue(W._source)},useSyncExternalStore:function(W,ue,Te){if(Te===void 0)throw Error(t(407));return Te()}},Ln=null,oi=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Di(W){console.error(W)}function Ai(){}function it(W,ue,Te,qe,ht,rt,Ot,Wt,Jt){var wr=[],Ar=new Set;return ue={destination:null,responseState:ue,progressiveChunkSize:qe===void 0?12800:qe,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Ar,pingedTasks:wr,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:ht===void 0?Di:ht,onAllReady:Ai,onShellReady:Ot===void 0?Ai:Ot,onShellError:Ai,onFatalError:Ai},Te=pt(ue,0,null,Te),Te.parentFlushed=!0,W=Ft(ue,W,null,Te,Ar,de,null,bt),wr.push(W),ue}function Ft(W,ue,Te,qe,ht,rt,Ot,Wt){W.allPendingTasks++,Te===null?W.pendingRootTasks++:Te.pendingTasks++;var Jt={node:ue,ping:function(){var wr=W.pingedTasks;wr.push(Jt),wr.length===1&&pn(W)},blockedBoundary:Te,blockedSegment:qe,abortSet:ht,legacyContext:rt,context:Ot,treeContext:Wt};return ht.add(Jt),Jt}function pt(W,ue,Te,qe){return{status:0,id:-1,index:ue,parentFlushed:!1,chunks:[],children:[],formatContext:qe,boundary:Te}}function Ke(W,ue){W=W.onError,W(ue)}function At(W,ue){var Te=W.onShellError;Te(ue),Te=W.onFatalError,Te(ue),W.destination!==null?(W.status=2,W.destination.destroy(ue)):(W.status=1,W.fatalError=ue)}function pr(W,ue,Te,qe,ht){for(Ze={},ut=ue,sr=0,W=Te(qe,ht);_r;)_r=!1,sr=0,Pr+=1,Pt=null,W=Te(qe,ht);return Rn(),W}function we(W,ue,Te,qe){var ht=Te.render(),rt=qe.childContextTypes;if(rt!=null){var Ot=ue.legacyContext;if(typeof Te.getChildContext!="function")qe=Ot;else{Te=Te.getChildContext();for(var Wt in Te)if(!(Wt in rt))throw Error(t(108,Me(qe)||"Unknown",Wt));qe=re({},Ot,Te)}ue.legacyContext=qe,ft(W,ue,ht),ue.legacyContext=Ot}else ft(W,ue,ht)}function ct(W,ue){if(W&&W.defaultProps){ue=re({},ue),W=W.defaultProps;for(var Te in W)ue[Te]===void 0&&(ue[Te]=W[Te]);return ue}return ue}function nt(W,ue,Te,qe,ht){if(typeof Te=="function")if(Te.prototype&&Te.prototype.isReactComponent){ht=Ee(Te,ue.legacyContext);var rt=Te.contextType;rt=new Te(qe,typeof rt=="object"&&rt!==null?rt._currentValue2:ht),Qe(rt,Te,qe,ht),we(W,ue,rt,Te)}else{rt=Ee(Te,ue.legacyContext),ht=pr(W,ue,Te,qe,rt);var Ot=sr!==0;if(typeof ht=="object"&&ht!==null&&typeof ht.render=="function"&&ht.$$typeof===void 0)Qe(ht,Te,qe,rt),we(W,ue,ht,Te);else if(Ot){qe=ue.treeContext,ue.treeContext=mt(qe,1,0);try{ft(W,ue,ht)}finally{ue.treeContext=qe}}else ft(W,ue,ht)}else if(typeof Te=="string")switch(ht=ue.blockedSegment,rt=ee(ht.chunks,Te,qe,W.responseState,ht.formatContext),Ot=ht.formatContext,ht.formatContext=x(Ot,Te,qe),dt(W,ue,rt),ht.formatContext=Ot,Te){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:ht.chunks.push("</",Te,">")}else{switch(Te){case Re:case fe:case Ie:case je:case be:ft(W,ue,qe.children);return;case ie:ft(W,ue,qe.children);return;case me:throw Error(t(343));case H:e:{Te=ue.blockedBoundary,ht=ue.blockedSegment,rt=qe.fallback,qe=qe.children,Ot=new Set;var Wt={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Ot},Jt=pt(W,ht.chunks.length,Wt,ht.formatContext);ht.children.push(Jt);var wr=pt(W,0,null,ht.formatContext);wr.parentFlushed=!0,ue.blockedBoundary=Wt,ue.blockedSegment=wr;try{if(dt(W,ue,qe),wr.status=1,Zr(Wt,wr),Wt.pendingTasks===0)break e}catch(Ar){wr.status=4,Ke(W,Ar),Wt.forceClientRender=!0}finally{ue.blockedBoundary=Te,ue.blockedSegment=ht}ue=Ft(W,rt,Te,Jt,Ot,ue.legacyContext,ue.context,ue.treeContext),W.pingedTasks.push(ue)}return}if(typeof Te=="object"&&Te!==null)switch(Te.$$typeof){case q:if(qe=pr(W,ue,Te.render,qe,ht),sr!==0){Te=ue.treeContext,ue.treeContext=mt(Te,1,0);try{ft(W,ue,qe)}finally{ue.treeContext=Te}}else ft(W,ue,qe);return;case V:Te=Te.type,qe=ct(Te,qe),nt(W,ue,Te,qe,ht);return;case z:if(ht=qe.children,Te=Te._context,qe=qe.value,rt=Te._currentValue2,Te._currentValue2=qe,Ot=_e,_e=qe={parent:Ot,depth:Ot===null?0:Ot.depth+1,context:Te,parentValue:rt,value:qe},ue.context=qe,ft(W,ue,ht),W=_e,W===null)throw Error(t(403));qe=W.parentValue,W.context._currentValue2=qe===Se?W.context._defaultValue:qe,W=_e=W.parent,ue.context=W;return;case k:qe=qe.children,qe=qe(Te._currentValue2),ft(W,ue,qe);return;case Z:ht=Te._init,Te=ht(Te._payload),qe=ct(Te,qe),nt(W,ue,Te,qe,void 0);return}throw Error(t(130,Te==null?Te:typeof Te,""))}}function ft(W,ue,Te){if(ue.node=Te,typeof Te=="object"&&Te!==null){switch(Te.$$typeof){case te:nt(W,ue,Te.type,Te.props,Te.ref);return;case ce:throw Error(t(257));case Z:var qe=Te._init;Te=qe(Te._payload),ft(W,ue,Te);return}if(A(Te)){kt(W,ue,Te);return}if(Te===null||typeof Te!="object"?qe=null:(qe=Oe&&Te[Oe]||Te["@@iterator"],qe=typeof qe=="function"?qe:null),qe&&(qe=qe.call(Te))){if(Te=qe.next(),!Te.done){var ht=[];do ht.push(Te.value),Te=qe.next();while(!Te.done);kt(W,ue,ht)}return}throw W=Object.prototype.toString.call(Te),Error(t(31,W==="[object Object]"?"object with keys {"+Object.keys(Te).join(", ")+"}":W))}typeof Te=="string"?(ue=ue.blockedSegment.chunks,W.responseState.generateStaticMarkup?ue.push(S(Te)):O(ue,Te)):typeof Te=="number"&&(ue=ue.blockedSegment.chunks,Te=""+Te,W.responseState.generateStaticMarkup?ue.push(S(Te)):O(ue,Te))}function kt(W,ue,Te){for(var qe=Te.length,ht=0;ht<qe;ht++){var rt=ue.treeContext;ue.treeContext=mt(rt,qe,ht);try{dt(W,ue,Te[ht])}finally{ue.treeContext=rt}}}function dt(W,ue,Te){var qe=ue.blockedSegment.formatContext,ht=ue.legacyContext,rt=ue.context;try{return ft(W,ue,Te)}catch(Jt){if(Rn(),typeof Jt=="object"&&Jt!==null&&typeof Jt.then=="function"){Te=Jt;var Ot=ue.blockedSegment,Wt=pt(W,Ot.chunks.length,null,Ot.formatContext);Ot.children.push(Wt),W=Ft(W,ue.node,ue.blockedBoundary,Wt,ue.abortSet,ue.legacyContext,ue.context,ue.treeContext).ping,Te.then(W,W),ue.blockedSegment.formatContext=qe,ue.legacyContext=ht,ue.context=rt,jt(rt)}else throw ue.blockedSegment.formatContext=qe,ue.legacyContext=ht,ue.context=rt,jt(rt),Jt}}function Yt(W){var ue=W.blockedBoundary;W=W.blockedSegment,W.status=3,en(this,ue,W)}function Dr(W){var ue=W.blockedBoundary;W.blockedSegment.status=3,ue===null?(this.allPendingTasks--,this.status!==2&&(this.status=2,this.destination!==null&&this.destination.push(null))):(ue.pendingTasks--,ue.forceClientRender||(ue.forceClientRender=!0,ue.parentFlushed&&this.clientRenderedBoundaries.push(ue)),ue.fallbackAbortableTasks.forEach(Dr,this),ue.fallbackAbortableTasks.clear(),this.allPendingTasks--,this.allPendingTasks===0&&(W=this.onAllReady,W()))}function Zr(W,ue){if(ue.chunks.length===0&&ue.children.length===1&&ue.children[0].boundary===null){var Te=ue.children[0];Te.id=ue.id,Te.parentFlushed=!0,Te.status===1&&Zr(W,Te)}else W.completedSegments.push(ue)}function en(W,ue,Te){if(ue===null){if(Te.parentFlushed){if(W.completedRootSegment!==null)throw Error(t(389));W.completedRootSegment=Te}W.pendingRootTasks--,W.pendingRootTasks===0&&(W.onShellError=Ai,ue=W.onShellReady,ue())}else ue.pendingTasks--,ue.forceClientRender||(ue.pendingTasks===0?(Te.parentFlushed&&Te.status===1&&Zr(ue,Te),ue.parentFlushed&&W.completedBoundaries.push(ue),ue.fallbackAbortableTasks.forEach(Yt,W),ue.fallbackAbortableTasks.clear()):Te.parentFlushed&&Te.status===1&&(Zr(ue,Te),ue.completedSegments.length===1&&ue.parentFlushed&&W.partialBoundaries.push(ue)));W.allPendingTasks--,W.allPendingTasks===0&&(W=W.onAllReady,W())}function pn(W){if(W.status!==2){var ue=_e,Te=oi.current;oi.current=Yi;var qe=Ln;Ln=W.responseState;try{var ht=W.pingedTasks,rt;for(rt=0;rt<ht.length;rt++){var Ot=ht[rt],Wt=W,Jt=Ot.blockedSegment;if(Jt.status===0){jt(Ot.context);try{ft(Wt,Ot,Ot.node),Ot.abortSet.delete(Ot),Jt.status=1,en(Wt,Ot.blockedBoundary,Jt)}catch(Ni){if(Rn(),typeof Ni=="object"&&Ni!==null&&typeof Ni.then=="function"){var wr=Ot.ping;Ni.then(wr,wr)}else{Ot.abortSet.delete(Ot),Jt.status=4;var Ar=Ot.blockedBoundary,qn=Ni;if(Ke(Wt,qn),Ar===null?At(Wt,qn):(Ar.pendingTasks--,Ar.forceClientRender||(Ar.forceClientRender=!0,Ar.parentFlushed&&Wt.clientRenderedBoundaries.push(Ar))),Wt.allPendingTasks--,Wt.allPendingTasks===0){var ki=Wt.onAllReady;ki()}}}finally{}}}ht.splice(0,rt),W.destination!==null&&Bi(W,W.destination)}catch(Ni){Ke(W,Ni),At(W,Ni)}finally{Ln=qe,oi.current=Te,Te===Yi&&jt(ue)}}}function Mt(W,ue,Te){switch(Te.parentFlushed=!0,Te.status){case 0:var qe=Te.id=W.nextSegmentId++;return W=W.responseState,n(ue,'<template id="'),n(ue,W.placeholderPrefix),W=qe.toString(16),n(ue,W),n(ue,'"></template>');case 1:Te.status=2;var ht=!0;qe=Te.chunks;var rt=0;Te=Te.children;for(var Ot=0;Ot<Te.length;Ot++){for(ht=Te[Ot];rt<ht.index;rt++)n(ue,qe[rt]);ht=Kr(W,ue,ht)}for(;rt<qe.length-1;rt++)n(ue,qe[rt]);return rt<qe.length&&(ht=n(ue,qe[rt])),ht;default:throw Error(t(390))}}function Kr(W,ue,Te){var qe=Te.boundary;if(qe===null)return Mt(W,ue,Te);if(qe.parentFlushed=!0,qe.forceClientRender)return W.responseState.generateStaticMarkup||n(ue,"<!--$!-->"),Mt(W,ue,Te),W=W.responseState.generateStaticMarkup?!0:n(ue,"<!--/$-->"),W;if(0<qe.pendingTasks){qe.rootSegmentID=W.nextSegmentId++,0<qe.completedSegments.length&&W.partialBoundaries.push(qe);var ht=W.responseState,rt=ht.nextSuspenseID++;return ht=ht.boundaryPrefix+rt.toString(16),qe=qe.id=ht,ne(ue,W.responseState,qe),Mt(W,ue,Te),n(ue,"<!--/$-->")}if(qe.byteSize>W.progressiveChunkSize)return qe.rootSegmentID=W.nextSegmentId++,W.completedBoundaries.push(qe),ne(ue,W.responseState,qe.id),Mt(W,ue,Te),n(ue,"<!--/$-->");if(W.responseState.generateStaticMarkup||n(ue,"<!--$-->"),Te=qe.completedSegments,Te.length!==1)throw Error(t(391));return Kr(W,ue,Te[0]),W=W.responseState.generateStaticMarkup?!0:n(ue,"<!--/$-->"),W}function Ki(W,ue,Te){return D(ue,W.responseState,Te.formatContext,Te.id),Kr(W,ue,Te),I(ue,Te.formatContext)}function si(W,ue,Te){for(var qe=Te.completedSegments,ht=0;ht<qe.length;ht++)va(W,ue,Te,qe[ht]);if(qe.length=0,W=W.responseState,qe=Te.id,Te=Te.rootSegmentID,n(ue,W.startInlineScript),W.sentCompleteBoundaryFunction?n(ue,'$RC("'):(W.sentCompleteBoundaryFunction=!0,n(ue,'function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),qe===null)throw Error(t(395));return Te=Te.toString(16),n(ue,qe),n(ue,'","'),n(ue,W.segmentPrefix),n(ue,Te),n(ue,'")<\/script>')}function va(W,ue,Te,qe){if(qe.status===2)return!0;var ht=qe.id;if(ht===-1){if((qe.id=Te.rootSegmentID)===-1)throw Error(t(392));return Ki(W,ue,qe)}return Ki(W,ue,qe),W=W.responseState,n(ue,W.startInlineScript),W.sentCompleteSegmentFunction?n(ue,'$RS("'):(W.sentCompleteSegmentFunction=!0,n(ue,'function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),n(ue,W.segmentPrefix),ht=ht.toString(16),n(ue,ht),n(ue,'","'),n(ue,W.placeholderPrefix),n(ue,ht),n(ue,'")<\/script>')}function Bi(W,ue){try{var Te=W.completedRootSegment;if(Te!==null&&W.pendingRootTasks===0){Kr(W,ue,Te),W.completedRootSegment=null;var qe=W.responseState.bootstrapChunks;for(Te=0;Te<qe.length-1;Te++)n(ue,qe[Te]);Te<qe.length&&n(ue,qe[Te])}var ht=W.clientRenderedBoundaries,rt;for(rt=0;rt<ht.length;rt++){qe=ue;var Ot=W.responseState,Wt=ht[rt].id;if(n(qe,Ot.startInlineScript),Ot.sentClientRenderFunction?n(qe,'$RX("'):(Ot.sentClientRenderFunction=!0,n(qe,'function $RX(a){if(a=document.getElementById(a))a=a.previousSibling,a.data="$!",a._reactRetry&&a._reactRetry()};$RX("')),Wt===null)throw Error(t(395));if(n(qe,Wt),!n(qe,'")<\/script>')){W.destination=null,rt++,ht.splice(0,rt);return}}ht.splice(0,rt);var Jt=W.completedBoundaries;for(rt=0;rt<Jt.length;rt++)if(!si(W,ue,Jt[rt])){W.destination=null,rt++,Jt.splice(0,rt);return}Jt.splice(0,rt);var wr=W.partialBoundaries;for(rt=0;rt<wr.length;rt++){var Ar=wr[rt];e:{ht=W,Ot=ue;var qn=Ar.completedSegments;for(Wt=0;Wt<qn.length;Wt++)if(!va(ht,Ot,Ar,qn[Wt])){Wt++,qn.splice(0,Wt);var ki=!1;break e}qn.splice(0,Wt),ki=!0}if(!ki){W.destination=null,rt++,wr.splice(0,rt);return}}wr.splice(0,rt);var Ni=W.completedBoundaries;for(rt=0;rt<Ni.length;rt++)if(!si(W,ue,Ni[rt])){W.destination=null,rt++,Ni.splice(0,rt);return}Ni.splice(0,rt)}finally{W.allPendingTasks===0&&W.pingedTasks.length===0&&W.clientRenderedBoundaries.length===0&&W.completedBoundaries.length===0&&ue.push(null)}}function xa(W){try{var ue=W.abortableTasks;ue.forEach(Dr,W),ue.clear(),W.destination!==null&&Bi(W,W.destination)}catch(Te){Ke(W,Te),At(W,Te)}}function no(){}function qa(W,ue,Te){var qe=!1,ht=null,rt="",Ot={push:function(Jt){return Jt!==null&&(rt+=Jt),!0},destroy:function(Jt){qe=!0,ht=Jt}},Wt=!1;if(W=it(W,L(Te,ue?ue.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,no,void 0,function(){Wt=!0}),pn(W),xa(W),W.status===1)W.status=2,Ot.destroy(W.fatalError);else if(W.status!==2&&W.destination===null){W.destination=Ot;try{Bi(W,Ot)}catch(Jt){Ke(W,Jt),At(W,Jt)}}if(qe)throw ht;if(!Wt)throw Error(t(426));return rt}return Lc.renderToNodeStream=function(){throw Error(t(207))},Lc.renderToStaticMarkup=function(W,ue){return qa(W,ue,!0)},Lc.renderToStaticNodeStream=function(){throw Error(t(208))},Lc.renderToString=function(W,ue){return qa(W,ue,!1)},Lc.version="18.1.0",Lc}var hm={};/**
152
- * @license React
153
- * react-dom-server.browser.production.min.js
154
- *
155
- * Copyright (c) Facebook, Inc. and its affiliates.
156
- *
157
- * This source code is licensed under the MIT license found in the
158
- * LICENSE file in the root directory of this source tree.
159
- */var eJ;function uPe(){if(eJ)return hm;eJ=1;var e=zo();function t(G){for(var se="https://reactjs.org/docs/error-decoder.html?invariant="+G,ge=1;ge<arguments.length;ge++)se+="&args[]="+encodeURIComponent(arguments[ge]);return"Minified React error #"+G+"; visit "+se+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=null,n=0;function i(G,se){if(se.length!==0)if(512<se.length)0<n&&(G.enqueue(new Uint8Array(r.buffer,0,n)),r=new Uint8Array(512),n=0),G.enqueue(se);else{var ge=r.length-n;ge<se.length&&(ge===0?G.enqueue(r):(r.set(se.subarray(0,ge),n),G.enqueue(r),se=se.subarray(ge)),r=new Uint8Array(512),n=0),r.set(se,n),n+=se.length}}function a(G,se){return i(G,se),!0}function o(G){r&&0<n&&(G.enqueue(new Uint8Array(r.buffer,0,n)),r=null,n=0)}var u=new TextEncoder;function s(G){return u.encode(G)}function c(G){return u.encode(G)}function d(G,se){typeof G.error=="function"?G.error(se):G.close()}var h=Object.prototype.hasOwnProperty,v=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,g={},m={};function y(G){return h.call(m,G)?!0:h.call(g,G)?!1:v.test(G)?m[G]=!0:(g[G]=!0,!1)}function S(G,se,ge,$e,Je,et,It){this.acceptsBooleans=se===2||se===3||se===4,this.attributeName=$e,this.attributeNamespace=Je,this.mustUseProperty=ge,this.propertyName=G,this.type=se,this.sanitizeURL=et,this.removeEmptyString=It}var w={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(G){w[G]=new S(G,0,!1,G,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(G){var se=G[0];w[se]=new S(se,1,!1,G[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(G){w[G]=new S(G,2,!1,G.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(G){w[G]=new S(G,2,!1,G,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(G){w[G]=new S(G,3,!1,G.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(G){w[G]=new S(G,3,!0,G,null,!1,!1)}),["capture","download"].forEach(function(G){w[G]=new S(G,4,!1,G,null,!1,!1)}),["cols","rows","size","span"].forEach(function(G){w[G]=new S(G,6,!1,G,null,!1,!1)}),["rowSpan","start"].forEach(function(G){w[G]=new S(G,5,!1,G.toLowerCase(),null,!1,!1)});var b=/[\-:]([a-z])/g;function A(G){return G[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(G){var se=G.replace(b,A);w[se]=new S(se,1,!1,G,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(G){var se=G.replace(b,A);w[se]=new S(se,1,!1,G,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(G){var se=G.replace(b,A);w[se]=new S(se,1,!1,G,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(G){w[G]=new S(G,1,!1,G.toLowerCase(),null,!1,!1)}),w.xlinkHref=new S("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(G){w[G]=new S(G,1,!1,G.toLowerCase(),null,!0,!0)});var R={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},x=["Webkit","ms","Moz","O"];Object.keys(R).forEach(function(G){x.forEach(function(se){se=se+G.charAt(0).toUpperCase()+G.substring(1),R[se]=R[G]})});var O=/["'&<>]/;function _(G){if(typeof G=="boolean"||typeof G=="number")return""+G;G=""+G;var se=O.exec(G);if(se){var ge="",$e,Je=0;for($e=se.index;$e<G.length;$e++){switch(G.charCodeAt($e)){case 34:se="&quot;";break;case 38:se="&amp;";break;case 39:se="&#x27;";break;case 60:se="&lt;";break;case 62:se="&gt;";break;default:continue}Je!==$e&&(ge+=G.substring(Je,$e)),Je=$e+1,ge+=se}G=Je!==$e?ge+G.substring(Je,$e):ge}return G}var P=/([A-Z])/g,N=/^ms-/,U=Array.isArray,$=c("<script>"),B=c("<\/script>"),Y=c('<script src="'),Q=c('<script type="module" src="'),K=c('" async=""><\/script>'),ee=/(<\/|<)(s)(cript)/gi;function ne(G,se,ge,$e){return""+se+(ge==="s"?"\\u0073":"\\u0053")+$e}function D(G,se,ge,$e,Je){G=G===void 0?"":G,se=se===void 0?$:c('<script nonce="'+_(se)+'">');var et=[];if(ge!==void 0&&et.push(se,s((""+ge).replace(ee,ne)),B),$e!==void 0)for(ge=0;ge<$e.length;ge++)et.push(Y,s(_($e[ge])),K);if(Je!==void 0)for($e=0;$e<Je.length;$e++)et.push(Q,s(_(Je[$e])),K);return{bootstrapChunks:et,startInlineScript:se,placeholderPrefix:c(G+"P:"),segmentPrefix:c(G+"S:"),boundaryPrefix:G+"B:",idPrefix:G,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function I(G,se){return{insertionMode:G,selectedValue:se}}function L(G){return I(G==="http://www.w3.org/2000/svg"?2:G==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function re(G,se,ge){switch(se){case"select":return I(1,ge.value!=null?ge.value:ge.defaultValue);case"svg":return I(2,null);case"math":return I(3,null);case"foreignObject":return I(1,null);case"table":return I(4,null);case"thead":case"tbody":case"tfoot":return I(5,null);case"colgroup":return I(7,null);case"tr":return I(6,null)}return 4<=G.insertionMode||G.insertionMode===0?I(1,null):G}var te=c("<!-- -->"),ce=new Map,be=c(' style="'),Ie=c(":"),je=c(";");function z(G,se,ge){if(typeof ge!="object")throw Error(t(62));se=!0;for(var $e in ge)if(h.call(ge,$e)){var Je=ge[$e];if(Je!=null&&typeof Je!="boolean"&&Je!==""){if($e.indexOf("--")===0){var et=s(_($e));Je=s(_((""+Je).trim()))}else{et=$e;var It=ce.get(et);It!==void 0||(It=c(_(et.replace(P,"-$1").toLowerCase().replace(N,"-ms-"))),ce.set(et,It)),et=It,Je=typeof Je=="number"?Je===0||h.call(R,$e)?s(""+Je):s(Je+"px"):s(_((""+Je).trim()))}se?(se=!1,G.push(be,et,Ie,Je)):G.push(je,et,Ie,Je)}}se||G.push(H)}var k=c(" "),q=c('="'),H=c('"'),ie=c('=""');function V(G,se,ge,$e){switch(ge){case"style":z(G,se,$e);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<ge.length)||ge[0]!=="o"&&ge[0]!=="O"||ge[1]!=="n"&&ge[1]!=="N"){if(se=w.hasOwnProperty(ge)?w[ge]:null,se!==null){switch(typeof $e){case"function":case"symbol":return;case"boolean":if(!se.acceptsBooleans)return}switch(ge=s(se.attributeName),se.type){case 3:$e&&G.push(k,ge,ie);break;case 4:$e===!0?G.push(k,ge,ie):$e!==!1&&G.push(k,ge,q,s(_($e)),H);break;case 5:isNaN($e)||G.push(k,ge,q,s(_($e)),H);break;case 6:!isNaN($e)&&1<=$e&&G.push(k,ge,q,s(_($e)),H);break;default:se.sanitizeURL&&($e=""+$e),G.push(k,ge,q,s(_($e)),H)}}else if(y(ge)){switch(typeof $e){case"function":case"symbol":return;case"boolean":if(se=ge.toLowerCase().slice(0,5),se!=="data-"&&se!=="aria-")return}G.push(k,s(ge),q,s(_($e)),H)}}}var Z=c(">"),me=c("/>");function fe(G,se,ge){if(se!=null){if(ge!=null)throw Error(t(60));if(typeof se!="object"||!("__html"in se))throw Error(t(61));se=se.__html,se!=null&&G.push(s(""+se))}}function Re(G){var se="";return e.Children.forEach(G,function(ge){ge!=null&&(se+=ge)}),se}var Se=c(' selected=""');function Oe(G,se,ge,$e){G.push(_e(ge));var Je=ge=null,et;for(et in se)if(h.call(se,et)){var It=se[et];if(It!=null)switch(et){case"children":ge=It;break;case"dangerouslySetInnerHTML":Je=It;break;default:V(G,$e,et,It)}}return G.push(Z),fe(G,Je,ge),typeof ge=="string"?(G.push(s(_(ge))),null):ge}var Me=c(`
160
- `),de=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Ee=new Map;function _e(G){var se=Ee.get(G);if(se===void 0){if(!de.test(G))throw Error(t(65,G));se=c("<"+G),Ee.set(G,se)}return se}var xe=c("<!DOCTYPE html>");function ke(G,se,ge,$e,Je){switch(se){case"select":G.push(_e("select"));var et=null,It=null;for(xr in ge)if(h.call(ge,xr)){var Gt=ge[xr];if(Gt!=null)switch(xr){case"children":et=Gt;break;case"dangerouslySetInnerHTML":It=Gt;break;case"defaultValue":case"value":break;default:V(G,$e,xr,Gt)}}return G.push(Z),fe(G,It,et),et;case"option":It=Je.selectedValue,G.push(_e("option"));var yr=Gt=null,Vr=null,xr=null;for(et in ge)if(h.call(ge,et)&&(se=ge[et],se!=null))switch(et){case"children":Gt=se;break;case"selected":Vr=se;break;case"dangerouslySetInnerHTML":xr=se;break;case"value":yr=se;default:V(G,$e,et,se)}if(It!=null)if(ge=yr!==null?""+yr:Re(Gt),U(It)){for($e=0;$e<It.length;$e++)if(""+It[$e]===ge){G.push(Se);break}}else""+It===ge&&G.push(Se);else Vr&&G.push(Se);return G.push(Z),fe(G,xr,Gt),Gt;case"textarea":G.push(_e("textarea")),xr=It=et=null;for(Gt in ge)if(h.call(ge,Gt)&&(yr=ge[Gt],yr!=null))switch(Gt){case"children":xr=yr;break;case"value":et=yr;break;case"defaultValue":It=yr;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:V(G,$e,Gt,yr)}if(et===null&&It!==null&&(et=It),G.push(Z),xr!=null){if(et!=null)throw Error(t(92));if(U(xr)&&1<xr.length)throw Error(t(93));et=""+xr}return typeof et=="string"&&et[0]===`
161
- `&&G.push(Me),et!==null&&G.push(s(_(""+et))),null;case"input":G.push(_e("input")),yr=xr=Gt=et=null;for(It in ge)if(h.call(ge,It)&&(Vr=ge[It],Vr!=null))switch(It){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":yr=Vr;break;case"defaultValue":Gt=Vr;break;case"checked":xr=Vr;break;case"value":et=Vr;break;default:V(G,$e,It,Vr)}return xr!==null?V(G,$e,"checked",xr):yr!==null&&V(G,$e,"checked",yr),et!==null?V(G,$e,"value",et):Gt!==null&&V(G,$e,"value",Gt),G.push(me),null;case"menuitem":G.push(_e("menuitem"));for(var Mn in ge)if(h.call(ge,Mn)&&(et=ge[Mn],et!=null))switch(Mn){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:V(G,$e,Mn,et)}return G.push(Z),null;case"listing":case"pre":G.push(_e(se)),It=et=null;for(yr in ge)if(h.call(ge,yr)&&(Gt=ge[yr],Gt!=null))switch(yr){case"children":et=Gt;break;case"dangerouslySetInnerHTML":It=Gt;break;default:V(G,$e,yr,Gt)}if(G.push(Z),It!=null){if(et!=null)throw Error(t(60));if(typeof It!="object"||!("__html"in It))throw Error(t(61));ge=It.__html,ge!=null&&(typeof ge=="string"&&0<ge.length&&ge[0]===`
162
- `?G.push(Me,s(ge)):G.push(s(""+ge)))}return typeof et=="string"&&et[0]===`
163
- `&&G.push(Me),et;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":G.push(_e(se));for(var ui in ge)if(h.call(ge,ui)&&(et=ge[ui],et!=null))switch(ui){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,se));default:V(G,$e,ui,et)}return G.push(me),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return Oe(G,ge,se,$e);case"html":return Je.insertionMode===0&&G.push(xe),Oe(G,ge,se,$e);default:if(se.indexOf("-")===-1&&typeof ge.is!="string")return Oe(G,ge,se,$e);G.push(_e(se)),It=et=null;for(Vr in ge)if(h.call(ge,Vr)&&(Gt=ge[Vr],Gt!=null))switch(Vr){case"children":et=Gt;break;case"dangerouslySetInnerHTML":It=Gt;break;case"style":z(G,$e,Gt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:y(Vr)&&typeof Gt!="function"&&typeof Gt!="symbol"&&G.push(k,s(Vr),q,s(_(Gt)),H)}return G.push(Z),fe(G,It,et),et}}var Le=c("</"),He=c(">"),_t=c('<template id="'),jt=c('"></template>'),Lt=c("<!--$-->"),Qe=c('<!--$?--><template id="'),bt=c('"></template>'),mt=c("<!--$!-->"),St=c("<!--/$-->");function yt(G,se,ge){if(i(G,Qe),ge===null)throw Error(t(395));return i(G,ge),a(G,bt)}var at=c('<div hidden id="'),$t=c('">'),xt=c("</div>"),Ce=c('<svg aria-hidden="true" style="display:none" id="'),Ze=c('">'),ut=c("</svg>"),Tt=c('<math aria-hidden="true" style="display:none" id="'),Pt=c('">'),rr=c("</math>"),_r=c('<table hidden id="'),sr=c('">'),mr=c("</table>"),Pr=c('<table hidden><tbody id="'),ln=c('">'),di=c("</tbody></table>"),Nn=c('<table hidden><tr id="'),Rn=c('">'),En=c("</tr></table>"),Jn=c('<table hidden><colgroup id="'),Zn=c('">'),Ci=c("</colgroup></table>");function _i(G,se,ge,$e){switch(ge.insertionMode){case 0:case 1:return i(G,at),i(G,se.segmentPrefix),i(G,s($e.toString(16))),a(G,$t);case 2:return i(G,Ce),i(G,se.segmentPrefix),i(G,s($e.toString(16))),a(G,Ze);case 3:return i(G,Tt),i(G,se.segmentPrefix),i(G,s($e.toString(16))),a(G,Pt);case 4:return i(G,_r),i(G,se.segmentPrefix),i(G,s($e.toString(16))),a(G,sr);case 5:return i(G,Pr),i(G,se.segmentPrefix),i(G,s($e.toString(16))),a(G,ln);case 6:return i(G,Nn),i(G,se.segmentPrefix),i(G,s($e.toString(16))),a(G,Rn);case 7:return i(G,Jn),i(G,se.segmentPrefix),i(G,s($e.toString(16))),a(G,Zn);default:throw Error(t(397))}}function Vi(G,se){switch(se.insertionMode){case 0:case 1:return a(G,xt);case 2:return a(G,ut);case 3:return a(G,rr);case 4:return a(G,mr);case 5:return a(G,di);case 6:return a(G,En);case 7:return a(G,Ci);default:throw Error(t(397))}}var Yi=c('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Ln=c('$RS("'),oi=c('","'),Di=c('")<\/script>'),Ai=c('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),it=c('$RC("'),Ft=c('","'),pt=c('")<\/script>'),Ke=c('function $RX(a){if(a=document.getElementById(a))a=a.previousSibling,a.data="$!",a._reactRetry&&a._reactRetry()};$RX("'),At=c('$RX("'),pr=c('")<\/script>'),we=Object.assign,ct=Symbol.for("react.element"),nt=Symbol.for("react.portal"),ft=Symbol.for("react.fragment"),kt=Symbol.for("react.strict_mode"),dt=Symbol.for("react.profiler"),Yt=Symbol.for("react.provider"),Dr=Symbol.for("react.context"),Zr=Symbol.for("react.forward_ref"),en=Symbol.for("react.suspense"),pn=Symbol.for("react.suspense_list"),Mt=Symbol.for("react.memo"),Kr=Symbol.for("react.lazy"),Ki=Symbol.for("react.scope"),si=Symbol.for("react.debug_trace_mode"),va=Symbol.for("react.legacy_hidden"),Bi=Symbol.for("react.default_value"),xa=Symbol.iterator;function no(G){if(G==null)return null;if(typeof G=="function")return G.displayName||G.name||null;if(typeof G=="string")return G;switch(G){case ft:return"Fragment";case nt:return"Portal";case dt:return"Profiler";case kt:return"StrictMode";case en:return"Suspense";case pn:return"SuspenseList"}if(typeof G=="object")switch(G.$$typeof){case Dr:return(G.displayName||"Context")+".Consumer";case Yt:return(G._context.displayName||"Context")+".Provider";case Zr:var se=G.render;return G=G.displayName,G||(G=se.displayName||se.name||"",G=G!==""?"ForwardRef("+G+")":"ForwardRef"),G;case Mt:return se=G.displayName||null,se!==null?se:no(G.type)||"Memo";case Kr:se=G._payload,G=G._init;try{return no(G(se))}catch{}}return null}var qa={};function W(G,se){if(G=G.contextTypes,!G)return qa;var ge={},$e;for($e in G)ge[$e]=se[$e];return ge}var ue=null;function Te(G,se){if(G!==se){G.context._currentValue=G.parentValue,G=G.parent;var ge=se.parent;if(G===null){if(ge!==null)throw Error(t(401))}else{if(ge===null)throw Error(t(401));Te(G,ge)}se.context._currentValue=se.value}}function qe(G){G.context._currentValue=G.parentValue,G=G.parent,G!==null&&qe(G)}function ht(G){var se=G.parent;se!==null&&ht(se),G.context._currentValue=G.value}function rt(G,se){if(G.context._currentValue=G.parentValue,G=G.parent,G===null)throw Error(t(402));G.depth===se.depth?Te(G,se):rt(G,se)}function Ot(G,se){var ge=se.parent;if(ge===null)throw Error(t(402));G.depth===ge.depth?Te(G,ge):Ot(G,ge),se.context._currentValue=se.value}function Wt(G){var se=ue;se!==G&&(se===null?ht(G):G===null?qe(se):se.depth===G.depth?Te(se,G):se.depth>G.depth?rt(se,G):Ot(se,G),ue=G)}var Jt={isMounted:function(){return!1},enqueueSetState:function(G,se){G=G._reactInternals,G.queue!==null&&G.queue.push(se)},enqueueReplaceState:function(G,se){G=G._reactInternals,G.replace=!0,G.queue=[se]},enqueueForceUpdate:function(){}};function wr(G,se,ge,$e){var Je=G.state!==void 0?G.state:null;G.updater=Jt,G.props=ge,G.state=Je;var et={queue:[],replace:!1};G._reactInternals=et;var It=se.contextType;if(G.context=typeof It=="object"&&It!==null?It._currentValue:$e,It=se.getDerivedStateFromProps,typeof It=="function"&&(It=It(ge,Je),Je=It==null?Je:we({},Je,It),G.state=Je),typeof se.getDerivedStateFromProps!="function"&&typeof G.getSnapshotBeforeUpdate!="function"&&(typeof G.UNSAFE_componentWillMount=="function"||typeof G.componentWillMount=="function"))if(se=G.state,typeof G.componentWillMount=="function"&&G.componentWillMount(),typeof G.UNSAFE_componentWillMount=="function"&&G.UNSAFE_componentWillMount(),se!==G.state&&Jt.enqueueReplaceState(G,G.state,null),et.queue!==null&&0<et.queue.length)if(se=et.queue,It=et.replace,et.queue=null,et.replace=!1,It&&se.length===1)G.state=se[0];else{for(et=It?se[0]:G.state,Je=!0,It=It?1:0;It<se.length;It++){var Gt=se[It];Gt=typeof Gt=="function"?Gt.call(G,et,ge,$e):Gt,Gt!=null&&(Je?(Je=!1,et=we({},et,Gt)):we(et,Gt))}G.state=et}else et.queue=null}var Ar={id:1,overflow:""};function qn(G,se,ge){var $e=G.id;G=G.overflow;var Je=32-ki($e)-1;$e&=~(1<<Je),ge+=1;var et=32-ki(se)+Je;if(30<et){var It=Je-Je%5;return et=($e&(1<<It)-1).toString(32),$e>>=It,Je-=It,{id:1<<32-ki(se)+Je|ge<<Je|$e,overflow:et+G}}return{id:1<<et|ge<<Je|$e,overflow:G}}var ki=Math.clz32?Math.clz32:lu,Ni=Math.log,ms=Math.LN2;function lu(G){return G>>>=0,G===0?32:31-(Ni(G)/ms|0)|0}function ys(G,se){return G===se&&(G!==0||1/G===1/se)||G!==G&&se!==se}var io=typeof Object.is=="function"?Object.is:ys,Si=null,Va=null,ao=null,gn=null,pa=!1,Wo=!1,Go=0,ra=null,Us=0;function oo(){if(Si===null)throw Error(t(321));return Si}function _s(){if(0<Us)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function qs(){return gn===null?ao===null?(pa=!1,ao=gn=_s()):(pa=!0,gn=ao):gn.next===null?(pa=!1,gn=gn.next=_s()):(pa=!0,gn=gn.next),gn}function Nu(){Va=Si=null,Wo=!1,ao=null,Us=0,gn=ra=null}function so(G,se){return typeof se=="function"?se(G):se}function So(G,se,ge){if(Si=oo(),gn=qs(),pa){var $e=gn.queue;if(se=$e.dispatch,ra!==null&&(ge=ra.get($e),ge!==void 0)){ra.delete($e),$e=gn.memoizedState;do $e=G($e,ge.action),ge=ge.next;while(ge!==null);return gn.memoizedState=$e,[$e,se]}return[gn.memoizedState,se]}return G=G===so?typeof se=="function"?se():se:ge!==void 0?ge(se):se,gn.memoizedState=G,G=gn.queue={last:null,dispatch:null},G=G.dispatch=ga.bind(null,Si,G),[gn.memoizedState,G]}function Hi(G,se){if(Si=oo(),gn=qs(),se=se===void 0?null:se,gn!==null){var ge=gn.memoizedState;if(ge!==null&&se!==null){var $e=ge[1];e:if($e===null)$e=!1;else{for(var Je=0;Je<$e.length&&Je<se.length;Je++)if(!io(se[Je],$e[Je])){$e=!1;break e}$e=!0}if($e)return ge[0]}}return G=G(),gn.memoizedState=[G,se],G}function ga(G,se,ge){if(25<=Us)throw Error(t(301));if(G===Si)if(Wo=!0,G={action:ge,next:null},ra===null&&(ra=new Map),ge=ra.get(se),ge===void 0)ra.set(se,G);else{for(se=ge;se.next!==null;)se=se.next;se.next=G}}function Lu(){throw Error(t(394))}function Yo(){}var Ko={readContext:function(G){return G._currentValue},useContext:function(G){return oo(),G._currentValue},useMemo:Hi,useReducer:So,useRef:function(G){Si=oo(),gn=qs();var se=gn.memoizedState;return se===null?(G={current:G},gn.memoizedState=G):se},useState:function(G){return So(so,G)},useInsertionEffect:Yo,useLayoutEffect:function(){},useCallback:function(G,se){return Hi(function(){return G},se)},useImperativeHandle:Yo,useEffect:Yo,useDebugValue:Yo,useDeferredValue:function(G){return oo(),G},useTransition:function(){return oo(),[!1,Lu]},useId:function(){var G=Va.treeContext,se=G.overflow;G=G.id,G=(G&~(1<<32-ki(G)-1)).toString(32)+se;var ge=ma;if(ge===null)throw Error(t(404));return se=Go++,G=":"+ge.idPrefix+"R"+G,0<se&&(G+="H"+se.toString(32)),G+":"},useMutableSource:function(G,se){return oo(),se(G._source)},useSyncExternalStore:function(G,se,ge){if(ge===void 0)throw Error(t(407));return ge()}},ma=null,Vs=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Mu(G){console.error(G)}function Li(){}function ya(G,se,ge,$e,Je,et,It,Gt,yr){var Vr=[],xr=new Set;return se={destination:null,responseState:se,progressiveChunkSize:$e===void 0?12800:$e,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:xr,pingedTasks:Vr,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:Je===void 0?Mu:Je,onAllReady:et===void 0?Li:et,onShellReady:It===void 0?Li:It,onShellError:Gt===void 0?Li:Gt,onFatalError:yr===void 0?Li:yr},ge=Xo(se,0,null,ge),ge.parentFlushed=!0,G=Eo(se,G,null,ge,xr,qa,null,Ar),Vr.push(G),se}function Eo(G,se,ge,$e,Je,et,It,Gt){G.allPendingTasks++,ge===null?G.pendingRootTasks++:ge.pendingTasks++;var yr={node:se,ping:function(){var Vr=G.pingedTasks;Vr.push(yr),Vr.length===1&&Ct(G)},blockedBoundary:ge,blockedSegment:$e,abortSet:Je,legacyContext:et,context:It,treeContext:Gt};return Je.add(yr),yr}function Xo(G,se,ge,$e){return{status:0,id:-1,index:se,parentFlushed:!1,chunks:[],children:[],formatContext:$e,boundary:ge}}function wo(G,se){G=G.onError,G(se)}function bo(G,se){var ge=G.onShellError;ge(se),ge=G.onFatalError,ge(se),G.destination!==null?(G.status=2,d(G.destination,se)):(G.status=1,G.fatalError=se)}function E(G,se,ge,$e,Je){for(Si={},Va=se,Go=0,G=ge($e,Je);Wo;)Wo=!1,Go=0,Us+=1,gn=null,G=ge($e,Je);return Nu(),G}function C(G,se,ge,$e){var Je=ge.render(),et=$e.childContextTypes;if(et!=null){var It=se.legacyContext;if(typeof ge.getChildContext!="function")$e=It;else{ge=ge.getChildContext();for(var Gt in ge)if(!(Gt in et))throw Error(t(108,no($e)||"Unknown",Gt));$e=we({},It,ge)}se.legacyContext=$e,oe(G,se,Je),se.legacyContext=It}else oe(G,se,Je)}function M(G,se){if(G&&G.defaultProps){se=we({},se),G=G.defaultProps;for(var ge in G)se[ge]===void 0&&(se[ge]=G[ge]);return se}return se}function X(G,se,ge,$e,Je){if(typeof ge=="function")if(ge.prototype&&ge.prototype.isReactComponent){Je=W(ge,se.legacyContext);var et=ge.contextType;et=new ge($e,typeof et=="object"&&et!==null?et._currentValue:Je),wr(et,ge,$e,Je),C(G,se,et,ge)}else{et=W(ge,se.legacyContext),Je=E(G,se,ge,$e,et);var It=Go!==0;if(typeof Je=="object"&&Je!==null&&typeof Je.render=="function"&&Je.$$typeof===void 0)wr(Je,ge,$e,et),C(G,se,Je,ge);else if(It){$e=se.treeContext,se.treeContext=qn($e,1,0);try{oe(G,se,Je)}finally{se.treeContext=$e}}else oe(G,se,Je)}else if(typeof ge=="string")switch(Je=se.blockedSegment,et=ke(Je.chunks,ge,$e,G.responseState,Je.formatContext),It=Je.formatContext,Je.formatContext=re(It,ge,$e),ve(G,se,et),Je.formatContext=It,ge){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:Je.chunks.push(Le,s(ge),He)}else{switch(ge){case va:case si:case kt:case dt:case ft:oe(G,se,$e.children);return;case pn:oe(G,se,$e.children);return;case Ki:throw Error(t(343));case en:e:{ge=se.blockedBoundary,Je=se.blockedSegment,et=$e.fallback,$e=$e.children,It=new Set;var Gt={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:It},yr=Xo(G,Je.chunks.length,Gt,Je.formatContext);Je.children.push(yr);var Vr=Xo(G,0,null,Je.formatContext);Vr.parentFlushed=!0,se.blockedBoundary=Gt,se.blockedSegment=Vr;try{if(ve(G,se,$e),Vr.status=1,Ge(Gt,Vr),Gt.pendingTasks===0)break e}catch(xr){Vr.status=4,wo(G,xr),Gt.forceClientRender=!0}finally{se.blockedBoundary=ge,se.blockedSegment=Je}se=Eo(G,et,ge,yr,It,se.legacyContext,se.context,se.treeContext),G.pingedTasks.push(se)}return}if(typeof ge=="object"&&ge!==null)switch(ge.$$typeof){case Zr:if($e=E(G,se,ge.render,$e,Je),Go!==0){ge=se.treeContext,se.treeContext=qn(ge,1,0);try{oe(G,se,$e)}finally{se.treeContext=ge}}else oe(G,se,$e);return;case Mt:ge=ge.type,$e=M(ge,$e),X(G,se,ge,$e,Je);return;case Yt:if(Je=$e.children,ge=ge._context,$e=$e.value,et=ge._currentValue,ge._currentValue=$e,It=ue,ue=$e={parent:It,depth:It===null?0:It.depth+1,context:ge,parentValue:et,value:$e},se.context=$e,oe(G,se,Je),G=ue,G===null)throw Error(t(403));$e=G.parentValue,G.context._currentValue=$e===Bi?G.context._defaultValue:$e,G=ue=G.parent,se.context=G;return;case Dr:$e=$e.children,$e=$e(ge._currentValue),oe(G,se,$e);return;case Kr:Je=ge._init,ge=Je(ge._payload),$e=M(ge,$e),X(G,se,ge,$e,void 0);return}throw Error(t(130,ge==null?ge:typeof ge,""))}}function oe(G,se,ge){if(se.node=ge,typeof ge=="object"&&ge!==null){switch(ge.$$typeof){case ct:X(G,se,ge.type,ge.props,ge.ref);return;case nt:throw Error(t(257));case Kr:var $e=ge._init;ge=$e(ge._payload),oe(G,se,ge);return}if(U(ge)){le(G,se,ge);return}if(ge===null||typeof ge!="object"?$e=null:($e=xa&&ge[xa]||ge["@@iterator"],$e=typeof $e=="function"?$e:null),$e&&($e=$e.call(ge))){if(ge=$e.next(),!ge.done){var Je=[];do Je.push(ge.value),ge=$e.next();while(!ge.done);le(G,se,Je)}return}throw se=Object.prototype.toString.call(ge),Error(t(31,se==="[object Object]"?"object with keys {"+Object.keys(ge).join(", ")+"}":se))}typeof ge=="string"?ge!==""&&se.blockedSegment.chunks.push(s(_(ge)),te):typeof ge=="number"&&(G=""+ge,G!==""&&se.blockedSegment.chunks.push(s(_(G)),te))}function le(G,se,ge){for(var $e=ge.length,Je=0;Je<$e;Je++){var et=se.treeContext;se.treeContext=qn(et,$e,Je);try{ve(G,se,ge[Je])}finally{se.treeContext=et}}}function ve(G,se,ge){var $e=se.blockedSegment.formatContext,Je=se.legacyContext,et=se.context;try{return oe(G,se,ge)}catch(yr){if(Nu(),typeof yr=="object"&&yr!==null&&typeof yr.then=="function"){ge=yr;var It=se.blockedSegment,Gt=Xo(G,It.chunks.length,null,It.formatContext);It.children.push(Gt),G=Eo(G,se.node,se.blockedBoundary,Gt,se.abortSet,se.legacyContext,se.context,se.treeContext).ping,ge.then(G,G),se.blockedSegment.formatContext=$e,se.legacyContext=Je,se.context=et,Wt(et)}else throw se.blockedSegment.formatContext=$e,se.legacyContext=Je,se.context=et,Wt(et),yr}}function Ue(G){var se=G.blockedBoundary;G=G.blockedSegment,G.status=3,wt(this,se,G)}function Ne(G){var se=G.blockedBoundary;G.blockedSegment.status=3,se===null?(this.allPendingTasks--,this.status!==2&&(this.status=2,this.destination!==null&&this.destination.close())):(se.pendingTasks--,se.forceClientRender||(se.forceClientRender=!0,se.parentFlushed&&this.clientRenderedBoundaries.push(se)),se.fallbackAbortableTasks.forEach(Ne,this),se.fallbackAbortableTasks.clear(),this.allPendingTasks--,this.allPendingTasks===0&&(G=this.onAllReady,G()))}function Ge(G,se){if(se.chunks.length===0&&se.children.length===1&&se.children[0].boundary===null){var ge=se.children[0];ge.id=se.id,ge.parentFlushed=!0,ge.status===1&&Ge(G,ge)}else G.completedSegments.push(se)}function wt(G,se,ge){if(se===null){if(ge.parentFlushed){if(G.completedRootSegment!==null)throw Error(t(389));G.completedRootSegment=ge}G.pendingRootTasks--,G.pendingRootTasks===0&&(G.onShellError=Li,se=G.onShellReady,se())}else se.pendingTasks--,se.forceClientRender||(se.pendingTasks===0?(ge.parentFlushed&&ge.status===1&&Ge(se,ge),se.parentFlushed&&G.completedBoundaries.push(se),se.fallbackAbortableTasks.forEach(Ue,G),se.fallbackAbortableTasks.clear()):ge.parentFlushed&&ge.status===1&&(Ge(se,ge),se.completedSegments.length===1&&se.parentFlushed&&G.partialBoundaries.push(se)));G.allPendingTasks--,G.allPendingTasks===0&&(G=G.onAllReady,G())}function Ct(G){if(G.status!==2){var se=ue,ge=Vs.current;Vs.current=Ko;var $e=ma;ma=G.responseState;try{var Je=G.pingedTasks,et;for(et=0;et<Je.length;et++){var It=Je[et],Gt=G,yr=It.blockedSegment;if(yr.status===0){Wt(It.context);try{oe(Gt,It,It.node),It.abortSet.delete(It),yr.status=1,wt(Gt,It.blockedBoundary,yr)}catch(Vn){if(Nu(),typeof Vn=="object"&&Vn!==null&&typeof Vn.then=="function"){var Vr=It.ping;Vn.then(Vr,Vr)}else{It.abortSet.delete(It),yr.status=4;var xr=It.blockedBoundary,Mn=Vn;if(wo(Gt,Mn),xr===null?bo(Gt,Mn):(xr.pendingTasks--,xr.forceClientRender||(xr.forceClientRender=!0,xr.parentFlushed&&Gt.clientRenderedBoundaries.push(xr))),Gt.allPendingTasks--,Gt.allPendingTasks===0){var ui=Gt.onAllReady;ui()}}}finally{}}}Je.splice(0,et),G.destination!==null&&ei(G,G.destination)}catch(Vn){wo(G,Vn),bo(G,Vn)}finally{ma=$e,Vs.current=ge,ge===Ko&&Wt(se)}}}function st(G,se,ge){switch(ge.parentFlushed=!0,ge.status){case 0:var $e=ge.id=G.nextSegmentId++;return G=G.responseState,i(se,_t),i(se,G.placeholderPrefix),G=s($e.toString(16)),i(se,G),a(se,jt);case 1:ge.status=2;var Je=!0;$e=ge.chunks;var et=0;ge=ge.children;for(var It=0;It<ge.length;It++){for(Je=ge[It];et<Je.index;et++)i(se,$e[et]);Je=Vt(G,se,Je)}for(;et<$e.length-1;et++)i(se,$e[et]);return et<$e.length&&(Je=a(se,$e[et])),Je;default:throw Error(t(390))}}function Vt(G,se,ge){var $e=ge.boundary;if($e===null)return st(G,se,ge);if($e.parentFlushed=!0,$e.forceClientRender)a(se,mt),st(G,se,ge);else if(0<$e.pendingTasks){$e.rootSegmentID=G.nextSegmentId++,0<$e.completedSegments.length&&G.partialBoundaries.push($e);var Je=G.responseState,et=Je.nextSuspenseID++;Je=c(Je.boundaryPrefix+et.toString(16)),$e=$e.id=Je,yt(se,G.responseState,$e),st(G,se,ge)}else if($e.byteSize>G.progressiveChunkSize)$e.rootSegmentID=G.nextSegmentId++,G.completedBoundaries.push($e),yt(se,G.responseState,$e.id),st(G,se,ge);else{if(a(se,Lt),ge=$e.completedSegments,ge.length!==1)throw Error(t(391));Vt(G,se,ge[0])}return a(se,St)}function Rr(G,se,ge){return _i(se,G.responseState,ge.formatContext,ge.id),Vt(G,se,ge),Vi(se,ge.formatContext)}function tn(G,se,ge){for(var $e=ge.completedSegments,Je=0;Je<$e.length;Je++)qr(G,se,ge,$e[Je]);if($e.length=0,G=G.responseState,$e=ge.id,ge=ge.rootSegmentID,i(se,G.startInlineScript),G.sentCompleteBoundaryFunction?i(se,it):(G.sentCompleteBoundaryFunction=!0,i(se,Ai)),$e===null)throw Error(t(395));return ge=s(ge.toString(16)),i(se,$e),i(se,Ft),i(se,G.segmentPrefix),i(se,ge),a(se,pt)}function qr(G,se,ge,$e){if($e.status===2)return!0;var Je=$e.id;if(Je===-1){if(($e.id=ge.rootSegmentID)===-1)throw Error(t(392));return Rr(G,se,$e)}return Rr(G,se,$e),G=G.responseState,i(se,G.startInlineScript),G.sentCompleteSegmentFunction?i(se,Ln):(G.sentCompleteSegmentFunction=!0,i(se,Yi)),i(se,G.segmentPrefix),Je=s(Je.toString(16)),i(se,Je),i(se,oi),i(se,G.placeholderPrefix),i(se,Je),a(se,Di)}function ei(G,se){r=new Uint8Array(512),n=0;try{var ge=G.completedRootSegment;if(ge!==null&&G.pendingRootTasks===0){Vt(G,se,ge),G.completedRootSegment=null;var $e=G.responseState.bootstrapChunks;for(ge=0;ge<$e.length-1;ge++)i(se,$e[ge]);ge<$e.length&&a(se,$e[ge])}var Je=G.clientRenderedBoundaries,et;for(et=0;et<Je.length;et++){$e=se;var It=G.responseState,Gt=Je[et].id;if(i($e,It.startInlineScript),It.sentClientRenderFunction?i($e,At):(It.sentClientRenderFunction=!0,i($e,Ke)),Gt===null)throw Error(t(395));i($e,Gt),a($e,pr)}Je.splice(0,et);var yr=G.completedBoundaries;for(et=0;et<yr.length;et++)tn(G,se,yr[et]);yr.splice(0,et),o(se),r=new Uint8Array(512),n=0;var Vr=G.partialBoundaries;for(et=0;et<Vr.length;et++){var xr=Vr[et];e:{Je=G,It=se;var Mn=xr.completedSegments;for(Gt=0;Gt<Mn.length;Gt++)if(!qr(Je,It,xr,Mn[Gt])){Gt++,Mn.splice(0,Gt);var ui=!1;break e}Mn.splice(0,Gt),ui=!0}if(!ui){G.destination=null,et++,Vr.splice(0,et);return}}Vr.splice(0,et);var Vn=G.completedBoundaries;for(et=0;et<Vn.length;et++)tn(G,se,Vn[et]);Vn.splice(0,et)}finally{o(se),G.allPendingTasks===0&&G.pingedTasks.length===0&&G.clientRenderedBoundaries.length===0&&G.completedBoundaries.length===0&&se.close()}}function hi(G){try{var se=G.abortableTasks;se.forEach(Ne,G),se.clear(),G.destination!==null&&ei(G,G.destination)}catch(ge){wo(G,ge),bo(G,ge)}}return hm.renderToReadableStream=function(G,se){return new Promise(function(ge,$e){var Je,et,It=new Promise(function(xr,Mn){et=xr,Je=Mn}),Gt=ya(G,D(se?se.identifierPrefix:void 0,se?se.nonce:void 0,se?se.bootstrapScriptContent:void 0,se?se.bootstrapScripts:void 0,se?se.bootstrapModules:void 0),L(se?se.namespaceURI:void 0),se?se.progressiveChunkSize:void 0,se?se.onError:void 0,et,function(){var xr=new ReadableStream({type:"bytes",pull:function(Mn){if(Gt.status===1)Gt.status=2,d(Mn,Gt.fatalError);else if(Gt.status!==2&&Gt.destination===null){Gt.destination=Mn;try{ei(Gt,Mn)}catch(ui){wo(Gt,ui),bo(Gt,ui)}}},cancel:function(){hi(Gt)}});xr.allReady=It,ge(xr)},function(xr){It.catch(function(){}),$e(xr)},Je);if(se&&se.signal){var yr=se.signal,Vr=function(){hi(Gt),yr.removeEventListener("abort",Vr)};yr.addEventListener("abort",Vr)}Ct(Gt)})},hm.version="18.1.0",hm}var tJ;function lPe(){if(tJ)return Fl;tJ=1;var e,t;return e=sPe(),t=uPe(),Fl.version=e.version,Fl.renderToString=e.renderToString,Fl.renderToStaticMarkup=e.renderToStaticMarkup,Fl.renderToNodeStream=e.renderToNodeStream,Fl.renderToStaticNodeStream=e.renderToStaticNodeStream,Fl.renderToReadableStream=t.renderToReadableStream,Fl}var cPe=lPe();const fPe={getSvg(e){const t=e;return cPe.renderToStaticMarkup(j.jsx(t,{...this.getCommonSvgProps()}))},getCommonSvgProps(){return{viewBox:"0 0 24 24",role:"img","aria-hidden":"true"}}},dPe="d-inline-block svg-container",hPe="span";var Zs=(e=>(e.Standard="std",e.XXS="xxs",e.ExtraSmall="xs",e.Small="sm",e.Medium="md",e.Large="lg",e.ExtraLarge="xlg",e.XXL="xxlg",e))(Zs||{});function Ri(e){const{svg:t,className:r=dPe,tagName:n=hPe,size:i="std",onClick:a,title:o,tooltipSpanHackClassName:u,tooltipPlacement:s="right",tooltipSpanHack:c=!1,tooltipShow:d}=e,h=n,v={className:`${r} ${i}`,onClick:gi.isFunction(a)?a:null},g=t;return j.jsx(cl,{title:o,placement:s,spanHack:c,spanHackClassName:u,show:d,children:j.jsx(h,{...v,children:j.jsx(g,{...fPe.getCommonSvgProps()})})})}const vPe="_alertItem_i5y1z_1",pPe="_alertBox_i5y1z_11",gPe="_alertList_i5y1z_11",mPe="_icon_i5y1z_28",yPe="_alertContent_i5y1z_32",_Pe="_heading_i5y1z_40",Xc={alertItem:vPe,alertBox:pPe,alertList:gPe,icon:mPe,alertContent:yPe,heading:_Pe};function SPe(e){const{alert:t,svg:r,svgClassName:n,closeAlert:i}=e,{message:a,heading:o,appLink:u,appLinkText:s,appLinkClassName:c="",extLink:d,extLinkText:h,extLinkClassName:v}=t;return j.jsxs(j.Fragment,{children:[j.jsx("div",{className:`d-inline-block ${Xc.icon}`,children:j.jsx(Ri,{svg:r,className:`svg-container ${n}`})}),j.jsxs("div",{role:t.type===Xs.Fail?"alert":"status",className:`ps-2 d-inline-block ${Xc.alertContent}`,children:[j.jsx("p",{className:`p-0 m-0 pb-1 ${Xc.heading}`,children:o}),j.jsx("p",{className:`p-0 text-break clamp-4 ${Xc.message}`,dangerouslySetInnerHTML:{__html:a}}),!!u&&j.jsx(os,{className:c,appLink:u,children:j.jsx("span",{dangerouslySetInnerHTML:{__html:s}})}),!!d&&h&&j.jsx("a",{href:d,className:v,target:"_blank",children:h})]}),j.jsx("div",{className:"btn-close d-inline-block cursor-pointer",role:"button","aria-label":"Close",onClick:i})]})}const EPe=e=>{switch(e.type){case Xs.Success:return zAe;case Xs.Fail:case Xs.Warning:return YAe;case Xs.Pending:return GAe;case Xs.Info:default:return WAe}},wPe=e=>e.type===Xs.Pending?"text-info":`text-${e.type}`;Boe.defaultProps={timeout:3e3};function Boe({alert:e,closeAlert:t,timeout:r}){const[n,i]=he.useState(!0),a=he.useRef(null);return he.useEffect(()=>{if(!n){clearTimeout(a.current);return}a.current=window.setTimeout(t,r)},[n]),j.jsx("li",{className:`bg-white mt-2 p-2 show clearfix ${Xc.alertItem}`,onMouseEnter:()=>i(!1),onMouseLeave:()=>i(!0),children:j.jsx(SPe,{alert:e,svg:EPe(e),svgClassName:wPe(e),closeAlert:t})})}function bPe({alerts:e,removeAlert:t}){return j.jsx("div",{className:Xc.alertBox,children:j.jsx(Ek,{component:"ul",className:`${Xc.alertList} list-unstyled`,children:e&&e.map((r,n)=>j.jsx(_k,{timeout:200,classNames:"alert",children:j.jsx(Boe,{alert:r,closeAlert:()=>t(r.id),timeout:r.timeout})},n))})})}const nP={STANDARD:600},rJ={LOCALE:"locale",PHRASES:"phrases"};class TPe extends Lae{get name(){return dCe.Language}get channelName(){return EAe.LANGUAGE}getLanguageConfig(t){const r={locale:"",phrases:null};this.get({resource:"/api/locale",eventPrefix:rJ.LOCALE,expiryTime:nP.STANDARD,bootstrapName:ll.LOCALE,callback:n=>{r.locale=n,r.phrases&&on(t)&&t(r)}}),this.get({resource:"/api/phrases",eventPrefix:rJ.PHRASES,expiryTime:nP.STANDARD,bootstrapName:ll.PHRASES,callback:n=>{r.phrases=n,r.locale&&on(t)&&t(r)}})}}const iP={Success:"Success! 🙌",Fail:"Oops..."};async function RPe(e,t){const r={maxAlerts:3,defaultSuccessAlert:{heading:iP.Success,type:Xs.Success},defaultErrorAlert:{heading:iP.Fail,type:Xs.Fail},alertViewCtor:bPe};Qs.registerSingleton(new rAe(r)).registerInstance(NAe,{store:e.store});const n=Qs.getInstance(qp.ALERT),i={cache:ep.Fifo,dataProvider:tp.Ajax,bootstrapData:window.bootstrapData,defaultErrorHandler:n.error({useXHR:!0}),alertService:n};Qs.registerDataService(TPe,i),t(e),delete window.bootstrapData}const vm="shared.chunkLoadError",xPe=/\/([^\s/]+\.css)/,CPe=/\/([^\s/]+\.js)/;class nJ extends $f{constructor(t,r,n){super(gr.getPhrase(vm,"title",{chunkName:r})),this.product="ClickView",this.btnVariant=t,n&&(this.product=n)}get name(){return"ChunkLoadError"}get dialogOptions(){return{title:gr.getPhrase(vm,"heading",{product:this.product}),text:gr.getPhrase(vm,"body"),buttons:[{text:gr.getPhrase(vm,"reload"),className:`btn btn-${this.btnVariant}`,success:!0}]}}onDone(){Yn.Reload()}}function APe(e,t){window.addEventListener("error",r=>{var u,s;const n=((u=r==null?void 0:r.target)==null?void 0:u.src)||((s=r==null?void 0:r.target)==null?void 0:s.href);if(!n)return;const i=c=>(c==null?void 0:c[1])??"Unknown Chunk",a=n.match(CPe);if(a&&n.includes("/scripts/")&&n.includes(".chunk.js")){vr.throw(new nJ(e,i(a),t));return}const o=n.match(xPe);if(o&&n.includes("/css/")&&n.includes(".chunk.css")){vr.throw(new nJ(e,i(o),t));return}},!0)}const cO="shared.videoNotFoundError";class OPe extends Mf{constructor(){super(gr.getPhrase(cO,"title"))}get name(){return"VideoNotFoundError"}get heading(){return gr.getPhrase(cO,"heading")}get description(){return gr.getPhrase(cO,"description")}}function IPe(e){Qs.getInstance(qp.ALERT).createAlert({heading:iP.Fail,type:Xs.Fail,message:e.message})}function iJ(e){$r.Radio.channel("error:view").replyOnce("current:error",()=>e),Kn.trigger({application:dr.DEFAULT,action:Jr.Default.NOT_FOUND})}function PPe(e){$r.Radio.channel("error:view").replyOnce("current:error",()=>e),Kn.trigger({application:dr.DEFAULT,action:Jr.Default.NO_CLASSROOMS_ERROR})}function aJ(e){$r.Radio.channel("error:view").replyOnce("current:error",()=>e),Kn.trigger({application:dr.DEFAULT,action:Jr.Default.ERROR})}function DPe(e){$r.Radio.channel("error:view").replyOnce("current:error",()=>e),Kn.trigger({application:dr.DEFAULT,action:Jr.Default.DIALOG_ERROR})}function kPe(e,t){e.registerErrorHandler($f,DPe).registerErrorHandler(Mae,IPe).registerErrorHandler(Nae,iJ).registerErrorHandler(sf,aJ).registerErrorHandler(OPe,iJ).registerErrorHandler(kae,PPe).registerErrorHandler(Mf,aJ),APe("dark"),t()}class NPe extends ywe{constructor(){super(...arguments),this.regionRoots={},this.isReactComponentRendered={}}isReactComponent(t){return or&&or.isValidElement(t)}showChildView(t,r,n){if(this.isReactComponent(r)){this.showChildReactComponent(t,r),this.isReactComponentRendered[t]=!0;return}this.isReactComponentRendered[t]&&this.unmountRoot(t),super.showChildView(t,r,n),this.isReactComponentRendered[t]=!1}showChildReactComponent(t,r){if(this.isAttached()){this.renderChildReactComponent(t,r);return}this.listenToOnce(this,"attach",()=>this.renderChildReactComponent(t,r))}renderChildReactComponent(t,r){const n=this.getRegion(t),i=this.$el.find(n.el);!i||!i.length||(n.trigger("before:show"),this.regionRoots[t]||(this.regionRoots[t]=Lk.createRoot(i[0])),this.regionRoots[t].render(r),window.setTimeout(()=>n.trigger("show"),0),this.listenToOnce(this,`unmount:${t}`,()=>this.unmountRoot(t)),this.listenToOnce(this,"before:destroy",()=>this.unmountRoot(t)))}unmountRoot(t){this.regionRoots[t]&&(this.regionRoots[t].unmount(),delete this.regionRoots[t])}wrapWithStore(t){return j.jsx(Jie,{store:this.options.store,children:t})}}var fO,oJ;function LPe(){if(oJ)return fO;oJ=1;var e=typeof Element<"u",t=typeof Map=="function",r=typeof Set=="function",n=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function i(a,o){if(a===o)return!0;if(a&&o&&typeof a=="object"&&typeof o=="object"){if(a.constructor!==o.constructor)return!1;var u,s,c;if(Array.isArray(a)){if(u=a.length,u!=o.length)return!1;for(s=u;s--!==0;)if(!i(a[s],o[s]))return!1;return!0}var d;if(t&&a instanceof Map&&o instanceof Map){if(a.size!==o.size)return!1;for(d=a.entries();!(s=d.next()).done;)if(!o.has(s.value[0]))return!1;for(d=a.entries();!(s=d.next()).done;)if(!i(s.value[1],o.get(s.value[0])))return!1;return!0}if(r&&a instanceof Set&&o instanceof Set){if(a.size!==o.size)return!1;for(d=a.entries();!(s=d.next()).done;)if(!o.has(s.value[0]))return!1;return!0}if(n&&ArrayBuffer.isView(a)&&ArrayBuffer.isView(o)){if(u=a.length,u!=o.length)return!1;for(s=u;s--!==0;)if(a[s]!==o[s])return!1;return!0}if(a.constructor===RegExp)return a.source===o.source&&a.flags===o.flags;if(a.valueOf!==Object.prototype.valueOf&&typeof a.valueOf=="function"&&typeof o.valueOf=="function")return a.valueOf()===o.valueOf();if(a.toString!==Object.prototype.toString&&typeof a.toString=="function"&&typeof o.toString=="function")return a.toString()===o.toString();if(c=Object.keys(a),u=c.length,u!==Object.keys(o).length)return!1;for(s=u;s--!==0;)if(!Object.prototype.hasOwnProperty.call(o,c[s]))return!1;if(e&&a instanceof Element)return!1;for(s=u;s--!==0;)if(!((c[s]==="_owner"||c[s]==="__v"||c[s]==="__o")&&a.$$typeof)&&!i(a[c[s]],o[c[s]]))return!1;return!0}return a!==a&&o!==o}return fO=function(o,u){try{return i(o,u)}catch(s){if((s.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw s}},fO}var MPe=LPe();const $Pe=jn(MPe);var dO,sJ;function FPe(){return sJ||(sJ=1,dO=function(t,r,n,i){var a=n?n.call(i,t,r):void 0;if(a!==void 0)return!!a;if(t===r)return!0;if(typeof t!="object"||!t||typeof r!="object"||!r)return!1;var o=Object.keys(t),u=Object.keys(r);if(o.length!==u.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(r),c=0;c<o.length;c++){var d=o[c];if(!s(d))return!1;var h=t[d],v=r[d];if(a=n?n.call(i,h,v,d):void 0,a===!1||a===void 0&&h!==v)return!1}return!0}),dO}var jPe=FPe();const UPe=jn(jPe);function Ji(){return Ji=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ji.apply(this,arguments)}function $k(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,aP(e,t)}function aP(e,t){return aP=Object.setPrototypeOf||function(r,n){return r.__proto__=n,r},aP(e,t)}function uJ(e,t){if(e==null)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)t.indexOf(r=a[n])>=0||(i[r]=e[r]);return i}var jr={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},qPe={rel:["amphtml","canonical","alternate"]},VPe={type:["application/ld+json"]},BPe={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},lJ=Object.keys(jr).map(function(e){return jr[e]}),Ey={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},HPe=Object.keys(Ey).reduce(function(e,t){return e[Ey[t]]=t,e},{}),jd=function(e,t){for(var r=e.length-1;r>=0;r-=1){var n=e[r];if(Object.prototype.hasOwnProperty.call(n,t))return n[t]}return null},zPe=function(e){var t=jd(e,jr.TITLE),r=jd(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),r&&t)return r.replace(/%s/g,function(){return t});var n=jd(e,"defaultTitle");return t||n||void 0},WPe=function(e){return jd(e,"onChangeClientState")||function(){}},hO=function(e,t){return t.filter(function(r){return r[e]!==void 0}).map(function(r){return r[e]}).reduce(function(r,n){return Ji({},r,n)},{})},GPe=function(e,t){return t.filter(function(r){return r[jr.BASE]!==void 0}).map(function(r){return r[jr.BASE]}).reverse().reduce(function(r,n){if(!r.length)for(var i=Object.keys(n),a=0;a<i.length;a+=1){var o=i[a].toLowerCase();if(e.indexOf(o)!==-1&&n[o])return r.concat(n)}return r},[])},sv=function(e,t,r){var n={};return r.filter(function(i){return!!Array.isArray(i[e])||(i[e]!==void 0&&console&&typeof console.warn=="function"&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof i[e]+'"'),!1)}).map(function(i){return i[e]}).reverse().reduce(function(i,a){var o={};a.filter(function(h){for(var v,g=Object.keys(h),m=0;m<g.length;m+=1){var y=g[m],S=y.toLowerCase();t.indexOf(S)===-1||v==="rel"&&h[v].toLowerCase()==="canonical"||S==="rel"&&h[S].toLowerCase()==="stylesheet"||(v=S),t.indexOf(y)===-1||y!=="innerHTML"&&y!=="cssText"&&y!=="itemprop"||(v=y)}if(!v||!h[v])return!1;var w=h[v].toLowerCase();return n[v]||(n[v]={}),o[v]||(o[v]={}),!n[v][w]&&(o[v][w]=!0,!0)}).reverse().forEach(function(h){return i.push(h)});for(var u=Object.keys(o),s=0;s<u.length;s+=1){var c=u[s],d=Ji({},n[c],o[c]);n[c]=d}return i},[]).reverse()},YPe=function(e,t){if(Array.isArray(e)&&e.length){for(var r=0;r<e.length;r+=1)if(e[r][t])return!0}return!1},Hoe=function(e){return Array.isArray(e)?e.join(""):e},vO=function(e,t){return Array.isArray(e)?e.reduce(function(r,n){return(function(i,a){for(var o=Object.keys(i),u=0;u<o.length;u+=1)if(a[o[u]]&&a[o[u]].includes(i[o[u]]))return!0;return!1})(n,t)?r.priority.push(n):r.default.push(n),r},{priority:[],default:[]}):{default:e}},cJ=function(e,t){var r;return Ji({},e,((r={})[t]=void 0,r))},KPe=[jr.NOSCRIPT,jr.SCRIPT,jr.STYLE],pO=function(e,t){return t===void 0&&(t=!0),t===!1?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},fJ=function(e){return Object.keys(e).reduce(function(t,r){var n=e[r]!==void 0?r+'="'+e[r]+'"':""+r;return t?t+" "+n:n},"")},dJ=function(e,t){return t===void 0&&(t={}),Object.keys(e).reduce(function(r,n){return r[Ey[n]||n]=e[n],r},t)},Gm=function(e,t){return t.map(function(r,n){var i,a=((i={key:n})["data-rh"]=!0,i);return Object.keys(r).forEach(function(o){var u=Ey[o]||o;u==="innerHTML"||u==="cssText"?a.dangerouslySetInnerHTML={__html:r.innerHTML||r.cssText}:a[u]=r[o]}),or.createElement(e,a)})},Cs=function(e,t,r){switch(e){case jr.TITLE:return{toComponent:function(){return i=t.titleAttributes,(a={key:n=t.title})["data-rh"]=!0,o=dJ(i,a),[or.createElement(jr.TITLE,o,n)];var n,i,a,o},toString:function(){return(function(n,i,a,o){var u=fJ(a),s=Hoe(i);return u?"<"+n+' data-rh="true" '+u+">"+pO(s,o)+"</"+n+">":"<"+n+' data-rh="true">'+pO(s,o)+"</"+n+">"})(e,t.title,t.titleAttributes,r)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return dJ(t)},toString:function(){return fJ(t)}};default:return{toComponent:function(){return Gm(e,t)},toString:function(){return(function(n,i,a){return i.reduce(function(o,u){var s=Object.keys(u).filter(function(h){return!(h==="innerHTML"||h==="cssText")}).reduce(function(h,v){var g=u[v]===void 0?v:v+'="'+pO(u[v],a)+'"';return h?h+" "+g:g},""),c=u.innerHTML||u.cssText||"",d=KPe.indexOf(n)===-1;return o+"<"+n+' data-rh="true" '+s+(d?"/>":">"+c+"</"+n+">")},"")})(e,t,r)}}}},oP=function(e){var t=e.baseTag,r=e.bodyAttributes,n=e.encode,i=e.htmlAttributes,a=e.noscriptTags,o=e.styleTags,u=e.title,s=u===void 0?"":u,c=e.titleAttributes,d=e.linkTags,h=e.metaTags,v=e.scriptTags,g={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var m=(function(y){var S=y.linkTags,w=y.scriptTags,b=y.encode,A=vO(y.metaTags,BPe),R=vO(S,qPe),x=vO(w,VPe);return{priorityMethods:{toComponent:function(){return[].concat(Gm(jr.META,A.priority),Gm(jr.LINK,R.priority),Gm(jr.SCRIPT,x.priority))},toString:function(){return Cs(jr.META,A.priority,b)+" "+Cs(jr.LINK,R.priority,b)+" "+Cs(jr.SCRIPT,x.priority,b)}},metaTags:A.default,linkTags:R.default,scriptTags:x.default}})(e);g=m.priorityMethods,d=m.linkTags,h=m.metaTags,v=m.scriptTags}return{priority:g,base:Cs(jr.BASE,t,n),bodyAttributes:Cs("bodyAttributes",r,n),htmlAttributes:Cs("htmlAttributes",i,n),link:Cs(jr.LINK,d,n),meta:Cs(jr.META,h,n),noscript:Cs(jr.NOSCRIPT,a,n),script:Cs(jr.SCRIPT,v,n),style:Cs(jr.STYLE,o,n),title:Cs(jr.TITLE,{title:s,titleAttributes:c},n)}},pm=[],sP=function(e,t){var r=this;t===void 0&&(t=typeof document<"u"),this.instances=[],this.value={setHelmet:function(n){r.context.helmet=n},helmetInstances:{get:function(){return r.canUseDOM?pm:r.instances},add:function(n){(r.canUseDOM?pm:r.instances).push(n)},remove:function(n){var i=(r.canUseDOM?pm:r.instances).indexOf(n);(r.canUseDOM?pm:r.instances).splice(i,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=oP({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},zoe=or.createContext({}),XPe=Xr.shape({setHelmet:Xr.func,helmetInstances:Xr.shape({get:Xr.func,add:Xr.func,remove:Xr.func})}),QPe=typeof document<"u",Dd=(function(e){function t(r){var n;return(n=e.call(this,r)||this).helmetData=new sP(n.props.context,t.canUseDOM),n}return $k(t,e),t.prototype.render=function(){return or.createElement(zoe.Provider,{value:this.helmetData.value},this.props.children)},t})(he.Component);Dd.canUseDOM=QPe,Dd.propTypes={context:Xr.shape({helmet:Xr.shape()}),children:Xr.node.isRequired},Dd.defaultProps={context:{}},Dd.displayName="HelmetProvider";var Sd=function(e,t){var r,n=document.head||document.querySelector(jr.HEAD),i=n.querySelectorAll(e+"[data-rh]"),a=[].slice.call(i),o=[];return t&&t.length&&t.forEach(function(u){var s=document.createElement(e);for(var c in u)Object.prototype.hasOwnProperty.call(u,c)&&(c==="innerHTML"?s.innerHTML=u.innerHTML:c==="cssText"?s.styleSheet?s.styleSheet.cssText=u.cssText:s.appendChild(document.createTextNode(u.cssText)):s.setAttribute(c,u[c]===void 0?"":u[c]));s.setAttribute("data-rh","true"),a.some(function(d,h){return r=h,s.isEqualNode(d)})?a.splice(r,1):o.push(s)}),a.forEach(function(u){return u.parentNode.removeChild(u)}),o.forEach(function(u){return n.appendChild(u)}),{oldTags:a,newTags:o}},gO=function(e,t){var r=document.getElementsByTagName(e)[0];if(r){for(var n=r.getAttribute("data-rh"),i=n?n.split(","):[],a=[].concat(i),o=Object.keys(t),u=0;u<o.length;u+=1){var s=o[u],c=t[s]||"";r.getAttribute(s)!==c&&r.setAttribute(s,c),i.indexOf(s)===-1&&i.push(s);var d=a.indexOf(s);d!==-1&&a.splice(d,1)}for(var h=a.length-1;h>=0;h-=1)r.removeAttribute(a[h]);i.length===a.length?r.removeAttribute("data-rh"):r.getAttribute("data-rh")!==o.join(",")&&r.setAttribute("data-rh",o.join(","))}},hJ=function(e,t){var r=e.baseTag,n=e.htmlAttributes,i=e.linkTags,a=e.metaTags,o=e.noscriptTags,u=e.onChangeClientState,s=e.scriptTags,c=e.styleTags,d=e.title,h=e.titleAttributes;gO(jr.BODY,e.bodyAttributes),gO(jr.HTML,n),(function(y,S){y!==void 0&&document.title!==y&&(document.title=Hoe(y)),gO(jr.TITLE,S)})(d,h);var v={baseTag:Sd(jr.BASE,r),linkTags:Sd(jr.LINK,i),metaTags:Sd(jr.META,a),noscriptTags:Sd(jr.NOSCRIPT,o),scriptTags:Sd(jr.SCRIPT,s),styleTags:Sd(jr.STYLE,c)},g={},m={};Object.keys(v).forEach(function(y){var S=v[y],w=S.newTags,b=S.oldTags;w.length&&(g[y]=w),b.length&&(m[y]=v[y].oldTags)}),t&&t(),u(e,g,m)},uv=null,wy=(function(e){function t(){for(var n,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return(n=e.call.apply(e,[this].concat(a))||this).rendered=!1,n}$k(t,e);var r=t.prototype;return r.shouldComponentUpdate=function(n){return!UPe(n,this.props)},r.componentDidUpdate=function(){this.emitChange()},r.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},r.emitChange=function(){var n,i,a=this.props.context,o=a.setHelmet,u=null,s=(n=a.helmetInstances.get().map(function(c){var d=Ji({},c.props);return delete d.context,d}),{baseTag:GPe(["href"],n),bodyAttributes:hO("bodyAttributes",n),defer:jd(n,"defer"),encode:jd(n,"encodeSpecialCharacters"),htmlAttributes:hO("htmlAttributes",n),linkTags:sv(jr.LINK,["rel","href"],n),metaTags:sv(jr.META,["name","charset","http-equiv","property","itemprop"],n),noscriptTags:sv(jr.NOSCRIPT,["innerHTML"],n),onChangeClientState:WPe(n),scriptTags:sv(jr.SCRIPT,["src","innerHTML"],n),styleTags:sv(jr.STYLE,["cssText"],n),title:zPe(n),titleAttributes:hO("titleAttributes",n),prioritizeSeoTags:YPe(n,"prioritizeSeoTags")});Dd.canUseDOM?(i=s,uv&&cancelAnimationFrame(uv),i.defer?uv=requestAnimationFrame(function(){hJ(i,function(){uv=null})}):(hJ(i),uv=null)):oP&&(u=oP(s)),o(u)},r.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},r.render=function(){return this.init(),null},t})(he.Component);wy.propTypes={context:XPe.isRequired},wy.displayName="HelmetDispatcher";var JPe=["children"],ZPe=["children"],Ym=(function(e){function t(){return e.apply(this,arguments)||this}$k(t,e);var r=t.prototype;return r.shouldComponentUpdate=function(n){return!$Pe(cJ(this.props,"helmetData"),cJ(n,"helmetData"))},r.mapNestedChildrenToProps=function(n,i){if(!i)return null;switch(n.type){case jr.SCRIPT:case jr.NOSCRIPT:return{innerHTML:i};case jr.STYLE:return{cssText:i};default:throw new Error("<"+n.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},r.flattenArrayTypeChildren=function(n){var i,a=n.child,o=n.arrayTypeChildren;return Ji({},o,((i={})[a.type]=[].concat(o[a.type]||[],[Ji({},n.newChildProps,this.mapNestedChildrenToProps(a,n.nestedChildren))]),i))},r.mapObjectTypeChildren=function(n){var i,a,o=n.child,u=n.newProps,s=n.newChildProps,c=n.nestedChildren;switch(o.type){case jr.TITLE:return Ji({},u,((i={})[o.type]=c,i.titleAttributes=Ji({},s),i));case jr.BODY:return Ji({},u,{bodyAttributes:Ji({},s)});case jr.HTML:return Ji({},u,{htmlAttributes:Ji({},s)});default:return Ji({},u,((a={})[o.type]=Ji({},s),a))}},r.mapArrayTypeChildrenToProps=function(n,i){var a=Ji({},i);return Object.keys(n).forEach(function(o){var u;a=Ji({},a,((u={})[o]=n[o],u))}),a},r.warnOnInvalidChildren=function(n,i){return MQ(lJ.some(function(a){return n.type===a}),typeof n.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+lJ.join(", ")+" are allowed. Helmet does not support rendering <"+n.type+"> elements. Refer to our API for more information."),MQ(!i||typeof i=="string"||Array.isArray(i)&&!i.some(function(a){return typeof a!="string"}),"Helmet expects a string as a child of <"+n.type+">. Did you forget to wrap your children in braces? ( <"+n.type+">{``}</"+n.type+"> ) Refer to our API for more information."),!0},r.mapChildrenToProps=function(n,i){var a=this,o={};return or.Children.forEach(n,function(u){if(u&&u.props){var s=u.props,c=s.children,d=uJ(s,JPe),h=Object.keys(d).reduce(function(g,m){return g[HPe[m]||m]=d[m],g},{}),v=u.type;switch(typeof v=="symbol"?v=v.toString():a.warnOnInvalidChildren(u,c),v){case jr.FRAGMENT:i=a.mapChildrenToProps(c,i);break;case jr.LINK:case jr.META:case jr.NOSCRIPT:case jr.SCRIPT:case jr.STYLE:o=a.flattenArrayTypeChildren({child:u,arrayTypeChildren:o,newChildProps:h,nestedChildren:c});break;default:i=a.mapObjectTypeChildren({child:u,newProps:i,newChildProps:h,nestedChildren:c})}}}),this.mapArrayTypeChildrenToProps(o,i)},r.render=function(){var n=this.props,i=n.children,a=uJ(n,ZPe),o=Ji({},a),u=a.helmetData;return i&&(o=this.mapChildrenToProps(i,o)),!u||u instanceof sP||(u=new sP(u.context,u.instances)),u?or.createElement(wy,Ji({},o,{context:u.value,helmetData:void 0})):or.createElement(zoe.Consumer,null,function(s){return or.createElement(wy,Ji({},o,{context:s}))})},t})(he.Component);Ym.propTypes={base:Xr.object,bodyAttributes:Xr.object,children:Xr.oneOfType([Xr.arrayOf(Xr.node),Xr.node]),defaultTitle:Xr.string,defer:Xr.bool,encodeSpecialCharacters:Xr.bool,htmlAttributes:Xr.object,link:Xr.arrayOf(Xr.object),meta:Xr.arrayOf(Xr.object),noscript:Xr.arrayOf(Xr.object),onChangeClientState:Xr.func,script:Xr.arrayOf(Xr.object),style:Xr.arrayOf(Xr.object),title:Xr.string,titleAttributes:Xr.object,titleTemplate:Xr.string,prioritizeSeoTags:Xr.bool,helmetData:Xr.object},Ym.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},Ym.displayName="Helmet";const Woe=or.createContext({setPageMetadata:e=>e,revertPageMetadata:()=>{},hasPageMetadataChanged:()=>!1,setFaq:()=>{},hasProvider:!1});function vJ(e,t){return!Ui.isEqual(e,t)}function eDe(){return or.useContext(Woe)}const tDe=e=>{const[t,r]=or.useState({}),[n,i]=or.useState({}),[a,o]=or.useState(null),{title:u,description:s,canonicalLink:c,jsonLd:d,allowIndexing:h,hrefLang:v,preload:g}=t;function m(b){vJ(t,n)&&i(t),r(b)}function y(){r(n)}function S(b){return vJ(b,t)}function w(b){o(b)}return j.jsx(Woe.Provider,{value:{setPageMetadata:m,revertPageMetadata:y,hasPageMetadataChanged:S,setFaq:w,hasProvider:!0},children:j.jsxs(Dd,{children:[j.jsxs(Ym,{children:[u&&j.jsx("title",{children:u}),s&&j.jsx("meta",{name:"description",content:s}),c&&j.jsx("link",{rel:"canonical",href:c}),d&&j.jsx("script",{type:"application/ld+json",children:JSON.stringify(d)}),a&&j.jsx("script",{type:"application/ld+json",children:JSON.stringify(a)}),!h&&j.jsx("meta",{name:"robots",content:"noindex"}),v&&(v==null?void 0:v.map((b,A)=>j.jsx("link",{rel:"alternate",hrefLang:b.hrefLang,href:b.canonicalLink},A))),g&&(g==null?void 0:g.map((b,A)=>{const R={};return b.crossorigin&&(R.crossOrigin="true"),b.media&&(R.media=b.media),b.type&&(R.type=b.type),j.jsx("link",{rel:"preload",href:b.href,as:b.as,...R},`preload-${A}`)}))]}),e.children]})})};class mO extends or.Component{constructor(t){super(t),this.currentErrorHandled=!1,this.state={error:null}}static getDerivedStateFromError(t){return{error:t}}componentDidCatch(t,r){this.currentErrorHandled||(this.currentErrorHandled=!0,window.trackJs&&window.trackJs.console.error(t.message,{errorInfo:r}),this.props.throwError&&(vr.throw(new this.props.throwError(t.message)),window.setTimeout(()=>{this.currentErrorHandled=!1,this.setState({error:null})},500)))}render(){const{error:t}=this.state;if(t&&this.props.renderError){const r=this.props.renderError;return j.jsx(r,{})}return t||!this.props.children?j.jsx(j.Fragment,{}):this.props.children}}function ts(e){const[t,r]=he.useState(window.matchMedia(e).matches);return he.useEffect(()=>{const n=window.matchMedia(e);n.matches!==t&&r(n.matches);const i=()=>r(n.matches);return n.addListener(i),()=>n.removeListener(i)},[e]),t}const Goe=or.createContext({}),rDe=e=>{const t=ts("(max-width: 575.98px)"),r=ts("(min-width: 576px) and (max-width: 767.98px)"),n=ts("(min-width: 768px) and (max-width: 991.98px)"),i=ts("(min-width: 992px) and (max-width: 1199.98px)"),a=ts("(min-width: 1200px) and (max-width: 1439.98px)"),o=ts("(min-width: 1440px)"),u=or.useMemo(()=>({xs:t,sm:r,md:n,lg:i,xl:a,xxl:o}),[t,r,n,i,a,o]);return j.jsx(Goe.Provider,{value:u,children:e.children})},Yoe=he.createContext(void 0),nDe=({children:e})=>{const[t,r]=he.useState(),[n,i]=he.useState(!1),[a,o]=he.useState(),d={getDataUrlAndResetContext:()=>{const h=t;return r(null),h},setDataUrl:r,imageUploaded:n,getImage:()=>{const h=a;return o(null),i(!1),h},setImage:h=>{o(h),i(!0)}};return j.jsx(Yoe.Provider,{value:d,children:e})};var fa=(e=>(e.XS="(max-width: 575px)",e.SM="(min-width: 576px) and (max-width: 767px)",e.MD="(min-width: 768px) and (max-width: 991px)",e.LG="(min-width: 992px)",e.XL="(min-width: 1200px)",e.XXL="(min-width: 1440px)",e.SMDown="(max-width: 576px)",e.MDDown="(max-width: 768px)",e.LGDown="(max-width: 992px)",e.XLDown="(max-width: 1200px)",e))(fa||{});const yO="shared.unspecifiedDialogError";class iDe extends $f{constructor(){super("Unspecified dialog error"),this.btnVariant="dark"}get name(){return"UnspecifiedDialogError"}get dialogOptions(){return{title:gr.getPhrase(yO,"title"),text:gr.getPhrase(yO,"body"),buttons:[{text:gr.getPhrase(yO,"close"),className:`btn btn-${this.btnVariant}`,success:!0}]}}}function aDe(){const e=ts(fa.XS),t=ts(fa.SM),r=ts(fa.MD),n=ts(fa.LG),i=ts(fa.XL),a=ts(fa.XXL);let o=fa.LG;return e&&(o=fa.XS),t&&(o=fa.SM),r&&(o=fa.MD),n&&(o=fa.LG),i&&(o=fa.XL),a&&(o=fa.XXL),o}function oDe(...e){if(!e.length)return"";const t=e.filter(r=>!!r);return t.length?t.join(" "):""}const sDe="_iconButton_1no8y_1",uDe="_iconWithText_1no8y_5",lDe="_svg_1no8y_9",cDe="_iconOnly_1no8y_21",fDe="_iconBorder_1no8y_30",lv={iconButton:sDe,iconWithText:uDe,svg:lDe,iconOnly:cDe,iconBorder:fDe};function _O(e){return e.tooltip?j.jsx(cl,{title:e.tooltip,spanHack:!0,spanHackClassName:e.showBorder?"me-2":"",children:e.children}):j.jsx(j.Fragment,{children:e.children})}function uP(e){let t=`${e.className} ${lv.iconButton}`;he.Children.toArray(e.children).length?t+=` ${lv.iconWithText}`:!e.showBorder&&!e.customSize&&(t+=` ${lv.iconOnly}`),e.showBorder&&(t+=" "+oDe(lv.iconBorder,"btn btn-outline-dark",!e.tooltip&&"me-2")),e.disabled&&(t+=" disabled");const r=j.jsx(Ri,{svg:e.svg,className:`svg-container ${lv.svg}`,size:e.svgSize});function n(a){e.analyticsData&&e.analyticsOptions&&wa.logUserAction(e.analyticsData,e.analyticsOptions),gi.isFunction(e.onClick)&&e.onClick(a)}function i(a){a.preventDefault(),e.analyticsData&&e.analyticsOptions&&wa.logUserAction(e.analyticsData,e.analyticsOptions),gi.isFunction(e.onClick)&&e.onClick(a),Yn.PageLoad(e.href,e.openInNewTab)}return!e.appLink&&!e.href?j.jsx(_O,{...e,children:j.jsxs("button",{type:"button",className:t,"aria-label":e.ariaLabel,onClick:n,disabled:e.disabled,role:e.role,children:[r,e.children]})}):e.href?j.jsx(_O,{...e,children:j.jsxs("a",{className:t,href:e.href,onClick:i,"aria-label":e.ariaLabel,role:e.role,children:[r,e.children]})}):j.jsx(_O,{...e,children:j.jsxs(os,{appLink:e.appLink,className:t,onClick:e.onClick,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,openInNewTab:e.openInNewTab,disabled:e.disabled,ariaLabel:e.ariaLabel,role:e.role,children:[r,e.children]})})}function dDe(e){const t=e.showSpinner?j.jsx(Wp,{as:"span",animation:"border",role:"status",size:"sm"}):e.children;if(e.tooltip&&e.svg){let n=e.className??"";return e.disabled&&!e.appLink&&(n+=" pointer-events-none"),j.jsx(cl,{title:e.tooltip,spanHack:!0,children:j.jsx(uP,{appLink:e.appLink,href:e.href,svg:e.svg,svgSize:e.svgSize,onClick:e.onClick,className:n,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,openInNewTab:e.openInNewTab,disabled:e.disabled,ariaLabel:e.tooltip,children:t})})}if(e.svg)return j.jsx(uP,{onClick:e.onClick,appLink:e.appLink,href:e.href,svg:e.svg,svgSize:e.svgSize,className:e.className,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,openInNewTab:e.openInNewTab,disabled:e.disabled,ariaLabel:e.ariaLabel,children:t});if(e.tooltip&&e.appLink)return j.jsx(cl,{title:e.tooltip,spanHack:!0,children:j.jsx(os,{onClick:e.onClick,appLink:e.appLink,className:e.className,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,openInNewTab:e.openInNewTab,disabled:e.disabled,ariaLabel:e.tooltip,children:t})});if(e.appLink)return j.jsx(os,{onClick:e.onClick,appLink:e.appLink,className:e.className,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,openInNewTab:e.openInNewTab,disabled:e.disabled,ariaLabel:e.ariaLabel,children:t});function r(n){e.analyticsData&&e.analyticsOptions&&wa.logUserAction(e.analyticsData,e.analyticsOptions),gi.isFunction(e.onClick)&&e.onClick(n)}return e.tooltip?j.jsx(cl,{title:e.tooltip,spanHack:!0,children:j.jsx("button",{onClick:r,className:`${e.className??""}${e.disabled?" pointer-events-none":""}`,disabled:e.disabled,"aria-label":typeof t=="string"?t:e.ariaLabel,children:t})}):j.jsx("button",{onClick:r,className:e.className,disabled:e.disabled,"aria-label":typeof t=="string"?t:e.ariaLabel,children:t})}const hDe=(e,t,r,n=[])=>{const i=typeof e=="string"?$r.Radio.channel(e):e;he.useEffect(()=>{if(e)return i.on(t,r),()=>{e&&i.off(t,r)}},n)};function Koe(e){or.useEffect(()=>{e&&t(Kn.getCurrentAppLink(),e)},[e]);function t(n,i){const a=Kn.getHref(n);wa.logUserAction({title:i,url:a,isAddressable:!!a,isError:n.action==="error",appLink:r(n)},{actionType:Bt.PageView,entity:xn.Url,location:ka.Global})}function r(n){var i;return{...n,args:(i=n.args)==null?void 0:i.reduce((a,o,u)=>(a[`arg${u}`]=o,a),{})}}}function vDe(){return j.jsx("div",{className:"text-center p-5",children:j.jsx(Wp,{as:"div",animation:"border",role:"status"})})}Xoe.defaultProps={closeButton:!0,bodyClassName:"",dialogClassName:"",size:"md",closeOnNavigate:!0};function Xoe(e){var n;Koe(e.title);const t=(i,a)=>{!e.closeOnNavigate||!a.isAppRoute||e.closePopup()};hDe($n.SHELL,Fn.ROUTE,t,[e.closePopup]);const r=(n=e.headerButtons)!=null&&n.length?e.headerButtons.map((i,a)=>j.jsx(dDe,{...i},a)):j.jsx(j.Fragment,{});return j.jsxs(fm,{show:!0,onHide:e.closePopup,onEntered:e.onEntered,size:e.size==="md"?null:e.size,contentClassName:e.contentClassName,dialogClassName:e.dialogClassName,centered:e.centered,backdrop:e.backdrop,container:document.getElementById("dialog-region"),restoreFocus:!0,animation:e.animation,children:[!!e.title&&!e.hideTitle&&j.jsxs(fm.Header,{className:"d-flex align-items-center bg-white",closeButton:e.closeButton,children:[j.jsx(fm.Title,{as:"h2",className:"h4 flex-grow-1 text-truncate",children:e.title}),r]}),e.showLoadingSpinner?j.jsx(vDe,{}):j.jsx(fm.Body,{className:e.bodyClassName,children:e.children})]})}var SO,pJ;function pDe(){if(pJ)return SO;pJ=1;var e=Array.isArray,t=Object.keys,r=Object.prototype.hasOwnProperty,n=typeof Element<"u";function i(a,o){if(a===o)return!0;if(a&&o&&typeof a=="object"&&typeof o=="object"){var u=e(a),s=e(o),c,d,h;if(u&&s){if(d=a.length,d!=o.length)return!1;for(c=d;c--!==0;)if(!i(a[c],o[c]))return!1;return!0}if(u!=s)return!1;var v=a instanceof Date,g=o instanceof Date;if(v!=g)return!1;if(v&&g)return a.getTime()==o.getTime();var m=a instanceof RegExp,y=o instanceof RegExp;if(m!=y)return!1;if(m&&y)return a.toString()==o.toString();var S=t(a);if(d=S.length,d!==t(o).length)return!1;for(c=d;c--!==0;)if(!r.call(o,S[c]))return!1;if(n&&a instanceof Element&&o instanceof Element)return a===o;for(c=d;c--!==0;)if(h=S[c],!(h==="_owner"&&a.$$typeof)&&!i(a[h],o[h]))return!1;return!0}return a!==a&&o!==o}return SO=function(o,u){try{return i(o,u)}catch(s){if(s.message&&s.message.match(/stack|recursion/i)||s.number===-2146828260)return console.warn("Warning: react-fast-compare does not handle circular references.",s.name,s.message),!1;throw s}},SO}var gDe=pDe();const Yl=jn(gDe);var mDe=function(t){return yDe(t)&&!_De(t)};function yDe(e){return!!e&&typeof e=="object"}function _De(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||wDe(e)}var SDe=typeof Symbol=="function"&&Symbol.for,EDe=SDe?Symbol.for("react.element"):60103;function wDe(e){return e.$$typeof===EDe}function bDe(e){return Array.isArray(e)?[]:{}}function by(e,t){return t.clone!==!1&&t.isMergeableObject(e)?ap(bDe(e),e,t):e}function TDe(e,t,r){return e.concat(t).map(function(n){return by(n,r)})}function RDe(e,t,r){var n={};return r.isMergeableObject(e)&&Object.keys(e).forEach(function(i){n[i]=by(e[i],r)}),Object.keys(t).forEach(function(i){!r.isMergeableObject(t[i])||!e[i]?n[i]=by(t[i],r):n[i]=ap(e[i],t[i],r)}),n}function ap(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||TDe,r.isMergeableObject=r.isMergeableObject||mDe;var n=Array.isArray(t),i=Array.isArray(e),a=n===i;return a?n?r.arrayMerge(e,t,r):RDe(e,t,r):by(t,r)}ap.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return ap(n,i,r)},{})};var lP=ap,Qoe=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis,xDe=typeof self=="object"&&self&&self.Object===Object&&self,ku=Qoe||xDe||Function("return this")(),ac=ku.Symbol,Joe=Object.prototype,CDe=Joe.hasOwnProperty,ADe=Joe.toString,cv=ac?ac.toStringTag:void 0;function ODe(e){var t=CDe.call(e,cv),r=e[cv];try{e[cv]=void 0;var n=!0}catch{}var i=ADe.call(e);return n&&(t?e[cv]=r:delete e[cv]),i}var IDe=Object.prototype,PDe=IDe.toString;function DDe(e){return PDe.call(e)}var kDe="[object Null]",NDe="[object Undefined]",gJ=ac?ac.toStringTag:void 0;function jf(e){return e==null?e===void 0?NDe:kDe:gJ&&gJ in Object(e)?ODe(e):DDe(e)}function Zoe(e,t){return function(r){return e(t(r))}}var Fk=Zoe(Object.getPrototypeOf,Object);function Uf(e){return e!=null&&typeof e=="object"}var LDe="[object Object]",MDe=Function.prototype,$De=Object.prototype,ese=MDe.toString,FDe=$De.hasOwnProperty,jDe=ese.call(Object);function mJ(e){if(!Uf(e)||jf(e)!=LDe)return!1;var t=Fk(e);if(t===null)return!0;var r=FDe.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&ese.call(r)==jDe}function UDe(){this.__data__=[],this.size=0}function tse(e,t){return e===t||e!==e&&t!==t}function f0(e,t){for(var r=e.length;r--;)if(tse(e[r][0],t))return r;return-1}var qDe=Array.prototype,VDe=qDe.splice;function BDe(e){var t=this.__data__,r=f0(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():VDe.call(t,r,1),--this.size,!0}function HDe(e){var t=this.__data__,r=f0(t,e);return r<0?void 0:t[r][1]}function zDe(e){return f0(this.__data__,e)>-1}function WDe(e,t){var r=this.__data__,n=f0(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function El(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}El.prototype.clear=UDe;El.prototype.delete=BDe;El.prototype.get=HDe;El.prototype.has=zDe;El.prototype.set=WDe;function GDe(){this.__data__=new El,this.size=0}function YDe(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function KDe(e){return this.__data__.get(e)}function XDe(e){return this.__data__.has(e)}function Gp(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var QDe="[object AsyncFunction]",JDe="[object Function]",ZDe="[object GeneratorFunction]",eke="[object Proxy]";function rse(e){if(!Gp(e))return!1;var t=jf(e);return t==JDe||t==ZDe||t==QDe||t==eke}var EO=ku["__core-js_shared__"],yJ=(function(){var e=/[^.]+$/.exec(EO&&EO.keys&&EO.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function tke(e){return!!yJ&&yJ in e}var rke=Function.prototype,nke=rke.toString;function qf(e){if(e!=null){try{return nke.call(e)}catch{}try{return e+""}catch{}}return""}var ike=/[\\^$.*+?()[\]{}|]/g,ake=/^\[object .+?Constructor\]$/,oke=Function.prototype,ske=Object.prototype,uke=oke.toString,lke=ske.hasOwnProperty,cke=RegExp("^"+uke.call(lke).replace(ike,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function fke(e){if(!Gp(e)||tke(e))return!1;var t=rse(e)?cke:ake;return t.test(qf(e))}function dke(e,t){return e==null?void 0:e[t]}function Vf(e,t){var r=dke(e,t);return fke(r)?r:void 0}var op=Vf(ku,"Map"),sp=Vf(Object,"create");function hke(){this.__data__=sp?sp(null):{},this.size=0}function vke(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var pke="__lodash_hash_undefined__",gke=Object.prototype,mke=gke.hasOwnProperty;function yke(e){var t=this.__data__;if(sp){var r=t[e];return r===pke?void 0:r}return mke.call(t,e)?t[e]:void 0}var _ke=Object.prototype,Ske=_ke.hasOwnProperty;function Eke(e){var t=this.__data__;return sp?t[e]!==void 0:Ske.call(t,e)}var wke="__lodash_hash_undefined__";function bke(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=sp&&t===void 0?wke:t,this}function lf(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}lf.prototype.clear=hke;lf.prototype.delete=vke;lf.prototype.get=yke;lf.prototype.has=Eke;lf.prototype.set=bke;function Tke(){this.size=0,this.__data__={hash:new lf,map:new(op||El),string:new lf}}function Rke(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function d0(e,t){var r=e.__data__;return Rke(t)?r[typeof t=="string"?"string":"hash"]:r.map}function xke(e){var t=d0(this,e).delete(e);return this.size-=t?1:0,t}function Cke(e){return d0(this,e).get(e)}function Ake(e){return d0(this,e).has(e)}function Oke(e,t){var r=d0(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function gc(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}gc.prototype.clear=Tke;gc.prototype.delete=xke;gc.prototype.get=Cke;gc.prototype.has=Ake;gc.prototype.set=Oke;var Ike=200;function Pke(e,t){var r=this.__data__;if(r instanceof El){var n=r.__data__;if(!op||n.length<Ike-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new gc(n)}return r.set(e,t),this.size=r.size,this}function Ih(e){var t=this.__data__=new El(e);this.size=t.size}Ih.prototype.clear=GDe;Ih.prototype.delete=YDe;Ih.prototype.get=KDe;Ih.prototype.has=XDe;Ih.prototype.set=Pke;function Dke(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var _J=(function(){try{var e=Vf(Object,"defineProperty");return e({},"",{}),e}catch{}})();function nse(e,t,r){t=="__proto__"&&_J?_J(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var kke=Object.prototype,Nke=kke.hasOwnProperty;function ise(e,t,r){var n=e[t];(!(Nke.call(e,t)&&tse(n,r))||r===void 0&&!(t in e))&&nse(e,t,r)}function h0(e,t,r,n){var i=!r;r||(r={});for(var a=-1,o=t.length;++a<o;){var u=t[a],s=void 0;s===void 0&&(s=e[u]),i?nse(r,u,s):ise(r,u,s)}return r}function Lke(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var Mke="[object Arguments]";function SJ(e){return Uf(e)&&jf(e)==Mke}var ase=Object.prototype,$ke=ase.hasOwnProperty,Fke=ase.propertyIsEnumerable,jke=SJ((function(){return arguments})())?SJ:function(e){return Uf(e)&&$ke.call(e,"callee")&&!Fke.call(e,"callee")},Yp=Array.isArray;function Uke(){return!1}var ose=typeof exports=="object"&&exports&&!exports.nodeType&&exports,EJ=ose&&typeof module=="object"&&module&&!module.nodeType&&module,qke=EJ&&EJ.exports===ose,wJ=qke?ku.Buffer:void 0,Vke=wJ?wJ.isBuffer:void 0,sse=Vke||Uke,Bke=9007199254740991,Hke=/^(?:0|[1-9]\d*)$/;function zke(e,t){var r=typeof e;return t=t??Bke,!!t&&(r=="number"||r!="symbol"&&Hke.test(e))&&e>-1&&e%1==0&&e<t}var Wke=9007199254740991;function use(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Wke}var Gke="[object Arguments]",Yke="[object Array]",Kke="[object Boolean]",Xke="[object Date]",Qke="[object Error]",Jke="[object Function]",Zke="[object Map]",eNe="[object Number]",tNe="[object Object]",rNe="[object RegExp]",nNe="[object Set]",iNe="[object String]",aNe="[object WeakMap]",oNe="[object ArrayBuffer]",sNe="[object DataView]",uNe="[object Float32Array]",lNe="[object Float64Array]",cNe="[object Int8Array]",fNe="[object Int16Array]",dNe="[object Int32Array]",hNe="[object Uint8Array]",vNe="[object Uint8ClampedArray]",pNe="[object Uint16Array]",gNe="[object Uint32Array]",Ti={};Ti[uNe]=Ti[lNe]=Ti[cNe]=Ti[fNe]=Ti[dNe]=Ti[hNe]=Ti[vNe]=Ti[pNe]=Ti[gNe]=!0;Ti[Gke]=Ti[Yke]=Ti[oNe]=Ti[Kke]=Ti[sNe]=Ti[Xke]=Ti[Qke]=Ti[Jke]=Ti[Zke]=Ti[eNe]=Ti[tNe]=Ti[rNe]=Ti[nNe]=Ti[iNe]=Ti[aNe]=!1;function mNe(e){return Uf(e)&&use(e.length)&&!!Ti[jf(e)]}function jk(e){return function(t){return e(t)}}var lse=typeof exports=="object"&&exports&&!exports.nodeType&&exports,$v=lse&&typeof module=="object"&&module&&!module.nodeType&&module,yNe=$v&&$v.exports===lse,wO=yNe&&Qoe.process,Kd=(function(){try{var e=$v&&$v.require&&$v.require("util").types;return e||wO&&wO.binding&&wO.binding("util")}catch{}})(),bJ=Kd&&Kd.isTypedArray,_Ne=bJ?jk(bJ):mNe,SNe=Object.prototype,ENe=SNe.hasOwnProperty;function cse(e,t){var r=Yp(e),n=!r&&jke(e),i=!r&&!n&&sse(e),a=!r&&!n&&!i&&_Ne(e),o=r||n||i||a,u=o?Lke(e.length,String):[],s=u.length;for(var c in e)(t||ENe.call(e,c))&&!(o&&(c=="length"||i&&(c=="offset"||c=="parent")||a&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||zke(c,s)))&&u.push(c);return u}var wNe=Object.prototype;function Uk(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||wNe;return e===r}var bNe=Zoe(Object.keys,Object),TNe=Object.prototype,RNe=TNe.hasOwnProperty;function xNe(e){if(!Uk(e))return bNe(e);var t=[];for(var r in Object(e))RNe.call(e,r)&&r!="constructor"&&t.push(r);return t}function fse(e){return e!=null&&use(e.length)&&!rse(e)}function qk(e){return fse(e)?cse(e):xNe(e)}function CNe(e,t){return e&&h0(t,qk(t),e)}function ANe(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var ONe=Object.prototype,INe=ONe.hasOwnProperty;function PNe(e){if(!Gp(e))return ANe(e);var t=Uk(e),r=[];for(var n in e)n=="constructor"&&(t||!INe.call(e,n))||r.push(n);return r}function Vk(e){return fse(e)?cse(e,!0):PNe(e)}function DNe(e,t){return e&&h0(t,Vk(t),e)}var dse=typeof exports=="object"&&exports&&!exports.nodeType&&exports,TJ=dse&&typeof module=="object"&&module&&!module.nodeType&&module,kNe=TJ&&TJ.exports===dse,RJ=kNe?ku.Buffer:void 0,xJ=RJ?RJ.allocUnsafe:void 0;function NNe(e,t){if(t)return e.slice();var r=e.length,n=xJ?xJ(r):new e.constructor(r);return e.copy(n),n}function hse(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}function LNe(e,t){for(var r=-1,n=e==null?0:e.length,i=0,a=[];++r<n;){var o=e[r];t(o,r,e)&&(a[i++]=o)}return a}function vse(){return[]}var MNe=Object.prototype,$Ne=MNe.propertyIsEnumerable,CJ=Object.getOwnPropertySymbols,Bk=CJ?function(e){return e==null?[]:(e=Object(e),LNe(CJ(e),function(t){return $Ne.call(e,t)}))}:vse;function FNe(e,t){return h0(e,Bk(e),t)}function pse(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}var jNe=Object.getOwnPropertySymbols,gse=jNe?function(e){for(var t=[];e;)pse(t,Bk(e)),e=Fk(e);return t}:vse;function UNe(e,t){return h0(e,gse(e),t)}function mse(e,t,r){var n=t(e);return Yp(e)?n:pse(n,r(e))}function qNe(e){return mse(e,qk,Bk)}function VNe(e){return mse(e,Vk,gse)}var cP=Vf(ku,"DataView"),fP=Vf(ku,"Promise"),dP=Vf(ku,"Set"),hP=Vf(ku,"WeakMap"),AJ="[object Map]",BNe="[object Object]",OJ="[object Promise]",IJ="[object Set]",PJ="[object WeakMap]",DJ="[object DataView]",HNe=qf(cP),zNe=qf(op),WNe=qf(fP),GNe=qf(dP),YNe=qf(hP),Qu=jf;(cP&&Qu(new cP(new ArrayBuffer(1)))!=DJ||op&&Qu(new op)!=AJ||fP&&Qu(fP.resolve())!=OJ||dP&&Qu(new dP)!=IJ||hP&&Qu(new hP)!=PJ)&&(Qu=function(e){var t=jf(e),r=t==BNe?e.constructor:void 0,n=r?qf(r):"";if(n)switch(n){case HNe:return DJ;case zNe:return AJ;case WNe:return OJ;case GNe:return IJ;case YNe:return PJ}return t});var KNe=Object.prototype,XNe=KNe.hasOwnProperty;function QNe(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&XNe.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var kJ=ku.Uint8Array;function Hk(e){var t=new e.constructor(e.byteLength);return new kJ(t).set(new kJ(e)),t}function JNe(e,t){var r=t?Hk(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var ZNe=/\w*$/;function eLe(e){var t=new e.constructor(e.source,ZNe.exec(e));return t.lastIndex=e.lastIndex,t}var NJ=ac?ac.prototype:void 0,LJ=NJ?NJ.valueOf:void 0;function tLe(e){return LJ?Object(LJ.call(e)):{}}function rLe(e,t){var r=t?Hk(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var nLe="[object Boolean]",iLe="[object Date]",aLe="[object Map]",oLe="[object Number]",sLe="[object RegExp]",uLe="[object Set]",lLe="[object String]",cLe="[object Symbol]",fLe="[object ArrayBuffer]",dLe="[object DataView]",hLe="[object Float32Array]",vLe="[object Float64Array]",pLe="[object Int8Array]",gLe="[object Int16Array]",mLe="[object Int32Array]",yLe="[object Uint8Array]",_Le="[object Uint8ClampedArray]",SLe="[object Uint16Array]",ELe="[object Uint32Array]";function wLe(e,t,r){var n=e.constructor;switch(t){case fLe:return Hk(e);case nLe:case iLe:return new n(+e);case dLe:return JNe(e,r);case hLe:case vLe:case pLe:case gLe:case mLe:case yLe:case _Le:case SLe:case ELe:return rLe(e,r);case aLe:return new n;case oLe:case lLe:return new n(e);case sLe:return eLe(e);case uLe:return new n;case cLe:return tLe(e)}}var MJ=Object.create,bLe=(function(){function e(){}return function(t){if(!Gp(t))return{};if(MJ)return MJ(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}})();function TLe(e){return typeof e.constructor=="function"&&!Uk(e)?bLe(Fk(e)):{}}var RLe="[object Map]";function xLe(e){return Uf(e)&&Qu(e)==RLe}var $J=Kd&&Kd.isMap,CLe=$J?jk($J):xLe,ALe="[object Set]";function OLe(e){return Uf(e)&&Qu(e)==ALe}var FJ=Kd&&Kd.isSet,ILe=FJ?jk(FJ):OLe,PLe=1,DLe=2,kLe=4,yse="[object Arguments]",NLe="[object Array]",LLe="[object Boolean]",MLe="[object Date]",$Le="[object Error]",_se="[object Function]",FLe="[object GeneratorFunction]",jLe="[object Map]",ULe="[object Number]",Sse="[object Object]",qLe="[object RegExp]",VLe="[object Set]",BLe="[object String]",HLe="[object Symbol]",zLe="[object WeakMap]",WLe="[object ArrayBuffer]",GLe="[object DataView]",YLe="[object Float32Array]",KLe="[object Float64Array]",XLe="[object Int8Array]",QLe="[object Int16Array]",JLe="[object Int32Array]",ZLe="[object Uint8Array]",eMe="[object Uint8ClampedArray]",tMe="[object Uint16Array]",rMe="[object Uint32Array]",pi={};pi[yse]=pi[NLe]=pi[WLe]=pi[GLe]=pi[LLe]=pi[MLe]=pi[YLe]=pi[KLe]=pi[XLe]=pi[QLe]=pi[JLe]=pi[jLe]=pi[ULe]=pi[Sse]=pi[qLe]=pi[VLe]=pi[BLe]=pi[HLe]=pi[ZLe]=pi[eMe]=pi[tMe]=pi[rMe]=!0;pi[$Le]=pi[_se]=pi[zLe]=!1;function Fv(e,t,r,n,i,a){var o,u=t&PLe,s=t&DLe,c=t&kLe;if(o!==void 0)return o;if(!Gp(e))return e;var d=Yp(e);if(d){if(o=QNe(e),!u)return hse(e,o)}else{var h=Qu(e),v=h==_se||h==FLe;if(sse(e))return NNe(e,u);if(h==Sse||h==yse||v&&!i){if(o=s||v?{}:TLe(e),!u)return s?UNe(e,DNe(o,e)):FNe(e,CNe(o,e))}else{if(!pi[h])return i?e:{};o=wLe(e,h,u)}}a||(a=new Ih);var g=a.get(e);if(g)return g;a.set(e,o),ILe(e)?e.forEach(function(S){o.add(Fv(S,t,r,S,e,a))}):CLe(e)&&e.forEach(function(S,w){o.set(w,Fv(S,t,r,w,e,a))});var m=c?s?VNe:qNe:s?Vk:qk,y=d?void 0:m(e);return Dke(y||e,function(S,w){y&&(w=S,S=e[w]),ise(o,w,Fv(S,t,r,w,e,a))}),o}var nMe=4;function jJ(e){return Fv(e,nMe)}function Ese(e,t){for(var r=-1,n=e==null?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}var iMe="[object Symbol]";function zk(e){return typeof e=="symbol"||Uf(e)&&jf(e)==iMe}var aMe="Expected a function";function Wk(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(aMe);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);var o=e.apply(this,n);return r.cache=a.set(i,o)||a,o};return r.cache=new(Wk.Cache||gc),r}Wk.Cache=gc;var oMe=500;function sMe(e){var t=Wk(e,function(n){return r.size===oMe&&r.clear(),n}),r=t.cache;return t}var uMe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,lMe=/\\(\\)?/g,cMe=sMe(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(uMe,function(r,n,i,a){t.push(i?a.replace(lMe,"$1"):n||r)}),t});function fMe(e){if(typeof e=="string"||zk(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var UJ=ac?ac.prototype:void 0,qJ=UJ?UJ.toString:void 0;function wse(e){if(typeof e=="string")return e;if(Yp(e))return Ese(e,wse)+"";if(zk(e))return qJ?qJ.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function dMe(e){return e==null?"":wse(e)}function bse(e){return Yp(e)?Ese(e,fMe):zk(e)?[e]:hse(cMe(dMe(e)))}var hMe=1,vMe=4;function pMe(e){return Fv(e,hMe|vMe)}function ci(){return ci=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ci.apply(this,arguments)}function Tse(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Ql(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function VJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var BJ=function(t){return Array.isArray(t)&&t.length===0},Ga=function(t){return typeof t=="function"},v0=function(t){return t!==null&&typeof t=="object"},gMe=function(t){return String(Math.floor(Number(t)))===t},bO=function(t){return Object.prototype.toString.call(t)==="[object String]"},Rse=function(t){return he.Children.count(t)===0},TO=function(t){return v0(t)&&Ga(t.then)};function ji(e,t,r,n){n===void 0&&(n=0);for(var i=bse(t);e&&n<i.length;)e=e[i[n++]];return e===void 0?r:e}function Ru(e,t,r){for(var n=jJ(e),i=n,a=0,o=bse(t);a<o.length-1;a++){var u=o[a],s=ji(e,o.slice(0,a+1));if(s&&(v0(s)||Array.isArray(s)))i=i[u]=jJ(s);else{var c=o[a+1];i=i[u]=gMe(c)&&Number(c)>=0?[]:{}}}return(a===0?e:i)[o[a]]===r?e:(r===void 0?delete i[o[a]]:i[o[a]]=r,a===0&&r===void 0&&delete n[o[a]],n)}function xse(e,t,r,n){r===void 0&&(r=new WeakMap),n===void 0&&(n={});for(var i=0,a=Object.keys(e);i<a.length;i++){var o=a[i],u=e[o];v0(u)?r.get(u)||(r.set(u,!0),n[o]=Array.isArray(u)?[]:{},xse(u,t,r,n[o])):n[o]=t}return n}var Kp=he.createContext(void 0);Kp.displayName="FormikContext";var mMe=Kp.Provider,yMe=Kp.Consumer;function Gk(){var e=he.useContext(Kp);return e}function _Me(e,t){switch(t.type){case"SET_VALUES":return ci({},e,{values:t.payload});case"SET_TOUCHED":return ci({},e,{touched:t.payload});case"SET_ERRORS":return Yl(e.errors,t.payload)?e:ci({},e,{errors:t.payload});case"SET_STATUS":return ci({},e,{status:t.payload});case"SET_ISSUBMITTING":return ci({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return ci({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return ci({},e,{values:Ru(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return ci({},e,{touched:Ru(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return ci({},e,{errors:Ru(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return ci({},e,t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return ci({},e,{touched:xse(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":return ci({},e,{isSubmitting:!1});case"SUBMIT_SUCCESS":return ci({},e,{isSubmitting:!1});default:return e}}var Mc={},gm={};function SMe(e){var t=e.validateOnChange,r=t===void 0?!0:t,n=e.validateOnBlur,i=n===void 0?!0:n,a=e.validateOnMount,o=a===void 0?!1:a,u=e.isInitialValid,s=e.enableReinitialize,c=s===void 0?!1:s,d=e.onSubmit,h=Ql(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),v=ci({validateOnChange:r,validateOnBlur:i,validateOnMount:o,onSubmit:d},h),g=he.useRef(v.initialValues),m=he.useRef(v.initialErrors||Mc),y=he.useRef(v.initialTouched||gm),S=he.useRef(v.initialStatus),w=he.useRef(!1),b=he.useRef({});he.useEffect(function(){return w.current=!0,function(){w.current=!1}},[]);var A=he.useReducer(_Me,{values:v.initialValues,errors:v.initialErrors||Mc,touched:v.initialTouched||gm,status:v.initialStatus,isSubmitting:!1,isValidating:!1,submitCount:0}),R=A[0],x=A[1],O=he.useCallback(function(de,Ee){return new Promise(function(_e,xe){var ke=v.validate(de,Ee);ke==null?_e(Mc):TO(ke)?ke.then(function(Le){_e(Le||Mc)},function(Le){xe(Le)}):_e(ke)})},[v.validate]),_=he.useCallback(function(de,Ee){var _e=v.validationSchema,xe=Ga(_e)?_e(Ee):_e,ke=Ee&&xe.validateAt?xe.validateAt(Ee,de):wMe(de,xe);return new Promise(function(Le,He){ke.then(function(){Le(Mc)},function(_t){_t.name==="ValidationError"?Le(EMe(_t)):He(_t)})})},[v.validationSchema]),P=he.useCallback(function(de,Ee){return new Promise(function(_e){return _e(b.current[de].validate(Ee))})},[]),N=he.useCallback(function(de){var Ee=Object.keys(b.current).filter(function(xe){return Ga(b.current[xe].validate)}),_e=Ee.length>0?Ee.map(function(xe){return P(xe,ji(de,xe))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(_e).then(function(xe){return xe.reduce(function(ke,Le,He){return Le==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||Le&&(ke=Ru(ke,Ee[He],Le)),ke},{})})},[P]),U=he.useCallback(function(de){return Promise.all([N(de),v.validationSchema?_(de):{},v.validate?O(de):{}]).then(function(Ee){var _e=Ee[0],xe=Ee[1],ke=Ee[2],Le=lP.all([_e,xe,ke],{arrayMerge:bMe});return Le})},[v.validate,v.validationSchema,N,O,_]),$=As(function(de){return de===void 0&&(de=R.values),x({type:"SET_ISVALIDATING",payload:!0}),U(de).then(function(Ee){return w.current&&(x({type:"SET_ISVALIDATING",payload:!1}),x({type:"SET_ERRORS",payload:Ee})),Ee})});he.useEffect(function(){o&&w.current===!0&&Yl(g.current,v.initialValues)&&$(g.current)},[o,$]);var B=he.useCallback(function(de){var Ee=de&&de.values?de.values:g.current,_e=de&&de.errors?de.errors:m.current?m.current:v.initialErrors||{},xe=de&&de.touched?de.touched:y.current?y.current:v.initialTouched||{},ke=de&&de.status?de.status:S.current?S.current:v.initialStatus;g.current=Ee,m.current=_e,y.current=xe,S.current=ke;var Le=function(){x({type:"RESET_FORM",payload:{isSubmitting:!!de&&!!de.isSubmitting,errors:_e,touched:xe,status:ke,values:Ee,isValidating:!!de&&!!de.isValidating,submitCount:de&&de.submitCount&&typeof de.submitCount=="number"?de.submitCount:0}})};if(v.onReset){var He=v.onReset(R.values,ie);TO(He)?He.then(Le):Le()}else Le()},[v.initialErrors,v.initialStatus,v.initialTouched]);he.useEffect(function(){w.current===!0&&!Yl(g.current,v.initialValues)&&(c&&(g.current=v.initialValues,B()),o&&$(g.current))},[c,v.initialValues,B,o,$]),he.useEffect(function(){c&&w.current===!0&&!Yl(m.current,v.initialErrors)&&(m.current=v.initialErrors||Mc,x({type:"SET_ERRORS",payload:v.initialErrors||Mc}))},[c,v.initialErrors]),he.useEffect(function(){c&&w.current===!0&&!Yl(y.current,v.initialTouched)&&(y.current=v.initialTouched||gm,x({type:"SET_TOUCHED",payload:v.initialTouched||gm}))},[c,v.initialTouched]),he.useEffect(function(){c&&w.current===!0&&!Yl(S.current,v.initialStatus)&&(S.current=v.initialStatus,x({type:"SET_STATUS",payload:v.initialStatus}))},[c,v.initialStatus,v.initialTouched]);var Y=As(function(de){if(b.current[de]&&Ga(b.current[de].validate)){var Ee=ji(R.values,de),_e=b.current[de].validate(Ee);return TO(_e)?(x({type:"SET_ISVALIDATING",payload:!0}),_e.then(function(xe){return xe}).then(function(xe){x({type:"SET_FIELD_ERROR",payload:{field:de,value:xe}}),x({type:"SET_ISVALIDATING",payload:!1})})):(x({type:"SET_FIELD_ERROR",payload:{field:de,value:_e}}),Promise.resolve(_e))}else if(v.validationSchema)return x({type:"SET_ISVALIDATING",payload:!0}),_(R.values,de).then(function(xe){return xe}).then(function(xe){x({type:"SET_FIELD_ERROR",payload:{field:de,value:xe[de]}}),x({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),Q=he.useCallback(function(de,Ee){var _e=Ee.validate;b.current[de]={validate:_e}},[]),K=he.useCallback(function(de){delete b.current[de]},[]),ee=As(function(de,Ee){x({type:"SET_TOUCHED",payload:de});var _e=Ee===void 0?i:Ee;return _e?$(R.values):Promise.resolve()}),ne=he.useCallback(function(de){x({type:"SET_ERRORS",payload:de})},[]),D=As(function(de,Ee){var _e=Ga(de)?de(R.values):de;x({type:"SET_VALUES",payload:_e});var xe=Ee===void 0?r:Ee;return xe?$(_e):Promise.resolve()}),I=he.useCallback(function(de,Ee){x({type:"SET_FIELD_ERROR",payload:{field:de,value:Ee}})},[]),L=As(function(de,Ee,_e){x({type:"SET_FIELD_VALUE",payload:{field:de,value:Ee}});var xe=_e===void 0?r:_e;return xe?$(Ru(R.values,de,Ee)):Promise.resolve()}),re=he.useCallback(function(de,Ee){var _e=Ee,xe=de,ke;if(!bO(de)){de.persist&&de.persist();var Le=de.target?de.target:de.currentTarget,He=Le.type,_t=Le.name,jt=Le.id,Lt=Le.value,Qe=Le.checked;Le.outerHTML;var bt=Le.options,mt=Le.multiple;_e=Ee||_t||jt,xe=/number|range/.test(He)?(ke=parseFloat(Lt),isNaN(ke)?"":ke):/checkbox/.test(He)?RMe(ji(R.values,_e),Qe,Lt):bt&&mt?TMe(bt):Lt}_e&&L(_e,xe)},[L,R.values]),te=As(function(de){if(bO(de))return function(Ee){return re(Ee,de)};re(de)}),ce=As(function(de,Ee,_e){Ee===void 0&&(Ee=!0),x({type:"SET_FIELD_TOUCHED",payload:{field:de,value:Ee}});var xe=_e===void 0?i:_e;return xe?$(R.values):Promise.resolve()}),be=he.useCallback(function(de,Ee){de.persist&&de.persist();var _e=de.target,xe=_e.name,ke=_e.id;_e.outerHTML;var Le=Ee||xe||ke;ce(Le,!0)},[ce]),Ie=As(function(de){if(bO(de))return function(Ee){return be(Ee,de)};be(de)}),je=he.useCallback(function(de){Ga(de)?x({type:"SET_FORMIK_STATE",payload:de}):x({type:"SET_FORMIK_STATE",payload:function(){return de}})},[]),z=he.useCallback(function(de){x({type:"SET_STATUS",payload:de})},[]),k=he.useCallback(function(de){x({type:"SET_ISSUBMITTING",payload:de})},[]),q=As(function(){return x({type:"SUBMIT_ATTEMPT"}),$().then(function(de){var Ee=de instanceof Error,_e=!Ee&&Object.keys(de).length===0;if(_e){var xe;try{if(xe=V(),xe===void 0)return}catch(ke){throw ke}return Promise.resolve(xe).then(function(ke){return w.current&&x({type:"SUBMIT_SUCCESS"}),ke}).catch(function(ke){if(w.current)throw x({type:"SUBMIT_FAILURE"}),ke})}else if(w.current&&(x({type:"SUBMIT_FAILURE"}),Ee))throw de})}),H=As(function(de){de&&de.preventDefault&&Ga(de.preventDefault)&&de.preventDefault(),de&&de.stopPropagation&&Ga(de.stopPropagation)&&de.stopPropagation(),q().catch(function(Ee){console.warn("Warning: An unhandled error was caught from submitForm()",Ee)})}),ie={resetForm:B,validateForm:$,validateField:Y,setErrors:ne,setFieldError:I,setFieldTouched:ce,setFieldValue:L,setStatus:z,setSubmitting:k,setTouched:ee,setValues:D,setFormikState:je,submitForm:q},V=As(function(){return d(R.values,ie)}),Z=As(function(de){de&&de.preventDefault&&Ga(de.preventDefault)&&de.preventDefault(),de&&de.stopPropagation&&Ga(de.stopPropagation)&&de.stopPropagation(),B()}),me=he.useCallback(function(de){return{value:ji(R.values,de),error:ji(R.errors,de),touched:!!ji(R.touched,de),initialValue:ji(g.current,de),initialTouched:!!ji(y.current,de),initialError:ji(m.current,de)}},[R.errors,R.touched,R.values]),fe=he.useCallback(function(de){return{setValue:function(_e,xe){return L(de,_e,xe)},setTouched:function(_e,xe){return ce(de,_e,xe)},setError:function(_e){return I(de,_e)}}},[L,ce,I]),Re=he.useCallback(function(de){var Ee=v0(de),_e=Ee?de.name:de,xe=ji(R.values,_e),ke={name:_e,value:xe,onChange:te,onBlur:Ie};if(Ee){var Le=de.type,He=de.value,_t=de.as,jt=de.multiple;Le==="checkbox"?He===void 0?ke.checked=!!xe:(ke.checked=!!(Array.isArray(xe)&&~xe.indexOf(He)),ke.value=He):Le==="radio"?(ke.checked=xe===He,ke.value=He):_t==="select"&&jt&&(ke.value=ke.value||[],ke.multiple=!0)}return ke},[Ie,te,R.values]),Se=he.useMemo(function(){return!Yl(g.current,R.values)},[g.current,R.values]),Oe=he.useMemo(function(){return typeof u<"u"?Se?R.errors&&Object.keys(R.errors).length===0:u!==!1&&Ga(u)?u(v):u:R.errors&&Object.keys(R.errors).length===0},[u,Se,R.errors,v]),Me=ci({},R,{initialValues:g.current,initialErrors:m.current,initialTouched:y.current,initialStatus:S.current,handleBlur:Ie,handleChange:te,handleReset:Z,handleSubmit:H,resetForm:B,setErrors:ne,setFormikState:je,setFieldTouched:ce,setFieldValue:L,setFieldError:I,setStatus:z,setSubmitting:k,setTouched:ee,setValues:D,submitForm:q,validateForm:$,validateField:Y,isValid:Oe,dirty:Se,unregisterField:K,registerField:Q,getFieldProps:Re,getFieldMeta:me,getFieldHelpers:fe,validateOnBlur:i,validateOnChange:r,validateOnMount:o});return Me}function q5e(e){var t=SMe(e),r=e.component,n=e.children,i=e.render,a=e.innerRef;return he.useImperativeHandle(a,function(){return t}),he.createElement(mMe,{value:t},r?he.createElement(r,t):i?i(t):n?Ga(n)?n(t):Rse(n)?null:he.Children.only(n):null)}function EMe(e){var t={};if(e.inner){if(e.inner.length===0)return Ru(t,e.path,e.message);for(var i=e.inner,r=Array.isArray(i),n=0,i=r?i:i[Symbol.iterator]();;){var a;if(r){if(n>=i.length)break;a=i[n++]}else{if(n=i.next(),n.done)break;a=n.value}var o=a;ji(t,o.path)||(t=Ru(t,o.path,o.message))}}return t}function wMe(e,t,r,n){r===void 0&&(r=!1),n===void 0&&(n={});var i=vP(e);return t[r?"validateSync":"validate"](i,{abortEarly:!1,context:n})}function vP(e){var t=Array.isArray(e)?[]:{};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=String(r);Array.isArray(e[n])===!0?t[n]=e[n].map(function(i){return Array.isArray(i)===!0||mJ(i)?vP(i):i!==""?i:void 0}):mJ(e[n])?t[n]=vP(e[n]):t[n]=e[n]!==""?e[n]:void 0}return t}function bMe(e,t,r){var n=e.slice();return t.forEach(function(a,o){if(typeof n[o]>"u"){var u=r.clone!==!1,s=u&&r.isMergeableObject(a);n[o]=s?lP(Array.isArray(a)?[]:{},a,r):a}else r.isMergeableObject(a)?n[o]=lP(e[o],a,r):e.indexOf(a)===-1&&n.push(a)}),n}function TMe(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function RMe(e,t,r){if(typeof e=="boolean")return!!t;var n=[],i=!1,a=-1;if(Array.isArray(e))n=e,a=e.indexOf(r),i=a>=0;else if(!r||r=="true"||r=="false")return!!t;return t&&r&&!i?n.concat(r):i?n.slice(0,a).concat(n.slice(a+1)):n}var xMe=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?he.useLayoutEffect:he.useEffect;function As(e){var t=he.useRef(e);return xMe(function(){t.current=e}),he.useCallback(function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return t.current.apply(void 0,n)},[])}function V5e(e){var t=e.validate,r=e.name,n=e.render,i=e.children,a=e.as,o=e.component,u=Ql(e,["validate","name","render","children","as","component"]),s=Gk(),c=Ql(s,["validate","validationSchema"]),d=c.registerField,h=c.unregisterField;he.useEffect(function(){return d(r,{validate:t}),function(){h(r)}},[d,h,r,t]);var v=c.getFieldProps(ci({name:r},u)),g=c.getFieldMeta(r),m={field:v,form:c};if(n)return n(ci({},m,{meta:g}));if(Ga(i))return i(ci({},m,{meta:g}));if(o){if(typeof o=="string"){var y=u.innerRef,S=Ql(u,["innerRef"]);return he.createElement(o,ci({ref:y},v,S),i)}return he.createElement(o,ci({field:v,form:c},u),i)}var w=a||"input";if(typeof w=="string"){var b=u.innerRef,A=Ql(u,["innerRef"]);return he.createElement(w,ci({ref:b},v,A),i)}return he.createElement(w,ci({},v,u),i)}var CMe=he.forwardRef(function(e,t){var r=e.action,n=Ql(e,["action"]),i=r??"#",a=Gk(),o=a.handleReset,u=a.handleSubmit;return he.createElement("form",Object.assign({onSubmit:u,ref:t,onReset:o,action:i},n))});CMe.displayName="Form";function AMe(e){var t=function(i){return he.createElement(yMe,null,function(a){return he.createElement(e,Object.assign({},i,{formik:a}))})},r=e.displayName||e.name||e.constructor&&e.constructor.name||"Component";return t.WrappedComponent=e,t.displayName="FormikConnect("+r+")",wbe(t,e)}var OMe=function(t,r,n){var i=Xd(t),a=i[r];return i.splice(r,1),i.splice(n,0,a),i},IMe=function(t,r,n){var i=Xd(t),a=i[r];return i[r]=i[n],i[n]=a,i},RO=function(t,r,n){var i=Xd(t);return i.splice(r,0,n),i},PMe=function(t,r,n){var i=Xd(t);return i[r]=n,i},Xd=function(t){if(t){if(Array.isArray(t))return[].concat(t);var r=Object.keys(t).map(function(n){return parseInt(n)}).reduce(function(n,i){return i>n?i:n},0);return Array.from(ci({},t,{length:r+1}))}else return[]},DMe=(function(e){Tse(t,e);function t(n){var i;return i=e.call(this,n)||this,i.updateArrayField=function(a,o,u){var s=i.props,c=s.name,d=s.formik.setFormikState;d(function(h){var v=typeof u=="function"?u:a,g=typeof o=="function"?o:a,m=Ru(h.values,c,a(ji(h.values,c))),y=u?v(ji(h.errors,c)):void 0,S=o?g(ji(h.touched,c)):void 0;return BJ(y)&&(y=void 0),BJ(S)&&(S=void 0),ci({},h,{values:m,errors:u?Ru(h.errors,c,y):h.errors,touched:o?Ru(h.touched,c,S):h.touched})})},i.push=function(a){return i.updateArrayField(function(o){return[].concat(Xd(o),[pMe(a)])},!1,!1)},i.handlePush=function(a){return function(){return i.push(a)}},i.swap=function(a,o){return i.updateArrayField(function(u){return IMe(u,a,o)},!0,!0)},i.handleSwap=function(a,o){return function(){return i.swap(a,o)}},i.move=function(a,o){return i.updateArrayField(function(u){return OMe(u,a,o)},!0,!0)},i.handleMove=function(a,o){return function(){return i.move(a,o)}},i.insert=function(a,o){return i.updateArrayField(function(u){return RO(u,a,o)},function(u){return RO(u,a,null)},function(u){return RO(u,a,null)})},i.handleInsert=function(a,o){return function(){return i.insert(a,o)}},i.replace=function(a,o){return i.updateArrayField(function(u){return PMe(u,a,o)},!1,!1)},i.handleReplace=function(a,o){return function(){return i.replace(a,o)}},i.unshift=function(a){var o=-1;return i.updateArrayField(function(u){var s=u?[a].concat(u):[a];return o<0&&(o=s.length),s},function(u){var s=u?[null].concat(u):[null];return o<0&&(o=s.length),s},function(u){var s=u?[null].concat(u):[null];return o<0&&(o=s.length),s}),o},i.handleUnshift=function(a){return function(){return i.unshift(a)}},i.handleRemove=function(a){return function(){return i.remove(a)}},i.handlePop=function(){return function(){return i.pop()}},i.remove=i.remove.bind(VJ(i)),i.pop=i.pop.bind(VJ(i)),i}var r=t.prototype;return r.componentDidUpdate=function(i){this.props.validateOnChange&&this.props.formik.validateOnChange&&!Yl(ji(i.formik.values,i.name),ji(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},r.remove=function(i){var a;return this.updateArrayField(function(o){var u=o?Xd(o):[];return a||(a=u[i]),Ga(u.splice)&&u.splice(i,1),u},!0,!0),a},r.pop=function(){var i;return this.updateArrayField(function(a){var o=a;return i||(i=o&&o.pop&&o.pop()),o},!0,!0),i},r.render=function(){var i={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},a=this.props,o=a.component,u=a.render,s=a.children,c=a.name,d=a.formik,h=Ql(d,["validate","validationSchema"]),v=ci({},i,{form:h,name:c});return o?he.createElement(o,v):u?u(v):s?typeof s=="function"?s(v):Rse(s)?null:he.Children.only(s):null},t})(he.Component);DMe.defaultProps={validateOnChange:!0};var kMe=(function(e){Tse(t,e);function t(){return e.apply(this,arguments)||this}var r=t.prototype;return r.shouldComponentUpdate=function(i){return ji(this.props.formik.errors,this.props.name)!==ji(i.formik.errors,this.props.name)||ji(this.props.formik.touched,this.props.name)!==ji(i.formik.touched,this.props.name)||Object.keys(this.props).length!==Object.keys(i).length},r.render=function(){var i=this.props,a=i.component,o=i.formik,u=i.render,s=i.children,c=i.name,d=Ql(i,["component","formik","render","children","name"]),h=ji(o.touched,c),v=ji(o.errors,c);return h&&v?u?Ga(u)?u(v):null:s?Ga(s)?s(v):null:a?he.createElement(a,d,v):v:null},t})(he.Component),B5e=AMe(kMe);const NMe=he.createContext(""),up=he.memo(function(e){const{phrase:t,namespace:r,options:n}=e,i=he.useContext(NMe),a=r||i,o=Object.assign({escapeText:!0},n),u=gr.getPhrase(a,t,o);return j.jsx("span",{dangerouslySetInnerHTML:{__html:u}})},(e,t)=>e.namespace===t.namespace&&e.phrase===t.phrase&&Ui.isEqual(e.options,t.options));function LMe(e){var n;const[t,r]=he.useState(!1);return he.useEffect(()=>{var i;if(!e.isValid){r(!1);return}e.dirty||(i=e.initialStatus)!=null&&i.allowInitialSubmit?r(!0):r(!1)},[e.isValid,(n=e.initialStatus)==null?void 0:n.allowInitialSubmit,e.dirty,e.values]),he.useEffect(()=>{e.isSubmitting&&r(!1)},[e.isSubmitting]),t}function MMe(e){const{showSpinner:t,children:r,style:n,spinnerText:i,...a}=e,o=he.useRef(null),[{width:u,height:s},c]=he.useState({}),[d,h]=he.useState(t);he.useEffect(()=>{if(!t){c({});return}const g=o.current,m=g.offsetHeight,y=g.offsetWidth;!m||!y||c({width:y,height:m})},[t]),he.useLayoutEffect(()=>{h(t)},[t]);const v={...n};return u&&(v.width=`${u+1}px`),s&&(v.height=`${s+1}px`),j.jsx(o0,{ref:o,disabled:t,style:v,...a,children:d?j.jsxs(j.Fragment,{children:[j.jsx(Wp,{as:"span",animation:"border",role:"status",size:"sm"}),!!i&&j.jsx("span",{className:"ps-1",children:i})]}):r})}const $Me={info:"custom-toggle-info"};Cse.defaults={floatEnd:!0};function Cse(e){const{on:t,showStateWhenDisabled:r,tooltipText:n,variant:i,floatEnd:a,hideOutline:o,...u}=e;function s(...S){e.disabled||e.onClick(...S)}const c="d-inline-block align-top custom-toggle toggle-option",d=e.disabled?"disabled":"",h=o?"outline-none":"",v=$Me[i]??"",g=a?"float-end":"";let m=t?"on":"";e.disabled&&!r&&(m="");const y=`${c} ${v} ${m} ${d} ${h} ${g}`;return e.tooltipText?j.jsx(cl,{title:n,spanHack:!0,children:j.jsx(GI,{...u,role:"switch","aria-checked":`${t}`,onClick:s,className:y,children:j.jsx("span",{className:"handle"})})}):j.jsx(GI,{...u,role:"switch","aria-checked":t,onClick:s,className:y,children:j.jsx("span",{className:"handle"})})}const Ase="shared.popup",ef=e=>j.jsx("div",{className:`d-flex justify-content-end align-items-center border-top pt-3 px-3 mx-n3 undo-changes-btn ${e.className??""}`,children:e.children});function Ose(e){return j.jsx(MMe,{variant:e.variant||"primary",type:e.type||"submit",disabled:e.disabled||e.showSpinner,size:e.size,className:e.className?e.className:"",onClick:()=>{var t;return(t=e.onClick)==null?void 0:t.call(e)},showSpinner:e.showSpinner,spinnerText:e.spinnerText,children:e.text?j.jsx(j.Fragment,{children:e.text}):j.jsx(up,{namespace:Ase,phrase:e.isNew?"create":"save"})})}function FMe(e){const t=Gk(),r=LMe(t??{}),n=(t==null?void 0:t.isSubmitting)||e.showSpinner;function i(){return typeof e.disabled=="boolean"?e.disabled:!!t&&!r||n}return j.jsx(Ose,{...e,disabled:i(),showSpinner:n})}const jMe=e=>or.useContext(Kp)?j.jsx(FMe,{...e}):j.jsx(Ose,{...e}),UMe=e=>j.jsx(o0,{onClick:e.onClick,variant:e.variant||"link",size:e.size,className:e.className?e.className:"me-2",children:e.text?e.text:j.jsx(up,{namespace:Ase,phrase:"cancel"})}),qMe=e=>j.jsx(RIe.Check,{type:"checkbox",className:e.className??"me-auto",label:e.label,id:e.id,onChange:e.onToggle,checked:e.checked}),VMe=e=>j.jsxs("div",{className:"d-flex align-items-center me-auto",children:[j.jsx(Cse,{on:e.on,onClick:e.onClick,disabled:e.disabled,tooltipText:e.tooltip}),!!e.label&&j.jsx("span",{className:"fw-semibold ms-2",children:e.label})]});ef.Submit=jMe;ef.Cancel=UMe;ef.Checkbox=qMe;ef.Toggle=VMe;const HJ="shared.shared-utils",BMe={render:(e,t={})=>{let r=document.getElementById("dialog-region");r||(r=document.createElement("div"),r.id="dialog-region",document.appendChild(r));const n=Lk.createRoot(r);function i(){var s;if(gi.isFunction((s=t.submitButtonProps)==null?void 0:s.onClick)){const c=t.submitButtonProps.onClick();if(c instanceof Promise){c.then(()=>{n.unmount()});return}}n.unmount()}function a(){var s;gi.isFunction((s=t.cancelButtonProps)==null?void 0:s.onClick)&&t.cancelButtonProps.onClick(),n.unmount()}const o={...t.submitButtonProps?t.submitButtonProps:{},onClick:()=>{i()}},u={...t.cancelButtonProps?t.cancelButtonProps:{},onClick:()=>{a()}};n.render(j.jsxs(Xoe,{title:t.title,closePopup:a,size:t.size,centered:t.centered,bodyClassName:"overflow-hidden",dialogClassName:t.dialogClassName,children:[e,!t.hideButtons&&j.jsxs(ef,{className:t.buttonContainerClassName,children:[t.cancelButtonProps&&j.jsx(ef.Cancel,{...u}),t.submitButtonProps&&j.jsx(ef.Submit,{...o})]})]}))},getDefaultSubmitButton(){return{variant:"dark",text:gr.getPhrase(HJ,"confirm")}},getDefaultCancelButton(){return{variant:"light",text:gr.getPhrase(HJ,"cancel")}}},mm=gr.encloseNamespace("shared.hooks"),HMe=()=>{const[e,t]=or.useState([]),r=$r.Radio.channel($n.SHELL);or.useEffect(()=>(e.find(s=>!s.allowAppLinks)&&r.on(Fn.NAV_IS_LOCKED,a),e.length&&window.addEventListener("beforeunload",o),()=>{r.off(Fn.NAV_IS_LOCKED,a),window.removeEventListener("beforeunload",o)}),[e]),or.useEffect(()=>{function s(){n({id:"upload",title:mm("navLockTitle"),text:mm("navLockBody"),allowAppLinks:!0})}const c=$r.Radio.channel(Cv.VIDEO_UPLOAD);return c.on(tl.FILES_ADDED,s),c.on(tl.UNLOCK_NAV,i),()=>{c.off(tl.FILES_ADDED,s),c.off(tl.UNLOCK_NAV,i)}},[]);function n(s={}){e.find(c=>c.id===s.id)||(s.allowAppLinks||r.trigger(Fn.LOCK_NAV),t([...e,s]))}function i(s){const c=e.filter(d=>d.id!==s);(c.length===0||!c.find(d=>!d.allowAppLinks))&&r.trigger(Fn.UNLOCK_NAV),t(c)}function a(s){var d;if(!e.length)return;const c=e.find(h=>!h.allowAppLinks);if((d=c.appLinkWhitelist)!=null&&d.find(h=>h.action===s.action&&h.application===s.application)){r.trigger(Fn.UNLOCK_NAV),window.setTimeout(()=>{Kn.trigger(s),r.trigger(Fn.LOCK_NAV)},0);return}if(gi.isFunction(c.renderCustomDialog)){c.renderCustomDialog();return}BMe.render(j.jsx("p",{children:c.text}),{title:c.title,submitButtonProps:{onClick:()=>{c.onConfirmUnlock&&c.onConfirmUnlock(),u(s)},variant:"danger",text:mm("discard")},cancelButtonProps:{text:mm("cancel"),variant:"link"}})}function o(s){let c=e.find(d=>d.allowAppLinks);return c||(c=Qa.first(e)),s.returnValue=c.text,c.text}function u(s){r.trigger(Fn.NAV_UNLOCKED_BY_USER),e.forEach(c=>{c.allowAppLinks||i(c.id)}),window.removeEventListener("beforeunload",o),Kn.trigger(s)}return{lock:n,unlock:i}};function zMe(){function e(r){r.key==="Tab"&&(document.body.classList.add("user-is-tabbing"),window.removeEventListener("keydown",e),window.addEventListener("mousedown",t))}function t(){document.body.classList.remove("user-is-tabbing"),window.removeEventListener("mousedown",t),window.addEventListener("keydown",e)}he.useEffect(()=>(window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)),[])}function WMe(){const e=Ii(of.version());return e.data?j.jsx("footer",{className:"text-center text-secondary py-2",children:j.jsxs("small",{children:["2003 - ",new Date().getFullYear()," © ClickView | Version: ",e.data]})}):j.jsx(j.Fragment,{})}var Yk=(e=>(e.UPDATE="UPDATE_VIEW_MODEL",e))(Yk||{});function GMe(e){return e?e===Js.SessionStorage?gy:da:null}const ba=(e,t,r)=>{const n=GMe(r==null?void 0:r.storage);let i=n==null?void 0:n.get(e);const a=Nf(),o=Y_(h=>h.viewModelData[e]);(i==="undefined"||i==="null")&&(i=null);function u(){return i!=null}const s=(t!==void 0||u())&&o===void 0;or.useEffect(()=>{if(s){if(u()){c(i);return}c(t);return}},[]);function c(h,v){n&&d(h,v),a({type:Yk.UPDATE,payload:{viewModelKey:e,dataOrKey:h,keyData:v}})}function d(h,v){if(!n)return;const g=n.get(e);if(typeof h=="string"&&v!==void 0){n.set(e,{...g,[h]:v});return}n.set(e,h)}return s?u()?[i,c]:[t,c]:[o??void 0,c]},jv={updateParams(e,t){const{appLink:r}=pc.getCurrentRoute();let n=typeof r.params=="string"?Yn.DeserializeQueryParams(r.params):r.params;t.keysToRemove&&(n=Ui.omit(n,t.keysToRemove));const i=t!=null&&t.merge?{...n,...e}:e,a={...r,params:i};Ui.isEqual(r,a)||Kn.trigger(a,Ui.omit(t,["merge","keysToRemove"]))}},YMe="shared.analyticsUtils",Ya=gr.encloseNamespace(YMe);function zJ(e){const t=Cn.convertDateToUTC(e);return Cn.format(t,"YYYY-MM-DDTHH:mm:ss")}function lp(){return new Date(2021,0,1)}function pP(){return new Date}function Ise(e){return e.find(t=>!!t.default)}function Kk(e,t){return t?e.find(n=>n.name===t):void 0}function Ty(){const e=lp(),t=new Date().getFullYear(),r=t===e.getFullYear();return[{name:Ya("today"),startDate:new Date,endDate:new Date},{name:Ya("thisMonth"),startDate:new Date(t,new Date().getMonth(),1),endDate:new Date},{name:Ya("lastThreeMonths"),startDate:new Date(t,new Date().getMonth()-2,1),endDate:new Date},{name:Ya("lastSixMonths"),startDate:new Date(t,new Date().getMonth()-5,1),endDate:new Date},{name:Ya("lastTwelveMonths"),startDate:new Date(t,new Date().getMonth()-11,1),endDate:new Date,default:!0},{name:Ya("thisYear"),startDate:new Date(t,0,1),endDate:new Date},{name:Ya("lastYear"),startDate:new Date(t-1,0,1),endDate:new Date(t,0,0),disabled:r,tooltip:r?Ya("lastYearDisabled"):""}]}function H5e(){const e=lp(),t=new Date().getFullYear(),r=t===e.getFullYear();return[{name:Ya("today"),startDate:new Date,endDate:new Date},{name:Ya("thisMonth"),startDate:new Date(t,new Date().getMonth(),1),endDate:new Date},{name:Ya("lastThreeMonths"),startDate:new Date(t,new Date().getMonth()-2,1),endDate:new Date},{name:Ya("lastSixMonths"),startDate:new Date(t,new Date().getMonth()-5,1),endDate:new Date},{name:Ya("thisYear"),startDate:new Date(t,0,1),endDate:new Date},{name:Ya("lastYear"),startDate:new Date(t-1,0,1),endDate:new Date(t,0,0),disabled:r,tooltip:r?Ya("lastYearDisabled"):""},{name:Ya("allTime"),startDate:Cn.subtract(new Date,5,"years"),endDate:new Date,default:!0}]}function kd(e){return Cn.format(e,"YYYY-MM-DD")}function Km(e){return e.name?{rangeName:e.name}:{from:kd(e.startDate),to:kd(e.endDate)}}function KMe(e,t){const{to:r,from:n,rangeName:i}=t,a=Kk(e,i);if(a){if(!n&&!r)return a;jv.updateParams(Km(a),{replace:!0,merge:!0,keysToRemove:["from","to"]});return}const o=Ise(e);if(!n||!r||!Cn.isValid(n)||!Cn.isValid(r)){jv.updateParams(Km(o),{replace:!0,merge:!0,keysToRemove:["rangeName"]});return}let u=!0,s=Cn.convertDateToUTC(new Date(n)),c=Cn.convertDateToUTC(new Date(r));Cn.isBefore(s,lp(),"day")&&(s=lp(),u=!1),Cn.isAfter(c,pP(),"day")&&(c=pP(),u=!1),Cn.isAfter(s,c)&&(s=o.startDate,c=o.endDate,u=!1);const d={startDate:s,endDate:c,name:u?i||"custom":""};if(u)return d;jv.updateParams(Km(d),{replace:!0,merge:!0,keysToRemove:["rangeName"]})}function gP(e,t){const r=o=>zJ(Cn.startOf(o,"day")),n=o=>zJ(Cn.endOf(o,"day")),i=Kk(e,t.rangeName);if(i)return{start:r(kd(i.startDate)),end:n(kd(i.endDate))};if(t.from&&t.to)return{start:r(t.from),end:n(t.to)};const a=Ise(e);return{start:r(kd(a.startDate)),end:n(kd(a.endDate))}}function Qd(e){"@babel/helpers - typeof";return Qd=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qd(e)}function Ta(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function Fr(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function vn(e){Fr(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||Qd(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function fo(e,t){Fr(2,arguments);var r=vn(e),n=Ta(t);return isNaN(n)?new Date(NaN):(n&&r.setDate(r.getDate()+n),r)}function eu(e,t){Fr(2,arguments);var r=vn(e),n=Ta(t);if(isNaN(n))return new Date(NaN);if(!n)return r;var i=r.getDate(),a=new Date(r.getTime());a.setMonth(r.getMonth()+n+1,0);var o=a.getDate();return i>=o?a:(r.setFullYear(a.getFullYear(),a.getMonth(),i),r)}function XMe(e,t){Fr(2,arguments);var r=vn(e).getTime(),n=Ta(t);return new Date(r+n)}var QMe={};function mc(){return QMe}function Cu(e,t){var r,n,i,a,o,u,s,c;Fr(1,arguments);var d=mc(),h=Ta((r=(n=(i=(a=t==null?void 0:t.weekStartsOn)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(u=o.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&i!==void 0?i:d.weekStartsOn)!==null&&n!==void 0?n:(s=d.locale)===null||s===void 0||(c=s.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&r!==void 0?r:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=vn(e),g=v.getDay(),m=(g<h?7:0)+g-h;return v.setDate(v.getDate()-m),v.setHours(0,0,0,0),v}function cf(e){return Fr(1,arguments),Cu(e,{weekStartsOn:1})}function JMe(e){Fr(1,arguments);var t=vn(e),r=t.getFullYear(),n=new Date(0);n.setFullYear(r+1,0,4),n.setHours(0,0,0,0);var i=cf(n),a=new Date(0);a.setFullYear(r,0,4),a.setHours(0,0,0,0);var o=cf(a);return t.getTime()>=i.getTime()?r+1:t.getTime()>=o.getTime()?r:r-1}function ZMe(e){Fr(1,arguments);var t=JMe(e),r=new Date(0);r.setFullYear(t,0,4),r.setHours(0,0,0,0);var n=cf(r);return n}function cp(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function Jd(e){Fr(1,arguments);var t=vn(e);return t.setHours(0,0,0,0),t}var e$e=864e5;function nl(e,t){Fr(2,arguments);var r=Jd(e),n=Jd(t),i=r.getTime()-cp(r),a=n.getTime()-cp(n);return Math.round((i-a)/e$e)}function mP(e,t){Fr(2,arguments);var r=Ta(t),n=r*7;return fo(e,n)}function t$e(e,t){Fr(2,arguments);var r=Ta(t);return eu(e,r*12)}function r$e(e){Fr(1,arguments);var t;if(e&&typeof e.forEach=="function")t=e;else if(Qd(e)==="object"&&e!==null)t=Array.prototype.slice.call(e);else return new Date(NaN);var r;return t.forEach(function(n){var i=vn(n);(r===void 0||r<i||isNaN(Number(i)))&&(r=i)}),r||new Date(NaN)}function n$e(e){Fr(1,arguments);var t;if(e&&typeof e.forEach=="function")t=e;else if(Qd(e)==="object"&&e!==null)t=Array.prototype.slice.call(e);else return new Date(NaN);var r;return t.forEach(function(n){var i=vn(n);(r===void 0||r>i||isNaN(i.getDate()))&&(r=i)}),r||new Date(NaN)}function Mo(e,t){Fr(2,arguments);var r=Jd(e),n=Jd(t);return r.getTime()===n.getTime()}function Xk(e){return Fr(1,arguments),e instanceof Date||Qd(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function i$e(e){if(Fr(1,arguments),!Xk(e)&&typeof e!="number")return!1;var t=vn(e);return!isNaN(Number(t))}function fp(e,t){Fr(2,arguments);var r=vn(e),n=vn(t),i=r.getFullYear()-n.getFullYear(),a=r.getMonth()-n.getMonth();return i*12+a}var a$e=6048e5;function o$e(e,t,r){Fr(2,arguments);var n=Cu(e,r),i=Cu(t,r),a=n.getTime()-cp(n),o=i.getTime()-cp(i);return Math.round((a-o)/a$e)}function Qk(e){Fr(1,arguments);var t=vn(e),r=t.getMonth();return t.setFullYear(t.getFullYear(),r+1,0),t.setHours(23,59,59,999),t}function Fo(e){Fr(1,arguments);var t=vn(e);return t.setDate(1),t.setHours(0,0,0,0),t}function s$e(e){Fr(1,arguments);var t=vn(e),r=new Date(0);return r.setFullYear(t.getFullYear(),0,1),r.setHours(0,0,0,0),r}function Jk(e,t){var r,n,i,a,o,u,s,c;Fr(1,arguments);var d=mc(),h=Ta((r=(n=(i=(a=t==null?void 0:t.weekStartsOn)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(u=o.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&i!==void 0?i:d.weekStartsOn)!==null&&n!==void 0?n:(s=d.locale)===null||s===void 0||(c=s.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&r!==void 0?r:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=vn(e),g=v.getDay(),m=(g<h?-7:0)+6-(g-h);return v.setDate(v.getDate()+m),v.setHours(23,59,59,999),v}function Pse(e){return Fr(1,arguments),Jk(e,{weekStartsOn:1})}function u$e(e,t){Fr(2,arguments);var r=Ta(t);return XMe(e,-r)}var l$e=864e5;function c$e(e){Fr(1,arguments);var t=vn(e),r=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var n=t.getTime(),i=r-n;return Math.floor(i/l$e)+1}function Ry(e){Fr(1,arguments);var t=1,r=vn(e),n=r.getUTCDay(),i=(n<t?7:0)+n-t;return r.setUTCDate(r.getUTCDate()-i),r.setUTCHours(0,0,0,0),r}function Dse(e){Fr(1,arguments);var t=vn(e),r=t.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(r+1,0,4),n.setUTCHours(0,0,0,0);var i=Ry(n),a=new Date(0);a.setUTCFullYear(r,0,4),a.setUTCHours(0,0,0,0);var o=Ry(a);return t.getTime()>=i.getTime()?r+1:t.getTime()>=o.getTime()?r:r-1}function f$e(e){Fr(1,arguments);var t=Dse(e),r=new Date(0);r.setUTCFullYear(t,0,4),r.setUTCHours(0,0,0,0);var n=Ry(r);return n}var d$e=6048e5;function h$e(e){Fr(1,arguments);var t=vn(e),r=Ry(t).getTime()-f$e(t).getTime();return Math.round(r/d$e)+1}function xy(e,t){var r,n,i,a,o,u,s,c;Fr(1,arguments);var d=mc(),h=Ta((r=(n=(i=(a=t==null?void 0:t.weekStartsOn)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(u=o.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&i!==void 0?i:d.weekStartsOn)!==null&&n!==void 0?n:(s=d.locale)===null||s===void 0||(c=s.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&r!==void 0?r:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=vn(e),g=v.getUTCDay(),m=(g<h?7:0)+g-h;return v.setUTCDate(v.getUTCDate()-m),v.setUTCHours(0,0,0,0),v}function kse(e,t){var r,n,i,a,o,u,s,c;Fr(1,arguments);var d=vn(e),h=d.getUTCFullYear(),v=mc(),g=Ta((r=(n=(i=(a=t==null?void 0:t.firstWeekContainsDate)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(u=o.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&i!==void 0?i:v.firstWeekContainsDate)!==null&&n!==void 0?n:(s=v.locale)===null||s===void 0||(c=s.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&r!==void 0?r:1);if(!(g>=1&&g<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var m=new Date(0);m.setUTCFullYear(h+1,0,g),m.setUTCHours(0,0,0,0);var y=xy(m,t),S=new Date(0);S.setUTCFullYear(h,0,g),S.setUTCHours(0,0,0,0);var w=xy(S,t);return d.getTime()>=y.getTime()?h+1:d.getTime()>=w.getTime()?h:h-1}function v$e(e,t){var r,n,i,a,o,u,s,c;Fr(1,arguments);var d=mc(),h=Ta((r=(n=(i=(a=t==null?void 0:t.firstWeekContainsDate)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(u=o.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&i!==void 0?i:d.firstWeekContainsDate)!==null&&n!==void 0?n:(s=d.locale)===null||s===void 0||(c=s.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&r!==void 0?r:1),v=kse(e,t),g=new Date(0);g.setUTCFullYear(v,0,h),g.setUTCHours(0,0,0,0);var m=xy(g,t);return m}var p$e=6048e5;function g$e(e,t){Fr(1,arguments);var r=vn(e),n=xy(r,t).getTime()-v$e(r,t).getTime();return Math.round(n/p$e)+1}function Gn(e,t){for(var r=e<0?"-":"",n=Math.abs(e).toString();n.length<t;)n="0"+n;return r+n}var jl={y:function(t,r){var n=t.getUTCFullYear(),i=n>0?n:1-n;return Gn(r==="yy"?i%100:i,r.length)},M:function(t,r){var n=t.getUTCMonth();return r==="M"?String(n+1):Gn(n+1,2)},d:function(t,r){return Gn(t.getUTCDate(),r.length)},a:function(t,r){var n=t.getUTCHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h:function(t,r){return Gn(t.getUTCHours()%12||12,r.length)},H:function(t,r){return Gn(t.getUTCHours(),r.length)},m:function(t,r){return Gn(t.getUTCMinutes(),r.length)},s:function(t,r){return Gn(t.getUTCSeconds(),r.length)},S:function(t,r){var n=r.length,i=t.getUTCMilliseconds(),a=Math.floor(i*Math.pow(10,n-3));return Gn(a,r.length)}},Ed={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},m$e={G:function(t,r,n){var i=t.getUTCFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});case"GGGG":default:return n.era(i,{width:"wide"})}},y:function(t,r,n){if(r==="yo"){var i=t.getUTCFullYear(),a=i>0?i:1-i;return n.ordinalNumber(a,{unit:"year"})}return jl.y(t,r)},Y:function(t,r,n,i){var a=kse(t,i),o=a>0?a:1-a;if(r==="YY"){var u=o%100;return Gn(u,2)}return r==="Yo"?n.ordinalNumber(o,{unit:"year"}):Gn(o,r.length)},R:function(t,r){var n=Dse(t);return Gn(n,r.length)},u:function(t,r){var n=t.getUTCFullYear();return Gn(n,r.length)},Q:function(t,r,n){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"Q":return String(i);case"QQ":return Gn(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(t,r,n){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"q":return String(i);case"qq":return Gn(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(t,r,n){var i=t.getUTCMonth();switch(r){case"M":case"MM":return jl.M(t,r);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(t,r,n){var i=t.getUTCMonth();switch(r){case"L":return String(i+1);case"LL":return Gn(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(t,r,n,i){var a=g$e(t,i);return r==="wo"?n.ordinalNumber(a,{unit:"week"}):Gn(a,r.length)},I:function(t,r,n){var i=h$e(t);return r==="Io"?n.ordinalNumber(i,{unit:"week"}):Gn(i,r.length)},d:function(t,r,n){return r==="do"?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):jl.d(t,r)},D:function(t,r,n){var i=c$e(t);return r==="Do"?n.ordinalNumber(i,{unit:"dayOfYear"}):Gn(i,r.length)},E:function(t,r,n){var i=t.getUTCDay();switch(r){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});case"EEEE":default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(t,r,n,i){var a=t.getUTCDay(),o=(a-i.weekStartsOn+8)%7||7;switch(r){case"e":return String(o);case"ee":return Gn(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});case"eeee":default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(t,r,n,i){var a=t.getUTCDay(),o=(a-i.weekStartsOn+8)%7||7;switch(r){case"c":return String(o);case"cc":return Gn(o,r.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});case"cccc":default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(t,r,n){var i=t.getUTCDay(),a=i===0?7:i;switch(r){case"i":return String(a);case"ii":return Gn(a,r.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});case"iiii":default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(t,r,n){var i=t.getUTCHours(),a=i/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(t,r,n){var i=t.getUTCHours(),a;switch(i===12?a=Ed.noon:i===0?a=Ed.midnight:a=i/12>=1?"pm":"am",r){case"b":case"bb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(t,r,n){var i=t.getUTCHours(),a;switch(i>=17?a=Ed.evening:i>=12?a=Ed.afternoon:i>=4?a=Ed.morning:a=Ed.night,r){case"B":case"BB":case"BBB":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(t,r,n){if(r==="ho"){var i=t.getUTCHours()%12;return i===0&&(i=12),n.ordinalNumber(i,{unit:"hour"})}return jl.h(t,r)},H:function(t,r,n){return r==="Ho"?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):jl.H(t,r)},K:function(t,r,n){var i=t.getUTCHours()%12;return r==="Ko"?n.ordinalNumber(i,{unit:"hour"}):Gn(i,r.length)},k:function(t,r,n){var i=t.getUTCHours();return i===0&&(i=24),r==="ko"?n.ordinalNumber(i,{unit:"hour"}):Gn(i,r.length)},m:function(t,r,n){return r==="mo"?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):jl.m(t,r)},s:function(t,r,n){return r==="so"?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):jl.s(t,r)},S:function(t,r){return jl.S(t,r)},X:function(t,r,n,i){var a=i._originalDate||t,o=a.getTimezoneOffset();if(o===0)return"Z";switch(r){case"X":return GJ(o);case"XXXX":case"XX":return jc(o);case"XXXXX":case"XXX":default:return jc(o,":")}},x:function(t,r,n,i){var a=i._originalDate||t,o=a.getTimezoneOffset();switch(r){case"x":return GJ(o);case"xxxx":case"xx":return jc(o);case"xxxxx":case"xxx":default:return jc(o,":")}},O:function(t,r,n,i){var a=i._originalDate||t,o=a.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+WJ(o,":");case"OOOO":default:return"GMT"+jc(o,":")}},z:function(t,r,n,i){var a=i._originalDate||t,o=a.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+WJ(o,":");case"zzzz":default:return"GMT"+jc(o,":")}},t:function(t,r,n,i){var a=i._originalDate||t,o=Math.floor(a.getTime()/1e3);return Gn(o,r.length)},T:function(t,r,n,i){var a=i._originalDate||t,o=a.getTime();return Gn(o,r.length)}};function WJ(e,t){var r=e>0?"-":"+",n=Math.abs(e),i=Math.floor(n/60),a=n%60;if(a===0)return r+String(i);var o=t;return r+String(i)+o+Gn(a,2)}function GJ(e,t){if(e%60===0){var r=e>0?"-":"+";return r+Gn(Math.abs(e)/60,2)}return jc(e,t)}function jc(e,t){var r=t||"",n=e>0?"-":"+",i=Math.abs(e),a=Gn(Math.floor(i/60),2),o=Gn(i%60,2);return n+a+r+o}var YJ=function(t,r){switch(t){case"P":return r.date({width:"short"});case"PP":return r.date({width:"medium"});case"PPP":return r.date({width:"long"});case"PPPP":default:return r.date({width:"full"})}},Nse=function(t,r){switch(t){case"p":return r.time({width:"short"});case"pp":return r.time({width:"medium"});case"ppp":return r.time({width:"long"});case"pppp":default:return r.time({width:"full"})}},y$e=function(t,r){var n=t.match(/(P+)(p+)?/)||[],i=n[1],a=n[2];if(!a)return YJ(t,r);var o;switch(i){case"P":o=r.dateTime({width:"short"});break;case"PP":o=r.dateTime({width:"medium"});break;case"PPP":o=r.dateTime({width:"long"});break;case"PPPP":default:o=r.dateTime({width:"full"});break}return o.replace("{{date}}",YJ(i,r)).replace("{{time}}",Nse(a,r))},_$e={p:Nse,P:y$e},S$e=["D","DD"],E$e=["YY","YYYY"];function w$e(e){return S$e.indexOf(e)!==-1}function b$e(e){return E$e.indexOf(e)!==-1}function KJ(e,t,r){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var T$e={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},R$e=function(t,r,n){var i,a=T$e[t];return typeof a=="string"?i=a:r===1?i=a.one:i=a.other.replace("{{count}}",r.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i};function xO(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.width?String(t.width):e.defaultWidth,n=e.formats[r]||e.formats[e.defaultWidth];return n}}var x$e={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},C$e={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},A$e={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},O$e={date:xO({formats:x$e,defaultWidth:"full"}),time:xO({formats:C$e,defaultWidth:"full"}),dateTime:xO({formats:A$e,defaultWidth:"full"})},I$e={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},P$e=function(t,r,n,i){return I$e[t]};function fv(e){return function(t,r){var n=r!=null&&r.context?String(r.context):"standalone",i;if(n==="formatting"&&e.formattingValues){var a=e.defaultFormattingWidth||e.defaultWidth,o=r!=null&&r.width?String(r.width):a;i=e.formattingValues[o]||e.formattingValues[a]}else{var u=e.defaultWidth,s=r!=null&&r.width?String(r.width):e.defaultWidth;i=e.values[s]||e.values[u]}var c=e.argumentCallback?e.argumentCallback(t):t;return i[c]}}var D$e={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},k$e={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},N$e={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},L$e={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},M$e={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},$$e={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},F$e=function(t,r){var n=Number(t),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},j$e={ordinalNumber:F$e,era:fv({values:D$e,defaultWidth:"wide"}),quarter:fv({values:k$e,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:fv({values:N$e,defaultWidth:"wide"}),day:fv({values:L$e,defaultWidth:"wide"}),dayPeriod:fv({values:M$e,defaultWidth:"wide",formattingValues:$$e,defaultFormattingWidth:"wide"})};function dv(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.width,i=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;var o=a[0],u=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],s=Array.isArray(u)?q$e(u,function(h){return h.test(o)}):U$e(u,function(h){return h.test(o)}),c;c=e.valueCallback?e.valueCallback(s):s,c=r.valueCallback?r.valueCallback(c):c;var d=t.slice(o.length);return{value:c,rest:d}}}function U$e(e,t){for(var r in e)if(e.hasOwnProperty(r)&&t(e[r]))return r}function q$e(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return r}function V$e(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.match(e.matchPattern);if(!n)return null;var i=n[0],a=t.match(e.parsePattern);if(!a)return null;var o=e.valueCallback?e.valueCallback(a[0]):a[0];o=r.valueCallback?r.valueCallback(o):o;var u=t.slice(i.length);return{value:o,rest:u}}}var B$e=/^(\d+)(th|st|nd|rd)?/i,H$e=/\d+/i,z$e={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},W$e={any:[/^b/i,/^(a|c)/i]},G$e={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Y$e={any:[/1/i,/2/i,/3/i,/4/i]},K$e={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},X$e={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Q$e={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},J$e={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Z$e={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},eFe={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},tFe={ordinalNumber:V$e({matchPattern:B$e,parsePattern:H$e,valueCallback:function(t){return parseInt(t,10)}}),era:dv({matchPatterns:z$e,defaultMatchWidth:"wide",parsePatterns:W$e,defaultParseWidth:"any"}),quarter:dv({matchPatterns:G$e,defaultMatchWidth:"wide",parsePatterns:Y$e,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:dv({matchPatterns:K$e,defaultMatchWidth:"wide",parsePatterns:X$e,defaultParseWidth:"any"}),day:dv({matchPatterns:Q$e,defaultMatchWidth:"wide",parsePatterns:J$e,defaultParseWidth:"any"}),dayPeriod:dv({matchPatterns:Z$e,defaultMatchWidth:"any",parsePatterns:eFe,defaultParseWidth:"any"})},Lse={code:"en-US",formatDistance:R$e,formatLong:O$e,formatRelative:P$e,localize:j$e,match:tFe,options:{weekStartsOn:0,firstWeekContainsDate:1}},rFe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,nFe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,iFe=/^'([^]*?)'?$/,aFe=/''/g,oFe=/[a-zA-Z]/;function Bf(e,t,r){var n,i,a,o,u,s,c,d,h,v,g,m,y,S,w,b,A,R;Fr(2,arguments);var x=String(t),O=mc(),_=(n=(i=r==null?void 0:r.locale)!==null&&i!==void 0?i:O.locale)!==null&&n!==void 0?n:Lse,P=Ta((a=(o=(u=(s=r==null?void 0:r.firstWeekContainsDate)!==null&&s!==void 0?s:r==null||(c=r.locale)===null||c===void 0||(d=c.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&u!==void 0?u:O.firstWeekContainsDate)!==null&&o!==void 0?o:(h=O.locale)===null||h===void 0||(v=h.options)===null||v===void 0?void 0:v.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!(P>=1&&P<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var N=Ta((g=(m=(y=(S=r==null?void 0:r.weekStartsOn)!==null&&S!==void 0?S:r==null||(w=r.locale)===null||w===void 0||(b=w.options)===null||b===void 0?void 0:b.weekStartsOn)!==null&&y!==void 0?y:O.weekStartsOn)!==null&&m!==void 0?m:(A=O.locale)===null||A===void 0||(R=A.options)===null||R===void 0?void 0:R.weekStartsOn)!==null&&g!==void 0?g:0);if(!(N>=0&&N<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!_.localize)throw new RangeError("locale must contain localize property");if(!_.formatLong)throw new RangeError("locale must contain formatLong property");var U=vn(e);if(!i$e(U))throw new RangeError("Invalid time value");var $=cp(U),B=u$e(U,$),Y={firstWeekContainsDate:P,weekStartsOn:N,locale:_,_originalDate:U},Q=x.match(nFe).map(function(K){var ee=K[0];if(ee==="p"||ee==="P"){var ne=_$e[ee];return ne(K,_.formatLong)}return K}).join("").match(rFe).map(function(K){if(K==="''")return"'";var ee=K[0];if(ee==="'")return sFe(K);var ne=m$e[ee];if(ne)return!(r!=null&&r.useAdditionalWeekYearTokens)&&b$e(K)&&KJ(K,t,String(e)),!(r!=null&&r.useAdditionalDayOfYearTokens)&&w$e(K)&&KJ(K,t,String(e)),ne(B,K,_.localize,Y);if(ee.match(oFe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ee+"`");return K}).join("");return Q}function sFe(e){var t=e.match(iFe);return t?t[1].replace(aFe,"'"):e}function uFe(e){Fr(1,arguments);var t=vn(e),r=t.getFullYear(),n=t.getMonth(),i=new Date(0);return i.setFullYear(r,n+1,0),i.setHours(0,0,0,0),i.getDate()}var lFe=6048e5;function cFe(e){Fr(1,arguments);var t=vn(e),r=cf(t).getTime()-ZMe(t).getTime();return Math.round(r/lFe)+1}function fFe(e){Fr(1,arguments);var t=vn(e),r=t.getTime();return r}function dFe(e){return Fr(1,arguments),Math.floor(fFe(e)/1e3)}function hFe(e,t){var r,n,i,a,o,u,s,c;Fr(1,arguments);var d=vn(e),h=d.getFullYear(),v=mc(),g=Ta((r=(n=(i=(a=t==null?void 0:t.firstWeekContainsDate)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(u=o.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&i!==void 0?i:v.firstWeekContainsDate)!==null&&n!==void 0?n:(s=v.locale)===null||s===void 0||(c=s.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&r!==void 0?r:1);if(!(g>=1&&g<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var m=new Date(0);m.setFullYear(h+1,0,g),m.setHours(0,0,0,0);var y=Cu(m,t),S=new Date(0);S.setFullYear(h,0,g),S.setHours(0,0,0,0);var w=Cu(S,t);return d.getTime()>=y.getTime()?h+1:d.getTime()>=w.getTime()?h:h-1}function vFe(e,t){var r,n,i,a,o,u,s,c;Fr(1,arguments);var d=mc(),h=Ta((r=(n=(i=(a=t==null?void 0:t.firstWeekContainsDate)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(u=o.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&i!==void 0?i:d.firstWeekContainsDate)!==null&&n!==void 0?n:(s=d.locale)===null||s===void 0||(c=s.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&r!==void 0?r:1),v=hFe(e,t),g=new Date(0);g.setFullYear(v,0,h),g.setHours(0,0,0,0);var m=Cu(g,t);return m}var pFe=6048e5;function gFe(e,t){Fr(1,arguments);var r=vn(e),n=Cu(r,t).getTime()-vFe(r,t).getTime();return Math.round(n/pFe)+1}function mFe(e){Fr(1,arguments);var t=vn(e),r=t.getMonth();return t.setFullYear(t.getFullYear(),r+1,0),t.setHours(0,0,0,0),t}function yFe(e,t){return Fr(1,arguments),o$e(mFe(e),Fo(e),t)+1}function yP(e,t){Fr(2,arguments);var r=vn(e),n=vn(t);return r.getTime()>n.getTime()}function Mse(e,t){Fr(2,arguments);var r=vn(e),n=vn(t);return r.getTime()<n.getTime()}function Zk(e,t){Fr(2,arguments);var r=vn(e),n=vn(t);return r.getFullYear()===n.getFullYear()&&r.getMonth()===n.getMonth()}function _Fe(e,t){Fr(2,arguments);var r=vn(e),n=vn(t);return r.getFullYear()===n.getFullYear()}function CO(e,t){Fr(2,arguments);var r=Ta(t);return fo(e,-r)}function AO(e,t){Fr(2,arguments);var r=vn(e),n=Ta(t),i=r.getFullYear(),a=r.getDate(),o=new Date(0);o.setFullYear(i,n,15),o.setHours(0,0,0,0);var u=uFe(o);return r.setMonth(n,Math.min(a,u)),r}function XJ(e,t){Fr(2,arguments);var r=vn(e),n=Ta(t);return isNaN(r.getTime())?new Date(NaN):(r.setFullYear(n),r)}var zr=function(){return zr=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},zr.apply(this,arguments)};function SFe(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function $se(e,t,r){for(var n=0,i=t.length,a;n<i;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}var Fse={exports:{}},hv={};/**
164
- * @license React
165
- * react-jsx-runtime.production.min.js
166
- *
167
- * Copyright (c) Facebook, Inc. and its affiliates.
168
- *
169
- * This source code is licensed under the MIT license found in the
170
- * LICENSE file in the root directory of this source tree.
171
- */var QJ;function EFe(){if(QJ)return hv;QJ=1;var e=or,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function o(u,s,c){var d,h={},v=null,g=null;c!==void 0&&(v=""+c),s.key!==void 0&&(v=""+s.key),s.ref!==void 0&&(g=s.ref);for(d in s)n.call(s,d)&&!a.hasOwnProperty(d)&&(h[d]=s[d]);if(u&&u.defaultProps)for(d in s=u.defaultProps,s)h[d]===void 0&&(h[d]=s[d]);return{$$typeof:t,type:u,key:v,ref:g,props:h,_owner:i.current}}return hv.Fragment=r,hv.jsx=o,hv.jsxs=o,hv}Fse.exports=EFe();var Ut=Fse.exports;function Xp(e){return e.mode==="multiple"}function Qp(e){return e.mode==="range"}function p0(e){return e.mode==="single"}var wFe={root:"rdp",multiple_months:"rdp-multiple_months",with_weeknumber:"rdp-with_weeknumber",vhidden:"rdp-vhidden",button_reset:"rdp-button_reset",button:"rdp-button",caption:"rdp-caption",caption_start:"rdp-caption_start",caption_end:"rdp-caption_end",caption_between:"rdp-caption_between",caption_label:"rdp-caption_label",caption_dropdowns:"rdp-caption_dropdowns",dropdown:"rdp-dropdown",dropdown_month:"rdp-dropdown_month",dropdown_year:"rdp-dropdown_year",dropdown_icon:"rdp-dropdown_icon",months:"rdp-months",month:"rdp-month",table:"rdp-table",tbody:"rdp-tbody",tfoot:"rdp-tfoot",head:"rdp-head",head_row:"rdp-head_row",head_cell:"rdp-head_cell",nav:"rdp-nav",nav_button:"rdp-nav_button",nav_button_previous:"rdp-nav_button_previous",nav_button_next:"rdp-nav_button_next",nav_icon:"rdp-nav_icon",row:"rdp-row",weeknumber:"rdp-weeknumber",cell:"rdp-cell",day:"rdp-day",day_today:"rdp-day_today",day_outside:"rdp-day_outside",day_selected:"rdp-day_selected",day_disabled:"rdp-day_disabled",day_hidden:"rdp-day_hidden",day_range_start:"rdp-day_range_start",day_range_end:"rdp-day_range_end",day_range_middle:"rdp-day_range_middle"};function bFe(e,t){return Bf(e,"LLLL y",t)}function TFe(e,t){return Bf(e,"d",t)}function RFe(e,t){return Bf(e,"LLLL",t)}function xFe(e){return"".concat(e)}function CFe(e,t){return Bf(e,"cccccc",t)}function AFe(e,t){return Bf(e,"yyyy",t)}var OFe=Object.freeze({__proto__:null,formatCaption:bFe,formatDay:TFe,formatMonthCaption:RFe,formatWeekNumber:xFe,formatWeekdayName:CFe,formatYearCaption:AFe}),IFe=function(e,t,r){return Bf(e,"do MMMM (EEEE)",r)},PFe=function(){return"Month: "},DFe=function(){return"Go to next month"},kFe=function(){return"Go to previous month"},NFe=function(e,t){return Bf(e,"cccc",t)},LFe=function(e){return"Week n. ".concat(e)},MFe=function(){return"Year: "},$Fe=Object.freeze({__proto__:null,labelDay:IFe,labelMonthDropdown:PFe,labelNext:DFe,labelPrevious:kFe,labelWeekNumber:LFe,labelWeekday:NFe,labelYearDropdown:MFe});function FFe(){var e="buttons",t=wFe,r=Lse,n={},i={},a=1,o={},u=new Date;return{captionLayout:e,classNames:t,formatters:OFe,labels:$Fe,locale:r,modifiersClassNames:n,modifiers:i,numberOfMonths:a,styles:o,today:u,mode:"default"}}function jFe(e){var t=e.fromYear,r=e.toYear,n=e.fromMonth,i=e.toMonth,a=e.fromDate,o=e.toDate;return n?a=Fo(n):t&&(a=new Date(t,0,1)),i?o=Qk(i):r&&(o=new Date(r,11,31)),{fromDate:a?Jd(a):void 0,toDate:o?Jd(o):void 0}}var jse=he.createContext(void 0);function UFe(e){var t,r=e.initialProps,n=FFe(),i=jFe(r),a=i.fromDate,o=i.toDate,u=(t=r.captionLayout)!==null&&t!==void 0?t:n.captionLayout;u!=="buttons"&&(!a||!o)&&(u="buttons");var s;(p0(r)||Xp(r)||Qp(r))&&(s=r.onSelect);var c=zr(zr(zr({},n),r),{captionLayout:u,classNames:zr(zr({},n.classNames),r.classNames),components:zr({},r.components),formatters:zr(zr({},n.formatters),r.formatters),fromDate:a,labels:zr(zr({},n.labels),r.labels),mode:r.mode||n.mode,modifiers:zr(zr({},n.modifiers),r.modifiers),modifiersClassNames:zr(zr({},n.modifiersClassNames),r.modifiersClassNames),onSelect:s,styles:zr(zr({},n.styles),r.styles),toDate:o});return Ut.jsx(jse.Provider,{value:c,children:e.children})}function yi(){var e=he.useContext(jse);if(!e)throw new Error("useDayPicker must be used within a DayPickerProvider.");return e}function Use(e){var t=yi(),r=t.locale,n=t.classNames,i=t.styles,a=t.formatters.formatCaption;return Ut.jsx("div",{className:n.caption_label,style:i.caption_label,"aria-live":"polite",role:"presentation",id:e.id,children:a(e.displayMonth,{locale:r})})}function qFe(e){return Ut.jsx("svg",zr({width:"8px",height:"8px",viewBox:"0 0 120 120","data-testid":"iconDropdown"},e,{children:Ut.jsx("path",{d:"M4.22182541,48.2218254 C8.44222828,44.0014225 15.2388494,43.9273804 19.5496459,47.9996989 L19.7781746,48.2218254 L60,88.443 L100.221825,48.2218254 C104.442228,44.0014225 111.238849,43.9273804 115.549646,47.9996989 L115.778175,48.2218254 C119.998577,52.4422283 120.07262,59.2388494 116.000301,63.5496459 L115.778175,63.7781746 L67.7781746,111.778175 C63.5577717,115.998577 56.7611506,116.07262 52.4503541,112.000301 L52.2218254,111.778175 L4.22182541,63.7781746 C-0.0739418023,59.4824074 -0.0739418023,52.5175926 4.22182541,48.2218254 Z",fill:"currentColor",fillRule:"nonzero"})}))}function qse(e){var t,r,n=e.onChange,i=e.value,a=e.children,o=e.caption,u=e.className,s=e.style,c=yi(),d=(r=(t=c.components)===null||t===void 0?void 0:t.IconDropdown)!==null&&r!==void 0?r:qFe;return Ut.jsxs("div",{className:u,style:s,children:[Ut.jsx("span",{className:c.classNames.vhidden,children:e["aria-label"]}),Ut.jsx("select",{name:e.name,"aria-label":e["aria-label"],className:c.classNames.dropdown,style:c.styles.dropdown,value:i,onChange:n,children:a}),Ut.jsxs("div",{className:c.classNames.caption_label,style:c.styles.caption_label,"aria-hidden":"true",children:[o,Ut.jsx(d,{className:c.classNames.dropdown_icon,style:c.styles.dropdown_icon})]})]})}function VFe(e){var t,r=yi(),n=r.fromDate,i=r.toDate,a=r.styles,o=r.locale,u=r.formatters.formatMonthCaption,s=r.classNames,c=r.components,d=r.labels.labelMonthDropdown;if(!n)return Ut.jsx(Ut.Fragment,{});if(!i)return Ut.jsx(Ut.Fragment,{});var h=[];if(_Fe(n,i))for(var v=Fo(n),g=n.getMonth();g<=i.getMonth();g++)h.push(AO(v,g));else for(var v=Fo(new Date),g=0;g<=11;g++)h.push(AO(v,g));var m=function(S){var w=Number(S.target.value),b=AO(Fo(e.displayMonth),w);e.onChange(b)},y=(t=c==null?void 0:c.Dropdown)!==null&&t!==void 0?t:qse;return Ut.jsx(y,{name:"months","aria-label":d(),className:s.dropdown_month,style:a.dropdown_month,onChange:m,value:e.displayMonth.getMonth(),caption:u(e.displayMonth,{locale:o}),children:h.map(function(S){return Ut.jsx("option",{value:S.getMonth(),children:u(S,{locale:o})},S.getMonth())})})}function BFe(e){var t,r=e.displayMonth,n=yi(),i=n.fromDate,a=n.toDate,o=n.locale,u=n.styles,s=n.classNames,c=n.components,d=n.formatters.formatYearCaption,h=n.labels.labelYearDropdown,v=[];if(!i)return Ut.jsx(Ut.Fragment,{});if(!a)return Ut.jsx(Ut.Fragment,{});for(var g=i.getFullYear(),m=a.getFullYear(),y=g;y<=m;y++)v.push(XJ(s$e(new Date),y));var S=function(b){var A=XJ(Fo(r),Number(b.target.value));e.onChange(A)},w=(t=c==null?void 0:c.Dropdown)!==null&&t!==void 0?t:qse;return Ut.jsx(w,{name:"years","aria-label":h(),className:s.dropdown_year,style:u.dropdown_year,onChange:S,value:r.getFullYear(),caption:d(r,{locale:o}),children:v.map(function(b){return Ut.jsx("option",{value:b.getFullYear(),children:d(b,{locale:o})},b.getFullYear())})})}function HFe(e,t){var r=he.useState(e),n=r[0],i=r[1],a=t===void 0?n:t;return[a,i]}function zFe(e){var t=e.month,r=e.defaultMonth,n=e.today,i=t||r||n||new Date,a=e.toDate,o=e.fromDate,u=e.numberOfMonths,s=u===void 0?1:u;if(a&&fp(a,i)<0){var c=-1*(s-1);i=eu(a,c)}return o&&fp(i,o)<0&&(i=o),Fo(i)}function WFe(){var e=yi(),t=zFe(e),r=HFe(t,e.month),n=r[0],i=r[1],a=function(o){var u;if(!e.disableNavigation){var s=Fo(o);i(s),(u=e.onMonthChange)===null||u===void 0||u.call(e,s)}};return[n,a]}function GFe(e,t){for(var r=t.reverseMonths,n=t.numberOfMonths,i=Fo(e),a=Fo(eu(i,n)),o=fp(a,i),u=[],s=0;s<o;s++){var c=eu(i,s);u.push(c)}return r&&(u=u.reverse()),u}function YFe(e,t){if(!t.disableNavigation){var r=t.toDate,n=t.pagedNavigation,i=t.numberOfMonths,a=i===void 0?1:i,o=n?a:1,u=Fo(e);if(!r)return eu(u,o);var s=fp(r,e);if(!(s<a))return eu(u,o)}}function KFe(e,t){if(!t.disableNavigation){var r=t.fromDate,n=t.pagedNavigation,i=t.numberOfMonths,a=i===void 0?1:i,o=n?a:1,u=Fo(e);if(!r)return eu(u,-o);var s=fp(u,r);if(!(s<=0))return eu(u,-o)}}var Vse=he.createContext(void 0);function XFe(e){var t=yi(),r=WFe(),n=r[0],i=r[1],a=GFe(n,t),o=YFe(n,t),u=KFe(n,t),s=function(h){return a.some(function(v){return Zk(h,v)})},c=function(h,v){s(h)||(v&&Mse(h,v)?i(eu(h,1+t.numberOfMonths*-1)):i(h))},d={currentMonth:n,displayMonths:a,goToMonth:i,goToDate:c,previousMonth:u,nextMonth:o,isDateDisplayed:s};return Ut.jsx(Vse.Provider,{value:d,children:e.children})}function Jp(){var e=he.useContext(Vse);if(!e)throw new Error("useNavigation must be used within a NavigationProvider");return e}function JJ(e){var t,r=yi(),n=r.classNames,i=r.styles,a=r.components,o=Jp().goToMonth,u=function(d){o(eu(d,e.displayIndex?-e.displayIndex:0))},s=(t=a==null?void 0:a.CaptionLabel)!==null&&t!==void 0?t:Use,c=Ut.jsx(s,{id:e.id,displayMonth:e.displayMonth});return Ut.jsxs("div",{className:n.caption_dropdowns,style:i.caption_dropdowns,children:[Ut.jsx("div",{className:n.vhidden,children:c}),Ut.jsx(VFe,{onChange:u,displayMonth:e.displayMonth}),Ut.jsx(BFe,{onChange:u,displayMonth:e.displayMonth})]})}function QFe(e){return Ut.jsx("svg",zr({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:Ut.jsx("path",{d:"M69.490332,3.34314575 C72.6145263,0.218951416 77.6798462,0.218951416 80.8040405,3.34314575 C83.8617626,6.40086786 83.9268205,11.3179931 80.9992143,14.4548388 L80.8040405,14.6568542 L35.461,60 L80.8040405,105.343146 C83.8617626,108.400868 83.9268205,113.317993 80.9992143,116.454839 L80.8040405,116.656854 C77.7463184,119.714576 72.8291931,119.779634 69.6923475,116.852028 L69.490332,116.656854 L18.490332,65.6568542 C15.4326099,62.5991321 15.367552,57.6820069 18.2951583,54.5451612 L18.490332,54.3431458 L69.490332,3.34314575 Z",fill:"currentColor",fillRule:"nonzero"})}))}function JFe(e){return Ut.jsx("svg",zr({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:Ut.jsx("path",{d:"M49.8040405,3.34314575 C46.6798462,0.218951416 41.6145263,0.218951416 38.490332,3.34314575 C35.4326099,6.40086786 35.367552,11.3179931 38.2951583,14.4548388 L38.490332,14.6568542 L83.8333725,60 L38.490332,105.343146 C35.4326099,108.400868 35.367552,113.317993 38.2951583,116.454839 L38.490332,116.656854 C41.5480541,119.714576 46.4651794,119.779634 49.602025,116.852028 L49.8040405,116.656854 L100.804041,65.6568542 C103.861763,62.5991321 103.926821,57.6820069 100.999214,54.5451612 L100.804041,54.3431458 L49.8040405,3.34314575 Z",fill:"currentColor"})}))}var Cy=he.forwardRef(function(e,t){var r=yi(),n=r.classNames,i=r.styles,a=[n.button_reset,n.button];e.className&&a.push(e.className);var o=a.join(" "),u=zr(zr({},i.button_reset),i.button);return e.style&&Object.assign(u,e.style),Ut.jsx("button",zr({},e,{ref:t,type:"button",className:o,style:u}))});function ZFe(e){var t,r,n=yi(),i=n.dir,a=n.locale,o=n.classNames,u=n.styles,s=n.labels,c=s.labelPrevious,d=s.labelNext,h=n.components;if(!e.nextMonth&&!e.previousMonth)return Ut.jsx(Ut.Fragment,{});var v=c(e.previousMonth,{locale:a}),g=[o.nav_button,o.nav_button_previous].join(" "),m=d(e.nextMonth,{locale:a}),y=[o.nav_button,o.nav_button_next].join(" "),S=(t=h==null?void 0:h.IconRight)!==null&&t!==void 0?t:JFe,w=(r=h==null?void 0:h.IconLeft)!==null&&r!==void 0?r:QFe;return Ut.jsxs("div",{className:o.nav,style:u.nav,children:[!e.hidePrevious&&Ut.jsx(Cy,{name:"previous-month","aria-label":v,className:g,style:u.nav_button_previous,disabled:!e.previousMonth,onClick:e.onPreviousClick,children:i==="rtl"?Ut.jsx(S,{className:o.nav_icon,style:u.nav_icon}):Ut.jsx(w,{className:o.nav_icon,style:u.nav_icon})}),!e.hideNext&&Ut.jsx(Cy,{name:"next-month","aria-label":m,className:y,style:u.nav_button_next,disabled:!e.nextMonth,onClick:e.onNextClick,children:i==="rtl"?Ut.jsx(w,{className:o.nav_icon,style:u.nav_icon}):Ut.jsx(S,{className:o.nav_icon,style:u.nav_icon})})]})}function ZJ(e){var t=yi().numberOfMonths,r=Jp(),n=r.previousMonth,i=r.nextMonth,a=r.goToMonth,o=r.displayMonths,u=o.findIndex(function(m){return Zk(e.displayMonth,m)}),s=u===0,c=u===o.length-1,d=t>1&&(s||!c),h=t>1&&(c||!s),v=function(){n&&a(n)},g=function(){i&&a(i)};return Ut.jsx(ZFe,{displayMonth:e.displayMonth,hideNext:d,hidePrevious:h,nextMonth:i,previousMonth:n,onPreviousClick:v,onNextClick:g})}function eje(e){var t,r=yi(),n=r.classNames,i=r.disableNavigation,a=r.styles,o=r.captionLayout,u=r.components,s=(t=u==null?void 0:u.CaptionLabel)!==null&&t!==void 0?t:Use,c;return i?c=Ut.jsx(s,{id:e.id,displayMonth:e.displayMonth}):o==="dropdown"?c=Ut.jsx(JJ,{displayMonth:e.displayMonth,id:e.id}):o==="dropdown-buttons"?c=Ut.jsxs(Ut.Fragment,{children:[Ut.jsx(JJ,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id}),Ut.jsx(ZJ,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id})]}):c=Ut.jsxs(Ut.Fragment,{children:[Ut.jsx(s,{id:e.id,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),Ut.jsx(ZJ,{displayMonth:e.displayMonth,id:e.id})]}),Ut.jsx("div",{className:n.caption,style:a.caption,children:c})}function tje(e){var t=yi(),r=t.footer,n=t.styles,i=t.classNames.tfoot;return r?Ut.jsx("tfoot",{className:i,style:n.tfoot,children:Ut.jsx("tr",{children:Ut.jsx("td",{colSpan:8,children:r})})}):Ut.jsx(Ut.Fragment,{})}function rje(e,t,r){for(var n=r?cf(new Date):Cu(new Date,{locale:e,weekStartsOn:t}),i=[],a=0;a<7;a++){var o=fo(n,a);i.push(o)}return i}function nje(){var e=yi(),t=e.classNames,r=e.styles,n=e.showWeekNumber,i=e.locale,a=e.weekStartsOn,o=e.ISOWeek,u=e.formatters.formatWeekdayName,s=e.labels.labelWeekday,c=rje(i,a,o);return Ut.jsxs("tr",{style:r.head_row,className:t.head_row,children:[n&&Ut.jsx("td",{style:r.head_cell,className:t.head_cell}),c.map(function(d,h){return Ut.jsx("th",{scope:"col",className:t.head_cell,style:r.head_cell,"aria-label":s(d,{locale:i}),children:u(d,{locale:i})},h)})]})}function ije(){var e,t=yi(),r=t.classNames,n=t.styles,i=t.components,a=(e=i==null?void 0:i.HeadRow)!==null&&e!==void 0?e:nje;return Ut.jsx("thead",{style:n.head,className:r.head,children:Ut.jsx(a,{})})}function aje(e){var t=yi(),r=t.locale,n=t.formatters.formatDay;return Ut.jsx(Ut.Fragment,{children:n(e.date,{locale:r})})}var eN=he.createContext(void 0);function oje(e){if(!Xp(e.initialProps)){var t={selected:void 0,modifiers:{disabled:[]}};return Ut.jsx(eN.Provider,{value:t,children:e.children})}return Ut.jsx(sje,{initialProps:e.initialProps,children:e.children})}function sje(e){var t=e.initialProps,r=e.children,n=t.selected,i=t.min,a=t.max,o=function(c,d,h){var v,g;(v=t.onDayClick)===null||v===void 0||v.call(t,c,d,h);var m=!!(d.selected&&i&&(n==null?void 0:n.length)===i);if(!m){var y=!!(!d.selected&&a&&(n==null?void 0:n.length)===a);if(!y){var S=n?$se([],n):[];if(d.selected){var w=S.findIndex(function(b){return Mo(c,b)});S.splice(w,1)}else S.push(c);(g=t.onSelect)===null||g===void 0||g.call(t,S,c,d,h)}}},u={disabled:[]};n&&u.disabled.push(function(c){var d=a&&n.length>a-1,h=n.some(function(v){return Mo(v,c)});return!!(d&&!h)});var s={selected:n,onDayClick:o,modifiers:u};return Ut.jsx(eN.Provider,{value:s,children:r})}function tN(){var e=he.useContext(eN);if(!e)throw new Error("useSelectMultiple must be used within a SelectMultipleProvider");return e}function uje(e,t){var r=t||{},n=r.from,i=r.to;return n&&i?Mo(i,e)&&Mo(n,e)?void 0:Mo(i,e)?{from:i,to:void 0}:Mo(n,e)?void 0:yP(n,e)?{from:e,to:i}:{from:n,to:e}:i?yP(e,i)?{from:i,to:e}:{from:e,to:i}:n?Mse(e,n)?{from:e,to:n}:{from:n,to:e}:{from:e,to:void 0}}var rN=he.createContext(void 0);function lje(e){if(!Qp(e.initialProps)){var t={selected:void 0,modifiers:{range_start:[],range_end:[],range_middle:[],disabled:[]}};return Ut.jsx(rN.Provider,{value:t,children:e.children})}return Ut.jsx(cje,{initialProps:e.initialProps,children:e.children})}function cje(e){var t=e.initialProps,r=e.children,n=t.selected,i=n||{},a=i.from,o=i.to,u=t.min,s=t.max,c=function(g,m,y){var S,w;(S=t.onDayClick)===null||S===void 0||S.call(t,g,m,y);var b=uje(g,n);(w=t.onSelect)===null||w===void 0||w.call(t,b,g,m,y)},d={range_start:[],range_end:[],range_middle:[],disabled:[]};if(a?(d.range_start=[a],o?(d.range_end=[o],Mo(a,o)||(d.range_middle=[{after:a,before:o}])):d.range_end=[a]):o&&(d.range_start=[o],d.range_end=[o]),u&&(a&&!o&&d.disabled.push({after:CO(a,u-1),before:fo(a,u-1)}),a&&o&&d.disabled.push({after:a,before:fo(a,u-1)}),!a&&o&&d.disabled.push({after:CO(o,u-1),before:fo(o,u-1)})),s){if(a&&!o&&(d.disabled.push({before:fo(a,-s+1)}),d.disabled.push({after:fo(a,s-1)})),a&&o){var h=nl(o,a)+1,v=s-h;d.disabled.push({before:CO(a,v)}),d.disabled.push({after:fo(o,v)})}!a&&o&&(d.disabled.push({before:fo(o,-s+1)}),d.disabled.push({after:fo(o,s-1)}))}return Ut.jsx(rN.Provider,{value:{selected:n,onDayClick:c,modifiers:d},children:r})}function nN(){var e=he.useContext(rN);if(!e)throw new Error("useSelectRange must be used within a SelectRangeProvider");return e}function Xm(e){return Array.isArray(e)?$se([],e):e!==void 0?[e]:[]}function fje(e){var t={};return Object.entries(e).forEach(function(r){var n=r[0],i=r[1];t[n]=Xm(i)}),t}var tu;(function(e){e.Outside="outside",e.Disabled="disabled",e.Selected="selected",e.Hidden="hidden",e.Today="today",e.RangeStart="range_start",e.RangeEnd="range_end",e.RangeMiddle="range_middle"})(tu||(tu={}));var dje=tu.Selected,Wu=tu.Disabled,hje=tu.Hidden,vje=tu.Today,OO=tu.RangeEnd,IO=tu.RangeMiddle,PO=tu.RangeStart,pje=tu.Outside;function gje(e,t,r){var n,i=(n={},n[dje]=Xm(e.selected),n[Wu]=Xm(e.disabled),n[hje]=Xm(e.hidden),n[vje]=[e.today],n[OO]=[],n[IO]=[],n[PO]=[],n[pje]=[],n);return e.fromDate&&i[Wu].push({before:e.fromDate}),e.toDate&&i[Wu].push({after:e.toDate}),Xp(e)?i[Wu]=i[Wu].concat(t.modifiers[Wu]):Qp(e)&&(i[Wu]=i[Wu].concat(r.modifiers[Wu]),i[PO]=r.modifiers[PO],i[IO]=r.modifiers[IO],i[OO]=r.modifiers[OO]),i}var Bse=he.createContext(void 0);function mje(e){var t=yi(),r=tN(),n=nN(),i=gje(t,r,n),a=fje(t.modifiers),o=zr(zr({},i),a);return Ut.jsx(Bse.Provider,{value:o,children:e.children})}function Hse(){var e=he.useContext(Bse);if(!e)throw new Error("useModifiers must be used within a ModifiersProvider");return e}function yje(e){return!!(e&&typeof e=="object"&&"before"in e&&"after"in e)}function _je(e){return!!(e&&typeof e=="object"&&"from"in e)}function Sje(e){return!!(e&&typeof e=="object"&&"after"in e)}function Eje(e){return!!(e&&typeof e=="object"&&"before"in e)}function wje(e){return!!(e&&typeof e=="object"&&"dayOfWeek"in e)}function bje(e,t){var r,n=t.from,i=t.to;if(n&&i){var a=nl(i,n)<0;a&&(r=[i,n],n=r[0],i=r[1]);var o=nl(e,n)>=0&&nl(i,e)>=0;return o}return i?Mo(i,e):n?Mo(n,e):!1}function Tje(e){return Xk(e)}function Rje(e){return Array.isArray(e)&&e.every(Xk)}function xje(e,t){return t.some(function(r){if(typeof r=="boolean")return r;if(Tje(r))return Mo(e,r);if(Rje(r))return r.includes(e);if(_je(r))return bje(e,r);if(wje(r))return r.dayOfWeek.includes(e.getDay());if(yje(r)){var n=nl(r.before,e),i=nl(r.after,e),a=n>0,o=i<0,u=yP(r.before,r.after);return u?o&&a:a||o}return Sje(r)?nl(e,r.after)>0:Eje(r)?nl(r.before,e)>0:typeof r=="function"?r(e):!1})}function iN(e,t,r){var n=Object.keys(t).reduce(function(a,o){var u=t[o];return xje(e,u)&&a.push(o),a},[]),i={};return n.forEach(function(a){return i[a]=!0}),r&&!Zk(e,r)&&(i.outside=!0),i}function Cje(e,t){for(var r=Fo(e[0]),n=Qk(e[e.length-1]),i,a,o=r;o<=n;){var u=iN(o,t),s=!u.disabled&&!u.hidden;if(!s){o=fo(o,1);continue}if(u.selected)return o;u.today&&!a&&(a=o),i||(i=o),o=fo(o,1)}return a||i}var Aje=365;function zse(e,t){var r=t.moveBy,n=t.direction,i=t.context,a=t.modifiers,o=t.retry,u=o===void 0?{count:0,lastFocused:e}:o,s=i.weekStartsOn,c=i.fromDate,d=i.toDate,h=i.locale,v={day:fo,week:mP,month:eu,year:t$e,startOfWeek:function(S){return i.ISOWeek?cf(S):Cu(S,{locale:h,weekStartsOn:s})},endOfWeek:function(S){return i.ISOWeek?Pse(S):Jk(S,{locale:h,weekStartsOn:s})}},g=v[r](e,n==="after"?1:-1);n==="before"&&c?g=r$e([c,g]):n==="after"&&d&&(g=n$e([d,g]));var m=!0;if(a){var y=iN(g,a);m=!y.disabled&&!y.hidden}return m?g:u.count>Aje?u.lastFocused:zse(g,{moveBy:r,direction:n,context:i,modifiers:a,retry:zr(zr({},u),{count:u.count+1})})}var Wse=he.createContext(void 0);function Oje(e){var t=Jp(),r=Hse(),n=he.useState(),i=n[0],a=n[1],o=he.useState(),u=o[0],s=o[1],c=Cje(t.displayMonths,r),d=i??(u&&t.isDateDisplayed(u))?u:c,h=function(){s(i),a(void 0)},v=function(S){a(S)},g=yi(),m=function(S,w){if(i){var b=zse(i,{moveBy:S,direction:w,context:g,modifiers:r});Mo(i,b)||(t.goToDate(b,i),v(b))}},y={focusedDay:i,focusTarget:d,blur:h,focus:v,focusDayAfter:function(){return m("day","after")},focusDayBefore:function(){return m("day","before")},focusWeekAfter:function(){return m("week","after")},focusWeekBefore:function(){return m("week","before")},focusMonthBefore:function(){return m("month","before")},focusMonthAfter:function(){return m("month","after")},focusYearBefore:function(){return m("year","before")},focusYearAfter:function(){return m("year","after")},focusStartOfWeek:function(){return m("startOfWeek","before")},focusEndOfWeek:function(){return m("endOfWeek","after")}};return Ut.jsx(Wse.Provider,{value:y,children:e.children})}function aN(){var e=he.useContext(Wse);if(!e)throw new Error("useFocusContext must be used within a FocusProvider");return e}function Ije(e,t){var r=Hse(),n=iN(e,r,t);return n}var oN=he.createContext(void 0);function Pje(e){if(!p0(e.initialProps)){var t={selected:void 0};return Ut.jsx(oN.Provider,{value:t,children:e.children})}return Ut.jsx(Dje,{initialProps:e.initialProps,children:e.children})}function Dje(e){var t=e.initialProps,r=e.children,n=function(a,o,u){var s,c,d;if((s=t.onDayClick)===null||s===void 0||s.call(t,a,o,u),o.selected&&!t.required){(c=t.onSelect)===null||c===void 0||c.call(t,void 0,a,o,u);return}(d=t.onSelect)===null||d===void 0||d.call(t,a,a,o,u)},i={selected:t.selected,onDayClick:n};return Ut.jsx(oN.Provider,{value:i,children:r})}function Gse(){var e=he.useContext(oN);if(!e)throw new Error("useSelectSingle must be used within a SelectSingleProvider");return e}function kje(e,t){var r=yi(),n=Gse(),i=tN(),a=nN(),o=aN(),u=o.focusDayAfter,s=o.focusDayBefore,c=o.focusWeekAfter,d=o.focusWeekBefore,h=o.blur,v=o.focus,g=o.focusMonthBefore,m=o.focusMonthAfter,y=o.focusYearBefore,S=o.focusYearAfter,w=o.focusStartOfWeek,b=o.focusEndOfWeek,A=function(ne){var D,I,L,re;p0(r)?(D=n.onDayClick)===null||D===void 0||D.call(n,e,t,ne):Xp(r)?(I=i.onDayClick)===null||I===void 0||I.call(i,e,t,ne):Qp(r)?(L=a.onDayClick)===null||L===void 0||L.call(a,e,t,ne):(re=r.onDayClick)===null||re===void 0||re.call(r,e,t,ne)},R=function(ne){var D;v(e),(D=r.onDayFocus)===null||D===void 0||D.call(r,e,t,ne)},x=function(ne){var D;h(),(D=r.onDayBlur)===null||D===void 0||D.call(r,e,t,ne)},O=function(ne){var D;(D=r.onDayMouseEnter)===null||D===void 0||D.call(r,e,t,ne)},_=function(ne){var D;(D=r.onDayMouseLeave)===null||D===void 0||D.call(r,e,t,ne)},P=function(ne){var D;(D=r.onDayPointerEnter)===null||D===void 0||D.call(r,e,t,ne)},N=function(ne){var D;(D=r.onDayPointerLeave)===null||D===void 0||D.call(r,e,t,ne)},U=function(ne){var D;(D=r.onDayTouchCancel)===null||D===void 0||D.call(r,e,t,ne)},$=function(ne){var D;(D=r.onDayTouchEnd)===null||D===void 0||D.call(r,e,t,ne)},B=function(ne){var D;(D=r.onDayTouchMove)===null||D===void 0||D.call(r,e,t,ne)},Y=function(ne){var D;(D=r.onDayTouchStart)===null||D===void 0||D.call(r,e,t,ne)},Q=function(ne){var D;(D=r.onDayKeyUp)===null||D===void 0||D.call(r,e,t,ne)},K=function(ne){var D;switch(ne.key){case"ArrowLeft":ne.preventDefault(),ne.stopPropagation(),r.dir==="rtl"?u():s();break;case"ArrowRight":ne.preventDefault(),ne.stopPropagation(),r.dir==="rtl"?s():u();break;case"ArrowDown":ne.preventDefault(),ne.stopPropagation(),c();break;case"ArrowUp":ne.preventDefault(),ne.stopPropagation(),d();break;case"PageUp":ne.preventDefault(),ne.stopPropagation(),ne.shiftKey?y():g();break;case"PageDown":ne.preventDefault(),ne.stopPropagation(),ne.shiftKey?S():m();break;case"Home":ne.preventDefault(),ne.stopPropagation(),w();break;case"End":ne.preventDefault(),ne.stopPropagation(),b();break}(D=r.onDayKeyDown)===null||D===void 0||D.call(r,e,t,ne)},ee={onClick:A,onFocus:R,onBlur:x,onKeyDown:K,onKeyUp:Q,onMouseEnter:O,onMouseLeave:_,onPointerEnter:P,onPointerLeave:N,onTouchCancel:U,onTouchEnd:$,onTouchMove:B,onTouchStart:Y};return ee}function Nje(){var e=yi(),t=Gse(),r=tN(),n=nN(),i=p0(e)?t.selected:Xp(e)?r.selected:Qp(e)?n.selected:void 0;return i}function Lje(e){return Object.values(tu).includes(e)}function Mje(e,t){var r=[e.classNames.day];return Object.keys(t).forEach(function(n){var i=e.modifiersClassNames[n];if(i)r.push(i);else if(Lje(n)){var a=e.classNames["day_".concat(n)];a&&r.push(a)}}),r}function $je(e,t){var r=zr({},e.styles.day);return Object.keys(t).forEach(function(n){var i;r=zr(zr({},r),(i=e.modifiersStyles)===null||i===void 0?void 0:i[n])}),r}function Fje(e,t,r){var n,i,a,o=yi(),u=aN(),s=Ije(e,t),c=kje(e,s),d=Nje(),h=!!(o.onDayClick||o.mode!=="default");he.useEffect(function(){var O;s.outside||u.focusedDay&&h&&Mo(u.focusedDay,e)&&((O=r.current)===null||O===void 0||O.focus())},[u.focusedDay,e,r,h,s.outside]);var v=Mje(o,s).join(" "),g=$je(o,s),m=!!(s.outside&&!o.showOutsideDays||s.hidden),y=(a=(i=o.components)===null||i===void 0?void 0:i.DayContent)!==null&&a!==void 0?a:aje,S=Ut.jsx(y,{date:e,displayMonth:t,activeModifiers:s}),w={style:g,className:v,children:S,role:"gridcell"},b=u.focusTarget&&Mo(u.focusTarget,e)&&!s.outside,A=u.focusedDay&&Mo(u.focusedDay,e),R=zr(zr(zr({},w),(n={disabled:s.disabled,role:"gridcell"},n["aria-selected"]=s.selected,n.tabIndex=A||b?0:-1,n)),c),x={isButton:h,isHidden:m,activeModifiers:s,selectedDays:d,buttonProps:R,divProps:w};return x}function jje(e){var t=he.useRef(null),r=Fje(e.date,e.displayMonth,t);return r.isHidden?Ut.jsx("div",{role:"gridcell"}):r.isButton?Ut.jsx(Cy,zr({name:"day",ref:t},r.buttonProps)):Ut.jsx("div",zr({},r.divProps))}function Uje(e){var t=e.number,r=e.dates,n=yi(),i=n.onWeekNumberClick,a=n.styles,o=n.classNames,u=n.locale,s=n.labels.labelWeekNumber,c=n.formatters.formatWeekNumber,d=c(Number(t),{locale:u});if(!i)return Ut.jsx("span",{className:o.weeknumber,style:a.weeknumber,children:d});var h=s(Number(t),{locale:u}),v=function(g){i(t,r,g)};return Ut.jsx(Cy,{name:"week-number","aria-label":h,className:o.weeknumber,style:a.weeknumber,onClick:v,children:d})}function qje(e){var t,r,n=yi(),i=n.styles,a=n.classNames,o=n.showWeekNumber,u=n.components,s=(t=u==null?void 0:u.Day)!==null&&t!==void 0?t:jje,c=(r=u==null?void 0:u.WeekNumber)!==null&&r!==void 0?r:Uje,d;return o&&(d=Ut.jsx("td",{className:a.cell,style:i.cell,children:Ut.jsx(c,{number:e.weekNumber,dates:e.dates})})),Ut.jsxs("tr",{className:a.row,style:i.row,children:[d,e.dates.map(function(h){return Ut.jsx("td",{className:a.cell,style:i.cell,role:"presentation",children:Ut.jsx(s,{displayMonth:e.displayMonth,date:h})},dFe(h))})]})}function eZ(e,t,r){for(var n=r!=null&&r.ISOWeek?Pse(t):Jk(t,r),i=r!=null&&r.ISOWeek?cf(e):Cu(e,r),a=nl(n,i),o=[],u=0;u<=a;u++)o.push(fo(i,u));var s=o.reduce(function(c,d){var h=r!=null&&r.ISOWeek?cFe(d):gFe(d,r),v=c.find(function(g){return g.weekNumber===h});return v?(v.dates.push(d),c):(c.push({weekNumber:h,dates:[d]}),c)},[]);return s}function Vje(e,t){var r=eZ(Fo(e),Qk(e),t);if(t!=null&&t.useFixedWeeks){var n=yFe(e,t);if(n<6){var i=r[r.length-1],a=i.dates[i.dates.length-1],o=mP(a,6-n),u=eZ(mP(a,1),o,t);r.push.apply(r,u)}}return r}function Bje(e){var t,r,n,i=yi(),a=i.locale,o=i.classNames,u=i.styles,s=i.hideHead,c=i.fixedWeeks,d=i.components,h=i.weekStartsOn,v=i.firstWeekContainsDate,g=i.ISOWeek,m=Vje(e.displayMonth,{useFixedWeeks:!!c,ISOWeek:g,locale:a,weekStartsOn:h,firstWeekContainsDate:v}),y=(t=d==null?void 0:d.Head)!==null&&t!==void 0?t:ije,S=(r=d==null?void 0:d.Row)!==null&&r!==void 0?r:qje,w=(n=d==null?void 0:d.Footer)!==null&&n!==void 0?n:tje;return Ut.jsxs("table",{id:e.id,className:o.table,style:u.table,role:"grid","aria-labelledby":e["aria-labelledby"],children:[!s&&Ut.jsx(y,{}),Ut.jsx("tbody",{className:o.tbody,style:u.tbody,children:m.map(function(b){return Ut.jsx(S,{displayMonth:e.displayMonth,dates:b.dates,weekNumber:b.weekNumber},b.weekNumber)})}),Ut.jsx(w,{displayMonth:e.displayMonth})]})}function Hje(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var zje=Hje()?he.useLayoutEffect:he.useEffect,DO=!1,Wje=0;function tZ(){return"react-day-picker-".concat(++Wje)}function Gje(e){var t,r=e??(DO?tZ():null),n=he.useState(r),i=n[0],a=n[1];return zje(function(){i===null&&a(tZ())},[]),he.useEffect(function(){DO===!1&&(DO=!0)},[]),(t=e??i)!==null&&t!==void 0?t:void 0}function Yje(e){var t,r,n=yi(),i=n.dir,a=n.classNames,o=n.styles,u=n.components,s=Jp().displayMonths,c=Gje(n.id?"".concat(n.id,"-").concat(e.displayIndex):void 0),d=n.id?"".concat(n.id,"-grid-").concat(e.displayIndex):void 0,h=[a.month],v=o.month,g=e.displayIndex===0,m=e.displayIndex===s.length-1,y=!g&&!m;i==="rtl"&&(t=[g,m],m=t[0],g=t[1]),g&&(h.push(a.caption_start),v=zr(zr({},v),o.caption_start)),m&&(h.push(a.caption_end),v=zr(zr({},v),o.caption_end)),y&&(h.push(a.caption_between),v=zr(zr({},v),o.caption_between));var S=(r=u==null?void 0:u.Caption)!==null&&r!==void 0?r:eje;return Ut.jsxs("div",{className:h.join(" "),style:v,children:[Ut.jsx(S,{id:c,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),Ut.jsx(Bje,{id:d,"aria-labelledby":c,displayMonth:e.displayMonth})]},e.displayIndex)}function Kje(e){var t=yi(),r=t.classNames,n=t.styles;return Ut.jsx("div",{className:r.months,style:n.months,children:e.children})}function Xje(e){var t,r,n=e.initialProps,i=yi(),a=aN(),o=Jp(),u=he.useState(!1),s=u[0],c=u[1];he.useEffect(function(){i.initialFocus&&a.focusTarget&&(s||(a.focus(a.focusTarget),c(!0)))},[i.initialFocus,s,a.focus,a.focusTarget,a]);var d=[i.classNames.root,i.className];i.numberOfMonths>1&&d.push(i.classNames.multiple_months),i.showWeekNumber&&d.push(i.classNames.with_weeknumber);var h=zr(zr({},i.styles.root),i.style),v=Object.keys(n).filter(function(m){return m.startsWith("data-")}).reduce(function(m,y){var S;return zr(zr({},m),(S={},S[y]=n[y],S))},{}),g=(r=(t=n.components)===null||t===void 0?void 0:t.Months)!==null&&r!==void 0?r:Kje;return Ut.jsx("div",zr({className:d.join(" "),style:h,dir:i.dir,id:i.id,nonce:n.nonce,title:n.title,lang:n.lang},v,{children:Ut.jsx(g,{children:o.displayMonths.map(function(m,y){return Ut.jsx(Yje,{displayIndex:y,displayMonth:m},y)})})}))}function Qje(e){var t=e.children,r=SFe(e,["children"]);return Ut.jsx(UFe,{initialProps:r,children:Ut.jsx(XFe,{children:Ut.jsx(Pje,{initialProps:r,children:Ut.jsx(oje,{initialProps:r,children:Ut.jsx(lje,{initialProps:r,children:Ut.jsx(mje,{children:Ut.jsx(Oje,{children:t})})})})})})})}function Jje(e){return Ut.jsx(Qje,zr({},e,{children:Ut.jsx(Xje,{initialProps:e})}))}function Ay(e){return j.jsx("svg",{...e,children:j.jsx("path",{d:"m11.959 10.641 4.402-4.296a.964.964 0 0 1 1.358 0 .95.95 0 0 1 0 1.35l-4.403 4.297 4.403 4.378a.95.95 0 0 1 0 1.35.964.964 0 0 1-1.358 0l-4.402-4.378-4.32 4.378a.964.964 0 0 1-1.358 0 .95.95 0 0 1 0-1.35l4.32-4.378-4.32-4.362a.95.95 0 0 1 0-1.35.964.964 0 0 1 1.358 0z",fill:"currentColor"})})}function Zje(e){return j.jsx("svg",{...e,children:j.jsx("path",{d:"M16.818 11H4.928C4.417 11 4 11.448 4 12s.416 1 .929 1h11.89l-3.781 4.22a1.11 1.11 0 0 0 0 1.465c.36.403.943.418 1.311.045l.032-.034 5.343-5.963a1.11 1.11 0 0 0 0-1.466l-5.343-5.963a.883.883 0 0 0-1.333 0 1.115 1.115 0 0 0-.01 1.477z",fill:"currentColor"})})}function e3e(e){const t=or.useRef(null),r=or.useRef(null);return or.useEffect(()=>{var n,i;e==="startDate"&&((n=t.current)==null||n.focus()),e==="endDate"&&((i=r.current)==null||i.focus())},[e]),[t,r]}const t3e="_dateInputLabel_42qi7_1",r3e="_dateInput_42qi7_1",ym={dateInputLabel:t3e,dateInput:r3e},n3e="shared.customDateRangeSelector",kO=gr.encloseNamespace(n3e),i3e=2,rZ="DD/MM/YYYY";function a3e(e){const[t,r]=or.useState("startDate"),[n,i]=e3e(t);function a(o){t==="startDate"?(e.setDateRange({startDate:o,endDate:Cn.isAfter(o,e.endDate)?void 0:e.endDate}),r(u=>u==="endDate"?"startDate":"endDate")):(e.setDateRange({startDate:Cn.isAfter(e.startDate,o)?o:e.startDate,endDate:Cn.isAfter(e.startDate,o)?void 0:o}),Cn.isAfter(e.startDate,o)||r(u=>u==="endDate"?"startDate":"endDate"))}return j.jsxs("div",{className:"d-inline-block",children:[j.jsxs("div",{className:"d-flex align-items-center border-bottom p-3",children:[j.jsx("div",{className:"me-auto invisible",children:j.jsx(Ri,{svg:Ay})}),j.jsxs("form",{className:"d-flex align-items-center",children:[j.jsxs("div",{className:"position-relative",children:[j.jsx("strong",{className:ym.dateInputLabel,children:kO("from")}),j.jsx("input",{ref:n,className:`form-control cursor-pointer ${ym.dateInput}`,value:Cn.format(e.startDate,rZ)??"",onChange:()=>{},onFocus:()=>r("startDate")})]}),j.jsx("span",{className:"px-3",children:j.jsx(Ri,{svg:Zje})}),j.jsxs("div",{className:"position-relative",children:[j.jsx("strong",{className:ym.dateInputLabel,children:kO("to")}),j.jsx("input",{ref:i,className:`form-control cursor-pointer ${ym.dateInput}`,value:Cn.format(e.endDate,rZ)??"",onChange:()=>{},onFocus:()=>r("endDate")})]})]}),j.jsx("div",{className:"ms-auto cursor-pointer",children:j.jsx(Ri,{svg:Ay,onClick:e.close})})]}),j.jsx("div",{className:"p-3",children:j.jsx(Jje,{mode:"range",numberOfMonths:i3e,selected:{from:e.startDate,to:e.endDate},onDayClick:a,captionLayout:"dropdown-buttons",fromDate:e.minDate,toDate:e.maxDate,modifiersClassNames:{selected:"my-selected",today:"my-today"},defaultMonth:e.startDate})}),j.jsx("div",{className:"pb-3 px-3 text-end",children:j.jsx("button",{className:"btn btn-outline-dark",onClick:e.onClickApply,children:kO("apply")})})]})}function o3e(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",d:"M9.2 6h5.6V4.6a.6.6 0 1 1 1.2 0V6h2a1 1 0 0 1 1 1v11a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V7a1 1 0 0 1 1-1h2V4.6a.6.6 0 0 1 1.2 0zM6 7h12v4H6zm0 0v11a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7z"})})}function nZ(e){return j.jsx(Zi.Toggle,{as:"div",id:"date-range-dropdown",className:"no-caret",children:j.jsxs("button",{className:"btn btn-outline-dark d-flex align-items-center pe-5",onClick:()=>{e.toggleDropdown()},children:[j.jsx("span",{children:e.value}),j.jsx("div",{className:"position-absolute translate-middle top-50 end-0 me-n1",children:j.jsx(Ri,{svg:o3e,size:Zs.Standard})})]})})}function Yse(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16.247 7.341a1 1 0 0 1 1.506 1.318l-7 8a1 1 0 0 1-1.46.048l-3-3a1 1 0 1 1 1.414-1.414l2.244 2.244z",clipRule:"evenodd"})})}function Kse(e){return Cn.isAfter(e,new Date,"day")}function Xse(e){return Kse(e.startDate)}function s3e(e){return`(${Cn.format(e.startDate,"ddd, D MMM")} - ${Cn.format(e.endDate,"ddd, D MMM")})`}function u3e(e){if(!Xse(e))return Kse(e.endDate)?{...e,endDate:new Date}:e}const l3e="_containerWithDynamicRanges_1khvp_1",c3e="_selectedDateRange_1khvp_4",f3e="_rangeList_1khvp_7",Ov={containerWithDynamicRanges:l3e,selectedDateRange:c3e,rangeList:f3e},d3e="shared.presetDateRangeSelector",h3e=gr.encloseNamespace(d3e);function v3e(e){const t="btn btn-link d-flex align-items-center py-1 px-0 text-decoration-none";return e?t+` fw-bold text-info ${Ov.selectedDateRange}`:t+" text-body"}function iZ(e){const t=e.range.name===e.selectedRangeName,r=Xse(e.range)||e.range.disabled,n=()=>j.jsxs("button",{className:v3e(t),onClick:()=>e.onClick(e.range),disabled:r,children:[t&&j.jsx(Ri,{svg:Yse}),j.jsx("span",{className:`${r?"text-secondary":""} ${e.isDynamic?"fw-bold":""}`,children:e.range.name}),!!e.isDynamic&&j.jsxs(j.Fragment,{children:[" ",j.jsx("span",{className:"text-secondary",children:s3e(e.range)})]})]});return e.range.tooltip?j.jsx(cl,{title:e.range.tooltip,placement:"left",spanHack:!0,spanHackClassName:"justify-content-start",children:j.jsx(n,{})}):j.jsx(n,{})}function p3e(e){var i;function t(a){const o=u3e(a);o&&e.setDateRange(o)}const r=!!((i=e.dynamicDateRanges)!=null&&i.length),n=e.selectedRangeName==="custom";return j.jsxs("div",{className:r?`py-3 ${Ov.containerWithDynamicRanges}`:"py-2",children:[j.jsxs("div",{className:"row px-2",children:[j.jsx("div",{className:r?"col-4 pe-2 border-end":"col-12",children:j.jsx("ul",{className:`list-unstyled ${Ov.rangeList}`,children:e.genericDateRanges.map((a,o)=>j.jsx("li",{children:j.jsx(iZ,{range:a,onClick:t,selectedRangeName:e.selectedRangeName})},o))})}),r&&j.jsx("div",{className:"col-8 ps-2",children:j.jsx("ul",{className:`list-unstyled ${Ov.rangeList}`,children:e.dynamicDateRanges.map((a,o)=>j.jsx("li",{children:j.jsx(iZ,{range:a,onClick:t,selectedRangeName:e.selectedRangeName,isDynamic:!0})},o))})})]}),j.jsx("div",{className:"row px-2",children:j.jsx("div",{className:"col-12",children:j.jsx("div",{className:r?"pe-2 text-end":Ov.rangeList,children:j.jsxs("button",{className:`btn btn-link d-flex align-items-center p-0 ${n?"text-info mx-n4":""}`,onClick:e.showCustomRangeSelector,children:[n&&j.jsx(Ri,{svg:Yse}),j.jsx("strong",{children:h3e("customRange")})]})})})})]})}function aZ(e){return e.getFullYear()===new Date().getFullYear()}function oZ(e,t){const r=t?"ddd, D MMM YYYY":"ddd, D MMM";return Cn.format(e,r)}function sZ(e,t,r){const i=Kk(e,t.name)||t;if(!i.startDate||!i.endDate)return"";const a=!aZ(i.startDate)||!aZ(i.endDate),o=`${oZ(i.startDate,a)} - ${oZ(i.endDate,a)}`;return i.name==="custom"?o:`${i.name}${r?"":` (${o})`}`}function g3e(e){const t=KMe(e.dateRangePresets,e.dateRangeQueryParams),[r,n]=or.useState(t),[i,a]=or.useState("none");or.useEffect(()=>{n(t)},[!!t]);function o(c){n(c),s(c)}function u(){a("none"),s(r)}function s(c){a("none"),jv.updateParams(Km(c),{merge:!0,keysToRemove:["rangeName"]}),wa.logUserAction(c,{actionType:Bt.Filter,descriptor:ck.DateRange,location:ka.DateRangeFilter,entity:xn.Filter})}return t?j.jsxs("div",{className:"position-relative",children:[j.jsxs(Zi,{show:i==="preset",onToggle:c=>a(c?"preset":"none"),className:i==="custom"?"d-none":"",children:[j.jsx(nZ,{value:sZ(e.dateRangePresets,t,e.hideRange),hideRange:e.hideRange,toggleDropdown:()=>a(i==="preset"?"none":"preset")}),j.jsx(Zi.Menu,{className:"p-0 text-nowrap",align:"end",children:j.jsx(p3e,{genericDateRanges:e.dateRangePresets,setDateRange:o,showCustomRangeSelector:()=>a("custom"),selectedRangeName:t.name})})]}),j.jsxs(Zi,{show:i==="custom",onToggle:u,className:i==="custom"?"":"d-none",children:[j.jsx(nZ,{value:sZ(e.dateRangePresets,t,e.hideRange),hideRange:e.hideRange}),j.jsx(Zi.Menu,{className:"p-0",align:"end",children:j.jsx(a3e,{startDate:r==null?void 0:r.startDate,endDate:r==null?void 0:r.endDate,setDateRange:n,maxDate:pP(),minDate:lp(),onClickApply:()=>s(r),close:()=>a("none")})})]})]}):j.jsx(j.Fragment,{})}function m3e(e){return j.jsx("svg",{...e,children:j.jsx("path",{d:"M12 13.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3m0 5.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3m0-11a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3",fill:"currentColor"})})}const y3e="_dropdownToggle_1jkd1_1",_3e={dropdownToggle:y3e};function S3e(){return j.jsxs(j.Fragment,{children:[j.jsx("div",{style:{padding:"0.53125rem 1rem"},children:j.jsx("div",{className:"partial-loading-background",style:{height:"1.0625rem",width:"8rem"}})}),j.jsx("div",{style:{padding:"0.53125rem 1rem"},children:j.jsx("div",{className:"partial-loading-background",style:{height:"1.0625rem",width:"12rem"}})}),j.jsx("div",{style:{padding:"0.53125rem 1rem"},children:j.jsx("div",{className:"partial-loading-background",style:{height:"1.0625rem",width:"11rem"}})}),j.jsx("div",{style:{padding:"0.53125rem 1rem"},children:j.jsx("div",{className:"partial-loading-background",style:{height:"1.0625rem",width:"9rem"}})})]})}function NO(e){let t="dropdown-item";return e&&(t+=` ${e}`),t}function uZ(e){const t=gi.isFunction(e.action.label)?e.action.label():j.jsx(j.Fragment,{children:e.action.label});if(e.action.appLink)return j.jsxs(os,{appLink:e.action.appLink,onClick:e.action.onClick,className:NO(e.action.className),analyticsData:e.action.analyticsData,analyticsOptions:e.action.analyticsOptions,openInNewTab:e.action.openInNewTab,disabled:e.action.disabled,children:[e.action.svg&&j.jsx(Ri,{svg:e.action.svg,className:"d-inline-block svg-container me-2 align-middle"}),j.jsx("span",{className:"align-middle",children:t})]});function r(n){n.preventDefault(),e.action.analyticsData&&e.action.analyticsOptions&&wa.logUserAction(e.action.analyticsData,e.action.analyticsOptions),gi.isFunction(e.action.onClick)&&e.action.onClick(),e.action.href&&Yn.PageLoad(e.action.href,e.action.openInNewTab)}return e.action.href?j.jsxs("a",{className:NO(e.action.className),onClick:r,href:e.action.href,children:[e.action.svg&&j.jsx(Ri,{svg:e.action.svg,className:"d-inline-block svg-container me-2 align-middle"}),j.jsx("span",{className:"align-middle",children:t})]}):j.jsxs("span",{className:`cursor-pointer ${NO(e.action.className)}`,onClick:r,role:"button",tabIndex:0,onKeyDown:n=>n.key==="Enter"&&r(n),children:[e.action.svg&&j.jsx(Ri,{svg:e.action.svg,className:"d-inline-block svg-container me-2"}),t]})}sN.defaultProps={dropdownToggleClassName:"btn btn-light",dropdownToggleSvgSize:Zs.Small};function sN(e){if(!e.actions||!e.actions.length)return j.jsx(j.Fragment,{});const t=e.actions.some(o=>o.lazyPlaceholder);let r="dropdown";e.className&&(r+=` ${e.className}`);const n=`actions-dropdown-${Mk.getRandomInt()}`;let i=`dropdown-toggle px-0 ${_3e.dropdownToggle}`;e.dropdownToggleClassName&&(i+=` ${e.dropdownToggleClassName}`);let a;return j.jsxs("div",{className:r,children:[j.jsx("button",{className:i,type:"button",id:n,"data-bs-toggle":"dropdown","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false","aria-label":"More actions dropdown",onClick:t?e.fetchMore:null,children:j.jsx(Ri,{svg:m3e,size:e.dropdownToggleSvgSize})}),j.jsx("ul",{className:"dropdown-menu dropdown-menu-end dropdown-menu-right font-size-normal","aria-labelledby":n,children:t?j.jsx(S3e,{}):e.actions.map((o,u)=>{const s=a!==void 0&&a!==o.group;return a=o.group,o.tooltip?j.jsxs("li",{children:[s&&j.jsx("hr",{className:"dropdown-divider",role:"separator"}),j.jsx(cl,{title:o.tooltip,spanHack:!0,children:j.jsx(uZ,{action:o})})]},u):j.jsxs("li",{children:[s&&j.jsx("hr",{className:"dropdown-divider",role:"separator"}),j.jsx(uZ,{action:o})]},u)})})]})}var g0=(e=>(e.Small="small",e.Medium="medium",e.Large="large",e))(g0||{}),fi=(e=>(e[e.Thumbnails=0]="Thumbnails",e[e.Banners=1]="Banners",e[e.Avatars=2]="Avatars",e[e.Logos=3]="Logos",e[e.Covers=4]="Covers",e[e.Posters=5]="Posters",e[e.TallPosters=6]="TallPosters",e[e.HeroBanners=7]="HeroBanners",e[e.Pdf=8]="Pdf",e[e.Link=9]="Link",e[e.None=99999]="None",e))(fi||{});function E3e(e){return j.jsx("svg",{...e,children:j.jsx("path",{d:"m16.837 9.842-1.138-3.678a1.65 1.65 0 0 0-.887-1.01 1.67 1.67 0 0 0-1.348-.02l-1.14.486a.8.8 0 0 1-.647 0l-1.14-.488a1.67 1.67 0 0 0-1.348.021 1.65 1.65 0 0 0-.887 1.01L7.164 9.842a7.17 7.17 0 0 0-3.062 1.85.41.41 0 0 0 .314.683h15.17c.162 0 .31-.094.376-.241a.41.41 0 0 0-.064-.44 7.17 7.17 0 0 0-3.061-1.852M9.094 6.404a.836.836 0 0 1 1.117-.516l1.135.484c.416.181.89.181 1.306 0l1.137-.485a.836.836 0 0 1 1.117.516l.976 3.153a16.17 16.17 0 0 0-7.764 0zm-3.59 5.148c1.455-1.019 3.866-1.645 6.497-1.645a14.5 14.5 0 0 1 4.41.651c.74.229 1.444.563 2.087.994zm9.807 1.645a2.9 2.9 0 0 0-2.508 1.447 1.61 1.61 0 0 0-1.604 0c-.763-1.323-2.425-1.835-3.807-1.173s-2.016 2.272-1.452 3.69a2.93 2.93 0 0 0 3.6 1.704 2.906 2.906 0 0 0 1.968-3.445.88.88 0 0 1 .986 0 2.87 2.87 0 0 0 1.269 3.088 2.91 2.91 0 0 0 3.351-.176c.966-.762 1.341-2.048.935-3.204s-1.505-1.932-2.738-1.93m-6.62 4.936c-1.143 0-2.07-.92-2.07-2.056s.927-2.057 2.07-2.057 2.069.92 2.069 2.057a2.065 2.065 0 0 1-2.07 2.056m6.62 0c-1.142 0-2.069-.92-2.069-2.056s.927-2.057 2.07-2.057 2.068.92 2.068 2.057a2.065 2.065 0 0 1-2.069 2.056",fill:"currentColor"})})}const w3e={[fi.Banners]:"banner",[fi.Thumbnails]:"thumbnail"},lZ={[fi.Banners]:"banners",[fi.Thumbnails]:"thumbnails",[fi.TallPosters]:"tallPosters",[fi.Covers]:"covers",[fi.Avatars]:"avatars"},b3e={categoryMapper:e=>`/v1/category-map/${e}`},Yu={createUrl(e,t){return Yu._createUrl(e,t)},createBannerUrl(e,t,r){return e&&e.url?Yu._createUrl(e.url,r):Yu._createCategoryMappedUrl(t,r)},createResourceImage(e,t,r){return Yu._createUrl(e,{url:t,...r})},Rfc3986EncodeURIComponent(e){return encodeURIComponent(e).replace(/[!'()*]/g,escape)},_createCategoryMappedUrl(e,t){const{fallbackBaseUrl:r,fallbackCategoryName:n,type:i}=e,a=dn.safeUrlConcat(r,`${b3e.categoryMapper(w3e[i])}`),o={name:Yu.Rfc3986EncodeURIComponent(n),...t};return Yu._createUrl(a,o)},_createUrl(e,t){if(!e)return;if(Ui.isEmpty(t))return e;const r=dy.param(t),n=e.indexOf("?")===-1?"?":"&";let i=e;return i.endsWith("/")&&(i=i.slice(0,-1)),i+`${n}${r}`},legacyCreateThumbnailUrl(e,t){if(!e)return"";let r;if(!e||(e instanceof ul?r=e.get("url"):typeof e=="string"?r=e:r=e.url,!r))return;const n={size:g0.Small,bgColor:"000",...t};return Yu._createUrl(r,n)},getDisplayImageFromObject(e){var t,r,n,i,a;return"tallPoster"in e&&((t=e.tallPoster)!=null&&t.url)?e.tallPoster:"cover"in e&&((r=e.cover)!=null&&r.url)?e.cover:"thumbnail"in e&&((n=e.thumbnail)!=null&&n.url)?e.thumbnail:"_parentVideo"in e&&((a=(i=e._parentVideo)==null?void 0:i.thumbnail)!=null&&a.url)?e._parentVideo.thumbnail:null},getUrlById(e,t,r,n){lZ[t]||vr.throw(new On(`ImageType:${t} not supported, please add it to 'ImageApiImageTypes'`));const i=dn.safeUrlConcat(e,`v2/${lZ[t]}/${r}`);return dn.urlBuilder(i,{size:n})}},T3e="_avatar_xiggt_1",R3e="_dot_xiggt_11",LO={avatar:T3e,dot:R3e};function x3e(e,t){return t?Yu.createUrl(dn.safeUrlConcat(e,`/v1/profile-images?initials=${t}`),{size:g0.Small}):""}function Qse(e){const t=!e.anonymiseUsers&&e.imageUrl||x3e(e.imageCdnUrl,e.initials);return j.jsxs("div",{className:"position-relative h-100 w-100",children:[e.showAnonymousUser?j.jsx("div",{className:`${LO.avatar} ${(e==null?void 0:e.extraClasses)||""} bg-gray-700 text-light`,children:j.jsx(Ri,{svg:E3e,size:e.anonymousSvgSize||Zs.Large,className:"svg-container w-100 h-100"})}):j.jsx("div",{className:`${LO.avatar} ${(e==null?void 0:e.extraClasses)||""}`,style:{backgroundImage:`url('${t}')`},children:" "}),e.showDot&&j.jsx("div",{className:`${LO.dot} rounded-circle bg-danger`})]})}function C3e(){return or.useContext(Goe)}const A3e={LOCAL_PERMISSIONS:"local:permissions",LOOKING_FOR_INTEGRATION:"looking:for:integration",ANONYMISE_USERS:"anonymise:users"},yc=()=>{const e=Ii(Wi.currentUser()),t=Ii(e.hasCompleted&&Wi.permissions()),[r]=ba(A3e.LOCAL_PERMISSIONS),n=a=>!t.hasCompleted||t.hasError?!1:!a||!(a!=null&&a.length)?!0:Array.isArray(a)?!a.find(o=>!t.data[o]):!!t.data[a],i=a=>(r||vr.throw(new On("Local Permissions should be registered during start up.")),!a||!(a!=null&&a.length)?!0:Array.isArray(a)?!a.find(o=>!r[o]):!!r[a]);return{permissions:t.data,hasPermissions:n,hasLocalPermissions:i,isLoaded:t.hasCompleted}};function cZ(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",d:"M13.5 4.5A.5.5 0 0 1 14 4h5.5a.5.5 0 0 1 .5.5V10a.5.5 0 0 1-1 0V5.707l-6.146 6.147a.5.5 0 0 1-.708-.708L18.293 5H14a.5.5 0 0 1-.5-.5M5 7.5A1.5 1.5 0 0 1 6.5 6H9a.5.5 0 0 1 0 1H6.5a.5.5 0 0 0-.5.5v11a.5.5 0 0 0 .5.5h11a.5.5 0 0 0 .5-.5V15a.5.5 0 0 1 1 0v3.5a1.5 1.5 0 0 1-1.5 1.5h-11A1.5 1.5 0 0 1 5 18.5z"})})}function Oy(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.378 5.167a.62.62 0 0 1 .873 0l7.535 7.507a.494.494 0 1 0 .697-.7l-7.536-7.506a1.605 1.605 0 0 0-2.266 0l-7.536 7.506a.494.494 0 1 0 .697.7zM6.206 13.43a.494.494 0 0 0-.987 0v6.077c0 .273.22.494.494.494h4.437a.494.494 0 0 0 .494-.494v-4.42c0-.335.274-.611.616-.611h1.109c.342 0 .616.276.616.611v4.42c0 .273.22.494.493.494h4.438a.494.494 0 0 0 .494-.494V13.43a.494.494 0 0 0-.988 0v5.583h-3.45v-3.926c0-.885-.72-1.599-1.603-1.599h-1.11c-.883 0-1.603.714-1.603 1.6v3.925h-3.45z",clipRule:"evenodd"})})}const O3e="_toggle_1f3ot_1",I3e={toggle:O3e},P3e=4,fZ="shared.customerSelectorItem";function D3e(e){var n;function t(i,a=null){a!==e.currentCustomerId&&(wa.logUserAction({id:e.currentCustomerId,newCustomerId:a},{actionType:Bt.SwitchCustomer,entity:xn.Customer,location:ka.UserOptions}),Yn.PageLoad(r(a)))}function r(i){return i?`/change-customer?customerId=${i}`:"/change-customer"}return!((n=e.customers)!=null&&n.length)||!e.currentCustomerId?j.jsx(j.Fragment,{}):e.customers.length<=1?j.jsx(j.Fragment,{}):e.customers.length>P3e?j.jsx(Zi.Item,{as:"li",onClick:i=>t(),className:"cursor-pointer",children:j.jsxs("div",{className:"d-flex justify-content-between",children:[j.jsx(up,{namespace:fZ,phrase:"title"}),j.jsx(Ri,{svg:Oy,className:"svg-container text-secondary"})]})}):j.jsxs("li",{className:"dropdown-item dropstart cursor-pointer",children:[j.jsxs("div",{className:`dropdown-toggle d-flex justify-content-between ${I3e.toggle}`,"data-bs-toggle":"dropdown","aria-expanded":"false",children:[j.jsx(up,{namespace:fZ,phrase:"title"}),j.jsx(Ri,{svg:Oy,className:"svg-container text-secondary"})]}),j.jsx("ul",{className:"dropdown-menu",children:e.customers.map((i,a)=>{const o=i.id===e.currentCustomerId;return j.jsx(Zi.Item,{as:"li",onClick:u=>t(u,i.id),disabled:o,children:i.name},a)})})]})}const Zp=e=>{const t=Ii(Wi.currentUser()),r=Ii(t.hasCompleted&&Lv.getCustomerSettingsRequest(t.data)),n=Ii(t.hasCompleted&&Lv.getUserSettingsRequest(t.data)),i=Nf(),a=!!r.hasCompleted&&!!n.hasCompleted,o=y=>{var b,A;if(!a||r.hasError||n.hasError)return null;const S=(b=r.data)==null?void 0:b[y];if(S)return S==null?void 0:S.value;const w=(A=n.data)==null?void 0:A[y];return w?w==null?void 0:w.value:null};function u(y,S,w,b,A){return y==="user"?wu.updateUserSetting(S,w,b,A):wu.updateCustomerSetting(S,w,b,A)}const s=(y,S,w,b,A)=>{function R(){wa.logUserAction({name:S.name,value:S.value},{location:e,entity:xn.UserSetting,actionType:Bt.Edit}),w==null||w()}Rh(i,u(y,S,R,b,A))},c=(y,S)=>new Promise((w,b)=>{s(y,S,w,b)}),d=(y,S,w,b)=>s("user",y,S,w,b),h=(y,S,w,b)=>s("customer",y,S,w,b),v=y=>c("user",y),g=y=>c("customer",y);function m(){var y;return(y=t.data)!=null&&y.isAuthenticated?o(br.HasTopicDirectories):!0}return{isLoadingSettings:!a,updateUserSetting:d,updateUserSettingAsync:v,updateCustomerSetting:h,updateCustomerSettingAsync:g,userSettings:n,shareToGoogleClassroom:o(br.ShareToGoogleClassroom),shareToMicrosoftTeams:o(br.ShareToMicrosoftTeams),hasLti:o(br.LTI),defaultPlaybackQuality:o(br.DefaultPlaybackQuality),defaultLocalCachePlaybackQuality:o(br.DefaultLocalCachePlaybackQuality),enableSubtitlesDefault:o(br.EnableSubtitlesDefault),hasCompletedOnboardingV1:o(br.HasCompletedOnboardingV1),hasCompletedOnboardingV2:o(br.HasCompletedOnboardingV2),hasOnboardingV2:o(br.HasNewOnboarding),hasCompletedOnboardingStepCreatePlaylist:o(br.HasCompletedOnboardingStepCreatePlaylist),hasCompletedOnboardingProductTips:o(br.HasCompletedOnboardingProductTips),liteUpgradeTime:o(br.LiteUpgradeTime),liteUpgradeTypeCustomer:o(br.LiteUpgradeTypeCustomer),liteUpgradeTypeUser:o(br.LiteUpgradeTypeUser),hasCompletedUpgradeOnboarding:o(br.HasCompletedUpgradeOnboarding),liteUpgradeFeedback:o(br.LiteUpgradeFeedback),liteUpgradeComplete:o(br.LiteUpgradeComplete),hasNewClassificationView:o(br.HasNewClassificationView),hasCuratedDiscoverDashboards:o(br.HasCuratedDiscoverDashboards),hasSpecialEventCalendar:o(br.HasSpecialEventCalendar),hasLiteSearchDropdown:o(br.HasLiteSearchDropdown),policyEndTime:o(br.PolicyEndTime),bulkOnboardingPreferencesState:o(br.BulkOnboardingPreferencesState),hasOnlineTopics:o(br.Topics),hasPreviewVideos:o(br.PreviewVideos),domainSettings:o(br.DomainSettings),inviteColleague:o(br.InviteColleague),myVideosFolders:o(br.MyVideosFolders),exchangeTvProductOption:o(br.ExchangeTvProductOption),messageFrequencyOption:o(br.MessageFrequencyOption),tvRegion:o(br.TvRegion),hasEnabledViviStudentCasting:o(br.HasEnabledViviStudentCasting),hasEnabledViviPlayback:o(br.HasEnabledViviPlayback),hasEnabledAppleTvPlayback:o(br.HasEnabledAppleTvPlayback),hasDisplayedPresentationSwitcherProductTip:o(br.HasDisplayedPresentationSwitcherProductTip),hasDisplayedTopicsDirectoryTabProductTip:o(br.HasDisplayedTopicsDirectoryTabProductTip),hasDisplayedGiveFeedbackFormProductTip:o(br.HasDisplayedGiveFeedbackFormProductTip),hasDisplayedWhatsNewLinkProductTip:o(br.HasDisplayedWhatsNewLinkProductTip),showExchangeSearchResults:o(br.ShowExchangeSearchResultsUser),shareOverrideRestrictions:o(br.ShareOverrideRestrictions),hasTopicDirectories:m(),hasTopicVideoListFeature:o(br.HasTopicVideoListFeature),hasManageGroupPermissions:o(br.HasManageGrouPermissions),experimentalInteractiveQuestions:o(br.ExperimentalInteractiveQuestions),hasClassrooms:o(br.HasClassrooms),hasNewSearch:o(br.HasNewSearch),hasPlayPageTranscript:o(br.HasPlayPageTranscript),hasShareFlowV2:o(br.HasShareFlowV2)}},Jse=()=>{const{liteUpgradeTypeUser:e,liteUpgradeTypeCustomer:t,liteUpgradeTime:r,liteUpgradeFeedback:n,liteUpgradeComplete:i,hasCompletedUpgradeOnboarding:a,isLoadingSettings:o}=Zp(null),{hasPermissions:u}=yc(),s=e||t,c=he.useMemo(()=>{if(o||!r)return 0;const m=new Date(r),y=new Date;return Math.max(Cn.diffBetween(m,y,"day"),0)+1},[o,r]),[d,h]=ba("lite:upgrade:feedback:banner",{show:!0},{storage:Js.LocalStorage}),v=!!s;return{isUpgrading:v&&!i,isLoading:o,daysLeft:c,upgradeType:s,hasCompletedOnboarding:a,feedbackStatus:n,showFeedbackBanner:v&&d.show&&!u(Na.StudentExperience),showTvGuide:v,dismissFeedbackBanner:()=>h({show:!1})}};class k3e{static get Instance(){return this.instance||(this.instance=new this)}initialize(t){this.initializeUrl(t)}initializeUrl(t){if(!t.product){vr.throw(new On("ArticleHelper requires a product name"));return}if(this.product=t.product,this.marketingSiteUrl=t.marketingSiteUrl,t.product===Lo.Online){if(!t.onlineSupportSiteUrl){vr.throw(new On("ArticleHelper requires a online support site url"));return}this.supportSiteUrl=t.onlineSupportSiteUrl;return}if(!t.liteSupportSiteUrl){vr.throw(new On("ArticleHelper requires a lite support site url"));return}this.supportSiteUrl=t.liteSupportSiteUrl}validate(){return this.supportSiteUrl?!0:(vr.throw(new On("ArticleHelper was not initialized")),!1)}getArticle(t,r){if(!this.validate())return"";const n=t?`hc/${r}/${t}`:"hc";return dn.safeUrlConcat(this.supportSiteUrl,n)}getOnlineArticle(t,r="articles"){return this.product===Lo.Primary&&vr.throw(new On("ArticleHelper.getOnlineArticle() should not be used in Lite")),this.getArticle(t,r)}getLiteArticle(t,r="articles"){return this.product===Lo.Online&&vr.throw(new On("ArticleHelper.getLiteArticle() should not be used in Online")),this.getArticle(t,r)}getHybridArticle(t,r,n="articles"){return this.product===Lo.Online?this.getOnlineArticle(t,n):this.getLiteArticle(r,n)}getSupportRequestUrl(){return this.validate()?dn.safeUrlConcat(this.supportSiteUrl,"hc/requests/new"):""}getAuthorBlogUrl(t){return!this.marketingSiteUrl||!t?"":dn.safeUrlConcat(this.marketingSiteUrl,`blog/author/${t}`)}}const Iy=k3e.Instance,N3e="shared.userOptions",dZ=gr.encloseNamespace(N3e);function L3e(e,t,r){const{hasPermissions:n}=yc(),i=Jse(),a=Qa.sortBy(t,"order");if(e&&(a.push({label:dZ("helpCentre"),order:0,url:Iy.getHybridArticle(null,null),analyticsData:{url:Iy.getHybridArticle(null,null)},analyticsOptions:{actionType:Bt.Click,entity:xn.Url,descriptor:Fd.ExternalLink,location:ka.UserOptions}}),n(Na.ViewProductBoard)&&!i.isUpgrading&&!r)){const u=dn.safeUrlConcat(e.productBoardUrl,"tabs/23-what-s-new");a.push({label:dZ("whatsNew"),order:0,url:u,analyticsData:{url:u},analyticsOptions:{actionType:Bt.Click,entity:xn.Url,descriptor:Fd.ExternalLink,location:ka.UserOptions}})}const o={main:[],logOut:[]};return a.forEach(u=>{u.section==="logOut"?o.logOut.push(u):o.main.push(u)}),o}function M3e(e,t,r){var c;const n=Ii(Wi.currentUser()),i=Ii(((c=n.data)==null?void 0:c.isAuthenticated)&&n0.userProducts()),a=Jse();if(t||!i.data||a.isLoading)return;const o=[...i.data],u=Array.isArray(e)?e:[e];a.isUpgrading&&!u.includes(Lo.Online)&&u.push(Lo.Online);let s=o.filter(d=>!u.includes(d.id),"order");return typeof r=="function"&&(s=r(s)),Qa.sortBy(s)}const $3e="_avatarContainer_1z0er_1",F3e="_productLogo_1z0er_5",j3e="_counter_1z0er_9",Py={avatarContainer:$3e,productLogo:F3e,counter:j3e},U3e="shared.userOptions",Uv=gr.encloseNamespace(U3e);function hZ({item:e}){if(e.appLink)return j.jsxs(Zi.Item,{as:os,appLink:e.appLink,openInNewTab:e.openInNewTab,onClick:e.onClick,className:"d-flex align-items-center",analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,children:[e.counter>0&&j.jsx("div",{className:`${Py.counter} badge bg-danger rounded-pill fw-semibold me-1`,children:e.counter}),j.jsxs("div",{className:"d-flex justify-content-between",children:[e.label,!!e.openInNewTab&&j.jsx(Ri,{svg:cZ,className:"svg-container text-secondary"})]})]});if(e.url){let t=function(r){var n;r.preventDefault(),(n=e.onClick)==null||n.call(e),e.analyticsData&&e.analyticsOptions&&wa.logUserAction({href:e.url,...e.analyticsData},e.analyticsOptions),Yn.PageLoad(e.url,!0)};return j.jsxs(Zi.Item,{as:"a",href:e.url,target:e.openInNewTab===!1?null:"_blank",className:"d-flex align-items-center",onClick:r=>t(r),children:[e.counter>0&&j.jsx("div",{className:`${Py.counter} badge bg-danger rounded-pill fw-semibold me-1`,children:e.counter}),j.jsxs("div",{className:"d-flex justify-content-between",children:[e.label,e.openInNewTab!==!1&&j.jsx(Ri,{svg:cZ,className:"svg-container text-secondary"})]})]})}return j.jsx(j.Fragment,{})}const q3e=({appLinks:e})=>{const t=C3e(),r=t.xs||t.sm;return j.jsxs(j.Fragment,{children:[j.jsx(os,{appLink:e.signIn,className:"btn btn-link ps-0",analyticsOptions:{actionType:Bt.Click,location:ka.TopNav,entity:xn.Url,descriptor:Zv.SignIn},analyticsData:{},children:Uv("signIn")}),j.jsx(os,{appLink:e.signUp,className:"btn btn-dark ms-2",analyticsOptions:{actionType:Bt.Click,location:ka.TopNav,entity:xn.AppLink,workflowPhase:ec.Start,descriptor:Zv.SignUp},analyticsData:{},tag:"button",children:Uv(r?"signUpForMobile":"signUp")})]})},V3e=({appLinks:e})=>j.jsx(os,{appLink:e.signIn,className:"btn btn-dark d-inline-block",analyticsOptions:{actionType:Bt.Click,location:ka.TopNav,entity:xn.AppLink,workflowPhase:ec.Start,descriptor:Zv.SignIn},analyticsData:{},children:Uv("signIn")});function B3e(e){var m,y,S,w,b,A;const[t,r]=he.useState(!1),{hasPermissions:n}=yc(),i=Ii(Wi.currentUser()),a=Ii(((m=i.data)==null?void 0:m.id)&&Wi.user(i.data.id)),o=Ii(of.config()),u=Ii(((y=i.data)==null?void 0:y.isAuthenticated)&&Wi.customers(i.data.id)),s=L3e(o.data,e.additionalItems,e.hideWhatsNew),c=n(Na.GuestExperience),d=e.hideProductList||c,h=M3e(e.productId,d,e.transform);function v(R){r(R),wa.logUserAction({},{actionType:Bt.Click,entity:xn.AppLink,location:ka.UserOptions,descriptor:R?Fd.Open:Fd.Close})}function g(R){wa.logUserAction({id:R.id,name:R.name},{actionType:Bt.Click,entity:xn.Product,location:ka.UserOptions,descriptor:Fd.ExternalLink})}return!i.hasCompleted||i.data.isAuthenticated&&!a.hasCompleted||!o.data?j.jsx(j.Fragment,{}):i.data.isAuthenticated?j.jsxs(Zi,{className:"position-relative",onToggle:v,children:[j.jsx(Zi.Toggle,{id:"userOptions",variant:"","aria-label":"Options menu",className:`${Py.avatarContainer} no-caret border-0 p-0`,children:j.jsx(Qse,{imageUrl:Yu.createUrl(i.data.avatar,{size:g0.Small}),imageCdnUrl:o.data.imageCdnUrl,initials:Kl.getInitials(i.data.givenName,i.data.familyName),showDot:s.main.some(R=>R.counter>0)})}),j.jsxs(Zi.Menu,{as:"ul",align:"end",children:[j.jsxs(Zi.Item,{as:"div",children:[j.jsxs("div",{className:"m-0 d-flex flex-wrap",children:[j.jsx("strong",{children:i.data.displayName})," ",!c&&j.jsxs("span",{className:"text-secondary",children:["(",i.data.username,")"]})]}),j.jsx("div",{className:"m-0 text-secondary",children:i.data.customerName}),!c&&((S=a.data)==null?void 0:S.masterYearGroup)&&j.jsx("p",{className:"m-0 text-secondary",children:a.data.masterYearGroup.name})]}),j.jsx(D3e,{isParentOpen:t,currentCustomerId:(w=i.data)==null?void 0:w.customerId,customers:(b=u.data)==null?void 0:b.data}),j.jsx(Zi.Divider,{}),s.main.map((R,x)=>j.jsx(hZ,{item:R},x)),j.jsx(Zi.Divider,{}),h==null?void 0:h.map((R,x)=>j.jsxs(Zi.Item,{as:"a",href:R.url,target:"_blank",className:"d-flex align-items-center py-1",onClick:()=>g(R),children:[j.jsx("img",{src:R.imageUrl,className:`${Py.productLogo} me-2`}),R.name]},x)),!!(h!=null&&h.length)&&j.jsx(Zi.Divider,{}),s.logOut.map((R,x)=>j.jsx(hZ,{item:R},x)),j.jsx(Zi.Item,{as:os,appLink:e.appLinks.signOut,analyticsData:{id:(A=i.data)==null?void 0:A.id},analyticsOptions:{actionType:Bt.Click,location:ka.UserOptions,entity:xn.AppLink,descriptor:Zv.SignOut},children:Uv("signOut")})]})]}):e.displaySignUp?j.jsx(q3e,{...e}):j.jsx(V3e,{...e})}const mo={AUDIENCE_FILTER_SELECTED_COUNT:"audience:filter:selected:count",AUDIENCE_FILTER_SUGGESTIONS:"audience:filter:suggestions",AUDIENCE_QUERY_PARAMS:"audience:query:params",DATE_RANGE_QUERY_PARAMS:"date:range:query:params",HEADER_TITLE:"header:title",HEADER_ACTIONS:"header:actions",LEFT_NAV_STATE:"left:nav:state",ANONYMISE_USERS:"anonymise:users"};var MO={},$O={},vv={exports:{}},Uc={exports:{}},H3e=Uc.exports,vZ;function z3e(){return vZ||(vZ=1,(function(){var e,t,r,n,i,a;typeof performance<"u"&&performance!==null&&performance.now?Uc.exports=function(){return performance.now()}:typeof process<"u"&&process!==null&&process.hrtime?(Uc.exports=function(){return(e()-i)/1e6},t=process.hrtime,e=function(){var o;return o=t(),o[0]*1e9+o[1]},n=e(),a=process.uptime()*1e9,i=n-a):Date.now?(Uc.exports=function(){return Date.now()-r},r=Date.now()):(Uc.exports=function(){return new Date().getTime()-r},r=new Date().getTime())}).call(H3e)),Uc.exports}var pZ;function W3e(){if(pZ)return vv.exports;pZ=1;for(var e=z3e(),t=typeof window>"u"?globalThis:window,r=["moz","webkit"],n="AnimationFrame",i=t["request"+n],a=t["cancel"+n]||t["cancelRequest"+n],o=0;!i&&o<r.length;o++)i=t[r[o]+"Request"+n],a=t[r[o]+"Cancel"+n]||t[r[o]+"CancelRequest"+n];if(!i||!a){var u=0,s=0,c=[],d=1e3/60;i=function(h){if(c.length===0){var v=e(),g=Math.max(0,d-(v-u));u=g+v,setTimeout(function(){var m=c.slice(0);c.length=0;for(var y=0;y<m.length;y++)if(!m[y].cancelled)try{m[y].callback(u)}catch(S){setTimeout(function(){throw S},0)}},Math.round(g))}return c.push({handle:++s,callback:h,cancelled:!1}),s},a=function(h){for(var v=0;v<c.length;v++)c[v].handle===h&&(c[v].cancelled=!0)}}return vv.exports=function(h){return i.call(t,h)},vv.exports.cancel=function(){a.apply(t,arguments)},vv.exports.polyfill=function(h){h||(h=t),h.requestAnimationFrame=i,h.cancelAnimationFrame=a},vv.exports}var pv={exports:{}},FO,gZ;function G3e(){if(gZ)return FO;gZ=1;var e=null,t=["Webkit","Moz","O","ms"];return FO=function(n){e||(e=document.createElement("div"));var i=e.style;if(n in i)return n;for(var a=n.charAt(0).toUpperCase()+n.slice(1),o=t.length;o>=0;o--){var u=t[o]+a;if(u in i)return u}return!1},FO}var jO,mZ;function Y3e(){if(mZ)return jO;mZ=1,jO=n;var e=/\s/,t=/(_|-|\.|:)/,r=/([a-z][A-Z]|[A-Z][a-z])/;function n(s){return e.test(s)?s.toLowerCase():t.test(s)?(a(s)||s).toLowerCase():r.test(s)?u(s).toLowerCase():s.toLowerCase()}var i=/[\W_]+(.|$)/g;function a(s){return s.replace(i,function(c,d){return d?" "+d:""})}var o=/(.)([A-Z]+)/g;function u(s){return s.replace(o,function(c,d,h){return d+" "+h.toLowerCase().split("").join(" ")})}return jO}var UO,yZ;function K3e(){if(yZ)return UO;yZ=1;var e=Y3e();UO=t;function t(r){return e(r).replace(/[\W_]+(.|$)/g,function(n,i){return i?" "+i:""}).trim()}return UO}var qO,_Z;function X3e(){if(_Z)return qO;_Z=1;var e=K3e();qO=t;function t(r){return e(r).replace(/\s(\w)/g,function(n,i){return i.toUpperCase()})}return qO}var VO,SZ;function Q3e(){if(SZ)return VO;SZ=1;var e={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0};return VO=function(t,r){return typeof r=="number"&&!e[t]?r+"px":r},VO}var EZ;function Zse(){if(EZ)return pv.exports;EZ=1;var e=G3e(),t=X3e(),r={float:"cssFloat"},n=Q3e();function i(s,c,d){var h=r[c];if(typeof h>"u"&&(h=o(c)),h){if(d===void 0)return s.style[h];s.style[h]=n(h,d)}}function a(s,c){for(var d in c)c.hasOwnProperty(d)&&i(s,d,c[d])}function o(s){var c=t(s),d=e(c);return r[c]=r[s]=r[d]=d,d}function u(){arguments.length===2?typeof arguments[1]=="string"?arguments[0].style.cssText=arguments[1]:a(arguments[0],arguments[1]):i(arguments[0],arguments[1],arguments[2])}return pv.exports=u,pv.exports.set=u,pv.exports.get=function(s,c){return Array.isArray(c)?c.reduce(function(d,h){return d[h]=i(s,h||""),d},{}):i(s,c||"")},pv.exports}var BO={},wZ;function J3e(){return wZ||(wZ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return typeof r=="string"}})(BO)),BO}var HO={},bZ;function Z3e(){return bZ||(bZ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var t=Zse(),r=n(t);function n(o){return o&&o.__esModule?o:{default:o}}var i=!1;function a(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(o&&i!==!1)return i;if(typeof document<"u"){var u=document.createElement("div");(0,r.default)(u,{width:100,height:100,position:"absolute",top:-9999,overflow:"scroll",MsOverflowStyle:"scrollbar"}),document.body.appendChild(u),i=u.offsetWidth-u.clientWidth,document.body.removeChild(u)}else i=0;return i||0}})(HO)),HO}var zO={},TZ;function e2e(){return TZ||(TZ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(){return!1}})(zO)),zO}var WO={},RZ;function t2e(){return RZ||(RZ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){var n=r.clientWidth,i=getComputedStyle(r),a=i.paddingLeft,o=i.paddingRight;return n-parseFloat(a)-parseFloat(o)}})(WO)),WO}var GO={},xZ;function r2e(){return xZ||(xZ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){var n=r.clientHeight,i=getComputedStyle(r),a=i.paddingTop,o=i.paddingBottom;return n-parseFloat(a)-parseFloat(o)}})(GO)),GO}var Do={},CZ;function n2e(){return CZ||(CZ=1,Object.defineProperty(Do,"__esModule",{value:!0}),Do.containerStyleDefault={position:"relative",overflow:"hidden",width:"100%",height:"100%"},Do.containerStyleAutoHeight={height:"auto"},Do.viewStyleDefault={position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"scroll",WebkitOverflowScrolling:"touch"},Do.viewStyleAutoHeight={position:"relative",top:void 0,left:void 0,right:void 0,bottom:void 0},Do.viewStyleUniversalInitial={overflow:"hidden",marginRight:0,marginBottom:0},Do.trackHorizontalStyleDefault={position:"absolute",height:6},Do.trackVerticalStyleDefault={position:"absolute",width:6},Do.thumbHorizontalStyleDefault={position:"relative",display:"block",height:"100%"},Do.thumbVerticalStyleDefault={position:"relative",display:"block",width:"100%"},Do.disableSelectStyle={userSelect:"none"},Do.disableSelectStyleReset={userSelect:""}),Do}var Ul={},AZ;function i2e(){if(AZ)return Ul;AZ=1,Object.defineProperty(Ul,"__esModule",{value:!0});var e=Object.assign||function(d){for(var h=1;h<arguments.length;h++){var v=arguments[h];for(var g in v)Object.prototype.hasOwnProperty.call(v,g)&&(d[g]=v[g])}return d};Ul.renderViewDefault=a,Ul.renderTrackHorizontalDefault=o,Ul.renderTrackVerticalDefault=u,Ul.renderThumbHorizontalDefault=s,Ul.renderThumbVerticalDefault=c;var t=zo(),r=n(t);function n(d){return d&&d.__esModule?d:{default:d}}function i(d,h){var v={};for(var g in d)h.indexOf(g)>=0||Object.prototype.hasOwnProperty.call(d,g)&&(v[g]=d[g]);return v}function a(d){return r.default.createElement("div",d)}function o(d){var h=d.style,v=i(d,["style"]),g=e({},h,{right:2,bottom:2,left:2,borderRadius:3});return r.default.createElement("div",e({style:g},v))}function u(d){var h=d.style,v=i(d,["style"]),g=e({},h,{right:2,bottom:2,top:2,borderRadius:3});return r.default.createElement("div",e({style:g},v))}function s(d){var h=d.style,v=i(d,["style"]),g=e({},h,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return r.default.createElement("div",e({style:g},v))}function c(d){var h=d.style,v=i(d,["style"]),g=e({},h,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return r.default.createElement("div",e({style:g},v))}return Ul}var OZ;function a2e(){return OZ||(OZ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Object.assign||function(B){for(var Y=1;Y<arguments.length;Y++){var Q=arguments[Y];for(var K in Q)Object.prototype.hasOwnProperty.call(Q,K)&&(B[K]=Q[K])}return B},r=(function(){function B(Y,Q){for(var K=0;K<Q.length;K++){var ee=Q[K];ee.enumerable=ee.enumerable||!1,ee.configurable=!0,"value"in ee&&(ee.writable=!0),Object.defineProperty(Y,ee.key,ee)}}return function(Y,Q,K){return Q&&B(Y.prototype,Q),K&&B(Y,K),Y}})(),n=W3e(),i=O(n),a=Zse(),o=O(a),u=zo(),s=Ff(),c=O(s),d=J3e(),h=O(d),v=Z3e(),g=O(v),m=e2e(),y=O(m),S=t2e(),w=O(S),b=r2e(),A=O(b),R=n2e(),x=i2e();function O(B){return B&&B.__esModule?B:{default:B}}function _(B,Y){var Q={};for(var K in B)Y.indexOf(K)>=0||Object.prototype.hasOwnProperty.call(B,K)&&(Q[K]=B[K]);return Q}function P(B,Y){if(!(B instanceof Y))throw new TypeError("Cannot call a class as a function")}function N(B,Y){if(!B)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Y&&(typeof Y=="object"||typeof Y=="function")?Y:B}function U(B,Y){if(typeof Y!="function"&&Y!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Y);B.prototype=Object.create(Y&&Y.prototype,{constructor:{value:B,enumerable:!1,writable:!0,configurable:!0}}),Y&&(Object.setPrototypeOf?Object.setPrototypeOf(B,Y):B.__proto__=Y)}var $=(function(B){U(Y,B);function Y(Q){var K;P(this,Y);for(var ee=arguments.length,ne=Array(ee>1?ee-1:0),D=1;D<ee;D++)ne[D-1]=arguments[D];var I=N(this,(K=Y.__proto__||Object.getPrototypeOf(Y)).call.apply(K,[this,Q].concat(ne)));return I.getScrollLeft=I.getScrollLeft.bind(I),I.getScrollTop=I.getScrollTop.bind(I),I.getScrollWidth=I.getScrollWidth.bind(I),I.getScrollHeight=I.getScrollHeight.bind(I),I.getClientWidth=I.getClientWidth.bind(I),I.getClientHeight=I.getClientHeight.bind(I),I.getValues=I.getValues.bind(I),I.getThumbHorizontalWidth=I.getThumbHorizontalWidth.bind(I),I.getThumbVerticalHeight=I.getThumbVerticalHeight.bind(I),I.getScrollLeftForOffset=I.getScrollLeftForOffset.bind(I),I.getScrollTopForOffset=I.getScrollTopForOffset.bind(I),I.scrollLeft=I.scrollLeft.bind(I),I.scrollTop=I.scrollTop.bind(I),I.scrollToLeft=I.scrollToLeft.bind(I),I.scrollToTop=I.scrollToTop.bind(I),I.scrollToRight=I.scrollToRight.bind(I),I.scrollToBottom=I.scrollToBottom.bind(I),I.handleTrackMouseEnter=I.handleTrackMouseEnter.bind(I),I.handleTrackMouseLeave=I.handleTrackMouseLeave.bind(I),I.handleHorizontalTrackMouseDown=I.handleHorizontalTrackMouseDown.bind(I),I.handleVerticalTrackMouseDown=I.handleVerticalTrackMouseDown.bind(I),I.handleHorizontalThumbMouseDown=I.handleHorizontalThumbMouseDown.bind(I),I.handleVerticalThumbMouseDown=I.handleVerticalThumbMouseDown.bind(I),I.handleWindowResize=I.handleWindowResize.bind(I),I.handleScroll=I.handleScroll.bind(I),I.handleDrag=I.handleDrag.bind(I),I.handleDragEnd=I.handleDragEnd.bind(I),I.state={didMountUniversal:!1},I}return r(Y,[{key:"componentDidMount",value:function(){this.addListeners(),this.update(),this.componentDidMountUniversal()}},{key:"componentDidMountUniversal",value:function(){var K=this.props.universal;K&&this.setState({didMountUniversal:!0})}},{key:"componentDidUpdate",value:function(){this.update()}},{key:"componentWillUnmount",value:function(){this.removeListeners(),(0,n.cancel)(this.requestFrame),clearTimeout(this.hideTracksTimeout),clearInterval(this.detectScrollingInterval)}},{key:"getScrollLeft",value:function(){return this.view?this.view.scrollLeft:0}},{key:"getScrollTop",value:function(){return this.view?this.view.scrollTop:0}},{key:"getScrollWidth",value:function(){return this.view?this.view.scrollWidth:0}},{key:"getScrollHeight",value:function(){return this.view?this.view.scrollHeight:0}},{key:"getClientWidth",value:function(){return this.view?this.view.clientWidth:0}},{key:"getClientHeight",value:function(){return this.view?this.view.clientHeight:0}},{key:"getValues",value:function(){var K=this.view||{},ee=K.scrollLeft,ne=ee===void 0?0:ee,D=K.scrollTop,I=D===void 0?0:D,L=K.scrollWidth,re=L===void 0?0:L,te=K.scrollHeight,ce=te===void 0?0:te,be=K.clientWidth,Ie=be===void 0?0:be,je=K.clientHeight,z=je===void 0?0:je;return{left:ne/(re-Ie)||0,top:I/(ce-z)||0,scrollLeft:ne,scrollTop:I,scrollWidth:re,scrollHeight:ce,clientWidth:Ie,clientHeight:z}}},{key:"getThumbHorizontalWidth",value:function(){var K=this.props,ee=K.thumbSize,ne=K.thumbMinSize,D=this.view,I=D.scrollWidth,L=D.clientWidth,re=(0,w.default)(this.trackHorizontal),te=Math.ceil(L/I*re);return re<=te?0:ee||Math.max(te,ne)}},{key:"getThumbVerticalHeight",value:function(){var K=this.props,ee=K.thumbSize,ne=K.thumbMinSize,D=this.view,I=D.scrollHeight,L=D.clientHeight,re=(0,A.default)(this.trackVertical),te=Math.ceil(L/I*re);return re<=te?0:ee||Math.max(te,ne)}},{key:"getScrollLeftForOffset",value:function(K){var ee=this.view,ne=ee.scrollWidth,D=ee.clientWidth,I=(0,w.default)(this.trackHorizontal),L=this.getThumbHorizontalWidth();return K/(I-L)*(ne-D)}},{key:"getScrollTopForOffset",value:function(K){var ee=this.view,ne=ee.scrollHeight,D=ee.clientHeight,I=(0,A.default)(this.trackVertical),L=this.getThumbVerticalHeight();return K/(I-L)*(ne-D)}},{key:"scrollLeft",value:function(){var K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.view&&(this.view.scrollLeft=K)}},{key:"scrollTop",value:function(){var K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.view&&(this.view.scrollTop=K)}},{key:"scrollToLeft",value:function(){this.view&&(this.view.scrollLeft=0)}},{key:"scrollToTop",value:function(){this.view&&(this.view.scrollTop=0)}},{key:"scrollToRight",value:function(){this.view&&(this.view.scrollLeft=this.view.scrollWidth)}},{key:"scrollToBottom",value:function(){this.view&&(this.view.scrollTop=this.view.scrollHeight)}},{key:"addListeners",value:function(){if(!(typeof document>"u"||!this.view)){var K=this.view,ee=this.trackHorizontal,ne=this.trackVertical,D=this.thumbHorizontal,I=this.thumbVertical;K.addEventListener("scroll",this.handleScroll),(0,g.default)()&&(ee.addEventListener("mouseenter",this.handleTrackMouseEnter),ee.addEventListener("mouseleave",this.handleTrackMouseLeave),ee.addEventListener("mousedown",this.handleHorizontalTrackMouseDown),ne.addEventListener("mouseenter",this.handleTrackMouseEnter),ne.addEventListener("mouseleave",this.handleTrackMouseLeave),ne.addEventListener("mousedown",this.handleVerticalTrackMouseDown),D.addEventListener("mousedown",this.handleHorizontalThumbMouseDown),I.addEventListener("mousedown",this.handleVerticalThumbMouseDown),window.addEventListener("resize",this.handleWindowResize))}}},{key:"removeListeners",value:function(){if(!(typeof document>"u"||!this.view)){var K=this.view,ee=this.trackHorizontal,ne=this.trackVertical,D=this.thumbHorizontal,I=this.thumbVertical;K.removeEventListener("scroll",this.handleScroll),(0,g.default)()&&(ee.removeEventListener("mouseenter",this.handleTrackMouseEnter),ee.removeEventListener("mouseleave",this.handleTrackMouseLeave),ee.removeEventListener("mousedown",this.handleHorizontalTrackMouseDown),ne.removeEventListener("mouseenter",this.handleTrackMouseEnter),ne.removeEventListener("mouseleave",this.handleTrackMouseLeave),ne.removeEventListener("mousedown",this.handleVerticalTrackMouseDown),D.removeEventListener("mousedown",this.handleHorizontalThumbMouseDown),I.removeEventListener("mousedown",this.handleVerticalThumbMouseDown),window.removeEventListener("resize",this.handleWindowResize),this.teardownDragging())}}},{key:"handleScroll",value:function(K){var ee=this,ne=this.props,D=ne.onScroll,I=ne.onScrollFrame;D&&D(K),this.update(function(L){var re=L.scrollLeft,te=L.scrollTop;ee.viewScrollLeft=re,ee.viewScrollTop=te,I&&I(L)}),this.detectScrolling()}},{key:"handleScrollStart",value:function(){var K=this.props.onScrollStart;K&&K(),this.handleScrollStartAutoHide()}},{key:"handleScrollStartAutoHide",value:function(){var K=this.props.autoHide;K&&this.showTracks()}},{key:"handleScrollStop",value:function(){var K=this.props.onScrollStop;K&&K(),this.handleScrollStopAutoHide()}},{key:"handleScrollStopAutoHide",value:function(){var K=this.props.autoHide;K&&this.hideTracks()}},{key:"handleWindowResize",value:function(){(0,g.default)(!1),this.forceUpdate()}},{key:"handleHorizontalTrackMouseDown",value:function(K){K.preventDefault();var ee=K.target,ne=K.clientX,D=ee.getBoundingClientRect(),I=D.left,L=this.getThumbHorizontalWidth(),re=Math.abs(I-ne)-L/2;this.view.scrollLeft=this.getScrollLeftForOffset(re)}},{key:"handleVerticalTrackMouseDown",value:function(K){K.preventDefault();var ee=K.target,ne=K.clientY,D=ee.getBoundingClientRect(),I=D.top,L=this.getThumbVerticalHeight(),re=Math.abs(I-ne)-L/2;this.view.scrollTop=this.getScrollTopForOffset(re)}},{key:"handleHorizontalThumbMouseDown",value:function(K){K.preventDefault(),this.handleDragStart(K);var ee=K.target,ne=K.clientX,D=ee.offsetWidth,I=ee.getBoundingClientRect(),L=I.left;this.prevPageX=D-(ne-L)}},{key:"handleVerticalThumbMouseDown",value:function(K){K.preventDefault(),this.handleDragStart(K);var ee=K.target,ne=K.clientY,D=ee.offsetHeight,I=ee.getBoundingClientRect(),L=I.top;this.prevPageY=D-(ne-L)}},{key:"setupDragging",value:function(){(0,o.default)(document.body,R.disableSelectStyle),document.addEventListener("mousemove",this.handleDrag),document.addEventListener("mouseup",this.handleDragEnd),document.onselectstart=y.default}},{key:"teardownDragging",value:function(){(0,o.default)(document.body,R.disableSelectStyleReset),document.removeEventListener("mousemove",this.handleDrag),document.removeEventListener("mouseup",this.handleDragEnd),document.onselectstart=void 0}},{key:"handleDragStart",value:function(K){this.dragging=!0,K.stopImmediatePropagation(),this.setupDragging()}},{key:"handleDrag",value:function(K){if(this.prevPageX){var ee=K.clientX,ne=this.trackHorizontal.getBoundingClientRect(),D=ne.left,I=this.getThumbHorizontalWidth(),L=I-this.prevPageX,re=-D+ee-L;this.view.scrollLeft=this.getScrollLeftForOffset(re)}if(this.prevPageY){var te=K.clientY,ce=this.trackVertical.getBoundingClientRect(),be=ce.top,Ie=this.getThumbVerticalHeight(),je=Ie-this.prevPageY,z=-be+te-je;this.view.scrollTop=this.getScrollTopForOffset(z)}return!1}},{key:"handleDragEnd",value:function(){this.dragging=!1,this.prevPageX=this.prevPageY=0,this.teardownDragging(),this.handleDragEndAutoHide()}},{key:"handleDragEndAutoHide",value:function(){var K=this.props.autoHide;K&&this.hideTracks()}},{key:"handleTrackMouseEnter",value:function(){this.trackMouseOver=!0,this.handleTrackMouseEnterAutoHide()}},{key:"handleTrackMouseEnterAutoHide",value:function(){var K=this.props.autoHide;K&&this.showTracks()}},{key:"handleTrackMouseLeave",value:function(){this.trackMouseOver=!1,this.handleTrackMouseLeaveAutoHide()}},{key:"handleTrackMouseLeaveAutoHide",value:function(){var K=this.props.autoHide;K&&this.hideTracks()}},{key:"showTracks",value:function(){clearTimeout(this.hideTracksTimeout),(0,o.default)(this.trackHorizontal,{opacity:1}),(0,o.default)(this.trackVertical,{opacity:1})}},{key:"hideTracks",value:function(){var K=this;if(!this.dragging&&!this.scrolling&&!this.trackMouseOver){var ee=this.props.autoHideTimeout;clearTimeout(this.hideTracksTimeout),this.hideTracksTimeout=setTimeout(function(){(0,o.default)(K.trackHorizontal,{opacity:0}),(0,o.default)(K.trackVertical,{opacity:0})},ee)}}},{key:"detectScrolling",value:function(){var K=this;this.scrolling||(this.scrolling=!0,this.handleScrollStart(),this.detectScrollingInterval=setInterval(function(){K.lastViewScrollLeft===K.viewScrollLeft&&K.lastViewScrollTop===K.viewScrollTop&&(clearInterval(K.detectScrollingInterval),K.scrolling=!1,K.handleScrollStop()),K.lastViewScrollLeft=K.viewScrollLeft,K.lastViewScrollTop=K.viewScrollTop},100))}},{key:"raf",value:function(K){var ee=this;this.requestFrame&&i.default.cancel(this.requestFrame),this.requestFrame=(0,i.default)(function(){ee.requestFrame=void 0,K()})}},{key:"update",value:function(K){var ee=this;this.raf(function(){return ee._update(K)})}},{key:"_update",value:function(K){var ee=this.props,ne=ee.onUpdate,D=ee.hideTracksWhenNotNeeded,I=this.getValues();if((0,g.default)()){var L=I.scrollLeft,re=I.clientWidth,te=I.scrollWidth,ce=(0,w.default)(this.trackHorizontal),be=this.getThumbHorizontalWidth(),Ie=L/(te-re)*(ce-be),je={width:be,transform:"translateX("+Ie+"px)"},z=I.scrollTop,k=I.clientHeight,q=I.scrollHeight,H=(0,A.default)(this.trackVertical),ie=this.getThumbVerticalHeight(),V=z/(q-k)*(H-ie),Z={height:ie,transform:"translateY("+V+"px)"};if(D){var me={visibility:te>re?"visible":"hidden"},fe={visibility:q>k?"visible":"hidden"};(0,o.default)(this.trackHorizontal,me),(0,o.default)(this.trackVertical,fe)}(0,o.default)(this.thumbHorizontal,je),(0,o.default)(this.thumbVertical,Z)}ne&&ne(I),typeof K=="function"&&K(I)}},{key:"render",value:function(){var K=this,ee=(0,g.default)(),ne=this.props;ne.onScroll,ne.onScrollFrame,ne.onScrollStart,ne.onScrollStop,ne.onUpdate;var D=ne.renderView,I=ne.renderTrackHorizontal,L=ne.renderTrackVertical,re=ne.renderThumbHorizontal,te=ne.renderThumbVertical,ce=ne.tagName;ne.hideTracksWhenNotNeeded;var be=ne.autoHide;ne.autoHideTimeout;var Ie=ne.autoHideDuration;ne.thumbSize,ne.thumbMinSize;var je=ne.universal,z=ne.autoHeight,k=ne.autoHeightMin,q=ne.autoHeightMax,H=ne.style,ie=ne.children,V=_(ne,["onScroll","onScrollFrame","onScrollStart","onScrollStop","onUpdate","renderView","renderTrackHorizontal","renderTrackVertical","renderThumbHorizontal","renderThumbVertical","tagName","hideTracksWhenNotNeeded","autoHide","autoHideTimeout","autoHideDuration","thumbSize","thumbMinSize","universal","autoHeight","autoHeightMin","autoHeightMax","style","children"]),Z=this.state.didMountUniversal,me=t({},R.containerStyleDefault,z&&t({},R.containerStyleAutoHeight,{minHeight:k,maxHeight:q}),H),fe=t({},R.viewStyleDefault,{marginRight:ee?-ee:0,marginBottom:ee?-ee:0},z&&t({},R.viewStyleAutoHeight,{minHeight:(0,h.default)(k)?"calc("+k+" + "+ee+"px)":k+ee,maxHeight:(0,h.default)(q)?"calc("+q+" + "+ee+"px)":q+ee}),z&&je&&!Z&&{minHeight:k,maxHeight:q},je&&!Z&&R.viewStyleUniversalInitial),Re={transition:"opacity "+Ie+"ms",opacity:0},Se=t({},R.trackHorizontalStyleDefault,be&&Re,(!ee||je&&!Z)&&{display:"none"}),Oe=t({},R.trackVerticalStyleDefault,be&&Re,(!ee||je&&!Z)&&{display:"none"});return(0,u.createElement)(ce,t({},V,{style:me,ref:function(de){K.container=de}}),[(0,u.cloneElement)(D({style:fe}),{key:"view",ref:function(de){K.view=de}},ie),(0,u.cloneElement)(I({style:Se}),{key:"trackHorizontal",ref:function(de){K.trackHorizontal=de}},(0,u.cloneElement)(re({style:R.thumbHorizontalStyleDefault}),{ref:function(de){K.thumbHorizontal=de}})),(0,u.cloneElement)(L({style:Oe}),{key:"trackVertical",ref:function(de){K.trackVertical=de}},(0,u.cloneElement)(te({style:R.thumbVerticalStyleDefault}),{ref:function(de){K.thumbVertical=de}}))])}}]),Y})(u.Component);e.default=$,$.propTypes={onScroll:c.default.func,onScrollFrame:c.default.func,onScrollStart:c.default.func,onScrollStop:c.default.func,onUpdate:c.default.func,renderView:c.default.func,renderTrackHorizontal:c.default.func,renderTrackVertical:c.default.func,renderThumbHorizontal:c.default.func,renderThumbVertical:c.default.func,tagName:c.default.string,thumbSize:c.default.number,thumbMinSize:c.default.number,hideTracksWhenNotNeeded:c.default.bool,autoHide:c.default.bool,autoHideTimeout:c.default.number,autoHideDuration:c.default.number,autoHeight:c.default.bool,autoHeightMin:c.default.oneOfType([c.default.number,c.default.string]),autoHeightMax:c.default.oneOfType([c.default.number,c.default.string]),universal:c.default.bool,style:c.default.object,children:c.default.node},$.defaultProps={renderView:x.renderViewDefault,renderTrackHorizontal:x.renderTrackHorizontalDefault,renderTrackVertical:x.renderTrackVerticalDefault,renderThumbHorizontal:x.renderThumbHorizontalDefault,renderThumbVertical:x.renderThumbVerticalDefault,tagName:"div",thumbMinSize:30,hideTracksWhenNotNeeded:!1,autoHide:!1,autoHideTimeout:1e3,autoHideDuration:200,autoHeight:!1,autoHeightMin:0,autoHeightMax:200,universal:!1}})($O)),$O}var IZ;function o2e(){return IZ||(IZ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Scrollbars=void 0;var t=a2e(),r=n(t);function n(i){return i&&i.__esModule?i:{default:i}}e.default=r.default,e.Scrollbars=r.default})(MO)),MO}var dp=o2e();const s2e=jn(dp);eue.defaultProps={checked:!1,label:"",className:""};function eue(e){const{isLabelEllipsis:t}=e,r=he.useRef(null);return he.useEffect(()=>{if(r.current){if(e.checked){r.current.indeterminate&&(r.current.indeterminate=!1);return}if(e.indeterminate&&!r.current.indeterminate){r.current.indeterminate=!0;return}!e.indeterminate&&r.current.indeterminate&&(r.current.indeterminate=!1)}},[r.current,e.indeterminate,e.checked]),j.jsxs("div",{className:`form-check pe-2 ${e.className}`,children:[j.jsx("input",{ref:r,type:"checkbox",className:`${e.inputClassName} form-check-input`,id:e.id,name:e.name,checked:e.checked,onChange:e.onChange,disabled:e.disabled,"aria-checked":e.checked,"aria-label":e.ariaLabel}),e.label&&j.jsx("label",{className:"form-check-label cursor-pointer align-top",htmlFor:e.id,children:j.jsx("span",{className:`${t?"clamp-1":""}`,children:e.label})})]})}const u2e="_circle_15nxd_1",l2e="_img_15nxd_6",PZ={circle:u2e,img:l2e};Qm.defaultProps={textVariant:"white"};function Qm(e){return!e.imageUrl&&!e.svg?j.jsx(j.Fragment,{}):e.imageUrl?j.jsx("div",{className:`${PZ.img} rounded-circle h-100 w-100`,style:{backgroundImage:`url(${e.imageUrl})`},children:" "}):j.jsx("div",{className:`${PZ.circle} ${e.variant?`bg-${e.variant}`:""} text-${e.textVariant} rounded-circle h-100 w-100 ${e.svgWrapperClassName??""}`,children:j.jsx(Ri,{svg:e.svg,size:e.svgSize})})}function tue(e){return j.jsx("svg",{...e,children:j.jsx("path",{d:"M11 11V7.002a.999.999 0 1 1 2 0V11h3.998a.999.999 0 1 1 0 2H13v3.998a.999.999 0 1 1-2 0V13H7.002a.999.999 0 1 1 0-2z",fill:"currentColor"})})}function c2e(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",d:"M16.367 7.964c.821-.63 1.453-1.642 1.453-2.78a.486.486 0 0 0-.477-.493h-2.482c-1.264 0-2.367.535-2.933 1.61A4.1 4.1 0 0 0 10.6 4.734a4.16 4.16 0 0 0-1.903-.732c-.263-.02-.689.284-.707.556-.02.272.375.607.637.626.106.01 2.35.231 2.814 2.92-.561-.124-.927-.449-2.3-.449-2.143 0-4.054 1.713-4.054 5.037 0 3.438 2.726 7.31 4.53 7.31 1.73 0 1.63-.506 2.384-.506.758 0 .65.505 2.384.505 1.805 0 4.53-3.868 4.53-7.309 0-2.563-1.114-4.105-2.547-4.727zm-1.506-2.187 1.86-.098c-.222 1.125-1.192 1.65-2.336 1.777l-1.761.198c.221-1.126 1.087-1.816 2.237-1.877m1.69 11.277c-.83 1.286-1.718 1.76-2.167 1.76-.842 0-1.107-.13-1.363-.257-.235-.116-.502-.248-1.02-.248-.519 0-.786.132-1.022.248-.256.127-.52.257-1.363.257-1 0-3.378-2.903-3.378-6.123 0-2.99 1.472-3.852 2.901-3.852 1.367 0 1.491.364 2.384.476.001.314.23.511.477.511.248 0 .478-.198.477-.51.9-.114 1.012-.477 2.384-.477 1.43 0 2.901.863 2.901 3.852 0 1.384-.315 2.974-1.211 4.363"})})}function f2e(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M15.527 12.013a2.507 2.507 0 1 0 0-5.013 2.507 2.507 0 0 0 0 5.013m0-1.002a1.504 1.504 0 1 1 0-3.008 1.504 1.504 0 0 1 0 3.008m-7.269 1.323a2.256 2.256 0 1 0 0-4.512 2.256 2.256 0 0 0 0 4.512m0-3.51a1.253 1.253 0 1 1 0 2.508 1.253 1.253 0 0 1 0-2.507M4.18 15.35c1.552-2.633 4.699-2.595 6.592-1.46a.502.502 0 0 1-.516.86c-1.588-.952-4.035-.888-5.212 1.11a.25.25 0 0 0 .01.285c.068.098.202.18.372.18h4.587a.501.501 0 1 1 0 1.004H5.426c-.496 0-.938-.242-1.195-.612a1.25 1.25 0 0 1-.051-1.367m9.045-2.03a6 6 0 0 1 2.302-.504c2.344 0 3.865 1.4 4.398 2.859.164.448.044.884-.225 1.19-.26.293-.653.464-1.064.464h-6.217a1.46 1.46 0 0 1-1.068-.457 1.22 1.22 0 0 1-.288-1.172c.351-1.254 1.265-1.978 2.162-2.38m.41.915c-.724.325-1.361.859-1.607 1.736q-.034.119.058.22c.07.075.191.135.333.135h6.217c.142 0 .254-.06.313-.126.048-.055.06-.11.035-.18-.397-1.084-1.556-2.2-3.457-2.2-.386 0-1.16.087-1.892.415",clipRule:"evenodd"})})}function d2e(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.64 16.055a.77.77 0 0 1 .72 0l3.768 1.998-.808-4.602 3.358-3.249-4.626-.654L12 5.35 9.948 9.548l-4.626.654 3.357 3.25-.807 4.601zm-3.75 3.148a.768.768 0 0 1-1.116-.811l.804-4.583-3.344-3.235a.768.768 0 0 1 .426-1.312l4.607-.652 2.043-4.18a.768.768 0 0 1 1.38 0l2.043 4.18 4.607.652a.768.768 0 0 1 .426 1.312l-3.344 3.235.804 4.583a.768.768 0 0 1-1.116.81L12 17.023z",clipRule:"evenodd"})})}var qc=(e=>(e.Pink="colour:0",e.Orange="colour:1",e.Green="colour:2",e.Blue="colour:3",e.Purple="colour:4",e.Indigo="colour:5",e))(qc||{});function h2e(e){switch(e){case qc.Pink:return"pink";case qc.Orange:return"orange";case qc.Green:return"green";case qc.Blue:return"blue";case qc.Purple:return"purple";case qc.Indigo:return"indigo";default:return"pink"}}const v2e="_avatarContainer_hat3w_1",p2e="_cta_hat3w_5",DZ={avatarContainer:v2e,cta:p2e},g2e="shared.audienceFilterItem",m2e=gr.encloseNamespace(g2e),y2e=2;function _2e(e){var r;const t=(r=e.classrooms)==null?void 0:r.data;if(t!=null&&t.length)return t.length<=y2e?e.classrooms.data.map(n=>n.name).join(" • "):m2e("severalClassrooms",{classroom:t[0].name,smartCount:t.length-1})}function S2e(e){var t,r;return e.typeId===zn.User&&((r=(t=e.classrooms)==null?void 0:t.data)!=null&&r.length)?_2e(e):""}function ff(e){var s,c;const t=e.object.typeId===zn.User&&e.object,r=e.object.typeId===zn.Classroom&&e.object,n=e.object.typeId===zn.ClassroomGroup&&e.object;let i=e.object.name;t&&(i+=` ${t.surname}`);const a=S2e(e.object),o="d-flex align-items-center justify-content-center text-white rounded-circle h-100 w-100",u=()=>e.onToggleSelected(!e.selected);return j.jsx("button",{className:"w-100",onClick:u,children:j.jsxs("div",{className:`d-flex align-items-center py-1 ${e.hideCheckbox?"bg-light-hover mx-n3 px-3":""}`,children:[!e.hideCheckbox&&j.jsx(eue,{id:e.object.id,checked:e.selected,onChange:u}),j.jsxs("div",{className:`${DZ.avatarContainer} cursor-pointer me-2`,children:[!!t&&j.jsx(Qse,{imageUrl:(s=t.avatar)==null?void 0:s.url,imageCdnUrl:e.imageCdnUrl,initials:Kl.getInitials(e.object.name,t.surname)}),!!r&&j.jsx("div",{className:o,children:e.isPinned?j.jsx(Qm,{svg:d2e,variant:"yellow",svgSize:Zs.Large}):j.jsx(Qm,{svg:c2e,variant:"teal",svgSize:Zs.Large})}),!!n&&j.jsx("div",{className:o,children:j.jsx(Qm,{svg:f2e,variant:h2e((c=n.metadata)==null?void 0:c.colour)})})]}),j.jsxs("div",{children:[j.jsx("h4",{className:"text-start font-size-normal fw-normal m-0",children:i}),!!a&&j.jsx("p",{className:"text-secondary m-0",children:a})]}),e.hideCheckbox&&j.jsxs("div",{className:`${DZ.cta} ms-auto text-secondary`,children:[e.selected&&j.jsx(Ri,{svg:Ay}),!e.selected&&j.jsx(Ri,{svg:tue})]})]})})}const E2e={FILTER_PARAM_PREFIX:"filters."};var YO={},KO,kZ;function w2e(){if(kZ)return KO;kZ=1;function e(t,r){if(t===r)return!0;if(!t||!r)return!1;var n=t.length;if(r.length!==n)return!1;for(var i=0;i<n;i++)if(t[i]!==r[i])return!1;return!0}return KO=e,KO}var XO={},QO,NZ;function b2e(){if(NZ)return QO;NZ=1;var e=(function(){function t(r,n){var i=[],a=!0,o=!1,u=void 0;try{for(var s=r[Symbol.iterator](),c;!(a=(c=s.next()).done)&&(i.push(c.value),!(n&&i.length===n));a=!0);}catch(d){o=!0,u=d}finally{try{!a&&s.return&&s.return()}finally{if(o)throw u}}return i}return function(r,n){if(Array.isArray(r))return r;if(Symbol.iterator in Object(r))return t(r,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})();return QO=function(t){var r=t.data,n=t.multiSection;function i(c){for(c===null?c=0:c++;c<r.length&&r[c]===0;)c++;return c===r.length?null:c}function a(c){for(c===null?c=r.length-1:c--;c>=0&&r[c]===0;)c--;return c===-1?null:c}function o(c){var d=e(c,2),h=d[0],v=d[1];return n?v===null||v===r[h]-1?(h=i(h),h===null?[null,null]:[h,0]):[h,v+1]:r===0||v===r-1?[null,null]:v===null?[null,0]:[null,v+1]}function u(c){var d=e(c,2),h=d[0],v=d[1];return n?v===null||v===0?(h=a(h),h===null?[null,null]:[h,r[h]-1]):[h,v-1]:r===0||v===0?[null,null]:v===null?[null,r-1]:[null,v-1]}function s(c){return o(c)[1]===null}return{next:o,prev:u,isLast:s}},QO}var _m={exports:{}},JO,LZ;function T2e(){if(LZ)return JO;LZ=1;var e=Object.prototype.propertyIsEnumerable;function t(n){if(n==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(n)}function r(n){var i=Object.getOwnPropertyNames(n);return Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n))),i.filter(function(a){return e.call(n,a)})}return JO=Object.assign||function(n,i){for(var a,o,u=t(n),s=1;s<arguments.length;s++){a=arguments[s],o=r(Object(a));for(var c=0;c<o.length;c++)u[o[c]]=a[o[c]]}return u},JO}var MZ;function R2e(){return MZ||(MZ=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=(function(){function s(c,d){var h=[],v=!0,g=!1,m=void 0;try{for(var y=c[Symbol.iterator](),S;!(v=(S=y.next()).done)&&(h.push(S.value),!(d&&h.length===d));v=!0);}catch(w){g=!0,m=w}finally{try{!v&&y.return&&y.return()}finally{if(g)throw m}}return h}return function(c,d){if(Array.isArray(c))return c;if(Symbol.iterator in Object(c))return s(c,d);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})();function n(s){return s&&s.__esModule?s:{default:s}}function i(s){if(Array.isArray(s)){for(var c=0,d=Array(s.length);c<s.length;c++)d[c]=s[c];return d}else return Array.from(s)}var a=T2e(),o=n(a),u=function(c){return c};t.default=function(s){var c=Array.isArray(s)&&s.length===2?s:[s,null],d=r(c,2),h=d[0],v=d[1];return function(g){for(var m=arguments.length,y=Array(m>1?m-1:0),S=1;S<m;S++)y[S-1]=arguments[S];var w=y.map(function(b){return h[b]}).filter(u);return typeof w[0]=="string"||typeof v=="function"?{key:g,className:v?v.apply(void 0,i(w)):w.join(" ")}:{key:g,style:o.default.apply(void 0,[{}].concat(i(w)))}}},e.exports=t.default})(_m,_m.exports)),_m.exports}var ZO={},eI={},$Z;function uN(){return $Z||($Z=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;function t(n){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(a){return typeof a}:t=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},t(n)}function r(n,i){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(n===i)return!1;var o=Object.keys(n),u=Object.keys(i);if(o.length!==u.length)return!0;var s={},c,d;for(c=0,d=a.length;c<d;c++)s[a[c]]=!0;for(c=0,d=o.length;c<d;c++){var h=o[c],v=n[h],g=i[h];if(v!==g){if(!s[h]||v===null||g===null||t(v)!=="object"||t(g)!=="object")return!0;var m=Object.keys(v),y=Object.keys(g);if(m.length!==y.length)return!0;for(var S=0,w=m.length;S<w;S++){var b=m[S];if(v[b]!==g[b])return!0}}}return!1}})(eI)),eI}var FZ;function x2e(){return FZ||(FZ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(zo()),r=i(Ff()),n=i(uN());function i(R){return R&&R.__esModule?R:{default:R}}function a(){if(typeof WeakMap!="function")return null;var R=new WeakMap;return a=function(){return R},R}function o(R){if(R&&R.__esModule)return R;if(R===null||u(R)!=="object"&&typeof R!="function")return{default:R};var x=a();if(x&&x.has(R))return x.get(R);var O={},_=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var P in R)if(Object.prototype.hasOwnProperty.call(R,P)){var N=_?Object.getOwnPropertyDescriptor(R,P):null;N&&(N.get||N.set)?Object.defineProperty(O,P,N):O[P]=R[P]}return O.default=R,x&&x.set(R,O),O}function u(R){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?u=function(O){return typeof O}:u=function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O},u(R)}function s(R,x){if(!(R instanceof x))throw new TypeError("Cannot call a class as a function")}function c(R,x){for(var O=0;O<x.length;O++){var _=x[O];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(R,_.key,_)}}function d(R,x,O){return x&&c(R.prototype,x),R}function h(R){return function(){var x=y(R),O;if(m()){var _=y(this).constructor;O=Reflect.construct(x,arguments,_)}else O=x.apply(this,arguments);return v(this,O)}}function v(R,x){return x&&(u(x)==="object"||typeof x=="function")?x:g(R)}function g(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}function m(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function y(R){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(O){return O.__proto__||Object.getPrototypeOf(O)},y(R)}function S(R,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create(x&&x.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),x&&w(R,x)}function w(R,x){return w=Object.setPrototypeOf||function(_,P){return _.__proto__=P,_},w(R,x)}function b(R,x,O){return x in R?Object.defineProperty(R,x,{value:O,enumerable:!0,configurable:!0,writable:!0}):R[x]=O,R}var A=(function(R){S(O,R);var x=h(O);function O(){return s(this,O),x.apply(this,arguments)}return d(O,[{key:"shouldComponentUpdate",value:function(P){return(0,n.default)(P,this.props)}},{key:"render",value:function(){var P=this.props,N=P.section,U=P.renderSectionTitle,$=P.theme,B=P.sectionKeyPrefix,Y=U(N);return Y?t.default.createElement("div",$("".concat(B,"title"),"sectionTitle"),Y):null}}]),O})(t.Component);e.default=A,b(A,"propTypes",{section:r.default.any.isRequired,renderSectionTitle:r.default.func.isRequired,theme:r.default.func.isRequired,sectionKeyPrefix:r.default.string.isRequired})})(ZO)),ZO}var tI={},rI={},jZ;function C2e(){return jZ||(jZ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(zo()),r=i(Ff()),n=i(uN());function i(N){return N&&N.__esModule?N:{default:N}}function a(){if(typeof WeakMap!="function")return null;var N=new WeakMap;return a=function(){return N},N}function o(N){if(N&&N.__esModule)return N;if(N===null||u(N)!=="object"&&typeof N!="function")return{default:N};var U=a();if(U&&U.has(N))return U.get(N);var $={},B=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Y in N)if(Object.prototype.hasOwnProperty.call(N,Y)){var Q=B?Object.getOwnPropertyDescriptor(N,Y):null;Q&&(Q.get||Q.set)?Object.defineProperty($,Y,Q):$[Y]=N[Y]}return $.default=N,U&&U.set(N,$),$}function u(N){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?u=function($){return typeof $}:u=function($){return $&&typeof Symbol=="function"&&$.constructor===Symbol&&$!==Symbol.prototype?"symbol":typeof $},u(N)}function s(){return s=Object.assign||function(N){for(var U=1;U<arguments.length;U++){var $=arguments[U];for(var B in $)Object.prototype.hasOwnProperty.call($,B)&&(N[B]=$[B])}return N},s.apply(this,arguments)}function c(N,U){var $=Object.keys(N);if(Object.getOwnPropertySymbols){var B=Object.getOwnPropertySymbols(N);U&&(B=B.filter(function(Y){return Object.getOwnPropertyDescriptor(N,Y).enumerable})),$.push.apply($,B)}return $}function d(N){for(var U=1;U<arguments.length;U++){var $=arguments[U]!=null?arguments[U]:{};U%2?c(Object($),!0).forEach(function(B){_(N,B,$[B])}):Object.getOwnPropertyDescriptors?Object.defineProperties(N,Object.getOwnPropertyDescriptors($)):c(Object($)).forEach(function(B){Object.defineProperty(N,B,Object.getOwnPropertyDescriptor($,B))})}return N}function h(N,U){if(N==null)return{};var $=v(N,U),B,Y;if(Object.getOwnPropertySymbols){var Q=Object.getOwnPropertySymbols(N);for(Y=0;Y<Q.length;Y++)B=Q[Y],!(U.indexOf(B)>=0)&&Object.prototype.propertyIsEnumerable.call(N,B)&&($[B]=N[B])}return $}function v(N,U){if(N==null)return{};var $={},B=Object.keys(N),Y,Q;for(Q=0;Q<B.length;Q++)Y=B[Q],!(U.indexOf(Y)>=0)&&($[Y]=N[Y]);return $}function g(N,U){if(!(N instanceof U))throw new TypeError("Cannot call a class as a function")}function m(N,U){for(var $=0;$<U.length;$++){var B=U[$];B.enumerable=B.enumerable||!1,B.configurable=!0,"value"in B&&(B.writable=!0),Object.defineProperty(N,B.key,B)}}function y(N,U,$){return U&&m(N.prototype,U),N}function S(N){return function(){var U=R(N),$;if(A()){var B=R(this).constructor;$=Reflect.construct(U,arguments,B)}else $=U.apply(this,arguments);return w(this,$)}}function w(N,U){return U&&(u(U)==="object"||typeof U=="function")?U:b(N)}function b(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}function A(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function R(N){return R=Object.setPrototypeOf?Object.getPrototypeOf:function($){return $.__proto__||Object.getPrototypeOf($)},R(N)}function x(N,U){if(typeof U!="function"&&U!==null)throw new TypeError("Super expression must either be null or a function");N.prototype=Object.create(U&&U.prototype,{constructor:{value:N,writable:!0,configurable:!0}}),U&&O(N,U)}function O(N,U){return O=Object.setPrototypeOf||function(B,Y){return B.__proto__=Y,B},O(N,U)}function _(N,U,$){return U in N?Object.defineProperty(N,U,{value:$,enumerable:!0,configurable:!0,writable:!0}):N[U]=$,N}var P=(function(N){x($,N);var U=S($);function $(){var B;g(this,$);for(var Y=arguments.length,Q=new Array(Y),K=0;K<Y;K++)Q[K]=arguments[K];return B=U.call.apply(U,[this].concat(Q)),_(b(B),"storeItemReference",function(ee){ee!==null&&(B.item=ee)}),_(b(B),"onMouseEnter",function(ee){var ne=B.props,D=ne.sectionIndex,I=ne.itemIndex;B.props.onMouseEnter(ee,{sectionIndex:D,itemIndex:I})}),_(b(B),"onMouseLeave",function(ee){var ne=B.props,D=ne.sectionIndex,I=ne.itemIndex;B.props.onMouseLeave(ee,{sectionIndex:D,itemIndex:I})}),_(b(B),"onMouseDown",function(ee){var ne=B.props,D=ne.sectionIndex,I=ne.itemIndex;B.props.onMouseDown(ee,{sectionIndex:D,itemIndex:I})}),_(b(B),"onClick",function(ee){var ne=B.props,D=ne.sectionIndex,I=ne.itemIndex;B.props.onClick(ee,{sectionIndex:D,itemIndex:I})}),B}return y($,[{key:"shouldComponentUpdate",value:function(Y){return(0,n.default)(Y,this.props,["renderItemData"])}},{key:"render",value:function(){var Y=this.props,Q=Y.isHighlighted,K=Y.item,ee=Y.renderItem,ne=Y.renderItemData,D=h(Y,["isHighlighted","item","renderItem","renderItemData"]);return delete D.sectionIndex,delete D.itemIndex,typeof D.onMouseEnter=="function"&&(D.onMouseEnter=this.onMouseEnter),typeof D.onMouseLeave=="function"&&(D.onMouseLeave=this.onMouseLeave),typeof D.onMouseDown=="function"&&(D.onMouseDown=this.onMouseDown),typeof D.onClick=="function"&&(D.onClick=this.onClick),t.default.createElement("li",s({role:"option"},D,{ref:this.storeItemReference}),ee(K,d({isHighlighted:Q},ne)))}}]),$})(t.Component);e.default=P,_(P,"propTypes",{sectionIndex:r.default.number,isHighlighted:r.default.bool.isRequired,itemIndex:r.default.number.isRequired,item:r.default.any.isRequired,renderItem:r.default.func.isRequired,renderItemData:r.default.object.isRequired,onMouseEnter:r.default.func,onMouseLeave:r.default.func,onMouseDown:r.default.func,onClick:r.default.func})})(rI)),rI}var UZ;function A2e(){return UZ||(UZ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=u(zo()),r=a(Ff()),n=a(C2e()),i=a(uN());function a(P){return P&&P.__esModule?P:{default:P}}function o(){if(typeof WeakMap!="function")return null;var P=new WeakMap;return o=function(){return P},P}function u(P){if(P&&P.__esModule)return P;if(P===null||s(P)!=="object"&&typeof P!="function")return{default:P};var N=o();if(N&&N.has(P))return N.get(P);var U={},$=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var B in P)if(Object.prototype.hasOwnProperty.call(P,B)){var Y=$?Object.getOwnPropertyDescriptor(P,B):null;Y&&(Y.get||Y.set)?Object.defineProperty(U,B,Y):U[B]=P[B]}return U.default=P,N&&N.set(P,U),U}function s(P){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?s=function(U){return typeof U}:s=function(U){return U&&typeof Symbol=="function"&&U.constructor===Symbol&&U!==Symbol.prototype?"symbol":typeof U},s(P)}function c(){return c=Object.assign||function(P){for(var N=1;N<arguments.length;N++){var U=arguments[N];for(var $ in U)Object.prototype.hasOwnProperty.call(U,$)&&(P[$]=U[$])}return P},c.apply(this,arguments)}function d(P,N){var U=Object.keys(P);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(P);N&&($=$.filter(function(B){return Object.getOwnPropertyDescriptor(P,B).enumerable})),U.push.apply(U,$)}return U}function h(P){for(var N=1;N<arguments.length;N++){var U=arguments[N]!=null?arguments[N]:{};N%2?d(Object(U),!0).forEach(function($){O(P,$,U[$])}):Object.getOwnPropertyDescriptors?Object.defineProperties(P,Object.getOwnPropertyDescriptors(U)):d(Object(U)).forEach(function($){Object.defineProperty(P,$,Object.getOwnPropertyDescriptor(U,$))})}return P}function v(P,N){if(!(P instanceof N))throw new TypeError("Cannot call a class as a function")}function g(P,N){for(var U=0;U<N.length;U++){var $=N[U];$.enumerable=$.enumerable||!1,$.configurable=!0,"value"in $&&($.writable=!0),Object.defineProperty(P,$.key,$)}}function m(P,N,U){return N&&g(P.prototype,N),P}function y(P){return function(){var N=A(P),U;if(b()){var $=A(this).constructor;U=Reflect.construct(N,arguments,$)}else U=N.apply(this,arguments);return S(this,U)}}function S(P,N){return N&&(s(N)==="object"||typeof N=="function")?N:w(P)}function w(P){if(P===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return P}function b(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function A(P){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(U){return U.__proto__||Object.getPrototypeOf(U)},A(P)}function R(P,N){if(typeof N!="function"&&N!==null)throw new TypeError("Super expression must either be null or a function");P.prototype=Object.create(N&&N.prototype,{constructor:{value:P,writable:!0,configurable:!0}}),N&&x(P,N)}function x(P,N){return x=Object.setPrototypeOf||function($,B){return $.__proto__=B,$},x(P,N)}function O(P,N,U){return N in P?Object.defineProperty(P,N,{value:U,enumerable:!0,configurable:!0,writable:!0}):P[N]=U,P}var _=(function(P){R(U,P);var N=y(U);function U(){var $;v(this,U);for(var B=arguments.length,Y=new Array(B),Q=0;Q<B;Q++)Y[Q]=arguments[Q];return $=N.call.apply(N,[this].concat(Y)),O(w($),"storeHighlightedItemReference",function(K){$.props.onHighlightedItemChange(K===null?null:K.item)}),$}return m(U,[{key:"shouldComponentUpdate",value:function(B){return(0,i.default)(B,this.props,["itemProps"])}},{key:"render",value:function(){var B=this,Y=this.props,Q=Y.items,K=Y.itemProps,ee=Y.renderItem,ne=Y.renderItemData,D=Y.sectionIndex,I=Y.highlightedItemIndex,L=Y.getItemId,re=Y.theme,te=Y.keyPrefix,ce=D===null?te:"".concat(te,"section-").concat(D,"-"),be=typeof K=="function";return t.default.createElement("ul",c({role:"listbox"},re("".concat(ce,"items-list"),"itemsList")),Q.map(function(Ie,je){var z=je===0,k=je===I,q="".concat(ce,"item-").concat(je),H=be?K({sectionIndex:D,itemIndex:je}):K,ie=h({id:L(D,je),"aria-selected":k},re(q,"item",z&&"itemFirst",k&&"itemHighlighted"),{},H);return k&&(ie.ref=B.storeHighlightedItemReference),t.default.createElement(n.default,c({},ie,{sectionIndex:D,isHighlighted:k,itemIndex:je,item:Ie,renderItem:ee,renderItemData:ne}))}))}}]),U})(t.Component);e.default=_,O(_,"propTypes",{items:r.default.array.isRequired,itemProps:r.default.oneOfType([r.default.object,r.default.func]),renderItem:r.default.func.isRequired,renderItemData:r.default.object.isRequired,sectionIndex:r.default.number,highlightedItemIndex:r.default.number,onHighlightedItemChange:r.default.func.isRequired,getItemId:r.default.func.isRequired,theme:r.default.func.isRequired,keyPrefix:r.default.string.isRequired}),O(_,"defaultProps",{sectionIndex:null})})(tI)),tI}var qZ;function O2e(){return qZ||(qZ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=c(zo()),r=u(Ff()),n=u(b2e()),i=u(R2e()),a=u(x2e()),o=u(A2e());function u(I){return I&&I.__esModule?I:{default:I}}function s(){if(typeof WeakMap!="function")return null;var I=new WeakMap;return s=function(){return I},I}function c(I){if(I&&I.__esModule)return I;if(I===null||b(I)!=="object"&&typeof I!="function")return{default:I};var L=s();if(L&&L.has(I))return L.get(I);var re={},te=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ce in I)if(Object.prototype.hasOwnProperty.call(I,ce)){var be=te?Object.getOwnPropertyDescriptor(I,ce):null;be&&(be.get||be.set)?Object.defineProperty(re,ce,be):re[ce]=I[ce]}return re.default=I,L&&L.set(I,re),re}function d(I,L){var re=Object.keys(I);if(Object.getOwnPropertySymbols){var te=Object.getOwnPropertySymbols(I);L&&(te=te.filter(function(ce){return Object.getOwnPropertyDescriptor(I,ce).enumerable})),re.push.apply(re,te)}return re}function h(I){for(var L=1;L<arguments.length;L++){var re=arguments[L]!=null?arguments[L]:{};L%2?d(Object(re),!0).forEach(function(te){Y(I,te,re[te])}):Object.getOwnPropertyDescriptors?Object.defineProperties(I,Object.getOwnPropertyDescriptors(re)):d(Object(re)).forEach(function(te){Object.defineProperty(I,te,Object.getOwnPropertyDescriptor(re,te))})}return I}function v(I,L){return w(I)||S(I,L)||m(I,L)||g()}function g(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
172
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function m(I,L){if(I){if(typeof I=="string")return y(I,L);var re=Object.prototype.toString.call(I).slice(8,-1);if(re==="Object"&&I.constructor&&(re=I.constructor.name),re==="Map"||re==="Set")return Array.from(re);if(re==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(re))return y(I,L)}}function y(I,L){(L==null||L>I.length)&&(L=I.length);for(var re=0,te=new Array(L);re<L;re++)te[re]=I[re];return te}function S(I,L){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(I)))){var re=[],te=!0,ce=!1,be=void 0;try{for(var Ie=I[Symbol.iterator](),je;!(te=(je=Ie.next()).done)&&(re.push(je.value),!(L&&re.length===L));te=!0);}catch(z){ce=!0,be=z}finally{try{!te&&Ie.return!=null&&Ie.return()}finally{if(ce)throw be}}return re}}function w(I){if(Array.isArray(I))return I}function b(I){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?b=function(re){return typeof re}:b=function(re){return re&&typeof Symbol=="function"&&re.constructor===Symbol&&re!==Symbol.prototype?"symbol":typeof re},b(I)}function A(I,L){if(!(I instanceof L))throw new TypeError("Cannot call a class as a function")}function R(I,L){for(var re=0;re<L.length;re++){var te=L[re];te.enumerable=te.enumerable||!1,te.configurable=!0,"value"in te&&(te.writable=!0),Object.defineProperty(I,te.key,te)}}function x(I,L,re){return L&&R(I.prototype,L),I}function O(I){return function(){var L=U(I),re;if(N()){var te=U(this).constructor;re=Reflect.construct(L,arguments,te)}else re=L.apply(this,arguments);return _(this,re)}}function _(I,L){return L&&(b(L)==="object"||typeof L=="function")?L:P(I)}function P(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}function N(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function U(I){return U=Object.setPrototypeOf?Object.getPrototypeOf:function(re){return re.__proto__||Object.getPrototypeOf(re)},U(I)}function $(I,L){if(typeof L!="function"&&L!==null)throw new TypeError("Super expression must either be null or a function");I.prototype=Object.create(L&&L.prototype,{constructor:{value:I,writable:!0,configurable:!0}}),L&&B(I,L)}function B(I,L){return B=Object.setPrototypeOf||function(te,ce){return te.__proto__=ce,te},B(I,L)}function Y(I,L,re){return L in I?Object.defineProperty(I,L,{value:re,enumerable:!0,configurable:!0,writable:!0}):I[L]=re,I}var Q={},K=function(L){return t.default.createElement("input",L)},ee=function(L){var re=L.containerProps,te=L.children;return t.default.createElement("div",re,te)},ne={container:"react-autowhatever__container",containerOpen:"react-autowhatever__container--open",input:"react-autowhatever__input",inputOpen:"react-autowhatever__input--open",inputFocused:"react-autowhatever__input--focused",itemsContainer:"react-autowhatever__items-container",itemsContainerOpen:"react-autowhatever__items-container--open",itemsList:"react-autowhatever__items-list",item:"react-autowhatever__item",itemFirst:"react-autowhatever__item--first",itemHighlighted:"react-autowhatever__item--highlighted",sectionContainer:"react-autowhatever__section-container",sectionContainerFirst:"react-autowhatever__section-container--first",sectionTitle:"react-autowhatever__section-title"},D=(function(I){$(re,I);var L=O(re);function re(te){var ce;return A(this,re),ce=L.call(this,te),Y(P(ce),"storeInputReference",function(be){be!==null&&(ce.input=be);var Ie=ce.props.inputProps.ref;Ie&&(typeof Ie=="function"?Ie(be):b(Ie)==="object"&&Object.prototype.hasOwnProperty.call(Ie,"current")&&(Ie.current=be))}),Y(P(ce),"storeItemsContainerReference",function(be){be!==null&&(ce.itemsContainer=be)}),Y(P(ce),"onHighlightedItemChange",function(be){ce.highlightedItem=be}),Y(P(ce),"getItemId",function(be,Ie){if(Ie===null)return null;var je=ce.props.id,z=be===null?"":"section-".concat(be);return"react-autowhatever-".concat(je,"-").concat(z,"-item-").concat(Ie)}),Y(P(ce),"onFocus",function(be){var Ie=ce.props.inputProps;ce.setState({isInputFocused:!0}),Ie.onFocus&&Ie.onFocus(be)}),Y(P(ce),"onBlur",function(be){var Ie=ce.props.inputProps;ce.setState({isInputFocused:!1}),Ie.onBlur&&Ie.onBlur(be)}),Y(P(ce),"onKeyDown",function(be){var Ie=ce.props,je=Ie.inputProps,z=Ie.highlightedSectionIndex,k=Ie.highlightedItemIndex,q=be.keyCode;switch(q){case 40:case 38:{var H=q===40?"next":"prev",ie=ce.sectionIterator[H]([z,k]),V=v(ie,2),Z=V[0],me=V[1];je.onKeyDown(be,{newHighlightedSectionIndex:Z,newHighlightedItemIndex:me});break}default:je.onKeyDown(be,{highlightedSectionIndex:z,highlightedItemIndex:k})}}),ce.highlightedItem=null,ce.state={isInputFocused:!1},ce.setSectionsItems(te),ce.setSectionIterator(te),ce.setTheme(te),ce}return x(re,[{key:"componentDidMount",value:function(){this.ensureHighlightedItemIsVisible()}},{key:"UNSAFE_componentWillReceiveProps",value:function(ce){ce.items!==this.props.items&&this.setSectionsItems(ce),(ce.items!==this.props.items||ce.multiSection!==this.props.multiSection)&&this.setSectionIterator(ce),ce.theme!==this.props.theme&&this.setTheme(ce)}},{key:"componentDidUpdate",value:function(){this.ensureHighlightedItemIsVisible()}},{key:"setSectionsItems",value:function(ce){ce.multiSection&&(this.sectionsItems=ce.items.map(function(be){return ce.getSectionItems(be)}),this.sectionsLengths=this.sectionsItems.map(function(be){return be.length}),this.allSectionsAreEmpty=this.sectionsLengths.every(function(be){return be===0}))}},{key:"setSectionIterator",value:function(ce){this.sectionIterator=(0,n.default)({multiSection:ce.multiSection,data:ce.multiSection?this.sectionsLengths:ce.items.length})}},{key:"setTheme",value:function(ce){this.theme=(0,i.default)(ce.theme)}},{key:"renderSections",value:function(){var ce=this;if(this.allSectionsAreEmpty)return null;var be=this.theme,Ie=this.props,je=Ie.id,z=Ie.items,k=Ie.renderItem,q=Ie.renderItemData,H=Ie.renderSectionTitle,ie=Ie.highlightedSectionIndex,V=Ie.highlightedItemIndex,Z=Ie.itemProps;return z.map(function(me,fe){var Re="react-autowhatever-".concat(je,"-"),Se="".concat(Re,"section-").concat(fe,"-"),Oe=fe===0;return t.default.createElement("div",be("".concat(Se,"container"),"sectionContainer",Oe&&"sectionContainerFirst"),t.default.createElement(a.default,{section:me,renderSectionTitle:H,theme:be,sectionKeyPrefix:Se}),t.default.createElement(o.default,{items:ce.sectionsItems[fe],itemProps:Z,renderItem:k,renderItemData:q,sectionIndex:fe,highlightedItemIndex:ie===fe?V:null,onHighlightedItemChange:ce.onHighlightedItemChange,getItemId:ce.getItemId,theme:be,keyPrefix:Re,ref:ce.storeItemsListReference}))})}},{key:"renderItems",value:function(){var ce=this.props.items;if(ce.length===0)return null;var be=this.theme,Ie=this.props,je=Ie.id,z=Ie.renderItem,k=Ie.renderItemData,q=Ie.highlightedSectionIndex,H=Ie.highlightedItemIndex,ie=Ie.itemProps;return t.default.createElement(o.default,{items:ce,itemProps:ie,renderItem:z,renderItemData:k,highlightedItemIndex:q===null?H:null,onHighlightedItemChange:this.onHighlightedItemChange,getItemId:this.getItemId,theme:be,keyPrefix:"react-autowhatever-".concat(je,"-")})}},{key:"ensureHighlightedItemIsVisible",value:function(){var ce=this.highlightedItem;if(ce){var be=this.itemsContainer,Ie=ce.offsetParent===be?ce.offsetTop:ce.offsetTop-be.offsetTop,je=be.scrollTop;Ie<je?je=Ie:Ie+ce.offsetHeight>je+be.offsetHeight&&(je=Ie+ce.offsetHeight-be.offsetHeight),je!==be.scrollTop&&(be.scrollTop=je)}}},{key:"render",value:function(){var ce=this.theme,be=this.props,Ie=be.id,je=be.multiSection,z=be.renderInputComponent,k=be.renderItemsContainer,q=be.highlightedSectionIndex,H=be.highlightedItemIndex,ie=this.state.isInputFocused,V=je?this.renderSections():this.renderItems(),Z=V!==null,me=this.getItemId(q,H),fe="react-autowhatever-".concat(Ie),Re=h({role:"combobox","aria-haspopup":"listbox","aria-owns":fe,"aria-expanded":Z},ce("react-autowhatever-".concat(Ie,"-container"),"container",Z&&"containerOpen"),{},this.props.containerProps),Se=z(h({type:"text",value:"",autoComplete:"off","aria-autocomplete":"list","aria-controls":fe,"aria-activedescendant":me},ce("react-autowhatever-".concat(Ie,"-input"),"input",Z&&"inputOpen",ie&&"inputFocused"),{},this.props.inputProps,{onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.props.inputProps.onKeyDown&&this.onKeyDown,ref:this.storeInputReference})),Oe=k({containerProps:h({id:fe,role:"listbox"},ce("react-autowhatever-".concat(Ie,"-items-container"),"itemsContainer",Z&&"itemsContainerOpen"),{ref:this.storeItemsContainerReference}),children:V});return t.default.createElement("div",Re,Se,Oe)}}]),re})(t.Component);e.default=D,Y(D,"propTypes",{id:r.default.string,multiSection:r.default.bool,renderInputComponent:r.default.func,renderItemsContainer:r.default.func,items:r.default.array.isRequired,renderItem:r.default.func,renderItemData:r.default.object,renderSectionTitle:r.default.func,getSectionItems:r.default.func,containerProps:r.default.object,inputProps:r.default.object,itemProps:r.default.oneOfType([r.default.object,r.default.func]),highlightedSectionIndex:r.default.number,highlightedItemIndex:r.default.number,theme:r.default.oneOfType([r.default.object,r.default.array])}),Y(D,"defaultProps",{id:"1",multiSection:!1,renderInputComponent:K,renderItemsContainer:ee,renderItem:function(){throw new Error("`renderItem` must be provided")},renderItemData:Q,renderSectionTitle:function(){throw new Error("`renderSectionTitle` must be provided")},getSectionItems:function(){throw new Error("`getSectionItems` must be provided")},containerProps:Q,inputProps:Q,itemProps:Q,highlightedSectionIndex:null,highlightedItemIndex:null,theme:ne})})(XO)),XO}var $c={},VZ;function I2e(){if(VZ)return $c;VZ=1,Object.defineProperty($c,"__esModule",{value:!0}),$c.mapToAutowhateverTheme=$c.defaultTheme=void 0;var e={container:"react-autosuggest__container",containerOpen:"react-autosuggest__container--open",input:"react-autosuggest__input",inputOpen:"react-autosuggest__input--open",inputFocused:"react-autosuggest__input--focused",suggestionsContainer:"react-autosuggest__suggestions-container",suggestionsContainerOpen:"react-autosuggest__suggestions-container--open",suggestionsList:"react-autosuggest__suggestions-list",suggestion:"react-autosuggest__suggestion",suggestionFirst:"react-autosuggest__suggestion--first",suggestionHighlighted:"react-autosuggest__suggestion--highlighted",sectionContainer:"react-autosuggest__section-container",sectionContainerFirst:"react-autosuggest__section-container--first",sectionTitle:"react-autosuggest__section-title"};$c.defaultTheme=e;var t=function(n){var i={};for(var a in n)switch(a){case"suggestionsContainer":i.itemsContainer=n[a];break;case"suggestionsContainerOpen":i.itemsContainerOpen=n[a];break;case"suggestion":i.item=n[a];break;case"suggestionFirst":i.itemFirst=n[a];break;case"suggestionHighlighted":i.itemHighlighted=n[a];break;case"suggestionsList":i.itemsList=n[a];break;default:i[a]=n[a]}return i};return $c.mapToAutowhateverTheme=t,$c}var BZ;function P2e(){return BZ||(BZ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=s(zo()),r=o(Ff()),n=o(w2e()),i=o(O2e()),a=I2e();function o(D){return D&&D.__esModule?D:{default:D}}function u(){if(typeof WeakMap!="function")return null;var D=new WeakMap;return u=function(){return D},D}function s(D){if(D&&D.__esModule)return D;if(D===null||c(D)!=="object"&&typeof D!="function")return{default:D};var I=u();if(I&&I.has(D))return I.get(D);var L={},re=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var te in D)if(Object.prototype.hasOwnProperty.call(D,te)){var ce=re?Object.getOwnPropertyDescriptor(D,te):null;ce&&(ce.get||ce.set)?Object.defineProperty(L,te,ce):L[te]=D[te]}return L.default=D,I&&I.set(D,L),L}function c(D){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?c=function(L){return typeof L}:c=function(L){return L&&typeof Symbol=="function"&&L.constructor===Symbol&&L!==Symbol.prototype?"symbol":typeof L},c(D)}function d(D,I){var L=Object.keys(D);if(Object.getOwnPropertySymbols){var re=Object.getOwnPropertySymbols(D);I&&(re=re.filter(function(te){return Object.getOwnPropertyDescriptor(D,te).enumerable})),L.push.apply(L,re)}return L}function h(D){for(var I=1;I<arguments.length;I++){var L=arguments[I]!=null?arguments[I]:{};I%2?d(Object(L),!0).forEach(function(re){O(D,re,L[re])}):Object.getOwnPropertyDescriptors?Object.defineProperties(D,Object.getOwnPropertyDescriptors(L)):d(Object(L)).forEach(function(re){Object.defineProperty(D,re,Object.getOwnPropertyDescriptor(L,re))})}return D}function v(D,I){if(!(D instanceof I))throw new TypeError("Cannot call a class as a function")}function g(D,I){for(var L=0;L<I.length;L++){var re=I[L];re.enumerable=re.enumerable||!1,re.configurable=!0,"value"in re&&(re.writable=!0),Object.defineProperty(D,re.key,re)}}function m(D,I,L){return I&&g(D.prototype,I),D}function y(D){return function(){var I=A(D),L;if(b()){var re=A(this).constructor;L=Reflect.construct(I,arguments,re)}else L=I.apply(this,arguments);return S(this,L)}}function S(D,I){return I&&(c(I)==="object"||typeof I=="function")?I:w(D)}function w(D){if(D===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D}function b(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function A(D){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(L){return L.__proto__||Object.getPrototypeOf(L)},A(D)}function R(D,I){if(typeof I!="function"&&I!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(I&&I.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),I&&x(D,I)}function x(D,I){return x=Object.setPrototypeOf||function(re,te){return re.__proto__=te,re},x(D,I)}function O(D,I,L){return I in D?Object.defineProperty(D,I,{value:L,enumerable:!0,configurable:!0,writable:!0}):D[I]=L,D}var _=function(){return!0},P=function(I){return I.trim().length>0},N=function(I){var L=I.containerProps,re=I.children;return t.default.createElement("div",L,re)},U="suggestions-revealed",$="suggestions-updated",B="suggestion-selected",Y="input-focused",Q="input-changed",K="input-blurred",ee="escape-pressed",ne=(function(D){R(L,D);var I=y(L);function L(re){var te,ce=re.alwaysRenderSuggestions;return v(this,L),te=I.call(this),O(w(te),"onDocumentMouseDown",function(be){te.justClickedOnSuggestionsContainer=!1;for(var Ie=be.detail&&be.detail.target||be.target;Ie!==null&&Ie!==document;){if(Ie.getAttribute&&Ie.getAttribute("data-suggestion-index")!==null)return;if(Ie===te.suggestionsContainer){te.justClickedOnSuggestionsContainer=!0;return}Ie=Ie.parentNode}}),O(w(te),"storeAutowhateverRef",function(be){be!==null&&(te.autowhatever=be)}),O(w(te),"onSuggestionMouseEnter",function(be,Ie){var je=Ie.sectionIndex,z=Ie.itemIndex;te.updateHighlightedSuggestion(je,z),be.target===te.pressedSuggestion&&(te.justSelectedSuggestion=!0),te.justMouseEntered=!0,setTimeout(function(){te.justMouseEntered=!1})}),O(w(te),"highlightFirstSuggestion",function(){te.updateHighlightedSuggestion(te.props.multiSection?0:null,0)}),O(w(te),"onDocumentMouseUp",function(){te.pressedSuggestion&&!te.justSelectedSuggestion&&te.input.focus(),te.pressedSuggestion=null}),O(w(te),"onSuggestionMouseDown",function(be){te.justSelectedSuggestion||(te.justSelectedSuggestion=!0,te.pressedSuggestion=be.target)}),O(w(te),"onSuggestionsClearRequested",function(){var be=te.props.onSuggestionsClearRequested;be&&be()}),O(w(te),"onSuggestionSelected",function(be,Ie){var je=te.props,z=je.alwaysRenderSuggestions,k=je.onSuggestionSelected,q=je.onSuggestionsFetchRequested;k&&k(be,Ie);var H=te.props.shouldKeepSuggestionsOnSelect(Ie.suggestion);z||H?q({value:Ie.suggestionValue,reason:B}):te.onSuggestionsClearRequested(),te.resetHighlightedSuggestion()}),O(w(te),"onSuggestionClick",function(be){var Ie=te.props,je=Ie.alwaysRenderSuggestions,z=Ie.focusInputOnSuggestionClick,k=te.getSuggestionIndices(te.findSuggestionElement(be.target)),q=k.sectionIndex,H=k.suggestionIndex,ie=te.getSuggestion(q,H),V=te.props.getSuggestionValue(ie);te.maybeCallOnChange(be,V,"click"),te.onSuggestionSelected(be,{suggestion:ie,suggestionValue:V,suggestionIndex:H,sectionIndex:q,method:"click"});var Z=te.props.shouldKeepSuggestionsOnSelect(ie);je||Z||te.closeSuggestions(),z===!0?te.input.focus():te.onBlur(),setTimeout(function(){te.justSelectedSuggestion=!1})}),O(w(te),"onBlur",function(){var be=te.props,Ie=be.inputProps,je=be.shouldRenderSuggestions,z=Ie.value,k=Ie.onBlur,q=te.getHighlightedSuggestion(),H=je(z,K);te.setState({isFocused:!1,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!H}),k&&k(te.blurEvent,{highlightedSuggestion:q})}),O(w(te),"onSuggestionMouseLeave",function(be){te.resetHighlightedSuggestion(!1),te.justSelectedSuggestion&&be.target===te.pressedSuggestion&&(te.justSelectedSuggestion=!1)}),O(w(te),"onSuggestionTouchStart",function(){te.justSelectedSuggestion=!0}),O(w(te),"onSuggestionTouchMove",function(){te.justSelectedSuggestion=!1,te.pressedSuggestion=null,te.input.focus()}),O(w(te),"itemProps",function(be){var Ie=be.sectionIndex,je=be.itemIndex;return{"data-section-index":Ie,"data-suggestion-index":je,onMouseEnter:te.onSuggestionMouseEnter,onMouseLeave:te.onSuggestionMouseLeave,onMouseDown:te.onSuggestionMouseDown,onTouchStart:te.onSuggestionTouchStart,onTouchMove:te.onSuggestionTouchMove,onClick:te.onSuggestionClick}}),O(w(te),"renderSuggestionsContainer",function(be){var Ie=be.containerProps,je=be.children,z=te.props.renderSuggestionsContainer;return z({containerProps:Ie,children:je,query:te.getQuery()})}),te.state={isFocused:!1,isCollapsed:!ce,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null},te.justPressedUpDown=!1,te.justMouseEntered=!1,te.pressedSuggestion=null,te}return m(L,[{key:"componentDidMount",value:function(){document.addEventListener("mousedown",this.onDocumentMouseDown),document.addEventListener("mouseup",this.onDocumentMouseUp),this.input=this.autowhatever.input,this.suggestionsContainer=this.autowhatever.itemsContainer}},{key:"UNSAFE_componentWillReceiveProps",value:function(te){var ce=this.state.highlightedSuggestionIndex===0&&this.props.highlightFirstSuggestion&&!te.highlightFirstSuggestion;(0,n.default)(te.suggestions,this.props.suggestions)?te.highlightFirstSuggestion&&te.suggestions.length>0&&this.justPressedUpDown===!1&&this.justMouseEntered===!1?this.highlightFirstSuggestion():ce&&this.resetHighlightedSuggestion():this.willRenderSuggestions(te,$)?(this.state.isCollapsed&&!this.justSelectedSuggestion&&this.revealSuggestions(),ce&&this.resetHighlightedSuggestion()):this.resetHighlightedSuggestion()}},{key:"componentDidUpdate",value:function(te,ce){var be=this.props,Ie=be.suggestions,je=be.onSuggestionHighlighted,z=be.highlightFirstSuggestion;if(!(0,n.default)(Ie,te.suggestions)&&Ie.length>0&&z){this.highlightFirstSuggestion();return}if(je){var k=this.getHighlightedSuggestion(),q=ce.highlightedSuggestion;k!=q&&je({suggestion:k})}}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mousedown",this.onDocumentMouseDown),document.removeEventListener("mouseup",this.onDocumentMouseUp)}},{key:"updateHighlightedSuggestion",value:function(te,ce,be){var Ie=this;this.setState(function(je){var z=je.valueBeforeUpDown;return ce===null?z=null:z===null&&typeof be<"u"&&(z=be),{highlightedSectionIndex:te,highlightedSuggestionIndex:ce,highlightedSuggestion:ce===null?null:Ie.getSuggestion(te,ce),valueBeforeUpDown:z}})}},{key:"resetHighlightedSuggestion",value:function(){var te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;this.setState(function(ce){var be=ce.valueBeforeUpDown;return{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:te?null:be}})}},{key:"revealSuggestions",value:function(){this.setState({isCollapsed:!1})}},{key:"closeSuggestions",value:function(){this.setState({highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!0})}},{key:"getSuggestion",value:function(te,ce){var be=this.props,Ie=be.suggestions,je=be.multiSection,z=be.getSectionSuggestions;return je?z(Ie[te])[ce]:Ie[ce]}},{key:"getHighlightedSuggestion",value:function(){var te=this.state,ce=te.highlightedSectionIndex,be=te.highlightedSuggestionIndex;return be===null?null:this.getSuggestion(ce,be)}},{key:"getSuggestionValueByIndex",value:function(te,ce){var be=this.props.getSuggestionValue;return be(this.getSuggestion(te,ce))}},{key:"getSuggestionIndices",value:function(te){var ce=te.getAttribute("data-section-index"),be=te.getAttribute("data-suggestion-index");return{sectionIndex:typeof ce=="string"?parseInt(ce,10):null,suggestionIndex:parseInt(be,10)}}},{key:"findSuggestionElement",value:function(te){var ce=te;do{if(ce.getAttribute&&ce.getAttribute("data-suggestion-index")!==null)return ce;ce=ce.parentNode}while(ce!==null);throw console.error("Clicked element:",te),new Error("Couldn't find suggestion element")}},{key:"maybeCallOnChange",value:function(te,ce,be){var Ie=this.props.inputProps,je=Ie.value,z=Ie.onChange;ce!==je&&z(te,{newValue:ce,method:be})}},{key:"willRenderSuggestions",value:function(te,ce){var be=te.suggestions,Ie=te.inputProps,je=te.shouldRenderSuggestions,z=Ie.value;return be.length>0&&je(z,ce)}},{key:"getQuery",value:function(){var te=this.props.inputProps,ce=te.value,be=this.state.valueBeforeUpDown;return(be===null?ce:be).trim()}},{key:"render",value:function(){var te=this,ce=this.props,be=ce.suggestions,Ie=ce.renderInputComponent,je=ce.onSuggestionsFetchRequested,z=ce.renderSuggestion,k=ce.inputProps,q=ce.multiSection,H=ce.renderSectionTitle,ie=ce.id,V=ce.getSectionSuggestions,Z=ce.theme,me=ce.getSuggestionValue,fe=ce.alwaysRenderSuggestions,Re=ce.highlightFirstSuggestion,Se=ce.containerProps,Oe=this.state,Me=Oe.isFocused,de=Oe.isCollapsed,Ee=Oe.highlightedSectionIndex,_e=Oe.highlightedSuggestionIndex,xe=Oe.valueBeforeUpDown,ke=fe?_:this.props.shouldRenderSuggestions,Le=k.value,He=k.onFocus,_t=k.onKeyDown,jt=this.willRenderSuggestions(this.props,"render"),Lt=fe||Me&&!de&&jt,Qe=Lt?be:[],bt=h({},k,{onFocus:function(yt){if(!te.justSelectedSuggestion&&!te.justClickedOnSuggestionsContainer){var at=ke(Le,Y);te.setState({isFocused:!0,isCollapsed:!at}),He&&He(yt),at&&je({value:Le,reason:Y})}},onBlur:function(yt){if(te.justClickedOnSuggestionsContainer){te.input.focus();return}te.blurEvent=yt,te.justSelectedSuggestion||(te.onBlur(),te.onSuggestionsClearRequested())},onChange:function(yt){var at=yt.target.value,$t=ke(at,Q);te.maybeCallOnChange(yt,at,"type"),te.suggestionsContainer&&(te.suggestionsContainer.scrollTop=0),te.setState(h({},Re?{}:{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null},{valueBeforeUpDown:null,isCollapsed:!$t})),$t?je({value:at,reason:Q}):te.onSuggestionsClearRequested()},onKeyDown:function(yt,at){var $t=yt.keyCode;switch($t){case 40:case 38:if(de)ke(Le,U)&&(je({value:Le,reason:U}),te.revealSuggestions(),yt.preventDefault());else if(be.length>0){var xt=at.newHighlightedSectionIndex,Ce=at.newHighlightedItemIndex,Ze;Ce===null?Ze=xe===null?Le:xe:Ze=te.getSuggestionValueByIndex(xt,Ce),te.updateHighlightedSuggestion(xt,Ce,Le),te.maybeCallOnChange(yt,Ze,$t===40?"down":"up"),yt.preventDefault()}te.justPressedUpDown=!0,setTimeout(function(){te.justPressedUpDown=!1});break;case 13:{if(yt.keyCode===229)break;var ut=te.getHighlightedSuggestion();if(Lt&&!fe&&te.closeSuggestions(),ut!=null){yt.preventDefault();var Tt=me(ut);te.maybeCallOnChange(yt,Tt,"enter"),te.onSuggestionSelected(yt,{suggestion:ut,suggestionValue:Tt,suggestionIndex:_e,sectionIndex:Ee,method:"enter"}),te.justSelectedSuggestion=!0,setTimeout(function(){te.justSelectedSuggestion=!1})}break}case 27:{Lt&&yt.preventDefault();var Pt=Lt&&!fe;if(xe===null){if(!Pt){var rr="";te.maybeCallOnChange(yt,rr,"escape"),ke(rr,ee)?je({value:rr,reason:ee}):te.onSuggestionsClearRequested()}}else te.maybeCallOnChange(yt,xe,"escape");Pt?(te.onSuggestionsClearRequested(),te.closeSuggestions()):te.resetHighlightedSuggestion();break}}_t&&_t(yt)}}),mt={query:this.getQuery()};return t.default.createElement(i.default,{multiSection:q,items:Qe,renderInputComponent:Ie,renderItemsContainer:this.renderSuggestionsContainer,renderItem:z,renderItemData:mt,renderSectionTitle:H,getSectionItems:V,highlightedSectionIndex:Ee,highlightedItemIndex:_e,containerProps:Se,inputProps:bt,itemProps:this.itemProps,theme:(0,a.mapToAutowhateverTheme)(Z),id:ie,ref:this.storeAutowhateverRef})}}]),L})(t.Component);e.default=ne,O(ne,"propTypes",{suggestions:r.default.array.isRequired,onSuggestionsFetchRequested:function(I,L){var re=I[L];if(typeof re!="function")throw new Error("'onSuggestionsFetchRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsFetchRequestedProp")},onSuggestionsClearRequested:function(I,L){var re=I[L];if(I.alwaysRenderSuggestions===!1&&typeof re!="function")throw new Error("'onSuggestionsClearRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsClearRequestedProp")},shouldKeepSuggestionsOnSelect:r.default.func,onSuggestionSelected:r.default.func,onSuggestionHighlighted:r.default.func,renderInputComponent:r.default.func,renderSuggestionsContainer:r.default.func,getSuggestionValue:r.default.func.isRequired,renderSuggestion:r.default.func.isRequired,inputProps:function(I,L){var re=I[L];if(!re)throw new Error("'inputProps' must be passed.");if(!Object.prototype.hasOwnProperty.call(re,"value"))throw new Error("'inputProps' must have 'value'.");if(!Object.prototype.hasOwnProperty.call(re,"onChange"))throw new Error("'inputProps' must have 'onChange'.")},shouldRenderSuggestions:r.default.func,alwaysRenderSuggestions:r.default.bool,multiSection:r.default.bool,renderSectionTitle:function(I,L){var re=I[L];if(I.multiSection===!0&&typeof re!="function")throw new Error("'renderSectionTitle' must be implemented. See: https://github.com/moroshko/react-autosuggest#renderSectionTitleProp")},getSectionSuggestions:function(I,L){var re=I[L];if(I.multiSection===!0&&typeof re!="function")throw new Error("'getSectionSuggestions' must be implemented. See: https://github.com/moroshko/react-autosuggest#getSectionSuggestionsProp")},focusInputOnSuggestionClick:r.default.bool,highlightFirstSuggestion:r.default.bool,theme:r.default.object,id:r.default.string,containerProps:r.default.object}),O(ne,"defaultProps",{renderSuggestionsContainer:N,shouldRenderSuggestions:P,alwaysRenderSuggestions:!1,multiSection:!1,shouldKeepSuggestionsOnSelect:function(){return!1},focusInputOnSuggestionClick:!0,highlightFirstSuggestion:!1,theme:a.defaultTheme,id:"1",containerProps:{}})})(YO)),YO}var nI,HZ;function D2e(){return HZ||(HZ=1,nI=P2e().default),nI}var k2e=D2e();const N2e=jn(k2e);function L2e(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",d:"M14.053 14.879a6.28 6.28 0 0 1-3.834 1.294C6.784 16.173 4 13.448 4 10.086S6.784 4 10.219 4c3.434 0 6.218 2.725 6.218 6.086 0 1.59-.622 3.037-1.641 4.12l5.056 4.95a.487.487 0 0 1 0 .699.513.513 0 0 1-.715 0zm1.384-4.793C15.437 7.297 13.121 5 10.22 5S5 7.297 5 10.086s2.316 5.087 5.219 5.087c2.902 0 5.218-2.298 5.218-5.087"})})}const M2e="_inputWithoutHighlight_1gh2d_1",$2e="_suggestionsContainerOpen_1gh2d_5",F2e="_sectionContainer_1gh2d_12",j2e="_suggestionHighlighted_1gh2d_15",U2e="_clearButton_1gh2d_18",q2e="_inputWithLeftIcon_1gh2d_21",V2e="_inputWithRightIcon_1gh2d_24",B2e="_inputWithTwoRightIcons_1gh2d_27",H2e="_iconContainer_1gh2d_30",z2e="_leftIconContainer_1gh2d_35",W2e="_rightIconContainer_1gh2d_38",rs={inputWithoutHighlight:M2e,suggestionsContainerOpen:$2e,sectionContainer:F2e,suggestionHighlighted:j2e,clearButton:U2e,inputWithLeftIcon:q2e,inputWithRightIcon:V2e,inputWithTwoRightIcons:B2e,iconContainer:H2e,leftIconContainer:z2e,rightIconContainer:W2e};function G2e(e,t,r,n,i){let a="form-control text-truncate";return r||(a+=` ${rs.inputWithoutHighlight}`),e==="left"&&(a+=` ${rs.inputWithLeftIcon}`),(e==="right"&&!t||e==="left"&&t||t)&&(a+=` ${rs.inputWithRightIcon}`),e==="right"&&t&&(a+=` ${rs.inputWithTwoRightIcons}`),i==="lg"&&(a+=" form-control-lg"),i==="sm"&&(a+=" form-control-sm"),n&&(a+=` ${n}`),a}function zZ(e){const t="d-inline-block svg-container";return gi.isFunction(e)?t+" cursor-pointer":t}function Y2e(e){const{onClickSearchIcon:t,searchIconPlacement:r,showClearInputIcon:n,onClickClearInput:i,highlightOnFocus:a,className:o,formSize:u,...s}=e,c=()=>j.jsx("div",{className:"d-inline-block",children:j.jsx(Ri,{svg:L2e,size:Zs.Standard,onClick:t,className:zZ(t)})}),d=()=>j.jsx("button",{className:`d-inline-block text-secondary ${rs.clearButton}`,onMouseUp:i,children:j.jsx(Ri,{svg:Ay,size:Zs.Standard,className:zZ(i)})});return j.jsxs("div",{className:`position-relative ${rs.inputContainer}`,children:[r==="left"&&j.jsx("div",{className:`${rs.iconContainer} ${rs.leftIconContainer}`,children:j.jsx(c,{})}),j.jsx("input",{className:G2e(r,n,a,o,u),...s}),(r==="right"||!!n)&&j.jsxs("div",{className:`${rs.iconContainer} ${rs.rightIconContainer}`,children:[!!n&&j.jsx(d,{}),r==="right"&&j.jsx(c,{})]})]})}const Dy={isNumber(e){return Dy.isType(e,"number")},isString(e){return Dy.isType(e,"string")},isType(e,t){return typeof e===t}};function Ud(e,t){return{recent:t,local:e,remote:[],generic:[]}}function lN(e,t){return Ui.isObject(e)&&e.hasOwnProperty(t)&&Dy.isString(e[t])}function K2e(e,t,r,n){const i=e.trim().toLowerCase();return i.length<n?[]:t.filter(a=>!lN(a,r)||!Dy.isString(a[r])?!1:a[r].trim().toLowerCase().includes(i))}function X2e(e,t,r,n,i,a){const o=gi.isFunction(e)&&e(t);if(o){if(a){DI({resource:o,type:fn.POST,success:r,error:n,headers:i,data:a(t)});return}DI({resource:o,type:fn.GET,success:r,error:n,headers:i})}}function Cd(e,t){e({...Ud([],[]),generic:[{type:t,generic:!0}]})}function WZ(e,t,r){const n=gi.isFunction(t.formatRemoteSuggestions)?t.formatRemoteSuggestions(e):e;if(!n.length&&t.getEmptyStateComponent){Cd(r,"empty");return}r(i=>({...i,remote:n,generic:[]}))}function iI(e,t,r){return({value:n,reason:i})=>{var o;if((((o=e.allowableSuggestionFetchRequestedReasons)==null?void 0:o.includes(i))??!0)&&(n.length||r(),!(n.length<e.activationLength))){if(e.local){const u=gi.isFunction(e.getLocalSuggestions)?e.getLocalSuggestions(n,e.local):K2e(n,e.local,e.valueKey,e.activationLength);if(!u.length&&e.getEmptyStateComponent){Cd(t,"empty");return}t(s=>({...s,local:u,generic:[]}))}if(typeof e.handleFetchSuggestions=="function"){e.replacePreviousRemoteSuggestions?t(u=>({...Ud([],[]),remote:u.remote})):Cd(t,"loading"),e.handleFetchSuggestions(n,u=>WZ(u,e,t),()=>Cd(t,"errored"));return}e.getRemoteUrl&&(e.replacePreviousRemoteSuggestions?t(u=>({...Ud([],[]),remote:u.remote})):Cd(t,"loading"),X2e(e.getRemoteUrl,n,u=>WZ(u,e,t),()=>{Cd(t,"errored")},e.requestHeaders,e.getRemotePostBody))}}}function Q2e(e,t){return lN(t,e)?t[e]:""}function J2e(e,t){return lN(t,e)?j.jsx(j.Fragment,{children:t[e]}):j.jsx(j.Fragment,{})}function Z2e(e){function t(r){r.stopPropagation()}return j.jsx("div",{className:`d-flex justify-content-center cursor-default ${e??""}`,onClick:t,children:j.jsx(Wp,{as:"span",animation:"border",role:"status"})})}function e4e(e,t,r,n,i,a){const o=v=>{const g=e[v];return g?g.map(m=>({...m,suggestionType:v})):[]},u=o("recent"),s=o("local"),c=o("remote"),d=o("generic");if(d.length)return[{data:d,suggestionType:"generic"}];if(gi.isFunction(n))return n([...s,...c,...u]);const h=[];return s!=null&&s.length&&h.push({title:t,data:oI(s,aI("local",i)),suggestionType:"local"}),c!=null&&c.length&&h.push({title:t,data:oI(c,aI("remote",i)),suggestionType:"remote"}),u!=null&&u.length&&h.push({title:r,data:oI(u,aI("recent",i)),suggestionType:"recent"}),typeof a=="function"?a(h):h}function aI(e,t){return typeof t=="number"||typeof t=="boolean"?t:t[e]||!1}function oI(e,t){return typeof t=="boolean"||e.length<=t?e:e.slice(0,t)}function t4e(e){return e.data}function r4e(e,t){if(e.title)return j.jsx("div",{className:`pb-1 ${t??""}`,children:j.jsx("strong",{children:e.title})})}function n4e(e){return{container:"position-relative",suggestionsContainerOpen:`bg-white py-1 border rounded ${rs.suggestionsContainerOpen}`,suggestionsList:"list-unstyled m-0",suggestion:`${e?"":"cursor-pointer"} py-1 px-2`,suggestionHighlighted:e?"":rs.suggestionHighlighted,sectionContainer:`border-bottom py-1 ${rs.sectionContainer}`}}function i4e(e,t){const r=typeof e=="function"?e(t):e,n=n4e(t);return Object.assign(n,r)}function a4e(e,t,r,n,i){he.useEffect(()=>{!e||e.current||(e.current={resetQuery:t,setQuery:r,focusInput:n,blurInput:i})},[e==null?void 0:e.current])}function o4e(e){const[t,r]=ba("lite:search:bar:focus",{focus:!1});return he.useEffect(()=>{!t.focus||!(e!=null&&e.current)||(e.current.focus(),r({focus:!1}))},[t.focus]),{focusSearchBar:()=>r({focus:!0}),shouldFocus:t.focus}}const GZ="shared.searchBar",Gu=gi.isFunction;function s4e(e){return e.renderAsForm?j.jsx("form",{onSubmit:e.onSubmit,children:e.children}):j.jsx("div",{className:"w-100",children:e.children})}rue.defaultProps={valueKey:"name",activationLength:3,suggestionLimit:5,recentSearches:[],initialLocalSuggestions:[],searchIconPlacement:"right",renderAsForm:!0,onSuggestionDependencies:[],shouldUpdateQueryOnSelection:!0,focusInputOnSuggestionClick:!0,resetQueryOnEscape:!0};function rue(e){const t=Ud(e.initialLocalSuggestions,e.recentSearches),[r,n]=he.useState(e.initialQuery||""),[i,a]=he.useState(t),o=he.useMemo(()=>e4e(i,e.suggestionsHeading,e.recentSearchHeading||gr.getPhrase(GZ,"recentSearchesHeading"),e.getSections,e.suggestionLimit,e.transformSections),[i]);he.useEffect(()=>{Ui.isEqual(t,i)||r&&r.length>=(e==null?void 0:e.activationLength)||a(t)},[t]),he.useEffect(()=>{typeof e.onSuggestionUpdated=="function"&&e.onSuggestionUpdated(o)},[o]);const u=he.useRef(null),s=he.useRef(!1);o4e(u);const[c,d]=he.useState(e.initialQuery||""),[h,v]=he.useState("none"),g=ts(fa.XS);he.useEffect(()=>{!e.resetSuggestionsOnNoActivation||!r||r.length>=e.activationLength||m()},[r]),he.useEffect(()=>{if(r.length)return;const ee=Ud(e.initialLocalSuggestions,e.recentSearches);a(ee)},[e.initialLocalSuggestions,e.recentSearches]),he.useEffect(()=>{const ee=e.initialQuery||"";r!==ee&&(n(ee),d(ee))},[e.initialQuery]),he.useEffect(()=>{!u.current||!e.autoFocusInput||u.current.focus()},[e.autoFocusInput]);const m=()=>{const ee=Ud(e.initialLocalSuggestions,e.recentSearches);a(ee)},y=()=>{n(""),d("")},S=()=>{var ee;(ee=u.current)==null||ee.focus()},w=()=>{var ee;(ee=u.current)==null||ee.blur()};a4e(e.controlsRef,y,n,S,w);const b=(ee,{newValue:ne,method:D})=>{D==="type"&&d(ne),!(D==="escape"&&(v("none"),!(e!=null&&e.resetQueryOnEscape)))&&(["up","down"].includes(D)||(n(ne),Gu(e.onQueryChange)&&e.onQueryChange(ne)))},A=()=>{v("none")},R=ee=>{ee.preventDefault(),Gu(e.onSubmit)&&e.onSubmit(r,u.current),e.clearQueryOnSelect&&y()},x=ee=>{if(ee.key==="Backspace"&&e.onBackspace&&!r){e.onBackspace();return}if(ee.key==="ArrowUp"||ee.key==="ArrowDown"){s.current=!0;return}},O=()=>{y(),e.resetSuggestionsOnClear&&m(),Gu(e.onClickClearInput)&&e.onClickClearInput()},_=({suggestion:ee})=>{if(h==="none"&&!ee)return;s.current&&e.onArrowKeyUpOrDown&&(s.current=!1,e.onArrowKeyUpOrDown()),v(ee?"suggestion":"custom")};function P(ee){return Gu(e.shouldUpdateQueryOnSelection)?e.shouldUpdateQueryOnSelection(ee):e.shouldUpdateQueryOnSelection}const N=he.useMemo(()=>e.debounceTime?gi.debounce(iI(e,a,m),e.debounceTime):iI(e,a,m),[e.debounceTime,...e.onSuggestionDependencies]);function U(ee){return Gu(e.renderSectionTitle)?e.renderSectionTitle(ee,e.sectionTitleClassName):r4e(ee,e.sectionTitleClassName)}function $(){return Gu(e.renderSuggestionsOnInputFocus)?e.renderSuggestionsOnInputFocus(r):e.renderSuggestionsOnInputFocus}function B(){e.onBlur&&e.onBlur(r)}function Y(){e.onFocus&&e.onFocus(r)}function Q(ee){ee!==null&&!u.current&&(u.current=ee.input)}function K(){return typeof e.alwaysRenderSuggestions=="boolean"?e.alwaysRenderSuggestions:e.alwaysRenderSuggestionsWhenFocused&&r.length>=e.activationLength?document.activeElement===u.current:!1}return j.jsx(s4e,{onSubmit:R,renderAsForm:!!e.renderAsForm,children:j.jsx(N2e,{ref:Q,suggestions:o,onSuggestionsFetchRequested:N,onSuggestionHighlighted:_,onSuggestionsClearRequested:()=>{K()||m()},onSuggestionSelected:(ee,{suggestion:ne})=>{ne.generic||(e.clearQueryOnSelect&&y(),e.onSuggestionSelected(ne,u.current,ee))},getSuggestionValue:ee=>P(ee)?Q2e(e.valueKey,ee):r,renderSuggestion:(ee,ne)=>{if(ee.generic){if(ee.type==="empty")return r.length>=e.activationLength&&Gu(e.getEmptyStateComponent)?e.getEmptyStateComponent(r):j.jsx(j.Fragment,{});if(ee.type==="errored"&&Gu(e.getErrorStateComponent)){const D=iI(e,a,m),I=()=>D({value:r,reason:"input-changed"});return e.getErrorStateComponent(I)}if(ee.type==="loading")return Z2e(e.loadingComponentClassName)}return Gu(e.getSuggestionComponent)?e.getSuggestionComponent(ee,ne):J2e(e.valueKey,ee)},renderSuggestionsContainer:ee=>{const{ref:ne,...D}=ee.containerProps;if(!e.customScrollbarProps){const I={suggestions:i,query:r,isDropdownOpen:!!ee.children};return j.jsxs("div",{ref:ne,...D,onMouseOut:A,children:[ee.children,e.getCreateComponent&&e.getCreateComponent({userInput:c,isActive:h==="custom",resetQuery:y,resetSuggestions:m,...I}),e.getFooterComponent&&e.getFooterComponent(I)]})}return j.jsx(s2e,{ref:ne,...e.customScrollbarProps,...D,children:ee.children})},alwaysRenderSuggestions:K(),focusInputOnSuggestionClick:!g&&e.focusInputOnSuggestionClick,inputProps:{id:e.id,name:e.id,"aria-errormessage":`${e.id}Error`,"aria-label":e.label,placeholder:e.placeholder||gr.getPhrase(GZ,"placeholder"),value:r,onChange:b,onKeyDown:x,autoFocus:!!e.autoFocusInput,highlightOnFocus:e.highlightInputOnFocus,onClickSearchIcon:!!e.submitOnClickSearchIcon&&R,searchIconPlacement:e.searchIconPlacement,showClearInputIcon:!!e.showClearInputIcon&&!!r.length,onClickClearInput:O,formSize:e.size,onBlur:B,onFocus:Y,disabled:e.disabled},renderInputComponent:Y2e,theme:i4e(e.theme,!!i.generic.length),multiSection:!0,renderSectionTitle:U,getSectionSuggestions:t4e,...e.renderSuggestionsOnInputFocus?{shouldRenderSuggestions:$}:{}})})}var nue=(e=>(e.Integrations="4407268725529",e.Classrooms="4405362551833",e.MakeInteractive="4405370510873",e.EditSsoAccounts="8202605666073",e.UploadToLibraryEditor="42463303326489",e.AddFromLite="42450541662233",e.ManageSsoYearGroups="14691130889241",e.ContentReview="18525199576601",e.ContentPermissions="14692125209497",e.AccessSettings="27927466562201",e.ContentGuidelines="24133696186009",e.FoxtelFaq="24133519542169",e.ViviIntegration="23826297956377",e.AppleTvIntegration="25832373739929",e.RssFeed="32567445635097",e.ManageGroupPermissions="35407217335705",e.MarcFormatDifferences="48276917260441",e.ExportLibraries="17684275853465",e.StudentSharingGuide="50326395499417",e.Sharing="49512742828953",e))(nue||{});const u4e="shared.audienceFilterSearch",qv=gr.encloseNamespace(u4e);function l4e(e){return j.jsxs("div",{className:"pt-2 text-center",children:[j.jsx("p",{className:"m-0",children:j.jsx("strong",{children:qv("noResults",{query:e.query})})}),!!e.hasClassroomsFeature&&j.jsxs(j.Fragment,{children:[j.jsxs("span",{children:[qv("noResultsSuggestion")," "]}),j.jsx("a",{href:Iy.getLiteArticle(nue.Classrooms),target:"_blank",className:"text-info",children:qv("learnMore")})]})]})}function iue(e){function t(r){const n=dn.safeUrlConcat(e.gatewayApiUrl,"v1/search/users"),i=["user","classroom","classroom_group"];return dn.urlBuilder(n,{query:r,index:i,[`${E2e.FILTER_PARAM_PREFIX}customerId`]:e.currentUser.customerId,limit:5})}return j.jsx(rue,{onQueryChange:e.setQuery,getRemoteUrl:t,requestHeaders:{authorization:`Bearer ${e.userToken.value}`},formatRemoteSuggestions:r=>r==null?void 0:r.results,placeholder:qv(e.limitedFeatureSet||!e.hasClassroomsFeature?"placeholderLimited":"placeholder"),suggestionsHeading:qv("searchResults"),alwaysRenderSuggestions:!0,resetSuggestionsOnNoActivation:!0,onSuggestionSelected:()=>{},shouldUpdateQueryOnSelection:!1,getSuggestionComponent:r=>{var i;const n=e.isSelected(r);return j.jsx(ff,{object:r,selected:n,onToggleSelected:()=>e.onSelect({object:r,selected:!n}),imageCdnUrl:e.imageCdnUrl,hideCheckbox:e.hideCheckbox,isPinned:(i=e.isPinned)==null?void 0:i.call(e,r)})},getEmptyStateComponent:r=>j.jsx(l4e,{query:r,hasClassroomsFeature:e.hasClassroomsFeature}),theme:{container:"",suggestionsContainerOpen:"pt-2",suggestion:"",suggestionHighlighted:"",sectionContainer:""},loadingComponentClassName:"pt-2",searchIconPlacement:"left",autoFocusInput:!0,allowableSuggestionFetchRequestedReasons:["input-changed"],debounceTime:200,showClearInputIcon:!0,resetSuggestionsOnClear:!0,onClickClearInput:()=>e.setQuery("")})}const c4e="_menu_1spvf_1",f4e={menu:c4e},d4e="shared.adminAudienceFilterMenu",aue=gr.encloseNamespace(d4e),h4e=500;function _P(e,t){return e?t?e.filter(r=>t.some(n=>n.toString()===r.id.toString())):e:[]}function v4e(e){const[t,r]=or.useState([]);return or.useEffect(()=>{r(_P(t,e))},[e]),[t,r]}function p4e(e){return e.selections.length?j.jsx("ul",{className:"list-unstyled mb-2",children:e.selections.map((t,r)=>j.jsx("li",{children:j.jsx(ff,{object:t,selected:!0,onToggleSelected:()=>e.onSelect({object:t,selected:!1}),imageCdnUrl:e.imageCdnUrl})},r))}):j.jsx(j.Fragment,{})}function g4e(e){return e.selections.length?j.jsxs(j.Fragment,{children:[j.jsx("p",{className:"mb-2",children:j.jsx("strong",{children:aue("suggestions")})}),j.jsx("ul",{className:"list-unstyled m-0",children:e.selections.map((t,r)=>j.jsx("li",{children:j.jsx(ff,{object:t,selected:e.isSelected(t),onToggleSelected:n=>e.onSelect({object:t,selected:n}),imageCdnUrl:e.imageCdnUrl})},r))})]}):j.jsx(j.Fragment,{})}function m4e(e){const[t,r]=v4e(e.selectedIds),n=Qa.uniq([...e.audienceObjects??[],...t],"id"),i=_P(n,e.selectedIds),a=_P(n,e.suggestedIds),o=a.every(s),u=i.filter(g=>!c(g));function s(g){var m;return(m=e.selectedIds)!=null&&m.length?e.selectedIds.some(y=>y.toString()===g.id.toString()):!1}function c(g){var m;return(m=e.suggestedIds)!=null&&m.length?e.suggestedIds.some(y=>y.toString()===g.id.toString()):!1}function d(){e.onSelect(...a.map(g=>({object:g,selected:!0})))}function h(){e.onSelect()}function v(...g){const m=g.filter(S=>S.selected).map(S=>S.object),y=g.filter(S=>!S.selected).map(S=>S.object.id);r(S=>[...S.filter(w=>!y.includes(w.id)),...m]),e.onSelect(...g)}return j.jsx("div",{className:f4e.menu,children:j.jsx(dp.Scrollbars,{autoHeight:!0,autoHeightMax:h4e,children:j.jsxs("div",{className:"px-3",children:[j.jsx(iue,{onSelect:v,isSelected:s,gatewayApiUrl:e.gatewayApiUrl,userToken:e.userToken,imageCdnUrl:e.imageCdnUrl,currentUser:e.currentUser,hasClassroomsFeature:e.hasClassroomsFeature}),(!!i.length||!!a.length)&&j.jsxs(j.Fragment,{children:[j.jsx("button",{className:"btn btn-link text-info p-0 mt-2 mb-1",onClick:o?h:d,children:aue(o?"deselectAll":"selectAll")}),j.jsx(p4e,{selections:u,onSelect:e.onSelect,imageCdnUrl:e.imageCdnUrl}),j.jsx(g4e,{selections:a,onSelect:e.onSelect,imageCdnUrl:e.imageCdnUrl,isSelected:s})]})]})})})}const y4e="_menu_1spvf_1",_4e={menu:y4e},S4e="shared.insightsAudienceFilterMenu",ky=gr.encloseNamespace(S4e),YZ=300;function Jm(e,t){return e?t?e.filter(r=>t.some(n=>n.toString()===r.id.toString())):e:[]}function E4e(e){const[t,r]=or.useState([]);return or.useEffect(()=>{r(Jm(t,e))},[e]),[t,r]}function w4e(e){return j.jsxs(j.Fragment,{children:[j.jsx("p",{className:"mb-2 pt-2 px-3",children:j.jsx("strong",{children:ky("filteredBy")})}),j.jsx("ul",{className:"list-unstyled px-3 mb-2",children:e.selections.map((t,r)=>j.jsx("li",{children:j.jsx(ff,{object:t,selected:!0,onToggleSelected:()=>e.onSelect({object:t,selected:!1}),imageCdnUrl:e.imageCdnUrl,hideCheckbox:!0,isPinned:e.isPinned(t)})},r))})]})}function b4e(e){var t;return j.jsxs(j.Fragment,{children:[j.jsx("p",{className:"mt-2 mb-2",children:j.jsx("strong",{children:ky("suggested")})}),j.jsxs("ul",{className:"list-unstyled m-0",children:[(t=e.pinned)==null?void 0:t.map((r,n)=>j.jsx("li",{children:j.jsx(ff,{object:r,selected:e.isSelected(r),onToggleSelected:i=>e.onSelect({object:r,selected:i}),imageCdnUrl:e.imageCdnUrl,hideCheckbox:!0,isPinned:!0})},`pinned-${n}`)),e.selections.map((r,n)=>j.jsx("li",{children:j.jsx(ff,{object:r,selected:e.isSelected(r),onToggleSelected:i=>e.onSelect({object:r,selected:i}),imageCdnUrl:e.imageCdnUrl,hideCheckbox:!0})},`suggestion-${n}`))]})]})}function T4e(e){const[t,r]=E4e(e.selectedIds),n=Qa.uniq([...e.audienceObjects??[],...t],"id"),i=Jm(n,e.selectedIds),a=Jm(n,e.suggestedIds),o=e.pinnedIds?Jm(n,e.pinnedIds):[],[u,s]=or.useState("");function c(y){var S;return(S=e.selectedIds)!=null&&S.length?e.selectedIds.some(w=>w.toString()===y.id.toString()):!1}function d(y){var S;return(S=e.pinnedIds)!=null&&S.length?e.pinnedIds.some(w=>w.toString()===y.id.toString()):!1}function h(){e.onSelect()}function v(...y){const S=y.filter(b=>b.selected).map(b=>b.object),w=y.filter(b=>!b.selected).map(b=>b.object.id);r(b=>[...b.filter(A=>!w.includes(A.id)),...S]),e.onSelect(...y)}const g=a.filter(y=>!c(y)),m=o.filter(y=>!c(y));return j.jsxs("div",{className:_4e.menu,children:[j.jsx(dp.Scrollbars,{autoHeight:!0,autoHeightMax:YZ,children:j.jsxs("div",{className:"p-3",children:[j.jsx(iue,{onSelect:v,isSelected:c,isPinned:d,gatewayApiUrl:e.gatewayApiUrl,userToken:e.userToken,imageCdnUrl:e.imageCdnUrl,currentUser:e.currentUser,limitedFeatureSet:e.limitedFeatureSet,hasClassroomsFeature:e.hasClassroomsFeature,setQuery:s,hideCheckbox:!0}),u.length<3&&(!!g.length||!!m.length)&&j.jsx(b4e,{selections:g,pinned:m,onSelect:e.onSelect,imageCdnUrl:e.imageCdnUrl,isSelected:c})]})}),!!i.length&&j.jsxs("div",{className:`${a.length?"border-top":""} pb-2`,children:[j.jsx(dp.Scrollbars,{autoHeight:!0,autoHeightMax:YZ,children:j.jsx(w4e,{selections:i,onSelect:e.onSelect,imageCdnUrl:e.imageCdnUrl,deselectAll:h,isPinned:d})}),j.jsxs("div",{className:"d-flex justify-content-between pb-1",children:[j.jsx("button",{className:"btn btn-link p-0 text-secondary px-3",onClick:h,children:ky("reset")}),j.jsx("button",{className:"btn btn-link p-0 text-info px-3",onClick:e.onClickApply,children:ky("apply")})]})]})]})}const R4e="_menu_1spvf_1",x4e={menu:R4e},C4e="shared.teacherAudienceFilterMenu",A4e=gr.encloseNamespace(C4e),O4e=500;function I4e(e){function t(a){var o;return(o=e.selectedIds)!=null&&o.length?e.selectedIds.some(u=>u==a.id):!1}function r(){e.onSelect(...e.classrooms.map(a=>({object:a,selected:!0})))}function n(){e.onSelect()}const i=e.classrooms.every(t);return j.jsxs("div",{className:x4e.menu,children:[j.jsx("div",{className:"px-3",children:j.jsx("button",{className:"btn btn-link text-info p-0 mb-1",onClick:i?n:r,children:A4e(i?"deselectAll":"selectAll")})}),j.jsx(dp.Scrollbars,{autoHeight:!0,autoHeightMax:O4e,children:j.jsx("div",{className:"px-3",children:j.jsx("ul",{className:"list-unstyled mb-0",children:e.classrooms.map((a,o)=>j.jsx("li",{children:j.jsx(ff,{object:a,selected:t(a),onToggleSelected:u=>e.onSelect({object:a,selected:u}),imageCdnUrl:e.imageCdnUrl})},o))})})})]})}function KZ(e){const t=Qa.chunk(e??[],25),r=Gbe(t.map(i=>Wi.getById(i)));return{users:Qa.flatten(r.data),isLoading:!r.hasCompleted,usersResponse:r}}F_.Ok;function P4e(e,t,r){function n(o){if(o)return gi.isFunction(t)?[...t(o)]:[...o.data]}function i(o){var u,s;if(o)return(s=(u=o.pagination)==null?void 0:u.cursors)==null?void 0:s.next}function a(o){if(o)return o==null?void 0:o.count}return Y_(he.useMemo(()=>o=>{if(!gi.isFunction(e))return;const u=e,s=gi.isFunction(e)&&u();let c=s&&py(o,s),d=c&&c.isFetching,h=c&&c.statusCode,v=c&&c.hasCompleted;const g=v,m=c&&c.shouldFetch,y=n(c&&c.data);let S=i(c&&c.data);const w=a(c&&c.data);for(;S&&(c=py(o,u(S)),d=d||c.isFetching,h=c.statusCode,v=c.hasCompleted,!c.shouldFetch);){const A=n(c.data);A&&y.push(...A);const R=i(c.data);R===S?S=null:S=R}const b={shouldInitialFetch:m,items:y,nextCursor:S,isFetching:d,statusCode:h,hasCompleted:v,hasFirstPageCompleted:g};return typeof w=="number"&&(b.totalItems=w),b},[e]))}function oue(e,t){const r=e,n=t,i=P4e(e&&(a=>r(a).key));return he.useEffect(()=>{i&&i.shouldInitialFetch&&t&&n()},[i==null?void 0:i.shouldInitialFetch,t]),he.useEffect(()=>{!i||!i.nextCursor||i.isFetching||!t||n(i.nextCursor)},[i==null?void 0:i.nextCursor,i==null?void 0:i.isFetching,t]),i}var sue=(e=>(e[e.Unclassified=0]="Unclassified",e[e.Primary=1]="Primary",e[e.Secondary=2]="Secondary",e[e.K12=3]="K12",e[e.Tertiary=4]="Tertiary",e[e.NonEducational=5]="NonEducational",e[e.Partners=6]="Partners",e[e.Internal=7]="Internal",e[e.Other=8]="Other",e[e.ClickView=254]="ClickView",e[e.System=255]="System",e))(sue||{});function cN(){var r,n;const e=Ii(Wi.currentUser());return((n=Ii(!!((r=e.data)!=null&&r.isAuthenticated)&&mae.customer(e.data.customerId)).data)==null?void 0:n.customerType)===sue.Tertiary}const D4e="reports.audienceFilter",mu=gr.encloseNamespace(D4e);function k4e(){var c,d;const[e]=ba(mo.AUDIENCE_QUERY_PARAMS,{}),[t]=ba(mo.AUDIENCE_FILTER_SUGGESTIONS,{}),{users:r}=KZ(e.users),{users:n}=KZ(t.users),i=Ii(((c=e.classrooms)==null?void 0:c.length)&&uf.getClassroomsById(e.classrooms)),a=Ii(((d=e.classroomGroups)==null?void 0:d.length)&&uf.getClassroomGroupsById(e.classroomGroups)),o=Qa.uniq([...r??[],...n??[]],"id"),u=i.data??[],s=a.data??[];return[...o,...u,...s]}function N4e(e,t){if(!e.length)return{users:null,classrooms:null,classroomGroups:null};let r={...t};return e.forEach(n=>{let i;switch(n.object.typeId){case zn.User:i="users";break;case zn.Classroom:i="classrooms";break;case zn.ClassroomGroup:i="classroomGroups";break}const a=n.object.id.toString();let o=r[i]??[];n.selected?o.push(a):o=o.filter(u=>u.toString()!==a),r={...r,[i]:Qa.uniq(o)}}),r}function gv(e){const t=[];return Object.keys(e).forEach(r=>{e[r]&&t.push(...e[r])}),t}function L4e(){const[e]=ba(mo.AUDIENCE_QUERY_PARAMS,{}),[t,r]=he.useState(Ui.deepClone(e));he.useEffect(()=>{Ui.isEqual(t,e)||r(Ui.deepClone(e))},[e]);function n(...i){r(N4e(i,t))}return[t,n]}function M4e(e){const[t]=ba(mo.AUDIENCE_QUERY_PARAMS,{}),[r]=ba(mo.AUDIENCE_FILTER_SELECTED_COUNT),n=Qa.uniq(t.classrooms??[]),i=Qa.uniq(t.classroomGroups??[]),a=Qa.uniq(t.users??[]),o=!!n.length&&i.length===0&&a.length===0,u=!!i.length&&n.length===0&&a.length===0,s=!!a.length&&n.length===0&&i.length===0,c=!n.length&&!i.length&&!a.length,d=o&&n.length===1,h=u&&i.length===1,v=Ii(d&&uf.classroom(n[0])),g=Ii(h&&uf.classroomGroup(i[0])),m=cN();if(c)return mu(e?m?"everyoneInstitution":"everyoneSchool":"everyone");if(d){if(!v.data)return;if(v.data.typeId===zn.Classroom)return v.data.name}if(h){if(!g.data)return;if(g.data.typeId===zn.ClassroomGroup)return g.data.name}if(o)return mu("classrooms",{smartCount:n.length});if(u)return mu("groups",{smartCount:i.length});if(s)return mu("users",{smartCount:a.length});if(typeof r=="number")return mu("users",{smartCount:r});if(!e)return;const y=[];n.length&&y.push(mu("classrooms",{smartCount:n.length})),i.length&&y.push(mu("groups",{smartCount:i.length})),a.length&&y.push(mu("users",{smartCount:a.length}));const S=y.pop();return`${y.join(", ")} ${mu("and")} ${S}`}function $4e(){const e=Nf(),{hasPermissions:t}=yc(),n=!t(Na.ViewCustomerAnalytics);function i(o){return uf.userClassrooms(o)}function a(o){Q_(e)(i(o))}return oue(n&&i,a)}const F4e="_toggle_1any3_1",j4e={toggle:F4e};function U4e(e){const[t]=ba(mo.AUDIENCE_QUERY_PARAMS,{}),[r,n]=L4e(),[i]=ba(mo.AUDIENCE_FILTER_SUGGESTIONS,{}),{hasPermissions:a}=yc(),{hasClassrooms:o,hasShareFlowV2:u}=Zp(null),s=a(Na.ViewCustomerAnalytics),c=u&&a(Na.ViewMyShares),d=k4e(),h=$4e(),v=Ii(of.config()),g=Ii(s&&Wi.token()),m=Ii(s&&Wi.currentUser()),y=M4e(c),[S,w]=or.useState(!1);function b(){R(),w(!1)}function A(P){w(P),!P&&R()}function R(){var P,N,U;jv.updateParams(Ui.deepClone(r),{merge:!0}),wa.logUserAction({users:((P=r==null?void 0:r.users)==null?void 0:P.length)??0,classrooms:((N=r==null?void 0:r.classrooms)==null?void 0:N.length)??0,classroomGroups:((U=r==null?void 0:r.classroomGroups)==null?void 0:U.length)??0},{actionType:Bt.Filter,descriptor:ck.Audience,location:ka.AudienceFilter,entity:xn.Filter})}function x(){var P;return s?!1:!((P=h.items)!=null&&P.length)}const O=s?!!v.data&&!!g.data&&!!m.data:!!v.data&&h.hasCompleted;if(x())return j.jsx(j.Fragment,{});const _=u&&Object.values(t).some(P=>Array.isArray(P)&&P.length>0);return j.jsxs(Zi,{className:e.className??"",onToggle:A,show:S,children:[j.jsx(Zi.Toggle,{id:"audience-filter-toggle",variant:"outline-dark",className:`no-caret ${j4e.toggle} ${_?"bg-dark text-white":""}`,children:y}),j.jsx(Zi.Menu,{className:c?"py-0":"py-2",align:"end",children:c?j.jsx(T4e,{gatewayApiUrl:v.data.gatewayApiUrl,userToken:g.data,audienceObjects:d,selectedIds:gv(r),suggestedIds:gv(i),onSelect:n,imageCdnUrl:v.data.imageCdnUrl,currentUser:m.data,hasClassroomsFeature:o,onClickApply:b}):j.jsxs(j.Fragment,{children:[s&&O&&j.jsx(m4e,{gatewayApiUrl:v.data.gatewayApiUrl,userToken:g.data,audienceObjects:d,selectedIds:gv(r),suggestedIds:gv(i),onSelect:n,imageCdnUrl:v.data.imageCdnUrl,currentUser:m.data,hasClassroomsFeature:o}),!s&&O&&j.jsx(I4e,{classrooms:h.items,selectedIds:gv(r),onSelect:n,imageCdnUrl:v.data.imageCdnUrl})]})})]})}var SP=(e=>(e.Screenrights="screenrights",e.Era="era",e.ClickView="clickview",e))(SP||{}),Jl=(e=>(e[e.Draft=0]="Draft",e[e.Published=1]="Published",e[e.Archived=2]="Archived",e[e.Pending=3]="Pending",e[e.Rejected=4]="Rejected",e[e.Processing=5]="Processing",e))(Jl||{}),$o=(e=>(e.Custom="custom",e.User="year_group",e))($o||{});const ea={VIDEO_COLLECTION:"(videoCollection)",SERIES:"tallposter,_rating,banner",CLASSIFICATION_COLLECTION:"banner,cover,tallPoster",CLASSIFICATION:e=>`banner,cover,tallPoster,thumbnail,followers{id:${e}},pinnedVideos[count()]{limit:0},playlists[count()]{limit:0},series[count()]{limit:0},tags{tagType:curation}`,VIDEO:"channel,series,season,_rating,producers,glance,distributors,owner,subjectPresentationAudiences,resources[thumbnail,pdf],tags,productionCompanies,directors,links,thumbnail,_canUpdate,_videoProgress,_canBeConsumed,categories[libraries],libraries,_canAddToLibrary,_restrictions,_canDownload,_isClickViewCurated,contentLicences,_canCreateChild",PLAYLIST:"cover,banner,owner,followers[count()]{limit:0}",PLAYLIST_COLLECTION:"videos[count()]{limit:0},interactives[count()]{limit:0},clips[count()]{limit:0},cover",CLIP:"(clip)",CLIP_COLLECTION:"(clipCollection)",INTERACTIVE:"(interactive)",INTERACTIVE_COLLECTION:"(interactiveCollection)",LIBRARY_COLLECTION:"owner[logo]",LIBRARY:"owner[logo],categorytree"},q4e={CLASSIFICATION:"banner,cover,tallPoster,pinnedVideos[count()]{limit:0},playlists[count()]{limit:0},series[count()]{limit:0},tags{tagType:curation}",CLASSIFICATION_COLLECTION:"banner,cover,tallPoster",VIDEO:"series,season,_rating,producers,glance,distributors,subjectPresentationAudiences,resources[thumbnail,pdf],tags,productionCompanies,directors,links,thumbnail,interactives[thumbnail,_canBeConsumed,_isClickViewCurated],clips[_canBeConsumed,_isClickViewCurated,_thumbnail],_canBeConsumed,_isClickViewCurated,categories,libraries",VIDEO_COLLECTION:"thumbnail,_rating,series,season,subjectPresentationAudiences,subtitles{limit:1},_canBeConsumed"};var Zd=(e=>(e[e.FilterOut=0]="FilterOut",e[e.StripMetadata=1]="StripMetadata",e))(Zd||{});const XZ={clip(e,t){return{key:`clip:${e}:${t}`,url:dn.urlBuilder(`{gateway}/v1/objects/${e}`,{query:ea.CLIP,permissionFilterOption:t})}},videoClips(e,t,r){return{key:`video:${e}:clips:${t}:${r}`,url:dn.urlBuilder(`{gateway}/v1/objects/${e}/clips`,{query:ea.CLIP_COLLECTION,permissionFilterOption:t,cursor:r})}},clipWithAllInteractives(e,t){return{key:`clip:${e}:${t}:interactives`,url:dn.urlBuilder(`{gateway}/v1/objects/${e}`,{query:`${ea.CLIP},interactives{status:[0,1]}`,permissionFilterOption:t}),normalize:!1}},publicClip(e,t,r,n){return{key:`clip:${e}:public:${t}`,url:dn.urlBuilder(`/api/objects/${e}`,{query:"_parentVideo,_canBeConsumed,_thumbnail",permissionFilterOption:Zd.StripMetadata,shareId:t}),bootstrapName:`shared:object:${e}`,success:r,error:n}},sharedClip(e,t,r,n){return{key:`shared:clip:${e}`,url:dn.urlBuilder(`/api/objects/${e}`,{shareId:t,query:ea.CLIP}),success:r,error:n}},createClip(e,t,r,n,i){return{key:"create:clip",url:`{gateway}/v1/objects/${e}/clips`,data:t,type:fn.POST,invalidationKeys:[`videos:${e}`,"my:videos"],success:r,error:n,always:i}},updateClip(e,t,r,n,i){return{key:"update:clip",url:`{gateway}/v1/objects/${e}`,data:t,type:fn.PUT,invalidationKeys:[`clip:${e}`],success:r,error:n,always:i}},deleteClip(e,t,r,n,i){return{key:"delete:clip",url:`{gateway}/v1/objects/${e}`,type:fn.DELETE,invalidationKeys:[`videos:${t}`,"my:videos","videos"],success:r,error:n,always:i}}},QZ={interactiveMetadata(e,t){return{url:dn.urlBuilder(`{gateway}/v1/objects/${e}`,{query:ea.INTERACTIVE,permissionFilterOption:t}),key:`interactive:metadata:${e}:${t}`}},videoInteractives(e,t,r){return{key:`video:${e}:interactives:${t}:${r}`,url:dn.urlBuilder(`{gateway}/v1/objects/${e}/interactives`,{query:ea.INTERACTIVE_COLLECTION,cursor:r}),publicUrl:dn.urlBuilder(`/api/objects/${e}/interactives`,{query:ea.INTERACTIVE_COLLECTION,cursor:r})}},sharedInteractiveMetadata(e,t,r,n){return{url:dn.urlBuilder(`/api/objects/${e}`,{shareId:t,query:ea.INTERACTIVE}),key:`shared:interactive:metadata:${e}`,success:r,error:n}},publicInteractiveMetadata(e,t,r,n){return{url:dn.urlBuilder(`/api/objects/${e}`,{query:"_parentVideo[_rating],_canBeConsumed,_thumbnail",permissionFilterOption:Zd.StripMetadata,shareId:t}),key:`interactive:metadata:${e}:public:${t}`,bootstrapName:`shared:object:${e}`,success:r,error:n}},interactive(e){return{url:`/api/domain/v1/interactives/${e}`,key:`interactive:${e}`,normalize:!1}},createInteractive(e,t,r){return{url:"/api/domain/v1/interactives",key:"create:interactive",type:fn.POST,invalidationKeys:["my:videos"],data:e,success:t,error:r}},createInteractiveMetadata(e,t,r,n){return{url:`{gateway}/v1/objects/${e}/interactives`,key:"create:interactive:metadata",type:fn.POST,data:t,success:r,error:n}},updateInteractive(e,t,r,n){return{url:`/api/domain/v1/interactives/${e}`,key:"update:interactive",type:fn.PUT,data:t,success:r,error:n,formatData:()=>t,invalidationKeys:[`interactive:${e}`]}},updateInteractiveMetadata(e,t,r,n){return{url:`{gateway}/v1/objects/${e}`,key:"update:interactive:metadata",type:fn.PUT,data:t,success:r,error:n}},interactiveResultSet(e,t){return{url:`/api/domain/v1/analytics/interactives/${e}/metadata/${t}`,key:`interactive:result:set:${e}:${t}`}},copyInteractive(e,t,r){return{url:`/api/domain/v1/interactives/${e}/copy`,key:"copy:interactive",type:fn.POST,invalidationKeys:[`interactive:${e}`,"my:videos"],success:t,error:r}},deleteInteractiveMetadata(e,t,r){return{url:`{gateway}/v1/objects/${e}`,key:"delete:interactive",type:fn.DELETE,invalidationKeys:[`interactive:${e}`,"my:videos","videos"],success:t,error:r}},removeInteractiveMetadata({libraryId:e,categoryId:t,interactiveMetadataId:r}){return{url:dn.urlBuilder(`/api/domain/v1/libraries/${e}/videos`,{categoryId:t,videoIds:r}),key:`remove:interactive:metadata:${r}`,type:fn.DELETE,invalidationKeys:[`interactive:${r}`,"my:videos","videos"]}},contributeToCommunity(e){return{url:`/api/domain/v2/interactives/${e}/contribute`,key:"contribute:interactive",type:fn.POST}},revokefromCommunity(e){return{url:`/api/domain/v2/interactives/${e}/contribute`,key:"contribute:interactive",type:fn.DELETE}},isContributed(e){return{url:`/api/domain/v2/interactives/${e}/contributed`,key:`iscontributed:${e}`,normalize:!1}},updateInteraction(e){return{url:`/api/domain/v1/interactions/bulk/${e.id}`,key:"contribute:interactive",data:e,type:fn.PUT,invalidationKeys:[`interactive:${e.interactiveId}`]}}};var uue=(e=>(e.Series="series",e.Playlist="playlist",e.Widget="widget",e.Folder="category",e.CategoryTree="categoryTree",e))(uue||{}),Ks=(e=>(e.Newest="newest",e.Oldest="oldest",e.RecentlyAdded="recently_added",e.AtoZ="atoz",e.ZtoA="ztoa",e.Series="series",e.ProductionYear="production_year",e))(Ks||{});const V4e=(e,t)=>`${t?`${t}:`:""}video:sort:${e}`,B4e=Ks.RecentlyAdded,H4e={getValidSortTypeFromParam(e){return Object.values(Ks).includes(e)?e:Ks.Newest},getOrSetSortType(e,t,r,n){const i=V4e(e,n);return(t||!da.cacheExists(i))&&da.cacheSet(i,t||r||B4e),t||(t=da.cacheGet(i)),t},getVideoSortParam(e){switch(e){case Ks.AtoZ:return"orderby:name";case Ks.ZtoA:return"orderbydesc:name";case Ks.Newest:return"orderbydesc:datecreated";case Ks.Oldest:return"orderby:datecreated";case Ks.RecentlyAdded:return"orderbydesc:timestamp";case Ks.Series:return"orderby:seriessort";case Ks.ProductionYear:return"orderbydesc:productionyear";default:return}}},mv={sharedVideo:(e,t)=>dn.urlBuilder(`/api/objects/${e}`,{shareId:t,query:ea.VIDEO}),publicVideo:(e,t)=>dn.urlBuilder(`/api/objects/${e}`,{query:"thumbnail,_canBeConsumed,series,season,_rating,libraries{typeId:[17]}",permissionFilterOption:Zd.StripMetadata,shareId:t}),getVideosById:e=>dn.urlBuilder("{gateway}/v1/objects",{"query.video":ea.VIDEO_COLLECTION,"query.clip":ea.CLIP_COLLECTION,"query.interactive":ea.INTERACTIVE_COLLECTION,id:e}),relatedVideos:e=>{const{videoId:t,context:r,collectionId:n,moviesAndTv:i,limit:a}=e,o={videoId:t,limit:a,query:ea.VIDEO_COLLECTION};return r&&(r===uue.Widget?o["context.widgetId"]=n:(o["context.collectionType"]=r,o["context.collectionId"]=n)),i&&(o["context.moviesAndTv"]=!0),dn.urlBuilder("{gateway}/v1/suggestions/related-videos",o)}},JZ={video(e,t){return{url:dn.urlBuilder(`{gateway}/v1/objects/${e}`,{query:ea.VIDEO,permissionFilterOption:t}),publicUrl:dn.urlBuilder(`/api/objects/${e}`,{query:q4e.VIDEO,permissionFilterOption:t}),key:`videos:${e}:${t}`}},publicVideo(e,t,r,n){return{url:mv.publicVideo(e,t),key:`videos:${e}:public:${t}`,bootstrapName:`shared:object:${e}`,success:r,error:n}},sharedVideo(e,t,r,n){return{url:mv.sharedVideo(e,t),key:`shared:video:${e}`,success:r,error:n}},myVideos(e,t){const{VIDEO_COLLECTION:r,CLIP_COLLECTION:n,INTERACTIVE:i}=ea,a=`videos[${r}]{libraries.typeid:${zn.WorkspaceCollection}}`,o=`clips[${n}]`,u=`interactives[${i}]{status:[${Jl.Published},${Jl.Draft}]}`,s={query:`(${a}|${o}|${u}){orderbydesc:id}`,permissionFilterOption:Zd.StripMetadata};return t&&(s.cursor=t),{url:dn.urlBuilder(`{gateway}/v1/objects/${e}/members`,s),key:`my:videos:${t}`}},videos(e,t){return{url:mv.getVideosById(e),key:`videos:by:id:${e.join(",")}`,success:t}},watchHistoryVideos(e,t){return{url:mv.getVideosById(e),key:`watch:history:videos:by:id:${e.join(",")}`,success:t}},updateVideo(e,t,r,n,i){return{key:`update:video:${e}`,url:`{gateway}/v1/objects/${e}`,type:fn.PUT,data:t,success:r,error:n,always:i}},videoRatings(e,t){const r=e.map(n=>`id=${n}`);if(r.length)return{url:`/api/domain/v2/objects?query=rating&${r.join("&")}`,key:`video:ratings:by:id:${e.join(",")}`,normalizeOptions:{namespace:t}}},videoMixinAssocs(e,t){if(e.map(n=>`id=${n}`).length)return{url:dn.urlBuilder("{gateway}/v1/objects",{query:"interactives{limit:100},resources{limit:100},links{limit:100},_hasCurriculumLinks",id:e}),publicUrl:dn.urlBuilder("/api/objects",{query:"interactives{limit:100},resources{limit:100},links{limit:100},_hasCurriculumLinks",id:e}),key:`video:mixin:assocs:${e.join(",")}`,normalizeOptions:{namespace:t}}},getRestrictions(e){const t=e.slice().sort();return{url:`/api/domain/v1/restrictedobjects?objectTypeId=${zn.Video}${t.map(r=>`&objectId=${r}`).join("")}`,key:`restrictions:${t.join(",")}`,normalizeOptions:{namespace:"domain",idAttribute:"objectId"}}},delete(e,t,r){return{url:`{gateway}/v1/objects/${e}`,key:`delete:video:${e}`,type:fn.DELETE,success:t,error:r,invalidationKeys:["videos","search"]}},deleteBulk(e,t,r,n,i){const a=e.map(u=>`videoIds=${u}`).join("&"),o=[`categoryId=${r}`,`${a}`].join("&");return{url:`/api/domain/v1/libraries/${t}/videos?${o}`,key:`delete:bulk:video:${e.join(":")}:${t}:${r}`,type:fn.DELETE,success:n,error:i,invalidationKeys:["videos","search"]}},relatedVideos(e){const{videoId:t,context:r,collectionId:n,moviesAndTv:i}=e;return{url:mv.relatedVideos(e),key:`related:videos:${t}:${r}:${n}:${i}`}},collectionVideos(e,t,r,n,i,a){const o=H4e.getVideoSortParam(t),{VIDEO_COLLECTION:u,CLIP_COLLECTION:s,INTERACTIVE:c}=ea,d=`videos[${u}]`,h=`clips[${s}]`,v=`interactives[${c}]{status:[${Jl.Published},${Jl.Draft}]}`,g={query:`(${d}|${h}|${v})${o?`{${o}}`:""}`,permissionFilterOption:Zd.FilterOut,...r?{cursor:r}:{}},m=["folder","videos",e,r,t].filter(y=>!!y).join(":");return{url:dn.urlBuilder(`{gateway}/v1/objects/${e}/members`,g),key:m,success:n,error:i,always:a}},pointsOfInterest(e,t,r,n,i){const a={query:"{limit:100}",cursor:t};return{url:dn.urlBuilder(`{gateway}/v1/objects/${e}/pointsofinterest`,a),publicUrl:dn.urlBuilder(`/api/objects/${e}/pointsofinterest`,a),key:`pointsofinterest:${e}${t?`:${t}`:""}`,success:r,error:n,always:i}},regionAlternatives(e,t,r,n){return{url:`/api/objects/videos/${e}/region-alternatives`,publicUrl:`/api/objects/videos/${e}/region-alternatives`,key:`video:regionAlternatives:${e}`,normalize:!1,success:t,error:r,always:n}}},z4e="_minHeight_t8ykr_1",W4e="_restrictionBadgeCustom_t8ykr_4",G4e="_restrictionBadgeUser_t8ykr_8",Y4e="_streamable_t8ykr_12",ZZ={minHeight:z4e,restrictionBadgeCustom:W4e,restrictionBadgeUser:G4e,streamable:Y4e};function lue(e){return j.jsx("svg",{...e,children:j.jsx("path",{d:"M9.006 10h6.028c.006-.32.01-.641.002-.974-.016-.663-.077-1.28-.243-1.808-.164-.52-.424-.934-.83-1.223-.407-.292-1.015-.495-1.943-.495s-1.536.203-1.944.495c-.405.29-.665.703-.83 1.223-.166.528-.227 1.145-.242 1.808-.008.333-.004.655.002.974m7.028 0H17a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1h1.006c-.006-.33-.01-.67-.002-.997.016-.696.08-1.424.289-2.085.21-.67.576-1.29 1.202-1.737.623-.445 1.453-.681 2.525-.681s1.902.236 2.525.681c.626.447.99 1.068 1.202 1.737.208.661.272 1.389.288 2.085.008.326.005.667 0 .997m-1.014 1H7v8h10v-8h-1.98",fill:"currentColor"})})}function K4e(e){return j.jsxs("svg",{...e,children:[j.jsx("defs",{children:j.jsx("path",{id:"a",d:"M12 19.059A7.059 7.059 0 1 0 12 4.94a7.059 7.059 0 0 0 0 14.118M12 4a8 8 0 1 1 0 16 8 8 0 0 1 0-16m-.229 2.743a.457.457 0 0 0-.457.457v5.486c0 .147.071.286.191.372l3.174 2.27a.457.457 0 1 0 .532-.744l-2.982-2.133V7.2a.457.457 0 0 0-.458-.457",fill:"currentColor"})}),j.jsxs("g",{fill:"none",fillRule:"evenodd",children:[j.jsx("mask",{id:"b",fill:"#fff",children:j.jsx("use",{href:"#a"})}),j.jsx("use",{fill:"#000",fillRule:"nonzero",href:"#a"}),j.jsx("g",{fill:"#383838",mask:"url(#b)",children:j.jsx("path",{d:"M0 0h24v24H0z",fill:"currentColor"})})]})]})}const X4e="shared.shared-utils",yv=gr.encloseNamespace(X4e),Q4e={[$o.Custom]:ZZ.restrictionBadgeCustom,[$o.User]:ZZ.restrictionBadgeUser},J4e={[$o.Custom]:K4e,[$o.User]:lue},Z4e={[$o.Custom]:"restrictionCustom",[$o.User]:"restrictionYearGroup"},eee={[$o.Custom]:200,[$o.User]:100},zl={mapRestrictionToClass(e){var r;if(!((r=e==null?void 0:e.value)!=null&&r.length))return"";const t=zl.getWeightedRestriction(e.value);return Q4e[t.type]},mapRestrictionToSvg(e){var r;if(!((r=e==null?void 0:e.value)!=null&&r.length))return lue;const t=zl.getWeightedRestriction(e.value);return J4e[t.type]},mapRestrictionToText(e,t){var a;if(!((a=e==null?void 0:e.value)!=null&&a.length)||!(t!=null&&t.length))return"";const r=zl.getWeightedRestriction(e.value),n=t.find(o=>o.value===r.yearGroup),i=Z4e[r.type];if(r.type===$o.User)return r.yearGroup===null?yv("restrictionStaff"):n?t.length===1?yv("restrictionStudents"):yv(i,{yearGroup:n.name}):"";if(r.type===$o.Custom){const o=zl.getRestrictionDuration(r);return o?yv(i,{duration:o,smartCount:o}):yv("restrictionCustomLessThanDay",{duration:o,smartCount:1})}return""},getWeightedRestriction(e,t="highest"){if(e!=null&&e.length)return e.length===1?e[0]:e.reduce((r,n)=>{const i=eee[r.type],a=eee[n.type];return t==="highest"&&i>a||t==="lowest"&&i<a?r:n})},getRestrictionByType(e,t){if(!zl.hasRestrictions(e))return null;const r=Array.isArray(t)?t:[t],n=e._restrictions.value.filter(i=>r.includes(i.type));return zl.getWeightedRestriction(n)},getRestrictionDuration(e){if(e.type!==$o.Custom||!e.expiresOn)return;const t=Cn.convertUTCToLocal(e.expiresOn);if(t)return Cn.diffBetween(t,new Date,"day")},hasCustomRestriction(e){return!!zl.getRestrictionByType(e,[$o.Custom])},hasRestrictions(e){var t,r;return!!((r=(t=e==null?void 0:e._restrictions)==null?void 0:t.value)!=null&&r.length)}},eUe="shared.shared-utils",Oa=gr.encloseNamespace(eUe),un={isVideo(e){return(e==null?void 0:e.typeId)===zn.Video},isClip(e){return(e==null?void 0:e.typeId)===zn.Clip},isInteractive(e){return(e==null?void 0:e.typeId)===zn.Interactive},isVideoTypeArchived(e){return(e==null?void 0:e.status)===Jl.Archived},isVideoType(e){return un.isVideo(e)||un.isInteractive(e)||un.isClip(e)},hasSeries(e){var t;return!!((t=e==null?void 0:e.series)!=null&&t.id)},showVideoGuidance(e){return!e(Na.StudentExperience)},showInteractivesGuidance(e){var r,n;return!e||un.isInteractive(e)?!1:!!(((n=(r=e.interactives)==null?void 0:r.data)==null?void 0:n.length)||0)},showResourcesGuidance(e){var r,n,i,a;return!e||un.isInteractive(e)?!1:!!((((n=(r=e.resources)==null?void 0:r.data)==null?void 0:n.length)||0)+(((a=(i=e.links)==null?void 0:i.data)==null?void 0:a.length)||0))},getVideoProgress(e){var t,r;return e!=null&&e.lastProgressPoint?e==null?void 0:e.lastProgressPoint:(t=e==null?void 0:e._videoProgress)!=null&&t.progress?(r=e==null?void 0:e._videoProgress)==null?void 0:r.progress:0},getThumbnail(e){var t,r,n;if(!e)return null;if(un.isVideo(e))return e.thumbnail;if(e!=null&&e._thumbnail)return e._thumbnail;if(un.isClip(e))return e.thumbnail||((t=e._parentVideo)==null?void 0:t.thumbnail);if(un.isInteractive(e))return((r=e._parentVideo)==null?void 0:r.thumbnail)||((n=e._parentClip)==null?void 0:n.thumbnail)},getDuration(e){var t,r;if(e){if(un.isVideo(e))return e.duration;if(un.isInteractive(e)){if((t=e._parentClip)!=null&&t.id)return(e._parentClip.endTime-e._parentClip.startTime)*1e3;if((r=e._parentVideo)!=null&&r.duration)return e._parentVideo.duration}if(un.isClip(e))return(e.endTime-e.startTime)*1e3}},getAnalyticsEntity(e){if(un.isVideo(e))return xn.Video;if(un.isInteractive(e))return xn.Interactive;if(un.isClip(e))return xn.Clip},getAnalyticsData(e,t={}){var n,i,a,o,u,s;if(un.isVideo(e))return{...t||{},id:e.id,name:e.name};if(un.isClip(e)){const c={...t||{},id:e.id,name:e.name};return(n=e._parentVideo)!=null&&n.id&&(c.video={id:(i=e._parentVideo)==null?void 0:i.id,name:e._parentVideo.name}),c}const r={...t,id:e.id,interactiveId:e.interactiveId,name:e.name,status:e.status,originType:e.originType};return(a=e==null?void 0:e._parentClip)!=null&&a.id&&(r.clip={id:(o=e==null?void 0:e._parentClip)==null?void 0:o.id,name:e==null?void 0:e._parentClip.name}),(u=e==null?void 0:e._parentVideo)!=null&&u.id&&(r.video={id:(s=e==null?void 0:e._parentVideo)==null?void 0:s.id,name:e==null?void 0:e._parentVideo.name}),r},getCanBeConsumed(e){var t,r;return!e||!un.isVideoType(e)?{canNavigate:!1,canConsume:!1}:e._canBeConsumed?{canNavigate:((t=e._canBeConsumed)==null?void 0:t.reason)==="login-required"&&un.isVideo(e)||e._canBeConsumed.value===!0,canConsume:e._canBeConsumed.value,reason:(r=e._canBeConsumed)==null?void 0:r.reason}:{canNavigate:!0,canConsume:!0}},getPrivacyReasoning(e,t=!1){var u;const{canConsume:r,canNavigate:n,reason:i}=un.getCanBeConsumed(e),a=()=>un.isClip(e)?Oa("clipParentDeleted"):un.isInteractive(e)?Oa("interactiveParentDeleted"):Oa("videoDeleted"),o=()=>un.isClip(e)?Oa("clipLoginRequired"):un.isInteractive(e)?Oa("interactiveLoginRequired"):Oa("videoLoginRequired");if(!r&&!n){if(t)return o();switch(i){case"rating-not-allowed":return Oa("ratingNotAllowed");case"video-deleted":return a();case"clickview-private":return Oa("clickViewPrivate");case"private":return Oa("genericCannotAccess");case"login-required":return o();case"restricted-access":{const s=zl.getWeightedRestriction((u=e._restrictions)==null?void 0:u.value);return(s==null?void 0:s.type)===$o.Custom?Oa("awaitingApproval"):Oa("restrictedAccess")}default:return Oa("genericCannotAccess")}}return un.isInteractive(e)&&e.status===Jl.Draft?Oa("draftInteractive"):""},getTitle(e){if(e.name)return un.isInteractive(e)&&e.status===Jl.Draft?Oa("draftInteractiveTitle",{name:e.name}):e.name;const{canConsume:t,reason:r}=un.getCanBeConsumed(e);return Oa(!t&&r==="private"?"privateVideo":!t&&r==="video-deleted"?"videoUnavailable":"privateVideo")},getParentVideo(e){if(un.isVideo(e))return e;if(un.isClip(e)||un.isInteractive(e))return e._parentVideo},getRating(e){var t,r,n;return un.isVideo(e)?((t=e._rating)==null?void 0:t.value)||e.rating:(n=(r=e==null?void 0:e._parentVideo)==null?void 0:r._rating)==null?void 0:n.value},getVideoRequest(e,t,r){if(r){switch(t){case zn.Video:return JZ.sharedVideo(e,r);case zn.Clip:return XZ.sharedClip(e,r);case zn.Interactive:return QZ.sharedInteractiveMetadata(e,r)}vr.throw(new On("Unsupported master type"))}switch(t){case zn.Video:return JZ.video(e);case zn.Clip:return XZ.clip(e);case zn.Interactive:return QZ.interactiveMetadata(e)}vr.throw(new On("Unsupported master type"))},isBroadcast(e){var t,r;return!!((r=(t=e==null?void 0:e.contentLicences)==null?void 0:t.data)!=null&&r.some(n=>n.systemName===SP.Era||n.systemName===SP.Screenrights))},getReleaseDate(e){return e&&e.dateReleased&&un.isBroadcast(e)?Cn.format(e.dateReleased,"DD/MM/YYYY"):""},canViewOriginalVideo(e){var t,r;return!!((r=(t=e==null?void 0:e._parentVideo)==null?void 0:t._canBeConsumed)!=null&&r.value)},getTrackingCode(e){if(un.isVideo(e))return e.trackingCode;if(un.isClip(e)||un.isInteractive(e))return e._parentVideo.trackingCode},isInExchange(e){var t,r;return!!((r=(t=e==null?void 0:e.libraries)==null?void 0:t.data)!=null&&r.some(n=>n.typeId===zn.ExchangeCollection))},canViewUploadDate(e){return!(!e||!e.dateCreated||!e._isClickViewCurated||e._isClickViewCurated.value)}};function Xl(e,t){return Object.keys(t).map(r=>({application:e,action:t[r]}))}function z5e(e,t){if(un.isVideo(e))return{application:dr.VIDEOS,action:Jr.Videos.OVERVIEW,args:[e.id],params:t};if(un.isInteractive(e))return{application:dr.INTERACTIVES,action:Jr.Interactives.OVERVIEW,args:[e.id],params:t};if(un.isClip(e))return{application:dr.CLIPS,action:Jr.Clips.OVERVIEW,args:[e.id],params:t}}function W5e(e,t){if(un.isVideo(e))return{application:dr.VIDEOS,action:Jr.Videos.VIDEO_VIEWS,args:[e.id],params:t};if(un.isInteractive(e))return{application:dr.VIDEOS,action:Jr.Videos.INTERACTIVE_VIEWS,args:[e.id],params:t};if(un.isClip(e))return{application:dr.VIDEOS,action:Jr.Videos.CLIP_VIEWS,args:[e.id],params:t}}const tUe=[Jr.Default.SHARE,Jr.Default.GENERATE_REPORT],rUe=[...Xl(dr.DEFAULT,Jr.Default).filter(e=>!tUe.includes(e.action))];function nUe(){const e=Kn.getCurrentAppLink();return!rUe.some(t=>t.application===e.application&&t.action===e.action)}const iUe={signOut:{application:dr.DEFAULT,action:Jr.Default.LOG_OUT}},aUe="_container_7vmq3_1",oUe="_title_7vmq3_4",tee={container:aUe,title:oUe};function sUe(e){const[t]=ba(mo.HEADER_TITLE),[r]=ba(mo.DATE_RANGE_QUERY_PARAMS,{}),[n]=ba(mo.HEADER_ACTIONS,[]),i=nUe();let a="navbar w-100 pt-3 pe-0 d-flex justify-content-between";return e.className&&(a+=` ${e.className}`),j.jsx("nav",{className:a,children:j.jsxs("div",{className:`${tee.container} px-3 mb-3 ${e.containerFluid?"container-fluid":"container"}`,children:[j.jsx("div",{className:tee.title,children:!!t&&j.jsx("h1",{className:"mb-1",children:t})}),i&&j.jsxs(j.Fragment,{children:[j.jsx(U4e,{className:"me-2"}),j.jsx(g3e,{dateRangeQueryParams:r,dateRangePresets:Ty()})]}),j.jsx(sN,{actions:n,dropdownToggleClassName:"btn btn-outline-dark px-1 ms-2"}),j.jsx("span",{className:"ms-2",children:j.jsx(B3e,{productId:Lo.Analytics,appLinks:iUe})})]})})}var qd=(e=>(e[e.Open=0]="Open",e[e.Collapsed=1]="Collapsed",e[e.Hidden=2]="Hidden",e))(qd||{});const Sm={[fi.Thumbnails]:{width:1280,height:720},[fi.Banners]:{width:1200,height:222},[fi.Covers]:{width:512,height:512},[fi.Posters]:{width:1e3,height:1500},[fi.TallPosters]:{width:1080,height:1920},[fi.HeroBanners]:{width:1920,height:640},[fi.None]:{width:1,height:1},[fi.Avatars]:{width:256,height:256},[fi.Logos]:{width:128,height:128}},EP={onFileSelect(e,t,r,n){if(!t||!t.length)return;if(t.length>1){alert("Please only select one file");return}const i=t[0];if(!i.type.startsWith("image/")){alert("Please select an image file");return}const a=new FileReader;a.addEventListener("load",()=>EP.onReaderLoad(a,e,r,n)),a.readAsDataURL(i)},onReaderLoad(e,t,r,n){const i=new Image;i.src=e.result;const a=(n==null?void 0:n.width)??Sm[t].width,o=(n==null?void 0:n.height)??Sm[t].height;i.addEventListener("load",()=>{EP.isImageValid(t,i,n)&&gi.isFunction(r)?r(i):alert(`Image too small: minimum dimensions are ${a} x ${o}`)})},isImageValid(e,t,r){const n=(r==null?void 0:r.width)??Sm[e].width,i=(r==null?void 0:r.height)??Sm[e].height;return!(n&&t.width<n||i&&t.height<i)},mapImageTypeToString(e){switch(e){case fi.Avatars:return"avatars";case fi.Thumbnails:return"thumbnails";case fi.Logos:return"logos";case fi.Covers:return"covers";case fi.Posters:return"posters";case fi.TallPosters:return"tallposters";case fi.HeroBanners:return"herobanners";case fi.None:default:return""}}},ree={createLogo(e,t){return{key:"upload:logo",url:`api/domain/v2/objects/${e}/logo`,type:fn.POST,data:{fileId:t.id.toString(),fileIdType:t.fileIdType},invalidationKeys:["school:logo"]}},removeLogo(e,t,r,n){return{url:`/api/domain/v2/objects/${e}/logo/${t}`,key:`remove:logo:${t}`,type:fn.DELETE,success:r,error:n,invalidationKeys:["school:logo"]}},logo(e){return{key:"school:logo",url:`{gateway}/v1/objects/${e}/logo`}}};function uUe(){var s;const{setDataUrl:e,getImage:t,imageUploaded:r}=or.useContext(Yoe),n=zbe(),i=Ii(Wi.currentUser()),a=Ii(i.data&&ree.logo(i.data.customerId));or.useEffect(()=>{r&&o()},[r]);async function o(){const c=t();c&&await n(ree.createLogo(i.data.customerId,c))}function u(){Kn.trigger({application:dr.DEFAULT,action:Jr.Default.REMOVE_LOGO,params:{logoId:a.data.id,customerId:i.data.customerId}})}return{schoolLogo:(s=a.data)==null?void 0:s.url,schoolName:i.data.customerName,setDataUrl:e,deleteLogo:u}}const lUe="_uploadContainer_1a9jf_1",cUe="_logo_1a9jf_6",fUe="_actions_1a9jf_10",sI={uploadContainer:lUe,logo:cUe,actions:fUe},cue="reportsShared.schoolLogo",nee=gr.encloseNamespace(cue);function dUe(e){const{schoolLogo:t,schoolName:r,setDataUrl:n,deleteLogo:i}=uUe(),a=cN(),o=or.useRef(null),u=or.useCallback(d=>{d&&(o.current=d)},[]),s=()=>{o.current.value=null,o.current.click()};function c(d){n(d.src),Kn.trigger({application:dr.DEFAULT,action:Jr.Default.UPLOAD_IMAGE,args:[fi.Logos]})}return j.jsxs("div",{className:"d-flex flex-column align-items-center gap-2 m-3",children:[t&&j.jsxs("div",{className:`${sI.logo} ${e.isCollapsed?"w-100 h-100":""} position-relative`,children:[j.jsx("div",{className:`${sI.actions} position-absolute w-100 h-100 rounded`,children:j.jsx(sN,{actions:[{label:nee("uploadImage"),onClick:s},{label:nee("removeImage"),className:"text-danger",onClick:i}],className:`${e.isCollapsed?"w-100 h-100":""} d-flex position-absolute top-0 end-0 opacity-100`,dropdownToggleClassName:`${e.isCollapsed?"opacity-0":""} flex-grow-1 text-white bg-transparent`})}),j.jsx("img",{src:t,className:"rounded bg-white w-100 h-100"})]}),!t&&j.jsx("div",{children:j.jsxs("button",{onClick:s,className:`${sI.uploadContainer} ${e.isCollapsed?"w-fit h-fit":""} d-flex flex-column align-items-center justify-content-center rounded text-white opacity-75 opacity-100-hover`,children:[j.jsx(Ri,{svg:tue,size:Zs.Large}),!e.isCollapsed&&j.jsx("span",{className:"d-none d-lg-block",children:j.jsx(up,{namespace:cue,phrase:a?"addInstitutionCrest":"addSchoolCrest"})})]})}),r&&!e.isCollapsed&&j.jsx("p",{className:"text-white text-center fw-medium",children:r}),j.jsx("input",{type:"file",className:"file-select d-none",accept:xv.IMAGES,ref:u,onChange:d=>EP.onFileSelect(fi.Logos,d.target.files,c)})]})}const hUe="_leftNavItem_jy8ry_1",vUe="_active_jy8ry_9",iee={leftNavItem:hUe,active:vUe};function pUe(e){let t=`d-flex align-items-center mx-3 my-1 px-1 py-2 rounded ${iee.leftNavItem}`;return e.collapsed&&(t+=" justify-content-center"),e.active&&(t+=` ${iee.active}`),j.jsxs(os,{className:t,appLink:e.appLink,children:[j.jsx(Ri,{svg:e.svg,size:Zs.Large}),!e.collapsed&&j.jsx("span",{className:"ms-2",children:e.name})]})}function gUe(){return j.jsx("svg",{viewBox:"0 0 434 71",children:j.jsxs("g",{children:[j.jsx("path",{fill:"#FFFFFF",d:"M114.44 56.57l3.5 3.5a32.87 32.87 0 0 1-25.16 11.26c-19.63 0-33.62-15.54-33.62-35.16C59.16 16.55 73.16 1 92.78 1a32.31 32.31 0 0 1 24.19 10.4l-3.6 3.3a27.32 27.32 0 0 0-20.59-8.74c-16.91 0-28.39 13.5-28.39 30.21s11.48 30.21 28.39 30.21a28.08 28.08 0 0 0 21.66-9.81zM126.64 1h4.55v70.22h-4.73L126.64 1zm17.3 10.6a3.7 3.7 0 1 1 0 7.4 3.7 3.7 0 0 1 0-7.4zm-2.41 15.07h4.81v44.56h-4.81V26.67zm48 33.15l3.33 3.15a21.8 21.8 0 0 1-17.31 8.61c-12.59 0-21.76-10-21.76-22.22 0-12.22 9.17-22.22 21.76-22.22a21.84 21.84 0 0 1 16.85 8l-3.43 3.06a17.15 17.15 0 0 0-13.42-6.3c-10.09 0-16.76 8.15-16.76 17.5s6.67 17.5 16.76 17.5a17.38 17.38 0 0 0 13.98-7.08zm14.99-9.33v20.74h-4.73V1.01h4.73v47.75l20.74-19.02h6.64l-21.56 19.84L234 71.23h-7.01l-22.47-20.74z"}),j.jsx("path",{fill:"#F8981D",d:"M304.09 19.4a5.56 5.56 0 1 1 0-11.12 5.56 5.56 0 0 1 0 11.12zm-5.56 7.27h11.11v44.56h-11.11V26.67zm61.42 22.15c0 .81 0 2.42-.09 4h-31.75c.8 3.77 5.2 8.61 11.93 8.61a17.11 17.11 0 0 0 11.66-4.31l5.38 8.16a27.23 27.23 0 0 1-17 6.1c-12.92 0-22.88-9.87-22.88-22.34s9.06-22.33 21.35-22.33c11.62-.04 21.4 9.02 21.4 22.11zm-10.77-3.76c-.18-3.68-3.58-8.62-10.67-8.62-6.91 0-10.05 4.85-10.4 8.62h21.07zM385.92 71h-6.42l-19.64-44.37h13.97l9.16 23.98 9.72-23.98h8.31l9.63 23.98 9.16-23.98h13.97L414.24 71h-6.52l-10.85-23.7L385.92 71zm-120.22.35h-6L226.11 1.01h17.01l19.42 44.18 18.08-44.18h16.91L265.7 71.35zM0 1l41 35L0 71V1z"})]})})}function G5e(){return j.jsx("svg",{viewBox:"0 0 41 70",children:j.jsx("g",{children:j.jsx("path",{fill:"#F8981D",d:"M 0 0 41 35 0 70z"})})})}const mUe="_logoContainer_1fstu_1",yUe={logoContainer:mUe},_Ue={application:dr.DASHBOARD,action:Jr.Dashboard.HOME};function SUe(e){return e.isNavCollapsed?j.jsx(j.Fragment,{}):j.jsx(os,{appLink:_Ue,className:`ms-3 ${yUe.logoContainer}`,children:j.jsx(gUe,{})})}function EUe(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",fillRule:"nonzero",d:"M19 15.75a.75.75 0 0 1 .102 1.493L19 17.25H5a.75.75 0 0 1-.102-1.493L5 15.75zm0-5a.75.75 0 0 1 .102 1.493L19 12.25H5a.75.75 0 0 1-.102-1.493L5 10.75zm0-5a.75.75 0 0 1 .102 1.493L19 7.25H5a.75.75 0 0 1-.102-1.493L5 5.75z"})})}function wUe(e){return j.jsx("div",{className:"text-light",children:j.jsx(Ri,{svg:EUe,onClick:e.onClick,className:"svg-container cursor-pointer",size:Zs.Medium})})}function fue(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M14.56 10.33c-.243 0-.472.063-.672.174a1.43 1.43 0 0 0-1.2-.671c-.257 0-.5.07-.71.195a1.42 1.42 0 0 0-1.16-.614q-.226 0-.43.069v-.47h.12c.728 0 1.32-.618 1.32-1.377V4.378c0-.76-.592-1.378-1.32-1.378H7.386c-.727 0-1.32.618-1.32 1.378v3.258c0 .76.593 1.378 1.32 1.378h.12v3.266a1.5 1.5 0 0 0-.262-.217 1.38 1.38 0 0 0-1.03-.2c-.385.017-.729.192-.953.486-.235.309-.316.723-.224 1.137l.664 2.966c.379 2.474 2.228 4.326 2.307 4.404a.5.5 0 0 0 .348.144h5.682a.5.5 0 0 0 .423-.238 10.05 10.05 0 0 0 1.538-5.365L16 11.834c0-.83-.646-1.504-1.44-1.504m-5.992 9.615c-.407-.452-1.607-1.912-1.871-3.676l-.008-.038-.668-2.985c-.022-.1-.01-.186.032-.242q.066-.082.213-.095l.053-.007.062-.007a.53.53 0 0 1 .33.064.45.45 0 0 1 .192.28l.576 2.574c.048.215.22.376.43.403l.04.005a.5.5 0 0 0 .397-.128c.109-.1.17-.244.17-.395V7.317a.44.44 0 0 1 .431-.449.44.44 0 0 1 .43.449v4.945c0 .291.226.527.505.527.28 0 .506-.236.506-.527v-1.344a.44.44 0 0 1 .43-.449.44.44 0 0 1 .43.45v1.403c0 .291.226.527.505.527a.517.517 0 0 0 .505-.527v-.986a.44.44 0 0 1 .43-.449.44.44 0 0 1 .43.45v1.353c0 .292.227.528.506.528s.505-.236.505-.528v-.856a.44.44 0 0 1 .43-.45.44.44 0 0 1 .43.45v3.563a9 9 0 0 1-1.228 4.548zM7.386 7.96a.317.317 0 0 1-.31-.323V4.378c0-.178.14-.323.31-.323h3.122c.17 0 .31.145.31.323v3.258a.317.317 0 0 1-.31.323h-.12v-.642c0-.83-.647-1.504-1.44-1.504-.795 0-1.442.675-1.442 1.504v.642zM14.375 3h3.25C18.383 3 19 3.617 19 4.375v3.25C19 8.383 18.383 9 17.625 9h-3.25A1.376 1.376 0 0 1 13 7.625v-3.25C13 3.617 13.617 3 14.375 3m3.25 4.948a.323.323 0 0 0 .323-.323v-3.25a.323.323 0 0 0-.323-.323h-3.25a.323.323 0 0 0-.323.323v3.25c0 .178.145.323.323.323z",clipRule:"evenodd"})})}function due(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",d:"M20 6.818C20 5.814 19.105 5 18 5H6c-1.105 0-2 .814-2 1.818v7.727c0 1.004.895 1.818 2 1.818h3.91l-.347 1.707H8.5q-.513 0-.513.459 0 .457.513.471h7q.524-.014.524-.471 0-.459-.524-.459h-1.003l-.367-1.707H18c1.105 0 2-.814 2-1.818zm-7.625.227c.207 0 .375.204.375.455v6.363c0 .252-.168.455-.375.455h-.75c-.207 0-.375-.203-.375-.455V7.5c0-.251.168-.455.375-.455zm2.875 2.728c0-.251-.168-.455-.375-.455h-.75c-.207 0-.375.204-.375.455v4.09c0 .252.168.455.375.455h.75c.207 0 .375-.203.375-.455zm-5 1.363c0-.25-.168-.454-.375-.454h-.75c-.207 0-.375.203-.375.454v2.727c0 .252.168.455.375.455h.75c.207 0 .375-.203.375-.455zm2.824 5.227.332 1.706h-2.813l.326-1.706zM6 5.863h12c.552 0 1 .408 1 .91v7.818l-.007.106c-.057.452-.48.803-.993.803H6l-.117-.006C5.386 15.44 5 15.057 5 14.59V6.773l.007-.106c.057-.452.48-.803.993-.803"})})}function bUe(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",d:"M19.531 14.544h-2.543v-4.28l.34.155a.467.467 0 0 0 .622-.233.47.47 0 0 0-.233-.621l-5.248-2.386V5.44h1.54c.258 0 .468-.21.468-.468v-.502A.47.47 0 0 0 14.008 4H12a.47.47 0 0 0-.469.469v2.71L6.283 9.565a.469.469 0 1 0 .388.853l.342-.155v4.28H4.469a.47.47 0 0 0-.469.47v4.518c0 .26.21.469.469.469H19.53c.26 0 .469-.21.469-.469v-4.518a.47.47 0 0 0-.469-.47M7.013 19.062H4.937v-3.58h2.075zm6.025 0h-2.075v-2.074h2.075zm3.012-4.05v4.05h-2.075V16.52a.47.47 0 0 0-.469-.469h-3.012a.47.47 0 0 0-.469.469v2.544H7.95V9.837L12 7.997l4.05 1.84zm3.012 4.05h-2.075v-3.58h2.076zM12 10.062a1.977 1.977 0 0 0-1.975 1.975c0 1.089.886 1.975 1.975 1.975 1.09 0 1.975-.886 1.975-1.975 0-1.09-.886-1.975-1.975-1.975m0 3.012a1.039 1.039 0 1 1 1.037-1.037c0 .572-.465 1.037-1.037 1.037"})})}function fN(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",d:"M16.657 16.576a1 1 0 0 1 .143-1.024l.076-.094a6.292 6.292 0 1 0-2.12 1.688l.082-.04a1 1 0 0 1 .834-.022l1.473.631zm1.788 1.126c.355.83-.483 1.669-1.313 1.313l-1.848-.792a7.492 7.492 0 1 1 2.524-2.008z"})})}function hue(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.433 6.767a.444.444 0 0 0-.444.444v9.578c0 .245.199.444.444.444h13.134a.444.444 0 0 0 .445-.444V7.21a.444.444 0 0 0-.445-.444zm13.233-.99c.737 0 1.333.598 1.333 1.334v9.778c0 .736-.596 1.333-1.333 1.333H5.333A1.333 1.333 0 0 1 4 16.89V7.11c0-.736.597-1.333 1.333-1.333zM10.25 9.407a.2.2 0 0 0-.028.101v4.986a.195.195 0 0 0 .297.166l4.079-2.493a.195.195 0 0 0 0-.332l-4.08-2.493a.195.195 0 0 0-.268.065"})})}var Dn=(e=>(e.Dashboard="Dashboard",e.Interactives="Interactives",e.Logins="Logins",e.Videos="Videos",e))(Dn||{});function dN(){const[e]=ba(mo.DATE_RANGE_QUERY_PARAMS),[t]=ba(mo.AUDIENCE_QUERY_PARAMS,{});return{...e,...t}}function hN(){return dN()}function TUe(){const e=dN();return{userId:e.users,groupId:[...e.classrooms??[],...e.classroomGroups??[]],customerId:[],...gP(Ty(),e)}}function RUe(e){const t=Nf(),r=dN(),n=LCe(),i=!e&&!r.classrooms&&n!=="interactives";function a(s){return uf.userClassrooms(s)}function o(s){Q_(t)(a(s))}const u=oue(i&&a,o);if(n==="interactives")return{...gP(Ty(),r),groupId:r.classrooms};if(!(i&&!u.hasCompleted))return{groupId:r.classrooms??(u==null?void 0:u.items.map(s=>s.id))??[],customerId:[],...gP(Ty(),r)}}function Y5e(){var o;const{hasPermissions:e}=yc(),{hasShareFlowV2:t}=Zp(null),r=Ii(Wi.currentUser()),n=e(Na.ViewCustomerAnalytics),i=TUe(),a=RUe(n);return t?{...i,customerId:(o=r.data)==null?void 0:o.customerId}:n?i:a}const Zl={[Dn.Dashboard]:{application:dr.DASHBOARD,action:Jr.Dashboard.HOME},[Dn.Logins]:{application:dr.LOGINS,action:Jr.Logins.HOME},[Dn.Videos]:{application:dr.VIDEOS,action:Jr.Videos.HOME},[Dn.Interactives]:{application:dr.INTERACTIVES,action:Jr.Interactives.HOME}},xUe={[Dn.Dashboard]:{application:dr.DASHBOARD,action:Jr.Dashboard.HOME},[Dn.Interactives]:{application:dr.INTERACTIVES,action:Jr.Interactives.HOME}},vue={[Dn.Dashboard]:Xl(dr.DASHBOARD,Jr.Dashboard),[Dn.Logins]:Xl(dr.LOGINS,Jr.Logins),[Dn.Videos]:[...Xl(dr.VIDEOS,Jr.Videos),...Xl(dr.CLIPS,Jr.Clips)],[Dn.Interactives]:Xl(dr.INTERACTIVES,Jr.Interactives)},CUe={[Dn.Dashboard]:Xl(dr.DASHBOARD,Jr.Dashboard),[Dn.Interactives]:Xl(dr.INTERACTIVES,Jr.Interactives)},AUe="reportsShared.leftNav",Is=gr.encloseNamespace(AUe);function il(e,t){return{...e,params:t}}function vN(e){var i;const[t,r]=he.useState(null),n=(i=pc.getCurrentRoute())==null?void 0:i.appLink;return he.useEffect(()=>{let a=null;Object.keys(e).find(o=>{if(a)return;if(e[o].find(s=>s.application===n.application&&s.action===n.action)){a=Dn[o];return}}),r(a)},[n]),t}function OUe(e){const t=hN(),r=vN(vue);return[{name:Is("dashboard"),appLink:il(Zl[Dn.Dashboard],t),svg:Oy,collapsed:e,active:r===Dn.Dashboard},{name:Is("logins"),appLink:il(Zl[Dn.Logins],t),svg:due,collapsed:e,active:r===Dn.Logins},{name:Is("videos"),appLink:il(Zl[Dn.Videos],t),svg:hue,collapsed:e,active:r===Dn.Videos},{name:Is("interactives"),appLink:il(Zl[Dn.Interactives],t),svg:fue,collapsed:e,active:r===Dn.Interactives},{name:Is("giveFeedback"),appLink:{application:dr.DEFAULT,action:Jr.Default.GIVE_FEEDBACK},svg:fN}]}function IUe(e){const t=hN(),r=vN(vue),n=cN();return[{name:Is(n?"institutionAnalytics":"schoolAnalytics"),appLink:il(Zl[Dn.Dashboard],t),svg:bUe,collapsed:e,active:r===Dn.Dashboard},{name:Is("logins"),appLink:il(Zl[Dn.Logins],t),svg:due,collapsed:e,active:r===Dn.Logins},{name:Is("videoViews"),appLink:il(Zl[Dn.Videos],t),svg:hue,collapsed:e,active:r===Dn.Videos},{name:Is("giveFeedback"),appLink:{application:dr.DEFAULT,action:Jr.Default.GIVE_FEEDBACK},svg:fN}]}function PUe(e){const t=hN(),r=vN(CUe);return[{name:Is("dashboard"),appLink:il(xUe[Dn.Dashboard],t),svg:Oy,collapsed:e,active:r===Dn.Dashboard},{name:Is("interactives"),appLink:il(Zl[Dn.Interactives],t),svg:fue,collapsed:e,active:r===Dn.Interactives},{name:Is("giveFeedback"),appLink:{application:dr.DEFAULT,action:Jr.Default.GIVE_FEEDBACK},svg:fN}]}function DUe(e){const{hasPermissions:t}=yc(),{hasShareFlowV2:r}=Zp(null),n=t(Na.ViewMyShares)&&r,i=OUe(e),a=PUe(e),o=IUe(e);return n?o:t(Na.ViewCustomerAnalytics)?i:a}const kUe="_leftNav_4h9jo_1",NUe="_headerHidden_4h9jo_10",LUe="_leftNavCollapsed_4h9jo_13",MUe="_toggleLogoContainer_4h9jo_16",Em={leftNav:kUe,headerHidden:NUe,leftNavCollapsed:LUe,toggleLogoContainer:MUe},$Ue="reportsShared.leftNav",FUe=gr.encloseNamespace($Ue);function jUe(e){const{hasShareFlowV2:t}=Zp(null),r=e.navState===qd.Collapsed,n=DUe(r),{hasPermissions:i,isLoaded:a}=yc();let o=`${Em.leftNav} py-3 d-flex flex-column`;if(r&&(o+=` ${Em.leftNavCollapsed}`),e.headerHidden&&(o+=` ${Em.headerHidden}`),e.navState===qd.Hidden)return j.jsx(j.Fragment,{});const u=i(Na.ViewCustomerAnalytics),s=i(Na.ViewMyShares)&&t;return j.jsxs("nav",{className:o,children:[j.jsxs("div",{className:`d-flex align-items-center mx-3 mb-4 ${r?" justify-content-center":""} ${Em.toggleLogoContainer}`,children:[j.jsx(wUe,{onClick:()=>e.toggleNav(!r)}),j.jsx(SUe,{isNavCollapsed:r})]}),s&&j.jsx(dUe,{isCollapsed:r}),n.map((c,d)=>j.jsx(pUe,{name:c.name,appLink:c.appLink,svg:c.svg,active:c.active,collapsed:r},d)),a&&u&&!r&&j.jsx("div",{className:"mt-auto text-center mb-2",children:j.jsx("span",{className:"border rounded-pill px-2 text-nowrap border-white text-light",children:FUe("adminRole")})})]})}function UUe(e){let t=e.className||"btn btn-dark";if(e.disabled&&(t+=" disabled"),!e.icon){if(e.appLink&&!gi.isFunction(e.onClick)&&!e.disabled)return j.jsx(os,{appLink:e.appLink,className:t,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,children:e.text});const r=()=>{e.disabled||(gi.isFunction(e.onClick)&&e.onClick(),e.appLink&&Kn.trigger(e.appLink),wa.logUserAction(e.analyticsData,e.analyticsOptions))};return e.href&&!e.disabled?j.jsx("a",{className:t,href:e.href,target:e.openInNewTab?"_blank":null,children:e.text}):j.jsx("button",{disabled:e.disabled,onClick:r,className:t,children:e.text})}return j.jsx(uP,{className:t,onClick:e.onClick,appLink:e.appLink,svg:e.icon,href:e.href,openInNewTab:e.openInNewTab,disabled:e.disabled,children:e.text})}const qUe="_image_12gb5_1",VUe="_small_12gb5_6",aee={image:qUe,small:VUe};pue.defaultProps={size:"medium"};function pue(e){return j.jsx("img",{alt:e.altText||"",role:"presentation",src:e.src,className:`${aee.image} ${e.size==="small"?aee.small:""} ${e.className??""}`})}Eu.defaultProps={className:"pt-5"};function Eu(e){return j.jsx("div",{className:`text-center d-flex flex-column align-items-center ${e.className??""}`,children:e.children})}Eu.Image=e=>j.jsx(pue,{...e});Eu.Cta=e=>j.jsx(UUe,{...e});Eu.Heading=e=>j.jsx("h2",{role:"status",className:e.className||"h3",children:e.children});Eu.Info=e=>e.injectHtml?j.jsx("p",{role:"status",className:e.className||"mb-3 w-50",dangerouslySetInnerHTML:{__html:e.children}}):j.jsx("p",{role:"status",className:e.className||"mb-3 w-50",children:e.children});const uI={WELCOME_POPUP_SELECTOR:"welcome-dialog",RESOURCE_ITEM_SELECTOR:"resource-item",GLOBAL_PLAYER_SELECTOR:"global-player"};var Vc=(e=>(e.AU="content-ap-southeast-1",e.NZ="content-ap-southeast-2",e.UK="content-eu-west-1",e.SCOT="content-eu-west-2",e.US="content-na-central-1",e.GLOBAL="content-global",e.CA="content-canada",e))(Vc||{});function BUe(e,t){if(!(t!=null&&t.length)||typeof e=="string"||!e)return{};const r=t.reduce((n,i)=>({...n,[i]:!0}),{});return Object.keys(e).reduce((n,i)=>(i in r&&(n[i]=e[i]),n),{})}const HUe={isBot(){if(!window.URLSearchParams)return!1;const e=new URLSearchParams(window.location.search);return(e==null?void 0:e.get("isBot"))==="true"},getCanonicalLink(e={}){const t=Yn.GetCurrentOrigin(),r=(e==null?void 0:e.customAppLink)||Kn.getCurrentAppLink(),n=BUe(r.params,e.allowedParams);let i=Kn.getHref({...r,params:n},{middlewareOptions:{ignorePresentationSlug:e.stripPresentationSlug??!1}});return typeof e.hrefTransformer=="function"&&(i=e.hrefTransformer(i)),dn.safeUrlConcat(t,i)}};function pN(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let Hf=pN();function gue(e){Hf=e}const Vv={exec:()=>null};function Xn(e,t=""){let r=typeof e=="string"?e:e.source;const n={replace:(i,a)=>{let o=typeof a=="string"?a:a.source;return o=o.replace(vo.caret,"$1"),r=r.replace(i,o),n},getRegex:()=>new RegExp(r,t)};return n}const vo={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i")},zUe=/^(?:[ \t]*(?:\n|$))+/,WUe=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,GUe=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,eg=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,YUe=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,mue=/(?:[*+-]|\d{1,9}[.)])/,yue=Xn(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,mue).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),gN=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,KUe=/^[^\n]+/,mN=/(?!\s*\])(?:\\.|[^\[\]\\])+/,XUe=Xn(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",mN).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),QUe=Xn(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,mue).getRegex(),m0="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",yN=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,JUe=Xn("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",yN).replace("tag",m0).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),_ue=Xn(gN).replace("hr",eg).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",m0).getRegex(),ZUe=Xn(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",_ue).getRegex(),_N={blockquote:ZUe,code:WUe,def:XUe,fences:GUe,heading:YUe,hr:eg,html:JUe,lheading:yue,list:QUe,newline:zUe,paragraph:_ue,table:Vv,text:KUe},oee=Xn("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",eg).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",m0).getRegex(),e6e={..._N,table:oee,paragraph:Xn(gN).replace("hr",eg).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",oee).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",m0).getRegex()},t6e={..._N,html:Xn(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",yN).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Vv,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Xn(gN).replace("hr",eg).replace("heading",` *#{1,6} *[^
173
- ]`).replace("lheading",yue).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},r6e=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,n6e=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Sue=/^( {2,}|\\)\n(?!\s*$)/,i6e=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,y0=/[\p{P}\p{S}]/u,SN=/[\s\p{P}\p{S}]/u,Eue=/[^\s\p{P}\p{S}]/u,a6e=Xn(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,SN).getRegex(),wue=/(?!~)[\p{P}\p{S}]/u,o6e=/(?!~)[\s\p{P}\p{S}]/u,s6e=/(?:[^\s\p{P}\p{S}]|~)/u,u6e=/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,bue=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,l6e=Xn(bue,"u").replace(/punct/g,y0).getRegex(),c6e=Xn(bue,"u").replace(/punct/g,wue).getRegex(),Tue="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",f6e=Xn(Tue,"gu").replace(/notPunctSpace/g,Eue).replace(/punctSpace/g,SN).replace(/punct/g,y0).getRegex(),d6e=Xn(Tue,"gu").replace(/notPunctSpace/g,s6e).replace(/punctSpace/g,o6e).replace(/punct/g,wue).getRegex(),h6e=Xn("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,Eue).replace(/punctSpace/g,SN).replace(/punct/g,y0).getRegex(),v6e=Xn(/\\(punct)/,"gu").replace(/punct/g,y0).getRegex(),p6e=Xn(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),g6e=Xn(yN).replace("(?:-->|$)","-->").getRegex(),m6e=Xn("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",g6e).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Ny=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,y6e=Xn(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Ny).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Rue=Xn(/^!?\[(label)\]\[(ref)\]/).replace("label",Ny).replace("ref",mN).getRegex(),xue=Xn(/^!?\[(ref)\](?:\[\])?/).replace("ref",mN).getRegex(),_6e=Xn("reflink|nolink(?!\\()","g").replace("reflink",Rue).replace("nolink",xue).getRegex(),EN={_backpedal:Vv,anyPunctuation:v6e,autolink:p6e,blockSkip:u6e,br:Sue,code:n6e,del:Vv,emStrongLDelim:l6e,emStrongRDelimAst:f6e,emStrongRDelimUnd:h6e,escape:r6e,link:y6e,nolink:xue,punctuation:a6e,reflink:Rue,reflinkSearch:_6e,tag:m6e,text:i6e,url:Vv},S6e={...EN,link:Xn(/^!?\[(label)\]\((.*?)\)/).replace("label",Ny).getRegex(),reflink:Xn(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Ny).getRegex()},wP={...EN,emStrongRDelimAst:d6e,emStrongLDelim:c6e,url:Xn(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},E6e={...wP,br:Xn(Sue).replace("{2,}","*").getRegex(),text:Xn(wP.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},wm={normal:_N,gfm:e6e,pedantic:t6e},_v={normal:EN,gfm:wP,breaks:E6e,pedantic:S6e},w6e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},see=e=>w6e[e];function _u(e,t){if(t){if(vo.escapeTest.test(e))return e.replace(vo.escapeReplace,see)}else if(vo.escapeTestNoEncode.test(e))return e.replace(vo.escapeReplaceNoEncode,see);return e}function uee(e){try{e=encodeURI(e).replace(vo.percentDecode,"%")}catch{return null}return e}function lee(e,t){var a;const r=e.replace(vo.findPipe,(o,u,s)=>{let c=!1,d=u;for(;--d>=0&&s[d]==="\\";)c=!c;return c?"|":" |"}),n=r.split(vo.splitPipe);let i=0;if(n[0].trim()||n.shift(),n.length>0&&!((a=n.at(-1))!=null&&a.trim())&&n.pop(),t)if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;i<n.length;i++)n[i]=n[i].trim().replace(vo.slashPipe,"|");return n}function Sv(e,t,r){const n=e.length;if(n===0)return"";let i=0;for(;i<n&&e.charAt(n-i-1)===t;)i++;return e.slice(0,n-i)}function b6e(e,t){if(e.indexOf(t[1])===-1)return-1;let r=0;for(let n=0;n<e.length;n++)if(e[n]==="\\")n++;else if(e[n]===t[0])r++;else if(e[n]===t[1]&&(r--,r<0))return n;return-1}function cee(e,t,r,n,i){const a=t.href,o=t.title||null,u=e[1].replace(i.other.outputLinkReplace,"$1");if(e[0].charAt(0)!=="!"){n.state.inLink=!0;const s={type:"link",raw:r,href:a,title:o,text:u,tokens:n.inlineTokens(u)};return n.state.inLink=!1,s}return{type:"image",raw:r,href:a,title:o,text:u}}function T6e(e,t,r){const n=e.match(r.other.indentCodeCompensation);if(n===null)return t;const i=n[1];return t.split(`
174
- `).map(a=>{const o=a.match(r.other.beginningSpace);if(o===null)return a;const[u]=o;return u.length>=i.length?a.slice(i.length):a}).join(`
175
- `)}class Ly{constructor(t){li(this,"options");li(this,"rules");li(this,"lexer");this.options=t||Hf}space(t){const r=this.rules.block.newline.exec(t);if(r&&r[0].length>0)return{type:"space",raw:r[0]}}code(t){const r=this.rules.block.code.exec(t);if(r){const n=r[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:r[0],codeBlockStyle:"indented",text:this.options.pedantic?n:Sv(n,`
176
- `)}}}fences(t){const r=this.rules.block.fences.exec(t);if(r){const n=r[0],i=T6e(n,r[3]||"",this.rules);return{type:"code",raw:n,lang:r[2]?r[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):r[2],text:i}}}heading(t){const r=this.rules.block.heading.exec(t);if(r){let n=r[2].trim();if(this.rules.other.endingHash.test(n)){const i=Sv(n,"#");(this.options.pedantic||!i||this.rules.other.endingSpaceChar.test(i))&&(n=i.trim())}return{type:"heading",raw:r[0],depth:r[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(t){const r=this.rules.block.hr.exec(t);if(r)return{type:"hr",raw:Sv(r[0],`
177
- `)}}blockquote(t){const r=this.rules.block.blockquote.exec(t);if(r){let n=Sv(r[0],`
178
- `).split(`
179
- `),i="",a="";const o=[];for(;n.length>0;){let u=!1;const s=[];let c;for(c=0;c<n.length;c++)if(this.rules.other.blockquoteStart.test(n[c]))s.push(n[c]),u=!0;else if(!u)s.push(n[c]);else break;n=n.slice(c);const d=s.join(`
180
- `),h=d.replace(this.rules.other.blockquoteSetextReplace,`
181
- $1`).replace(this.rules.other.blockquoteSetextReplace2,"");i=i?`${i}
182
- ${d}`:d,a=a?`${a}
183
- ${h}`:h;const v=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(h,o,!0),this.lexer.state.top=v,n.length===0)break;const g=o.at(-1);if((g==null?void 0:g.type)==="code")break;if((g==null?void 0:g.type)==="blockquote"){const m=g,y=m.raw+`
184
- `+n.join(`
185
- `),S=this.blockquote(y);o[o.length-1]=S,i=i.substring(0,i.length-m.raw.length)+S.raw,a=a.substring(0,a.length-m.text.length)+S.text;break}else if((g==null?void 0:g.type)==="list"){const m=g,y=m.raw+`
186
- `+n.join(`
187
- `),S=this.list(y);o[o.length-1]=S,i=i.substring(0,i.length-g.raw.length)+S.raw,a=a.substring(0,a.length-m.raw.length)+S.raw,n=y.substring(o.at(-1).raw.length).split(`
188
- `);continue}}return{type:"blockquote",raw:i,tokens:o,text:a}}}list(t){let r=this.rules.block.list.exec(t);if(r){let n=r[1].trim();const i=n.length>1,a={type:"list",raw:"",ordered:i,start:i?+n.slice(0,-1):"",loose:!1,items:[]};n=i?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=i?n:"[*+-]");const o=this.rules.other.listItemRegex(n);let u=!1;for(;t;){let c=!1,d="",h="";if(!(r=o.exec(t))||this.rules.block.hr.test(t))break;d=r[0],t=t.substring(d.length);let v=r[2].split(`
189
- `,1)[0].replace(this.rules.other.listReplaceTabs,b=>" ".repeat(3*b.length)),g=t.split(`
190
- `,1)[0],m=!v.trim(),y=0;if(this.options.pedantic?(y=2,h=v.trimStart()):m?y=r[1].length+1:(y=r[2].search(this.rules.other.nonSpaceChar),y=y>4?1:y,h=v.slice(y),y+=r[1].length),m&&this.rules.other.blankLine.test(g)&&(d+=g+`
191
- `,t=t.substring(g.length+1),c=!0),!c){const b=this.rules.other.nextBulletRegex(y),A=this.rules.other.hrRegex(y),R=this.rules.other.fencesBeginRegex(y),x=this.rules.other.headingBeginRegex(y),O=this.rules.other.htmlBeginRegex(y);for(;t;){const _=t.split(`
192
- `,1)[0];let P;if(g=_,this.options.pedantic?(g=g.replace(this.rules.other.listReplaceNesting," "),P=g):P=g.replace(this.rules.other.tabCharGlobal," "),R.test(g)||x.test(g)||O.test(g)||b.test(g)||A.test(g))break;if(P.search(this.rules.other.nonSpaceChar)>=y||!g.trim())h+=`
193
- `+P.slice(y);else{if(m||v.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||R.test(v)||x.test(v)||A.test(v))break;h+=`
194
- `+g}!m&&!g.trim()&&(m=!0),d+=_+`
195
- `,t=t.substring(_.length+1),v=P.slice(y)}}a.loose||(u?a.loose=!0:this.rules.other.doubleBlankLine.test(d)&&(u=!0));let S=null,w;this.options.gfm&&(S=this.rules.other.listIsTask.exec(h),S&&(w=S[0]!=="[ ] ",h=h.replace(this.rules.other.listReplaceTask,""))),a.items.push({type:"list_item",raw:d,task:!!S,checked:w,loose:!1,text:h,tokens:[]}),a.raw+=d}const s=a.items.at(-1);if(s)s.raw=s.raw.trimEnd(),s.text=s.text.trimEnd();else return;a.raw=a.raw.trimEnd();for(let c=0;c<a.items.length;c++)if(this.lexer.state.top=!1,a.items[c].tokens=this.lexer.blockTokens(a.items[c].text,[]),!a.loose){const d=a.items[c].tokens.filter(v=>v.type==="space"),h=d.length>0&&d.some(v=>this.rules.other.anyLine.test(v.raw));a.loose=h}if(a.loose)for(let c=0;c<a.items.length;c++)a.items[c].loose=!0;return a}}html(t){const r=this.rules.block.html.exec(t);if(r)return{type:"html",block:!0,raw:r[0],pre:r[1]==="pre"||r[1]==="script"||r[1]==="style",text:r[0]}}def(t){const r=this.rules.block.def.exec(t);if(r){const n=r[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),i=r[2]?r[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",a=r[3]?r[3].substring(1,r[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):r[3];return{type:"def",tag:n,raw:r[0],href:i,title:a}}}table(t){var u;const r=this.rules.block.table.exec(t);if(!r||!this.rules.other.tableDelimiter.test(r[2]))return;const n=lee(r[1]),i=r[2].replace(this.rules.other.tableAlignChars,"").split("|"),a=(u=r[3])!=null&&u.trim()?r[3].replace(this.rules.other.tableRowBlankLine,"").split(`
196
- `):[],o={type:"table",raw:r[0],header:[],align:[],rows:[]};if(n.length===i.length){for(const s of i)this.rules.other.tableAlignRight.test(s)?o.align.push("right"):this.rules.other.tableAlignCenter.test(s)?o.align.push("center"):this.rules.other.tableAlignLeft.test(s)?o.align.push("left"):o.align.push(null);for(let s=0;s<n.length;s++)o.header.push({text:n[s],tokens:this.lexer.inline(n[s]),header:!0,align:o.align[s]});for(const s of a)o.rows.push(lee(s,o.header.length).map((c,d)=>({text:c,tokens:this.lexer.inline(c),header:!1,align:o.align[d]})));return o}}lheading(t){const r=this.rules.block.lheading.exec(t);if(r)return{type:"heading",raw:r[0],depth:r[2].charAt(0)==="="?1:2,text:r[1],tokens:this.lexer.inline(r[1])}}paragraph(t){const r=this.rules.block.paragraph.exec(t);if(r){const n=r[1].charAt(r[1].length-1)===`
197
- `?r[1].slice(0,-1):r[1];return{type:"paragraph",raw:r[0],text:n,tokens:this.lexer.inline(n)}}}text(t){const r=this.rules.block.text.exec(t);if(r)return{type:"text",raw:r[0],text:r[0],tokens:this.lexer.inline(r[0])}}escape(t){const r=this.rules.inline.escape.exec(t);if(r)return{type:"escape",raw:r[0],text:r[1]}}tag(t){const r=this.rules.inline.tag.exec(t);if(r)return!this.lexer.state.inLink&&this.rules.other.startATag.test(r[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(r[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(r[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(r[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:r[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:r[0]}}link(t){const r=this.rules.inline.link.exec(t);if(r){const n=r[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(n)){if(!this.rules.other.endAngleBracket.test(n))return;const o=Sv(n.slice(0,-1),"\\");if((n.length-o.length)%2===0)return}else{const o=b6e(r[2],"()");if(o>-1){const s=(r[0].indexOf("!")===0?5:4)+r[1].length+o;r[2]=r[2].substring(0,o),r[0]=r[0].substring(0,s).trim(),r[3]=""}}let i=r[2],a="";if(this.options.pedantic){const o=this.rules.other.pedanticHrefTitle.exec(i);o&&(i=o[1],a=o[3])}else a=r[3]?r[3].slice(1,-1):"";return i=i.trim(),this.rules.other.startAngleBracket.test(i)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(n)?i=i.slice(1):i=i.slice(1,-1)),cee(r,{href:i&&i.replace(this.rules.inline.anyPunctuation,"$1"),title:a&&a.replace(this.rules.inline.anyPunctuation,"$1")},r[0],this.lexer,this.rules)}}reflink(t,r){let n;if((n=this.rules.inline.reflink.exec(t))||(n=this.rules.inline.nolink.exec(t))){const i=(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," "),a=r[i.toLowerCase()];if(!a){const o=n[0].charAt(0);return{type:"text",raw:o,text:o}}return cee(n,a,n[0],this.lexer,this.rules)}}emStrong(t,r,n=""){let i=this.rules.inline.emStrongLDelim.exec(t);if(!i||i[3]&&n.match(this.rules.other.unicodeAlphaNumeric))return;if(!(i[1]||i[2]||"")||!n||this.rules.inline.punctuation.exec(n)){const o=[...i[0]].length-1;let u,s,c=o,d=0;const h=i[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(h.lastIndex=0,r=r.slice(-1*t.length+o);(i=h.exec(r))!=null;){if(u=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!u)continue;if(s=[...u].length,i[3]||i[4]){c+=s;continue}else if((i[5]||i[6])&&o%3&&!((o+s)%3)){d+=s;continue}if(c-=s,c>0)continue;s=Math.min(s,s+c+d);const v=[...i[0]][0].length,g=t.slice(0,o+i.index+v+s);if(Math.min(o,s)%2){const y=g.slice(1,-1);return{type:"em",raw:g,text:y,tokens:this.lexer.inlineTokens(y)}}const m=g.slice(2,-2);return{type:"strong",raw:g,text:m,tokens:this.lexer.inlineTokens(m)}}}}codespan(t){const r=this.rules.inline.code.exec(t);if(r){let n=r[2].replace(this.rules.other.newLineCharGlobal," ");const i=this.rules.other.nonSpaceChar.test(n),a=this.rules.other.startingSpaceChar.test(n)&&this.rules.other.endingSpaceChar.test(n);return i&&a&&(n=n.substring(1,n.length-1)),{type:"codespan",raw:r[0],text:n}}}br(t){const r=this.rules.inline.br.exec(t);if(r)return{type:"br",raw:r[0]}}del(t){const r=this.rules.inline.del.exec(t);if(r)return{type:"del",raw:r[0],text:r[2],tokens:this.lexer.inlineTokens(r[2])}}autolink(t){const r=this.rules.inline.autolink.exec(t);if(r){let n,i;return r[2]==="@"?(n=r[1],i="mailto:"+n):(n=r[1],i=n),{type:"link",raw:r[0],text:n,href:i,tokens:[{type:"text",raw:n,text:n}]}}}url(t){var n;let r;if(r=this.rules.inline.url.exec(t)){let i,a;if(r[2]==="@")i=r[0],a="mailto:"+i;else{let o;do o=r[0],r[0]=((n=this.rules.inline._backpedal.exec(r[0]))==null?void 0:n[0])??"";while(o!==r[0]);i=r[0],r[1]==="www."?a="http://"+r[0]:a=r[0]}return{type:"link",raw:r[0],text:i,href:a,tokens:[{type:"text",raw:i,text:i}]}}}inlineText(t){const r=this.rules.inline.text.exec(t);if(r){const n=this.lexer.state.inRawBlock;return{type:"text",raw:r[0],text:r[0],escaped:n}}}}class Ps{constructor(t){li(this,"tokens");li(this,"options");li(this,"state");li(this,"tokenizer");li(this,"inlineQueue");this.tokens=[],this.tokens.links=Object.create(null),this.options=t||Hf,this.options.tokenizer=this.options.tokenizer||new Ly,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const r={other:vo,block:wm.normal,inline:_v.normal};this.options.pedantic?(r.block=wm.pedantic,r.inline=_v.pedantic):this.options.gfm&&(r.block=wm.gfm,this.options.breaks?r.inline=_v.breaks:r.inline=_v.gfm),this.tokenizer.rules=r}static get rules(){return{block:wm,inline:_v}}static lex(t,r){return new Ps(r).lex(t)}static lexInline(t,r){return new Ps(r).inlineTokens(t)}lex(t){t=t.replace(vo.carriageReturn,`
198
- `),this.blockTokens(t,this.tokens);for(let r=0;r<this.inlineQueue.length;r++){const n=this.inlineQueue[r];this.inlineTokens(n.src,n.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(t,r=[],n=!1){var i,a,o;for(this.options.pedantic&&(t=t.replace(vo.tabCharGlobal," ").replace(vo.spaceLine,""));t;){let u;if((a=(i=this.options.extensions)==null?void 0:i.block)!=null&&a.some(c=>(u=c.call({lexer:this},t,r))?(t=t.substring(u.raw.length),r.push(u),!0):!1))continue;if(u=this.tokenizer.space(t)){t=t.substring(u.raw.length);const c=r.at(-1);u.raw.length===1&&c!==void 0?c.raw+=`
199
- `:r.push(u);continue}if(u=this.tokenizer.code(t)){t=t.substring(u.raw.length);const c=r.at(-1);(c==null?void 0:c.type)==="paragraph"||(c==null?void 0:c.type)==="text"?(c.raw+=`
200
- `+u.raw,c.text+=`
201
- `+u.text,this.inlineQueue.at(-1).src=c.text):r.push(u);continue}if(u=this.tokenizer.fences(t)){t=t.substring(u.raw.length),r.push(u);continue}if(u=this.tokenizer.heading(t)){t=t.substring(u.raw.length),r.push(u);continue}if(u=this.tokenizer.hr(t)){t=t.substring(u.raw.length),r.push(u);continue}if(u=this.tokenizer.blockquote(t)){t=t.substring(u.raw.length),r.push(u);continue}if(u=this.tokenizer.list(t)){t=t.substring(u.raw.length),r.push(u);continue}if(u=this.tokenizer.html(t)){t=t.substring(u.raw.length),r.push(u);continue}if(u=this.tokenizer.def(t)){t=t.substring(u.raw.length);const c=r.at(-1);(c==null?void 0:c.type)==="paragraph"||(c==null?void 0:c.type)==="text"?(c.raw+=`
202
- `+u.raw,c.text+=`
203
- `+u.raw,this.inlineQueue.at(-1).src=c.text):this.tokens.links[u.tag]||(this.tokens.links[u.tag]={href:u.href,title:u.title});continue}if(u=this.tokenizer.table(t)){t=t.substring(u.raw.length),r.push(u);continue}if(u=this.tokenizer.lheading(t)){t=t.substring(u.raw.length),r.push(u);continue}let s=t;if((o=this.options.extensions)!=null&&o.startBlock){let c=1/0;const d=t.slice(1);let h;this.options.extensions.startBlock.forEach(v=>{h=v.call({lexer:this},d),typeof h=="number"&&h>=0&&(c=Math.min(c,h))}),c<1/0&&c>=0&&(s=t.substring(0,c+1))}if(this.state.top&&(u=this.tokenizer.paragraph(s))){const c=r.at(-1);n&&(c==null?void 0:c.type)==="paragraph"?(c.raw+=`
204
- `+u.raw,c.text+=`
205
- `+u.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=c.text):r.push(u),n=s.length!==t.length,t=t.substring(u.raw.length);continue}if(u=this.tokenizer.text(t)){t=t.substring(u.raw.length);const c=r.at(-1);(c==null?void 0:c.type)==="text"?(c.raw+=`
206
- `+u.raw,c.text+=`
207
- `+u.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=c.text):r.push(u);continue}if(t){const c="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(c);break}else throw new Error(c)}}return this.state.top=!0,r}inline(t,r=[]){return this.inlineQueue.push({src:t,tokens:r}),r}inlineTokens(t,r=[]){var u,s,c;let n=t,i=null;if(this.tokens.links){const d=Object.keys(this.tokens.links);if(d.length>0)for(;(i=this.tokenizer.rules.inline.reflinkSearch.exec(n))!=null;)d.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(n=n.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(i=this.tokenizer.rules.inline.blockSkip.exec(n))!=null;)n=n.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(i=this.tokenizer.rules.inline.anyPunctuation.exec(n))!=null;)n=n.slice(0,i.index)+"++"+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let a=!1,o="";for(;t;){a||(o=""),a=!1;let d;if((s=(u=this.options.extensions)==null?void 0:u.inline)!=null&&s.some(v=>(d=v.call({lexer:this},t,r))?(t=t.substring(d.raw.length),r.push(d),!0):!1))continue;if(d=this.tokenizer.escape(t)){t=t.substring(d.raw.length),r.push(d);continue}if(d=this.tokenizer.tag(t)){t=t.substring(d.raw.length),r.push(d);continue}if(d=this.tokenizer.link(t)){t=t.substring(d.raw.length),r.push(d);continue}if(d=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(d.raw.length);const v=r.at(-1);d.type==="text"&&(v==null?void 0:v.type)==="text"?(v.raw+=d.raw,v.text+=d.text):r.push(d);continue}if(d=this.tokenizer.emStrong(t,n,o)){t=t.substring(d.raw.length),r.push(d);continue}if(d=this.tokenizer.codespan(t)){t=t.substring(d.raw.length),r.push(d);continue}if(d=this.tokenizer.br(t)){t=t.substring(d.raw.length),r.push(d);continue}if(d=this.tokenizer.del(t)){t=t.substring(d.raw.length),r.push(d);continue}if(d=this.tokenizer.autolink(t)){t=t.substring(d.raw.length),r.push(d);continue}if(!this.state.inLink&&(d=this.tokenizer.url(t))){t=t.substring(d.raw.length),r.push(d);continue}let h=t;if((c=this.options.extensions)!=null&&c.startInline){let v=1/0;const g=t.slice(1);let m;this.options.extensions.startInline.forEach(y=>{m=y.call({lexer:this},g),typeof m=="number"&&m>=0&&(v=Math.min(v,m))}),v<1/0&&v>=0&&(h=t.substring(0,v+1))}if(d=this.tokenizer.inlineText(h)){t=t.substring(d.raw.length),d.raw.slice(-1)!=="_"&&(o=d.raw.slice(-1)),a=!0;const v=r.at(-1);(v==null?void 0:v.type)==="text"?(v.raw+=d.raw,v.text+=d.text):r.push(d);continue}if(t){const v="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(v);break}else throw new Error(v)}}return r}}class My{constructor(t){li(this,"options");li(this,"parser");this.options=t||Hf}space(t){return""}code({text:t,lang:r,escaped:n}){var o;const i=(o=(r||"").match(vo.notSpaceStart))==null?void 0:o[0],a=t.replace(vo.endingNewline,"")+`
208
- `;return i?'<pre><code class="language-'+_u(i)+'">'+(n?a:_u(a,!0))+`</code></pre>
209
- `:"<pre><code>"+(n?a:_u(a,!0))+`</code></pre>
210
- `}blockquote({tokens:t}){return`<blockquote>
211
- ${this.parser.parse(t)}</blockquote>
212
- `}html({text:t}){return t}heading({tokens:t,depth:r}){return`<h${r}>${this.parser.parseInline(t)}</h${r}>
213
- `}hr(t){return`<hr>
214
- `}list(t){const r=t.ordered,n=t.start;let i="";for(let u=0;u<t.items.length;u++){const s=t.items[u];i+=this.listitem(s)}const a=r?"ol":"ul",o=r&&n!==1?' start="'+n+'"':"";return"<"+a+o+`>
215
- `+i+"</"+a+`>
216
- `}listitem(t){var n;let r="";if(t.task){const i=this.checkbox({checked:!!t.checked});t.loose?((n=t.tokens[0])==null?void 0:n.type)==="paragraph"?(t.tokens[0].text=i+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&t.tokens[0].tokens[0].type==="text"&&(t.tokens[0].tokens[0].text=i+" "+_u(t.tokens[0].tokens[0].text),t.tokens[0].tokens[0].escaped=!0)):t.tokens.unshift({type:"text",raw:i+" ",text:i+" ",escaped:!0}):r+=i+" "}return r+=this.parser.parse(t.tokens,!!t.loose),`<li>${r}</li>
217
- `}checkbox({checked:t}){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:t}){return`<p>${this.parser.parseInline(t)}</p>
218
- `}table(t){let r="",n="";for(let a=0;a<t.header.length;a++)n+=this.tablecell(t.header[a]);r+=this.tablerow({text:n});let i="";for(let a=0;a<t.rows.length;a++){const o=t.rows[a];n="";for(let u=0;u<o.length;u++)n+=this.tablecell(o[u]);i+=this.tablerow({text:n})}return i&&(i=`<tbody>${i}</tbody>`),`<table>
219
- <thead>
220
- `+r+`</thead>
221
- `+i+`</table>
222
- `}tablerow({text:t}){return`<tr>
223
- ${t}</tr>
224
- `}tablecell(t){const r=this.parser.parseInline(t.tokens),n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+r+`</${n}>
225
- `}strong({tokens:t}){return`<strong>${this.parser.parseInline(t)}</strong>`}em({tokens:t}){return`<em>${this.parser.parseInline(t)}</em>`}codespan({text:t}){return`<code>${_u(t,!0)}</code>`}br(t){return"<br>"}del({tokens:t}){return`<del>${this.parser.parseInline(t)}</del>`}link({href:t,title:r,tokens:n}){const i=this.parser.parseInline(n),a=uee(t);if(a===null)return i;t=a;let o='<a href="'+t+'"';return r&&(o+=' title="'+_u(r)+'"'),o+=">"+i+"</a>",o}image({href:t,title:r,text:n}){const i=uee(t);if(i===null)return _u(n);t=i;let a=`<img src="${t}" alt="${n}"`;return r&&(a+=` title="${_u(r)}"`),a+=">",a}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:_u(t.text)}}class wN{strong({text:t}){return t}em({text:t}){return t}codespan({text:t}){return t}del({text:t}){return t}html({text:t}){return t}text({text:t}){return t}link({text:t}){return""+t}image({text:t}){return""+t}br(){return""}}class Ds{constructor(t){li(this,"options");li(this,"renderer");li(this,"textRenderer");this.options=t||Hf,this.options.renderer=this.options.renderer||new My,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new wN}static parse(t,r){return new Ds(r).parse(t)}static parseInline(t,r){return new Ds(r).parseInline(t)}parse(t,r=!0){var i,a;let n="";for(let o=0;o<t.length;o++){const u=t[o];if((a=(i=this.options.extensions)==null?void 0:i.renderers)!=null&&a[u.type]){const c=u,d=this.options.extensions.renderers[c.type].call({parser:this},c);if(d!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(c.type)){n+=d||"";continue}}const s=u;switch(s.type){case"space":{n+=this.renderer.space(s);continue}case"hr":{n+=this.renderer.hr(s);continue}case"heading":{n+=this.renderer.heading(s);continue}case"code":{n+=this.renderer.code(s);continue}case"table":{n+=this.renderer.table(s);continue}case"blockquote":{n+=this.renderer.blockquote(s);continue}case"list":{n+=this.renderer.list(s);continue}case"html":{n+=this.renderer.html(s);continue}case"paragraph":{n+=this.renderer.paragraph(s);continue}case"text":{let c=s,d=this.renderer.text(c);for(;o+1<t.length&&t[o+1].type==="text";)c=t[++o],d+=`
226
- `+this.renderer.text(c);r?n+=this.renderer.paragraph({type:"paragraph",raw:d,text:d,tokens:[{type:"text",raw:d,text:d,escaped:!0}]}):n+=d;continue}default:{const c='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(c),"";throw new Error(c)}}}return n}parseInline(t,r=this.renderer){var i,a;let n="";for(let o=0;o<t.length;o++){const u=t[o];if((a=(i=this.options.extensions)==null?void 0:i.renderers)!=null&&a[u.type]){const c=this.options.extensions.renderers[u.type].call({parser:this},u);if(c!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(u.type)){n+=c||"";continue}}const s=u;switch(s.type){case"escape":{n+=r.text(s);break}case"html":{n+=r.html(s);break}case"link":{n+=r.link(s);break}case"image":{n+=r.image(s);break}case"strong":{n+=r.strong(s);break}case"em":{n+=r.em(s);break}case"codespan":{n+=r.codespan(s);break}case"br":{n+=r.br(s);break}case"del":{n+=r.del(s);break}case"text":{n+=r.text(s);break}default:{const c='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(c),"";throw new Error(c)}}}return n}}class Bv{constructor(t){li(this,"options");li(this,"block");this.options=t||Hf}preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}provideLexer(){return this.block?Ps.lex:Ps.lexInline}provideParser(){return this.block?Ds.parse:Ds.parseInline}}li(Bv,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"]));class Cue{constructor(...t){li(this,"defaults",pN());li(this,"options",this.setOptions);li(this,"parse",this.parseMarkdown(!0));li(this,"parseInline",this.parseMarkdown(!1));li(this,"Parser",Ds);li(this,"Renderer",My);li(this,"TextRenderer",wN);li(this,"Lexer",Ps);li(this,"Tokenizer",Ly);li(this,"Hooks",Bv);this.use(...t)}walkTokens(t,r){var i,a;let n=[];for(const o of t)switch(n=n.concat(r.call(this,o)),o.type){case"table":{const u=o;for(const s of u.header)n=n.concat(this.walkTokens(s.tokens,r));for(const s of u.rows)for(const c of s)n=n.concat(this.walkTokens(c.tokens,r));break}case"list":{const u=o;n=n.concat(this.walkTokens(u.items,r));break}default:{const u=o;(a=(i=this.defaults.extensions)==null?void 0:i.childTokens)!=null&&a[u.type]?this.defaults.extensions.childTokens[u.type].forEach(s=>{const c=u[s].flat(1/0);n=n.concat(this.walkTokens(c,r))}):u.tokens&&(n=n.concat(this.walkTokens(u.tokens,r)))}}return n}use(...t){const r=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(n=>{const i={...n};if(i.async=this.defaults.async||i.async||!1,n.extensions&&(n.extensions.forEach(a=>{if(!a.name)throw new Error("extension name required");if("renderer"in a){const o=r.renderers[a.name];o?r.renderers[a.name]=function(...u){let s=a.renderer.apply(this,u);return s===!1&&(s=o.apply(this,u)),s}:r.renderers[a.name]=a.renderer}if("tokenizer"in a){if(!a.level||a.level!=="block"&&a.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const o=r[a.level];o?o.unshift(a.tokenizer):r[a.level]=[a.tokenizer],a.start&&(a.level==="block"?r.startBlock?r.startBlock.push(a.start):r.startBlock=[a.start]:a.level==="inline"&&(r.startInline?r.startInline.push(a.start):r.startInline=[a.start]))}"childTokens"in a&&a.childTokens&&(r.childTokens[a.name]=a.childTokens)}),i.extensions=r),n.renderer){const a=this.defaults.renderer||new My(this.defaults);for(const o in n.renderer){if(!(o in a))throw new Error(`renderer '${o}' does not exist`);if(["options","parser"].includes(o))continue;const u=o,s=n.renderer[u],c=a[u];a[u]=(...d)=>{let h=s.apply(a,d);return h===!1&&(h=c.apply(a,d)),h||""}}i.renderer=a}if(n.tokenizer){const a=this.defaults.tokenizer||new Ly(this.defaults);for(const o in n.tokenizer){if(!(o in a))throw new Error(`tokenizer '${o}' does not exist`);if(["options","rules","lexer"].includes(o))continue;const u=o,s=n.tokenizer[u],c=a[u];a[u]=(...d)=>{let h=s.apply(a,d);return h===!1&&(h=c.apply(a,d)),h}}i.tokenizer=a}if(n.hooks){const a=this.defaults.hooks||new Bv;for(const o in n.hooks){if(!(o in a))throw new Error(`hook '${o}' does not exist`);if(["options","block"].includes(o))continue;const u=o,s=n.hooks[u],c=a[u];Bv.passThroughHooks.has(o)?a[u]=d=>{if(this.defaults.async)return Promise.resolve(s.call(a,d)).then(v=>c.call(a,v));const h=s.call(a,d);return c.call(a,h)}:a[u]=(...d)=>{let h=s.apply(a,d);return h===!1&&(h=c.apply(a,d)),h}}i.hooks=a}if(n.walkTokens){const a=this.defaults.walkTokens,o=n.walkTokens;i.walkTokens=function(u){let s=[];return s.push(o.call(this,u)),a&&(s=s.concat(a.call(this,u))),s}}this.defaults={...this.defaults,...i}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,r){return Ps.lex(t,r??this.defaults)}parser(t,r){return Ds.parse(t,r??this.defaults)}parseMarkdown(t){return(n,i)=>{const a={...i},o={...this.defaults,...a},u=this.onError(!!o.silent,!!o.async);if(this.defaults.async===!0&&a.async===!1)return u(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof n>"u"||n===null)return u(new Error("marked(): input parameter is undefined or null"));if(typeof n!="string")return u(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));o.hooks&&(o.hooks.options=o,o.hooks.block=t);const s=o.hooks?o.hooks.provideLexer():t?Ps.lex:Ps.lexInline,c=o.hooks?o.hooks.provideParser():t?Ds.parse:Ds.parseInline;if(o.async)return Promise.resolve(o.hooks?o.hooks.preprocess(n):n).then(d=>s(d,o)).then(d=>o.hooks?o.hooks.processAllTokens(d):d).then(d=>o.walkTokens?Promise.all(this.walkTokens(d,o.walkTokens)).then(()=>d):d).then(d=>c(d,o)).then(d=>o.hooks?o.hooks.postprocess(d):d).catch(u);try{o.hooks&&(n=o.hooks.preprocess(n));let d=s(n,o);o.hooks&&(d=o.hooks.processAllTokens(d)),o.walkTokens&&this.walkTokens(d,o.walkTokens);let h=c(d,o);return o.hooks&&(h=o.hooks.postprocess(h)),h}catch(d){return u(d)}}}onError(t,r){return n=>{if(n.message+=`
227
- Please report this to https://github.com/markedjs/marked.`,t){const i="<p>An error occurred:</p><pre>"+_u(n.message+"",!0)+"</pre>";return r?Promise.resolve(i):i}if(r)return Promise.reject(n);throw n}}}const df=new Cue;function ii(e,t){return df.parse(e,t)}ii.options=ii.setOptions=function(e){return df.setOptions(e),ii.defaults=df.defaults,gue(ii.defaults),ii};ii.getDefaults=pN;ii.defaults=Hf;ii.use=function(...e){return df.use(...e),ii.defaults=df.defaults,gue(ii.defaults),ii};ii.walkTokens=function(e,t){return df.walkTokens(e,t)};ii.parseInline=df.parseInline;ii.Parser=Ds;ii.parser=Ds.parse;ii.Renderer=My;ii.TextRenderer=wN;ii.Lexer=Ps;ii.lexer=Ps.lex;ii.Tokenizer=Ly;ii.Hooks=Bv;ii.parse=ii;ii.options;ii.setOptions;ii.use;ii.walkTokens;ii.parseInline;Ds.parse;Ps.lex;const R6e="_container_1hbtl_1",x6e={container:R6e},fee="markdown-link",bP=new Cue;let Ev;const dee=/^(\${1,2})(?!\$)((?:\\.|[^\\\n])*?(?:\\.|[^\\\n\$]))\1(?=[\s?!\.,:?!。,:]|$)/,C6e=/^(\${1,2})\n((?:\\[^]|[^\\])+?)\n\1(?:\n|$)/;bP.use({breaks:!0,async:!0,extensions:[{name:"inlineKatex",level:"inline",start:e=>{let t,r=e;for(;r;){if(t=r.indexOf("$"),t===-1)return;if((t===0||r.charAt(t-1)===" ")&&r.substring(t).match(dee))return t;r=r.substring(t+1).replace(/^\$+/,"")}},tokenizer:e=>{const t=e.match(dee);if(t)return{type:"inlineKatex",raw:t[0],text:t[2].trim(),displayMode:t[1].length===2}},renderer:e=>Ev?Ev.renderToString(e.text,{displayMode:e.displayMode}):e.text},{name:"blockKatex",level:"block",tokenizer:e=>{const t=e.match(C6e);if(t)return{type:"blockKatex",raw:t[0],text:t[2].trim(),displayMode:t[1].length===2}},renderer:e=>Ev?Ev.renderToString(e.text,{displayMode:e.displayMode}):e.text},{start:e=>e.indexOf("^"),name:"superscript",level:"inline",tokenizer:e=>{const t=e.match(/^\^([^\^]+?)\^/);if(t)return{type:"superscript",raw:t[0],text:t[1]}},renderer:e=>`<sup>${e.text}</sup>`},{name:"subscript",level:"inline",start:e=>e.indexOf("~"),tokenizer:e=>{const t=e.match(/^\~([^\~]+?)\~/);if(t)return{type:"subscript",raw:t[0],text:t[1]}},renderer:e=>`<sub>${e.text}</sub>`}],walkTokens:async e=>{if(e.type==="inlineKatex"||e.type==="blockKatex"){const{katex:t}=await wn(async()=>{const{katex:r}=await import("./Cmu1J2M7.chunk.js");return{katex:r}},__vite__mapDeps([142,143]));Ev=t}}});const Aue={isLink(e){return e.classList.contains(fee)},async parse(e,t){if(!e)return"";const r=await bP.parse(e,{renderer:Aue.getRenderer(t)});return BI.sanitize(r)},async toPlainText(e){if(!e)return"";const t=await this.parse(e,{focusableLinks:!1});return BI.sanitize(t,{ALLOWED_TAGS:[],KEEP_CONTENT:!0}).replace(/\s+/g," ").trim()},getRenderer(e){const t=new bP.Renderer;return t.heading=({text:r,depth:n})=>`<h${n} class="${{1:"h1",2:"h2",3:"h6",4:"h6",5:"h6",6:"h6"}[n]}">${r}</h${n}>`,t.link=({href:r,text:n})=>{const i=e.focusableLinks?'tabIndex="0"':'tabIndex="-1"';return`<a href="${r}" target="_blank" class="info-link ${fee}" ${i}>${n}</a>`},t},getContainerClass(){return x6e.container}},A6e="shared.shared-utils",$y=gr.encloseNamespace(A6e),O6e=70,lI=160,I6e=/^(.*)\s/,hee="pageTitle",vee="pageDescription",cI="YYYY-MM-DD",wd={AU:"au",ENGLAND:"gb",US:"us"},P6e={[wd.AU]:Vc.AU,[wd.ENGLAND]:Vc.UK,[wd.US]:Vc.US,[Vc.AU]:wd.AU,[Vc.UK]:wd.ENGLAND,[Vc.US]:wd.US};function pee(e){return e?e.substring(0,e.length-3)+"...":""}function D6e(e,t){return e?e.substring(0,t):""}function k6e(e,t,r){if(!e)return"";const n=t-r;if(e.length<=n)return e;const i=e.slice(0,n),a=i.match(I6e);return a?a[1]:i}function ql({title:e,phraseContext:t,product:r}){var a;if(!e)return"";if(!t)return $y(hee,{title:e,product:r});const n=((a=t.phraseHandler(t.titlePhrase,{value:""}))==null?void 0:a.length)??0,i=O6e-n;return e.length>=i?$y(hee,{title:e,product:r}):t.phraseHandler(t.titlePhrase,{title:e})}function Vl({title:e,description:t,phraseContext:r}){var s,c;const n=pee(D6e(t||e,lI));if(!r)return $y(vee,{description:n});const i=((s=r.phraseHandler(r.descriptionPhrase,{title:"",description:""}))==null?void 0:s.length)??0,a=lI-i;if((e==null?void 0:e.length)>=a)return $y(vee,{description:n});const o=((c=r.phraseHandler(r.descriptionPhrase,{title:e,description:""}))==null?void 0:c.length)??0,u=pee(k6e(t,lI,o));return r.phraseHandler(r.descriptionPhrase,{title:e,description:u})}function N6e(e,t){return(e==null?void 0:e.reduce((r,n)=>{var a,o;const i=(a=P6e[n.contentRegion])==null?void 0:a.toUpperCase();return((o=n.id)==null?void 0:o.toString())!==(t==null?void 0:t.toString())||!i?r:[...r,{"@type":"Place",name:i}]},[]))??[]}function L6e(e,t){const r=e!=null&&e.datePublished?Cn.format(e==null?void 0:e.datePublished,cI):Cn.format(e==null?void 0:e.dateCreated,cI),n=t!=null&&t.dateModified?Cn.format(t==null?void 0:t.dateModified,cI):"";return{"@context":"https://schema.org","@type":"WebPage",name:e==null?void 0:e.name,description:e==null?void 0:e.description,url:HUe.getCanonicalLink(),publisher:{"@type":"Organization",name:"ClickView"},datePublished:r,dateModified:n}}function M6e(e,t,r){var n;return{"@context":"https://schema.org","@type":"VideoObject",mainEntityOfPage:{"@type":"WebPage","@id":t},name:e==null?void 0:e.name,description:e==null?void 0:e.description,thumbnailUrl:(n=e==null?void 0:e.thumbnail)==null?void 0:n.url,uploadDate:e==null?void 0:e.dateCreated,duration:Cn.getDurationISOString(e==null?void 0:e.duration,"milliseconds"),hasPart:[{"@type":"WebPageElement",isAccessibleForFree:!1,cssSelector:`.${uI.GLOBAL_PLAYER_SELECTOR}`},{"@type":"WebPageElement",isAccessibleForFree:!1,cssSelector:`.${uI.RESOURCE_ITEM_SELECTOR}`},{"@type":"WebPageElement",isAccessibleForFree:!1,cssSelector:`.${uI.WELCOME_POPUP_SELECTOR}`}],requiresSubscription:!0,isAccessibleForFree:!1,regionsAllowed:N6e(r,e==null?void 0:e.id),potentialAction:{"@type":"WatchAction",actionAccessibilityRequirement:{"@type":"ActionAccessSpecification",requiresSubscription:!0}}}}async function $6e(e,t){const r=[];for(const i of e){const a=await Aue.toPlainText(i.answer);r.push({"@type":"Question",name:i.question,acceptedAnswer:{"@type":"Answer",text:a}})}const n={"@context":"https://schema.org","@type":"FAQPage",mainEntity:r};return t&&(n.name=t),n}let yu="ClickView";const F6e={setProduct(e){yu=e},getDefaultMetadata(e){const{title:t,description:r,canonicalLink:n,phraseContext:i,allowIndexing:a,hrefLang:o,product:u,preload:s}=e;return{title:ql({title:t,phraseContext:i,product:u||yu}),description:Vl({title:t,description:r,phraseContext:i}),canonicalLink:n,allowIndexing:a,hrefLang:o,preload:s,_helperUsed:!0}},getVideoMetadata(e){const{content:t,canonicalLink:r,phraseContext:n,allowIndexing:i,hrefLang:a,regionAlternatives:o,product:u}=e;return{title:ql({title:t==null?void 0:t.name,phraseContext:n,product:u||yu}),description:Vl({title:t==null?void 0:t.name,description:t==null?void 0:t.description,phraseContext:n}),jsonLd:M6e(t,r,o),canonicalLink:r,allowIndexing:i,hrefLang:a,_helperUsed:!0}},getClipMetadata(e){var o;const{content:t,canonicalLink:r,phraseContext:n,allowIndexing:i,product:a}=e;return{title:ql({title:t==null?void 0:t.name,phraseContext:n,product:a||yu}),description:Vl({title:t==null?void 0:t.name,description:(t==null?void 0:t.description)||((o=t==null?void 0:t._parentVideo)==null?void 0:o.description),phraseContext:n}),canonicalLink:r,allowIndexing:i}},getInteractiveMetadata(e){var o;const{content:t,canonicalLink:r,phraseContext:n,allowIndexing:i,product:a}=e;return{title:ql({title:t==null?void 0:t.name,phraseContext:n,product:a||yu}),description:Vl({title:t==null?void 0:t.name,description:(t==null?void 0:t.description)||((o=t==null?void 0:t._parentVideo)==null?void 0:o.description),phraseContext:n}),canonicalLink:r,allowIndexing:i,_helperUsed:!0}},getPlaylistMetadata(e){const{content:t,canonicalLink:r,phraseContext:n,allowIndexing:i,product:a}=e;return{title:ql({title:t==null?void 0:t.name,phraseContext:n,product:a||yu}),description:Vl({title:t==null?void 0:t.name,phraseContext:n}),canonicalLink:r,allowIndexing:i,_helperUsed:!0}},getSeriesMetadata(e){const{content:t,canonicalLink:r,phraseContext:n,allowIndexing:i,product:a}=e;return{title:ql({title:t==null?void 0:t.name,phraseContext:n,product:a||yu}),description:Vl({title:t==null?void 0:t.name,description:t==null?void 0:t.description,phraseContext:n}),canonicalLink:r,allowIndexing:i,_helperUsed:!0}},getClassificationMetadata(e){const{content:{classification:t,dashboard:r},canonicalLink:n,phraseContext:i,allowIndexing:a,hrefLang:o,product:u}=e;function s(){var d,h,v,g;return(h=(d=t==null?void 0:t.externalMetadata)==null?void 0:d.seo)!=null&&h.title?`${(g=(v=t.externalMetadata)==null?void 0:v.seo)==null?void 0:g.title} | ${u||yu}`:ql({title:t==null?void 0:t.name,phraseContext:i,product:u||yu})}function c(){var d,h,v,g;return(h=(d=t==null?void 0:t.externalMetadata)==null?void 0:d.seo)!=null&&h.description?(g=(v=t.externalMetadata)==null?void 0:v.seo)==null?void 0:g.description:Vl({title:t==null?void 0:t.name,phraseContext:i})}return{title:s(),description:c(),canonicalLink:n,allowIndexing:a,jsonLd:r&&L6e(t,r),hrefLang:o,_helperUsed:!0}},getDiscoverMetadata(e){const{content:t,canonicalLink:r,phraseContext:n,allowIndexing:i,hrefLang:a,product:o}=e;return{title:ql({title:t==null?void 0:t.name,phraseContext:n,product:o||yu}),description:Vl({title:t==null?void 0:t.name,phraseContext:n}),canonicalLink:r,allowIndexing:i,hrefLang:a,_helperUsed:!0}},async buildFaqJsonLd(e,t){return await $6e(e,t)}};function j6e(e){let t=e;t._helperUsed||(t=F6e.getDefaultMetadata(t)),Koe(t.title);const r=eDe();if(!r.hasProvider)throw vr.throw(new On("PageMetadataContext must exist in your application to use this hook"));he.useEffect(()=>{!t||e._isPopupUp||r.hasPageMetadataChanged(t)&&r.setPageMetadata(t)})}const U6e="_container_2feax_1",q6e={container:U6e},V6e="reportsDefault.error",gee=gr.encloseNamespace(V6e),B6e=33,H6e={application:dr.DASHBOARD,action:Jr.Dashboard.HOME};function Oue(e){var i,a,o,u,s,c,d,h,v;j6e({title:((i=e.error)==null?void 0:i.heading)||gee("defaultPageTitle")});const[t]=he.useState(Mk.getRandomInt(B6e)+1),r=e.imageUrl??zm.Errors.SmallAvatar.replace("{number}",t.toString()),n=((a=e.error)==null?void 0:a.cta)!==!1&&((u=(o=e.error)==null?void 0:o.cta)!=null&&u.appLink?(s=e.error)==null?void 0:s.cta.appLink:!((d=(c=e.error)==null?void 0:c.cta)!=null&&d.url)&&H6e);return e.error?j.jsxs(Eu,{className:`bg-white ${q6e.container}`,children:[j.jsx(Eu.Image,{src:r}),j.jsx(Eu.Heading,{children:e.error.heading}),!!e.error.description&&j.jsx(Eu.Info,{children:e.error.description}),e.error.cta!==!1&&j.jsx(Eu.Cta,{text:((h=e.error.cta)==null?void 0:h.text)??gee("goHome"),className:`btn btn-dark ${e.error.description?"mt-n2":""}`,appLink:n,href:(v=e.error.cta)==null?void 0:v.url})]}):j.jsx(j.Fragment,{})}const z6e=Object.freeze(Object.defineProperty({__proto__:null,ErrorView:Oue},Symbol.toStringTag,{value:"Module"})),W6e="_content_19qzp_1",G6e="_collapsedNavHeader_19qzp_4",Y6e="_collapsedNavContent_19qzp_5",K6e="_openNavHeader_19qzp_8",X6e="_openNavContent_19qzp_9",Q6e="_mask_19qzp_12",J6e="_alertContainer_19qzp_15",Z6e="_lockedWidth_19qzp_21",Su={content:W6e,collapsedNavHeader:G6e,collapsedNavContent:Y6e,openNavHeader:K6e,openNavContent:X6e,mask:Q6e,alertContainer:J6e,lockedWidth:Z6e};function e5e(e,t,r){const n=e?qd.Collapsed:qd.Open;return r?{state:qd.Hidden,showMask:!1}:t?{state:n,showMask:!e,contentClass:Su.collapsedNavContent,headerClass:Su.collapsedNavHeader}:{state:n,showMask:!1,contentClass:e?Su.collapsedNavContent:Su.openNavContent,headerClass:e?Su.collapsedNavHeader:Su.openNavHeader}}function t5e(e){const[t,r]=ba(mo.LEFT_NAV_STATE,e.state);return or.useEffect(()=>{r(e.state)},[e.state]),t}function r5e(e){const[t,r]=or.useState(e);return or.useEffect(()=>{r(e)},[e]),[t,r]}function n5e(){const{appLink:e}=pc.getCurrentRoute(),t=Ui.isObject(e.params)?e.params:{},{from:r,to:n,rangeName:i}=t,[a,o]=ba(mo.DATE_RANGE_QUERY_PARAMS,{}),u={};r&&(u.from=r),n&&(u.to=n),i&&(u.rangeName=i),or.useEffect(()=>{Ui.isEqual(a,u)||o(u)},[a,u])}function i5e(){const{appLink:e}=pc.getCurrentRoute(),t=Ui.isObject(e.params)?e.params:{},[r,n]=ba(mo.AUDIENCE_QUERY_PARAMS,{}),i=o=>{const u=t[o];if(u)return Array.isArray(u)?u:[u]},a={users:i("users"),classrooms:i("classrooms"),classroomGroups:i("classroomGroups")};or.useEffect(()=>{Ui.isEqual(r,a)||n(a)},[r,a])}function a5e(e){HMe(),zMe(),n5e(),i5e();const t=aDe(),r=t===fa.XS,n=t===fa.SM,i=t===fa.XXL,a=!i&&t!==fa.XL,[o,u]=r5e(!i),s=e5e(o,r||n,!!e.hideNav),c=t5e(s);let d=`${a?"container-fluid":"container"} px-3`;return e.hideHeader&&(d+=" pt-5"),he.useEffect(()=>{document.body.style.overflowY="scroll"},[]),j.jsx(mO,{renderError:()=>Oue({error:new sf}),children:j.jsxs("div",{className:Su.lockedWidth,children:[!e.hideHeader&&j.jsx(sUe,{className:s.headerClass,containerFluid:a}),j.jsx(jUe,{navState:c,toggleNav:u,headerHidden:e.hideHeader}),j.jsx("div",{className:`${Su.content} ${s.contentClass??""}`,children:j.jsxs("div",{className:d,children:[j.jsx(mO,{throwError:sf,children:e.contentChild}),j.jsx(WMe,{})]})}),j.jsx(mO,{throwError:iDe,children:e.popupChild}),s.showMask&&j.jsx("div",{className:`modal-backdrop show ${Su.mask}`}),!!e.alertChild&&j.jsx("div",{className:Su.alertContainer,children:e.alertChild})]})})}function o5e(e){return j.jsx(Jie,{store:e.store,children:j.jsx(tDe,{children:j.jsx(rDe,{children:j.jsx(nDe,{children:j.jsx(a5e,{...e})})})})})}class s5e extends NPe{constructor(t){super(t),this.childComponents={}}get name(){return"ReportsLayoutView"}get title(){return!1}get template(){return()=>'<div id="dialog-region"></div><div class="layout-region"></div>'}static getCacheKey(){return gs.REPORTS_LAYOUT}regions(){return{layout:{el:".layout-region",replaceEl:!0}}}getChildComponents(){return{contentChild:this.childComponents[Ur.CONTENT],popupChild:this.childComponents[Ur.POPUP],alertChild:this.childComponents[Ur.ALERT],store:this.options.store,hideNav:this.options.hideNav,hideHeader:this.options.hideHeader}}unsetRegion(t){delete this.childComponents[t],this.renderLayout()}closePopup(){this.unsetRegion(Ur.POPUP)}showChildView(t,r){this.childComponents[t]=r,this.renderLayout()}renderLayout(){super.showChildView("layout",j.jsx(o5e,{...this.getChildComponents()}))}}function u5e(e,t){e.registerLayout(gs.REPORTS_LAYOUT,s5e),t(e)}function l5e(e,t,r){q_.setUpVariables({isDevelopment:!1}),r(e,t)}function c5e(e){var t,r=e.Symbol;return typeof r=="function"?r.observable?t=r.observable:(t=r("observable"),r.observable=t):t="@@observable",t}var Ad;typeof self<"u"?Ad=self:typeof window<"u"?Ad=window:typeof globalThis<"u"?Ad=globalThis:typeof module<"u"?Ad=module:Ad=Function("return this")();var mee=c5e(Ad),fI=function(){return Math.random().toString(36).substring(7).split("").join(".")},Hv={INIT:"@@redux/INIT"+fI(),REPLACE:"@@redux/REPLACE"+fI(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+fI()}};function f5e(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Iue(e,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error("Expected the enhancer to be a function.");return r(Iue)(e,t)}if(typeof e!="function")throw new Error("Expected the reducer to be a function.");var i=e,a=t,o=[],u=o,s=!1;function c(){u===o&&(u=o.slice())}function d(){if(s)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return a}function h(y){if(typeof y!="function")throw new Error("Expected the listener to be a function.");if(s)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");var S=!0;return c(),u.push(y),function(){if(S){if(s)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");S=!1,c();var b=u.indexOf(y);u.splice(b,1)}}}function v(y){if(!f5e(y))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(typeof y.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(s)throw new Error("Reducers may not dispatch actions.");try{s=!0,a=i(a,y)}finally{s=!1}for(var S=o=u,w=0;w<S.length;w++){var b=S[w];b()}return y}function g(y){if(typeof y!="function")throw new Error("Expected the nextReducer to be a function.");i=y,v({type:Hv.REPLACE})}function m(){var y,S=h;return y={subscribe:function(b){if(typeof b!="object"||b===null)throw new TypeError("Expected the observer to be an object.");function A(){b.next&&b.next(d())}A();var R=S(A);return{unsubscribe:R}}},y[mee]=function(){return this},y}return v({type:Hv.INIT}),n={dispatch:v,subscribe:h,getState:d,replaceReducer:g},n[mee]=m,n}function d5e(e,t){var r=t&&t.type,n=r&&'action "'+String(r)+'"'||"an action";return"Given "+n+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function h5e(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:Hv.INIT});if(typeof n>"u")throw new Error('Reducer "'+t+`" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);if(typeof r(void 0,{type:Hv.PROBE_UNKNOWN_ACTION()})>"u")throw new Error('Reducer "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle "+Hv.INIT+' or other actions in "redux/*" ')+"namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.")})}function v5e(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var i=t[n];typeof e[i]=="function"&&(r[i]=e[i])}var a=Object.keys(r),o;try{h5e(r)}catch(u){o=u}return function(s,c){if(s===void 0&&(s={}),o)throw o;for(var d=!1,h={},v=0;v<a.length;v++){var g=a[v],m=r[g],y=s[g],S=m(y,c);if(typeof S>"u"){var w=d5e(g,c);throw new Error(w)}h[g]=S,d=d||S!==y}return d?h:s}}function p5e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yee(e,t){var r=Object.keys(e);return Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(e)),t&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r}function g5e(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?yee(r,!0).forEach(function(n){p5e(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):yee(r).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function m5e(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function y5e(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},u=t.map(function(s){return s(o)});return a=m5e.apply(void 0,u)(i.dispatch),g5e({},i,{dispatch:a})}}}function _5e(e){const{authenticationError:t}=e;return function(){return n=>i=>{var o;const a=i;if(i.type===ho.API_ERROR&&t&&((o=a==null?void 0:a.xhr)==null?void 0:o.status)===F_.Unauthorized)return vr.throw(new t("dark"));if(i.type!==ho.API_RESPONSE){n(i);return}n(i)}}}function S5e(e,t){return typeof t.payload.dataOrKey=="string"&&t.payload.keyData!==void 0?{...e,[t.payload.viewModelKey]:{...e[t.payload.viewModelKey],[t.payload.dataOrKey]:t.payload.keyData}}:typeof t.payload.dataOrKey=="object"&&Array.isArray(t.payload.dataOrKey)?{...e,[t.payload.viewModelKey]:t.payload.dataOrKey}:{...e,[t.payload.viewModelKey]:t.payload.dataOrKey}}function E5e(e={},t){switch(t.type){case Yk.UPDATE:return S5e(e,t)}return e}const bm="shared.authentication";class w5e extends $f{constructor(t){super(gr.getPhrase(bm,"title")),this.btnVariant=t}get name(){return"AuthenticationError"}get dialogOptions(){return{title:gr.getPhrase(bm,"heading"),text:gr.getPhrase(bm,"body"),buttons:[{text:gr.getPhrase(bm,"reload"),className:`btn btn-${this.btnVariant}`,success:!0}]}}onDone(){Yn.Reload()}}const Vd={hasTokenExpired(e){return typeof(e==null?void 0:e.localTTL)!="number"?!1:new Date().getTime()>e.localTTL},getToken(e,t){var a,o,u,s;const r=py(e.getState(),ll.TOKEN),n=Vd.hasTokenExpired(r.data);if((r.shouldFetch||n)&&!r.isFetching){Rh(e.dispatch,t);return}if(r.isFetching){let c=!1;const d=e.subscribe(()=>{d(),!c&&(c=!0,Vd.getToken(e,t))});return}r.hasError?((a=t.error)==null||a.call(t,{status:r.statusCode,getResponseHeader:null}),(o=t.always)==null||o.call(t)):((u=t.success)==null||u.call(t,r.data),(s=t.always)==null||s.call(t))},async getTokenAsync(e){const t=Pue.getToken();return t||new Promise((r,n)=>{const i=o=>r(o),a=o=>n(o);Vd.getToken(e,Wi.token(i,a))})}},b5e=oa.Router.prototype._routeToRegExp("share/embed/:id(/)"),T5e=oa.Router.prototype._routeToRegExp("videos/embed/:id(/)"),Pue={applyToken(e){const t=pc.getCurrentRoute().appLink,r=Kn.getHref({...t,params:{...typeof t.params=="object"?t.params:{},embedToken:e==null?void 0:e.value,localTTL:e==null?void 0:e.localTTL,a:!0}});Yn.PageLoad(r)},getToken(){const e=oa.history.getFragment(Yn.GetCurrentPath()),t=b5e.test(e),r=T5e.test(e);if(!t&&!r||!window.URLSearchParams)return null;const n=new URLSearchParams(window.location.search),i=n.get("embedToken"),a=parseInt(n.get("localTTL"));if(!i||!a)return null;const o={value:i,localTTL:isNaN(a)?null:a};return Vd.hasTokenExpired(o)?null:o}};function R5e(){const e=Pue.getToken();return e?function(r,n){if(!r.resource.startsWith("/"))return n(r);Vd.hasTokenExpired(e)||(r.headers={...r.headers??{},authorization:`Bearer ${e.value}`}),n(r)}:(t,r)=>r(t)}const _ee={"{gateway}":"gatewayApiUrl","{image}":"imageCdnUrl","{integrations}":"integrationsApiUrl","{player}":"playerApiUrl"};function x5e(e){return async function(r,n){const i=Object.keys(_ee).find(o=>r.resource.startsWith(o));if(!i)return n(r);function a(o,u){const s=o[_ee[i]],c={...r,resource:NI.safeUrlConcat(s,r.resource.split(`${i}/`)[1])};u!=null&&u.value&&(c.headers={...c.headers??{},authorization:`Bearer ${u.value}`}),n(c)}try{const o=await Xa(e,of.config());if(!(await Xa(e,Wi.currentUser())).isAuthenticated){a(o);return}const s=await Vd.getTokenAsync(e);a(o,s)}catch{n(r)}}}const See=/\(([^()]*)\)/g;function C5e(e,t){return function(n,i){i({...n,resource:n.resource.replace(e,t)})}}function A5e(e,t){function r(n){return function(a){const o=t[a];if(typeof o=="string"){n.useAsync(C5e(a,o));return}o&&n.useAsync(o)}}return function(i,a){var v;const o=new Md,u=new Md,s={resource:i.resource,store:e},c={resource:null,store:e},d=(v=i.data)==null?void 0:v.ogql;if(decodeURIComponent(i.resource).replace(See,r(o)),d){const g=JSON.stringify(i.data.ogql);c.resource=g,g.replace(See,r(u))}o.goAsync(s,g=>{u.goAsync(c,m=>{a({...i,resource:g.resource,data:d?{...i.data,ogql:JSON.parse(m.resource)}:i.data})})})}}function O5e(e,t){return function(n){const i=new Md;i.useAsync(x5e(e.store)),i.useAsync(A5e(e.store,t)),i.useAsync(R5e()),i.goAsync(n,a=>{DI(a)})}}const I5e=[br.ShareToGoogleClassroom,br.ShareToMicrosoftTeams,br.ShareOverrideRestrictions,br.HasClassrooms,br.HasShareFlowV2];function P5e(e){return function(r,n){const i=I5e.map(o=>`type=${o}`).join("&"),a=r.resource.replace(e,i);n({...r,resource:a})}}const D5e={[ea.CLIP]:"_parentVideo",[ea.CLIP_COLLECTION]:"_parentVideo[_rating],_thumbnail",[ea.INTERACTIVE]:"_parentClip,_parentVideo",[ea.INTERACTIVE_COLLECTION]:"_parentVideo[_rating],_parentClip,_thumbnail",[ea.VIDEO_COLLECTION]:"thumbnail,series","(customerSettings)":P5e("(customerSettings)"),"(userSettings)":""};function k5e(e,t){const r=v5e({flightData:eTe,viewModelData:E5e}),n=Ybe({fetchData:O5e(e,D5e),bootstrappedData:window.bootstrapData||{},defaultCacheDuration:nP.STANDARD}),i=_5e({authenticationError:w5e});function a(u){e.registerStore(u),t(),delete window.bootstrapData}const o=Iue(r,y5e(n,i));a(o)}async function N5e(e,t){try{const r=await ak(e.store.dispatch,of.config());Iy.initialize({product:Lo.Primary,liteSupportSiteUrl:r.liteSupportSiteUrl}),t(e)}catch{t(e)}}const Eee={locale(){return{url:"/api/locale",key:"locale",bootstrapName:ll.LOCALE}},phrases(){return{url:"/api/phrases",key:"phrases",bootstrapName:ll.PHRASES}}};async function L5e(e,t){let r;try{r=Xa(e.store,Eee.phrases());const n=Xa(e.store,Eee.locale());gr.setConfig({locale:await n,phrases:await r})}catch(n){console.error(n)}finally{t(e)}}const bN=new Ewe({region:"#app",layoutService:new _we({})});bN.addInitializationStep(k5e).addInitializationStep(L5e).addInitializationStep(YCe).addInitializationStep(XCe).addInitializationStep(eAe).addInitializationStep(RPe).addInitializationStep(ixe).addInitializationStep(u5e).addInitializationStep(kPe).addInitializationStep(N5e);bN.addStartUpStep(l5e);bN.start();export{NMe as $,Jr as A,hn as B,of as C,Zi as D,Dae as E,gi as F,Wae as G,nOe as H,g0 as I,np as J,rp as K,gr as L,Tk as M,cZ as N,Eu as O,Na as P,eue as Q,Mk as R,s2e as S,up as T,Wi as U,mo as V,zo as W,oDe as X,RIe as Y,uP as Z,Yse as _,j6e as a,i1e as a$,wa as a0,gae as a1,YRe as a2,Bt as a3,ef as a4,GI as a5,Zs as a6,cl as a7,Js as a8,A3e as a9,CQ as aA,xv as aB,Os as aC,_ae as aD,jn as aE,Xr as aF,J2e as aG,K2e as aH,Lo as aI,hDe as aJ,$r as aK,Cv as aL,n0 as aM,Yn as aN,Pae as aO,tl as aP,Qm as aQ,h2e as aR,f2e as aS,c2e as aT,Qse as aU,Kl as aV,zn as aW,tue as aX,L2e as aY,rue as aZ,X1e as a_,Ay as aa,zl as ab,CMe as ac,Zp as ad,Wp as ae,Xu as af,Id as ag,Ui as ah,Gk as ai,Cse as aj,br as ak,Nf as al,mae as am,Rh as an,Q_ as ao,Xs as ap,tAe as aq,zbe as ar,ree as as,ka as at,ec as au,xn as av,fn as aw,$f as ax,nxe as ay,vr as az,yc as b,zAe as b$,Th as b0,o1e as b1,$ie as b2,Q1e as b3,j1e as b4,Fp as b5,bh as b6,G1e as b7,QD as b8,H_ as b9,E3e as bA,dDe as bB,sN as bC,Cn as bD,Hbe as bE,zm as bF,da as bG,On as bH,Jl as bI,Zd as bJ,ea as bK,H4e as bL,q4e as bM,XZ as bN,QZ as bO,K4e as bP,YAe as bQ,Kn as bR,pc as bS,MMe as bT,mi as bU,gP as bV,H5e as bW,$n as bX,jv as bY,F_ as bZ,BMe as b_,g1e as ba,ek as bb,Uie as bc,kie as bd,C1e as be,Oie as bf,S1e as bg,Zwe as bh,Mie as bi,u1e as bj,jp as bk,Z1e as bl,B1e as bm,J1e as bn,Nie as bo,K1e as bp,ji as bq,WAe as br,B5e as bs,V5e as bt,q5e as bu,Yoe as bv,Sm as bw,lue as bx,Yu as by,fi as bz,ba as c,ePe as c0,rP as c1,Fd as c2,Nv as c3,G5e as c4,ZZ as c5,Kae as c6,oOe as c7,sOe as c8,ts as c9,fde as cA,Fde as cB,qde as cC,Pte as cD,Rpe as cE,Ppe as cF,bce as cG,cfe as cH,ZP as cI,Jhe as cJ,ive as cK,OPe as cL,Mf as cM,Iy as cN,nue as cO,sf as cP,Gbe as cQ,Zje as cR,Nae as cS,Ld as cT,Qs as cU,qp as cV,fa as ca,P4e as cb,II as cc,HI as cd,$5e as ce,Qv as cf,VK as cg,BTe as ch,sX as ci,zRe as cj,yk as ck,jAe as cl,HRe as cm,GRe as cn,Ipe as co,j_ as cp,BI as cq,Yie as cr,WRe as cs,KRe as ct,Lk as cu,el as cv,cPe as cw,hce as cx,oce as cy,Qy as cz,hN as d,Y5e as e,KZ as f,dr as g,Ri as h,os as i,j,W5e as k,un as l,JZ as m,cN as n,dp as o,or as p,z5e as q,he as r,dn as s,Oue as t,Ii as u,Qa as v,Xoe as w,Pd as x,In as y,TOe as z};
228
- //# sourceMappingURL=app-BDrXtKwD.js.map