@clickview/exchange 0.49.0 → 0.50.0-rc.2

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 (379) hide show
  1. package/dist/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
  2. package/dist/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
  3. package/dist/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
  4. package/dist/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
  5. package/dist/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
  6. package/dist/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
  7. package/dist/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
  8. package/dist/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
  9. package/dist/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
  10. package/dist/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
  11. package/dist/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
  12. package/dist/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
  13. package/dist/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
  14. package/dist/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
  15. package/dist/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
  16. package/dist/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
  17. package/dist/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
  18. package/dist/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
  19. package/dist/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
  20. package/dist/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
  21. package/dist/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
  22. package/dist/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
  23. package/dist/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
  24. package/dist/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
  25. package/dist/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
  26. package/dist/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
  27. package/dist/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
  28. package/dist/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
  29. package/dist/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
  30. package/dist/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
  31. package/dist/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
  32. package/dist/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
  33. package/dist/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
  34. package/dist/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
  35. package/dist/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
  36. package/dist/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
  37. package/dist/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
  38. package/dist/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
  39. package/dist/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
  40. package/dist/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
  41. package/dist/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
  42. package/dist/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
  43. package/dist/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
  44. package/dist/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
  45. package/dist/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
  46. package/dist/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
  47. package/dist/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
  48. package/dist/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
  49. package/dist/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
  50. package/dist/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
  51. package/dist/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
  52. package/dist/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
  53. package/dist/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
  54. package/dist/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
  55. package/dist/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
  56. package/dist/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
  57. package/dist/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
  58. package/dist/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
  59. package/dist/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
  60. package/dist/bundles.json +2 -2
  61. package/dist/css/B57G3PZD.chunk.css +1 -0
  62. package/dist/css/BBV1d-ZI.chunk.css +1 -0
  63. package/dist/css/BDOTXlob.chunk.css +1 -0
  64. package/dist/css/BIeUeS4h.chunk.css +1 -0
  65. package/dist/css/BPdg7JW4.chunk.css +1 -0
  66. package/dist/css/BiRz4h1c.chunk.css +1 -0
  67. package/dist/css/Bt3pBBLn.chunk.css +1 -0
  68. package/dist/css/Bz8F9buU.chunk.css +1 -0
  69. package/dist/css/C2R4QydJ.chunk.css +1 -0
  70. package/dist/css/C7XoyEPr.chunk.css +1 -0
  71. package/dist/css/CAdv9Saa.chunk.css +1 -0
  72. package/dist/css/CC5F5C8O.chunk.css +1 -0
  73. package/dist/css/CCsCPLDG.chunk.css +1 -0
  74. package/dist/css/CD1qrI1T.chunk.css +1 -0
  75. package/dist/css/CDiJwtuL.chunk.css +1 -0
  76. package/dist/css/CM-cscAF.chunk.css +1 -0
  77. package/dist/css/CY0yvCW4.chunk.css +1 -0
  78. package/dist/css/Ci6HCTb5.chunk.css +1 -0
  79. package/dist/css/CifDVjr-.chunk.css +1 -0
  80. package/dist/css/CphXVlxY.chunk.css +1 -0
  81. package/dist/css/CrSv-tYo.chunk.css +1 -0
  82. package/dist/css/DD13UQOa.chunk.css +1 -0
  83. package/dist/css/DGyCCqtO.chunk.css +1 -0
  84. package/dist/css/DI4l_5OJ.chunk.css +1 -0
  85. package/dist/css/DL_jCfRl.chunk.css +1 -0
  86. package/dist/css/DRlDmMhN.chunk.css +1 -0
  87. package/dist/css/Dkh6sNpi.chunk.css +1 -0
  88. package/dist/css/DlOtoSz0.chunk.css +1 -0
  89. package/dist/css/DnhNnDZN.chunk.css +1 -0
  90. package/dist/css/EnQ3abug.chunk.css +1 -0
  91. package/dist/css/O777zV0C.chunk.css +1 -0
  92. package/dist/css/fs02hBfZ.chunk.css +1 -0
  93. package/dist/css/jbMisi9r.chunk.css +1 -0
  94. package/dist/css/w4TLT4f5.chunk.css +1 -0
  95. package/dist/en.json +1 -0
  96. package/dist/scripts/-rDA7laA.chunk.js +2 -0
  97. package/dist/scripts/-rDA7laA.chunk.js.map +1 -0
  98. package/dist/scripts/1oBN4k-t.chunk.js +2 -0
  99. package/dist/scripts/1oBN4k-t.chunk.js.map +1 -0
  100. package/dist/scripts/5EeDosB6.chunk.js +15 -0
  101. package/dist/scripts/5EeDosB6.chunk.js.map +1 -0
  102. package/dist/scripts/6D5NxiDj.chunk.js +2 -0
  103. package/dist/scripts/6D5NxiDj.chunk.js.map +1 -0
  104. package/dist/scripts/7fC_wUI0.chunk.js +2 -0
  105. package/dist/scripts/7fC_wUI0.chunk.js.map +1 -0
  106. package/dist/scripts/B1QnQX6X.chunk.js +2 -0
  107. package/dist/scripts/B1QnQX6X.chunk.js.map +1 -0
  108. package/dist/scripts/B5a9j4D_.chunk.js +2 -0
  109. package/dist/scripts/B5a9j4D_.chunk.js.map +1 -0
  110. package/dist/scripts/B668bf5B.chunk.js +2 -0
  111. package/dist/scripts/B668bf5B.chunk.js.map +1 -0
  112. package/dist/scripts/B93FMGSP.chunk.js +2 -0
  113. package/dist/scripts/B93FMGSP.chunk.js.map +1 -0
  114. package/dist/scripts/BBhJOnJs.chunk.js +2 -0
  115. package/dist/scripts/BBhJOnJs.chunk.js.map +1 -0
  116. package/dist/scripts/BHy7EHYB.chunk.js +2 -0
  117. package/dist/scripts/BHy7EHYB.chunk.js.map +1 -0
  118. package/dist/scripts/BI7-pkuo.chunk.js +2 -0
  119. package/dist/scripts/BI7-pkuo.chunk.js.map +1 -0
  120. package/dist/scripts/BNoyVB0N.chunk.js +2 -0
  121. package/dist/scripts/BNoyVB0N.chunk.js.map +1 -0
  122. package/dist/scripts/BOzZT1qL.chunk.js +2 -0
  123. package/dist/scripts/BOzZT1qL.chunk.js.map +1 -0
  124. package/dist/scripts/BTq4W22K.chunk.js +2 -0
  125. package/dist/scripts/BTq4W22K.chunk.js.map +1 -0
  126. package/dist/scripts/BeyY1CwV.chunk.js +2 -0
  127. package/dist/scripts/BeyY1CwV.chunk.js.map +1 -0
  128. package/dist/scripts/Bi0GaEZE.chunk.js +2 -0
  129. package/dist/scripts/Bi0GaEZE.chunk.js.map +1 -0
  130. package/dist/scripts/Bksx5ui9.chunk.js +2 -0
  131. package/dist/scripts/Bksx5ui9.chunk.js.map +1 -0
  132. package/dist/scripts/BlDVEZsX.chunk.js +2 -0
  133. package/dist/scripts/BlDVEZsX.chunk.js.map +1 -0
  134. package/dist/scripts/BoXsW16j.chunk.js +2 -0
  135. package/dist/scripts/BoXsW16j.chunk.js.map +1 -0
  136. package/dist/scripts/BopIehJE.chunk.js +2 -0
  137. package/dist/scripts/BopIehJE.chunk.js.map +1 -0
  138. package/dist/scripts/BpkgwVDj.chunk.js +2 -0
  139. package/dist/scripts/BpkgwVDj.chunk.js.map +1 -0
  140. package/dist/scripts/Bq1eQRV_.chunk.js +2 -0
  141. package/dist/scripts/Bq1eQRV_.chunk.js.map +1 -0
  142. package/dist/scripts/Bsw4ZO9U.chunk.js +2 -0
  143. package/dist/scripts/Bsw4ZO9U.chunk.js.map +1 -0
  144. package/dist/scripts/BuawzJwd.chunk.js +2 -0
  145. package/dist/scripts/BuawzJwd.chunk.js.map +1 -0
  146. package/dist/scripts/BvnJNI_Y.chunk.js +2 -0
  147. package/dist/scripts/BvnJNI_Y.chunk.js.map +1 -0
  148. package/dist/scripts/Bz18U45-.chunk.js +2 -0
  149. package/dist/scripts/Bz18U45-.chunk.js.map +1 -0
  150. package/dist/scripts/C36BgTJV.chunk.js +2 -0
  151. package/dist/scripts/C36BgTJV.chunk.js.map +1 -0
  152. package/dist/scripts/C5r1_Fc_.chunk.js +2 -0
  153. package/dist/scripts/C5r1_Fc_.chunk.js.map +1 -0
  154. package/dist/scripts/C6bEPV55.chunk.js +2 -0
  155. package/dist/scripts/C6bEPV55.chunk.js.map +1 -0
  156. package/dist/scripts/C7lfPlyo.chunk.js +2 -0
  157. package/dist/scripts/C7lfPlyo.chunk.js.map +1 -0
  158. package/dist/scripts/C8aildLX.chunk.js +2 -0
  159. package/dist/scripts/C8aildLX.chunk.js.map +1 -0
  160. package/dist/scripts/C8geGHZf.chunk.js +2 -0
  161. package/dist/scripts/C8geGHZf.chunk.js.map +1 -0
  162. package/dist/scripts/C97fjHLE.chunk.js +2 -0
  163. package/dist/scripts/C97fjHLE.chunk.js.map +1 -0
  164. package/dist/scripts/C99JIGI3.chunk.js +2 -0
  165. package/dist/scripts/C99JIGI3.chunk.js.map +1 -0
  166. package/dist/scripts/CBTOSLnS.chunk.js +2 -0
  167. package/dist/scripts/CBTOSLnS.chunk.js.map +1 -0
  168. package/dist/scripts/CBlUYGqN.chunk.js +2 -0
  169. package/dist/scripts/CBlUYGqN.chunk.js.map +1 -0
  170. package/dist/scripts/CDVd8Gzo.chunk.js +2 -0
  171. package/dist/scripts/CDVd8Gzo.chunk.js.map +1 -0
  172. package/dist/scripts/CEZiVSXU.chunk.js +2 -0
  173. package/dist/scripts/CEZiVSXU.chunk.js.map +1 -0
  174. package/dist/scripts/CHPVU_Qn.chunk.js +362 -0
  175. package/dist/scripts/CHPVU_Qn.chunk.js.map +1 -0
  176. package/dist/scripts/CHa6bZJR.chunk.js +2 -0
  177. package/dist/scripts/CHa6bZJR.chunk.js.map +1 -0
  178. package/dist/scripts/CJ3oIQlG.chunk.js +2 -0
  179. package/dist/scripts/CJ3oIQlG.chunk.js.map +1 -0
  180. package/dist/scripts/CRomQTdh.chunk.js +50 -0
  181. package/dist/scripts/CRomQTdh.chunk.js.map +1 -0
  182. package/dist/scripts/CRuObGvW.chunk.js +2 -0
  183. package/dist/scripts/CRuObGvW.chunk.js.map +1 -0
  184. package/dist/scripts/CX6fV4JE.chunk.js +2 -0
  185. package/dist/scripts/CX6fV4JE.chunk.js.map +1 -0
  186. package/dist/scripts/CYuY28rl.chunk.js +2 -0
  187. package/dist/scripts/CYuY28rl.chunk.js.map +1 -0
  188. package/dist/scripts/C_sNZ3q9.chunk.js +2 -0
  189. package/dist/scripts/C_sNZ3q9.chunk.js.map +1 -0
  190. package/dist/scripts/CdGLJKZk.chunk.js +2 -0
  191. package/dist/scripts/CdGLJKZk.chunk.js.map +1 -0
  192. package/dist/scripts/Cdo-iAIt.chunk.js +2 -0
  193. package/dist/scripts/Cdo-iAIt.chunk.js.map +1 -0
  194. package/dist/scripts/CeVw08Ln.chunk.js +2 -0
  195. package/dist/scripts/CeVw08Ln.chunk.js.map +1 -0
  196. package/dist/scripts/CfRzFJ31.chunk.js +2 -0
  197. package/dist/scripts/CfRzFJ31.chunk.js.map +1 -0
  198. package/dist/scripts/CiRJHxmU.chunk.js +8 -0
  199. package/dist/scripts/CiRJHxmU.chunk.js.map +1 -0
  200. package/dist/scripts/CidPoXbD.chunk.js +2 -0
  201. package/dist/scripts/CidPoXbD.chunk.js.map +1 -0
  202. package/dist/scripts/CmcCT6Mq.chunk.js +2 -0
  203. package/dist/scripts/CmcCT6Mq.chunk.js.map +1 -0
  204. package/dist/scripts/Cmu1J2M7.chunk.js +262 -0
  205. package/dist/scripts/Cmu1J2M7.chunk.js.map +1 -0
  206. package/dist/scripts/CrAxON7A.chunk.js +2 -0
  207. package/dist/scripts/CrAxON7A.chunk.js.map +1 -0
  208. package/dist/scripts/Ct_04zDE.chunk.js +2 -0
  209. package/dist/scripts/Ct_04zDE.chunk.js.map +1 -0
  210. package/dist/scripts/CtciUXp4.chunk.js +2 -0
  211. package/dist/scripts/CtciUXp4.chunk.js.map +1 -0
  212. package/dist/scripts/CxB8O87g.chunk.js +2 -0
  213. package/dist/scripts/CxB8O87g.chunk.js.map +1 -0
  214. package/dist/scripts/Cyhg-nBj.chunk.js +2 -0
  215. package/dist/scripts/Cyhg-nBj.chunk.js.map +1 -0
  216. package/dist/scripts/D1fkcw30.chunk.js +2 -0
  217. package/dist/scripts/D1fkcw30.chunk.js.map +1 -0
  218. package/dist/scripts/DHjeFsuP.chunk.js +5 -0
  219. package/dist/scripts/DHjeFsuP.chunk.js.map +1 -0
  220. package/dist/scripts/DRxJfu3A.chunk.js +2 -0
  221. package/dist/scripts/DRxJfu3A.chunk.js.map +1 -0
  222. package/dist/scripts/DT1DdOeu.chunk.js +2 -0
  223. package/dist/scripts/DT1DdOeu.chunk.js.map +1 -0
  224. package/dist/scripts/DU8kVZuh.chunk.js +2 -0
  225. package/dist/scripts/DU8kVZuh.chunk.js.map +1 -0
  226. package/dist/scripts/DWmgmt8-.chunk.js +2 -0
  227. package/dist/scripts/DWmgmt8-.chunk.js.map +1 -0
  228. package/dist/scripts/DXRtwYU8.chunk.js +2 -0
  229. package/dist/scripts/DXRtwYU8.chunk.js.map +1 -0
  230. package/dist/scripts/DYjoaCnl.chunk.js +2 -0
  231. package/dist/scripts/DYjoaCnl.chunk.js.map +1 -0
  232. package/dist/scripts/DbVI3h0V.chunk.js +2 -0
  233. package/dist/scripts/DbVI3h0V.chunk.js.map +1 -0
  234. package/dist/scripts/DcA5xG6o.chunk.js +2 -0
  235. package/dist/scripts/DcA5xG6o.chunk.js.map +1 -0
  236. package/dist/scripts/DgWxzhMg.chunk.js +2 -0
  237. package/dist/scripts/DgWxzhMg.chunk.js.map +1 -0
  238. package/dist/scripts/Dh_LRqD1.chunk.js +2 -0
  239. package/dist/scripts/Dh_LRqD1.chunk.js.map +1 -0
  240. package/dist/scripts/DiR2eKm4.chunk.js +2 -0
  241. package/dist/scripts/DiR2eKm4.chunk.js.map +1 -0
  242. package/dist/scripts/Dmfr0hZx.chunk.js +2 -0
  243. package/dist/scripts/Dmfr0hZx.chunk.js.map +1 -0
  244. package/dist/scripts/DsCrIxlP.chunk.js +2 -0
  245. package/dist/scripts/DsCrIxlP.chunk.js.map +1 -0
  246. package/dist/scripts/DuHiL0j5.chunk.js +2 -0
  247. package/dist/scripts/DuHiL0j5.chunk.js.map +1 -0
  248. package/dist/scripts/DwMcJ3Ip.chunk.js +2 -0
  249. package/dist/scripts/DwMcJ3Ip.chunk.js.map +1 -0
  250. package/dist/scripts/DxkmuWkI.chunk.js +2 -0
  251. package/dist/scripts/DxkmuWkI.chunk.js.map +1 -0
  252. package/dist/scripts/DzbCvkXx.chunk.js +2 -0
  253. package/dist/scripts/DzbCvkXx.chunk.js.map +1 -0
  254. package/dist/scripts/Kj832An8.chunk.js +2 -0
  255. package/dist/scripts/Kj832An8.chunk.js.map +1 -0
  256. package/dist/scripts/OpOTepmF.chunk.js +2 -0
  257. package/dist/scripts/OpOTepmF.chunk.js.map +1 -0
  258. package/dist/scripts/OvG1eOzS.chunk.js +6 -0
  259. package/dist/scripts/OvG1eOzS.chunk.js.map +1 -0
  260. package/dist/scripts/QfCSKVqV.chunk.js +2 -0
  261. package/dist/scripts/QfCSKVqV.chunk.js.map +1 -0
  262. package/dist/scripts/U4HYh7oC.chunk.js +2 -0
  263. package/dist/scripts/U4HYh7oC.chunk.js.map +1 -0
  264. package/dist/scripts/W8wegH66.chunk.js +2 -0
  265. package/dist/scripts/W8wegH66.chunk.js.map +1 -0
  266. package/dist/scripts/WHGl124l.chunk.js +2 -0
  267. package/dist/scripts/WHGl124l.chunk.js.map +1 -0
  268. package/dist/scripts/_sYSSSUN.chunk.js +2 -0
  269. package/dist/scripts/_sYSSSUN.chunk.js.map +1 -0
  270. package/dist/scripts/aFUDBFEd.chunk.js +2 -0
  271. package/dist/scripts/aFUDBFEd.chunk.js.map +1 -0
  272. package/dist/scripts/app-Det8y4U1.js +219 -0
  273. package/dist/scripts/app-Det8y4U1.js.map +1 -0
  274. package/dist/scripts/cw1CbjiZ.chunk.js +2 -0
  275. package/dist/scripts/cw1CbjiZ.chunk.js.map +1 -0
  276. package/dist/scripts/d_OewpIc.chunk.js +2 -0
  277. package/dist/scripts/d_OewpIc.chunk.js.map +1 -0
  278. package/dist/scripts/dnQMOuPg.chunk.js +2 -0
  279. package/dist/scripts/dnQMOuPg.chunk.js.map +1 -0
  280. package/dist/scripts/h68xZO90.chunk.js +2 -0
  281. package/dist/scripts/h68xZO90.chunk.js.map +1 -0
  282. package/dist/scripts/l-2DoY9E.chunk.js +2 -0
  283. package/dist/scripts/l-2DoY9E.chunk.js.map +1 -0
  284. package/dist/scripts/mALBAvSP.chunk.js +3 -0
  285. package/dist/scripts/mALBAvSP.chunk.js.map +1 -0
  286. package/dist/scripts/pkzD5BEm.chunk.js +2 -0
  287. package/dist/scripts/pkzD5BEm.chunk.js.map +1 -0
  288. package/dist/scripts/wKPIC1H3.chunk.js +2 -0
  289. package/dist/scripts/wKPIC1H3.chunk.js.map +1 -0
  290. package/dist/scripts/x8TB7tv6.chunk.js +2 -0
  291. package/dist/scripts/x8TB7tv6.chunk.js.map +1 -0
  292. package/dist/scripts/z6Us1EdG.chunk.js +2 -0
  293. package/dist/scripts/z6Us1EdG.chunk.js.map +1 -0
  294. package/package.json +7 -4
  295. package/typings/utils/env.d.ts +3 -0
  296. package/typings/utils/imports.d.ts +1 -1
  297. package/vite.config.ts +6 -0
  298. package/dist/css/1068-exchange-b5eaf8af44.chunk.css +0 -35
  299. package/dist/css/1127-exchange-0eab318199.chunk.css +0 -40
  300. package/dist/css/1226-exchange-217b44f8b4.chunk.css +0 -57
  301. package/dist/css/1861-exchange-f3ff7e4f0d.chunk.css +0 -85
  302. package/dist/css/2494-exchange-02d7a0249c.chunk.css +0 -2
  303. package/dist/css/2538-exchange-4cbfe56ba3.chunk.css +0 -1
  304. package/dist/css/3291-exchange-3a8e198338.chunk.css +0 -11
  305. package/dist/css/3858-exchange-06944bdfa4.chunk.css +0 -1
  306. package/dist/css/4075-exchange-6d2304419c.chunk.css +0 -5
  307. package/dist/css/5027-exchange-2284222ca6.chunk.css +0 -25
  308. package/dist/css/6298-exchange-78ece5c7c5.chunk.css +0 -37
  309. package/dist/css/6332-exchange-2a22bfa655.chunk.css +0 -1
  310. package/dist/css/6356-exchange-8c5b220bf6.chunk.css +0 -1
  311. package/dist/css/7095-exchange-4cbfe56ba3.chunk.css +0 -1
  312. package/dist/css/7759-exchange-23bb5dd175.chunk.css +0 -8
  313. package/dist/css/8294-exchange-c797263ac2.chunk.css +0 -1
  314. package/dist/css/8589-exchange-71b6bc18f9.chunk.css +0 -11
  315. package/dist/css/8866-exchange-e80e6c6649.chunk.css +0 -10
  316. package/dist/css/9212-exchange-d71527fc65.chunk.css +0 -1
  317. package/dist/css/9611-exchange-cbf2bb5621.chunk.css +0 -5
  318. package/dist/css/9958-exchange-1387f35e92.chunk.css +0 -14
  319. package/dist/css/lite-exchange-306a09841f.css +0 -15
  320. package/dist/languages/en.json +0 -1
  321. package/dist/scripts/1068-0b00683666-exchange.chunk.js +0 -1
  322. package/dist/scripts/1127-356b23351e-exchange.chunk.js +0 -1
  323. package/dist/scripts/1136-4d8336cfdf-exchange.chunk.js +0 -2
  324. package/dist/scripts/1136-4d8336cfdf-exchange.chunk.js.LICENSE.txt +0 -1
  325. package/dist/scripts/1226-a4c0643661-exchange.chunk.js +0 -1
  326. package/dist/scripts/1861-5966a23e19-exchange.chunk.js +0 -2
  327. package/dist/scripts/1861-5966a23e19-exchange.chunk.js.LICENSE.txt +0 -1
  328. package/dist/scripts/2087-bbc1fd721f-exchange.chunk.js +0 -1
  329. package/dist/scripts/2117-5d867c698d-exchange.chunk.js +0 -1
  330. package/dist/scripts/2127-71bf57d74b-exchange.chunk.js +0 -1
  331. package/dist/scripts/2494-98cce57764-exchange.chunk.js +0 -2
  332. package/dist/scripts/2494-98cce57764-exchange.chunk.js.LICENSE.txt +0 -1
  333. package/dist/scripts/2507-1911a9bdb2-exchange.chunk.js +0 -1
  334. package/dist/scripts/2538-997edb9433-exchange.chunk.js +0 -2
  335. package/dist/scripts/2538-997edb9433-exchange.chunk.js.LICENSE.txt +0 -1
  336. package/dist/scripts/2648-4197959943-exchange.chunk.js +0 -1
  337. package/dist/scripts/2877-eee7fe484e-exchange.chunk.js +0 -1
  338. package/dist/scripts/3291-f9ccc2ea28-exchange.chunk.js +0 -1
  339. package/dist/scripts/3858-cd9d38c31c-exchange.chunk.js +0 -1
  340. package/dist/scripts/4075-6624f96fc6-exchange.chunk.js +0 -1
  341. package/dist/scripts/4299-36e5929cc6-exchange.chunk.js +0 -1
  342. package/dist/scripts/4312-552ca118ad-exchange.chunk.js +0 -1
  343. package/dist/scripts/442-47e3927b49-exchange.chunk.js +0 -1
  344. package/dist/scripts/455-ceeb969c54-exchange.chunk.js +0 -1
  345. package/dist/scripts/4558-057650ef22-exchange.chunk.js +0 -1
  346. package/dist/scripts/5027-357264982b-exchange.chunk.js +0 -1
  347. package/dist/scripts/5173-9cde8f68d3-exchange.chunk.js +0 -1
  348. package/dist/scripts/5267-443f3cdd59-exchange.chunk.js +0 -1
  349. package/dist/scripts/601-a3c22b0a9f-exchange.chunk.js +0 -1
  350. package/dist/scripts/6156-2bf99d5991-exchange.chunk.js +0 -1
  351. package/dist/scripts/6298-1c7a0ba516-exchange.chunk.js +0 -1
  352. package/dist/scripts/6332-9d2d42e2f9-exchange.chunk.js +0 -1
  353. package/dist/scripts/6356-dd8ff70cbb-exchange.chunk.js +0 -1
  354. package/dist/scripts/6725-25d1542dec-exchange.chunk.js +0 -1
  355. package/dist/scripts/6831-30fa3e741e-exchange.chunk.js +0 -1
  356. package/dist/scripts/7095-ee45499a0d-exchange.chunk.js +0 -2
  357. package/dist/scripts/7095-ee45499a0d-exchange.chunk.js.LICENSE.txt +0 -1
  358. package/dist/scripts/7170-cc2ea0de18-exchange.chunk.js +0 -1
  359. package/dist/scripts/7759-2740213eb8-exchange.chunk.js +0 -1
  360. package/dist/scripts/7782-36924dba92-exchange.chunk.js +0 -1
  361. package/dist/scripts/7925-978cf5d7fb-exchange.chunk.js +0 -1
  362. package/dist/scripts/851-d89fb94a66-exchange.chunk.js +0 -2
  363. package/dist/scripts/851-d89fb94a66-exchange.chunk.js.LICENSE.txt +0 -1
  364. package/dist/scripts/8536-dc903c2f54-exchange.chunk.js +0 -1
  365. package/dist/scripts/8589-912ab9f055-exchange.chunk.js +0 -1
  366. package/dist/scripts/8619-e5f595a594-exchange.chunk.js +0 -1
  367. package/dist/scripts/8866-0993e6b43a-exchange.chunk.js +0 -1
  368. package/dist/scripts/8937-727d080ed9-exchange.chunk.js +0 -1
  369. package/dist/scripts/9212-e8bde56a84-exchange.chunk.js +0 -1
  370. package/dist/scripts/9414-85c7657c8f-exchange.chunk.js +0 -2
  371. package/dist/scripts/9414-85c7657c8f-exchange.chunk.js.LICENSE.txt +0 -60
  372. package/dist/scripts/9566-0625fb0cbe-exchange.chunk.js +0 -1
  373. package/dist/scripts/9611-6fe32ccc83-exchange.chunk.js +0 -1
  374. package/dist/scripts/9866-2d10067a4e-exchange.chunk.js +0 -1
  375. package/dist/scripts/9899-2b571c961b-exchange.chunk.js +0 -1
  376. package/dist/scripts/9958-7f8f5ae2c6-exchange.chunk.js +0 -2
  377. package/dist/scripts/9958-7f8f5ae2c6-exchange.chunk.js.LICENSE.txt +0 -1
  378. package/dist/scripts/bundle-1ce30e6578.min.js +0 -2
  379. package/dist/scripts/bundle-1ce30e6578.min.js.LICENSE.txt +0 -108
@@ -0,0 +1,219 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["scripts/Cmu1J2M7.chunk.js","css/CD1qrI1T.chunk.css","scripts/CiRJHxmU.chunk.js","scripts/C36BgTJV.chunk.js","scripts/pkzD5BEm.chunk.js","scripts/CHa6bZJR.chunk.js","scripts/OvG1eOzS.chunk.js","scripts/Bi0GaEZE.chunk.js","css/CY0yvCW4.chunk.css","scripts/CJ3oIQlG.chunk.js","scripts/C5r1_Fc_.chunk.js","scripts/1oBN4k-t.chunk.js","scripts/cw1CbjiZ.chunk.js","scripts/CX6fV4JE.chunk.js","scripts/Bsw4ZO9U.chunk.js","css/jbMisi9r.chunk.css","scripts/BeyY1CwV.chunk.js","scripts/C6bEPV55.chunk.js","scripts/CBlUYGqN.chunk.js","scripts/_sYSSSUN.chunk.js","scripts/B668bf5B.chunk.js","css/CifDVjr-.chunk.css","scripts/Bksx5ui9.chunk.js","scripts/CmcCT6Mq.chunk.js","scripts/BopIehJE.chunk.js","css/C2R4QydJ.chunk.css","scripts/B93FMGSP.chunk.js","css/BPdg7JW4.chunk.css","scripts/CDVd8Gzo.chunk.js","scripts/DzbCvkXx.chunk.js","scripts/C8geGHZf.chunk.js","css/CC5F5C8O.chunk.css","css/CCsCPLDG.chunk.css","scripts/CidPoXbD.chunk.js","css/C7XoyEPr.chunk.css","css/BIeUeS4h.chunk.css","scripts/h68xZO90.chunk.js","scripts/CfRzFJ31.chunk.js","scripts/BOzZT1qL.chunk.js","scripts/U4HYh7oC.chunk.js","css/DL_jCfRl.chunk.css","scripts/Dh_LRqD1.chunk.js","scripts/5EeDosB6.chunk.js","scripts/DwMcJ3Ip.chunk.js","scripts/BlDVEZsX.chunk.js","scripts/Cyhg-nBj.chunk.js","css/BiRz4h1c.chunk.css","css/DlOtoSz0.chunk.css","scripts/CxB8O87g.chunk.js","scripts/DYjoaCnl.chunk.js","scripts/DXRtwYU8.chunk.js","scripts/Ct_04zDE.chunk.js","scripts/CRomQTdh.chunk.js","scripts/CrAxON7A.chunk.js","scripts/C99JIGI3.chunk.js","css/CrSv-tYo.chunk.css","scripts/CYuY28rl.chunk.js","scripts/d_OewpIc.chunk.js","scripts/CdGLJKZk.chunk.js","scripts/DgWxzhMg.chunk.js","scripts/DHjeFsuP.chunk.js","css/DI4l_5OJ.chunk.css","scripts/Kj832An8.chunk.js","css/O777zV0C.chunk.css","scripts/Bq1eQRV_.chunk.js","scripts/CBTOSLnS.chunk.js","scripts/C97fjHLE.chunk.js","scripts/BI7-pkuo.chunk.js","scripts/mALBAvSP.chunk.js","scripts/W8wegH66.chunk.js","css/DD13UQOa.chunk.css","scripts/BNoyVB0N.chunk.js","scripts/x8TB7tv6.chunk.js","css/CphXVlxY.chunk.css","scripts/QfCSKVqV.chunk.js","css/CM-cscAF.chunk.css","scripts/BTq4W22K.chunk.js","scripts/DcA5xG6o.chunk.js","scripts/DsCrIxlP.chunk.js","scripts/CHPVU_Qn.chunk.js","scripts/Cdo-iAIt.chunk.js","scripts/Bz18U45-.chunk.js","css/DnhNnDZN.chunk.css","scripts/Dmfr0hZx.chunk.js","css/BDOTXlob.chunk.css","scripts/OpOTepmF.chunk.js","scripts/DWmgmt8-.chunk.js","css/EnQ3abug.chunk.css","css/Bz8F9buU.chunk.css","scripts/z6Us1EdG.chunk.js","scripts/CEZiVSXU.chunk.js","scripts/DiR2eKm4.chunk.js","scripts/wKPIC1H3.chunk.js","scripts/CRuObGvW.chunk.js","scripts/CeVw08Ln.chunk.js","scripts/DT1DdOeu.chunk.js","css/BBV1d-ZI.chunk.css","scripts/C7lfPlyo.chunk.js","scripts/DuHiL0j5.chunk.js","scripts/BuawzJwd.chunk.js","scripts/BoXsW16j.chunk.js","scripts/DRxJfu3A.chunk.js","scripts/BBhJOnJs.chunk.js","css/Ci6HCTb5.chunk.css","scripts/D1fkcw30.chunk.js","scripts/l-2DoY9E.chunk.js","css/w4TLT4f5.chunk.css","scripts/B1QnQX6X.chunk.js","scripts/BHy7EHYB.chunk.js","css/B57G3PZD.chunk.css","css/DRlDmMhN.chunk.css","scripts/C_sNZ3q9.chunk.js","css/Bt3pBBLn.chunk.css","scripts/C8aildLX.chunk.js","scripts/DbVI3h0V.chunk.js","css/DGyCCqtO.chunk.css","scripts/BvnJNI_Y.chunk.js","scripts/7fC_wUI0.chunk.js","css/fs02hBfZ.chunk.css","scripts/BpkgwVDj.chunk.js","scripts/CtciUXp4.chunk.js","css/CDiJwtuL.chunk.css","scripts/-rDA7laA.chunk.js","css/Dkh6sNpi.chunk.css","scripts/aFUDBFEd.chunk.js","scripts/DxkmuWkI.chunk.js","scripts/B5a9j4D_.chunk.js"])))=>i.map(i=>d[i]);
2
+ var Lie=Object.defineProperty;var Nie=(e,t,r)=>t in e?Lie(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var An=(e,t,r)=>Nie(e,typeof t!="symbol"?t+"":t,r);function $n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function yLe(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 I_={exports:{}},lD;function Mie(){return lD||(lD=1,(function(e){var t=(function(r){var n=Object.prototype,i=n.hasOwnProperty,a,o=typeof Symbol=="function"?Symbol:{},l=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",f=o.toStringTag||"@@toStringTag";function d(H,J,z){return Object.defineProperty(H,J,{value:z,enumerable:!0,configurable:!0,writable:!0}),H[J]}try{d({},"")}catch{d=function(J,z,ue){return J[z]=ue}}function h(H,J,z,ue){var we=J&&J.prototype instanceof T?J:T,ke=Object.create(we.prototype),Be=new ie(ue||[]);return ke._invoke=B(H,z,Be),ke}r.wrap=h;function p(H,J,z){try{return{type:"normal",arg:H.call(J,z)}}catch(ue){return{type:"throw",arg:ue}}}var y="suspendedStart",_="suspendedYield",E="executing",S="completed",w={};function T(){}function C(){}function x(){}var R={};d(R,l,function(){return this});var O=Object.getPrototypeOf,m=O&&O(O(ae([])));m&&m!==n&&i.call(m,l)&&(R=m);var D=x.prototype=T.prototype=Object.create(R);C.prototype=x,d(D,"constructor",x),d(x,"constructor",C),C.displayName=d(x,f,"GeneratorFunction");function U(H){["next","throw","return"].forEach(function(J){d(H,J,function(z){return this._invoke(J,z)})})}r.isGeneratorFunction=function(H){var J=typeof H=="function"&&H.constructor;return J?J===C||(J.displayName||J.name)==="GeneratorFunction":!1},r.mark=function(H){return Object.setPrototypeOf?Object.setPrototypeOf(H,x):(H.__proto__=x,d(H,f,"GeneratorFunction")),H.prototype=Object.create(D),H},r.awrap=function(H){return{__await:H}};function K(H,J){function z(ke,Be,nt,rt){var q=p(H[ke],H,Be);if(q.type==="throw")rt(q.arg);else{var I=q.arg,N=I.value;return N&&typeof N=="object"&&i.call(N,"__await")?J.resolve(N.__await).then(function(M){z("next",M,nt,rt)},function(M){z("throw",M,nt,rt)}):J.resolve(N).then(function(M){I.value=M,nt(I)},function(M){return z("throw",M,nt,rt)})}}var ue;function we(ke,Be){function nt(){return new J(function(rt,q){z(ke,Be,rt,q)})}return ue=ue?ue.then(nt,nt):nt()}this._invoke=we}U(K.prototype),d(K.prototype,u,function(){return this}),r.AsyncIterator=K,r.async=function(H,J,z,ue,we){we===void 0&&(we=Promise);var ke=new K(h(H,J,z,ue),we);return r.isGeneratorFunction(J)?ke:ke.next().then(function(Be){return Be.done?Be.value:ke.next()})};function B(H,J,z){var ue=y;return function(ke,Be){if(ue===E)throw new Error("Generator is already running");if(ue===S){if(ke==="throw")throw Be;return ve()}for(z.method=ke,z.arg=Be;;){var nt=z.delegate;if(nt){var rt=W(nt,z);if(rt){if(rt===w)continue;return rt}}if(z.method==="next")z.sent=z._sent=z.arg;else if(z.method==="throw"){if(ue===y)throw ue=S,z.arg;z.dispatchException(z.arg)}else z.method==="return"&&z.abrupt("return",z.arg);ue=E;var q=p(H,J,z);if(q.type==="normal"){if(ue=z.done?S:_,q.arg===w)continue;return{value:q.arg,done:z.done}}else q.type==="throw"&&(ue=S,z.method="throw",z.arg=q.arg)}}}function W(H,J){var z=H.iterator[J.method];if(z===a){if(J.delegate=null,J.method==="throw"){if(H.iterator.return&&(J.method="return",J.arg=a,W(H,J),J.method==="throw"))return w;J.method="throw",J.arg=new TypeError("The iterator does not provide a 'throw' method")}return w}var ue=p(z,H.iterator,J.arg);if(ue.type==="throw")return J.method="throw",J.arg=ue.arg,J.delegate=null,w;var we=ue.arg;if(!we)return J.method="throw",J.arg=new TypeError("iterator result is not an object"),J.delegate=null,w;if(we.done)J[H.resultName]=we.value,J.next=H.nextLoc,J.method!=="return"&&(J.method="next",J.arg=a);else return we;return J.delegate=null,w}U(D),d(D,f,"Generator"),d(D,l,function(){return this}),d(D,"toString",function(){return"[object Generator]"});function Y(H){var J={tryLoc:H[0]};1 in H&&(J.catchLoc=H[1]),2 in H&&(J.finallyLoc=H[2],J.afterLoc=H[3]),this.tryEntries.push(J)}function Q(H){var J=H.completion||{};J.type="normal",delete J.arg,H.completion=J}function ie(H){this.tryEntries=[{tryLoc:"root"}],H.forEach(Y,this),this.reset(!0)}r.keys=function(H){var J=[];for(var z in H)J.push(z);return J.reverse(),function ue(){for(;J.length;){var we=J.pop();if(we in H)return ue.value=we,ue.done=!1,ue}return ue.done=!0,ue}};function ae(H){if(H){var J=H[l];if(J)return J.call(H);if(typeof H.next=="function")return H;if(!isNaN(H.length)){var z=-1,ue=function we(){for(;++z<H.length;)if(i.call(H,z))return we.value=H[z],we.done=!1,we;return we.value=a,we.done=!0,we};return ue.next=ue}}return{next:ve}}r.values=ae;function ve(){return{value:a,done:!0}}return ie.prototype={constructor:ie,reset:function(H){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),!H)for(var J in this)J.charAt(0)==="t"&&i.call(this,J)&&!isNaN(+J.slice(1))&&(this[J]=a)},stop:function(){this.done=!0;var H=this.tryEntries[0],J=H.completion;if(J.type==="throw")throw J.arg;return this.rval},dispatchException:function(H){if(this.done)throw H;var J=this;function z(rt,q){return ke.type="throw",ke.arg=H,J.next=rt,q&&(J.method="next",J.arg=a),!!q}for(var ue=this.tryEntries.length-1;ue>=0;--ue){var we=this.tryEntries[ue],ke=we.completion;if(we.tryLoc==="root")return z("end");if(we.tryLoc<=this.prev){var Be=i.call(we,"catchLoc"),nt=i.call(we,"finallyLoc");if(Be&&nt){if(this.prev<we.catchLoc)return z(we.catchLoc,!0);if(this.prev<we.finallyLoc)return z(we.finallyLoc)}else if(Be){if(this.prev<we.catchLoc)return z(we.catchLoc,!0)}else if(nt){if(this.prev<we.finallyLoc)return z(we.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(H,J){for(var z=this.tryEntries.length-1;z>=0;--z){var ue=this.tryEntries[z];if(ue.tryLoc<=this.prev&&i.call(ue,"finallyLoc")&&this.prev<ue.finallyLoc){var we=ue;break}}we&&(H==="break"||H==="continue")&&we.tryLoc<=J&&J<=we.finallyLoc&&(we=null);var ke=we?we.completion:{};return ke.type=H,ke.arg=J,we?(this.method="next",this.next=we.finallyLoc,w):this.complete(ke)},complete:function(H,J){if(H.type==="throw")throw H.arg;return H.type==="break"||H.type==="continue"?this.next=H.arg:H.type==="return"?(this.rval=this.arg=H.arg,this.method="return",this.next="end"):H.type==="normal"&&J&&(this.next=J),w},finish:function(H){for(var J=this.tryEntries.length-1;J>=0;--J){var z=this.tryEntries[J];if(z.finallyLoc===H)return this.complete(z.completion,z.afterLoc),Q(z),w}},catch:function(H){for(var J=this.tryEntries.length-1;J>=0;--J){var z=this.tryEntries[J];if(z.tryLoc===H){var ue=z.completion;if(ue.type==="throw"){var we=ue.arg;Q(z)}return we}}throw new Error("illegal catch attempt")},delegateYield:function(H,J,z){return this.delegate={iterator:ae(H),resultName:J,nextLoc:z},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)}})(I_)),I_.exports}Mie();var cD={},fD={},Ud,dD;function Zt(){if(dD)return Ud;dD=1;var e=function(t){return t&&t.Math===Math&&t};return Ud=e(typeof globalThis=="object"&&globalThis)||e(typeof window=="object"&&window)||e(typeof self=="object"&&self)||e(typeof globalThis=="object"&&globalThis)||e(typeof Ud=="object"&&Ud)||(function(){return this})()||Function("return this")(),Ud}var P_={},k_,hD;function Ht(){return hD||(hD=1,k_=function(e){try{return!!e()}catch{return!0}}),k_}var D_,pD;function Rr(){if(pD)return D_;pD=1;var e=Ht();return D_=!e(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),D_}var L_,vD;function Nh(){if(vD)return L_;vD=1;var e=Ht();return L_=!e(function(){var t=(function(){}).bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),L_}var N_,gD;function gr(){if(gD)return N_;gD=1;var e=Nh(),t=Function.prototype.call;return N_=e?t.bind(t):function(){return t.apply(t,arguments)},N_}var M_={},mD;function Bg(){if(mD)return M_;mD=1;var e={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,r=t&&!e.call({1:2},1);return M_.f=r?function(i){var a=t(this,i);return!!a&&a.enumerable}:e,M_}var $_,yD;function Co(){return yD||(yD=1,$_=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}),$_}var F_,_D;function Kt(){if(_D)return F_;_D=1;var e=Nh(),t=Function.prototype,r=t.call,n=e&&t.bind.bind(r,r);return F_=e?n:function(i){return function(){return r.apply(i,arguments)}},F_}var j_,ED;function Aa(){if(ED)return j_;ED=1;var e=Kt(),t=e({}.toString),r=e("".slice);return j_=function(n){return r(t(n),8,-1)},j_}var U_,SD;function jf(){if(SD)return U_;SD=1;var e=Kt(),t=Ht(),r=Aa(),n=Object,i=e("".split);return U_=t(function(){return!n("z").propertyIsEnumerable(0)})?function(a){return r(a)==="String"?i(a,""):n(a)}:n,U_}var q_,wD;function _u(){return wD||(wD=1,q_=function(e){return e==null}),q_}var B_,bD;function fi(){if(bD)return B_;bD=1;var e=_u(),t=TypeError;return B_=function(r){if(e(r))throw new t("Can't call method on "+r);return r},B_}var V_,TD;function ta(){if(TD)return V_;TD=1;var e=jf(),t=fi();return V_=function(r){return e(t(r))},V_}var H_,AD;function hn(){if(AD)return H_;AD=1;var e=typeof document=="object"&&document.all;return H_=typeof e>"u"&&e!==void 0?function(t){return typeof t=="function"||t===e}:function(t){return typeof t=="function"},H_}var z_,RD;function qr(){if(RD)return z_;RD=1;var e=hn();return z_=function(t){return typeof t=="object"?t!==null:e(t)},z_}var W_,xD;function ln(){if(xD)return W_;xD=1;var e=Zt(),t=hn(),r=function(n){return t(n)?n:void 0};return W_=function(n,i){return arguments.length<2?r(e[n]):e[n]&&e[n][i]},W_}var G_,CD;function Ba(){if(CD)return G_;CD=1;var e=Kt();return G_=e({}.isPrototypeOf),G_}var K_,OD;function Us(){if(OD)return K_;OD=1;var e=Zt(),t=e.navigator,r=t&&t.userAgent;return K_=r?String(r):"",K_}var Y_,ID;function qs(){if(ID)return Y_;ID=1;var e=Zt(),t=Us(),r=e.process,n=e.Deno,i=r&&r.versions||n&&n.version,a=i&&i.v8,o,l;return a&&(o=a.split("."),l=o[0]>0&&o[0]<4?1:+(o[0]+o[1])),!l&&t&&(o=t.match(/Edge\/(\d+)/),(!o||o[1]>=74)&&(o=t.match(/Chrome\/(\d+)/),o&&(l=+o[1]))),Y_=l,Y_}var X_,PD;function Uf(){if(PD)return X_;PD=1;var e=qs(),t=Ht(),r=Zt(),n=r.String;return X_=!!Object.getOwnPropertySymbols&&!t(function(){var i=Symbol("symbol detection");return!n(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&e&&e<41}),X_}var Q_,kD;function cX(){if(kD)return Q_;kD=1;var e=Uf();return Q_=e&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Q_}var J_,DD;function uc(){if(DD)return J_;DD=1;var e=ln(),t=hn(),r=Ba(),n=cX(),i=Object;return J_=n?function(a){return typeof a=="symbol"}:function(a){var o=e("Symbol");return t(o)&&r(o.prototype,i(a))},J_}var Z_,LD;function lc(){if(LD)return Z_;LD=1;var e=String;return Z_=function(t){try{return e(t)}catch{return"Object"}},Z_}var eE,ND;function cn(){if(ND)return eE;ND=1;var e=hn(),t=lc(),r=TypeError;return eE=function(n){if(e(n))return n;throw new r(t(n)+" is not a function")},eE}var tE,MD;function la(){if(MD)return tE;MD=1;var e=cn(),t=_u();return tE=function(r,n){var i=r[n];return t(i)?void 0:e(i)},tE}var rE,$D;function fX(){if($D)return rE;$D=1;var e=gr(),t=hn(),r=qr(),n=TypeError;return rE=function(i,a){var o,l;if(a==="string"&&t(o=i.toString)&&!r(l=e(o,i))||t(o=i.valueOf)&&!r(l=e(o,i))||a!=="string"&&t(o=i.toString)&&!r(l=e(o,i)))return l;throw new n("Can't convert object to primitive value")},rE}var nE={exports:{}},iE,FD;function xn(){return FD||(FD=1,iE=!1),iE}var aE,jD;function PC(){if(jD)return aE;jD=1;var e=Zt(),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 UD;function Vg(){if(UD)return nE.exports;UD=1;var e=xn(),t=Zt(),r=PC(),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,qD;function qf(){if(qD)return oE;qD=1;var e=Vg();return oE=function(t,r){return e[t]||(e[t]=r||{})},oE}var sE,BD;function Sn(){if(BD)return sE;BD=1;var e=fi(),t=Object;return sE=function(r){return t(e(r))},sE}var uE,VD;function fn(){if(VD)return uE;VD=1;var e=Kt(),t=Sn(),r=e({}.hasOwnProperty);return uE=Object.hasOwn||function(i,a){return r(t(i),a)},uE}var lE,HD;function Bf(){if(HD)return lE;HD=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,zD;function Br(){if(zD)return cE;zD=1;var e=Zt(),t=qf(),r=fn(),n=Bf(),i=Uf(),a=cX(),o=e.Symbol,l=t("wks"),u=a?o.for||o:o&&o.withoutSetter||n;return cE=function(f){return r(l,f)||(l[f]=i&&r(o,f)?o[f]:u("Symbol."+f)),l[f]},cE}var fE,WD;function Hg(){if(WD)return fE;WD=1;var e=gr(),t=qr(),r=uc(),n=la(),i=fX(),a=Br(),o=TypeError,l=a("toPrimitive");return fE=function(u,f){if(!t(u)||r(u))return u;var d=n(u,l),h;if(d){if(f===void 0&&(f="default"),h=e(d,u,f),!t(h)||r(h))return h;throw new o("Can't convert object to primitive value")}return f===void 0&&(f="number"),i(u,f)},fE}var dE,GD;function ul(){if(GD)return dE;GD=1;var e=Hg(),t=uc();return dE=function(r){var n=e(r,"string");return t(n)?n:n+""},dE}var hE,KD;function zg(){if(KD)return hE;KD=1;var e=Zt(),t=qr(),r=e.document,n=t(r)&&t(r.createElement);return hE=function(i){return n?r.createElement(i):{}},hE}var pE,YD;function dX(){if(YD)return pE;YD=1;var e=Rr(),t=Ht(),r=zg();return pE=!e&&!t(function(){return Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a!==7}),pE}var XD;function ca(){if(XD)return P_;XD=1;var e=Rr(),t=gr(),r=Bg(),n=Co(),i=ta(),a=ul(),o=fn(),l=dX(),u=Object.getOwnPropertyDescriptor;return P_.f=e?u:function(d,h){if(d=i(d),h=a(h),l)try{return u(d,h)}catch{}if(o(d,h))return n(!t(r.f,d,h),d[h])},P_}var vE={},gE,QD;function hX(){if(QD)return gE;QD=1;var e=Rr(),t=Ht();return gE=e&&t(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),gE}var mE,JD;function _r(){if(JD)return mE;JD=1;var e=qr(),t=String,r=TypeError;return mE=function(n){if(e(n))return n;throw new r(t(n)+" is not an object")},mE}var ZD;function si(){if(ZD)return vE;ZD=1;var e=Rr(),t=dX(),r=hX(),n=_r(),i=ul(),a=TypeError,o=Object.defineProperty,l=Object.getOwnPropertyDescriptor,u="enumerable",f="configurable",d="writable";return vE.f=e?r?function(p,y,_){if(n(p),y=i(y),n(_),typeof p=="function"&&y==="prototype"&&"value"in _&&d in _&&!_[d]){var E=l(p,y);E&&E[d]&&(p[y]=_.value,_={configurable:f in _?_[f]:E[f],enumerable:u in _?_[u]:E[u],writable:!1})}return o(p,y,_)}:o:function(p,y,_){if(n(p),y=i(y),n(_),t)try{return o(p,y,_)}catch{}if("get"in _||"set"in _)throw new a("Accessors not supported");return"value"in _&&(p[y]=_.value),p},vE}var yE,eL;function fa(){if(eL)return yE;eL=1;var e=Rr(),t=si(),r=Co();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:{}},EE,tL;function Vf(){if(tL)return EE;tL=1;var e=Rr(),t=fn(),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 EE={EXISTS:i,PROPER:a,CONFIGURABLE:o},EE}var SE,rL;function kC(){if(rL)return SE;rL=1;var e=Kt(),t=hn(),r=Vg(),n=e(Function.toString);return t(r.inspectSource)||(r.inspectSource=function(i){return n(i)}),SE=r.inspectSource,SE}var wE,nL;function pX(){if(nL)return wE;nL=1;var e=Zt(),t=hn(),r=e.WeakMap;return wE=t(r)&&/native code/.test(String(r)),wE}var bE,iL;function Wg(){if(iL)return bE;iL=1;var e=qf(),t=Bf(),r=e("keys");return bE=function(n){return r[n]||(r[n]=t(n))},bE}var TE,aL;function Mh(){return aL||(aL=1,TE={}),TE}var AE,oL;function Ei(){if(oL)return AE;oL=1;var e=pX(),t=Zt(),r=qr(),n=fa(),i=fn(),a=Vg(),o=Wg(),l=Mh(),u="Object already initialized",f=t.TypeError,d=t.WeakMap,h,p,y,_=function(T){return y(T)?p(T):h(T,{})},E=function(T){return function(C){var x;if(!r(C)||(x=p(C)).type!==T)throw new f("Incompatible receiver, "+T+" required");return x}};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(T,C){if(S.has(T))throw new f(u);return C.facade=T,S.set(T,C),C},p=function(T){return S.get(T)||{}},y=function(T){return S.has(T)}}else{var w=o("state");l[w]=!0,h=function(T,C){if(i(T,w))throw new f(u);return C.facade=T,n(T,w,C),C},p=function(T){return i(T,w)?T[w]:{}},y=function(T){return i(T,w)}}return AE={set:h,get:p,has:y,enforce:_,getterFor:E},AE}var sL;function DC(){if(sL)return _E.exports;sL=1;var e=Kt(),t=Ht(),r=hn(),n=fn(),i=Rr(),a=Vf().CONFIGURABLE,o=kC(),l=Ei(),u=l.enforce,f=l.get,d=String,h=Object.defineProperty,p=e("".slice),y=e("".replace),_=e([].join),E=i&&!t(function(){return h(function(){},"length",{value:8}).length!==8}),S=String(String).split("String"),w=_E.exports=function(T,C,x){p(d(C),0,7)==="Symbol("&&(C="["+y(d(C),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),x&&x.getter&&(C="get "+C),x&&x.setter&&(C="set "+C),(!n(T,"name")||a&&T.name!==C)&&(i?h(T,"name",{value:C,configurable:!0}):T.name=C),E&&x&&n(x,"arity")&&T.length!==x.arity&&h(T,"length",{value:x.arity});try{x&&n(x,"constructor")&&x.constructor?i&&h(T,"prototype",{writable:!1}):T.prototype&&(T.prototype=void 0)}catch{}var R=u(T);return n(R,"source")||(R.source=_(S,typeof C=="string"?C:"")),T};return Function.prototype.toString=w(function(){return r(this)&&f(this).source||o(this)},"toString"),_E.exports}var RE,uL;function Fn(){if(uL)return RE;uL=1;var e=hn(),t=si(),r=DC(),n=PC();return RE=function(i,a,o,l){l||(l={});var u=l.enumerable,f=l.name!==void 0?l.name:a;if(e(o)&&r(o,f,l),l.global)u?i[a]=o:n(a,o);else{try{l.unsafe?i[a]&&(u=!0):delete i[a]}catch{}u?i[a]=o:t.f(i,a,{value:o,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return i},RE}var xE={},CE,lL;function vX(){if(lL)return CE;lL=1;var e=Math.ceil,t=Math.floor;return CE=Math.trunc||function(n){var i=+n;return(i>0?t:e)(i)},CE}var OE,cL;function Ri(){if(cL)return OE;cL=1;var e=vX();return OE=function(t){var r=+t;return r!==r||r===0?0:e(r)},OE}var IE,fL;function Eu(){if(fL)return IE;fL=1;var e=Ri(),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,dL;function Oo(){if(dL)return PE;dL=1;var e=Ri(),t=Math.min;return PE=function(r){var n=e(r);return n>0?t(n,9007199254740991):0},PE}var kE,hL;function Wn(){if(hL)return kE;hL=1;var e=Oo();return kE=function(t){return e(t.length)},kE}var DE,pL;function $h(){if(pL)return DE;pL=1;var e=ta(),t=Eu(),r=Wn(),n=function(i){return function(a,o,l){var u=e(a),f=r(u);if(f===0)return!i&&-1;var d=t(l,f),h;if(i&&o!==o){for(;f>d;)if(h=u[d++],h!==h)return!0}else for(;f>d;d++)if((i||d in u)&&u[d]===o)return i||d||0;return!i&&-1}};return DE={includes:n(!0),indexOf:n(!1)},DE}var LE,vL;function gX(){if(vL)return LE;vL=1;var e=Kt(),t=fn(),r=ta(),n=$h().indexOf,i=Mh(),a=e([].push);return LE=function(o,l){var u=r(o),f=0,d=[],h;for(h in u)!t(i,h)&&t(u,h)&&a(d,h);for(;l.length>f;)t(u,h=l[f++])&&(~n(d,h)||a(d,h));return d},LE}var NE,gL;function LC(){return gL||(gL=1,NE=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]),NE}var mL;function cc(){if(mL)return xE;mL=1;var e=gX(),t=LC(),r=t.concat("length","prototype");return xE.f=Object.getOwnPropertyNames||function(i){return e(i,r)},xE}var ME={},yL;function Gg(){return yL||(yL=1,ME.f=Object.getOwnPropertySymbols),ME}var $E,_L;function NC(){if(_L)return $E;_L=1;var e=ln(),t=Kt(),r=cc(),n=Gg(),i=_r(),a=t([].concat);return $E=e("Reflect","ownKeys")||function(l){var u=r.f(i(l)),f=n.f;return f?a(u,f(l)):u},$E}var FE,EL;function Hf(){if(EL)return FE;EL=1;var e=fn(),t=NC(),r=ca(),n=si();return FE=function(i,a,o){for(var l=t(a),u=n.f,f=r.f,d=0;d<l.length;d++){var h=l[d];!e(i,h)&&!(o&&e(o,h))&&u(i,h,f(a,h))}},FE}var jE,SL;function Fh(){if(SL)return jE;SL=1;var e=Ht(),t=hn(),r=/#|\.prototype\./,n=function(u,f){var d=a[i(u)];return d===l?!0:d===o?!1:t(f)?e(f):!!f},i=n.normalize=function(u){return String(u).replace(r,".").toLowerCase()},a=n.data={},o=n.NATIVE="N",l=n.POLYFILL="P";return jE=n,jE}var UE,wL;function je(){if(wL)return UE;wL=1;var e=Zt(),t=ca().f,r=fa(),n=Fn(),i=PC(),a=Hf(),o=Fh();return UE=function(l,u){var f=l.target,d=l.global,h=l.stat,p,y,_,E,S,w;if(d?y=e:h?y=e[f]||i(f,{}):y=e[f]&&e[f].prototype,y)for(_ in u){if(S=u[_],l.dontCallGetSet?(w=t(y,_),E=w&&w.value):E=y[_],p=o(d?_:f+(h?".":"#")+_,l.forced),!p&&E!==void 0){if(typeof S==typeof E)continue;a(S,E)}(l.sham||E&&E.sham)&&r(S,"sham",!0),n(y,_,S,l)}},UE}var qE,bL;function MC(){if(bL)return qE;bL=1;var e=Br(),t=e("toStringTag"),r={};return r[t]="z",qE=String(r)==="[object z]",qE}var BE,TL;function Io(){if(TL)return BE;TL=1;var e=MC(),t=hn(),r=Aa(),n=Br(),i=n("toStringTag"),a=Object,o=r((function(){return arguments})())==="Arguments",l=function(u,f){try{return u[f]}catch{}};return BE=e?r:function(u){var f,d,h;return u===void 0?"Undefined":u===null?"Null":typeof(d=l(f=a(u),i))=="string"?d:o?r(f):(h=r(f))==="Object"&&t(f.callee)?"Arguments":h},BE}var VE,AL;function Xr(){if(AL)return VE;AL=1;var e=Io(),t=String;return VE=function(r){if(e(r)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return t(r)},VE}var HE={},zE,RL;function jh(){if(RL)return zE;RL=1;var e=gX(),t=LC();return zE=Object.keys||function(n){return e(n,t)},zE}var xL;function $C(){if(xL)return HE;xL=1;var e=Rr(),t=hX(),r=si(),n=_r(),i=ta(),a=jh();return HE.f=e&&!t?Object.defineProperties:function(l,u){n(l);for(var f=i(u),d=a(u),h=d.length,p=0,y;h>p;)r.f(l,y=d[p++],f[y]);return l},HE}var WE,CL;function mX(){if(CL)return WE;CL=1;var e=ln();return WE=e("document","documentElement"),WE}var GE,OL;function da(){if(OL)return GE;OL=1;var e=_r(),t=$C(),r=LC(),n=Mh(),i=mX(),a=zg(),o=Wg(),l=">",u="<",f="prototype",d="script",h=o("IE_PROTO"),p=function(){},y=function(T){return u+d+l+T+u+"/"+d+l},_=function(T){T.write(y("")),T.close();var C=T.parentWindow.Object;return T=null,C},E=function(){var T=a("iframe"),C="java"+d+":",x;return T.style.display="none",i.appendChild(T),T.src=String(C),x=T.contentWindow.document,x.open(),x.write(y("document.F=Object")),x.close(),x.F},S,w=function(){try{S=new ActiveXObject("htmlfile")}catch{}w=typeof document<"u"?document.domain&&S?_(S):E():_(S);for(var T=r.length;T--;)delete w[f][r[T]];return w()};return n[h]=!0,GE=Object.create||function(C,x){var R;return C!==null?(p[f]=e(C),R=new p,p[f]=null,R[h]=C):R=w(),x===void 0?R:t.f(R,x)},GE}var KE={},YE,IL;function ns(){if(IL)return YE;IL=1;var e=Kt();return YE=e([].slice),YE}var PL;function FC(){if(PL)return KE;PL=1;var e=Aa(),t=ta(),r=cc().f,n=ns(),i=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(o){try{return r(o)}catch{return n(i)}};return KE.f=function(l){return i&&e(l)==="Window"?a(l):r(t(l))},KE}var XE,kL;function Di(){if(kL)return XE;kL=1;var e=DC(),t=si();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={},DL;function yX(){if(DL)return QE;DL=1;var e=Br();return QE.f=e,QE}var JE,LL;function Kg(){if(LL)return JE;LL=1;var e=Zt();return JE=e,JE}var ZE,NL;function Ra(){if(NL)return ZE;NL=1;var e=Kg(),t=fn(),r=yX(),n=si().f;return ZE=function(i){var a=e.Symbol||(e.Symbol={});t(a,i)||n(a,i,{value:r.f(i)})},ZE}var eS,ML;function _X(){if(ML)return eS;ML=1;var e=gr(),t=ln(),r=Br(),n=Fn();return eS=function(){var i=t("Symbol"),a=i&&i.prototype,o=a&&a.valueOf,l=r("toPrimitive");a&&!a[l]&&n(a,l,function(u){return e(o,this)},{arity:1})},eS}var tS,$L;function so(){if($L)return tS;$L=1;var e=si().f,t=fn(),r=Br(),n=r("toStringTag");return tS=function(i,a,o){i&&!o&&(i=i.prototype),i&&!t(i,n)&&e(i,n,{configurable:!0,value:a})},tS}var rS,FL;function fc(){if(FL)return rS;FL=1;var e=Aa(),t=Kt();return rS=function(r){if(e(r)==="Function")return t(r)},rS}var nS,jL;function Po(){if(jL)return nS;jL=1;var e=fc(),t=cn(),r=Nh(),n=e(e.bind);return nS=function(i,a){return t(i),a===void 0?i:r?n(i,a):function(){return i.apply(a,arguments)}},nS}var iS,UL;function ll(){if(UL)return iS;UL=1;var e=Aa();return iS=Array.isArray||function(r){return e(r)==="Array"},iS}var aS,qL;function dc(){if(qL)return aS;qL=1;var e=Kt(),t=Ht(),r=hn(),n=Io(),i=ln(),a=kC(),o=function(){},l=i("Reflect","construct"),u=/^\s*(?:class|function)\b/,f=e(u.exec),d=!u.test(o),h=function(_){if(!r(_))return!1;try{return l(o,[],_),!0}catch{return!1}},p=function(_){if(!r(_))return!1;switch(n(_)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!f(u,a(_))}catch{return!0}};return p.sham=!0,aS=!l||t(function(){var y;return h(h.call)||!h(Object)||!h(function(){y=!0})||y})?p:h,aS}var oS,BL;function $ie(){if(BL)return oS;BL=1;var e=ll(),t=dc(),r=qr(),n=Br(),i=n("species"),a=Array;return oS=function(o){var l;return e(o)&&(l=o.constructor,t(l)&&(l===a||e(l.prototype))?l=void 0:r(l)&&(l=l[i],l===null&&(l=void 0))),l===void 0?a:l},oS}var sS,VL;function Uh(){if(VL)return sS;VL=1;var e=$ie();return sS=function(t,r){return new(e(t))(r===0?0:r)},sS}var uS,HL;function ha(){if(HL)return uS;HL=1;var e=Po(),t=Kt(),r=jf(),n=Sn(),i=Wn(),a=Uh(),o=t([].push),l=function(u){var f=u===1,d=u===2,h=u===3,p=u===4,y=u===6,_=u===7,E=u===5||y;return function(S,w,T,C){for(var x=n(S),R=r(x),O=i(R),m=e(w,T),D=0,U=C||a,K=f?U(S,O):d||_?U(S,0):void 0,B,W;O>D;D++)if((E||D in R)&&(B=R[D],W=m(B,D,x),u))if(f)K[D]=W;else if(W)switch(u){case 3:return!0;case 5:return B;case 6:return D;case 2:o(K,B)}else switch(u){case 4:return!1;case 7:o(K,B)}return y?-1:h||p?p:K}};return uS={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)},uS}var zL;function Fie(){if(zL)return fD;zL=1;var e=je(),t=Zt(),r=gr(),n=Kt(),i=xn(),a=Rr(),o=Uf(),l=Ht(),u=fn(),f=Ba(),d=_r(),h=ta(),p=ul(),y=Xr(),_=Co(),E=da(),S=jh(),w=cc(),T=FC(),C=Gg(),x=ca(),R=si(),O=$C(),m=Bg(),D=Fn(),U=Di(),K=qf(),B=Wg(),W=Mh(),Y=Bf(),Q=Br(),ie=yX(),ae=Ra(),ve=_X(),H=so(),J=Ei(),z=ha().forEach,ue=B("hidden"),we="Symbol",ke="prototype",Be=J.set,nt=J.getterFor(we),rt=Object[ke],q=t.Symbol,I=q&&q[ke],N=t.RangeError,M=t.TypeError,Z=t.QObject,L=x.f,G=R.f,pe=T.f,fe=m.f,be=n([].push),_e=K("symbols"),Ce=K("op-symbols"),Me=K("wks"),de=!Z||!Z[ke]||!Z[ke].findChild,me=function(wt,mt,Et){var At=L(rt,mt);At&&delete rt[mt],G(wt,mt,Et),At&&wt!==rt&&G(rt,mt,At)},ge=a&&l(function(){return E(G({},"a",{get:function(){return G(this,"a",{value:7}).a}})).a!==7})?me:G,Te=function(wt,mt){var Et=_e[wt]=E(I);return Be(Et,{type:we,tag:wt,description:mt}),a||(Et.description=mt),Et},Pe=function(mt,Et,At){mt===rt&&Pe(Ce,Et,At),d(mt);var ft=p(Et);return d(At),u(_e,ft)?(At.enumerable?(u(mt,ue)&&mt[ue][ft]&&(mt[ue][ft]=!1),At=E(At,{enumerable:_(0,!1)})):(u(mt,ue)||G(mt,ue,_(1,E(null))),mt[ue][ft]=!0),ge(mt,ft,At)):G(mt,ft,At)},De=function(mt,Et){d(mt);var At=h(Et),ft=S(At).concat(Xe(At));return z(ft,function(Ft){(!a||r(_t,At,Ft))&&Pe(mt,Ft,At[Ft])}),mt},qe=function(mt,Et){return Et===void 0?E(mt):De(E(mt),Et)},_t=function(mt){var Et=p(mt),At=r(fe,this,Et);return this===rt&&u(_e,Et)&&!u(Ce,Et)?!1:At||!u(this,Et)||!u(_e,Et)||u(this,ue)&&this[ue][Et]?At:!0},Ut=function(mt,Et){var At=h(mt),ft=p(Et);if(!(At===rt&&u(_e,ft)&&!u(Ce,ft))){var Ft=L(At,ft);return Ft&&u(_e,ft)&&!(u(At,ue)&&At[ue][ft])&&(Ft.enumerable=!0),Ft}},Mt=function(mt){var Et=pe(h(mt)),At=[];return z(Et,function(ft){!u(_e,ft)&&!u(W,ft)&&be(At,ft)}),At},Xe=function(wt){var mt=wt===rt,Et=pe(mt?Ce:h(wt)),At=[];return z(Et,function(ft){u(_e,ft)&&(!mt||u(rt,ft))&&be(At,_e[ft])}),At};return o||(q=function(){if(f(I,this))throw new M("Symbol is not a constructor");var mt=!arguments.length||arguments[0]===void 0?void 0:y(arguments[0]),Et=Y(mt),At=function(ft){var Ft=this===void 0?t:this;Ft===rt&&r(At,Ce,ft),u(Ft,ue)&&u(Ft[ue],Et)&&(Ft[ue][Et]=!1);var Ct=_(1,ft);try{ge(Ft,Et,Ct)}catch(Ae){if(!(Ae instanceof N))throw Ae;me(Ft,Et,Ct)}};return a&&de&&ge(rt,Et,{configurable:!0,set:At}),Te(Et,mt)},I=q[ke],D(I,"toString",function(){return nt(this).tag}),D(q,"withoutSetter",function(wt){return Te(Y(wt),wt)}),m.f=_t,R.f=Pe,O.f=De,x.f=Ut,w.f=T.f=Mt,C.f=Xe,ie.f=function(wt){return Te(Q(wt),wt)},a&&(U(I,"description",{configurable:!0,get:function(){return nt(this).description}}),i||D(rt,"propertyIsEnumerable",_t,{unsafe:!0}))),e({global:!0,constructor:!0,wrap:!0,forced:!o,sham:!o},{Symbol:q}),z(S(Me),function(wt){ae(wt)}),e({target:we,stat:!0,forced:!o},{useSetter:function(){de=!0},useSimple:function(){de=!1}}),e({target:"Object",stat:!0,forced:!o,sham:!a},{create:qe,defineProperty:Pe,defineProperties:De,getOwnPropertyDescriptor:Ut}),e({target:"Object",stat:!0,forced:!o},{getOwnPropertyNames:Mt}),ve(),H(q,we),W[ue]=!0,fD}var WL={},lS,GL;function EX(){if(GL)return lS;GL=1;var e=Uf();return lS=e&&!!Symbol.for&&!!Symbol.keyFor,lS}var KL;function jie(){if(KL)return WL;KL=1;var e=je(),t=ln(),r=fn(),n=Xr(),i=qf(),a=EX(),o=i("string-to-symbol-registry"),l=i("symbol-to-string-registry");return e({target:"Symbol",stat:!0,forced:!a},{for:function(u){var f=n(u);if(r(o,f))return o[f];var d=t("Symbol")(f);return o[f]=d,l[d]=f,d}}),WL}var YL={},XL;function Uie(){if(XL)return YL;XL=1;var e=je(),t=fn(),r=uc(),n=lc(),i=qf(),a=EX(),o=i("symbol-to-string-registry");return e({target:"Symbol",stat:!0,forced:!a},{keyFor:function(u){if(!r(u))throw new TypeError(n(u)+" is not a symbol");if(t(o,u))return o[u]}}),YL}var QL={},cS,JL;function ko(){if(JL)return cS;JL=1;var e=Nh(),t=Function.prototype,r=t.apply,n=t.call;return cS=typeof Reflect=="object"&&Reflect.apply||(e?n.bind(r):function(){return n.apply(r,arguments)}),cS}var fS,ZL;function qie(){if(ZL)return fS;ZL=1;var e=Kt(),t=ll(),r=hn(),n=Aa(),i=Xr(),a=e([].push);return fS=function(o){if(r(o))return o;if(t(o)){for(var l=o.length,u=[],f=0;f<l;f++){var d=o[f];typeof d=="string"?a(u,d):(typeof d=="number"||n(d)==="Number"||n(d)==="String")&&a(u,i(d))}var h=u.length,p=!0;return function(y,_){if(p)return p=!1,_;if(t(this))return _;for(var E=0;E<h;E++)if(u[E]===y)return _}}},fS}var eN;function SX(){if(eN)return QL;eN=1;var e=je(),t=ln(),r=ko(),n=gr(),i=Kt(),a=Ht(),o=hn(),l=uc(),u=ns(),f=qie(),d=Uf(),h=String,p=t("JSON","stringify"),y=i(/./.exec),_=i("".charAt),E=i("".charCodeAt),S=i("".replace),w=i(1.1.toString),T=/[\uD800-\uDFFF]/g,C=/^[\uD800-\uDBFF]$/,x=/^[\uDC00-\uDFFF]$/,R=!d||a(function(){var U=t("Symbol")("stringify detection");return p([U])!=="[null]"||p({a:U})!=="{}"||p(Object(U))!=="{}"}),O=a(function(){return p("\uDF06\uD834")!=='"\\udf06\\ud834"'||p("\uDEAD")!=='"\\udead"'}),m=function(U,K){var B=u(arguments),W=f(K);if(!(!o(W)&&(U===void 0||l(U))))return B[1]=function(Y,Q){if(o(W)&&(Q=n(W,this,h(Y),Q)),!l(Q))return Q},r(p,null,B)},D=function(U,K,B){var W=_(B,K-1),Y=_(B,K+1);return y(C,U)&&!y(x,Y)||y(x,U)&&!y(C,W)?"\\u"+w(E(U,0),16):U};return p&&e({target:"JSON",stat:!0,arity:3,forced:R||O},{stringify:function(K,B,W){var Y=u(arguments),Q=r(R?m:p,null,Y);return O&&typeof Q=="string"?S(Q,T,D):Q}}),QL}var tN={},rN;function Bie(){if(rN)return tN;rN=1;var e=je(),t=Uf(),r=Ht(),n=Gg(),i=Sn(),a=!t||r(function(){n.f(1)});return e({target:"Object",stat:!0,forced:a},{getOwnPropertySymbols:function(l){var u=n.f;return u?u(i(l)):[]}}),tN}var nN;function Vie(){return nN||(nN=1,Fie(),jie(),Uie(),SX(),Bie()),cD}var iN={},aN;function Hie(){if(aN)return iN;aN=1;var e=je(),t=Rr(),r=Zt(),n=Kt(),i=fn(),a=hn(),o=Ba(),l=Xr(),u=Di(),f=Hf(),d=r.Symbol,h=d&&d.prototype;if(t&&a(d)&&(!("description"in h)||d().description!==void 0)){var p={},y=function(){var R=arguments.length<1||arguments[0]===void 0?void 0:l(arguments[0]),O=o(h,this)?new d(R):R===void 0?d():d(R);return R===""&&(p[O]=!0),O};f(y,d),y.prototype=h,h.constructor=y;var _=String(d("description detection"))==="Symbol(description detection)",E=n(h.valueOf),S=n(h.toString),w=/^Symbol\((.*)\)[^)]+$/,T=n("".replace),C=n("".slice);u(h,"description",{configurable:!0,get:function(){var R=E(this);if(i(p,R))return"";var O=S(R),m=_?C(O,7,-1):T(O,w,"$1");return m===""?void 0:m}}),e({global:!0,constructor:!0,forced:!0},{Symbol:y})}return iN}var oN={},sN;function zie(){if(sN)return oN;sN=1;var e=Zt(),t=Ra(),r=si().f,n=ca().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 oN}var uN={},lN;function Wie(){if(lN)return uN;lN=1;var e=Ra();return e("asyncIterator"),uN}var cN={},fN;function Gie(){if(fN)return cN;fN=1;var e=Zt(),t=Ra(),r=si().f,n=ca().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 cN}var dN={},hN;function Kie(){if(hN)return dN;hN=1;var e=Ra();return e("hasInstance"),dN}var pN={},vN;function Yie(){if(vN)return pN;vN=1;var e=Ra();return e("isConcatSpreadable"),pN}var gN={},mN;function Xie(){if(mN)return gN;mN=1;var e=Ra();return e("iterator"),gN}var yN={},_N;function Qie(){if(_N)return yN;_N=1;var e=Ra();return e("match"),yN}var EN={},SN;function Jie(){if(SN)return EN;SN=1;var e=Ra();return e("matchAll"),EN}var wN={},bN;function Zie(){if(bN)return wN;bN=1;var e=Ra();return e("replace"),wN}var TN={},AN;function eae(){if(AN)return TN;AN=1;var e=Ra();return e("search"),TN}var RN={},xN;function tae(){if(xN)return RN;xN=1;var e=Ra();return e("species"),RN}var CN={},ON;function rae(){if(ON)return CN;ON=1;var e=Ra();return e("split"),CN}var IN={},PN;function nae(){if(PN)return IN;PN=1;var e=Ra(),t=_X();return e("toPrimitive"),t(),IN}var kN={},DN;function iae(){if(DN)return kN;DN=1;var e=ln(),t=Ra(),r=so();return t("toStringTag"),r(e("Symbol"),"Symbol"),kN}var LN={},NN;function aae(){if(NN)return LN;NN=1;var e=Ra();return e("unscopables"),LN}var MN={},dS,$N;function Yg(){if($N)return dS;$N=1;var e=Kt(),t=cn();return dS=function(r,n,i){try{return e(t(Object.getOwnPropertyDescriptor(r,n)[i]))}catch{}},dS}var hS,FN;function wX(){if(FN)return hS;FN=1;var e=qr();return hS=function(t){return e(t)||t===null},hS}var pS,jN;function bX(){if(jN)return pS;jN=1;var e=wX(),t=String,r=TypeError;return pS=function(n){if(e(n))return n;throw new r("Can't set "+t(n)+" as a prototype")},pS}var vS,UN;function Es(){if(UN)return vS;UN=1;var e=Yg(),t=qr(),r=fi(),n=bX();return vS=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(u,f){return r(u),n(f),t(u)&&(i?o(u,f):u.__proto__=f),u}})():void 0),vS}var gS,qN;function TX(){if(qN)return gS;qN=1;var e=si().f;return gS=function(t,r,n){n in t||e(t,n,{configurable:!0,get:function(){return r[n]},set:function(i){r[n]=i}})},gS}var mS,BN;function hc(){if(BN)return mS;BN=1;var e=hn(),t=qr(),r=Es();return mS=function(n,i,a){var o,l;return r&&e(o=i.constructor)&&o!==a&&t(l=o.prototype)&&l!==a.prototype&&r(n,l),n},mS}var yS,VN;function zf(){if(VN)return yS;VN=1;var e=Xr();return yS=function(t,r){return t===void 0?arguments.length<2?"":r:e(t)},yS}var _S,HN;function AX(){if(HN)return _S;HN=1;var e=qr(),t=fa();return _S=function(r,n){e(n)&&"cause"in n&&t(r,"cause",n.cause)},_S}var ES,zN;function jC(){if(zN)return ES;zN=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 ES=function(o,l){if(a&&typeof o=="string"&&!t.prepareStackTrace)for(;l--;)o=r(o,i,"");return o},ES}var SS,WN;function RX(){if(WN)return SS;WN=1;var e=Ht(),t=Co();return SS=!e(function(){var r=new Error("a");return"stack"in r?(Object.defineProperty(r,"stack",t(1,7)),r.stack!==7):!0}),SS}var wS,GN;function UC(){if(GN)return wS;GN=1;var e=fa(),t=jC(),r=RX(),n=Error.captureStackTrace;return wS=function(i,a,o,l){r&&(n?n(i,a):e(i,"stack",t(o,l)))},wS}var bS,KN;function xX(){if(KN)return bS;KN=1;var e=ln(),t=fn(),r=fa(),n=Ba(),i=Es(),a=Hf(),o=TX(),l=hc(),u=zf(),f=AX(),d=UC(),h=Rr(),p=xn();return bS=function(y,_,E,S){var w="stackTraceLimit",T=S?2:1,C=y.split("."),x=C[C.length-1],R=e.apply(null,C);if(R){var O=R.prototype;if(!p&&t(O,"cause")&&delete O.cause,!E)return R;var m=e("Error"),D=_(function(U,K){var B=u(S?K:U,void 0),W=S?new R(U):new R;return B!==void 0&&r(W,"message",B),d(W,D,W.stack,2),this&&n(O,this)&&l(W,this,D),arguments.length>T&&f(W,arguments[T]),W});if(D.prototype=O,x!=="Error"?i?i(D,m):a(D,m,{name:!0}):h&&w in R&&(o(D,R,w),o(D,R,"prepareStackTrace")),a(D,R),!p)try{O.name!==x&&r(O,"name",x),O.constructor=D}catch{}return D}},bS}var YN;function oae(){if(YN)return MN;YN=1;var e=je(),t=Zt(),r=ko(),n=xX(),i="WebAssembly",a=t[i],o=new Error("e",{cause:7}).cause!==7,l=function(f,d){var h={};h[f]=n(f,d,o),e({global:!0,constructor:!0,arity:1,forced:o},h)},u=function(f,d){if(a&&a[f]){var h={};h[f]=n(i+"."+f,d,o),e({target:i,stat:!0,constructor:!0,arity:1,forced:o},h)}};return l("Error",function(f){return function(h){return r(f,this,arguments)}}),l("EvalError",function(f){return function(h){return r(f,this,arguments)}}),l("RangeError",function(f){return function(h){return r(f,this,arguments)}}),l("ReferenceError",function(f){return function(h){return r(f,this,arguments)}}),l("SyntaxError",function(f){return function(h){return r(f,this,arguments)}}),l("TypeError",function(f){return function(h){return r(f,this,arguments)}}),l("URIError",function(f){return function(h){return r(f,this,arguments)}}),u("CompileError",function(f){return function(h){return r(f,this,arguments)}}),u("LinkError",function(f){return function(h){return r(f,this,arguments)}}),u("RuntimeError",function(f){return function(h){return r(f,this,arguments)}}),MN}var XN={},QN;function sae(){if(QN)return XN;QN=1;var e=je(),t=ln(),r=qr(),n=Io(),i=Ht(),a="Error",o="DOMException",l=Object.setPrototypeOf||{}.__proto__,u=t(o),f=Error,d=f.isError,h=!d||!l||i(function(){return u&&!d(new u(o))||!d(new f(a,{cause:function(){}}))||d(t("Object","create")(f.prototype))});return e({target:"Error",stat:!0,sham:!0,forced:h},{isError:function(y){if(!r(y))return!1;var _=n(y);return _===a||_===o}}),XN}var JN={},TS,ZN;function CX(){if(ZN)return TS;ZN=1;var e=Rr(),t=Ht(),r=_r(),n=zf(),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 TS=a?function(){var l=r(this),u=n(l.name,"Error"),f=n(l.message);return u?f?u+": "+f:u:f}:i,TS}var eM;function uae(){if(eM)return JN;eM=1;var e=Fn(),t=CX(),r=Error.prototype;return r.toString!==t&&e(r,"toString",t),JN}var tM={},rM={},AS,nM;function qC(){if(nM)return AS;nM=1;var e=Ht();return AS=!e(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),AS}var RS,iM;function Va(){if(iM)return RS;iM=1;var e=fn(),t=hn(),r=Sn(),n=Wg(),i=qC(),a=n("IE_PROTO"),o=Object,l=o.prototype;return RS=i?o.getPrototypeOf:function(u){var f=r(u);if(e(f,a))return f[a];var d=f.constructor;return t(d)&&f instanceof d?d.prototype:f instanceof o?l:null},RS}var xS,aM;function qh(){return aM||(aM=1,xS={}),xS}var CS,oM;function BC(){if(oM)return CS;oM=1;var e=Br(),t=qh(),r=e("iterator"),n=Array.prototype;return CS=function(i){return i!==void 0&&(t.Array===i||n[r]===i)},CS}var OS,sM;function pc(){if(sM)return OS;sM=1;var e=Io(),t=la(),r=_u(),n=qh(),i=Br(),a=i("iterator");return OS=function(o){if(!r(o))return t(o,a)||t(o,"@@iterator")||n[e(o)]},OS}var IS,uM;function Wf(){if(uM)return IS;uM=1;var e=gr(),t=cn(),r=_r(),n=lc(),i=pc(),a=TypeError;return IS=function(o,l){var u=arguments.length<2?i(o):l;if(t(u))return r(e(u,o));throw new a(n(o)+" is not iterable")},IS}var PS,lM;function pa(){if(lM)return PS;lM=1;var e=gr(),t=_r(),r=la();return PS=function(n,i,a){var o,l;t(n);try{if(o=r(n,"return"),!o){if(i==="throw")throw a;return a}o=e(o,n)}catch(u){l=!0,o=u}if(i==="throw")throw a;if(l)throw o;return t(o),a},PS}var kS,cM;function Hi(){if(cM)return kS;cM=1;var e=Po(),t=gr(),r=_r(),n=lc(),i=BC(),a=Wn(),o=Ba(),l=Wf(),u=pc(),f=pa(),d=TypeError,h=function(y,_){this.stopped=y,this.result=_},p=h.prototype;return kS=function(y,_,E){var S=E&&E.that,w=!!(E&&E.AS_ENTRIES),T=!!(E&&E.IS_RECORD),C=!!(E&&E.IS_ITERATOR),x=!!(E&&E.INTERRUPTED),R=e(_,S),O,m,D,U,K,B,W,Y=function(ie){return O&&f(O,"normal"),new h(!0,ie)},Q=function(ie){return w?(r(ie),x?R(ie[0],ie[1],Y):R(ie[0],ie[1])):x?R(ie,Y):R(ie)};if(T)O=y.iterator;else if(C)O=y;else{if(m=u(y),!m)throw new d(n(y)+" is not iterable");if(i(m)){for(D=0,U=a(y);U>D;D++)if(K=Q(y[D]),K&&o(p,K))return K;return new h(!1)}O=l(y,m)}for(B=T?y.next:O.next;!(W=t(B,O)).done;){try{K=Q(W.value)}catch(ie){f(O,"throw",ie)}if(typeof K=="object"&&K&&o(p,K))return K}return new h(!1)},kS}var fM;function lae(){if(fM)return rM;fM=1;var e=je(),t=Ba(),r=Va(),n=Es(),i=Hf(),a=da(),o=fa(),l=Co(),u=AX(),f=UC(),d=Hi(),h=zf(),p=Br(),y=p("toStringTag"),_=Error,E=[].push,S=function(C,x){var R=t(w,this),O;n?O=n(new _,R?r(this):w):(O=R?this:a(w),o(O,y,"Error")),x!==void 0&&o(O,"message",h(x)),f(O,S,O.stack,1),arguments.length>2&&u(O,arguments[2]);var m=[];return d(C,E,{that:m}),o(O,"errors",m),O};n?n(S,_):i(S,_,{name:!0});var w=S.prototype=a(_.prototype,{constructor:l(1,S),message:l(1,""),name:l(1,"AggregateError")});return e({global:!0,constructor:!0,arity:2},{AggregateError:S}),rM}var dM;function cae(){return dM||(dM=1,lae()),tM}var hM={},pM;function fae(){if(pM)return hM;pM=1;var e=je(),t=ln(),r=ko(),n=Ht(),i=xX(),a="AggregateError",o=t(a),l=!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:l},{AggregateError:i(a,function(u){return function(d,h){return r(u,this,arguments)}},l,!0)}),hM}var vM={},gM;function dae(){if(gM)return vM;gM=1;var e=je(),t=Zt(),r=Ba(),n=Va(),i=Es(),a=Hf(),o=da(),l=fa(),u=Co(),f=UC(),d=zf(),h=Br(),p=Ht(),y=xn(),_=t.SuppressedError,E=h("toStringTag"),S=Error,w=!!_&&_.length!==3,T=!!_&&p(function(){return new _(1,2,3,{cause:4}).cause===4}),C=w||T,x=function(m,D,U){var K=r(R,this),B;return i?B=C&&(!K||n(this)===R)?new _:i(new S,K?n(this):R):(B=K?this:o(R),l(B,E,"Error")),U!==void 0&&l(B,"message",d(U)),f(B,x,B.stack,1),l(B,"error",m),l(B,"suppressed",D),B};i?i(x,S):a(x,S,{name:!0});var R=x.prototype=C?_.prototype:o(S.prototype,{constructor:u(1,x),message:u(1,""),name:u(1,"SuppressedError")});return C&&!y&&(R.constructor=x),e({global:!0,constructor:!0,arity:3,forced:C},{SuppressedError:x}),vM}var mM={},DS,yM;function uo(){if(yM)return DS;yM=1;var e=Br(),t=da(),r=si().f,n=e("unscopables"),i=Array.prototype;return i[n]===void 0&&r(i,n,{configurable:!0,value:t(null)}),DS=function(a){i[n][a]=!0},DS}var _M;function hae(){if(_M)return mM;_M=1;var e=je(),t=Sn(),r=Wn(),n=Ri(),i=uo();return e({target:"Array",proto:!0},{at:function(o){var l=t(this),u=r(l),f=n(o),d=f>=0?f:u+f;return d<0||d>=u?void 0:l[d]}}),i("at"),mM}var EM={},LS,SM;function vc(){if(SM)return LS;SM=1;var e=TypeError,t=9007199254740991;return LS=function(r){if(r>t)throw e("Maximum allowed index exceeded");return r},LS}var NS,wM;function Su(){if(wM)return NS;wM=1;var e=Rr(),t=si(),r=Co();return NS=function(n,i,a){e?t.f(n,i,r(0,a)):n[i]=a},NS}var MS,bM;function Bh(){if(bM)return MS;bM=1;var e=Ht(),t=Br(),r=qs(),n=t("species");return MS=function(i){return r>=51||!e(function(){var a=[],o=a.constructor={};return o[n]=function(){return{foo:1}},a[i](Boolean).foo!==1})},MS}var TM;function pae(){if(TM)return EM;TM=1;var e=je(),t=Ht(),r=ll(),n=qr(),i=Sn(),a=Wn(),o=vc(),l=Su(),u=Uh(),f=Bh(),d=Br(),h=qs(),p=d("isConcatSpreadable"),y=h>=51||!t(function(){var S=[];return S[p]=!1,S.concat()[0]!==S}),_=function(S){if(!n(S))return!1;var w=S[p];return w!==void 0?!!w:r(S)},E=!y||!f("concat");return e({target:"Array",proto:!0,arity:1,forced:E},{concat:function(w){var T=i(this),C=u(T,0),x=0,R,O,m,D,U;for(R=-1,m=arguments.length;R<m;R++)if(U=R===-1?T:arguments[R],_(U))for(D=a(U),o(x+D),O=0;O<D;O++,x++)O in U&&l(C,x,U[O]);else o(x+1),l(C,x++,U);return C.length=x,C}}),EM}var AM={},$S,RM;function Xg(){if(RM)return $S;RM=1;var e=lc(),t=TypeError;return $S=function(r,n){if(!delete r[n])throw new t("Cannot delete property "+e(n)+" of "+e(r))},$S}var FS,xM;function OX(){if(xM)return FS;xM=1;var e=Sn(),t=Eu(),r=Wn(),n=Xg(),i=Math.min;return FS=[].copyWithin||function(o,l){var u=e(this),f=r(u),d=t(o,f),h=t(l,f),p=arguments.length>2?arguments[2]:void 0,y=i((p===void 0?f:t(p,f))-h,f-d),_=1;for(h<d&&d<h+y&&(_=-1,h+=y-1,d+=y-1);y-- >0;)h in u?u[d]=u[h]:n(u,d),d+=_,h+=_;return u},FS}var CM;function vae(){if(CM)return AM;CM=1;var e=je(),t=OX(),r=uo();return e({target:"Array",proto:!0},{copyWithin:t}),r("copyWithin"),AM}var OM={},jS,IM;function wu(){if(IM)return jS;IM=1;var e=Ht();return jS=function(t,r){var n=[][t];return!!n&&e(function(){n.call(null,r||function(){return 1},1)})},jS}var PM;function gae(){if(PM)return OM;PM=1;var e=je(),t=ha().every,r=wu(),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)}}),OM}var kM={},US,DM;function VC(){if(DM)return US;DM=1;var e=Sn(),t=Eu(),r=Wn();return US=function(i){for(var a=e(this),o=r(a),l=arguments.length,u=t(l>1?arguments[1]:void 0,o),f=l>2?arguments[2]:void 0,d=f===void 0?o:t(f,o);d>u;)a[u++]=i;return a},US}var LM;function mae(){if(LM)return kM;LM=1;var e=je(),t=VC(),r=uo();return e({target:"Array",proto:!0},{fill:t}),r("fill"),kM}var NM={},MM;function yae(){if(MM)return NM;MM=1;var e=je(),t=ha().filter,r=Bh(),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)}}),NM}var $M={},FM;function _ae(){if(FM)return $M;FM=1;var e=je(),t=ha().find,r=uo(),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),$M}var jM={},UM;function Eae(){if(UM)return jM;UM=1;var e=je(),t=ha().findIndex,r=uo(),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),jM}var qM={},qS,BM;function Qg(){if(BM)return qS;BM=1;var e=Po(),t=jf(),r=Sn(),n=Wn(),i=function(a){var o=a===1;return function(l,u,f){for(var d=r(l),h=t(d),p=n(h),y=e(u,f),_,E;p-- >0;)if(_=h[p],E=y(_,p,d),E)switch(a){case 0:return _;case 1:return p}return o?-1:void 0}};return qS={findLast:i(0),findLastIndex:i(1)},qS}var VM;function Sae(){if(VM)return qM;VM=1;var e=je(),t=Qg().findLast,r=uo();return e({target:"Array",proto:!0},{findLast:function(i){return t(this,i,arguments.length>1?arguments[1]:void 0)}}),r("findLast"),qM}var HM={},zM;function wae(){if(zM)return HM;zM=1;var e=je(),t=Qg().findLastIndex,r=uo();return e({target:"Array",proto:!0},{findLastIndex:function(i){return t(this,i,arguments.length>1?arguments[1]:void 0)}}),r("findLastIndex"),HM}var WM={},BS,GM;function IX(){if(GM)return BS;GM=1;var e=ll(),t=Wn(),r=vc(),n=Po(),i=function(a,o,l,u,f,d,h,p){for(var y=f,_=0,E=h?n(h,p):!1,S,w;_<u;)_ in l&&(S=E?E(l[_],_,o):l[_],d>0&&e(S)?(w=t(S),y=i(a,o,S,w,y,d-1)-1):(r(y+1),a[y]=S),y++),_++;return y};return BS=i,BS}var KM;function bae(){if(KM)return WM;KM=1;var e=je(),t=IX(),r=Sn(),n=Wn(),i=Ri(),a=Uh();return e({target:"Array",proto:!0},{flat:function(){var l=arguments.length?arguments[0]:void 0,u=r(this),f=n(u),d=a(u,0);return d.length=t(d,u,u,f,0,l===void 0?1:i(l)),d}}),WM}var YM={},XM;function Tae(){if(XM)return YM;XM=1;var e=je(),t=IX(),r=cn(),n=Sn(),i=Wn(),a=Uh();return e({target:"Array",proto:!0},{flatMap:function(l){var u=n(this),f=i(u),d;return r(l),d=a(u,0),d.length=t(d,u,u,f,0,1,l,arguments.length>1?arguments[1]:void 0),d}}),YM}var QM={},VS,JM;function PX(){if(JM)return VS;JM=1;var e=ha().forEach,t=wu(),r=t("forEach");return VS=r?[].forEach:function(i){return e(this,i,arguments.length>1?arguments[1]:void 0)},VS}var ZM;function Aae(){if(ZM)return QM;ZM=1;var e=je(),t=PX();return e({target:"Array",proto:!0,forced:[].forEach!==t},{forEach:t}),QM}var e$={},HS,t$;function HC(){if(t$)return HS;t$=1;var e=_r(),t=pa();return HS=function(r,n,i,a){try{return a?n(e(i)[0],i[1]):n(i)}catch(o){t(r,"throw",o)}},HS}var zS,r$;function kX(){if(r$)return zS;r$=1;var e=Po(),t=gr(),r=Sn(),n=HC(),i=BC(),a=dc(),o=Wn(),l=Su(),u=Wf(),f=pc(),d=Array;return zS=function(p){var y=r(p),_=a(this),E=arguments.length,S=E>1?arguments[1]:void 0,w=S!==void 0;w&&(S=e(S,E>2?arguments[2]:void 0));var T=f(y),C=0,x,R,O,m,D,U;if(T&&!(this===d&&i(T)))for(R=_?new this:[],m=u(y,T),D=m.next;!(O=t(D,m)).done;C++)U=w?n(m,S,[O.value,C],!0):O.value,l(R,C,U);else for(x=o(y),R=_?new this(x):d(x);x>C;C++)U=w?S(y[C],C):y[C],l(R,C,U);return R.length=C,R},zS}var WS,n$;function Jg(){if(n$)return WS;n$=1;var e=Br(),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 WS=function(a,o){try{if(!o&&!r)return!1}catch{return!1}var l=!1;try{var u={};u[t]=function(){return{next:function(){return{done:l=!0}}}},a(u)}catch{}return l},WS}var i$;function Rae(){if(i$)return e$;i$=1;var e=je(),t=kX(),r=Jg(),n=!r(function(i){Array.from(i)});return e({target:"Array",stat:!0,forced:n},{from:t}),e$}var a$={},o$;function xae(){if(o$)return a$;o$=1;var e=je(),t=$h().includes,r=Ht(),n=uo(),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"),a$}var s$={},u$;function Cae(){if(u$)return s$;u$=1;var e=je(),t=fc(),r=$h().indexOf,n=wu(),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(u){var f=arguments.length>1?arguments[1]:void 0;return a?i(this,u,f)||0:r(this,u,f)}}),s$}var l$={},c$;function Oae(){if(c$)return l$;c$=1;var e=je(),t=ll();return e({target:"Array",stat:!0},{isArray:t}),l$}var GS,f$;function Gf(){if(f$)return GS;f$=1;var e=Ht(),t=hn(),r=qr(),n=da(),i=Va(),a=Fn(),o=Br(),l=xn(),u=o("iterator"),f=!1,d,h,p;[].keys&&(p=[].keys(),"next"in p?(h=i(i(p)),h!==Object.prototype&&(d=h)):f=!0);var y=!r(d)||e(function(){var _={};return d[u].call(_)!==_});return y?d={}:l&&(d=n(d)),t(d[u])||a(d,u,function(){return this}),GS={IteratorPrototype:d,BUGGY_SAFARI_ITERATORS:f},GS}var KS,d$;function zC(){if(d$)return KS;d$=1;var e=Gf().IteratorPrototype,t=da(),r=Co(),n=so(),i=qh(),a=function(){return this};return KS=function(o,l,u,f){var d=l+" Iterator";return o.prototype=t(e,{next:r(+!f,u)}),n(o,d,!1,!0),i[d]=a,o},KS}var YS,h$;function WC(){if(h$)return YS;h$=1;var e=je(),t=gr(),r=xn(),n=Vf(),i=hn(),a=zC(),o=Va(),l=Es(),u=so(),f=fa(),d=Fn(),h=Br(),p=qh(),y=Gf(),_=n.PROPER,E=n.CONFIGURABLE,S=y.IteratorPrototype,w=y.BUGGY_SAFARI_ITERATORS,T=h("iterator"),C="keys",x="values",R="entries",O=function(){return this};return YS=function(m,D,U,K,B,W,Y){a(U,D,K);var Q=function(Be){if(Be===B&&J)return J;if(!w&&Be&&Be in ve)return ve[Be];switch(Be){case C:return function(){return new U(this,Be)};case x:return function(){return new U(this,Be)};case R:return function(){return new U(this,Be)}}return function(){return new U(this)}},ie=D+" Iterator",ae=!1,ve=m.prototype,H=ve[T]||ve["@@iterator"]||B&&ve[B],J=!w&&H||Q(B),z=D==="Array"&&ve.entries||H,ue,we,ke;if(z&&(ue=o(z.call(new m)),ue!==Object.prototype&&ue.next&&(!r&&o(ue)!==S&&(l?l(ue,S):i(ue[T])||d(ue,T,O)),u(ue,ie,!0,!0),r&&(p[ie]=O))),_&&B===x&&H&&H.name!==x&&(!r&&E?f(ve,"name",x):(ae=!0,J=function(){return t(H,this)})),B)if(we={values:Q(x),keys:W?J:Q(C),entries:Q(R)},Y)for(ke in we)(w||ae||!(ke in ve))&&d(ve,ke,we[ke]);else e({target:D,proto:!0,forced:w||ae},we);return(!r||Y)&&ve[T]!==J&&d(ve,T,J,{name:B}),p[D]=J,we},YS}var XS,p$;function gc(){return p$||(p$=1,XS=function(e,t){return{value:e,done:t}}),XS}var QS,v$;function Zg(){if(v$)return QS;v$=1;var e=ta(),t=uo(),r=qh(),n=Ei(),i=si().f,a=WC(),o=gc(),l=xn(),u=Rr(),f="Array Iterator",d=n.set,h=n.getterFor(f);QS=a(Array,"Array",function(y,_){d(this,{type:f,target:e(y),index:0,kind:_})},function(){var y=h(this),_=y.target,E=y.index++;if(!_||E>=_.length)return y.target=null,o(void 0,!0);switch(y.kind){case"keys":return o(E,!1);case"values":return o(_[E],!1)}return o([E,_[E]],!1)},"values");var p=r.Arguments=r.Array;if(t("keys"),t("values"),t("entries"),!l&&u&&p.name!=="values")try{i(p,"name",{value:"values"})}catch{}return QS}var g$={},m$;function Iae(){if(m$)return g$;m$=1;var e=je(),t=Kt(),r=jf(),n=ta(),i=wu(),a=t([].join),o=r!==Object,l=o||!i("join",",");return e({target:"Array",proto:!0,forced:l},{join:function(f){return a(n(this),f===void 0?",":f)}}),g$}var y$={},JS,_$;function DX(){if(_$)return JS;_$=1;var e=ko(),t=ta(),r=Ri(),n=Wn(),i=wu(),a=Math.min,o=[].lastIndexOf,l=!!o&&1/[1].lastIndexOf(1,-0)<0,u=i("lastIndexOf"),f=l||!u;return JS=f?function(h){if(l)return e(o,this,arguments)||0;var p=t(this),y=n(p);if(y===0)return-1;var _=y-1;for(arguments.length>1&&(_=a(_,r(arguments[1]))),_<0&&(_=y+_);_>=0;_--)if(_ in p&&p[_]===h)return _||0;return-1}:o,JS}var E$;function Pae(){if(E$)return y$;E$=1;var e=je(),t=DX();return e({target:"Array",proto:!0,forced:t!==[].lastIndexOf},{lastIndexOf:t}),y$}var S$={},w$;function kae(){if(w$)return S$;w$=1;var e=je(),t=ha().map,r=Bh(),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)}}),S$}var b$={},T$;function Dae(){if(T$)return b$;T$=1;var e=je(),t=Ht(),r=dc(),n=Su(),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 l=0,u=arguments.length,f=new(r(this)?this:i)(u);u>l;)n(f,l,arguments[l++]);return f.length=u,f}}),b$}var A$={},ZS,R$;function GC(){if(R$)return ZS;R$=1;var e=Rr(),t=ll(),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 ZS=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},ZS}var x$;function Lae(){if(x$)return A$;x$=1;var e=je(),t=Sn(),r=Wn(),n=GC(),i=vc(),a=Ht(),o=a(function(){return[].push.call({length:4294967296},1)!==4294967297}),l=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(f){return f instanceof TypeError}},u=o||!l();return e({target:"Array",proto:!0,arity:1,forced:u},{push:function(d){var h=t(this),p=r(h),y=arguments.length;i(p+y);for(var _=0;_<y;_++)h[p]=arguments[_],p++;return n(h,p),p}}),A$}var C$={},e0,O$;function em(){if(O$)return e0;O$=1;var e=cn(),t=Sn(),r=jf(),n=Wn(),i=TypeError,a="Reduce of empty array with no initial value",o=function(l){return function(u,f,d,h){var p=t(u),y=r(p),_=n(p);if(e(f),_===0&&d<2)throw new i(a);var E=l?_-1:0,S=l?-1:1;if(d<2)for(;;){if(E in y){h=y[E],E+=S;break}if(E+=S,l?E<0:_<=E)throw new i(a)}for(;l?E>=0:_>E;E+=S)E in y&&(h=f(h,y[E],E,p));return h}};return e0={left:o(!1),right:o(!0)},e0}var t0,I$;function tm(){if(I$)return t0;I$=1;var e=Zt(),t=Us(),r=Aa(),n=function(i){return t.slice(0,i.length)===i};return t0=(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"})(),t0}var r0,P$;function Kf(){if(P$)return r0;P$=1;var e=tm();return r0=e==="NODE",r0}var k$;function Nae(){if(k$)return C$;k$=1;var e=je(),t=em().left,r=wu(),n=qs(),i=Kf(),a=!i&&n>79&&n<83,o=a||!r("reduce");return e({target:"Array",proto:!0,forced:o},{reduce:function(u){var f=arguments.length;return t(this,u,f,f>1?arguments[1]:void 0)}}),C$}var D$={},L$;function Mae(){if(L$)return D$;L$=1;var e=je(),t=em().right,r=wu(),n=qs(),i=Kf(),a=!i&&n>79&&n<83,o=a||!r("reduceRight");return e({target:"Array",proto:!0,forced:o},{reduceRight:function(u){return t(this,u,arguments.length,arguments.length>1?arguments[1]:void 0)}}),D$}var N$={},M$;function $ae(){if(M$)return N$;M$=1;var e=je(),t=Kt(),r=ll(),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)}}),N$}var $$={},F$;function Fae(){if(F$)return $$;F$=1;var e=je(),t=ll(),r=dc(),n=qr(),i=Eu(),a=Wn(),o=ta(),l=Su(),u=Br(),f=Bh(),d=ns(),h=f("slice"),p=u("species"),y=Array,_=Math.max;return e({target:"Array",proto:!0,forced:!h},{slice:function(S,w){var T=o(this),C=a(T),x=i(S,C),R=i(w===void 0?C:w,C),O,m,D;if(t(T)&&(O=T.constructor,r(O)&&(O===y||t(O.prototype))?O=void 0:n(O)&&(O=O[p],O===null&&(O=void 0)),O===y||O===void 0))return d(T,x,R);for(m=new(O===void 0?y:O)(_(R-x,0)),D=0;x<R;x++,D++)x in T&&l(m,D,T[x]);return m.length=D,m}}),$$}var j$={},U$;function jae(){if(U$)return j$;U$=1;var e=je(),t=ha().some,r=wu(),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)}}),j$}var q$={},n0,B$;function KC(){if(B$)return n0;B$=1;var e=ns(),t=Math.floor,r=function(n,i){var a=n.length;if(a<8)for(var o=1,l,u;o<a;){for(u=o,l=n[o];u&&i(n[u-1],l)>0;)n[u]=n[--u];u!==o++&&(n[u]=l)}else for(var f=t(a/2),d=r(e(n,0,f),i),h=r(e(n,f),i),p=d.length,y=h.length,_=0,E=0;_<p||E<y;)n[_+E]=_<p&&E<y?i(d[_],h[E])<=0?d[_++]:h[E++]:_<p?d[_++]:h[E++];return n};return n0=r,n0}var i0,V$;function LX(){if(V$)return i0;V$=1;var e=Us(),t=e.match(/firefox\/(\d+)/i);return i0=!!t&&+t[1],i0}var a0,H$;function NX(){if(H$)return a0;H$=1;var e=Us();return a0=/MSIE|Trident/.test(e),a0}var o0,z$;function YC(){if(z$)return o0;z$=1;var e=Us(),t=e.match(/AppleWebKit\/(\d+)\./);return o0=!!t&&+t[1],o0}var W$;function Uae(){if(W$)return q$;W$=1;var e=je(),t=Kt(),r=cn(),n=Sn(),i=Wn(),a=Xg(),o=Xr(),l=Ht(),u=KC(),f=wu(),d=LX(),h=NX(),p=qs(),y=YC(),_=[],E=t(_.sort),S=t(_.push),w=l(function(){_.sort(void 0)}),T=l(function(){_.sort(null)}),C=f("sort"),x=!l(function(){if(p)return p<70;if(!(d&&d>3)){if(h)return!0;if(y)return y<603;var m="",D,U,K,B;for(D=65;D<76;D++){switch(U=String.fromCharCode(D),D){case 66:case 69:case 70:case 72:K=3;break;case 68:case 71:K=4;break;default:K=2}for(B=0;B<47;B++)_.push({k:U+B,v:K})}for(_.sort(function(W,Y){return Y.v-W.v}),B=0;B<_.length;B++)U=_[B].k.charAt(0),m.charAt(m.length-1)!==U&&(m+=U);return m!=="DGBEFHACIJK"}}),R=w||!T||!C||!x,O=function(m){return function(D,U){return U===void 0?-1:D===void 0?1:m!==void 0?+m(D,U)||0:o(D)>o(U)?1:-1}};return e({target:"Array",proto:!0,forced:R},{sort:function(D){D!==void 0&&r(D);var U=n(this);if(x)return D===void 0?E(U):E(U,D);var K=[],B=i(U),W,Y;for(Y=0;Y<B;Y++)Y in U&&S(K,U[Y]);for(u(K,O(D)),W=i(K),Y=0;Y<W;)U[Y]=K[Y++];for(;Y<B;)a(U,Y++);return U}}),q$}var G$={},s0,K$;function Yf(){if(K$)return s0;K$=1;var e=ln(),t=Di(),r=Br(),n=Rr(),i=r("species");return s0=function(a){var o=e(a);n&&o&&!o[i]&&t(o,i,{configurable:!0,get:function(){return this}})},s0}var Y$;function qae(){if(Y$)return G$;Y$=1;var e=Yf();return e("Array"),G$}var X$={},Q$;function Bae(){if(Q$)return X$;Q$=1;var e=je(),t=Sn(),r=Eu(),n=Ri(),i=Wn(),a=GC(),o=vc(),l=Uh(),u=Su(),f=Xg(),d=Bh(),h=d("splice"),p=Math.max,y=Math.min;return e({target:"Array",proto:!0,forced:!h},{splice:function(E,S){var w=t(this),T=i(w),C=r(E,T),x=arguments.length,R,O,m,D,U,K;for(x===0?R=O=0:x===1?(R=0,O=T-C):(R=x-2,O=y(p(n(S),0),T-C)),o(T+R-O),m=l(w,O),D=0;D<O;D++)U=C+D,U in w&&u(m,D,w[U]);if(m.length=O,R<O){for(D=C;D<T-O;D++)U=D+O,K=D+R,U in w?w[K]=w[U]:f(w,K);for(D=T;D>T-O+R;D--)f(w,D-1)}else if(R>O)for(D=T-O;D>C;D--)U=D+O-1,K=D+R-1,U in w?w[K]=w[U]:f(w,K);for(D=0;D<R;D++)w[D+C]=arguments[D+2];return a(w,T-O+R),m}}),X$}var J$={},u0,Z$;function MX(){if(Z$)return u0;Z$=1;var e=Wn();return u0=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},u0}var eF;function Vae(){if(eF)return J$;eF=1;var e=je(),t=MX(),r=ta(),n=uo(),i=Array;return e({target:"Array",proto:!0},{toReversed:function(){return t(r(this),i)}}),n("toReversed"),J$}var tF={},l0,rF;function Vh(){if(rF)return l0;rF=1;var e=Wn();return l0=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},l0}var c0,nF;function $X(){if(nF)return c0;nF=1;var e=Zt();return c0=function(t,r){var n=e[t],i=n&&n.prototype;return i&&i[r]},c0}var iF;function Hae(){if(iF)return tF;iF=1;var e=je(),t=Kt(),r=cn(),n=ta(),i=Vh(),a=$X(),o=uo(),l=Array,u=t(a("Array","sort"));return e({target:"Array",proto:!0},{toSorted:function(d){d!==void 0&&r(d);var h=n(this),p=i(l,h);return u(p,d)}}),o("toSorted"),tF}var aF={},oF;function zae(){if(oF)return aF;oF=1;var e=je(),t=uo(),r=vc(),n=Wn(),i=Eu(),a=ta(),o=Ri(),l=Array,u=Math.max,f=Math.min;return e({target:"Array",proto:!0},{toSpliced:function(h,p){var y=a(this),_=n(y),E=i(h,_),S=arguments.length,w=0,T,C,x,R;for(S===0?T=C=0:S===1?(T=0,C=_-E):(T=S-2,C=f(u(o(p),0),_-E)),x=r(_+T-C),R=l(x);w<E;w++)R[w]=y[w];for(;w<E+T;w++)R[w]=arguments[w-E+2];for(;w<x;w++)R[w]=y[w+C-T];return R}}),t("toSpliced"),aF}var sF={},uF;function Wae(){if(uF)return sF;uF=1;var e=uo();return e("flat"),sF}var lF={},cF;function Gae(){if(cF)return lF;cF=1;var e=uo();return e("flatMap"),lF}var fF={},dF;function Kae(){if(dF)return fF;dF=1;var e=je(),t=Sn(),r=Wn(),n=GC(),i=Xg(),a=vc(),o=[].unshift(0)!==1,l=function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(f){return f instanceof TypeError}},u=o||!l();return e({target:"Array",proto:!0,arity:1,forced:u},{unshift:function(d){var h=t(this),p=r(h),y=arguments.length;if(y){a(p+y);for(var _=p;_--;){var E=_+y;_ in h?h[E]=h[_]:i(h,E)}for(var S=0;S<y;S++)h[S]=arguments[S]}return n(h,p+y)}}),fF}var hF={},f0,pF;function FX(){if(pF)return f0;pF=1;var e=Wn(),t=Ri(),r=RangeError;return f0=function(n,i,a,o){var l=e(n),u=t(a),f=u<0?l+u:u;if(f>=l||f<0)throw new r("Incorrect index");for(var d=new i(l),h=0;h<l;h++)d[h]=h===f?o:n[h];return d},f0}var vF;function Yae(){if(vF)return hF;vF=1;var e=je(),t=FX(),r=ta(),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)}}),hF}var gF={},d0,mF;function rm(){return mF||(mF=1,d0=typeof ArrayBuffer<"u"&&typeof DataView<"u"),d0}var h0,yF;function bu(){if(yF)return h0;yF=1;var e=Fn();return h0=function(t,r,n){for(var i in r)e(t,i,r[i],n);return t},h0}var p0,_F;function Do(){if(_F)return p0;_F=1;var e=Ba(),t=TypeError;return p0=function(r,n){if(e(n,r))return r;throw new t("Incorrect invocation")},p0}var v0,EF;function nm(){if(EF)return v0;EF=1;var e=Ri(),t=Oo(),r=RangeError;return v0=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},v0}var g0,SF;function XC(){return SF||(SF=1,g0=Math.sign||function(t){var r=+t;return r===0||r!==r?r:r<0?-1:1}),g0}var m0,wF;function jX(){if(wF)return m0;wF=1;var e=2220446049250313e-31,t=1/e;return m0=function(r){return r+t-t},m0}var y0,bF;function UX(){if(bF)return y0;bF=1;var e=XC(),t=jX(),r=Math.abs,n=2220446049250313e-31;return y0=function(i,a,o,l){var u=+i,f=r(u),d=e(u);if(f<l)return d*t(f/l/a)*l*a;var h=(1+a/n)*f,p=h-(h-f);return p>o||p!==p?d*(1/0):d*p},y0}var _0,TF;function qX(){if(TF)return _0;TF=1;var e=UX(),t=11920928955078125e-23,r=34028234663852886e22,n=11754943508222875e-54;return _0=Math.fround||function(a){return e(a,t,r,n)},_0}var E0,AF;function Xae(){if(AF)return E0;AF=1;var e=Array,t=Math.abs,r=Math.pow,n=Math.floor,i=Math.log,a=Math.LN2,o=function(u,f,d){var h=e(d),p=d*8-f-1,y=(1<<p)-1,_=y>>1,E=f===23?r(2,-24)-r(2,-77):0,S=u<0||u===0&&1/u<0?1:0,w=0,T,C,x;for(u=t(u),u!==u||u===1/0?(C=u!==u?1:0,T=y):(T=n(i(u)/a),x=r(2,-T),u*x<1&&(T--,x*=2),T+_>=1?u+=E/x:u+=E*r(2,1-_),u*x>=2&&(T++,x/=2),T+_>=y?(C=0,T=y):T+_>=1?(C=(u*x-1)*r(2,f),T+=_):(C=u*r(2,_-1)*r(2,f),T=0));f>=8;)h[w++]=C&255,C/=256,f-=8;for(T=T<<f|C,p+=f;p>0;)h[w++]=T&255,T/=256,p-=8;return h[w-1]|=S*128,h},l=function(u,f){var d=u.length,h=d*8-f-1,p=(1<<h)-1,y=p>>1,_=h-7,E=d-1,S=u[E--],w=S&127,T;for(S>>=7;_>0;)w=w*256+u[E--],_-=8;for(T=w&(1<<-_)-1,w>>=-_,_+=f;_>0;)T=T*256+u[E--],_-=8;if(w===0)w=1-y;else{if(w===p)return T?NaN:S?-1/0:1/0;T+=r(2,f),w-=y}return(S?-1:1)*T*r(2,w-f)};return E0={pack:o,unpack:l},E0}var S0,RF;function im(){if(RF)return S0;RF=1;var e=Zt(),t=Kt(),r=Rr(),n=rm(),i=Vf(),a=fa(),o=Di(),l=bu(),u=Ht(),f=Do(),d=Ri(),h=Oo(),p=nm(),y=qX(),_=Xae(),E=Va(),S=Es(),w=VC(),T=ns(),C=hc(),x=Hf(),R=so(),O=Ei(),m=i.PROPER,D=i.CONFIGURABLE,U="ArrayBuffer",K="DataView",B="prototype",W="Wrong length",Y="Wrong index",Q=O.getterFor(U),ie=O.getterFor(K),ae=O.set,ve=e[U],H=ve,J=H&&H[B],z=e[K],ue=z&&z[B],we=Object.prototype,ke=e.Array,Be=e.RangeError,nt=t(w),rt=t([].reverse),q=_.pack,I=_.unpack,N=function(me){return[me&255]},M=function(me){return[me&255,me>>8&255]},Z=function(me){return[me&255,me>>8&255,me>>16&255,me>>24&255]},L=function(me){return me[3]<<24|me[2]<<16|me[1]<<8|me[0]},G=function(me){return q(y(me),23,4)},pe=function(me){return q(me,52,8)},fe=function(me,ge,Te){o(me[B],ge,{configurable:!0,get:function(){return Te(this)[ge]}})},be=function(me,ge,Te,Pe){var De=ie(me),qe=p(Te),_t=!!Pe;if(qe+ge>De.byteLength)throw new Be(Y);var Ut=De.bytes,Mt=qe+De.byteOffset,Xe=T(Ut,Mt,Mt+ge);return _t?Xe:rt(Xe)},_e=function(me,ge,Te,Pe,De,qe){var _t=ie(me),Ut=p(Te),Mt=Pe(+De),Xe=!!qe;if(Ut+ge>_t.byteLength)throw new Be(Y);for(var wt=_t.bytes,mt=Ut+_t.byteOffset,Et=0;Et<ge;Et++)wt[mt+Et]=Mt[Xe?Et:ge-Et-1]};if(!n)H=function(ge){f(this,J);var Te=p(ge);ae(this,{type:U,bytes:nt(ke(Te),0),byteLength:Te}),r||(this.byteLength=Te,this.detached=!1)},J=H[B],z=function(ge,Te,Pe){f(this,ue),f(ge,J);var De=Q(ge),qe=De.byteLength,_t=d(Te);if(_t<0||_t>qe)throw new Be("Wrong offset");if(Pe=Pe===void 0?qe-_t:h(Pe),_t+Pe>qe)throw new Be(W);ae(this,{type:K,buffer:ge,byteLength:Pe,byteOffset:_t,bytes:De.bytes}),r||(this.buffer=ge,this.byteLength=Pe,this.byteOffset=_t)},ue=z[B],r&&(fe(H,"byteLength",Q),fe(z,"buffer",ie),fe(z,"byteLength",ie),fe(z,"byteOffset",ie)),l(ue,{getInt8:function(ge){return be(this,1,ge)[0]<<24>>24},getUint8:function(ge){return be(this,1,ge)[0]},getInt16:function(ge){var Te=be(this,2,ge,arguments.length>1?arguments[1]:!1);return(Te[1]<<8|Te[0])<<16>>16},getUint16:function(ge){var Te=be(this,2,ge,arguments.length>1?arguments[1]:!1);return Te[1]<<8|Te[0]},getInt32:function(ge){return L(be(this,4,ge,arguments.length>1?arguments[1]:!1))},getUint32:function(ge){return L(be(this,4,ge,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(ge){return I(be(this,4,ge,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(ge){return I(be(this,8,ge,arguments.length>1?arguments[1]:!1),52)},setInt8:function(ge,Te){_e(this,1,ge,N,Te)},setUint8:function(ge,Te){_e(this,1,ge,N,Te)},setInt16:function(ge,Te){_e(this,2,ge,M,Te,arguments.length>2?arguments[2]:!1)},setUint16:function(ge,Te){_e(this,2,ge,M,Te,arguments.length>2?arguments[2]:!1)},setInt32:function(ge,Te){_e(this,4,ge,Z,Te,arguments.length>2?arguments[2]:!1)},setUint32:function(ge,Te){_e(this,4,ge,Z,Te,arguments.length>2?arguments[2]:!1)},setFloat32:function(ge,Te){_e(this,4,ge,G,Te,arguments.length>2?arguments[2]:!1)},setFloat64:function(ge,Te){_e(this,8,ge,pe,Te,arguments.length>2?arguments[2]:!1)}});else{var Ce=m&&ve.name!==U;!u(function(){ve(1)})||!u(function(){new ve(-1)})||u(function(){return new ve,new ve(1.5),new ve(NaN),ve.length!==1||Ce&&!D})?(H=function(ge){return f(this,J),C(new ve(p(ge)),this,H)},H[B]=J,J.constructor=H,x(H,ve)):Ce&&D&&a(ve,"name",U),S&&E(ue)!==we&&S(ue,we);var Me=new z(new H(2)),de=t(ue.setInt8);Me.setInt8(0,2147483648),Me.setInt8(1,2147483649),(Me.getInt8(0)||!Me.getInt8(1))&&l(ue,{setInt8:function(ge,Te){de(this,ge,Te<<24>>24)},setUint8:function(ge,Te){de(this,ge,Te<<24>>24)}},{unsafe:!0})}return R(H,U),R(z,K),S0={ArrayBuffer:H,DataView:z},S0}var xF;function Qae(){if(xF)return gF;xF=1;var e=je(),t=Zt(),r=im(),n=Yf(),i="ArrayBuffer",a=r[i],o=t[i];return e({global:!0,constructor:!0,forced:o!==a},{ArrayBuffer:a}),n(i),gF}var CF={},w0,OF;function pn(){if(OF)return w0;OF=1;var e=rm(),t=Rr(),r=Zt(),n=hn(),i=qr(),a=fn(),o=Io(),l=lc(),u=fa(),f=Fn(),d=Di(),h=Ba(),p=Va(),y=Es(),_=Br(),E=Bf(),S=Ei(),w=S.enforce,T=S.get,C=r.Int8Array,x=C&&C.prototype,R=r.Uint8ClampedArray,O=R&&R.prototype,m=C&&p(C),D=x&&p(x),U=Object.prototype,K=r.TypeError,B=_("toStringTag"),W=E("TYPED_ARRAY_TAG"),Y="TypedArrayConstructor",Q=e&&!!y&&o(r.opera)!=="Opera",ie=!1,ae,ve,H,J={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},z={BigInt64Array:8,BigUint64Array:8},ue=function(N){if(!i(N))return!1;var M=o(N);return M==="DataView"||a(J,M)||a(z,M)},we=function(I){var N=p(I);if(i(N)){var M=T(N);return M&&a(M,Y)?M[Y]:we(N)}},ke=function(I){if(!i(I))return!1;var N=o(I);return a(J,N)||a(z,N)},Be=function(I){if(ke(I))return I;throw new K("Target is not a typed array")},nt=function(I){if(n(I)&&(!y||h(m,I)))return I;throw new K(l(I)+" is not a typed array constructor")},rt=function(I,N,M,Z){if(t){if(M)for(var L in J){var G=r[L];if(G&&a(G.prototype,I))try{delete G.prototype[I]}catch{try{G.prototype[I]=N}catch{}}}(!D[I]||M)&&f(D,I,M?N:Q&&x[I]||N,Z)}},q=function(I,N,M){var Z,L;if(t){if(y){if(M){for(Z in J)if(L=r[Z],L&&a(L,I))try{delete L[I]}catch{}}if(!m[I]||M)try{return f(m,I,M?N:Q&&m[I]||N)}catch{}else return}for(Z in J)L=r[Z],L&&(!L[I]||M)&&f(L,I,N)}};for(ae in J)ve=r[ae],H=ve&&ve.prototype,H?w(H)[Y]=ve:Q=!1;for(ae in z)ve=r[ae],H=ve&&ve.prototype,H&&(w(H)[Y]=ve);if((!Q||!n(m)||m===Function.prototype)&&(m=function(){throw new K("Incorrect invocation")},Q))for(ae in J)r[ae]&&y(r[ae],m);if((!Q||!D||D===U)&&(D=m.prototype,Q))for(ae in J)r[ae]&&y(r[ae].prototype,D);if(Q&&p(O)!==D&&y(O,D),t&&!a(D,B)){ie=!0,d(D,B,{configurable:!0,get:function(){return i(this)?this[W]:void 0}});for(ae in J)r[ae]&&u(r[ae],W,ae)}return w0={NATIVE_ARRAY_BUFFER_VIEWS:Q,TYPED_ARRAY_TAG:ie&&W,aTypedArray:Be,aTypedArrayConstructor:nt,exportTypedArrayMethod:rt,exportTypedArrayStaticMethod:q,getTypedArrayConstructor:we,isView:ue,isTypedArray:ke,TypedArray:m,TypedArrayPrototype:D},w0}var IF;function Jae(){if(IF)return CF;IF=1;var e=je(),t=pn(),r=t.NATIVE_ARRAY_BUFFER_VIEWS;return e({target:"ArrayBuffer",stat:!0,forced:!r},{isView:t.isView}),CF}var PF={},kF;function Zae(){if(kF)return PF;kF=1;var e=je(),t=fc(),r=Ht(),n=im(),i=_r(),a=Eu(),o=Oo(),l=n.ArrayBuffer,u=n.DataView,f=u.prototype,d=t(l.prototype.slice),h=t(f.getUint8),p=t(f.setUint8),y=r(function(){return!new l(2).slice(1,void 0).byteLength});return e({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:y},{slice:function(E,S){if(d&&S===void 0)return d(i(this),E);for(var w=i(this).byteLength,T=a(E,w),C=a(S===void 0?w:S,w),x=new l(o(C-T)),R=new u(this),O=new u(x),m=0;T<C;)p(O,m++,h(R,T++));return x}}),PF}var DF={},LF={},NF;function eoe(){if(NF)return LF;NF=1;var e=je(),t=im(),r=rm();return e({global:!0,constructor:!0,forced:!r},{DataView:t.DataView}),LF}var MF;function toe(){return MF||(MF=1,eoe()),DF}var $F={},FF;function roe(){if(FF)return $F;FF=1;var e=je(),t=Kt(),r=Math.pow,n=31,i=1023,a=r(2,-24),o=.0009765625,l=function(f){var d=f>>>15,h=f>>>10&n,p=f&i;return h===n?p===0?d===0?1/0:-1/0:NaN:h===0?p*(d===0?a:-a):r(2,h-15)*(d===0?1+p*o:-1-p*o)},u=t(DataView.prototype.getUint16);return e({target:"DataView",proto:!0},{getFloat16:function(d){return l(u(this,d,arguments.length>1?arguments[1]:!1))}}),$F}var jF={},b0,UF;function noe(){if(UF)return b0;UF=1;var e=Io(),t=TypeError;return b0=function(r){if(e(r)==="DataView")return r;throw new t("Argument is not a DataView")},b0}var T0,qF;function BX(){if(qF)return T0;qF=1;var e=Math.log,t=Math.LN2;return T0=Math.log2||function(n){return e(n)/t},T0}var BF;function ioe(){if(BF)return jF;BF=1;var e=je(),t=Kt(),r=noe(),n=nm(),i=BX(),a=jX(),o=Math.pow,l=65520,u=61005353927612305e-21,f=16777216,d=1024,h=function(y){if(y!==y)return 32256;if(y===0)return(1/y===-1/0)<<15;var _=y<0;if(_&&(y=-y),y>=l)return _<<15|31744;if(y<u)return _<<15|a(y*f);var E=i(y)|0;if(E===-15)return _<<15|d;var S=a((y*o(2,-E)-1)*d);return S===d?_<<15|E+16<<10:_<<15|E+15<<10|S},p=t(DataView.prototype.setUint16);return e({target:"DataView",proto:!0},{setFloat16:function(_,E){p(r(this),n(_),h(+E),arguments.length>2?arguments[2]:!1)}}),jF}var VF={},A0,HF;function VX(){if(HF)return A0;HF=1;var e=Zt(),t=Yg(),r=Aa(),n=e.ArrayBuffer,i=e.TypeError;return A0=n&&t(n.prototype,"byteLength","get")||function(a){if(r(a)!=="ArrayBuffer")throw new i("ArrayBuffer expected");return a.byteLength},A0}var R0,zF;function HX(){if(zF)return R0;zF=1;var e=Zt(),t=rm(),r=VX(),n=e.DataView;return R0=function(i){if(!t||r(i)!==0)return!1;try{return new n(i),!1}catch{return!0}},R0}var WF;function aoe(){if(WF)return VF;WF=1;var e=Rr(),t=Di(),r=HX(),n=ArrayBuffer.prototype;return e&&!("detached"in n)&&t(n,"detached",{configurable:!0,get:function(){return r(this)}}),VF}var GF={},x0,KF;function Hh(){if(KF)return x0;KF=1;var e=HX(),t=TypeError;return x0=function(r){if(e(r))throw new t("ArrayBuffer is detached");return r},x0}var C0,YF;function zX(){if(YF)return C0;YF=1;var e=Zt(),t=Kf();return C0=function(r){if(t){try{return e.process.getBuiltinModule(r)}catch{}try{return Function('return require("'+r+'")')()}catch{}}},C0}var O0,XF;function QC(){if(XF)return O0;XF=1;var e=Zt(),t=Ht(),r=qs(),n=tm(),i=e.structuredClone;return O0=!!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}),O0}var I0,QF;function WX(){if(QF)return I0;QF=1;var e=Zt(),t=zX(),r=QC(),n=e.structuredClone,i=e.ArrayBuffer,a=e.MessageChannel,o=!1,l,u,f,d;if(r)o=function(h){n(h,{transfer:[h]})};else if(i)try{a||(l=t("worker_threads"),l&&(a=l.MessageChannel)),a&&(u=new a,f=new i(2),d=function(h){u.port1.postMessage(null,[h])},f.byteLength===2&&(d(f),f.byteLength===0&&(o=d)))}catch{}return I0=o,I0}var P0,JF;function GX(){if(JF)return P0;JF=1;var e=Zt(),t=Kt(),r=Yg(),n=nm(),i=Hh(),a=VX(),o=WX(),l=QC(),u=e.structuredClone,f=e.ArrayBuffer,d=e.DataView,h=Math.min,p=f.prototype,y=d.prototype,_=t(p.slice),E=r(p,"resizable","get"),S=r(p,"maxByteLength","get"),w=t(y.getInt8),T=t(y.setInt8);return P0=(l||o)&&function(C,x,R){var O=a(C),m=x===void 0?O:n(x),D=!E||!E(C),U;if(i(C),l&&(C=u(C,{transfer:[C]}),O===m&&(R||D)))return C;if(O>=m&&(!R||D))U=_(C,0,m);else{var K=R&&!D&&S?{maxByteLength:S(C)}:void 0;U=new f(m,K);for(var B=new d(C),W=new d(U),Y=h(m,O),Q=0;Q<Y;Q++)T(W,Q,w(B,Q))}return l||o(C),U},P0}var ZF;function ooe(){if(ZF)return GF;ZF=1;var e=je(),t=GX();return t&&e({target:"ArrayBuffer",proto:!0},{transfer:function(){return t(this,arguments.length?arguments[0]:void 0,!0)}}),GF}var ej={},tj;function soe(){if(tj)return ej;tj=1;var e=je(),t=GX();return t&&e({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return t(this,arguments.length?arguments[0]:void 0,!1)}}),ej}var rj={},nj;function uoe(){if(nj)return rj;nj=1;var e=je(),t=Kt(),r=Ht(),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}}),rj}var ij={},aj;function loe(){if(aj)return ij;aj=1;var e=je(),t=Kt(),r=Date,n=t(r.prototype.getTime);return e({target:"Date",stat:!0},{now:function(){return n(new r)}}),ij}var oj={},sj;function coe(){if(sj)return oj;sj=1;var e=je(),t=Kt(),r=Ri(),n=Date.prototype,i=t(n.getTime),a=t(n.setFullYear);return e({target:"Date",proto:!0},{setYear:function(l){i(this);var u=r(l),f=u>=0&&u<=99?u+1900:u;return a(this,f)}}),oj}var uj={},lj;function foe(){if(lj)return uj;lj=1;var e=je();return e({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString}),uj}var cj={},k0,fj;function am(){if(fj)return k0;fj=1;var e=Ri(),t=Xr(),r=fi(),n=RangeError;return k0=function(a){var o=t(r(this)),l="",u=e(a);if(u<0||u===1/0)throw new n("Wrong number of repetitions");for(;u>0;(u>>>=1)&&(o+=o))u&1&&(l+=o);return l},k0}var D0,dj;function om(){if(dj)return D0;dj=1;var e=Kt(),t=Oo(),r=Xr(),n=am(),i=fi(),a=e(n),o=e("".slice),l=Math.ceil,u=function(f){return function(d,h,p){var y=r(i(d)),_=t(h),E=y.length,S=p===void 0?" ":r(p),w,T;return _<=E||S===""?y:(w=_-E,T=a(S,l(w/S.length)),T.length>w&&(T=o(T,0,w)),f?y+T:T+y)}};return D0={start:u(!1),end:u(!0)},D0}var L0,hj;function doe(){if(hj)return L0;hj=1;var e=Kt(),t=Ht(),r=om().start,n=RangeError,i=isFinite,a=Math.abs,o=Date.prototype,l=o.toISOString,u=e(o.getTime),f=e(o.getUTCDate),d=e(o.getUTCFullYear),h=e(o.getUTCHours),p=e(o.getUTCMilliseconds),y=e(o.getUTCMinutes),_=e(o.getUTCMonth),E=e(o.getUTCSeconds);return L0=t(function(){return l.call(new Date(-5e13-1))!=="0385-07-25T07:06:39.999Z"})||!t(function(){l.call(new Date(NaN))})?function(){if(!i(u(this)))throw new n("Invalid time value");var w=this,T=d(w),C=p(w),x=T<0?"-":T>9999?"+":"";return x+r(a(T),x?6:4,0)+"-"+r(_(w)+1,2,0)+"-"+r(f(w),2,0)+"T"+r(h(w),2,0)+":"+r(y(w),2,0)+":"+r(E(w),2,0)+"."+r(C,3,0)+"Z"}:l,L0}var pj;function hoe(){if(pj)return cj;pj=1;var e=je(),t=doe();return e({target:"Date",proto:!0,forced:Date.prototype.toISOString!==t},{toISOString:t}),cj}var vj={},gj;function poe(){if(gj)return vj;gj=1;var e=je(),t=Ht(),r=Sn(),n=Hg(),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 l=r(this),u=n(l,"number");return typeof u=="number"&&!isFinite(u)?null:l.toISOString()}}),vj}var mj={},N0,yj;function voe(){if(yj)return N0;yj=1;var e=_r(),t=fX(),r=TypeError;return N0=function(n){if(e(this),n==="string"||n==="default")n="string";else if(n!=="number")throw new r("Incorrect hint");return t(this,n)},N0}var _j;function goe(){if(_j)return mj;_j=1;var e=fn(),t=Fn(),r=voe(),n=Br(),i=n("toPrimitive"),a=Date.prototype;return e(a,i)||t(a,i,r),mj}var Ej={},Sj;function moe(){if(Sj)return Ej;Sj=1;var e=Kt(),t=Fn(),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 u=o(this);return u===u?a(this):n}),Ej}var wj={},M0,bj;function KX(){if(bj)return M0;bj=1;var e=ln(),t=gr(),r=Kt(),n=Po(),i=_r(),a=cn(),o=_u(),l=la(),u=Br(),f=u("asyncDispose"),d=u("dispose"),h=r([].push),p=function(_,E){if(E==="async-dispose"){var S=l(_,f);return S!==void 0||(S=l(_,d),S===void 0)?S:function(){var w=this,T=e("Promise");return new T(function(C){t(S,w),C(void 0)})}}return l(_,d)},y=function(_,E,S){return arguments.length<3&&!o(_)&&(S=a(p(i(_),E))),S===void 0?function(){}:n(S,_)};return M0=function(_,E,S,w){var T;if(arguments.length<4){if(o(E)&&S==="sync-dispose")return;T=y(E,S)}else T=y(void 0,S,w);h(_.stack,T)},M0}var Tj;function yoe(){if(Tj)return wj;Tj=1;var e=je(),t=Rr(),r=ln(),n=cn(),i=Do(),a=Fn(),o=bu(),l=Di(),u=Br(),f=Ei(),d=KX(),h=r("SuppressedError"),p=ReferenceError,y=u("dispose"),_=u("toStringTag"),E="DisposableStack",S=f.set,w=f.getterFor(E),T="sync-dispose",C="disposed",x="pending",R=function(D){var U=w(D);if(U.state===C)throw new p(E+" already disposed");return U},O=function(){S(i(this,m),{type:E,state:x,stack:[]}),t||(this.disposed=!1)},m=O.prototype;return o(m,{dispose:function(){var U=w(this);if(U.state!==C){U.state=C,t||(this.disposed=!0);for(var K=U.stack,B=K.length,W=!1,Y;B;){var Q=K[--B];K[B]=null;try{Q()}catch(ie){W?Y=new h(ie,Y):(W=!0,Y=ie)}}if(U.stack=null,W)throw Y}},use:function(U){return d(R(this),U,T),U},adopt:function(U,K){var B=R(this);return n(K),d(B,void 0,T,function(){K(U)}),U},defer:function(U){var K=R(this);n(U),d(K,void 0,T,U)},move:function(){var U=R(this),K=new O;return w(K).stack=U.stack,U.stack=[],U.state=C,t||(this.disposed=!0),K}}),t&&l(m,"disposed",{configurable:!0,get:function(){return w(this).state===C}}),a(m,y,m.dispose,{name:"dispose"}),a(m,_,E,{nonWritable:!0}),e({global:!0,constructor:!0},{DisposableStack:O}),wj}var Aj={},Rj;function _oe(){if(Rj)return Aj;Rj=1;var e=je(),t=Kt(),r=Xr(),n=t("".charAt),i=t("".charCodeAt),a=t(/./.exec),o=t(1.1.toString),l=t("".toUpperCase),u=/[\w*+\-./@]/,f=function(d,h){for(var p=o(d,16);p.length<h;)p="0"+p;return p};return e({global:!0},{escape:function(h){for(var p=r(h),y="",_=p.length,E=0,S,w;E<_;)S=n(p,E++),a(u,S)?y+=S:(w=i(S,0),w<256?y+="%"+f(w,2):y+="%u"+l(f(w,4)));return y}}),Aj}var xj={},$0,Cj;function YX(){if(Cj)return $0;Cj=1;var e=Kt(),t=cn(),r=qr(),n=fn(),i=ns(),a=Nh(),o=Function,l=e([].concat),u=e([].join),f={},d=function(h,p,y){if(!n(f,p)){for(var _=[],E=0;E<p;E++)_[E]="a["+E+"]";f[p]=o("C,a","return new C("+u(_,",")+")")}return f[p](h,y)};return $0=a?o.bind:function(p){var y=t(this),_=y.prototype,E=i(arguments,1),S=function(){var T=l(E,i(arguments));return this instanceof S?d(y,T.length,T):y.apply(p,T)};return r(_)&&(S.prototype=_),S},$0}var Oj;function Eoe(){if(Oj)return xj;Oj=1;var e=je(),t=YX();return e({target:"Function",proto:!0,forced:Function.bind!==t},{bind:t}),xj}var Ij={},Pj;function Soe(){if(Pj)return Ij;Pj=1;var e=hn(),t=qr(),r=si(),n=Ba(),i=Br(),a=DC(),o=i("hasInstance"),l=Function.prototype;return o in l||r.f(l,o,{value:a(function(u){if(!e(this)||!t(u))return!1;var f=this.prototype;return t(f)?n(f,u):u instanceof this},o)}),Ij}var kj={},Dj;function woe(){if(Dj)return kj;Dj=1;var e=Rr(),t=Vf().EXISTS,r=Kt(),n=Di(),i=Function.prototype,a=r(i.toString),o=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,l=r(o.exec),u="name";return e&&!t&&n(i,u,{configurable:!0,get:function(){try{return l(o,a(this))[1]}catch{return""}}}),kj}var Lj={},Nj;function boe(){if(Nj)return Lj;Nj=1;var e=je(),t=Zt();return e({global:!0,forced:t.globalThis!==t},{globalThis:t}),Lj}var Mj={},$j;function Toe(){if($j)return Mj;$j=1;var e=je(),t=Zt(),r=Do(),n=_r(),i=hn(),a=Va(),o=Di(),l=Su(),u=Ht(),f=fn(),d=Br(),h=Gf().IteratorPrototype,p=Rr(),y=xn(),_="constructor",E="Iterator",S=d("toStringTag"),w=TypeError,T=t[E],C=y||!i(T)||T.prototype!==h||!u(function(){T({})}),x=function(){if(r(this,h),a(this)===h)throw new w("Abstract class Iterator not directly constructable")},R=function(O,m){p?o(h,O,{configurable:!0,get:function(){return m},set:function(D){if(n(this),this===h)throw new w("You can't redefine this property");f(this,O)?this[O]=D:l(this,O,D)}}):h[O]=m};return f(h,S)||R(S,E),(C||!f(h,_)||h[_]===Object)&&R(_,x),x.prototype=h,e({global:!0,constructor:!0,forced:C},{Iterator:x}),Mj}var Fj={},jj;function Aoe(){if(jj)return Fj;jj=1;var e=gr(),t=Fn(),r=la(),n=fn(),i=Br(),a=Gf().IteratorPrototype,o=i("dispose");return n(a,o)||t(a,o,function(){var l=r(this,"return");l&&e(l,this)}),Fj}var Uj={},F0,qj;function xa(){return qj||(qj=1,F0=function(e){return{iterator:e,next:e.next,done:!1}}),F0}var j0,Bj;function XX(){if(Bj)return j0;Bj=1;var e=RangeError;return j0=function(t){if(t===t)return t;throw new e("NaN is not allowed")},j0}var U0,Vj;function JC(){if(Vj)return U0;Vj=1;var e=Ri(),t=RangeError;return U0=function(r){var n=e(r);if(n<0)throw new t("The argument can't be less than 0");return n},U0}var q0,Hj;function Roe(){if(Hj)return q0;Hj=1;var e=pa();return q0=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},q0}var B0,zj;function Xf(){if(zj)return B0;zj=1;var e=gr(),t=da(),r=fa(),n=bu(),i=Br(),a=Ei(),o=la(),l=Gf().IteratorPrototype,u=gc(),f=pa(),d=Roe(),h=i("toStringTag"),p="IteratorHelper",y="WrapForValidIterator",_="normal",E="throw",S=a.set,w=function(x){var R=a.getterFor(x?y:p);return n(t(l),{next:function(){var m=R(this);if(x)return m.nextHandler();if(m.done)return u(void 0,!0);try{var D=m.nextHandler();return m.returnHandlerResult?D:u(D,m.done)}catch(U){throw m.done=!0,U}},return:function(){var O=R(this),m=O.iterator;if(O.done=!0,x){var D=o(m,"return");return D?e(D,m):u(void 0,!0)}if(O.inner)try{f(O.inner.iterator,_)}catch(U){return f(m,E,U)}if(O.openIters)try{d(O.openIters,_)}catch(U){return f(m,E,U)}return m&&f(m,_),u(void 0,!0)}})},T=w(!0),C=w(!1);return r(C,h,"Iterator Helper"),B0=function(x,R,O){var m=function(U,K){K?(K.iterator=U.iterator,K.next=U.next):K=U,K.type=R?y:p,K.returnHandlerResult=!!O,K.nextHandler=x,K.counter=0,K.done=!1,S(this,K)};return m.prototype=R?T:C,m},B0}var V0,Wj;function sm(){return Wj||(Wj=1,V0=function(e,t){var r=typeof Iterator=="function"&&Iterator.prototype[e];if(r)try{r.call({next:null},t).next()}catch{return!0}}),V0}var H0,Gj;function Bs(){if(Gj)return H0;Gj=1;var e=Zt();return H0=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(l){l instanceof r||(o=!1)}if(!o)return a},H0}var Kj;function xoe(){if(Kj)return Uj;Kj=1;var e=je(),t=gr(),r=_r(),n=xa(),i=XX(),a=JC(),o=pa(),l=Xf(),u=sm(),f=Bs(),d=xn(),h=!d&&!u("drop",0),p=!d&&!h&&f("drop",RangeError),y=d||h||p,_=l(function(){for(var E=this.iterator,S=this.next,w,T;this.remaining;)if(this.remaining--,w=r(t(S,E)),T=this.done=!!w.done,T)return;if(w=r(t(S,E)),T=this.done=!!w.done,!T)return w.value});return e({target:"Iterator",proto:!0,real:!0,forced:y},{drop:function(S){r(this);var w;try{w=a(i(+S))}catch(T){o(this,"throw",T)}return p?t(p,this,w):new _(n(this),{remaining:w})}}),Uj}var Yj={},Xj;function Coe(){if(Xj)return Yj;Xj=1;var e=je(),t=gr(),r=Hi(),n=cn(),i=_r(),a=xa(),o=pa(),l=Bs(),u=l("every",TypeError);return e({target:"Iterator",proto:!0,real:!0,forced:u},{every:function(d){i(this);try{n(d)}catch(y){o(this,"throw",y)}if(u)return t(u,this,d);var h=a(this),p=0;return!r(h,function(y,_){if(!d(y,p++))return _()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}}),Yj}var Qj={},Jj;function Ooe(){if(Jj)return Qj;Jj=1;var e=je(),t=gr(),r=cn(),n=_r(),i=xa(),a=Xf(),o=HC(),l=xn(),u=pa(),f=sm(),d=Bs(),h=!l&&!f("filter",function(){}),p=!l&&!h&&d("filter",TypeError),y=l||h||p,_=a(function(){for(var E=this.iterator,S=this.predicate,w=this.next,T,C,x;;){if(T=n(t(w,E)),C=this.done=!!T.done,C)return;if(x=T.value,o(E,S,[x,this.counter++],!0))return x}});return e({target:"Iterator",proto:!0,real:!0,forced:y},{filter:function(S){n(this);try{r(S)}catch(w){u(this,"throw",w)}return p?t(p,this,S):new _(i(this),{predicate:S})}}),Qj}var Zj={},eU;function Ioe(){if(eU)return Zj;eU=1;var e=je(),t=gr(),r=Hi(),n=cn(),i=_r(),a=xa(),o=pa(),l=Bs(),u=l("find",TypeError);return e({target:"Iterator",proto:!0,real:!0,forced:u},{find:function(d){i(this);try{n(d)}catch(y){o(this,"throw",y)}if(u)return t(u,this,d);var h=a(this),p=0;return r(h,function(y,_){if(d(y,p++))return _(y)},{IS_RECORD:!0,INTERRUPTED:!0}).result}}),Zj}var tU={},z0,rU;function QX(){if(rU)return z0;rU=1;var e=gr(),t=_r(),r=xa(),n=pc();return z0=function(i,a){(!a||typeof i!="string")&&t(i);var o=n(i);return r(t(o!==void 0?e(o,i):i))},z0}var nU;function Poe(){if(nU)return tU;nU=1;var e=je(),t=gr(),r=cn(),n=_r(),i=xa(),a=QX(),o=Xf(),l=pa(),u=xn(),f=sm(),d=Bs(),h=!u&&!f("flatMap",function(){}),p=!u&&!h&&d("flatMap",TypeError),y=u||h||p,_=o(function(){for(var E=this.iterator,S=this.mapper,w,T;;){if(T=this.inner)try{if(w=n(t(T.next,T.iterator)),!w.done)return w.value;this.inner=null}catch(C){l(E,"throw",C)}if(w=n(t(this.next,E)),this.done=!!w.done)return;try{this.inner=a(S(w.value,this.counter++),!1)}catch(C){l(E,"throw",C)}}});return e({target:"Iterator",proto:!0,real:!0,forced:y},{flatMap:function(S){n(this);try{r(S)}catch(w){l(this,"throw",w)}return p?t(p,this,S):new _(i(this),{mapper:S,inner:null})}}),tU}var iU={},aU;function koe(){if(aU)return iU;aU=1;var e=je(),t=gr(),r=Hi(),n=cn(),i=_r(),a=xa(),o=pa(),l=Bs(),u=l("forEach",TypeError);return e({target:"Iterator",proto:!0,real:!0,forced:u},{forEach:function(d){i(this);try{n(d)}catch(y){o(this,"throw",y)}if(u)return t(u,this,d);var h=a(this),p=0;r(h,function(y){d(y,p++)},{IS_RECORD:!0})}}),iU}var oU={},sU;function Doe(){if(sU)return oU;sU=1;var e=je(),t=gr(),r=Sn(),n=Ba(),i=Gf().IteratorPrototype,a=Xf(),o=QX(),l=xn(),u=l||(function(){try{Iterator.from({return:null}).return()}catch{return!0}})(),f=a(function(){return t(this.next,this.iterator)},!0);return e({target:"Iterator",stat:!0,forced:u},{from:function(h){var p=o(typeof h=="string"?r(h):h,!0);return n(i,p.iterator)?p.iterator:new f(p)}}),oU}var uU={},lU;function Loe(){if(lU)return uU;lU=1;var e=je(),t=gr(),r=cn(),n=_r(),i=xa(),a=Xf(),o=HC(),l=pa(),u=sm(),f=Bs(),d=xn(),h=!d&&!u("map",function(){}),p=!d&&!h&&f("map",TypeError),y=d||h||p,_=a(function(){var E=this.iterator,S=n(t(this.next,E)),w=this.done=!!S.done;if(!w)return o(E,this.mapper,[S.value,this.counter++],!0)});return e({target:"Iterator",proto:!0,real:!0,forced:y},{map:function(S){n(this);try{r(S)}catch(w){l(this,"throw",w)}return p?t(p,this,S):new _(i(this),{mapper:S})}}),uU}var cU={},fU;function Noe(){if(fU)return cU;fU=1;var e=je(),t=Hi(),r=cn(),n=_r(),i=xa(),a=pa(),o=Bs(),l=ko(),u=Ht(),f=TypeError,d=u(function(){[].keys().reduce(function(){},void 0)}),h=!d&&o("reduce",f);return e({target:"Iterator",proto:!0,real:!0,forced:d||h},{reduce:function(y){n(this);try{r(y)}catch(T){a(this,"throw",T)}var _=arguments.length<2,E=_?void 0:arguments[1];if(h)return l(h,this,_?[y]:[y,E]);var S=i(this),w=0;if(t(S,function(T){_?(_=!1,E=T):E=y(E,T,w),w++},{IS_RECORD:!0}),_)throw new f("Reduce of empty iterator with no initial value");return E}}),cU}var dU={},hU;function Moe(){if(hU)return dU;hU=1;var e=je(),t=gr(),r=Hi(),n=cn(),i=_r(),a=xa(),o=pa(),l=Bs(),u=l("some",TypeError);return e({target:"Iterator",proto:!0,real:!0,forced:u},{some:function(d){i(this);try{n(d)}catch(y){o(this,"throw",y)}if(u)return t(u,this,d);var h=a(this),p=0;return r(h,function(y,_){if(d(y,p++))return _()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}}),dU}var pU={},vU;function $oe(){if(vU)return pU;vU=1;var e=je(),t=gr(),r=_r(),n=xa(),i=XX(),a=JC(),o=Xf(),l=pa(),u=Bs(),f=xn(),d=!f&&u("take",RangeError),h=o(function(){var p=this.iterator;if(!this.remaining--)return this.done=!0,l(p,"normal",void 0);var y=r(t(this.next,p)),_=this.done=!!y.done;if(!_)return y.value});return e({target:"Iterator",proto:!0,real:!0,forced:f||d},{take:function(y){r(this);var _;try{_=a(i(+y))}catch(E){l(this,"throw",E)}return d?t(d,this,_):new h(n(this),{remaining:_})}}),pU}var gU={},mU;function Foe(){if(mU)return gU;mU=1;var e=je(),t=_r(),r=Hi(),n=xa(),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}}),gU}var yU={},_U;function joe(){if(_U)return yU;_U=1;var e=Zt(),t=so();return t(e.JSON,"JSON",!0),yU}var EU={},SU={},W0={exports:{}},G0,wU;function ZC(){if(wU)return G0;wU=1;var e=Ht();return G0=e(function(){if(typeof ArrayBuffer=="function"){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}),G0}var K0,bU;function eO(){if(bU)return K0;bU=1;var e=Ht(),t=qr(),r=Aa(),n=ZC(),i=Object.isExtensible,a=e(function(){});return K0=a||n?function(l){return!t(l)||n&&r(l)==="ArrayBuffer"?!1:i?i(l):!0}:i,K0}var Y0,TU;function Qf(){if(TU)return Y0;TU=1;var e=Ht();return Y0=!e(function(){return Object.isExtensible(Object.preventExtensions({}))}),Y0}var AU;function mc(){if(AU)return W0.exports;AU=1;var e=je(),t=Kt(),r=Mh(),n=qr(),i=fn(),a=si().f,o=cc(),l=FC(),u=eO(),f=Bf(),d=Qf(),h=!1,p=f("meta"),y=0,_=function(x){a(x,p,{value:{objectID:"O"+y++,weakData:{}}})},E=function(x,R){if(!n(x))return typeof x=="symbol"?x:(typeof x=="string"?"S":"P")+x;if(!i(x,p)){if(!u(x))return"F";if(!R)return"E";_(x)}return x[p].objectID},S=function(x,R){if(!i(x,p)){if(!u(x))return!0;if(!R)return!1;_(x)}return x[p].weakData},w=function(x){return d&&h&&u(x)&&!i(x,p)&&_(x),x},T=function(){C.enable=function(){},h=!0;var x=o.f,R=t([].splice),O={};O[p]=1,x(O).length&&(o.f=function(m){for(var D=x(m),U=0,K=D.length;U<K;U++)if(D[U]===p){R(D,U,1);break}return D},e({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:l.f}))},C=W0.exports={enable:T,fastKey:E,getWeakData:S,onFreeze:w};return r[p]=!0,W0.exports}var X0,RU;function um(){if(RU)return X0;RU=1;var e=je(),t=Zt(),r=Kt(),n=Fh(),i=Fn(),a=mc(),o=Hi(),l=Do(),u=hn(),f=_u(),d=qr(),h=Ht(),p=Jg(),y=so(),_=hc();return X0=function(E,S,w){var T=E.indexOf("Map")!==-1,C=E.indexOf("Weak")!==-1,x=T?"set":"add",R=t[E],O=R&&R.prototype,m=R,D={},U=function(ae){var ve=r(O[ae]);i(O,ae,ae==="add"?function(J){return ve(this,J===0?0:J),this}:ae==="delete"?function(H){return C&&!d(H)?!1:ve(this,H===0?0:H)}:ae==="get"?function(J){return C&&!d(J)?void 0:ve(this,J===0?0:J)}:ae==="has"?function(J){return C&&!d(J)?!1:ve(this,J===0?0:J)}:function(J,z){return ve(this,J===0?0:J,z),this})},K=n(E,!u(R)||!(C||O.forEach&&!h(function(){new R().entries().next()})));if(K)m=w.getConstructor(S,E,T,x),a.enable();else if(n(E,!0)){var B=new m,W=B[x](C?{}:-0,1)!==B,Y=h(function(){B.has(1)}),Q=p(function(ae){new R(ae)}),ie=!C&&h(function(){for(var ae=new R,ve=5;ve--;)ae[x](ve,ve);return!ae.has(-0)});Q||(m=S(function(ae,ve){l(ae,O);var H=_(new R,ae,m);return f(ve)||o(ve,H[x],{that:H,AS_ENTRIES:T}),H}),m.prototype=O,O.constructor=m),(Y||ie)&&(U("delete"),U("has"),T&&U("get")),(ie||W)&&U(x),C&&O.clear&&delete O.clear}return D[E]=m,e({global:!0,constructor:!0,forced:m!==R},D),y(m,E),C||w.setStrong(m,E,T),m},X0}var Q0,xU;function JX(){if(xU)return Q0;xU=1;var e=da(),t=Di(),r=bu(),n=Po(),i=Do(),a=_u(),o=Hi(),l=WC(),u=gc(),f=Yf(),d=Rr(),h=mc().fastKey,p=Ei(),y=p.set,_=p.getterFor;return Q0={getConstructor:function(E,S,w,T){var C=E(function(D,U){i(D,x),y(D,{type:S,index:e(null),first:null,last:null,size:0}),d||(D.size=0),a(U)||o(U,D[T],{that:D,AS_ENTRIES:w})}),x=C.prototype,R=_(S),O=function(D,U,K){var B=R(D),W=m(D,U),Y,Q;return W?W.value=K:(B.last=W={index:Q=h(U,!0),key:U,value:K,previous:Y=B.last,next:null,removed:!1},B.first||(B.first=W),Y&&(Y.next=W),d?B.size++:D.size++,Q!=="F"&&(B.index[Q]=W)),D},m=function(D,U){var K=R(D),B=h(U),W;if(B!=="F")return K.index[B];for(W=K.first;W;W=W.next)if(W.key===U)return W};return r(x,{clear:function(){for(var U=this,K=R(U),B=K.first;B;)B.removed=!0,B.previous&&(B.previous=B.previous.next=null),B=B.next;K.first=K.last=null,K.index=e(null),d?K.size=0:U.size=0},delete:function(D){var U=this,K=R(U),B=m(U,D);if(B){var W=B.next,Y=B.previous;delete K.index[B.index],B.removed=!0,Y&&(Y.next=W),W&&(W.previous=Y),K.first===B&&(K.first=W),K.last===B&&(K.last=Y),d?K.size--:U.size--}return!!B},forEach:function(U){for(var K=R(this),B=n(U,arguments.length>1?arguments[1]:void 0),W;W=W?W.next:K.first;)for(B(W.value,W.key,this);W&&W.removed;)W=W.previous},has:function(U){return!!m(this,U)}}),r(x,w?{get:function(U){var K=m(this,U);return K&&K.value},set:function(U,K){return O(this,U===0?0:U,K)}}:{add:function(U){return O(this,U=U===0?0:U,U)}}),d&&t(x,"size",{configurable:!0,get:function(){return R(this).size}}),C},setStrong:function(E,S,w){var T=S+" Iterator",C=_(S),x=_(T);l(E,S,function(R,O){y(this,{type:T,target:R,state:C(R),kind:O,last:null})},function(){for(var R=x(this),O=R.kind,m=R.last;m&&m.removed;)m=m.previous;return!R.target||!(R.last=m=m?m.next:R.state.first)?(R.target=null,u(void 0,!0)):u(O==="keys"?m.key:O==="values"?m.value:[m.key,m.value],!1)},w?"entries":"values",!w,!0),f(S)}},Q0}var CU;function Uoe(){if(CU)return SU;CU=1;var e=um(),t=JX();return e("Map",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},t),SU}var OU;function qoe(){return OU||(OU=1,Uoe()),EU}var IU={},J0,PU;function ZX(){if(PU)return J0;PU=1;var e=Kt(),t=Map.prototype;return J0={Map,set:e(t.set),get:e(t.get),has:e(t.has),remove:e(t.delete),proto:t},J0}var kU;function Boe(){if(kU)return IU;kU=1;var e=je(),t=Kt(),r=cn(),n=fi(),i=Hi(),a=ZX(),o=xn(),l=Ht(),u=a.Map,f=a.has,d=a.get,h=a.set,p=t([].push),y=o||l(function(){return u.groupBy("ab",function(_){return _}).get("a").length!==1});return e({target:"Map",stat:!0,forced:o||y},{groupBy:function(E,S){n(E),r(S);var w=new u,T=0;return i(E,function(C){var x=S(C,T++);f(w,x)?p(d(w,x),C):h(w,x,[C])}),w}}),IU}var DU={},Z0,LU;function eQ(){if(LU)return Z0;LU=1;var e=Math.log;return Z0=Math.log1p||function(r){var n=+r;return n>-1e-8&&n<1e-8?n-n*n/2:e(1+n)},Z0}var NU;function Voe(){if(NU)return DU;NU=1;var e=je(),t=eQ(),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(u){var f=+u;return f<1?NaN:f>9490626562425156e-8?n(f)+a:t(f-1+i(f-1)*i(f+1))}}),DU}var MU={},$U;function Hoe(){if($U)return MU;$U=1;var e=je(),t=Math.asinh,r=Math.log,n=Math.sqrt;function i(o){var l=+o;return!isFinite(l)||l===0?l:l<0?-i(-l):r(l+n(l*l+1))}var a=!(t&&1/t(0)>0);return e({target:"Math",stat:!0,forced:a},{asinh:i}),MU}var FU={},jU;function zoe(){if(jU)return FU;jU=1;var e=je(),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}}),FU}var UU={},qU;function Woe(){if(qU)return UU;qU=1;var e=je(),t=XC(),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)}}),UU}var BU={},VU;function Goe(){if(VU)return BU;VU=1;var e=je(),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}}),BU}var HU={},ew,zU;function lm(){if(zU)return ew;zU=1;var e=Math.expm1,t=Math.exp;return ew=!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,ew}var WU;function Koe(){if(WU)return HU;WU=1;var e=je(),t=lm(),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(l){var u=t(n(l)-1)+1;return(u+1/(u*i*i))*(i/2)}}),HU}var GU={},KU;function Yoe(){if(KU)return GU;KU=1;var e=je(),t=lm();return e({target:"Math",stat:!0,forced:t!==Math.expm1},{expm1:t}),GU}var YU={},XU;function Xoe(){if(XU)return YU;XU=1;var e=je(),t=qX();return e({target:"Math",stat:!0},{fround:t}),YU}var QU={},JU;function Qoe(){if(JU)return QU;JU=1;var e=je(),t=UX(),r=.0009765625,n=65504,i=6103515625e-14;return e({target:"Math",stat:!0},{f16round:function(o){return t(o,r,n,i)}}),QU}var ZU={},e3;function Joe(){if(e3)return ZU;e3=1;var e=je(),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,l){for(var u=0,f=0,d=arguments.length,h=0,p,y;f<d;)p=r(arguments[f++]),h<p?(y=h/p,u=u*y*y+1,h=p):p>0?(y=p/h,u+=y*y):u+=p;return h===1/0?1/0:h*n(u)}}),ZU}var t3={},r3;function Zoe(){if(r3)return t3;r3=1;var e=je(),t=Ht(),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 l=65535,u=+a,f=+o,d=l&u,h=l&f;return 0|d*h+((l&u>>>16)*h+d*(l&f>>>16)<<16>>>0)}}),t3}var n3={},tw,i3;function tQ(){if(i3)return tw;i3=1;var e=Math.log,t=Math.LOG10E;return tw=Math.log10||function(n){return e(n)*t},tw}var a3;function ese(){if(a3)return n3;a3=1;var e=je(),t=tQ();return e({target:"Math",stat:!0},{log10:t}),n3}var o3={},s3;function tse(){if(s3)return o3;s3=1;var e=je(),t=eQ();return e({target:"Math",stat:!0},{log1p:t}),o3}var u3={},l3;function rse(){if(l3)return u3;l3=1;var e=je(),t=BX();return e({target:"Math",stat:!0},{log2:t}),u3}var c3={},f3;function nse(){if(f3)return c3;f3=1;var e=je(),t=XC();return e({target:"Math",stat:!0},{sign:t}),c3}var d3={},h3;function ise(){if(h3)return d3;h3=1;var e=je(),t=Ht(),r=lm(),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(u){var f=+u;return n(f)<1?(r(f)-r(-f))/2:(i(f-1)-i(-f-1))*(a/2)}}),d3}var p3={},v3;function ase(){if(v3)return p3;v3=1;var e=je(),t=Kt(),r=Hi(),n=RangeError,i=TypeError,a=1/0,o=NaN,l=Math.abs,u=Math.pow,f=t([].push),d=u(2,1023),h=u(2,53)-1,p=Number.MAX_VALUE,y=u(2,971),_={},E={},S={},w={},T={},C=function(x,R){var O=x+R,m=R-(O-x);return{hi:O,lo:m}};return e({target:"Math",stat:!0},{sumPrecise:function(R){var O=[],m=0,D=w;switch(r(R,function(ke){if(++m>=h)throw new n("Maximum allowed index exceeded");if(typeof ke!="number")throw new i("Value is not a number");D!==_&&(ke!==ke?D=_:ke===a?D=D===E?_:S:ke===-a?D=D===S?_:E:(ke!==0||1/ke===a)&&(D===w||D===T)&&(D=T,f(O,ke)))}),D){case _:return o;case E:return-a;case S:return a;case w:return-0}for(var U=[],K=0,B,W,Y,Q,ie,ae,ve=0;ve<O.length;ve++){B=O[ve];for(var H=0,J=0;J<U.length;J++){if(W=U[J],l(B)<l(W)&&(ae=B,B=W,W=ae),Y=C(B,W),Q=Y.hi,ie=Y.lo,l(Q)===a){var z=Q===a?1:-1;K+=z,B=B-z*d-z*d,l(B)<l(W)&&(ae=B,B=W,W=ae),Y=C(B,W),Q=Y.hi,ie=Y.lo}ie!==0&&(U[H++]=ie),B=Q}U.length=H,B!==0&&f(U,B)}var ue=U.length-1;if(Q=0,ie=0,K!==0){var we=ue>=0?U[ue]:0;if(ue--,l(K)>1||K>0&&we>0||K<0&&we<0)return K>0?a:-a;if(Y=C(K*d,we/2),Q=Y.hi,ie=Y.lo,ie*=2,l(2*Q)===a)return Q>0?Q===d&&ie===-(y/2)&&ue>=0&&U[ue]<0?p:a:Q===-d&&ie===y/2&&ue>=0&&U[ue]>0?-p:-a;ie!==0&&(U[++ue]=ie,ie=0),Q*=2}for(;ue>=0&&(Y=C(Q,U[ue--]),Q=Y.hi,ie=Y.lo,ie===0););return ue>=0&&(ie<0&&U[ue]<0||ie>0&&U[ue]>0)&&(W=ie*2,B=Q+W,W===B-Q&&(Q=B)),Q}}),p3}var g3={},m3;function ose(){if(m3)return g3;m3=1;var e=je(),t=lm(),r=Math.exp;return e({target:"Math",stat:!0},{tanh:function(i){var a=+i,o=t(a),l=t(-a);return o===1/0?1:l===1/0?-1:(o-l)/(r(a)+r(-a))}}),g3}var y3={},_3;function sse(){if(_3)return y3;_3=1;var e=so();return e(Math,"Math",!0),y3}var E3={},S3;function use(){if(S3)return E3;S3=1;var e=je(),t=vX();return e({target:"Math",stat:!0},{trunc:t}),E3}var w3={},rw,b3;function cm(){if(b3)return rw;b3=1;var e=Kt();return rw=e(1.1.valueOf),rw}var nw,T3;function zh(){return T3||(T3=1,nw=`
3
+ \v\f\r                 \u2028\u2029\uFEFF`),nw}var iw,A3;function Jf(){if(A3)return iw;A3=1;var e=Kt(),t=fi(),r=Xr(),n=zh(),i=e("".replace),a=RegExp("^["+n+"]+"),o=RegExp("(^|[^"+n+"])["+n+"]+$"),l=function(u){return function(f){var d=r(t(f));return u&1&&(d=i(d,a,"")),u&2&&(d=i(d,o,"$1")),d}};return iw={start:l(1),end:l(2),trim:l(3)},iw}var R3;function lse(){if(R3)return w3;R3=1;var e=je(),t=xn(),r=Rr(),n=Zt(),i=Kg(),a=Kt(),o=Fh(),l=fn(),u=hc(),f=Ba(),d=uc(),h=Hg(),p=Ht(),y=cc().f,_=ca().f,E=si().f,S=cm(),w=Jf().trim,T="Number",C=n[T],x=i[T],R=C.prototype,O=n.TypeError,m=a("".slice),D=a("".charCodeAt),U=function(ie){var ae=h(ie,"number");return typeof ae=="bigint"?ae:K(ae)},K=function(ie){var ae=h(ie,"number"),ve,H,J,z,ue,we,ke,Be;if(d(ae))throw new O("Cannot convert a Symbol value to a number");if(typeof ae=="string"&&ae.length>2){if(ae=w(ae),ve=D(ae,0),ve===43||ve===45){if(H=D(ae,2),H===88||H===120)return NaN}else if(ve===48){switch(D(ae,1)){case 66:case 98:J=2,z=49;break;case 79:case 111:J=8,z=55;break;default:return+ae}for(ue=m(ae,2),we=ue.length,ke=0;ke<we;ke++)if(Be=D(ue,ke),Be<48||Be>z)return NaN;return parseInt(ue,J)}}return+ae},B=o(T,!C(" 0o1")||!C("0b1")||C("+0x1")),W=function(ie){return f(R,ie)&&p(function(){S(ie)})},Y=function(ae){var ve=arguments.length<1?0:C(U(ae));return W(this)?u(Object(ve),this,Y):ve};Y.prototype=R,B&&!t&&(R.constructor=Y),e({global:!0,constructor:!0,wrap:!0,forced:B},{Number:Y});var Q=function(ie,ae){for(var ve=r?y(ae):"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(","),H=0,J;ve.length>H;H++)l(ae,J=ve[H])&&!l(ie,J)&&E(ie,J,_(ae,J))};return t&&x&&Q(i[T],x),(B||t)&&Q(i[T],C),w3}var x3={},C3;function cse(){if(C3)return x3;C3=1;var e=je();return e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)}),x3}var O3={},aw,I3;function fse(){if(I3)return aw;I3=1;var e=Zt(),t=e.isFinite;return aw=Number.isFinite||function(n){return typeof n=="number"&&t(n)},aw}var P3;function dse(){if(P3)return O3;P3=1;var e=je(),t=fse();return e({target:"Number",stat:!0},{isFinite:t}),O3}var k3={},ow,D3;function tO(){if(D3)return ow;D3=1;var e=qr(),t=Math.floor;return ow=Number.isInteger||function(n){return!e(n)&&isFinite(n)&&t(n)===n},ow}var L3;function hse(){if(L3)return k3;L3=1;var e=je(),t=tO();return e({target:"Number",stat:!0},{isInteger:t}),k3}var N3={},M3;function pse(){if(M3)return N3;M3=1;var e=je();return e({target:"Number",stat:!0},{isNaN:function(r){return r!==r}}),N3}var $3={},F3;function vse(){if(F3)return $3;F3=1;var e=je(),t=tO(),r=Math.abs;return e({target:"Number",stat:!0},{isSafeInteger:function(i){return t(i)&&r(i)<=9007199254740991}}),$3}var j3={},U3;function gse(){if(U3)return j3;U3=1;var e=je();return e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991}),j3}var q3={},B3;function mse(){if(B3)return q3;B3=1;var e=je();return e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991}),q3}var V3={},sw,H3;function rQ(){if(H3)return sw;H3=1;var e=Zt(),t=Ht(),r=Kt(),n=Xr(),i=Jf().trim,a=zh(),o=r("".charAt),l=e.parseFloat,u=e.Symbol,f=u&&u.iterator,d=1/l(a+"-0")!==-1/0||f&&!t(function(){l(Object(f))});return sw=d?function(p){var y=i(n(p)),_=l(y);return _===0&&o(y,0)==="-"?-0:_}:l,sw}var z3;function yse(){if(z3)return V3;z3=1;var e=je(),t=rQ();return e({target:"Number",stat:!0,forced:Number.parseFloat!==t},{parseFloat:t}),V3}var W3={},uw,G3;function nQ(){if(G3)return uw;G3=1;var e=Zt(),t=Ht(),r=Kt(),n=Xr(),i=Jf().trim,a=zh(),o=e.parseInt,l=e.Symbol,u=l&&l.iterator,f=/^[+-]?0x/i,d=r(f.exec),h=o(a+"08")!==8||o(a+"0x16")!==22||u&&!t(function(){o(Object(u))});return uw=h?function(y,_){var E=i(n(y));return o(E,_>>>0||(d(f,E)?16:10))}:o,uw}var K3;function _se(){if(K3)return W3;K3=1;var e=je(),t=nQ();return e({target:"Number",stat:!0,forced:Number.parseInt!==t},{parseInt:t}),W3}var Y3={},X3;function Ese(){if(X3)return Y3;X3=1;var e=je(),t=Kt(),r=Ri(),n=cm(),i=am(),a=tQ(),o=Ht(),l=RangeError,u=String,f=isFinite,d=Math.abs,h=Math.floor,p=Math.pow,y=Math.round,_=t(1.1.toExponential),E=t(i),S=t("".slice),w=_(-69e-12,4)==="-6.9000e-11"&&_(1.255,2)==="1.25e+0"&&_(12345,3)==="1.235e+4"&&_(25,0)==="3e+1",T=function(){return o(function(){_(1,1/0)})&&o(function(){_(1,-1/0)})},C=function(){return!o(function(){_(1/0,1/0),_(NaN,1/0)})},x=!w||!T()||!C();return e({target:"Number",proto:!0,forced:x},{toExponential:function(O){var m=n(this);if(O===void 0)return _(m);var D=r(O);if(!f(m))return String(m);if(D<0||D>20)throw new l("Incorrect fraction digits");if(w)return _(m,D);var U="",K,B,W,Y;if(m<0&&(U="-",m=-m),m===0)B=0,K=E("0",D+1);else{var Q=a(m);B=h(Q);var ie=p(10,B-D),ae=y(m/ie);2*m>=(2*ae+1)*ie&&(ae+=1),ae>=p(10,D+1)&&(ae/=10,B+=1),K=u(ae)}return D!==0&&(K=S(K,0,1)+"."+S(K,1)),B===0?(W="+",Y="0"):(W=B>0?"+":"-",Y=u(d(B))),K+="e"+W+Y,U+K}}),Y3}var Q3={},J3;function Sse(){if(J3)return Q3;J3=1;var e=je(),t=Kt(),r=Ri(),n=cm(),i=am(),a=Ht(),o=RangeError,l=String,u=Math.floor,f=t(i),d=t("".slice),h=t(1.1.toFixed),p=function(T,C,x){return C===0?x:C%2===1?p(T,C-1,x*T):p(T*T,C/2,x)},y=function(T){for(var C=0,x=T;x>=4096;)C+=12,x/=4096;for(;x>=2;)C+=1,x/=2;return C},_=function(T,C,x){for(var R=-1,O=x;++R<6;)O+=C*T[R],T[R]=O%1e7,O=u(O/1e7)},E=function(T,C){for(var x=6,R=0;--x>=0;)R+=T[x],T[x]=u(R/C),R=R%C*1e7},S=function(T){for(var C=6,x="";--C>=0;)if(x!==""||C===0||T[C]!==0){var R=l(T[C]);x=x===""?R:x+f("0",7-R.length)+R}return x},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(C){var x=n(this),R=r(C),O=[0,0,0,0,0,0],m="",D="0",U,K,B,W;if(R<0||R>20)throw new o("Incorrect fraction digits");if(x!==x)return"NaN";if(x<=-1e21||x>=1e21)return l(x);if(x<0&&(m="-",x=-x),x>1e-21)if(U=y(x*p(2,69,1))-69,K=U<0?x*p(2,-U,1):x/p(2,U,1),K*=4503599627370496,U=52-U,U>0){for(_(O,0,K),B=R;B>=7;)_(O,1e7,0),B-=7;for(_(O,p(10,B,1),0),B=U-1;B>=23;)E(O,1<<23),B-=23;E(O,1<<B),_(O,1,1),E(O,2),D=S(O)}else _(O,0,K),_(O,1<<-U,0),D=S(O)+f("0",R);return R>0?(W=D.length,D=m+(W<=R?"0."+f("0",R-W)+D:d(D,0,W-R)+"."+d(D,W-R))):D=m+D,D}}),Q3}var Z3={},eq;function wse(){if(eq)return Z3;eq=1;var e=je(),t=Kt(),r=Ht(),n=cm(),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(l){return l===void 0?i(n(this)):i(n(this),l)}}),Z3}var tq={},lw,rq;function iQ(){if(rq)return lw;rq=1;var e=Rr(),t=Kt(),r=gr(),n=Ht(),i=jh(),a=Gg(),o=Bg(),l=Sn(),u=jf(),f=Object.assign,d=Object.defineProperty,h=t([].concat);return lw=!f||n(function(){if(e&&f({b:1},f(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var p={},y={},_=Symbol("assign detection"),E="abcdefghijklmnopqrst";return p[_]=7,E.split("").forEach(function(S){y[S]=S}),f({},p)[_]!==7||i(f({},y)).join("")!==E})?function(y,_){for(var E=l(y),S=arguments.length,w=1,T=a.f,C=o.f;S>w;)for(var x=u(arguments[w++]),R=T?h(i(x),T(x)):i(x),O=R.length,m=0,D;O>m;)D=R[m++],(!e||r(C,x,D))&&(E[D]=x[D]);return E}:f,lw}var nq;function bse(){if(nq)return tq;nq=1;var e=je(),t=iQ();return e({target:"Object",stat:!0,arity:2,forced:Object.assign!==t},{assign:t}),tq}var iq={},aq;function Tse(){if(aq)return iq;aq=1;var e=je(),t=Rr(),r=da();return e({target:"Object",stat:!0,sham:!t},{create:r}),iq}var oq={},cw,sq;function fm(){if(sq)return cw;sq=1;var e=xn(),t=Zt(),r=Ht(),n=YC();return cw=e||!r(function(){if(!(n&&n<535)){var i=Math.random();__defineSetter__.call(null,i,function(){}),delete t[i]}}),cw}var uq;function Ase(){if(uq)return oq;uq=1;var e=je(),t=Rr(),r=fm(),n=cn(),i=Sn(),a=si();return t&&e({target:"Object",proto:!0,forced:r},{__defineGetter__:function(l,u){a.f(i(this),l,{get:n(u),enumerable:!0,configurable:!0})}}),oq}var lq={},cq;function Rse(){if(cq)return lq;cq=1;var e=je(),t=Rr(),r=$C().f;return e({target:"Object",stat:!0,forced:Object.defineProperties!==r,sham:!t},{defineProperties:r}),lq}var fq={},dq;function xse(){if(dq)return fq;dq=1;var e=je(),t=Rr(),r=si().f;return e({target:"Object",stat:!0,forced:Object.defineProperty!==r,sham:!t},{defineProperty:r}),fq}var hq={},pq;function Cse(){if(pq)return hq;pq=1;var e=je(),t=Rr(),r=fm(),n=cn(),i=Sn(),a=si();return t&&e({target:"Object",proto:!0,forced:r},{__defineSetter__:function(l,u){a.f(i(this),l,{set:n(u),enumerable:!0,configurable:!0})}}),hq}var vq={},fw,gq;function aQ(){if(gq)return fw;gq=1;var e=Rr(),t=Ht(),r=Kt(),n=Va(),i=jh(),a=ta(),o=Bg().f,l=r(o),u=r([].push),f=e&&t(function(){var h=Object.create(null);return h[2]=2,!l(h,2)}),d=function(h){return function(p){for(var y=a(p),_=i(y),E=f&&n(y)===null,S=_.length,w=0,T=[],C;S>w;)C=_[w++],(!e||(E?C in y:l(y,C)))&&u(T,h?[C,y[C]]:y[C]);return T}};return fw={entries:d(!0),values:d(!1)},fw}var mq;function Ose(){if(mq)return vq;mq=1;var e=je(),t=aQ().entries;return e({target:"Object",stat:!0},{entries:function(n){return t(n)}}),vq}var yq={},_q;function Ise(){if(_q)return yq;_q=1;var e=je(),t=Qf(),r=Ht(),n=qr(),i=mc().onFreeze,a=Object.freeze,o=r(function(){a(1)});return e({target:"Object",stat:!0,forced:o,sham:!t},{freeze:function(u){return a&&n(u)?a(i(u)):u}}),yq}var Eq={},Sq;function Pse(){if(Sq)return Eq;Sq=1;var e=je(),t=Hi(),r=Su();return e({target:"Object",stat:!0},{fromEntries:function(i){var a={};return t(i,function(o,l){r(a,o,l)},{AS_ENTRIES:!0}),a}}),Eq}var wq={},bq;function kse(){if(bq)return wq;bq=1;var e=je(),t=Ht(),r=ta(),n=ca().f,i=Rr(),a=!i||t(function(){n(1)});return e({target:"Object",stat:!0,forced:a,sham:!i},{getOwnPropertyDescriptor:function(l,u){return n(r(l),u)}}),wq}var Tq={},Aq;function Dse(){if(Aq)return Tq;Aq=1;var e=je(),t=Rr(),r=NC(),n=ta(),i=ca(),a=Su();return e({target:"Object",stat:!0,sham:!t},{getOwnPropertyDescriptors:function(l){for(var u=n(l),f=i.f,d=r(u),h={},p=0,y,_;d.length>p;)_=f(u,y=d[p++]),_!==void 0&&a(h,y,_);return h}}),Tq}var Rq={},xq;function Lse(){if(xq)return Rq;xq=1;var e=je(),t=Ht(),r=FC().f,n=t(function(){return!Object.getOwnPropertyNames(1)});return e({target:"Object",stat:!0,forced:n},{getOwnPropertyNames:r}),Rq}var Cq={},Oq;function Nse(){if(Oq)return Cq;Oq=1;var e=je(),t=Ht(),r=Sn(),n=Va(),i=qC(),a=t(function(){n(1)});return e({target:"Object",stat:!0,forced:a,sham:!i},{getPrototypeOf:function(l){return n(r(l))}}),Cq}var Iq={},Pq;function Mse(){if(Pq)return Iq;Pq=1;var e=je(),t=ln(),r=Kt(),n=cn(),i=fi(),a=ul(),o=Hi(),l=Ht(),u=Object.groupBy,f=t("Object","create"),d=r([].push),h=!u||l(function(){return u("ab",function(p){return p}).a.length!==1});return e({target:"Object",stat:!0,forced:h},{groupBy:function(y,_){i(y),n(_);var E=f(null),S=0;return o(y,function(w){var T=a(_(w,S++));T in E?d(E[T],w):E[T]=[w]}),E}}),Iq}var kq={},Dq;function $se(){if(Dq)return kq;Dq=1;var e=je(),t=fn();return e({target:"Object",stat:!0},{hasOwn:t}),kq}var Lq={},dw,Nq;function oQ(){return Nq||(Nq=1,dw=Object.is||function(t,r){return t===r?t!==0||1/t===1/r:t!==t&&r!==r}),dw}var Mq;function Fse(){if(Mq)return Lq;Mq=1;var e=je(),t=oQ();return e({target:"Object",stat:!0},{is:t}),Lq}var $q={},Fq;function jse(){if(Fq)return $q;Fq=1;var e=je(),t=eO();return e({target:"Object",stat:!0,forced:Object.isExtensible!==t},{isExtensible:t}),$q}var jq={},Uq;function Use(){if(Uq)return jq;Uq=1;var e=je(),t=Ht(),r=qr(),n=Aa(),i=ZC(),a=Object.isFrozen,o=i||t(function(){});return e({target:"Object",stat:!0,forced:o},{isFrozen:function(u){return!r(u)||i&&n(u)==="ArrayBuffer"?!0:a?a(u):!1}}),jq}var qq={},Bq;function qse(){if(Bq)return qq;Bq=1;var e=je(),t=Ht(),r=qr(),n=Aa(),i=ZC(),a=Object.isSealed,o=i||t(function(){});return e({target:"Object",stat:!0,forced:o},{isSealed:function(u){return!r(u)||i&&n(u)==="ArrayBuffer"?!0:a?a(u):!1}}),qq}var Vq={},Hq;function Bse(){if(Hq)return Vq;Hq=1;var e=je(),t=Sn(),r=jh(),n=Ht(),i=n(function(){r(1)});return e({target:"Object",stat:!0,forced:i},{keys:function(o){return r(t(o))}}),Vq}var zq={},Wq;function Vse(){if(Wq)return zq;Wq=1;var e=je(),t=Rr(),r=fm(),n=Sn(),i=ul(),a=Va(),o=ca().f;return t&&e({target:"Object",proto:!0,forced:r},{__lookupGetter__:function(u){var f=n(this),d=i(u),h;do if(h=o(f,d))return h.get;while(f=a(f))}}),zq}var Gq={},Kq;function Hse(){if(Kq)return Gq;Kq=1;var e=je(),t=Rr(),r=fm(),n=Sn(),i=ul(),a=Va(),o=ca().f;return t&&e({target:"Object",proto:!0,forced:r},{__lookupSetter__:function(u){var f=n(this),d=i(u),h;do if(h=o(f,d))return h.set;while(f=a(f))}}),Gq}var Yq={},Xq;function zse(){if(Xq)return Yq;Xq=1;var e=je(),t=qr(),r=mc().onFreeze,n=Qf(),i=Ht(),a=Object.preventExtensions,o=i(function(){a(1)});return e({target:"Object",stat:!0,forced:o,sham:!n},{preventExtensions:function(u){return a&&t(u)?a(r(u)):u}}),Yq}var Qq={},Jq;function Wse(){if(Jq)return Qq;Jq=1;var e=Rr(),t=Di(),r=qr(),n=wX(),i=Sn(),a=fi(),o=Object.getPrototypeOf,l=Object.setPrototypeOf,u=Object.prototype,f="__proto__";if(e&&o&&l&&!(f in u))try{t(u,f,{configurable:!0,get:function(){return o(i(this))},set:function(h){var p=a(this);n(h)&&r(p)&&l(p,h)}})}catch{}return Qq}var Zq={},eB;function Gse(){if(eB)return Zq;eB=1;var e=je(),t=qr(),r=mc().onFreeze,n=Qf(),i=Ht(),a=Object.seal,o=i(function(){a(1)});return e({target:"Object",stat:!0,forced:o,sham:!n},{seal:function(u){return a&&t(u)?a(r(u)):u}}),Zq}var tB={},rB;function Kse(){if(rB)return tB;rB=1;var e=je(),t=Es();return e({target:"Object",stat:!0},{setPrototypeOf:t}),tB}var nB={},hw,iB;function Yse(){if(iB)return hw;iB=1;var e=MC(),t=Io();return hw=e?{}.toString:function(){return"[object "+t(this)+"]"},hw}var aB;function Xse(){if(aB)return nB;aB=1;var e=MC(),t=Fn(),r=Yse();return e||t(Object.prototype,"toString",r,{unsafe:!0}),nB}var oB={},sB;function Qse(){if(sB)return oB;sB=1;var e=je(),t=aQ().values;return e({target:"Object",stat:!0},{values:function(n){return t(n)}}),oB}var uB={},lB;function Jse(){if(lB)return uB;lB=1;var e=je(),t=rQ();return e({global:!0,forced:parseFloat!==t},{parseFloat:t}),uB}var cB={},fB;function Zse(){if(fB)return cB;fB=1;var e=je(),t=nQ();return e({global:!0,forced:parseInt!==t},{parseInt:t}),cB}var dB={},hB={},pw,pB;function rO(){if(pB)return pw;pB=1;var e=dc(),t=lc(),r=TypeError;return pw=function(n){if(e(n))return n;throw new r(t(n)+" is not a constructor")},pw}var vw,vB;function dm(){if(vB)return vw;vB=1;var e=_r(),t=rO(),r=_u(),n=Br(),i=n("species");return vw=function(a,o){var l=e(a).constructor,u;return l===void 0||r(u=e(l)[i])?o:t(u)},vw}var gw,gB;function is(){if(gB)return gw;gB=1;var e=TypeError;return gw=function(t,r){if(t<r)throw new e("Not enough arguments");return t},gw}var mw,mB;function sQ(){if(mB)return mw;mB=1;var e=Us();return mw=/(?:ipad|iphone|ipod).*applewebkit/i.test(e),mw}var yw,yB;function hm(){if(yB)return yw;yB=1;var e=Zt(),t=ko(),r=Po(),n=hn(),i=fn(),a=Ht(),o=mX(),l=ns(),u=zg(),f=is(),d=sQ(),h=Kf(),p=e.setImmediate,y=e.clearImmediate,_=e.process,E=e.Dispatch,S=e.Function,w=e.MessageChannel,T=e.String,C=0,x={},R="onreadystatechange",O,m,D,U;a(function(){O=e.location});var K=function(Q){if(i(x,Q)){var ie=x[Q];delete x[Q],ie()}},B=function(Q){return function(){K(Q)}},W=function(Q){K(Q.data)},Y=function(Q){e.postMessage(T(Q),O.protocol+"//"+O.host)};return(!p||!y)&&(p=function(ie){f(arguments.length,1);var ae=n(ie)?ie:S(ie),ve=l(arguments,1);return x[++C]=function(){t(ae,void 0,ve)},m(C),C},y=function(ie){delete x[ie]},h?m=function(Q){_.nextTick(B(Q))}:E&&E.now?m=function(Q){E.now(B(Q))}:w&&!d?(D=new w,U=D.port2,D.port1.onmessage=W,m=r(U.postMessage,U)):e.addEventListener&&n(e.postMessage)&&!e.importScripts&&O&&O.protocol!=="file:"&&!a(Y)?(m=Y,e.addEventListener("message",W,!1)):R in u("script")?m=function(Q){o.appendChild(u("script"))[R]=function(){o.removeChild(this),K(Q)}}:m=function(Q){setTimeout(B(Q),0)}),yw={set:p,clear:y},yw}var _w,_B;function uQ(){if(_B)return _w;_B=1;var e=Zt(),t=Rr(),r=Object.getOwnPropertyDescriptor;return _w=function(n){if(!t)return e[n];var i=r(e,n);return i&&i.value},_w}var Ew,EB;function lQ(){if(EB)return Ew;EB=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}}},Ew=e,Ew}var Sw,SB;function eue(){if(SB)return Sw;SB=1;var e=Us();return Sw=/ipad|iphone|ipod/i.test(e)&&typeof Pebble<"u",Sw}var ww,wB;function tue(){if(wB)return ww;wB=1;var e=Us();return ww=/web0s(?!.*chrome)/i.test(e),ww}var bw,bB;function cQ(){if(bB)return bw;bB=1;var e=Zt(),t=uQ(),r=Po(),n=hm().set,i=lQ(),a=sQ(),o=eue(),l=tue(),u=Kf(),f=e.MutationObserver||e.WebKitMutationObserver,d=e.document,h=e.process,p=e.Promise,y=t("queueMicrotask"),_,E,S,w,T;if(!y){var C=new i,x=function(){var R,O;for(u&&(R=h.domain)&&R.exit();O=C.get();)try{O()}catch(m){throw C.head&&_(),m}R&&R.enter()};!a&&!u&&!l&&f&&d?(E=!0,S=d.createTextNode(""),new f(x).observe(S,{characterData:!0}),_=function(){S.data=E=!E}):!o&&p&&p.resolve?(w=p.resolve(void 0),w.constructor=p,T=r(w.then,w),_=function(){T(x)}):u?_=function(){h.nextTick(x)}:(n=r(n,e),_=function(){n(x)}),y=function(R){C.head||_(),C.add(R)}}return bw=y,bw}var Tw,TB;function rue(){return TB||(TB=1,Tw=function(e,t){try{arguments.length===1?console.error(e):console.error(e,t)}catch{}}),Tw}var Aw,AB;function Zf(){return AB||(AB=1,Aw=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}),Aw}var Rw,RB;function ed(){if(RB)return Rw;RB=1;var e=Zt();return Rw=e.Promise,Rw}var xw,xB;function Wh(){if(xB)return xw;xB=1;var e=Zt(),t=ed(),r=hn(),n=Fh(),i=kC(),a=Br(),o=tm(),l=xn(),u=qs(),f=t&&t.prototype,d=a("species"),h=!1,p=r(e.PromiseRejectionEvent),y=n("Promise",function(){var _=i(t),E=_!==String(t);if(!E&&u===66||l&&!(f.catch&&f.finally))return!0;if(!u||u<51||!/native code/.test(_)){var S=new t(function(C){C(1)}),w=function(C){C(function(){},function(){})},T=S.constructor={};if(T[d]=w,h=S.then(function(){})instanceof w,!h)return!0}return!E&&(o==="BROWSER"||o==="DENO")&&!p});return xw={CONSTRUCTOR:y,REJECTION_EVENT:p,SUBCLASSING:h},xw}var Cw={},CB;function Tu(){if(CB)return Cw;CB=1;var e=cn(),t=TypeError,r=function(n){var i,a;this.promise=new n(function(o,l){if(i!==void 0||a!==void 0)throw new t("Bad Promise constructor");i=o,a=l}),this.resolve=e(i),this.reject=e(a)};return Cw.f=function(n){return new r(n)},Cw}var OB;function nue(){if(OB)return hB;OB=1;var e=je(),t=xn(),r=Kf(),n=Zt(),i=Kg(),a=gr(),o=Fn(),l=Es(),u=so(),f=Yf(),d=cn(),h=hn(),p=qr(),y=Do(),_=dm(),E=hm().set,S=cQ(),w=rue(),T=Zf(),C=lQ(),x=Ei(),R=ed(),O=Wh(),m=Tu(),D="Promise",U=O.CONSTRUCTOR,K=O.REJECTION_EVENT,B=O.SUBCLASSING,W=x.getterFor(D),Y=x.set,Q=R&&R.prototype,ie=R,ae=Q,ve=n.TypeError,H=n.document,J=n.process,z=m.f,ue=z,we=!!(H&&H.createEvent&&n.dispatchEvent),ke="unhandledrejection",Be="rejectionhandled",nt=0,rt=1,q=2,I=1,N=2,M,Z,L,G,pe=function(Pe){var De;return p(Pe)&&h(De=Pe.then)?De:!1},fe=function(Pe,De){var qe=De.value,_t=De.state===rt,Ut=_t?Pe.ok:Pe.fail,Mt=Pe.resolve,Xe=Pe.reject,wt=Pe.domain,mt,Et,At;try{Ut?(_t||(De.rejection===N&&de(De),De.rejection=I),Ut===!0?mt=qe:(wt&&wt.enter(),mt=Ut(qe),wt&&(wt.exit(),At=!0)),mt===Pe.promise?Xe(new ve("Promise-chain cycle")):(Et=pe(mt))?a(Et,mt,Mt,Xe):Mt(mt)):Xe(qe)}catch(ft){wt&&!At&&wt.exit(),Xe(ft)}},be=function(Pe,De){Pe.notified||(Pe.notified=!0,S(function(){for(var qe=Pe.reactions,_t;_t=qe.get();)fe(_t,Pe);Pe.notified=!1,De&&!Pe.rejection&&Ce(Pe)}))},_e=function(Pe,De,qe){var _t,Ut;we?(_t=H.createEvent("Event"),_t.promise=De,_t.reason=qe,_t.initEvent(Pe,!1,!0),n.dispatchEvent(_t)):_t={promise:De,reason:qe},!K&&(Ut=n["on"+Pe])?Ut(_t):Pe===ke&&w("Unhandled promise rejection",qe)},Ce=function(Pe){a(E,n,function(){var De=Pe.facade,qe=Pe.value,_t=Me(Pe),Ut;if(_t&&(Ut=T(function(){r?J.emit("unhandledRejection",qe,De):_e(ke,De,qe)}),Pe.rejection=r||Me(Pe)?N:I,Ut.error))throw Ut.value})},Me=function(Pe){return Pe.rejection!==I&&!Pe.parent},de=function(Pe){a(E,n,function(){var De=Pe.facade;r?J.emit("rejectionHandled",De):_e(Be,De,Pe.value)})},me=function(Pe,De,qe){return function(_t){Pe(De,_t,qe)}},ge=function(Pe,De,qe){Pe.done||(Pe.done=!0,qe&&(Pe=qe),Pe.value=De,Pe.state=q,be(Pe,!0))},Te=function(Pe,De,qe){if(!Pe.done){Pe.done=!0,qe&&(Pe=qe);try{if(Pe.facade===De)throw new ve("Promise can't be resolved itself");var _t=pe(De);_t?S(function(){var Ut={done:!1};try{a(_t,De,me(Te,Ut,Pe),me(ge,Ut,Pe))}catch(Mt){ge(Ut,Mt,Pe)}}):(Pe.value=De,Pe.state=rt,be(Pe,!1))}catch(Ut){ge({done:!1},Ut,Pe)}}};if(U&&(ie=function(De){y(this,ae),d(De),a(M,this);var qe=W(this);try{De(me(Te,qe),me(ge,qe))}catch(_t){ge(qe,_t)}},ae=ie.prototype,M=function(De){Y(this,{type:D,done:!1,notified:!1,parent:!1,reactions:new C,rejection:!1,state:nt,value:null})},M.prototype=o(ae,"then",function(De,qe){var _t=W(this),Ut=z(_(this,ie));return _t.parent=!0,Ut.ok=h(De)?De:!0,Ut.fail=h(qe)&&qe,Ut.domain=r?J.domain:void 0,_t.state===nt?_t.reactions.add(Ut):S(function(){fe(Ut,_t)}),Ut.promise}),Z=function(){var Pe=new M,De=W(Pe);this.promise=Pe,this.resolve=me(Te,De),this.reject=me(ge,De)},m.f=z=function(Pe){return Pe===ie||Pe===L?new Z(Pe):ue(Pe)},!t&&h(R)&&Q!==Object.prototype)){G=Q.then,B||o(Q,"then",function(De,qe){var _t=this;return new ie(function(Ut,Mt){a(G,_t,Ut,Mt)}).then(De,qe)},{unsafe:!0});try{delete Q.constructor}catch{}l&&l(Q,ae)}return e({global:!0,constructor:!0,wrap:!0,forced:U},{Promise:ie}),L=i.Promise,u(ie,D,!1,!0),f(D),hB}var IB={},Ow,PB;function pm(){if(PB)return Ow;PB=1;var e=ed(),t=Jg(),r=Wh().CONSTRUCTOR;return Ow=r||!t(function(n){e.all(n).then(void 0,function(){})}),Ow}var kB;function iue(){if(kB)return IB;kB=1;var e=je(),t=gr(),r=cn(),n=Tu(),i=Zf(),a=Hi(),o=pm();return e({target:"Promise",stat:!0,forced:o},{all:function(u){var f=this,d=n.f(f),h=d.resolve,p=d.reject,y=i(function(){var _=r(f.resolve),E=[],S=0,w=1;a(u,function(T){var C=S++,x=!1;w++,t(_,f,T).then(function(R){x||(x=!0,E[C]=R,--w||h(E))},p)}),--w||h(E)});return y.error&&p(y.value),d.promise}}),IB}var DB={},LB;function aue(){if(LB)return DB;LB=1;var e=je(),t=xn(),r=Wh().CONSTRUCTOR,n=ed(),i=ln(),a=hn(),o=Fn(),l=n&&n.prototype;if(e({target:"Promise",proto:!0,forced:r,real:!0},{catch:function(f){return this.then(void 0,f)}}),!t&&a(n)){var u=i("Promise").prototype.catch;l.catch!==u&&o(l,"catch",u,{unsafe:!0})}return DB}var NB={},MB;function oue(){if(MB)return NB;MB=1;var e=je(),t=gr(),r=cn(),n=Tu(),i=Zf(),a=Hi(),o=pm();return e({target:"Promise",stat:!0,forced:o},{race:function(u){var f=this,d=n.f(f),h=d.reject,p=i(function(){var y=r(f.resolve);a(u,function(_){t(y,f,_).then(d.resolve,h)})});return p.error&&h(p.value),d.promise}}),NB}var $B={},FB;function sue(){if(FB)return $B;FB=1;var e=je(),t=Tu(),r=Wh().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}}),$B}var jB={},Iw,UB;function fQ(){if(UB)return Iw;UB=1;var e=_r(),t=qr(),r=Tu();return Iw=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},Iw}var qB;function uue(){if(qB)return jB;qB=1;var e=je(),t=ln(),r=xn(),n=ed(),i=Wh().CONSTRUCTOR,a=fQ(),o=t("Promise"),l=r&&!i;return e({target:"Promise",stat:!0,forced:r||i},{resolve:function(f){return a(l&&this===o?n:this,f)}}),jB}var BB;function lue(){return BB||(BB=1,nue(),iue(),aue(),oue(),sue(),uue()),dB}var VB={},HB;function cue(){if(HB)return VB;HB=1;var e=je(),t=gr(),r=cn(),n=Tu(),i=Zf(),a=Hi(),o=pm();return e({target:"Promise",stat:!0,forced:o},{allSettled:function(u){var f=this,d=n.f(f),h=d.resolve,p=d.reject,y=i(function(){var _=r(f.resolve),E=[],S=0,w=1;a(u,function(T){var C=S++,x=!1;w++,t(_,f,T).then(function(R){x||(x=!0,E[C]={status:"fulfilled",value:R},--w||h(E))},function(R){x||(x=!0,E[C]={status:"rejected",reason:R},--w||h(E))})}),--w||h(E)});return y.error&&p(y.value),d.promise}}),VB}var zB={},WB;function fue(){if(WB)return zB;WB=1;var e=je(),t=gr(),r=cn(),n=ln(),i=Tu(),a=Zf(),o=Hi(),l=pm(),u="No one promise resolved";return e({target:"Promise",stat:!0,forced:l},{any:function(d){var h=this,p=n("AggregateError"),y=i.f(h),_=y.resolve,E=y.reject,S=a(function(){var w=r(h.resolve),T=[],C=0,x=1,R=!1;o(d,function(O){var m=C++,D=!1;x++,t(w,h,O).then(function(U){D||R||(R=!0,_(U))},function(U){D||R||(D=!0,T[m]=U,--x||E(new p(T,u)))})}),--x||E(new p(T,u))});return S.error&&E(S.value),y.promise}}),zB}var GB={},KB;function due(){if(KB)return GB;KB=1;var e=je(),t=xn(),r=ed(),n=Ht(),i=ln(),a=hn(),o=dm(),l=fQ(),u=Fn(),f=r&&r.prototype,d=!!r&&n(function(){f.finally.call({then:function(){}},function(){})});if(e({target:"Promise",proto:!0,real:!0,forced:d},{finally:function(p){var y=o(this,i("Promise")),_=a(p);return this.then(_?function(E){return l(y,p()).then(function(){return E})}:p,_?function(E){return l(y,p()).then(function(){throw E})}:p)}}),!t&&a(r)){var h=i("Promise").prototype.finally;f.finally!==h&&u(f,"finally",h,{unsafe:!0})}return GB}var YB={},XB;function hue(){if(XB)return YB;XB=1;var e=je(),t=Zt(),r=ko(),n=ns(),i=Tu(),a=cn(),o=Zf(),l=t.Promise,u=!1,f=!l||!l.try||o(function(){l.try(function(d){u=d===8},8)}).error||!u;return e({target:"Promise",stat:!0,forced:f},{try:function(d){var h=arguments.length>1?n(arguments,1):[],p=i.f(this),y=o(function(){return r(a(d),void 0,h)});return(y.error?p.reject:p.resolve)(y.value),p.promise}}),YB}var QB={},JB;function pue(){if(JB)return QB;JB=1;var e=je(),t=Tu();return e({target:"Promise",stat:!0},{withResolvers:function(){var n=t.f(this);return{promise:n.promise,resolve:n.resolve,reject:n.reject}}}),QB}var ZB={},Pw,e6;function dQ(){if(e6)return Pw;e6=1;var e=Zt(),t=Vg(),r=hn(),n=da(),i=Va(),a=Fn(),o=Br(),l=xn(),u="USE_FUNCTION_CONSTRUCTOR",f=o("asyncIterator"),d=e.AsyncIterator,h=t.AsyncIteratorPrototype,p,y;if(h)p=h;else if(r(d))p=d.prototype;else if(t[u]||e[u])try{y=i(i(i(Function("return async function*(){}()")()))),i(y)===Object.prototype&&(p=y)}catch{}return p?l&&(p=n(p)):p={},r(p[f])||a(p,f,function(){return this}),Pw=p,Pw}var kw,t6;function hQ(){if(t6)return kw;t6=1;var e=gr(),t=_r(),r=da(),n=la(),i=bu(),a=Ei(),o=pa(),l=ln(),u=dQ(),f=gc(),d=l("Promise"),h="AsyncFromSyncIterator",p=a.set,y=a.getterFor(h),_=function(S,w,T,C,x){var R=S.done;d.resolve(S.value).then(function(O){w(f(O,R))},function(O){if(!R&&x)try{o(C,"throw",O)}catch(m){O=m}T(O)})},E=function(w){w.type=h,p(this,w)};return E.prototype=i(r(u),{next:function(){var w=y(this);return new d(function(T,C){var x=t(e(w.next,w.iterator));_(x,T,C,w.iterator,!0)})},return:function(){var S=y(this).iterator;return new d(function(w,T){var C=n(S,"return");if(C===void 0)return w(f(void 0,!0));var x=t(e(C,S));_(x,w,T,S)})}}),kw=E,kw}var Dw,r6;function vue(){if(r6)return Dw;r6=1;var e=gr(),t=hQ(),r=_r(),n=Wf(),i=xa(),a=la(),o=Br(),l=o("asyncIterator");return Dw=function(u,f){var d=arguments.length<2?a(u,l):f;return d?r(e(d,u)):new t(i(n(u)))},Dw}var Lw,n6;function gue(){if(n6)return Lw;n6=1;var e=gr(),t=ln(),r=la();return Lw=function(n,i,a,o){try{var l=r(n,"return");if(l)return t("Promise").resolve(e(l,n)).then(function(){i(a)},function(u){o(u)})}catch(u){return o(u)}i(a)},Lw}var Nw,i6;function mue(){if(i6)return Nw;i6=1;var e=gr(),t=cn(),r=_r(),n=qr(),i=vc(),a=ln(),o=xa(),l=gue(),u=function(f){var d=f===0,h=f===1,p=f===2,y=f===3;return function(_,E,S){r(_);var w=E!==void 0;(w||!d)&&t(E);var T=o(_),C=a("Promise"),x=T.iterator,R=T.next,O=0;return new C(function(m,D){var U=function(B){l(x,D,B,D)},K=function(){try{if(w)try{i(O)}catch(B){U(B)}C.resolve(r(e(R,x))).then(function(B){try{if(r(B).done)d?(S.length=O,m(S)):m(y?!1:p||void 0);else{var W=B.value;try{if(w){var Y=E(W,O),Q=function(ie){if(h)K();else if(p)ie?K():l(x,m,!1,D);else if(d)try{S[O++]=ie,K()}catch(ae){U(ae)}else ie?l(x,m,y||W,D):K()};n(Y)?C.resolve(Y).then(Q,U):Q(Y)}else S[O++]=W,K()}catch(ie){U(ie)}}}catch(ie){D(ie)}},D)}catch(B){D(B)}};K()})}};return Nw={toArray:u(0),forEach:u(1),every:u(2),some:u(3),find:u(4)},Nw}var Mw,a6;function yue(){if(a6)return Mw;a6=1;var e=Po(),t=Kt(),r=Sn(),n=dc(),i=vue(),a=Wf(),o=xa(),l=pc(),u=la(),f=ln(),d=$X(),h=Br(),p=hQ(),y=mue().toArray,_=h("asyncIterator"),E=t(d("Array","values")),S=t(E([]).next),w=function(){return new T(this)},T=function(C){this.iterator=E(C)};return T.prototype.next=function(){return S(this.iterator)},Mw=function(x){var R=this,O=arguments.length,m=O>1?arguments[1]:void 0,D=O>2?arguments[2]:void 0;return new(f("Promise"))(function(U){var K=r(x);m!==void 0&&(m=e(m,D));var B=u(K,_),W=B?void 0:l(K)||w,Y=n(R)?new R:[],Q=B?i(K,B):new p(o(a(K,W)));U(y(Q,m,Y))})},Mw}var o6;function _ue(){if(o6)return ZB;o6=1;var e=je(),t=yue(),r=Ht(),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}),ZB}var s6={},u6;function Eue(){if(u6)return s6;u6=1;var e=je(),t=Rr(),r=ln(),n=cn(),i=Do(),a=Fn(),o=bu(),l=Di(),u=Br(),f=Ei(),d=KX(),h=qs(),p=r("Promise"),y=r("SuppressedError"),_=ReferenceError,E=u("asyncDispose"),S=u("toStringTag"),w="AsyncDisposableStack",T=f.set,C=f.getterFor(w),x="async-dispose",R="disposed",O="pending",m=function(B){var W=C(B);if(W.state===R)throw new _(w+" already disposed");return W},D=function(){T(i(this,U),{type:w,state:O,stack:[]}),t||(this.disposed=!1)},U=D.prototype;o(U,{disposeAsync:function(){var W=this;return new p(function(Y,Q){var ie=C(W);if(ie.state===R)return Y(void 0);ie.state=R,t||(W.disposed=!0);var ae=ie.stack,ve=ae.length,H=!1,J,z=function(we){H?J=new y(we,J):(H=!0,J=we),ue()},ue=function(){if(ve){var we=ae[--ve];ae[ve]=null;try{p.resolve(we()).then(ue,z)}catch(ke){z(ke)}}else ie.stack=null,H?Q(J):Y(void 0)};ue()})},use:function(W){return d(m(this),W,x),W},adopt:function(W,Y){var Q=m(this);return n(Y),d(Q,void 0,x,function(){return Y(W)}),W},defer:function(W){var Y=m(this);n(W),d(Y,void 0,x,W)},move:function(){var W=m(this),Y=new D;return C(Y).stack=W.stack,W.stack=[],W.state=R,t||(this.disposed=!0),Y}}),t&&l(U,"disposed",{configurable:!0,get:function(){return C(this).state===R}}),a(U,E,U.disposeAsync,{name:"disposeAsync"}),a(U,S,w,{nonWritable:!0});var K=h&&h<136;return e({global:!0,constructor:!0,forced:K},{AsyncDisposableStack:D}),s6}var l6={},c6;function Sue(){if(c6)return l6;c6=1;var e=gr(),t=Fn(),r=ln(),n=la(),i=fn(),a=Br(),o=dQ(),l=a("asyncDispose"),u=r("Promise");return i(o,l)||t(o,l,function(){var f=this;return new u(function(d,h){var p=n(f,"return");p?u.resolve(e(p,f)).then(function(){d(void 0)},h):d(void 0)})}),l6}var f6={},d6;function wue(){if(d6)return f6;d6=1;var e=je(),t=ko(),r=cn(),n=_r(),i=Ht(),a=!i(function(){Reflect.apply(function(){})});return e({target:"Reflect",stat:!0,forced:a},{apply:function(l,u,f){return t(r(l),u,n(f))}}),f6}var h6={},p6;function bue(){if(p6)return h6;p6=1;var e=je(),t=ln(),r=ko(),n=YX(),i=rO(),a=_r(),o=qr(),l=da(),u=Ht(),f=t("Reflect","construct"),d=Object.prototype,h=[].push,p=u(function(){function E(){}return!(f(function(){},[],E)instanceof E)}),y=!u(function(){f(function(){})}),_=p||y;return e({target:"Reflect",stat:!0,forced:_,sham:_},{construct:function(S,w){i(S),a(w);var T=arguments.length<3?S:i(arguments[2]);if(y&&!p)return f(S,w,T);if(S===T){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 C=[null];return r(h,C,w),new(r(n,S,C))}var x=T.prototype,R=l(o(x)?x:d),O=r(S,R,w);return o(O)?O:R}}),h6}var v6={},g6;function Tue(){if(g6)return v6;g6=1;var e=je(),t=Rr(),r=_r(),n=ul(),i=si(),a=Ht(),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(u,f,d){r(u);var h=n(f);r(d);try{return i.f(u,h,d),!0}catch{return!1}}}),v6}var m6={},y6;function Aue(){if(y6)return m6;y6=1;var e=je(),t=_r(),r=ca().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]}}),m6}var _6={},$w,E6;function pQ(){if(E6)return $w;E6=1;var e=fn();return $w=function(t){return t!==void 0&&(e(t,"value")||e(t,"writable"))},$w}var S6;function Rue(){if(S6)return _6;S6=1;var e=je(),t=gr(),r=qr(),n=_r(),i=pQ(),a=ca(),o=Va();function l(u,f){var d=arguments.length<3?u:arguments[2],h,p;if(n(u)===d)return u[f];if(h=a.f(u,f),h)return i(h)?h.value:h.get===void 0?void 0:t(h.get,d);if(r(p=o(u)))return l(p,f,d)}return e({target:"Reflect",stat:!0},{get:l}),_6}var w6={},b6;function xue(){if(b6)return w6;b6=1;var e=je(),t=Rr(),r=_r(),n=ca();return e({target:"Reflect",stat:!0,sham:!t},{getOwnPropertyDescriptor:function(a,o){return n.f(r(a),o)}}),w6}var T6={},A6;function Cue(){if(A6)return T6;A6=1;var e=je(),t=_r(),r=Va(),n=qC();return e({target:"Reflect",stat:!0,sham:!n},{getPrototypeOf:function(a){return r(t(a))}}),T6}var R6={},x6;function Oue(){if(x6)return R6;x6=1;var e=je();return e({target:"Reflect",stat:!0},{has:function(r,n){return n in r}}),R6}var C6={},O6;function Iue(){if(O6)return C6;O6=1;var e=je(),t=_r(),r=eO();return e({target:"Reflect",stat:!0},{isExtensible:function(i){return t(i),r(i)}}),C6}var I6={},P6;function Pue(){if(P6)return I6;P6=1;var e=je(),t=NC();return e({target:"Reflect",stat:!0},{ownKeys:t}),I6}var k6={},D6;function kue(){if(D6)return k6;D6=1;var e=je(),t=ln(),r=_r(),n=Qf();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}}}),k6}var L6={},N6;function Due(){if(N6)return L6;N6=1;var e=je(),t=gr(),r=_r(),n=qr(),i=pQ(),a=Ht(),o=si(),l=ca(),u=Va(),f=Co();function d(p,y,_){var E=arguments.length<4?p:arguments[3],S=l.f(r(p),y),w,T,C;if(!S){if(n(T=u(p)))return d(T,y,_,E);S=f(0)}if(i(S)){if(S.writable===!1||!n(E))return!1;if(w=l.f(E,y)){if(w.get||w.set||w.writable===!1)return!1;w.value=_,o.f(E,y,w)}else o.f(E,y,f(0,_))}else{if(C=S.set,C===void 0)return!1;t(C,E,_)}return!0}var h=a(function(){var p=function(){},y=o.f(new p,"a",{configurable:!0});return Reflect.set(p.prototype,"a",1,y)!==!1});return e({target:"Reflect",stat:!0,forced:h},{set:d}),L6}var M6={},$6;function Lue(){if($6)return M6;$6=1;var e=je(),t=_r(),r=bX(),n=Es();return n&&e({target:"Reflect",stat:!0},{setPrototypeOf:function(a,o){t(a),r(o);try{return n(a,o),!0}catch{return!1}}}),M6}var F6={},j6;function Nue(){if(j6)return F6;j6=1;var e=je(),t=Zt(),r=so();return e({global:!0},{Reflect:{}}),r(t.Reflect,"Reflect",!0),F6}var U6={},Fw,q6;function vm(){if(q6)return Fw;q6=1;var e=qr(),t=Aa(),r=Br(),n=r("match");return Fw=function(i){var a;return e(i)&&((a=i[n])!==void 0?!!a:t(i)==="RegExp")},Fw}var jw,B6;function vQ(){if(B6)return jw;B6=1;var e=Zt(),t=Ht(),r=e.RegExp,n=!t(function(){var i=!0;try{r(".","d")}catch{i=!1}var a={},o="",l=i?"dgimsy":"gimsy",u=function(p,y){Object.defineProperty(a,p,{get:function(){return o+=y,!0}})},f={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};i&&(f.hasIndices="d");for(var d in f)u(d,f[d]);var h=Object.getOwnPropertyDescriptor(r.prototype,"flags").get.call(a);return h!==l||o!==l});return jw={correct:n},jw}var Uw,V6;function nO(){if(V6)return Uw;V6=1;var e=_r();return Uw=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},Uw}var qw,H6;function yc(){if(H6)return qw;H6=1;var e=gr(),t=fn(),r=Ba(),n=vQ(),i=nO(),a=RegExp.prototype;return qw=n.correct?function(o){return o.flags}:function(o){return!n.correct&&r(a,o)&&!t(o,"flags")?e(i,o):o.flags},qw}var Bw,z6;function gm(){if(z6)return Bw;z6=1;var e=Ht(),t=Zt(),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 Bw={BROKEN_CARET:a,MISSED_STICKY:i,UNSUPPORTED_Y:n},Bw}var Vw,W6;function iO(){if(W6)return Vw;W6=1;var e=Ht(),t=Zt(),r=t.RegExp;return Vw=e(function(){var n=r(".","s");return!(n.dotAll&&n.test(`
4
+ `)&&n.flags==="s")}),Vw}var Hw,G6;function gQ(){if(G6)return Hw;G6=1;var e=Ht(),t=Zt(),r=t.RegExp;return Hw=e(function(){var n=r("(?<a>b)","g");return n.exec("b").groups.a!=="b"||"b".replace(n,"$<a>c")!=="bc"}),Hw}var K6;function Mue(){if(K6)return U6;K6=1;var e=Rr(),t=Zt(),r=Kt(),n=Fh(),i=hc(),a=fa(),o=da(),l=cc().f,u=Ba(),f=vm(),d=Xr(),h=yc(),p=gm(),y=TX(),_=Fn(),E=Ht(),S=fn(),w=Ei().enforce,T=Yf(),C=Br(),x=iO(),R=gQ(),O=C("match"),m=t.RegExp,D=m.prototype,U=t.SyntaxError,K=r(D.exec),B=r("".charAt),W=r("".replace),Y=r("".indexOf),Q=r("".slice),ie=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,ae=/a/g,ve=/a/g,H=new m(ae)!==ae,J=p.MISSED_STICKY,z=p.UNSUPPORTED_Y,ue=e&&(!H||J||x||R||E(function(){return ve[O]=!1,m(ae)!==ae||m(ve)===ve||String(m(ae,"i"))!=="/a/i"})),we=function(q){for(var I=q.length,N=0,M="",Z=!1,L;N<=I;N++){if(L=B(q,N),L==="\\"){M+=L+B(q,++N);continue}!Z&&L==="."?M+="[\\s\\S]":(L==="["?Z=!0:L==="]"&&(Z=!1),M+=L)}return M},ke=function(q){for(var I=q.length,N=0,M="",Z=[],L=o(null),G=!1,pe=!1,fe=0,be="",_e;N<=I;N++){if(_e=B(q,N),_e==="\\")_e+=B(q,++N);else if(_e==="]")G=!1;else if(!G)switch(!0){case _e==="[":G=!0;break;case _e==="(":if(M+=_e,Q(q,N+1,N+3)==="?:")continue;K(ie,Q(q,N+1))&&(N+=2,pe=!0),fe++;continue;case(_e===">"&&pe):if(be===""||S(L,be))throw new U("Invalid capture group name");L[be]=!0,Z[Z.length]=[be,fe],pe=!1,be="";continue}pe?be+=_e:M+=_e}return[M,Z]};if(n("RegExp",ue)){for(var Be=function(I,N){var M=u(D,this),Z=f(I),L=N===void 0,G=[],pe=I,fe,be,_e,Ce,Me,de;if(!M&&Z&&L&&I.constructor===Be)return I;if((Z||u(D,I))&&(I=I.source,L&&(N=h(pe))),I=I===void 0?"":d(I),N=N===void 0?"":d(N),pe=I,x&&"dotAll"in ae&&(be=!!N&&Y(N,"s")>-1,be&&(N=W(N,/s/g,""))),fe=N,J&&"sticky"in ae&&(_e=!!N&&Y(N,"y")>-1,_e&&z&&(N=W(N,/y/g,""))),R&&(Ce=ke(I),I=Ce[0],G=Ce[1]),Me=i(m(I,N),M?this:D,Be),(be||_e||G.length)&&(de=w(Me),be&&(de.dotAll=!0,de.raw=Be(we(I),fe)),_e&&(de.sticky=!0),G.length&&(de.groups=G)),I!==pe)try{a(Me,"source",pe===""?"(?:)":pe)}catch{}return Me},nt=l(m),rt=0;nt.length>rt;)y(Be,m,nt[rt++]);D.constructor=Be,Be.prototype=D,_(t,"RegExp",Be,{constructor:!0})}return T("RegExp"),U6}var Y6={},zw,X6;function mm(){if(X6)return zw;X6=1;var e=TypeError;return zw=function(t){if(typeof t=="string")return t;throw new e("Argument is not a string")},zw}var Q6;function $ue(){if(Q6)return Y6;Q6=1;var e=je(),t=Kt(),r=mm(),n=fn(),i=om().start,a=zh(),o=Array,l=RegExp.escape,u=t("".charAt),f=t("".charCodeAt),d=t(1.1.toString),h=t([].join),p=/^[0-9a-z]/i,y=/^[$()*+./?[\\\]^{|}]/,_=RegExp("^[!\"#%&',\\-:;<=>@`~"+a+"]"),E=t(p.exec),S={" ":"t","\n":"n","\v":"v","\f":"f","\r":"r"},w=function(C){var x=d(f(C,0),16);return x.length<3?"\\x"+i(x,2,"0"):"\\u"+i(x,4,"0")},T=!l||l("ab")!=="\\x61b";return e({target:"RegExp",stat:!0,forced:T},{escape:function(x){r(x);for(var R=x.length,O=o(R),m=0;m<R;m++){var D=u(x,m);if(m===0&&E(p,D))O[m]=w(D);else if(n(S,D))O[m]="\\"+S[D];else if(E(y,D))O[m]="\\"+D;else if(E(_,D))O[m]=w(D);else{var U=f(D,0);(U&63488)!==55296?O[m]=D:U>=56320||m+1>=R||(f(x,m+1)&64512)!==56320?O[m]=w(D):(O[m]=D,O[++m]=u(x,m))}}return h(O,"")}}),Y6}var J6={},Z6;function Fue(){if(Z6)return J6;Z6=1;var e=Rr(),t=iO(),r=Aa(),n=Di(),i=Ei().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")}}}),J6}var e4={},Ww,t4;function aO(){if(t4)return Ww;t4=1;var e=gr(),t=Kt(),r=Xr(),n=nO(),i=gm(),a=qf(),o=da(),l=Ei().get,u=iO(),f=gQ(),d=a("native-string-replace",String.prototype.replace),h=RegExp.prototype.exec,p=h,y=t("".charAt),_=t("".indexOf),E=t("".replace),S=t("".slice),w=(function(){var R=/a/,O=/b*/g;return e(h,R,"a"),e(h,O,"a"),R.lastIndex!==0||O.lastIndex!==0})(),T=i.BROKEN_CARET,C=/()??/.exec("")[1]!==void 0,x=w||C||T||u||f;return x&&(p=function(O){var m=this,D=l(m),U=r(O),K=D.raw,B,W,Y,Q,ie,ae,ve;if(K)return K.lastIndex=m.lastIndex,B=e(p,K,U),m.lastIndex=K.lastIndex,B;var H=D.groups,J=T&&m.sticky,z=e(n,m),ue=m.source,we=0,ke=U;if(J&&(z=E(z,"y",""),_(z,"g")===-1&&(z+="g"),ke=S(U,m.lastIndex),m.lastIndex>0&&(!m.multiline||m.multiline&&y(U,m.lastIndex-1)!==`
5
+ `)&&(ue="(?: "+ue+")",ke=" "+ke,we++),W=new RegExp("^(?:"+ue+")",z)),C&&(W=new RegExp("^"+ue+"$(?!\\s)",z)),w&&(Y=m.lastIndex),Q=e(h,J?W:m,ke),J?Q?(Q.input=S(Q.input,we),Q[0]=S(Q[0],we),Q.index=m.lastIndex,m.lastIndex+=Q[0].length):m.lastIndex=0:w&&Q&&(m.lastIndex=m.global?Q.index+Q[0].length:Y),C&&Q&&Q.length>1&&e(d,Q[0],W,function(){for(ie=1;ie<arguments.length-2;ie++)arguments[ie]===void 0&&(Q[ie]=void 0)}),Q&&H)for(Q.groups=ae=o(null),ie=0;ie<H.length;ie++)ve=H[ie],ae[ve[0]]=Q[ve[1]];return Q}),Ww=p,Ww}var r4;function oO(){if(r4)return e4;r4=1;var e=je(),t=aO();return e({target:"RegExp",proto:!0,forced:/./.exec!==t},{exec:t}),e4}var n4={},i4;function jue(){if(i4)return n4;i4=1;var e=Rr(),t=Di(),r=vQ(),n=nO();return e&&!r.correct&&(t(RegExp.prototype,"flags",{configurable:!0,get:n}),r.correct=!0),n4}var a4={},o4;function Uue(){if(o4)return a4;o4=1;var e=Rr(),t=gm().MISSED_STICKY,r=Aa(),n=Di(),i=Ei().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")}}}),a4}var s4={},u4;function que(){if(u4)return s4;u4=1,oO();var e=je(),t=gr(),r=hn(),n=_r(),i=Xr(),a=(function(){var l=!1,u=/[ac]/;return u.exec=function(){return l=!0,/./.exec.apply(this,arguments)},u.test("abc")===!0&&l})(),o=/./.test;return e({target:"RegExp",proto:!0,forced:!a},{test:function(l){var u=n(this),f=i(l),d=u.exec;if(!r(d))return t(o,u,f);var h=t(d,u,f);return h===null?!1:(n(h),!0)}}),s4}var l4={},c4;function Bue(){if(c4)return l4;c4=1;var e=Vf().PROPER,t=Fn(),r=_r(),n=Xr(),i=Ht(),a=yc(),o="toString",l=RegExp.prototype,u=l[o],f=i(function(){return u.call({source:"a",flags:"b"})!=="/a/b"}),d=e&&u.name!==o;return(f||d)&&t(l,o,function(){var p=r(this),y=n(p.source),_=n(a(p));return"/"+y+"/"+_},{unsafe:!0}),l4}var f4={},d4={},h4;function Vue(){if(h4)return d4;h4=1;var e=um(),t=JX();return e("Set",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},t),d4}var p4;function Hue(){return p4||(p4=1,Vue()),f4}var v4={},Gw,g4;function Ss(){if(g4)return Gw;g4=1;var e=Kt(),t=Set.prototype;return Gw={Set,add:e(t.add),has:e(t.has),remove:e(t.delete),proto:t},Gw}var Kw,m4;function _c(){if(m4)return Kw;m4=1;var e=Ss().has;return Kw=function(t){return e(t),t},Kw}var Yw,y4;function Ec(){if(y4)return Yw;y4=1;var e=gr();return Yw=function(t,r,n){for(var i=n?t:t.iterator,a=t.next,o,l;!(o=e(a,i)).done;)if(l=r(o.value),l!==void 0)return l},Yw}var Xw,_4;function td(){if(_4)return Xw;_4=1;var e=Kt(),t=Ec(),r=Ss(),n=r.Set,i=r.proto,a=e(i.forEach),o=e(i.keys),l=o(new n).next;return Xw=function(u,f,d){return d?t({iterator:o(u),next:l},f):a(u,f)},Xw}var Qw,E4;function sO(){if(E4)return Qw;E4=1;var e=Ss(),t=td(),r=e.Set,n=e.add;return Qw=function(i){var a=new r;return t(i,function(o){n(a,o)}),a},Qw}var Jw,S4;function Gh(){if(S4)return Jw;S4=1;var e=Yg(),t=Ss();return Jw=e(t.proto,"size","get")||function(r){return r.size},Jw}var Zw,w4;function Sc(){if(w4)return Zw;w4=1;var e=cn(),t=_r(),r=gr(),n=Ri(),i=xa(),a="Invalid size",o=RangeError,l=TypeError,u=Math.max,f=function(d,h){this.set=d,this.size=u(h,0),this.has=e(d.has),this.keys=e(d.keys)};return f.prototype={getIterator:function(){return i(t(r(this.keys,this.set)))},includes:function(d){return r(this.has,this.set,d)}},Zw=function(d){t(d);var h=+d.size;if(h!==h)throw new l(a);var p=n(h);if(p<0)throw new o(a);return new f(d,p)},Zw}var e1,b4;function zue(){if(b4)return e1;b4=1;var e=_c(),t=Ss(),r=sO(),n=Gh(),i=Sc(),a=td(),o=Ec(),l=t.has,u=t.remove;return e1=function(d){var h=e(this),p=i(d),y=r(h);return n(h)<=p.size?a(h,function(_){p.includes(_)&&u(y,_)}):o(p.getIterator(),function(_){l(y,_)&&u(y,_)}),y},e1}var t1,T4;function wc(){if(T4)return t1;T4=1;var e=ln(),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 t1=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}},t1}var A4;function Wue(){if(A4)return v4;A4=1;var e=je(),t=zue(),r=Ht(),n=wc(),i=!n("difference",function(o){return o.size===0}),a=i||r(function(){var o={size:1,has:function(){return!0},keys:function(){var u=0;return{next:function(){var f=u++>1;return l.has(1)&&l.clear(),{done:f,value:2}}}}},l=new Set([1,2,3,4]);return l.difference(o).size!==3});return e({target:"Set",proto:!0,real:!0,forced:a},{difference:t}),v4}var R4={},r1,x4;function Gue(){if(x4)return r1;x4=1;var e=_c(),t=Ss(),r=Gh(),n=Sc(),i=td(),a=Ec(),o=t.Set,l=t.add,u=t.has;return r1=function(d){var h=e(this),p=n(d),y=new o;return r(h)>p.size?a(p.getIterator(),function(_){u(h,_)&&l(y,_)}):i(h,function(_){p.includes(_)&&l(y,_)}),y},r1}var C4;function Kue(){if(C4)return R4;C4=1;var e=je(),t=Ht(),r=Gue(),n=wc(),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}),R4}var O4={},n1,I4;function Yue(){if(I4)return n1;I4=1;var e=_c(),t=Ss().has,r=Gh(),n=Sc(),i=td(),a=Ec(),o=pa();return n1=function(u){var f=e(this),d=n(u);if(r(f)<=d.size)return i(f,function(p){if(d.includes(p))return!1},!0)!==!1;var h=d.getIterator();return a(h,function(p){if(t(f,p))return o(h,"normal",!1)})!==!1},n1}var P4;function Xue(){if(P4)return O4;P4=1;var e=je(),t=Yue(),r=wc(),n=!r("isDisjointFrom",function(i){return!i});return e({target:"Set",proto:!0,real:!0,forced:n},{isDisjointFrom:t}),O4}var k4={},i1,D4;function Que(){if(D4)return i1;D4=1;var e=_c(),t=Gh(),r=td(),n=Sc();return i1=function(a){var o=e(this),l=n(a);return t(o)>l.size?!1:r(o,function(u){if(!l.includes(u))return!1},!0)!==!1},i1}var L4;function Jue(){if(L4)return k4;L4=1;var e=je(),t=Que(),r=wc(),n=!r("isSubsetOf",function(i){return i});return e({target:"Set",proto:!0,real:!0,forced:n},{isSubsetOf:t}),k4}var N4={},a1,M4;function Zue(){if(M4)return a1;M4=1;var e=_c(),t=Ss().has,r=Gh(),n=Sc(),i=Ec(),a=pa();return a1=function(l){var u=e(this),f=n(l);if(r(u)<f.size)return!1;var d=f.getIterator();return i(d,function(h){if(!t(u,h))return a(d,"normal",!1)})!==!1},a1}var $4;function ele(){if($4)return N4;$4=1;var e=je(),t=Zue(),r=wc(),n=!r("isSupersetOf",function(i){return!i});return e({target:"Set",proto:!0,real:!0,forced:n},{isSupersetOf:t}),N4}var F4={},o1,j4;function tle(){if(j4)return o1;j4=1;var e=_c(),t=Ss(),r=sO(),n=Sc(),i=Ec(),a=t.add,o=t.has,l=t.remove;return o1=function(f){var d=e(this),h=n(f).getIterator(),p=r(d);return i(h,function(y){o(d,y)?l(p,y):a(p,y)}),p},o1}var s1,U4;function mQ(){return U4||(U4=1,s1=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}}),s1}var q4;function rle(){if(q4)return F4;q4=1;var e=je(),t=tle(),r=mQ(),n=wc(),i=!n("symmetricDifference")||!r("symmetricDifference");return e({target:"Set",proto:!0,real:!0,forced:i},{symmetricDifference:t}),F4}var B4={},u1,V4;function nle(){if(V4)return u1;V4=1;var e=_c(),t=Ss().add,r=sO(),n=Sc(),i=Ec();return u1=function(o){var l=e(this),u=n(o).getIterator(),f=r(l);return i(u,function(d){t(f,d)}),f},u1}var H4;function ile(){if(H4)return B4;H4=1;var e=je(),t=nle(),r=mQ(),n=wc(),i=!n("union")||!r("union");return e({target:"Set",proto:!0,real:!0,forced:i},{union:t}),B4}var z4={},W4;function ale(){if(W4)return z4;W4=1;var e=je(),t=Kt(),r=fi(),n=Ri(),i=Xr(),a=Ht(),o=t("".charAt),l=a(function(){return"𠮷".at(-2)!=="\uD842"});return e({target:"String",proto:!0,forced:l},{at:function(f){var d=i(r(this)),h=d.length,p=n(f),y=p>=0?p:h+p;return y<0||y>=h?void 0:o(d,y)}}),z4}var G4={},l1,K4;function ym(){if(K4)return l1;K4=1;var e=Kt(),t=Ri(),r=Xr(),n=fi(),i=e("".charAt),a=e("".charCodeAt),o=e("".slice),l=function(u){return function(f,d){var h=r(n(f)),p=t(d),y=h.length,_,E;return p<0||p>=y?u?"":void 0:(_=a(h,p),_<55296||_>56319||p+1===y||(E=a(h,p+1))<56320||E>57343?u?i(h,p):_:u?o(h,p,p+2):(_-55296<<10)+(E-56320)+65536)}};return l1={codeAt:l(!1),charAt:l(!0)},l1}var Y4;function ole(){if(Y4)return G4;Y4=1;var e=je(),t=ym().codeAt;return e({target:"String",proto:!0},{codePointAt:function(n){return t(this,n)}}),G4}var X4={},c1,Q4;function uO(){if(Q4)return c1;Q4=1;var e=vm(),t=TypeError;return c1=function(r){if(e(r))throw new t("The method doesn't accept regular expressions");return r},c1}var f1,J4;function lO(){if(J4)return f1;J4=1;var e=Br(),t=e("match");return f1=function(r){var n=/./;try{"/./"[r](n)}catch{try{return n[t]=!1,"/./"[r](n)}catch{}}return!1},f1}var Z4;function sle(){if(Z4)return X4;Z4=1;var e=je(),t=fc(),r=ca().f,n=Oo(),i=Xr(),a=uO(),o=fi(),l=lO(),u=xn(),f=t("".slice),d=Math.min,h=l("endsWith"),p=!u&&!h&&!!(function(){var y=r(String.prototype,"endsWith");return y&&!y.writable})();return e({target:"String",proto:!0,forced:!p&&!h},{endsWith:function(_){var E=i(o(this));a(_);var S=arguments.length>1?arguments[1]:void 0,w=E.length,T=S===void 0?w:d(n(S),w),C=i(_);return f(E,T-C.length,T)===C}}),X4}var eV={},tV;function yQ(){if(tV)return eV;tV=1;var e=je(),t=Kt(),r=Eu(),n=RangeError,i=String.fromCharCode,a=String.fromCodePoint,o=t([].join),l=!!a&&a.length!==1;return e({target:"String",stat:!0,arity:1,forced:l},{fromCodePoint:function(f){for(var d=[],h=arguments.length,p=0,y;h>p;){if(y=+arguments[p++],r(y,1114111)!==y)throw new n(y+" is not a valid code point");d[p]=y<65536?i(y):i(((y-=65536)>>10)+55296,y%1024+56320)}return o(d,"")}}),eV}var rV={},nV;function ule(){if(nV)return rV;nV=1;var e=je(),t=Kt(),r=uO(),n=fi(),i=Xr(),a=lO(),o=t("".indexOf);return e({target:"String",proto:!0,forced:!a("includes")},{includes:function(u){return!!~o(i(n(this)),i(r(u)),arguments.length>1?arguments[1]:void 0)}}),rV}var iV={},aV;function lle(){if(aV)return iV;aV=1;var e=je(),t=Kt(),r=fi(),n=Xr(),i=t("".charCodeAt);return e({target:"String",proto:!0},{isWellFormed:function(){for(var o=n(r(this)),l=o.length,u=0;u<l;u++){var f=i(o,u);if((f&63488)===55296&&(f>=56320||++u>=l||(i(o,u)&64512)!==56320))return!1}return!0}}),iV}var oV={},sV;function _Q(){if(sV)return oV;sV=1;var e=ym().charAt,t=Xr(),r=Ei(),n=WC(),i=gc(),a="String Iterator",o=r.set,l=r.getterFor(a);return n(String,"String",function(u){o(this,{type:a,string:t(u),index:0})},function(){var f=l(this),d=f.string,h=f.index,p;return h>=d.length?i(void 0,!0):(p=e(d,h),f.index+=p.length,i(p,!1))}),oV}var uV={},d1,lV;function _m(){if(lV)return d1;lV=1,oO();var e=gr(),t=Fn(),r=aO(),n=Ht(),i=Br(),a=fa(),o=i("species"),l=RegExp.prototype;return d1=function(u,f,d,h){var p=i(u),y=!n(function(){var w={};return w[p]=function(){return 7},""[u](w)!==7}),_=y&&!n(function(){var w=!1,T=/a/;return u==="split"&&(T={},T.constructor={},T.constructor[o]=function(){return T},T.flags="",T[p]=/./[p]),T.exec=function(){return w=!0,null},T[p](""),!w});if(!y||!_||d){var E=/./[p],S=f(p,""[u],function(w,T,C,x,R){var O=T.exec;return O===r||O===l.exec?y&&!R?{done:!0,value:e(E,T,C,x)}:{done:!0,value:e(w,C,T,x)}:{done:!1}});t(String.prototype,u,S[0]),t(l,p,S[1])}h&&a(l[p],"sham",!0)},d1}var h1,cV;function Em(){if(cV)return h1;cV=1;var e=ym().charAt;return h1=function(t,r,n){return r+(n?e(t,r).length:1)},h1}var p1,fV;function Kh(){if(fV)return p1;fV=1;var e=gr(),t=_r(),r=hn(),n=Aa(),i=aO(),a=TypeError;return p1=function(o,l){var u=o.exec;if(r(u)){var f=e(u,o,l);return f!==null&&t(f),f}if(n(o)==="RegExp")return e(i,o,l);throw new a("RegExp#exec called on incompatible receiver")},p1}var dV;function cle(){if(dV)return uV;dV=1;var e=gr(),t=Kt(),r=_m(),n=_r(),i=qr(),a=Oo(),o=Xr(),l=fi(),u=la(),f=Em(),d=yc(),h=Kh(),p=t("".indexOf);return r("match",function(y,_,E){return[function(w){var T=l(this),C=i(w)?u(w,y):void 0;return C?e(C,w,T):new RegExp(w)[y](o(T))},function(S){var w=n(this),T=o(S),C=E(_,w,T);if(C.done)return C.value;var x=o(d(w));if(p(x,"g")===-1)return h(w,T);var R=p(x,"u")!==-1;w.lastIndex=0;for(var O=[],m=0,D;(D=h(w,T))!==null;){var U=o(D[0]);O[m]=U,U===""&&(w.lastIndex=f(T,a(w.lastIndex),R)),m++}return m===0?null:O}]}),uV}var hV={},pV;function fle(){if(pV)return hV;pV=1;var e=je(),t=gr(),r=fc(),n=zC(),i=gc(),a=fi(),o=Oo(),l=Xr(),u=_r(),f=qr(),d=Aa(),h=vm(),p=yc(),y=la(),_=Fn(),E=Ht(),S=Br(),w=dm(),T=Em(),C=Kh(),x=Ei(),R=xn(),O=S("matchAll"),m="RegExp String",D=m+" Iterator",U=x.set,K=x.getterFor(D),B=RegExp.prototype,W=TypeError,Y=r("".indexOf),Q=r("".matchAll),ie=!!Q&&!E(function(){Q("a",/./)}),ae=n(function(J,z,ue,we){U(this,{type:D,regexp:J,string:z,global:ue,unicode:we,done:!1})},m,function(){var J=K(this);if(J.done)return i(void 0,!0);var z=J.regexp,ue=J.string,we=C(z,ue);return we===null?(J.done=!0,i(void 0,!0)):J.global?(l(we[0])===""&&(z.lastIndex=T(ue,o(z.lastIndex),J.unicode)),i(we,!1)):(J.done=!0,i(we,!1))}),ve=function(H){var J=u(this),z=l(H),ue=w(J,RegExp),we=l(p(J)),ke,Be,nt;return ke=new ue(ue===RegExp?J.source:J,we),Be=!!~Y(we,"g"),nt=!!~Y(we,"u"),ke.lastIndex=o(J.lastIndex),new ae(ke,z,Be,nt)};return e({target:"String",proto:!0,forced:ie},{matchAll:function(J){var z=a(this),ue,we,ke,Be;if(f(J)){if(h(J)&&(ue=l(a(p(J))),!~Y(ue,"g")))throw new W("`.matchAll` does not allow non-global regexes");if(ie)return Q(z,J);if(ke=y(J,O),ke===void 0&&R&&d(J)==="RegExp"&&(ke=ve),ke)return t(ke,J,z)}else if(ie)return Q(z,J);return we=l(z),Be=new RegExp(J,"g"),R?t(ve,Be,we):Be[O](we)}}),R||O in B||_(B,O,ve),hV}var vV={},v1,gV;function EQ(){if(gV)return v1;gV=1;var e=Us();return v1=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(e),v1}var mV;function dle(){if(mV)return vV;mV=1;var e=je(),t=om().end,r=EQ();return e({target:"String",proto:!0,forced:r},{padEnd:function(i){return t(this,i,arguments.length>1?arguments[1]:void 0)}}),vV}var yV={},_V;function hle(){if(_V)return yV;_V=1;var e=je(),t=om().start,r=EQ();return e({target:"String",proto:!0,forced:r},{padStart:function(i){return t(this,i,arguments.length>1?arguments[1]:void 0)}}),yV}var EV={},SV;function ple(){if(SV)return EV;SV=1;var e=je(),t=Kt(),r=ta(),n=Sn(),i=Xr(),a=Wn(),o=t([].push),l=t([].join);return e({target:"String",stat:!0},{raw:function(f){var d=r(n(f).raw),h=a(d);if(!h)return"";for(var p=arguments.length,y=[],_=0;;){if(o(y,i(d[_++])),_===h)return l(y,"");_<p&&o(y,i(arguments[_]))}}}),EV}var wV={},bV;function vle(){if(bV)return wV;bV=1;var e=je(),t=am();return e({target:"String",proto:!0},{repeat:t}),wV}var TV={},g1,AV;function SQ(){if(AV)return g1;AV=1;var e=Kt(),t=Sn(),r=Math.floor,n=e("".charAt),i=e("".replace),a=e("".slice),o=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;return g1=function(u,f,d,h,p,y){var _=d+u.length,E=h.length,S=l;return p!==void 0&&(p=t(p),S=o),i(y,S,function(w,T){var C;switch(n(T,0)){case"$":return"$";case"&":return u;case"`":return a(f,0,d);case"'":return a(f,_);case"<":C=p[a(T,1,-1)];break;default:var x=+T;if(x===0)return w;if(x>E){var R=r(x/10);return R===0?w:R<=E?h[R-1]===void 0?n(T,1):h[R-1]+n(T,1):w}C=h[x-1]}return C===void 0?"":C})},g1}var RV;function gle(){if(RV)return TV;RV=1;var e=ko(),t=gr(),r=Kt(),n=_m(),i=Ht(),a=_r(),o=hn(),l=qr(),u=Ri(),f=Oo(),d=Xr(),h=fi(),p=Em(),y=la(),_=SQ(),E=yc(),S=Kh(),w=Br(),T=w("replace"),C=Math.max,x=Math.min,R=r([].concat),O=r([].push),m=r("".indexOf),D=r("".slice),U=function(Y){return Y===void 0?Y:String(Y)},K=(function(){return"a".replace(/./,"$0")==="$0"})(),B=(function(){return/./[T]?/./[T]("a","$0")==="":!1})(),W=!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,ie){var ae=B?"$":"$0";return[function(H,J){var z=h(this),ue=l(H)?y(H,T):void 0;return ue?t(ue,H,z,J):t(Q,d(z),H,J)},function(ve,H){var J=a(this),z=d(ve);if(typeof H=="string"&&m(H,ae)===-1&&m(H,"$<")===-1){var ue=ie(Q,J,z,H);if(ue.done)return ue.value}var we=o(H);we||(H=d(H));var ke=d(E(J)),Be=m(ke,"g")!==-1,nt;Be&&(nt=m(ke,"u")!==-1,J.lastIndex=0);for(var rt=[],q;q=S(J,z),!(q===null||(O(rt,q),!Be));){var I=d(q[0]);I===""&&(J.lastIndex=p(z,f(J.lastIndex),nt))}for(var N="",M=0,Z=0;Z<rt.length;Z++){q=rt[Z];for(var L=d(q[0]),G=C(x(u(q.index),z.length),0),pe=[],fe,be=1;be<q.length;be++)O(pe,U(q[be]));var _e=q.groups;if(we){var Ce=R([L],pe,G,z);_e!==void 0&&O(Ce,_e),fe=d(e(H,void 0,Ce))}else fe=_(L,z,G,pe,_e,H);G>=M&&(N+=D(z,M,G)+fe,M=G+L.length)}return N+D(z,M)}]},!W||!K||B),TV}var xV={},CV;function mle(){if(CV)return xV;CV=1;var e=je(),t=gr(),r=Kt(),n=fi(),i=hn(),a=qr(),o=vm(),l=Xr(),u=la(),f=yc(),d=SQ(),h=Br(),p=xn(),y=h("replace"),_=TypeError,E=r("".indexOf),S=r("".replace),w=r("".slice),T=Math.max;return e({target:"String",proto:!0},{replaceAll:function(x,R){var O=n(this),m,D,U,K,B,W,Y,Q,ie,ae,ve=0,H="";if(a(x)){if(m=o(x),m&&(D=l(n(f(x))),!~E(D,"g")))throw new _("`.replaceAll` does not allow non-global regexes");if(U=u(x,y),U)return t(U,x,O,R);if(p&&m)return S(l(O),x,R)}for(K=l(O),B=l(x),W=i(R),W||(R=l(R)),Y=B.length,Q=T(1,Y),ie=E(K,B);ie!==-1;)ae=W?l(R(B,ie,K)):d(B,K,ie,[],void 0,R),H+=w(K,ve,ie)+ae,ve=ie+Y,ie=ie+Q>K.length?-1:E(K,B,ie+Q);return ve<K.length&&(H+=w(K,ve)),H}}),xV}var OV={},IV;function yle(){if(IV)return OV;IV=1;var e=gr(),t=_m(),r=_r(),n=qr(),i=fi(),a=oQ(),o=Xr(),l=la(),u=Kh();return t("search",function(f,d,h){return[function(y){var _=i(this),E=n(y)?l(y,f):void 0;return E?e(E,y,_):new RegExp(y)[f](o(_))},function(p){var y=r(this),_=o(p),E=h(d,y,_);if(E.done)return E.value;var S=y.lastIndex;a(S,0)||(y.lastIndex=0);var w=u(y,_);return a(y.lastIndex,S)||(y.lastIndex=S),w===null?-1:w.index}]}),OV}var PV={},kV;function _le(){if(kV)return PV;kV=1;var e=gr(),t=Kt(),r=_m(),n=_r(),i=qr(),a=fi(),o=dm(),l=Em(),u=Oo(),f=Xr(),d=la(),h=Kh(),p=gm(),y=Ht(),_=p.UNSUPPORTED_Y,E=4294967295,S=Math.min,w=t([].push),T=t("".slice),C=!y(function(){var R=/(?:)/,O=R.exec;R.exec=function(){return O.apply(this,arguments)};var m="ab".split(R);return m.length!==2||m[0]!=="a"||m[1]!=="b"}),x="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(R,O,m){var D="0".split(void 0,0).length?function(U,K){return U===void 0&&K===0?[]:e(O,this,U,K)}:O;return[function(K,B){var W=a(this),Y=i(K)?d(K,R):void 0;return Y?e(Y,K,W,B):e(D,f(W),K,B)},function(U,K){var B=n(this),W=f(U);if(!x){var Y=m(D,B,W,K,D!==O);if(Y.done)return Y.value}var Q=o(B,RegExp),ie=B.unicode,ae=(B.ignoreCase?"i":"")+(B.multiline?"m":"")+(B.unicode?"u":"")+(_?"g":"y"),ve=new Q(_?"^(?:"+B.source+")":B,ae),H=K===void 0?E:K>>>0;if(H===0)return[];if(W.length===0)return h(ve,W)===null?[W]:[];for(var J=0,z=0,ue=[];z<W.length;){ve.lastIndex=_?0:z;var we=h(ve,_?T(W,z):W),ke;if(we===null||(ke=S(u(ve.lastIndex+(_?z:0)),W.length))===J)z=l(W,z,ie);else{if(w(ue,T(W,J,z)),ue.length===H)return ue;for(var Be=1;Be<=we.length-1;Be++)if(w(ue,we[Be]),ue.length===H)return ue;z=J=ke}}return w(ue,T(W,J)),ue}]},x||!C,_),PV}var DV={},LV;function Ele(){if(LV)return DV;LV=1;var e=je(),t=fc(),r=ca().f,n=Oo(),i=Xr(),a=uO(),o=fi(),l=lO(),u=xn(),f=t("".slice),d=Math.min,h=l("startsWith"),p=!u&&!h&&!!(function(){var y=r(String.prototype,"startsWith");return y&&!y.writable})();return e({target:"String",proto:!0,forced:!p&&!h},{startsWith:function(_){var E=i(o(this));a(_);var S=n(d(arguments.length>1?arguments[1]:void 0,E.length)),w=i(_);return f(E,S,S+w.length)===w}}),DV}var NV={},MV;function Sle(){if(MV)return NV;MV=1;var e=je(),t=Kt(),r=fi(),n=Ri(),i=Xr(),a=t("".slice),o=Math.max,l=Math.min,u=!"".substr||"ab".substr(-1)!=="b";return e({target:"String",proto:!0,forced:u},{substr:function(d,h){var p=i(r(this)),y=p.length,_=n(d),E,S;return _===1/0&&(_=0),_<0&&(_=o(y+_,0)),E=h===void 0?y:n(h),E<=0||E===1/0?"":(S=l(_+E,y),_>=S?"":a(p,_,S))}}),NV}var $V={},FV;function wle(){if(FV)return $V;FV=1;var e=je(),t=gr(),r=Kt(),n=fi(),i=Xr(),a=Ht(),o=Array,l=r("".charAt),u=r("".charCodeAt),f=r([].join),d="".toWellFormed,h="�",p=d&&a(function(){return t(d,1)!=="1"});return e({target:"String",proto:!0,forced:p},{toWellFormed:function(){var _=i(n(this));if(p)return t(d,_);for(var E=_.length,S=o(E),w=0;w<E;w++){var T=u(_,w);(T&63488)!==55296?S[w]=l(_,w):T>=56320||w+1>=E||(u(_,w+1)&64512)!==56320?S[w]=h:(S[w]=l(_,w),S[++w]=l(_,w))}return f(S,"")}}),$V}var jV={},m1,UV;function cO(){if(UV)return m1;UV=1;var e=Vf().PROPER,t=Ht(),r=zh(),n="​…᠎";return m1=function(i){return t(function(){return!!r[i]()||n[i]()!==n||e&&r[i].name!==i})},m1}var qV;function ble(){if(qV)return jV;qV=1;var e=je(),t=Jf().trim,r=cO();return e({target:"String",proto:!0,forced:r("trim")},{trim:function(){return t(this)}}),jV}var BV={},VV={},y1,HV;function wQ(){if(HV)return y1;HV=1;var e=Jf().end,t=cO();return y1=t("trimEnd")?function(){return e(this)}:"".trimEnd,y1}var zV;function Tle(){if(zV)return VV;zV=1;var e=je(),t=wQ();return e({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==t},{trimRight:t}),VV}var WV;function Ale(){if(WV)return BV;WV=1,Tle();var e=je(),t=wQ();return e({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==t},{trimEnd:t}),BV}var GV={},KV={},_1,YV;function bQ(){if(YV)return _1;YV=1;var e=Jf().start,t=cO();return _1=t("trimStart")?function(){return e(this)}:"".trimStart,_1}var XV;function Rle(){if(XV)return KV;XV=1;var e=je(),t=bQ();return e({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==t},{trimLeft:t}),KV}var QV;function xle(){if(QV)return GV;QV=1,Rle();var e=je(),t=bQ();return e({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==t},{trimStart:t}),GV}var JV={},E1,ZV;function Lo(){if(ZV)return E1;ZV=1;var e=Kt(),t=fi(),r=Xr(),n=/"/g,i=e("".replace);return E1=function(a,o,l,u){var f=r(t(a)),d="<"+o;return l!==""&&(d+=" "+l+'="'+i(r(u),n,"&quot;")+'"'),d+">"+f+"</"+o+">"},E1}var S1,e2;function No(){if(e2)return S1;e2=1;var e=Ht();return S1=function(t){return e(function(){var r=""[t]('"');return r!==r.toLowerCase()||r.split('"').length>3})},S1}var t2;function Cle(){if(t2)return JV;t2=1;var e=je(),t=Lo(),r=No();return e({target:"String",proto:!0,forced:r("anchor")},{anchor:function(i){return t(this,"a","name",i)}}),JV}var r2={},n2;function Ole(){if(n2)return r2;n2=1;var e=je(),t=Lo(),r=No();return e({target:"String",proto:!0,forced:r("big")},{big:function(){return t(this,"big","","")}}),r2}var i2={},a2;function Ile(){if(a2)return i2;a2=1;var e=je(),t=Lo(),r=No();return e({target:"String",proto:!0,forced:r("blink")},{blink:function(){return t(this,"blink","","")}}),i2}var o2={},s2;function Ple(){if(s2)return o2;s2=1;var e=je(),t=Lo(),r=No();return e({target:"String",proto:!0,forced:r("bold")},{bold:function(){return t(this,"b","","")}}),o2}var u2={},l2;function kle(){if(l2)return u2;l2=1;var e=je(),t=Lo(),r=No();return e({target:"String",proto:!0,forced:r("fixed")},{fixed:function(){return t(this,"tt","","")}}),u2}var c2={},f2;function Dle(){if(f2)return c2;f2=1;var e=je(),t=Lo(),r=No();return e({target:"String",proto:!0,forced:r("fontcolor")},{fontcolor:function(i){return t(this,"font","color",i)}}),c2}var d2={},h2;function Lle(){if(h2)return d2;h2=1;var e=je(),t=Lo(),r=No();return e({target:"String",proto:!0,forced:r("fontsize")},{fontsize:function(i){return t(this,"font","size",i)}}),d2}var p2={},v2;function Nle(){if(v2)return p2;v2=1;var e=je(),t=Lo(),r=No();return e({target:"String",proto:!0,forced:r("italics")},{italics:function(){return t(this,"i","","")}}),p2}var g2={},m2;function Mle(){if(m2)return g2;m2=1;var e=je(),t=Lo(),r=No();return e({target:"String",proto:!0,forced:r("link")},{link:function(i){return t(this,"a","href",i)}}),g2}var y2={},_2;function $le(){if(_2)return y2;_2=1;var e=je(),t=Lo(),r=No();return e({target:"String",proto:!0,forced:r("small")},{small:function(){return t(this,"small","","")}}),y2}var E2={},S2;function Fle(){if(S2)return E2;S2=1;var e=je(),t=Lo(),r=No();return e({target:"String",proto:!0,forced:r("strike")},{strike:function(){return t(this,"strike","","")}}),E2}var w2={},b2;function jle(){if(b2)return w2;b2=1;var e=je(),t=Lo(),r=No();return e({target:"String",proto:!0,forced:r("sub")},{sub:function(){return t(this,"sub","","")}}),w2}var T2={},A2;function Ule(){if(A2)return T2;A2=1;var e=je(),t=Lo(),r=No();return e({target:"String",proto:!0,forced:r("sup")},{sup:function(){return t(this,"sup","","")}}),T2}var R2={},cv={exports:{}},w1,x2;function fO(){if(x2)return w1;x2=1;var e=Zt(),t=Ht(),r=Jg(),n=pn().NATIVE_ARRAY_BUFFER_VIEWS,i=e.ArrayBuffer,a=e.Int8Array;return w1=!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}),w1}var b1,C2;function TQ(){if(C2)return b1;C2=1;var e=JC(),t=RangeError;return b1=function(r,n){var i=e(r);if(i%n)throw new t("Wrong offset");return i},b1}var T1,O2;function qle(){if(O2)return T1;O2=1;var e=Math.round;return T1=function(t){var r=e(t);return r<0?0:r>255?255:r&255},T1}var A1,I2;function AQ(){if(I2)return A1;I2=1;var e=Io();return A1=function(t){var r=e(t);return r==="BigInt64Array"||r==="BigUint64Array"},A1}var R1,P2;function dO(){if(P2)return R1;P2=1;var e=Hg(),t=TypeError;return R1=function(r){var n=e(r,"number");if(typeof n=="number")throw new t("Can't convert number to bigint");return BigInt(n)},R1}var x1,k2;function RQ(){if(k2)return x1;k2=1;var e=Po(),t=gr(),r=rO(),n=Sn(),i=Wn(),a=Wf(),o=pc(),l=BC(),u=AQ(),f=pn().aTypedArrayConstructor,d=dO();return x1=function(p){var y=r(this),_=n(p),E=arguments.length,S=E>1?arguments[1]:void 0,w=S!==void 0,T=o(_),C,x,R,O,m,D,U,K;if(T&&!l(T))for(U=a(_,T),K=U.next,_=[];!(D=t(K,U)).done;)_.push(D.value);for(w&&E>2&&(S=e(S,arguments[2])),x=i(_),R=new(f(y))(x),O=u(R),C=0;x>C;C++)m=w?S(_[C],C):_[C],R[C]=O?d(m):+m;return R},x1}var D2;function Au(){if(D2)return cv.exports;D2=1;var e=je(),t=Zt(),r=gr(),n=Rr(),i=fO(),a=pn(),o=im(),l=Do(),u=Co(),f=fa(),d=tO(),h=Oo(),p=nm(),y=TQ(),_=qle(),E=ul(),S=fn(),w=Io(),T=qr(),C=uc(),x=da(),R=Ba(),O=Es(),m=cc().f,D=RQ(),U=ha().forEach,K=Yf(),B=Di(),W=si(),Y=ca(),Q=Vh(),ie=Ei(),ae=hc(),ve=ie.get,H=ie.set,J=ie.enforce,z=W.f,ue=Y.f,we=t.RangeError,ke=o.ArrayBuffer,Be=ke.prototype,nt=o.DataView,rt=a.NATIVE_ARRAY_BUFFER_VIEWS,q=a.TYPED_ARRAY_TAG,I=a.TypedArray,N=a.TypedArrayPrototype,M=a.isTypedArray,Z="BYTES_PER_ELEMENT",L="Wrong length",G=function(Ce,Me){B(Ce,Me,{configurable:!0,get:function(){return ve(this)[Me]}})},pe=function(Ce){var Me;return R(Be,Ce)||(Me=w(Ce))==="ArrayBuffer"||Me==="SharedArrayBuffer"},fe=function(Ce,Me){return M(Ce)&&!C(Me)&&Me in Ce&&d(+Me)&&Me>=0},be=function(Me,de){return de=E(de),fe(Me,de)?u(2,Me[de]):ue(Me,de)},_e=function(Me,de,me){return de=E(de),fe(Me,de)&&T(me)&&S(me,"value")&&!S(me,"get")&&!S(me,"set")&&!me.configurable&&(!S(me,"writable")||me.writable)&&(!S(me,"enumerable")||me.enumerable)?(Me[de]=me.value,Me):z(Me,de,me)};return n?(rt||(Y.f=be,W.f=_e,G(N,"buffer"),G(N,"byteOffset"),G(N,"byteLength"),G(N,"length")),e({target:"Object",stat:!0,forced:!rt},{getOwnPropertyDescriptor:be,defineProperty:_e}),cv.exports=function(Ce,Me,de){var me=Ce.match(/\d+/)[0]/8,ge=Ce+(de?"Clamped":"")+"Array",Te="get"+Ce,Pe="set"+Ce,De=t[ge],qe=De,_t=qe&&qe.prototype,Ut={},Mt=function(Et,At){var ft=ve(Et);return ft.view[Te](At*me+ft.byteOffset,!0)},Xe=function(Et,At,ft){var Ft=ve(Et);Ft.view[Pe](At*me+Ft.byteOffset,de?_(ft):ft,!0)},wt=function(Et,At){z(Et,At,{get:function(){return Mt(this,At)},set:function(ft){return Xe(this,At,ft)},enumerable:!0})};rt?i&&(qe=Me(function(Et,At,ft,Ft){return l(Et,_t),ae((function(){return T(At)?pe(At)?Ft!==void 0?new De(At,y(ft,me),Ft):ft!==void 0?new De(At,y(ft,me)):new De(At):M(At)?Q(qe,At):r(D,qe,At):new De(p(At))})(),Et,qe)}),O&&O(qe,I),U(m(De),function(Et){Et in qe||f(qe,Et,De[Et])}),qe.prototype=_t):(qe=Me(function(Et,At,ft,Ft){l(Et,_t);var Ct=0,Ae=0,Ze,ut,bt;if(!T(At))bt=p(At),ut=bt*me,Ze=new ke(ut);else if(pe(At)){Ze=At,Ae=y(ft,me);var Lt=At.byteLength;if(Ft===void 0){if(Lt%me)throw new we(L);if(ut=Lt-Ae,ut<0)throw new we(L)}else if(ut=h(Ft)*me,ut+Ae>Lt)throw new we(L);bt=ut/me}else return M(At)?Q(qe,At):r(D,qe,At);for(H(Et,{buffer:Ze,byteOffset:Ae,byteLength:ut,length:bt,view:new nt(Ze)});Ct<bt;)wt(Et,Ct++)}),O&&O(qe,I),_t=qe.prototype=x(N)),_t.constructor!==qe&&f(_t,"constructor",qe),J(_t).TypedArrayConstructor=qe,q&&f(_t,q,ge);var mt=qe!==De;Ut[ge]=qe,e({global:!0,constructor:!0,forced:mt,sham:!rt},Ut),Z in qe||f(qe,Z,me),Z in _t||f(_t,Z,me),K(ge)}):cv.exports=function(){},cv.exports}var L2;function Ble(){if(L2)return R2;L2=1;var e=Au();return e("Float32",function(t){return function(n,i,a){return t(this,n,i,a)}}),R2}var N2={},M2;function Vle(){if(M2)return N2;M2=1;var e=Au();return e("Float64",function(t){return function(n,i,a){return t(this,n,i,a)}}),N2}var $2={},F2;function Hle(){if(F2)return $2;F2=1;var e=Au();return e("Int8",function(t){return function(n,i,a){return t(this,n,i,a)}}),$2}var j2={},U2;function zle(){if(U2)return j2;U2=1;var e=Au();return e("Int16",function(t){return function(n,i,a){return t(this,n,i,a)}}),j2}var q2={},B2;function Wle(){if(B2)return q2;B2=1;var e=Au();return e("Int32",function(t){return function(n,i,a){return t(this,n,i,a)}}),q2}var V2={},H2;function Gle(){if(H2)return V2;H2=1;var e=Au();return e("Uint8",function(t){return function(n,i,a){return t(this,n,i,a)}}),V2}var z2={},W2;function Kle(){if(W2)return z2;W2=1;var e=Au();return e("Uint8",function(t){return function(n,i,a){return t(this,n,i,a)}},!0),z2}var G2={},K2;function Yle(){if(K2)return G2;K2=1;var e=Au();return e("Uint16",function(t){return function(n,i,a){return t(this,n,i,a)}}),G2}var Y2={},X2;function Xle(){if(X2)return Y2;X2=1;var e=Au();return e("Uint32",function(t){return function(n,i,a){return t(this,n,i,a)}}),Y2}var Q2={},J2;function Qle(){if(J2)return Q2;J2=1;var e=pn(),t=Wn(),r=Ri(),n=e.aTypedArray,i=e.exportTypedArrayMethod;return i("at",function(o){var l=n(this),u=t(l),f=r(o),d=f>=0?f:u+f;return d<0||d>=u?void 0:l[d]}),Q2}var Z2={},e8;function Jle(){if(e8)return Z2;e8=1;var e=Kt(),t=pn(),r=OX(),n=e(r),i=t.aTypedArray,a=t.exportTypedArrayMethod;return a("copyWithin",function(l,u){return n(i(this),l,u,arguments.length>2?arguments[2]:void 0)}),Z2}var t8={},r8;function Zle(){if(r8)return t8;r8=1;var e=pn(),t=ha().every,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("every",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),t8}var n8={},i8;function ece(){if(i8)return n8;i8=1;var e=pn(),t=VC(),r=dO(),n=Io(),i=gr(),a=Kt(),o=Ht(),l=e.aTypedArray,u=e.exportTypedArrayMethod,f=a("".slice),d=o(function(){var h=0;return new Int8Array(2).fill({valueOf:function(){return h++}}),h!==1});return u("fill",function(p){var y=arguments.length;l(this);var _=f(n(this),0,3)==="Big"?r(p):+p;return i(t,this,_,y>1?arguments[1]:void 0,y>2?arguments[2]:void 0)},d),n8}var a8={},C1,o8;function tce(){if(o8)return C1;o8=1;var e=Vh(),t=pn().getTypedArrayConstructor;return C1=function(r,n){return e(t(r),n)},C1}var s8;function rce(){if(s8)return a8;s8=1;var e=pn(),t=ha().filter,r=tce(),n=e.aTypedArray,i=e.exportTypedArrayMethod;return i("filter",function(o){var l=t(n(this),o,arguments.length>1?arguments[1]:void 0);return r(this,l)}),a8}var u8={},l8;function nce(){if(l8)return u8;l8=1;var e=pn(),t=ha().find,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("find",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),u8}var c8={},f8;function ice(){if(f8)return c8;f8=1;var e=pn(),t=ha().findIndex,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("findIndex",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),c8}var d8={},h8;function ace(){if(h8)return d8;h8=1;var e=pn(),t=Qg().findLast,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("findLast",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),d8}var p8={},v8;function oce(){if(v8)return p8;v8=1;var e=pn(),t=Qg().findLastIndex,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("findLastIndex",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),p8}var g8={},m8;function sce(){if(m8)return g8;m8=1;var e=pn(),t=ha().forEach,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("forEach",function(a){t(r(this),a,arguments.length>1?arguments[1]:void 0)}),g8}var y8={},_8;function uce(){if(_8)return y8;_8=1;var e=fO(),t=pn().exportTypedArrayStaticMethod,r=RQ();return t("from",r,e),y8}var E8={},S8;function lce(){if(S8)return E8;S8=1;var e=pn(),t=$h().includes,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("includes",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),E8}var w8={},b8;function cce(){if(b8)return w8;b8=1;var e=pn(),t=$h().indexOf,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("indexOf",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),w8}var T8={},A8;function fce(){if(A8)return T8;A8=1;var e=Zt(),t=Ht(),r=Kt(),n=pn(),i=Zg(),a=Br(),o=a("iterator"),l=e.Uint8Array,u=r(i.values),f=r(i.keys),d=r(i.entries),h=n.aTypedArray,p=n.exportTypedArrayMethod,y=l&&l.prototype,_=!t(function(){y[o].call([1])}),E=!!y&&y.values&&y[o]===y.values&&y.values.name==="values",S=function(){return u(h(this))};return p("entries",function(){return d(h(this))},_),p("keys",function(){return f(h(this))},_),p("values",S,_||!E,{name:"values"}),p(o,S,_||!E,{name:"values"}),T8}var R8={},x8;function dce(){if(x8)return R8;x8=1;var e=pn(),t=Kt(),r=e.aTypedArray,n=e.exportTypedArrayMethod,i=t([].join);return n("join",function(o){return i(r(this),o)}),R8}var C8={},O8;function hce(){if(O8)return C8;O8=1;var e=pn(),t=ko(),r=DX(),n=e.aTypedArray,i=e.exportTypedArrayMethod;return i("lastIndexOf",function(o){var l=arguments.length;return t(r,n(this),l>1?[o,arguments[1]]:[o])}),C8}var I8={},P8;function pce(){if(P8)return I8;P8=1;var e=pn(),t=ha().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(l,u){return new(n(l))(u)})}),I8}var k8={},D8;function vce(){if(D8)return k8;D8=1;var e=pn(),t=fO(),r=e.aTypedArrayConstructor,n=e.exportTypedArrayStaticMethod;return n("of",function(){for(var a=0,o=arguments.length,l=new(r(this))(o);o>a;)l[a]=arguments[a++];return l},t),k8}var L8={},N8;function gce(){if(N8)return L8;N8=1;var e=pn(),t=em().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)}),L8}var M8={},$8;function mce(){if($8)return M8;$8=1;var e=pn(),t=em().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)}),M8}var F8={},j8;function yce(){if(j8)return F8;j8=1;var e=pn(),t=e.aTypedArray,r=e.exportTypedArrayMethod,n=Math.floor;return r("reverse",function(){for(var a=this,o=t(a).length,l=n(o/2),u=0,f;u<l;)f=a[u],a[u++]=a[--o],a[o]=f;return a}),F8}var U8={},q8;function _ce(){if(q8)return U8;q8=1;var e=Zt(),t=gr(),r=pn(),n=Wn(),i=TQ(),a=Sn(),o=Ht(),l=e.RangeError,u=e.Int8Array,f=u&&u.prototype,d=f&&f.set,h=r.aTypedArray,p=r.exportTypedArrayMethod,y=!o(function(){var E=new Uint8ClampedArray(2);return t(d,E,{length:1,0:3},1),E[1]!==3}),_=y&&r.NATIVE_ARRAY_BUFFER_VIEWS&&o(function(){var E=new u(2);return E.set(1),E.set("2",1),E[0]!==0||E[1]!==2});return p("set",function(S){h(this);var w=i(arguments.length>1?arguments[1]:void 0,1),T=a(S);if(y)return t(d,this,T,w);var C=this.length,x=n(T),R=0;if(x+w>C)throw new l("Wrong length");for(;R<x;)this[w+R]=T[R++]},!y||_),U8}var B8={},V8;function Ece(){if(V8)return B8;V8=1;var e=pn(),t=Ht(),r=ns(),n=e.aTypedArray,i=e.getTypedArrayConstructor,a=e.exportTypedArrayMethod,o=t(function(){new Int8Array(1).slice()});return a("slice",function(u,f){for(var d=r(n(this),u,f),h=i(this),p=0,y=d.length,_=new h(y);y>p;)_[p]=d[p++];return _},o),B8}var H8={},z8;function Sce(){if(z8)return H8;z8=1;var e=pn(),t=ha().some,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("some",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),H8}var W8={},G8;function wce(){if(G8)return W8;G8=1;var e=Zt(),t=fc(),r=Ht(),n=cn(),i=KC(),a=pn(),o=LX(),l=NX(),u=qs(),f=YC(),d=a.aTypedArray,h=a.exportTypedArrayMethod,p=e.Uint16Array,y=p&&t(p.prototype.sort),_=!!y&&!(r(function(){y(new p(2),null)})&&r(function(){y(new p(2),{})})),E=!!y&&!r(function(){if(u)return u<74;if(o)return o<67;if(l)return!0;if(f)return f<602;var w=new p(516),T=Array(516),C,x;for(C=0;C<516;C++)x=C%4,w[C]=515-C,T[C]=C-2*x+3;for(y(w,function(R,O){return(R/4|0)-(O/4|0)}),C=0;C<516;C++)if(w[C]!==T[C])return!0}),S=function(w){return function(T,C){return w!==void 0?+w(T,C)||0:C!==C?-1:T!==T?1:T===0&&C===0?1/T>0&&1/C<0?1:-1:T>C}};return h("sort",function(T){return T!==void 0&&n(T),E?y(this,T):i(d(this),S(T))},!E||_),W8}var K8={},Y8;function bce(){if(Y8)return K8;Y8=1;var e=pn(),t=Oo(),r=Eu(),n=e.aTypedArray,i=e.getTypedArrayConstructor,a=e.exportTypedArrayMethod;return a("subarray",function(l,u){var f=n(this),d=f.length,h=r(l,d),p=i(f);return new p(f.buffer,f.byteOffset+h*f.BYTES_PER_ELEMENT,t((u===void 0?d:r(u,d))-h))}),K8}var X8={},Q8;function Tce(){if(Q8)return X8;Q8=1;var e=Zt(),t=ko(),r=pn(),n=Ht(),i=ns(),a=e.Int8Array,o=r.aTypedArray,l=r.exportTypedArrayMethod,u=[].toLocaleString,f=!!a&&n(function(){u.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 l("toLocaleString",function(){return t(u,f?i(o(this)):o(this),i(arguments))},d),X8}var J8={},Z8;function Ace(){if(Z8)return J8;Z8=1;var e=MX(),t=pn(),r=t.aTypedArray,n=t.exportTypedArrayMethod,i=t.getTypedArrayConstructor;return n("toReversed",function(){return e(r(this),i(this))}),J8}var e5={},t5;function Rce(){if(t5)return e5;t5=1;var e=pn(),t=Kt(),r=cn(),n=Vh(),i=e.aTypedArray,a=e.getTypedArrayConstructor,o=e.exportTypedArrayMethod,l=t(e.TypedArrayPrototype.sort);return o("toSorted",function(f){f!==void 0&&r(f);var d=i(this),h=n(a(d),d);return l(h,f)}),e5}var r5={},n5;function xce(){if(n5)return r5;n5=1;var e=pn().exportTypedArrayMethod,t=Ht(),r=Zt(),n=Kt(),i=r.Uint8Array,a=i&&i.prototype||{},o=[].toString,l=n([].join);t(function(){o.call({})})&&(o=function(){return l(this)});var u=a.toString!==o;return e("toString",o,u),r5}var i5={},a5;function Cce(){if(a5)return i5;a5=1;var e=FX(),t=pn(),r=AQ(),n=Ri(),i=dO(),a=t.aTypedArray,o=t.getTypedArrayConstructor,l=t.exportTypedArrayMethod,u=(function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(d){return d===8}})(),f=u&&(function(){try{new Int8Array(1).with(-.5,1)}catch{return!0}})();return l("with",function(d,h){var p=a(this),y=n(d),_=r(p)?i(h):+h;return e(p,o(p),y,_)},!u||f),i5}var o5={},O1,s5;function xQ(){if(s5)return O1;s5=1;var e=qr(),t=String,r=TypeError;return O1=function(n){if(n===void 0||e(n))return n;throw new r(t(n)+" is not an object or undefined")},O1}var I1,u5;function Sm(){if(u5)return I1;u5=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 I1={i2c:t,c2i:n(t),i2cUrl:r,c2iUrl:n(r)},I1}var P1,l5;function CQ(){if(l5)return P1;l5=1;var e=TypeError;return P1=function(t){var r=t&&t.alphabet;if(r===void 0||r==="base64"||r==="base64url")return r||"base64";throw new e("Incorrect `alphabet` option")},P1}var k1,c5;function OQ(){if(c5)return k1;c5=1;var e=Zt(),t=Kt(),r=xQ(),n=mm(),i=fn(),a=Sm(),o=CQ(),l=Hh(),u=a.c2i,f=a.c2iUrl,d=e.SyntaxError,h=e.TypeError,p=t("".charAt),y=function(S,w){for(var T=S.length;w<T;w++){var C=p(S,w);if(C!==" "&&C!==" "&&C!==`
6
+ `&&C!=="\f"&&C!=="\r")break}return w},_=function(S,w,T){var C=S.length;C<4&&(S+=C===2?"AA":"A");var x=(w[p(S,0)]<<18)+(w[p(S,1)]<<12)+(w[p(S,2)]<<6)+w[p(S,3)],R=[x>>16&255,x>>8&255,x&255];if(C===2){if(T&&R[1]!==0)throw new d("Extra bits");return[R[0]]}if(C===3){if(T&&R[2]!==0)throw new d("Extra bits");return[R[0],R[1]]}return R},E=function(S,w,T){for(var C=w.length,x=0;x<C;x++)S[T+x]=w[x];return T+C};return k1=function(S,w,T,C){n(S),r(w);var x=o(w)==="base64"?u:f,R=w?w.lastChunkHandling:void 0;if(R===void 0&&(R="loose"),R!=="loose"&&R!=="strict"&&R!=="stop-before-partial")throw new h("Incorrect `lastChunkHandling` option");T&&l(T.buffer);var O=S.length,m=T||[],D=0,U=0,K="",B=0;if(C)for(;;){if(B=y(S,B),B===O){if(K.length>0){if(R==="stop-before-partial")break;if(R==="loose"){if(K.length===1)throw new d("Malformed padding: exactly one additional character");D=E(m,_(K,x,!1),D)}else throw new d("Missing padding")}U=O;break}var W=p(S,B);if(++B,W==="="){if(K.length<2)throw new d("Padding is too early");if(B=y(S,B),K.length===2){if(B===O){if(R==="stop-before-partial")break;throw new d("Malformed padding: only one =")}p(S,B)==="="&&(++B,B=y(S,B))}if(B<O)throw new d("Unexpected character after padding");D=E(m,_(K,x,R==="strict"),D),U=O;break}if(!i(x,W))throw new d("Unexpected character");var Y=C-D;if(Y===1&&K.length===2||Y===2&&K.length===3||(K+=W,K.length===4&&(D=E(m,_(K,x,!1),D),K="",U=B,D===C)))break}return{bytes:m,read:U,written:D}},k1}var f5;function Oce(){if(f5)return o5;f5=1;var e=je(),t=Zt(),r=Vh(),n=OQ(),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(l){var u=n(l,arguments.length>1?arguments[1]:void 0,null,9007199254740991);return r(i,u.bytes)}}),o5}var d5={},D1,h5;function IQ(){if(h5)return D1;h5=1;var e=Zt(),t=Kt(),r=e.Uint8Array,n=e.SyntaxError,i=e.parseInt,a=Math.min,o=/[^\da-f]/i,l=t(o.exec),u=t("".slice);return D1=function(f,d){var h=f.length;if(h%2!==0)throw new n("String should be an even number of characters");for(var p=d?a(d.length,h/2):h/2,y=d||new r(p),_=0,E=0;E<p;){var S=u(f,_,_+=2);if(l(o,S))throw new n("String should only contain hex characters");y[E++]=i(S,16)}return{bytes:y,read:_}},D1}var p5;function Ice(){if(p5)return d5;p5=1;var e=je(),t=Zt(),r=mm(),n=IQ();return t.Uint8Array&&e({target:"Uint8Array",stat:!0},{fromHex:function(a){return n(r(a)).bytes}}),d5}var v5={},L1,g5;function wm(){if(g5)return L1;g5=1;var e=Io(),t=TypeError;return L1=function(r){if(e(r)==="Uint8Array")return r;throw new t("Argument is not an Uint8Array")},L1}var m5;function Pce(){if(m5)return v5;m5=1;var e=je(),t=Zt(),r=OQ(),n=wm(),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(l){n(this);var u=r(l,arguments.length>1?arguments[1]:void 0,this,this.length);return{read:u.read,written:u.written}}}),v5}var y5={},_5;function kce(){if(_5)return y5;_5=1;var e=je(),t=Zt(),r=mm(),n=wm(),i=Hh(),a=IQ();return t.Uint8Array&&e({target:"Uint8Array",proto:!0},{setFromHex:function(l){n(this),r(l),i(this.buffer);var u=a(l,this).read;return{read:u,written:u/2}}}),y5}var E5={},S5;function Dce(){if(S5)return E5;S5=1;var e=je(),t=Zt(),r=Kt(),n=xQ(),i=wm(),a=Hh(),o=Sm(),l=CQ(),u=o.i2c,f=o.i2cUrl,d=r("".charAt),h=t.Uint8Array,p=!h||!h.prototype.toBase64||!(function(){try{var y=new h;y.toBase64(null)}catch{return!0}})();return h&&e({target:"Uint8Array",proto:!0,forced:p},{toBase64:function(){var _=i(this),E=arguments.length?n(arguments[0]):void 0,S=l(E)==="base64"?u:f,w=!!E&&!!E.omitPadding;a(this.buffer);for(var T="",C=0,x=_.length,R,O=function(m){return d(S,R>>6*m&63)};C+2<x;C+=3)R=(_[C]<<16)+(_[C+1]<<8)+_[C+2],T+=O(3)+O(2)+O(1)+O(0);return C+2===x?(R=(_[C]<<16)+(_[C+1]<<8),T+=O(3)+O(2)+O(1)+(w?"":"=")):C+1===x&&(R=_[C]<<16,T+=O(3)+O(2)+(w?"":"==")),T}}),E5}var w5={},b5;function Lce(){if(b5)return w5;b5=1;var e=je(),t=Zt(),r=Kt(),n=wm(),i=Hh(),a=r(1.1.toString),o=t.Uint8Array,l=!o||!o.prototype.toHex||!(function(){try{var u=new o([255,255,255,255,255,255,255,255]);return u.toHex()==="ffffffffffffffff"}catch{return!1}})();return o&&e({target:"Uint8Array",proto:!0,forced:l},{toHex:function(){n(this),i(this.buffer);for(var f="",d=0,h=this.length;d<h;d++){var p=a(this[d],16);f+=p.length===1?"0"+p:p}return f}}),w5}var T5={},A5;function Nce(){if(A5)return T5;A5=1;var e=je(),t=Kt(),r=Xr(),n=String.fromCharCode,i=t("".charAt),a=t(/./.exec),o=t("".slice),l=/^[\da-f]{2}$/i,u=/^[\da-f]{4}$/i;return e({global:!0},{unescape:function(d){for(var h=r(d),p="",y=h.length,_=0,E,S;_<y;){if(E=i(h,_++),E==="%"){if(i(h,_)==="u"){if(S=o(h,_+1,_+5),a(u,S)){p+=n(parseInt(S,16)),_+=5;continue}}else if(S=o(h,_,_+2),a(l,S)){p+=n(parseInt(S,16)),_+=2;continue}}p+=E}return p}}),T5}var R5={},x5={},N1,C5;function PQ(){if(C5)return N1;C5=1;var e=Kt(),t=bu(),r=mc().getWeakData,n=Do(),i=_r(),a=_u(),o=qr(),l=Hi(),u=ha(),f=fn(),d=Ei(),h=d.set,p=d.getterFor,y=u.find,_=u.findIndex,E=e([].splice),S=0,w=function(x){return x.frozen||(x.frozen=new T)},T=function(){this.entries=[]},C=function(x,R){return y(x.entries,function(O){return O[0]===R})};return T.prototype={get:function(x){var R=C(this,x);if(R)return R[1]},has:function(x){return!!C(this,x)},set:function(x,R){var O=C(this,x);O?O[1]=R:this.entries.push([x,R])},delete:function(x){var R=_(this.entries,function(O){return O[0]===x});return~R&&E(this.entries,R,1),!!~R}},N1={getConstructor:function(x,R,O,m){var D=x(function(W,Y){n(W,U),h(W,{type:R,id:S++,frozen:null}),a(Y)||l(Y,W[m],{that:W,AS_ENTRIES:O})}),U=D.prototype,K=p(R),B=function(W,Y,Q){var ie=K(W),ae=r(i(Y),!0);return ae===!0?w(ie).set(Y,Q):ae[ie.id]=Q,W};return t(U,{delete:function(W){var Y=K(this);if(!o(W))return!1;var Q=r(W);return Q===!0?w(Y).delete(W):Q&&f(Q,Y.id)&&delete Q[Y.id]},has:function(Y){var Q=K(this);if(!o(Y))return!1;var ie=r(Y);return ie===!0?w(Q).has(Y):ie&&f(ie,Q.id)}}),t(U,O?{get:function(Y){var Q=K(this);if(o(Y)){var ie=r(Y);if(ie===!0)return w(Q).get(Y);if(ie)return ie[Q.id]}},set:function(Y,Q){return B(this,Y,Q)}}:{add:function(Y){return B(this,Y,!0)}}),D}},N1}var O5;function Mce(){if(O5)return x5;O5=1;var e=Qf(),t=Zt(),r=Kt(),n=bu(),i=mc(),a=um(),o=PQ(),l=qr(),u=Ei().enforce,f=Ht(),d=pX(),h=Object,p=Array.isArray,y=h.isExtensible,_=h.isFrozen,E=h.isSealed,S=h.freeze,w=h.seal,T=!t.ActiveXObject&&"ActiveXObject"in t,C,x=function(W){return function(){return W(this,arguments.length?arguments[0]:void 0)}},R=a("WeakMap",x,o),O=R.prototype,m=r(O.set),D=function(){return e&&f(function(){var W=S([]);return m(new R,W,1),!_(W)})};if(d)if(T){C=o.getConstructor(x,"WeakMap",!0),i.enable();var U=r(O.delete),K=r(O.has),B=r(O.get);n(O,{delete:function(W){if(l(W)&&!y(W)){var Y=u(this);return Y.frozen||(Y.frozen=new C),U(this,W)||Y.frozen.delete(W)}return U(this,W)},has:function(Y){if(l(Y)&&!y(Y)){var Q=u(this);return Q.frozen||(Q.frozen=new C),K(this,Y)||Q.frozen.has(Y)}return K(this,Y)},get:function(Y){if(l(Y)&&!y(Y)){var Q=u(this);return Q.frozen||(Q.frozen=new C),K(this,Y)?B(this,Y):Q.frozen.get(Y)}return B(this,Y)},set:function(Y,Q){if(l(Y)&&!y(Y)){var ie=u(this);ie.frozen||(ie.frozen=new C),K(this,Y)?m(this,Y,Q):ie.frozen.set(Y,Q)}else m(this,Y,Q);return this}})}else D()&&n(O,{set:function(Y,Q){var ie;return p(Y)&&(_(Y)?ie=S:E(Y)&&(ie=w)),m(this,Y,Q),ie&&ie(Y),this}});return x5}var I5;function $ce(){return I5||(I5=1,Mce()),R5}var P5={},k5={},D5;function Fce(){if(D5)return k5;D5=1;var e=um(),t=PQ();return e("WeakSet",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},t),k5}var L5;function jce(){return L5||(L5=1,Fce()),P5}var N5={},M5;function Uce(){if(M5)return N5;M5=1;var e=je(),t=Zt(),r=ln(),n=Kt(),i=gr(),a=Ht(),o=Xr(),l=is(),u=Sm().c2i,f=/[^\d+/a-z]/i,d=/[\t\n\f\r ]+/g,h=/[=]{1,2}$/,p=r("atob"),y=String.fromCharCode,_=n("".charAt),E=n("".replace),S=n(f.exec),w=!!p&&!a(function(){return p("aGk=")!=="hi"}),T=w&&a(function(){return p(" ")!==""}),C=w&&!a(function(){p("a")}),x=w&&!a(function(){p()}),R=w&&p.length!==1,O=!w||T||C||x||R;return e({global:!0,bind:!0,enumerable:!0,forced:O},{atob:function(D){if(l(arguments.length,1),w&&!T&&!C)return i(p,t,D);var U=E(o(D),d,""),K="",B=0,W=0,Y,Q,ie;if(U.length%4===0&&(U=E(U,h,"")),Y=U.length,Y%4===1||S(f,U))throw new(r("DOMException"))("The string is not correctly encoded","InvalidCharacterError");for(;B<Y;)Q=_(U,B++),ie=W%4?ie*64+u[Q]:u[Q],W++%4&&(K+=y(255&ie>>(-2*W&6)));return K}}),N5}var $5={},F5;function qce(){if(F5)return $5;F5=1;var e=je(),t=Zt(),r=ln(),n=Kt(),i=gr(),a=Ht(),o=Xr(),l=is(),u=Sm().i2c,f=r("btoa"),d=n("".charAt),h=n("".charCodeAt),p=!!f&&!a(function(){return f("hi")!=="aGk="}),y=p&&!a(function(){f()}),_=p&&a(function(){return f(null)!=="bnVsbA=="}),E=p&&f.length!==1;return e({global:!0,bind:!0,enumerable:!0,forced:!p||y||_||E},{btoa:function(w){if(l(arguments.length,1),p)return i(f,t,o(w));for(var T=o(w),C="",x=0,R=u,O,m;d(T,x)||(R="=",x%1);){if(m=h(T,x+=3/4),m>255)throw new(r("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");O=O<<8|m,C+=d(R,63&O>>8-x%1*8)}return C}}),$5}var j5={},M1,U5;function kQ(){return U5||(U5=1,M1={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}),M1}var $1,q5;function DQ(){if(q5)return $1;q5=1;var e=zg(),t=e("span").classList,r=t&&t.constructor&&t.constructor.prototype;return $1=r===Object.prototype?void 0:r,$1}var B5;function Bce(){if(B5)return j5;B5=1;var e=Zt(),t=kQ(),r=DQ(),n=PX(),i=fa(),a=function(l){if(l&&l.forEach!==n)try{i(l,"forEach",n)}catch{l.forEach=n}};for(var o in t)t[o]&&a(e[o]&&e[o].prototype);return a(r),j5}var V5={},H5;function Vce(){if(H5)return V5;H5=1;var e=Zt(),t=kQ(),r=DQ(),n=Zg(),i=fa(),a=so(),o=Br(),l=o("iterator"),u=n.values,f=function(h,p){if(h){if(h[l]!==u)try{i(h,l,u)}catch{h[l]=u}if(a(h,p,!0),t[p]){for(var y in n)if(h[y]!==n[y])try{i(h,y,n[y])}catch{h[y]=n[y]}}}};for(var d in t)f(e[d]&&e[d].prototype,d);return f(r,"DOMTokenList"),V5}var z5={},F1,W5;function LQ(){return W5||(W5=1,F1={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}}),F1}var G5;function Hce(){if(G5)return z5;G5=1;var e=je(),t=ln(),r=zX(),n=Ht(),i=da(),a=Co(),o=si().f,l=Fn(),u=Di(),f=fn(),d=Do(),h=_r(),p=CX(),y=zf(),_=LQ(),E=jC(),S=Ei(),w=Rr(),T=xn(),C="DOMException",x="DATA_CLONE_ERR",R=t("Error"),O=t(C)||(function(){try{var I=t("MessageChannel")||r("worker_threads").MessageChannel;new I().port1.postMessage(new WeakMap)}catch(N){if(N.name===x&&N.code===25)return N.constructor}})(),m=O&&O.prototype,D=R.prototype,U=S.set,K=S.getterFor(C),B="stack"in new R(C),W=function(I){return f(_,I)&&_[I].m?_[I].c:0},Y=function(){d(this,Q);var N=arguments.length,M=y(N<1?void 0:arguments[0]),Z=y(N<2?void 0:arguments[1],"Error"),L=W(Z);if(U(this,{type:C,name:Z,message:M,code:L}),w||(this.name=Z,this.message=M,this.code=L),B){var G=new R(M);G.name=C,o(this,"stack",a(1,E(G.stack,1)))}},Q=Y.prototype=i(D),ie=function(I){return{enumerable:!0,configurable:!0,get:I}},ae=function(I){return ie(function(){return K(this)[I]})};w&&(u(Q,"code",ae("code")),u(Q,"message",ae("message")),u(Q,"name",ae("name"))),o(Q,"constructor",a(1,Y));var ve=n(function(){return!(new O instanceof R)}),H=ve||n(function(){return D.toString!==p||String(new O(1,2))!=="2: 1"}),J=ve||n(function(){return new O(1,"DataCloneError").code!==25}),z=ve||O[x]!==25||m[x]!==25,ue=T?H||J||z:ve;e({global:!0,constructor:!0,forced:ue},{DOMException:ue?Y:O});var we=t(C),ke=we.prototype;H&&(T||O===we)&&l(ke,"toString",p),J&&w&&O===we&&u(ke,"code",ie(function(){return W(h(this).name)}));for(var Be in _)if(f(_,Be)){var nt=_[Be],rt=nt.s,q=a(6,nt.c);f(we,rt)||o(we,rt,q),f(ke,rt)||o(ke,rt,q)}return z5}var K5={},Y5;function zce(){if(Y5)return K5;Y5=1;var e=je(),t=Zt(),r=ln(),n=Co(),i=si().f,a=fn(),o=Do(),l=hc(),u=zf(),f=LQ(),d=jC(),h=Rr(),p=xn(),y="DOMException",_=r("Error"),E=r(y),S=function(){o(this,w);var Y=arguments.length,Q=u(Y<1?void 0:arguments[0]),ie=u(Y<2?void 0:arguments[1],"Error"),ae=new E(Q,ie),ve=new _(Q);return ve.name=y,i(ae,"stack",n(1,d(ve.stack,1))),l(ae,this,S),ae},w=S.prototype=E.prototype,T="stack"in new _(y),C="stack"in new E(1,2),x=E&&h&&Object.getOwnPropertyDescriptor(t,y),R=!!x&&!(x.writable&&x.configurable),O=T&&!R&&!C;e({global:!0,constructor:!0,forced:p||O},{DOMException:O?S:E});var m=r(y),D=m.prototype;if(D.constructor!==m){p||i(D,"constructor",n(1,m));for(var U in f)if(a(f,U)){var K=f[U],B=K.s;a(m,B)||i(m,B,n(6,K.c))}}return K5}var X5={},Q5;function Wce(){if(Q5)return X5;Q5=1;var e=ln(),t=so(),r="DOMException";return t(e(r),r),X5}var J5={},Z5={},eH;function Gce(){if(eH)return Z5;eH=1;var e=je(),t=Zt(),r=hm().clear;return e({global:!0,bind:!0,enumerable:!0,forced:t.clearImmediate!==r},{clearImmediate:r}),Z5}var tH={},j1,rH;function hO(){if(rH)return j1;rH=1;var e=Zt(),t=ko(),r=hn(),n=tm(),i=Us(),a=ns(),o=is(),l=e.Function,u=/MSIE .\./.test(i)||n==="BUN"&&(function(){var f=e.Bun.version.split(".");return f.length<3||f[0]==="0"&&(f[1]<3||f[1]==="3"&&f[2]==="0")})();return j1=function(f,d){var h=d?2:1;return u?function(p,y){var _=o(arguments.length,1)>h,E=r(p)?p:l(p),S=_?a(arguments,h):[],w=_?function(){t(E,this,S)}:E;return d?f(w,y):f(w)}:f},j1}var nH;function Kce(){if(nH)return tH;nH=1;var e=je(),t=Zt(),r=hm().set,n=hO(),i=t.setImmediate?n(r,!1):r;return e({global:!0,bind:!0,enumerable:!0,forced:t.setImmediate!==i},{setImmediate:i}),tH}var iH;function Yce(){return iH||(iH=1,Gce(),Kce()),J5}var aH={},oH;function Xce(){if(oH)return aH;oH=1;var e=je(),t=Zt(),r=cQ(),n=cn(),i=is(),a=Ht(),o=Rr(),l=a(function(){return o&&Object.getOwnPropertyDescriptor(t,"queueMicrotask").value.length!==1});return e({global:!0,enumerable:!0,dontCallGetSet:!0,forced:l},{queueMicrotask:function(f){i(arguments.length,1),r(n(f))}}),aH}var sH={},uH;function Qce(){if(uH)return sH;uH=1;var e=je(),t=Zt(),r=Di(),n=Rr(),i=TypeError,a=Object.defineProperty,o=t.self!==t;try{if(n){var l=Object.getOwnPropertyDescriptor(t,"self");(o||!l||!l.get||!l.enumerable)&&r(t,"self",{get:function(){return t},set:function(f){if(this!==t)throw new i("Illegal invocation");a(t,"self",{value:f,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else e({global:!0,simple:!0,forced:o},{self:t})}catch{}return sH}var lH={},cH;function Jce(){if(cH)return lH;cH=1;var e=xn(),t=je(),r=Zt(),n=ln(),i=Kt(),a=Ht(),o=Bf(),l=hn(),u=dc(),f=_u(),d=qr(),h=uc(),p=Hi(),y=_r(),_=Io(),E=fn(),S=Su(),w=fa(),T=Wn(),C=is(),x=yc(),R=ZX(),O=Ss(),m=td(),D=WX(),U=RX(),K=QC(),B=r.Object,W=r.Array,Y=r.Date,Q=r.Error,ie=r.TypeError,ae=r.PerformanceMark,ve=n("DOMException"),H=R.Map,J=R.has,z=R.get,ue=R.set,we=O.Set,ke=O.add,Be=O.has,nt=n("Object","keys"),rt=i([].push),q=i((!0).valueOf),I=i(1.1.valueOf),N=i("".valueOf),M=i(Y.prototype.getTime),Z=o("structuredClone"),L="DataCloneError",G="Transferring",pe=function(Xe){return!a(function(){var wt=new r.Set([7]),mt=Xe(wt),Et=Xe(B(7));return mt===wt||!mt.has(7)||!d(Et)||+Et!=7})&&Xe},fe=function(Xe,wt){return!a(function(){var mt=new wt,Et=Xe({a:mt,b:mt});return!(Et&&Et.a===Et.b&&Et.a instanceof wt&&Et.a.stack===mt.stack)})},be=function(Xe){return!a(function(){var wt=Xe(new r.AggregateError([1],Z,{cause:3}));return wt.name!=="AggregateError"||wt.errors[0]!==1||wt.message!==Z||wt.cause!==3})},_e=r.structuredClone,Ce=e||!fe(_e,Q)||!fe(_e,ve)||!be(_e),Me=!_e&&pe(function(Xe){return new ae(Z,{detail:Xe}).detail}),de=pe(_e)||Me,me=function(Xe){throw new ve("Uncloneable type: "+Xe,L)},ge=function(Xe,wt){throw new ve((wt||"Cloning")+" of "+Xe+" cannot be properly polyfilled in this engine",L)},Te=function(Xe,wt){return de||ge(wt),de(Xe)},Pe=function(){var Xe;try{Xe=new r.DataTransfer}catch{try{Xe=new r.ClipboardEvent("").clipboardData}catch{}}return Xe&&Xe.items&&Xe.files?Xe:null},De=function(Xe,wt,mt){if(J(wt,Xe))return z(wt,Xe);var Et=mt||_(Xe),At,ft,Ft,Ct,Ae,Ze;if(Et==="SharedArrayBuffer")de?At=de(Xe):At=Xe;else{var ut=r.DataView;!ut&&!l(Xe.slice)&&ge("ArrayBuffer");try{if(l(Xe.slice)&&!Xe.resizable)At=Xe.slice(0);else for(ft=Xe.byteLength,Ft=("maxByteLength"in Xe)?{maxByteLength:Xe.maxByteLength}:void 0,At=new ArrayBuffer(ft,Ft),Ct=new ut(Xe),Ae=new ut(At),Ze=0;Ze<ft;Ze++)Ae.setUint8(Ze,Ct.getUint8(Ze))}catch{throw new ve("ArrayBuffer is detached",L)}}return ue(wt,Xe,At),At},qe=function(Xe,wt,mt,Et,At){var ft=r[wt];return d(ft)||ge(wt),new ft(De(Xe.buffer,At),mt,Et)},_t=function(Xe,wt){if(h(Xe)&&me("Symbol"),!d(Xe))return Xe;if(wt){if(J(wt,Xe))return z(wt,Xe)}else wt=new H;var mt=_(Xe),Et,At,ft,Ft,Ct,Ae,Ze,ut;switch(mt){case"Array":ft=W(T(Xe));break;case"Object":ft={};break;case"Map":ft=new H;break;case"Set":ft=new we;break;case"RegExp":ft=new RegExp(Xe.source,x(Xe));break;case"Error":switch(At=Xe.name,At){case"AggregateError":ft=new(n(At))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":ft=new(n(At));break;case"CompileError":case"LinkError":case"RuntimeError":ft=new(n("WebAssembly",At));break;default:ft=new Q}break;case"DOMException":ft=new ve(Xe.message,Xe.name);break;case"ArrayBuffer":case"SharedArrayBuffer":ft=De(Xe,wt,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":Ae=mt==="DataView"?Xe.byteLength:Xe.length,ft=qe(Xe,mt,Xe.byteOffset,Ae,wt);break;case"DOMQuad":try{ft=new DOMQuad(_t(Xe.p1,wt),_t(Xe.p2,wt),_t(Xe.p3,wt),_t(Xe.p4,wt))}catch{ft=Te(Xe,mt)}break;case"File":if(de)try{ft=de(Xe),_(ft)!==mt&&(ft=void 0)}catch{}if(!ft)try{ft=new File([Xe],Xe.name,Xe)}catch{}ft||ge(mt);break;case"FileList":if(Ft=Pe(),Ft){for(Ct=0,Ae=T(Xe);Ct<Ae;Ct++)Ft.items.add(_t(Xe[Ct],wt));ft=Ft.files}else ft=Te(Xe,mt);break;case"ImageData":try{ft=new ImageData(_t(Xe.data,wt),Xe.width,Xe.height,{colorSpace:Xe.colorSpace})}catch{ft=Te(Xe,mt)}break;default:if(de)ft=de(Xe);else switch(mt){case"BigInt":ft=B(Xe.valueOf());break;case"Boolean":ft=B(q(Xe));break;case"Number":ft=B(I(Xe));break;case"String":ft=B(N(Xe));break;case"Date":ft=new Y(M(Xe));break;case"Blob":try{ft=Xe.slice(0,Xe.size,Xe.type)}catch{ge(mt)}break;case"DOMPoint":case"DOMPointReadOnly":Et=r[mt];try{ft=Et.fromPoint?Et.fromPoint(Xe):new Et(Xe.x,Xe.y,Xe.z,Xe.w)}catch{ge(mt)}break;case"DOMRect":case"DOMRectReadOnly":Et=r[mt];try{ft=Et.fromRect?Et.fromRect(Xe):new Et(Xe.x,Xe.y,Xe.width,Xe.height)}catch{ge(mt)}break;case"DOMMatrix":case"DOMMatrixReadOnly":Et=r[mt];try{ft=Et.fromMatrix?Et.fromMatrix(Xe):new Et(Xe)}catch{ge(mt)}break;case"AudioData":case"VideoFrame":l(Xe.clone)||ge(mt);try{ft=Xe.clone()}catch{me(mt)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":ge(mt);default:me(mt)}}switch(ue(wt,Xe,ft),mt){case"Array":case"Object":for(Ze=nt(Xe),Ct=0,Ae=T(Ze);Ct<Ae;Ct++)ut=Ze[Ct],S(ft,ut,_t(Xe[ut],wt));break;case"Map":Xe.forEach(function(bt,Lt){ue(ft,_t(Lt,wt),_t(bt,wt))});break;case"Set":Xe.forEach(function(bt){ke(ft,_t(bt,wt))});break;case"Error":w(ft,"message",_t(Xe.message,wt)),E(Xe,"cause")&&w(ft,"cause",_t(Xe.cause,wt)),At==="AggregateError"?ft.errors=_t(Xe.errors,wt):At==="SuppressedError"&&(ft.error=_t(Xe.error,wt),ft.suppressed=_t(Xe.suppressed,wt));case"DOMException":U&&w(ft,"stack",_t(Xe.stack,wt))}return ft},Ut=function(Xe,wt){if(!d(Xe))throw new ie("Transfer option cannot be converted to a sequence");var mt=[];p(Xe,function(Lt){rt(mt,y(Lt))});for(var Et=0,At=T(mt),ft=new we,Ft,Ct,Ae,Ze,ut,bt;Et<At;){if(Ft=mt[Et++],Ct=_(Ft),Ct==="ArrayBuffer"?Be(ft,Ft):J(wt,Ft))throw new ve("Duplicate transferable",L);if(Ct==="ArrayBuffer"){ke(ft,Ft);continue}if(K)Ze=_e(Ft,{transfer:[Ft]});else switch(Ct){case"ImageBitmap":Ae=r.OffscreenCanvas,u(Ae)||ge(Ct,G);try{ut=new Ae(Ft.width,Ft.height),bt=ut.getContext("bitmaprenderer"),bt.transferFromImageBitmap(Ft),Ze=ut.transferToImageBitmap()}catch{}break;case"AudioData":case"VideoFrame":(!l(Ft.clone)||!l(Ft.close))&&ge(Ct,G);try{Ze=Ft.clone(),Ft.close()}catch{}break;case"MediaSourceHandle":case"MessagePort":case"MIDIAccess":case"OffscreenCanvas":case"ReadableStream":case"RTCDataChannel":case"TransformStream":case"WebTransportReceiveStream":case"WebTransportSendStream":case"WritableStream":ge(Ct,G)}if(Ze===void 0)throw new ve("This object cannot be transferred: "+Ct,L);ue(wt,Ft,Ze)}return ft},Mt=function(Xe){m(Xe,function(wt){K?de(wt,{transfer:[wt]}):l(wt.transfer)?wt.transfer():D?D(wt):ge("ArrayBuffer",G)})};return t({global:!0,enumerable:!0,sham:!K,forced:Ce},{structuredClone:function(wt){var mt=C(arguments.length,1)>1&&!f(arguments[1])?y(arguments[1]):void 0,Et=mt?mt.transfer:void 0,At,ft;Et!==void 0&&(At=new H,ft=Ut(Et,At));var Ft=_t(wt,At);return ft&&Mt(ft),Ft}}),lH}var fH={},dH={},hH;function Zce(){if(hH)return dH;hH=1;var e=je(),t=Zt(),r=hO(),n=r(t.setInterval,!0);return e({global:!0,bind:!0,forced:t.setInterval!==n},{setInterval:n}),dH}var pH={},vH;function efe(){if(vH)return pH;vH=1;var e=je(),t=Zt(),r=hO(),n=r(t.setTimeout,!0);return e({global:!0,bind:!0,forced:t.setTimeout!==n},{setTimeout:n}),pH}var gH;function tfe(){return gH||(gH=1,Zce(),efe()),fH}var mH={},yH={},U1,_H;function bm(){if(_H)return U1;_H=1;var e=Ht(),t=Br(),r=Rr(),n=xn(),i=t("iterator");return U1=!e(function(){var a=new URL("b?a=1&b=2&c=3","https://a"),o=a.searchParams,l=new URLSearchParams("a=1&a=2&b=3"),u="";return a.pathname="c%20d",o.forEach(function(f,d){o.delete("b"),u+=d+f}),l.delete("a",2),l.delete("b",void 0),n&&(!a.toJSON||!l.has("a",1)||l.has("a",2)||!l.has("a",void 0)||l.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"||u!=="a1c3"||new URL("https://x",void 0).host!=="x"}),U1}var q1,EH;function rfe(){if(EH)return q1;EH=1;var e=Kt(),t=2147483647,r=36,n=1,i=26,a=38,o=700,l=72,u=128,f="-",d=/[^\0-\u007E]/,h=/[.\u3002\uFF0E\uFF61]/g,p="Overflow: input needs wider integers to process",y=r-n,_=RangeError,E=e(h.exec),S=Math.floor,w=String.fromCharCode,T=e("".charCodeAt),C=e([].join),x=e([].push),R=e("".replace),O=e("".split),m=e("".toLowerCase),D=function(W){for(var Y=[],Q=0,ie=W.length;Q<ie;){var ae=T(W,Q++);if(ae>=55296&&ae<=56319&&Q<ie){var ve=T(W,Q++);(ve&64512)===56320?x(Y,((ae&1023)<<10)+(ve&1023)+65536):(x(Y,ae),Q--)}else x(Y,ae)}return Y},U=function(W){return W+22+75*(W<26)},K=function(W,Y,Q){var ie=0;for(W=Q?S(W/o):W>>1,W+=S(W/Y);W>y*i>>1;)W=S(W/y),ie+=r;return S(ie+(y+1)*W/(W+a))},B=function(W){var Y=[];W=D(W);var Q=W.length,ie=u,ae=0,ve=l,H,J;for(H=0;H<W.length;H++)J=W[H],J<128&&x(Y,w(J));var z=Y.length,ue=z;for(z&&x(Y,f);ue<Q;){var we=t;for(H=0;H<W.length;H++)J=W[H],J>=ie&&J<we&&(we=J);var ke=ue+1;if(we-ie>S((t-ae)/ke))throw new _(p);for(ae+=(we-ie)*ke,ie=we,H=0;H<W.length;H++){if(J=W[H],J<ie&&++ae>t)throw new _(p);if(J===ie){for(var Be=ae,nt=r;;){var rt=nt<=ve?n:nt>=ve+i?i:nt-ve;if(Be<rt)break;var q=Be-rt,I=r-rt;x(Y,w(U(rt+q%I))),Be=S(q/I),nt+=r}x(Y,w(U(Be))),ve=K(ae,ke,ue===z),ae=0,ue++}}ae++,ie++}return C(Y,"")};return q1=function(W){var Y=[],Q=O(R(m(W),h,"."),"."),ie,ae;for(ie=0;ie<Q.length;ie++)ae=Q[ie],x(Y,E(d,ae)?"xn--"+B(ae):ae);return C(Y,".")},q1}var B1,SH;function NQ(){if(SH)return B1;SH=1,Zg(),yQ();var e=je(),t=Zt(),r=uQ(),n=ln(),i=gr(),a=Kt(),o=Rr(),l=bm(),u=Fn(),f=Di(),d=bu(),h=so(),p=zC(),y=Ei(),_=Do(),E=hn(),S=fn(),w=Po(),T=Io(),C=_r(),x=qr(),R=Xr(),O=da(),m=Co(),D=Wf(),U=pc(),K=gc(),B=is(),W=Br(),Y=KC(),Q=W("iterator"),ie="URLSearchParams",ae=ie+"Iterator",ve=y.set,H=y.getterFor(ie),J=y.getterFor(ae),z=r("fetch"),ue=r("Request"),we=r("Headers"),ke=ue&&ue.prototype,Be=we&&we.prototype,nt=t.TypeError,rt=t.encodeURIComponent,q=String.fromCharCode,I=n("String","fromCodePoint"),N=parseInt,M=a("".charAt),Z=a([].join),L=a([].push),G=a("".replace),pe=a([].shift),fe=a([].splice),be=a("".split),_e=a("".slice),Ce=a(/./.exec),Me=/\+/g,de="�",me=/^[0-9a-f]+$/i,ge=function(Ae,Ze){var ut=_e(Ae,Ze,Ze+2);return Ce(me,ut)?N(ut,16):NaN},Te=function(Ae){for(var Ze=0,ut=128;ut>0&&(Ae&ut)!==0;ut>>=1)Ze++;return Ze},Pe=function(Ae){var Ze=null;switch(Ae.length){case 1:Ze=Ae[0];break;case 2:Ze=(Ae[0]&31)<<6|Ae[1]&63;break;case 3:Ze=(Ae[0]&15)<<12|(Ae[1]&63)<<6|Ae[2]&63;break;case 4:Ze=(Ae[0]&7)<<18|(Ae[1]&63)<<12|(Ae[2]&63)<<6|Ae[3]&63;break}return Ze>1114111?null:Ze},De=function(Ae){Ae=G(Ae,Me," ");for(var Ze=Ae.length,ut="",bt=0;bt<Ze;){var Lt=M(Ae,bt);if(Lt==="%"){if(M(Ae,bt+1)==="%"||bt+3>Ze){ut+="%",bt++;continue}var tr=ge(Ae,bt+1);if(tr!==tr){ut+=Lt,bt++;continue}bt+=2;var pr=Te(tr);if(pr===0)Lt=q(tr);else{if(pr===1||pr>4){ut+=de,bt++;continue}for(var ar=[tr],dr=1;dr<pr&&(bt++,!(bt+3>Ze||M(Ae,bt)!=="%"));){var xr=ge(Ae,bt+1);if(xr!==xr){bt+=3;break}if(xr>191||xr<128)break;L(ar,xr),bt+=2,dr++}if(ar.length!==pr){ut+=de;continue}var en=Pe(ar);en===null?ut+=de:Lt=I(en)}}ut+=Lt,bt++}return ut},qe=/[!'()~]|%20/g,_t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Ut=function(Ae){return _t[Ae]},Mt=function(Ae){return G(rt(Ae),qe,Ut)},Xe=p(function(Ze,ut){ve(this,{type:ae,target:H(Ze).entries,index:0,kind:ut})},ie,function(){var Ze=J(this),ut=Ze.target,bt=Ze.index++;if(!ut||bt>=ut.length)return Ze.target=null,K(void 0,!0);var Lt=ut[bt];switch(Ze.kind){case"keys":return K(Lt.key,!1);case"values":return K(Lt.value,!1)}return K([Lt.key,Lt.value],!1)},!0),wt=function(Ae){this.entries=[],this.url=null,Ae!==void 0&&(x(Ae)?this.parseObject(Ae):this.parseQuery(typeof Ae=="string"?M(Ae,0)==="?"?_e(Ae,1):Ae:R(Ae)))};wt.prototype={type:ie,bindURL:function(Ae){this.url=Ae,this.update()},parseObject:function(Ae){var Ze=this.entries,ut=U(Ae),bt,Lt,tr,pr,ar,dr,xr;if(ut)for(bt=D(Ae,ut),Lt=bt.next;!(tr=i(Lt,bt)).done;){if(pr=D(C(tr.value)),ar=pr.next,(dr=i(ar,pr)).done||(xr=i(ar,pr)).done||!i(ar,pr).done)throw new nt("Expected sequence with length 2");L(Ze,{key:R(dr.value),value:R(xr.value)})}else for(var en in Ae)S(Ae,en)&&L(Ze,{key:en,value:R(Ae[en])})},parseQuery:function(Ae){if(Ae)for(var Ze=this.entries,ut=be(Ae,"&"),bt=0,Lt,tr;bt<ut.length;)Lt=ut[bt++],Lt.length&&(tr=be(Lt,"="),L(Ze,{key:De(pe(tr)),value:De(Z(tr,"="))}))},serialize:function(){for(var Ae=this.entries,Ze=[],ut=0,bt;ut<Ae.length;)bt=Ae[ut++],L(Ze,Mt(bt.key)+"="+Mt(bt.value));return Z(Ze,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var mt=function(){_(this,Et);var Ze=arguments.length>0?arguments[0]:void 0,ut=ve(this,new wt(Ze));o||(this.size=ut.entries.length)},Et=mt.prototype;if(d(Et,{append:function(Ze,ut){var bt=H(this);B(arguments.length,2),L(bt.entries,{key:R(Ze),value:R(ut)}),o||this.length++,bt.updateURL()},delete:function(Ae){for(var Ze=H(this),ut=B(arguments.length,1),bt=Ze.entries,Lt=R(Ae),tr=ut<2?void 0:arguments[1],pr=tr===void 0?tr:R(tr),ar=0;ar<bt.length;){var dr=bt[ar];if(dr.key===Lt&&(pr===void 0||dr.value===pr)){if(fe(bt,ar,1),pr!==void 0)break}else ar++}o||(this.size=bt.length),Ze.updateURL()},get:function(Ze){var ut=H(this).entries;B(arguments.length,1);for(var bt=R(Ze),Lt=0;Lt<ut.length;Lt++)if(ut[Lt].key===bt)return ut[Lt].value;return null},getAll:function(Ze){var ut=H(this).entries;B(arguments.length,1);for(var bt=R(Ze),Lt=[],tr=0;tr<ut.length;tr++)ut[tr].key===bt&&L(Lt,ut[tr].value);return Lt},has:function(Ze){for(var ut=H(this).entries,bt=B(arguments.length,1),Lt=R(Ze),tr=bt<2?void 0:arguments[1],pr=tr===void 0?tr:R(tr),ar=0;ar<ut.length;){var dr=ut[ar++];if(dr.key===Lt&&(pr===void 0||dr.value===pr))return!0}return!1},set:function(Ze,ut){var bt=H(this);B(arguments.length,1);for(var Lt=bt.entries,tr=!1,pr=R(Ze),ar=R(ut),dr=0,xr;dr<Lt.length;dr++)xr=Lt[dr],xr.key===pr&&(tr?fe(Lt,dr--,1):(tr=!0,xr.value=ar));tr||L(Lt,{key:pr,value:ar}),o||(this.size=Lt.length),bt.updateURL()},sort:function(){var Ze=H(this);Y(Ze.entries,function(ut,bt){return ut.key>bt.key?1:-1}),Ze.updateURL()},forEach:function(Ze){for(var ut=H(this).entries,bt=w(Ze,arguments.length>1?arguments[1]:void 0),Lt=0,tr;Lt<ut.length;)tr=ut[Lt++],bt(tr.value,tr.key,this)},keys:function(){return new Xe(this,"keys")},values:function(){return new Xe(this,"values")},entries:function(){return new Xe(this,"entries")}},{enumerable:!0}),u(Et,Q,Et.entries,{name:"entries"}),u(Et,"toString",function(){return H(this).serialize()},{enumerable:!0}),o&&f(Et,"size",{get:function(){return H(this).entries.length},configurable:!0,enumerable:!0}),h(mt,ie),e({global:!0,constructor:!0,forced:!l},{URLSearchParams:mt}),!l&&E(we)){var At=a(Be.has),ft=a(Be.set),Ft=function(Ae){if(x(Ae)){var Ze=Ae.body,ut;if(T(Ze)===ie)return ut=Ae.headers?new we(Ae.headers):new we,At(ut,"content-type")||ft(ut,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),O(Ae,{body:m(0,R(Ze)),headers:m(0,ut)})}return Ae};if(E(z)&&e({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(Ze){return z(Ze,arguments.length>1?Ft(arguments[1]):{})}}),E(ue)){var Ct=function(Ze){return _(this,ke),new ue(Ze,arguments.length>1?Ft(arguments[1]):{})};ke.constructor=Ct,Ct.prototype=ke,e({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Ct})}}return B1={URLSearchParams:mt,getState:H},B1}var wH;function nfe(){if(wH)return yH;wH=1,_Q();var e=je(),t=Rr(),r=bm(),n=Zt(),i=Po(),a=Kt(),o=Fn(),l=Di(),u=Do(),f=fn(),d=iQ(),h=kX(),p=ns(),y=ym().codeAt,_=rfe(),E=Xr(),S=so(),w=is(),T=NQ(),C=Ei(),x=C.set,R=C.getterFor("URL"),O=T.URLSearchParams,m=T.getState,D=n.URL,U=n.TypeError,K=n.parseInt,B=Math.floor,W=Math.pow,Y=a("".charAt),Q=a(/./.exec),ie=a([].join),ae=a(1.1.toString),ve=a([].pop),H=a([].push),J=a("".replace),z=a([].shift),ue=a("".split),we=a("".slice),ke=a("".toLowerCase),Be=a([].unshift),nt="Invalid authority",rt="Invalid scheme",q="Invalid host",I="Invalid port",N=/[a-z]/i,M=/[\d+-.a-z]/i,Z=/\d/,L=/^0x/i,G=/^[0-7]+$/,pe=/^\d+$/,fe=/^[\da-f]+$/i,be=/[\0\t\n\r #%/:<>?@[\\\]^|]/,_e=/[\0\t\n\r #/:<>?@[\\\]^|]/,Ce=/^[\u0000-\u0020]+/,Me=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,de=/[\t\n\r]/g,me,ge=function(it){var $t=ue(it,"."),vt,Ge,xt,fr,ye,lt,tt;if($t.length&&$t[$t.length-1]===""&&$t.length--,vt=$t.length,vt>4)return it;for(Ge=[],xt=0;xt<vt;xt++){if(fr=$t[xt],fr==="")return it;if(ye=10,fr.length>1&&Y(fr,0)==="0"&&(ye=Q(L,fr)?16:8,fr=we(fr,ye===8?1:2)),fr==="")lt=0;else{if(!Q(ye===10?pe:ye===8?G:fe,fr))return it;lt=K(fr,ye)}H(Ge,lt)}for(xt=0;xt<vt;xt++)if(lt=Ge[xt],xt===vt-1){if(lt>=W(256,5-vt))return null}else if(lt>255)return null;for(tt=ve(Ge),xt=0;xt<Ge.length;xt++)tt+=Ge[xt]*W(256,3-xt);return tt},Te=function(it){var $t=[0,0,0,0,0,0,0,0],vt=0,Ge=null,xt=0,fr,ye,lt,tt,ct,kt,dt,Gt=function(){return Y(it,xt)};if(Gt()===":"){if(Y(it,1)!==":")return;xt+=2,vt++,Ge=vt}for(;Gt();){if(vt===8)return;if(Gt()===":"){if(Ge!==null)return;xt++,vt++,Ge=vt;continue}for(fr=ye=0;ye<4&&Q(fe,Gt());)fr=fr*16+K(Gt(),16),xt++,ye++;if(Gt()==="."){if(ye===0||(xt-=ye,vt>6))return;for(lt=0;Gt();){if(tt=null,lt>0)if(Gt()==="."&&lt<4)xt++;else return;if(!Q(Z,Gt()))return;for(;Q(Z,Gt());){if(ct=K(Gt(),10),tt===null)tt=ct;else{if(tt===0)return;tt=tt*10+ct}if(tt>255)return;xt++}$t[vt]=$t[vt]*256+tt,lt++,(lt===2||lt===4)&&vt++}if(lt!==4)return;break}else if(Gt()===":"){if(xt++,!Gt())return}else if(Gt())return;$t[vt++]=fr}if(Ge!==null)for(kt=vt-Ge,vt=7;vt!==0&&kt>0;)dt=$t[vt],$t[vt--]=$t[Ge+kt-1],$t[Ge+--kt]=dt;else if(vt!==8)return;return $t},Pe=function(it){for(var $t=null,vt=1,Ge=null,xt=0,fr=0;fr<8;fr++)it[fr]!==0?(xt>vt&&($t=Ge,vt=xt),Ge=null,xt=0):(Ge===null&&(Ge=fr),++xt);return xt>vt?Ge:$t},De=function(it){var $t,vt,Ge,xt;if(typeof it=="number"){for($t=[],vt=0;vt<4;vt++)Be($t,it%256),it=B(it/256);return ie($t,".")}if(typeof it=="object"){for($t="",Ge=Pe(it),vt=0;vt<8;vt++)xt&&it[vt]===0||(xt&&(xt=!1),Ge===vt?($t+=vt?":":"::",xt=!0):($t+=ae(it[vt],16),vt<7&&($t+=":")));return"["+$t+"]"}return it},qe={},_t=d({},qe,{" ":1,'"':1,"<":1,">":1,"`":1}),Ut=d({},_t,{"#":1,"?":1,"{":1,"}":1}),Mt=d({},Ut,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Xe=function(it,$t){var vt=y(it,0);return vt>32&&vt<127&&!f($t,it)?it:encodeURIComponent(it)},wt={ftp:21,file:null,http:80,https:443,ws:80,wss:443},mt=function(it,$t){var vt;return it.length===2&&Q(N,Y(it,0))&&((vt=Y(it,1))===":"||!$t&&vt==="|")},Et=function(it){var $t;return it.length>1&&mt(we(it,0,2))&&(it.length===2||($t=Y(it,2))==="/"||$t==="\\"||$t==="?"||$t==="#")},At=function(it){return it==="."||ke(it)==="%2e"},ft=function(it){return it=ke(it),it===".."||it==="%2e."||it===".%2e"||it==="%2e%2e"},Ft={},Ct={},Ae={},Ze={},ut={},bt={},Lt={},tr={},pr={},ar={},dr={},xr={},en={},Qn={},wn={},vn={},dn={},jn={},Un={},ui={},ti={},Si=function(it,$t,vt){var Ge=E(it),xt,fr,ye;if($t){if(fr=this.parse(Ge),fr)throw new U(fr);this.searchParams=null}else{if(vt!==void 0&&(xt=new Si(vt,!0)),fr=this.parse(Ge,null,xt),fr)throw new U(fr);ye=m(new O),ye.bindURL(this),this.searchParams=ye}};Si.prototype={type:"URL",parse:function(it,$t,vt){var Ge=this,xt=$t||Ft,fr=0,ye="",lt=!1,tt=!1,ct=!1,kt,dt,Gt,Cr;for(it=E(it),$t||(Ge.scheme="",Ge.username="",Ge.password="",Ge.host=null,Ge.port=null,Ge.path=[],Ge.query=null,Ge.fragment=null,Ge.cannotBeABaseURL=!1,it=J(it,Ce,""),it=J(it,Me,"$1")),it=J(it,de,""),kt=h(it);fr<=kt.length;){switch(dt=kt[fr],xt){case Ft:if(dt&&Q(N,dt))ye+=ke(dt),xt=Ct;else{if($t)return rt;xt=Ae;continue}break;case Ct:if(dt&&(Q(M,dt)||dt==="+"||dt==="-"||dt==="."))ye+=ke(dt);else if(dt===":"){if($t&&(Ge.isSpecial()!==f(wt,ye)||ye==="file"&&(Ge.includesCredentials()||Ge.port!==null)||Ge.scheme==="file"&&!Ge.host))return;if(Ge.scheme=ye,$t){Ge.isSpecial()&&wt[Ge.scheme]===Ge.port&&(Ge.port=null);return}ye="",Ge.scheme==="file"?xt=Qn:Ge.isSpecial()&&vt&&vt.scheme===Ge.scheme?xt=Ze:Ge.isSpecial()?xt=tr:kt[fr+1]==="/"?(xt=ut,fr++):(Ge.cannotBeABaseURL=!0,H(Ge.path,""),xt=Un)}else{if($t)return rt;ye="",xt=Ae,fr=0;continue}break;case Ae:if(!vt||vt.cannotBeABaseURL&&dt!=="#")return rt;if(vt.cannotBeABaseURL&&dt==="#"){Ge.scheme=vt.scheme,Ge.path=p(vt.path),Ge.query=vt.query,Ge.fragment="",Ge.cannotBeABaseURL=!0,xt=ti;break}xt=vt.scheme==="file"?Qn:bt;continue;case Ze:if(dt==="/"&&kt[fr+1]==="/")xt=pr,fr++;else{xt=bt;continue}break;case ut:if(dt==="/"){xt=ar;break}else{xt=jn;continue}case bt:if(Ge.scheme=vt.scheme,dt===me)Ge.username=vt.username,Ge.password=vt.password,Ge.host=vt.host,Ge.port=vt.port,Ge.path=p(vt.path),Ge.query=vt.query;else if(dt==="/"||dt==="\\"&&Ge.isSpecial())xt=Lt;else if(dt==="?")Ge.username=vt.username,Ge.password=vt.password,Ge.host=vt.host,Ge.port=vt.port,Ge.path=p(vt.path),Ge.query="",xt=ui;else if(dt==="#")Ge.username=vt.username,Ge.password=vt.password,Ge.host=vt.host,Ge.port=vt.port,Ge.path=p(vt.path),Ge.query=vt.query,Ge.fragment="",xt=ti;else{Ge.username=vt.username,Ge.password=vt.password,Ge.host=vt.host,Ge.port=vt.port,Ge.path=p(vt.path),Ge.path.length--,xt=jn;continue}break;case Lt:if(Ge.isSpecial()&&(dt==="/"||dt==="\\"))xt=pr;else if(dt==="/")xt=ar;else{Ge.username=vt.username,Ge.password=vt.password,Ge.host=vt.host,Ge.port=vt.port,xt=jn;continue}break;case tr:if(xt=pr,dt!=="/"||Y(ye,fr+1)!=="/")continue;fr++;break;case pr:if(dt!=="/"&&dt!=="\\"){xt=ar;continue}break;case ar:if(dt==="@"){lt&&(ye="%40"+ye),lt=!0,Gt=h(ye);for(var Wr=0;Wr<Gt.length;Wr++){var Kr=Gt[Wr];if(Kr===":"&&!ct){ct=!0;continue}var an=Xe(Kr,Mt);ct?Ge.password+=an:Ge.username+=an}ye=""}else if(dt===me||dt==="/"||dt==="?"||dt==="#"||dt==="\\"&&Ge.isSpecial()){if(lt&&ye==="")return nt;fr-=h(ye).length+1,ye="",xt=dr}else ye+=dt;break;case dr:case xr:if($t&&Ge.scheme==="file"){xt=vn;continue}else if(dt===":"&&!tt){if(ye==="")return q;if(Cr=Ge.parseHost(ye),Cr)return Cr;if(ye="",xt=en,$t===xr)return}else if(dt===me||dt==="/"||dt==="?"||dt==="#"||dt==="\\"&&Ge.isSpecial()){if(Ge.isSpecial()&&ye==="")return q;if($t&&ye===""&&(Ge.includesCredentials()||Ge.port!==null))return;if(Cr=Ge.parseHost(ye),Cr)return Cr;if(ye="",xt=dn,$t)return;continue}else dt==="["?tt=!0:dt==="]"&&(tt=!1),ye+=dt;break;case en:if(Q(Z,dt))ye+=dt;else if(dt===me||dt==="/"||dt==="?"||dt==="#"||dt==="\\"&&Ge.isSpecial()||$t){if(ye!==""){var Nt=K(ye,10);if(Nt>65535)return I;Ge.port=Ge.isSpecial()&&Nt===wt[Ge.scheme]?null:Nt,ye=""}if($t)return;xt=dn;continue}else return I;break;case Qn:if(Ge.scheme="file",dt==="/"||dt==="\\")xt=wn;else if(vt&&vt.scheme==="file")switch(dt){case me:Ge.host=vt.host,Ge.path=p(vt.path),Ge.query=vt.query;break;case"?":Ge.host=vt.host,Ge.path=p(vt.path),Ge.query="",xt=ui;break;case"#":Ge.host=vt.host,Ge.path=p(vt.path),Ge.query=vt.query,Ge.fragment="",xt=ti;break;default:Et(ie(p(kt,fr),""))||(Ge.host=vt.host,Ge.path=p(vt.path),Ge.shortenPath()),xt=jn;continue}else{xt=jn;continue}break;case wn:if(dt==="/"||dt==="\\"){xt=vn;break}vt&&vt.scheme==="file"&&!Et(ie(p(kt,fr),""))&&(mt(vt.path[0],!0)?H(Ge.path,vt.path[0]):Ge.host=vt.host),xt=jn;continue;case vn:if(dt===me||dt==="/"||dt==="\\"||dt==="?"||dt==="#"){if(!$t&&mt(ye))xt=jn;else if(ye===""){if(Ge.host="",$t)return;xt=dn}else{if(Cr=Ge.parseHost(ye),Cr)return Cr;if(Ge.host==="localhost"&&(Ge.host=""),$t)return;ye="",xt=dn}continue}else ye+=dt;break;case dn:if(Ge.isSpecial()){if(xt=jn,dt!=="/"&&dt!=="\\")continue}else if(!$t&&dt==="?")Ge.query="",xt=ui;else if(!$t&&dt==="#")Ge.fragment="",xt=ti;else if(dt!==me&&(xt=jn,dt!=="/"))continue;break;case jn:if(dt===me||dt==="/"||dt==="\\"&&Ge.isSpecial()||!$t&&(dt==="?"||dt==="#")){if(ft(ye)?(Ge.shortenPath(),dt!=="/"&&!(dt==="\\"&&Ge.isSpecial())&&H(Ge.path,"")):At(ye)?dt!=="/"&&!(dt==="\\"&&Ge.isSpecial())&&H(Ge.path,""):(Ge.scheme==="file"&&!Ge.path.length&&mt(ye)&&(Ge.host&&(Ge.host=""),ye=Y(ye,0)+":"),H(Ge.path,ye)),ye="",Ge.scheme==="file"&&(dt===me||dt==="?"||dt==="#"))for(;Ge.path.length>1&&Ge.path[0]==="";)z(Ge.path);dt==="?"?(Ge.query="",xt=ui):dt==="#"&&(Ge.fragment="",xt=ti)}else ye+=Xe(dt,Ut);break;case Un:dt==="?"?(Ge.query="",xt=ui):dt==="#"?(Ge.fragment="",xt=ti):dt!==me&&(Ge.path[0]+=Xe(dt,qe));break;case ui:!$t&&dt==="#"?(Ge.fragment="",xt=ti):dt!==me&&(dt==="'"&&Ge.isSpecial()?Ge.query+="%27":dt==="#"?Ge.query+="%23":Ge.query+=Xe(dt,qe));break;case ti:dt!==me&&(Ge.fragment+=Xe(dt,_t));break}fr++}},parseHost:function(it){var $t,vt,Ge;if(Y(it,0)==="["){if(Y(it,it.length-1)!=="]"||($t=Te(we(it,1,-1)),!$t))return q;this.host=$t}else if(this.isSpecial()){if(it=_(it),Q(be,it)||($t=ge(it),$t===null))return q;this.host=$t}else{if(Q(_e,it))return q;for($t="",vt=h(it),Ge=0;Ge<vt.length;Ge++)$t+=Xe(vt[Ge],qe);this.host=$t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||this.scheme==="file"},includesCredentials:function(){return this.username!==""||this.password!==""},isSpecial:function(){return f(wt,this.scheme)},shortenPath:function(){var it=this.path,$t=it.length;$t&&(this.scheme!=="file"||$t!==1||!mt(it[0],!0))&&it.length--},serialize:function(){var it=this,$t=it.scheme,vt=it.username,Ge=it.password,xt=it.host,fr=it.port,ye=it.path,lt=it.query,tt=it.fragment,ct=$t+":";return xt!==null?(ct+="//",it.includesCredentials()&&(ct+=vt+(Ge?":"+Ge:"")+"@"),ct+=De(xt),fr!==null&&(ct+=":"+fr)):$t==="file"&&(ct+="//"),ct+=it.cannotBeABaseURL?ye[0]:ye.length?"/"+ie(ye,"/"):"",lt!==null&&(ct+="?"+lt),tt!==null&&(ct+="#"+tt),ct},setHref:function(it){var $t=this.parse(it);if($t)throw new U($t);this.searchParams.update()},getOrigin:function(){var it=this.scheme,$t=this.port;if(it==="blob")try{return new xi(it.path[0]).origin}catch{return"null"}return it==="file"||!this.isSpecial()?"null":it+"://"+De(this.host)+($t!==null?":"+$t:"")},getProtocol:function(){return this.scheme+":"},setProtocol:function(it){this.parse(E(it)+":",Ft)},getUsername:function(){return this.username},setUsername:function(it){var $t=h(E(it));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var vt=0;vt<$t.length;vt++)this.username+=Xe($t[vt],Mt)}},getPassword:function(){return this.password},setPassword:function(it){var $t=h(E(it));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var vt=0;vt<$t.length;vt++)this.password+=Xe($t[vt],Mt)}},getHost:function(){var it=this.host,$t=this.port;return it===null?"":$t===null?De(it):De(it)+":"+$t},setHost:function(it){this.cannotBeABaseURL||this.parse(it,dr)},getHostname:function(){var it=this.host;return it===null?"":De(it)},setHostname:function(it){this.cannotBeABaseURL||this.parse(it,xr)},getPort:function(){var it=this.port;return it===null?"":E(it)},setPort:function(it){this.cannotHaveUsernamePasswordPort()||(it=E(it),it===""?this.port=null:this.parse(it,en))},getPathname:function(){var it=this.path;return this.cannotBeABaseURL?it[0]:it.length?"/"+ie(it,"/"):""},setPathname:function(it){this.cannotBeABaseURL||(this.path=[],this.parse(it,dn))},getSearch:function(){var it=this.query;return it?"?"+it:""},setSearch:function(it){it=E(it),it===""?this.query=null:(Y(it,0)==="?"&&(it=we(it,1)),this.query="",this.parse(it,ui)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var it=this.fragment;return it?"#"+it:""},setHash:function(it){if(it=E(it),it===""){this.fragment=null;return}Y(it,0)==="#"&&(it=we(it,1)),this.fragment="",this.parse(it,ti)},update:function(){this.query=this.searchParams.serialize()||null}};var xi=function($t){var vt=u(this,bn),Ge=w(arguments.length,1)>1?arguments[1]:void 0,xt=x(vt,new Si($t,!1,Ge));t||(vt.href=xt.serialize(),vt.origin=xt.getOrigin(),vt.protocol=xt.getProtocol(),vt.username=xt.getUsername(),vt.password=xt.getPassword(),vt.host=xt.getHost(),vt.hostname=xt.getHostname(),vt.port=xt.getPort(),vt.pathname=xt.getPathname(),vt.search=xt.getSearch(),vt.searchParams=xt.getSearchParams(),vt.hash=xt.getHash())},bn=xi.prototype,Gn=function(it,$t){return{get:function(){return R(this)[it]()},set:$t&&function(vt){return R(this)[$t](vt)},configurable:!0,enumerable:!0}};if(t&&(l(bn,"href",Gn("serialize","setHref")),l(bn,"origin",Gn("getOrigin")),l(bn,"protocol",Gn("getProtocol","setProtocol")),l(bn,"username",Gn("getUsername","setUsername")),l(bn,"password",Gn("getPassword","setPassword")),l(bn,"host",Gn("getHost","setHost")),l(bn,"hostname",Gn("getHostname","setHostname")),l(bn,"port",Gn("getPort","setPort")),l(bn,"pathname",Gn("getPathname","setPathname")),l(bn,"search",Gn("getSearch","setSearch")),l(bn,"searchParams",Gn("getSearchParams")),l(bn,"hash",Gn("getHash","setHash"))),o(bn,"toJSON",function(){return R(this).serialize()},{enumerable:!0}),o(bn,"toString",function(){return R(this).serialize()},{enumerable:!0}),D){var di=D.createObjectURL,li=D.revokeObjectURL;di&&o(xi,"createObjectURL",i(di,D)),li&&o(xi,"revokeObjectURL",i(li,D))}return S(xi,"URL"),e({global:!0,constructor:!0,forced:!r,sham:!t},{URL:xi}),yH}var bH;function ife(){return bH||(bH=1,nfe()),mH}var TH={},AH;function afe(){if(AH)return TH;AH=1;var e=je(),t=ln(),r=Ht(),n=is(),i=Xr(),a=bm(),o=t("URL"),l=a&&r(function(){o.canParse()}),u=r(function(){return o.canParse.length!==1});return e({target:"URL",stat:!0,forced:!l||u},{canParse:function(d){var h=n(arguments.length,1),p=i(d),y=h<2||arguments[1]===void 0?void 0:i(arguments[1]);try{return!!new o(p,y)}catch{return!1}}}),TH}var RH={},xH;function ofe(){if(xH)return RH;xH=1;var e=je(),t=ln(),r=is(),n=Xr(),i=bm(),a=t("URL");return e({target:"URL",stat:!0,forced:!i},{parse:function(l){var u=r(arguments.length,1),f=n(l),d=u<2||arguments[1]===void 0?void 0:n(arguments[1]);try{return new a(f,d)}catch{return null}}}),RH}var CH={},OH;function sfe(){if(OH)return CH;OH=1;var e=je(),t=gr();return e({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return t(URL.prototype.toString,this)}}),CH}var IH={},PH;function ufe(){return PH||(PH=1,NQ()),IH}var kH={},DH;function lfe(){if(DH)return kH;DH=1;var e=Fn(),t=Kt(),r=Xr(),n=is(),i=URLSearchParams,a=i.prototype,o=t(a.append),l=t(a.delete),u=t(a.forEach),f=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 p=arguments.length,y=p<2?void 0:arguments[1];if(p&&y===void 0)return l(this,h);var _=[];u(this,function(O,m){f(_,{key:m,value:O})}),n(p,1);for(var E=r(h),S=r(y),w=0,T=0,C=!1,x=_.length,R;w<x;)R=_[w++],C||R.key===E?(C=!0,l(this,R.key)):T++;for(;T<x;)R=_[T++],R.key===E&&R.value===S||o(this,R.key,R.value)},{enumerable:!0,unsafe:!0}),kH}var LH={},NH;function cfe(){if(NH)return LH;NH=1;var e=Fn(),t=Kt(),r=Xr(),n=is(),i=URLSearchParams,a=i.prototype,o=t(a.getAll),l=t(a.has),u=new i("a=1");return(u.has("a",2)||!u.has("a",void 0))&&e(a,"has",function(d){var h=arguments.length,p=h<2?void 0:arguments[1];if(h&&p===void 0)return l(this,d);var y=o(this,d);n(h,1);for(var _=r(p),E=0;E<y.length;)if(y[E++]===_)return!0;return!1},{enumerable:!0,unsafe:!0}),LH}var MH={},$H;function ffe(){if($H)return MH;$H=1;var e=Rr(),t=Kt(),r=Di(),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}),MH}var V1,FH;function dfe(){return FH||(FH=1,Vie(),Hie(),zie(),Wie(),Gie(),Kie(),Yie(),Xie(),Qie(),Jie(),Zie(),eae(),tae(),rae(),nae(),iae(),aae(),oae(),sae(),uae(),cae(),fae(),dae(),hae(),pae(),vae(),gae(),mae(),yae(),_ae(),Eae(),Sae(),wae(),bae(),Tae(),Aae(),Rae(),xae(),Cae(),Oae(),Zg(),Iae(),Pae(),kae(),Dae(),Lae(),Nae(),Mae(),$ae(),Fae(),jae(),Uae(),qae(),Bae(),Vae(),Hae(),zae(),Wae(),Gae(),Kae(),Yae(),Qae(),Jae(),Zae(),toe(),roe(),ioe(),aoe(),ooe(),soe(),uoe(),loe(),coe(),foe(),hoe(),poe(),goe(),moe(),yoe(),_oe(),Eoe(),Soe(),woe(),boe(),Toe(),Aoe(),xoe(),Coe(),Ooe(),Ioe(),Poe(),koe(),Doe(),Loe(),Noe(),Moe(),$oe(),Foe(),SX(),joe(),qoe(),Boe(),Voe(),Hoe(),zoe(),Woe(),Goe(),Koe(),Yoe(),Xoe(),Qoe(),Joe(),Zoe(),ese(),tse(),rse(),nse(),ise(),ase(),ose(),sse(),use(),lse(),cse(),dse(),hse(),pse(),vse(),gse(),mse(),yse(),_se(),Ese(),Sse(),wse(),bse(),Tse(),Ase(),Rse(),xse(),Cse(),Ose(),Ise(),Pse(),kse(),Dse(),Lse(),Nse(),Mse(),$se(),Fse(),jse(),Use(),qse(),Bse(),Vse(),Hse(),zse(),Wse(),Gse(),Kse(),Xse(),Qse(),Jse(),Zse(),lue(),cue(),fue(),due(),hue(),pue(),_ue(),Eue(),Sue(),wue(),bue(),Tue(),Aue(),Rue(),xue(),Cue(),Oue(),Iue(),Pue(),kue(),Due(),Lue(),Nue(),Mue(),$ue(),Fue(),oO(),jue(),Uue(),que(),Bue(),Hue(),Wue(),Kue(),Xue(),Jue(),ele(),rle(),ile(),ale(),ole(),sle(),yQ(),ule(),lle(),_Q(),cle(),fle(),dle(),hle(),ple(),vle(),gle(),mle(),yle(),_le(),Ele(),Sle(),wle(),ble(),Ale(),xle(),Cle(),Ole(),Ile(),Ple(),kle(),Dle(),Lle(),Nle(),Mle(),$le(),Fle(),jle(),Ule(),Ble(),Vle(),Hle(),zle(),Wle(),Gle(),Kle(),Yle(),Xle(),Qle(),Jle(),Zle(),ece(),rce(),nce(),ice(),ace(),oce(),sce(),uce(),lce(),cce(),fce(),dce(),hce(),pce(),vce(),gce(),mce(),yce(),_ce(),Ece(),Sce(),wce(),bce(),Tce(),Ace(),Rce(),xce(),Cce(),Oce(),Ice(),Pce(),kce(),Dce(),Lce(),Nce(),$ce(),jce(),Uce(),qce(),Bce(),Vce(),Hce(),zce(),Wce(),Yce(),Xce(),Qce(),Jce(),tfe(),ife(),afe(),ofe(),sfe(),ufe(),lfe(),cfe(),ffe(),V1=Kg()),V1}dfe();var ja="top",bo="bottom",To="right",Ua="left",Tm="auto",rd=[ja,bo,To,Ua],tc="start",If="end",MQ="clippingParents",pO="viewport",gf="popper",$Q="reference",xx=rd.reduce(function(e,t){return e.concat([t+"-"+tc,t+"-"+If])},[]),vO=[].concat(rd,[Tm]).reduce(function(e,t){return e.concat([t,t+"-"+tc,t+"-"+If])},[]),FQ="beforeRead",jQ="read",UQ="afterRead",qQ="beforeMain",BQ="main",VQ="afterMain",HQ="beforeWrite",zQ="write",WQ="afterWrite",GQ=[FQ,jQ,UQ,qQ,BQ,VQ,HQ,zQ,WQ];function Fs(e){return e?(e.nodeName||"").toLowerCase():null}function Ao(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function rc(e){var t=Ao(e).Element;return e instanceof t||e instanceof Element}function Zo(e){var t=Ao(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function gO(e){if(typeof ShadowRoot>"u")return!1;var t=Ao(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function hfe(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];!Zo(a)||!Fs(a)||(Object.assign(a.style,n),Object.keys(i).forEach(function(o){var l=i[o];l===!1?a.removeAttribute(o):a.setAttribute(o,l===!0?"":l)}))})}function pfe(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]),l=o.reduce(function(u,f){return u[f]="",u},{});!Zo(i)||!Fs(i)||(Object.assign(i.style,l),Object.keys(a).forEach(function(u){i.removeAttribute(u)}))})}}const mO={name:"applyStyles",enabled:!0,phase:"write",fn:hfe,effect:pfe,requires:["computeStyles"]};function Ns(e){return e.split("-")[0]}var Yl=Math.max,cg=Math.min,Pf=Math.round;function Cx(){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 KQ(){return!/^((?!chrome|android).)*safari/i.test(Cx())}function kf(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),i=1,a=1;t&&Zo(e)&&(i=e.offsetWidth>0&&Pf(n.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Pf(n.height)/e.offsetHeight||1);var o=rc(e)?Ao(e):window,l=o.visualViewport,u=!KQ()&&r,f=(n.left+(u&&l?l.offsetLeft:0))/i,d=(n.top+(u&&l?l.offsetTop:0))/a,h=n.width/i,p=n.height/a;return{width:h,height:p,top:d,right:f+h,bottom:d+p,left:f,x:f,y:d}}function yO(e){var t=kf(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 YQ(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&gO(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function mu(e){return Ao(e).getComputedStyle(e)}function vfe(e){return["table","td","th"].indexOf(Fs(e))>=0}function cl(e){return((rc(e)?e.ownerDocument:e.document)||window.document).documentElement}function Am(e){return Fs(e)==="html"?e:e.assignedSlot||e.parentNode||(gO(e)?e.host:null)||cl(e)}function jH(e){return!Zo(e)||mu(e).position==="fixed"?null:e.offsetParent}function gfe(e){var t=/firefox/i.test(Cx()),r=/Trident/i.test(Cx());if(r&&Zo(e)){var n=mu(e);if(n.position==="fixed")return null}var i=Am(e);for(gO(i)&&(i=i.host);Zo(i)&&["html","body"].indexOf(Fs(i))<0;){var a=mu(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 Yh(e){for(var t=Ao(e),r=jH(e);r&&vfe(r)&&mu(r).position==="static";)r=jH(r);return r&&(Fs(r)==="html"||Fs(r)==="body"&&mu(r).position==="static")?t:r||gfe(e)||t}function _O(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ah(e,t,r){return Yl(e,cg(t,r))}function mfe(e,t,r){var n=ah(e,t,r);return n>r?r:n}function XQ(){return{top:0,right:0,bottom:0,left:0}}function QQ(e){return Object.assign({},XQ(),e)}function JQ(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var yfe=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,QQ(typeof t!="number"?t:JQ(t,rd))};function _fe(e){var t,r=e.state,n=e.name,i=e.options,a=r.elements.arrow,o=r.modifiersData.popperOffsets,l=Ns(r.placement),u=_O(l),f=[Ua,To].indexOf(l)>=0,d=f?"height":"width";if(!(!a||!o)){var h=yfe(i.padding,r),p=yO(a),y=u==="y"?ja:Ua,_=u==="y"?bo:To,E=r.rects.reference[d]+r.rects.reference[u]-o[u]-r.rects.popper[d],S=o[u]-r.rects.reference[u],w=Yh(a),T=w?u==="y"?w.clientHeight||0:w.clientWidth||0:0,C=E/2-S/2,x=h[y],R=T-p[d]-h[_],O=T/2-p[d]/2+C,m=ah(x,O,R),D=u;r.modifiersData[n]=(t={},t[D]=m,t.centerOffset=m-O,t)}}function Efe(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)||YQ(t.elements.popper,i)&&(t.elements.arrow=i))}const EO={name:"arrow",enabled:!0,phase:"main",fn:_fe,effect:Efe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Df(e){return e.split("-")[1]}var Sfe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function wfe(e,t){var r=e.x,n=e.y,i=t.devicePixelRatio||1;return{x:Pf(r*i)/i||0,y:Pf(n*i)/i||0}}function UH(e){var t,r=e.popper,n=e.popperRect,i=e.placement,a=e.variation,o=e.offsets,l=e.position,u=e.gpuAcceleration,f=e.adaptive,d=e.roundOffsets,h=e.isFixed,p=o.x,y=p===void 0?0:p,_=o.y,E=_===void 0?0:_,S=typeof d=="function"?d({x:y,y:E}):{x:y,y:E};y=S.x,E=S.y;var w=o.hasOwnProperty("x"),T=o.hasOwnProperty("y"),C=Ua,x=ja,R=window;if(f){var O=Yh(r),m="clientHeight",D="clientWidth";if(O===Ao(r)&&(O=cl(r),mu(O).position!=="static"&&l==="absolute"&&(m="scrollHeight",D="scrollWidth")),O=O,i===ja||(i===Ua||i===To)&&a===If){x=bo;var U=h&&O===R&&R.visualViewport?R.visualViewport.height:O[m];E-=U-n.height,E*=u?1:-1}if(i===Ua||(i===ja||i===bo)&&a===If){C=To;var K=h&&O===R&&R.visualViewport?R.visualViewport.width:O[D];y-=K-n.width,y*=u?1:-1}}var B=Object.assign({position:l},f&&Sfe),W=d===!0?wfe({x:y,y:E},Ao(r)):{x:y,y:E};if(y=W.x,E=W.y,u){var Y;return Object.assign({},B,(Y={},Y[x]=T?"0":"",Y[C]=w?"0":"",Y.transform=(R.devicePixelRatio||1)<=1?"translate("+y+"px, "+E+"px)":"translate3d("+y+"px, "+E+"px, 0)",Y))}return Object.assign({},B,(t={},t[x]=T?E+"px":"",t[C]=w?y+"px":"",t.transform="",t))}function bfe(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,l=r.roundOffsets,u=l===void 0?!0:l,f={placement:Ns(t.placement),variation:Df(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,UH(Object.assign({},f,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,UH(Object.assign({},f,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Rm={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:bfe,data:{}};var fv={passive:!0};function Tfe(e){var t=e.state,r=e.instance,n=e.options,i=n.scroll,a=i===void 0?!0:i,o=n.resize,l=o===void 0?!0:o,u=Ao(t.elements.popper),f=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&f.forEach(function(d){d.addEventListener("scroll",r.update,fv)}),l&&u.addEventListener("resize",r.update,fv),function(){a&&f.forEach(function(d){d.removeEventListener("scroll",r.update,fv)}),l&&u.removeEventListener("resize",r.update,fv)}}const xm={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Tfe,data:{}};var Afe={left:"right",right:"left",bottom:"top",top:"bottom"};function Uv(e){return e.replace(/left|right|bottom|top/g,function(t){return Afe[t]})}var Rfe={start:"end",end:"start"};function qH(e){return e.replace(/start|end/g,function(t){return Rfe[t]})}function SO(e){var t=Ao(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function wO(e){return kf(cl(e)).left+SO(e).scrollLeft}function xfe(e,t){var r=Ao(e),n=cl(e),i=r.visualViewport,a=n.clientWidth,o=n.clientHeight,l=0,u=0;if(i){a=i.width,o=i.height;var f=KQ();(f||!f&&t==="fixed")&&(l=i.offsetLeft,u=i.offsetTop)}return{width:a,height:o,x:l+wO(e),y:u}}function Cfe(e){var t,r=cl(e),n=SO(e),i=(t=e.ownerDocument)==null?void 0:t.body,a=Yl(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=Yl(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),l=-n.scrollLeft+wO(e),u=-n.scrollTop;return mu(i||r).direction==="rtl"&&(l+=Yl(r.clientWidth,i?i.clientWidth:0)-a),{width:a,height:o,x:l,y:u}}function bO(e){var t=mu(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function ZQ(e){return["html","body","#document"].indexOf(Fs(e))>=0?e.ownerDocument.body:Zo(e)&&bO(e)?e:ZQ(Am(e))}function oh(e,t){var r;t===void 0&&(t=[]);var n=ZQ(e),i=n===((r=e.ownerDocument)==null?void 0:r.body),a=Ao(n),o=i?[a].concat(a.visualViewport||[],bO(n)?n:[]):n,l=t.concat(o);return i?l:l.concat(oh(Am(o)))}function Ox(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ofe(e,t){var r=kf(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 BH(e,t,r){return t===pO?Ox(xfe(e,r)):rc(t)?Ofe(t,r):Ox(Cfe(cl(e)))}function Ife(e){var t=oh(Am(e)),r=["absolute","fixed"].indexOf(mu(e).position)>=0,n=r&&Zo(e)?Yh(e):e;return rc(n)?t.filter(function(i){return rc(i)&&YQ(i,n)&&Fs(i)!=="body"}):[]}function Pfe(e,t,r,n){var i=t==="clippingParents"?Ife(e):[].concat(t),a=[].concat(i,[r]),o=a[0],l=a.reduce(function(u,f){var d=BH(e,f,n);return u.top=Yl(d.top,u.top),u.right=cg(d.right,u.right),u.bottom=cg(d.bottom,u.bottom),u.left=Yl(d.left,u.left),u},BH(e,o,n));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function eJ(e){var t=e.reference,r=e.element,n=e.placement,i=n?Ns(n):null,a=n?Df(n):null,o=t.x+t.width/2-r.width/2,l=t.y+t.height/2-r.height/2,u;switch(i){case ja:u={x:o,y:t.y-r.height};break;case bo:u={x:o,y:t.y+t.height};break;case To:u={x:t.x+t.width,y:l};break;case Ua:u={x:t.x-r.width,y:l};break;default:u={x:t.x,y:t.y}}var f=i?_O(i):null;if(f!=null){var d=f==="y"?"height":"width";switch(a){case tc:u[f]=u[f]-(t[d]/2-r[d]/2);break;case If:u[f]=u[f]+(t[d]/2-r[d]/2);break}}return u}function Lf(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,l=r.boundary,u=l===void 0?MQ:l,f=r.rootBoundary,d=f===void 0?pO:f,h=r.elementContext,p=h===void 0?gf:h,y=r.altBoundary,_=y===void 0?!1:y,E=r.padding,S=E===void 0?0:E,w=QQ(typeof S!="number"?S:JQ(S,rd)),T=p===gf?$Q:gf,C=e.rects.popper,x=e.elements[_?T:p],R=Pfe(rc(x)?x:x.contextElement||cl(e.elements.popper),u,d,o),O=kf(e.elements.reference),m=eJ({reference:O,element:C,placement:i}),D=Ox(Object.assign({},C,m)),U=p===gf?D:O,K={top:R.top-U.top+w.top,bottom:U.bottom-R.bottom+w.bottom,left:R.left-U.left+w.left,right:U.right-R.right+w.right},B=e.modifiersData.offset;if(p===gf&&B){var W=B[i];Object.keys(K).forEach(function(Y){var Q=[To,bo].indexOf(Y)>=0?1:-1,ie=[ja,bo].indexOf(Y)>=0?"y":"x";K[Y]+=W[ie]*Q})}return K}function kfe(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=r.boundary,a=r.rootBoundary,o=r.padding,l=r.flipVariations,u=r.allowedAutoPlacements,f=u===void 0?vO:u,d=Df(n),h=d?l?xx:xx.filter(function(_){return Df(_)===d}):rd,p=h.filter(function(_){return f.indexOf(_)>=0});p.length===0&&(p=h);var y=p.reduce(function(_,E){return _[E]=Lf(e,{placement:E,boundary:i,rootBoundary:a,padding:o})[Ns(E)],_},{});return Object.keys(y).sort(function(_,E){return y[_]-y[E]})}function Dfe(e){if(Ns(e)===Tm)return[];var t=Uv(e);return[qH(e),t,qH(t)]}function Lfe(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,l=o===void 0?!0:o,u=r.fallbackPlacements,f=r.padding,d=r.boundary,h=r.rootBoundary,p=r.altBoundary,y=r.flipVariations,_=y===void 0?!0:y,E=r.allowedAutoPlacements,S=t.options.placement,w=Ns(S),T=w===S,C=u||(T||!_?[Uv(S)]:Dfe(S)),x=[S].concat(C).reduce(function(Be,nt){return Be.concat(Ns(nt)===Tm?kfe(t,{placement:nt,boundary:d,rootBoundary:h,padding:f,flipVariations:_,allowedAutoPlacements:E}):nt)},[]),R=t.rects.reference,O=t.rects.popper,m=new Map,D=!0,U=x[0],K=0;K<x.length;K++){var B=x[K],W=Ns(B),Y=Df(B)===tc,Q=[ja,bo].indexOf(W)>=0,ie=Q?"width":"height",ae=Lf(t,{placement:B,boundary:d,rootBoundary:h,altBoundary:p,padding:f}),ve=Q?Y?To:Ua:Y?bo:ja;R[ie]>O[ie]&&(ve=Uv(ve));var H=Uv(ve),J=[];if(a&&J.push(ae[W]<=0),l&&J.push(ae[ve]<=0,ae[H]<=0),J.every(function(Be){return Be})){U=B,D=!1;break}m.set(B,J)}if(D)for(var z=_?3:1,ue=function(nt){var rt=x.find(function(q){var I=m.get(q);if(I)return I.slice(0,nt).every(function(N){return N})});if(rt)return U=rt,"break"},we=z;we>0;we--){var ke=ue(we);if(ke==="break")break}t.placement!==U&&(t.modifiersData[n]._skip=!0,t.placement=U,t.reset=!0)}}const TO={name:"flip",enabled:!0,phase:"main",fn:Lfe,requiresIfExists:["offset"],data:{_skip:!1}};function VH(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 HH(e){return[ja,To,bo,Ua].some(function(t){return e[t]>=0})}function Nfe(e){var t=e.state,r=e.name,n=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,o=Lf(t,{elementContext:"reference"}),l=Lf(t,{altBoundary:!0}),u=VH(o,n),f=VH(l,i,a),d=HH(u),h=HH(f);t.modifiersData[r]={referenceClippingOffsets:u,popperEscapeOffsets:f,isReferenceHidden:d,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":h})}const AO={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Nfe};function Mfe(e,t,r){var n=Ns(e),i=[Ua,ja].indexOf(n)>=0?-1:1,a=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,o=a[0],l=a[1];return o=o||0,l=(l||0)*i,[Ua,To].indexOf(n)>=0?{x:l,y:o}:{x:o,y:l}}function $fe(e){var t=e.state,r=e.options,n=e.name,i=r.offset,a=i===void 0?[0,0]:i,o=vO.reduce(function(d,h){return d[h]=Mfe(h,t.rects,a),d},{}),l=o[t.placement],u=l.x,f=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=f),t.modifiersData[n]=o}const RO={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:$fe};function Ffe(e){var t=e.state,r=e.name;t.modifiersData[r]=eJ({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const Cm={name:"popperOffsets",enabled:!0,phase:"read",fn:Ffe,data:{}};function jfe(e){return e==="x"?"y":"x"}function Ufe(e){var t=e.state,r=e.options,n=e.name,i=r.mainAxis,a=i===void 0?!0:i,o=r.altAxis,l=o===void 0?!1:o,u=r.boundary,f=r.rootBoundary,d=r.altBoundary,h=r.padding,p=r.tether,y=p===void 0?!0:p,_=r.tetherOffset,E=_===void 0?0:_,S=Lf(t,{boundary:u,rootBoundary:f,padding:h,altBoundary:d}),w=Ns(t.placement),T=Df(t.placement),C=!T,x=_O(w),R=jfe(x),O=t.modifiersData.popperOffsets,m=t.rects.reference,D=t.rects.popper,U=typeof E=="function"?E(Object.assign({},t.rects,{placement:t.placement})):E,K=typeof U=="number"?{mainAxis:U,altAxis:U}:Object.assign({mainAxis:0,altAxis:0},U),B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,W={x:0,y:0};if(O){if(a){var Y,Q=x==="y"?ja:Ua,ie=x==="y"?bo:To,ae=x==="y"?"height":"width",ve=O[x],H=ve+S[Q],J=ve-S[ie],z=y?-D[ae]/2:0,ue=T===tc?m[ae]:D[ae],we=T===tc?-D[ae]:-m[ae],ke=t.elements.arrow,Be=y&&ke?yO(ke):{width:0,height:0},nt=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:XQ(),rt=nt[Q],q=nt[ie],I=ah(0,m[ae],Be[ae]),N=C?m[ae]/2-z-I-rt-K.mainAxis:ue-I-rt-K.mainAxis,M=C?-m[ae]/2+z+I+q+K.mainAxis:we+I+q+K.mainAxis,Z=t.elements.arrow&&Yh(t.elements.arrow),L=Z?x==="y"?Z.clientTop||0:Z.clientLeft||0:0,G=(Y=B==null?void 0:B[x])!=null?Y:0,pe=ve+N-G-L,fe=ve+M-G,be=ah(y?cg(H,pe):H,ve,y?Yl(J,fe):J);O[x]=be,W[x]=be-ve}if(l){var _e,Ce=x==="x"?ja:Ua,Me=x==="x"?bo:To,de=O[R],me=R==="y"?"height":"width",ge=de+S[Ce],Te=de-S[Me],Pe=[ja,Ua].indexOf(w)!==-1,De=(_e=B==null?void 0:B[R])!=null?_e:0,qe=Pe?ge:de-m[me]-D[me]-De+K.altAxis,_t=Pe?de+m[me]+D[me]-De-K.altAxis:Te,Ut=y&&Pe?mfe(qe,de,_t):ah(y?qe:ge,de,y?_t:Te);O[R]=Ut,W[R]=Ut-de}t.modifiersData[n]=W}}const xO={name:"preventOverflow",enabled:!0,phase:"main",fn:Ufe,requiresIfExists:["offset"]};function qfe(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Bfe(e){return e===Ao(e)||!Zo(e)?SO(e):qfe(e)}function Vfe(e){var t=e.getBoundingClientRect(),r=Pf(t.width)/e.offsetWidth||1,n=Pf(t.height)/e.offsetHeight||1;return r!==1||n!==1}function Hfe(e,t,r){r===void 0&&(r=!1);var n=Zo(t),i=Zo(t)&&Vfe(t),a=cl(t),o=kf(e,i,r),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(n||!n&&!r)&&((Fs(t)!=="body"||bO(a))&&(l=Bfe(t)),Zo(t)?(u=kf(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=wO(a))),{x:o.left+l.scrollLeft-u.x,y:o.top+l.scrollTop-u.y,width:o.width,height:o.height}}function zfe(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(l){if(!r.has(l)){var u=t.get(l);u&&i(u)}}),n.push(a)}return e.forEach(function(a){r.has(a.name)||i(a)}),n}function Wfe(e){var t=zfe(e);return GQ.reduce(function(r,n){return r.concat(t.filter(function(i){return i.phase===n}))},[])}function Gfe(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Kfe(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 zH={placement:"bottom",modifiers:[],strategy:"absolute"};function WH(){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 Xh(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,i=t.defaultOptions,a=i===void 0?zH:i;return function(l,u,f){f===void 0&&(f=a);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},zH,a),modifiersData:{},elements:{reference:l,popper:u},attributes:{},styles:{}},h=[],p=!1,y={state:d,setOptions:function(w){var T=typeof w=="function"?w(d.options):w;E(),d.options=Object.assign({},a,d.options,T),d.scrollParents={reference:rc(l)?oh(l):l.contextElement?oh(l.contextElement):[],popper:oh(u)};var C=Wfe(Kfe([].concat(n,d.options.modifiers)));return d.orderedModifiers=C.filter(function(x){return x.enabled}),_(),y.update()},forceUpdate:function(){if(!p){var w=d.elements,T=w.reference,C=w.popper;if(WH(T,C)){d.rects={reference:Hfe(T,Yh(C),d.options.strategy==="fixed"),popper:yO(C)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(K){return d.modifiersData[K.name]=Object.assign({},K.data)});for(var x=0;x<d.orderedModifiers.length;x++){if(d.reset===!0){d.reset=!1,x=-1;continue}var R=d.orderedModifiers[x],O=R.fn,m=R.options,D=m===void 0?{}:m,U=R.name;typeof O=="function"&&(d=O({state:d,options:D,name:U,instance:y})||d)}}}},update:Gfe(function(){return new Promise(function(S){y.forceUpdate(),S(d)})}),destroy:function(){E(),p=!0}};if(!WH(l,u))return y;y.setOptions(f).then(function(S){!p&&f.onFirstUpdate&&f.onFirstUpdate(S)});function _(){d.orderedModifiers.forEach(function(S){var w=S.name,T=S.options,C=T===void 0?{}:T,x=S.effect;if(typeof x=="function"){var R=x({state:d,name:w,instance:y,options:C}),O=function(){};h.push(R||O)}})}function E(){h.forEach(function(S){return S()}),h=[]}return y}}var Yfe=Xh(),Xfe=[xm,Cm,Rm,mO],Qfe=Xh({defaultModifiers:Xfe}),Jfe=[xm,Cm,Rm,mO,RO,TO,xO,EO,AO],CO=Xh({defaultModifiers:Jfe});const tJ=Object.freeze(Object.defineProperty({__proto__:null,afterMain:VQ,afterRead:UQ,afterWrite:WQ,applyStyles:mO,arrow:EO,auto:Tm,basePlacements:rd,beforeMain:qQ,beforeRead:FQ,beforeWrite:HQ,bottom:bo,clippingParents:MQ,computeStyles:Rm,createPopper:CO,createPopperBase:Yfe,createPopperLite:Qfe,detectOverflow:Lf,end:If,eventListeners:xm,flip:TO,hide:AO,left:Ua,main:BQ,modifierPhases:GQ,offset:RO,placements:vO,popper:gf,popperGenerator:Xh,popperOffsets:Cm,preventOverflow:xO,read:jQ,reference:$Q,right:To,start:tc,top:ja,variationPlacements:xx,viewport:pO,write:zQ},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 Vu=new Map,H1={set(e,t,r){Vu.has(e)||Vu.set(e,new Map);const n=Vu.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 Vu.has(e)&&Vu.get(e).get(t)||null},remove(e,t){if(!Vu.has(e))return;const r=Vu.get(e);r.delete(t),r.size===0&&Vu.delete(e)}},Zfe=1e6,ede=1e3,Ix="transitionend",rJ=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(t,r)=>`#${CSS.escape(r)}`)),e),tde=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),rde=e=>{do e+=Math.floor(Math.random()*Zfe);while(document.getElementById(e));return e},nde=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))*ede)},nJ=e=>{e.dispatchEvent(new Event(Ix))},hu=e=>!e||typeof e!="object"?!1:(typeof e.jquery<"u"&&(e=e[0]),typeof e.nodeType<"u"),tl=e=>hu(e)?e.jquery?e[0]:e:typeof e=="string"&&e.length>0?document.querySelector(rJ(e)):null,nd=e=>{if(!hu(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},rl=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",iJ=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?iJ(e.parentNode):null},fg=()=>{},Qh=e=>{e.offsetHeight},aJ=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,z1=[],ide=e=>{document.readyState==="loading"?(z1.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of z1)t()}),z1.push(e)):e()},es=()=>document.documentElement.dir==="rtl",as=e=>{ide(()=>{const t=aJ();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,oJ=(e,t,r=!0)=>{if(!r){no(e);return}const i=nde(t)+5;let a=!1;const o=({target:l})=>{l===t&&(a=!0,t.removeEventListener(Ix,o),no(e))};t.addEventListener(Ix,o),setTimeout(()=>{a||nJ(t)},i)},OO=(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))])},ade=/[^.]*(?=\..*)\.|.*/,ode=/\..*/,sde=/::\d+$/,W1={};let GH=1;const sJ={mouseenter:"mouseover",mouseleave:"mouseout"},ude=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 uJ(e,t){return t&&`${t}::${GH++}`||e.uidEvent||GH++}function lJ(e){const t=uJ(e);return e.uidEvent=t,W1[t]=W1[t]||{},W1[t]}function lde(e,t){return function r(n){return IO(n,{delegateTarget:e}),r.oneOff&&Vt.off(e,n.type,t),t.apply(e,[n])}}function cde(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 l of a)if(l===o)return IO(i,{delegateTarget:o}),n.oneOff&&Vt.off(e,i.type,t,r),r.apply(o,[i])}}function cJ(e,t,r=null){return Object.values(e).find(n=>n.callable===t&&n.delegationSelector===r)}function fJ(e,t,r){const n=typeof t=="string",i=n?r:t||r;let a=dJ(e);return ude.has(a)||(a=e),[n,i,a]}function KH(e,t,r,n,i){if(typeof t!="string"||!e)return;let[a,o,l]=fJ(t,r,n);t in sJ&&(o=(_=>function(E){if(!E.relatedTarget||E.relatedTarget!==E.delegateTarget&&!E.delegateTarget.contains(E.relatedTarget))return _.call(this,E)})(o));const u=lJ(e),f=u[l]||(u[l]={}),d=cJ(f,o,a?r:null);if(d){d.oneOff=d.oneOff&&i;return}const h=uJ(o,t.replace(ade,"")),p=a?cde(e,r,o):lde(e,o);p.delegationSelector=a?r:null,p.callable=o,p.oneOff=i,p.uidEvent=h,f[h]=p,e.addEventListener(l,p,a)}function Px(e,t,r,n,i){const a=cJ(t[r],n,i);a&&(e.removeEventListener(r,a,!!i),delete t[r][a.uidEvent])}function fde(e,t,r,n){const i=t[r]||{};for(const[a,o]of Object.entries(i))a.includes(n)&&Px(e,t,r,o.callable,o.delegationSelector)}function dJ(e){return e=e.replace(ode,""),sJ[e]||e}const Vt={on(e,t,r,n){KH(e,t,r,n,!1)},one(e,t,r,n){KH(e,t,r,n,!0)},off(e,t,r,n){if(typeof t!="string"||!e)return;const[i,a,o]=fJ(t,r,n),l=o!==t,u=lJ(e),f=u[o]||{},d=t.startsWith(".");if(typeof a<"u"){if(!Object.keys(f).length)return;Px(e,u,o,a,i?r:null);return}if(d)for(const h of Object.keys(u))fde(e,u,h,t.slice(1));for(const[h,p]of Object.entries(f)){const y=h.replace(sde,"");(!l||t.includes(y))&&Px(e,u,o,p.callable,p.delegationSelector)}},trigger(e,t,r){if(typeof t!="string"||!e)return null;const n=aJ(),i=dJ(t),a=t!==i;let o=null,l=!0,u=!0,f=!1;a&&n&&(o=n.Event(t,r),n(e).trigger(o),l=!o.isPropagationStopped(),u=!o.isImmediatePropagationStopped(),f=o.isDefaultPrevented());const d=IO(new Event(t,{bubbles:l,cancelable:!0}),r);return f&&d.preventDefault(),u&&e.dispatchEvent(d),d.defaultPrevented&&o&&o.preventDefault(),d}};function IO(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 YH(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 G1(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const pu={setDataAttribute(e,t,r){e.setAttribute(`data-bs-${G1(t)}`,r)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${G1(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]=YH(e.dataset[n])}return t},getDataAttribute(e,t){return YH(e.getAttribute(`data-bs-${G1(t)}`))}};class Jh{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=hu(r)?pu.getDataAttribute(r,"config"):{};return{...this.constructor.Default,...typeof n=="object"?n:{},...hu(r)?pu.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=hu(a)?"element":tde(a);if(!new RegExp(i).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${o}" but expected type "${i}".`)}}}const dde="5.3.2";class ws extends Jh{constructor(t,r){super(),t=tl(t),t&&(this._element=t,this._config=this._getConfig(r),H1.set(this._element,this.constructor.DATA_KEY,this))}dispose(){H1.remove(this._element,this.constructor.DATA_KEY),Vt.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,r,n=!0){oJ(t,r,n)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return H1.get(tl(t),this.DATA_KEY)}static getOrCreateInstance(t,r={}){return this.getInstance(t)||new this(t,typeof r=="object"?r:null)}static get VERSION(){return dde}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 K1=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!=="#"?rJ(r.trim()):null}return t},Ar={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=>!rl(r)&&nd(r))},getSelectorFromElement(e){const t=K1(e);return t&&Ar.findOne(t)?t:null},getElementFromSelector(e){const t=K1(e);return t?Ar.findOne(t):null},getMultipleElementsFromSelector(e){const t=K1(e);return t?Ar.find(t):[]}},Om=(e,t="hide")=>{const r=`click.dismiss${e.EVENT_KEY}`,n=e.NAME;Vt.on(document,r,`[data-bs-dismiss="${n}"]`,function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),rl(this))return;const a=Ar.getElementFromSelector(this)||this.closest(`.${n}`);e.getOrCreateInstance(a)[t]()})},hde="alert",pde="bs.alert",hJ=`.${pde}`,vde=`close${hJ}`,gde=`closed${hJ}`,mde="fade",yde="show";let pJ=class vJ extends ws{static get NAME(){return hde}close(){if(Vt.trigger(this._element,vde).defaultPrevented)return;this._element.classList.remove(yde);const r=this._element.classList.contains(mde);this._queueCallback(()=>this._destroyElement(),this._element,r)}_destroyElement(){this._element.remove(),Vt.trigger(this._element,gde),this.dispose()}static jQueryInterface(t){return this.each(function(){const r=vJ.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)}})}};Om(pJ,"close");as(pJ);const _de="button",Ede="bs.button",Sde=`.${Ede}`,wde=".data-api",bde="active",XH='[data-bs-toggle="button"]',Tde=`click${Sde}${wde}`;let gJ=class mJ extends ws{static get NAME(){return _de}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(bde))}static jQueryInterface(t){return this.each(function(){const r=mJ.getOrCreateInstance(this);t==="toggle"&&r[t]()})}};Vt.on(document,Tde,XH,e=>{e.preventDefault();const t=e.target.closest(XH);gJ.getOrCreateInstance(t).toggle()});as(gJ);const Ade="swipe",id=".bs.swipe",Rde=`touchstart${id}`,xde=`touchmove${id}`,Cde=`touchend${id}`,Ode=`pointerdown${id}`,Ide=`pointerup${id}`,Pde="touch",kde="pen",Dde="pointer-event",Lde=40,Nde={endCallback:null,leftCallback:null,rightCallback:null},Mde={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class dg extends Jh{constructor(t,r){super(),this._element=t,!(!t||!dg.isSupported())&&(this._config=this._getConfig(r),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Nde}static get DefaultType(){return Mde}static get NAME(){return Ade}dispose(){Vt.off(this._element,id)}_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<=Lde)return;const r=t/this._deltaX;this._deltaX=0,r&&no(r>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(Vt.on(this._element,Ode,t=>this._start(t)),Vt.on(this._element,Ide,t=>this._end(t)),this._element.classList.add(Dde)):(Vt.on(this._element,Rde,t=>this._start(t)),Vt.on(this._element,xde,t=>this._move(t)),Vt.on(this._element,Cde,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===kde||t.pointerType===Pde)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const $de="carousel",Fde="bs.carousel",fl=`.${Fde}`,yJ=".data-api",jde="ArrowLeft",Ude="ArrowRight",qde=500,qd="next",af="prev",mf="left",qv="right",Bde=`slide${fl}`,Y1=`slid${fl}`,Vde=`keydown${fl}`,Hde=`mouseenter${fl}`,zde=`mouseleave${fl}`,Wde=`dragstart${fl}`,Gde=`load${fl}${yJ}`,Kde=`click${fl}${yJ}`,_J="carousel",dv="active",Yde="slide",Xde="carousel-item-end",Qde="carousel-item-start",Jde="carousel-item-next",Zde="carousel-item-prev",EJ=".active",SJ=".carousel-item",ehe=EJ+SJ,the=".carousel-item img",rhe=".carousel-indicators",nhe="[data-bs-slide], [data-bs-slide-to]",ihe='[data-bs-ride="carousel"]',ahe={[jde]:qv,[Ude]:mf},ohe={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},she={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Zh extends ws{constructor(t,r){super(t,r),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Ar.findOne(rhe,this._element),this._addEventListeners(),this._config.ride===_J&&this.cycle()}static get Default(){return ohe}static get DefaultType(){return she}static get NAME(){return $de}next(){this._slide(qd)}nextWhenVisible(){!document.hidden&&nd(this._element)&&this.next()}prev(){this._slide(af)}pause(){this._isSliding&&nJ(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){Vt.one(this._element,Y1,()=>this.cycle());return}this.cycle()}}to(t){const r=this._getItems();if(t>r.length-1||t<0)return;if(this._isSliding){Vt.one(this._element,Y1,()=>this.to(t));return}const n=this._getItemIndex(this._getActive());if(n===t)return;const i=t>n?qd:af;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&&Vt.on(this._element,Vde,t=>this._keydown(t)),this._config.pause==="hover"&&(Vt.on(this._element,Hde,()=>this.pause()),Vt.on(this._element,zde,()=>this._maybeEnableCycle())),this._config.touch&&dg.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const n of Ar.find(the,this._element))Vt.on(n,Wde,i=>i.preventDefault());const r={leftCallback:()=>this._slide(this._directionToOrder(mf)),rightCallback:()=>this._slide(this._directionToOrder(qv)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),qde+this._config.interval))}};this._swipeHelper=new dg(this._element,r)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const r=ahe[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=Ar.findOne(EJ,this._indicatorsElement);r.classList.remove(dv),r.removeAttribute("aria-current");const n=Ar.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);n&&(n.classList.add(dv),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===qd,a=r||OO(this._getItems(),n,i,this._config.wrap);if(a===n)return;const o=this._getItemIndex(a),l=y=>Vt.trigger(this._element,y,{relatedTarget:a,direction:this._orderToDirection(t),from:this._getItemIndex(n),to:o});if(l(Bde).defaultPrevented||!n||!a)return;const f=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=a;const d=i?Qde:Xde,h=i?Jde:Zde;a.classList.add(h),Qh(a),n.classList.add(d),a.classList.add(d);const p=()=>{a.classList.remove(d,h),a.classList.add(dv),n.classList.remove(dv,h,d),this._isSliding=!1,l(Y1)};this._queueCallback(p,n,this._isAnimated()),f&&this.cycle()}_isAnimated(){return this._element.classList.contains(Yde)}_getActive(){return Ar.findOne(ehe,this._element)}_getItems(){return Ar.find(SJ,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return es()?t===mf?af:qd:t===mf?qd:af}_orderToDirection(t){return es()?t===af?mf:qv:t===af?qv:mf}static jQueryInterface(t){return this.each(function(){const r=Zh.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]()}})}}Vt.on(document,Kde,nhe,function(e){const t=Ar.getElementFromSelector(this);if(!t||!t.classList.contains(_J))return;e.preventDefault();const r=Zh.getOrCreateInstance(t),n=this.getAttribute("data-bs-slide-to");if(n){r.to(n),r._maybeEnableCycle();return}if(pu.getDataAttribute(this,"slide")==="next"){r.next(),r._maybeEnableCycle();return}r.prev(),r._maybeEnableCycle()});Vt.on(window,Gde,()=>{const e=Ar.find(ihe);for(const t of e)Zh.getOrCreateInstance(t)});as(Zh);const uhe="collapse",lhe="bs.collapse",ep=`.${lhe}`,che=".data-api",fhe=`show${ep}`,dhe=`shown${ep}`,hhe=`hide${ep}`,phe=`hidden${ep}`,vhe=`click${ep}${che}`,X1="show",Sf="collapse",hv="collapsing",ghe="collapsed",mhe=`:scope .${Sf} .${Sf}`,yhe="collapse-horizontal",_he="width",Ehe="height",She=".collapse.show, .collapse.collapsing",kx='[data-bs-toggle="collapse"]',whe={parent:null,toggle:!0},bhe={parent:"(null|element)",toggle:"boolean"};class yh extends ws{constructor(t,r){super(t,r),this._isTransitioning=!1,this._triggerArray=[];const n=Ar.find(kx);for(const i of n){const a=Ar.getSelectorFromElement(i),o=Ar.find(a).filter(l=>l===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 whe}static get DefaultType(){return bhe}static get NAME(){return uhe}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(She).filter(l=>l!==this._element).map(l=>yh.getOrCreateInstance(l,{toggle:!1}))),t.length&&t[0]._isTransitioning||Vt.trigger(this._element,fhe).defaultPrevented)return;for(const l of t)l.hide();const n=this._getDimension();this._element.classList.remove(Sf),this._element.classList.add(hv),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=()=>{this._isTransitioning=!1,this._element.classList.remove(hv),this._element.classList.add(Sf,X1),this._element.style[n]="",Vt.trigger(this._element,dhe)},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()||Vt.trigger(this._element,hhe).defaultPrevented)return;const r=this._getDimension();this._element.style[r]=`${this._element.getBoundingClientRect()[r]}px`,Qh(this._element),this._element.classList.add(hv),this._element.classList.remove(Sf,X1);for(const i of this._triggerArray){const a=Ar.getElementFromSelector(i);a&&!this._isShown(a)&&this._addAriaAndCollapsedClass([i],!1)}this._isTransitioning=!0;const n=()=>{this._isTransitioning=!1,this._element.classList.remove(hv),this._element.classList.add(Sf),Vt.trigger(this._element,phe)};this._element.style[r]="",this._queueCallback(n,this._element,!0)}_isShown(t=this._element){return t.classList.contains(X1)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=tl(t.parent),t}_getDimension(){return this._element.classList.contains(yhe)?_he:Ehe}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(kx);for(const r of t){const n=Ar.getElementFromSelector(r);n&&this._addAriaAndCollapsedClass([r],this._isShown(n))}}_getFirstLevelChildren(t){const r=Ar.find(mhe,this._config.parent);return Ar.find(t,this._config.parent).filter(n=>!r.includes(n))}_addAriaAndCollapsedClass(t,r){if(t.length)for(const n of t)n.classList.toggle(ghe,!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=yh.getOrCreateInstance(this,r);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}Vt.on(document,vhe,kx,function(e){(e.target.tagName==="A"||e.delegateTarget&&e.delegateTarget.tagName==="A")&&e.preventDefault();for(const t of Ar.getMultipleElementsFromSelector(this))yh.getOrCreateInstance(t,{toggle:!1}).toggle()});as(yh);const QH="dropdown",The="bs.dropdown",bc=`.${The}`,PO=".data-api",Ahe="Escape",JH="Tab",Rhe="ArrowUp",ZH="ArrowDown",xhe=2,Che=`hide${bc}`,Ohe=`hidden${bc}`,Ihe=`show${bc}`,Phe=`shown${bc}`,wJ=`click${bc}${PO}`,bJ=`keydown${bc}${PO}`,khe=`keyup${bc}${PO}`,yf="show",Dhe="dropup",Lhe="dropend",Nhe="dropstart",Mhe="dropup-center",$he="dropdown-center",Bl='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Fhe=`${Bl}.${yf}`,Bv=".dropdown-menu",jhe=".navbar",Uhe=".navbar-nav",qhe=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Bhe=es()?"top-end":"top-start",Vhe=es()?"top-start":"top-end",Hhe=es()?"bottom-end":"bottom-start",zhe=es()?"bottom-start":"bottom-end",Whe=es()?"left-start":"right-start",Ghe=es()?"right-start":"left-start",Khe="top",Yhe="bottom",Xhe={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Qhe={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};let ad=class Vv extends ws{constructor(t,r){super(t,r),this._popper=null,this._parent=this._element.parentNode,this._menu=Ar.next(this._element,Bv)[0]||Ar.prev(this._element,Bv)[0]||Ar.findOne(Bv,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Xhe}static get DefaultType(){return Qhe}static get NAME(){return QH}toggle(){return this._isShown()?this.hide():this.show()}show(){if(rl(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!Vt.trigger(this._element,Ihe,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Uhe))for(const n of[].concat(...document.body.children))Vt.on(n,"mouseover",fg);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(yf),this._element.classList.add(yf),Vt.trigger(this._element,Phe,t)}}hide(){if(rl(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(!Vt.trigger(this._element,Che,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const n of[].concat(...document.body.children))Vt.off(n,"mouseover",fg);this._popper&&this._popper.destroy(),this._menu.classList.remove(yf),this._element.classList.remove(yf),this._element.setAttribute("aria-expanded","false"),pu.removeDataAttribute(this._menu,"popper"),Vt.trigger(this._element,Ohe,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!hu(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${QH.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof tJ>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;this._config.reference==="parent"?t=this._parent:hu(this._config.reference)?t=tl(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const r=this._getPopperConfig();this._popper=CO(t,this._menu,r)}_isShown(){return this._menu.classList.contains(yf)}_getPlacement(){const t=this._parent;if(t.classList.contains(Lhe))return Whe;if(t.classList.contains(Nhe))return Ghe;if(t.classList.contains(Mhe))return Khe;if(t.classList.contains($he))return Yhe;const r=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(Dhe)?r?Vhe:Bhe:r?zhe:Hhe}_detectNavbar(){return this._element.closest(jhe)!==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")&&(pu.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...no(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:r}){const n=Ar.find(qhe,this._menu).filter(i=>nd(i));n.length&&OO(n,r,t===ZH,!n.includes(r)).focus()}static jQueryInterface(t){return this.each(function(){const r=Vv.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===xhe||t.type==="keyup"&&t.key!==JH)return;const r=Ar.find(Fhe);for(const n of r){const i=Vv.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===JH||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const l={relatedTarget:i._element};t.type==="click"&&(l.clickEvent=t),i._completeHide(l)}}static dataApiKeydownHandler(t){const r=/input|textarea/i.test(t.target.tagName),n=t.key===Ahe,i=[Rhe,ZH].includes(t.key);if(!i&&!n||r&&!n)return;t.preventDefault();const a=this.matches(Bl)?this:Ar.prev(this,Bl)[0]||Ar.next(this,Bl)[0]||Ar.findOne(Bl,t.delegateTarget.parentNode),o=Vv.getOrCreateInstance(a);if(i){t.stopPropagation(),o.show(),o._selectMenuItem(t);return}o._isShown()&&(t.stopPropagation(),o.hide(),a.focus())}};Vt.on(document,bJ,Bl,ad.dataApiKeydownHandler);Vt.on(document,bJ,Bv,ad.dataApiKeydownHandler);Vt.on(document,wJ,ad.clearMenus);Vt.on(document,khe,ad.clearMenus);Vt.on(document,wJ,Bl,function(e){e.preventDefault(),ad.getOrCreateInstance(this).toggle()});as(ad);const TJ="backdrop",Jhe="fade",ez="show",tz=`mousedown.bs.${TJ}`,Zhe={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},epe={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class AJ extends Jh{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return Zhe}static get DefaultType(){return epe}static get NAME(){return TJ}show(t){if(!this._config.isVisible){no(t);return}this._append();const r=this._getElement();this._config.isAnimated&&Qh(r),r.classList.add(ez),this._emulateAnimation(()=>{no(t)})}hide(t){if(!this._config.isVisible){no(t);return}this._getElement().classList.remove(ez),this._emulateAnimation(()=>{this.dispose(),no(t)})}dispose(){this._isAppended&&(Vt.off(this._element,tz),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(Jhe),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=tl(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),Vt.on(t,tz,()=>{no(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){oJ(t,this._getElement(),this._config.isAnimated)}}const tpe="focustrap",rpe="bs.focustrap",hg=`.${rpe}`,npe=`focusin${hg}`,ipe=`keydown.tab${hg}`,ape="Tab",ope="forward",rz="backward",spe={autofocus:!0,trapElement:null},upe={autofocus:"boolean",trapElement:"element"};class RJ extends Jh{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return spe}static get DefaultType(){return upe}static get NAME(){return tpe}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),Vt.off(document,hg),Vt.on(document,npe,t=>this._handleFocusin(t)),Vt.on(document,ipe,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,Vt.off(document,hg))}_handleFocusin(t){const{trapElement:r}=this._config;if(t.target===document||t.target===r||r.contains(t.target))return;const n=Ar.focusableChildren(r);n.length===0?r.focus():this._lastTabNavDirection===rz?n[n.length-1].focus():n[0].focus()}_handleKeydown(t){t.key===ape&&(this._lastTabNavDirection=t.shiftKey?rz:ope)}}const nz=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",iz=".sticky-top",pv="padding-right",az="margin-right";class Dx{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,pv,r=>r+t),this._setElementAttributes(nz,pv,r=>r+t),this._setElementAttributes(iz,az,r=>r-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,pv),this._resetElementAttributes(nz,pv),this._resetElementAttributes(iz,az)}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 l=window.getComputedStyle(o).getPropertyValue(r);o.style.setProperty(r,`${n(Number.parseFloat(l))}px`)};this._applyManipulationCallback(t,a)}_saveInitialAttribute(t,r){const n=t.style.getPropertyValue(r);n&&pu.setDataAttribute(t,r,n)}_resetElementAttributes(t,r){const n=i=>{const a=pu.getDataAttribute(i,r);if(a===null){i.style.removeProperty(r);return}pu.removeDataAttribute(i,r),i.style.setProperty(r,a)};this._applyManipulationCallback(t,n)}_applyManipulationCallback(t,r){if(hu(t)){r(t);return}for(const n of Ar.find(t,this._element))r(n)}}const lpe="modal",cpe="bs.modal",ts=`.${cpe}`,fpe=".data-api",dpe="Escape",hpe=`hide${ts}`,ppe=`hidePrevented${ts}`,xJ=`hidden${ts}`,CJ=`show${ts}`,vpe=`shown${ts}`,gpe=`resize${ts}`,mpe=`click.dismiss${ts}`,ype=`mousedown.dismiss${ts}`,_pe=`keydown.dismiss${ts}`,Epe=`click${ts}${fpe}`,oz="modal-open",Spe="fade",sz="show",Q1="modal-static",wpe=".modal.show",bpe=".modal-dialog",Tpe=".modal-body",Ape='[data-bs-toggle="modal"]',Rpe={backdrop:!0,focus:!0,keyboard:!0},xpe={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};let pg=class OJ extends ws{constructor(t,r){super(t,r),this._dialog=Ar.findOne(bpe,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Dx,this._addEventListeners()}static get Default(){return Rpe}static get DefaultType(){return xpe}static get NAME(){return lpe}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||Vt.trigger(this._element,CJ,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(oz),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||Vt.trigger(this._element,hpe).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(sz),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){Vt.off(window,ts),Vt.off(this._dialog,ts),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new AJ({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new RJ({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=Ar.findOne(Tpe,this._dialog);r&&(r.scrollTop=0),Qh(this._element),this._element.classList.add(sz);const n=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,Vt.trigger(this._element,vpe,{relatedTarget:t})};this._queueCallback(n,this._dialog,this._isAnimated())}_addEventListeners(){Vt.on(this._element,_pe,t=>{if(t.key===dpe){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),Vt.on(window,gpe,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),Vt.on(this._element,ype,t=>{Vt.one(this._element,mpe,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(oz),this._resetAdjustments(),this._scrollBar.reset(),Vt.trigger(this._element,xJ)})}_isAnimated(){return this._element.classList.contains(Spe)}_triggerBackdropTransition(){if(Vt.trigger(this._element,ppe).defaultPrevented)return;const r=this._element.scrollHeight>document.documentElement.clientHeight,n=this._element.style.overflowY;n==="hidden"||this._element.classList.contains(Q1)||(r||(this._element.style.overflowY="hidden"),this._element.classList.add(Q1),this._queueCallback(()=>{this._element.classList.remove(Q1),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=es()?"paddingLeft":"paddingRight";this._element.style[i]=`${r}px`}if(!n&&t){const i=es()?"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=OJ.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t](r)}})}};Vt.on(document,Epe,Ape,function(e){const t=Ar.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),Vt.one(t,CJ,i=>{i.defaultPrevented||Vt.one(t,xJ,()=>{nd(this)&&this.focus()})});const r=Ar.findOne(wpe);r&&pg.getInstance(r).hide(),pg.getOrCreateInstance(t).toggle(this)});Om(pg);as(pg);const Cpe="offcanvas",Ope="bs.offcanvas",Ru=`.${Ope}`,IJ=".data-api",Ipe=`load${Ru}${IJ}`,Ppe="Escape",uz="show",lz="showing",cz="hiding",kpe="offcanvas-backdrop",PJ=".offcanvas.show",Dpe=`show${Ru}`,Lpe=`shown${Ru}`,Npe=`hide${Ru}`,fz=`hidePrevented${Ru}`,kJ=`hidden${Ru}`,Mpe=`resize${Ru}`,$pe=`click${Ru}${IJ}`,Fpe=`keydown.dismiss${Ru}`,jpe='[data-bs-toggle="offcanvas"]',Upe={backdrop:!0,keyboard:!0,scroll:!1},qpe={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class nl extends ws{constructor(t,r){super(t,r),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Upe}static get DefaultType(){return qpe}static get NAME(){return Cpe}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||Vt.trigger(this._element,Dpe,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Dx().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(lz);const n=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(uz),this._element.classList.remove(lz),Vt.trigger(this._element,Lpe,{relatedTarget:t})};this._queueCallback(n,this._element,!0)}hide(){if(!this._isShown||Vt.trigger(this._element,Npe).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(cz),this._backdrop.hide();const r=()=>{this._element.classList.remove(uz,cz),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Dx().reset(),Vt.trigger(this._element,kJ)};this._queueCallback(r,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=()=>{if(this._config.backdrop==="static"){Vt.trigger(this._element,fz);return}this.hide()},r=!!this._config.backdrop;return new AJ({className:kpe,isVisible:r,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:r?t:null})}_initializeFocusTrap(){return new RJ({trapElement:this._element})}_addEventListeners(){Vt.on(this._element,Fpe,t=>{if(t.key===Ppe){if(this._config.keyboard){this.hide();return}Vt.trigger(this._element,fz)}})}static jQueryInterface(t){return this.each(function(){const r=nl.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)}})}}Vt.on(document,$pe,jpe,function(e){const t=Ar.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),rl(this))return;Vt.one(t,kJ,()=>{nd(this)&&this.focus()});const r=Ar.findOne(PJ);r&&r!==t&&nl.getInstance(r).hide(),nl.getOrCreateInstance(t).toggle(this)});Vt.on(window,Ipe,()=>{for(const e of Ar.find(PJ))nl.getOrCreateInstance(e).show()});Vt.on(window,Mpe,()=>{for(const e of Ar.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(e).position!=="fixed"&&nl.getOrCreateInstance(e).hide()});Om(nl);as(nl);const Bpe=/^aria-[\w-]*$/i,DJ={"*":["class","dir","id","lang","role",Bpe],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:[]},Vpe=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Hpe=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,zpe=(e,t)=>{const r=e.nodeName.toLowerCase();return t.includes(r)?Vpe.has(r)?!!Hpe.test(e.nodeValue):!0:t.filter(n=>n instanceof RegExp).some(n=>n.test(r))};function Wpe(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 l=o.nodeName.toLowerCase();if(!Object.keys(t).includes(l)){o.remove();continue}const u=[].concat(...o.attributes),f=[].concat(t["*"]||[],t[l]||[]);for(const d of u)zpe(d,f)||o.removeAttribute(d.nodeName)}return i.body.innerHTML}const Gpe="TemplateFactory",Kpe={allowList:DJ,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Ype={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Xpe={entry:"(string|element|function|null)",selector:"(string|element)"};class Qpe extends Jh{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return Kpe}static get DefaultType(){return Ype}static get NAME(){return Gpe}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},Xpe)}_setContent(t,r,n){const i=Ar.findOne(n,t);if(i){if(r=this._resolvePossibleFunction(r),!r){i.remove();return}if(hu(r)){this._putElementInTemplate(tl(r),i);return}if(this._config.html){i.innerHTML=this._maybeSanitize(r);return}i.textContent=r}}_maybeSanitize(t){return this._config.sanitize?Wpe(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 Jpe="tooltip",Zpe=new Set(["sanitize","allowList","sanitizeFn"]),J1="fade",eve="modal",vv="show",tve=".tooltip-inner",dz=`.${eve}`,hz="hide.bs.modal",Bd="hover",Z1="focus",rve="click",nve="manual",ive="hide",ave="hidden",ove="show",sve="shown",uve="inserted",lve="click",cve="focusin",fve="focusout",dve="mouseenter",hve="mouseleave",pve={AUTO:"auto",TOP:"top",RIGHT:es()?"left":"right",BOTTOM:"bottom",LEFT:es()?"right":"left"},vve={allowList:DJ,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"},gve={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 Im=class LJ extends ws{constructor(t,r){if(typeof tJ>"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 vve}static get DefaultType(){return gve}static get NAME(){return Jpe}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),Vt.off(this._element.closest(dz),hz,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=Vt.trigger(this._element,this.constructor.eventName(ove)),n=(iJ(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),Vt.trigger(this._element,this.constructor.eventName(uve))),this._popper=this._createPopper(i),i.classList.add(vv),"ontouchstart"in document.documentElement)for(const l of[].concat(...document.body.children))Vt.on(l,"mouseover",fg);const o=()=>{Vt.trigger(this._element,this.constructor.eventName(sve)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(o,this.tip,this._isAnimated())}hide(){if(!this._isShown()||Vt.trigger(this._element,this.constructor.eventName(ive)).defaultPrevented)return;if(this._getTipElement().classList.remove(vv),"ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))Vt.off(i,"mouseover",fg);this._activeTrigger[rve]=!1,this._activeTrigger[Z1]=!1,this._activeTrigger[Bd]=!1,this._isHovered=null;const n=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),Vt.trigger(this._element,this.constructor.eventName(ave)))};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(J1,vv),r.classList.add(`bs-${this.constructor.NAME}-auto`);const n=rde(this.constructor.NAME).toString();return r.setAttribute("id",n),this._isAnimated()&&r.classList.add(J1),r}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new Qpe({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[tve]: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(J1)}_isShown(){return this.tip&&this.tip.classList.contains(vv)}_createPopper(t){const r=no(this._config.placement,[this,t,this._element]),n=pve[r.toUpperCase()];return CO(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")Vt.on(this._element,this.constructor.eventName(lve),this._config.selector,n=>{this._initializeOnDelegatedTarget(n).toggle()});else if(r!==nve){const n=r===Bd?this.constructor.eventName(dve):this.constructor.eventName(cve),i=r===Bd?this.constructor.eventName(hve):this.constructor.eventName(fve);Vt.on(this._element,n,this._config.selector,a=>{const o=this._initializeOnDelegatedTarget(a);o._activeTrigger[a.type==="focusin"?Z1:Bd]=!0,o._enter()}),Vt.on(this._element,i,this._config.selector,a=>{const o=this._initializeOnDelegatedTarget(a);o._activeTrigger[a.type==="focusout"?Z1:Bd]=o._element.contains(a.relatedTarget),o._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},Vt.on(this._element.closest(dz),hz,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=pu.getDataAttributes(this._element);for(const n of Object.keys(r))Zpe.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:tl(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=LJ.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}};as(Im);const mve="popover",yve=".popover-header",_ve=".popover-body",Eve={...Im.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"},Sve={...Im.DefaultType,content:"(null|string|element|function)"};let wve=class NJ extends Im{static get Default(){return Eve}static get DefaultType(){return Sve}static get NAME(){return mve}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[yve]:this._getTitle(),[_ve]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const r=NJ.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}};as(wve);const bve="scrollspy",Tve="bs.scrollspy",kO=`.${Tve}`,Ave=".data-api",Rve=`activate${kO}`,pz=`click${kO}`,xve=`load${kO}${Ave}`,Cve="dropdown-item",of="active",Ove='[data-bs-spy="scroll"]',eb="[href]",Ive=".nav, .list-group",vz=".nav-link",Pve=".nav-item",kve=".list-group-item",Dve=`${vz}, ${Pve} > ${vz}, ${kve}`,Lve=".dropdown",Nve=".dropdown-toggle",Mve={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},$ve={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Pm extends ws{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 Mve}static get DefaultType(){return $ve}static get NAME(){return bve}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=tl(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&&(Vt.off(this._config.target,pz),Vt.on(this._config.target,pz,eb,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 l=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(a&&l){if(n(o),!i)return;continue}!a&&!l&&n(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=Ar.find(eb,this._config.target);for(const r of t){if(!r.hash||rl(r))continue;const n=Ar.findOne(decodeURI(r.hash),this._element);nd(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(of),this._activateParents(t),Vt.trigger(this._element,Rve,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(Cve)){Ar.findOne(Nve,t.closest(Lve)).classList.add(of);return}for(const r of Ar.parents(t,Ive))for(const n of Ar.prev(r,Dve))n.classList.add(of)}_clearActiveClass(t){t.classList.remove(of);const r=Ar.find(`${eb}.${of}`,t);for(const n of r)n.classList.remove(of)}static jQueryInterface(t){return this.each(function(){const r=Pm.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]()}})}}Vt.on(window,xve,()=>{for(const e of Ar.find(Ove))Pm.getOrCreateInstance(e)});as(Pm);const Fve="tab",jve="bs.tab",Tc=`.${jve}`,Uve=`hide${Tc}`,qve=`hidden${Tc}`,Bve=`show${Tc}`,Vve=`shown${Tc}`,Hve=`click${Tc}`,zve=`keydown${Tc}`,Wve=`load${Tc}`,Gve="ArrowLeft",gz="ArrowRight",Kve="ArrowUp",mz="ArrowDown",tb="Home",yz="End",Vl="active",_z="fade",rb="show",Yve="dropdown",MJ=".dropdown-toggle",Xve=".dropdown-menu",nb=`:not(${MJ})`,Qve='.list-group, .nav, [role="tablist"]',Jve=".nav-item, .list-group-item",Zve=`.nav-link${nb}, .list-group-item${nb}, [role="tab"]${nb}`,$J='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',ib=`${Zve}, ${$J}`,ege=`.${Vl}[data-bs-toggle="tab"], .${Vl}[data-bs-toggle="pill"], .${Vl}[data-bs-toggle="list"]`;class Nf extends ws{constructor(t){super(t),this._parent=this._element.closest(Qve),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),Vt.on(this._element,zve,r=>this._keydown(r)))}static get NAME(){return Fve}show(){const t=this._element;if(this._elemIsActive(t))return;const r=this._getActiveElem(),n=r?Vt.trigger(r,Uve,{relatedTarget:t}):null;Vt.trigger(t,Bve,{relatedTarget:r}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(r,t),this._activate(t,r))}_activate(t,r){if(!t)return;t.classList.add(Vl),this._activate(Ar.getElementFromSelector(t));const n=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(rb);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),Vt.trigger(t,Vve,{relatedTarget:r})};this._queueCallback(n,t,t.classList.contains(_z))}_deactivate(t,r){if(!t)return;t.classList.remove(Vl),t.blur(),this._deactivate(Ar.getElementFromSelector(t));const n=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(rb);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),Vt.trigger(t,qve,{relatedTarget:r})};this._queueCallback(n,t,t.classList.contains(_z))}_keydown(t){if(![Gve,gz,Kve,mz,tb,yz].includes(t.key))return;t.stopPropagation(),t.preventDefault();const r=this._getChildren().filter(i=>!rl(i));let n;if([tb,yz].includes(t.key))n=r[t.key===tb?0:r.length-1];else{const i=[gz,mz].includes(t.key);n=OO(r,t.target,i,!0)}n&&(n.focus({preventScroll:!0}),Nf.getOrCreateInstance(n).show())}_getChildren(){return Ar.find(ib,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=Ar.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(Yve))return;const i=(a,o)=>{const l=Ar.findOne(a,n);l&&l.classList.toggle(o,r)};i(MJ,Vl),i(Xve,rb),n.setAttribute("aria-expanded",r)}_setAttributeIfNotExists(t,r,n){t.hasAttribute(r)||t.setAttribute(r,n)}_elemIsActive(t){return t.classList.contains(Vl)}_getInnerElement(t){return t.matches(ib)?t:Ar.findOne(ib,t)}_getOuterElement(t){return t.closest(Jve)||t}static jQueryInterface(t){return this.each(function(){const r=Nf.getOrCreateInstance(this);if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t]()}})}}Vt.on(document,Hve,$J,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),!rl(this)&&Nf.getOrCreateInstance(this).show()});Vt.on(window,Wve,()=>{for(const e of Ar.find(ege))Nf.getOrCreateInstance(e)});as(Nf);const tge="toast",rge="bs.toast",dl=`.${rge}`,nge=`mouseover${dl}`,ige=`mouseout${dl}`,age=`focusin${dl}`,oge=`focusout${dl}`,sge=`hide${dl}`,uge=`hidden${dl}`,lge=`show${dl}`,cge=`shown${dl}`,fge="fade",Ez="hide",gv="show",mv="showing",dge={animation:"boolean",autohide:"boolean",delay:"number"},hge={animation:!0,autohide:!0,delay:5e3};class km extends ws{constructor(t,r){super(t,r),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return hge}static get DefaultType(){return dge}static get NAME(){return tge}show(){if(Vt.trigger(this._element,lge).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(fge);const r=()=>{this._element.classList.remove(mv),Vt.trigger(this._element,cge),this._maybeScheduleHide()};this._element.classList.remove(Ez),Qh(this._element),this._element.classList.add(gv,mv),this._queueCallback(r,this._element,this._config.animation)}hide(){if(!this.isShown()||Vt.trigger(this._element,sge).defaultPrevented)return;const r=()=>{this._element.classList.add(Ez),this._element.classList.remove(mv,gv),Vt.trigger(this._element,uge)};this._element.classList.add(mv),this._queueCallback(r,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(gv),super.dispose()}isShown(){return this._element.classList.contains(gv)}_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(){Vt.on(this._element,nge,t=>this._onInteraction(t,!0)),Vt.on(this._element,ige,t=>this._onInteraction(t,!1)),Vt.on(this._element,age,t=>this._onInteraction(t,!0)),Vt.on(this._element,oge,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const r=km.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t](this)}})}}Om(km);as(km);var Hv={exports:{}},zv={exports:{}},pge=zv.exports,Sz;function FJ(){return Sz||(Sz=1,(function(e,t){(function(r,n){e.exports=n()})(pge,(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,l=i.push,u=i.slice,f=a.toString,d=a.hasOwnProperty,h=typeof ArrayBuffer<"u",p=typeof DataView<"u",y=Array.isArray,_=Object.keys,E=Object.create,S=h&&ArrayBuffer.isView,w=isNaN,T=isFinite,C=!{toString:null}.propertyIsEnumerable("toString"),x=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],R=Math.pow(2,53)-1;function O(X,se){return se=se==null?X.length-1:+se,function(){for(var xe=Math.max(arguments.length-se,0),Ne=Array(xe),Ue=0;Ue<xe;Ue++)Ne[Ue]=arguments[Ue+se];switch(se){case 0:return X.call(this,Ne);case 1:return X.call(this,arguments[0],Ne);case 2:return X.call(this,arguments[0],arguments[1],Ne)}var We=Array(se+1);for(Ue=0;Ue<se;Ue++)We[Ue]=arguments[Ue];return We[se]=Ne,X.apply(this,We)}}function m(X){var se=typeof X;return se==="function"||se==="object"&&!!X}function D(X){return X===null}function U(X){return X===void 0}function K(X){return X===!0||X===!1||f.call(X)==="[object Boolean]"}function B(X){return!!(X&&X.nodeType===1)}function W(X){var se="[object "+X+"]";return function(xe){return f.call(xe)===se}}var Y=W("String"),Q=W("Number"),ie=W("Date"),ae=W("RegExp"),ve=W("Error"),H=W("Symbol"),J=W("ArrayBuffer"),z=W("Function"),ue=n.document&&n.document.childNodes;typeof/./!="function"&&typeof Int8Array!="object"&&typeof ue!="function"&&(z=function(X){return typeof X=="function"||!1});var we=z,ke=W("Object"),Be=p&&(!/\[native code\]/.test(String(DataView))||ke(new DataView(new ArrayBuffer(8)))),nt=typeof Map<"u"&&ke(new Map),rt=W("DataView");function q(X){return X!=null&&we(X.getInt8)&&J(X.buffer)}var I=Be?q:rt,N=y||W("Array");function M(X,se){return X!=null&&d.call(X,se)}var Z=W("Arguments");(function(){Z(arguments)||(Z=function(X){return M(X,"callee")})})();var L=Z;function G(X){return!H(X)&&T(X)&&!isNaN(parseFloat(X))}function pe(X){return Q(X)&&w(X)}function fe(X){return function(){return X}}function be(X){return function(se){var xe=X(se);return typeof xe=="number"&&xe>=0&&xe<=R}}function _e(X){return function(se){return se==null?void 0:se[X]}}var Ce=_e("byteLength"),Me=be(Ce),de=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function me(X){return S?S(X)&&!I(X):Me(X)&&de.test(f.call(X))}var ge=h?me:fe(!1),Te=_e("length");function Pe(X){for(var se={},xe=X.length,Ne=0;Ne<xe;++Ne)se[X[Ne]]=!0;return{contains:function(Ue){return se[Ue]===!0},push:function(Ue){return se[Ue]=!0,X.push(Ue)}}}function De(X,se){se=Pe(se);var xe=x.length,Ne=X.constructor,Ue=we(Ne)&&Ne.prototype||a,We="constructor";for(M(X,We)&&!se.contains(We)&&se.push(We);xe--;)We=x[xe],We in X&&X[We]!==Ue[We]&&!se.contains(We)&&se.push(We)}function qe(X){if(!m(X))return[];if(_)return _(X);var se=[];for(var xe in X)M(X,xe)&&se.push(xe);return C&&De(X,se),se}function _t(X){if(X==null)return!0;var se=Te(X);return typeof se=="number"&&(N(X)||Y(X)||L(X))?se===0:Te(qe(X))===0}function Ut(X,se){var xe=qe(se),Ne=xe.length;if(X==null)return!Ne;for(var Ue=Object(X),We=0;We<Ne;We++){var Tt=xe[We];if(se[Tt]!==Ue[Tt]||!(Tt in Ue))return!1}return!0}function Mt(X){if(X instanceof Mt)return X;if(!(this instanceof Mt))return new Mt(X);this._wrapped=X}Mt.VERSION=r,Mt.prototype.value=function(){return this._wrapped},Mt.prototype.valueOf=Mt.prototype.toJSON=Mt.prototype.value,Mt.prototype.toString=function(){return String(this._wrapped)};function Xe(X){return new Uint8Array(X.buffer||X,X.byteOffset||0,Ce(X))}var wt="[object DataView]";function mt(X,se,xe,Ne){if(X===se)return X!==0||1/X===1/se;if(X==null||se==null)return!1;if(X!==X)return se!==se;var Ue=typeof X;return Ue!=="function"&&Ue!=="object"&&typeof se!="object"?!1:Et(X,se,xe,Ne)}function Et(X,se,xe,Ne){X instanceof Mt&&(X=X._wrapped),se instanceof Mt&&(se=se._wrapped);var Ue=f.call(X);if(Ue!==f.call(se))return!1;if(Be&&Ue=="[object Object]"&&I(X)){if(!I(se))return!1;Ue=wt}switch(Ue){case"[object RegExp]":case"[object String]":return""+X==""+se;case"[object Number]":return+X!=+X?+se!=+se:+X==0?1/+X===1/se:+X==+se;case"[object Date]":case"[object Boolean]":return+X==+se;case"[object Symbol]":return o.valueOf.call(X)===o.valueOf.call(se);case"[object ArrayBuffer]":case wt:return Et(Xe(X),Xe(se),xe,Ne)}var We=Ue==="[object Array]";if(!We&&ge(X)){var Tt=Ce(X);if(Tt!==Ce(se))return!1;if(X.buffer===se.buffer&&X.byteOffset===se.byteOffset)return!0;We=!0}if(!We){if(typeof X!="object"||typeof se!="object")return!1;var Yt=X.constructor,Fr=se.constructor;if(Yt!==Fr&&!(we(Yt)&&Yt instanceof Yt&&we(Fr)&&Fr instanceof Fr)&&"constructor"in X&&"constructor"in se)return!1}xe=xe||[],Ne=Ne||[];for(var Pr=xe.length;Pr--;)if(xe[Pr]===X)return Ne[Pr]===se;if(xe.push(X),Ne.push(se),We){if(Pr=X.length,Pr!==se.length)return!1;for(;Pr--;)if(!mt(X[Pr],se[Pr],xe,Ne))return!1}else{var Bn=qe(X),ni;if(Pr=Bn.length,qe(se).length!==Pr)return!1;for(;Pr--;)if(ni=Bn[Pr],!(M(se,ni)&&mt(X[ni],se[ni],xe,Ne)))return!1}return xe.pop(),Ne.pop(),!0}function At(X,se){return mt(X,se)}function ft(X){if(!m(X))return[];var se=[];for(var xe in X)se.push(xe);return C&&De(X,se),se}function Ft(X){var se=Te(X);return function(xe){if(xe==null)return!1;var Ne=ft(xe);if(Te(Ne))return!1;for(var Ue=0;Ue<se;Ue++)if(!we(xe[X[Ue]]))return!1;return X!==Lt||!we(xe[Ct])}}var Ct="forEach",Ae="has",Ze=["clear","delete"],ut=["get",Ae,"set"],bt=Ze.concat(Ct,ut),Lt=Ze.concat(ut),tr=["add"].concat(Ze,Ct,Ae),pr=nt?Ft(bt):W("Map"),ar=nt?Ft(Lt):W("WeakMap"),dr=nt?Ft(tr):W("Set"),xr=W("WeakSet");function en(X){for(var se=qe(X),xe=se.length,Ne=Array(xe),Ue=0;Ue<xe;Ue++)Ne[Ue]=X[se[Ue]];return Ne}function Qn(X){for(var se=qe(X),xe=se.length,Ne=Array(xe),Ue=0;Ue<xe;Ue++)Ne[Ue]=[se[Ue],X[se[Ue]]];return Ne}function wn(X){for(var se={},xe=qe(X),Ne=0,Ue=xe.length;Ne<Ue;Ne++)se[X[xe[Ne]]]=xe[Ne];return se}function vn(X){var se=[];for(var xe in X)we(X[xe])&&se.push(xe);return se.sort()}function dn(X,se){return function(xe){var Ne=arguments.length;if(se&&(xe=Object(xe)),Ne<2||xe==null)return xe;for(var Ue=1;Ue<Ne;Ue++)for(var We=arguments[Ue],Tt=X(We),Yt=Tt.length,Fr=0;Fr<Yt;Fr++){var Pr=Tt[Fr];(!se||xe[Pr]===void 0)&&(xe[Pr]=We[Pr])}return xe}}var jn=dn(ft),Un=dn(qe),ui=dn(ft,!0);function ti(){return function(){}}function Si(X){if(!m(X))return{};if(E)return E(X);var se=ti();se.prototype=X;var xe=new se;return se.prototype=null,xe}function xi(X,se){var xe=Si(X);return se&&Un(xe,se),xe}function bn(X){return m(X)?N(X)?X.slice():jn({},X):X}function Gn(X,se){return se(X),X}function di(X){return N(X)?X:[X]}Mt.toPath=di;function li(X){return Mt.toPath(X)}function it(X,se){for(var xe=se.length,Ne=0;Ne<xe;Ne++){if(X==null)return;X=X[se[Ne]]}return xe?X:void 0}function $t(X,se,xe){var Ne=it(X,li(se));return U(Ne)?xe:Ne}function vt(X,se){se=li(se);for(var xe=se.length,Ne=0;Ne<xe;Ne++){var Ue=se[Ne];if(!M(X,Ue))return!1;X=X[Ue]}return!!xe}function Ge(X){return X}function xt(X){return X=Un({},X),function(se){return Ut(se,X)}}function fr(X){return X=li(X),function(se){return it(se,X)}}function ye(X,se,xe){if(se===void 0)return X;switch(xe??3){case 1:return function(Ne){return X.call(se,Ne)};case 3:return function(Ne,Ue,We){return X.call(se,Ne,Ue,We)};case 4:return function(Ne,Ue,We,Tt){return X.call(se,Ne,Ue,We,Tt)}}return function(){return X.apply(se,arguments)}}function lt(X,se,xe){return X==null?Ge:we(X)?ye(X,se,xe):m(X)&&!N(X)?xt(X):fr(X)}function tt(X,se){return lt(X,se,1/0)}Mt.iteratee=tt;function ct(X,se,xe){return Mt.iteratee!==tt?Mt.iteratee(X,se):lt(X,se,xe)}function kt(X,se,xe){se=ct(se,xe);for(var Ne=qe(X),Ue=Ne.length,We={},Tt=0;Tt<Ue;Tt++){var Yt=Ne[Tt];We[Yt]=se(X[Yt],Yt,X)}return We}function dt(){}function Gt(X){return X==null?dt:function(se){return $t(X,se)}}function Cr(X,se,xe){var Ne=Array(Math.max(0,X));se=ye(se,xe,1);for(var Ue=0;Ue<X;Ue++)Ne[Ue]=se(Ue);return Ne}function Wr(X,se){return se==null&&(se=X,X=0),X+Math.floor(Math.random()*(se-X+1))}var Kr=Date.now||function(){return new Date().getTime()};function an(X){var se=function(We){return X[We]},xe="(?:"+qe(X).join("|")+")",Ne=RegExp(xe),Ue=RegExp(xe,"g");return function(We){return We=We==null?"":""+We,Ne.test(We)?We.replace(Ue,se):We}}var Nt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},Vr=an(Nt),Ci=wn(Nt),Kn=an(Ci),zi=Mt.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},wi=/(.)^/,ra={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Oa=/\\|'|\r|\n|\u2028|\u2029/g;function va(X){return"\\"+ra[X]}var $=/^\s*(\w|\$)+\s*$/;function re(X,se,xe){!se&&xe&&(se=xe),se=ui({},se,Mt.templateSettings);var Ne=RegExp([(se.escape||wi).source,(se.interpolate||wi).source,(se.evaluate||wi).source].join("|")+"|$","g"),Ue=0,We="__p+='";X.replace(Ne,function(Pr,Bn,ni,Cu,mo){return We+=X.slice(Ue,mo).replace(Oa,va),Ue=mo+Pr.length,Bn?We+=`'+
11
+ ((__t=(`+Bn+`))==null?'':_.escape(__t))+
12
+ '`:ni?We+=`'+
13
+ ((__t=(`+ni+`))==null?'':__t)+
14
+ '`:Cu&&(We+=`';
15
+ `+Cu+`
16
+ __p+='`),Pr}),We+=`';
17
+ `;var Tt=se.variable;if(Tt){if(!$.test(Tt))throw new Error("variable is not a bare identifier: "+Tt)}else We=`with(obj||{}){
18
+ `+We+`}
19
+ `,Tt="obj";We=`var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
20
+ `+We+`return __p;
21
+ `;var Yt;try{Yt=new Function(Tt,"_",We)}catch(Pr){throw Pr.source=We,Pr}var Fr=function(Pr){return Yt.call(this,Pr,Mt)};return Fr.source="function("+Tt+`){
22
+ `+We+"}",Fr}function Ee(X,se,xe){se=li(se);var Ne=se.length;if(!Ne)return we(xe)?xe.call(X):xe;for(var Ue=0;Ue<Ne;Ue++){var We=X==null?void 0:X[se[Ue]];We===void 0&&(We=xe,Ue=Ne),X=we(We)?We.call(X):We}return X}var Fe=0;function ht(X){var se=++Fe+"";return X?X+se:se}function et(X){var se=Mt(X);return se._chain=!0,se}function Ot(X,se,xe,Ne,Ue){if(!(Ne instanceof se))return X.apply(xe,Ue);var We=Si(X.prototype),Tt=X.apply(We,Ue);return m(Tt)?Tt:We}var zt=O(function(X,se){var xe=zt.placeholder,Ne=function(){for(var Ue=0,We=se.length,Tt=Array(We),Yt=0;Yt<We;Yt++)Tt[Yt]=se[Yt]===xe?arguments[Ue++]:se[Yt];for(;Ue<arguments.length;)Tt.push(arguments[Ue++]);return Ot(X,Ne,this,this,Tt)};return Ne});zt.placeholder=Mt;var Qt=O(function(X,se,xe){if(!we(X))throw new TypeError("Bind must be called on a function");var Ne=O(function(Ue){return Ot(X,Ne,se,this,xe.concat(Ue))});return Ne}),yr=be(Te);function Tr(X,se,xe,Ne){if(Ne=Ne||[],!se&&se!==0)se=1/0;else if(se<=0)return Ne.concat(X);for(var Ue=Ne.length,We=0,Tt=Te(X);We<Tt;We++){var Yt=X[We];if(yr(Yt)&&(N(Yt)||L(Yt)))if(se>1)Tr(Yt,se-1,xe,Ne),Ue=Ne.length;else for(var Fr=0,Pr=Yt.length;Fr<Pr;)Ne[Ue++]=Yt[Fr++];else xe||(Ne[Ue++]=Yt)}return Ne}var Cn=O(function(X,se){se=Tr(se,!1,!1);var xe=se.length;if(xe<1)throw new Error("bindAll must be passed function names");for(;xe--;){var Ne=se[xe];X[Ne]=Qt(X[Ne],X)}return X});function hi(X,se){var xe=function(Ne){var Ue=xe.cache,We=""+(se?se.apply(this,arguments):Ne);return M(Ue,We)||(Ue[We]=X.apply(this,arguments)),Ue[We]};return xe.cache={},xe}var pi=O(function(X,se,xe){return setTimeout(function(){return X.apply(null,xe)},se)}),$o=zt(pi,Mt,1);function bs(X,se,xe){var Ne,Ue,We,Tt,Yt=0;xe||(xe={});var Fr=function(){Yt=xe.leading===!1?0:Kr(),Ne=null,Tt=X.apply(Ue,We),Ne||(Ue=We=null)},Pr=function(){var Bn=Kr();!Yt&&xe.leading===!1&&(Yt=Bn);var ni=se-(Bn-Yt);return Ue=this,We=arguments,ni<=0||ni>se?(Ne&&(clearTimeout(Ne),Ne=null),Yt=Bn,Tt=X.apply(Ue,We),Ne||(Ue=We=null)):!Ne&&xe.trailing!==!1&&(Ne=setTimeout(Fr,ni)),Tt};return Pr.cancel=function(){clearTimeout(Ne),Yt=0,Ne=Ue=We=null},Pr}function Fo(X,se,xe){var Ne,Ue,We,Tt,Yt,Fr=function(){var Bn=Kr()-Ue;se>Bn?Ne=setTimeout(Fr,se-Bn):(Ne=null,xe||(Tt=X.apply(Yt,We)),Ne||(We=Yt=null))},Pr=O(function(Bn){return Yt=this,We=Bn,Ue=Kr(),Ne||(Ne=setTimeout(Fr,se),xe&&(Tt=X.apply(Yt,We))),Tt});return Pr.cancel=function(){clearTimeout(Ne),Ne=We=Yt=null},Pr}function Ia(X,se){return zt(se,X)}function ri(X){return function(){return!X.apply(this,arguments)}}function ga(){var X=arguments,se=X.length-1;return function(){for(var xe=se,Ne=X[se].apply(this,arguments);xe--;)Ne=X[xe].call(this,Ne);return Ne}}function Pa(X,se){return function(){if(--X<1)return se.apply(this,arguments)}}function sn(X,se){var xe;return function(){return--X>0&&(xe=se.apply(this,arguments)),X<=1&&(se=null),xe}}var Wi=zt(sn,2);function fo(X,se,xe){se=ct(se,xe);for(var Ne=qe(X),Ue,We=0,Tt=Ne.length;We<Tt;We++)if(Ue=Ne[We],se(X[Ue],Ue,X))return Ue}function ho(X){return function(se,xe,Ne){xe=ct(xe,Ne);for(var Ue=Te(se),We=X>0?0:Ue-1;We>=0&&We<Ue;We+=X)if(xe(se[We],We,se))return We;return-1}}var Li=ho(1),os=ho(-1);function ka(X,se,xe,Ne){xe=ct(xe,Ne,1);for(var Ue=xe(se),We=0,Tt=Te(X);We<Tt;){var Yt=Math.floor((We+Tt)/2);xe(X[Yt])<Ue?We=Yt+1:Tt=Yt}return We}function jo(X,se,xe){return function(Ne,Ue,We){var Tt=0,Yt=Te(Ne);if(typeof We=="number")X>0?Tt=We>=0?We:Math.max(We+Yt,Tt):Yt=We>=0?Math.min(We+1,Yt):We+Yt+1;else if(xe&&We&&Yt)return We=xe(Ne,Ue),Ne[We]===Ue?We:-1;if(Ue!==Ue)return We=se(u.call(Ne,Tt,Yt),pe),We>=0?We+Tt:-1;for(We=X>0?Tt:Yt-1;We>=0&&We<Yt;We+=X)if(Ne[We]===Ue)return We;return-1}}var ss=jo(1,Li,ka),Ws=jo(-1,os);function Da(X,se,xe){var Ne=yr(X)?Li:fo,Ue=Ne(X,se,xe);if(Ue!==void 0&&Ue!==-1)return X[Ue]}function Ha(X,se){return Da(X,xt(se))}function bi(X,se,xe){se=ye(se,xe);var Ne,Ue;if(yr(X))for(Ne=0,Ue=X.length;Ne<Ue;Ne++)se(X[Ne],Ne,X);else{var We=qe(X);for(Ne=0,Ue=We.length;Ne<Ue;Ne++)se(X[We[Ne]],We[Ne],X)}return X}function Gi(X,se,xe){se=ct(se,xe);for(var Ne=!yr(X)&&qe(X),Ue=(Ne||X).length,We=Array(Ue),Tt=0;Tt<Ue;Tt++){var Yt=Ne?Ne[Tt]:Tt;We[Tt]=se(X[Yt],Yt,X)}return We}function Gs(X){var se=function(xe,Ne,Ue,We){var Tt=!yr(xe)&&qe(xe),Yt=(Tt||xe).length,Fr=X>0?0:Yt-1;for(We||(Ue=xe[Tt?Tt[Fr]:Fr],Fr+=X);Fr>=0&&Fr<Yt;Fr+=X){var Pr=Tt?Tt[Fr]:Fr;Ue=Ne(Ue,xe[Pr],Pr,xe)}return Ue};return function(xe,Ne,Ue,We){var Tt=arguments.length>=3;return se(xe,ye(Ne,We,4),Ue,Tt)}}var po=Gs(1),vo=Gs(-1);function Ki(X,se,xe){var Ne=[];return se=ct(se,xe),bi(X,function(Ue,We,Tt){se(Ue,We,Tt)&&Ne.push(Ue)}),Ne}function us(X,se,xe){return Ki(X,ri(ct(se)),xe)}function Ks(X,se,xe){se=ct(se,xe);for(var Ne=!yr(X)&&qe(X),Ue=(Ne||X).length,We=0;We<Ue;We++){var Tt=Ne?Ne[We]:We;if(!se(X[Tt],Tt,X))return!1}return!0}function vi(X,se,xe){se=ct(se,xe);for(var Ne=!yr(X)&&qe(X),Ue=(Ne||X).length,We=0;We<Ue;We++){var Tt=Ne?Ne[We]:We;if(se(X[Tt],Tt,X))return!0}return!1}function Yi(X,se,xe,Ne){return yr(X)||(X=en(X)),(typeof xe!="number"||Ne)&&(xe=0),ss(X,se,xe)>=0}var za=O(function(X,se,xe){var Ne,Ue;return we(se)?Ue=se:(se=li(se),Ne=se.slice(0,-1),se=se[se.length-1]),Gi(X,function(We){var Tt=Ue;if(!Tt){if(Ne&&Ne.length&&(We=it(We,Ne)),We==null)return;Tt=We[se]}return Tt==null?Tt:Tt.apply(We,xe)})});function go(X,se){return Gi(X,fr(se))}function Wa(X,se){return Ki(X,xt(se))}function Ga(X,se,xe){var Ne=-1/0,Ue=-1/0,We,Tt;if(se==null||typeof se=="number"&&typeof X[0]!="object"&&X!=null){X=yr(X)?X:en(X);for(var Yt=0,Fr=X.length;Yt<Fr;Yt++)We=X[Yt],We!=null&&We>Ne&&(Ne=We)}else se=ct(se,xe),bi(X,function(Pr,Bn,ni){Tt=se(Pr,Bn,ni),(Tt>Ue||Tt===-1/0&&Ne===-1/0)&&(Ne=Pr,Ue=Tt)});return Ne}function g(X,se,xe){var Ne=1/0,Ue=1/0,We,Tt;if(se==null||typeof se=="number"&&typeof X[0]!="object"&&X!=null){X=yr(X)?X:en(X);for(var Yt=0,Fr=X.length;Yt<Fr;Yt++)We=X[Yt],We!=null&&We<Ne&&(Ne=We)}else se=ct(se,xe),bi(X,function(Pr,Bn,ni){Tt=se(Pr,Bn,ni),(Tt<Ue||Tt===1/0&&Ne===1/0)&&(Ne=Pr,Ue=Tt)});return Ne}var A=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function P(X){return X?N(X)?u.call(X):Y(X)?X.match(A):yr(X)?Gi(X,Ge):en(X):[]}function j(X,se,xe){if(se==null||xe)return yr(X)||(X=en(X)),X[Wr(X.length-1)];var Ne=P(X),Ue=Te(Ne);se=Math.max(Math.min(se,Ue),0);for(var We=Ue-1,Tt=0;Tt<se;Tt++){var Yt=Wr(Tt,We),Fr=Ne[Tt];Ne[Tt]=Ne[Yt],Ne[Yt]=Fr}return Ne.slice(0,se)}function ee(X){return j(X,1/0)}function ne(X,se,xe){var Ne=0;return se=ct(se,xe),go(Gi(X,function(Ue,We,Tt){return{value:Ue,index:Ne++,criteria:se(Ue,We,Tt)}}).sort(function(Ue,We){var Tt=Ue.criteria,Yt=We.criteria;if(Tt!==Yt){if(Tt>Yt||Tt===void 0)return 1;if(Tt<Yt||Yt===void 0)return-1}return Ue.index-We.index}),"value")}function oe(X,se){return function(xe,Ne,Ue){var We=se?[[],[]]:{};return Ne=ct(Ne,Ue),bi(xe,function(Tt,Yt){var Fr=Ne(Tt,Yt,xe);X(We,Tt,Fr)}),We}}var $e=oe(function(X,se,xe){M(X,xe)?X[xe].push(se):X[xe]=[se]}),Ie=oe(function(X,se,xe){X[xe]=se}),ze=oe(function(X,se,xe){M(X,xe)?X[xe]++:X[xe]=1}),St=oe(function(X,se,xe){X[xe?0:1].push(se)},!0);function Rt(X){return X==null?0:yr(X)?X.length:qe(X).length}function ot(X,se,xe){return se in xe}var qt=O(function(X,se){var xe={},Ne=se[0];if(X==null)return xe;we(Ne)?(se.length>1&&(Ne=ye(Ne,se[1])),se=ft(X)):(Ne=ot,se=Tr(se,!1,!1),X=Object(X));for(var Ue=0,We=se.length;Ue<We;Ue++){var Tt=se[Ue],Yt=X[Tt];Ne(Yt,Tt,X)&&(xe[Tt]=Yt)}return xe}),Er=O(function(X,se){var xe=se[0],Ne;return we(xe)?(xe=ri(xe),se.length>1&&(Ne=se[1])):(se=Gi(Tr(se,!1,!1),String),xe=function(Ue,We){return!Yi(se,We)}),qt(X,xe,Ne)});function Yr(X,se,xe){return u.call(X,0,Math.max(0,X.length-(se==null||xe?1:se)))}function Nr(X,se,xe){return X==null||X.length<1?se==null||xe?void 0:[]:se==null||xe?X[0]:Yr(X,X.length-se)}function qn(X,se,xe){return u.call(X,se==null||xe?1:se)}function Jn(X,se,xe){return X==null||X.length<1?se==null||xe?void 0:[]:se==null||xe?X[X.length-1]:qn(X,Math.max(0,X.length-se))}function F(X){return Ki(X,Boolean)}function te(X,se){return Tr(X,se,!1)}var le=O(function(X,se){return se=Tr(se,!0,!0),Ki(X,function(xe){return!Yi(se,xe)})}),Le=O(function(X,se){return le(X,se)});function Ye(X,se,xe,Ne){K(se)||(Ne=xe,xe=se,se=!1),xe!=null&&(xe=ct(xe,Ne));for(var Ue=[],We=[],Tt=0,Yt=Te(X);Tt<Yt;Tt++){var Fr=X[Tt],Pr=xe?xe(Fr,Tt,X):Fr;se&&!xe?((!Tt||We!==Pr)&&Ue.push(Fr),We=Pr):xe?Yi(We,Pr)||(We.push(Pr),Ue.push(Fr)):Yi(Ue,Fr)||Ue.push(Fr)}return Ue}var Qe=O(function(X){return Ye(Tr(X,!0,!0))});function It(X){for(var se=[],xe=arguments.length,Ne=0,Ue=Te(X);Ne<Ue;Ne++){var We=X[Ne];if(!Yi(se,We)){var Tt;for(Tt=1;Tt<xe&&Yi(arguments[Tt],We);Tt++);Tt===xe&&se.push(We)}}return se}function Wt(X){for(var se=X&&Ga(X,Te).length||0,xe=Array(se),Ne=0;Ne<se;Ne++)xe[Ne]=go(X,Ne);return xe}var hr=O(Wt);function $r(X,se){for(var xe={},Ne=0,Ue=Te(X);Ne<Ue;Ne++)se?xe[X[Ne]]=se[Ne]:xe[X[Ne][0]]=X[Ne][1];return xe}function Sr(X,se,xe){se==null&&(se=X||0,X=0),xe||(xe=se<X?-1:1);for(var Ne=Math.max(Math.ceil((se-X)/xe),0),Ue=Array(Ne),We=0;We<Ne;We++,X+=xe)Ue[We]=X;return Ue}function Tn(X,se){if(se==null||se<1)return[];for(var xe=[],Ne=0,Ue=X.length;Ne<Ue;)xe.push(u.call(X,Ne,Ne+=se));return xe}function Yn(X,se){return X._chain?Mt(se).chain():se}function On(X){return bi(vn(X),function(se){var xe=Mt[se]=X[se];Mt.prototype[se]=function(){var Ne=[this._wrapped];return l.apply(Ne,arguments),Yn(this,xe.apply(Mt,Ne))}}),Mt}bi(["pop","push","reverse","shift","sort","splice","unshift"],function(X){var se=i[X];Mt.prototype[X]=function(){var xe=this._wrapped;return xe!=null&&(se.apply(xe,arguments),(X==="shift"||X==="splice")&&xe.length===0&&delete xe[0]),Yn(this,xe)}}),bi(["concat","join","slice"],function(X){var se=i[X];Mt.prototype[X]=function(){var xe=this._wrapped;return xe!=null&&(xe=se.apply(xe,arguments)),Yn(this,xe)}});var yl={__proto__:null,VERSION:r,restArguments:O,isObject:m,isNull:D,isUndefined:U,isBoolean:K,isElement:B,isString:Y,isNumber:Q,isDate:ie,isRegExp:ae,isError:ve,isSymbol:H,isArrayBuffer:J,isDataView:I,isArray:N,isFunction:we,isArguments:L,isFinite:G,isNaN:pe,isTypedArray:ge,isEmpty:_t,isMatch:Ut,isEqual:At,isMap:pr,isWeakMap:ar,isSet:dr,isWeakSet:xr,keys:qe,allKeys:ft,values:en,pairs:Qn,invert:wn,functions:vn,methods:vn,extend:jn,extendOwn:Un,assign:Un,defaults:ui,create:xi,clone:bn,tap:Gn,get:$t,has:vt,mapObject:kt,identity:Ge,constant:fe,noop:dt,toPath:di,property:fr,propertyOf:Gt,matcher:xt,matches:xt,times:Cr,random:Wr,now:Kr,escape:Vr,unescape:Kn,templateSettings:zi,template:re,result:Ee,uniqueId:ht,chain:et,iteratee:tt,partial:zt,bind:Qt,bindAll:Cn,memoize:hi,delay:pi,defer:$o,throttle:bs,debounce:Fo,wrap:Ia,negate:ri,compose:ga,after:Pa,before:sn,once:Wi,findKey:fo,findIndex:Li,findLastIndex:os,sortedIndex:ka,indexOf:ss,lastIndexOf:Ws,find:Da,detect:Da,findWhere:Ha,each:bi,forEach:bi,map:Gi,collect:Gi,reduce:po,foldl:po,inject:po,reduceRight:vo,foldr:vo,filter:Ki,select:Ki,reject:us,every:Ks,all:Ks,some:vi,any:vi,contains:Yi,includes:Yi,include:Yi,invoke:za,pluck:go,where:Wa,max:Ga,min:g,shuffle:ee,sample:j,sortBy:ne,groupBy:$e,indexBy:Ie,countBy:ze,partition:St,toArray:P,size:Rt,pick:qt,omit:Er,first:Nr,head:Nr,take:Nr,initial:Yr,last:Jn,rest:qn,tail:qn,drop:qn,compact:F,flatten:te,without:Le,uniq:Ye,unique:Ye,union:Qe,intersection:It,difference:le,unzip:Wt,transpose:Wt,zip:hr,object:$r,range:Sr,chunk:Tn,mixin:On,default:Mt},La=On(yl);return La._=La,La}))})(zv)),zv.exports}var ab={},Wv={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 vge=Wv.exports,wz;function jJ(){return wz||(wz=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:vge,function(t,r){var n=[],i=Object.getPrototypeOf,a=n.slice,o=n.flat?function(g){return n.flat.call(g)}:function(g){return n.concat.apply([],g)},l=n.push,u=n.indexOf,f={},d=f.toString,h=f.hasOwnProperty,p=h.toString,y=p.call(Object),_={},E=function(A){return typeof A=="function"&&typeof A.nodeType!="number"&&typeof A.item!="function"},S=function(A){return A!=null&&A===A.window},w=t.document,T={type:!0,src:!0,nonce:!0,noModule:!0};function C(g,A,P){P=P||w;var j,ee,ne=P.createElement("script");if(ne.text=g,A)for(j in T)ee=A[j]||A.getAttribute&&A.getAttribute(j),ee&&ne.setAttribute(j,ee);P.head.appendChild(ne).parentNode.removeChild(ne)}function x(g){return g==null?g+"":typeof g=="object"||typeof g=="function"?f[d.call(g)]||"object":typeof g}var R="3.7.1",O=/HTML$/i,m=function(g,A){return new m.fn.init(g,A)};m.fn=m.prototype={jquery:R,constructor:m,length:0,toArray:function(){return a.call(this)},get:function(g){return g==null?a.call(this):g<0?this[g+this.length]:this[g]},pushStack:function(g){var A=m.merge(this.constructor(),g);return A.prevObject=this,A},each:function(g){return m.each(this,g)},map:function(g){return this.pushStack(m.map(this,function(A,P){return g.call(A,P,A)}))},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(m.grep(this,function(g,A){return(A+1)%2}))},odd:function(){return this.pushStack(m.grep(this,function(g,A){return A%2}))},eq:function(g){var A=this.length,P=+g+(g<0?A:0);return this.pushStack(P>=0&&P<A?[this[P]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:n.sort,splice:n.splice},m.extend=m.fn.extend=function(){var g,A,P,j,ee,ne,oe=arguments[0]||{},$e=1,Ie=arguments.length,ze=!1;for(typeof oe=="boolean"&&(ze=oe,oe=arguments[$e]||{},$e++),typeof oe!="object"&&!E(oe)&&(oe={}),$e===Ie&&(oe=this,$e--);$e<Ie;$e++)if((g=arguments[$e])!=null)for(A in g)j=g[A],!(A==="__proto__"||oe===j)&&(ze&&j&&(m.isPlainObject(j)||(ee=Array.isArray(j)))?(P=oe[A],ee&&!Array.isArray(P)?ne=[]:!ee&&!m.isPlainObject(P)?ne={}:ne=P,ee=!1,oe[A]=m.extend(ze,ne,j)):j!==void 0&&(oe[A]=j));return oe},m.extend({expando:"jQuery"+(R+Math.random()).replace(/\D/g,""),isReady:!0,error:function(g){throw new Error(g)},noop:function(){},isPlainObject:function(g){var A,P;return!g||d.call(g)!=="[object Object]"?!1:(A=i(g),A?(P=h.call(A,"constructor")&&A.constructor,typeof P=="function"&&p.call(P)===y):!0)},isEmptyObject:function(g){var A;for(A in g)return!1;return!0},globalEval:function(g,A,P){C(g,{nonce:A&&A.nonce},P)},each:function(g,A){var P,j=0;if(D(g))for(P=g.length;j<P&&A.call(g[j],j,g[j])!==!1;j++);else for(j in g)if(A.call(g[j],j,g[j])===!1)break;return g},text:function(g){var A,P="",j=0,ee=g.nodeType;if(!ee)for(;A=g[j++];)P+=m.text(A);return ee===1||ee===11?g.textContent:ee===9?g.documentElement.textContent:ee===3||ee===4?g.nodeValue:P},makeArray:function(g,A){var P=A||[];return g!=null&&(D(Object(g))?m.merge(P,typeof g=="string"?[g]:g):l.call(P,g)),P},inArray:function(g,A,P){return A==null?-1:u.call(A,g,P)},isXMLDoc:function(g){var A=g&&g.namespaceURI,P=g&&(g.ownerDocument||g).documentElement;return!O.test(A||P&&P.nodeName||"HTML")},merge:function(g,A){for(var P=+A.length,j=0,ee=g.length;j<P;j++)g[ee++]=A[j];return g.length=ee,g},grep:function(g,A,P){for(var j,ee=[],ne=0,oe=g.length,$e=!P;ne<oe;ne++)j=!A(g[ne],ne),j!==$e&&ee.push(g[ne]);return ee},map:function(g,A,P){var j,ee,ne=0,oe=[];if(D(g))for(j=g.length;ne<j;ne++)ee=A(g[ne],ne,P),ee!=null&&oe.push(ee);else for(ne in g)ee=A(g[ne],ne,P),ee!=null&&oe.push(ee);return o(oe)},guid:1,support:_}),typeof Symbol=="function"&&(m.fn[Symbol.iterator]=n[Symbol.iterator]),m.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(g,A){f["[object "+A+"]"]=A.toLowerCase()});function D(g){var A=!!g&&"length"in g&&g.length,P=x(g);return E(g)||S(g)?!1:P==="array"||A===0||typeof A=="number"&&A>0&&A-1 in g}function U(g,A){return g.nodeName&&g.nodeName.toLowerCase()===A.toLowerCase()}var K=n.pop,B=n.sort,W=n.splice,Y="[\\x20\\t\\r\\n\\f]",Q=new RegExp("^"+Y+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Y+"+$","g");m.contains=function(g,A){var P=A&&A.parentNode;return g===P||!!(P&&P.nodeType===1&&(g.contains?g.contains(P):g.compareDocumentPosition&&g.compareDocumentPosition(P)&16))};var ie=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function ae(g,A){return A?g==="\0"?"�":g.slice(0,-1)+"\\"+g.charCodeAt(g.length-1).toString(16)+" ":"\\"+g}m.escapeSelector=function(g){return(g+"").replace(ie,ae)};var ve=w,H=l;(function(){var g,A,P,j,ee,ne=H,oe,$e,Ie,ze,St,Rt=m.expando,ot=0,qt=0,Er=We(),Yr=We(),Nr=We(),qn=We(),Jn=function(Re,He){return Re===He&&(ee=!0),0},F="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",te="(?:\\\\[\\da-fA-F]{1,6}"+Y+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",le="\\["+Y+"*("+te+")(?:"+Y+"*([*^$|!~]?=)"+Y+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+te+"))|)"+Y+"*\\]",Le=":("+te+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+le+")*)|.*)\\)|)",Ye=new RegExp(Y+"+","g"),Qe=new RegExp("^"+Y+"*,"+Y+"*"),It=new RegExp("^"+Y+"*([>+~]|"+Y+")"+Y+"*"),Wt=new RegExp(Y+"|>"),hr=new RegExp(Le),$r=new RegExp("^"+te+"$"),Sr={ID:new RegExp("^#("+te+")"),CLASS:new RegExp("^\\.("+te+")"),TAG:new RegExp("^("+te+"|[*])"),ATTR:new RegExp("^"+le),PSEUDO:new RegExp("^"+Le),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("^(?:"+F+")$","i"),needsContext:new RegExp("^"+Y+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Y+"*((?:-\\d)?\\d*)"+Y+"*\\)|)(?=[^-]|$)","i")},Tn=/^(?:input|select|textarea|button)$/i,Yn=/^h\d$/i,On=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,yl=/[+~]/,La=new RegExp("\\\\[\\da-fA-F]{1,6}"+Y+"?|\\\\([^\\r\\n\\f])","g"),X=function(Re,He){var st="0x"+Re.slice(1)-65536;return He||(st<0?String.fromCharCode(st+65536):String.fromCharCode(st>>10|55296,st&1023|56320))},se=function(){mo()},xe=As(function(Re){return Re.disabled===!0&&U(Re,"fieldset")},{dir:"parentNode",next:"legend"});function Ne(){try{return oe.activeElement}catch{}}try{ne.apply(n=a.call(ve.childNodes),ve.childNodes),n[ve.childNodes.length].nodeType}catch{ne={apply:function(He,st){H.apply(He,a.call(st))},call:function(He){H.apply(He,a.call(arguments,1))}}}function Ue(Re,He,st,yt){var Pt,Jt,er,sr,ir,Zr,kr,jr=He&&He.ownerDocument,Qr=He?He.nodeType:9;if(st=st||[],typeof Re!="string"||!Re||Qr!==1&&Qr!==9&&Qr!==11)return st;if(!yt&&(mo(He),He=He||oe,Ie)){if(Qr!==11&&(ir=On.exec(Re)))if(Pt=ir[1]){if(Qr===9)if(er=He.getElementById(Pt)){if(er.id===Pt)return ne.call(st,er),st}else return st;else if(jr&&(er=jr.getElementById(Pt))&&Ue.contains(He,er)&&er.id===Pt)return ne.call(st,er),st}else{if(ir[2])return ne.apply(st,He.getElementsByTagName(Re)),st;if((Pt=ir[3])&&He.getElementsByClassName)return ne.apply(st,He.getElementsByClassName(Pt)),st}if(!qn[Re+" "]&&(!ze||!ze.test(Re))){if(kr=Re,jr=He,Qr===1&&(Wt.test(Re)||It.test(Re))){for(jr=yl.test(Re)&&Cu(He.parentNode)||He,(jr!=He||!_.scope)&&((sr=He.getAttribute("id"))?sr=m.escapeSelector(sr):He.setAttribute("id",sr=Rt)),Zr=Ou(Re),Jt=Zr.length;Jt--;)Zr[Jt]=(sr?"#"+sr:":scope")+" "+Ts(Zr[Jt]);kr=Zr.join(",")}try{return ne.apply(st,jr.querySelectorAll(kr)),st}catch{qn(Re,!0)}finally{sr===Rt&&He.removeAttribute("id")}}}return _d(Re.replace(Q,"$1"),He,st,yt)}function We(){var Re=[];function He(st,yt){return Re.push(st+" ")>A.cacheLength&&delete He[Re.shift()],He[st+" "]=yt}return He}function Tt(Re){return Re[Rt]=!0,Re}function Yt(Re){var He=oe.createElement("fieldset");try{return!!Re(He)}catch{return!1}finally{He.parentNode&&He.parentNode.removeChild(He),He=null}}function Fr(Re){return function(He){return U(He,"input")&&He.type===Re}}function Pr(Re){return function(He){return(U(He,"input")||U(He,"button"))&&He.type===Re}}function Bn(Re){return function(He){return"form"in He?He.parentNode&&He.disabled===!1?"label"in He?"label"in He.parentNode?He.parentNode.disabled===Re:He.disabled===Re:He.isDisabled===Re||He.isDisabled!==!Re&&xe(He)===Re:He.disabled===Re:"label"in He?He.disabled===Re:!1}}function ni(Re){return Tt(function(He){return He=+He,Tt(function(st,yt){for(var Pt,Jt=Re([],st.length,He),er=Jt.length;er--;)st[Pt=Jt[er]]&&(st[Pt]=!(yt[Pt]=st[Pt]))})})}function Cu(Re){return Re&&typeof Re.getElementsByTagName<"u"&&Re}function mo(Re){var He,st=Re?Re.ownerDocument||Re:ve;return st==oe||st.nodeType!==9||!st.documentElement||(oe=st,$e=oe.documentElement,Ie=!m.isXMLDoc(oe),St=$e.matches||$e.webkitMatchesSelector||$e.msMatchesSelector,$e.msMatchesSelector&&ve!=oe&&(He=oe.defaultView)&&He.top!==He&&He.addEventListener("unload",se),_.getById=Yt(function(yt){return $e.appendChild(yt).id=m.expando,!oe.getElementsByName||!oe.getElementsByName(m.expando).length}),_.disconnectedMatch=Yt(function(yt){return St.call(yt,"*")}),_.scope=Yt(function(){return oe.querySelectorAll(":scope")}),_.cssHas=Yt(function(){try{return oe.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),_.getById?(A.filter.ID=function(yt){var Pt=yt.replace(La,X);return function(Jt){return Jt.getAttribute("id")===Pt}},A.find.ID=function(yt,Pt){if(typeof Pt.getElementById<"u"&&Ie){var Jt=Pt.getElementById(yt);return Jt?[Jt]:[]}}):(A.filter.ID=function(yt){var Pt=yt.replace(La,X);return function(Jt){var er=typeof Jt.getAttributeNode<"u"&&Jt.getAttributeNode("id");return er&&er.value===Pt}},A.find.ID=function(yt,Pt){if(typeof Pt.getElementById<"u"&&Ie){var Jt,er,sr,ir=Pt.getElementById(yt);if(ir){if(Jt=ir.getAttributeNode("id"),Jt&&Jt.value===yt)return[ir];for(sr=Pt.getElementsByName(yt),er=0;ir=sr[er++];)if(Jt=ir.getAttributeNode("id"),Jt&&Jt.value===yt)return[ir]}return[]}}),A.find.TAG=function(yt,Pt){return typeof Pt.getElementsByTagName<"u"?Pt.getElementsByTagName(yt):Pt.querySelectorAll(yt)},A.find.CLASS=function(yt,Pt){if(typeof Pt.getElementsByClassName<"u"&&Ie)return Pt.getElementsByClassName(yt)},ze=[],Yt(function(yt){var Pt;$e.appendChild(yt).innerHTML="<a id='"+Rt+"' href='' disabled='disabled'></a><select id='"+Rt+"-\r\\' disabled='disabled'><option selected=''></option></select>",yt.querySelectorAll("[selected]").length||ze.push("\\["+Y+"*(?:value|"+F+")"),yt.querySelectorAll("[id~="+Rt+"-]").length||ze.push("~="),yt.querySelectorAll("a#"+Rt+"+*").length||ze.push(".#.+[+~]"),yt.querySelectorAll(":checked").length||ze.push(":checked"),Pt=oe.createElement("input"),Pt.setAttribute("type","hidden"),yt.appendChild(Pt).setAttribute("name","D"),$e.appendChild(yt).disabled=!0,yt.querySelectorAll(":disabled").length!==2&&ze.push(":enabled",":disabled"),Pt=oe.createElement("input"),Pt.setAttribute("name",""),yt.appendChild(Pt),yt.querySelectorAll("[name='']").length||ze.push("\\["+Y+"*name"+Y+"*="+Y+`*(?:''|"")`)}),_.cssHas||ze.push(":has"),ze=ze.length&&new RegExp(ze.join("|")),Jn=function(yt,Pt){if(yt===Pt)return ee=!0,0;var Jt=!yt.compareDocumentPosition-!Pt.compareDocumentPosition;return Jt||(Jt=(yt.ownerDocument||yt)==(Pt.ownerDocument||Pt)?yt.compareDocumentPosition(Pt):1,Jt&1||!_.sortDetached&&Pt.compareDocumentPosition(yt)===Jt?yt===oe||yt.ownerDocument==ve&&Ue.contains(ve,yt)?-1:Pt===oe||Pt.ownerDocument==ve&&Ue.contains(ve,Pt)?1:j?u.call(j,yt)-u.call(j,Pt):0:Jt&4?-1:1)}),oe}Ue.matches=function(Re,He){return Ue(Re,null,null,He)},Ue.matchesSelector=function(Re,He){if(mo(Re),Ie&&!qn[He+" "]&&(!ze||!ze.test(He)))try{var st=St.call(Re,He);if(st||_.disconnectedMatch||Re.document&&Re.document.nodeType!==11)return st}catch{qn(He,!0)}return Ue(He,oe,null,[Re]).length>0},Ue.contains=function(Re,He){return(Re.ownerDocument||Re)!=oe&&mo(Re),m.contains(Re,He)},Ue.attr=function(Re,He){(Re.ownerDocument||Re)!=oe&&mo(Re);var st=A.attrHandle[He.toLowerCase()],yt=st&&h.call(A.attrHandle,He.toLowerCase())?st(Re,He,!Ie):void 0;return yt!==void 0?yt:Re.getAttribute(He)},Ue.error=function(Re){throw new Error("Syntax error, unrecognized expression: "+Re)},m.uniqueSort=function(Re){var He,st=[],yt=0,Pt=0;if(ee=!_.sortStable,j=!_.sortStable&&a.call(Re,0),B.call(Re,Jn),ee){for(;He=Re[Pt++];)He===Re[Pt]&&(yt=st.push(Pt));for(;yt--;)W.call(Re,st[yt],1)}return j=null,Re},m.fn.uniqueSort=function(){return this.pushStack(m.uniqueSort(a.apply(this)))},A=m.expr={cacheLength:50,createPseudo:Tt,match:Sr,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(Re){return Re[1]=Re[1].replace(La,X),Re[3]=(Re[3]||Re[4]||Re[5]||"").replace(La,X),Re[2]==="~="&&(Re[3]=" "+Re[3]+" "),Re.slice(0,4)},CHILD:function(Re){return Re[1]=Re[1].toLowerCase(),Re[1].slice(0,3)==="nth"?(Re[3]||Ue.error(Re[0]),Re[4]=+(Re[4]?Re[5]+(Re[6]||1):2*(Re[3]==="even"||Re[3]==="odd")),Re[5]=+(Re[7]+Re[8]||Re[3]==="odd")):Re[3]&&Ue.error(Re[0]),Re},PSEUDO:function(Re){var He,st=!Re[6]&&Re[2];return Sr.CHILD.test(Re[0])?null:(Re[3]?Re[2]=Re[4]||Re[5]||"":st&&hr.test(st)&&(He=Ou(st,!0))&&(He=st.indexOf(")",st.length-He)-st.length)&&(Re[0]=Re[0].slice(0,He),Re[2]=st.slice(0,He)),Re.slice(0,3))}},filter:{TAG:function(Re){var He=Re.replace(La,X).toLowerCase();return Re==="*"?function(){return!0}:function(st){return U(st,He)}},CLASS:function(Re){var He=Er[Re+" "];return He||(He=new RegExp("(^|"+Y+")"+Re+"("+Y+"|$)"))&&Er(Re,function(st){return He.test(typeof st.className=="string"&&st.className||typeof st.getAttribute<"u"&&st.getAttribute("class")||"")})},ATTR:function(Re,He,st){return function(yt){var Pt=Ue.attr(yt,Re);return Pt==null?He==="!=":He?(Pt+="",He==="="?Pt===st:He==="!="?Pt!==st:He==="^="?st&&Pt.indexOf(st)===0:He==="*="?st&&Pt.indexOf(st)>-1:He==="$="?st&&Pt.slice(-st.length)===st:He==="~="?(" "+Pt.replace(Ye," ")+" ").indexOf(st)>-1:He==="|="?Pt===st||Pt.slice(0,st.length+1)===st+"-":!1):!0}},CHILD:function(Re,He,st,yt,Pt){var Jt=Re.slice(0,3)!=="nth",er=Re.slice(-4)!=="last",sr=He==="of-type";return yt===1&&Pt===0?(function(ir){return!!ir.parentNode}):function(ir,Zr,kr){var jr,Qr,br,Vn,Oi,Ni=Jt!==er?"nextSibling":"previousSibling",Xi=ir.parentNode,Ka=sr&&ir.nodeName.toLowerCase(),Ys=!kr&&!sr,Mi=!1;if(Xi){if(Jt){for(;Ni;){for(br=ir;br=br[Ni];)if(sr?U(br,Ka):br.nodeType===1)return!1;Oi=Ni=Re==="only"&&!Oi&&"nextSibling"}return!0}if(Oi=[er?Xi.firstChild:Xi.lastChild],er&&Ys){for(Qr=Xi[Rt]||(Xi[Rt]={}),jr=Qr[Re]||[],Vn=jr[0]===ot&&jr[1],Mi=Vn&&jr[2],br=Vn&&Xi.childNodes[Vn];br=++Vn&&br&&br[Ni]||(Mi=Vn=0)||Oi.pop();)if(br.nodeType===1&&++Mi&&br===ir){Qr[Re]=[ot,Vn,Mi];break}}else if(Ys&&(Qr=ir[Rt]||(ir[Rt]={}),jr=Qr[Re]||[],Vn=jr[0]===ot&&jr[1],Mi=Vn),Mi===!1)for(;(br=++Vn&&br&&br[Ni]||(Mi=Vn=0)||Oi.pop())&&!((sr?U(br,Ka):br.nodeType===1)&&++Mi&&(Ys&&(Qr=br[Rt]||(br[Rt]={}),Qr[Re]=[ot,Mi]),br===ir)););return Mi-=Pt,Mi===yt||Mi%yt===0&&Mi/yt>=0}}},PSEUDO:function(Re,He){var st,yt=A.pseudos[Re]||A.setFilters[Re.toLowerCase()]||Ue.error("unsupported pseudo: "+Re);return yt[Rt]?yt(He):yt.length>1?(st=[Re,Re,"",He],A.setFilters.hasOwnProperty(Re.toLowerCase())?Tt(function(Pt,Jt){for(var er,sr=yt(Pt,He),ir=sr.length;ir--;)er=u.call(Pt,sr[ir]),Pt[er]=!(Jt[er]=sr[ir])}):function(Pt){return yt(Pt,0,st)}):yt}},pseudos:{not:Tt(function(Re){var He=[],st=[],yt=Uc(Re.replace(Q,"$1"));return yt[Rt]?Tt(function(Pt,Jt,er,sr){for(var ir,Zr=yt(Pt,null,sr,[]),kr=Pt.length;kr--;)(ir=Zr[kr])&&(Pt[kr]=!(Jt[kr]=ir))}):function(Pt,Jt,er){return He[0]=Pt,yt(He,null,er,st),He[0]=null,!st.pop()}}),has:Tt(function(Re){return function(He){return Ue(Re,He).length>0}}),contains:Tt(function(Re){return Re=Re.replace(La,X),function(He){return(He.textContent||m.text(He)).indexOf(Re)>-1}}),lang:Tt(function(Re){return $r.test(Re||"")||Ue.error("unsupported lang: "+Re),Re=Re.replace(La,X).toLowerCase(),function(He){var st;do if(st=Ie?He.lang:He.getAttribute("xml:lang")||He.getAttribute("lang"))return st=st.toLowerCase(),st===Re||st.indexOf(Re+"-")===0;while((He=He.parentNode)&&He.nodeType===1);return!1}}),target:function(Re){var He=t.location&&t.location.hash;return He&&He.slice(1)===Re.id},root:function(Re){return Re===$e},focus:function(Re){return Re===Ne()&&oe.hasFocus()&&!!(Re.type||Re.href||~Re.tabIndex)},enabled:Bn(!1),disabled:Bn(!0),checked:function(Re){return U(Re,"input")&&!!Re.checked||U(Re,"option")&&!!Re.selected},selected:function(Re){return Re.parentNode&&Re.parentNode.selectedIndex,Re.selected===!0},empty:function(Re){for(Re=Re.firstChild;Re;Re=Re.nextSibling)if(Re.nodeType<6)return!1;return!0},parent:function(Re){return!A.pseudos.empty(Re)},header:function(Re){return Yn.test(Re.nodeName)},input:function(Re){return Tn.test(Re.nodeName)},button:function(Re){return U(Re,"input")&&Re.type==="button"||U(Re,"button")},text:function(Re){var He;return U(Re,"input")&&Re.type==="text"&&((He=Re.getAttribute("type"))==null||He.toLowerCase()==="text")},first:ni(function(){return[0]}),last:ni(function(Re,He){return[He-1]}),eq:ni(function(Re,He,st){return[st<0?st+He:st]}),even:ni(function(Re,He){for(var st=0;st<He;st+=2)Re.push(st);return Re}),odd:ni(function(Re,He){for(var st=1;st<He;st+=2)Re.push(st);return Re}),lt:ni(function(Re,He,st){var yt;for(st<0?yt=st+He:st>He?yt=He:yt=st;--yt>=0;)Re.push(yt);return Re}),gt:ni(function(Re,He,st){for(var yt=st<0?st+He:st;++yt<He;)Re.push(yt);return Re})}},A.pseudos.nth=A.pseudos.eq;for(g in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})A.pseudos[g]=Fr(g);for(g in{submit:!0,reset:!0})A.pseudos[g]=Pr(g);function gd(){}gd.prototype=A.filters=A.pseudos,A.setFilters=new gd;function Ou(Re,He){var st,yt,Pt,Jt,er,sr,ir,Zr=Yr[Re+" "];if(Zr)return He?0:Zr.slice(0);for(er=Re,sr=[],ir=A.preFilter;er;){(!st||(yt=Qe.exec(er)))&&(yt&&(er=er.slice(yt[0].length)||er),sr.push(Pt=[])),st=!1,(yt=It.exec(er))&&(st=yt.shift(),Pt.push({value:st,type:yt[0].replace(Q," ")}),er=er.slice(st.length));for(Jt in A.filter)(yt=Sr[Jt].exec(er))&&(!ir[Jt]||(yt=ir[Jt](yt)))&&(st=yt.shift(),Pt.push({value:st,type:Jt,matches:yt}),er=er.slice(st.length));if(!st)break}return He?er.length:er?Ue.error(Re):Yr(Re,sr).slice(0)}function Ts(Re){for(var He=0,st=Re.length,yt="";He<st;He++)yt+=Re[He].value;return yt}function As(Re,He,st){var yt=He.dir,Pt=He.next,Jt=Pt||yt,er=st&&Jt==="parentNode",sr=qt++;return He.first?(function(ir,Zr,kr){for(;ir=ir[yt];)if(ir.nodeType===1||er)return Re(ir,Zr,kr);return!1}):(function(ir,Zr,kr){var jr,Qr,br=[ot,sr];if(kr){for(;ir=ir[yt];)if((ir.nodeType===1||er)&&Re(ir,Zr,kr))return!0}else for(;ir=ir[yt];)if(ir.nodeType===1||er)if(Qr=ir[Rt]||(ir[Rt]={}),Pt&&U(ir,Pt))ir=ir[yt]||ir;else{if((jr=Qr[Jt])&&jr[0]===ot&&jr[1]===sr)return br[2]=jr[2];if(Qr[Jt]=br,br[2]=Re(ir,Zr,kr))return!0}return!1})}function md(Re){return Re.length>1?function(He,st,yt){for(var Pt=Re.length;Pt--;)if(!Re[Pt](He,st,yt))return!1;return!0}:Re[0]}function $c(Re,He,st){for(var yt=0,Pt=He.length;yt<Pt;yt++)Ue(Re,He[yt],st);return st}function Fc(Re,He,st,yt,Pt){for(var Jt,er=[],sr=0,ir=Re.length,Zr=He!=null;sr<ir;sr++)(Jt=Re[sr])&&(!st||st(Jt,yt,Pt))&&(er.push(Jt),Zr&&He.push(sr));return er}function jc(Re,He,st,yt,Pt,Jt){return yt&&!yt[Rt]&&(yt=jc(yt)),Pt&&!Pt[Rt]&&(Pt=jc(Pt,Jt)),Tt(function(er,sr,ir,Zr){var kr,jr,Qr,br,Vn=[],Oi=[],Ni=sr.length,Xi=er||$c(He||"*",ir.nodeType?[ir]:ir,[]),Ka=Re&&(er||!He)?Fc(Xi,Vn,Re,ir,Zr):Xi;if(st?(br=Pt||(er?Re:Ni||yt)?[]:sr,st(Ka,br,ir,Zr)):br=Ka,yt)for(kr=Fc(br,Oi),yt(kr,[],ir,Zr),jr=kr.length;jr--;)(Qr=kr[jr])&&(br[Oi[jr]]=!(Ka[Oi[jr]]=Qr));if(er){if(Pt||Re){if(Pt){for(kr=[],jr=br.length;jr--;)(Qr=br[jr])&&kr.push(Ka[jr]=Qr);Pt(null,br=[],kr,Zr)}for(jr=br.length;jr--;)(Qr=br[jr])&&(kr=Pt?u.call(er,Qr):Vn[jr])>-1&&(er[kr]=!(sr[kr]=Qr))}}else br=Fc(br===sr?br.splice(Ni,br.length):br),Pt?Pt(null,sr,br,Zr):ne.apply(sr,br)})}function _l(Re){for(var He,st,yt,Pt=Re.length,Jt=A.relative[Re[0].type],er=Jt||A.relative[" "],sr=Jt?1:0,ir=As(function(jr){return jr===He},er,!0),Zr=As(function(jr){return u.call(He,jr)>-1},er,!0),kr=[function(jr,Qr,br){var Vn=!Jt&&(br||Qr!=P)||((He=Qr).nodeType?ir(jr,Qr,br):Zr(jr,Qr,br));return He=null,Vn}];sr<Pt;sr++)if(st=A.relative[Re[sr].type])kr=[As(md(kr),st)];else{if(st=A.filter[Re[sr].type].apply(null,Re[sr].matches),st[Rt]){for(yt=++sr;yt<Pt&&!A.relative[Re[yt].type];yt++);return jc(sr>1&&md(kr),sr>1&&Ts(Re.slice(0,sr-1).concat({value:Re[sr-2].type===" "?"*":""})).replace(Q,"$1"),st,sr<yt&&_l(Re.slice(sr,yt)),yt<Pt&&_l(Re=Re.slice(yt)),yt<Pt&&Ts(Re))}kr.push(st)}return md(kr)}function yd(Re,He){var st=He.length>0,yt=Re.length>0,Pt=function(Jt,er,sr,ir,Zr){var kr,jr,Qr,br=0,Vn="0",Oi=Jt&&[],Ni=[],Xi=P,Ka=Jt||yt&&A.find.TAG("*",Zr),Ys=ot+=Xi==null?1:Math.random()||.1,Mi=Ka.length;for(Zr&&(P=er==oe||er||Zr);Vn!==Mi&&(kr=Ka[Vn])!=null;Vn++){if(yt&&kr){for(jr=0,!er&&kr.ownerDocument!=oe&&(mo(kr),sr=!Ie);Qr=Re[jr++];)if(Qr(kr,er||oe,sr)){ne.call(ir,kr);break}Zr&&(ot=Ys)}st&&((kr=!Qr&&kr)&&br--,Jt&&Oi.push(kr))}if(br+=Vn,st&&Vn!==br){for(jr=0;Qr=He[jr++];)Qr(Oi,Ni,er,sr);if(Jt){if(br>0)for(;Vn--;)Oi[Vn]||Ni[Vn]||(Ni[Vn]=K.call(ir));Ni=Fc(Ni)}ne.apply(ir,Ni),Zr&&!Jt&&Ni.length>0&&br+He.length>1&&m.uniqueSort(ir)}return Zr&&(ot=Ys,P=Xi),Oi};return st?Tt(Pt):Pt}function Uc(Re,He){var st,yt=[],Pt=[],Jt=Nr[Re+" "];if(!Jt){for(He||(He=Ou(Re)),st=He.length;st--;)Jt=_l(He[st]),Jt[Rt]?yt.push(Jt):Pt.push(Jt);Jt=Nr(Re,yd(Pt,yt)),Jt.selector=Re}return Jt}function _d(Re,He,st,yt){var Pt,Jt,er,sr,ir,Zr=typeof Re=="function"&&Re,kr=!yt&&Ou(Re=Zr.selector||Re);if(st=st||[],kr.length===1){if(Jt=kr[0]=kr[0].slice(0),Jt.length>2&&(er=Jt[0]).type==="ID"&&He.nodeType===9&&Ie&&A.relative[Jt[1].type]){if(He=(A.find.ID(er.matches[0].replace(La,X),He)||[])[0],He)Zr&&(He=He.parentNode);else return st;Re=Re.slice(Jt.shift().value.length)}for(Pt=Sr.needsContext.test(Re)?0:Jt.length;Pt--&&(er=Jt[Pt],!A.relative[sr=er.type]);)if((ir=A.find[sr])&&(yt=ir(er.matches[0].replace(La,X),yl.test(Jt[0].type)&&Cu(He.parentNode)||He))){if(Jt.splice(Pt,1),Re=yt.length&&Ts(Jt),!Re)return ne.apply(st,yt),st;break}}return(Zr||Uc(Re,kr))(yt,He,!Ie,st,!He||yl.test(Re)&&Cu(He.parentNode)||He),st}_.sortStable=Rt.split("").sort(Jn).join("")===Rt,mo(),_.sortDetached=Yt(function(Re){return Re.compareDocumentPosition(oe.createElement("fieldset"))&1}),m.find=Ue,m.expr[":"]=m.expr.pseudos,m.unique=m.uniqueSort,Ue.compile=Uc,Ue.select=_d,Ue.setDocument=mo,Ue.tokenize=Ou,Ue.escape=m.escapeSelector,Ue.getText=m.text,Ue.isXML=m.isXMLDoc,Ue.selectors=m.expr,Ue.support=m.support,Ue.uniqueSort=m.uniqueSort})();var J=function(g,A,P){for(var j=[],ee=P!==void 0;(g=g[A])&&g.nodeType!==9;)if(g.nodeType===1){if(ee&&m(g).is(P))break;j.push(g)}return j},z=function(g,A){for(var P=[];g;g=g.nextSibling)g.nodeType===1&&g!==A&&P.push(g);return P},ue=m.expr.match.needsContext,we=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function ke(g,A,P){return E(A)?m.grep(g,function(j,ee){return!!A.call(j,ee,j)!==P}):A.nodeType?m.grep(g,function(j){return j===A!==P}):typeof A!="string"?m.grep(g,function(j){return u.call(A,j)>-1!==P}):m.filter(A,g,P)}m.filter=function(g,A,P){var j=A[0];return P&&(g=":not("+g+")"),A.length===1&&j.nodeType===1?m.find.matchesSelector(j,g)?[j]:[]:m.find.matches(g,m.grep(A,function(ee){return ee.nodeType===1}))},m.fn.extend({find:function(g){var A,P,j=this.length,ee=this;if(typeof g!="string")return this.pushStack(m(g).filter(function(){for(A=0;A<j;A++)if(m.contains(ee[A],this))return!0}));for(P=this.pushStack([]),A=0;A<j;A++)m.find(g,ee[A],P);return j>1?m.uniqueSort(P):P},filter:function(g){return this.pushStack(ke(this,g||[],!1))},not:function(g){return this.pushStack(ke(this,g||[],!0))},is:function(g){return!!ke(this,typeof g=="string"&&ue.test(g)?m(g):g||[],!1).length}});var Be,nt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,rt=m.fn.init=function(g,A,P){var j,ee;if(!g)return this;if(P=P||Be,typeof g=="string")if(g[0]==="<"&&g[g.length-1]===">"&&g.length>=3?j=[null,g,null]:j=nt.exec(g),j&&(j[1]||!A))if(j[1]){if(A=A instanceof m?A[0]:A,m.merge(this,m.parseHTML(j[1],A&&A.nodeType?A.ownerDocument||A:w,!0)),we.test(j[1])&&m.isPlainObject(A))for(j in A)E(this[j])?this[j](A[j]):this.attr(j,A[j]);return this}else return ee=w.getElementById(j[2]),ee&&(this[0]=ee,this.length=1),this;else return!A||A.jquery?(A||P).find(g):this.constructor(A).find(g);else{if(g.nodeType)return this[0]=g,this.length=1,this;if(E(g))return P.ready!==void 0?P.ready(g):g(m)}return m.makeArray(g,this)};rt.prototype=m.fn,Be=m(w);var q=/^(?:parents|prev(?:Until|All))/,I={children:!0,contents:!0,next:!0,prev:!0};m.fn.extend({has:function(g){var A=m(g,this),P=A.length;return this.filter(function(){for(var j=0;j<P;j++)if(m.contains(this,A[j]))return!0})},closest:function(g,A){var P,j=0,ee=this.length,ne=[],oe=typeof g!="string"&&m(g);if(!ue.test(g)){for(;j<ee;j++)for(P=this[j];P&&P!==A;P=P.parentNode)if(P.nodeType<11&&(oe?oe.index(P)>-1:P.nodeType===1&&m.find.matchesSelector(P,g))){ne.push(P);break}}return this.pushStack(ne.length>1?m.uniqueSort(ne):ne)},index:function(g){return g?typeof g=="string"?u.call(m(g),this[0]):u.call(this,g.jquery?g[0]:g):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(g,A){return this.pushStack(m.uniqueSort(m.merge(this.get(),m(g,A))))},addBack:function(g){return this.add(g==null?this.prevObject:this.prevObject.filter(g))}});function N(g,A){for(;(g=g[A])&&g.nodeType!==1;);return g}m.each({parent:function(g){var A=g.parentNode;return A&&A.nodeType!==11?A:null},parents:function(g){return J(g,"parentNode")},parentsUntil:function(g,A,P){return J(g,"parentNode",P)},next:function(g){return N(g,"nextSibling")},prev:function(g){return N(g,"previousSibling")},nextAll:function(g){return J(g,"nextSibling")},prevAll:function(g){return J(g,"previousSibling")},nextUntil:function(g,A,P){return J(g,"nextSibling",P)},prevUntil:function(g,A,P){return J(g,"previousSibling",P)},siblings:function(g){return z((g.parentNode||{}).firstChild,g)},children:function(g){return z(g.firstChild)},contents:function(g){return g.contentDocument!=null&&i(g.contentDocument)?g.contentDocument:(U(g,"template")&&(g=g.content||g),m.merge([],g.childNodes))}},function(g,A){m.fn[g]=function(P,j){var ee=m.map(this,A,P);return g.slice(-5)!=="Until"&&(j=P),j&&typeof j=="string"&&(ee=m.filter(j,ee)),this.length>1&&(I[g]||m.uniqueSort(ee),q.test(g)&&ee.reverse()),this.pushStack(ee)}});var M=/[^\x20\t\r\n\f]+/g;function Z(g){var A={};return m.each(g.match(M)||[],function(P,j){A[j]=!0}),A}m.Callbacks=function(g){g=typeof g=="string"?Z(g):m.extend({},g);var A,P,j,ee,ne=[],oe=[],$e=-1,Ie=function(){for(ee=ee||g.once,j=A=!0;oe.length;$e=-1)for(P=oe.shift();++$e<ne.length;)ne[$e].apply(P[0],P[1])===!1&&g.stopOnFalse&&($e=ne.length,P=!1);g.memory||(P=!1),A=!1,ee&&(P?ne=[]:ne="")},ze={add:function(){return ne&&(P&&!A&&($e=ne.length-1,oe.push(P)),(function St(Rt){m.each(Rt,function(ot,qt){E(qt)?(!g.unique||!ze.has(qt))&&ne.push(qt):qt&&qt.length&&x(qt)!=="string"&&St(qt)})})(arguments),P&&!A&&Ie()),this},remove:function(){return m.each(arguments,function(St,Rt){for(var ot;(ot=m.inArray(Rt,ne,ot))>-1;)ne.splice(ot,1),ot<=$e&&$e--}),this},has:function(St){return St?m.inArray(St,ne)>-1:ne.length>0},empty:function(){return ne&&(ne=[]),this},disable:function(){return ee=oe=[],ne=P="",this},disabled:function(){return!ne},lock:function(){return ee=oe=[],!P&&!A&&(ne=P=""),this},locked:function(){return!!ee},fireWith:function(St,Rt){return ee||(Rt=Rt||[],Rt=[St,Rt.slice?Rt.slice():Rt],oe.push(Rt),A||Ie()),this},fire:function(){return ze.fireWith(this,arguments),this},fired:function(){return!!j}};return ze};function L(g){return g}function G(g){throw g}function pe(g,A,P,j){var ee;try{g&&E(ee=g.promise)?ee.call(g).done(A).fail(P):g&&E(ee=g.then)?ee.call(g,A,P):A.apply(void 0,[g].slice(j))}catch(ne){P.apply(void 0,[ne])}}m.extend({Deferred:function(g){var A=[["notify","progress",m.Callbacks("memory"),m.Callbacks("memory"),2],["resolve","done",m.Callbacks("once memory"),m.Callbacks("once memory"),0,"resolved"],["reject","fail",m.Callbacks("once memory"),m.Callbacks("once memory"),1,"rejected"]],P="pending",j={state:function(){return P},always:function(){return ee.done(arguments).fail(arguments),this},catch:function(ne){return j.then(null,ne)},pipe:function(){var ne=arguments;return m.Deferred(function(oe){m.each(A,function($e,Ie){var ze=E(ne[Ie[4]])&&ne[Ie[4]];ee[Ie[1]](function(){var St=ze&&ze.apply(this,arguments);St&&E(St.promise)?St.promise().progress(oe.notify).done(oe.resolve).fail(oe.reject):oe[Ie[0]+"With"](this,ze?[St]:arguments)})}),ne=null}).promise()},then:function(ne,oe,$e){var Ie=0;function ze(St,Rt,ot,qt){return function(){var Er=this,Yr=arguments,Nr=function(){var Jn,F;if(!(St<Ie)){if(Jn=ot.apply(Er,Yr),Jn===Rt.promise())throw new TypeError("Thenable self-resolution");F=Jn&&(typeof Jn=="object"||typeof Jn=="function")&&Jn.then,E(F)?qt?F.call(Jn,ze(Ie,Rt,L,qt),ze(Ie,Rt,G,qt)):(Ie++,F.call(Jn,ze(Ie,Rt,L,qt),ze(Ie,Rt,G,qt),ze(Ie,Rt,L,Rt.notifyWith))):(ot!==L&&(Er=void 0,Yr=[Jn]),(qt||Rt.resolveWith)(Er,Yr))}},qn=qt?Nr:function(){try{Nr()}catch(Jn){m.Deferred.exceptionHook&&m.Deferred.exceptionHook(Jn,qn.error),St+1>=Ie&&(ot!==G&&(Er=void 0,Yr=[Jn]),Rt.rejectWith(Er,Yr))}};St?qn():(m.Deferred.getErrorHook?qn.error=m.Deferred.getErrorHook():m.Deferred.getStackHook&&(qn.error=m.Deferred.getStackHook()),t.setTimeout(qn))}}return m.Deferred(function(St){A[0][3].add(ze(0,St,E($e)?$e:L,St.notifyWith)),A[1][3].add(ze(0,St,E(ne)?ne:L)),A[2][3].add(ze(0,St,E(oe)?oe:G))}).promise()},promise:function(ne){return ne!=null?m.extend(ne,j):j}},ee={};return m.each(A,function(ne,oe){var $e=oe[2],Ie=oe[5];j[oe[1]]=$e.add,Ie&&$e.add(function(){P=Ie},A[3-ne][2].disable,A[3-ne][3].disable,A[0][2].lock,A[0][3].lock),$e.add(oe[3].fire),ee[oe[0]]=function(){return ee[oe[0]+"With"](this===ee?void 0:this,arguments),this},ee[oe[0]+"With"]=$e.fireWith}),j.promise(ee),g&&g.call(ee,ee),ee},when:function(g){var A=arguments.length,P=A,j=Array(P),ee=a.call(arguments),ne=m.Deferred(),oe=function($e){return function(Ie){j[$e]=this,ee[$e]=arguments.length>1?a.call(arguments):Ie,--A||ne.resolveWith(j,ee)}};if(A<=1&&(pe(g,ne.done(oe(P)).resolve,ne.reject,!A),ne.state()==="pending"||E(ee[P]&&ee[P].then)))return ne.then();for(;P--;)pe(ee[P],oe(P),ne.reject);return ne.promise()}});var fe=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;m.Deferred.exceptionHook=function(g,A){t.console&&t.console.warn&&g&&fe.test(g.name)&&t.console.warn("jQuery.Deferred exception: "+g.message,g.stack,A)},m.readyException=function(g){t.setTimeout(function(){throw g})};var be=m.Deferred();m.fn.ready=function(g){return be.then(g).catch(function(A){m.readyException(A)}),this},m.extend({isReady:!1,readyWait:1,ready:function(g){(g===!0?--m.readyWait:m.isReady)||(m.isReady=!0,!(g!==!0&&--m.readyWait>0)&&be.resolveWith(w,[m]))}}),m.ready.then=be.then;function _e(){w.removeEventListener("DOMContentLoaded",_e),t.removeEventListener("load",_e),m.ready()}w.readyState==="complete"||w.readyState!=="loading"&&!w.documentElement.doScroll?t.setTimeout(m.ready):(w.addEventListener("DOMContentLoaded",_e),t.addEventListener("load",_e));var Ce=function(g,A,P,j,ee,ne,oe){var $e=0,Ie=g.length,ze=P==null;if(x(P)==="object"){ee=!0;for($e in P)Ce(g,A,$e,P[$e],!0,ne,oe)}else if(j!==void 0&&(ee=!0,E(j)||(oe=!0),ze&&(oe?(A.call(g,j),A=null):(ze=A,A=function(St,Rt,ot){return ze.call(m(St),ot)})),A))for(;$e<Ie;$e++)A(g[$e],P,oe?j:j.call(g[$e],$e,A(g[$e],P)));return ee?g:ze?A.call(g):Ie?A(g[0],P):ne},Me=/^-ms-/,de=/-([a-z])/g;function me(g,A){return A.toUpperCase()}function ge(g){return g.replace(Me,"ms-").replace(de,me)}var Te=function(g){return g.nodeType===1||g.nodeType===9||!+g.nodeType};function Pe(){this.expando=m.expando+Pe.uid++}Pe.uid=1,Pe.prototype={cache:function(g){var A=g[this.expando];return A||(A={},Te(g)&&(g.nodeType?g[this.expando]=A:Object.defineProperty(g,this.expando,{value:A,configurable:!0}))),A},set:function(g,A,P){var j,ee=this.cache(g);if(typeof A=="string")ee[ge(A)]=P;else for(j in A)ee[ge(j)]=A[j];return ee},get:function(g,A){return A===void 0?this.cache(g):g[this.expando]&&g[this.expando][ge(A)]},access:function(g,A,P){return A===void 0||A&&typeof A=="string"&&P===void 0?this.get(g,A):(this.set(g,A,P),P!==void 0?P:A)},remove:function(g,A){var P,j=g[this.expando];if(j!==void 0){if(A!==void 0)for(Array.isArray(A)?A=A.map(ge):(A=ge(A),A=A in j?[A]:A.match(M)||[]),P=A.length;P--;)delete j[A[P]];(A===void 0||m.isEmptyObject(j))&&(g.nodeType?g[this.expando]=void 0:delete g[this.expando])}},hasData:function(g){var A=g[this.expando];return A!==void 0&&!m.isEmptyObject(A)}};var De=new Pe,qe=new Pe,_t=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ut=/[A-Z]/g;function Mt(g){return g==="true"?!0:g==="false"?!1:g==="null"?null:g===+g+""?+g:_t.test(g)?JSON.parse(g):g}function Xe(g,A,P){var j;if(P===void 0&&g.nodeType===1)if(j="data-"+A.replace(Ut,"-$&").toLowerCase(),P=g.getAttribute(j),typeof P=="string"){try{P=Mt(P)}catch{}qe.set(g,A,P)}else P=void 0;return P}m.extend({hasData:function(g){return qe.hasData(g)||De.hasData(g)},data:function(g,A,P){return qe.access(g,A,P)},removeData:function(g,A){qe.remove(g,A)},_data:function(g,A,P){return De.access(g,A,P)},_removeData:function(g,A){De.remove(g,A)}}),m.fn.extend({data:function(g,A){var P,j,ee,ne=this[0],oe=ne&&ne.attributes;if(g===void 0){if(this.length&&(ee=qe.get(ne),ne.nodeType===1&&!De.get(ne,"hasDataAttrs"))){for(P=oe.length;P--;)oe[P]&&(j=oe[P].name,j.indexOf("data-")===0&&(j=ge(j.slice(5)),Xe(ne,j,ee[j])));De.set(ne,"hasDataAttrs",!0)}return ee}return typeof g=="object"?this.each(function(){qe.set(this,g)}):Ce(this,function($e){var Ie;if(ne&&$e===void 0)return Ie=qe.get(ne,g),Ie!==void 0||(Ie=Xe(ne,g),Ie!==void 0)?Ie:void 0;this.each(function(){qe.set(this,g,$e)})},null,A,arguments.length>1,null,!0)},removeData:function(g){return this.each(function(){qe.remove(this,g)})}}),m.extend({queue:function(g,A,P){var j;if(g)return A=(A||"fx")+"queue",j=De.get(g,A),P&&(!j||Array.isArray(P)?j=De.access(g,A,m.makeArray(P)):j.push(P)),j||[]},dequeue:function(g,A){A=A||"fx";var P=m.queue(g,A),j=P.length,ee=P.shift(),ne=m._queueHooks(g,A),oe=function(){m.dequeue(g,A)};ee==="inprogress"&&(ee=P.shift(),j--),ee&&(A==="fx"&&P.unshift("inprogress"),delete ne.stop,ee.call(g,oe,ne)),!j&&ne&&ne.empty.fire()},_queueHooks:function(g,A){var P=A+"queueHooks";return De.get(g,P)||De.access(g,P,{empty:m.Callbacks("once memory").add(function(){De.remove(g,[A+"queue",P])})})}}),m.fn.extend({queue:function(g,A){var P=2;return typeof g!="string"&&(A=g,g="fx",P--),arguments.length<P?m.queue(this[0],g):A===void 0?this:this.each(function(){var j=m.queue(this,g,A);m._queueHooks(this,g),g==="fx"&&j[0]!=="inprogress"&&m.dequeue(this,g)})},dequeue:function(g){return this.each(function(){m.dequeue(this,g)})},clearQueue:function(g){return this.queue(g||"fx",[])},promise:function(g,A){var P,j=1,ee=m.Deferred(),ne=this,oe=this.length,$e=function(){--j||ee.resolveWith(ne,[ne])};for(typeof g!="string"&&(A=g,g=void 0),g=g||"fx";oe--;)P=De.get(ne[oe],g+"queueHooks"),P&&P.empty&&(j++,P.empty.add($e));return $e(),ee.promise(A)}});var wt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,mt=new RegExp("^(?:([+-])=|)("+wt+")([a-z%]*)$","i"),Et=["Top","Right","Bottom","Left"],At=w.documentElement,ft=function(g){return m.contains(g.ownerDocument,g)},Ft={composed:!0};At.getRootNode&&(ft=function(g){return m.contains(g.ownerDocument,g)||g.getRootNode(Ft)===g.ownerDocument});var Ct=function(g,A){return g=A||g,g.style.display==="none"||g.style.display===""&&ft(g)&&m.css(g,"display")==="none"};function Ae(g,A,P,j){var ee,ne,oe=20,$e=j?function(){return j.cur()}:function(){return m.css(g,A,"")},Ie=$e(),ze=P&&P[3]||(m.cssNumber[A]?"":"px"),St=g.nodeType&&(m.cssNumber[A]||ze!=="px"&&+Ie)&&mt.exec(m.css(g,A));if(St&&St[3]!==ze){for(Ie=Ie/2,ze=ze||St[3],St=+Ie||1;oe--;)m.style(g,A,St+ze),(1-ne)*(1-(ne=$e()/Ie||.5))<=0&&(oe=0),St=St/ne;St=St*2,m.style(g,A,St+ze),P=P||[]}return P&&(St=+St||+Ie||0,ee=P[1]?St+(P[1]+1)*P[2]:+P[2],j&&(j.unit=ze,j.start=St,j.end=ee)),ee}var Ze={};function ut(g){var A,P=g.ownerDocument,j=g.nodeName,ee=Ze[j];return ee||(A=P.body.appendChild(P.createElement(j)),ee=m.css(A,"display"),A.parentNode.removeChild(A),ee==="none"&&(ee="block"),Ze[j]=ee,ee)}function bt(g,A){for(var P,j,ee=[],ne=0,oe=g.length;ne<oe;ne++)j=g[ne],j.style&&(P=j.style.display,A?(P==="none"&&(ee[ne]=De.get(j,"display")||null,ee[ne]||(j.style.display="")),j.style.display===""&&Ct(j)&&(ee[ne]=ut(j))):P!=="none"&&(ee[ne]="none",De.set(j,"display",P)));for(ne=0;ne<oe;ne++)ee[ne]!=null&&(g[ne].style.display=ee[ne]);return g}m.fn.extend({show:function(){return bt(this,!0)},hide:function(){return bt(this)},toggle:function(g){return typeof g=="boolean"?g?this.show():this.hide():this.each(function(){Ct(this)?m(this).show():m(this).hide()})}});var Lt=/^(?:checkbox|radio)$/i,tr=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,pr=/^$|^module$|\/(?:java|ecma)script/i;(function(){var g=w.createDocumentFragment(),A=g.appendChild(w.createElement("div")),P=w.createElement("input");P.setAttribute("type","radio"),P.setAttribute("checked","checked"),P.setAttribute("name","t"),A.appendChild(P),_.checkClone=A.cloneNode(!0).cloneNode(!0).lastChild.checked,A.innerHTML="<textarea>x</textarea>",_.noCloneChecked=!!A.cloneNode(!0).lastChild.defaultValue,A.innerHTML="<option></option>",_.option=!!A.lastChild})();var ar={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,"",""]};ar.tbody=ar.tfoot=ar.colgroup=ar.caption=ar.thead,ar.th=ar.td,_.option||(ar.optgroup=ar.option=[1,"<select multiple='multiple'>","</select>"]);function dr(g,A){var P;return typeof g.getElementsByTagName<"u"?P=g.getElementsByTagName(A||"*"):typeof g.querySelectorAll<"u"?P=g.querySelectorAll(A||"*"):P=[],A===void 0||A&&U(g,A)?m.merge([g],P):P}function xr(g,A){for(var P=0,j=g.length;P<j;P++)De.set(g[P],"globalEval",!A||De.get(A[P],"globalEval"))}var en=/<|&#?\w+;/;function Qn(g,A,P,j,ee){for(var ne,oe,$e,Ie,ze,St,Rt=A.createDocumentFragment(),ot=[],qt=0,Er=g.length;qt<Er;qt++)if(ne=g[qt],ne||ne===0)if(x(ne)==="object")m.merge(ot,ne.nodeType?[ne]:ne);else if(!en.test(ne))ot.push(A.createTextNode(ne));else{for(oe=oe||Rt.appendChild(A.createElement("div")),$e=(tr.exec(ne)||["",""])[1].toLowerCase(),Ie=ar[$e]||ar._default,oe.innerHTML=Ie[1]+m.htmlPrefilter(ne)+Ie[2],St=Ie[0];St--;)oe=oe.lastChild;m.merge(ot,oe.childNodes),oe=Rt.firstChild,oe.textContent=""}for(Rt.textContent="",qt=0;ne=ot[qt++];){if(j&&m.inArray(ne,j)>-1){ee&&ee.push(ne);continue}if(ze=ft(ne),oe=dr(Rt.appendChild(ne),"script"),ze&&xr(oe),P)for(St=0;ne=oe[St++];)pr.test(ne.type||"")&&P.push(ne)}return Rt}var wn=/^([^.]*)(?:\.(.+)|)/;function vn(){return!0}function dn(){return!1}function jn(g,A,P,j,ee,ne){var oe,$e;if(typeof A=="object"){typeof P!="string"&&(j=j||P,P=void 0);for($e in A)jn(g,$e,P,j,A[$e],ne);return g}if(j==null&&ee==null?(ee=P,j=P=void 0):ee==null&&(typeof P=="string"?(ee=j,j=void 0):(ee=j,j=P,P=void 0)),ee===!1)ee=dn;else if(!ee)return g;return ne===1&&(oe=ee,ee=function(Ie){return m().off(Ie),oe.apply(this,arguments)},ee.guid=oe.guid||(oe.guid=m.guid++)),g.each(function(){m.event.add(this,A,ee,j,P)})}m.event={global:{},add:function(g,A,P,j,ee){var ne,oe,$e,Ie,ze,St,Rt,ot,qt,Er,Yr,Nr=De.get(g);if(Te(g))for(P.handler&&(ne=P,P=ne.handler,ee=ne.selector),ee&&m.find.matchesSelector(At,ee),P.guid||(P.guid=m.guid++),(Ie=Nr.events)||(Ie=Nr.events=Object.create(null)),(oe=Nr.handle)||(oe=Nr.handle=function(qn){return typeof m<"u"&&m.event.triggered!==qn.type?m.event.dispatch.apply(g,arguments):void 0}),A=(A||"").match(M)||[""],ze=A.length;ze--;)$e=wn.exec(A[ze])||[],qt=Yr=$e[1],Er=($e[2]||"").split(".").sort(),qt&&(Rt=m.event.special[qt]||{},qt=(ee?Rt.delegateType:Rt.bindType)||qt,Rt=m.event.special[qt]||{},St=m.extend({type:qt,origType:Yr,data:j,handler:P,guid:P.guid,selector:ee,needsContext:ee&&m.expr.match.needsContext.test(ee),namespace:Er.join(".")},ne),(ot=Ie[qt])||(ot=Ie[qt]=[],ot.delegateCount=0,(!Rt.setup||Rt.setup.call(g,j,Er,oe)===!1)&&g.addEventListener&&g.addEventListener(qt,oe)),Rt.add&&(Rt.add.call(g,St),St.handler.guid||(St.handler.guid=P.guid)),ee?ot.splice(ot.delegateCount++,0,St):ot.push(St),m.event.global[qt]=!0)},remove:function(g,A,P,j,ee){var ne,oe,$e,Ie,ze,St,Rt,ot,qt,Er,Yr,Nr=De.hasData(g)&&De.get(g);if(!(!Nr||!(Ie=Nr.events))){for(A=(A||"").match(M)||[""],ze=A.length;ze--;){if($e=wn.exec(A[ze])||[],qt=Yr=$e[1],Er=($e[2]||"").split(".").sort(),!qt){for(qt in Ie)m.event.remove(g,qt+A[ze],P,j,!0);continue}for(Rt=m.event.special[qt]||{},qt=(j?Rt.delegateType:Rt.bindType)||qt,ot=Ie[qt]||[],$e=$e[2]&&new RegExp("(^|\\.)"+Er.join("\\.(?:.*\\.|)")+"(\\.|$)"),oe=ne=ot.length;ne--;)St=ot[ne],(ee||Yr===St.origType)&&(!P||P.guid===St.guid)&&(!$e||$e.test(St.namespace))&&(!j||j===St.selector||j==="**"&&St.selector)&&(ot.splice(ne,1),St.selector&&ot.delegateCount--,Rt.remove&&Rt.remove.call(g,St));oe&&!ot.length&&((!Rt.teardown||Rt.teardown.call(g,Er,Nr.handle)===!1)&&m.removeEvent(g,qt,Nr.handle),delete Ie[qt])}m.isEmptyObject(Ie)&&De.remove(g,"handle events")}},dispatch:function(g){var A,P,j,ee,ne,oe,$e=new Array(arguments.length),Ie=m.event.fix(g),ze=(De.get(this,"events")||Object.create(null))[Ie.type]||[],St=m.event.special[Ie.type]||{};for($e[0]=Ie,A=1;A<arguments.length;A++)$e[A]=arguments[A];if(Ie.delegateTarget=this,!(St.preDispatch&&St.preDispatch.call(this,Ie)===!1)){for(oe=m.event.handlers.call(this,Ie,ze),A=0;(ee=oe[A++])&&!Ie.isPropagationStopped();)for(Ie.currentTarget=ee.elem,P=0;(ne=ee.handlers[P++])&&!Ie.isImmediatePropagationStopped();)(!Ie.rnamespace||ne.namespace===!1||Ie.rnamespace.test(ne.namespace))&&(Ie.handleObj=ne,Ie.data=ne.data,j=((m.event.special[ne.origType]||{}).handle||ne.handler).apply(ee.elem,$e),j!==void 0&&(Ie.result=j)===!1&&(Ie.preventDefault(),Ie.stopPropagation()));return St.postDispatch&&St.postDispatch.call(this,Ie),Ie.result}},handlers:function(g,A){var P,j,ee,ne,oe,$e=[],Ie=A.delegateCount,ze=g.target;if(Ie&&ze.nodeType&&!(g.type==="click"&&g.button>=1)){for(;ze!==this;ze=ze.parentNode||this)if(ze.nodeType===1&&!(g.type==="click"&&ze.disabled===!0)){for(ne=[],oe={},P=0;P<Ie;P++)j=A[P],ee=j.selector+" ",oe[ee]===void 0&&(oe[ee]=j.needsContext?m(ee,this).index(ze)>-1:m.find(ee,this,null,[ze]).length),oe[ee]&&ne.push(j);ne.length&&$e.push({elem:ze,handlers:ne})}}return ze=this,Ie<A.length&&$e.push({elem:ze,handlers:A.slice(Ie)}),$e},addProp:function(g,A){Object.defineProperty(m.Event.prototype,g,{enumerable:!0,configurable:!0,get:E(A)?function(){if(this.originalEvent)return A(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[g]},set:function(P){Object.defineProperty(this,g,{enumerable:!0,configurable:!0,writable:!0,value:P})}})},fix:function(g){return g[m.expando]?g:new m.Event(g)},special:{load:{noBubble:!0},click:{setup:function(g){var A=this||g;return Lt.test(A.type)&&A.click&&U(A,"input")&&Un(A,"click",!0),!1},trigger:function(g){var A=this||g;return Lt.test(A.type)&&A.click&&U(A,"input")&&Un(A,"click"),!0},_default:function(g){var A=g.target;return Lt.test(A.type)&&A.click&&U(A,"input")&&De.get(A,"click")||U(A,"a")}},beforeunload:{postDispatch:function(g){g.result!==void 0&&g.originalEvent&&(g.originalEvent.returnValue=g.result)}}}};function Un(g,A,P){if(!P){De.get(g,A)===void 0&&m.event.add(g,A,vn);return}De.set(g,A,!1),m.event.add(g,A,{namespace:!1,handler:function(j){var ee,ne=De.get(this,A);if(j.isTrigger&1&&this[A]){if(ne)(m.event.special[A]||{}).delegateType&&j.stopPropagation();else if(ne=a.call(arguments),De.set(this,A,ne),this[A](),ee=De.get(this,A),De.set(this,A,!1),ne!==ee)return j.stopImmediatePropagation(),j.preventDefault(),ee}else ne&&(De.set(this,A,m.event.trigger(ne[0],ne.slice(1),this)),j.stopPropagation(),j.isImmediatePropagationStopped=vn)}})}m.removeEvent=function(g,A,P){g.removeEventListener&&g.removeEventListener(A,P)},m.Event=function(g,A){if(!(this instanceof m.Event))return new m.Event(g,A);g&&g.type?(this.originalEvent=g,this.type=g.type,this.isDefaultPrevented=g.defaultPrevented||g.defaultPrevented===void 0&&g.returnValue===!1?vn:dn,this.target=g.target&&g.target.nodeType===3?g.target.parentNode:g.target,this.currentTarget=g.currentTarget,this.relatedTarget=g.relatedTarget):this.type=g,A&&m.extend(this,A),this.timeStamp=g&&g.timeStamp||Date.now(),this[m.expando]=!0},m.Event.prototype={constructor:m.Event,isDefaultPrevented:dn,isPropagationStopped:dn,isImmediatePropagationStopped:dn,isSimulated:!1,preventDefault:function(){var g=this.originalEvent;this.isDefaultPrevented=vn,g&&!this.isSimulated&&g.preventDefault()},stopPropagation:function(){var g=this.originalEvent;this.isPropagationStopped=vn,g&&!this.isSimulated&&g.stopPropagation()},stopImmediatePropagation:function(){var g=this.originalEvent;this.isImmediatePropagationStopped=vn,g&&!this.isSimulated&&g.stopImmediatePropagation(),this.stopPropagation()}},m.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},m.event.addProp),m.each({focus:"focusin",blur:"focusout"},function(g,A){function P(j){if(w.documentMode){var ee=De.get(this,"handle"),ne=m.event.fix(j);ne.type=j.type==="focusin"?"focus":"blur",ne.isSimulated=!0,ee(j),ne.target===ne.currentTarget&&ee(ne)}else m.event.simulate(A,j.target,m.event.fix(j))}m.event.special[g]={setup:function(){var j;if(Un(this,g,!0),w.documentMode)j=De.get(this,A),j||this.addEventListener(A,P),De.set(this,A,(j||0)+1);else return!1},trigger:function(){return Un(this,g),!0},teardown:function(){var j;if(w.documentMode)j=De.get(this,A)-1,j?De.set(this,A,j):(this.removeEventListener(A,P),De.remove(this,A));else return!1},_default:function(j){return De.get(j.target,g)},delegateType:A},m.event.special[A]={setup:function(){var j=this.ownerDocument||this.document||this,ee=w.documentMode?this:j,ne=De.get(ee,A);ne||(w.documentMode?this.addEventListener(A,P):j.addEventListener(g,P,!0)),De.set(ee,A,(ne||0)+1)},teardown:function(){var j=this.ownerDocument||this.document||this,ee=w.documentMode?this:j,ne=De.get(ee,A)-1;ne?De.set(ee,A,ne):(w.documentMode?this.removeEventListener(A,P):j.removeEventListener(g,P,!0),De.remove(ee,A))}}}),m.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(g,A){m.event.special[g]={delegateType:A,bindType:A,handle:function(P){var j,ee=this,ne=P.relatedTarget,oe=P.handleObj;return(!ne||ne!==ee&&!m.contains(ee,ne))&&(P.type=oe.origType,j=oe.handler.apply(this,arguments),P.type=A),j}}}),m.fn.extend({on:function(g,A,P,j){return jn(this,g,A,P,j)},one:function(g,A,P,j){return jn(this,g,A,P,j,1)},off:function(g,A,P){var j,ee;if(g&&g.preventDefault&&g.handleObj)return j=g.handleObj,m(g.delegateTarget).off(j.namespace?j.origType+"."+j.namespace:j.origType,j.selector,j.handler),this;if(typeof g=="object"){for(ee in g)this.off(ee,A,g[ee]);return this}return(A===!1||typeof A=="function")&&(P=A,A=void 0),P===!1&&(P=dn),this.each(function(){m.event.remove(this,g,P,A)})}});var ui=/<script|<style|<link/i,ti=/checked\s*(?:[^=]|=\s*.checked.)/i,Si=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function xi(g,A){return U(g,"table")&&U(A.nodeType!==11?A:A.firstChild,"tr")&&m(g).children("tbody")[0]||g}function bn(g){return g.type=(g.getAttribute("type")!==null)+"/"+g.type,g}function Gn(g){return(g.type||"").slice(0,5)==="true/"?g.type=g.type.slice(5):g.removeAttribute("type"),g}function di(g,A){var P,j,ee,ne,oe,$e,Ie;if(A.nodeType===1){if(De.hasData(g)&&(ne=De.get(g),Ie=ne.events,Ie)){De.remove(A,"handle events");for(ee in Ie)for(P=0,j=Ie[ee].length;P<j;P++)m.event.add(A,ee,Ie[ee][P])}qe.hasData(g)&&(oe=qe.access(g),$e=m.extend({},oe),qe.set(A,$e))}}function li(g,A){var P=A.nodeName.toLowerCase();P==="input"&&Lt.test(g.type)?A.checked=g.checked:(P==="input"||P==="textarea")&&(A.defaultValue=g.defaultValue)}function it(g,A,P,j){A=o(A);var ee,ne,oe,$e,Ie,ze,St=0,Rt=g.length,ot=Rt-1,qt=A[0],Er=E(qt);if(Er||Rt>1&&typeof qt=="string"&&!_.checkClone&&ti.test(qt))return g.each(function(Yr){var Nr=g.eq(Yr);Er&&(A[0]=qt.call(this,Yr,Nr.html())),it(Nr,A,P,j)});if(Rt&&(ee=Qn(A,g[0].ownerDocument,!1,g,j),ne=ee.firstChild,ee.childNodes.length===1&&(ee=ne),ne||j)){for(oe=m.map(dr(ee,"script"),bn),$e=oe.length;St<Rt;St++)Ie=ee,St!==ot&&(Ie=m.clone(Ie,!0,!0),$e&&m.merge(oe,dr(Ie,"script"))),P.call(g[St],Ie,St);if($e)for(ze=oe[oe.length-1].ownerDocument,m.map(oe,Gn),St=0;St<$e;St++)Ie=oe[St],pr.test(Ie.type||"")&&!De.access(Ie,"globalEval")&&m.contains(ze,Ie)&&(Ie.src&&(Ie.type||"").toLowerCase()!=="module"?m._evalUrl&&!Ie.noModule&&m._evalUrl(Ie.src,{nonce:Ie.nonce||Ie.getAttribute("nonce")},ze):C(Ie.textContent.replace(Si,""),Ie,ze))}return g}function $t(g,A,P){for(var j,ee=A?m.filter(A,g):g,ne=0;(j=ee[ne])!=null;ne++)!P&&j.nodeType===1&&m.cleanData(dr(j)),j.parentNode&&(P&&ft(j)&&xr(dr(j,"script")),j.parentNode.removeChild(j));return g}m.extend({htmlPrefilter:function(g){return g},clone:function(g,A,P){var j,ee,ne,oe,$e=g.cloneNode(!0),Ie=ft(g);if(!_.noCloneChecked&&(g.nodeType===1||g.nodeType===11)&&!m.isXMLDoc(g))for(oe=dr($e),ne=dr(g),j=0,ee=ne.length;j<ee;j++)li(ne[j],oe[j]);if(A)if(P)for(ne=ne||dr(g),oe=oe||dr($e),j=0,ee=ne.length;j<ee;j++)di(ne[j],oe[j]);else di(g,$e);return oe=dr($e,"script"),oe.length>0&&xr(oe,!Ie&&dr(g,"script")),$e},cleanData:function(g){for(var A,P,j,ee=m.event.special,ne=0;(P=g[ne])!==void 0;ne++)if(Te(P)){if(A=P[De.expando]){if(A.events)for(j in A.events)ee[j]?m.event.remove(P,j):m.removeEvent(P,j,A.handle);P[De.expando]=void 0}P[qe.expando]&&(P[qe.expando]=void 0)}}}),m.fn.extend({detach:function(g){return $t(this,g,!0)},remove:function(g){return $t(this,g)},text:function(g){return Ce(this,function(A){return A===void 0?m.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=A)})},null,g,arguments.length)},append:function(){return it(this,arguments,function(g){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var A=xi(this,g);A.appendChild(g)}})},prepend:function(){return it(this,arguments,function(g){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var A=xi(this,g);A.insertBefore(g,A.firstChild)}})},before:function(){return it(this,arguments,function(g){this.parentNode&&this.parentNode.insertBefore(g,this)})},after:function(){return it(this,arguments,function(g){this.parentNode&&this.parentNode.insertBefore(g,this.nextSibling)})},empty:function(){for(var g,A=0;(g=this[A])!=null;A++)g.nodeType===1&&(m.cleanData(dr(g,!1)),g.textContent="");return this},clone:function(g,A){return g=g??!1,A=A??g,this.map(function(){return m.clone(this,g,A)})},html:function(g){return Ce(this,function(A){var P=this[0]||{},j=0,ee=this.length;if(A===void 0&&P.nodeType===1)return P.innerHTML;if(typeof A=="string"&&!ui.test(A)&&!ar[(tr.exec(A)||["",""])[1].toLowerCase()]){A=m.htmlPrefilter(A);try{for(;j<ee;j++)P=this[j]||{},P.nodeType===1&&(m.cleanData(dr(P,!1)),P.innerHTML=A);P=0}catch{}}P&&this.empty().append(A)},null,g,arguments.length)},replaceWith:function(){var g=[];return it(this,arguments,function(A){var P=this.parentNode;m.inArray(this,g)<0&&(m.cleanData(dr(this)),P&&P.replaceChild(A,this))},g)}}),m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(g,A){m.fn[g]=function(P){for(var j,ee=[],ne=m(P),oe=ne.length-1,$e=0;$e<=oe;$e++)j=$e===oe?this:this.clone(!0),m(ne[$e])[A](j),l.apply(ee,j.get());return this.pushStack(ee)}});var vt=new RegExp("^("+wt+")(?!px)[a-z%]+$","i"),Ge=/^--/,xt=function(g){var A=g.ownerDocument.defaultView;return(!A||!A.opener)&&(A=t),A.getComputedStyle(g)},fr=function(g,A,P){var j,ee,ne={};for(ee in A)ne[ee]=g.style[ee],g.style[ee]=A[ee];j=P.call(g);for(ee in A)g.style[ee]=ne[ee];return j},ye=new RegExp(Et.join("|"),"i");(function(){function g(){if(ze){Ie.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",ze.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",At.appendChild(Ie).appendChild(ze);var St=t.getComputedStyle(ze);P=St.top!=="1%",$e=A(St.marginLeft)===12,ze.style.right="60%",ne=A(St.right)===36,j=A(St.width)===36,ze.style.position="absolute",ee=A(ze.offsetWidth/3)===12,At.removeChild(Ie),ze=null}}function A(St){return Math.round(parseFloat(St))}var P,j,ee,ne,oe,$e,Ie=w.createElement("div"),ze=w.createElement("div");ze.style&&(ze.style.backgroundClip="content-box",ze.cloneNode(!0).style.backgroundClip="",_.clearCloneStyle=ze.style.backgroundClip==="content-box",m.extend(_,{boxSizingReliable:function(){return g(),j},pixelBoxStyles:function(){return g(),ne},pixelPosition:function(){return g(),P},reliableMarginLeft:function(){return g(),$e},scrollboxSize:function(){return g(),ee},reliableTrDimensions:function(){var St,Rt,ot,qt;return oe==null&&(St=w.createElement("table"),Rt=w.createElement("tr"),ot=w.createElement("div"),St.style.cssText="position:absolute;left:-11111px;border-collapse:separate",Rt.style.cssText="box-sizing:content-box;border:1px solid",Rt.style.height="1px",ot.style.height="9px",ot.style.display="block",At.appendChild(St).appendChild(Rt).appendChild(ot),qt=t.getComputedStyle(Rt),oe=parseInt(qt.height,10)+parseInt(qt.borderTopWidth,10)+parseInt(qt.borderBottomWidth,10)===Rt.offsetHeight,At.removeChild(St)),oe}}))})();function lt(g,A,P){var j,ee,ne,oe,$e=Ge.test(A),Ie=g.style;return P=P||xt(g),P&&(oe=P.getPropertyValue(A)||P[A],$e&&oe&&(oe=oe.replace(Q,"$1")||void 0),oe===""&&!ft(g)&&(oe=m.style(g,A)),!_.pixelBoxStyles()&&vt.test(oe)&&ye.test(A)&&(j=Ie.width,ee=Ie.minWidth,ne=Ie.maxWidth,Ie.minWidth=Ie.maxWidth=Ie.width=oe,oe=P.width,Ie.width=j,Ie.minWidth=ee,Ie.maxWidth=ne)),oe!==void 0?oe+"":oe}function tt(g,A){return{get:function(){if(g()){delete this.get;return}return(this.get=A).apply(this,arguments)}}}var ct=["Webkit","Moz","ms"],kt=w.createElement("div").style,dt={};function Gt(g){for(var A=g[0].toUpperCase()+g.slice(1),P=ct.length;P--;)if(g=ct[P]+A,g in kt)return g}function Cr(g){var A=m.cssProps[g]||dt[g];return A||(g in kt?g:dt[g]=Gt(g)||g)}var Wr=/^(none|table(?!-c[ea]).+)/,Kr={position:"absolute",visibility:"hidden",display:"block"},an={letterSpacing:"0",fontWeight:"400"};function Nt(g,A,P){var j=mt.exec(A);return j?Math.max(0,j[2]-(P||0))+(j[3]||"px"):A}function Vr(g,A,P,j,ee,ne){var oe=A==="width"?1:0,$e=0,Ie=0,ze=0;if(P===(j?"border":"content"))return 0;for(;oe<4;oe+=2)P==="margin"&&(ze+=m.css(g,P+Et[oe],!0,ee)),j?(P==="content"&&(Ie-=m.css(g,"padding"+Et[oe],!0,ee)),P!=="margin"&&(Ie-=m.css(g,"border"+Et[oe]+"Width",!0,ee))):(Ie+=m.css(g,"padding"+Et[oe],!0,ee),P!=="padding"?Ie+=m.css(g,"border"+Et[oe]+"Width",!0,ee):$e+=m.css(g,"border"+Et[oe]+"Width",!0,ee));return!j&&ne>=0&&(Ie+=Math.max(0,Math.ceil(g["offset"+A[0].toUpperCase()+A.slice(1)]-ne-Ie-$e-.5))||0),Ie+ze}function Ci(g,A,P){var j=xt(g),ee=!_.boxSizingReliable()||P,ne=ee&&m.css(g,"boxSizing",!1,j)==="border-box",oe=ne,$e=lt(g,A,j),Ie="offset"+A[0].toUpperCase()+A.slice(1);if(vt.test($e)){if(!P)return $e;$e="auto"}return(!_.boxSizingReliable()&&ne||!_.reliableTrDimensions()&&U(g,"tr")||$e==="auto"||!parseFloat($e)&&m.css(g,"display",!1,j)==="inline")&&g.getClientRects().length&&(ne=m.css(g,"boxSizing",!1,j)==="border-box",oe=Ie in g,oe&&($e=g[Ie])),$e=parseFloat($e)||0,$e+Vr(g,A,P||(ne?"border":"content"),oe,j,$e)+"px"}m.extend({cssHooks:{opacity:{get:function(g,A){if(A){var P=lt(g,"opacity");return P===""?"1":P}}}},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(g,A,P,j){if(!(!g||g.nodeType===3||g.nodeType===8||!g.style)){var ee,ne,oe,$e=ge(A),Ie=Ge.test(A),ze=g.style;if(Ie||(A=Cr($e)),oe=m.cssHooks[A]||m.cssHooks[$e],P!==void 0){if(ne=typeof P,ne==="string"&&(ee=mt.exec(P))&&ee[1]&&(P=Ae(g,A,ee),ne="number"),P==null||P!==P)return;ne==="number"&&!Ie&&(P+=ee&&ee[3]||(m.cssNumber[$e]?"":"px")),!_.clearCloneStyle&&P===""&&A.indexOf("background")===0&&(ze[A]="inherit"),(!oe||!("set"in oe)||(P=oe.set(g,P,j))!==void 0)&&(Ie?ze.setProperty(A,P):ze[A]=P)}else return oe&&"get"in oe&&(ee=oe.get(g,!1,j))!==void 0?ee:ze[A]}},css:function(g,A,P,j){var ee,ne,oe,$e=ge(A),Ie=Ge.test(A);return Ie||(A=Cr($e)),oe=m.cssHooks[A]||m.cssHooks[$e],oe&&"get"in oe&&(ee=oe.get(g,!0,P)),ee===void 0&&(ee=lt(g,A,j)),ee==="normal"&&A in an&&(ee=an[A]),P===""||P?(ne=parseFloat(ee),P===!0||isFinite(ne)?ne||0:ee):ee}}),m.each(["height","width"],function(g,A){m.cssHooks[A]={get:function(P,j,ee){if(j)return Wr.test(m.css(P,"display"))&&(!P.getClientRects().length||!P.getBoundingClientRect().width)?fr(P,Kr,function(){return Ci(P,A,ee)}):Ci(P,A,ee)},set:function(P,j,ee){var ne,oe=xt(P),$e=!_.scrollboxSize()&&oe.position==="absolute",Ie=$e||ee,ze=Ie&&m.css(P,"boxSizing",!1,oe)==="border-box",St=ee?Vr(P,A,ee,ze,oe):0;return ze&&$e&&(St-=Math.ceil(P["offset"+A[0].toUpperCase()+A.slice(1)]-parseFloat(oe[A])-Vr(P,A,"border",!1,oe)-.5)),St&&(ne=mt.exec(j))&&(ne[3]||"px")!=="px"&&(P.style[A]=j,j=m.css(P,A)),Nt(P,j,St)}}}),m.cssHooks.marginLeft=tt(_.reliableMarginLeft,function(g,A){if(A)return(parseFloat(lt(g,"marginLeft"))||g.getBoundingClientRect().left-fr(g,{marginLeft:0},function(){return g.getBoundingClientRect().left}))+"px"}),m.each({margin:"",padding:"",border:"Width"},function(g,A){m.cssHooks[g+A]={expand:function(P){for(var j=0,ee={},ne=typeof P=="string"?P.split(" "):[P];j<4;j++)ee[g+Et[j]+A]=ne[j]||ne[j-2]||ne[0];return ee}},g!=="margin"&&(m.cssHooks[g+A].set=Nt)}),m.fn.extend({css:function(g,A){return Ce(this,function(P,j,ee){var ne,oe,$e={},Ie=0;if(Array.isArray(j)){for(ne=xt(P),oe=j.length;Ie<oe;Ie++)$e[j[Ie]]=m.css(P,j[Ie],!1,ne);return $e}return ee!==void 0?m.style(P,j,ee):m.css(P,j)},g,A,arguments.length>1)}});function Kn(g,A,P,j,ee){return new Kn.prototype.init(g,A,P,j,ee)}m.Tween=Kn,Kn.prototype={constructor:Kn,init:function(g,A,P,j,ee,ne){this.elem=g,this.prop=P,this.easing=ee||m.easing._default,this.options=A,this.start=this.now=this.cur(),this.end=j,this.unit=ne||(m.cssNumber[P]?"":"px")},cur:function(){var g=Kn.propHooks[this.prop];return g&&g.get?g.get(this):Kn.propHooks._default.get(this)},run:function(g){var A,P=Kn.propHooks[this.prop];return this.options.duration?this.pos=A=m.easing[this.easing](g,this.options.duration*g,0,1,this.options.duration):this.pos=A=g,this.now=(this.end-this.start)*A+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),P&&P.set?P.set(this):Kn.propHooks._default.set(this),this}},Kn.prototype.init.prototype=Kn.prototype,Kn.propHooks={_default:{get:function(g){var A;return g.elem.nodeType!==1||g.elem[g.prop]!=null&&g.elem.style[g.prop]==null?g.elem[g.prop]:(A=m.css(g.elem,g.prop,""),!A||A==="auto"?0:A)},set:function(g){m.fx.step[g.prop]?m.fx.step[g.prop](g):g.elem.nodeType===1&&(m.cssHooks[g.prop]||g.elem.style[Cr(g.prop)]!=null)?m.style(g.elem,g.prop,g.now+g.unit):g.elem[g.prop]=g.now}}},Kn.propHooks.scrollTop=Kn.propHooks.scrollLeft={set:function(g){g.elem.nodeType&&g.elem.parentNode&&(g.elem[g.prop]=g.now)}},m.easing={linear:function(g){return g},swing:function(g){return .5-Math.cos(g*Math.PI)/2},_default:"swing"},m.fx=Kn.prototype.init,m.fx.step={};var zi,wi,ra=/^(?:toggle|show|hide)$/,Oa=/queueHooks$/;function va(){wi&&(w.hidden===!1&&t.requestAnimationFrame?t.requestAnimationFrame(va):t.setTimeout(va,m.fx.interval),m.fx.tick())}function $(){return t.setTimeout(function(){zi=void 0}),zi=Date.now()}function re(g,A){var P,j=0,ee={height:g};for(A=A?1:0;j<4;j+=2-A)P=Et[j],ee["margin"+P]=ee["padding"+P]=g;return A&&(ee.opacity=ee.width=g),ee}function Ee(g,A,P){for(var j,ee=(et.tweeners[A]||[]).concat(et.tweeners["*"]),ne=0,oe=ee.length;ne<oe;ne++)if(j=ee[ne].call(P,A,g))return j}function Fe(g,A,P){var j,ee,ne,oe,$e,Ie,ze,St,Rt="width"in A||"height"in A,ot=this,qt={},Er=g.style,Yr=g.nodeType&&Ct(g),Nr=De.get(g,"fxshow");P.queue||(oe=m._queueHooks(g,"fx"),oe.unqueued==null&&(oe.unqueued=0,$e=oe.empty.fire,oe.empty.fire=function(){oe.unqueued||$e()}),oe.unqueued++,ot.always(function(){ot.always(function(){oe.unqueued--,m.queue(g,"fx").length||oe.empty.fire()})}));for(j in A)if(ee=A[j],ra.test(ee)){if(delete A[j],ne=ne||ee==="toggle",ee===(Yr?"hide":"show"))if(ee==="show"&&Nr&&Nr[j]!==void 0)Yr=!0;else continue;qt[j]=Nr&&Nr[j]||m.style(g,j)}if(Ie=!m.isEmptyObject(A),!(!Ie&&m.isEmptyObject(qt))){Rt&&g.nodeType===1&&(P.overflow=[Er.overflow,Er.overflowX,Er.overflowY],ze=Nr&&Nr.display,ze==null&&(ze=De.get(g,"display")),St=m.css(g,"display"),St==="none"&&(ze?St=ze:(bt([g],!0),ze=g.style.display||ze,St=m.css(g,"display"),bt([g]))),(St==="inline"||St==="inline-block"&&ze!=null)&&m.css(g,"float")==="none"&&(Ie||(ot.done(function(){Er.display=ze}),ze==null&&(St=Er.display,ze=St==="none"?"":St)),Er.display="inline-block")),P.overflow&&(Er.overflow="hidden",ot.always(function(){Er.overflow=P.overflow[0],Er.overflowX=P.overflow[1],Er.overflowY=P.overflow[2]})),Ie=!1;for(j in qt)Ie||(Nr?"hidden"in Nr&&(Yr=Nr.hidden):Nr=De.access(g,"fxshow",{display:ze}),ne&&(Nr.hidden=!Yr),Yr&&bt([g],!0),ot.done(function(){Yr||bt([g]),De.remove(g,"fxshow");for(j in qt)m.style(g,j,qt[j])})),Ie=Ee(Yr?Nr[j]:0,j,ot),j in Nr||(Nr[j]=Ie.start,Yr&&(Ie.end=Ie.start,Ie.start=0))}}function ht(g,A){var P,j,ee,ne,oe;for(P in g)if(j=ge(P),ee=A[j],ne=g[P],Array.isArray(ne)&&(ee=ne[1],ne=g[P]=ne[0]),P!==j&&(g[j]=ne,delete g[P]),oe=m.cssHooks[j],oe&&"expand"in oe){ne=oe.expand(ne),delete g[j];for(P in ne)P in g||(g[P]=ne[P],A[P]=ee)}else A[j]=ee}function et(g,A,P){var j,ee,ne=0,oe=et.prefilters.length,$e=m.Deferred().always(function(){delete Ie.elem}),Ie=function(){if(ee)return!1;for(var Rt=zi||$(),ot=Math.max(0,ze.startTime+ze.duration-Rt),qt=ot/ze.duration||0,Er=1-qt,Yr=0,Nr=ze.tweens.length;Yr<Nr;Yr++)ze.tweens[Yr].run(Er);return $e.notifyWith(g,[ze,Er,ot]),Er<1&&Nr?ot:(Nr||$e.notifyWith(g,[ze,1,0]),$e.resolveWith(g,[ze]),!1)},ze=$e.promise({elem:g,props:m.extend({},A),opts:m.extend(!0,{specialEasing:{},easing:m.easing._default},P),originalProperties:A,originalOptions:P,startTime:zi||$(),duration:P.duration,tweens:[],createTween:function(Rt,ot){var qt=m.Tween(g,ze.opts,Rt,ot,ze.opts.specialEasing[Rt]||ze.opts.easing);return ze.tweens.push(qt),qt},stop:function(Rt){var ot=0,qt=Rt?ze.tweens.length:0;if(ee)return this;for(ee=!0;ot<qt;ot++)ze.tweens[ot].run(1);return Rt?($e.notifyWith(g,[ze,1,0]),$e.resolveWith(g,[ze,Rt])):$e.rejectWith(g,[ze,Rt]),this}}),St=ze.props;for(ht(St,ze.opts.specialEasing);ne<oe;ne++)if(j=et.prefilters[ne].call(ze,g,St,ze.opts),j)return E(j.stop)&&(m._queueHooks(ze.elem,ze.opts.queue).stop=j.stop.bind(j)),j;return m.map(St,Ee,ze),E(ze.opts.start)&&ze.opts.start.call(g,ze),ze.progress(ze.opts.progress).done(ze.opts.done,ze.opts.complete).fail(ze.opts.fail).always(ze.opts.always),m.fx.timer(m.extend(Ie,{elem:g,anim:ze,queue:ze.opts.queue})),ze}m.Animation=m.extend(et,{tweeners:{"*":[function(g,A){var P=this.createTween(g,A);return Ae(P.elem,g,mt.exec(A),P),P}]},tweener:function(g,A){E(g)?(A=g,g=["*"]):g=g.match(M);for(var P,j=0,ee=g.length;j<ee;j++)P=g[j],et.tweeners[P]=et.tweeners[P]||[],et.tweeners[P].unshift(A)},prefilters:[Fe],prefilter:function(g,A){A?et.prefilters.unshift(g):et.prefilters.push(g)}}),m.speed=function(g,A,P){var j=g&&typeof g=="object"?m.extend({},g):{complete:P||!P&&A||E(g)&&g,duration:g,easing:P&&A||A&&!E(A)&&A};return m.fx.off?j.duration=0:typeof j.duration!="number"&&(j.duration in m.fx.speeds?j.duration=m.fx.speeds[j.duration]:j.duration=m.fx.speeds._default),(j.queue==null||j.queue===!0)&&(j.queue="fx"),j.old=j.complete,j.complete=function(){E(j.old)&&j.old.call(this),j.queue&&m.dequeue(this,j.queue)},j},m.fn.extend({fadeTo:function(g,A,P,j){return this.filter(Ct).css("opacity",0).show().end().animate({opacity:A},g,P,j)},animate:function(g,A,P,j){var ee=m.isEmptyObject(g),ne=m.speed(A,P,j),oe=function(){var $e=et(this,m.extend({},g),ne);(ee||De.get(this,"finish"))&&$e.stop(!0)};return oe.finish=oe,ee||ne.queue===!1?this.each(oe):this.queue(ne.queue,oe)},stop:function(g,A,P){var j=function(ee){var ne=ee.stop;delete ee.stop,ne(P)};return typeof g!="string"&&(P=A,A=g,g=void 0),A&&this.queue(g||"fx",[]),this.each(function(){var ee=!0,ne=g!=null&&g+"queueHooks",oe=m.timers,$e=De.get(this);if(ne)$e[ne]&&$e[ne].stop&&j($e[ne]);else for(ne in $e)$e[ne]&&$e[ne].stop&&Oa.test(ne)&&j($e[ne]);for(ne=oe.length;ne--;)oe[ne].elem===this&&(g==null||oe[ne].queue===g)&&(oe[ne].anim.stop(P),ee=!1,oe.splice(ne,1));(ee||!P)&&m.dequeue(this,g)})},finish:function(g){return g!==!1&&(g=g||"fx"),this.each(function(){var A,P=De.get(this),j=P[g+"queue"],ee=P[g+"queueHooks"],ne=m.timers,oe=j?j.length:0;for(P.finish=!0,m.queue(this,g,[]),ee&&ee.stop&&ee.stop.call(this,!0),A=ne.length;A--;)ne[A].elem===this&&ne[A].queue===g&&(ne[A].anim.stop(!0),ne.splice(A,1));for(A=0;A<oe;A++)j[A]&&j[A].finish&&j[A].finish.call(this);delete P.finish})}}),m.each(["toggle","show","hide"],function(g,A){var P=m.fn[A];m.fn[A]=function(j,ee,ne){return j==null||typeof j=="boolean"?P.apply(this,arguments):this.animate(re(A,!0),j,ee,ne)}}),m.each({slideDown:re("show"),slideUp:re("hide"),slideToggle:re("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(g,A){m.fn[g]=function(P,j,ee){return this.animate(A,P,j,ee)}}),m.timers=[],m.fx.tick=function(){var g,A=0,P=m.timers;for(zi=Date.now();A<P.length;A++)g=P[A],!g()&&P[A]===g&&P.splice(A--,1);P.length||m.fx.stop(),zi=void 0},m.fx.timer=function(g){m.timers.push(g),m.fx.start()},m.fx.interval=13,m.fx.start=function(){wi||(wi=!0,va())},m.fx.stop=function(){wi=null},m.fx.speeds={slow:600,fast:200,_default:400},m.fn.delay=function(g,A){return g=m.fx&&m.fx.speeds[g]||g,A=A||"fx",this.queue(A,function(P,j){var ee=t.setTimeout(P,g);j.stop=function(){t.clearTimeout(ee)}})},(function(){var g=w.createElement("input"),A=w.createElement("select"),P=A.appendChild(w.createElement("option"));g.type="checkbox",_.checkOn=g.value!=="",_.optSelected=P.selected,g=w.createElement("input"),g.value="t",g.type="radio",_.radioValue=g.value==="t"})();var Ot,zt=m.expr.attrHandle;m.fn.extend({attr:function(g,A){return Ce(this,m.attr,g,A,arguments.length>1)},removeAttr:function(g){return this.each(function(){m.removeAttr(this,g)})}}),m.extend({attr:function(g,A,P){var j,ee,ne=g.nodeType;if(!(ne===3||ne===8||ne===2)){if(typeof g.getAttribute>"u")return m.prop(g,A,P);if((ne!==1||!m.isXMLDoc(g))&&(ee=m.attrHooks[A.toLowerCase()]||(m.expr.match.bool.test(A)?Ot:void 0)),P!==void 0){if(P===null){m.removeAttr(g,A);return}return ee&&"set"in ee&&(j=ee.set(g,P,A))!==void 0?j:(g.setAttribute(A,P+""),P)}return ee&&"get"in ee&&(j=ee.get(g,A))!==null?j:(j=m.find.attr(g,A),j??void 0)}},attrHooks:{type:{set:function(g,A){if(!_.radioValue&&A==="radio"&&U(g,"input")){var P=g.value;return g.setAttribute("type",A),P&&(g.value=P),A}}}},removeAttr:function(g,A){var P,j=0,ee=A&&A.match(M);if(ee&&g.nodeType===1)for(;P=ee[j++];)g.removeAttribute(P)}}),Ot={set:function(g,A,P){return A===!1?m.removeAttr(g,P):g.setAttribute(P,P),P}},m.each(m.expr.match.bool.source.match(/\w+/g),function(g,A){var P=zt[A]||m.find.attr;zt[A]=function(j,ee,ne){var oe,$e,Ie=ee.toLowerCase();return ne||($e=zt[Ie],zt[Ie]=oe,oe=P(j,ee,ne)!=null?Ie:null,zt[Ie]=$e),oe}});var Qt=/^(?:input|select|textarea|button)$/i,yr=/^(?:a|area)$/i;m.fn.extend({prop:function(g,A){return Ce(this,m.prop,g,A,arguments.length>1)},removeProp:function(g){return this.each(function(){delete this[m.propFix[g]||g]})}}),m.extend({prop:function(g,A,P){var j,ee,ne=g.nodeType;if(!(ne===3||ne===8||ne===2))return(ne!==1||!m.isXMLDoc(g))&&(A=m.propFix[A]||A,ee=m.propHooks[A]),P!==void 0?ee&&"set"in ee&&(j=ee.set(g,P,A))!==void 0?j:g[A]=P:ee&&"get"in ee&&(j=ee.get(g,A))!==null?j:g[A]},propHooks:{tabIndex:{get:function(g){var A=m.find.attr(g,"tabindex");return A?parseInt(A,10):Qt.test(g.nodeName)||yr.test(g.nodeName)&&g.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),_.optSelected||(m.propHooks.selected={get:function(g){var A=g.parentNode;return A&&A.parentNode&&A.parentNode.selectedIndex,null},set:function(g){var A=g.parentNode;A&&(A.selectedIndex,A.parentNode&&A.parentNode.selectedIndex)}}),m.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){m.propFix[this.toLowerCase()]=this});function Tr(g){var A=g.match(M)||[];return A.join(" ")}function Cn(g){return g.getAttribute&&g.getAttribute("class")||""}function hi(g){return Array.isArray(g)?g:typeof g=="string"?g.match(M)||[]:[]}m.fn.extend({addClass:function(g){var A,P,j,ee,ne,oe;return E(g)?this.each(function($e){m(this).addClass(g.call(this,$e,Cn(this)))}):(A=hi(g),A.length?this.each(function(){if(j=Cn(this),P=this.nodeType===1&&" "+Tr(j)+" ",P){for(ne=0;ne<A.length;ne++)ee=A[ne],P.indexOf(" "+ee+" ")<0&&(P+=ee+" ");oe=Tr(P),j!==oe&&this.setAttribute("class",oe)}}):this)},removeClass:function(g){var A,P,j,ee,ne,oe;return E(g)?this.each(function($e){m(this).removeClass(g.call(this,$e,Cn(this)))}):arguments.length?(A=hi(g),A.length?this.each(function(){if(j=Cn(this),P=this.nodeType===1&&" "+Tr(j)+" ",P){for(ne=0;ne<A.length;ne++)for(ee=A[ne];P.indexOf(" "+ee+" ")>-1;)P=P.replace(" "+ee+" "," ");oe=Tr(P),j!==oe&&this.setAttribute("class",oe)}}):this):this.attr("class","")},toggleClass:function(g,A){var P,j,ee,ne,oe=typeof g,$e=oe==="string"||Array.isArray(g);return E(g)?this.each(function(Ie){m(this).toggleClass(g.call(this,Ie,Cn(this),A),A)}):typeof A=="boolean"&&$e?A?this.addClass(g):this.removeClass(g):(P=hi(g),this.each(function(){if($e)for(ne=m(this),ee=0;ee<P.length;ee++)j=P[ee],ne.hasClass(j)?ne.removeClass(j):ne.addClass(j);else(g===void 0||oe==="boolean")&&(j=Cn(this),j&&De.set(this,"__className__",j),this.setAttribute&&this.setAttribute("class",j||g===!1?"":De.get(this,"__className__")||""))}))},hasClass:function(g){var A,P,j=0;for(A=" "+g+" ";P=this[j++];)if(P.nodeType===1&&(" "+Tr(Cn(P))+" ").indexOf(A)>-1)return!0;return!1}});var pi=/\r/g;m.fn.extend({val:function(g){var A,P,j,ee=this[0];return arguments.length?(j=E(g),this.each(function(ne){var oe;this.nodeType===1&&(j?oe=g.call(this,ne,m(this).val()):oe=g,oe==null?oe="":typeof oe=="number"?oe+="":Array.isArray(oe)&&(oe=m.map(oe,function($e){return $e==null?"":$e+""})),A=m.valHooks[this.type]||m.valHooks[this.nodeName.toLowerCase()],(!A||!("set"in A)||A.set(this,oe,"value")===void 0)&&(this.value=oe))})):ee?(A=m.valHooks[ee.type]||m.valHooks[ee.nodeName.toLowerCase()],A&&"get"in A&&(P=A.get(ee,"value"))!==void 0?P:(P=ee.value,typeof P=="string"?P.replace(pi,""):P??"")):void 0}}),m.extend({valHooks:{option:{get:function(g){var A=m.find.attr(g,"value");return A??Tr(m.text(g))}},select:{get:function(g){var A,P,j,ee=g.options,ne=g.selectedIndex,oe=g.type==="select-one",$e=oe?null:[],Ie=oe?ne+1:ee.length;for(ne<0?j=Ie:j=oe?ne:0;j<Ie;j++)if(P=ee[j],(P.selected||j===ne)&&!P.disabled&&(!P.parentNode.disabled||!U(P.parentNode,"optgroup"))){if(A=m(P).val(),oe)return A;$e.push(A)}return $e},set:function(g,A){for(var P,j,ee=g.options,ne=m.makeArray(A),oe=ee.length;oe--;)j=ee[oe],(j.selected=m.inArray(m.valHooks.option.get(j),ne)>-1)&&(P=!0);return P||(g.selectedIndex=-1),ne}}}}),m.each(["radio","checkbox"],function(){m.valHooks[this]={set:function(g,A){if(Array.isArray(A))return g.checked=m.inArray(m(g).val(),A)>-1}},_.checkOn||(m.valHooks[this].get=function(g){return g.getAttribute("value")===null?"on":g.value})});var $o=t.location,bs={guid:Date.now()},Fo=/\?/;m.parseXML=function(g){var A,P;if(!g||typeof g!="string")return null;try{A=new t.DOMParser().parseFromString(g,"text/xml")}catch{}return P=A&&A.getElementsByTagName("parsererror")[0],(!A||P)&&m.error("Invalid XML: "+(P?m.map(P.childNodes,function(j){return j.textContent}).join(`
32
+ `):g)),A};var Ia=/^(?:focusinfocus|focusoutblur)$/,ri=function(g){g.stopPropagation()};m.extend(m.event,{trigger:function(g,A,P,j){var ee,ne,oe,$e,Ie,ze,St,Rt,ot=[P||w],qt=h.call(g,"type")?g.type:g,Er=h.call(g,"namespace")?g.namespace.split("."):[];if(ne=Rt=oe=P=P||w,!(P.nodeType===3||P.nodeType===8)&&!Ia.test(qt+m.event.triggered)&&(qt.indexOf(".")>-1&&(Er=qt.split("."),qt=Er.shift(),Er.sort()),Ie=qt.indexOf(":")<0&&"on"+qt,g=g[m.expando]?g:new m.Event(qt,typeof g=="object"&&g),g.isTrigger=j?2:3,g.namespace=Er.join("."),g.rnamespace=g.namespace?new RegExp("(^|\\.)"+Er.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,g.result=void 0,g.target||(g.target=P),A=A==null?[g]:m.makeArray(A,[g]),St=m.event.special[qt]||{},!(!j&&St.trigger&&St.trigger.apply(P,A)===!1))){if(!j&&!St.noBubble&&!S(P)){for($e=St.delegateType||qt,Ia.test($e+qt)||(ne=ne.parentNode);ne;ne=ne.parentNode)ot.push(ne),oe=ne;oe===(P.ownerDocument||w)&&ot.push(oe.defaultView||oe.parentWindow||t)}for(ee=0;(ne=ot[ee++])&&!g.isPropagationStopped();)Rt=ne,g.type=ee>1?$e:St.bindType||qt,ze=(De.get(ne,"events")||Object.create(null))[g.type]&&De.get(ne,"handle"),ze&&ze.apply(ne,A),ze=Ie&&ne[Ie],ze&&ze.apply&&Te(ne)&&(g.result=ze.apply(ne,A),g.result===!1&&g.preventDefault());return g.type=qt,!j&&!g.isDefaultPrevented()&&(!St._default||St._default.apply(ot.pop(),A)===!1)&&Te(P)&&Ie&&E(P[qt])&&!S(P)&&(oe=P[Ie],oe&&(P[Ie]=null),m.event.triggered=qt,g.isPropagationStopped()&&Rt.addEventListener(qt,ri),P[qt](),g.isPropagationStopped()&&Rt.removeEventListener(qt,ri),m.event.triggered=void 0,oe&&(P[Ie]=oe)),g.result}},simulate:function(g,A,P){var j=m.extend(new m.Event,P,{type:g,isSimulated:!0});m.event.trigger(j,null,A)}}),m.fn.extend({trigger:function(g,A){return this.each(function(){m.event.trigger(g,A,this)})},triggerHandler:function(g,A){var P=this[0];if(P)return m.event.trigger(g,A,P,!0)}});var ga=/\[\]$/,Pa=/\r?\n/g,sn=/^(?:submit|button|image|reset|file)$/i,Wi=/^(?:input|select|textarea|keygen)/i;function fo(g,A,P,j){var ee;if(Array.isArray(A))m.each(A,function(ne,oe){P||ga.test(g)?j(g,oe):fo(g+"["+(typeof oe=="object"&&oe!=null?ne:"")+"]",oe,P,j)});else if(!P&&x(A)==="object")for(ee in A)fo(g+"["+ee+"]",A[ee],P,j);else j(g,A)}m.param=function(g,A){var P,j=[],ee=function(ne,oe){var $e=E(oe)?oe():oe;j[j.length]=encodeURIComponent(ne)+"="+encodeURIComponent($e??"")};if(g==null)return"";if(Array.isArray(g)||g.jquery&&!m.isPlainObject(g))m.each(g,function(){ee(this.name,this.value)});else for(P in g)fo(P,g[P],A,ee);return j.join("&")},m.fn.extend({serialize:function(){return m.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var g=m.prop(this,"elements");return g?m.makeArray(g):this}).filter(function(){var g=this.type;return this.name&&!m(this).is(":disabled")&&Wi.test(this.nodeName)&&!sn.test(g)&&(this.checked||!Lt.test(g))}).map(function(g,A){var P=m(this).val();return P==null?null:Array.isArray(P)?m.map(P,function(j){return{name:A.name,value:j.replace(Pa,`\r
33
+ `)}}):{name:A.name,value:P.replace(Pa,`\r
34
+ `)}}).get()}});var ho=/%20/g,Li=/#.*$/,os=/([?&])_=[^&]*/,ka=/^(.*?):[ \t]*([^\r\n]*)$/mg,jo=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,ss=/^(?:GET|HEAD)$/,Ws=/^\/\//,Da={},Ha={},bi="*/".concat("*"),Gi=w.createElement("a");Gi.href=$o.href;function Gs(g){return function(A,P){typeof A!="string"&&(P=A,A="*");var j,ee=0,ne=A.toLowerCase().match(M)||[];if(E(P))for(;j=ne[ee++];)j[0]==="+"?(j=j.slice(1)||"*",(g[j]=g[j]||[]).unshift(P)):(g[j]=g[j]||[]).push(P)}}function po(g,A,P,j){var ee={},ne=g===Ha;function oe($e){var Ie;return ee[$e]=!0,m.each(g[$e]||[],function(ze,St){var Rt=St(A,P,j);if(typeof Rt=="string"&&!ne&&!ee[Rt])return A.dataTypes.unshift(Rt),oe(Rt),!1;if(ne)return!(Ie=Rt)}),Ie}return oe(A.dataTypes[0])||!ee["*"]&&oe("*")}function vo(g,A){var P,j,ee=m.ajaxSettings.flatOptions||{};for(P in A)A[P]!==void 0&&((ee[P]?g:j||(j={}))[P]=A[P]);return j&&m.extend(!0,g,j),g}function Ki(g,A,P){for(var j,ee,ne,oe,$e=g.contents,Ie=g.dataTypes;Ie[0]==="*";)Ie.shift(),j===void 0&&(j=g.mimeType||A.getResponseHeader("Content-Type"));if(j){for(ee in $e)if($e[ee]&&$e[ee].test(j)){Ie.unshift(ee);break}}if(Ie[0]in P)ne=Ie[0];else{for(ee in P){if(!Ie[0]||g.converters[ee+" "+Ie[0]]){ne=ee;break}oe||(oe=ee)}ne=ne||oe}if(ne)return ne!==Ie[0]&&Ie.unshift(ne),P[ne]}function us(g,A,P,j){var ee,ne,oe,$e,Ie,ze={},St=g.dataTypes.slice();if(St[1])for(oe in g.converters)ze[oe.toLowerCase()]=g.converters[oe];for(ne=St.shift();ne;)if(g.responseFields[ne]&&(P[g.responseFields[ne]]=A),!Ie&&j&&g.dataFilter&&(A=g.dataFilter(A,g.dataType)),Ie=ne,ne=St.shift(),ne){if(ne==="*")ne=Ie;else if(Ie!=="*"&&Ie!==ne){if(oe=ze[Ie+" "+ne]||ze["* "+ne],!oe){for(ee in ze)if($e=ee.split(" "),$e[1]===ne&&(oe=ze[Ie+" "+$e[0]]||ze["* "+$e[0]],oe)){oe===!0?oe=ze[ee]:ze[ee]!==!0&&(ne=$e[0],St.unshift($e[1]));break}}if(oe!==!0)if(oe&&g.throws)A=oe(A);else try{A=oe(A)}catch(Rt){return{state:"parsererror",error:oe?Rt:"No conversion from "+Ie+" to "+ne}}}}return{state:"success",data:A}}m.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:$o.href,type:"GET",isLocal:jo.test($o.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":bi,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":m.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(g,A){return A?vo(vo(g,m.ajaxSettings),A):vo(m.ajaxSettings,g)},ajaxPrefilter:Gs(Da),ajaxTransport:Gs(Ha),ajax:function(g,A){typeof g=="object"&&(A=g,g=void 0),A=A||{};var P,j,ee,ne,oe,$e,Ie,ze,St,Rt,ot=m.ajaxSetup({},A),qt=ot.context||ot,Er=ot.context&&(qt.nodeType||qt.jquery)?m(qt):m.event,Yr=m.Deferred(),Nr=m.Callbacks("once memory"),qn=ot.statusCode||{},Jn={},F={},te="canceled",le={readyState:0,getResponseHeader:function(Ye){var Qe;if(Ie){if(!ne)for(ne={};Qe=ka.exec(ee);)ne[Qe[1].toLowerCase()+" "]=(ne[Qe[1].toLowerCase()+" "]||[]).concat(Qe[2]);Qe=ne[Ye.toLowerCase()+" "]}return Qe==null?null:Qe.join(", ")},getAllResponseHeaders:function(){return Ie?ee:null},setRequestHeader:function(Ye,Qe){return Ie==null&&(Ye=F[Ye.toLowerCase()]=F[Ye.toLowerCase()]||Ye,Jn[Ye]=Qe),this},overrideMimeType:function(Ye){return Ie==null&&(ot.mimeType=Ye),this},statusCode:function(Ye){var Qe;if(Ye)if(Ie)le.always(Ye[le.status]);else for(Qe in Ye)qn[Qe]=[qn[Qe],Ye[Qe]];return this},abort:function(Ye){var Qe=Ye||te;return P&&P.abort(Qe),Le(0,Qe),this}};if(Yr.promise(le),ot.url=((g||ot.url||$o.href)+"").replace(Ws,$o.protocol+"//"),ot.type=A.method||A.type||ot.method||ot.type,ot.dataTypes=(ot.dataType||"*").toLowerCase().match(M)||[""],ot.crossDomain==null){$e=w.createElement("a");try{$e.href=ot.url,$e.href=$e.href,ot.crossDomain=Gi.protocol+"//"+Gi.host!=$e.protocol+"//"+$e.host}catch{ot.crossDomain=!0}}if(ot.data&&ot.processData&&typeof ot.data!="string"&&(ot.data=m.param(ot.data,ot.traditional)),po(Da,ot,A,le),Ie)return le;ze=m.event&&ot.global,ze&&m.active++===0&&m.event.trigger("ajaxStart"),ot.type=ot.type.toUpperCase(),ot.hasContent=!ss.test(ot.type),j=ot.url.replace(Li,""),ot.hasContent?ot.data&&ot.processData&&(ot.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(ot.data=ot.data.replace(ho,"+")):(Rt=ot.url.slice(j.length),ot.data&&(ot.processData||typeof ot.data=="string")&&(j+=(Fo.test(j)?"&":"?")+ot.data,delete ot.data),ot.cache===!1&&(j=j.replace(os,"$1"),Rt=(Fo.test(j)?"&":"?")+"_="+bs.guid+++Rt),ot.url=j+Rt),ot.ifModified&&(m.lastModified[j]&&le.setRequestHeader("If-Modified-Since",m.lastModified[j]),m.etag[j]&&le.setRequestHeader("If-None-Match",m.etag[j])),(ot.data&&ot.hasContent&&ot.contentType!==!1||A.contentType)&&le.setRequestHeader("Content-Type",ot.contentType),le.setRequestHeader("Accept",ot.dataTypes[0]&&ot.accepts[ot.dataTypes[0]]?ot.accepts[ot.dataTypes[0]]+(ot.dataTypes[0]!=="*"?", "+bi+"; q=0.01":""):ot.accepts["*"]);for(St in ot.headers)le.setRequestHeader(St,ot.headers[St]);if(ot.beforeSend&&(ot.beforeSend.call(qt,le,ot)===!1||Ie))return le.abort();if(te="abort",Nr.add(ot.complete),le.done(ot.success),le.fail(ot.error),P=po(Ha,ot,A,le),!P)Le(-1,"No Transport");else{if(le.readyState=1,ze&&Er.trigger("ajaxSend",[le,ot]),Ie)return le;ot.async&&ot.timeout>0&&(oe=t.setTimeout(function(){le.abort("timeout")},ot.timeout));try{Ie=!1,P.send(Jn,Le)}catch(Ye){if(Ie)throw Ye;Le(-1,Ye)}}function Le(Ye,Qe,It,Wt){var hr,$r,Sr,Tn,Yn,On=Qe;Ie||(Ie=!0,oe&&t.clearTimeout(oe),P=void 0,ee=Wt||"",le.readyState=Ye>0?4:0,hr=Ye>=200&&Ye<300||Ye===304,It&&(Tn=Ki(ot,le,It)),!hr&&m.inArray("script",ot.dataTypes)>-1&&m.inArray("json",ot.dataTypes)<0&&(ot.converters["text script"]=function(){}),Tn=us(ot,Tn,le,hr),hr?(ot.ifModified&&(Yn=le.getResponseHeader("Last-Modified"),Yn&&(m.lastModified[j]=Yn),Yn=le.getResponseHeader("etag"),Yn&&(m.etag[j]=Yn)),Ye===204||ot.type==="HEAD"?On="nocontent":Ye===304?On="notmodified":(On=Tn.state,$r=Tn.data,Sr=Tn.error,hr=!Sr)):(Sr=On,(Ye||!On)&&(On="error",Ye<0&&(Ye=0))),le.status=Ye,le.statusText=(Qe||On)+"",hr?Yr.resolveWith(qt,[$r,On,le]):Yr.rejectWith(qt,[le,On,Sr]),le.statusCode(qn),qn=void 0,ze&&Er.trigger(hr?"ajaxSuccess":"ajaxError",[le,ot,hr?$r:Sr]),Nr.fireWith(qt,[le,On]),ze&&(Er.trigger("ajaxComplete",[le,ot]),--m.active||m.event.trigger("ajaxStop")))}return le},getJSON:function(g,A,P){return m.get(g,A,P,"json")},getScript:function(g,A){return m.get(g,void 0,A,"script")}}),m.each(["get","post"],function(g,A){m[A]=function(P,j,ee,ne){return E(j)&&(ne=ne||ee,ee=j,j=void 0),m.ajax(m.extend({url:P,type:A,dataType:ne,data:j,success:ee},m.isPlainObject(P)&&P))}}),m.ajaxPrefilter(function(g){var A;for(A in g.headers)A.toLowerCase()==="content-type"&&(g.contentType=g.headers[A]||"")}),m._evalUrl=function(g,A,P){return m.ajax({url:g,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(j){m.globalEval(j,A,P)}})},m.fn.extend({wrapAll:function(g){var A;return this[0]&&(E(g)&&(g=g.call(this[0])),A=m(g,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&A.insertBefore(this[0]),A.map(function(){for(var P=this;P.firstElementChild;)P=P.firstElementChild;return P}).append(this)),this},wrapInner:function(g){return E(g)?this.each(function(A){m(this).wrapInner(g.call(this,A))}):this.each(function(){var A=m(this),P=A.contents();P.length?P.wrapAll(g):A.append(g)})},wrap:function(g){var A=E(g);return this.each(function(P){m(this).wrapAll(A?g.call(this,P):g)})},unwrap:function(g){return this.parent(g).not("body").each(function(){m(this).replaceWith(this.childNodes)}),this}}),m.expr.pseudos.hidden=function(g){return!m.expr.pseudos.visible(g)},m.expr.pseudos.visible=function(g){return!!(g.offsetWidth||g.offsetHeight||g.getClientRects().length)},m.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch{}};var Ks={0:200,1223:204},vi=m.ajaxSettings.xhr();_.cors=!!vi&&"withCredentials"in vi,_.ajax=vi=!!vi,m.ajaxTransport(function(g){var A,P;if(_.cors||vi&&!g.crossDomain)return{send:function(j,ee){var ne,oe=g.xhr();if(oe.open(g.type,g.url,g.async,g.username,g.password),g.xhrFields)for(ne in g.xhrFields)oe[ne]=g.xhrFields[ne];g.mimeType&&oe.overrideMimeType&&oe.overrideMimeType(g.mimeType),!g.crossDomain&&!j["X-Requested-With"]&&(j["X-Requested-With"]="XMLHttpRequest");for(ne in j)oe.setRequestHeader(ne,j[ne]);A=function($e){return function(){A&&(A=P=oe.onload=oe.onerror=oe.onabort=oe.ontimeout=oe.onreadystatechange=null,$e==="abort"?oe.abort():$e==="error"?typeof oe.status!="number"?ee(0,"error"):ee(oe.status,oe.statusText):ee(Ks[oe.status]||oe.status,oe.statusText,(oe.responseType||"text")!=="text"||typeof oe.responseText!="string"?{binary:oe.response}:{text:oe.responseText},oe.getAllResponseHeaders()))}},oe.onload=A(),P=oe.onerror=oe.ontimeout=A("error"),oe.onabort!==void 0?oe.onabort=P:oe.onreadystatechange=function(){oe.readyState===4&&t.setTimeout(function(){A&&P()})},A=A("abort");try{oe.send(g.hasContent&&g.data||null)}catch($e){if(A)throw $e}},abort:function(){A&&A()}}}),m.ajaxPrefilter(function(g){g.crossDomain&&(g.contents.script=!1)}),m.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(g){return m.globalEval(g),g}}}),m.ajaxPrefilter("script",function(g){g.cache===void 0&&(g.cache=!1),g.crossDomain&&(g.type="GET")}),m.ajaxTransport("script",function(g){if(g.crossDomain||g.scriptAttrs){var A,P;return{send:function(j,ee){A=m("<script>").attr(g.scriptAttrs||{}).prop({charset:g.scriptCharset,src:g.url}).on("load error",P=function(ne){A.remove(),P=null,ne&&ee(ne.type==="error"?404:200,ne.type)}),w.head.appendChild(A[0])},abort:function(){P&&P()}}}});var Yi=[],za=/(=)\?(?=&|$)|\?\?/;m.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var g=Yi.pop()||m.expando+"_"+bs.guid++;return this[g]=!0,g}}),m.ajaxPrefilter("json jsonp",function(g,A,P){var j,ee,ne,oe=g.jsonp!==!1&&(za.test(g.url)?"url":typeof g.data=="string"&&(g.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&za.test(g.data)&&"data");if(oe||g.dataTypes[0]==="jsonp")return j=g.jsonpCallback=E(g.jsonpCallback)?g.jsonpCallback():g.jsonpCallback,oe?g[oe]=g[oe].replace(za,"$1"+j):g.jsonp!==!1&&(g.url+=(Fo.test(g.url)?"&":"?")+g.jsonp+"="+j),g.converters["script json"]=function(){return ne||m.error(j+" was not called"),ne[0]},g.dataTypes[0]="json",ee=t[j],t[j]=function(){ne=arguments},P.always(function(){ee===void 0?m(t).removeProp(j):t[j]=ee,g[j]&&(g.jsonpCallback=A.jsonpCallback,Yi.push(j)),ne&&E(ee)&&ee(ne[0]),ne=ee=void 0}),"script"}),_.createHTMLDocument=(function(){var g=w.implementation.createHTMLDocument("").body;return g.innerHTML="<form></form><form></form>",g.childNodes.length===2})(),m.parseHTML=function(g,A,P){if(typeof g!="string")return[];typeof A=="boolean"&&(P=A,A=!1);var j,ee,ne;return A||(_.createHTMLDocument?(A=w.implementation.createHTMLDocument(""),j=A.createElement("base"),j.href=w.location.href,A.head.appendChild(j)):A=w),ee=we.exec(g),ne=!P&&[],ee?[A.createElement(ee[1])]:(ee=Qn([g],A,ne),ne&&ne.length&&m(ne).remove(),m.merge([],ee.childNodes))},m.fn.load=function(g,A,P){var j,ee,ne,oe=this,$e=g.indexOf(" ");return $e>-1&&(j=Tr(g.slice($e)),g=g.slice(0,$e)),E(A)?(P=A,A=void 0):A&&typeof A=="object"&&(ee="POST"),oe.length>0&&m.ajax({url:g,type:ee||"GET",dataType:"html",data:A}).done(function(Ie){ne=arguments,oe.html(j?m("<div>").append(m.parseHTML(Ie)).find(j):Ie)}).always(P&&function(Ie,ze){oe.each(function(){P.apply(this,ne||[Ie.responseText,ze,Ie])})}),this},m.expr.pseudos.animated=function(g){return m.grep(m.timers,function(A){return g===A.elem}).length},m.offset={setOffset:function(g,A,P){var j,ee,ne,oe,$e,Ie,ze,St=m.css(g,"position"),Rt=m(g),ot={};St==="static"&&(g.style.position="relative"),$e=Rt.offset(),ne=m.css(g,"top"),Ie=m.css(g,"left"),ze=(St==="absolute"||St==="fixed")&&(ne+Ie).indexOf("auto")>-1,ze?(j=Rt.position(),oe=j.top,ee=j.left):(oe=parseFloat(ne)||0,ee=parseFloat(Ie)||0),E(A)&&(A=A.call(g,P,m.extend({},$e))),A.top!=null&&(ot.top=A.top-$e.top+oe),A.left!=null&&(ot.left=A.left-$e.left+ee),"using"in A?A.using.call(g,ot):Rt.css(ot)}},m.fn.extend({offset:function(g){if(arguments.length)return g===void 0?this:this.each(function(ee){m.offset.setOffset(this,g,ee)});var A,P,j=this[0];if(j)return j.getClientRects().length?(A=j.getBoundingClientRect(),P=j.ownerDocument.defaultView,{top:A.top+P.pageYOffset,left:A.left+P.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var g,A,P,j=this[0],ee={top:0,left:0};if(m.css(j,"position")==="fixed")A=j.getBoundingClientRect();else{for(A=this.offset(),P=j.ownerDocument,g=j.offsetParent||P.documentElement;g&&(g===P.body||g===P.documentElement)&&m.css(g,"position")==="static";)g=g.parentNode;g&&g!==j&&g.nodeType===1&&(ee=m(g).offset(),ee.top+=m.css(g,"borderTopWidth",!0),ee.left+=m.css(g,"borderLeftWidth",!0))}return{top:A.top-ee.top-m.css(j,"marginTop",!0),left:A.left-ee.left-m.css(j,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var g=this.offsetParent;g&&m.css(g,"position")==="static";)g=g.offsetParent;return g||At})}}),m.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(g,A){var P=A==="pageYOffset";m.fn[g]=function(j){return Ce(this,function(ee,ne,oe){var $e;if(S(ee)?$e=ee:ee.nodeType===9&&($e=ee.defaultView),oe===void 0)return $e?$e[A]:ee[ne];$e?$e.scrollTo(P?$e.pageXOffset:oe,P?oe:$e.pageYOffset):ee[ne]=oe},g,j,arguments.length)}}),m.each(["top","left"],function(g,A){m.cssHooks[A]=tt(_.pixelPosition,function(P,j){if(j)return j=lt(P,A),vt.test(j)?m(P).position()[A]+"px":j})}),m.each({Height:"height",Width:"width"},function(g,A){m.each({padding:"inner"+g,content:A,"":"outer"+g},function(P,j){m.fn[j]=function(ee,ne){var oe=arguments.length&&(P||typeof ee!="boolean"),$e=P||(ee===!0||ne===!0?"margin":"border");return Ce(this,function(Ie,ze,St){var Rt;return S(Ie)?j.indexOf("outer")===0?Ie["inner"+g]:Ie.document.documentElement["client"+g]:Ie.nodeType===9?(Rt=Ie.documentElement,Math.max(Ie.body["scroll"+g],Rt["scroll"+g],Ie.body["offset"+g],Rt["offset"+g],Rt["client"+g])):St===void 0?m.css(Ie,ze,$e):m.style(Ie,ze,St,$e)},A,oe?ee:void 0,oe)}})}),m.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(g,A){m.fn[A]=function(P){return this.on(A,P)}}),m.fn.extend({bind:function(g,A,P){return this.on(g,null,A,P)},unbind:function(g,A){return this.off(g,null,A)},delegate:function(g,A,P,j){return this.on(A,g,P,j)},undelegate:function(g,A,P){return arguments.length===1?this.off(g,"**"):this.off(A,g||"**",P)},hover:function(g,A){return this.on("mouseenter",g).on("mouseleave",A||g)}}),m.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(g,A){m.fn[A]=function(P,j){return arguments.length>0?this.on(A,null,P,j):this.trigger(A)}});var go=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;m.proxy=function(g,A){var P,j,ee;if(typeof A=="string"&&(P=g[A],A=g,g=P),!!E(g))return j=a.call(arguments,2),ee=function(){return g.apply(A||this,j.concat(a.call(arguments)))},ee.guid=g.guid=g.guid||m.guid++,ee},m.holdReady=function(g){g?m.readyWait++:m.ready(!0)},m.isArray=Array.isArray,m.parseJSON=JSON.parse,m.nodeName=U,m.isFunction=E,m.isWindow=S,m.camelCase=ge,m.type=x,m.now=Date.now,m.isNumeric=function(g){var A=m.type(g);return(A==="number"||A==="string")&&!isNaN(g-parseFloat(g))},m.trim=function(g){return g==null?"":(g+"").replace(go,"$1")};var Wa=t.jQuery,Ga=t.$;return m.noConflict=function(g){return t.$===m&&(t.$=Ga),g&&t.jQuery===m&&(t.jQuery=Wa),m},typeof r>"u"&&(t.jQuery=t.$=m),m})})(Wv)),Wv.exports}var bz;function UJ(){return bz||(bz=1,(function(e){(function(t){var r=typeof self=="object"&&self.self===self&&self||typeof globalThis=="object"&&globalThis.global===globalThis&&globalThis;{var n=FJ(),i;try{i=jJ()}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 l=function(q,I,N){switch(q){case 1:return function(){return n[I](this[N])};case 2:return function(M){return n[I](this[N],M)};case 3:return function(M,Z){return n[I](this[N],f(M,this),Z)};case 4:return function(M,Z,L){return n[I](this[N],f(M,this),Z,L)};default:return function(){var M=o.call(arguments);return M.unshift(this[N]),n[I].apply(n,M)}}},u=function(q,I,N){n.each(I,function(M,Z){n[Z]&&(q.prototype[Z]=l(M,Z,N))})},f=function(q,I){return n.isFunction(q)?q:n.isObject(q)&&!I._isModel(q)?d(q):n.isString(q)?function(N){return N.get(q)}:q},d=function(q){var I=n.matches(q);return function(N){return I(N.attributes)}},h=r.Events={},p=/\s+/,y=function(q,I,N,M,Z){var L=0,G;if(N&&typeof N=="object")for(M!==void 0&&("context"in Z)&&Z.context===void 0&&(Z.context=M),G=n.keys(N);L<G.length;L++)I=y(q,I,G[L],N[G[L]],Z);else if(N&&p.test(N))for(G=N.split(p);L<G.length;L++)I=q(I,G[L],M,Z);else I=q(I,N,M,Z);return I};h.on=function(q,I,N){return _(this,q,I,N)};var _=function(q,I,N,M,Z){if(q._events=y(E,q._events||{},I,N,{context:M,ctx:q,listening:Z}),Z){var L=q._listeners||(q._listeners={});L[Z.id]=Z}return q};h.listenTo=function(q,I,N){if(!q)return this;var M=q._listenId||(q._listenId=n.uniqueId("l")),Z=this._listeningTo||(this._listeningTo={}),L=Z[M];if(!L){var G=this._listenId||(this._listenId=n.uniqueId("l"));L=Z[M]={obj:q,objId:M,id:G,listeningTo:Z,count:0}}return _(q,I,N,this,L),this};var E=function(q,I,N,M){if(N){var Z=q[I]||(q[I]=[]),L=M.context,G=M.ctx,pe=M.listening;pe&&pe.count++,Z.push({callback:N,context:L,ctx:L||G,listening:pe})}return q};h.off=function(q,I,N){return this._events?(this._events=y(S,this._events,q,I,{context:N,listeners:this._listeners}),this):this},h.stopListening=function(q,I,N){var M=this._listeningTo;if(!M)return this;for(var Z=q?[q._listenId]:n.keys(M),L=0;L<Z.length;L++){var G=M[Z[L]];if(!G)break;G.obj.off(I,N,this)}return this};var S=function(q,I,N,M){if(q){var Z=0,L,G=M.context,pe=M.listeners;if(!I&&!N&&!G){for(var fe=n.keys(pe);Z<fe.length;Z++)L=pe[fe[Z]],delete pe[L.id],delete L.listeningTo[L.objId];return}for(var be=I?[I]:n.keys(q);Z<be.length;Z++){I=be[Z];var _e=q[I];if(!_e)break;for(var Ce=[],Me=0;Me<_e.length;Me++){var de=_e[Me];N&&N!==de.callback&&N!==de.callback._callback||G&&G!==de.context?Ce.push(de):(L=de.listening,L&&--L.count===0&&(delete pe[L.id],delete L.listeningTo[L.objId]))}Ce.length?q[I]=Ce:delete q[I]}return q}};h.once=function(q,I,N){var M=y(w,{},q,I,n.bind(this.off,this));return typeof q=="string"&&N==null&&(I=void 0),this.on(M,I,N)},h.listenToOnce=function(q,I,N){var M=y(w,{},I,N,n.bind(this.stopListening,this,q));return this.listenTo(q,M)};var w=function(q,I,N,M){if(N){var Z=q[I]=n.once(function(){M(I,Z),N.apply(this,arguments)});Z._callback=N}return q};h.trigger=function(q){if(!this._events)return this;for(var I=Math.max(0,arguments.length-1),N=Array(I),M=0;M<I;M++)N[M]=arguments[M+1];return y(T,this._events,q,void 0,N),this};var T=function(q,I,N,M){if(q){var Z=q[I],L=q.all;Z&&L&&(L=L.slice()),Z&&C(Z,M),L&&C(L,[I].concat(M))}return q},C=function(q,I){var N,M=-1,Z=q.length,L=I[0],G=I[1],pe=I[2];switch(I.length){case 0:for(;++M<Z;)(N=q[M]).callback.call(N.ctx);return;case 1:for(;++M<Z;)(N=q[M]).callback.call(N.ctx,L);return;case 2:for(;++M<Z;)(N=q[M]).callback.call(N.ctx,L,G);return;case 3:for(;++M<Z;)(N=q[M]).callback.call(N.ctx,L,G,pe);return;default:for(;++M<Z;)(N=q[M]).callback.apply(N.ctx,I);return}};h.bind=h.on,h.unbind=h.off,n.extend(r,h);var x=r.Model=function(q,I){var N=q||{};I||(I={}),this.cid=n.uniqueId(this.cidPrefix),this.attributes={},I.collection&&(this.collection=I.collection),I.parse&&(N=this.parse(N,I)||{});var M=n.result(this,"defaults");N=n.defaults(n.extend({},M,N),M),this.set(N,I),this.changed={},this.initialize.apply(this,arguments)};n.extend(x.prototype,h,{changed:null,validationError:null,idAttribute:"id",cidPrefix:"c",initialize:function(){},toJSON:function(q){return n.clone(this.attributes)},sync:function(){return r.sync.apply(this,arguments)},get:function(q){return this.attributes[q]},escape:function(q){return n.escape(this.get(q))},has:function(q){return this.get(q)!=null},matches:function(q){return!!n.iteratee(q,this)(this.attributes)},set:function(q,I,N){if(q==null)return this;var M;if(typeof q=="object"?(M=q,N=I):(M={})[q]=I,N||(N={}),!this._validate(M,N))return!1;var Z=N.unset,L=N.silent,G=[],pe=this._changing;this._changing=!0,pe||(this._previousAttributes=n.clone(this.attributes),this.changed={});var fe=this.attributes,be=this.changed,_e=this._previousAttributes;for(var Ce in M)I=M[Ce],n.isEqual(fe[Ce],I)||G.push(Ce),n.isEqual(_e[Ce],I)?delete be[Ce]:be[Ce]=I,Z?delete fe[Ce]:fe[Ce]=I;if(this.idAttribute in M&&(this.id=this.get(this.idAttribute)),!L){G.length&&(this._pending=N);for(var Me=0;Me<G.length;Me++)this.trigger("change:"+G[Me],this,fe[G[Me]],N)}if(pe)return this;if(!L)for(;this._pending;)N=this._pending,this._pending=!1,this.trigger("change",this,N);return this._pending=!1,this._changing=!1,this},unset:function(q,I){return this.set(q,void 0,n.extend({},I,{unset:!0}))},clear:function(q){var I={};for(var N in this.attributes)I[N]=void 0;return this.set(I,n.extend({},q,{unset:!0}))},hasChanged:function(q){return q==null?!n.isEmpty(this.changed):n.has(this.changed,q)},changedAttributes:function(q){if(!q)return this.hasChanged()?n.clone(this.changed):!1;var I=this._changing?this._previousAttributes:this.attributes,N={};for(var M in q){var Z=q[M];n.isEqual(I[M],Z)||(N[M]=Z)}return n.size(N)?N:!1},previous:function(q){return q==null||!this._previousAttributes?null:this._previousAttributes[q]},previousAttributes:function(){return n.clone(this._previousAttributes)},fetch:function(q){q=n.extend({parse:!0},q);var I=this,N=q.success;return q.success=function(M){var Z=q.parse?I.parse(M,q):M;if(!I.set(Z,q))return!1;N&&N.call(q.context,I,M,q),I.trigger("sync",I,M,q)},rt(this,q),this.sync("read",this,q)},save:function(q,I,N){var M;q==null||typeof q=="object"?(M=q,N=I):(M={})[q]=I,N=n.extend({validate:!0,parse:!0},N);var Z=N.wait;if(M&&!Z){if(!this.set(M,N))return!1}else if(!this._validate(M,N))return!1;var L=this,G=N.success,pe=this.attributes;N.success=function(_e){L.attributes=pe;var Ce=N.parse?L.parse(_e,N):_e;if(Z&&(Ce=n.extend({},M,Ce)),Ce&&!L.set(Ce,N))return!1;G&&G.call(N.context,L,_e,N),L.trigger("sync",L,_e,N)},rt(this,N),M&&Z&&(this.attributes=n.extend({},pe,M));var fe=this.isNew()?"create":N.patch?"patch":"update";fe==="patch"&&!N.attrs&&(N.attrs=M);var be=this.sync(fe,this,N);return this.attributes=pe,be},destroy:function(q){q=q?n.clone(q):{};var I=this,N=q.success,M=q.wait,Z=function(){I.stopListening(),I.trigger("destroy",I,I.collection,q)};q.success=function(G){M&&Z(),N&&N.call(q.context,I,G,q),I.isNew()||I.trigger("sync",I,G,q)};var L=!1;return this.isNew()?n.defer(q.success):(rt(this,q),L=this.sync("delete",this,q)),M||Z(),L},url:function(){var q=n.result(this,"urlRoot")||n.result(this.collection,"url")||nt();if(this.isNew())return q;var I=this.get(this.idAttribute);return q.replace(/[^\/]$/,"$&/")+encodeURIComponent(I)},parse:function(q,I){return q},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(q){return this._validate({},n.extend({},q,{validate:!0}))},_validate:function(q,I){if(!I.validate||!this.validate)return!0;q=n.extend({},this.attributes,q);var N=this.validationError=this.validate(q,I)||null;return N?(this.trigger("invalid",this,N,n.extend(I,{validationError:N})),!1):!0}});var R={keys:1,values:1,pairs:1,invert:1,pick:0,omit:0,chain:1,isEmpty:1};u(x,R,"attributes");var O=r.Collection=function(q,I){I||(I={}),I.model&&(this.model=I.model),I.comparator!==void 0&&(this.comparator=I.comparator),this._reset(),this.initialize.apply(this,arguments),q&&this.reset(q,n.extend({silent:!0},I))},m={add:!0,remove:!0,merge:!0},D={add:!0,remove:!1},U=function(q,I,N){N=Math.min(Math.max(N,0),q.length);var M=Array(q.length-N),Z=I.length,L;for(L=0;L<M.length;L++)M[L]=q[L+N];for(L=0;L<Z;L++)q[L+N]=I[L];for(L=0;L<M.length;L++)q[L+Z+N]=M[L]};n.extend(O.prototype,h,{model:x,initialize:function(){},toJSON:function(q){return this.map(function(I){return I.toJSON(q)})},sync:function(){return r.sync.apply(this,arguments)},add:function(q,I){return this.set(q,n.extend({merge:!1},I,D))},remove:function(q,I){I=n.extend({},I);var N=!n.isArray(q);q=N?[q]:q.slice();var M=this._removeModels(q,I);return!I.silent&&M.length&&(I.changes={added:[],merged:[],removed:M},this.trigger("update",this,I)),N?M[0]:M},set:function(q,I){if(q!=null){I=n.extend({},m,I),I.parse&&!this._isModel(q)&&(q=this.parse(q,I)||[]);var N=!n.isArray(q);q=N?[q]:q.slice();var M=I.at;M!=null&&(M=+M),M>this.length&&(M=this.length),M<0&&(M+=this.length+1);var Z=[],L=[],G=[],pe=[],fe={},be=I.add,_e=I.merge,Ce=I.remove,Me=!1,de=this.comparator&&M==null&&I.sort!==!1,me=n.isString(this.comparator)?this.comparator:null,ge,Te;for(Te=0;Te<q.length;Te++){ge=q[Te];var Pe=this.get(ge);if(Pe){if(_e&&ge!==Pe){var De=this._isModel(ge)?ge.attributes:ge;I.parse&&(De=Pe.parse(De,I)),Pe.set(De,I),G.push(Pe),de&&!Me&&(Me=Pe.hasChanged(me))}fe[Pe.cid]||(fe[Pe.cid]=!0,Z.push(Pe)),q[Te]=Pe}else be&&(ge=q[Te]=this._prepareModel(ge,I),ge&&(L.push(ge),this._addReference(ge,I),fe[ge.cid]=!0,Z.push(ge)))}if(Ce){for(Te=0;Te<this.length;Te++)ge=this.models[Te],fe[ge.cid]||pe.push(ge);pe.length&&this._removeModels(pe,I)}var qe=!1,_t=!de&&be&&Ce;if(Z.length&&_t?(qe=this.length!==Z.length||n.some(this.models,function(Ut,Mt){return Ut!==Z[Mt]}),this.models.length=0,U(this.models,Z,0),this.length=this.models.length):L.length&&(de&&(Me=!0),U(this.models,L,M??this.length),this.length=this.models.length),Me&&this.sort({silent:!0}),!I.silent){for(Te=0;Te<L.length;Te++)M!=null&&(I.index=M+Te),ge=L[Te],ge.trigger("add",ge,this,I);(Me||qe)&&this.trigger("sort",this,I),(L.length||pe.length||G.length)&&(I.changes={added:L,removed:pe,merged:G},this.trigger("update",this,I))}return N?q[0]:q}},reset:function(q,I){I=I?n.clone(I):{};for(var N=0;N<this.models.length;N++)this._removeReference(this.models[N],I);return I.previousModels=this.models,this._reset(),q=this.add(q,n.extend({silent:!0},I)),I.silent||this.trigger("reset",this,I),q},push:function(q,I){return this.add(q,n.extend({at:this.length},I))},pop:function(q){var I=this.at(this.length-1);return this.remove(I,q)},unshift:function(q,I){return this.add(q,n.extend({at:0},I))},shift:function(q){var I=this.at(0);return this.remove(I,q)},slice:function(){return o.apply(this.models,arguments)},get:function(q){if(q!=null)return this._byId[q]||this._byId[this.modelId(q.attributes||q)]||q.cid&&this._byId[q.cid]},has:function(q){return this.get(q)!=null},at:function(q){return q<0&&(q+=this.length),this.models[q]},where:function(q,I){return this[I?"find":"filter"](q)},findWhere:function(q){return this.where(q,!0)},sort:function(q){var I=this.comparator;if(!I)throw new Error("Cannot sort a set without a comparator");q||(q={});var N=I.length;return n.isFunction(I)&&(I=n.bind(I,this)),N===1||n.isString(I)?this.models=this.sortBy(I):this.models.sort(I),q.silent||this.trigger("sort",this,q),this},pluck:function(q){return this.map(q+"")},fetch:function(q){q=n.extend({parse:!0},q);var I=q.success,N=this;return q.success=function(M){var Z=q.reset?"reset":"set";N[Z](M,q),I&&I.call(q.context,N,M,q),N.trigger("sync",N,M,q)},rt(this,q),this.sync("read",this,q)},create:function(q,I){I=I?n.clone(I):{};var N=I.wait;if(q=this._prepareModel(q,I),!q)return!1;N||this.add(q,I);var M=this,Z=I.success;return I.success=function(L,G,pe){N&&M.add(L,pe),Z&&Z.call(pe.context,L,G,pe)},q.save(null,I),q},parse:function(q,I){return q},clone:function(){return new this.constructor(this.models,{model:this.model,comparator:this.comparator})},modelId:function(q){return q[this.model.prototype.idAttribute||"id"]},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(q,I){if(this._isModel(q))return q.collection||(q.collection=this),q;I=I?n.clone(I):{},I.collection=this;var N=new this.model(q,I);return N.validationError?(this.trigger("invalid",this,N.validationError,I),!1):N},_removeModels:function(q,I){for(var N=[],M=0;M<q.length;M++){var Z=this.get(q[M]);if(Z){var L=this.indexOf(Z);this.models.splice(L,1),this.length--,delete this._byId[Z.cid];var G=this.modelId(Z.attributes);G!=null&&delete this._byId[G],I.silent||(I.index=L,Z.trigger("remove",Z,this,I)),N.push(Z),this._removeReference(Z,I)}}return N},_isModel:function(q){return q instanceof x},_addReference:function(q,I){this._byId[q.cid]=q;var N=this.modelId(q.attributes);N!=null&&(this._byId[N]=q),q.on("all",this._onModelEvent,this)},_removeReference:function(q,I){delete this._byId[q.cid];var N=this.modelId(q.attributes);N!=null&&delete this._byId[N],this===q.collection&&delete q.collection,q.off("all",this._onModelEvent,this)},_onModelEvent:function(q,I,N,M){if(I){if((q==="add"||q==="remove")&&N!==this)return;if(q==="destroy"&&this.remove(I,M),q==="change"){var Z=this.modelId(I.previousAttributes()),L=this.modelId(I.attributes);Z!==L&&(Z!=null&&delete this._byId[Z],L!=null&&(this._byId[L]=I))}}this.trigger.apply(this,arguments)}});var K={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};u(O,K,"models");var B=r.View=function(q){this.cid=n.uniqueId("view"),n.extend(this,n.pick(q,Y)),this._ensureElement(),this.initialize.apply(this,arguments)},W=/^(\S+)\s*(.*)$/,Y=["model","collection","el","id","attributes","className","tagName","events"];n.extend(B.prototype,h,{tagName:"div",$:function(q){return this.$el.find(q)},initialize:function(){},render:function(){return this},remove:function(){return this._removeElement(),this.stopListening(),this},_removeElement:function(){this.$el.remove()},setElement:function(q){return this.undelegateEvents(),this._setElement(q),this.delegateEvents(),this},_setElement:function(q){this.$el=q instanceof r.$?q:r.$(q),this.el=this.$el[0]},delegateEvents:function(q){if(q||(q=n.result(this,"events")),!q)return this;this.undelegateEvents();for(var I in q){var N=q[I];if(n.isFunction(N)||(N=this[N]),!!N){var M=I.match(W);this.delegate(M[1],M[2],n.bind(N,this))}}return this},delegate:function(q,I,N){return this.$el.on(q+".delegateEvents"+this.cid,I,N),this},undelegateEvents:function(){return this.$el&&this.$el.off(".delegateEvents"+this.cid),this},undelegate:function(q,I,N){return this.$el.off(q+".delegateEvents"+this.cid,I,N),this},_createElement:function(q){return document.createElement(q)},_ensureElement:function(){if(this.el)this.setElement(n.result(this,"el"));else{var q=n.extend({},n.result(this,"attributes"));this.id&&(q.id=n.result(this,"id")),this.className&&(q.class=n.result(this,"className")),this.setElement(this._createElement(n.result(this,"tagName"))),this._setAttributes(q)}},_setAttributes:function(q){this.$el.attr(q)}}),r.sync=function(q,I,N){var M=Q[q];n.defaults(N||(N={}),{emulateHTTP:r.emulateHTTP,emulateJSON:r.emulateJSON});var Z={type:M,dataType:"json"};if(N.url||(Z.url=n.result(I,"url")||nt()),N.data==null&&I&&(q==="create"||q==="update"||q==="patch")&&(Z.contentType="application/json",Z.data=JSON.stringify(N.attrs||I.toJSON(N))),N.emulateJSON&&(Z.contentType="application/x-www-form-urlencoded",Z.data=Z.data?{model:Z.data}:{}),N.emulateHTTP&&(M==="PUT"||M==="DELETE"||M==="PATCH")){Z.type="POST",N.emulateJSON&&(Z.data._method=M);var L=N.beforeSend;N.beforeSend=function(fe){if(fe.setRequestHeader("X-HTTP-Method-Override",M),L)return L.apply(this,arguments)}}Z.type!=="GET"&&!N.emulateJSON&&(Z.processData=!1);var G=N.error;N.error=function(fe,be,_e){N.textStatus=be,N.errorThrown=_e,G&&G.call(N.context,fe,be,_e)};var pe=N.xhr=r.ajax(n.extend(Z,N));return I.trigger("request",I,pe,N),pe};var Q={create:"POST",update:"PUT",patch:"PATCH",delete:"DELETE",read:"GET"};r.ajax=function(){return r.$.ajax.apply(r.$,arguments)};var ie=r.Router=function(q){q||(q={}),q.routes&&(this.routes=q.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},ae=/\((.*?)\)/g,ve=/(\(\?)?:\w+/g,H=/\*\w+/g,J=/[\-{}\[\]+?.,\\\^$|#\s]/g;n.extend(ie.prototype,h,{initialize:function(){},route:function(q,I,N){n.isRegExp(q)||(q=this._routeToRegExp(q)),n.isFunction(I)&&(N=I,I=""),N||(N=this[I]);var M=this;return r.history.route(q,function(Z){var L=M._extractParameters(q,Z);M.execute(N,L,I)!==!1&&(M.trigger.apply(M,["route:"+I].concat(L)),M.trigger("route",I,L),r.history.trigger("route",M,I,L))}),this},execute:function(q,I,N){q&&q.apply(this,I)},navigate:function(q,I){return r.history.navigate(q,I),this},_bindRoutes:function(){if(this.routes){this.routes=n.result(this,"routes");for(var q,I=n.keys(this.routes);(q=I.pop())!=null;)this.route(q,this.routes[q])}},_routeToRegExp:function(q){return q=q.replace(J,"\\$&").replace(ae,"(?:$1)?").replace(ve,function(I,N){return N?I:"([^/?]+)"}).replace(H,"([^?]*?)"),new RegExp("^"+q+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(q,I){var N=q.exec(I).slice(1);return n.map(N,function(M,Z){return Z===N.length-1?M||null:M?decodeURIComponent(M):null})}});var z=r.History=function(){this.handlers=[],this.checkUrl=n.bind(this.checkUrl,this),typeof window<"u"&&(this.location=window.location,this.history=window.history)},ue=/^[#\/]|\s+$/g,we=/^\/+|\/+$/g,ke=/#.*$/;z.started=!1,n.extend(z.prototype,h,{interval:50,atRoot:function(){var q=this.location.pathname.replace(/[^\/]$/,"$&/");return q===this.root&&!this.getSearch()},matchRoot:function(){var q=this.decodeFragment(this.location.pathname),I=q.slice(0,this.root.length-1)+"/";return I===this.root},decodeFragment:function(q){return decodeURI(q.replace(/%25/g,"%2525"))},getSearch:function(){var q=this.location.href.replace(/#.*/,"").match(/\?.+/);return q?q[0]:""},getHash:function(q){var I=(q||this).location.href.match(/#(.*)$/);return I?I[1]:""},getPath:function(){var q=this.decodeFragment(this.location.pathname+this.getSearch()).slice(this.root.length-1);return q.charAt(0)==="/"?q.slice(1):q},getFragment:function(q){return q==null&&(this._usePushState||!this._wantsHashChange?q=this.getPath():q=this.getHash()),q.replace(ue,"")},start:function(q){if(z.started)throw new Error("Backbone.history has already been started");if(z.started=!0,this.options=n.extend({root:"/"},this.options,q),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(we,"/"),this._wantsHashChange&&this._wantsPushState)if(!this._hasPushState&&!this.atRoot()){var I=this.root.slice(0,-1)||"/";return this.location.replace(I+"#"+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 N=document.body,M=N.insertBefore(this.iframe,N.firstChild).contentWindow;M.document.open(),M.document.close(),M.location.hash="#"+this.fragment}var Z=window.addEventListener||function(L,G){return attachEvent("on"+L,G)};if(this._usePushState?Z("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?Z("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var q=window.removeEventListener||function(I,N){return detachEvent("on"+I,N)};this._usePushState?q("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&q("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),z.started=!1},route:function(q,I){this.handlers.unshift({route:q,callback:I})},checkUrl:function(q){var I=this.getFragment();if(I===this.fragment&&this.iframe&&(I=this.getHash(this.iframe.contentWindow)),I===this.fragment)return!1;this.iframe&&this.navigate(I),this.loadUrl()},loadUrl:function(q){return this.matchRoot()?(q=this.fragment=this.getFragment(q),n.some(this.handlers,function(I){if(I.route.test(q))return I.callback(q),!0})):!1},navigate:function(q,I){if(!z.started)return!1;(!I||I===!0)&&(I={trigger:!!I}),q=this.getFragment(q||"");var N=this.root;(q===""||q.charAt(0)==="?")&&(N=N.slice(0,-1)||"/");var M=N+q;if(q=this.decodeFragment(q.replace(ke,"")),this.fragment!==q){if(this.fragment=q,this._usePushState)this.history[I.replace?"replaceState":"pushState"]({},document.title,M);else if(this._wantsHashChange){if(this._updateHash(this.location,q,I.replace),this.iframe&&q!==this.getHash(this.iframe.contentWindow)){var Z=this.iframe.contentWindow;I.replace||(Z.document.open(),Z.document.close()),this._updateHash(Z.location,q,I.replace)}}else return this.location.assign(M);if(I.trigger)return this.loadUrl(q)}},_updateHash:function(q,I,N){if(N){var M=q.href.replace(/(javascript:|#).*$/,"");q.replace(M+"#"+I)}else q.hash="#"+I}}),r.history=new z;var Be=function(q,I){var N=this,M;return q&&n.has(q,"constructor")?M=q.constructor:M=function(){return N.apply(this,arguments)},n.extend(M,N,I),M.prototype=n.create(N.prototype,q),M.prototype.constructor=M,M.__super__=N.prototype,M};x.extend=O.extend=ie.extend=B.extend=z.extend=Be;var nt=function(){throw new Error('A "url" property or function must be specified')},rt=function(q,I){var N=I.error;I.error=function(M){N&&N.call(I.context,q,M,I),q.trigger("error",q,M,I)}};return r})})(ab)),ab}var gge=Hv.exports,Tz;function mge(){return Tz||(Tz=1,(function(e,t){(function(r,n){e.exports=n(FJ(),UJ())})(gge,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,T){return S+(T?" on the "+T+" channel":"")+': "'+w+'"'},o.debugLog=function(S,w,T){o.DEBUG&&console&&console.warn&&console.warn(o._debugText(S,w,T))};var l=/\s+/;o._eventsApi=function(S,w,T,C){if(!T)return!1;var x={};if((typeof T>"u"?"undefined":i(T))==="object"){for(var R in T){var O=S[w].apply(S,[R,T[R]].concat(C));l.test(R)?r.extend(x,O):x[R]=O}return x}if(l.test(T)){for(var m=T.split(l),D=0,U=m.length;D<U;D++)x[m[D]]=S[w].apply(S,[m[D]].concat(C));return x}return!1},o._callHandler=function(S,w,T){var C=T[0],x=T[1],R=T[2];switch(T.length){case 0:return S.call(w);case 1:return S.call(w,C);case 2:return S.call(w,C,x);case 3:return S.call(w,C,x,R);default:return S.apply(w,T)}};function u(S,w,T,C){var x=S[w];if((!T||T===x.callback||T===x.callback._callback)&&(!C||C===x.context))return delete S[w],!0}function f(S,w,T,C){S||(S={});for(var x=w?[w]:r.keys(S),R=!1,O=0,m=x.length;O<m;O++)w=x[O],S[w]&&u(S,w,T,C)&&(R=!0);return R}var d={};function h(S){return d[S]||(d[S]=r.bind(o.log,o,S))}r.extend(o,{log:function(w,T){if(!(typeof console>"u")){var C=r.toArray(arguments).slice(2);console.log("["+w+'] "'+T+'"',C)}},tuneIn:function(w){var T=o.channel(w);return T._tunedIn=!0,T.on("all",h(w)),this},tuneOut:function(w){var T=o.channel(w);return T._tunedIn=!1,T.off("all",h(w)),delete d[w],this}});function p(S){return r.isFunction(S)?S:function(){return S}}o.Requests={request:function(w){var T=r.toArray(arguments).slice(1),C=o._eventsApi(this,"request",w,T);if(C)return C;var x=this.channelName,R=this._requests;if(x&&this._tunedIn&&o.log.apply(this,[x,w].concat(T)),R&&(R[w]||R.default)){var O=R[w]||R.default;return T=R[w]?T:arguments,o._callHandler(O.callback,O.context,T)}else o.debugLog("An unhandled request was fired",w,x)},reply:function(w,T,C){return o._eventsApi(this,"reply",w,[T,C])?this:(this._requests||(this._requests={}),this._requests[w]&&o.debugLog("A request was overwritten",w,this.channelName),this._requests[w]={callback:p(T),context:C||this},this)},replyOnce:function(w,T,C){if(o._eventsApi(this,"replyOnce",w,[T,C]))return this;var x=this,R=r.once(function(){return x.stopReplying(w),p(T).apply(this,arguments)});return this.reply(w,R,C)},stopReplying:function(w,T,C){return o._eventsApi(this,"stopReplying",w)?this:(!w&&!T&&!C?delete this._requests:f(this._requests,w,T,C)||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 y,_,E=[n.Events,o.Requests];return r.each(E,function(S){r.each(S,function(w,T){o[T]=function(C){return _=r.toArray(arguments).slice(1),y=this.channel(C),y[T].apply(y,_)}})}),o.reset=function(S){var w=S?[this._channels[S]]:this._channels;r.each(w,function(T){T.reset()})},o})})(Hv)),Hv.exports}var yge=mge();const Az=$n(yge);var Mr=UJ();const Fi=$n(Mr);var qJ="1.13.7",Rz=typeof self=="object"&&self.self===self&&self||typeof globalThis=="object"&&globalThis.global===globalThis&&globalThis||Function("return this")()||{},Dm=Array.prototype,DO=Object.prototype,xz=typeof Symbol<"u"?Symbol.prototype:null,_ge=Dm.push,tp=Dm.slice,_h=DO.toString,Ege=DO.hasOwnProperty,BJ=typeof ArrayBuffer<"u",Sge=typeof DataView<"u",wge=Array.isArray,Cz=Object.keys,Oz=Object.create,Iz=BJ&&ArrayBuffer.isView,bge=isNaN,Tge=isFinite,VJ=!{toString:null}.propertyIsEnumerable("toString"),Pz=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],Age=Math.pow(2,53)-1;function ao(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 rs(e){var t=typeof e;return t==="function"||t==="object"&&!!e}function Rge(e){return e===null}function vg(e){return e===void 0}function HJ(e){return e===!0||e===!1||_h.call(e)==="[object Boolean]"}function xge(e){return!!(e&&e.nodeType===1)}function Ca(e){var t="[object "+e+"]";return function(r){return _h.call(r)===t}}var LO=Ca("String"),Af=Ca("Number"),Cge=Ca("Date"),Oge=Ca("RegExp"),Ige=Ca("Error"),zJ=Ca("Symbol"),WJ=Ca("ArrayBuffer"),GJ=Ca("Function"),Pge=Rz.document&&Rz.document.childNodes;typeof/./!="function"&&typeof Int8Array!="object"&&typeof Pge!="function"&&(GJ=function(e){return typeof e=="function"||!1});var rn=GJ,KJ=Ca("Object"),YJ=Sge&&(!/\[native code\]/.test(String(DataView))||KJ(new DataView(new ArrayBuffer(8)))),NO=typeof Map<"u"&&KJ(new Map),kge=Ca("DataView");function Dge(e){return e!=null&&rn(e.getInt8)&&WJ(e.buffer)}var gg=YJ?Dge:kge,hl=wge||Ca("Array");function pl(e,t){return e!=null&&Ege.call(e,t)}var Lx=Ca("Arguments");(function(){Lx(arguments)||(Lx=function(e){return pl(e,"callee")})})();var MO=Lx;function Lge(e){return!zJ(e)&&Tge(e)&&!isNaN(parseFloat(e))}function XJ(e){return Af(e)&&bge(e)}function QJ(e){return function(){return e}}function JJ(e){return function(t){var r=e(t);return typeof r=="number"&&r>=0&&r<=Age}}function ZJ(e){return function(t){return t==null?void 0:t[e]}}var mg=ZJ("byteLength"),Nge=JJ(mg),Mge=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function $ge(e){return Iz?Iz(e)&&!gg(e):Nge(e)&&Mge.test(_h.call(e))}var eZ=BJ?$ge:QJ(!1),oo=ZJ("length");function Fge(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 tZ(e,t){t=Fge(t);var r=Pz.length,n=e.constructor,i=rn(n)&&n.prototype||DO,a="constructor";for(pl(e,a)&&!t.contains(a)&&t.push(a);r--;)a=Pz[r],a in e&&e[a]!==i[a]&&!t.contains(a)&&t.push(a)}function ji(e){if(!rs(e))return[];if(Cz)return Cz(e);var t=[];for(var r in e)pl(e,r)&&t.push(r);return VJ&&tZ(e,t),t}function Eh(e){if(e==null)return!0;var t=oo(e);return typeof t=="number"&&(hl(e)||LO(e)||MO(e))?t===0:oo(ji(e))===0}function rZ(e,t){var r=ji(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 Dn(e){if(e instanceof Dn)return e;if(!(this instanceof Dn))return new Dn(e);this._wrapped=e}Dn.VERSION=qJ;Dn.prototype.value=function(){return this._wrapped};Dn.prototype.valueOf=Dn.prototype.toJSON=Dn.prototype.value;Dn.prototype.toString=function(){return String(this._wrapped)};function kz(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,mg(e))}var Dz="[object DataView]";function Nx(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:nZ(e,t,r,n)}function nZ(e,t,r,n){e instanceof Dn&&(e=e._wrapped),t instanceof Dn&&(t=t._wrapped);var i=_h.call(e);if(i!==_h.call(t))return!1;if(YJ&&i=="[object Object]"&&gg(e)){if(!gg(t))return!1;i=Dz}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 xz.valueOf.call(e)===xz.valueOf.call(t);case"[object ArrayBuffer]":case Dz:return nZ(kz(e),kz(t),r,n)}var a=i==="[object Array]";if(!a&&eZ(e)){var o=mg(e);if(o!==mg(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 l=e.constructor,u=t.constructor;if(l!==u&&!(rn(l)&&l instanceof l&&rn(u)&&u instanceof u)&&"constructor"in e&&"constructor"in t)return!1}r=r||[],n=n||[];for(var f=r.length;f--;)if(r[f]===e)return n[f]===t;if(r.push(e),n.push(t),a){if(f=e.length,f!==t.length)return!1;for(;f--;)if(!Nx(e[f],t[f],r,n))return!1}else{var d=ji(e),h;if(f=d.length,ji(t).length!==f)return!1;for(;f--;)if(h=d[f],!(pl(t,h)&&Nx(e[h],t[h],r,n)))return!1}return r.pop(),n.pop(),!0}function iZ(e,t){return Nx(e,t)}function rp(e){if(!rs(e))return[];var t=[];for(var r in e)t.push(r);return VJ&&tZ(e,t),t}function $O(e){var t=oo(e);return function(r){if(r==null)return!1;var n=rp(r);if(oo(n))return!1;for(var i=0;i<t;i++)if(!rn(r[e[i]]))return!1;return e!==sZ||!rn(r[FO])}}var FO="forEach",aZ="has",jO=["clear","delete"],oZ=["get",aZ,"set"],jge=jO.concat(FO,oZ),sZ=jO.concat(oZ),Uge=["add"].concat(jO,FO,aZ),qge=NO?$O(jge):Ca("Map"),Bge=NO?$O(sZ):Ca("WeakMap"),Vge=NO?$O(Uge):Ca("Set"),Hge=Ca("WeakSet");function vl(e){for(var t=ji(e),r=t.length,n=Array(r),i=0;i<r;i++)n[i]=e[t[i]];return n}function zge(e){for(var t=ji(e),r=t.length,n=Array(r),i=0;i<r;i++)n[i]=[t[i],e[t[i]]];return n}function uZ(e){for(var t={},r=ji(e),n=0,i=r.length;n<i;n++)t[e[r[n]]]=r[n];return t}function Mx(e){var t=[];for(var r in e)rn(e[r])&&t.push(r);return t.sort()}function UO(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),l=o.length,u=0;u<l;u++){var f=o[u];(!t||r[f]===void 0)&&(r[f]=a[f])}return r}}var ro=UO(rp),yg=UO(ji),lZ=UO(rp,!0);function Wge(){return function(){}}function cZ(e){if(!rs(e))return{};if(Oz)return Oz(e);var t=Wge();t.prototype=e;var r=new t;return t.prototype=null,r}function Gge(e,t){var r=cZ(e);return t&&yg(r,t),r}function fZ(e){return rs(e)?hl(e)?e.slice():ro({},e):e}function Kge(e,t){return t(e),e}function dZ(e){return hl(e)?e:[e]}Dn.toPath=dZ;function np(e){return Dn.toPath(e)}function qO(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 hZ(e,t,r){var n=qO(e,np(t));return vg(n)?r:n}function _g(e,t){t=np(t);for(var r=t.length,n=0;n<r;n++){var i=t[n];if(!pl(e,i))return!1;e=e[i]}return!!r}function Lm(e){return e}function Sh(e){return e=yg({},e),function(t){return rZ(t,e)}}function BO(e){return e=np(e),function(t){return qO(t,e)}}function ip(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 pZ(e,t,r){return e==null?Lm:rn(e)?ip(e,t,r):rs(e)&&!hl(e)?Sh(e):BO(e)}function VO(e,t){return pZ(e,t,1/0)}Dn.iteratee=VO;function lo(e,t,r){return Dn.iteratee!==VO?Dn.iteratee(e,t):pZ(e,t,r)}function Yge(e,t,r){t=lo(t,r);for(var n=ji(e),i=n.length,a={},o=0;o<i;o++){var l=n[o];a[l]=t(e[l],l,e)}return a}function vZ(){}function Xge(e){return e==null?vZ:function(t){return hZ(e,t)}}function Qge(e,t,r){var n=Array(Math.max(0,e));t=ip(t,r,1);for(var i=0;i<e;i++)n[i]=t(i);return n}function $x(e,t){return t==null&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}var wh=Date.now||function(){return new Date().getTime()};function gZ(e){var t=function(a){return e[a]},r="(?:"+ji(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 mZ={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},Jge=gZ(mZ),Zge=uZ(mZ),eme=gZ(Zge),tme=Dn.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},ob=/(.)^/,rme={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},nme=/\\|'|\r|\n|\u2028|\u2029/g;function ime(e){return"\\"+rme[e]}var ame=/^\s*(\w|\$)+\s*$/;function ome(e,t,r){!t&&r&&(t=r),t=lZ({},t,Dn.templateSettings);var n=RegExp([(t.escape||ob).source,(t.interpolate||ob).source,(t.evaluate||ob).source].join("|")+"|$","g"),i=0,a="__p+='";e.replace(n,function(f,d,h,p,y){return a+=e.slice(i,y).replace(nme,ime),i=y+f.length,d?a+=`'+
35
+ ((__t=(`+d+`))==null?'':_.escape(__t))+
36
+ '`:h?a+=`'+
37
+ ((__t=(`+h+`))==null?'':__t)+
38
+ '`:p&&(a+=`';
39
+ `+p+`
40
+ __p+='`),f}),a+=`';
41
+ `;var o=t.variable;if(o){if(!ame.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 l;try{l=new Function(o,"_",a)}catch(f){throw f.source=a,f}var u=function(f){return l.call(this,f,Dn)};return u.source="function("+o+`){
46
+ `+a+"}",u}function sh(e,t,r){t=np(t);var n=t.length;if(!n)return rn(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=rn(a)?a.call(e):a}return e}var sme=0;function yZ(e){var t=++sme+"";return e?e+t:t}function ume(e){var t=Dn(e);return t._chain=!0,t}function _Z(e,t,r,n,i){if(!(n instanceof t))return e.apply(r,i);var a=cZ(e.prototype),o=e.apply(a,i);return rs(o)?o:a}var od=ao(function(e,t){var r=od.placeholder,n=function(){for(var i=0,a=t.length,o=Array(a),l=0;l<a;l++)o[l]=t[l]===r?arguments[i++]:t[l];for(;i<arguments.length;)o.push(arguments[i++]);return _Z(e,n,this,this,o)};return n});od.placeholder=Dn;var au=ao(function(e,t,r){if(!rn(e))throw new TypeError("Bind must be called on a function");var n=ao(function(i){return _Z(e,n,t,this,r.concat(i))});return n}),Mo=JJ(oo);function Ac(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=oo(e);a<o;a++){var l=e[a];if(Mo(l)&&(hl(l)||MO(l)))if(t>1)Ac(l,t-1,r,n),i=n.length;else for(var u=0,f=l.length;u<f;)n[i++]=l[u++];else r||(n[i++]=l)}return n}var lme=ao(function(e,t){t=Ac(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]=au(e[n],e)}return e});function EZ(e,t){var r=function(n){var i=r.cache,a=""+(t?t.apply(this,arguments):n);return pl(i,a)||(i[a]=e.apply(this,arguments)),i[a]};return r.cache={},r}var SZ=ao(function(e,t,r){return setTimeout(function(){return e.apply(null,r)},t)}),cme=od(SZ,Dn,1);function wZ(e,t,r){var n,i,a,o,l=0;r||(r={});var u=function(){l=r.leading===!1?0:wh(),n=null,o=e.apply(i,a),n||(i=a=null)},f=function(){var d=wh();!l&&r.leading===!1&&(l=d);var h=t-(d-l);return i=this,a=arguments,h<=0||h>t?(n&&(clearTimeout(n),n=null),l=d,o=e.apply(i,a),n||(i=a=null)):!n&&r.trailing!==!1&&(n=setTimeout(u,h)),o};return f.cancel=function(){clearTimeout(n),l=0,n=i=a=null},f}function bZ(e,t,r){var n,i,a,o,l,u=function(){var d=wh()-i;t>d?n=setTimeout(u,t-d):(n=null,r||(o=e.apply(l,a)),n||(a=l=null))},f=ao(function(d){return l=this,a=d,i=wh(),n||(n=setTimeout(u,t),r&&(o=e.apply(l,a))),o});return f.cancel=function(){clearTimeout(n),n=a=l=null},f}function fme(e,t){return od(t,e)}function HO(e){return function(){return!e.apply(this,arguments)}}function dme(){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 hme(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function TZ(e,t){var r;return function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=null),r}}var pme=od(TZ,2);function AZ(e,t,r){t=lo(t,r);for(var n=ji(e),i,a=0,o=n.length;a<o;a++)if(i=n[a],t(e[i],i,e))return i}function RZ(e){return function(t,r,n){r=lo(r,n);for(var i=oo(t),a=e>0?0:i-1;a>=0&&a<i;a+=e)if(r(t[a],a,t))return a;return-1}}var Nm=RZ(1),xZ=RZ(-1);function CZ(e,t,r,n){r=lo(r,n,1);for(var i=r(t),a=0,o=oo(e);a<o;){var l=Math.floor((a+o)/2);r(e[l])<i?a=l+1:o=l}return a}function OZ(e,t,r){return function(n,i,a){var o=0,l=oo(n);if(typeof a=="number")e>0?o=a>=0?a:Math.max(a+l,o):l=a>=0?Math.min(a+1,l):a+l+1;else if(r&&a&&l)return a=r(n,i),n[a]===i?a:-1;if(i!==i)return a=t(tp.call(n,o,l),XJ),a>=0?a+o:-1;for(a=e>0?o:l-1;a>=0&&a<l;a+=e)if(n[a]===i)return a;return-1}}var IZ=OZ(1,Nm,CZ),vme=OZ(-1,xZ);function Fx(e,t,r){var n=Mo(e)?Nm:AZ,i=n(e,t,r);if(i!==void 0&&i!==-1)return e[i]}function PZ(e,t){return Fx(e,Sh(t))}function Ta(e,t,r){t=ip(t,r);var n,i;if(Mo(e))for(n=0,i=e.length;n<i;n++)t(e[n],n,e);else{var a=ji(e);for(n=0,i=a.length;n<i;n++)t(e[a[n]],a[n],e)}return e}function nc(e,t,r){t=lo(t,r);for(var n=!Mo(e)&&ji(e),i=(n||e).length,a=Array(i),o=0;o<i;o++){var l=n?n[o]:o;a[o]=t(e[l],l,e)}return a}function kZ(e){var t=function(r,n,i,a){var o=!Mo(r)&&ji(r),l=(o||r).length,u=e>0?0:l-1;for(a||(i=r[o?o[u]:u],u+=e);u>=0&&u<l;u+=e){var f=o?o[u]:u;i=n(i,r[f],f,r)}return i};return function(r,n,i,a){var o=arguments.length>=3;return t(r,ip(n,a,4),i,o)}}var Gv=kZ(1),Lz=kZ(-1);function ic(e,t,r){var n=[];return t=lo(t,r),Ta(e,function(i,a,o){t(i,a,o)&&n.push(i)}),n}function gme(e,t,r){return ic(e,HO(lo(t)),r)}function jx(e,t,r){t=lo(t,r);for(var n=!Mo(e)&&ji(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 Ux(e,t,r){t=lo(t,r);for(var n=!Mo(e)&&ji(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 vu(e,t,r,n){return Mo(e)||(e=vl(e)),(typeof r!="number"||n)&&(r=0),IZ(e,t,r)>=0}var mme=ao(function(e,t,r){var n,i;return rn(t)?i=t:(t=np(t),n=t.slice(0,-1),t=t[t.length-1]),nc(e,function(a){var o=i;if(!o){if(n&&n.length&&(a=qO(a,n)),a==null)return;o=a[t]}return o==null?o:o.apply(a,r)})});function zO(e,t){return nc(e,BO(t))}function DZ(e,t){return ic(e,Sh(t))}function WO(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=Mo(e)?e:vl(e);for(var l=0,u=e.length;l<u;l++)a=e[l],a!=null&&a>n&&(n=a)}else t=lo(t,r),Ta(e,function(f,d,h){o=t(f,d,h),(o>i||o===-1/0&&n===-1/0)&&(n=f,i=o)});return n}function yme(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=Mo(e)?e:vl(e);for(var l=0,u=e.length;l<u;l++)a=e[l],a!=null&&a<n&&(n=a)}else t=lo(t,r),Ta(e,function(f,d,h){o=t(f,d,h),(o<i||o===1/0&&n===1/0)&&(n=f,i=o)});return n}var _me=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function LZ(e){return e?hl(e)?tp.call(e):LO(e)?e.match(_me):Mo(e)?nc(e,Lm):vl(e):[]}function NZ(e,t,r){if(t==null||r)return Mo(e)||(e=vl(e)),e[$x(e.length-1)];var n=LZ(e),i=oo(n);t=Math.max(Math.min(t,i),0);for(var a=i-1,o=0;o<t;o++){var l=$x(o,a),u=n[o];n[o]=n[l],n[l]=u}return n.slice(0,t)}function MZ(e){return NZ(e,1/0)}function $Z(e,t,r){var n=0;return t=lo(t,r),zO(nc(e,function(i,a,o){return{value:i,index:n++,criteria:t(i,a,o)}}).sort(function(i,a){var o=i.criteria,l=a.criteria;if(o!==l){if(o>l||o===void 0)return 1;if(o<l||l===void 0)return-1}return i.index-a.index}),"value")}function Mm(e,t){return function(r,n,i){var a=t?[[],[]]:{};return n=lo(n,i),Ta(r,function(o,l){var u=n(o,l,r);e(a,o,u)}),a}}var FZ=Mm(function(e,t,r){pl(e,r)?e[r].push(t):e[r]=[t]}),Eme=Mm(function(e,t,r){e[r]=t}),jZ=Mm(function(e,t,r){pl(e,r)?e[r]++:e[r]=1}),Sme=Mm(function(e,t,r){e[r?0:1].push(t)},!0);function wme(e){return e==null?0:Mo(e)?e.length:ji(e).length}function bme(e,t,r){return t in r}var GO=ao(function(e,t){var r={},n=t[0];if(e==null)return r;rn(n)?(t.length>1&&(n=ip(n,t[1])),t=rp(e)):(n=bme,t=Ac(t,!1,!1),e=Object(e));for(var i=0,a=t.length;i<a;i++){var o=t[i],l=e[o];n(l,o,e)&&(r[o]=l)}return r}),$m=ao(function(e,t){var r=t[0],n;return rn(r)?(r=HO(r),t.length>1&&(n=t[1])):(t=nc(Ac(t,!1,!1),String),r=function(i,a){return!vu(t,a)}),GO(e,r,n)});function UZ(e,t,r){return tp.call(e,0,Math.max(0,e.length-(t==null||r?1:t)))}function uh(e,t,r){return e==null||e.length<1?t==null||r?void 0:[]:t==null||r?e[0]:UZ(e,e.length-t)}function Kv(e,t,r){return tp.call(e,t==null||r?1:t)}function qx(e,t,r){return e==null||e.length<1?t==null||r?void 0:[]:t==null||r?e[e.length-1]:Kv(e,Math.max(0,e.length-t))}function Tme(e){return ic(e,Boolean)}function qZ(e,t){return Ac(e,t,!1)}var BZ=ao(function(e,t){return t=Ac(t,!0,!0),ic(e,function(r){return!vu(t,r)})}),Bx=ao(function(e,t){return BZ(e,t)});function bh(e,t,r,n){HJ(t)||(n=r,r=t,t=!1),r!=null&&(r=lo(r,n));for(var i=[],a=[],o=0,l=oo(e);o<l;o++){var u=e[o],f=r?r(u,o,e):u;t&&!r?((!o||a!==f)&&i.push(u),a=f):r?vu(a,f)||(a.push(f),i.push(u)):vu(i,u)||i.push(u)}return i}var Ame=ao(function(e){return bh(Ac(e,!0,!0))});function VZ(e){for(var t=[],r=arguments.length,n=0,i=oo(e);n<i;n++){var a=e[n];if(!vu(t,a)){var o;for(o=1;o<r&&vu(arguments[o],a);o++);o===r&&t.push(a)}}return t}function Vx(e){for(var t=e&&WO(e,oo).length||0,r=Array(t),n=0;n<t;n++)r[n]=zO(e,n);return r}var Rme=ao(Vx);function HZ(e,t){for(var r={},n=0,i=oo(e);n<i;n++)t?r[e[n]]=t[n]:r[e[n][0]]=e[n][1];return r}function xme(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 zZ(e,t){if(t==null||t<1)return[];for(var r=[],n=0,i=e.length;n<i;)r.push(tp.call(e,n,n+=t));return r}function KO(e,t){return e._chain?Dn(t).chain():t}function WZ(e){return Ta(Mx(e),function(t){var r=Dn[t]=e[t];Dn.prototype[t]=function(){var n=[this._wrapped];return _ge.apply(n,arguments),KO(this,r.apply(Dn,n))}}),Dn}Ta(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=Dm[e];Dn.prototype[e]=function(){var r=this._wrapped;return r!=null&&(t.apply(r,arguments),(e==="shift"||e==="splice")&&r.length===0&&delete r[0]),KO(this,r)}});Ta(["concat","join","slice"],function(e){var t=Dm[e];Dn.prototype[e]=function(){var r=this._wrapped;return r!=null&&(r=t.apply(r,arguments)),KO(this,r)}});var Cme={__proto__:null,VERSION:qJ,restArguments:ao,isObject:rs,isNull:Rge,isUndefined:vg,isBoolean:HJ,isElement:xge,isString:LO,isNumber:Af,isDate:Cge,isRegExp:Oge,isError:Ige,isSymbol:zJ,isArrayBuffer:WJ,isDataView:gg,isArray:hl,isFunction:rn,isArguments:MO,isFinite:Lge,isNaN:XJ,isTypedArray:eZ,isEmpty:Eh,isMatch:rZ,isEqual:iZ,isMap:qge,isWeakMap:Bge,isSet:Vge,isWeakSet:Hge,keys:ji,allKeys:rp,values:vl,pairs:zge,invert:uZ,functions:Mx,methods:Mx,extend:ro,extendOwn:yg,assign:yg,defaults:lZ,create:Gge,clone:fZ,tap:Kge,get:hZ,has:_g,mapObject:Yge,identity:Lm,constant:QJ,noop:vZ,toPath:dZ,property:BO,propertyOf:Xge,matcher:Sh,matches:Sh,times:Qge,random:$x,now:wh,escape:Jge,unescape:eme,templateSettings:tme,template:ome,result:sh,uniqueId:yZ,chain:ume,iteratee:VO,partial:od,bind:au,bindAll:lme,memoize:EZ,delay:SZ,defer:cme,throttle:wZ,debounce:bZ,wrap:fme,negate:HO,compose:dme,after:hme,before:TZ,once:pme,findKey:AZ,findIndex:Nm,findLastIndex:xZ,sortedIndex:CZ,indexOf:IZ,lastIndexOf:vme,find:Fx,detect:Fx,findWhere:PZ,each:Ta,forEach:Ta,map:nc,collect:nc,reduce:Gv,foldl:Gv,inject:Gv,reduceRight:Lz,foldr:Lz,filter:ic,select:ic,reject:gme,every:jx,all:jx,some:Ux,any:Ux,contains:vu,includes:vu,include:vu,invoke:mme,pluck:zO,where:DZ,max:WO,min:yme,shuffle:MZ,sample:NZ,sortBy:$Z,groupBy:FZ,indexBy:Eme,countBy:jZ,partition:Sme,toArray:LZ,size:wme,pick:GO,omit:$m,first:uh,head:uh,take:uh,initial:UZ,last:qx,rest:Kv,tail:Kv,drop:Kv,compact:Tme,flatten:qZ,without:Bx,uniq:bh,unique:bh,union:Ame,intersection:VZ,difference:BZ,unzip:Vx,transpose:Vx,zip:Rme,object:HZ,range:xme,chunk:zZ,mixin:WZ,default:Dn},Je=WZ(Cme);Je._=Je;const mn={SHELL:"global:shell",ALERT:"global:alert",POPUP:"global:popup"},En={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"},Ome=/\/+$/g,Ime=Mr.history.getFragment.bind(Mr.history);ro(Mr.history,{getFragment(e){return Ime(e).replace(Ome,"")}});const Nn={GetQuery(){return Nn.DeserializeQueryParams(window.location.search.substring(1))},UpdateQuery(e){if(!e)return;const t=Nn.GetQuery();let r=Nn.SerializeQueryParams(ro(t,e));r&&(r=`?${r}`),Nn.UpdateUrl(`${Nn.GetCurrentPath()}${r}`,null,{replace:!0,trigger:!1})},UpdateUrl(e,t,r){const n=Ai.buildRoute(e,t);Mr.history.navigate(n,r),Mr.Radio.channel(mn.SHELL).trigger(En.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?Gv(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(){Mr.History.started&&Mr.history.stop(),Mr.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;gs.hasActiveRoute()?Mr.Radio.channel(mn.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}},Pme=/((\(\?)?:\w+)|(\*\w+)/,kme=/[\(\)]/g,Dme=/\(\/\)/g,Lme=/\/$/,Nme=/\([^)]*\)/g,gs={routingStarted(){Mr.Radio.channel(mn.SHELL).trigger(En.ROUTING_START)},routingEnded(){if(!gs.hasActiveRoute())return;Mr.Radio.channel(mn.SHELL).trigger(En.ROUTING_END)},hasActiveRoute(){return Mr.Radio.channel(mn.SHELL).request(En.HAS_ACTIVE_ROUTE)}},Nz=(e,t={})=>{t.usedHelper=!0;const{application:r,action:n}=e;Mr.Radio.channel(r).trigger(n,e,t)},Ai={getHref(e,t){if(!e)return"";const{application:r,action:n,args:i,params:a}=e,o=Mr.Radio.channel(mn.SHELL),l={...t,middlewareOptions:{buildHref:!0,...t==null?void 0:t.middlewareOptions}},u=o.request(En.ROUTE_LOOKUP,`${r}:${n}`,i,a,l);return u===!1?"":`/${u}`},buildRoute(e,t,r){if(!t)return e;const n=t.args,i=t.params;if(Ta(n,o=>{e=e.replace(Pme,o||"")}),r!=null&&r.excludeOptionalRoute&&(e=e.replace(Nme,"")),e=e.replace(Dme,""),e=e.replace(kme,""),e=e.replace(Lme,""),!i)return e;const a=Nn.SerializeQueryParams(i);return a.length?`${e}?${a}`:e},trigger(e,t){if(!e)return;if(!gs.hasActiveRoute()){Nz(e,t);return}Mr.Radio.channel(mn.SHELL).once("routing:end",()=>{Nz(e,t)})},getCurrentAppLink(){return Mr.Radio.channel(mn.SHELL).request(En.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=Nn.SerializeQueryParams((e==null?void 0:e.params)??{}),o=Nn.SerializeQueryParams((t==null?void 0:t.params)??{});return!(r.params&&a!==o)}};var Mme="4.1.3",ap=Fi.Model.extend,YO=function(t){var r=this;if(t)return Je.reduce(t,function(n,i,a){return Je.isFunction(i)||(i=r[i]),i&&(n[a]=i),n},{})},Mz=["description","fileName","lineNumber","name","message","number","url"],oa=ap.call(Error,{urlRoot:"http://marionettejs.com/docs/v".concat(Mme,"/"),url:"",constructor:function(t){var r=Error.call(this,t.message);Je.extend(this,Je.pick(r,Mz),Je.pick(t,Mz)),Error.captureStackTrace&&this.captureStackTrace(),this.url=this.urlRoot+this.url},captureStackTrace:function(){Error.captureStackTrace(this,oa)},toString:function(){return"".concat(this.name,": ").concat(this.message," See: ").concat(this.url)}});function GZ(e,t){if(!Je.isObject(t))throw new oa({message:"Bindings must be an object.",url:"common.html#bindevents"});return YO.call(e,t)}function $me(e,t){return!e||!t?this:(this.listenTo(e,GZ(this,t)),this)}function Fme(e,t){return e?t?(this.stopListening(e,GZ(this,t)),this):(this.stopListening(e),this):this}function KZ(e,t){if(!Je.isObject(t))throw new oa({message:"Bindings must be an object.",url:"common.html#bindrequests"});return YO.call(e,t)}function jme(e,t){return!e||!t?this:(e.reply(KZ(this,t),this),this)}function Ume(e,t){return e?t?(e.stopReplying(KZ(this,t),this),this):(e.stopReplying(null,null,this),this):this}var YZ=function(t){if(t)return this.options&&this.options[t]!==void 0?this.options[t]:this[t]},qme=function(t,r){var n=this;t&&Je.each(r,function(i){var a=t[i];a!==void 0&&(n[i]=a)})};function Fm(e,t,r){e._getImmediateChildren&&Je.each(e._getImmediateChildren(),function(n){r(n)&&n.triggerMethod(t,n)})}function XZ(e){return!e._isAttached}function Bme(e){return XZ(e)?(e._isAttached=!0,!0):!1}function Vme(e){return e._isAttached}function Hme(e){return e._isAttached=!1,!0}function QZ(e){e._isAttached&&e._isRendered&&e.triggerMethod("dom:refresh",e)}function JZ(e){e._isAttached&&e._isRendered&&e.triggerMethod("dom:remove",e)}function zme(){Fm(this,"before:attach",XZ)}function Wme(){Fm(this,"attach",Bme),QZ(this)}function Gme(){Fm(this,"before:detach",Vme),JZ(this)}function Kme(){Fm(this,"detach",Hme)}function Yme(){JZ(this)}function Xme(){QZ(this)}function Eg(e){e._areViewEventsMonitored||e.monitorViewEvents===!1||(e._areViewEventsMonitored=!0,e.on({"before:attach":zme,attach:Wme,"before:detach":Gme,detach:Kme,"before:render":Yme,render:Xme}))}var Qme=/(^|:)(\w)/gi,sb={};function Jme(e,t,r){return r.toUpperCase()}var Zme=function(t){return sb[t]||(sb[t]="on"+t.replace(Qme,Jme)),sb[t]};function eye(e){var t=Zme(e),r=YZ.call(this,t),n;return Je.isFunction(r)&&(n=r.apply(this,Je.drop(arguments))),this.trigger.apply(this,arguments),n}var sd={normalizeMethods:YO,_setOptions:function(t,r){this.options=Je.extend({},Je.result(this,"options"),t),this.mergeOptions(t,r)},mergeOptions:qme,getOption:YZ,bindEvents:$me,unbindEvents:Fme,bindRequests:jme,unbindRequests:Ume,triggerMethod:eye};Je.extend(sd,Fi.Events);var ZZ={_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)}},eee={_initRadio:function(){var t=Je.result(this,"channelName");if(t){if(!Az)throw new oa({message:'The dependency "backbone.radio" is missing.',url:"backbone.radio.html#marionette-integration"});var r=this._channel=Az.channel(t),n=Je.result(this,"radioEvents");this.bindEvents(r,n);var i=Je.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}},tye=["channelName","radioEvents","radioRequests"],Rc=function(t){this._setOptions(t,tye),this.cid=Je.uniqueId(this.cidPrefix),this._initRadio(),this.initialize.apply(this,arguments)};Rc.extend=ap;Je.extend(Rc.prototype,sd,ZZ,eee,{cidPrefix:"mno",initialize:function(){}});var ps=Je.invokeMap||Je.invoke;function rye(e){if(e.behaviorClass)return{BehaviorClass:e.behaviorClass,options:e};if(Je.isFunction(e))return{BehaviorClass:e,options:{}};throw new oa({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 tee(e,t,r){return Je.reduce(t,function(n,i){var a=rye(i),o=a.BehaviorClass,l=a.options,u=new o(l,e);return n.push(u),tee(e,Je.result(u,"behaviors"),n)},r)}var nye={_initBehaviors:function(){this._behaviors=tee(this,Je.result(this,"behaviors"),[])},_getBehaviorTriggers:function(){var t=ps(this._behaviors,"_getTriggers");return Je.reduce(t,function(r,n){return Je.extend(r,n)},{})},_getBehaviorEvents:function(){var t=ps(this._behaviors,"_getEvents");return Je.reduce(t,function(r,n){return Je.extend(r,n)},{})},_proxyBehaviorViewProperties:function(){ps(this._behaviors,"proxyViewProperties")},_delegateBehaviorEntityEvents:function(){ps(this._behaviors,"delegateEntityEvents")},_undelegateBehaviorEntityEvents:function(){ps(this._behaviors,"undelegateEntityEvents")},_destroyBehaviors:function(t){ps(this._behaviors,"destroy",t)},_removeBehavior:function(t){this._isDestroyed||(this.undelegate(".trig".concat(t.cid," .").concat(t.cid)),this._behaviors=Je.without(this._behaviors,t))},_bindBehaviorUIElements:function(){ps(this._behaviors,"bindUIElements")},_unbindBehaviorUIElements:function(){ps(this._behaviors,"unbindUIElements")},_triggerEventOnBehaviors:function(t,r,n){ps(this._behaviors,"triggerMethod",t,r,n)}},ree={_delegateEntityEvents:function(t,r){t&&(this._modelEvents=Je.result(this,"modelEvents"),this.bindEvents(t,this._modelEvents)),r&&(this._collectionEvents=Je.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}},iye={_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=Je.result(this,"templateContext");return r?t?Je.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 Je.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)}},aye=/^(\S+)\s*(.*)$/,nee=function(t,r){var n=t.match(aye);return"".concat(n[1],".").concat(r," ").concat(n[2])},oye={childViewEventPrefix:!1,triggersStopPropagation:!0,triggersPreventDefault:!0,DEV_MODE:!1};function Hx(e){return!!oye[e]}function sye(e,t){Je.isString(t)&&(t={event:t});var r=t.event,n=!!t.preventDefault;Hx("triggersPreventDefault")&&(n=t.preventDefault!==!1);var i=!!t.stopPropagation;return Hx("triggersStopPropagation")&&(i=t.stopPropagation!==!1),function(a){n&&a.preventDefault(),i&&a.stopPropagation();for(var o=arguments.length,l=new Array(o>1?o-1:0),u=1;u<o;u++)l[u-1]=arguments[u];e.triggerMethod.apply(e,[r,e,a].concat(l))}}var iee={_getViewTriggers:function(t,r){var n=this;return Je.reduce(r,function(i,a,o){return o=nee(o,"trig".concat(n.cid)),i[o]=sye(t,a),i},{})}},uye=function(t,r){return Je.reduce(t,function(n,i,a){var o=Sg(a,r);return n[o]=i,n},{})},lye=/@ui\.[a-zA-Z-_$0-9]*/g,Sg=function(t,r){return t.replace(lye,function(n){return r[n.slice(4)]})},cye=function(t,r,n){return Je.each(t,function(i,a){if(Je.isString(i))t[a]=Sg(i,r);else if(i){var o=i[n];Je.isString(o)&&(i[n]=Sg(o,r))}}),t},aee={normalizeUIKeys:function(t){var r=this._getUIBindings();return uye(t,r)},normalizeUIString:function(t){var r=this._getUIBindings();return Sg(t,r)},normalizeUIValues:function(t,r){var n=this._getUIBindings();return cye(t,n,r)},_getUIBindings:function(){var t=Je.result(this,"_uiBindings");return t||Je.result(this,"ui")},_bindUIElements:function(){var t=this;if(this.ui){this._uiBindings||(this._uiBindings=this.ui);var r=Je.result(this,"_uiBindings");this._ui={},Je.each(r,function(n,i){t._ui[i]=t.$(n)}),this.ui=this._ui}},_unbindUIElements:function(){var t=this;!this.ui||!this._uiBindings||(Je.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 Pl(e){return e instanceof Fi.$?e:Fi.$(e)}function XO(e){return this.prototype.Dom=Je.extend({},this.prototype.Dom,e),this}var oee={createBuffer:function(){return document.createDocumentFragment()},getDocumentEl:function(t){return t.ownerDocument.documentElement},getEl:function(t){return Pl(t)},findEl:function(t,r){return Pl(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]:Pl(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]:Pl(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?Pl(t):i,o=n._$contents,l=o===void 0?Pl(r):o;a.append(l)},hasContents:function(t){return!!t&&t.hasChildNodes()},detachContents:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pl(t);r.contents().detach()}},QO={Dom:oee,_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=Je.extend({},this._getBehaviorEvents(),this._getEvents(t),this._getBehaviorTriggers(),this._getTriggers());return Fi.View.prototype.delegateEvents.call(this,r),this},_getEvents:function(t){if(t)return this.normalizeUIKeys(t);if(this.events)return this.normalizeUIKeys(Je.result(this,"events"))},_getTriggers:function(){if(this.triggers){var t=this.normalizeUIKeys(Je.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(Je.result(this,"childViewEvents")),this._childViewTriggers=Je.result(this,"childViewTriggers"),this._eventPrefix=this._getEventPrefix()},_getEventPrefix:function(){var t=Hx("childViewEventPrefix")?"childview":!1,r=Je.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))}};Je.extend(QO,nye,sd,ree,iye,iee,aee);function see(e){e._isRendered||(e.supportsRenderLifecycle||e.triggerMethod("before:render",e),e.render(),e._isRendered=!0,e.supportsRenderLifecycle||e.triggerMethod("render",e))}function uee(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 Vd="RegionError",fye=["allowMissingEl","parentEl","replaceElement"],xc=function(t){this._setOptions(t,fye),this.cid=Je.uniqueId(this.cidPrefix),this._initEl=this.el=this.getOption("el"),this.el=this.el instanceof Fi.$?this.el[0]:this.el,this.$el=this._getEl(this.el),this.initialize.apply(this,arguments)};xc.extend=ap;xc.setDomApi=XO;Je.extend(xc.prototype,sd,{Dom:oee,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 oa({name:Vd,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,see(t),this._attachView(t,r),this.triggerMethod("show",this,t,r),this._isSwappingView=!1,this}},_getEl:function(t){if(!t)throw new oa({name:Vd,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){Eg(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"?!!Je.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(Je.isObject(this.el)||this._setEl(),!this.$el||this.$el.length===0){var r=typeof t.allowMissingEl>"u"?!!Je.result(this,"allowMissingEl"):!!t.allowMissingEl;if(r)return!1;throw new oa({name:Vd,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 oa({name:Vd,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 oa({name:Vd,message:'View (cid: "'.concat(t.cid,'") has already been destroyed and cannot be used.'),url:"marionette.region.html#showing-a-view"});if(t instanceof Fi.View)return t;var r=this._getViewOptions(t);return new JO(r)},_getViewOptions:function(t){if(Je.isFunction(t))return{template:t};if(Je.isObject(t))return t;var r=function(){return t};return{template:r}},getEl:function(t){var r=Je.result(this,"parentEl");return r&&Je.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||uee(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 lee(e,t){if(e instanceof xc)return e;if(Je.isString(e))return ub(t,{el:e});if(Je.isFunction(e))return ub(t,{regionClass:e});if(Je.isObject(e))return ub(t,e);throw new oa({message:"Improper region configuration type.",url:"marionette.region.html#defining-regions"})}function ub(e,t){var r=Je.extend({},e,t),n=r.regionClass;return delete r.regionClass,new n(r)}var dye={regionClass:xc,_initRegions:function(){this.regions=this.regions||{},this._regions={},this.addRegions(Je.result(this,"regions"))},_reInitRegions:function(){ps(this._regions,"reset")},addRegion:function(t,r){var n={};return n[t]=r,this.addRegions(n)[t]},addRegions:function(t){if(!Je.isEmpty(t))return t=this.normalizeUIValues(t,"el"),this.regions=Je.extend({},this.regions,t),this._addRegions(t)},_addRegions:function(t){var r=this,n={regionClass:this.regionClass,parentEl:Je.partial(Je.result,this,"el")};return Je.reduce(t,function(i,a,o){return i[o]=lee(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 Je.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 ps(t,"empty"),t},hasRegion:function(t){return!!this.getRegion(t)},getRegion:function(t){return this._isRendered||this.render(),this._regions[t]},_getRegions:function(){return Je.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 cee(e){return this.prototype._renderHtml=e,this}var hye=["behaviors","childViewEventPrefix","childViewEvents","childViewTriggers","collectionEvents","events","modelEvents","regionClass","regions","template","templateContext","triggers","ui"];function pye(e,t){return t.currentView&&e.push(t.currentView),e}var JO=Fi.View.extend({constructor:function(t){this._setOptions(t,hye),Eg(this),this._initBehaviors(),this._initRegions(),Fi.View.prototype.constructor.apply(this,arguments),this.delegateEntityEvents(),this._triggerEventOnBehaviors("initialize",this,t)},setElement:function(){return Fi.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 Je.reduce(this._regions,pye,[])}},{setRenderer:cee,setDomApi:XO});Je.extend(JO.prototype,QO,dye);var wg=function(){this._init()},vye=["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"];Je.each(vye,function(e){wg.prototype[e]=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Je[e].apply(Je,[this._views].concat(r))}});function gye(e,t){return t.model&&t.model.get(e)}Je.extend(wg.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=Je.partial(gye,t),this._sortBy(t)):t.length===1?this._sortBy(t.bind(r)):this._views.sort(t.bind(r))},_sortBy:function(t){var r=Je.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={},Je.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 sf="CollectionViewError",mye=["behaviors","childView","childViewContainer","childViewEventPrefix","childViewEvents","childViewOptions","childViewTriggers","collectionEvents","emptyView","emptyViewOptions","events","modelEvents","sortWithCollection","template","templateContext","triggers","ui","viewComparator","viewFilter"],yye=Fi.View.extend({sortWithCollection:!0,constructor:function(t){this._setOptions(t,mye),Eg(this),this._initChildViewStorage(),this._initBehaviors(),Fi.View.prototype.constructor.apply(this,arguments),this.getEmptyRegion(),this.delegateEntityEvents(),this._triggerEventOnBehaviors("initialize",this,t)},_initChildViewStorage:function(){this._children=new wg,this.children=new wg},getEmptyRegion:function(){var t=this.$container||this.$el;return this._emptyRegion&&!this._emptyRegion.isDestroyed()?(this._emptyRegion._setElement(t[0]),this._emptyRegion):(this._emptyRegion=new xc({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 Je.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 Je.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 oa({name:sf,message:'A "childView" must be specified',url:"marionette.collectionview.html#collectionviews-childview"});if(r=this._getView(r,t),!r)throw new oa({name:sf,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 Fi.View||t===Fi.View)return t;if(Je.isFunction(t))return t.call(this,r)},_getChildViewOptions:function(t){return Je.isFunction(this.childViewOptions)?this.childViewOptions(t):this.childViewOptions},buildChildView:function(t,r,n){var i=Je.extend({model:t},n);return new r(i)},_setupChildView:function(t){Eg(t),t.on("destroy",this.removeChildView,this),this._proxyChildViewEvents(t)},_getImmediateChildren:function(){return this.children._views},setElement:function(){return Fi.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=Je.result(this,"childViewContainer");if(this.$container=t?this.$(t):this.$el,!this.$container.length)throw new oa({name:sf,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=[];Je.each(this._children._views,function(o,l,u){(r.call(t,o,l,u)?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(Je.isFunction(t))return t;if(Je.isObject(t)){var r=Je.matches(t);return function(n){return r(n.model&&n.model.attributes)}}if(Je.isString(t))return function(n){return n.model&&n.model.get(t)};throw new oa({name:sf,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){Je.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 Je.each(t,function(i){see(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:[],Je.each(r,function(i){i._isAttached||i.triggerMethod("before:attach",i)}),this.attachHtml(t,this.$container),Je.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 Je.isFunction(t)?t.call(this):t},swapChildViews:function(t,r){if(!this._children.hasView(t)||!this._children.hasView(r))throw new oa({name:sf,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 oa({name:sf,message:"View is already shown in a Region or CollectionView",url:"marionette.region.html#showing-a-view"});if(Je.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){Je.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;uee(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:XO,setRenderer:cee});Je.extend(yye.prototype,QO);var _ye=["collectionEvents","events","modelEvents","triggers","ui"],fee=function(t,r){this.view=r,this._setOptions(t,_ye),this.cid=Je.uniqueId(this.cidPrefix),this.ui=Je.extend({},Je.result(this,"ui"),Je.result(r,"ui")),this.listenTo(r,"all",this.triggerMethod),this.initialize.apply(this,arguments)};fee.extend=ap;Je.extend(fee.prototype,sd,ree,iee,aee,{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(Je.result(this,"events"));return Je.reduce(r,function(n,i,a){return Je.isFunction(i)||(i=t[i]),i&&(a=nee(a,t.cid),n[a]=i.bind(t)),n},{})}},_getTriggers:function(){if(this.triggers){var t=this.normalizeUIKeys(Je.result(this,"triggers"));return this._getViewTriggers(this.view,t)}}});var Eye=["channelName","radioEvents","radioRequests","region","regionClass"],jm=function(t){this._setOptions(t,Eye),this.cid=Je.uniqueId(this.cidPrefix),this._initRegion(),this._initRadio(),this.initialize.apply(this,arguments)};jm.extend=ap;Je.extend(jm.prototype,sd,ZZ,eee,{cidPrefix:"mna",initialize:function(){},start:function(t){return this.triggerMethod("before:start",this,t),this.triggerMethod("start",this,t),this},regionClass:xc,_initRegion:function(){var t=this.region;if(t){var r={regionClass:this.regionClass};this._region=lee(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 ZO=(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))(ZO||{}),zx=(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))(zx||{});class dee extends Error{constructor(t){super(t)}}class Um extends dee{get name(){return"SilentError"}}class sa extends Error{get name(){return"CoreError"}}const vr={throw(e){if(Mr.Radio.channel(mn.SHELL).trigger(En.ERROR,e),!(e instanceof Um))throw e},isStatusCodeError(e){var r;const t=+((r=e==null?void 0:e.toString())==null?void 0:r.substr(0,1));return t===zx.ClientError||t===zx.ServerError}};function gl(e,t,r,n){let i=e;return typeof e=="string"&&(i=Mr.Radio.channel(e)),n.call(this,i,t,r)}class Sye extends jm{get defaultProps(){return["shell","layoutService"]}constructor(t){super(t),this.mergeOptions(t,[...this.defaultProps,...this.props||[]]),Je.result(this,"name")||vr.throw(new sa("BaseApplication must define a name")),Je.result(this,"channelName")||vr.throw(new sa("BaseApplication must define a channelName")),this.listenTo(this.getGlobalRadioChannel("popup"),En.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 sa(`Global channel ${n} does not exist`)),Mr.Radio.channel(n)}onLoadLayout(){if(!this.layoutOptions||!this.layoutOptions.name)return;const t=Je.extend({},this.layoutOptions.options||{},{store:this.shell.store});this.layout=this.layoutService.getLayout(Je.extend(this.layoutOptions,{options:t})),this.layout||vr.throw(new sa(`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 sa("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 sa("Your application layout must define an alert region"));return}i.hasView()||this.layout.showChildView("alert",new r({collection:n}))}setDefaultQueryParams(t){this.defaultQueryParams&&(t=Je.extend(this.defaultQueryParams,t)),this.defaultQueryParams=t}getAndClearDefaultQueryParams(){const t=this.defaultQueryParams;return delete this.defaultQueryParams,t||{}}listenTo(...t){return gl.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 wye=["triggerMethod","normalizeMethods","_setOptions","mergeOptions","getOption","bindEvents","unbindEvents"],bye=["appRoutes","controller"],hee=Fi.Router.extend({constructor:function(t){this._setOptions(t),this.mergeOptions(t,bye),Fi.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(Je.isFunction(this.onRoute)){var n=Je.invert(this.appRoutes)[t];this.onRoute(t,n,r)}},processAppRoutes:function(t,r){var n=this;if(!r)return this;var i=Je.keys(r).reverse();return Je.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,Je.bind(i,t))}});Je.extend(hee.prototype,Je.pick(Rc.prototype,wye));class Rf{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 Tye=/([A-Z])/g,Aye=/(^|:)(\w)/gi;class eI extends hee{constructor(t){super(t)}processAppRoutes(t){super.processAppRoutes.call(this,t,null)}async _initRoutes(){const t=new Rf,r=this.options.shell.routeMiddleware,n=this.appRoutes;return Je.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,l])=>({...a,[l]:o}),{}),i=Object.entries(r).reduce((a,[o,l])=>({...a,[l]: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(Je.isFunction(this.onRoute)){const n=Je.invert(this._appRoutes)[t];this.onRoute(t,n,r)}}bindDisposal(){this.listenTo(mn.SHELL,En.ROUTE,t=>{t.application!==this.channelName&&this.destroyApp()})}_executeAppLinkMiddleware(t,r){const n=new Rf;return Je.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 l={appLink:{application:this.channelName,action:t,args:n,params:i},appLinkOptions:a,currentRoute:r,routeLookup:this._routeLookup},u=this._executeAppLinkMiddleware(this.options.shell.onBeforeExecuteAppLinkMiddleware,l),f=this.toMethodName(u.action),d=this._routeLookup.modifiedRoutes[f];return Ai.buildRoute(d??r,u,a)})}processInternalRoutes(){Je.each(Je.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 sa("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks."));const o={appLink:i,appLinkOptions:a,currentRoute:t,routeLookup:this._routeLookup},l=this._executeAppLinkMiddleware(this.options.shell.onBeforeExecuteAppLinkMiddleware,o),u=this.toMethodName(l.action),f=this._routeLookup.modifiedRoutes[u];this.executeRoute(l,{isAppRoute:!0,route:f??t},d=>{const h=Je.extend({},this.controller.getAndClearDefaultQueryParams(),d.params);d.params=h,Nn.UpdateUrl(f??t,d,a)})})})}triggerNavLocked(t,r){t.trigger(En.NAV_IS_LOCKED,r),gs.routingEnded()}processExternalRoutes(){this.externalRoutes&&Je.each(Je.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 sa("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks."));const o=Mr.Radio.channel(mn.SHELL);if(this.options.shell.isNavLocked()){this.triggerNavLocked(o,i);return}Nn.PageLoad(Ai.getHref(i))})})}processAppLinks(){this.appLinks&&Je.each(this.appLinks,t=>{const r=this.toEventName(t);this.listenTo(this.channelName,r,(n,i)=>{(!i||!i.usedHelper)&&vr.throw(new sa("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks.")),this.executeRoute(n,{isAppRoute:!1,route:null})})})}executeRoute(t,r,n){this.validateAppLink(t),gs.routingStarted();const i=Mr.Radio.channel(mn.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),l=this.toMethodName(o.action),u=new Rf;Je.each(this.filters,f=>u.useAsync(f)),u.goAsync({appLink:o,shell:this.options.shell},()=>{i.trigger(En.ROUTE,o,r),this.createApp();const f=this.controller;if(Je.isFunction(f[l])||(gs.routingEnded(),vr.throw(new sa(`${l} does not exist on the ${Je.result(f,"name")}.`))),f.triggerMethod("before:action",t)===!1){f.triggerMethod("action:cancelled"),gs.routingEnded();return}f.triggerMethod("load:layout");const d={appLink:o,currentRoute:r.route,routeLookup:this._routeLookup},h=this._executeAppLinkMiddleware(this.options.shell.onAfterExecuteAppLinkMiddleware,d);f[l].apply(f,[...h.args||[],h.params||{}]),Je.isFunction(n)&&n(o),gs.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:Nn.DeserializeQueryParams(i[i.length-1])};this.executeRoute(a,{isAppRoute:!0,route:r},()=>{Nn.UpdateQuery(Je.extend(this.controller.getAndClearDefaultQueryParams(),a.params))})})}toEventName(t){return t.replace(Tye,":$1").toLowerCase()}toMethodName(t){const r=t.replace(Aye,(n,i,a)=>a.toUpperCase());return r[0].toLowerCase()+r.slice(1,r.length)}validateAppLink(t){(!t.application||!t.action)&&(gs.routingEnded(),vr.throw(new sa("Invalid AppLink")))}listenTo(...t){return gl.call(this,t[0],t[1],t[2],super.listenTo)}}class qm extends Mr.Collection{listenTo(...t){return gl.call(this,t[0],t[1],t[2],super.listenTo)}}class Rn extends dee{get name(){return"DevError"}}class Rye{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 Bm=Rye.Instance;function xye(e,t){for(;e;){const r=Object.getOwnPropertyDescriptor(e,t);if(r)return r;e=Object.getPrototypeOf(e)}return null}const Cye=["model","collection","el","id","attributes","className","tagName","events"];Mr.View.prototype.constructor=function(e){this.cid=Je.uniqueId("view");const t=Cye.filter(r=>{var n;return!((n=xye(this,r))!=null&&n.get)});Je.extend(this,Je.pick(e,t)),this._ensureElement(),this.initialize.call(this,e)};const Tf=class Tf extends JO{get defaultProps(){return["shell","layoutService"]}_setOptions(t){this.options=Je.extend({},Je.result(this,"defaults"),t)}_setAttributes(t){Bm.isDevelopment&&Je.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),Je.result(this,"name")||vr.throw(new sa(`Error: View with cid:${this.cid} requires a name.`))}static AddViewDataExtension(t){Tf.ViewDataExtensions.push(t)}serializeModel(){return this.model?this.model.toJSON():{}}serializeCollection(){return this.collection?this.collection.toJSON():[]}resetClassName(){this.$el.attr("class",Je.result(this,"className"))}serializeData(){const t=super.serializeData(),r=Je.result(this,"viewOptions"),n=Je.extend({},t,{options:r});return Tf.ViewDataExtensions.length?Je.extend(n,...Je.map(Tf.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(),Je.each(Je.keys(t),r=>{let n=r;const i=t[r],a=Ai.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(l){l.preventDefault(),Ai.trigger(i)}))}))}hasPartialLoadingRegions(){const t=this;return t._hasPartialLoadingRegions!==void 0||(t._hasPartialLoadingRegions=Je.some(t.regions,(r=>Je.has(r,"partialLoading")))),t._hasPartialLoadingRegions}renderPartialLoading(t){Mr.Radio.channel(mn.SHELL).trigger("render:partial:loading",this,t)}getTemplate(){var t;return this.template||((t=this.options)==null?void 0:t.template)}listenTo(...t){return gl.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(){}};Tf.ViewDataExtensions=[];let Wx=Tf;class Oye extends Wx{constructor(t){super(t),this.boundListeners={},this.resourceInstances={}}processRequriedResources(t){const r=Je.keys(this.requiredResources);if(!r.length)return!0;const n=this;let i=!0;return Je.each(r,a=>{const o=this.requiredResources[a];if(o.beforeOnBeforeRender!==t)return;const l=o.dataServiceName;this.resourceInstances[l]||(this.resourceInstances[l]=o.getInstance(this)),this.boundListeners[`${l}:${o.eventName}`]||(this.listenTo(this.resourceInstances[l].channelName,o.eventName,this.render),this.boundListeners[`${l}:${o.eventName}`]=!0),n[a]=o.getData(this.resourceInstances[l]),i=i&&!!n[a]}),i}setTitle(){!Je.isString(this.title)&&this.title!==!1&&vr.throw(new Rn(`Must define a title for ${this.name}.`)),Mr.Radio.channel(mn.SHELL).trigger("set:page:title",this.title)}}class Iye extends Oye{constructor(t){super(t)}static getCacheKey(t){vr.throw(new Rn(`Must define getCacheKey for ${this.name}.`))}unmountRegion(t){this.trigger(`unmount:${t}`)}}class gu extends Mr.Model{mixin(t){const r=this;for(const n in t){if(r.hasOwnProperty(n)){const i=r[n];r[n]=ro({},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 gl.call(this,t[0],t[1],t[2],super.listenTo)}}class $z extends gu{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)_g(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||!rn(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(!rn(i))return r;if(n.unset)return a&&delete a.parent,delete this[t],a;if(a)return a instanceof gu&&a.set(r,n),a instanceof qm&&a.set(r,n),n.silent||this.trigger(`change:${t}`,this,r,n),a;const o=r instanceof gu?r:new i(r,{parse:!0});return o.parent=this,this[t]=o,o}toJSON(...t){const r=super.toJSON.apply(this,t);return Ta(this.associations,(n,i)=>{_g(r,i)&&rn(r[i].toJSON)?r[i]=r[i].toJSON():r[i]=new n().toJSON()}),r}toFlatJSON(...t){return $m(super.toJSON.apply(this,t),ji(this.associations))}}class co extends Rc{constructor(t){super(t),this.name||vr.throw(new sa("Your service must be named."))}listenTo(...t){return gl.call(this,t[0],t[1],t[2],super.listenTo)}}class Pye extends Rc{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 sa(`${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){Ta(this.requiredRegions,r=>{_g(sh(t.prototype,"regions"),r)||vr.throw(new sa(`Layout: ${t.prototype.name} must define an ${r} region.`))})}listenTo(...t){return gl.call(this,t[0],t[1],t[2],super.listenTo)}}class kye{constructor(t,r){this.application=t,this.options=r||{}}get Application(){return this.application}get Options(){return this.options}}class Dye extends jm{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(mn.SHELL,En.LOCK_NAV,()=>this.shellState.navLock=!0),this.listenTo(mn.SHELL,En.UNLOCK_NAV,()=>this.shellState.navLock=!1)}bindAppLinkListeners(){this.listenTo(mn.SHELL,En.ROUTING_START,()=>this.shellState.activeRoute=!0),this.listenTo(mn.SHELL,En.ROUTING_END,()=>this.shellState.activeRoute=!1),this.listenTo(mn.SHELL,En.ROUTE,r=>this.shellState.currentAppLink=r);const t=Mr.Radio.channel(mn.SHELL);t.reply(En.HAS_ACTIVE_ROUTE,Je.bind(this.hasActiveRoute,this)),t.reply(En.CURRENT_ROUTE,()=>this.shellState.currentAppLink)}bindErrorHandlers(){window.addEventListener("error",()=>{gs.routingEnded()})}bindErrorListener(){const t=Mr.Radio.channel(mn.SHELL);this.listenTo(t,En.ERROR,this.handleError)}bindRouteLookup(){Mr.Radio.channel(mn.SHELL).reply(En.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 kye(t,r)),this}getGlobalRadioChannels(){return mn}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=Je.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(),Nn.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 sa("An error must have a name in order to register a handler for it.")),Je.any(this.errorHandlers,n=>n.errorType===t)&&vr.throw(new sa(`An error handler for ${t.prototype.name} has already been defined.`)),this.errorHandlers.push({errorType:t,handler:r}),this}handleError(t){const r=Je.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 gl.call(this,t[0],t[1],t[2],super.listenTo)}}const $a={API_REQUEST:"API_REQUEST",API_RESPONSE:"API_RESPONSE",API_ERROR:"API_ERROR",INVALIDATE:"INVALIDATE",UPDATE:"UPDATE"};var Ms=(e=>(e.None="None",e.Fetching="Fetching",e.Success="Success",e.Error="Error",e))(Ms||{}),Lye=jJ();const Th=$n(Lye);var Zi=(e=>(e.GET="GET",e.POST="POST",e.PUT="PUT",e.DELETE="DELETE",e))(Zi||{});function Fz(e){const{getResponseHeader:t,responseJSON:r,status:n}=e;return{getResponseHeader:t,responseJSON:r,status:n}}const Nye=[Zi.POST,Zi.PUT];function Mye(e){const{resource:t,type:r,headers:n,success:i,error:a,always:o}=e,l={url:t,method:r,contentType:"application/json; charset=utf-8"};Nye.includes(r)&&e.data&&(l.data=JSON.stringify(e.data)),n&&(l.headers=n),Th.ajax(l).done((u,f,d)=>{i&&i(u,Fz(d))}).fail(u=>{a&&a(Fz(u))}).always(()=>{o&&o()})}const pee="id";function lb(e,t={}){const{idAttribute:r=pee,namespace:n=""}=t;return`${n}__${e[r]}`}function vee(e,t,r,n={}){const{idAttribute:i=pee}=n,a={...e};if(r.has(e))return e[i]?lb(e,n):a;if(r.add(e),Object.keys(e).forEach(o=>{const l=e[o];if(l){if(Array.isArray(l)){a[o]=l.map(u=>tI(u,t,r,n));return}if(typeof l=="object"){const u=vee(l,t,r,n);l[i]?a[o]=lb(l,n):a[o]=u}}}),e[i]){const o=lb(e,n);return t[o]?t[o]={...t[o],...a}:t[o]=a,o}return a}function tI(e,t,r,n={}){return e&&(Array.isArray(e)?e.map(i=>tI(i,t,r,n)):typeof e=="object"?vee(e,t,r,n):e)}function gee(e,t){const r={};return{result:tI(e,r,new Set,t),entities:r}}var cb,jz;function $ye(){if(jz)return cb;jz=1;function e(){this.__data__=[],this.size=0}return cb=e,cb}var fb,Uz;function mee(){if(Uz)return fb;Uz=1;function e(t,r){return t===r||t!==t&&r!==r}return fb=e,fb}var db,qz;function Vm(){if(qz)return db;qz=1;var e=mee();function t(r,n){for(var i=r.length;i--;)if(e(r[i][0],n))return i;return-1}return db=t,db}var hb,Bz;function Fye(){if(Bz)return hb;Bz=1;var e=Vm(),t=Array.prototype,r=t.splice;function n(i){var a=this.__data__,o=e(a,i);if(o<0)return!1;var l=a.length-1;return o==l?a.pop():r.call(a,o,1),--this.size,!0}return hb=n,hb}var pb,Vz;function jye(){if(Vz)return pb;Vz=1;var e=Vm();function t(r){var n=this.__data__,i=e(n,r);return i<0?void 0:n[i][1]}return pb=t,pb}var vb,Hz;function Uye(){if(Hz)return vb;Hz=1;var e=Vm();function t(r){return e(this.__data__,r)>-1}return vb=t,vb}var gb,zz;function qye(){if(zz)return gb;zz=1;var e=Vm();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 gb=t,gb}var mb,Wz;function Hm(){if(Wz)return mb;Wz=1;var e=$ye(),t=Fye(),r=jye(),n=Uye(),i=qye();function a(o){var l=-1,u=o==null?0:o.length;for(this.clear();++l<u;){var f=o[l];this.set(f[0],f[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=r,a.prototype.has=n,a.prototype.set=i,mb=a,mb}var yb,Gz;function Bye(){if(Gz)return yb;Gz=1;var e=Hm();function t(){this.__data__=new e,this.size=0}return yb=t,yb}var _b,Kz;function Vye(){if(Kz)return _b;Kz=1;function e(t){var r=this.__data__,n=r.delete(t);return this.size=r.size,n}return _b=e,_b}var Eb,Yz;function Hye(){if(Yz)return Eb;Yz=1;function e(t){return this.__data__.get(t)}return Eb=e,Eb}var Sb,Xz;function zye(){if(Xz)return Sb;Xz=1;function e(t){return this.__data__.has(t)}return Sb=e,Sb}var wb,Qz;function yee(){if(Qz)return wb;Qz=1;var e=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis;return wb=e,wb}var bb,Jz;function Vs(){if(Jz)return bb;Jz=1;var e=yee(),t=typeof self=="object"&&self&&self.Object===Object&&self,r=e||t||Function("return this")();return bb=r,bb}var Tb,Zz;function zm(){if(Zz)return Tb;Zz=1;var e=Vs(),t=e.Symbol;return Tb=t,Tb}var Ab,e7;function Wye(){if(e7)return Ab;e7=1;var e=zm(),t=Object.prototype,r=t.hasOwnProperty,n=t.toString,i=e?e.toStringTag:void 0;function a(o){var l=r.call(o,i),u=o[i];try{o[i]=void 0;var f=!0}catch{}var d=n.call(o);return f&&(l?o[i]=u:delete o[i]),d}return Ab=a,Ab}var Rb,t7;function Gye(){if(t7)return Rb;t7=1;var e=Object.prototype,t=e.toString;function r(n){return t.call(n)}return Rb=r,Rb}var xb,r7;function op(){if(r7)return xb;r7=1;var e=zm(),t=Wye(),r=Gye(),n="[object Null]",i="[object Undefined]",a=e?e.toStringTag:void 0;function o(l){return l==null?l===void 0?i:n:a&&a in Object(l)?t(l):r(l)}return xb=o,xb}var Cb,n7;function sp(){if(n7)return Cb;n7=1;function e(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}return Cb=e,Cb}var Ob,i7;function _ee(){if(i7)return Ob;i7=1;var e=op(),t=sp(),r="[object AsyncFunction]",n="[object Function]",i="[object GeneratorFunction]",a="[object Proxy]";function o(l){if(!t(l))return!1;var u=e(l);return u==n||u==i||u==r||u==a}return Ob=o,Ob}var Ib,a7;function Kye(){if(a7)return Ib;a7=1;var e=Vs(),t=e["__core-js_shared__"];return Ib=t,Ib}var Pb,o7;function Yye(){if(o7)return Pb;o7=1;var e=Kye(),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 Pb=r,Pb}var kb,s7;function Eee(){if(s7)return kb;s7=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 kb=r,kb}var Db,u7;function Xye(){if(u7)return Db;u7=1;var e=_ee(),t=Yye(),r=sp(),n=Eee(),i=/[\\^$.*+?()[\]{}|]/g,a=/^\[object .+?Constructor\]$/,o=Function.prototype,l=Object.prototype,u=o.toString,f=l.hasOwnProperty,d=RegExp("^"+u.call(f).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function h(p){if(!r(p)||t(p))return!1;var y=e(p)?d:a;return y.test(n(p))}return Db=h,Db}var Lb,l7;function Qye(){if(l7)return Lb;l7=1;function e(t,r){return t==null?void 0:t[r]}return Lb=e,Lb}var Nb,c7;function Cc(){if(c7)return Nb;c7=1;var e=Xye(),t=Qye();function r(n,i){var a=t(n,i);return e(a)?a:void 0}return Nb=r,Nb}var Mb,f7;function rI(){if(f7)return Mb;f7=1;var e=Cc(),t=Vs(),r=e(t,"Map");return Mb=r,Mb}var $b,d7;function Wm(){if(d7)return $b;d7=1;var e=Cc(),t=e(Object,"create");return $b=t,$b}var Fb,h7;function Jye(){if(h7)return Fb;h7=1;var e=Wm();function t(){this.__data__=e?e(null):{},this.size=0}return Fb=t,Fb}var jb,p7;function Zye(){if(p7)return jb;p7=1;function e(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}return jb=e,jb}var Ub,v7;function e_e(){if(v7)return Ub;v7=1;var e=Wm(),t="__lodash_hash_undefined__",r=Object.prototype,n=r.hasOwnProperty;function i(a){var o=this.__data__;if(e){var l=o[a];return l===t?void 0:l}return n.call(o,a)?o[a]:void 0}return Ub=i,Ub}var qb,g7;function t_e(){if(g7)return qb;g7=1;var e=Wm(),t=Object.prototype,r=t.hasOwnProperty;function n(i){var a=this.__data__;return e?a[i]!==void 0:r.call(a,i)}return qb=n,qb}var Bb,m7;function r_e(){if(m7)return Bb;m7=1;var e=Wm(),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 Bb=r,Bb}var Vb,y7;function n_e(){if(y7)return Vb;y7=1;var e=Jye(),t=Zye(),r=e_e(),n=t_e(),i=r_e();function a(o){var l=-1,u=o==null?0:o.length;for(this.clear();++l<u;){var f=o[l];this.set(f[0],f[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=r,a.prototype.has=n,a.prototype.set=i,Vb=a,Vb}var Hb,_7;function i_e(){if(_7)return Hb;_7=1;var e=n_e(),t=Hm(),r=rI();function n(){this.size=0,this.__data__={hash:new e,map:new(r||t),string:new e}}return Hb=n,Hb}var zb,E7;function a_e(){if(E7)return zb;E7=1;function e(t){var r=typeof t;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null}return zb=e,zb}var Wb,S7;function Gm(){if(S7)return Wb;S7=1;var e=a_e();function t(r,n){var i=r.__data__;return e(n)?i[typeof n=="string"?"string":"hash"]:i.map}return Wb=t,Wb}var Gb,w7;function o_e(){if(w7)return Gb;w7=1;var e=Gm();function t(r){var n=e(this,r).delete(r);return this.size-=n?1:0,n}return Gb=t,Gb}var Kb,b7;function s_e(){if(b7)return Kb;b7=1;var e=Gm();function t(r){return e(this,r).get(r)}return Kb=t,Kb}var Yb,T7;function u_e(){if(T7)return Yb;T7=1;var e=Gm();function t(r){return e(this,r).has(r)}return Yb=t,Yb}var Xb,A7;function l_e(){if(A7)return Xb;A7=1;var e=Gm();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 Xb=t,Xb}var Qb,R7;function See(){if(R7)return Qb;R7=1;var e=i_e(),t=o_e(),r=s_e(),n=u_e(),i=l_e();function a(o){var l=-1,u=o==null?0:o.length;for(this.clear();++l<u;){var f=o[l];this.set(f[0],f[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=r,a.prototype.has=n,a.prototype.set=i,Qb=a,Qb}var Jb,x7;function c_e(){if(x7)return Jb;x7=1;var e=Hm(),t=rI(),r=See(),n=200;function i(a,o){var l=this.__data__;if(l instanceof e){var u=l.__data__;if(!t||u.length<n-1)return u.push([a,o]),this.size=++l.size,this;l=this.__data__=new r(u)}return l.set(a,o),this.size=l.size,this}return Jb=i,Jb}var Zb,C7;function f_e(){if(C7)return Zb;C7=1;var e=Hm(),t=Bye(),r=Vye(),n=Hye(),i=zye(),a=c_e();function o(l){var u=this.__data__=new e(l);this.size=u.size}return o.prototype.clear=t,o.prototype.delete=r,o.prototype.get=n,o.prototype.has=i,o.prototype.set=a,Zb=o,Zb}var eT,O7;function d_e(){if(O7)return eT;O7=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 eT=e,eT}var tT,I7;function h_e(){if(I7)return tT;I7=1;var e=Cc(),t=(function(){try{var r=e(Object,"defineProperty");return r({},"",{}),r}catch{}})();return tT=t,tT}var rT,P7;function wee(){if(P7)return rT;P7=1;var e=h_e();function t(r,n,i){n=="__proto__"&&e?e(r,n,{configurable:!0,enumerable:!0,value:i,writable:!0}):r[n]=i}return rT=t,rT}var nT,k7;function bee(){if(k7)return nT;k7=1;var e=wee(),t=mee(),r=Object.prototype,n=r.hasOwnProperty;function i(a,o,l){var u=a[o];(!(n.call(a,o)&&t(u,l))||l===void 0&&!(o in a))&&e(a,o,l)}return nT=i,nT}var iT,D7;function Km(){if(D7)return iT;D7=1;var e=bee(),t=wee();function r(n,i,a,o){var l=!a;a||(a={});for(var u=-1,f=i.length;++u<f;){var d=i[u],h=o?o(a[d],n[d],d,a,n):void 0;h===void 0&&(h=n[d]),l?t(a,d,h):e(a,d,h)}return a}return iT=r,iT}var aT,L7;function p_e(){if(L7)return aT;L7=1;function e(t,r){for(var n=-1,i=Array(t);++n<t;)i[n]=r(n);return i}return aT=e,aT}var oT,N7;function ud(){if(N7)return oT;N7=1;function e(t){return t!=null&&typeof t=="object"}return oT=e,oT}var sT,M7;function v_e(){if(M7)return sT;M7=1;var e=op(),t=ud(),r="[object Arguments]";function n(i){return t(i)&&e(i)==r}return sT=n,sT}var uT,$7;function g_e(){if($7)return uT;$7=1;var e=v_e(),t=ud(),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 uT=a,uT}var lT,F7;function ld(){if(F7)return lT;F7=1;var e=Array.isArray;return lT=e,lT}var Zd={exports:{}},cT,j7;function m_e(){if(j7)return cT;j7=1;function e(){return!1}return cT=e,cT}Zd.exports;var U7;function Tee(){return U7||(U7=1,(function(e,t){var r=Vs(),n=m_e(),i=t&&!t.nodeType&&t,a=i&&!0&&e&&!e.nodeType&&e,o=a&&a.exports===i,l=o?r.Buffer:void 0,u=l?l.isBuffer:void 0,f=u||n;e.exports=f})(Zd,Zd.exports)),Zd.exports}var fT,q7;function y_e(){if(q7)return fT;q7=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 fT=r,fT}var dT,B7;function Aee(){if(B7)return dT;B7=1;var e=9007199254740991;function t(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=e}return dT=t,dT}var hT,V7;function __e(){if(V7)return hT;V7=1;var e=op(),t=Aee(),r=ud(),n="[object Arguments]",i="[object Array]",a="[object Boolean]",o="[object Date]",l="[object Error]",u="[object Function]",f="[object Map]",d="[object Number]",h="[object Object]",p="[object RegExp]",y="[object Set]",_="[object String]",E="[object WeakMap]",S="[object ArrayBuffer]",w="[object DataView]",T="[object Float32Array]",C="[object Float64Array]",x="[object Int8Array]",R="[object Int16Array]",O="[object Int32Array]",m="[object Uint8Array]",D="[object Uint8ClampedArray]",U="[object Uint16Array]",K="[object Uint32Array]",B={};B[T]=B[C]=B[x]=B[R]=B[O]=B[m]=B[D]=B[U]=B[K]=!0,B[n]=B[i]=B[S]=B[a]=B[w]=B[o]=B[l]=B[u]=B[f]=B[d]=B[h]=B[p]=B[y]=B[_]=B[E]=!1;function W(Y){return r(Y)&&t(Y.length)&&!!B[e(Y)]}return hT=W,hT}var pT,H7;function nI(){if(H7)return pT;H7=1;function e(t){return function(r){return t(r)}}return pT=e,pT}var eh={exports:{}};eh.exports;var z7;function iI(){return z7||(z7=1,(function(e,t){var r=yee(),n=t&&!t.nodeType&&t,i=n&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===n,o=a&&r.process,l=(function(){try{var u=i&&i.require&&i.require("util").types;return u||o&&o.binding&&o.binding("util")}catch{}})();e.exports=l})(eh,eh.exports)),eh.exports}var vT,W7;function E_e(){if(W7)return vT;W7=1;var e=__e(),t=nI(),r=iI(),n=r&&r.isTypedArray,i=n?t(n):e;return vT=i,vT}var gT,G7;function Ree(){if(G7)return gT;G7=1;var e=p_e(),t=g_e(),r=ld(),n=Tee(),i=y_e(),a=E_e(),o=Object.prototype,l=o.hasOwnProperty;function u(f,d){var h=r(f),p=!h&&t(f),y=!h&&!p&&n(f),_=!h&&!p&&!y&&a(f),E=h||p||y||_,S=E?e(f.length,String):[],w=S.length;for(var T in f)(d||l.call(f,T))&&!(E&&(T=="length"||y&&(T=="offset"||T=="parent")||_&&(T=="buffer"||T=="byteLength"||T=="byteOffset")||i(T,w)))&&S.push(T);return S}return gT=u,gT}var mT,K7;function aI(){if(K7)return mT;K7=1;var e=Object.prototype;function t(r){var n=r&&r.constructor,i=typeof n=="function"&&n.prototype||e;return r===i}return mT=t,mT}var yT,Y7;function xee(){if(Y7)return yT;Y7=1;function e(t,r){return function(n){return t(r(n))}}return yT=e,yT}var _T,X7;function S_e(){if(X7)return _T;X7=1;var e=xee(),t=e(Object.keys,Object);return _T=t,_T}var ET,Q7;function w_e(){if(Q7)return ET;Q7=1;var e=aI(),t=S_e(),r=Object.prototype,n=r.hasOwnProperty;function i(a){if(!e(a))return t(a);var o=[];for(var l in Object(a))n.call(a,l)&&l!="constructor"&&o.push(l);return o}return ET=i,ET}var ST,J7;function Cee(){if(J7)return ST;J7=1;var e=_ee(),t=Aee();function r(n){return n!=null&&t(n.length)&&!e(n)}return ST=r,ST}var wT,Z7;function oI(){if(Z7)return wT;Z7=1;var e=Ree(),t=w_e(),r=Cee();function n(i){return r(i)?e(i):t(i)}return wT=n,wT}var bT,e9;function b_e(){if(e9)return bT;e9=1;var e=Km(),t=oI();function r(n,i){return n&&e(i,t(i),n)}return bT=r,bT}var TT,t9;function T_e(){if(t9)return TT;t9=1;function e(t){var r=[];if(t!=null)for(var n in Object(t))r.push(n);return r}return TT=e,TT}var AT,r9;function A_e(){if(r9)return AT;r9=1;var e=sp(),t=aI(),r=T_e(),n=Object.prototype,i=n.hasOwnProperty;function a(o){if(!e(o))return r(o);var l=t(o),u=[];for(var f in o)f=="constructor"&&(l||!i.call(o,f))||u.push(f);return u}return AT=a,AT}var RT,n9;function sI(){if(n9)return RT;n9=1;var e=Ree(),t=A_e(),r=Cee();function n(i){return r(i)?e(i,!0):t(i)}return RT=n,RT}var xT,i9;function R_e(){if(i9)return xT;i9=1;var e=Km(),t=sI();function r(n,i){return n&&e(i,t(i),n)}return xT=r,xT}var th={exports:{}};th.exports;var a9;function x_e(){return a9||(a9=1,(function(e,t){var r=Vs(),n=t&&!t.nodeType&&t,i=n&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===n,o=a?r.Buffer:void 0,l=o?o.allocUnsafe:void 0;function u(f,d){if(d)return f.slice();var h=f.length,p=l?l(h):new f.constructor(h);return f.copy(p),p}e.exports=u})(th,th.exports)),th.exports}var CT,o9;function C_e(){if(o9)return CT;o9=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 CT=e,CT}var OT,s9;function O_e(){if(s9)return OT;s9=1;function e(t,r){for(var n=-1,i=t==null?0:t.length,a=0,o=[];++n<i;){var l=t[n];r(l,n,t)&&(o[a++]=l)}return o}return OT=e,OT}var IT,u9;function Oee(){if(u9)return IT;u9=1;function e(){return[]}return IT=e,IT}var PT,l9;function uI(){if(l9)return PT;l9=1;var e=O_e(),t=Oee(),r=Object.prototype,n=r.propertyIsEnumerable,i=Object.getOwnPropertySymbols,a=i?function(o){return o==null?[]:(o=Object(o),e(i(o),function(l){return n.call(o,l)}))}:t;return PT=a,PT}var kT,c9;function I_e(){if(c9)return kT;c9=1;var e=Km(),t=uI();function r(n,i){return e(n,t(n),i)}return kT=r,kT}var DT,f9;function Iee(){if(f9)return DT;f9=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 DT=e,DT}var LT,d9;function Pee(){if(d9)return LT;d9=1;var e=xee(),t=e(Object.getPrototypeOf,Object);return LT=t,LT}var NT,h9;function kee(){if(h9)return NT;h9=1;var e=Iee(),t=Pee(),r=uI(),n=Oee(),i=Object.getOwnPropertySymbols,a=i?function(o){for(var l=[];o;)e(l,r(o)),o=t(o);return l}:n;return NT=a,NT}var MT,p9;function P_e(){if(p9)return MT;p9=1;var e=Km(),t=kee();function r(n,i){return e(n,t(n),i)}return MT=r,MT}var $T,v9;function Dee(){if(v9)return $T;v9=1;var e=Iee(),t=ld();function r(n,i,a){var o=i(n);return t(n)?o:e(o,a(n))}return $T=r,$T}var FT,g9;function k_e(){if(g9)return FT;g9=1;var e=Dee(),t=uI(),r=oI();function n(i){return e(i,r,t)}return FT=n,FT}var jT,m9;function D_e(){if(m9)return jT;m9=1;var e=Dee(),t=kee(),r=sI();function n(i){return e(i,r,t)}return jT=n,jT}var UT,y9;function L_e(){if(y9)return UT;y9=1;var e=Cc(),t=Vs(),r=e(t,"DataView");return UT=r,UT}var qT,_9;function N_e(){if(_9)return qT;_9=1;var e=Cc(),t=Vs(),r=e(t,"Promise");return qT=r,qT}var BT,E9;function M_e(){if(E9)return BT;E9=1;var e=Cc(),t=Vs(),r=e(t,"Set");return BT=r,BT}var VT,S9;function $_e(){if(S9)return VT;S9=1;var e=Cc(),t=Vs(),r=e(t,"WeakMap");return VT=r,VT}var HT,w9;function lI(){if(w9)return HT;w9=1;var e=L_e(),t=rI(),r=N_e(),n=M_e(),i=$_e(),a=op(),o=Eee(),l="[object Map]",u="[object Object]",f="[object Promise]",d="[object Set]",h="[object WeakMap]",p="[object DataView]",y=o(e),_=o(t),E=o(r),S=o(n),w=o(i),T=a;return(e&&T(new e(new ArrayBuffer(1)))!=p||t&&T(new t)!=l||r&&T(r.resolve())!=f||n&&T(new n)!=d||i&&T(new i)!=h)&&(T=function(C){var x=a(C),R=x==u?C.constructor:void 0,O=R?o(R):"";if(O)switch(O){case y:return p;case _:return l;case E:return f;case S:return d;case w:return h}return x}),HT=T,HT}var zT,b9;function F_e(){if(b9)return zT;b9=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 zT=r,zT}var WT,T9;function j_e(){if(T9)return WT;T9=1;var e=Vs(),t=e.Uint8Array;return WT=t,WT}var GT,A9;function cI(){if(A9)return GT;A9=1;var e=j_e();function t(r){var n=new r.constructor(r.byteLength);return new e(n).set(new e(r)),n}return GT=t,GT}var KT,R9;function U_e(){if(R9)return KT;R9=1;var e=cI();function t(r,n){var i=n?e(r.buffer):r.buffer;return new r.constructor(i,r.byteOffset,r.byteLength)}return KT=t,KT}var YT,x9;function q_e(){if(x9)return YT;x9=1;var e=/\w*$/;function t(r){var n=new r.constructor(r.source,e.exec(r));return n.lastIndex=r.lastIndex,n}return YT=t,YT}var XT,C9;function B_e(){if(C9)return XT;C9=1;var e=zm(),t=e?e.prototype:void 0,r=t?t.valueOf:void 0;function n(i){return r?Object(r.call(i)):{}}return XT=n,XT}var QT,O9;function V_e(){if(O9)return QT;O9=1;var e=cI();function t(r,n){var i=n?e(r.buffer):r.buffer;return new r.constructor(i,r.byteOffset,r.length)}return QT=t,QT}var JT,I9;function H_e(){if(I9)return JT;I9=1;var e=cI(),t=U_e(),r=q_e(),n=B_e(),i=V_e(),a="[object Boolean]",o="[object Date]",l="[object Map]",u="[object Number]",f="[object RegExp]",d="[object Set]",h="[object String]",p="[object Symbol]",y="[object ArrayBuffer]",_="[object DataView]",E="[object Float32Array]",S="[object Float64Array]",w="[object Int8Array]",T="[object Int16Array]",C="[object Int32Array]",x="[object Uint8Array]",R="[object Uint8ClampedArray]",O="[object Uint16Array]",m="[object Uint32Array]";function D(U,K,B){var W=U.constructor;switch(K){case y:return e(U);case a:case o:return new W(+U);case _:return t(U,B);case E:case S:case w:case T:case C:case x:case R:case O:case m:return i(U,B);case l:return new W;case u:case h:return new W(U);case f:return r(U);case d:return new W;case p:return n(U)}}return JT=D,JT}var ZT,P9;function z_e(){if(P9)return ZT;P9=1;var e=sp(),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 ZT=r,ZT}var eA,k9;function W_e(){if(k9)return eA;k9=1;var e=z_e(),t=Pee(),r=aI();function n(i){return typeof i.constructor=="function"&&!r(i)?e(t(i)):{}}return eA=n,eA}var tA,D9;function G_e(){if(D9)return tA;D9=1;var e=lI(),t=ud(),r="[object Map]";function n(i){return t(i)&&e(i)==r}return tA=n,tA}var rA,L9;function K_e(){if(L9)return rA;L9=1;var e=G_e(),t=nI(),r=iI(),n=r&&r.isMap,i=n?t(n):e;return rA=i,rA}var nA,N9;function Y_e(){if(N9)return nA;N9=1;var e=lI(),t=ud(),r="[object Set]";function n(i){return t(i)&&e(i)==r}return nA=n,nA}var iA,M9;function X_e(){if(M9)return iA;M9=1;var e=Y_e(),t=nI(),r=iI(),n=r&&r.isSet,i=n?t(n):e;return iA=i,iA}var aA,$9;function Q_e(){if($9)return aA;$9=1;var e=f_e(),t=d_e(),r=bee(),n=b_e(),i=R_e(),a=x_e(),o=C_e(),l=I_e(),u=P_e(),f=k_e(),d=D_e(),h=lI(),p=F_e(),y=H_e(),_=W_e(),E=ld(),S=Tee(),w=K_e(),T=sp(),C=X_e(),x=oI(),R=sI(),O=1,m=2,D=4,U="[object Arguments]",K="[object Array]",B="[object Boolean]",W="[object Date]",Y="[object Error]",Q="[object Function]",ie="[object GeneratorFunction]",ae="[object Map]",ve="[object Number]",H="[object Object]",J="[object RegExp]",z="[object Set]",ue="[object String]",we="[object Symbol]",ke="[object WeakMap]",Be="[object ArrayBuffer]",nt="[object DataView]",rt="[object Float32Array]",q="[object Float64Array]",I="[object Int8Array]",N="[object Int16Array]",M="[object Int32Array]",Z="[object Uint8Array]",L="[object Uint8ClampedArray]",G="[object Uint16Array]",pe="[object Uint32Array]",fe={};fe[U]=fe[K]=fe[Be]=fe[nt]=fe[B]=fe[W]=fe[rt]=fe[q]=fe[I]=fe[N]=fe[M]=fe[ae]=fe[ve]=fe[H]=fe[J]=fe[z]=fe[ue]=fe[we]=fe[Z]=fe[L]=fe[G]=fe[pe]=!0,fe[Y]=fe[Q]=fe[ke]=!1;function be(_e,Ce,Me,de,me,ge){var Te,Pe=Ce&O,De=Ce&m,qe=Ce&D;if(Me&&(Te=me?Me(_e,de,me,ge):Me(_e)),Te!==void 0)return Te;if(!T(_e))return _e;var _t=E(_e);if(_t){if(Te=p(_e),!Pe)return o(_e,Te)}else{var Ut=h(_e),Mt=Ut==Q||Ut==ie;if(S(_e))return a(_e,Pe);if(Ut==H||Ut==U||Mt&&!me){if(Te=De||Mt?{}:_(_e),!Pe)return De?u(_e,i(Te,_e)):l(_e,n(Te,_e))}else{if(!fe[Ut])return me?_e:{};Te=y(_e,Ut,Pe)}}ge||(ge=new e);var Xe=ge.get(_e);if(Xe)return Xe;ge.set(_e,Te),C(_e)?_e.forEach(function(Et){Te.add(be(Et,Ce,Me,Et,_e,ge))}):w(_e)&&_e.forEach(function(Et,At){Te.set(At,be(Et,Ce,Me,At,_e,ge))});var wt=qe?De?d:f:De?R:x,mt=_t?void 0:wt(_e);return t(mt||_e,function(Et,At){mt&&(At=Et,Et=_e[At]),r(Te,At,be(Et,Ce,Me,At,_e,ge))}),Te}return aA=be,aA}var oA,F9;function J_e(){if(F9)return oA;F9=1;var e=Q_e(),t=1,r=4;function n(i){return e(i,t|r)}return oA=n,oA}var Z_e=J_e();const eEe=$n(Z_e);var sA,j9;function fI(){if(j9)return sA;j9=1;var e=op(),t=ud(),r="[object Symbol]";function n(i){return typeof i=="symbol"||t(i)&&e(i)==r}return sA=n,sA}var uA,U9;function tEe(){if(U9)return uA;U9=1;var e=ld(),t=fI(),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function i(a,o){if(e(a))return!1;var l=typeof a;return l=="number"||l=="symbol"||l=="boolean"||a==null||t(a)?!0:n.test(a)||!r.test(a)||o!=null&&a in Object(o)}return uA=i,uA}var lA,q9;function rEe(){if(q9)return lA;q9=1;var e=See(),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,l=i?i.apply(this,o):o[0],u=a.cache;if(u.has(l))return u.get(l);var f=n.apply(this,o);return a.cache=u.set(l,f)||u,f};return a.cache=new(r.Cache||e),a}return r.Cache=e,lA=r,lA}var cA,B9;function nEe(){if(B9)return cA;B9=1;var e=rEe(),t=500;function r(n){var i=e(n,function(o){return a.size===t&&a.clear(),o}),a=i.cache;return i}return cA=r,cA}var fA,V9;function iEe(){if(V9)return fA;V9=1;var e=nEe(),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,l,u,f){a.push(u?f.replace(r,"$1"):l||o)}),a});return fA=n,fA}var dA,H9;function aEe(){if(H9)return dA;H9=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 dA=e,dA}var hA,z9;function oEe(){if(z9)return hA;z9=1;var e=zm(),t=aEe(),r=ld(),n=fI(),i=e?e.prototype:void 0,a=i?i.toString:void 0;function o(l){if(typeof l=="string")return l;if(r(l))return t(l,o)+"";if(n(l))return a?a.call(l):"";var u=l+"";return u=="0"&&1/l==-1/0?"-0":u}return hA=o,hA}var pA,W9;function sEe(){if(W9)return pA;W9=1;var e=oEe();function t(r){return r==null?"":e(r)}return pA=t,pA}var vA,G9;function uEe(){if(G9)return vA;G9=1;var e=ld(),t=tEe(),r=iEe(),n=sEe();function i(a,o){return e(a)?a:t(a,o)?[a]:r(n(a))}return vA=i,vA}var gA,K9;function lEe(){if(K9)return gA;K9=1;var e=fI();function t(r){if(typeof r=="string"||e(r))return r;var n=r+"";return n=="0"&&1/r==-1/0?"-0":n}return gA=t,gA}var mA,Y9;function cEe(){if(Y9)return mA;Y9=1;var e=uEe(),t=lEe();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 mA=r,mA}var yA,X9;function fEe(){if(X9)return yA;X9=1;var e=cEe();function t(r,n,i){var a=r==null?void 0:e(r,n);return a===void 0?i:a}return yA=t,yA}var dEe=fEe();const hEe=$n(dEe),js={isEmpty(e){return Eh(e)},values(e){return vl(e)},keys(e){return ji(e)},deepClone(e){return eEe(e)},getEnumKeys(e){return Object.keys(e).filter(t=>!(parseInt(t)>=0))},isObject(e){return rs(e)},isEqual(e,t){return iZ(e,t)},omit(e,t){return $m(e,t)},pick(e,t){return GO(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])?js.flattenObjectToString(e[n],i):`${i}:${e[n]}`}).join(r)},get(e,t,r){return hEe(e,t,r)},swapKeysAndValues(e){return Object.entries(e).reduce((t,[r,n])=>({...t,[n]:r}),{})}};function pEe(e,t,r,n){if(r[e])return r[e];r[e]={};const i=bg(t[e],t,r,n);return Object.assign(r[e],i),js.isEmpty(r[e])?(delete r[e],e):js.omit(r[e],["__modifyCount"])}function bg(e,t,r,n){if(!e)return e;if(typeof e=="string")return pEe(e,t,r,n);if(Array.isArray(e))return e.map(i=>bg(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]=bg(e[a],t,r,n)}),i}return e}function dI(e,t){return bg(e,t,{},new WeakMap)}var _A={exports:{}},un={},Q9;function vEe(){if(Q9)return un;Q9=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"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.iterator;function p(z){return z===null||typeof z!="object"?null:(z=h&&z[h]||z["@@iterator"],typeof z=="function"?z:null)}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,E={};function S(z,ue,we){this.props=z,this.context=ue,this.refs=E,this.updater=we||y}S.prototype.isReactComponent={},S.prototype.setState=function(z,ue){if(typeof z!="object"&&typeof z!="function"&&z!=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,z,ue,"setState")},S.prototype.forceUpdate=function(z){this.updater.enqueueForceUpdate(this,z,"forceUpdate")};function w(){}w.prototype=S.prototype;function T(z,ue,we){this.props=z,this.context=ue,this.refs=E,this.updater=we||y}var C=T.prototype=new w;C.constructor=T,_(C,S.prototype),C.isPureReactComponent=!0;var x=Array.isArray,R=Object.prototype.hasOwnProperty,O={current:null},m={key:!0,ref:!0,__self:!0,__source:!0};function D(z,ue,we){var ke,Be={},nt=null,rt=null;if(ue!=null)for(ke in ue.ref!==void 0&&(rt=ue.ref),ue.key!==void 0&&(nt=""+ue.key),ue)R.call(ue,ke)&&!m.hasOwnProperty(ke)&&(Be[ke]=ue[ke]);var q=arguments.length-2;if(q===1)Be.children=we;else if(1<q){for(var I=Array(q),N=0;N<q;N++)I[N]=arguments[N+2];Be.children=I}if(z&&z.defaultProps)for(ke in q=z.defaultProps,q)Be[ke]===void 0&&(Be[ke]=q[ke]);return{$$typeof:e,type:z,key:nt,ref:rt,props:Be,_owner:O.current}}function U(z,ue){return{$$typeof:e,type:z.type,key:ue,ref:z.ref,props:z.props,_owner:z._owner}}function K(z){return typeof z=="object"&&z!==null&&z.$$typeof===e}function B(z){var ue={"=":"=0",":":"=2"};return"$"+z.replace(/[=:]/g,function(we){return ue[we]})}var W=/\/+/g;function Y(z,ue){return typeof z=="object"&&z!==null&&z.key!=null?B(""+z.key):ue.toString(36)}function Q(z,ue,we,ke,Be){var nt=typeof z;(nt==="undefined"||nt==="boolean")&&(z=null);var rt=!1;if(z===null)rt=!0;else switch(nt){case"string":case"number":rt=!0;break;case"object":switch(z.$$typeof){case e:case t:rt=!0}}if(rt)return rt=z,Be=Be(rt),z=ke===""?"."+Y(rt,0):ke,x(Be)?(we="",z!=null&&(we=z.replace(W,"$&/")+"/"),Q(Be,ue,we,"",function(N){return N})):Be!=null&&(K(Be)&&(Be=U(Be,we+(!Be.key||rt&&rt.key===Be.key?"":(""+Be.key).replace(W,"$&/")+"/")+z)),ue.push(Be)),1;if(rt=0,ke=ke===""?".":ke+":",x(z))for(var q=0;q<z.length;q++){nt=z[q];var I=ke+Y(nt,q);rt+=Q(nt,ue,we,I,Be)}else if(I=p(z),typeof I=="function")for(z=I.call(z),q=0;!(nt=z.next()).done;)nt=nt.value,I=ke+Y(nt,q++),rt+=Q(nt,ue,we,I,Be);else if(nt==="object")throw ue=String(z),Error("Objects are not valid as a React child (found: "+(ue==="[object Object]"?"object with keys {"+Object.keys(z).join(", ")+"}":ue)+"). If you meant to render a collection of children, use an array instead.");return rt}function ie(z,ue,we){if(z==null)return z;var ke=[],Be=0;return Q(z,ke,"","",function(nt){return ue.call(we,nt,Be++)}),ke}function ae(z){if(z._status===-1){var ue=z._result;ue=ue(),ue.then(function(we){(z._status===0||z._status===-1)&&(z._status=1,z._result=we)},function(we){(z._status===0||z._status===-1)&&(z._status=2,z._result=we)}),z._status===-1&&(z._status=0,z._result=ue)}if(z._status===1)return z._result.default;throw z._result}var ve={current:null},H={transition:null},J={ReactCurrentDispatcher:ve,ReactCurrentBatchConfig:H,ReactCurrentOwner:O};return un.Children={map:ie,forEach:function(z,ue,we){ie(z,function(){ue.apply(this,arguments)},we)},count:function(z){var ue=0;return ie(z,function(){ue++}),ue},toArray:function(z){return ie(z,function(ue){return ue})||[]},only:function(z){if(!K(z))throw Error("React.Children.only expected to receive a single React element child.");return z}},un.Component=S,un.Fragment=r,un.Profiler=i,un.PureComponent=T,un.StrictMode=n,un.Suspense=u,un.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=J,un.cloneElement=function(z,ue,we){if(z==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+z+".");var ke=_({},z.props),Be=z.key,nt=z.ref,rt=z._owner;if(ue!=null){if(ue.ref!==void 0&&(nt=ue.ref,rt=O.current),ue.key!==void 0&&(Be=""+ue.key),z.type&&z.type.defaultProps)var q=z.type.defaultProps;for(I in ue)R.call(ue,I)&&!m.hasOwnProperty(I)&&(ke[I]=ue[I]===void 0&&q!==void 0?q[I]:ue[I])}var I=arguments.length-2;if(I===1)ke.children=we;else if(1<I){q=Array(I);for(var N=0;N<I;N++)q[N]=arguments[N+2];ke.children=q}return{$$typeof:e,type:z.type,key:Be,ref:nt,props:ke,_owner:rt}},un.createContext=function(z){return z={$$typeof:o,_currentValue:z,_currentValue2:z,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},z.Provider={$$typeof:a,_context:z},z.Consumer=z},un.createElement=D,un.createFactory=function(z){var ue=D.bind(null,z);return ue.type=z,ue},un.createRef=function(){return{current:null}},un.forwardRef=function(z){return{$$typeof:l,render:z}},un.isValidElement=K,un.lazy=function(z){return{$$typeof:d,_payload:{_status:-1,_result:z},_init:ae}},un.memo=function(z,ue){return{$$typeof:f,type:z,compare:ue===void 0?null:ue}},un.startTransition=function(z){var ue=H.transition;H.transition={};try{z()}finally{H.transition=ue}},un.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},un.useCallback=function(z,ue){return ve.current.useCallback(z,ue)},un.useContext=function(z){return ve.current.useContext(z)},un.useDebugValue=function(){},un.useDeferredValue=function(z){return ve.current.useDeferredValue(z)},un.useEffect=function(z,ue){return ve.current.useEffect(z,ue)},un.useId=function(){return ve.current.useId()},un.useImperativeHandle=function(z,ue,we){return ve.current.useImperativeHandle(z,ue,we)},un.useInsertionEffect=function(z,ue){return ve.current.useInsertionEffect(z,ue)},un.useLayoutEffect=function(z,ue){return ve.current.useLayoutEffect(z,ue)},un.useMemo=function(z,ue){return ve.current.useMemo(z,ue)},un.useReducer=function(z,ue,we){return ve.current.useReducer(z,ue,we)},un.useRef=function(z){return ve.current.useRef(z)},un.useState=function(z){return ve.current.useState(z)},un.useSyncExternalStore=function(z,ue,we){return ve.current.useSyncExternalStore(z,ue,we)},un.useTransition=function(){return ve.current.useTransition()},un.version="18.1.0",un}var J9;function Oc(){return J9||(J9=1,_A.exports=vEe()),_A.exports}var Se=Oc();const Dr=$n(Se);var EA={exports:{}},SA={};/**
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 Z9;function gEe(){if(Z9)return SA;Z9=1;var e=Oc();function t(h,p){return h===p&&(h!==0||1/h===1/p)||h!==h&&p!==p}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,i=e.useEffect,a=e.useLayoutEffect,o=e.useDebugValue;function l(h,p){var y=p(),_=n({inst:{value:y,getSnapshot:p}}),E=_[0].inst,S=_[1];return a(function(){E.value=y,E.getSnapshot=p,u(E)&&S({inst:E})},[h,y,p]),i(function(){return u(E)&&S({inst:E}),h(function(){u(E)&&S({inst:E})})},[h]),o(y),y}function u(h){var p=h.getSnapshot;h=h.value;try{var y=p();return!r(h,y)}catch{return!0}}function f(h,p){return p()}var d=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?f:l;return SA.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:d,SA}var eW;function Lee(){return eW||(eW=1,EA.exports=gEe()),EA.exports}Lee();var wA={exports:{}},bA={};/**
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 tW;function mEe(){if(tW)return bA;tW=1;var e=Oc(),t=Lee();function r(f,d){return f===d&&(f!==0||1/f===1/d)||f!==f&&d!==d}var n=typeof Object.is=="function"?Object.is:r,i=t.useSyncExternalStore,a=e.useRef,o=e.useEffect,l=e.useMemo,u=e.useDebugValue;return bA.useSyncExternalStoreWithSelector=function(f,d,h,p,y){var _=a(null);if(_.current===null){var E={hasValue:!1,value:null};_.current=E}else E=_.current;_=l(function(){function w(O){if(!T){if(T=!0,C=O,O=p(O),y!==void 0&&E.hasValue){var m=E.value;if(y(m,O))return x=m}return x=O}if(m=x,n(C,O))return m;var D=p(O);return y!==void 0&&y(m,D)?(C=O,m):(C=O,x=D)}var T=!1,C,x,R=h===void 0?null:h;return[function(){return w(d())},R===null?void 0:function(){return w(R())}]},[d,h,p,y]);var S=i(f,_[0],_[1]);return o(function(){E.hasValue=!0,E.value=S},[S]),u(S),S},bA}var rW;function yEe(){return rW||(rW=1,wA.exports=mEe()),wA.exports}var _Ee=yEe(),TA={exports:{}},to={},AA={exports:{}},RA={};/**
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 nW;function EEe(){return nW||(nW=1,(function(e){function t(H,J){var z=H.length;H.push(J);e:for(;0<z;){var ue=z-1>>>1,we=H[ue];if(0<i(we,J))H[ue]=J,H[z]=we,z=ue;else break e}}function r(H){return H.length===0?null:H[0]}function n(H){if(H.length===0)return null;var J=H[0],z=H.pop();if(z!==J){H[0]=z;e:for(var ue=0,we=H.length,ke=we>>>1;ue<ke;){var Be=2*(ue+1)-1,nt=H[Be],rt=Be+1,q=H[rt];if(0>i(nt,z))rt<we&&0>i(q,nt)?(H[ue]=q,H[rt]=z,ue=rt):(H[ue]=nt,H[Be]=z,ue=Be);else if(rt<we&&0>i(q,z))H[ue]=q,H[rt]=z,ue=rt;else break e}}return J}function i(H,J){var z=H.sortIndex-J.sortIndex;return z!==0?z:H.id-J.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,l=o.now();e.unstable_now=function(){return o.now()-l}}var u=[],f=[],d=1,h=null,p=3,y=!1,_=!1,E=!1,S=typeof setTimeout=="function"?setTimeout:null,w=typeof clearTimeout=="function"?clearTimeout:null,T=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function C(H){for(var J=r(f);J!==null;){if(J.callback===null)n(f);else if(J.startTime<=H)n(f),J.sortIndex=J.expirationTime,t(u,J);else break;J=r(f)}}function x(H){if(E=!1,C(H),!_)if(r(u)!==null)_=!0,ae(R);else{var J=r(f);J!==null&&ve(x,J.startTime-H)}}function R(H,J){_=!1,E&&(E=!1,w(D),D=-1),y=!0;var z=p;try{for(C(J),h=r(u);h!==null&&(!(h.expirationTime>J)||H&&!B());){var ue=h.callback;if(typeof ue=="function"){h.callback=null,p=h.priorityLevel;var we=ue(h.expirationTime<=J);J=e.unstable_now(),typeof we=="function"?h.callback=we:h===r(u)&&n(u),C(J)}else n(u);h=r(u)}if(h!==null)var ke=!0;else{var Be=r(f);Be!==null&&ve(x,Be.startTime-J),ke=!1}return ke}finally{h=null,p=z,y=!1}}var O=!1,m=null,D=-1,U=5,K=-1;function B(){return!(e.unstable_now()-K<U)}function W(){if(m!==null){var H=e.unstable_now();K=H;var J=!0;try{J=m(!0,H)}finally{J?Y():(O=!1,m=null)}}else O=!1}var Y;if(typeof T=="function")Y=function(){T(W)};else if(typeof MessageChannel<"u"){var Q=new MessageChannel,ie=Q.port2;Q.port1.onmessage=W,Y=function(){ie.postMessage(null)}}else Y=function(){S(W,0)};function ae(H){m=H,O||(O=!0,Y())}function ve(H,J){D=S(function(){H(e.unstable_now())},J)}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(H){H.callback=null},e.unstable_continueExecution=function(){_||y||(_=!0,ae(R))},e.unstable_forceFrameRate=function(H){0>H||125<H?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):U=0<H?Math.floor(1e3/H):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return r(u)},e.unstable_next=function(H){switch(p){case 1:case 2:case 3:var J=3;break;default:J=p}var z=p;p=J;try{return H()}finally{p=z}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(H,J){switch(H){case 1:case 2:case 3:case 4:case 5:break;default:H=3}var z=p;p=H;try{return J()}finally{p=z}},e.unstable_scheduleCallback=function(H,J,z){var ue=e.unstable_now();switch(typeof z=="object"&&z!==null?(z=z.delay,z=typeof z=="number"&&0<z?ue+z:ue):z=ue,H){case 1:var we=-1;break;case 2:we=250;break;case 5:we=1073741823;break;case 4:we=1e4;break;default:we=5e3}return we=z+we,H={id:d++,callback:J,priorityLevel:H,startTime:z,expirationTime:we,sortIndex:-1},z>ue?(H.sortIndex=z,t(f,H),r(u)===null&&H===r(f)&&(E?(w(D),D=-1):E=!0,ve(x,z-ue))):(H.sortIndex=we,t(u,H),_||y||(_=!0,ae(R))),H},e.unstable_shouldYield=B,e.unstable_wrapCallback=function(H){var J=p;return function(){var z=p;p=J;try{return H.apply(this,arguments)}finally{p=z}}}})(RA)),RA}var iW;function SEe(){return iW||(iW=1,AA.exports=EEe()),AA.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 aW;function wEe(){if(aW)return to;aW=1;var e=Oc(),t=SEe();function r(s){for(var c="https://reactjs.org/docs/error-decoder.html?invariant="+s,v=1;v<arguments.length;v++)c+="&args[]="+encodeURIComponent(arguments[v]);return"Minified React error #"+s+"; visit "+c+" 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(s,c){o(s,c),o(s+"Capture",c)}function o(s,c){for(i[s]=c,s=0;s<c.length;s++)n.add(c[s])}var l=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),u=Object.prototype.hasOwnProperty,f=/^[: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 p(s){return u.call(h,s)?!0:u.call(d,s)?!1:f.test(s)?h[s]=!0:(d[s]=!0,!1)}function y(s,c,v,b){if(v!==null&&v.type===0)return!1;switch(typeof c){case"function":case"symbol":return!0;case"boolean":return b?!1:v!==null?!v.acceptsBooleans:(s=s.toLowerCase().slice(0,5),s!=="data-"&&s!=="aria-");default:return!1}}function _(s,c,v,b){if(c===null||typeof c>"u"||y(s,c,v,b))return!0;if(b)return!1;if(v!==null)switch(v.type){case 3:return!c;case 4:return c===!1;case 5:return isNaN(c);case 6:return isNaN(c)||1>c}return!1}function E(s,c,v,b,k,V,he){this.acceptsBooleans=c===2||c===3||c===4,this.attributeName=b,this.attributeNamespace=k,this.mustUseProperty=v,this.propertyName=s,this.type=c,this.sanitizeURL=V,this.removeEmptyString=he}var S={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(s){S[s]=new E(s,0,!1,s,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(s){var c=s[0];S[c]=new E(c,1,!1,s[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(s){S[s]=new E(s,2,!1,s.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(s){S[s]=new E(s,2,!1,s,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(s){S[s]=new E(s,3,!1,s.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(s){S[s]=new E(s,3,!0,s,null,!1,!1)}),["capture","download"].forEach(function(s){S[s]=new E(s,4,!1,s,null,!1,!1)}),["cols","rows","size","span"].forEach(function(s){S[s]=new E(s,6,!1,s,null,!1,!1)}),["rowSpan","start"].forEach(function(s){S[s]=new E(s,5,!1,s.toLowerCase(),null,!1,!1)});var w=/[\-:]([a-z])/g;function T(s){return s[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(s){var c=s.replace(w,T);S[c]=new E(c,1,!1,s,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(s){var c=s.replace(w,T);S[c]=new E(c,1,!1,s,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(s){var c=s.replace(w,T);S[c]=new E(c,1,!1,s,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(s){S[s]=new E(s,1,!1,s.toLowerCase(),null,!1,!1)}),S.xlinkHref=new E("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(s){S[s]=new E(s,1,!1,s.toLowerCase(),null,!0,!0)});function C(s,c,v,b){var k=S.hasOwnProperty(c)?S[c]:null;(k!==null?k.type!==0:b||!(2<c.length)||c[0]!=="o"&&c[0]!=="O"||c[1]!=="n"&&c[1]!=="N")&&(_(c,v,k,b)&&(v=null),b||k===null?p(c)&&(v===null?s.removeAttribute(c):s.setAttribute(c,""+v)):k.mustUseProperty?s[k.propertyName]=v===null?k.type===3?!1:"":v:(c=k.attributeName,b=k.attributeNamespace,v===null?s.removeAttribute(c):(k=k.type,v=k===3||k===4&&v===!0?"":""+v,b?s.setAttributeNS(b,c,v):s.setAttribute(c,v))))}var x=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,R=Symbol.for("react.element"),O=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),D=Symbol.for("react.strict_mode"),U=Symbol.for("react.profiler"),K=Symbol.for("react.provider"),B=Symbol.for("react.context"),W=Symbol.for("react.forward_ref"),Y=Symbol.for("react.suspense"),Q=Symbol.for("react.suspense_list"),ie=Symbol.for("react.memo"),ae=Symbol.for("react.lazy"),ve=Symbol.for("react.offscreen"),H=Symbol.iterator;function J(s){return s===null||typeof s!="object"?null:(s=H&&s[H]||s["@@iterator"],typeof s=="function"?s:null)}var z=Object.assign,ue;function we(s){if(ue===void 0)try{throw Error()}catch(v){var c=v.stack.trim().match(/\n( *(at )?)/);ue=c&&c[1]||""}return`
97
+ `+ue+s}var ke=!1;function Be(s,c){if(!s||ke)return"";ke=!0;var v=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(c)if(c=function(){throw Error()},Object.defineProperty(c.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(c,[])}catch(gt){var b=gt}Reflect.construct(s,[],c)}else{try{c.call()}catch(gt){b=gt}s.call(c.prototype)}else{try{throw Error()}catch(gt){b=gt}s()}}catch(gt){if(gt&&b&&typeof gt.stack=="string"){for(var k=gt.stack.split(`
98
+ `),V=b.stack.split(`
99
+ `),he=k.length-1,Oe=V.length-1;1<=he&&0<=Oe&&k[he]!==V[Oe];)Oe--;for(;1<=he&&0<=Oe;he--,Oe--)if(k[he]!==V[Oe]){if(he!==1||Oe!==1)do if(he--,Oe--,0>Oe||k[he]!==V[Oe]){var Ve=`
100
+ `+k[he].replace(" at new "," at ");return s.displayName&&Ve.includes("<anonymous>")&&(Ve=Ve.replace("<anonymous>",s.displayName)),Ve}while(1<=he&&0<=Oe);break}}}finally{ke=!1,Error.prepareStackTrace=v}return(s=s?s.displayName||s.name:"")?we(s):""}function nt(s){switch(s.tag){case 5:return we(s.type);case 16:return we("Lazy");case 13:return we("Suspense");case 19:return we("SuspenseList");case 0:case 2:case 15:return s=Be(s.type,!1),s;case 11:return s=Be(s.type.render,!1),s;case 1:return s=Be(s.type,!0),s;default:return""}}function rt(s){if(s==null)return null;if(typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case m:return"Fragment";case O:return"Portal";case U:return"Profiler";case D:return"StrictMode";case Y:return"Suspense";case Q:return"SuspenseList"}if(typeof s=="object")switch(s.$$typeof){case B:return(s.displayName||"Context")+".Consumer";case K:return(s._context.displayName||"Context")+".Provider";case W:var c=s.render;return s=s.displayName,s||(s=c.displayName||c.name||"",s=s!==""?"ForwardRef("+s+")":"ForwardRef"),s;case ie:return c=s.displayName||null,c!==null?c:rt(s.type)||"Memo";case ae:c=s._payload,s=s._init;try{return rt(s(c))}catch{}}return null}function q(s){var c=s.type;switch(s.tag){case 24:return"Cache";case 9:return(c.displayName||"Context")+".Consumer";case 10:return(c._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return s=c.render,s=s.displayName||s.name||"",c.displayName||(s!==""?"ForwardRef("+s+")":"ForwardRef");case 7:return"Fragment";case 5:return c;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return rt(c);case 8:return c===D?"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 c=="function")return c.displayName||c.name||null;if(typeof c=="string")return c}return null}function I(s){switch(typeof s){case"boolean":case"number":case"string":case"undefined":return s;case"object":return s;default:return""}}function N(s){var c=s.type;return(s=s.nodeName)&&s.toLowerCase()==="input"&&(c==="checkbox"||c==="radio")}function M(s){var c=N(s)?"checked":"value",v=Object.getOwnPropertyDescriptor(s.constructor.prototype,c),b=""+s[c];if(!s.hasOwnProperty(c)&&typeof v<"u"&&typeof v.get=="function"&&typeof v.set=="function"){var k=v.get,V=v.set;return Object.defineProperty(s,c,{configurable:!0,get:function(){return k.call(this)},set:function(he){b=""+he,V.call(this,he)}}),Object.defineProperty(s,c,{enumerable:v.enumerable}),{getValue:function(){return b},setValue:function(he){b=""+he},stopTracking:function(){s._valueTracker=null,delete s[c]}}}}function Z(s){s._valueTracker||(s._valueTracker=M(s))}function L(s){if(!s)return!1;var c=s._valueTracker;if(!c)return!0;var v=c.getValue(),b="";return s&&(b=N(s)?s.checked?"true":"false":s.value),s=b,s!==v?(c.setValue(s),!0):!1}function G(s){if(s=s||(typeof document<"u"?document:void 0),typeof s>"u")return null;try{return s.activeElement||s.body}catch{return s.body}}function pe(s,c){var v=c.checked;return z({},c,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:v??s._wrapperState.initialChecked})}function fe(s,c){var v=c.defaultValue==null?"":c.defaultValue,b=c.checked!=null?c.checked:c.defaultChecked;v=I(c.value!=null?c.value:v),s._wrapperState={initialChecked:b,initialValue:v,controlled:c.type==="checkbox"||c.type==="radio"?c.checked!=null:c.value!=null}}function be(s,c){c=c.checked,c!=null&&C(s,"checked",c,!1)}function _e(s,c){be(s,c);var v=I(c.value),b=c.type;if(v!=null)b==="number"?(v===0&&s.value===""||s.value!=v)&&(s.value=""+v):s.value!==""+v&&(s.value=""+v);else if(b==="submit"||b==="reset"){s.removeAttribute("value");return}c.hasOwnProperty("value")?Me(s,c.type,v):c.hasOwnProperty("defaultValue")&&Me(s,c.type,I(c.defaultValue)),c.checked==null&&c.defaultChecked!=null&&(s.defaultChecked=!!c.defaultChecked)}function Ce(s,c,v){if(c.hasOwnProperty("value")||c.hasOwnProperty("defaultValue")){var b=c.type;if(!(b!=="submit"&&b!=="reset"||c.value!==void 0&&c.value!==null))return;c=""+s._wrapperState.initialValue,v||c===s.value||(s.value=c),s.defaultValue=c}v=s.name,v!==""&&(s.name=""),s.defaultChecked=!!s._wrapperState.initialChecked,v!==""&&(s.name=v)}function Me(s,c,v){(c!=="number"||G(s.ownerDocument)!==s)&&(v==null?s.defaultValue=""+s._wrapperState.initialValue:s.defaultValue!==""+v&&(s.defaultValue=""+v))}var de=Array.isArray;function me(s,c,v,b){if(s=s.options,c){c={};for(var k=0;k<v.length;k++)c["$"+v[k]]=!0;for(v=0;v<s.length;v++)k=c.hasOwnProperty("$"+s[v].value),s[v].selected!==k&&(s[v].selected=k),k&&b&&(s[v].defaultSelected=!0)}else{for(v=""+I(v),c=null,k=0;k<s.length;k++){if(s[k].value===v){s[k].selected=!0,b&&(s[k].defaultSelected=!0);return}c!==null||s[k].disabled||(c=s[k])}c!==null&&(c.selected=!0)}}function ge(s,c){if(c.dangerouslySetInnerHTML!=null)throw Error(r(91));return z({},c,{value:void 0,defaultValue:void 0,children:""+s._wrapperState.initialValue})}function Te(s,c){var v=c.value;if(v==null){if(v=c.children,c=c.defaultValue,v!=null){if(c!=null)throw Error(r(92));if(de(v)){if(1<v.length)throw Error(r(93));v=v[0]}c=v}c==null&&(c=""),v=c}s._wrapperState={initialValue:I(v)}}function Pe(s,c){var v=I(c.value),b=I(c.defaultValue);v!=null&&(v=""+v,v!==s.value&&(s.value=v),c.defaultValue==null&&s.defaultValue!==v&&(s.defaultValue=v)),b!=null&&(s.defaultValue=""+b)}function De(s){var c=s.textContent;c===s._wrapperState.initialValue&&c!==""&&c!==null&&(s.value=c)}function qe(s){switch(s){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(s,c){return s==null||s==="http://www.w3.org/1999/xhtml"?qe(c):s==="http://www.w3.org/2000/svg"&&c==="foreignObject"?"http://www.w3.org/1999/xhtml":s}var Ut,Mt=(function(s){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(c,v,b,k){MSApp.execUnsafeLocalFunction(function(){return s(c,v,b,k)})}:s})(function(s,c){if(s.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in s)s.innerHTML=c;else{for(Ut=Ut||document.createElement("div"),Ut.innerHTML="<svg>"+c.valueOf().toString()+"</svg>",c=Ut.firstChild;s.firstChild;)s.removeChild(s.firstChild);for(;c.firstChild;)s.appendChild(c.firstChild)}});function Xe(s,c){if(c){var v=s.firstChild;if(v&&v===s.lastChild&&v.nodeType===3){v.nodeValue=c;return}}s.textContent=c}var wt={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(wt).forEach(function(s){mt.forEach(function(c){c=c+s.charAt(0).toUpperCase()+s.substring(1),wt[c]=wt[s]})});function Et(s,c,v){return c==null||typeof c=="boolean"||c===""?"":v||typeof c!="number"||c===0||wt.hasOwnProperty(s)&&wt[s]?(""+c).trim():c+"px"}function At(s,c){s=s.style;for(var v in c)if(c.hasOwnProperty(v)){var b=v.indexOf("--")===0,k=Et(v,c[v],b);v==="float"&&(v="cssFloat"),b?s.setProperty(v,k):s[v]=k}}var ft=z({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 Ft(s,c){if(c){if(ft[s]&&(c.children!=null||c.dangerouslySetInnerHTML!=null))throw Error(r(137,s));if(c.dangerouslySetInnerHTML!=null){if(c.children!=null)throw Error(r(60));if(typeof c.dangerouslySetInnerHTML!="object"||!("__html"in c.dangerouslySetInnerHTML))throw Error(r(61))}if(c.style!=null&&typeof c.style!="object")throw Error(r(62))}}function Ct(s,c){if(s.indexOf("-")===-1)return typeof c.is=="string";switch(s){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 Ae=null;function Ze(s){return s=s.target||s.srcElement||window,s.correspondingUseElement&&(s=s.correspondingUseElement),s.nodeType===3?s.parentNode:s}var ut=null,bt=null,Lt=null;function tr(s){if(s=Td(s)){if(typeof ut!="function")throw Error(r(280));var c=s.stateNode;c&&(c=Tp(c),ut(s.stateNode,s.type,c))}}function pr(s){bt?Lt?Lt.push(s):Lt=[s]:bt=s}function ar(){if(bt){var s=bt,c=Lt;if(Lt=bt=null,tr(s),c)for(s=0;s<c.length;s++)tr(c[s])}}function dr(s,c){return s(c)}function xr(){}var en=!1;function Qn(s,c,v){if(en)return s(c,v);en=!0;try{return dr(s,c,v)}finally{en=!1,(bt!==null||Lt!==null)&&(xr(),ar())}}function wn(s,c){var v=s.stateNode;if(v===null)return null;var b=Tp(v);if(b===null)return null;v=b[c];e:switch(c){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(b=!b.disabled)||(s=s.type,b=!(s==="button"||s==="input"||s==="select"||s==="textarea")),s=!b;break e;default:s=!1}if(s)return null;if(v&&typeof v!="function")throw Error(r(231,c,typeof v));return v}var vn=!1;if(l)try{var dn={};Object.defineProperty(dn,"passive",{get:function(){vn=!0}}),window.addEventListener("test",dn,dn),window.removeEventListener("test",dn,dn)}catch{vn=!1}function jn(s,c,v,b,k,V,he,Oe,Ve){var gt=Array.prototype.slice.call(arguments,3);try{c.apply(v,gt)}catch(jt){this.onError(jt)}}var Un=!1,ui=null,ti=!1,Si=null,xi={onError:function(s){Un=!0,ui=s}};function bn(s,c,v,b,k,V,he,Oe,Ve){Un=!1,ui=null,jn.apply(xi,arguments)}function Gn(s,c,v,b,k,V,he,Oe,Ve){if(bn.apply(this,arguments),Un){if(Un){var gt=ui;Un=!1,ui=null}else throw Error(r(198));ti||(ti=!0,Si=gt)}}function di(s){var c=s,v=s;if(s.alternate)for(;c.return;)c=c.return;else{s=c;do c=s,(c.flags&4098)!==0&&(v=c.return),s=c.return;while(s)}return c.tag===3?v:null}function li(s){if(s.tag===13){var c=s.memoizedState;if(c===null&&(s=s.alternate,s!==null&&(c=s.memoizedState)),c!==null)return c.dehydrated}return null}function it(s){if(di(s)!==s)throw Error(r(188))}function $t(s){var c=s.alternate;if(!c){if(c=di(s),c===null)throw Error(r(188));return c!==s?null:s}for(var v=s,b=c;;){var k=v.return;if(k===null)break;var V=k.alternate;if(V===null){if(b=k.return,b!==null){v=b;continue}break}if(k.child===V.child){for(V=k.child;V;){if(V===v)return it(k),s;if(V===b)return it(k),c;V=V.sibling}throw Error(r(188))}if(v.return!==b.return)v=k,b=V;else{for(var he=!1,Oe=k.child;Oe;){if(Oe===v){he=!0,v=k,b=V;break}if(Oe===b){he=!0,b=k,v=V;break}Oe=Oe.sibling}if(!he){for(Oe=V.child;Oe;){if(Oe===v){he=!0,v=V,b=k;break}if(Oe===b){he=!0,b=V,v=k;break}Oe=Oe.sibling}if(!he)throw Error(r(189))}}if(v.alternate!==b)throw Error(r(190))}if(v.tag!==3)throw Error(r(188));return v.stateNode.current===v?s:c}function vt(s){return s=$t(s),s!==null?Ge(s):null}function Ge(s){if(s.tag===5||s.tag===6)return s;for(s=s.child;s!==null;){var c=Ge(s);if(c!==null)return c;s=s.sibling}return null}var xt=t.unstable_scheduleCallback,fr=t.unstable_cancelCallback,ye=t.unstable_shouldYield,lt=t.unstable_requestPaint,tt=t.unstable_now,ct=t.unstable_getCurrentPriorityLevel,kt=t.unstable_ImmediatePriority,dt=t.unstable_UserBlockingPriority,Gt=t.unstable_NormalPriority,Cr=t.unstable_LowPriority,Wr=t.unstable_IdlePriority,Kr=null,an=null;function Nt(s){if(an&&typeof an.onCommitFiberRoot=="function")try{an.onCommitFiberRoot(Kr,s,void 0,(s.current.flags&128)===128)}catch{}}var Vr=Math.clz32?Math.clz32:zi,Ci=Math.log,Kn=Math.LN2;function zi(s){return s>>>=0,s===0?32:31-(Ci(s)/Kn|0)|0}var wi=64,ra=4194304;function Oa(s){switch(s&-s){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 s&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return s&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return s}}function va(s,c){var v=s.pendingLanes;if(v===0)return 0;var b=0,k=s.suspendedLanes,V=s.pingedLanes,he=v&268435455;if(he!==0){var Oe=he&~k;Oe!==0?b=Oa(Oe):(V&=he,V!==0&&(b=Oa(V)))}else he=v&~k,he!==0?b=Oa(he):V!==0&&(b=Oa(V));if(b===0)return 0;if(c!==0&&c!==b&&(c&k)===0&&(k=b&-b,V=c&-c,k>=V||k===16&&(V&4194240)!==0))return c;if((b&4)!==0&&(b|=v&16),c=s.entangledLanes,c!==0)for(s=s.entanglements,c&=b;0<c;)v=31-Vr(c),k=1<<v,b|=s[v],c&=~k;return b}function $(s,c){switch(s){case 1:case 2:case 4:return c+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 c+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 re(s,c){for(var v=s.suspendedLanes,b=s.pingedLanes,k=s.expirationTimes,V=s.pendingLanes;0<V;){var he=31-Vr(V),Oe=1<<he,Ve=k[he];Ve===-1?((Oe&v)===0||(Oe&b)!==0)&&(k[he]=$(Oe,c)):Ve<=c&&(s.expiredLanes|=Oe),V&=~Oe}}function Ee(s){return s=s.pendingLanes&-1073741825,s!==0?s:s&1073741824?1073741824:0}function Fe(){var s=wi;return wi<<=1,(wi&4194240)===0&&(wi=64),s}function ht(s){for(var c=[],v=0;31>v;v++)c.push(s);return c}function et(s,c,v){s.pendingLanes|=c,c!==536870912&&(s.suspendedLanes=0,s.pingedLanes=0),s=s.eventTimes,c=31-Vr(c),s[c]=v}function Ot(s,c){var v=s.pendingLanes&~c;s.pendingLanes=c,s.suspendedLanes=0,s.pingedLanes=0,s.expiredLanes&=c,s.mutableReadLanes&=c,s.entangledLanes&=c,c=s.entanglements;var b=s.eventTimes;for(s=s.expirationTimes;0<v;){var k=31-Vr(v),V=1<<k;c[k]=0,b[k]=-1,s[k]=-1,v&=~V}}function zt(s,c){var v=s.entangledLanes|=c;for(s=s.entanglements;v;){var b=31-Vr(v),k=1<<b;k&c|s[b]&c&&(s[b]|=c),v&=~k}}var Qt=0;function yr(s){return s&=-s,1<s?4<s?(s&268435455)!==0?16:536870912:4:1}var Tr,Cn,hi,pi,$o,bs=!1,Fo=[],Ia=null,ri=null,ga=null,Pa=new Map,sn=new Map,Wi=[],fo="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 ho(s,c){switch(s){case"focusin":case"focusout":Ia=null;break;case"dragenter":case"dragleave":ri=null;break;case"mouseover":case"mouseout":ga=null;break;case"pointerover":case"pointerout":Pa.delete(c.pointerId);break;case"gotpointercapture":case"lostpointercapture":sn.delete(c.pointerId)}}function Li(s,c,v,b,k,V){return s===null||s.nativeEvent!==V?(s={blockedOn:c,domEventName:v,eventSystemFlags:b,nativeEvent:V,targetContainers:[k]},c!==null&&(c=Td(c),c!==null&&Cn(c)),s):(s.eventSystemFlags|=b,c=s.targetContainers,k!==null&&c.indexOf(k)===-1&&c.push(k),s)}function os(s,c,v,b,k){switch(c){case"focusin":return Ia=Li(Ia,s,c,v,b,k),!0;case"dragenter":return ri=Li(ri,s,c,v,b,k),!0;case"mouseover":return ga=Li(ga,s,c,v,b,k),!0;case"pointerover":var V=k.pointerId;return Pa.set(V,Li(Pa.get(V)||null,s,c,v,b,k)),!0;case"gotpointercapture":return V=k.pointerId,sn.set(V,Li(sn.get(V)||null,s,c,v,b,k)),!0}return!1}function ka(s){var c=El(s.target);if(c!==null){var v=di(c);if(v!==null){if(c=v.tag,c===13){if(c=li(v),c!==null){s.blockedOn=c,$o(s.priority,function(){hi(v)});return}}else if(c===3&&v.stateNode.current.memoizedState.isDehydrated){s.blockedOn=v.tag===3?v.stateNode.containerInfo:null;return}}}s.blockedOn=null}function jo(s){if(s.blockedOn!==null)return!1;for(var c=s.targetContainers;0<c.length;){var v=us(s.domEventName,s.eventSystemFlags,c[0],s.nativeEvent);if(v===null){v=s.nativeEvent;var b=new v.constructor(v.type,v);Ae=b,v.target.dispatchEvent(b),Ae=null}else return c=Td(v),c!==null&&Cn(c),s.blockedOn=v,!1;c.shift()}return!0}function ss(s,c,v){jo(s)&&v.delete(c)}function Ws(){bs=!1,Ia!==null&&jo(Ia)&&(Ia=null),ri!==null&&jo(ri)&&(ri=null),ga!==null&&jo(ga)&&(ga=null),Pa.forEach(ss),sn.forEach(ss)}function Da(s,c){s.blockedOn===c&&(s.blockedOn=null,bs||(bs=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Ws)))}function Ha(s){function c(k){return Da(k,s)}if(0<Fo.length){Da(Fo[0],s);for(var v=1;v<Fo.length;v++){var b=Fo[v];b.blockedOn===s&&(b.blockedOn=null)}}for(Ia!==null&&Da(Ia,s),ri!==null&&Da(ri,s),ga!==null&&Da(ga,s),Pa.forEach(c),sn.forEach(c),v=0;v<Wi.length;v++)b=Wi[v],b.blockedOn===s&&(b.blockedOn=null);for(;0<Wi.length&&(v=Wi[0],v.blockedOn===null);)ka(v),v.blockedOn===null&&Wi.shift()}var bi=x.ReactCurrentBatchConfig,Gi=!0;function Gs(s,c,v,b){var k=Qt,V=bi.transition;bi.transition=null;try{Qt=1,vo(s,c,v,b)}finally{Qt=k,bi.transition=V}}function po(s,c,v,b){var k=Qt,V=bi.transition;bi.transition=null;try{Qt=4,vo(s,c,v,b)}finally{Qt=k,bi.transition=V}}function vo(s,c,v,b){if(Gi){var k=us(s,c,v,b);if(k===null)by(s,c,b,Ki,v),ho(s,b);else if(os(k,s,c,v,b))b.stopPropagation();else if(ho(s,b),c&4&&-1<fo.indexOf(s)){for(;k!==null;){var V=Td(k);if(V!==null&&Tr(V),V=us(s,c,v,b),V===null&&by(s,c,b,Ki,v),V===k)break;k=V}k!==null&&b.stopPropagation()}else by(s,c,b,null,v)}}var Ki=null;function us(s,c,v,b){if(Ki=null,s=Ze(b),s=El(s),s!==null)if(c=di(s),c===null)s=null;else if(v=c.tag,v===13){if(s=li(c),s!==null)return s;s=null}else if(v===3){if(c.stateNode.current.memoizedState.isDehydrated)return c.tag===3?c.stateNode.containerInfo:null;s=null}else c!==s&&(s=null);return Ki=s,null}function Ks(s){switch(s){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(ct()){case kt:return 1;case dt:return 4;case Gt:case Cr:return 16;case Wr:return 536870912;default:return 16}default:return 16}}var vi=null,Yi=null,za=null;function go(){if(za)return za;var s,c=Yi,v=c.length,b,k="value"in vi?vi.value:vi.textContent,V=k.length;for(s=0;s<v&&c[s]===k[s];s++);var he=v-s;for(b=1;b<=he&&c[v-b]===k[V-b];b++);return za=k.slice(s,1<b?1-b:void 0)}function Wa(s){var c=s.keyCode;return"charCode"in s?(s=s.charCode,s===0&&c===13&&(s=13)):s=c,s===10&&(s=13),32<=s||s===13?s:0}function Ga(){return!0}function g(){return!1}function A(s){function c(v,b,k,V,he){this._reactName=v,this._targetInst=k,this.type=b,this.nativeEvent=V,this.target=he,this.currentTarget=null;for(var Oe in s)s.hasOwnProperty(Oe)&&(v=s[Oe],this[Oe]=v?v(V):V[Oe]);return this.isDefaultPrevented=(V.defaultPrevented!=null?V.defaultPrevented:V.returnValue===!1)?Ga:g,this.isPropagationStopped=g,this}return z(c.prototype,{preventDefault:function(){this.defaultPrevented=!0;var v=this.nativeEvent;v&&(v.preventDefault?v.preventDefault():typeof v.returnValue!="unknown"&&(v.returnValue=!1),this.isDefaultPrevented=Ga)},stopPropagation:function(){var v=this.nativeEvent;v&&(v.stopPropagation?v.stopPropagation():typeof v.cancelBubble!="unknown"&&(v.cancelBubble=!0),this.isPropagationStopped=Ga)},persist:function(){},isPersistent:Ga}),c}var P={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(s){return s.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},j=A(P),ee=z({},P,{view:0,detail:0}),ne=A(ee),oe,$e,Ie,ze=z({},ee,{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(s){return s.relatedTarget===void 0?s.fromElement===s.srcElement?s.toElement:s.fromElement:s.relatedTarget},movementX:function(s){return"movementX"in s?s.movementX:(s!==Ie&&(Ie&&s.type==="mousemove"?(oe=s.screenX-Ie.screenX,$e=s.screenY-Ie.screenY):$e=oe=0,Ie=s),oe)},movementY:function(s){return"movementY"in s?s.movementY:$e}}),St=A(ze),Rt=z({},ze,{dataTransfer:0}),ot=A(Rt),qt=z({},ee,{relatedTarget:0}),Er=A(qt),Yr=z({},P,{animationName:0,elapsedTime:0,pseudoElement:0}),Nr=A(Yr),qn=z({},P,{clipboardData:function(s){return"clipboardData"in s?s.clipboardData:window.clipboardData}}),Jn=A(qn),F=z({},P,{data:0}),te=A(F),le={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Le={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"},Ye={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Qe(s){var c=this.nativeEvent;return c.getModifierState?c.getModifierState(s):(s=Ye[s])?!!c[s]:!1}function It(){return Qe}var Wt=z({},ee,{key:function(s){if(s.key){var c=le[s.key]||s.key;if(c!=="Unidentified")return c}return s.type==="keypress"?(s=Wa(s),s===13?"Enter":String.fromCharCode(s)):s.type==="keydown"||s.type==="keyup"?Le[s.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:It,charCode:function(s){return s.type==="keypress"?Wa(s):0},keyCode:function(s){return s.type==="keydown"||s.type==="keyup"?s.keyCode:0},which:function(s){return s.type==="keypress"?Wa(s):s.type==="keydown"||s.type==="keyup"?s.keyCode:0}}),hr=A(Wt),$r=z({},ze,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Sr=A($r),Tn=z({},ee,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:It}),Yn=A(Tn),On=z({},P,{propertyName:0,elapsedTime:0,pseudoElement:0}),yl=A(On),La=z({},ze,{deltaX:function(s){return"deltaX"in s?s.deltaX:"wheelDeltaX"in s?-s.wheelDeltaX:0},deltaY:function(s){return"deltaY"in s?s.deltaY:"wheelDeltaY"in s?-s.wheelDeltaY:"wheelDelta"in s?-s.wheelDelta:0},deltaZ:0,deltaMode:0}),X=A(La),se=[9,13,27,32],xe=l&&"CompositionEvent"in window,Ne=null;l&&"documentMode"in document&&(Ne=document.documentMode);var Ue=l&&"TextEvent"in window&&!Ne,We=l&&(!xe||Ne&&8<Ne&&11>=Ne),Tt=" ",Yt=!1;function Fr(s,c){switch(s){case"keyup":return se.indexOf(c.keyCode)!==-1;case"keydown":return c.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Pr(s){return s=s.detail,typeof s=="object"&&"data"in s?s.data:null}var Bn=!1;function ni(s,c){switch(s){case"compositionend":return Pr(c);case"keypress":return c.which!==32?null:(Yt=!0,Tt);case"textInput":return s=c.data,s===Tt&&Yt?null:s;default:return null}}function Cu(s,c){if(Bn)return s==="compositionend"||!xe&&Fr(s,c)?(s=go(),za=Yi=vi=null,Bn=!1,s):null;switch(s){case"paste":return null;case"keypress":if(!(c.ctrlKey||c.altKey||c.metaKey)||c.ctrlKey&&c.altKey){if(c.char&&1<c.char.length)return c.char;if(c.which)return String.fromCharCode(c.which)}return null;case"compositionend":return We&&c.locale!=="ko"?null:c.data;default:return null}}var mo={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 gd(s){var c=s&&s.nodeName&&s.nodeName.toLowerCase();return c==="input"?!!mo[s.type]:c==="textarea"}function Ou(s,c,v,b){pr(b),c=Sp(c,"onChange"),0<c.length&&(v=new j("onChange","change",null,v,b),s.push({event:v,listeners:c}))}var Ts=null,As=null;function md(s){wP(s,0)}function $c(s){var c=Hc(s);if(L(c))return s}function Fc(s,c){if(s==="change")return c}var jc=!1;if(l){var _l;if(l){var yd="oninput"in document;if(!yd){var Uc=document.createElement("div");Uc.setAttribute("oninput","return;"),yd=typeof Uc.oninput=="function"}_l=yd}else _l=!1;jc=_l&&(!document.documentMode||9<document.documentMode)}function _d(){Ts&&(Ts.detachEvent("onpropertychange",Re),As=Ts=null)}function Re(s){if(s.propertyName==="value"&&$c(As)){var c=[];Ou(c,As,s,Ze(s)),Qn(md,c)}}function He(s,c,v){s==="focusin"?(_d(),Ts=c,As=v,Ts.attachEvent("onpropertychange",Re)):s==="focusout"&&_d()}function st(s){if(s==="selectionchange"||s==="keyup"||s==="keydown")return $c(As)}function yt(s,c){if(s==="click")return $c(c)}function Pt(s,c){if(s==="input"||s==="change")return $c(c)}function Jt(s,c){return s===c&&(s!==0||1/s===1/c)||s!==s&&c!==c}var er=typeof Object.is=="function"?Object.is:Jt;function sr(s,c){if(er(s,c))return!0;if(typeof s!="object"||s===null||typeof c!="object"||c===null)return!1;var v=Object.keys(s),b=Object.keys(c);if(v.length!==b.length)return!1;for(b=0;b<v.length;b++){var k=v[b];if(!u.call(c,k)||!er(s[k],c[k]))return!1}return!0}function ir(s){for(;s&&s.firstChild;)s=s.firstChild;return s}function Zr(s,c){var v=ir(s);s=0;for(var b;v;){if(v.nodeType===3){if(b=s+v.textContent.length,s<=c&&b>=c)return{node:v,offset:c-s};s=b}e:{for(;v;){if(v.nextSibling){v=v.nextSibling;break e}v=v.parentNode}v=void 0}v=ir(v)}}function kr(s,c){return s&&c?s===c?!0:s&&s.nodeType===3?!1:c&&c.nodeType===3?kr(s,c.parentNode):"contains"in s?s.contains(c):s.compareDocumentPosition?!!(s.compareDocumentPosition(c)&16):!1:!1}function jr(){for(var s=window,c=G();c instanceof s.HTMLIFrameElement;){try{var v=typeof c.contentWindow.location.href=="string"}catch{v=!1}if(v)s=c.contentWindow;else break;c=G(s.document)}return c}function Qr(s){var c=s&&s.nodeName&&s.nodeName.toLowerCase();return c&&(c==="input"&&(s.type==="text"||s.type==="search"||s.type==="tel"||s.type==="url"||s.type==="password")||c==="textarea"||s.contentEditable==="true")}function br(s){var c=jr(),v=s.focusedElem,b=s.selectionRange;if(c!==v&&v&&v.ownerDocument&&kr(v.ownerDocument.documentElement,v)){if(b!==null&&Qr(v)){if(c=b.start,s=b.end,s===void 0&&(s=c),"selectionStart"in v)v.selectionStart=c,v.selectionEnd=Math.min(s,v.value.length);else if(s=(c=v.ownerDocument||document)&&c.defaultView||window,s.getSelection){s=s.getSelection();var k=v.textContent.length,V=Math.min(b.start,k);b=b.end===void 0?V:Math.min(b.end,k),!s.extend&&V>b&&(k=b,b=V,V=k),k=Zr(v,V);var he=Zr(v,b);k&&he&&(s.rangeCount!==1||s.anchorNode!==k.node||s.anchorOffset!==k.offset||s.focusNode!==he.node||s.focusOffset!==he.offset)&&(c=c.createRange(),c.setStart(k.node,k.offset),s.removeAllRanges(),V>b?(s.addRange(c),s.extend(he.node,he.offset)):(c.setEnd(he.node,he.offset),s.addRange(c)))}}for(c=[],s=v;s=s.parentNode;)s.nodeType===1&&c.push({element:s,left:s.scrollLeft,top:s.scrollTop});for(typeof v.focus=="function"&&v.focus(),v=0;v<c.length;v++)s=c[v],s.element.scrollLeft=s.left,s.element.scrollTop=s.top}}var Vn=l&&"documentMode"in document&&11>=document.documentMode,Oi=null,Ni=null,Xi=null,Ka=!1;function Ys(s,c,v){var b=v.window===v?v.document:v.nodeType===9?v:v.ownerDocument;Ka||Oi==null||Oi!==G(b)||(b=Oi,"selectionStart"in b&&Qr(b)?b={start:b.selectionStart,end:b.selectionEnd}:(b=(b.ownerDocument&&b.ownerDocument.defaultView||window).getSelection(),b={anchorNode:b.anchorNode,anchorOffset:b.anchorOffset,focusNode:b.focusNode,focusOffset:b.focusOffset}),Xi&&sr(Xi,b)||(Xi=b,b=Sp(Ni,"onSelect"),0<b.length&&(c=new j("onSelect","select",null,c,v),s.push({event:c,listeners:b}),c.target=Oi)))}function Mi(s,c){var v={};return v[s.toLowerCase()]=c.toLowerCase(),v["Webkit"+s]="webkit"+c,v["Moz"+s]="moz"+c,v}var qc={animationend:Mi("Animation","AnimationEnd"),animationiteration:Mi("Animation","AnimationIteration"),animationstart:Mi("Animation","AnimationStart"),transitionend:Mi("Transition","TransitionEnd")},_y={},pP={};l&&(pP=document.createElement("div").style,"AnimationEvent"in window||(delete qc.animationend.animation,delete qc.animationiteration.animation,delete qc.animationstart.animation),"TransitionEvent"in window||delete qc.transitionend.transition);function _p(s){if(_y[s])return _y[s];if(!qc[s])return s;var c=qc[s],v;for(v in c)if(c.hasOwnProperty(v)&&v in pP)return _y[s]=c[v];return s}var vP=_p("animationend"),gP=_p("animationiteration"),mP=_p("animationstart"),yP=_p("transitionend"),_P=new Map,EP="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 Iu(s,c){_P.set(s,c),a(c,[s])}for(var Ey=0;Ey<EP.length;Ey++){var Sy=EP[Ey],Hne=Sy.toLowerCase(),zne=Sy[0].toUpperCase()+Sy.slice(1);Iu(Hne,"on"+zne)}Iu(vP,"onAnimationEnd"),Iu(gP,"onAnimationIteration"),Iu(mP,"onAnimationStart"),Iu("dblclick","onDoubleClick"),Iu("focusin","onFocus"),Iu("focusout","onBlur"),Iu(yP,"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 Ed="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(" "),Wne=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ed));function SP(s,c,v){var b=s.type||"unknown-event";s.currentTarget=v,Gn(b,c,void 0,s),s.currentTarget=null}function wP(s,c){c=(c&4)!==0;for(var v=0;v<s.length;v++){var b=s[v],k=b.event;b=b.listeners;e:{var V=void 0;if(c)for(var he=b.length-1;0<=he;he--){var Oe=b[he],Ve=Oe.instance,gt=Oe.currentTarget;if(Oe=Oe.listener,Ve!==V&&k.isPropagationStopped())break e;SP(k,Oe,gt),V=Ve}else for(he=0;he<b.length;he++){if(Oe=b[he],Ve=Oe.instance,gt=Oe.currentTarget,Oe=Oe.listener,Ve!==V&&k.isPropagationStopped())break e;SP(k,Oe,gt),V=Ve}}}if(ti)throw s=Si,ti=!1,Si=null,s}function ii(s,c){var v=c[Oy];v===void 0&&(v=c[Oy]=new Set);var b=s+"__bubble";v.has(b)||(bP(c,s,2,!1),v.add(b))}function wy(s,c,v){var b=0;c&&(b|=4),bP(v,s,b,c)}var Ep="_reactListening"+Math.random().toString(36).slice(2);function Sd(s){if(!s[Ep]){s[Ep]=!0,n.forEach(function(v){v!=="selectionchange"&&(Wne.has(v)||wy(v,!1,s),wy(v,!0,s))});var c=s.nodeType===9?s:s.ownerDocument;c===null||c[Ep]||(c[Ep]=!0,wy("selectionchange",!1,c))}}function bP(s,c,v,b){switch(Ks(c)){case 1:var k=Gs;break;case 4:k=po;break;default:k=vo}v=k.bind(null,c,v,s),k=void 0,!vn||c!=="touchstart"&&c!=="touchmove"&&c!=="wheel"||(k=!0),b?k!==void 0?s.addEventListener(c,v,{capture:!0,passive:k}):s.addEventListener(c,v,!0):k!==void 0?s.addEventListener(c,v,{passive:k}):s.addEventListener(c,v,!1)}function by(s,c,v,b,k){var V=b;if((c&1)===0&&(c&2)===0&&b!==null)e:for(;;){if(b===null)return;var he=b.tag;if(he===3||he===4){var Oe=b.stateNode.containerInfo;if(Oe===k||Oe.nodeType===8&&Oe.parentNode===k)break;if(he===4)for(he=b.return;he!==null;){var Ve=he.tag;if((Ve===3||Ve===4)&&(Ve=he.stateNode.containerInfo,Ve===k||Ve.nodeType===8&&Ve.parentNode===k))return;he=he.return}for(;Oe!==null;){if(he=El(Oe),he===null)return;if(Ve=he.tag,Ve===5||Ve===6){b=V=he;continue e}Oe=Oe.parentNode}}b=b.return}Qn(function(){var gt=V,jt=Ze(v),nr=[];e:{var Dt=_P.get(s);if(Dt!==void 0){var or=j,rr=s;switch(s){case"keypress":if(Wa(v)===0)break e;case"keydown":case"keyup":or=hr;break;case"focusin":rr="focus",or=Er;break;case"focusout":rr="blur",or=Er;break;case"beforeblur":case"afterblur":or=Er;break;case"click":if(v.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":or=St;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":or=ot;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":or=Yn;break;case vP:case gP:case mP:or=Nr;break;case yP:or=yl;break;case"scroll":or=ne;break;case"wheel":or=X;break;case"copy":case"cut":case"paste":or=Jn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":or=Sr}var zr=(c&4)!==0,Ii=!zr&&s==="scroll",at=zr?Dt!==null?Dt+"Capture":null:Dt;zr=[];for(var Ke=gt,pt;Ke!==null;){pt=Ke;var Xt=pt.stateNode;if(pt.tag===5&&Xt!==null&&(pt=Xt,at!==null&&(Xt=wn(Ke,at),Xt!=null&&zr.push(wd(Ke,Xt,pt)))),Ii)break;Ke=Ke.return}0<zr.length&&(Dt=new or(Dt,rr,null,v,jt),nr.push({event:Dt,listeners:zr}))}}if((c&7)===0){e:{if(Dt=s==="mouseover"||s==="pointerover",or=s==="mouseout"||s==="pointerout",Dt&&v!==Ae&&(rr=v.relatedTarget||v.fromElement)&&(El(rr)||rr[Qs]))break e;if((or||Dt)&&(Dt=jt.window===jt?jt:(Dt=jt.ownerDocument)?Dt.defaultView||Dt.parentWindow:window,or?(rr=v.relatedTarget||v.toElement,or=gt,rr=rr?El(rr):null,rr!==null&&(Ii=di(rr),rr!==Ii||rr.tag!==5&&rr.tag!==6)&&(rr=null)):(or=null,rr=gt),or!==rr)){if(zr=St,Xt="onMouseLeave",at="onMouseEnter",Ke="mouse",(s==="pointerout"||s==="pointerover")&&(zr=Sr,Xt="onPointerLeave",at="onPointerEnter",Ke="pointer"),Ii=or==null?Dt:Hc(or),pt=rr==null?Dt:Hc(rr),Dt=new zr(Xt,Ke+"leave",or,v,jt),Dt.target=Ii,Dt.relatedTarget=pt,Xt=null,El(jt)===gt&&(zr=new zr(at,Ke+"enter",rr,v,jt),zr.target=pt,zr.relatedTarget=Ii,Xt=zr),Ii=Xt,or&&rr)t:{for(zr=or,at=rr,Ke=0,pt=zr;pt;pt=Bc(pt))Ke++;for(pt=0,Xt=at;Xt;Xt=Bc(Xt))pt++;for(;0<Ke-pt;)zr=Bc(zr),Ke--;for(;0<pt-Ke;)at=Bc(at),pt--;for(;Ke--;){if(zr===at||at!==null&&zr===at.alternate)break t;zr=Bc(zr),at=Bc(at)}zr=null}else zr=null;or!==null&&TP(nr,Dt,or,zr,!1),rr!==null&&Ii!==null&&TP(nr,Ii,rr,zr,!0)}}e:{if(Dt=gt?Hc(gt):window,or=Dt.nodeName&&Dt.nodeName.toLowerCase(),or==="select"||or==="input"&&Dt.type==="file")var cr=Fc;else if(gd(Dt))if(jc)cr=Pt;else{cr=st;var Or=He}else(or=Dt.nodeName)&&or.toLowerCase()==="input"&&(Dt.type==="checkbox"||Dt.type==="radio")&&(cr=yt);if(cr&&(cr=cr(s,gt))){Ou(nr,cr,v,jt);break e}Or&&Or(s,Dt,gt),s==="focusout"&&(Or=Dt._wrapperState)&&Or.controlled&&Dt.type==="number"&&Me(Dt,"number",Dt.value)}switch(Or=gt?Hc(gt):window,s){case"focusin":(gd(Or)||Or.contentEditable==="true")&&(Oi=Or,Ni=gt,Xi=null);break;case"focusout":Xi=Ni=Oi=null;break;case"mousedown":Ka=!0;break;case"contextmenu":case"mouseup":case"dragend":Ka=!1,Ys(nr,v,jt);break;case"selectionchange":if(Vn)break;case"keydown":case"keyup":Ys(nr,v,jt)}var Ir;if(xe)e:{switch(s){case"compositionstart":var Ur="onCompositionStart";break e;case"compositionend":Ur="onCompositionEnd";break e;case"compositionupdate":Ur="onCompositionUpdate";break e}Ur=void 0}else Bn?Fr(s,v)&&(Ur="onCompositionEnd"):s==="keydown"&&v.keyCode===229&&(Ur="onCompositionStart");Ur&&(We&&v.locale!=="ko"&&(Bn||Ur!=="onCompositionStart"?Ur==="onCompositionEnd"&&Bn&&(Ir=go()):(vi=jt,Yi="value"in vi?vi.value:vi.textContent,Bn=!0)),Or=Sp(gt,Ur),0<Or.length&&(Ur=new te(Ur,s,null,v,jt),nr.push({event:Ur,listeners:Or}),Ir?Ur.data=Ir:(Ir=Pr(v),Ir!==null&&(Ur.data=Ir)))),(Ir=Ue?ni(s,v):Cu(s,v))&&(gt=Sp(gt,"onBeforeInput"),0<gt.length&&(jt=new te("onBeforeInput","beforeinput",null,v,jt),nr.push({event:jt,listeners:gt}),jt.data=Ir))}wP(nr,c)})}function wd(s,c,v){return{instance:s,listener:c,currentTarget:v}}function Sp(s,c){for(var v=c+"Capture",b=[];s!==null;){var k=s,V=k.stateNode;k.tag===5&&V!==null&&(k=V,V=wn(s,v),V!=null&&b.unshift(wd(s,V,k)),V=wn(s,c),V!=null&&b.push(wd(s,V,k))),s=s.return}return b}function Bc(s){if(s===null)return null;do s=s.return;while(s&&s.tag!==5);return s||null}function TP(s,c,v,b,k){for(var V=c._reactName,he=[];v!==null&&v!==b;){var Oe=v,Ve=Oe.alternate,gt=Oe.stateNode;if(Ve!==null&&Ve===b)break;Oe.tag===5&&gt!==null&&(Oe=gt,k?(Ve=wn(v,V),Ve!=null&&he.unshift(wd(v,Ve,Oe))):k||(Ve=wn(v,V),Ve!=null&&he.push(wd(v,Ve,Oe)))),v=v.return}he.length!==0&&s.push({event:c,listeners:he})}var Gne=/\r\n?/g,Kne=/\u0000|\uFFFD/g;function AP(s){return(typeof s=="string"?s:""+s).replace(Gne,`
101
+ `).replace(Kne,"")}function wp(s,c,v){if(c=AP(c),AP(s)!==c&&v)throw Error(r(425))}function bp(){}var Ty=null,Ay=null;function Ry(s,c){return s==="textarea"||s==="noscript"||typeof c.children=="string"||typeof c.children=="number"||typeof c.dangerouslySetInnerHTML=="object"&&c.dangerouslySetInnerHTML!==null&&c.dangerouslySetInnerHTML.__html!=null}var xy=typeof setTimeout=="function"?setTimeout:void 0,Yne=typeof clearTimeout=="function"?clearTimeout:void 0,RP=typeof Promise=="function"?Promise:void 0,Xne=typeof queueMicrotask=="function"?queueMicrotask:typeof RP<"u"?function(s){return RP.resolve(null).then(s).catch(Qne)}:xy;function Qne(s){setTimeout(function(){throw s})}function Cy(s,c){var v=c,b=0;do{var k=v.nextSibling;if(s.removeChild(v),k&&k.nodeType===8)if(v=k.data,v==="/$"){if(b===0){s.removeChild(k),Ha(c);return}b--}else v!=="$"&&v!=="$?"&&v!=="$!"||b++;v=k}while(v);Ha(c)}function Xs(s){for(;s!=null;s=s.nextSibling){var c=s.nodeType;if(c===1||c===3)break;if(c===8){if(c=s.data,c==="$"||c==="$!"||c==="$?")break;if(c==="/$")return null}}return s}function xP(s){s=s.previousSibling;for(var c=0;s;){if(s.nodeType===8){var v=s.data;if(v==="$"||v==="$!"||v==="$?"){if(c===0)return s;c--}else v==="/$"&&c++}s=s.previousSibling}return null}var Vc=Math.random().toString(36).slice(2),Rs="__reactFiber$"+Vc,bd="__reactProps$"+Vc,Qs="__reactContainer$"+Vc,Oy="__reactEvents$"+Vc,Jne="__reactListeners$"+Vc,Zne="__reactHandles$"+Vc;function El(s){var c=s[Rs];if(c)return c;for(var v=s.parentNode;v;){if(c=v[Qs]||v[Rs]){if(v=c.alternate,c.child!==null||v!==null&&v.child!==null)for(s=xP(s);s!==null;){if(v=s[Rs])return v;s=xP(s)}return c}s=v,v=s.parentNode}return null}function Td(s){return s=s[Rs]||s[Qs],!s||s.tag!==5&&s.tag!==6&&s.tag!==13&&s.tag!==3?null:s}function Hc(s){if(s.tag===5||s.tag===6)return s.stateNode;throw Error(r(33))}function Tp(s){return s[bd]||null}var Iy=[],zc=-1;function Pu(s){return{current:s}}function ai(s){0>zc||(s.current=Iy[zc],Iy[zc]=null,zc--)}function Zn(s,c){zc++,Iy[zc]=s.current,s.current=c}var ku={},ma=Pu(ku),Ya=Pu(!1),Sl=ku;function Wc(s,c){var v=s.type.contextTypes;if(!v)return ku;var b=s.stateNode;if(b&&b.__reactInternalMemoizedUnmaskedChildContext===c)return b.__reactInternalMemoizedMaskedChildContext;var k={},V;for(V in v)k[V]=c[V];return b&&(s=s.stateNode,s.__reactInternalMemoizedUnmaskedChildContext=c,s.__reactInternalMemoizedMaskedChildContext=k),k}function Xa(s){return s=s.childContextTypes,s!=null}function Ap(){ai(Ya),ai(ma)}function CP(s,c,v){if(ma.current!==ku)throw Error(r(168));Zn(ma,c),Zn(Ya,v)}function OP(s,c,v){var b=s.stateNode;if(c=c.childContextTypes,typeof b.getChildContext!="function")return v;b=b.getChildContext();for(var k in b)if(!(k in c))throw Error(r(108,q(s)||"Unknown",k));return z({},v,b)}function Rp(s){return s=(s=s.stateNode)&&s.__reactInternalMemoizedMergedChildContext||ku,Sl=ma.current,Zn(ma,s),Zn(Ya,Ya.current),!0}function IP(s,c,v){var b=s.stateNode;if(!b)throw Error(r(169));v?(s=OP(s,c,Sl),b.__reactInternalMemoizedMergedChildContext=s,ai(Ya),ai(ma),Zn(ma,s)):ai(Ya),Zn(Ya,v)}var Js=null,xp=!1,Py=!1;function PP(s){Js===null?Js=[s]:Js.push(s)}function eie(s){xp=!0,PP(s)}function Du(){if(!Py&&Js!==null){Py=!0;var s=0,c=Qt;try{var v=Js;for(Qt=1;s<v.length;s++){var b=v[s];do b=b(!0);while(b!==null)}Js=null,xp=!1}catch(k){throw Js!==null&&(Js=Js.slice(s+1)),xt(kt,Du),k}finally{Qt=c,Py=!1}}return null}var tie=x.ReactCurrentBatchConfig;function ls(s,c){if(s&&s.defaultProps){c=z({},c),s=s.defaultProps;for(var v in s)c[v]===void 0&&(c[v]=s[v]);return c}return c}var Cp=Pu(null),Op=null,Gc=null,ky=null;function Dy(){ky=Gc=Op=null}function Ly(s){var c=Cp.current;ai(Cp),s._currentValue=c}function Ny(s,c,v){for(;s!==null;){var b=s.alternate;if((s.childLanes&c)!==c?(s.childLanes|=c,b!==null&&(b.childLanes|=c)):b!==null&&(b.childLanes&c)!==c&&(b.childLanes|=c),s===v)break;s=s.return}}function Kc(s,c){Op=s,ky=Gc=null,s=s.dependencies,s!==null&&s.firstContext!==null&&((s.lanes&c)!==0&&(Ja=!0),s.firstContext=null)}function Uo(s){var c=s._currentValue;if(ky!==s)if(s={context:s,memoizedValue:c,next:null},Gc===null){if(Op===null)throw Error(r(308));Gc=s,Op.dependencies={lanes:0,firstContext:s}}else Gc=Gc.next=s;return c}var cs=null,Lu=!1;function My(s){s.updateQueue={baseState:s.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function kP(s,c){s=s.updateQueue,c.updateQueue===s&&(c.updateQueue={baseState:s.baseState,firstBaseUpdate:s.firstBaseUpdate,lastBaseUpdate:s.lastBaseUpdate,shared:s.shared,effects:s.effects})}function Zs(s,c){return{eventTime:s,lane:c,tag:0,payload:null,callback:null,next:null}}function Nu(s,c){var v=s.updateQueue;v!==null&&(v=v.shared,Gk(s)?(s=v.interleaved,s===null?(c.next=c,cs===null?cs=[v]:cs.push(v)):(c.next=s.next,s.next=c),v.interleaved=c):(s=v.pending,s===null?c.next=c:(c.next=s.next,s.next=c),v.pending=c))}function Ip(s,c,v){if(c=c.updateQueue,c!==null&&(c=c.shared,(v&4194240)!==0)){var b=c.lanes;b&=s.pendingLanes,v|=b,c.lanes=v,zt(s,v)}}function DP(s,c){var v=s.updateQueue,b=s.alternate;if(b!==null&&(b=b.updateQueue,v===b)){var k=null,V=null;if(v=v.firstBaseUpdate,v!==null){do{var he={eventTime:v.eventTime,lane:v.lane,tag:v.tag,payload:v.payload,callback:v.callback,next:null};V===null?k=V=he:V=V.next=he,v=v.next}while(v!==null);V===null?k=V=c:V=V.next=c}else k=V=c;v={baseState:b.baseState,firstBaseUpdate:k,lastBaseUpdate:V,shared:b.shared,effects:b.effects},s.updateQueue=v;return}s=v.lastBaseUpdate,s===null?v.firstBaseUpdate=c:s.next=c,v.lastBaseUpdate=c}function Pp(s,c,v,b){var k=s.updateQueue;Lu=!1;var V=k.firstBaseUpdate,he=k.lastBaseUpdate,Oe=k.shared.pending;if(Oe!==null){k.shared.pending=null;var Ve=Oe,gt=Ve.next;Ve.next=null,he===null?V=gt:he.next=gt,he=Ve;var jt=s.alternate;jt!==null&&(jt=jt.updateQueue,Oe=jt.lastBaseUpdate,Oe!==he&&(Oe===null?jt.firstBaseUpdate=gt:Oe.next=gt,jt.lastBaseUpdate=Ve))}if(V!==null){var nr=k.baseState;he=0,jt=gt=Ve=null,Oe=V;do{var Dt=Oe.lane,or=Oe.eventTime;if((b&Dt)===Dt){jt!==null&&(jt=jt.next={eventTime:or,lane:0,tag:Oe.tag,payload:Oe.payload,callback:Oe.callback,next:null});e:{var rr=s,zr=Oe;switch(Dt=c,or=v,zr.tag){case 1:if(rr=zr.payload,typeof rr=="function"){nr=rr.call(or,nr,Dt);break e}nr=rr;break e;case 3:rr.flags=rr.flags&-65537|128;case 0:if(rr=zr.payload,Dt=typeof rr=="function"?rr.call(or,nr,Dt):rr,Dt==null)break e;nr=z({},nr,Dt);break e;case 2:Lu=!0}}Oe.callback!==null&&Oe.lane!==0&&(s.flags|=64,Dt=k.effects,Dt===null?k.effects=[Oe]:Dt.push(Oe))}else or={eventTime:or,lane:Dt,tag:Oe.tag,payload:Oe.payload,callback:Oe.callback,next:null},jt===null?(gt=jt=or,Ve=nr):jt=jt.next=or,he|=Dt;if(Oe=Oe.next,Oe===null){if(Oe=k.shared.pending,Oe===null)break;Dt=Oe,Oe=Dt.next,Dt.next=null,k.lastBaseUpdate=Dt,k.shared.pending=null}}while(!0);if(jt===null&&(Ve=nr),k.baseState=Ve,k.firstBaseUpdate=gt,k.lastBaseUpdate=jt,c=k.shared.interleaved,c!==null){k=c;do he|=k.lane,k=k.next;while(k!==c)}else V===null&&(k.shared.lanes=0);Rl|=he,s.lanes=he,s.memoizedState=nr}}function LP(s,c,v){if(s=c.effects,c.effects=null,s!==null)for(c=0;c<s.length;c++){var b=s[c],k=b.callback;if(k!==null){if(b.callback=null,b=v,typeof k!="function")throw Error(r(191,k));k.call(b)}}}var NP=new e.Component().refs;function $y(s,c,v,b){c=s.memoizedState,v=v(b,c),v=v==null?c:z({},c,v),s.memoizedState=v,s.lanes===0&&(s.updateQueue.baseState=v)}var kp={isMounted:function(s){return(s=s._reactInternals)?di(s)===s:!1},enqueueSetState:function(s,c,v){s=s._reactInternals;var b=Ma(),k=ju(s),V=Zs(b,k);V.payload=c,v!=null&&(V.callback=v),Nu(s,V),c=zo(s,k,b),c!==null&&Ip(c,s,k)},enqueueReplaceState:function(s,c,v){s=s._reactInternals;var b=Ma(),k=ju(s),V=Zs(b,k);V.tag=1,V.payload=c,v!=null&&(V.callback=v),Nu(s,V),c=zo(s,k,b),c!==null&&Ip(c,s,k)},enqueueForceUpdate:function(s,c){s=s._reactInternals;var v=Ma(),b=ju(s),k=Zs(v,b);k.tag=2,c!=null&&(k.callback=c),Nu(s,k),c=zo(s,b,v),c!==null&&Ip(c,s,b)}};function MP(s,c,v,b,k,V,he){return s=s.stateNode,typeof s.shouldComponentUpdate=="function"?s.shouldComponentUpdate(b,V,he):c.prototype&&c.prototype.isPureReactComponent?!sr(v,b)||!sr(k,V):!0}function $P(s,c,v){var b=!1,k=ku,V=c.contextType;return typeof V=="object"&&V!==null?V=Uo(V):(k=Xa(c)?Sl:ma.current,b=c.contextTypes,V=(b=b!=null)?Wc(s,k):ku),c=new c(v,V),s.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=kp,s.stateNode=c,c._reactInternals=s,b&&(s=s.stateNode,s.__reactInternalMemoizedUnmaskedChildContext=k,s.__reactInternalMemoizedMaskedChildContext=V),c}function FP(s,c,v,b){s=c.state,typeof c.componentWillReceiveProps=="function"&&c.componentWillReceiveProps(v,b),typeof c.UNSAFE_componentWillReceiveProps=="function"&&c.UNSAFE_componentWillReceiveProps(v,b),c.state!==s&&kp.enqueueReplaceState(c,c.state,null)}function Fy(s,c,v,b){var k=s.stateNode;k.props=v,k.state=s.memoizedState,k.refs=NP,My(s);var V=c.contextType;typeof V=="object"&&V!==null?k.context=Uo(V):(V=Xa(c)?Sl:ma.current,k.context=Wc(s,V)),k.state=s.memoizedState,V=c.getDerivedStateFromProps,typeof V=="function"&&($y(s,c,V,v),k.state=s.memoizedState),typeof c.getDerivedStateFromProps=="function"||typeof k.getSnapshotBeforeUpdate=="function"||typeof k.UNSAFE_componentWillMount!="function"&&typeof k.componentWillMount!="function"||(c=k.state,typeof k.componentWillMount=="function"&&k.componentWillMount(),typeof k.UNSAFE_componentWillMount=="function"&&k.UNSAFE_componentWillMount(),c!==k.state&&kp.enqueueReplaceState(k,k.state,null),Pp(s,v,k,b),k.state=s.memoizedState),typeof k.componentDidMount=="function"&&(s.flags|=4194308)}var Yc=[],Xc=0,Dp=null,Lp=0,qo=[],Bo=0,wl=null,eu=1,tu="";function bl(s,c){Yc[Xc++]=Lp,Yc[Xc++]=Dp,Dp=s,Lp=c}function jP(s,c,v){qo[Bo++]=eu,qo[Bo++]=tu,qo[Bo++]=wl,wl=s;var b=eu;s=tu;var k=32-Vr(b)-1;b&=~(1<<k),v+=1;var V=32-Vr(c)+k;if(30<V){var he=k-k%5;V=(b&(1<<he)-1).toString(32),b>>=he,k-=he,eu=1<<32-Vr(c)+k|v<<k|b,tu=V+s}else eu=1<<V|v<<k|b,tu=s}function jy(s){s.return!==null&&(bl(s,1),jP(s,1,0))}function Uy(s){for(;s===Dp;)Dp=Yc[--Xc],Yc[Xc]=null,Lp=Yc[--Xc],Yc[Xc]=null;for(;s===wl;)wl=qo[--Bo],qo[Bo]=null,tu=qo[--Bo],qo[Bo]=null,eu=qo[--Bo],qo[Bo]=null}var yo=null,Qa=null,ci=!1,fs=null;function UP(s,c){var v=Wo(5,null,null,0);v.elementType="DELETED",v.stateNode=c,v.return=s,c=s.deletions,c===null?(s.deletions=[v],s.flags|=16):c.push(v)}function qP(s,c){switch(s.tag){case 5:var v=s.type;return c=c.nodeType!==1||v.toLowerCase()!==c.nodeName.toLowerCase()?null:c,c!==null?(s.stateNode=c,yo=s,Qa=Xs(c.firstChild),!0):!1;case 6:return c=s.pendingProps===""||c.nodeType!==3?null:c,c!==null?(s.stateNode=c,yo=s,Qa=null,!0):!1;case 13:return c=c.nodeType!==8?null:c,c!==null?(v=wl!==null?{id:eu,overflow:tu}:null,s.memoizedState={dehydrated:c,treeContext:v,retryLane:1073741824},v=Wo(18,null,null,0),v.stateNode=c,v.return=s,s.child=v,yo=s,Qa=null,!0):!1;default:return!1}}function qy(s){return(s.mode&1)!==0&&(s.flags&128)===0}function By(s){if(ci){var c=Qa;if(c){var v=c;if(!qP(s,c)){if(qy(s))throw Error(r(418));c=Xs(v.nextSibling);var b=yo;c&&qP(s,c)?UP(b,v):(s.flags=s.flags&-4097|2,ci=!1,yo=s)}}else{if(qy(s))throw Error(r(418));s.flags=s.flags&-4097|2,ci=!1,yo=s}}}function BP(s){for(s=s.return;s!==null&&s.tag!==5&&s.tag!==3&&s.tag!==13;)s=s.return;yo=s}function Ad(s){if(s!==yo)return!1;if(!ci)return BP(s),ci=!0,!1;var c;if((c=s.tag!==3)&&!(c=s.tag!==5)&&(c=s.type,c=c!=="head"&&c!=="body"&&!Ry(s.type,s.memoizedProps)),c&&(c=Qa)){if(qy(s)){for(s=Qa;s;)s=Xs(s.nextSibling);throw Error(r(418))}for(;c;)UP(s,c),c=Xs(c.nextSibling)}if(BP(s),s.tag===13){if(s=s.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(r(317));e:{for(s=s.nextSibling,c=0;s;){if(s.nodeType===8){var v=s.data;if(v==="/$"){if(c===0){Qa=Xs(s.nextSibling);break e}c--}else v!=="$"&&v!=="$!"&&v!=="$?"||c++}s=s.nextSibling}Qa=null}}else Qa=yo?Xs(s.stateNode.nextSibling):null;return!0}function Qc(){Qa=yo=null,ci=!1}function Vy(s){fs===null?fs=[s]:fs.push(s)}function Rd(s,c,v){if(s=v.ref,s!==null&&typeof s!="function"&&typeof s!="object"){if(v._owner){if(v=v._owner,v){if(v.tag!==1)throw Error(r(309));var b=v.stateNode}if(!b)throw Error(r(147,s));var k=b,V=""+s;return c!==null&&c.ref!==null&&typeof c.ref=="function"&&c.ref._stringRef===V?c.ref:(c=function(he){var Oe=k.refs;Oe===NP&&(Oe=k.refs={}),he===null?delete Oe[V]:Oe[V]=he},c._stringRef=V,c)}if(typeof s!="string")throw Error(r(284));if(!v._owner)throw Error(r(290,s))}return s}function Np(s,c){throw s=Object.prototype.toString.call(c),Error(r(31,s==="[object Object]"?"object with keys {"+Object.keys(c).join(", ")+"}":s))}function VP(s){var c=s._init;return c(s._payload)}function HP(s){function c(at,Ke){if(s){var pt=at.deletions;pt===null?(at.deletions=[Ke],at.flags|=16):pt.push(Ke)}}function v(at,Ke){if(!s)return null;for(;Ke!==null;)c(at,Ke),Ke=Ke.sibling;return null}function b(at,Ke){for(at=new Map;Ke!==null;)Ke.key!==null?at.set(Ke.key,Ke):at.set(Ke.index,Ke),Ke=Ke.sibling;return at}function k(at,Ke){return at=qu(at,Ke),at.index=0,at.sibling=null,at}function V(at,Ke,pt){return at.index=pt,s?(pt=at.alternate,pt!==null?(pt=pt.index,pt<Ke?(at.flags|=2,Ke):pt):(at.flags|=2,Ke)):(at.flags|=1048576,Ke)}function he(at){return s&&at.alternate===null&&(at.flags|=2),at}function Oe(at,Ke,pt,Xt){return Ke===null||Ke.tag!==6?(Ke=T_(pt,at.mode,Xt),Ke.return=at,Ke):(Ke=k(Ke,pt),Ke.return=at,Ke)}function Ve(at,Ke,pt,Xt){var cr=pt.type;return cr===m?jt(at,Ke,pt.props.children,Xt,pt.key):Ke!==null&&(Ke.elementType===cr||typeof cr=="object"&&cr!==null&&cr.$$typeof===ae&&VP(cr)===Ke.type)?(Xt=k(Ke,pt.props),Xt.ref=Rd(at,Ke,pt),Xt.return=at,Xt):(Xt=rv(pt.type,pt.key,pt.props,null,at.mode,Xt),Xt.ref=Rd(at,Ke,pt),Xt.return=at,Xt)}function gt(at,Ke,pt,Xt){return Ke===null||Ke.tag!==4||Ke.stateNode.containerInfo!==pt.containerInfo||Ke.stateNode.implementation!==pt.implementation?(Ke=A_(pt,at.mode,Xt),Ke.return=at,Ke):(Ke=k(Ke,pt.children||[]),Ke.return=at,Ke)}function jt(at,Ke,pt,Xt,cr){return Ke===null||Ke.tag!==7?(Ke=Il(pt,at.mode,Xt,cr),Ke.return=at,Ke):(Ke=k(Ke,pt),Ke.return=at,Ke)}function nr(at,Ke,pt){if(typeof Ke=="string"&&Ke!==""||typeof Ke=="number")return Ke=T_(""+Ke,at.mode,pt),Ke.return=at,Ke;if(typeof Ke=="object"&&Ke!==null){switch(Ke.$$typeof){case R:return pt=rv(Ke.type,Ke.key,Ke.props,null,at.mode,pt),pt.ref=Rd(at,null,Ke),pt.return=at,pt;case O:return Ke=A_(Ke,at.mode,pt),Ke.return=at,Ke;case ae:var Xt=Ke._init;return nr(at,Xt(Ke._payload),pt)}if(de(Ke)||J(Ke))return Ke=Il(Ke,at.mode,pt,null),Ke.return=at,Ke;Np(at,Ke)}return null}function Dt(at,Ke,pt,Xt){var cr=Ke!==null?Ke.key:null;if(typeof pt=="string"&&pt!==""||typeof pt=="number")return cr!==null?null:Oe(at,Ke,""+pt,Xt);if(typeof pt=="object"&&pt!==null){switch(pt.$$typeof){case R:return pt.key===cr?Ve(at,Ke,pt,Xt):null;case O:return pt.key===cr?gt(at,Ke,pt,Xt):null;case ae:return cr=pt._init,Dt(at,Ke,cr(pt._payload),Xt)}if(de(pt)||J(pt))return cr!==null?null:jt(at,Ke,pt,Xt,null);Np(at,pt)}return null}function or(at,Ke,pt,Xt,cr){if(typeof Xt=="string"&&Xt!==""||typeof Xt=="number")return at=at.get(pt)||null,Oe(Ke,at,""+Xt,cr);if(typeof Xt=="object"&&Xt!==null){switch(Xt.$$typeof){case R:return at=at.get(Xt.key===null?pt:Xt.key)||null,Ve(Ke,at,Xt,cr);case O:return at=at.get(Xt.key===null?pt:Xt.key)||null,gt(Ke,at,Xt,cr);case ae:var Or=Xt._init;return or(at,Ke,pt,Or(Xt._payload),cr)}if(de(Xt)||J(Xt))return at=at.get(pt)||null,jt(Ke,at,Xt,cr,null);Np(Ke,Xt)}return null}function rr(at,Ke,pt,Xt){for(var cr=null,Or=null,Ir=Ke,Ur=Ke=0,Ji=null;Ir!==null&&Ur<pt.length;Ur++){Ir.index>Ur?(Ji=Ir,Ir=null):Ji=Ir.sibling;var _n=Dt(at,Ir,pt[Ur],Xt);if(_n===null){Ir===null&&(Ir=Ji);break}s&&Ir&&_n.alternate===null&&c(at,Ir),Ke=V(_n,Ke,Ur),Or===null?cr=_n:Or.sibling=_n,Or=_n,Ir=Ji}if(Ur===pt.length)return v(at,Ir),ci&&bl(at,Ur),cr;if(Ir===null){for(;Ur<pt.length;Ur++)Ir=nr(at,pt[Ur],Xt),Ir!==null&&(Ke=V(Ir,Ke,Ur),Or===null?cr=Ir:Or.sibling=Ir,Or=Ir);return ci&&bl(at,Ur),cr}for(Ir=b(at,Ir);Ur<pt.length;Ur++)Ji=or(Ir,at,Ur,pt[Ur],Xt),Ji!==null&&(s&&Ji.alternate!==null&&Ir.delete(Ji.key===null?Ur:Ji.key),Ke=V(Ji,Ke,Ur),Or===null?cr=Ji:Or.sibling=Ji,Or=Ji);return s&&Ir.forEach(function(Bu){return c(at,Bu)}),ci&&bl(at,Ur),cr}function zr(at,Ke,pt,Xt){var cr=J(pt);if(typeof cr!="function")throw Error(r(150));if(pt=cr.call(pt),pt==null)throw Error(r(151));for(var Or=cr=null,Ir=Ke,Ur=Ke=0,Ji=null,_n=pt.next();Ir!==null&&!_n.done;Ur++,_n=pt.next()){Ir.index>Ur?(Ji=Ir,Ir=null):Ji=Ir.sibling;var Bu=Dt(at,Ir,_n.value,Xt);if(Bu===null){Ir===null&&(Ir=Ji);break}s&&Ir&&Bu.alternate===null&&c(at,Ir),Ke=V(Bu,Ke,Ur),Or===null?cr=Bu:Or.sibling=Bu,Or=Bu,Ir=Ji}if(_n.done)return v(at,Ir),ci&&bl(at,Ur),cr;if(Ir===null){for(;!_n.done;Ur++,_n=pt.next())_n=nr(at,_n.value,Xt),_n!==null&&(Ke=V(_n,Ke,Ur),Or===null?cr=_n:Or.sibling=_n,Or=_n);return ci&&bl(at,Ur),cr}for(Ir=b(at,Ir);!_n.done;Ur++,_n=pt.next())_n=or(Ir,at,Ur,_n.value,Xt),_n!==null&&(s&&_n.alternate!==null&&Ir.delete(_n.key===null?Ur:_n.key),Ke=V(_n,Ke,Ur),Or===null?cr=_n:Or.sibling=_n,Or=_n);return s&&Ir.forEach(function(Die){return c(at,Die)}),ci&&bl(at,Ur),cr}function Ii(at,Ke,pt,Xt){if(typeof pt=="object"&&pt!==null&&pt.type===m&&pt.key===null&&(pt=pt.props.children),typeof pt=="object"&&pt!==null){switch(pt.$$typeof){case R:e:{for(var cr=pt.key,Or=Ke;Or!==null;){if(Or.key===cr){if(cr=pt.type,cr===m){if(Or.tag===7){v(at,Or.sibling),Ke=k(Or,pt.props.children),Ke.return=at,at=Ke;break e}}else if(Or.elementType===cr||typeof cr=="object"&&cr!==null&&cr.$$typeof===ae&&VP(cr)===Or.type){v(at,Or.sibling),Ke=k(Or,pt.props),Ke.ref=Rd(at,Or,pt),Ke.return=at,at=Ke;break e}v(at,Or);break}else c(at,Or);Or=Or.sibling}pt.type===m?(Ke=Il(pt.props.children,at.mode,Xt,pt.key),Ke.return=at,at=Ke):(Xt=rv(pt.type,pt.key,pt.props,null,at.mode,Xt),Xt.ref=Rd(at,Ke,pt),Xt.return=at,at=Xt)}return he(at);case O:e:{for(Or=pt.key;Ke!==null;){if(Ke.key===Or)if(Ke.tag===4&&Ke.stateNode.containerInfo===pt.containerInfo&&Ke.stateNode.implementation===pt.implementation){v(at,Ke.sibling),Ke=k(Ke,pt.children||[]),Ke.return=at,at=Ke;break e}else{v(at,Ke);break}else c(at,Ke);Ke=Ke.sibling}Ke=A_(pt,at.mode,Xt),Ke.return=at,at=Ke}return he(at);case ae:return Or=pt._init,Ii(at,Ke,Or(pt._payload),Xt)}if(de(pt))return rr(at,Ke,pt,Xt);if(J(pt))return zr(at,Ke,pt,Xt);Np(at,pt)}return typeof pt=="string"&&pt!==""||typeof pt=="number"?(pt=""+pt,Ke!==null&&Ke.tag===6?(v(at,Ke.sibling),Ke=k(Ke,pt),Ke.return=at,at=Ke):(v(at,Ke),Ke=T_(pt,at.mode,Xt),Ke.return=at,at=Ke),he(at)):v(at,Ke)}return Ii}var Jc=HP(!0),zP=HP(!1),xd={},xs=Pu(xd),Cd=Pu(xd),Od=Pu(xd);function Tl(s){if(s===xd)throw Error(r(174));return s}function Hy(s,c){switch(Zn(Od,c),Zn(Cd,s),Zn(xs,xd),s=c.nodeType,s){case 9:case 11:c=(c=c.documentElement)?c.namespaceURI:_t(null,"");break;default:s=s===8?c.parentNode:c,c=s.namespaceURI||null,s=s.tagName,c=_t(c,s)}ai(xs),Zn(xs,c)}function Zc(){ai(xs),ai(Cd),ai(Od)}function WP(s){Tl(Od.current);var c=Tl(xs.current),v=_t(c,s.type);c!==v&&(Zn(Cd,s),Zn(xs,v))}function zy(s){Cd.current===s&&(ai(xs),ai(Cd))}var gi=Pu(0);function Mp(s){for(var c=s;c!==null;){if(c.tag===13){var v=c.memoizedState;if(v!==null&&(v=v.dehydrated,v===null||v.data==="$?"||v.data==="$!"))return c}else if(c.tag===19&&c.memoizedProps.revealOrder!==void 0){if((c.flags&128)!==0)return c}else if(c.child!==null){c.child.return=c,c=c.child;continue}if(c===s)break;for(;c.sibling===null;){if(c.return===null||c.return===s)return null;c=c.return}c.sibling.return=c.return,c=c.sibling}return null}var Wy=[];function Gy(){for(var s=0;s<Wy.length;s++)Wy[s]._workInProgressVersionPrimary=null;Wy.length=0}var $p=x.ReactCurrentDispatcher,Ky=x.ReactCurrentBatchConfig,Al=0,mi=null,Ui=null,Qi=null,Fp=!1,Id=!1,Pd=0,rie=0;function ya(){throw Error(r(321))}function Yy(s,c){if(c===null)return!1;for(var v=0;v<c.length&&v<s.length;v++)if(!er(s[v],c[v]))return!1;return!0}function Xy(s,c,v,b,k,V){if(Al=V,mi=c,c.memoizedState=null,c.updateQueue=null,c.lanes=0,$p.current=s===null||s.memoizedState===null?oie:sie,s=v(b,k),Id){V=0;do{if(Id=!1,Pd=0,25<=V)throw Error(r(301));V+=1,Qi=Ui=null,c.updateQueue=null,$p.current=uie,s=v(b,k)}while(Id)}if($p.current=qp,c=Ui!==null&&Ui.next!==null,Al=0,Qi=Ui=mi=null,Fp=!1,c)throw Error(r(300));return s}function Qy(){var s=Pd!==0;return Pd=0,s}function Cs(){var s={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Qi===null?mi.memoizedState=Qi=s:Qi=Qi.next=s,Qi}function Vo(){if(Ui===null){var s=mi.alternate;s=s!==null?s.memoizedState:null}else s=Ui.next;var c=Qi===null?mi.memoizedState:Qi.next;if(c!==null)Qi=c,Ui=s;else{if(s===null)throw Error(r(310));Ui=s,s={memoizedState:Ui.memoizedState,baseState:Ui.baseState,baseQueue:Ui.baseQueue,queue:Ui.queue,next:null},Qi===null?mi.memoizedState=Qi=s:Qi=Qi.next=s}return Qi}function kd(s,c){return typeof c=="function"?c(s):c}function Jy(s){var c=Vo(),v=c.queue;if(v===null)throw Error(r(311));v.lastRenderedReducer=s;var b=Ui,k=b.baseQueue,V=v.pending;if(V!==null){if(k!==null){var he=k.next;k.next=V.next,V.next=he}b.baseQueue=k=V,v.pending=null}if(k!==null){V=k.next,b=b.baseState;var Oe=he=null,Ve=null,gt=V;do{var jt=gt.lane;if((Al&jt)===jt)Ve!==null&&(Ve=Ve.next={lane:0,action:gt.action,hasEagerState:gt.hasEagerState,eagerState:gt.eagerState,next:null}),b=gt.hasEagerState?gt.eagerState:s(b,gt.action);else{var nr={lane:jt,action:gt.action,hasEagerState:gt.hasEagerState,eagerState:gt.eagerState,next:null};Ve===null?(Oe=Ve=nr,he=b):Ve=Ve.next=nr,mi.lanes|=jt,Rl|=jt}gt=gt.next}while(gt!==null&&gt!==V);Ve===null?he=b:Ve.next=Oe,er(b,c.memoizedState)||(Ja=!0),c.memoizedState=b,c.baseState=he,c.baseQueue=Ve,v.lastRenderedState=b}if(s=v.interleaved,s!==null){k=s;do V=k.lane,mi.lanes|=V,Rl|=V,k=k.next;while(k!==s)}else k===null&&(v.lanes=0);return[c.memoizedState,v.dispatch]}function Zy(s){var c=Vo(),v=c.queue;if(v===null)throw Error(r(311));v.lastRenderedReducer=s;var b=v.dispatch,k=v.pending,V=c.memoizedState;if(k!==null){v.pending=null;var he=k=k.next;do V=s(V,he.action),he=he.next;while(he!==k);er(V,c.memoizedState)||(Ja=!0),c.memoizedState=V,c.baseQueue===null&&(c.baseState=V),v.lastRenderedState=V}return[V,b]}function GP(){}function KP(s,c){var v=mi,b=Vo(),k=c(),V=!er(b.memoizedState,k);if(V&&(b.memoizedState=k,Ja=!0),b=b.queue,e_(QP.bind(null,v,b,s),[s]),b.getSnapshot!==c||V||Qi!==null&&Qi.memoizedState.tag&1){if(v.flags|=2048,Dd(9,XP.bind(null,v,b,k,c),void 0,null),qi===null)throw Error(r(349));(Al&30)!==0||YP(v,c,k)}return k}function YP(s,c,v){s.flags|=16384,s={getSnapshot:c,value:v},c=mi.updateQueue,c===null?(c={lastEffect:null,stores:null},mi.updateQueue=c,c.stores=[s]):(v=c.stores,v===null?c.stores=[s]:v.push(s))}function XP(s,c,v,b){c.value=v,c.getSnapshot=b,JP(c)&&zo(s,1,-1)}function QP(s,c,v){return v(function(){JP(c)&&zo(s,1,-1)})}function JP(s){var c=s.getSnapshot;s=s.value;try{var v=c();return!er(s,v)}catch{return!0}}function ZP(s){var c=Cs();return typeof s=="function"&&(s=s()),c.memoizedState=c.baseState=s,s={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:kd,lastRenderedState:s},c.queue=s,s=s.dispatch=aie.bind(null,mi,s),[c.memoizedState,s]}function Dd(s,c,v,b){return s={tag:s,create:c,destroy:v,deps:b,next:null},c=mi.updateQueue,c===null?(c={lastEffect:null,stores:null},mi.updateQueue=c,c.lastEffect=s.next=s):(v=c.lastEffect,v===null?c.lastEffect=s.next=s:(b=v.next,v.next=s,s.next=b,c.lastEffect=s)),s}function ek(){return Vo().memoizedState}function jp(s,c,v,b){var k=Cs();mi.flags|=s,k.memoizedState=Dd(1|c,v,void 0,b===void 0?null:b)}function Up(s,c,v,b){var k=Vo();b=b===void 0?null:b;var V=void 0;if(Ui!==null){var he=Ui.memoizedState;if(V=he.destroy,b!==null&&Yy(b,he.deps)){k.memoizedState=Dd(c,v,V,b);return}}mi.flags|=s,k.memoizedState=Dd(1|c,v,V,b)}function tk(s,c){return jp(8390656,8,s,c)}function e_(s,c){return Up(2048,8,s,c)}function rk(s,c){return Up(4,2,s,c)}function nk(s,c){return Up(4,4,s,c)}function ik(s,c){if(typeof c=="function")return s=s(),c(s),function(){c(null)};if(c!=null)return s=s(),c.current=s,function(){c.current=null}}function ak(s,c,v){return v=v!=null?v.concat([s]):null,Up(4,4,ik.bind(null,c,s),v)}function t_(){}function ok(s,c){var v=Vo();c=c===void 0?null:c;var b=v.memoizedState;return b!==null&&c!==null&&Yy(c,b[1])?b[0]:(v.memoizedState=[s,c],s)}function sk(s,c){var v=Vo();c=c===void 0?null:c;var b=v.memoizedState;return b!==null&&c!==null&&Yy(c,b[1])?b[0]:(s=s(),v.memoizedState=[s,c],s)}function uk(s,c,v){return(Al&21)===0?(s.baseState&&(s.baseState=!1,Ja=!0),s.memoizedState=v):(er(v,c)||(v=Fe(),mi.lanes|=v,Rl|=v,s.baseState=!0),c)}function nie(s,c){var v=Qt;Qt=v!==0&&4>v?v:4,s(!0);var b=Ky.transition;Ky.transition={};try{s(!1),c()}finally{Qt=v,Ky.transition=b}}function lk(){return Vo().memoizedState}function iie(s,c,v){var b=ju(s);v={lane:b,action:v,hasEagerState:!1,eagerState:null,next:null},ck(s)?fk(c,v):(dk(s,c,v),v=Ma(),s=zo(s,b,v),s!==null&&hk(s,c,b))}function aie(s,c,v){var b=ju(s),k={lane:b,action:v,hasEagerState:!1,eagerState:null,next:null};if(ck(s))fk(c,k);else{dk(s,c,k);var V=s.alternate;if(s.lanes===0&&(V===null||V.lanes===0)&&(V=c.lastRenderedReducer,V!==null))try{var he=c.lastRenderedState,Oe=V(he,v);if(k.hasEagerState=!0,k.eagerState=Oe,er(Oe,he))return}catch{}finally{}v=Ma(),s=zo(s,b,v),s!==null&&hk(s,c,b)}}function ck(s){var c=s.alternate;return s===mi||c!==null&&c===mi}function fk(s,c){Id=Fp=!0;var v=s.pending;v===null?c.next=c:(c.next=v.next,v.next=c),s.pending=c}function dk(s,c,v){Gk(s)?(s=c.interleaved,s===null?(v.next=v,cs===null?cs=[c]:cs.push(c)):(v.next=s.next,s.next=v),c.interleaved=v):(s=c.pending,s===null?v.next=v:(v.next=s.next,s.next=v),c.pending=v)}function hk(s,c,v){if((v&4194240)!==0){var b=c.lanes;b&=s.pendingLanes,v|=b,c.lanes=v,zt(s,v)}}var qp={readContext:Uo,useCallback:ya,useContext:ya,useEffect:ya,useImperativeHandle:ya,useInsertionEffect:ya,useLayoutEffect:ya,useMemo:ya,useReducer:ya,useRef:ya,useState:ya,useDebugValue:ya,useDeferredValue:ya,useTransition:ya,useMutableSource:ya,useSyncExternalStore:ya,useId:ya,unstable_isNewReconciler:!1},oie={readContext:Uo,useCallback:function(s,c){return Cs().memoizedState=[s,c===void 0?null:c],s},useContext:Uo,useEffect:tk,useImperativeHandle:function(s,c,v){return v=v!=null?v.concat([s]):null,jp(4194308,4,ik.bind(null,c,s),v)},useLayoutEffect:function(s,c){return jp(4194308,4,s,c)},useInsertionEffect:function(s,c){return jp(4,2,s,c)},useMemo:function(s,c){var v=Cs();return c=c===void 0?null:c,s=s(),v.memoizedState=[s,c],s},useReducer:function(s,c,v){var b=Cs();return c=v!==void 0?v(c):c,b.memoizedState=b.baseState=c,s={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:s,lastRenderedState:c},b.queue=s,s=s.dispatch=iie.bind(null,mi,s),[b.memoizedState,s]},useRef:function(s){var c=Cs();return s={current:s},c.memoizedState=s},useState:ZP,useDebugValue:t_,useDeferredValue:function(s){return Cs().memoizedState=s},useTransition:function(){var s=ZP(!1),c=s[0];return s=nie.bind(null,s[1]),Cs().memoizedState=s,[c,s]},useMutableSource:function(){},useSyncExternalStore:function(s,c,v){var b=mi,k=Cs();if(ci){if(v===void 0)throw Error(r(407));v=v()}else{if(v=c(),qi===null)throw Error(r(349));(Al&30)!==0||YP(b,c,v)}k.memoizedState=v;var V={value:v,getSnapshot:c};return k.queue=V,tk(QP.bind(null,b,V,s),[s]),b.flags|=2048,Dd(9,XP.bind(null,b,V,v,c),void 0,null),v},useId:function(){var s=Cs(),c=qi.identifierPrefix;if(ci){var v=tu,b=eu;v=(b&~(1<<32-Vr(b)-1)).toString(32)+v,c=":"+c+"R"+v,v=Pd++,0<v&&(c+="H"+v.toString(32)),c+=":"}else v=rie++,c=":"+c+"r"+v.toString(32)+":";return s.memoizedState=c},unstable_isNewReconciler:!1},sie={readContext:Uo,useCallback:ok,useContext:Uo,useEffect:e_,useImperativeHandle:ak,useInsertionEffect:rk,useLayoutEffect:nk,useMemo:sk,useReducer:Jy,useRef:ek,useState:function(){return Jy(kd)},useDebugValue:t_,useDeferredValue:function(s){var c=Vo();return uk(c,Ui.memoizedState,s)},useTransition:function(){var s=Jy(kd)[0],c=Vo().memoizedState;return[s,c]},useMutableSource:GP,useSyncExternalStore:KP,useId:lk,unstable_isNewReconciler:!1},uie={readContext:Uo,useCallback:ok,useContext:Uo,useEffect:e_,useImperativeHandle:ak,useInsertionEffect:rk,useLayoutEffect:nk,useMemo:sk,useReducer:Zy,useRef:ek,useState:function(){return Zy(kd)},useDebugValue:t_,useDeferredValue:function(s){var c=Vo();return Ui===null?c.memoizedState=s:uk(c,Ui.memoizedState,s)},useTransition:function(){var s=Zy(kd)[0],c=Vo().memoizedState;return[s,c]},useMutableSource:GP,useSyncExternalStore:KP,useId:lk,unstable_isNewReconciler:!1};function r_(s,c){try{var v="",b=c;do v+=nt(b),b=b.return;while(b);var k=v}catch(V){k=`
102
+ Error generating stack: `+V.message+`
103
+ `+V.stack}return{value:s,source:c,stack:k}}function n_(s,c){try{console.error(c.value)}catch(v){setTimeout(function(){throw v})}}var lie=typeof WeakMap=="function"?WeakMap:Map;function pk(s,c,v){v=Zs(-1,v),v.tag=3,v.payload={element:null};var b=c.value;return v.callback=function(){Yp||(Yp=!0,g_=b),n_(s,c)},v}function vk(s,c,v){v=Zs(-1,v),v.tag=3;var b=s.type.getDerivedStateFromError;if(typeof b=="function"){var k=c.value;v.payload=function(){return b(k)},v.callback=function(){n_(s,c)}}var V=s.stateNode;return V!==null&&typeof V.componentDidCatch=="function"&&(v.callback=function(){n_(s,c),typeof b!="function"&&($u===null?$u=new Set([this]):$u.add(this));var he=c.stack;this.componentDidCatch(c.value,{componentStack:he!==null?he:""})}),v}function gk(s,c,v){var b=s.pingCache;if(b===null){b=s.pingCache=new lie;var k=new Set;b.set(c,k)}else k=b.get(c),k===void 0&&(k=new Set,b.set(c,k));k.has(v)||(k.add(v),s=wie.bind(null,s,c,v),c.then(s,s))}function mk(s){do{var c;if((c=s.tag===13)&&(c=s.memoizedState,c=c!==null?c.dehydrated!==null:!0),c)return s;s=s.return}while(s!==null);return null}function yk(s,c,v,b,k){return(s.mode&1)===0?(s===c?s.flags|=65536:(s.flags|=128,v.flags|=131072,v.flags&=-52805,v.tag===1&&(v.alternate===null?v.tag=17:(c=Zs(-1,1),c.tag=2,Nu(v,c))),v.lanes|=1),s):(s.flags|=65536,s.lanes=k,s)}var _k,i_,Ek,Sk;_k=function(s,c){for(var v=c.child;v!==null;){if(v.tag===5||v.tag===6)s.appendChild(v.stateNode);else if(v.tag!==4&&v.child!==null){v.child.return=v,v=v.child;continue}if(v===c)break;for(;v.sibling===null;){if(v.return===null||v.return===c)return;v=v.return}v.sibling.return=v.return,v=v.sibling}},i_=function(){},Ek=function(s,c,v,b){var k=s.memoizedProps;if(k!==b){s=c.stateNode,Tl(xs.current);var V=null;switch(v){case"input":k=pe(s,k),b=pe(s,b),V=[];break;case"select":k=z({},k,{value:void 0}),b=z({},b,{value:void 0}),V=[];break;case"textarea":k=ge(s,k),b=ge(s,b),V=[];break;default:typeof k.onClick!="function"&&typeof b.onClick=="function"&&(s.onclick=bp)}Ft(v,b);var he;v=null;for(gt in k)if(!b.hasOwnProperty(gt)&&k.hasOwnProperty(gt)&&k[gt]!=null)if(gt==="style"){var Oe=k[gt];for(he in Oe)Oe.hasOwnProperty(he)&&(v||(v={}),v[he]="")}else gt!=="dangerouslySetInnerHTML"&&gt!=="children"&&gt!=="suppressContentEditableWarning"&&gt!=="suppressHydrationWarning"&&gt!=="autoFocus"&&(i.hasOwnProperty(gt)?V||(V=[]):(V=V||[]).push(gt,null));for(gt in b){var Ve=b[gt];if(Oe=k!=null?k[gt]:void 0,b.hasOwnProperty(gt)&&Ve!==Oe&&(Ve!=null||Oe!=null))if(gt==="style")if(Oe){for(he in Oe)!Oe.hasOwnProperty(he)||Ve&&Ve.hasOwnProperty(he)||(v||(v={}),v[he]="");for(he in Ve)Ve.hasOwnProperty(he)&&Oe[he]!==Ve[he]&&(v||(v={}),v[he]=Ve[he])}else v||(V||(V=[]),V.push(gt,v)),v=Ve;else gt==="dangerouslySetInnerHTML"?(Ve=Ve?Ve.__html:void 0,Oe=Oe?Oe.__html:void 0,Ve!=null&&Oe!==Ve&&(V=V||[]).push(gt,Ve)):gt==="children"?typeof Ve!="string"&&typeof Ve!="number"||(V=V||[]).push(gt,""+Ve):gt!=="suppressContentEditableWarning"&&gt!=="suppressHydrationWarning"&&(i.hasOwnProperty(gt)?(Ve!=null&&gt==="onScroll"&&ii("scroll",s),V||Oe===Ve||(V=[])):(V=V||[]).push(gt,Ve))}v&&(V=V||[]).push("style",v);var gt=V;(c.updateQueue=gt)&&(c.flags|=4)}},Sk=function(s,c,v,b){v!==b&&(c.flags|=4)};function Ld(s,c){if(!ci)switch(s.tailMode){case"hidden":c=s.tail;for(var v=null;c!==null;)c.alternate!==null&&(v=c),c=c.sibling;v===null?s.tail=null:v.sibling=null;break;case"collapsed":v=s.tail;for(var b=null;v!==null;)v.alternate!==null&&(b=v),v=v.sibling;b===null?c||s.tail===null?s.tail=null:s.tail.sibling=null:b.sibling=null}}function _a(s){var c=s.alternate!==null&&s.alternate.child===s.child,v=0,b=0;if(c)for(var k=s.child;k!==null;)v|=k.lanes|k.childLanes,b|=k.subtreeFlags&14680064,b|=k.flags&14680064,k.return=s,k=k.sibling;else for(k=s.child;k!==null;)v|=k.lanes|k.childLanes,b|=k.subtreeFlags,b|=k.flags,k.return=s,k=k.sibling;return s.subtreeFlags|=b,s.childLanes=v,c}function cie(s,c,v){var b=c.pendingProps;switch(Uy(c),c.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return _a(c),null;case 1:return Xa(c.type)&&Ap(),_a(c),null;case 3:return b=c.stateNode,Zc(),ai(Ya),ai(ma),Gy(),b.pendingContext&&(b.context=b.pendingContext,b.pendingContext=null),(s===null||s.child===null)&&(Ad(c)?c.flags|=4:s===null||s.memoizedState.isDehydrated&&(c.flags&256)===0||(c.flags|=1024,fs!==null&&(__(fs),fs=null))),i_(s,c),_a(c),null;case 5:zy(c);var k=Tl(Od.current);if(v=c.type,s!==null&&c.stateNode!=null)Ek(s,c,v,b,k),s.ref!==c.ref&&(c.flags|=512,c.flags|=2097152);else{if(!b){if(c.stateNode===null)throw Error(r(166));return _a(c),null}if(s=Tl(xs.current),Ad(c)){b=c.stateNode,v=c.type;var V=c.memoizedProps;switch(b[Rs]=c,b[bd]=V,s=(c.mode&1)!==0,v){case"dialog":ii("cancel",b),ii("close",b);break;case"iframe":case"object":case"embed":ii("load",b);break;case"video":case"audio":for(k=0;k<Ed.length;k++)ii(Ed[k],b);break;case"source":ii("error",b);break;case"img":case"image":case"link":ii("error",b),ii("load",b);break;case"details":ii("toggle",b);break;case"input":fe(b,V),ii("invalid",b);break;case"select":b._wrapperState={wasMultiple:!!V.multiple},ii("invalid",b);break;case"textarea":Te(b,V),ii("invalid",b)}Ft(v,V),k=null;for(var he in V)if(V.hasOwnProperty(he)){var Oe=V[he];he==="children"?typeof Oe=="string"?b.textContent!==Oe&&(V.suppressHydrationWarning!==!0&&wp(b.textContent,Oe,s),k=["children",Oe]):typeof Oe=="number"&&b.textContent!==""+Oe&&(V.suppressHydrationWarning!==!0&&wp(b.textContent,Oe,s),k=["children",""+Oe]):i.hasOwnProperty(he)&&Oe!=null&&he==="onScroll"&&ii("scroll",b)}switch(v){case"input":Z(b),Ce(b,V,!0);break;case"textarea":Z(b),De(b);break;case"select":case"option":break;default:typeof V.onClick=="function"&&(b.onclick=bp)}b=k,c.updateQueue=b,b!==null&&(c.flags|=4)}else{he=k.nodeType===9?k:k.ownerDocument,s==="http://www.w3.org/1999/xhtml"&&(s=qe(v)),s==="http://www.w3.org/1999/xhtml"?v==="script"?(s=he.createElement("div"),s.innerHTML="<script><\/script>",s=s.removeChild(s.firstChild)):typeof b.is=="string"?s=he.createElement(v,{is:b.is}):(s=he.createElement(v),v==="select"&&(he=s,b.multiple?he.multiple=!0:b.size&&(he.size=b.size))):s=he.createElementNS(s,v),s[Rs]=c,s[bd]=b,_k(s,c,!1,!1),c.stateNode=s;e:{switch(he=Ct(v,b),v){case"dialog":ii("cancel",s),ii("close",s),k=b;break;case"iframe":case"object":case"embed":ii("load",s),k=b;break;case"video":case"audio":for(k=0;k<Ed.length;k++)ii(Ed[k],s);k=b;break;case"source":ii("error",s),k=b;break;case"img":case"image":case"link":ii("error",s),ii("load",s),k=b;break;case"details":ii("toggle",s),k=b;break;case"input":fe(s,b),k=pe(s,b),ii("invalid",s);break;case"option":k=b;break;case"select":s._wrapperState={wasMultiple:!!b.multiple},k=z({},b,{value:void 0}),ii("invalid",s);break;case"textarea":Te(s,b),k=ge(s,b),ii("invalid",s);break;default:k=b}Ft(v,k),Oe=k;for(V in Oe)if(Oe.hasOwnProperty(V)){var Ve=Oe[V];V==="style"?At(s,Ve):V==="dangerouslySetInnerHTML"?(Ve=Ve?Ve.__html:void 0,Ve!=null&&Mt(s,Ve)):V==="children"?typeof Ve=="string"?(v!=="textarea"||Ve!=="")&&Xe(s,Ve):typeof Ve=="number"&&Xe(s,""+Ve):V!=="suppressContentEditableWarning"&&V!=="suppressHydrationWarning"&&V!=="autoFocus"&&(i.hasOwnProperty(V)?Ve!=null&&V==="onScroll"&&ii("scroll",s):Ve!=null&&C(s,V,Ve,he))}switch(v){case"input":Z(s),Ce(s,b,!1);break;case"textarea":Z(s),De(s);break;case"option":b.value!=null&&s.setAttribute("value",""+I(b.value));break;case"select":s.multiple=!!b.multiple,V=b.value,V!=null?me(s,!!b.multiple,V,!1):b.defaultValue!=null&&me(s,!!b.multiple,b.defaultValue,!0);break;default:typeof k.onClick=="function"&&(s.onclick=bp)}switch(v){case"button":case"input":case"select":case"textarea":b=!!b.autoFocus;break e;case"img":b=!0;break e;default:b=!1}}b&&(c.flags|=4)}c.ref!==null&&(c.flags|=512,c.flags|=2097152)}return _a(c),null;case 6:if(s&&c.stateNode!=null)Sk(s,c,s.memoizedProps,b);else{if(typeof b!="string"&&c.stateNode===null)throw Error(r(166));if(v=Tl(Od.current),Tl(xs.current),Ad(c)){if(b=c.stateNode,v=c.memoizedProps,b[Rs]=c,(V=b.nodeValue!==v)&&(s=yo,s!==null))switch(s.tag){case 3:wp(b.nodeValue,v,(s.mode&1)!==0);break;case 5:s.memoizedProps.suppressHydrationWarning!==!0&&wp(b.nodeValue,v,(s.mode&1)!==0)}V&&(c.flags|=4)}else b=(v.nodeType===9?v:v.ownerDocument).createTextNode(b),b[Rs]=c,c.stateNode=b}return _a(c),null;case 13:if(ai(gi),b=c.memoizedState,ci&&Qa!==null&&(c.mode&1)!==0&&(c.flags&128)===0){for(b=Qa;b;)b=Xs(b.nextSibling);return Qc(),c.flags|=98560,c}if(b!==null&&b.dehydrated!==null){if(b=Ad(c),s===null){if(!b)throw Error(r(318));if(b=c.memoizedState,b=b!==null?b.dehydrated:null,!b)throw Error(r(317));b[Rs]=c}else Qc(),(c.flags&128)===0&&(c.memoizedState=null),c.flags|=4;return _a(c),null}return fs!==null&&(__(fs),fs=null),(c.flags&128)!==0?(c.lanes=v,c):(b=b!==null,v=!1,s===null?Ad(c):v=s.memoizedState!==null,b!==v&&b&&(c.child.flags|=8192,(c.mode&1)!==0&&(s===null||(gi.current&1)!==0?Bi===0&&(Bi=3):w_())),c.updateQueue!==null&&(c.flags|=4),_a(c),null);case 4:return Zc(),i_(s,c),s===null&&Sd(c.stateNode.containerInfo),_a(c),null;case 10:return Ly(c.type._context),_a(c),null;case 17:return Xa(c.type)&&Ap(),_a(c),null;case 19:if(ai(gi),V=c.memoizedState,V===null)return _a(c),null;if(b=(c.flags&128)!==0,he=V.rendering,he===null)if(b)Ld(V,!1);else{if(Bi!==0||s!==null&&(s.flags&128)!==0)for(s=c.child;s!==null;){if(he=Mp(s),he!==null){for(c.flags|=128,Ld(V,!1),b=he.updateQueue,b!==null&&(c.updateQueue=b,c.flags|=4),c.subtreeFlags=0,b=v,v=c.child;v!==null;)V=v,s=b,V.flags&=14680066,he=V.alternate,he===null?(V.childLanes=0,V.lanes=s,V.child=null,V.subtreeFlags=0,V.memoizedProps=null,V.memoizedState=null,V.updateQueue=null,V.dependencies=null,V.stateNode=null):(V.childLanes=he.childLanes,V.lanes=he.lanes,V.child=he.child,V.subtreeFlags=0,V.deletions=null,V.memoizedProps=he.memoizedProps,V.memoizedState=he.memoizedState,V.updateQueue=he.updateQueue,V.type=he.type,s=he.dependencies,V.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext}),v=v.sibling;return Zn(gi,gi.current&1|2),c.child}s=s.sibling}V.tail!==null&&tt()>rf&&(c.flags|=128,b=!0,Ld(V,!1),c.lanes=4194304)}else{if(!b)if(s=Mp(he),s!==null){if(c.flags|=128,b=!0,v=s.updateQueue,v!==null&&(c.updateQueue=v,c.flags|=4),Ld(V,!0),V.tail===null&&V.tailMode==="hidden"&&!he.alternate&&!ci)return _a(c),null}else 2*tt()-V.renderingStartTime>rf&&v!==1073741824&&(c.flags|=128,b=!0,Ld(V,!1),c.lanes=4194304);V.isBackwards?(he.sibling=c.child,c.child=he):(v=V.last,v!==null?v.sibling=he:c.child=he,V.last=he)}return V.tail!==null?(c=V.tail,V.rendering=c,V.tail=c.sibling,V.renderingStartTime=tt(),c.sibling=null,v=gi.current,Zn(gi,b?v&1|2:v&1),c):(_a(c),null);case 22:case 23:return S_(),b=c.memoizedState!==null,s!==null&&s.memoizedState!==null!==b&&(c.flags|=8192),b&&(c.mode&1)!==0?(_o&1073741824)!==0&&(_a(c),c.subtreeFlags&6&&(c.flags|=8192)):_a(c),null;case 24:return null;case 25:return null}throw Error(r(156,c.tag))}var fie=x.ReactCurrentOwner,Ja=!1;function Na(s,c,v,b){c.child=s===null?zP(c,null,v,b):Jc(c,s.child,v,b)}function wk(s,c,v,b,k){v=v.render;var V=c.ref;return Kc(c,k),b=Xy(s,c,v,b,V,k),v=Qy(),s!==null&&!Ja?(c.updateQueue=s.updateQueue,c.flags&=-2053,s.lanes&=~k,ru(s,c,k)):(ci&&v&&jy(c),c.flags|=1,Na(s,c,b,k),c.child)}function bk(s,c,v,b,k){if(s===null){var V=v.type;return typeof V=="function"&&!b_(V)&&V.defaultProps===void 0&&v.compare===null&&v.defaultProps===void 0?(c.tag=15,c.type=V,Tk(s,c,V,b,k)):(s=rv(v.type,null,b,c,c.mode,k),s.ref=c.ref,s.return=c,c.child=s)}if(V=s.child,(s.lanes&k)===0){var he=V.memoizedProps;if(v=v.compare,v=v!==null?v:sr,v(he,b)&&s.ref===c.ref)return ru(s,c,k)}return c.flags|=1,s=qu(V,b),s.ref=c.ref,s.return=c,c.child=s}function Tk(s,c,v,b,k){if(s!==null){var V=s.memoizedProps;if(sr(V,b)&&s.ref===c.ref)if(Ja=!1,c.pendingProps=b=V,(s.lanes&k)!==0)(s.flags&131072)!==0&&(Ja=!0);else return c.lanes=s.lanes,ru(s,c,k)}return a_(s,c,v,b,k)}function Ak(s,c,v){var b=c.pendingProps,k=b.children,V=s!==null?s.memoizedState:null;if(b.mode==="hidden")if((c.mode&1)===0)c.memoizedState={baseLanes:0,cachePool:null,transitions:null},Zn(tf,_o),_o|=v;else if((v&1073741824)!==0)c.memoizedState={baseLanes:0,cachePool:null,transitions:null},b=V!==null?V.baseLanes:v,Zn(tf,_o),_o|=b;else return s=V!==null?V.baseLanes|v:v,c.lanes=c.childLanes=1073741824,c.memoizedState={baseLanes:s,cachePool:null,transitions:null},c.updateQueue=null,Zn(tf,_o),_o|=s,null;else V!==null?(b=V.baseLanes|v,c.memoizedState=null):b=v,Zn(tf,_o),_o|=b;return Na(s,c,k,v),c.child}function Rk(s,c){var v=c.ref;(s===null&&v!==null||s!==null&&s.ref!==v)&&(c.flags|=512,c.flags|=2097152)}function a_(s,c,v,b,k){var V=Xa(v)?Sl:ma.current;return V=Wc(c,V),Kc(c,k),v=Xy(s,c,v,b,V,k),b=Qy(),s!==null&&!Ja?(c.updateQueue=s.updateQueue,c.flags&=-2053,s.lanes&=~k,ru(s,c,k)):(ci&&b&&jy(c),c.flags|=1,Na(s,c,v,k),c.child)}function xk(s,c,v,b,k){if(Xa(v)){var V=!0;Rp(c)}else V=!1;if(Kc(c,k),c.stateNode===null)s!==null&&(s.alternate=null,c.alternate=null,c.flags|=2),$P(c,v,b),Fy(c,v,b,k),b=!0;else if(s===null){var he=c.stateNode,Oe=c.memoizedProps;he.props=Oe;var Ve=he.context,gt=v.contextType;typeof gt=="object"&&gt!==null?gt=Uo(gt):(gt=Xa(v)?Sl:ma.current,gt=Wc(c,gt));var jt=v.getDerivedStateFromProps,nr=typeof jt=="function"||typeof he.getSnapshotBeforeUpdate=="function";nr||typeof he.UNSAFE_componentWillReceiveProps!="function"&&typeof he.componentWillReceiveProps!="function"||(Oe!==b||Ve!==gt)&&FP(c,he,b,gt),Lu=!1;var Dt=c.memoizedState;he.state=Dt,Pp(c,b,he,k),Ve=c.memoizedState,Oe!==b||Dt!==Ve||Ya.current||Lu?(typeof jt=="function"&&($y(c,v,jt,b),Ve=c.memoizedState),(Oe=Lu||MP(c,v,Oe,b,Dt,Ve,gt))?(nr||typeof he.UNSAFE_componentWillMount!="function"&&typeof he.componentWillMount!="function"||(typeof he.componentWillMount=="function"&&he.componentWillMount(),typeof he.UNSAFE_componentWillMount=="function"&&he.UNSAFE_componentWillMount()),typeof he.componentDidMount=="function"&&(c.flags|=4194308)):(typeof he.componentDidMount=="function"&&(c.flags|=4194308),c.memoizedProps=b,c.memoizedState=Ve),he.props=b,he.state=Ve,he.context=gt,b=Oe):(typeof he.componentDidMount=="function"&&(c.flags|=4194308),b=!1)}else{he=c.stateNode,kP(s,c),Oe=c.memoizedProps,gt=c.type===c.elementType?Oe:ls(c.type,Oe),he.props=gt,nr=c.pendingProps,Dt=he.context,Ve=v.contextType,typeof Ve=="object"&&Ve!==null?Ve=Uo(Ve):(Ve=Xa(v)?Sl:ma.current,Ve=Wc(c,Ve));var or=v.getDerivedStateFromProps;(jt=typeof or=="function"||typeof he.getSnapshotBeforeUpdate=="function")||typeof he.UNSAFE_componentWillReceiveProps!="function"&&typeof he.componentWillReceiveProps!="function"||(Oe!==nr||Dt!==Ve)&&FP(c,he,b,Ve),Lu=!1,Dt=c.memoizedState,he.state=Dt,Pp(c,b,he,k);var rr=c.memoizedState;Oe!==nr||Dt!==rr||Ya.current||Lu?(typeof or=="function"&&($y(c,v,or,b),rr=c.memoizedState),(gt=Lu||MP(c,v,gt,b,Dt,rr,Ve)||!1)?(jt||typeof he.UNSAFE_componentWillUpdate!="function"&&typeof he.componentWillUpdate!="function"||(typeof he.componentWillUpdate=="function"&&he.componentWillUpdate(b,rr,Ve),typeof he.UNSAFE_componentWillUpdate=="function"&&he.UNSAFE_componentWillUpdate(b,rr,Ve)),typeof he.componentDidUpdate=="function"&&(c.flags|=4),typeof he.getSnapshotBeforeUpdate=="function"&&(c.flags|=1024)):(typeof he.componentDidUpdate!="function"||Oe===s.memoizedProps&&Dt===s.memoizedState||(c.flags|=4),typeof he.getSnapshotBeforeUpdate!="function"||Oe===s.memoizedProps&&Dt===s.memoizedState||(c.flags|=1024),c.memoizedProps=b,c.memoizedState=rr),he.props=b,he.state=rr,he.context=Ve,b=gt):(typeof he.componentDidUpdate!="function"||Oe===s.memoizedProps&&Dt===s.memoizedState||(c.flags|=4),typeof he.getSnapshotBeforeUpdate!="function"||Oe===s.memoizedProps&&Dt===s.memoizedState||(c.flags|=1024),b=!1)}return o_(s,c,v,b,V,k)}function o_(s,c,v,b,k,V){Rk(s,c);var he=(c.flags&128)!==0;if(!b&&!he)return k&&IP(c,v,!1),ru(s,c,V);b=c.stateNode,fie.current=c;var Oe=he&&typeof v.getDerivedStateFromError!="function"?null:b.render();return c.flags|=1,s!==null&&he?(c.child=Jc(c,s.child,null,V),c.child=Jc(c,null,Oe,V)):Na(s,c,Oe,V),c.memoizedState=b.state,k&&IP(c,v,!0),c.child}function Ck(s){var c=s.stateNode;c.pendingContext?CP(s,c.pendingContext,c.pendingContext!==c.context):c.context&&CP(s,c.context,!1),Hy(s,c.containerInfo)}function Ok(s,c,v,b,k){return Qc(),Vy(k),c.flags|=256,Na(s,c,v,b),c.child}var Bp={dehydrated:null,treeContext:null,retryLane:0};function Vp(s){return{baseLanes:s,cachePool:null,transitions:null}}function Ik(s,c){return{baseLanes:s.baseLanes|c,cachePool:null,transitions:s.transitions}}function Pk(s,c,v){var b=c.pendingProps,k=gi.current,V=!1,he=(c.flags&128)!==0,Oe;if((Oe=he)||(Oe=s!==null&&s.memoizedState===null?!1:(k&2)!==0),Oe?(V=!0,c.flags&=-129):(s===null||s.memoizedState!==null)&&(k|=1),Zn(gi,k&1),s===null)return By(c),s=c.memoizedState,s!==null&&(s=s.dehydrated,s!==null)?((c.mode&1)===0?c.lanes=1:s.data==="$!"?c.lanes=8:c.lanes=1073741824,null):(k=b.children,s=b.fallback,V?(b=c.mode,V=c.child,k={mode:"hidden",children:k},(b&1)===0&&V!==null?(V.childLanes=0,V.pendingProps=k):V=nv(k,b,0,null),s=Il(s,b,v,null),V.return=c,s.return=c,V.sibling=s,c.child=V,c.child.memoizedState=Vp(v),c.memoizedState=Bp,s):s_(c,k));if(k=s.memoizedState,k!==null){if(Oe=k.dehydrated,Oe!==null){if(he)return c.flags&256?(c.flags&=-257,Hp(s,c,v,Error(r(422)))):c.memoizedState!==null?(c.child=s.child,c.flags|=128,null):(V=b.fallback,k=c.mode,b=nv({mode:"visible",children:b.children},k,0,null),V=Il(V,k,v,null),V.flags|=2,b.return=c,V.return=c,b.sibling=V,c.child=b,(c.mode&1)!==0&&Jc(c,s.child,null,v),c.child.memoizedState=Vp(v),c.memoizedState=Bp,V);if((c.mode&1)===0)c=Hp(s,c,v,null);else if(Oe.data==="$!")c=Hp(s,c,v,Error(r(419)));else if(b=(v&s.childLanes)!==0,Ja||b){if(b=qi,b!==null){switch(v&-v){case 4:V=2;break;case 16:V=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:V=32;break;case 536870912:V=268435456;break;default:V=0}b=(V&(b.suspendedLanes|v))!==0?0:V,b!==0&&b!==k.retryLane&&(k.retryLane=b,zo(s,b,-1))}w_(),c=Hp(s,c,v,Error(r(421)))}else Oe.data==="$?"?(c.flags|=128,c.child=s.child,c=bie.bind(null,s),Oe._reactRetry=c,c=null):(v=k.treeContext,Qa=Xs(Oe.nextSibling),yo=c,ci=!0,fs=null,v!==null&&(qo[Bo++]=eu,qo[Bo++]=tu,qo[Bo++]=wl,eu=v.id,tu=v.overflow,wl=c),c=s_(c,c.pendingProps.children),c.flags|=4096);return c}return V?(b=Dk(s,c,b.children,b.fallback,v),V=c.child,k=s.child.memoizedState,V.memoizedState=k===null?Vp(v):Ik(k,v),V.childLanes=s.childLanes&~v,c.memoizedState=Bp,b):(v=kk(s,c,b.children,v),c.memoizedState=null,v)}return V?(b=Dk(s,c,b.children,b.fallback,v),V=c.child,k=s.child.memoizedState,V.memoizedState=k===null?Vp(v):Ik(k,v),V.childLanes=s.childLanes&~v,c.memoizedState=Bp,b):(v=kk(s,c,b.children,v),c.memoizedState=null,v)}function s_(s,c){return c=nv({mode:"visible",children:c},s.mode,0,null),c.return=s,s.child=c}function kk(s,c,v,b){var k=s.child;return s=k.sibling,v=qu(k,{mode:"visible",children:v}),(c.mode&1)===0&&(v.lanes=b),v.return=c,v.sibling=null,s!==null&&(b=c.deletions,b===null?(c.deletions=[s],c.flags|=16):b.push(s)),c.child=v}function Dk(s,c,v,b,k){var V=c.mode;s=s.child;var he=s.sibling,Oe={mode:"hidden",children:v};return(V&1)===0&&c.child!==s?(v=c.child,v.childLanes=0,v.pendingProps=Oe,c.deletions=null):(v=qu(s,Oe),v.subtreeFlags=s.subtreeFlags&14680064),he!==null?b=qu(he,b):(b=Il(b,V,k,null),b.flags|=2),b.return=c,v.return=c,v.sibling=b,c.child=v,b}function Hp(s,c,v,b){return b!==null&&Vy(b),Jc(c,s.child,null,v),s=s_(c,c.pendingProps.children),s.flags|=2,c.memoizedState=null,s}function Lk(s,c,v){s.lanes|=c;var b=s.alternate;b!==null&&(b.lanes|=c),Ny(s.return,c,v)}function u_(s,c,v,b,k){var V=s.memoizedState;V===null?s.memoizedState={isBackwards:c,rendering:null,renderingStartTime:0,last:b,tail:v,tailMode:k}:(V.isBackwards=c,V.rendering=null,V.renderingStartTime=0,V.last=b,V.tail=v,V.tailMode=k)}function Nk(s,c,v){var b=c.pendingProps,k=b.revealOrder,V=b.tail;if(Na(s,c,b.children,v),b=gi.current,(b&2)!==0)b=b&1|2,c.flags|=128;else{if(s!==null&&(s.flags&128)!==0)e:for(s=c.child;s!==null;){if(s.tag===13)s.memoizedState!==null&&Lk(s,v,c);else if(s.tag===19)Lk(s,v,c);else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===c)break e;for(;s.sibling===null;){if(s.return===null||s.return===c)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}b&=1}if(Zn(gi,b),(c.mode&1)===0)c.memoizedState=null;else switch(k){case"forwards":for(v=c.child,k=null;v!==null;)s=v.alternate,s!==null&&Mp(s)===null&&(k=v),v=v.sibling;v=k,v===null?(k=c.child,c.child=null):(k=v.sibling,v.sibling=null),u_(c,!1,k,v,V);break;case"backwards":for(v=null,k=c.child,c.child=null;k!==null;){if(s=k.alternate,s!==null&&Mp(s)===null){c.child=k;break}s=k.sibling,k.sibling=v,v=k,k=s}u_(c,!0,v,null,V);break;case"together":u_(c,!1,null,null,void 0);break;default:c.memoizedState=null}return c.child}function ru(s,c,v){if(s!==null&&(c.dependencies=s.dependencies),Rl|=c.lanes,(v&c.childLanes)===0)return null;if(s!==null&&c.child!==s.child)throw Error(r(153));if(c.child!==null){for(s=c.child,v=qu(s,s.pendingProps),c.child=v,v.return=c;s.sibling!==null;)s=s.sibling,v=v.sibling=qu(s,s.pendingProps),v.return=c;v.sibling=null}return c.child}function die(s,c,v){switch(c.tag){case 3:Ck(c),Qc();break;case 5:WP(c);break;case 1:Xa(c.type)&&Rp(c);break;case 4:Hy(c,c.stateNode.containerInfo);break;case 10:var b=c.type._context,k=c.memoizedProps.value;Zn(Cp,b._currentValue),b._currentValue=k;break;case 13:if(b=c.memoizedState,b!==null)return b.dehydrated!==null?(Zn(gi,gi.current&1),c.flags|=128,null):(v&c.child.childLanes)!==0?Pk(s,c,v):(Zn(gi,gi.current&1),s=ru(s,c,v),s!==null?s.sibling:null);Zn(gi,gi.current&1);break;case 19:if(b=(v&c.childLanes)!==0,(s.flags&128)!==0){if(b)return Nk(s,c,v);c.flags|=128}if(k=c.memoizedState,k!==null&&(k.rendering=null,k.tail=null,k.lastEffect=null),Zn(gi,gi.current),b)break;return null;case 22:case 23:return c.lanes=0,Ak(s,c,v)}return ru(s,c,v)}function hie(s,c){switch(Uy(c),c.tag){case 1:return Xa(c.type)&&Ap(),s=c.flags,s&65536?(c.flags=s&-65537|128,c):null;case 3:return Zc(),ai(Ya),ai(ma),Gy(),s=c.flags,(s&65536)!==0&&(s&128)===0?(c.flags=s&-65537|128,c):null;case 5:return zy(c),null;case 13:if(ai(gi),s=c.memoizedState,s!==null&&s.dehydrated!==null){if(c.alternate===null)throw Error(r(340));Qc()}return s=c.flags,s&65536?(c.flags=s&-65537|128,c):null;case 19:return ai(gi),null;case 4:return Zc(),null;case 10:return Ly(c.type._context),null;case 22:case 23:return S_(),null;case 24:return null;default:return null}}var zp=!1,Ea=!1,pie=typeof WeakSet=="function"?WeakSet:Set,ur=null;function ef(s,c){var v=s.ref;if(v!==null)if(typeof v=="function")try{v(null)}catch(b){Ti(s,c,b)}else v.current=null}function l_(s,c,v){try{v()}catch(b){Ti(s,c,b)}}var Mk=!1;function vie(s,c){if(Ty=Gi,s=jr(),Qr(s)){if("selectionStart"in s)var v={start:s.selectionStart,end:s.selectionEnd};else e:{v=(v=s.ownerDocument)&&v.defaultView||window;var b=v.getSelection&&v.getSelection();if(b&&b.rangeCount!==0){v=b.anchorNode;var k=b.anchorOffset,V=b.focusNode;b=b.focusOffset;try{v.nodeType,V.nodeType}catch{v=null;break e}var he=0,Oe=-1,Ve=-1,gt=0,jt=0,nr=s,Dt=null;t:for(;;){for(var or;nr!==v||k!==0&&nr.nodeType!==3||(Oe=he+k),nr!==V||b!==0&&nr.nodeType!==3||(Ve=he+b),nr.nodeType===3&&(he+=nr.nodeValue.length),(or=nr.firstChild)!==null;)Dt=nr,nr=or;for(;;){if(nr===s)break t;if(Dt===v&&++gt===k&&(Oe=he),Dt===V&&++jt===b&&(Ve=he),(or=nr.nextSibling)!==null)break;nr=Dt,Dt=nr.parentNode}nr=or}v=Oe===-1||Ve===-1?null:{start:Oe,end:Ve}}else v=null}v=v||{start:0,end:0}}else v=null;for(Ay={focusedElem:s,selectionRange:v},Gi=!1,ur=c;ur!==null;)if(c=ur,s=c.child,(c.subtreeFlags&1028)!==0&&s!==null)s.return=c,ur=s;else for(;ur!==null;){c=ur;try{var rr=c.alternate;if((c.flags&1024)!==0)switch(c.tag){case 0:case 11:case 15:break;case 1:if(rr!==null){var zr=rr.memoizedProps,Ii=rr.memoizedState,at=c.stateNode,Ke=at.getSnapshotBeforeUpdate(c.elementType===c.type?zr:ls(c.type,zr),Ii);at.__reactInternalSnapshotBeforeUpdate=Ke}break;case 3:var pt=c.stateNode.containerInfo;if(pt.nodeType===1)pt.textContent="";else if(pt.nodeType===9){var Xt=pt.body;Xt!=null&&(Xt.textContent="")}break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(cr){Ti(c,c.return,cr)}if(s=c.sibling,s!==null){s.return=c.return,ur=s;break}ur=c.return}return rr=Mk,Mk=!1,rr}function Nd(s,c,v){var b=c.updateQueue;if(b=b!==null?b.lastEffect:null,b!==null){var k=b=b.next;do{if((k.tag&s)===s){var V=k.destroy;k.destroy=void 0,V!==void 0&&l_(c,v,V)}k=k.next}while(k!==b)}}function Wp(s,c){if(c=c.updateQueue,c=c!==null?c.lastEffect:null,c!==null){var v=c=c.next;do{if((v.tag&s)===s){var b=v.create;v.destroy=b()}v=v.next}while(v!==c)}}function c_(s){var c=s.ref;if(c!==null){var v=s.stateNode;switch(s.tag){case 5:s=v;break;default:s=v}typeof c=="function"?c(s):c.current=s}}function $k(s){var c=s.alternate;c!==null&&(s.alternate=null,$k(c)),s.child=null,s.deletions=null,s.sibling=null,s.tag===5&&(c=s.stateNode,c!==null&&(delete c[Rs],delete c[bd],delete c[Oy],delete c[Jne],delete c[Zne])),s.stateNode=null,s.return=null,s.dependencies=null,s.memoizedProps=null,s.memoizedState=null,s.pendingProps=null,s.stateNode=null,s.updateQueue=null}function Fk(s){return s.tag===5||s.tag===3||s.tag===4}function jk(s){e:for(;;){for(;s.sibling===null;){if(s.return===null||Fk(s.return))return null;s=s.return}for(s.sibling.return=s.return,s=s.sibling;s.tag!==5&&s.tag!==6&&s.tag!==18;){if(s.flags&2||s.child===null||s.tag===4)continue e;s.child.return=s,s=s.child}if(!(s.flags&2))return s.stateNode}}function f_(s,c,v){var b=s.tag;if(b===5||b===6)s=s.stateNode,c?v.nodeType===8?v.parentNode.insertBefore(s,c):v.insertBefore(s,c):(v.nodeType===8?(c=v.parentNode,c.insertBefore(s,v)):(c=v,c.appendChild(s)),v=v._reactRootContainer,v!=null||c.onclick!==null||(c.onclick=bp));else if(b!==4&&(s=s.child,s!==null))for(f_(s,c,v),s=s.sibling;s!==null;)f_(s,c,v),s=s.sibling}function d_(s,c,v){var b=s.tag;if(b===5||b===6)s=s.stateNode,c?v.insertBefore(s,c):v.appendChild(s);else if(b!==4&&(s=s.child,s!==null))for(d_(s,c,v),s=s.sibling;s!==null;)d_(s,c,v),s=s.sibling}var na=null,ds=!1;function Mu(s,c,v){for(v=v.child;v!==null;)Uk(s,c,v),v=v.sibling}function Uk(s,c,v){if(an&&typeof an.onCommitFiberUnmount=="function")try{an.onCommitFiberUnmount(Kr,v)}catch{}switch(v.tag){case 5:Ea||ef(v,c);case 6:var b=na,k=ds;na=null,Mu(s,c,v),na=b,ds=k,na!==null&&(ds?(s=na,v=v.stateNode,s.nodeType===8?s.parentNode.removeChild(v):s.removeChild(v)):na.removeChild(v.stateNode));break;case 18:na!==null&&(ds?(s=na,v=v.stateNode,s.nodeType===8?Cy(s.parentNode,v):s.nodeType===1&&Cy(s,v),Ha(s)):Cy(na,v.stateNode));break;case 4:b=na,k=ds,na=v.stateNode.containerInfo,ds=!0,Mu(s,c,v),na=b,ds=k;break;case 0:case 11:case 14:case 15:if(!Ea&&(b=v.updateQueue,b!==null&&(b=b.lastEffect,b!==null))){k=b=b.next;do{var V=k,he=V.destroy;V=V.tag,he!==void 0&&((V&2)!==0||(V&4)!==0)&&l_(v,c,he),k=k.next}while(k!==b)}Mu(s,c,v);break;case 1:if(!Ea&&(ef(v,c),b=v.stateNode,typeof b.componentWillUnmount=="function"))try{b.props=v.memoizedProps,b.state=v.memoizedState,b.componentWillUnmount()}catch(Oe){Ti(v,c,Oe)}Mu(s,c,v);break;case 21:Mu(s,c,v);break;case 22:v.mode&1?(Ea=(b=Ea)||v.memoizedState!==null,Mu(s,c,v),Ea=b):Mu(s,c,v);break;default:Mu(s,c,v)}}function qk(s){var c=s.updateQueue;if(c!==null){s.updateQueue=null;var v=s.stateNode;v===null&&(v=s.stateNode=new pie),c.forEach(function(b){var k=Tie.bind(null,s,b);v.has(b)||(v.add(b),b.then(k,k))})}}function hs(s,c){var v=c.deletions;if(v!==null)for(var b=0;b<v.length;b++){var k=v[b];try{var V=s,he=c,Oe=he;e:for(;Oe!==null;){switch(Oe.tag){case 5:na=Oe.stateNode,ds=!1;break e;case 3:na=Oe.stateNode.containerInfo,ds=!0;break e;case 4:na=Oe.stateNode.containerInfo,ds=!0;break e}Oe=Oe.return}if(na===null)throw Error(r(160));Uk(V,he,k),na=null,ds=!1;var Ve=k.alternate;Ve!==null&&(Ve.return=null),k.return=null}catch(gt){Ti(k,c,gt)}}if(c.subtreeFlags&12854)for(c=c.child;c!==null;)Bk(c,s),c=c.sibling}function Bk(s,c){var v=s.alternate,b=s.flags;switch(s.tag){case 0:case 11:case 14:case 15:if(hs(c,s),Os(s),b&4){try{Nd(3,s,s.return),Wp(3,s)}catch(rr){Ti(s,s.return,rr)}try{Nd(5,s,s.return)}catch(rr){Ti(s,s.return,rr)}}break;case 1:hs(c,s),Os(s),b&512&&v!==null&&ef(v,v.return);break;case 5:if(hs(c,s),Os(s),b&512&&v!==null&&ef(v,v.return),s.flags&32){var k=s.stateNode;try{Xe(k,"")}catch(rr){Ti(s,s.return,rr)}}if(b&4&&(k=s.stateNode,k!=null)){var V=s.memoizedProps,he=v!==null?v.memoizedProps:V,Oe=s.type,Ve=s.updateQueue;if(s.updateQueue=null,Ve!==null)try{Oe==="input"&&V.type==="radio"&&V.name!=null&&be(k,V),Ct(Oe,he);var gt=Ct(Oe,V);for(he=0;he<Ve.length;he+=2){var jt=Ve[he],nr=Ve[he+1];jt==="style"?At(k,nr):jt==="dangerouslySetInnerHTML"?Mt(k,nr):jt==="children"?Xe(k,nr):C(k,jt,nr,gt)}switch(Oe){case"input":_e(k,V);break;case"textarea":Pe(k,V);break;case"select":var Dt=k._wrapperState.wasMultiple;k._wrapperState.wasMultiple=!!V.multiple;var or=V.value;or!=null?me(k,!!V.multiple,or,!1):Dt!==!!V.multiple&&(V.defaultValue!=null?me(k,!!V.multiple,V.defaultValue,!0):me(k,!!V.multiple,V.multiple?[]:"",!1))}k[bd]=V}catch(rr){Ti(s,s.return,rr)}}break;case 6:if(hs(c,s),Os(s),b&4){if(s.stateNode===null)throw Error(r(162));gt=s.stateNode,jt=s.memoizedProps;try{gt.nodeValue=jt}catch(rr){Ti(s,s.return,rr)}}break;case 3:if(hs(c,s),Os(s),b&4&&v!==null&&v.memoizedState.isDehydrated)try{Ha(c.containerInfo)}catch(rr){Ti(s,s.return,rr)}break;case 4:hs(c,s),Os(s);break;case 13:hs(c,s),Os(s),gt=s.child,gt.flags&8192&&gt.memoizedState!==null&&(gt.alternate===null||gt.alternate.memoizedState===null)&&(v_=tt()),b&4&&qk(s);break;case 22:if(gt=v!==null&&v.memoizedState!==null,s.mode&1?(Ea=(jt=Ea)||gt,hs(c,s),Ea=jt):hs(c,s),Os(s),b&8192){jt=s.memoizedState!==null;e:for(nr=null,Dt=s;;){if(Dt.tag===5){if(nr===null){nr=Dt;try{k=Dt.stateNode,jt?(V=k.style,typeof V.setProperty=="function"?V.setProperty("display","none","important"):V.display="none"):(Oe=Dt.stateNode,Ve=Dt.memoizedProps.style,he=Ve!=null&&Ve.hasOwnProperty("display")?Ve.display:null,Oe.style.display=Et("display",he))}catch(rr){Ti(s,s.return,rr)}}}else if(Dt.tag===6){if(nr===null)try{Dt.stateNode.nodeValue=jt?"":Dt.memoizedProps}catch(rr){Ti(s,s.return,rr)}}else if((Dt.tag!==22&&Dt.tag!==23||Dt.memoizedState===null||Dt===s)&&Dt.child!==null){Dt.child.return=Dt,Dt=Dt.child;continue}if(Dt===s)break e;for(;Dt.sibling===null;){if(Dt.return===null||Dt.return===s)break e;nr===Dt&&(nr=null),Dt=Dt.return}nr===Dt&&(nr=null),Dt.sibling.return=Dt.return,Dt=Dt.sibling}if(jt&&!gt&&(s.mode&1)!==0)for(ur=s,s=s.child;s!==null;){for(gt=ur=s;ur!==null;){switch(jt=ur,nr=jt.child,jt.tag){case 0:case 11:case 14:case 15:Nd(4,jt,jt.return);break;case 1:if(ef(jt,jt.return),V=jt.stateNode,typeof V.componentWillUnmount=="function"){Dt=jt,or=jt.return;try{k=Dt,V.props=k.memoizedProps,V.state=k.memoizedState,V.componentWillUnmount()}catch(rr){Ti(Dt,or,rr)}}break;case 5:ef(jt,jt.return);break;case 22:if(jt.memoizedState!==null){zk(gt);continue}}nr!==null?(nr.return=jt,ur=nr):zk(gt)}s=s.sibling}}break;case 19:hs(c,s),Os(s),b&4&&qk(s);break;case 21:break;default:hs(c,s),Os(s)}}function Os(s){var c=s.flags;if(c&2){try{e:{for(var v=s.return;v!==null;){if(Fk(v)){var b=v;break e}v=v.return}throw Error(r(160))}switch(b.tag){case 5:var k=b.stateNode;b.flags&32&&(Xe(k,""),b.flags&=-33);var V=jk(s);d_(s,V,k);break;case 3:case 4:var he=b.stateNode.containerInfo,Oe=jk(s);f_(s,Oe,he);break;default:throw Error(r(161))}}catch(Ve){Ti(s,s.return,Ve)}s.flags&=-3}c&4096&&(s.flags&=-4097)}function gie(s,c,v){ur=s,Vk(s)}function Vk(s,c,v){for(var b=(s.mode&1)!==0;ur!==null;){var k=ur,V=k.child;if(k.tag===22&&b){var he=k.memoizedState!==null||zp;if(!he){var Oe=k.alternate,Ve=Oe!==null&&Oe.memoizedState!==null||Ea;Oe=zp;var gt=Ea;if(zp=he,(Ea=Ve)&&!gt)for(ur=k;ur!==null;)he=ur,Ve=he.child,he.tag===22&&he.memoizedState!==null?Wk(k):Ve!==null?(Ve.return=he,ur=Ve):Wk(k);for(;V!==null;)ur=V,Vk(V),V=V.sibling;ur=k,zp=Oe,Ea=gt}Hk(s)}else(k.subtreeFlags&8772)!==0&&V!==null?(V.return=k,ur=V):Hk(s)}}function Hk(s){for(;ur!==null;){var c=ur;if((c.flags&8772)!==0){var v=c.alternate;try{if((c.flags&8772)!==0)switch(c.tag){case 0:case 11:case 15:Ea||Wp(5,c);break;case 1:var b=c.stateNode;if(c.flags&4&&!Ea)if(v===null)b.componentDidMount();else{var k=c.elementType===c.type?v.memoizedProps:ls(c.type,v.memoizedProps);b.componentDidUpdate(k,v.memoizedState,b.__reactInternalSnapshotBeforeUpdate)}var V=c.updateQueue;V!==null&&LP(c,V,b);break;case 3:var he=c.updateQueue;if(he!==null){if(v=null,c.child!==null)switch(c.child.tag){case 5:v=c.child.stateNode;break;case 1:v=c.child.stateNode}LP(c,he,v)}break;case 5:var Oe=c.stateNode;if(v===null&&c.flags&4){v=Oe;var Ve=c.memoizedProps;switch(c.type){case"button":case"input":case"select":case"textarea":Ve.autoFocus&&v.focus();break;case"img":Ve.src&&(v.src=Ve.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(c.memoizedState===null){var gt=c.alternate;if(gt!==null){var jt=gt.memoizedState;if(jt!==null){var nr=jt.dehydrated;nr!==null&&Ha(nr)}}}break;case 19:case 17:case 21:case 22:case 23:break;default:throw Error(r(163))}Ea||c.flags&512&&c_(c)}catch(Dt){Ti(c,c.return,Dt)}}if(c===s){ur=null;break}if(v=c.sibling,v!==null){v.return=c.return,ur=v;break}ur=c.return}}function zk(s){for(;ur!==null;){var c=ur;if(c===s){ur=null;break}var v=c.sibling;if(v!==null){v.return=c.return,ur=v;break}ur=c.return}}function Wk(s){for(;ur!==null;){var c=ur;try{switch(c.tag){case 0:case 11:case 15:var v=c.return;try{Wp(4,c)}catch(Ve){Ti(c,v,Ve)}break;case 1:var b=c.stateNode;if(typeof b.componentDidMount=="function"){var k=c.return;try{b.componentDidMount()}catch(Ve){Ti(c,k,Ve)}}var V=c.return;try{c_(c)}catch(Ve){Ti(c,V,Ve)}break;case 5:var he=c.return;try{c_(c)}catch(Ve){Ti(c,he,Ve)}}}catch(Ve){Ti(c,c.return,Ve)}if(c===s){ur=null;break}var Oe=c.sibling;if(Oe!==null){Oe.return=c.return,ur=Oe;break}ur=c.return}}var mie=Math.ceil,Gp=x.ReactCurrentDispatcher,h_=x.ReactCurrentOwner,Ho=x.ReactCurrentBatchConfig,gn=0,qi=null,$i=null,ia=0,_o=0,tf=Pu(0),Bi=0,Md=null,Rl=0,Kp=0,p_=0,$d=null,Za=null,v_=0,rf=1/0,nu=null,Yp=!1,g_=null,$u=null,Xp=!1,Fu=null,Qp=0,Fd=0,m_=null,Jp=-1,Zp=0;function Ma(){return(gn&6)!==0?tt():Jp!==-1?Jp:Jp=tt()}function ju(s){return(s.mode&1)===0?1:(gn&2)!==0&&ia!==0?ia&-ia:tie.transition!==null?(Zp===0&&(Zp=Fe()),Zp):(s=Qt,s!==0||(s=window.event,s=s===void 0?16:Ks(s.type)),s)}function zo(s,c,v){if(50<Fd)throw Fd=0,m_=null,Error(r(185));var b=ev(s,c);return b===null?null:(et(b,c,v),((gn&2)===0||b!==qi)&&(b===qi&&((gn&2)===0&&(Kp|=c),Bi===4&&Uu(b,ia)),eo(b,v),c===1&&gn===0&&(s.mode&1)===0&&(rf=tt()+500,xp&&Du())),b)}function ev(s,c){s.lanes|=c;var v=s.alternate;for(v!==null&&(v.lanes|=c),v=s,s=s.return;s!==null;)s.childLanes|=c,v=s.alternate,v!==null&&(v.childLanes|=c),v=s,s=s.return;return v.tag===3?v.stateNode:null}function Gk(s){return(qi!==null||cs!==null)&&(s.mode&1)!==0&&(gn&2)===0}function eo(s,c){var v=s.callbackNode;re(s,c);var b=va(s,s===qi?ia:0);if(b===0)v!==null&&fr(v),s.callbackNode=null,s.callbackPriority=0;else if(c=b&-b,s.callbackPriority!==c){if(v!=null&&fr(v),c===1)s.tag===0?eie(Yk.bind(null,s)):PP(Yk.bind(null,s)),Xne(function(){gn===0&&Du()}),v=null;else{switch(yr(b)){case 1:v=kt;break;case 4:v=dt;break;case 16:v=Gt;break;case 536870912:v=Wr;break;default:v=Gt}v=nD(v,Kk.bind(null,s))}s.callbackPriority=c,s.callbackNode=v}}function Kk(s,c){if(Jp=-1,Zp=0,(gn&6)!==0)throw Error(r(327));var v=s.callbackNode;if(nf()&&s.callbackNode!==v)return null;var b=va(s,s===qi?ia:0);if(b===0)return null;if((b&30)!==0||(b&s.expiredLanes)!==0||c)c=tv(s,b);else{c=b;var k=gn;gn|=2;var V=Qk();(qi!==s||ia!==c)&&(nu=null,rf=tt()+500,Cl(s,c));do try{Eie();break}catch(Oe){Xk(s,Oe)}while(!0);Dy(),Gp.current=V,gn=k,$i!==null?c=0:(qi=null,ia=0,c=Bi)}if(c!==0){if(c===2&&(k=Ee(s),k!==0&&(b=k,c=y_(s,k))),c===1)throw v=Md,Cl(s,0),Uu(s,b),eo(s,tt()),v;if(c===6)Uu(s,b);else{if(k=s.current.alternate,(b&30)===0&&!yie(k)&&(c=tv(s,b),c===2&&(V=Ee(s),V!==0&&(b=V,c=y_(s,V))),c===1))throw v=Md,Cl(s,0),Uu(s,b),eo(s,tt()),v;switch(s.finishedWork=k,s.finishedLanes=b,c){case 0:case 1:throw Error(r(345));case 2:Ol(s,Za,nu);break;case 3:if(Uu(s,b),(b&130023424)===b&&(c=v_+500-tt(),10<c)){if(va(s,0)!==0)break;if(k=s.suspendedLanes,(k&b)!==b){Ma(),s.pingedLanes|=s.suspendedLanes&k;break}s.timeoutHandle=xy(Ol.bind(null,s,Za,nu),c);break}Ol(s,Za,nu);break;case 4:if(Uu(s,b),(b&4194240)===b)break;for(c=s.eventTimes,k=-1;0<b;){var he=31-Vr(b);V=1<<he,he=c[he],he>k&&(k=he),b&=~V}if(b=k,b=tt()-b,b=(120>b?120:480>b?480:1080>b?1080:1920>b?1920:3e3>b?3e3:4320>b?4320:1960*mie(b/1960))-b,10<b){s.timeoutHandle=xy(Ol.bind(null,s,Za,nu),b);break}Ol(s,Za,nu);break;case 5:Ol(s,Za,nu);break;default:throw Error(r(329))}}}return eo(s,tt()),s.callbackNode===v?Kk.bind(null,s):null}function y_(s,c){var v=$d;return s.current.memoizedState.isDehydrated&&(Cl(s,c).flags|=256),s=tv(s,c),s!==2&&(c=Za,Za=v,c!==null&&__(c)),s}function __(s){Za===null?Za=s:Za.push.apply(Za,s)}function yie(s){for(var c=s;;){if(c.flags&16384){var v=c.updateQueue;if(v!==null&&(v=v.stores,v!==null))for(var b=0;b<v.length;b++){var k=v[b],V=k.getSnapshot;k=k.value;try{if(!er(V(),k))return!1}catch{return!1}}}if(v=c.child,c.subtreeFlags&16384&&v!==null)v.return=c,c=v;else{if(c===s)break;for(;c.sibling===null;){if(c.return===null||c.return===s)return!0;c=c.return}c.sibling.return=c.return,c=c.sibling}}return!0}function Uu(s,c){for(c&=~p_,c&=~Kp,s.suspendedLanes|=c,s.pingedLanes&=~c,s=s.expirationTimes;0<c;){var v=31-Vr(c),b=1<<v;s[v]=-1,c&=~b}}function Yk(s){if((gn&6)!==0)throw Error(r(327));nf();var c=va(s,0);if((c&1)===0)return eo(s,tt()),null;var v=tv(s,c);if(s.tag!==0&&v===2){var b=Ee(s);b!==0&&(c=b,v=y_(s,b))}if(v===1)throw v=Md,Cl(s,0),Uu(s,c),eo(s,tt()),v;if(v===6)throw Error(r(345));return s.finishedWork=s.current.alternate,s.finishedLanes=c,Ol(s,Za,nu),eo(s,tt()),null}function E_(s,c){var v=gn;gn|=1;try{return s(c)}finally{gn=v,gn===0&&(rf=tt()+500,xp&&Du())}}function xl(s){Fu!==null&&Fu.tag===0&&(gn&6)===0&&nf();var c=gn;gn|=1;var v=Ho.transition,b=Qt;try{if(Ho.transition=null,Qt=1,s)return s()}finally{Qt=b,Ho.transition=v,gn=c,(gn&6)===0&&Du()}}function S_(){_o=tf.current,ai(tf)}function Cl(s,c){s.finishedWork=null,s.finishedLanes=0;var v=s.timeoutHandle;if(v!==-1&&(s.timeoutHandle=-1,Yne(v)),$i!==null)for(v=$i.return;v!==null;){var b=v;switch(Uy(b),b.tag){case 1:b=b.type.childContextTypes,b!=null&&Ap();break;case 3:Zc(),ai(Ya),ai(ma),Gy();break;case 5:zy(b);break;case 4:Zc();break;case 13:ai(gi);break;case 19:ai(gi);break;case 10:Ly(b.type._context);break;case 22:case 23:S_()}v=v.return}if(qi=s,$i=s=qu(s.current,null),ia=_o=c,Bi=0,Md=null,p_=Kp=Rl=0,Za=$d=null,cs!==null){for(c=0;c<cs.length;c++)if(v=cs[c],b=v.interleaved,b!==null){v.interleaved=null;var k=b.next,V=v.pending;if(V!==null){var he=V.next;V.next=k,b.next=he}v.pending=b}cs=null}return s}function Xk(s,c){do{var v=$i;try{if(Dy(),$p.current=qp,Fp){for(var b=mi.memoizedState;b!==null;){var k=b.queue;k!==null&&(k.pending=null),b=b.next}Fp=!1}if(Al=0,Qi=Ui=mi=null,Id=!1,Pd=0,h_.current=null,v===null||v.return===null){Bi=1,Md=c,$i=null;break}e:{var V=s,he=v.return,Oe=v,Ve=c;if(c=ia,Oe.flags|=32768,Ve!==null&&typeof Ve=="object"&&typeof Ve.then=="function"){var gt=Ve,jt=Oe,nr=jt.tag;if((jt.mode&1)===0&&(nr===0||nr===11||nr===15)){var Dt=jt.alternate;Dt?(jt.updateQueue=Dt.updateQueue,jt.memoizedState=Dt.memoizedState,jt.lanes=Dt.lanes):(jt.updateQueue=null,jt.memoizedState=null)}var or=mk(he);if(or!==null){or.flags&=-257,yk(or,he,Oe,V,c),or.mode&1&&gk(V,gt,c),c=or,Ve=gt;var rr=c.updateQueue;if(rr===null){var zr=new Set;zr.add(Ve),c.updateQueue=zr}else rr.add(Ve);break e}else{if((c&1)===0){gk(V,gt,c),w_();break e}Ve=Error(r(426))}}else if(ci&&Oe.mode&1){var Ii=mk(he);if(Ii!==null){(Ii.flags&65536)===0&&(Ii.flags|=256),yk(Ii,he,Oe,V,c),Vy(Ve);break e}}V=Ve,Bi!==4&&(Bi=2),$d===null?$d=[V]:$d.push(V),Ve=r_(Ve,Oe),Oe=he;do{switch(Oe.tag){case 3:Oe.flags|=65536,c&=-c,Oe.lanes|=c;var at=pk(Oe,Ve,c);DP(Oe,at);break e;case 1:V=Ve;var Ke=Oe.type,pt=Oe.stateNode;if((Oe.flags&128)===0&&(typeof Ke.getDerivedStateFromError=="function"||pt!==null&&typeof pt.componentDidCatch=="function"&&($u===null||!$u.has(pt)))){Oe.flags|=65536,c&=-c,Oe.lanes|=c;var Xt=vk(Oe,V,c);DP(Oe,Xt);break e}}Oe=Oe.return}while(Oe!==null)}Zk(v)}catch(cr){c=cr,$i===v&&v!==null&&($i=v=v.return);continue}break}while(!0)}function Qk(){var s=Gp.current;return Gp.current=qp,s===null?qp:s}function w_(){(Bi===0||Bi===3||Bi===2)&&(Bi=4),qi===null||(Rl&268435455)===0&&(Kp&268435455)===0||Uu(qi,ia)}function tv(s,c){var v=gn;gn|=2;var b=Qk();(qi!==s||ia!==c)&&(nu=null,Cl(s,c));do try{_ie();break}catch(k){Xk(s,k)}while(!0);if(Dy(),gn=v,Gp.current=b,$i!==null)throw Error(r(261));return qi=null,ia=0,Bi}function _ie(){for(;$i!==null;)Jk($i)}function Eie(){for(;$i!==null&&!ye();)Jk($i)}function Jk(s){var c=rD(s.alternate,s,_o);s.memoizedProps=s.pendingProps,c===null?Zk(s):$i=c,h_.current=null}function Zk(s){var c=s;do{var v=c.alternate;if(s=c.return,(c.flags&32768)===0){if(v=cie(v,c,_o),v!==null){$i=v;return}}else{if(v=hie(v,c),v!==null){v.flags&=32767,$i=v;return}if(s!==null)s.flags|=32768,s.subtreeFlags=0,s.deletions=null;else{Bi=6,$i=null;return}}if(c=c.sibling,c!==null){$i=c;return}$i=c=s}while(c!==null);Bi===0&&(Bi=5)}function Ol(s,c,v){var b=Qt,k=Ho.transition;try{Ho.transition=null,Qt=1,Sie(s,c,v,b)}finally{Ho.transition=k,Qt=b}return null}function Sie(s,c,v,b){do nf();while(Fu!==null);if((gn&6)!==0)throw Error(r(327));v=s.finishedWork;var k=s.finishedLanes;if(v===null)return null;if(s.finishedWork=null,s.finishedLanes=0,v===s.current)throw Error(r(177));s.callbackNode=null,s.callbackPriority=0;var V=v.lanes|v.childLanes;if(Ot(s,V),s===qi&&($i=qi=null,ia=0),(v.subtreeFlags&2064)===0&&(v.flags&2064)===0||Xp||(Xp=!0,nD(Gt,function(){return nf(),null})),V=(v.flags&15990)!==0,(v.subtreeFlags&15990)!==0||V){V=Ho.transition,Ho.transition=null;var he=Qt;Qt=1;var Oe=gn;gn|=4,h_.current=null,vie(s,v),Bk(v,s),br(Ay),Gi=!!Ty,Ay=Ty=null,s.current=v,gie(v),lt(),gn=Oe,Qt=he,Ho.transition=V}else s.current=v;if(Xp&&(Xp=!1,Fu=s,Qp=k),V=s.pendingLanes,V===0&&($u=null),Nt(v.stateNode),eo(s,tt()),c!==null)for(b=s.onRecoverableError,v=0;v<c.length;v++)b(c[v]);if(Yp)throw Yp=!1,s=g_,g_=null,s;return(Qp&1)!==0&&s.tag!==0&&nf(),V=s.pendingLanes,(V&1)!==0?s===m_?Fd++:(Fd=0,m_=s):Fd=0,Du(),null}function nf(){if(Fu!==null){var s=yr(Qp),c=Ho.transition,v=Qt;try{if(Ho.transition=null,Qt=16>s?16:s,Fu===null)var b=!1;else{if(s=Fu,Fu=null,Qp=0,(gn&6)!==0)throw Error(r(331));var k=gn;for(gn|=4,ur=s.current;ur!==null;){var V=ur,he=V.child;if((ur.flags&16)!==0){var Oe=V.deletions;if(Oe!==null){for(var Ve=0;Ve<Oe.length;Ve++){var gt=Oe[Ve];for(ur=gt;ur!==null;){var jt=ur;switch(jt.tag){case 0:case 11:case 15:Nd(8,jt,V)}var nr=jt.child;if(nr!==null)nr.return=jt,ur=nr;else for(;ur!==null;){jt=ur;var Dt=jt.sibling,or=jt.return;if($k(jt),jt===gt){ur=null;break}if(Dt!==null){Dt.return=or,ur=Dt;break}ur=or}}}var rr=V.alternate;if(rr!==null){var zr=rr.child;if(zr!==null){rr.child=null;do{var Ii=zr.sibling;zr.sibling=null,zr=Ii}while(zr!==null)}}ur=V}}if((V.subtreeFlags&2064)!==0&&he!==null)he.return=V,ur=he;else e:for(;ur!==null;){if(V=ur,(V.flags&2048)!==0)switch(V.tag){case 0:case 11:case 15:Nd(9,V,V.return)}var at=V.sibling;if(at!==null){at.return=V.return,ur=at;break e}ur=V.return}}var Ke=s.current;for(ur=Ke;ur!==null;){he=ur;var pt=he.child;if((he.subtreeFlags&2064)!==0&&pt!==null)pt.return=he,ur=pt;else e:for(he=Ke;ur!==null;){if(Oe=ur,(Oe.flags&2048)!==0)try{switch(Oe.tag){case 0:case 11:case 15:Wp(9,Oe)}}catch(cr){Ti(Oe,Oe.return,cr)}if(Oe===he){ur=null;break e}var Xt=Oe.sibling;if(Xt!==null){Xt.return=Oe.return,ur=Xt;break e}ur=Oe.return}}if(gn=k,Du(),an&&typeof an.onPostCommitFiberRoot=="function")try{an.onPostCommitFiberRoot(Kr,s)}catch{}b=!0}return b}finally{Qt=v,Ho.transition=c}}return!1}function eD(s,c,v){c=r_(v,c),c=pk(s,c,1),Nu(s,c),c=Ma(),s=ev(s,1),s!==null&&(et(s,1,c),eo(s,c))}function Ti(s,c,v){if(s.tag===3)eD(s,s,v);else for(;c!==null;){if(c.tag===3){eD(c,s,v);break}else if(c.tag===1){var b=c.stateNode;if(typeof c.type.getDerivedStateFromError=="function"||typeof b.componentDidCatch=="function"&&($u===null||!$u.has(b))){s=r_(v,s),s=vk(c,s,1),Nu(c,s),s=Ma(),c=ev(c,1),c!==null&&(et(c,1,s),eo(c,s));break}}c=c.return}}function wie(s,c,v){var b=s.pingCache;b!==null&&b.delete(c),c=Ma(),s.pingedLanes|=s.suspendedLanes&v,qi===s&&(ia&v)===v&&(Bi===4||Bi===3&&(ia&130023424)===ia&&500>tt()-v_?Cl(s,0):p_|=v),eo(s,c)}function tD(s,c){c===0&&((s.mode&1)===0?c=1:(c=ra,ra<<=1,(ra&130023424)===0&&(ra=4194304)));var v=Ma();s=ev(s,c),s!==null&&(et(s,c,v),eo(s,v))}function bie(s){var c=s.memoizedState,v=0;c!==null&&(v=c.retryLane),tD(s,v)}function Tie(s,c){var v=0;switch(s.tag){case 13:var b=s.stateNode,k=s.memoizedState;k!==null&&(v=k.retryLane);break;case 19:b=s.stateNode;break;default:throw Error(r(314))}b!==null&&b.delete(c),tD(s,v)}var rD;rD=function(s,c,v){if(s!==null)if(s.memoizedProps!==c.pendingProps||Ya.current)Ja=!0;else{if((s.lanes&v)===0&&(c.flags&128)===0)return Ja=!1,die(s,c,v);Ja=(s.flags&131072)!==0}else Ja=!1,ci&&(c.flags&1048576)!==0&&jP(c,Lp,c.index);switch(c.lanes=0,c.tag){case 2:var b=c.type;s!==null&&(s.alternate=null,c.alternate=null,c.flags|=2),s=c.pendingProps;var k=Wc(c,ma.current);Kc(c,v),k=Xy(null,c,b,s,k,v);var V=Qy();return c.flags|=1,typeof k=="object"&&k!==null&&typeof k.render=="function"&&k.$$typeof===void 0?(c.tag=1,c.memoizedState=null,c.updateQueue=null,Xa(b)?(V=!0,Rp(c)):V=!1,c.memoizedState=k.state!==null&&k.state!==void 0?k.state:null,My(c),k.updater=kp,c.stateNode=k,k._reactInternals=c,Fy(c,b,s,v),c=o_(null,c,b,!0,V,v)):(c.tag=0,ci&&V&&jy(c),Na(null,c,k,v),c=c.child),c;case 16:b=c.elementType;e:{switch(s!==null&&(s.alternate=null,c.alternate=null,c.flags|=2),s=c.pendingProps,k=b._init,b=k(b._payload),c.type=b,k=c.tag=Rie(b),s=ls(b,s),k){case 0:c=a_(null,c,b,s,v);break e;case 1:c=xk(null,c,b,s,v);break e;case 11:c=wk(null,c,b,s,v);break e;case 14:c=bk(null,c,b,ls(b.type,s),v);break e}throw Error(r(306,b,""))}return c;case 0:return b=c.type,k=c.pendingProps,k=c.elementType===b?k:ls(b,k),a_(s,c,b,k,v);case 1:return b=c.type,k=c.pendingProps,k=c.elementType===b?k:ls(b,k),xk(s,c,b,k,v);case 3:e:{if(Ck(c),s===null)throw Error(r(387));b=c.pendingProps,V=c.memoizedState,k=V.element,kP(s,c),Pp(c,b,null,v);var he=c.memoizedState;if(b=he.element,V.isDehydrated)if(V={element:b,isDehydrated:!1,cache:he.cache,pendingSuspenseBoundaries:he.pendingSuspenseBoundaries,transitions:he.transitions},c.updateQueue.baseState=V,c.memoizedState=V,c.flags&256){k=Error(r(423)),c=Ok(s,c,b,v,k);break e}else if(b!==k){k=Error(r(424)),c=Ok(s,c,b,v,k);break e}else for(Qa=Xs(c.stateNode.containerInfo.firstChild),yo=c,ci=!0,fs=null,v=zP(c,null,b,v),c.child=v;v;)v.flags=v.flags&-3|4096,v=v.sibling;else{if(Qc(),b===k){c=ru(s,c,v);break e}Na(s,c,b,v)}c=c.child}return c;case 5:return WP(c),s===null&&By(c),b=c.type,k=c.pendingProps,V=s!==null?s.memoizedProps:null,he=k.children,Ry(b,k)?he=null:V!==null&&Ry(b,V)&&(c.flags|=32),Rk(s,c),Na(s,c,he,v),c.child;case 6:return s===null&&By(c),null;case 13:return Pk(s,c,v);case 4:return Hy(c,c.stateNode.containerInfo),b=c.pendingProps,s===null?c.child=Jc(c,null,b,v):Na(s,c,b,v),c.child;case 11:return b=c.type,k=c.pendingProps,k=c.elementType===b?k:ls(b,k),wk(s,c,b,k,v);case 7:return Na(s,c,c.pendingProps,v),c.child;case 8:return Na(s,c,c.pendingProps.children,v),c.child;case 12:return Na(s,c,c.pendingProps.children,v),c.child;case 10:e:{if(b=c.type._context,k=c.pendingProps,V=c.memoizedProps,he=k.value,Zn(Cp,b._currentValue),b._currentValue=he,V!==null)if(er(V.value,he)){if(V.children===k.children&&!Ya.current){c=ru(s,c,v);break e}}else for(V=c.child,V!==null&&(V.return=c);V!==null;){var Oe=V.dependencies;if(Oe!==null){he=V.child;for(var Ve=Oe.firstContext;Ve!==null;){if(Ve.context===b){if(V.tag===1){Ve=Zs(-1,v&-v),Ve.tag=2;var gt=V.updateQueue;if(gt!==null){gt=gt.shared;var jt=gt.pending;jt===null?Ve.next=Ve:(Ve.next=jt.next,jt.next=Ve),gt.pending=Ve}}V.lanes|=v,Ve=V.alternate,Ve!==null&&(Ve.lanes|=v),Ny(V.return,v,c),Oe.lanes|=v;break}Ve=Ve.next}}else if(V.tag===10)he=V.type===c.type?null:V.child;else if(V.tag===18){if(he=V.return,he===null)throw Error(r(341));he.lanes|=v,Oe=he.alternate,Oe!==null&&(Oe.lanes|=v),Ny(he,v,c),he=V.sibling}else he=V.child;if(he!==null)he.return=V;else for(he=V;he!==null;){if(he===c){he=null;break}if(V=he.sibling,V!==null){V.return=he.return,he=V;break}he=he.return}V=he}Na(s,c,k.children,v),c=c.child}return c;case 9:return k=c.type,b=c.pendingProps.children,Kc(c,v),k=Uo(k),b=b(k),c.flags|=1,Na(s,c,b,v),c.child;case 14:return b=c.type,k=ls(b,c.pendingProps),k=ls(b.type,k),bk(s,c,b,k,v);case 15:return Tk(s,c,c.type,c.pendingProps,v);case 17:return b=c.type,k=c.pendingProps,k=c.elementType===b?k:ls(b,k),s!==null&&(s.alternate=null,c.alternate=null,c.flags|=2),c.tag=1,Xa(b)?(s=!0,Rp(c)):s=!1,Kc(c,v),$P(c,b,k),Fy(c,b,k,v),o_(null,c,b,!0,s,v);case 19:return Nk(s,c,v);case 22:return Ak(s,c,v)}throw Error(r(156,c.tag))};function nD(s,c){return xt(s,c)}function Aie(s,c,v,b){this.tag=s,this.key=v,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=c,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=b,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Wo(s,c,v,b){return new Aie(s,c,v,b)}function b_(s){return s=s.prototype,!(!s||!s.isReactComponent)}function Rie(s){if(typeof s=="function")return b_(s)?1:0;if(s!=null){if(s=s.$$typeof,s===W)return 11;if(s===ie)return 14}return 2}function qu(s,c){var v=s.alternate;return v===null?(v=Wo(s.tag,c,s.key,s.mode),v.elementType=s.elementType,v.type=s.type,v.stateNode=s.stateNode,v.alternate=s,s.alternate=v):(v.pendingProps=c,v.type=s.type,v.flags=0,v.subtreeFlags=0,v.deletions=null),v.flags=s.flags&14680064,v.childLanes=s.childLanes,v.lanes=s.lanes,v.child=s.child,v.memoizedProps=s.memoizedProps,v.memoizedState=s.memoizedState,v.updateQueue=s.updateQueue,c=s.dependencies,v.dependencies=c===null?null:{lanes:c.lanes,firstContext:c.firstContext},v.sibling=s.sibling,v.index=s.index,v.ref=s.ref,v}function rv(s,c,v,b,k,V){var he=2;if(b=s,typeof s=="function")b_(s)&&(he=1);else if(typeof s=="string")he=5;else e:switch(s){case m:return Il(v.children,k,V,c);case D:he=8,k|=8;break;case U:return s=Wo(12,v,c,k|2),s.elementType=U,s.lanes=V,s;case Y:return s=Wo(13,v,c,k),s.elementType=Y,s.lanes=V,s;case Q:return s=Wo(19,v,c,k),s.elementType=Q,s.lanes=V,s;case ve:return nv(v,k,V,c);default:if(typeof s=="object"&&s!==null)switch(s.$$typeof){case K:he=10;break e;case B:he=9;break e;case W:he=11;break e;case ie:he=14;break e;case ae:he=16,b=null;break e}throw Error(r(130,s==null?s:typeof s,""))}return c=Wo(he,v,c,k),c.elementType=s,c.type=b,c.lanes=V,c}function Il(s,c,v,b){return s=Wo(7,s,b,c),s.lanes=v,s}function nv(s,c,v,b){return s=Wo(22,s,b,c),s.elementType=ve,s.lanes=v,s.stateNode={},s}function T_(s,c,v){return s=Wo(6,s,null,c),s.lanes=v,s}function A_(s,c,v){return c=Wo(4,s.children!==null?s.children:[],s.key,c),c.lanes=v,c.stateNode={containerInfo:s.containerInfo,pendingChildren:null,implementation:s.implementation},c}function xie(s,c,v,b,k){this.tag=c,this.containerInfo=s,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=b,this.onRecoverableError=k,this.mutableSourceEagerHydrationData=null}function R_(s,c,v,b,k,V,he,Oe,Ve){return s=new xie(s,c,v,Oe,Ve),c===1?(c=1,V===!0&&(c|=8)):c=0,V=Wo(3,null,null,c),s.current=V,V.stateNode=s,V.memoizedState={element:b,isDehydrated:v,cache:null,transitions:null,pendingSuspenseBoundaries:null},My(V),s}function Cie(s,c,v){var b=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:O,key:b==null?null:""+b,children:s,containerInfo:c,implementation:v}}function iD(s){if(!s)return ku;s=s._reactInternals;e:{if(di(s)!==s||s.tag!==1)throw Error(r(170));var c=s;do{switch(c.tag){case 3:c=c.stateNode.context;break e;case 1:if(Xa(c.type)){c=c.stateNode.__reactInternalMemoizedMergedChildContext;break e}}c=c.return}while(c!==null);throw Error(r(171))}if(s.tag===1){var v=s.type;if(Xa(v))return OP(s,v,c)}return c}function aD(s,c,v,b,k,V,he,Oe,Ve){return s=R_(v,b,!0,s,k,V,he,Oe,Ve),s.context=iD(null),v=s.current,b=Ma(),k=ju(v),V=Zs(b,k),V.callback=c??null,Nu(v,V),s.current.lanes=k,et(s,k,b),eo(s,b),s}function iv(s,c,v,b){var k=c.current,V=Ma(),he=ju(k);return v=iD(v),c.context===null?c.context=v:c.pendingContext=v,c=Zs(V,he),c.payload={element:s},b=b===void 0?null:b,b!==null&&(c.callback=b),Nu(k,c),s=zo(k,he,V),s!==null&&Ip(s,k,he),he}function av(s){if(s=s.current,!s.child)return null;switch(s.child.tag){case 5:return s.child.stateNode;default:return s.child.stateNode}}function oD(s,c){if(s=s.memoizedState,s!==null&&s.dehydrated!==null){var v=s.retryLane;s.retryLane=v!==0&&v<c?v:c}}function x_(s,c){oD(s,c),(s=s.alternate)&&oD(s,c)}function Oie(){return null}var sD=typeof reportError=="function"?reportError:function(s){console.error(s)};function C_(s){this._internalRoot=s}ov.prototype.render=C_.prototype.render=function(s){var c=this._internalRoot;if(c===null)throw Error(r(409));iv(s,c,null,null)},ov.prototype.unmount=C_.prototype.unmount=function(){var s=this._internalRoot;if(s!==null){this._internalRoot=null;var c=s.containerInfo;xl(function(){iv(null,s,null,null)}),c[Qs]=null}};function ov(s){this._internalRoot=s}ov.prototype.unstable_scheduleHydration=function(s){if(s){var c=pi();s={blockedOn:null,target:s,priority:c};for(var v=0;v<Wi.length&&c!==0&&c<Wi[v].priority;v++);Wi.splice(v,0,s),v===0&&ka(s)}};function O_(s){return!(!s||s.nodeType!==1&&s.nodeType!==9&&s.nodeType!==11)}function sv(s){return!(!s||s.nodeType!==1&&s.nodeType!==9&&s.nodeType!==11&&(s.nodeType!==8||s.nodeValue!==" react-mount-point-unstable "))}function uD(){}function Iie(s,c,v,b,k){if(k){if(typeof b=="function"){var V=b;b=function(){var gt=av(he);V.call(gt)}}var he=aD(c,b,s,0,null,!1,!1,"",uD);return s._reactRootContainer=he,s[Qs]=he.current,Sd(s.nodeType===8?s.parentNode:s),xl(),he}for(;k=s.lastChild;)s.removeChild(k);if(typeof b=="function"){var Oe=b;b=function(){var gt=av(Ve);Oe.call(gt)}}var Ve=R_(s,0,!1,null,null,!1,!1,"",uD);return s._reactRootContainer=Ve,s[Qs]=Ve.current,Sd(s.nodeType===8?s.parentNode:s),xl(function(){iv(c,Ve,v,b)}),Ve}function uv(s,c,v,b,k){var V=v._reactRootContainer;if(V){var he=V;if(typeof k=="function"){var Oe=k;k=function(){var Ve=av(he);Oe.call(Ve)}}iv(c,he,s,k)}else he=Iie(v,c,s,k,b);return av(he)}Tr=function(s){switch(s.tag){case 3:var c=s.stateNode;if(c.current.memoizedState.isDehydrated){var v=Oa(c.pendingLanes);v!==0&&(zt(c,v|1),eo(c,tt()),(gn&6)===0&&(rf=tt()+500,Du()))}break;case 13:var b=Ma();xl(function(){return zo(s,1,b)}),x_(s,1)}},Cn=function(s){if(s.tag===13){var c=Ma();zo(s,134217728,c),x_(s,134217728)}},hi=function(s){if(s.tag===13){var c=Ma(),v=ju(s);zo(s,v,c),x_(s,v)}},pi=function(){return Qt},$o=function(s,c){var v=Qt;try{return Qt=s,c()}finally{Qt=v}},ut=function(s,c,v){switch(c){case"input":if(_e(s,v),c=v.name,v.type==="radio"&&c!=null){for(v=s;v.parentNode;)v=v.parentNode;for(v=v.querySelectorAll("input[name="+JSON.stringify(""+c)+'][type="radio"]'),c=0;c<v.length;c++){var b=v[c];if(b!==s&&b.form===s.form){var k=Tp(b);if(!k)throw Error(r(90));L(b),_e(b,k)}}}break;case"textarea":Pe(s,v);break;case"select":c=v.value,c!=null&&me(s,!!v.multiple,c,!1)}},dr=E_,xr=xl;var Pie={usingClientEntryPoint:!1,Events:[Td,Hc,Tp,pr,ar,E_]},jd={findFiberByHostInstance:El,bundleType:0,version:"18.1.0",rendererPackageName:"react-dom"},kie={bundleType:jd.bundleType,version:jd.version,rendererPackageName:jd.rendererPackageName,rendererConfig:jd.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(s){return s=vt(s),s===null?null:s.stateNode},findFiberByHostInstance:jd.findFiberByHostInstance||Oie,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 lv=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!lv.isDisabled&&lv.supportsFiber)try{Kr=lv.inject(kie),an=lv}catch{}}return to.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Pie,to.createPortal=function(s,c){var v=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!O_(c))throw Error(r(200));return Cie(s,c,null,v)},to.createRoot=function(s,c){if(!O_(s))throw Error(r(299));var v=!1,b="",k=sD;return c!=null&&(c.unstable_strictMode===!0&&(v=!0),c.identifierPrefix!==void 0&&(b=c.identifierPrefix),c.onRecoverableError!==void 0&&(k=c.onRecoverableError)),c=R_(s,1,!1,null,null,v,!1,b,k),s[Qs]=c.current,Sd(s.nodeType===8?s.parentNode:s),new C_(c)},to.findDOMNode=function(s){if(s==null)return null;if(s.nodeType===1)return s;var c=s._reactInternals;if(c===void 0)throw typeof s.render=="function"?Error(r(188)):(s=Object.keys(s).join(","),Error(r(268,s)));return s=vt(c),s=s===null?null:s.stateNode,s},to.flushSync=function(s){return xl(s)},to.hydrate=function(s,c,v){if(!sv(c))throw Error(r(200));return uv(null,s,c,!0,v)},to.hydrateRoot=function(s,c,v){if(!O_(s))throw Error(r(405));var b=v!=null&&v.hydratedSources||null,k=!1,V="",he=sD;if(v!=null&&(v.unstable_strictMode===!0&&(k=!0),v.identifierPrefix!==void 0&&(V=v.identifierPrefix),v.onRecoverableError!==void 0&&(he=v.onRecoverableError)),c=aD(c,null,s,1,v??null,k,!1,V,he),s[Qs]=c.current,Sd(s),b)for(s=0;s<b.length;s++)v=b[s],k=v._getVersion,k=k(v._source),c.mutableSourceEagerHydrationData==null?c.mutableSourceEagerHydrationData=[v,k]:c.mutableSourceEagerHydrationData.push(v,k);return new ov(c)},to.render=function(s,c,v){if(!sv(c))throw Error(r(200));return uv(null,s,c,!1,v)},to.unmountComponentAtNode=function(s){if(!sv(s))throw Error(r(40));return s._reactRootContainer?(xl(function(){uv(null,null,s,!1,function(){s._reactRootContainer=null,s[Qs]=null})}),!0):!1},to.unstable_batchedUpdates=E_,to.unstable_renderSubtreeIntoContainer=function(s,c,v,b){if(!sv(v))throw Error(r(200));if(s==null||s._reactInternals===void 0)throw Error(r(38));return uv(s,c,v,!1,b)},to.version="18.1.0-next-22edb9f77-20220426",to}var oW;function Nee(){if(oW)return TA.exports;oW=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(),TA.exports=wEe(),TA.exports}var Mee=Nee();const Hl=$n(Mee);function bEe(e){e()}let $ee=bEe;const TEe=e=>$ee=e,AEe=()=>$ee,il=Dr.createContext(null);function Fee(){return Se.useContext(il)}const REe=()=>{throw new Error("uSES not initialized!")};let jee=REe;const xEe=e=>{jee=e},CEe=(e,t)=>e===t;function OEe(e=il){const t=e===il?Fee:()=>Se.useContext(e);return function(n,i=CEe){const{store:a,subscription:o,getServerState:l}=t(),u=jee(o.addNestedSub,a.getState,l||a.getState,n,i);return Se.useDebugValue(u),u}}const Uee=OEe();function Ah(){return Ah=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},Ah.apply(null,arguments)}function Ym(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 xA={exports:{}},In={};/** @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 sW;function IEe(){if(sW)return In;sW=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,l=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,y=e?Symbol.for("react.memo"):60115,_=e?Symbol.for("react.lazy"):60116,E=e?Symbol.for("react.block"):60121,S=e?Symbol.for("react.fundamental"):60117,w=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function C(R){if(typeof R=="object"&&R!==null){var O=R.$$typeof;switch(O){case t:switch(R=R.type,R){case u:case f:case n:case a:case i:case h:return R;default:switch(R=R&&R.$$typeof,R){case l:case d:case _:case y:case o:return R;default:return O}}case r:return O}}}function x(R){return C(R)===f}return In.AsyncMode=u,In.ConcurrentMode=f,In.ContextConsumer=l,In.ContextProvider=o,In.Element=t,In.ForwardRef=d,In.Fragment=n,In.Lazy=_,In.Memo=y,In.Portal=r,In.Profiler=a,In.StrictMode=i,In.Suspense=h,In.isAsyncMode=function(R){return x(R)||C(R)===u},In.isConcurrentMode=x,In.isContextConsumer=function(R){return C(R)===l},In.isContextProvider=function(R){return C(R)===o},In.isElement=function(R){return typeof R=="object"&&R!==null&&R.$$typeof===t},In.isForwardRef=function(R){return C(R)===d},In.isFragment=function(R){return C(R)===n},In.isLazy=function(R){return C(R)===_},In.isMemo=function(R){return C(R)===y},In.isPortal=function(R){return C(R)===r},In.isProfiler=function(R){return C(R)===a},In.isStrictMode=function(R){return C(R)===i},In.isSuspense=function(R){return C(R)===h},In.isValidElementType=function(R){return typeof R=="string"||typeof R=="function"||R===n||R===f||R===a||R===i||R===h||R===p||typeof R=="object"&&R!==null&&(R.$$typeof===_||R.$$typeof===y||R.$$typeof===o||R.$$typeof===l||R.$$typeof===d||R.$$typeof===S||R.$$typeof===w||R.$$typeof===T||R.$$typeof===E)},In.typeOf=C,In}var uW;function PEe(){return uW||(uW=1,xA.exports=IEe()),xA.exports}var CA,lW;function kEe(){if(lW)return CA;lW=1;var e=PEe(),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(_){return e.isMemo(_)?i:a[_.$$typeof]||t}var l=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;function y(_,E,S){if(typeof E!="string"){if(p){var w=h(E);w&&w!==p&&y(_,w,S)}var T=u(E);f&&(T=T.concat(f(E)));for(var C=o(_),x=o(E),R=0;R<T.length;++R){var O=T[R];if(!r[O]&&!(S&&S[O])&&!(x&&x[O])&&!(C&&C[O])){var m=d(E,O);try{l(_,O,m)}catch{}}}}return _}return CA=y,CA}var DEe=kEe();const LEe=$n(DEe);var OA={exports:{}},Pn={};/**
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 cW;function NEe(){if(cW)return Pn;cW=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"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen"),_;_=Symbol.for("react.module.reference");function E(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 f:case d:return S;default:switch(S=S&&S.$$typeof,S){case l:case o:case u:case p:case h:case a:return S;default:return w}}case t:return w}}}return Pn.ContextConsumer=o,Pn.ContextProvider=a,Pn.Element=e,Pn.ForwardRef=u,Pn.Fragment=r,Pn.Lazy=p,Pn.Memo=h,Pn.Portal=t,Pn.Profiler=i,Pn.StrictMode=n,Pn.Suspense=f,Pn.SuspenseList=d,Pn.isAsyncMode=function(){return!1},Pn.isConcurrentMode=function(){return!1},Pn.isContextConsumer=function(S){return E(S)===o},Pn.isContextProvider=function(S){return E(S)===a},Pn.isElement=function(S){return typeof S=="object"&&S!==null&&S.$$typeof===e},Pn.isForwardRef=function(S){return E(S)===u},Pn.isFragment=function(S){return E(S)===r},Pn.isLazy=function(S){return E(S)===p},Pn.isMemo=function(S){return E(S)===h},Pn.isPortal=function(S){return E(S)===t},Pn.isProfiler=function(S){return E(S)===i},Pn.isStrictMode=function(S){return E(S)===n},Pn.isSuspense=function(S){return E(S)===f},Pn.isSuspenseList=function(S){return E(S)===d},Pn.isValidElementType=function(S){return typeof S=="string"||typeof S=="function"||S===r||S===i||S===n||S===f||S===d||S===y||typeof S=="object"&&S!==null&&(S.$$typeof===p||S.$$typeof===h||S.$$typeof===a||S.$$typeof===o||S.$$typeof===u||S.$$typeof===_||S.getModuleId!==void 0)},Pn.typeOf=E,Pn}var fW;function MEe(){return fW||(fW=1,OA.exports=NEe()),OA.exports}MEe();function $Ee(){const e=AEe();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 dW={notify(){},get:()=>[]};function FEe(e,t){let r,n=dW;function i(h){return u(),n.subscribe(h)}function a(){n.notify()}function o(){d.onStateChange&&d.onStateChange()}function l(){return!!r}function u(){r||(r=e.subscribe(o),n=$Ee())}function f(){r&&(r(),r=void 0,n.clear(),n=dW)}const d={addNestedSub:i,notifyNestedSubs:a,handleChangeWrapper:o,isSubscribed:l,trySubscribe:u,tryUnsubscribe:f,getListeners:()=>n};return d}const jEe=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",UEe=jEe?Se.useLayoutEffect:Se.useEffect;function qee({store:e,context:t,children:r,serverState:n}){const i=Se.useMemo(()=>{const l=FEe(e);return{store:e,subscription:l,getServerState:n?()=>n:void 0}},[e,n]),a=Se.useMemo(()=>e.getState(),[e]);UEe(()=>{const{subscription:l}=i;return l.onStateChange=l.notifyNestedSubs,l.trySubscribe(),a!==e.getState()&&l.notifyNestedSubs(),()=>{l.tryUnsubscribe(),l.onStateChange=void 0}},[i,a]);const o=t||il;return Dr.createElement(o.Provider,{value:i},r)}function Bee(e=il){const t=e===il?Fee:()=>Se.useContext(e);return function(){const{store:n}=t();return n}}const Vee=Bee();function qEe(e=il){const t=e===il?Vee:Bee(e);return function(){return t().dispatch}}const up=qEe();xEe(_Ee.useSyncExternalStoreWithSelector);TEe(Mee.unstable_batchedUpdates);var Tg="NOT_FOUND";function BEe(e){var t;return{get:function(n){return t&&e(t.key,n)?t.value:Tg},put:function(n,i){t={key:n,value:i}},getEntries:function(){return t?[t]:[]},clear:function(){t=void 0}}}function VEe(e,t){var r=[];function n(l){var u=r.findIndex(function(d){return t(l,d.key)});if(u>-1){var f=r[u];return u>0&&(r.splice(u,1),r.unshift(f)),f.value}return Tg}function i(l,u){n(l)===Tg&&(r.unshift({key:l,value:u}),r.length>e&&r.pop())}function a(){return r}function o(){r=[]}return{get:n,put:i,getEntries:a,clear:o}}var HEe=function(t,r){return t===r};function zEe(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 WEe(e,t){var r=typeof t=="object"?t:{equalityCheck:t},n=r.equalityCheck,i=n===void 0?HEe:n,a=r.maxSize,o=a===void 0?1:a,l=r.resultEqualityCheck,u=zEe(i),f=o===1?BEe(u):VEe(o,u);function d(){var h=f.get(arguments);if(h===Tg){if(h=e.apply(null,arguments),l){var p=f.getEntries(),y=p.find(function(_){return l(_.value,h)});y&&(h=y.value)}f.put(arguments,h)}return h}return d.clearCache=function(){return f.clear()},d}function GEe(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 KEe(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,l=new Array(o),u=0;u<o;u++)l[u]=arguments[u];var f=0,d,h={memoizeOptions:void 0},p=l.pop();if(typeof p=="object"&&(h=p,p=l.pop()),typeof p!="function")throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof p+"]");var y=h,_=y.memoizeOptions,E=_===void 0?r:_,S=Array.isArray(E)?E:[E],w=GEe(l),T=e.apply(void 0,[function(){return f++,p.apply(null,arguments)}].concat(S)),C=e(function(){for(var R=[],O=w.length,m=0;m<O;m++)R.push(w[m].apply(null,arguments));return d=T.apply(null,R),d});return Object.assign(C,{resultFunc:p,memoizedResultFunc:T,dependencies:w,lastResult:function(){return d},recomputations:function(){return f},resetRecomputations:function(){return f=0}}),C};return i}const hI={getMatchingKeyMap(e,t,r){const n=Array.isArray(t)?t:[t];let i=[];return n.forEach(a=>{const o=new RegExp(a,"i"),l=Object.keys(e.resources).filter(u=>o.test(u));i.push(...l)}),r&&(i=i.filter(a=>a!==r)),i.reduce((a,o)=>(a[o]=!0,a),{})},updateState(e,t,r){const n=e.getState(),i=hI.getMatchingKeyMap(n.flightData,t.keys),a={...Object.keys(n.flightData.resources).filter(l=>i[l]).reduce((l,u)=>{const f=n.flightData.resources[u];let d=f.response;return f.request.normalize&&(d=dI(f.response,n.flightData.entities)),l[u]=d,l},{})},o=t.updateData(a,r);Object.keys(o).forEach(l=>{const u=n.flightData.resources[l],f=o[l];let d={result:f,entities:{}};u.request.normalize&&(d=gee(f,u.request.normalizeOptions)),e.dispatch({type:$a.UPDATE,result:d.result,entities:d.entities,request:u.request})})}};function YEe(e){const r=e.timeout||300;return r/2+(Math.floor(Math.random()*r/2)+1)}const hW={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:ZO.Ok,getResponseHeader:()=>""})}else a.errorResponse&&n(a.errorResponse());i()}},YEe(t))}},XEe=1e3,QEe=12,pW=18;function IA(e){const t=+e;return isNaN(t)||!t?0:t}const Rh={currentTimestamp(){return new Date().valueOf()},isExpired(e,t){if(!t)return!1;const r=t*XEe;return e<Rh.currentTimestamp()-r},currentTimeOfDay(e){e||(e=new Date);const t=e.getHours();return t>=QEe&&t<pW?"afternoon":t>=pW?"evening":"morning"},convertDurationToSeconds(e,t,r){return IA(e)*60*60+IA(t)*60+IA(r)}};class Hee{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===Ms.None?!0:this.isExpired}get isExpired(){return this.cacheDuration instanceof Function?Rh.isExpired(this.requestTime,this.cacheDuration(this.data)):Rh.isExpired(this.requestTime,this.cacheDuration)}get isFetching(){return this.status===Ms.Fetching}get hasError(){return this.status===Ms.Error}}function JEe(e,t){var n,i;if(!e.resource&&!t.resource)return!0;if(!js.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 ZEe(e){const t=n=>({resource:n.flightData.resources[e],entities:n.flightData.entities});return KEe(WEe,JEe)(t,n=>Xm(e,n.resource,n.entities).response)}function Xm(e,t,r){if(!e||!t)return{resource:null,response:eSe()};let n=t.response;t.request.normalize!==!1&&(n=dI(t.response,r));const i=new Hee({status:t.status,statusCode:t.statusCode,requestTime:t.timestamp,cacheDuration:t.request.cacheDuration,hasCompleted:t.hasCompleted,data:n});return{resource:t,response:i}}function eSe(){return new Hee({status:Ms.None})}function zee(e,t){return Xm(t,e.flightData.resources[t],e.flightData.entities).response}function Wee(e){return t=>{t&&cd(e,t)}}function tSe(e){return t=>{if(t)return Gee(e,t)}}function cd(e,t){e({type:$a.API_REQUEST,request:t})}function Gee(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)},cd(e,t)})}function pI(e,t){var o,l,u,f;const r=e.getState(),n=t==null?void 0:t.key,i=Xm(n,r.flightData.resources[n],r.flightData.entities),a=i.response;if(t&&a.shouldFetch){cd(e.dispatch,t);return}if(a.isFetching){let d=!1;const h=e.subscribe(()=>{h(),!d&&(d=!0,pI(e,t))});return}a.hasError?((o=t.error)==null||o.call(t,{status:a.statusCode,getResponseHeader:null,responseJSON:i.resource.errorResponse}),(l=t.always)==null||l.call(t)):((u=t.success)==null||u.call(t,a.data),(f=t.always)==null||f.call(t))}function _Le(){const e=up();return Wee(e)}function ELe(){const e=up();return tSe(e)}function rSe(e){const t=Se.useMemo(()=>ZEe(e),[e]);return Uee(t)}function SLe(){const e=Vee();return t=>zee(e.getState(),t)}function ea(e){const t=up(),r=rSe(e&&e.key),n=Wee(t);return Se.useEffect(()=>{e&&r.shouldFetch&&n(e)},[e==null?void 0:e.key,r.shouldFetch]),r}async function io(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)},pI(e,t)})}async function vW(e,t){const r=e.getState(),{response:n}=Xm(t.key,r.flightData.resources[t.key],r.flightData.entities);return!n.hasCompleted||n.hasError?io(e,t):(n.shouldFetch&&cd(e.dispatch,{...t,success:null,error:null,always:null}),n.data)}function nSe(e){const{fetchData:t,getFetchDataOptions:r,bootstrappedData:n,defaultCacheDuration:i}=e,a=Object.freeze({key:null,url:null,type:Zi.GET,normalize:!0,formatData:o=>o,cacheDuration:i});return function(l){return u=>f=>{if(f.type!==$a.API_REQUEST){u(f);return}const d=l.getState(),{success:h,error:p,always:y,formatData:_,...E}=Object.assign({},a,f.request),S=d.flightData.resources[E.key];if(u(f),S&&S.status===Ms.Fetching)return;if(E.bootstrapName&&n&&n[f.request.bootstrapName]){C(n[f.request.bootstrapName]),R(),delete n[f.request.bootstrapName];return}const w={resource:E.url,type:E.type,data:E.data,success:C,error:x,always:R};if(typeof r!="function"){T(w);return}r(w,E).then(T);return;function T(O){if(hW.isSimulated(E)){hW.simulateFetchData(O,E);return}t(O)}function C(O,m){const D=_(O);let U={result:D,entities:{}};E.normalize&&(U=gee(D,E.normalizeOptions)),l.dispatch({type:$a.API_RESPONSE,result:U.result,entities:U.entities,request:E,timestamp:Rh.currentTimestamp(),xhr:m});let K=U.result;if(E.normalize){const B={...d.flightData.entities,...U.entities};K=dI(U.result,B)}E.updateState&&(Array.isArray(E.updateState)?E.updateState:[E.updateState]).forEach(W=>{hI.updateState(l,W,K)}),E.invalidationKeys&&l.dispatch({type:$a.INVALIDATE,keys:E.invalidationKeys,request:E}),h&&h(K)}function x(O){l.dispatch({type:$a.API_ERROR,errorResponse:O.responseJSON,request:f.request,timestamp:Rh.currentTimestamp(),xhr:O}),E.invalidationKeys&&l.dispatch({type:$a.INVALIDATE,keys:E.invalidationKeys,request:E}),p&&p(O)}function R(){y&&y()}}}}function Kee(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]};js.isEqual(e[n],i)||(i.__modifyCount=e[n].__modifyCount+1),r[n]=i}),r}function iSe(e,t){const r=e.resources[t.request.key];return{entities:{...e.entities},resources:{...e.resources,[t.request.key]:{request:t.request,status:Ms.Fetching,response:r?r.response:null,entityIds:r?r.entityIds:void 0,hasCompleted:!!(r!=null&&r.hasCompleted)}}}}function aSe(e,t){var r;return{entities:Kee(e.entities,t.entities),resources:{...e.resources,[t.request.key]:{request:t.request,status:Ms.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 oSe(e,t){var r;return{entities:{...e.entities},resources:{...e.resources,[t.request.key]:{request:t.request,status:Ms.Error,errorResponse:t.errorResponse,timestamp:t.timestamp,statusCode:(r=t.xhr)==null?void 0:r.status,hasCompleted:!0}}}}function sSe(e,t){var n;const r=hI.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:Ms.None}),i},{})}}}function uSe(e=Yee,t){return{entities:Kee(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 Yee={resources:{},entities:{}};function lSe(e=Yee,t){switch(t.type){case $a.API_REQUEST:return iSe(e,t);case $a.API_RESPONSE:return aSe(e,t);case $a.API_ERROR:return oSe(e,t);case $a.INVALIDATE:return sSe(e,t);case $a.UPDATE:return uSe(e,t)}return e}const ac={first(e){return uh(e)},firstFew(e,t){return uh(e,t)},last(e){return qx(e)},lastFew(e,t){return qx(e,t)},max(e,t){return WO(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 Nm(e,t)},findWhere(e,t){return PZ(e,t)},where(e,t){return DZ(e,t)},groupBy(e,t){return FZ(e,t)},countBy(e,t){return jZ(e,t)},flatten(e,t){return qZ(e,t)},intersection(...e){return VZ(...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=js.deepClone(e);return r===-1?[...n,t]:[...n.slice(0,r),...n.slice(r+1)]},sortBy(e,t){return $Z(e,t)},chunk(e,t){return zZ(e,t)},uniq(e,t){return bh(e,t)},toObject(e,t){return e.reduce((r,n)=>Object.assign(r,js.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 MZ(e)}};var wr=(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.ReverseTrialReferralCount="reverse_trial_referral_count",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))(wr||{}),PA,gW;function cSe(){if(gW)return PA;gW=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(T){T!==n&&(t=null)}else t=null;var i=/^\s*class\b/,a=function(C){try{var x=e.call(C);return i.test(x)}catch{return!1}},o=function(C){try{return a(C)?!1:(e.call(C),!0)}catch{return!1}},l=Object.prototype.toString,u="[object Object]",f="[object Function]",d="[object GeneratorFunction]",h="[object HTMLAllCollection]",p="[object HTML document.all class]",y="[object HTMLCollection]",_=typeof Symbol=="function"&&!!Symbol.toStringTag,E=!(0 in[,]),S=function(){return!1};if(typeof document=="object"){var w=document.all;l.call(w)===l.call(document.all)&&(S=function(C){if((E||!C)&&(typeof C>"u"||typeof C=="object"))try{var x=l.call(C);return(x===h||x===p||x===y||x===u)&&C("")==null}catch{}return!1})}return PA=t?function(C){if(S(C))return!0;if(!C||typeof C!="function"&&typeof C!="object")return!1;try{t(C,null,r)}catch(x){if(x!==n)return!1}return!a(C)&&o(C)}:function(C){if(S(C))return!0;if(!C||typeof C!="function"&&typeof C!="object")return!1;if(_)return o(C);if(a(C))return!1;var x=l.call(C);return x!==f&&x!==d&&!/^\[object HTML/.test(x)?!1:o(C)},PA}var kA,mW;function fSe(){if(mW)return kA;mW=1;var e=cSe(),t=Object.prototype.toString,r=Object.prototype.hasOwnProperty,n=function(u,f,d){for(var h=0,p=u.length;h<p;h++)r.call(u,h)&&(d==null?f(u[h],h,u):f.call(d,u[h],h,u))},i=function(u,f,d){for(var h=0,p=u.length;h<p;h++)d==null?f(u.charAt(h),h,u):f.call(d,u.charAt(h),h,u)},a=function(u,f,d){for(var h in u)r.call(u,h)&&(d==null?f(u[h],h,u):f.call(d,u[h],h,u))};function o(l){return t.call(l)==="[object Array]"}return kA=function(u,f,d){if(!e(f))throw new TypeError("iterator must be a function");var h;arguments.length>=3&&(h=d),o(u)?n(u,f,h):typeof u=="string"?i(u,f,h):a(u,f,h)},kA}var DA,yW;function Xee(){if(yW)return DA;yW=1;var e=function(){};return DA=e,DA}var LA,_W;function dSe(){if(_W)return LA;_W=1;var e={}.hasOwnProperty,t=Function.prototype.call;return LA=t.bind?t.bind(e):function(r,n){return t.call(e,r,n)},LA}var NA={exports:{}},MA,EW;function Qee(){return EW||(EW=1,MA=Object),MA}var $A,SW;function hSe(){return SW||(SW=1,$A=Error),$A}var FA,wW;function pSe(){return wW||(wW=1,FA=EvalError),FA}var jA,bW;function vSe(){return bW||(bW=1,jA=RangeError),jA}var UA,TW;function gSe(){return TW||(TW=1,UA=ReferenceError),UA}var qA,AW;function Jee(){return AW||(AW=1,qA=SyntaxError),qA}var BA,RW;function fd(){return RW||(RW=1,BA=TypeError),BA}var VA,xW;function mSe(){return xW||(xW=1,VA=URIError),VA}var HA,CW;function ySe(){return CW||(CW=1,HA=Math.abs),HA}var zA,OW;function _Se(){return OW||(OW=1,zA=Math.floor),zA}var WA,IW;function ESe(){return IW||(IW=1,WA=Math.max),WA}var GA,PW;function SSe(){return PW||(PW=1,GA=Math.min),GA}var KA,kW;function wSe(){return kW||(kW=1,KA=Math.pow),KA}var YA,DW;function bSe(){return DW||(DW=1,YA=Math.round),YA}var XA,LW;function TSe(){return LW||(LW=1,XA=Number.isNaN||function(t){return t!==t}),XA}var QA,NW;function ASe(){if(NW)return QA;NW=1;var e=TSe();return QA=function(r){return e(r)||r===0?r:r<0?-1:1},QA}var JA,MW;function RSe(){return MW||(MW=1,JA=Object.getOwnPropertyDescriptor),JA}var ZA,$W;function Qm(){if($W)return ZA;$W=1;var e=RSe();if(e)try{e([],"length")}catch{e=null}return ZA=e,ZA}var eR,FW;function Jm(){if(FW)return eR;FW=1;var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return eR=e,eR}var tR,jW;function xSe(){return jW||(jW=1,tR=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 l=Object.getOwnPropertyDescriptor(t,r);if(l.value!==i||l.enumerable!==!0)return!1}return!0}),tR}var rR,UW;function CSe(){if(UW)return rR;UW=1;var e=typeof Symbol<"u"&&Symbol,t=xSe();return rR=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},rR}var nR,qW;function Zee(){return qW||(qW=1,nR=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),nR}var iR,BW;function ete(){if(BW)return iR;BW=1;var e=Qee();return iR=e.getPrototypeOf||null,iR}var aR,VW;function OSe(){if(VW)return aR;VW=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,r=Math.max,n="[object Function]",i=function(u,f){for(var d=[],h=0;h<u.length;h+=1)d[h]=u[h];for(var p=0;p<f.length;p+=1)d[p+u.length]=f[p];return d},a=function(u,f){for(var d=[],h=f,p=0;h<u.length;h+=1,p+=1)d[p]=u[h];return d},o=function(l,u){for(var f="",d=0;d<l.length;d+=1)f+=l[d],d+1<l.length&&(f+=u);return f};return aR=function(u){var f=this;if(typeof f!="function"||t.apply(f)!==n)throw new TypeError(e+f);for(var d=a(arguments,1),h,p=function(){if(this instanceof h){var w=f.apply(this,i(d,arguments));return Object(w)===w?w:this}return f.apply(u,i(d,arguments))},y=r(0,f.length-d.length),_=[],E=0;E<y;E++)_[E]="$"+E;if(h=Function("binder","return function ("+o(_,",")+"){ return binder.apply(this,arguments); }")(p),f.prototype){var S=function(){};S.prototype=f.prototype,h.prototype=new S,S.prototype=null}return h},aR}var oR,HW;function lp(){if(HW)return oR;HW=1;var e=OSe();return oR=Function.prototype.bind||e,oR}var sR,zW;function vI(){return zW||(zW=1,sR=Function.prototype.call),sR}var uR,WW;function gI(){return WW||(WW=1,uR=Function.prototype.apply),uR}var lR,GW;function ISe(){return GW||(GW=1,lR=typeof Reflect<"u"&&Reflect&&Reflect.apply),lR}var cR,KW;function tte(){if(KW)return cR;KW=1;var e=lp(),t=gI(),r=vI(),n=ISe();return cR=n||e.call(r,t),cR}var fR,YW;function mI(){if(YW)return fR;YW=1;var e=lp(),t=fd(),r=vI(),n=tte();return fR=function(a){if(a.length<1||typeof a[0]!="function")throw new t("a function is required");return n(e,r,a)},fR}var dR,XW;function PSe(){if(XW)return dR;XW=1;var e=mI(),t=Qm(),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 dR=n&&typeof n.get=="function"?e([n.get]):typeof a=="function"?function(l){return a(l==null?l:i(l))}:!1,dR}var hR,QW;function kSe(){if(QW)return hR;QW=1;var e=Zee(),t=ete(),r=PSe();return hR=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,hR}var pR,JW;function DSe(){if(JW)return pR;JW=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=lp();return pR=r.call(e,t),pR}var vR,ZW;function yI(){if(ZW)return vR;ZW=1;var e,t=Qee(),r=hSe(),n=pSe(),i=vSe(),a=gSe(),o=Jee(),l=fd(),u=mSe(),f=ySe(),d=_Se(),h=ESe(),p=SSe(),y=wSe(),_=bSe(),E=ASe(),S=Function,w=function(N){try{return S('"use strict"; return ('+N+").constructor;")()}catch{}},T=Qm(),C=Jm(),x=function(){throw new l},R=T?(function(){try{return arguments.callee,x}catch{try{return T(arguments,"callee").get}catch{return x}}})():x,O=CSe()(),m=kSe(),D=ete(),U=Zee(),K=gI(),B=vI(),W={},Y=typeof Uint8Array>"u"||!m?e:m(Uint8Array),Q={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":O&&m?m([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":W,"%AsyncGenerator%":W,"%AsyncGeneratorFunction%":W,"%AsyncIteratorPrototype%":W,"%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%":W,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":O&&m?m(m([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!O||!m?e:m(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":t,"%Object.getOwnPropertyDescriptor%":T,"%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||!m?e:m(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":O&&m?m(""[Symbol.iterator]()):e,"%Symbol%":O?Symbol:e,"%SyntaxError%":o,"%ThrowTypeError%":R,"%TypedArray%":Y,"%TypeError%":l,"%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%":u,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet,"%Function.prototype.call%":B,"%Function.prototype.apply%":K,"%Object.defineProperty%":C,"%Object.getPrototypeOf%":D,"%Math.abs%":f,"%Math.floor%":d,"%Math.max%":h,"%Math.min%":p,"%Math.pow%":y,"%Math.round%":_,"%Math.sign%":E,"%Reflect.getPrototypeOf%":U};if(m)try{null.error}catch(N){var ie=m(m(N));Q["%Error.prototype%"]=ie}var ae=function N(M){var Z;if(M==="%AsyncFunction%")Z=w("async function () {}");else if(M==="%GeneratorFunction%")Z=w("function* () {}");else if(M==="%AsyncGeneratorFunction%")Z=w("async function* () {}");else if(M==="%AsyncGenerator%"){var L=N("%AsyncGeneratorFunction%");L&&(Z=L.prototype)}else if(M==="%AsyncIteratorPrototype%"){var G=N("%AsyncGenerator%");G&&m&&(Z=m(G.prototype))}return Q[M]=Z,Z},ve={__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"]},H=lp(),J=DSe(),z=H.call(B,Array.prototype.concat),ue=H.call(K,Array.prototype.splice),we=H.call(B,String.prototype.replace),ke=H.call(B,String.prototype.slice),Be=H.call(B,RegExp.prototype.exec),nt=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,rt=/\\(\\)?/g,q=function(M){var Z=ke(M,0,1),L=ke(M,-1);if(Z==="%"&&L!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(L==="%"&&Z!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var G=[];return we(M,nt,function(pe,fe,be,_e){G[G.length]=be?we(_e,rt,"$1"):fe||pe}),G},I=function(M,Z){var L=M,G;if(J(ve,L)&&(G=ve[L],L="%"+G[0]+"%"),J(Q,L)){var pe=Q[L];if(pe===W&&(pe=ae(L)),typeof pe>"u"&&!Z)throw new l("intrinsic "+M+" exists, but is not available. Please file an issue!");return{alias:G,name:L,value:pe}}throw new o("intrinsic "+M+" does not exist!")};return vR=function(M,Z){if(typeof M!="string"||M.length===0)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Z!="boolean")throw new l('"allowMissing" argument must be a boolean');if(Be(/^%?[^%]*%?$/,M)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var L=q(M),G=L.length>0?L[0]:"",pe=I("%"+G+"%",Z),fe=pe.name,be=pe.value,_e=!1,Ce=pe.alias;Ce&&(G=Ce[0],ue(L,z([0,1],Ce)));for(var Me=1,de=!0;Me<L.length;Me+=1){var me=L[Me],ge=ke(me,0,1),Te=ke(me,-1);if((ge==='"'||ge==="'"||ge==="`"||Te==='"'||Te==="'"||Te==="`")&&ge!==Te)throw new o("property names with quotes must have matching quotes");if((me==="constructor"||!de)&&(_e=!0),G+="."+me,fe="%"+G+"%",J(Q,fe))be=Q[fe];else if(be!=null){if(!(me in be)){if(!Z)throw new l("base intrinsic for "+M+" exists, but the property is not available.");return}if(T&&Me+1>=L.length){var Pe=T(be,me);de=!!Pe,de&&"get"in Pe&&!("originalValue"in Pe.get)?be=Pe.get:be=be[me]}else de=J(be,me),be=be[me];de&&!_e&&(Q[fe]=be)}}return be},vR}var gR,eG;function _I(){if(eG)return gR;eG=1;var e=Jm(),t=Jee(),r=fd(),n=Qm();return gR=function(a,o,l){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 u=arguments.length>3?arguments[3]:null,f=arguments.length>4?arguments[4]:null,d=arguments.length>5?arguments[5]:null,h=arguments.length>6?arguments[6]:!1,p=!!n&&n(a,o);if(e)e(a,o,{configurable:d===null&&p?p.configurable:!d,enumerable:u===null&&p?p.enumerable:!u,value:l,writable:f===null&&p?p.writable:!f});else if(h||!u&&!f&&!d)a[o]=l;else throw new t("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},gR}var mR,tG;function EI(){if(tG)return mR;tG=1;var e=Jm(),t=function(){return!!e};return t.hasArrayLengthDefineBug=function(){if(!e)return null;try{return e([],"length",{value:1}).length!==1}catch{return!0}},mR=t,mR}var yR,rG;function LSe(){if(rG)return yR;rG=1;var e=yI(),t=_I(),r=EI()(),n=Qm(),i=fd(),a=e("%Math.floor%");return yR=function(l,u){if(typeof l!="function")throw new i("`fn` is not a function");if(typeof u!="number"||u<0||u>4294967295||a(u)!==u)throw new i("`length` must be a positive 32-bit integer");var f=arguments.length>2&&!!arguments[2],d=!0,h=!0;if("length"in l&&n){var p=n(l,"length");p&&!p.configurable&&(d=!1),p&&!p.writable&&(h=!1)}return(d||h||!f)&&(r?t(l,"length",u,!0,!0):t(l,"length",u)),l},yR}var _R,nG;function NSe(){if(nG)return _R;nG=1;var e=lp(),t=gI(),r=tte();return _R=function(){return r(e,t,arguments)},_R}var iG;function MSe(){return iG||(iG=1,(function(e){var t=LSe(),r=Jm(),n=mI(),i=NSe();e.exports=function(o){var l=n(arguments),u=o.length-(arguments.length-1);return t(l,1+(u>0?u:0),!0)},r?r(e.exports,"apply",{value:i}):e.exports.apply=i})(NA)),NA.exports}var ER,aG;function rte(){if(aG)return ER;aG=1;var e=Object.prototype.toString;return ER=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},ER}var SR,oG;function $Se(){if(oG)return SR;oG=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=rte(),i=Object.prototype.propertyIsEnumerable,a=!i.call({toString:null},"toString"),o=i.call(function(){},"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],u=function(p){var y=p.constructor;return y&&y.prototype===p},f={$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 p in window)try{if(!f["$"+p]&&t.call(window,p)&&window[p]!==null&&typeof window[p]=="object")try{u(window[p])}catch{return!0}}catch{return!0}return!1})(),h=function(p){if(typeof window>"u"||!d)return u(p);try{return u(p)}catch{return!1}};e=function(y){var _=y!==null&&typeof y=="object",E=r.call(y)==="[object Function]",S=n(y),w=_&&r.call(y)==="[object String]",T=[];if(!_&&!E&&!S)throw new TypeError("Object.keys called on a non-object");var C=o&&E;if(w&&y.length>0&&!t.call(y,0))for(var x=0;x<y.length;++x)T.push(String(x));if(S&&y.length>0)for(var R=0;R<y.length;++R)T.push(String(R));else for(var O in y)!(C&&O==="prototype")&&t.call(y,O)&&T.push(String(O));if(a)for(var m=h(y),D=0;D<l.length;++D)!(m&&l[D]==="constructor")&&t.call(y,l[D])&&T.push(l[D]);return T}}return SR=e,SR}var wR,sG;function FSe(){if(sG)return wR;sG=1;var e=Array.prototype.slice,t=rte(),r=Object.keys,n=r?function(o){return r(o)}:$Se(),i=Object.keys;return n.shim=function(){if(Object.keys){var o=(function(){var l=Object.keys(arguments);return l&&l.length===arguments.length})(1,2);o||(Object.keys=function(u){return t(u)?i(e.call(u)):i(u)})}else Object.keys=n;return Object.keys||n},wR=n,wR}var bR,uG;function jSe(){if(uG)return bR;uG=1;var e=FSe(),t=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",r=Object.prototype.toString,n=Array.prototype.concat,i=_I(),a=function(f){return typeof f=="function"&&r.call(f)==="[object Function]"},o=EI()(),l=function(f,d,h,p){if(d in f){if(p===!0){if(f[d]===h)return}else if(!a(p)||!p())return}o?i(f,d,h,!0):i(f,d,h)},u=function(f,d){var h=arguments.length>2?arguments[2]:{},p=e(d);t&&(p=n.call(p,Object.getOwnPropertySymbols(d)));for(var y=0;y<p.length;y+=1)l(f,p[y],d[p[y]],h[p[y]])};return u.supportsDescriptors=!!o,bR=u,bR}var TR,lG;function nte(){if(lG)return TR;lG=1;var e=fd();return TR=function(r){if(r==null)throw new e(arguments.length>0&&arguments[1]||"Cannot call method on "+r);return r},TR}var AR,cG;function USe(){if(cG)return AR;cG=1;var e=yI(),t=e("%String%"),r=fd();return AR=function(i){if(typeof i=="symbol")throw new r("Cannot convert a Symbol value to a string");return t(i)},AR}var RR,fG;function qSe(){if(fG)return RR;fG=1;var e=yI(),t=mI(),r=t([e("%String.prototype.indexOf%")]);return RR=function(i,a){var o=e(i,!!a);return typeof o=="function"&&r(i,".prototype.")>-1?t([o]):o},RR}var xR,dG;function ite(){if(dG)return xR;dG=1;var e=nte(),t=USe(),r=qSe(),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 xR=function(){var u=t(e(this));return n(n(u,a,""),o,"")},xR}var CR,hG;function ate(){if(hG)return CR;hG=1;var e=ite(),t="​",r="᠎";return CR=function(){return String.prototype.trim&&t.trim()===t&&r.trim()===r&&("_"+r).trim()==="_"+r&&(r+"_").trim()===r+"_"?String.prototype.trim:e},CR}var OR,pG;function BSe(){if(pG)return OR;pG=1;var e=EI()(),t=_I(),r=ate();return OR=function(){var i=r();return String.prototype.trim!==i&&(e?t(String.prototype,"trim",i,!0):t(String.prototype,"trim",i)),i},OR}var IR,vG;function VSe(){if(vG)return IR;vG=1;var e=MSe(),t=jSe(),r=nte(),n=ite(),i=ate(),a=BSe(),o=e(i()),l=function(f){return r(f),o(f)};return t(l,{getPolyfill:i,implementation:n,shim:a}),IR=l,IR}var PR,gG;function HSe(){if(gG)return PR;gG=1;var e=fSe(),t=Xee(),r=dSe(),n=VSe(),i=function(O){t(!1,O)},a=String.prototype.replace,o=String.prototype.split,l="||||",u=function(R){var O=R%10;return R!==11&&O===1?0:2<=O&&O<=4&&!(R>=12&&R<=14)?1:2},f={arabic:function(R){if(R<3)return R;var O=R%100;return O>=3&&O<=10?3:O>=11?4:5},bosnian_serbian:u,chinese:function(){return 0},croatian:u,french:function(R){return R>1?1:0},german:function(R){return R!==1?1:0},russian:u,lithuanian:function(R){return R%10===1&&R%100!==11?0:R%10>=2&&R%10<=9&&(R%100<11||R%100>19)?1:2},czech:function(R){return R===1?0:R>=2&&R<=4?1:2},polish:function(R){if(R===1)return 0;var O=R%10;return 2<=O&&O<=4&&(R%100<10||R%100>=20)?1:2},icelandic:function(R){return R%10!==1||R%100===11?1:0},slovenian:function(R){var O=R%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(R){var O={};return e(R,function(m,D){e(m,function(U){O[U]=D})}),O}function p(R){var O=h(d);return O[R]||O[o.call(R,/-/,1)[0]]||O.en}function y(R,O){return f[p(R)](O)}function _(R){return R.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function E(R){var O=R&&R.prefix||"%{",m=R&&R.suffix||"}";if(O===l||m===l)throw new RangeError('"'+l+'" token is reserved for pluralization');return new RegExp(_(O)+"(.*?)"+_(m),"g")}var S=/\$/g,w="$$",T=/%\{(.*?)\}/g;function C(R,O,m,D){if(typeof R!="string")throw new TypeError("Polyglot.transformPhrase expects argument #1 to be string");if(O==null)return R;var U=R,K=D||T,B=typeof O=="number"?{smart_count:O}:O;if(B.smart_count!=null&&U){var W=o.call(U,l);U=n(W[y(m||"en",B.smart_count)]||W[0])}return U=a.call(U,K,function(Y,Q){return!r(B,Q)||B[Q]==null?Y:a.call(B[Q],S,w)}),U}function x(R){var O=R||{};this.phrases={},this.extend(O.phrases||{}),this.currentLocale=O.locale||"en";var m=O.allowMissing?C:null;this.onMissingKey=typeof O.onMissingKey=="function"?O.onMissingKey:m,this.warn=O.warn||i,this.tokenRegex=E(O.interpolation)}return x.prototype.locale=function(R){return R&&(this.currentLocale=R),this.currentLocale},x.prototype.extend=function(R,O){e(R,function(m,D){var U=O?O+"."+D:D;typeof m=="object"?this.extend(m,U):this.phrases[U]=m},this)},x.prototype.unset=function(R,O){typeof R=="string"?delete this.phrases[R]:e(R,function(m,D){var U=O?O+"."+D:D;typeof m=="object"?this.unset(m,U):delete this.phrases[U]},this)},x.prototype.clear=function(){this.phrases={}},x.prototype.replace=function(R){this.clear(),this.extend(R)},x.prototype.t=function(R,O){var m,D,U=O??{};if(typeof this.phrases[R]=="string")m=this.phrases[R];else if(typeof U._=="string")m=U._;else if(this.onMissingKey){var K=this.onMissingKey;D=K(R,U,this.currentLocale,this.tokenRegex)}else this.warn('Missing translation for key: "'+R+'"'),D=R;return typeof m=="string"&&(D=C(m,U,this.currentLocale,this.tokenRegex)),D},x.prototype.has=function(R){return r(this.phrases,R)},x.transformPhrase=function(O,m,D){return C(O,m,D)},PR=x,PR}var zSe=HSe();const WSe=$n(zSe),Zm={ALERT:"AlertService",LANGUAGE:"LanguageService"};var cp=Object.freeze||function(e){return e},mG=cp(["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"]),yG=cp(["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"]),_G=cp(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),EG=cp(["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"]),SG=cp(["#text"]),ey=Object.freeze||function(e){return e},wG=ey(["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"]),kR=ey(["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"]),bG=ey(["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"]),yv=ey(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),GSe=Object.hasOwnProperty,TG=Object.setPrototypeOf,KSe=typeof Reflect<"u"&&Reflect,Gx=KSe.apply;Gx||(Gx=function(t,r,n){return t.apply(r,n)});function Hn(e,t){TG&&TG(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 DR(e){var t={},r=void 0;for(r in e)Gx(GSe,e,[r])&&(t[r]=e[r]);return t}var Ic=Object.seal||function(e){return e},YSe=Ic(/\{\{[\s\S]*|[\s\S]*\}\}/gm),XSe=Ic(/<%[\s\S]*|[\s\S]*%>/gm),QSe=Ic(/^data-[\-\w.\u00B7-\uFFFF]/),JSe=Ic(/^aria-[\-\w]+$/),ZSe=Ic(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),e0e=Ic(/^(?:\w+script|data):/i),t0e=Ic(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g),rh=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 Is(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 r0e=typeof Reflect<"u"&&Reflect,Kx=r0e.apply,n0e=Array.prototype.slice,AG=Object.freeze,i0e=function(){return typeof window>"u"?null:window};Kx||(Kx=function(t,r,n){return t.apply(r,n)});var a0e=function(t,r){if((typeof t>"u"?"undefined":rh(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(l){return l}})}catch{return console.warn("TrustedTypes policy "+a+" could not be created."),null}};function ote(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:i0e(),t=function(Ae){return ote(Ae)};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,l=e.HTMLTemplateElement,u=e.Node,f=e.NodeFilter,d=e.NamedNodeMap,h=d===void 0?e.NamedNodeMap||e.MozNamedAttrMap:d,p=e.Text,y=e.Comment,_=e.DOMParser,E=e.TrustedTypes;if(typeof l=="function"){var S=a.createElement("template");S.content&&S.content.ownerDocument&&(a=S.content.ownerDocument)}var w=a0e(E,r),T=w?w.createHTML(""):"",C=a,x=C.implementation,R=C.createNodeIterator,O=C.getElementsByTagName,m=C.createDocumentFragment,D=r.importNode,U={};t.isSupported=x&&typeof x.createHTMLDocument<"u"&&a.documentMode!==9;var K=YSe,B=XSe,W=QSe,Y=JSe,Q=e0e,ie=t0e,ae=ZSe,ve=null,H=Hn({},[].concat(Is(mG),Is(yG),Is(_G),Is(EG),Is(SG))),J=null,z=Hn({},[].concat(Is(wG),Is(kR),Is(bG),Is(yv))),ue=null,we=null,ke=!0,Be=!0,nt=!1,rt=!1,q=!1,I=!1,N=!1,M=!1,Z=!1,L=!1,G=!1,pe=!1,fe=!0,be=!0,_e=!1,Ce={},Me=Hn({},["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=Hn({},["audio","video","img","source","image"]),me=null,ge=Hn({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),Te=null,Pe=a.createElement("form"),De=function(Ae){Te&&Te===Ae||((!Ae||(typeof Ae>"u"?"undefined":rh(Ae))!=="object")&&(Ae={}),ve="ALLOWED_TAGS"in Ae?Hn({},Ae.ALLOWED_TAGS):H,J="ALLOWED_ATTR"in Ae?Hn({},Ae.ALLOWED_ATTR):z,me="ADD_URI_SAFE_ATTR"in Ae?Hn(DR(ge),Ae.ADD_URI_SAFE_ATTR):ge,ue="FORBID_TAGS"in Ae?Hn({},Ae.FORBID_TAGS):{},we="FORBID_ATTR"in Ae?Hn({},Ae.FORBID_ATTR):{},Ce="USE_PROFILES"in Ae?Ae.USE_PROFILES:!1,ke=Ae.ALLOW_ARIA_ATTR!==!1,Be=Ae.ALLOW_DATA_ATTR!==!1,nt=Ae.ALLOW_UNKNOWN_PROTOCOLS||!1,rt=Ae.SAFE_FOR_JQUERY||!1,q=Ae.SAFE_FOR_TEMPLATES||!1,I=Ae.WHOLE_DOCUMENT||!1,Z=Ae.RETURN_DOM||!1,L=Ae.RETURN_DOM_FRAGMENT||!1,G=Ae.RETURN_DOM_IMPORT||!1,pe=Ae.RETURN_TRUSTED_TYPE||!1,M=Ae.FORCE_BODY||!1,fe=Ae.SANITIZE_DOM!==!1,be=Ae.KEEP_CONTENT!==!1,_e=Ae.IN_PLACE||!1,ae=Ae.ALLOWED_URI_REGEXP||ae,q&&(Be=!1),L&&(Z=!0),Ce&&(ve=Hn({},[].concat(Is(SG))),J=[],Ce.html===!0&&(Hn(ve,mG),Hn(J,wG)),Ce.svg===!0&&(Hn(ve,yG),Hn(J,kR),Hn(J,yv)),Ce.svgFilters===!0&&(Hn(ve,_G),Hn(J,kR),Hn(J,yv)),Ce.mathMl===!0&&(Hn(ve,EG),Hn(J,bG),Hn(J,yv))),Ae.ADD_TAGS&&(ve===H&&(ve=DR(ve)),Hn(ve,Ae.ADD_TAGS)),Ae.ADD_ATTR&&(J===z&&(J=DR(J)),Hn(J,Ae.ADD_ATTR)),Ae.ADD_URI_SAFE_ATTR&&Hn(me,Ae.ADD_URI_SAFE_ATTR),be&&(ve["#text"]=!0),I&&Hn(ve,["html","head","body"]),ve.table&&(Hn(ve,["tbody"]),delete ue.tbody),AG&&AG(Ae),Te=Ae)},qe=function(Ae){t.removed.push({element:Ae});try{Ae.parentNode.removeChild(Ae)}catch{Ae.outerHTML=T}},_t=function(Ae,Ze){try{t.removed.push({attribute:Ze.getAttributeNode(Ae),from:Ze})}catch{t.removed.push({attribute:null,from:Ze})}Ze.removeAttribute(Ae)},Ut=function(Ae){var Ze=void 0,ut=void 0;if(M)Ae="<remove></remove>"+Ae;else{var bt=Ae.match(/^[\s]+/);ut=bt&&bt[0],ut&&(Ae=Ae.slice(ut.length))}if(n)try{Ze=new _().parseFromString(Ae,"text/html")}catch{}if(i&&Hn(ue,["title"]),!Ze||!Ze.documentElement){Ze=x.createHTMLDocument("");var Lt=Ze,tr=Lt.body;tr.parentNode.removeChild(tr.parentNode.firstElementChild),tr.outerHTML=w?w.createHTML(Ae):Ae}return Ae&&ut&&Ze.body.insertBefore(a.createTextNode(ut),Ze.body.childNodes[0]||null),O.call(Ze,I?"html":"body")[0]};t.isSupported&&((function(){try{var Ct=Ut('<svg><p><textarea><img src="</textarea><img src=x abc=1//">');Ct.querySelector("svg img")&&(n=!0)}catch{}})(),(function(){try{var Ct=Ut("<x/><title>&lt;/title&gt;&lt;img&gt;");/<\/title/.test(Ct.querySelector("title").innerHTML)&&(i=!0)}catch{}})());var Mt=function(Ae){return R.call(Ae.ownerDocument||Ae,Ae,f.SHOW_ELEMENT|f.SHOW_COMMENT|f.SHOW_TEXT,function(){return f.FILTER_ACCEPT},!1)},Xe=function(Ae){return Ae instanceof p||Ae instanceof y?!1:typeof Ae.nodeName!="string"||typeof Ae.textContent!="string"||typeof Ae.removeChild!="function"||!(Ae.attributes instanceof h)||typeof Ae.removeAttribute!="function"||typeof Ae.setAttribute!="function"||typeof Ae.namespaceURI!="string"},wt=function(Ae){return(typeof u>"u"?"undefined":rh(u))==="object"?Ae instanceof u:Ae&&(typeof Ae>"u"?"undefined":rh(Ae))==="object"&&typeof Ae.nodeType=="number"&&typeof Ae.nodeName=="string"},mt=function(Ae,Ze,ut){U[Ae]&&U[Ae].forEach(function(bt){bt.call(t,Ze,ut,Te)})},Et=function(Ae){var Ze=void 0;if(mt("beforeSanitizeElements",Ae,null),Xe(Ae))return qe(Ae),!0;var ut=Ae.nodeName.toLowerCase();if(mt("uponSanitizeElement",Ae,{tagName:ut,allowedTags:ve}),(ut==="svg"||ut==="math")&&Ae.querySelectorAll("p, br").length!==0)return qe(Ae),!0;if(!ve[ut]||ue[ut]){if(be&&!Me[ut]&&typeof Ae.insertAdjacentHTML=="function")try{var bt=Ae.innerHTML;Ae.insertAdjacentHTML("AfterEnd",w?w.createHTML(bt):bt)}catch{}return qe(Ae),!0}return ut==="noscript"&&/<\/noscript/i.test(Ae.innerHTML)||ut==="noembed"&&/<\/noembed/i.test(Ae.innerHTML)?(qe(Ae),!0):(rt&&!Ae.firstElementChild&&(!Ae.content||!Ae.content.firstElementChild)&&/</g.test(Ae.textContent)&&(t.removed.push({element:Ae.cloneNode()}),Ae.innerHTML?Ae.innerHTML=Ae.innerHTML.replace(/</g,"&lt;"):Ae.innerHTML=Ae.textContent.replace(/</g,"&lt;")),q&&Ae.nodeType===3&&(Ze=Ae.textContent,Ze=Ze.replace(K," "),Ze=Ze.replace(B," "),Ae.textContent!==Ze&&(t.removed.push({element:Ae.cloneNode()}),Ae.textContent=Ze)),mt("afterSanitizeElements",Ae,null),!1)},At=function(Ae,Ze,ut){if(fe&&(Ze==="id"||Ze==="name")&&(ut in a||ut in Pe))return!1;if(!(Be&&W.test(Ze))){if(!(ke&&Y.test(Ze))){if(!J[Ze]||we[Ze])return!1;if(!me[Ze]){if(!ae.test(ut.replace(ie,""))){if(!((Ze==="src"||Ze==="xlink:href"||Ze==="href")&&Ae!=="script"&&ut.indexOf("data:")===0&&de[Ae])){if(!(nt&&!Q.test(ut.replace(ie,"")))){if(ut)return!1}}}}}}return!0},ft=function(Ae){var Ze=void 0,ut=void 0,bt=void 0,Lt=void 0,tr=void 0;mt("beforeSanitizeAttributes",Ae,null);var pr=Ae.attributes;if(pr){var ar={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:J};for(tr=pr.length;tr--;){Ze=pr[tr];var dr=Ze,xr=dr.name,en=dr.namespaceURI;if(ut=Ze.value.trim(),bt=xr.toLowerCase(),ar.attrName=bt,ar.attrValue=ut,ar.keepAttr=!0,mt("uponSanitizeAttribute",Ae,ar),ut=ar.attrValue,bt==="name"&&Ae.nodeName==="IMG"&&pr.id)Lt=pr.id,pr=Kx(n0e,pr,[]),_t("id",Ae),_t(xr,Ae),pr.indexOf(Lt)>tr&&Ae.setAttribute("id",Lt.value);else{if(Ae.nodeName==="INPUT"&&bt==="type"&&ut==="file"&&ar.keepAttr&&(J[bt]||!we[bt]))continue;xr==="id"&&Ae.setAttribute(xr,""),_t(xr,Ae)}if(ar.keepAttr){if(/svg|math/i.test(Ae.namespaceURI)&&new RegExp("</("+Object.keys(Me).join("|")+")","i").test(ut)){_t(xr,Ae);continue}q&&(ut=ut.replace(K," "),ut=ut.replace(B," "));var Qn=Ae.nodeName.toLowerCase();if(At(Qn,bt,ut))try{en?Ae.setAttributeNS(en,xr,ut):Ae.setAttribute(xr,ut),t.removed.pop()}catch{}}}mt("afterSanitizeAttributes",Ae,null)}},Ft=function Ct(Ae){var Ze=void 0,ut=Mt(Ae);for(mt("beforeSanitizeShadowDOM",Ae,null);Ze=ut.nextNode();)mt("uponSanitizeShadowNode",Ze,null),!Et(Ze)&&(Ze.content instanceof o&&Ct(Ze.content),ft(Ze));mt("afterSanitizeShadowDOM",Ae,null)};return t.sanitize=function(Ct,Ae){var Ze=void 0,ut=void 0,bt=void 0,Lt=void 0,tr=void 0;if(Ct||(Ct="<!-->"),typeof Ct!="string"&&!wt(Ct)){if(typeof Ct.toString!="function")throw new TypeError("toString is not a function");if(Ct=Ct.toString(),typeof Ct!="string")throw new TypeError("dirty is not a string, aborting")}if(!t.isSupported){if(rh(e.toStaticHTML)==="object"||typeof e.toStaticHTML=="function"){if(typeof Ct=="string")return e.toStaticHTML(Ct);if(wt(Ct))return e.toStaticHTML(Ct.outerHTML)}return Ct}if(N||De(Ae),t.removed=[],!_e)if(Ct instanceof u)Ze=Ut("<!-->"),ut=Ze.ownerDocument.importNode(Ct,!0),ut.nodeType===1&&ut.nodeName==="BODY"||ut.nodeName==="HTML"?Ze=ut:Ze.appendChild(ut);else{if(!Z&&!q&&!I&&pe&&Ct.indexOf("<")===-1)return w?w.createHTML(Ct):Ct;if(Ze=Ut(Ct),!Ze)return Z?null:T}Ze&&M&&qe(Ze.firstChild);for(var pr=Mt(_e?Ct:Ze);bt=pr.nextNode();)bt.nodeType===3&&bt===Lt||Et(bt)||(bt.content instanceof o&&Ft(bt.content),ft(bt),Lt=bt);if(Lt=null,_e)return Ct;if(Z){if(L)for(tr=m.call(Ze.ownerDocument);Ze.firstChild;)tr.appendChild(Ze.firstChild);else tr=Ze;return G&&(tr=D.call(r,tr,!0)),tr}var ar=I?Ze.outerHTML:Ze.innerHTML;return q&&(ar=ar.replace(K," "),ar=ar.replace(B," ")),w&&pe?w.createHTML(ar):ar},t.setConfig=function(Ct){De(Ct),N=!0},t.clearConfig=function(){Te=null,N=!1},t.isValidAttribute=function(Ct,Ae,Ze){Te||De({});var ut=Ct.toLowerCase(),bt=Ae.toLowerCase();return At(ut,bt,Ze)},t.addHook=function(Ct,Ae){typeof Ae=="function"&&(U[Ct]=U[Ct]||[],U[Ct].push(Ae))},t.removeHook=function(Ct){U[Ct]&&U[Ct].pop()},t.removeHooks=function(Ct){U[Ct]&&(U[Ct]=[])},t.removeAllHooks=function(){U={}},t}var Yx=ote();const o0e=/&/g,s0e=/[\W]+/g,u0e=/\s+/g,RG={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(o0e,"and").replace(s0e," ").trim().replace(u0e,"-").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?Yx.sanitize(e.toString(),{ADD_ATTR:["target"]}).replace("&amp;","&"):""},removeExtraSpace(e){return e.replace(/\s+/g," ").trim()}};class l0e extends co{constructor(){super(...arguments),this.initialized=!1}static get Instance(){return this.instance||(this.instance=new this)}get name(){return Zm.LANGUAGE}setConfig(t){this.polyglot=new WSe({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 Rn("LanguageService config must be set.")),!this.polyglot.has(i)){if(!Bm.isDevelopment){const d=window.trackJs;return d&&d.console.error(`No phrase set for ${i} in language config`),""}vr.throw(new Rn(`No phrase set for ${i} in language config.`))}if(!n||Eh(n)){const d=this.cache[i];if(d)return d;const h=this.polyglot.t(i);return this.cache[i]=h,h}const a=$m(n,"smartCount","escapeText"),o={};for(const d in a){let h=RG.sanitize(a[d]);n.escapeText&&(h=RG.escapeExpression(h)),o[d]=h}Af(n.smartCount)&&(o.smart_count=n.smartCount);const l=`${i}:${vl({...o}).join(":")}`,u=this.cache[l];if(u)return u;const f=this.polyglot.t(i,o);return this.cache[l]=f,f}encloseNamespace(t){return(r,n)=>this.getPhrase(t,r,n)}}const Gr=l0e.Instance;class ty extends Um{get name(){return"ErrorPageError"}}const LR="shared.unspecifiedError";class Mf extends ty{constructor(){super(Gr.getPhrase(LR,"title"))}get name(){return"UnspecifiedError"}get heading(){return Gr.getPhrase(LR,"heading")}get description(){return Gr.getPhrase(LR,"description")}get cta(){return!1}}const lh={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?zl.customerSettings(t==null?void 0:t.success,t==null?void 0:t.error):zl._publicCustomerSettings(t==null?void 0:t.success,t==null?void 0:t.error)},getUserSettingsRequest(e,t){return e!=null&&e.isAuthenticated?zl.userSettings(t==null?void 0:t.success,t==null?void 0:t.error):zl._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),{})}},xG=[{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 NR=()=>(vr.throw(new Rn("SettingRequests.setPublicFormatSettings must be called before using public requests in SettingRequests")),null);const zl={setPublicFormatSettings(e){e&&(NR=e)},organisationSettings(e,t,r){return{key:`settings:organisation:${e}`,url:`{gateway}/v1/organisations/${e}/settings`,normalizeOptions:{idAttribute:"name"},formatData:lh.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=>ac.first(n),success:t,error:r}},customerSettings(e,t){return{key:"customer:settings",url:"{gateway}/v1/customers/me/settings?(customerSettings)",normalizeOptions:{idAttribute:"name"},formatData:lh.formatSettings,success:e,error:t}},_publicCustomerSettings(e,t){return{key:"customer:settings",url:"simulated:/api/domain/v3/settings/public",normalizeOptions:{idAttribute:"name"},formatData:NR,success:e,error:t,successResponse:()=>xG}},_publicUserSettings(e,t){return{key:"user:settings",url:"simulated:/api/domain/v3/settings/public",normalizeOptions:{idAttribute:"name"},formatData:NR,success:e,error:t,successResponse:()=>xG}},userSetting(e,t,r){return{key:`settings:user:${e}`,url:`{gateway}/v1/customers/me/settings?type=${e}`,normalizeOptions:{idAttribute:"name"},formatData:n=>ac.first(n),success:t,error:r}},userSettings(e,t){return{key:"user:settings",url:"{gateway}/v1/users/me/settings?(userSettings)",normalizeOptions:{idAttribute:"name"},formatData:lh.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:Zi.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:Zi.PUT,formatData:()=>e,normalizeOptions:{idAttribute:"name"},success:t,error:r,always:n}}},c0e="modulepreload",f0e=function(e){return"/"+e},CG={},Ln=function(t,r,n){let i=Promise.resolve();if(r&&r.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),l=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));i=Promise.allSettled(r.map(u=>{if(u=f0e(u),u in CG)return;CG[u]=!0;const f=u.endsWith(".css"),d=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${d}`))return;const h=document.createElement("link");if(h.rel=f?"stylesheet":c0e,f||(h.as="script"),h.crossOrigin="",h.href=u,l&&h.setAttribute("nonce",l),document.head.appendChild(h),f)return new Promise((p,y)=>{h.addEventListener("load",p),h.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${u}`)))})}))}function a(o){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=o,window.dispatchEvent(l),!l.defaultPrevented)throw o}return i.then(o=>{for(const l of o||[])l.status==="rejected"&&a(l.reason);return t().catch(a)})};var MR={exports:{}},Hd={};/**
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 OG;function d0e(){if(OG)return Hd;OG=1;var e=Oc(),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(l,u,f){var d,h={},p=null,y=null;f!==void 0&&(p=""+f),u.key!==void 0&&(p=""+u.key),u.ref!==void 0&&(y=u.ref);for(d in u)n.call(u,d)&&!a.hasOwnProperty(d)&&(h[d]=u[d]);if(l&&l.defaultProps)for(d in u=l.defaultProps,u)h[d]===void 0&&(h[d]=u[d]);return{$$typeof:t,type:l,key:p,ref:y,props:h,_owner:i.current}}return Hd.Fragment=r,Hd.jsx=o,Hd.jsxs=o,Hd}var IG;function h0e(){return IG||(IG=1,MR.exports=d0e()),MR.exports}var ce=h0e();class SI extends Sye{onShowAlert(t){if(!this.layoutOptions.options.alertRegion)return super.onShowAlert(t);const{ctor:r,collection:n}=t,i=n?n.toJSON():[],a=o=>Mr.Radio.channel(mn.ALERT).trigger("remove:alert",o);this.layout.showChildView(this.layoutOptions.options.alertRegion,ce.jsx(r,{alerts:i,removeAlert:a}))}}var So=(e=>(e.Analytics="analytics",e.LibraryEditor="manage",e.Online="online",e.Primary="lite",e.Exchange="exchange_tv",e.StreamableLearning="streamable_learning",e))(So||{});const $R="shared.notFoundError";class ste extends ty{constructor(){super(Gr.getPhrase($R,"title"))}get name(){return"NotFoundError"}get heading(){return Gr.getPhrase($R,"heading")}get description(){return Gr.getPhrase($R,"description")}}const on={CONTENT:"content",POPUP:"popup",ALERT:"alert",HIDDEN:"hidden"},fp={DEFAULT_LAYOUT:"DefaultLayout"},ki={DEFAULT:"default:application",EXCHANGE:"exchange:application",TV:"tv:application"},ute={getRandomInt(e=1e4){return Math.floor(Math.random()*Math.floor(e))}},Ro={debounce(e,t,r){return bZ(e,t,r)},throttle(e,t,r){return wZ(e,t,r)},isFunction(e){return rn(e)},useIdentity(){return Lm},memoize(e,t){return EZ(e,t)}};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||{}),kn=(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))(kn||{}),ba=(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))(ba||{}),Zu=(e=>(e.Start="start",e.Complete="complete",e.Save="save",e.Discard="discard",e.Next="next",e.Back="back",e))(Zu||{}),Xx=(e=>(e.Single="single",e.Bulk="bulk",e.All="all",e))(Xx||{}),p0e=(e=>(e.Content="content",e.Quality="quality",e.Duration="duration",e.Reset="reset",e.DateRange="date_range",e.Audience="audience",e))(p0e||{}),v0e=(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))(v0e||{}),g0e=(e=>(e.Embedded="embedded",e))(g0e||{}),Xl=(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))(Xl||{}),m0e=(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))(m0e||{}),Qx=(e=>(e.FileSelect="file_select",e.DragDrop="drag_drop",e))(Qx||{}),y0e=(e=>(e.On="on",e.Off="off",e))(y0e||{}),xh=(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))(xh||{}),_0e=(e=>(e.RequestProgram="tv_request_program",e.AdFreeRequest="tv_ad_free_request",e.AddAdFreeVideo="tv_add_ad_free_video",e.AddFullVideo="tv_add_full_video",e.RegionSelect="tv_region_select",e))(_0e||{}),E0e=(e=>(e.MyVideos="search_source_my_videos",e.School="search_source_school",e.ExchangeArchive="search_source_exchange_archive",e.ClickView="search_source_clickview",e))(E0e||{}),S0e=(e=>(e.SearchTranscript="search_transcript",e.NextResult="next_result",e.PreviousResult="previous_result",e.ResetResults="reset_results",e))(S0e||{}),Jx=(e=>(e.FileSelect="file-select",e.DragDrop="drag-drop",e))(Jx||{}),Gu=(e=>(e.Video="videos",e.Clip="clips",e.Interactive="interactives",e.Folder="categories",e.Series="series",e.Tags="tags",e.Subjects="subjects",e))(Gu||{}),lte=(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))(lte||{}),cte=(e=>(e.Staff="Staff",e.Learner="Learner",e.Unknown="Unknown",e.System="System",e))(cte||{}),wI=(e=>(e.Analytics="AnalyticsService",e.Context="ContextService",e.PageView="PageViewService",e.ProfileApiClient="ProfileApiClient",e))(wI||{});const w0e=5;let b0e=class extends co{constructor(){super(...arguments),this.contextHistory=[]}get name(){return wI.Context}static get Instance(){return this.instance||(this.instance=new this)}initialize(){this.listenTo(mn.SHELL,En.ROUTE,this.setContext)}setContext(t){this.contextHistory.length>=w0e&&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 fte=new b0e;var xf=(e=>(e.Inlet="event:inlet",e.Outlet="event:outlet",e))(xf||{});const dte={ANALYTICS:"global:analytics"},T0e=lte.V2;class A0e{constructor(t,r,n,i){this.type=t,this.data=r,this.actionContext=n,this.eventVersion=i||T0e}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 Rn(`${t} is not a valid key`)),this[t]&&vr.throw(new Rn(`Event already contains an enrichment named ${t}`))}}const R0e={log(e,t,r,n){Mr.Radio.channel(dte.ANALYTICS).trigger(xf.Inlet,new A0e(e,t,r,n))}};function x0e(){const{appLink:e}=fte.getCurrentContext();return rs(e)||vr.throw(new Rn("Applink does not exist. Check current context.")),I0e(e.application)}function _v(e={}){const{location:t,entity:r,workflowPhase:n=null,descriptor:i=null}=e;return t||vr.throw(new Rn("location must be set.")),r||vr.throw(new Rn("entity must be set.")),{productArea:e.productArea??x0e(),location:t,entity:r,descriptor:i,workflowPhase:n}}function C0e(e){return!!(hl(e)&&jx(e,t=>rs(t))||rs(e))}function O0e(){return Nn.GetCurrentPath()+Nn.GetCurrentQueryString()}function I0e(e){return e.replace(":","-")}const qa={logUserAction(e,t){if(!C0e(e)||!rs(t))return;const{userAction:r,action:n,eventVersion:i}=qa.buildUserActionEvent(t);R0e.log(r,e,n,i)},mergeOptions(e,t){return Array.isArray(t)||(t=[t]),ro({},e,...t)},buildActionContext(e={}){return _v(e)},buildUserActionEvent(e={}){const{actionType:t,eventVersion:r}=e,n=t,i=_v(e);return{userAction:n,action:i,eventVersion:r}},buildCurrentLocation(){return O0e()},buildSearchEvent(e,t){return{data:{query:e},action:_v({entity:kn.Video,location:ba.SearchBar,descriptor:t})}},buildInstantSearchEvent(e,t,r){let n;r===Gu.Series&&(n=kn.Series),r===Gu.Folder&&(n=kn.Folder),r===Gu.Tags&&(n=kn.Tag),r===Gu.Video&&(n=kn.Video),r===Gu.Clip&&(n=kn.Clip),r===Gu.Interactive&&(n=kn.Interactive),r===Gu.Subjects&&(n=kn.Classification);const i={instant:{},query:e};return t.id&&(i.instant.selectedId=t.id),t.name&&(i.instant.selectedName=t.name),{data:i,action:_v({entity:n,location:ba.SearchBar})}},mapInteractionType(e){switch(e){case Jx.DragDrop:return Qx.DragDrop;case Jx.FileSelect:return Qx.FileSelect;default:return}}},Zx=Dr.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 ce.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})}),P0e="_appLink_1d1n3_1",k0e={appLink:P0e},xo=Se.forwardRef((e,t)=>{const{appLink:r,appLinkOptions:n={},className:i,style:a,children:o,disabled:l,tag:u="a",preventFocus:f}=e;if(!r)return ce.jsx("div",{ref:t,className:`${k0e.appLink} ${i||""}`,style:a,children:o});const d=Ai.getHref(r,n)||void 0,p={onClick:y=>{var E;const _=y.metaKey||y.ctrlKey;_||y.preventDefault(),!l&&((E=e.onClick)==null||E.call(e,y),e.analyticsData&&e.analyticsOptions&&qa.logUserAction({href:d,...e.analyticsData},e.analyticsOptions),!_&&(e.openInNewTab?Nn.PageLoad(d,!0):e.forcePageLoad?Nn.PageLoad(d):Ai.trigger(r,n)))},...u==="a"&&{href:d},...e.title?{title:e.title}:{},className:i,style:a,disabled:l,tabIndex:f?-1:0,id:e.id,"aria-label":e.ariaLabel,"aria-labelledby":e.labelledBy,ref:t,role:e.role};return u==="button"||!d?ce.jsx(Zx,{...p,children:o}):ce.jsx(u,{...p,children:o})});function D0e(...e){if(!e.length)return"";const t=e.filter(r=>!!r);return t.length?t.join(" "):""}var FR={exports:{}};/*!
127
+ Copyright (c) 2018 Jed Watson.
128
+ Licensed under the MIT License (MIT), see
129
+ http://jedwatson.github.io/classnames
130
+ */var PG;function L0e(){return PG||(PG=1,(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var a="",o=0;o<arguments.length;o++){var l=arguments[o];l&&(a=i(a,n(l)))}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 l in a)t.call(a,l)&&a[l]&&(o=i(o,l));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})()})(FR)),FR.exports}var N0e=L0e();const nn=$n(N0e);var jR,kG;function M0e(){if(kG)return jR;kG=1;var e=function(t,r,n,i,a,o,l,u){if(!t){var f;if(r===void 0)f=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,l,u],h=0;f=new Error(r.replace(/%s/g,function(){return d[h++]})),f.name="Invariant Violation"}throw f.framesToPop=1,f}};return jR=e,jR}var $0e=M0e();const DG=$n($0e);function LG(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function F0e(e){var t=j0e(e,"string");return typeof t=="symbol"?t:String(t)}function j0e(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 hte(e,t,r){var n=Se.useRef(e!==void 0),i=Se.useState(t),a=i[0],o=i[1],l=e!==void 0,u=n.current;return n.current=l,!l&&u&&a!==t&&o(t),[l?e:a,Se.useCallback(function(f){for(var d=arguments.length,h=new Array(d>1?d-1:0),p=1;p<d;p++)h[p-1]=arguments[p];r&&r.apply(void 0,[f].concat(h)),o(f)},[r])]}function U0e(e,t){return Object.keys(t).reduce(function(r,n){var i,a=r,o=a[LG(n)],l=a[n],u=Ym(a,[LG(n),n].map(F0e)),f=t[n],d=hte(l,o,e[f]),h=d[0],p=d[1];return Ah({},u,(i={},i[n]=h,i[f]=p,i))},e)}function eC(e,t){return eC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},eC(e,t)}function bI(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,eC(e,t)}const q0e=["xxl","xl","lg","md","sm","xs"],B0e="xs",dp=Se.createContext({prefixes:{},breakpoints:q0e,minBreakpoint:B0e}),{Consumer:bLe,Provider:TLe}=dp;function yn(e,t){const{prefixes:r}=Se.useContext(dp);return e||r[t]||t}function V0e(){const{breakpoints:e}=Se.useContext(dp);return e}function H0e(){const{minBreakpoint:e}=Se.useContext(dp);return e}function ry(){const{dir:e}=Se.useContext(dp);return e==="rtl"}function dd(e){return e&&e.ownerDocument||document}function z0e(e){var t=dd(e);return t&&t.defaultView||window}function W0e(e,t){return z0e(e).getComputedStyle(e,t)}var G0e=/([A-Z])/g;function K0e(e){return e.replace(G0e,"-$1").toLowerCase()}var Y0e=/^ms-/;function Ev(e){return K0e(e).replace(Y0e,"-ms-")}var X0e=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function Q0e(e){return!!(e&&X0e.test(e))}function Ql(e,t){var r="",n="";if(typeof t=="string")return e.style.getPropertyValue(Ev(t))||W0e(e).getPropertyValue(Ev(t));Object.keys(t).forEach(function(i){var a=t[i];!a&&a!==0?e.style.removeProperty(Ev(i)):Q0e(i)?n+=i+"("+a+") ":r+=Ev(i)+": "+a+";"}),n&&(r+="transform: "+n+";"),e.style.cssText+=";"+r}var UR={exports:{}},qR,NG;function J0e(){if(NG)return qR;NG=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return qR=e,qR}var BR,MG;function Z0e(){if(MG)return BR;MG=1;var e=J0e();function t(){}function r(){}return r.resetWarningCache=t,BR=function(){function n(o,l,u,f,d,h){if(h!==e){var p=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 p.name="Invariant Violation",p}}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},BR}var $G;function ewe(){return $G||($G=1,UR.exports=Z0e()()),UR.exports}var twe=ewe();const Hr=$n(twe),FG={disabled:!1},Ag=Dr.createContext(null);var pte=function(t){return t.scrollTop},nh="unmounted",Ml="exited",Ku="entering",jl="entered",tC="exiting",Hs=(function(e){bI(t,e);function t(n,i){var a;a=e.call(this,n,i)||this;var o=i,l=o&&!o.isMounting?n.enter:n.appear,u;return a.appearStatus=null,n.in?l?(u=Ml,a.appearStatus=Ku):u=jl:n.unmountOnExit||n.mountOnEnter?u=nh:u=Ml,a.state={status:u},a.nextCallback=null,a}t.getDerivedStateFromProps=function(i,a){var o=i.in;return o&&a.status===nh?{status:Ml}: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!==Ku&&o!==jl&&(a=Ku):(o===Ku||o===jl)&&(a=tC)}this.updateStatus(!1,a)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var i=this.props.timeout,a,o,l;return a=o=l=i,i!=null&&typeof i!="number"&&(a=i.exit,o=i.enter,l=i.appear!==void 0?i.appear:o),{exit:a,enter:o,appear:l}},r.updateStatus=function(i,a){if(i===void 0&&(i=!1),a!==null)if(this.cancelNextCallback(),a===Ku){if(this.props.unmountOnExit||this.props.mountOnEnter){var o=this.props.nodeRef?this.props.nodeRef.current:Hl.findDOMNode(this);o&&pte(o)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ml&&this.setState({status:nh})},r.performEnter=function(i){var a=this,o=this.props.enter,l=this.context?this.context.isMounting:i,u=this.props.nodeRef?[l]:[Hl.findDOMNode(this),l],f=u[0],d=u[1],h=this.getTimeouts(),p=l?h.appear:h.enter;if(!i&&!o||FG.disabled){this.safeSetState({status:jl},function(){a.props.onEntered(f)});return}this.props.onEnter(f,d),this.safeSetState({status:Ku},function(){a.props.onEntering(f,d),a.onTransitionEnd(p,function(){a.safeSetState({status:jl},function(){a.props.onEntered(f,d)})})})},r.performExit=function(){var i=this,a=this.props.exit,o=this.getTimeouts(),l=this.props.nodeRef?void 0:Hl.findDOMNode(this);if(!a||FG.disabled){this.safeSetState({status:Ml},function(){i.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:tC},function(){i.props.onExiting(l),i.onTransitionEnd(o.exit,function(){i.safeSetState({status:Ml},function(){i.props.onExited(l)})})})},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(l){o&&(o=!1,a.nextCallback=null,i(l))},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:Hl.findDOMNode(this),l=i==null&&!this.props.addEndListener;if(!o||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var u=this.props.nodeRef?[this.nextCallback]:[o,this.nextCallback],f=u[0],d=u[1];this.props.addEndListener(f,d)}i!=null&&setTimeout(this.nextCallback,i)},r.render=function(){var i=this.state.status;if(i===nh)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 l=Ym(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Dr.createElement(Ag.Provider,{value:null},typeof o=="function"?o(i,l):Dr.cloneElement(Dr.Children.only(o),l))},t})(Dr.Component);Hs.contextType=Ag;Hs.propTypes={};function uf(){}Hs.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:uf,onEntering:uf,onEntered:uf,onExit:uf,onExiting:uf,onExited:uf};Hs.UNMOUNTED=nh;Hs.EXITED=Ml;Hs.ENTERING=Ku;Hs.ENTERED=jl;Hs.EXITING=tC;function vte(e){return e.code==="Escape"||e.keyCode===27}function rwe(){const e=Se.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}=rwe();return t>=19?e.props.ref:e.ref}const hd=!!(typeof window<"u"&&window.document&&window.document.createElement);var rC=!1,nC=!1;try{var VR={get passive(){return rC=!0},get once(){return nC=rC=!0}};hd&&(window.addEventListener("test",VR,VR),window.removeEventListener("test",VR,!0))}catch{}function TI(e,t,r,n){if(n&&typeof n!="boolean"&&!nC){var i=n.once,a=n.capture,o=r;!nC&&i&&(o=r.__once||function l(u){this.removeEventListener(t,l,a),r.call(this,u)},r.__once=o),e.addEventListener(t,o,rC?n:a)}e.addEventListener(t,r,n)}function iC(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 lu(e,t,r,n){return TI(e,t,r,n),function(){iC(e,t,r,n)}}function nwe(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 iwe(e){var t=Ql(e,"transitionDuration")||"",r=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*r}function awe(e,t,r){r===void 0&&(r=5);var n=!1,i=setTimeout(function(){n||nwe(e,"transitionend",!0)},t+r),a=lu(e,"transitionend",function(){n=!0},{once:!0});return function(){clearTimeout(i),a()}}function gte(e,t,r,n){r==null&&(r=iwe(e)||0);var i=awe(e,r,n),a=lu(e,"transitionend",t);return function(){i(),a()}}function jG(e,t){const r=Ql(e,t)||"",n=r.indexOf("ms")===-1?1e3:1;return parseFloat(r)*n}function owe(e,t){const r=jG(e,"transitionDuration"),n=jG(e,"transitionDelay"),i=gte(e,a=>{a.target===e&&(i(),t(a))},r+n)}function swe(e){e.offsetHeight}const UG=e=>!e||typeof e=="function"?e:t=>{e.current=t};function uwe(e,t){const r=UG(e),n=UG(t);return i=>{r&&r(i),n&&n(i)}}function pd(e,t){return Se.useMemo(()=>uwe(e,t),[e,t])}function Rg(e){return e&&"setState"in e?Hl.findDOMNode(e):e??null}const lwe=Dr.forwardRef(({onEnter:e,onEntering:t,onEntered:r,onExit:n,onExiting:i,onExited:a,addEndListener:o,children:l,childRef:u,...f},d)=>{const h=Se.useRef(null),p=pd(h,u),y=O=>{p(Rg(O))},_=O=>m=>{O&&h.current&&O(h.current,m)},E=Se.useCallback(_(e),[e]),S=Se.useCallback(_(t),[t]),w=Se.useCallback(_(r),[r]),T=Se.useCallback(_(n),[n]),C=Se.useCallback(_(i),[i]),x=Se.useCallback(_(a),[a]),R=Se.useCallback(_(o),[o]);return ce.jsx(Hs,{ref:d,...f,onEnter:E,onEntered:w,onEntering:S,onExit:T,onExited:x,onExiting:C,addEndListener:R,nodeRef:h,children:typeof l=="function"?(O,m)=>l(O,{...m,ref:y}):Dr.cloneElement(l,{ref:y})})});function cwe(e){const t=Se.useRef(e);return Se.useEffect(()=>{t.current=e},[e]),t}function Ch(e){const t=cwe(e);return Se.useCallback(function(...r){return t.current&&t.current(...r)},[t])}const fwe=(e=>Se.forwardRef((t,r)=>ce.jsx("div",{...t,ref:r,className:nn(t.className,e)})));function aC(){return Se.useState(null)}function dwe(e){const t=Se.useRef(e);return Se.useEffect(()=>{t.current=e},[e]),t}function wa(e){const t=dwe(e);return Se.useCallback(function(...r){return t.current&&t.current(...r)},[t])}function hwe(e,t,r,n=!1){const i=wa(r);Se.useEffect(()=>{const a=typeof e=="function"?e():e;return a.addEventListener(t,i,n),()=>a.removeEventListener(t,i,n)},[e])}function mte(){const e=Se.useRef(!0),t=Se.useRef(()=>e.current);return Se.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function yte(e){const t=Se.useRef(null);return Se.useEffect(()=>{t.current=e}),t.current}const pwe=typeof globalThis<"u"&&globalThis.navigator&&globalThis.navigator.product==="ReactNative",vwe=typeof document<"u",qG=vwe||pwe?Se.useLayoutEffect:Se.useEffect,gwe=["as","disabled"];function mwe(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 ywe(e){return!e||e.trim()==="#"}function AI({tagName:e,disabled:t,href:r,target:n,rel:i,role:a,onClick:o,tabIndex:l=0,type:u}){e||(r!=null||n!=null||i!=null?e="a":e="button");const f={tagName:e};if(e==="button")return[{type:u||"button",disabled:t},f];const d=p=>{if((t||e==="a"&&ywe(r))&&p.preventDefault(),t){p.stopPropagation();return}o==null||o(p)},h=p=>{p.key===" "&&(p.preventDefault(),d(p))};return e==="a"&&(r||(r="#"),t&&(r=void 0)),[{role:a??"button",disabled:void 0,tabIndex:t?void 0:l,href:r,target:e==="a"?n:void 0,"aria-disabled":t||void 0,rel:e==="a"?i:void 0,onClick:d,onKeyDown:h},f]}const _te=Se.forwardRef((e,t)=>{let{as:r,disabled:n}=e,i=mwe(e,gwe);const[a,{tagName:o}]=AI(Object.assign({tagName:r,disabled:n},i));return ce.jsx(o,Object.assign({},i,a,{ref:t}))});_te.displayName="Button";const _we=["onKeyDown"];function Ewe(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 Swe(e){return!e||e.trim()==="#"}const Ete=Se.forwardRef((e,t)=>{let{onKeyDown:r}=e,n=Ewe(e,_we);const[i]=AI(Object.assign({tagName:"a"},n)),a=wa(o=>{i.onKeyDown(o),r==null||r(o)});return Swe(n.href)||n.role==="button"?ce.jsx("a",Object.assign({ref:t},n,i,{onKeyDown:a})):ce.jsx("a",Object.assign({ref:t},n,{onKeyDown:r}))});Ete.displayName="Anchor";const wwe={[Ku]:"show",[jl]:"show"},Oh=Se.forwardRef(({className:e,children:t,transitionClasses:r={},onEnter:n,...i},a)=>{const o={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...i},l=Se.useCallback((u,f)=>{swe(u),n==null||n(u,f)},[n]);return ce.jsx(lwe,{ref:a,addEndListener:owe,...o,onEnter:l,childRef:hp(t),children:(u,f)=>Se.cloneElement(t,{...f,className:nn("fade",e,t.props.className,wwe[u],r[u])})})});Oh.displayName="Fade";const bwe={"aria-label":Hr.string,onClick:Hr.func,variant:Hr.oneOf(["white"])},RI=Se.forwardRef(({className:e,variant:t,"aria-label":r="Close",...n},i)=>ce.jsx("button",{ref:i,type:"button",className:nn("btn-close",t&&`btn-close-${t}`,e),"aria-label":r,...n}));RI.displayName="CloseButton";RI.propTypes=bwe;const ny=Se.forwardRef(({as:e,bsPrefix:t,variant:r="primary",size:n,active:i=!1,disabled:a=!1,className:o,...l},u)=>{const f=yn(t,"btn"),[d,{tagName:h}]=AI({tagName:e,disabled:a,...l}),p=h;return ce.jsx(p,{...d,...l,ref:u,disabled:a,className:nn(o,f,i&&"active",r&&`${f}-${r}`,n&&`${f}-${n}`,l.href&&a&&"disabled")})});ny.displayName="Button";function Twe(){const e=Se.useRef(!0),t=Se.useRef(()=>e.current);return Se.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function Awe(e){const t=Se.useRef(e);return t.current=e,t}function Ste(e){const t=Awe(e);Se.useEffect(()=>()=>t.current(),[])}const oC=2**31-1;function wte(e,t,r){const n=r-Date.now();e.current=n<=oC?setTimeout(t,n):setTimeout(()=>wte(e,t,r),oC)}function Rwe(){const e=Twe(),t=Se.useRef();return Ste(()=>clearTimeout(t.current)),Se.useMemo(()=>{const r=()=>clearTimeout(t.current);function n(i,a=0){e()&&(r(),a<=oC?t.current=setTimeout(i,a):wte(t,i,Date.now()+a))}return{set:n,clear:r,handleRef:t}},[])}function xwe(e,t){return Se.Children.toArray(e).some(r=>Se.isValidElement(r)&&r.type===t)}function Cwe({as:e,bsPrefix:t,className:r,...n}){t=yn(t,"col");const i=V0e(),a=H0e(),o=[],l=[];return i.forEach(u=>{const f=n[u];delete n[u];let d,h,p;typeof f=="object"&&f!=null?{span:d,offset:h,order:p}=f:d=f;const y=u!==a?`-${u}`:"";d&&o.push(d===!0?`${t}${y}`:`${t}${y}-${d}`),p!=null&&l.push(`order${y}-${p}`),h!=null&&l.push(`offset${y}-${h}`)}),[{...n,className:nn(r,...o,...l)},{as:e,bsPrefix:t,spans:o}]}const bte=Se.forwardRef((e,t)=>{const[{className:r,...n},{as:i="div",bsPrefix:a,spans:o}]=Cwe(e);return ce.jsx(i,{...n,ref:t,className:nn(r,!o.length&&a)})});bte.displayName="Col";var Owe=Function.prototype.bind.call(Function.prototype.call,[].slice);function Yu(e,t){return Owe(e.querySelectorAll(t))}function Iwe(e,t,r){const n=Se.useRef(e!==void 0),[i,a]=Se.useState(t),o=e!==void 0,l=n.current;return n.current=o,!o&&l&&i!==t&&a(t),[o?e:i,Se.useCallback((...u)=>{const[f,...d]=u;let h=r==null?void 0:r(f,...d);return a(f),h},[r])]}function Pwe(){const[,e]=Se.useReducer(t=>t+1,0);return e}const iy=Se.createContext(null);var BG=Object.prototype.hasOwnProperty;function VG(e,t,r){for(r of e.keys())if(ch(r,t))return r}function ch(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--&&ch(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=VG(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=VG(t,i),!i)||!ch(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(BG.call(e,r)&&++n&&!BG.call(t,r)||!(r in t)||!ch(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}function kwe(e){const t=mte();return[e[0],Se.useCallback(r=>{if(t())return e[1](r)},[t,e[1]])]}const Dwe=Xh({defaultModifiers:[AO,Cm,Rm,xm,RO,TO,xO,EO]}),Lwe=["enabled","placement","strategy","modifiers"];function Nwe(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 Mwe={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},$we={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)}}},Fwe=[];function Tte(e,t,r={}){let{enabled:n=!0,placement:i="bottom",strategy:a="absolute",modifiers:o=Fwe}=r,l=Nwe(r,Lwe);const u=Se.useRef(o),f=Se.useRef(),d=Se.useCallback(()=>{var S;(S=f.current)==null||S.update()},[]),h=Se.useCallback(()=>{var S;(S=f.current)==null||S.forceUpdate()},[]),[p,y]=kwe(Se.useState({placement:i,update:d,forceUpdate:h,attributes:{},styles:{popper:{},arrow:{}}})),_=Se.useMemo(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:S})=>{const w={},T={};Object.keys(S.elements).forEach(C=>{w[C]=S.styles[C],T[C]=S.attributes[C]}),y({state:S,styles:w,attributes:T,update:d,forceUpdate:h,placement:S.placement})}}),[d,h,y]),E=Se.useMemo(()=>(ch(u.current,o)||(u.current=o),u.current),[o]);return Se.useEffect(()=>{!f.current||!n||f.current.setOptions({placement:i,strategy:a,modifiers:[...E,_,Mwe]})},[a,i,_,n,E]),Se.useEffect(()=>{if(!(!n||e==null||t==null))return f.current=Dwe(e,t,Object.assign({},l,{placement:i,strategy:a,modifiers:[...E,$we,_]})),()=>{f.current!=null&&(f.current.destroy(),f.current=void 0,y(S=>Object.assign({},S,{attributes:{},styles:{popper:{}}})))}},[n,e,t]),p}function Ih(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(e.compareDocumentPosition(t)&16)}var jwe=Xee();const Uwe=$n(jwe),HG=()=>{};function qwe(e){return e.button===0}function Bwe(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}const Yv=e=>e&&("current"in e?e.current:e),zG={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};function Ate(e,t=HG,{disabled:r,clickTrigger:n="click"}={}){const i=Se.useRef(!1),a=Se.useRef(!1),o=Se.useCallback(f=>{const d=Yv(e);Uwe(!!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||Bwe(f)||!qwe(f)||!!Ih(d,f.target)||a.current,a.current=!1},[e]),l=wa(f=>{const d=Yv(e);d&&Ih(d,f.target)?a.current=!0:a.current=!1}),u=wa(f=>{i.current||t(f)});Se.useEffect(()=>{var f,d;if(r||e==null)return;const h=dd(Yv(e)),p=h.defaultView||window;let y=(f=p.event)!=null?f:(d=p.parent)==null?void 0:d.event,_=null;zG[n]&&(_=lu(h,zG[n],l,!0));const E=lu(h,n,o,!0),S=lu(h,n,T=>{if(T===y){y=void 0;return}u(T)});let w=[];return"ontouchstart"in h.documentElement&&(w=[].slice.call(h.body.children).map(T=>lu(T,"mousemove",HG))),()=>{_==null||_(),E(),S(),w.forEach(T=>T())}},[e,r,n,o,l,u])}function Vwe(e){const t={};return Array.isArray(e)?(e==null||e.forEach(r=>{t[r.name]=r}),t):e||t}function Hwe(e={}){return Array.isArray(e)?e:Object.keys(e).map(t=>(e[t].name=t,e[t]))}function Rte({enabled:e,enableEvents:t,placement:r,flip:n,offset:i,fixed:a,containerPadding:o,arrowElement:l,popperConfig:u={}}){var f,d,h,p,y;const _=Vwe(u.modifiers);return Object.assign({},u,{placement:r,enabled:e,strategy:a?"fixed":u.strategy,modifiers:Hwe(Object.assign({},_,{eventListeners:{enabled:t,options:(f=_.eventListeners)==null?void 0:f.options},preventOverflow:Object.assign({},_.preventOverflow,{options:o?Object.assign({padding:o},(d=_.preventOverflow)==null?void 0:d.options):(h=_.preventOverflow)==null?void 0:h.options}),offset:{options:Object.assign({offset:i},(p=_.offset)==null?void 0:p.options)},arrow:Object.assign({},_.arrow,{enabled:!!l,options:Object.assign({},(y=_.arrow)==null?void 0:y.options,{element:l})}),flip:Object.assign({enabled:!!n},_.flip)}))})}const zwe=["children","usePopper"];function Wwe(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 Gwe=()=>{};function xte(e={}){const t=Se.useContext(iy),[r,n]=aC(),i=Se.useRef(!1),{flip:a,offset:o,rootCloseEvent:l,fixed:u=!1,placement:f,popperConfig:d={},enableEventListeners:h=!0,usePopper:p=!!t}=e,y=(t==null?void 0:t.show)==null?!!e.show:t.show;y&&!i.current&&(i.current=!0);const _=O=>{t==null||t.toggle(!1,O)},{placement:E,setMenu:S,menuElement:w,toggleElement:T}=t||{},C=Tte(T,w,Rte({placement:f||E||"bottom-start",enabled:p,enableEvents:h??y,offset:o,flip:a,fixed:u,arrowElement:r,popperConfig:d})),x=Object.assign({ref:S||Gwe,"aria-labelledby":T==null?void 0:T.id},C.attributes.popper,{style:C.styles.popper}),R={show:y,placement:E,hasShown:i.current,toggle:t==null?void 0:t.toggle,popper:p?C:null,arrowProps:p?Object.assign({ref:n},C.attributes.arrow,{style:C.styles.arrow}):{}};return Ate(w,_,{clickTrigger:l,disabled:!y}),[x,R]}function Cte(e){let{children:t,usePopper:r=!0}=e,n=Wwe(e,zwe);const[i,a]=xte(Object.assign({},n,{usePopper:r}));return ce.jsx(ce.Fragment,{children:t(i,a)})}Cte.displayName="DropdownMenu";const Ote={prefix:String(Math.round(Math.random()*1e10)),current:0},Ite=Dr.createContext(Ote),Kwe=Dr.createContext(!1);let HR=new WeakMap;function Ywe(e=!1){let t=Se.useContext(Ite),r=Se.useRef(null);if(r.current===null&&!e){var n,i;let a=(i=Dr.__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=HR.get(a);o==null?HR.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==o.state&&(t.current=o.id,HR.delete(a))}r.current=++t.current}return r.current}function Xwe(e){let t=Se.useContext(Ite),r=Ywe(!!e),n=`react-aria${t.prefix}`;return e||`${n}-${r}`}function Qwe(e){let t=Dr.useId(),[r]=Se.useState(r1e()),n=r?"react-aria":`react-aria${Ote.prefix}`;return e||`${n}-${t}`}const Jwe=typeof Dr.useId=="function"?Qwe:Xwe;function Zwe(){return!1}function e1e(){return!0}function t1e(e){return()=>{}}function r1e(){return typeof Dr.useSyncExternalStore=="function"?Dr.useSyncExternalStore(t1e,Zwe,e1e):Se.useContext(Kwe)}const Pte=e=>{var t;return((t=e.getAttribute("role"))==null?void 0:t.toLowerCase())==="menu"},WG=()=>{};function kte(){const e=Jwe(),{show:t=!1,toggle:r=WG,setToggle:n,menuElement:i}=Se.useContext(iy)||{},a=Se.useCallback(l=>{r(!t,l)},[t,r]),o={id:e,ref:n||WG,onClick:a,"aria-expanded":!!t};return i&&Pte(i)&&(o["aria-haspopup"]=!0),[o,{show:t,toggle:r}]}function Dte({children:e}){const[t,r]=kte();return ce.jsx(ce.Fragment,{children:e(t,r)})}Dte.displayName="DropdownToggle";const sC=Se.createContext(null),GG=(e,t=null)=>e!=null?String(e):t||null,Lte=Se.createContext(null);Lte.displayName="NavContext";const n1e="data-rr-ui-";function xI(e){return`${n1e}${e}`}const i1e=["eventKey","disabled","onClick","active","as"];function a1e(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 Nte({key:e,href:t,active:r,disabled:n,onClick:i}){const a=Se.useContext(sC),o=Se.useContext(Lte),{activeKey:l}=o||{},u=GG(e,t),f=r==null&&e!=null?GG(l)===u:r;return[{onClick:wa(h=>{n||(i==null||i(h),a&&!h.isPropagationStopped()&&a(u,h))}),"aria-disabled":n||void 0,"aria-selected":f,[xI("dropdown-item")]:""},{isActive:f}]}const Mte=Se.forwardRef((e,t)=>{let{eventKey:r,disabled:n,onClick:i,active:a,as:o=_te}=e,l=a1e(e,i1e);const[u]=Nte({key:r,href:l.href,disabled:n,onClick:i,active:a});return ce.jsx(o,Object.assign({},l,{ref:t},u))});Mte.displayName="DropdownItem";const $te=Se.createContext(hd?window:void 0);$te.Provider;function ay(){return Se.useContext($te)}function KG(){const e=Pwe(),t=Se.useRef(null),r=Se.useCallback(n=>{t.current=n,e()},[e]);return[t,r]}function pp({defaultShow:e,show:t,onSelect:r,onToggle:n,itemSelector:i=`* [${xI("dropdown-item")}]`,focusFirstItemOnShow:a,placement:o="bottom-start",children:l}){const u=ay(),[f,d]=Iwe(t,e,n),[h,p]=KG(),y=h.current,[_,E]=KG(),S=_.current,w=yte(f),T=Se.useRef(null),C=Se.useRef(!1),x=Se.useContext(sC),R=Se.useCallback((B,W,Y=W==null?void 0:W.type)=>{d(B,{originalEvent:W,source:Y})},[d]),O=wa((B,W)=>{r==null||r(B,W),R(!1,W,"select"),W.isPropagationStopped()||x==null||x(B,W)}),m=Se.useMemo(()=>({toggle:R,placement:o,show:f,menuElement:y,toggleElement:S,setMenu:p,setToggle:E}),[R,o,f,y,S,p,E]);y&&w&&!f&&(C.current=y.contains(y.ownerDocument.activeElement));const D=wa(()=>{S&&S.focus&&S.focus()}),U=wa(()=>{const B=T.current;let W=a;if(W==null&&(W=h.current&&Pte(h.current)?"keyboard":!1),W===!1||W==="keyboard"&&!/^key.+$/.test(B))return;const Y=Yu(h.current,i)[0];Y&&Y.focus&&Y.focus()});Se.useEffect(()=>{f?U():C.current&&(C.current=!1,D())},[f,C,D,U]),Se.useEffect(()=>{T.current=null});const K=(B,W)=>{if(!h.current)return null;const Y=Yu(h.current,i);let Q=Y.indexOf(B)+W;return Q=Math.max(0,Math.min(Q,Y.length)),Y[Q]};return hwe(Se.useCallback(()=>u.document,[u]),"keydown",B=>{var W,Y;const{key:Q}=B,ie=B.target,ae=(W=h.current)==null?void 0:W.contains(ie),ve=(Y=_.current)==null?void 0:Y.contains(ie);if(/input|textarea/i.test(ie.tagName)&&(Q===" "||Q!=="Escape"&&ae||Q==="Escape"&&ie.type==="search")||!ae&&!ve||Q==="Tab"&&(!h.current||!f))return;T.current=B.type;const J={originalEvent:B,source:B.type};switch(Q){case"ArrowUp":{const z=K(ie,-1);z&&z.focus&&z.focus(),B.preventDefault();return}case"ArrowDown":if(B.preventDefault(),!f)d(!0,J);else{const z=K(ie,1);z&&z.focus&&z.focus()}return;case"Tab":TI(ie.ownerDocument,"keyup",z=>{var ue;(z.key==="Tab"&&!z.target||!((ue=h.current)!=null&&ue.contains(z.target)))&&d(!1,J)},{once:!0});break;case"Escape":Q==="Escape"&&(B.preventDefault(),B.stopPropagation()),d(!1,J);break}}),ce.jsx(sC.Provider,{value:O,children:ce.jsx(iy.Provider,{value:m,children:l})})}pp.displayName="Dropdown";pp.Menu=Cte;pp.Toggle=Dte;pp.Item=Mte;const CI=Se.createContext({});CI.displayName="DropdownContext";const Fte=Se.forwardRef(({className:e,bsPrefix:t,as:r="hr",role:n="separator",...i},a)=>(t=yn(t,"dropdown-divider"),ce.jsx(r,{ref:a,className:nn(e,t),role:n,...i})));Fte.displayName="DropdownDivider";const jte=Se.forwardRef(({className:e,bsPrefix:t,as:r="div",role:n="heading",...i},a)=>(t=yn(t,"dropdown-header"),ce.jsx(r,{ref:a,className:nn(e,t),role:n,...i})));jte.displayName="DropdownHeader";const Ute=Se.forwardRef(({bsPrefix:e,className:t,eventKey:r,disabled:n=!1,onClick:i,active:a,as:o=Ete,...l},u)=>{const f=yn(e,"dropdown-item"),[d,h]=Nte({key:r,href:l.href,disabled:n,onClick:i,active:a});return ce.jsx(o,{...l,...d,ref:u,className:nn(t,f,h.isActive&&"active",n&&"disabled")})});Ute.displayName="DropdownItem";const qte=Se.forwardRef(({className:e,bsPrefix:t,as:r="span",...n},i)=>(t=yn(t,"dropdown-item-text"),ce.jsx(r,{ref:i,className:nn(e,t),...n})));qte.displayName="DropdownItemText";const o1e=typeof globalThis<"u"&&globalThis.navigator&&globalThis.navigator.product==="ReactNative",s1e=typeof document<"u",Bte=s1e||o1e?Se.useLayoutEffect:Se.useEffect,OI=Se.createContext(null);OI.displayName="InputGroupContext";const Vte=Se.createContext(null);Vte.displayName="NavbarContext";function Hte(e,t){return e}function zte(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",l=r?"right-start":"left-start",u=r?"right-end":"left-end",f=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:f:t==="start"?h=e?u:l:t==="down-centered"?h="bottom":t==="up-centered"&&(h="top"),h}const Wte=Se.forwardRef(({bsPrefix:e,className:t,align:r,rootCloseEvent:n,flip:i=!0,show:a,renderOnMount:o,as:l="div",popperConfig:u,variant:f,...d},h)=>{let p=!1;const y=Se.useContext(Vte),_=yn(e,"dropdown-menu"),{align:E,drop:S,isRTL:w}=Se.useContext(CI);r=r||E;const T=Se.useContext(OI),C=[];if(r)if(typeof r=="object"){const B=Object.keys(r);if(B.length){const W=B[0],Y=r[W];p=Y==="start",C.push(`${_}-${W}-${Y}`)}}else r==="end"&&(p=!0);const x=zte(p,S,w),[R,{hasShown:O,popper:m,show:D,toggle:U}]=xte({flip:i,rootCloseEvent:n,show:a,usePopper:!y&&C.length===0,offset:[0,2],popperConfig:u,placement:x});if(R.ref=pd(Hte(h),R.ref),Bte(()=>{D&&(m==null||m.update())},[D]),!O&&!o&&!T)return null;typeof l!="string"&&(R.show=D,R.close=()=>U==null?void 0:U(!1),R.align=r);let K=d.style;return m!=null&&m.placement&&(K={...d.style,...R.style},d["x-placement"]=m.placement),ce.jsx(l,{...d,...R,style:K,...(C.length||y)&&{"data-bs-popper":"static"},className:nn(t,_,D&&"show",p&&`${_}-end`,f&&`${_}-${f}`,...C)})});Wte.displayName="DropdownMenu";const Gte=Se.forwardRef(({bsPrefix:e,split:t,className:r,childBsPrefix:n,as:i=ny,...a},o)=>{const l=yn(e,"dropdown-toggle"),u=Se.useContext(iy);n!==void 0&&(a.bsPrefix=n);const[f]=kte();return f.ref=pd(f.ref,Hte(o)),ce.jsx(i,{className:nn(r,l,t&&`${l}-split`,(u==null?void 0:u.show)&&"show"),...f,...a})});Gte.displayName="DropdownToggle";const Kte=Se.forwardRef((e,t)=>{const{bsPrefix:r,drop:n="down",show:i,className:a,align:o="start",onSelect:l,onToggle:u,focusFirstItemOnShow:f,as:d="div",navbar:h,autoClose:p=!0,...y}=U0e(e,{show:"onToggle"}),_=Se.useContext(OI),E=yn(r,"dropdown"),S=ry(),w=m=>p===!1?m==="click":p==="inside"?m!=="rootClose":p==="outside"?m!=="select":!0,T=Ch((m,D)=>{var U;!((U=D.originalEvent)==null||(U=U.target)==null)&&U.classList.contains("dropdown-toggle")&&D.source==="mousedown"||(D.originalEvent.currentTarget===document&&(D.source!=="keydown"||D.originalEvent.key==="Escape")&&(D.source="rootClose"),w(D.source)&&(u==null||u(m,D)))}),x=zte(o==="end",n,S),R=Se.useMemo(()=>({align:o,drop:n,isRTL:S}),[o,n,S]),O={down:E,"down-centered":`${E}-center`,up:"dropup","up-centered":"dropup-center dropup",end:"dropend",start:"dropstart"};return ce.jsx(CI.Provider,{value:R,children:ce.jsx(pp,{placement:x,show:i,onSelect:l,onToggle:T,focusFirstItemOnShow:f,itemSelector:`.${E}-item:not(.disabled):not(:disabled)`,children:_?y.children:ce.jsx(d,{...y,ref:t,className:nn(a,i&&"show",O[n])})})})});Kte.displayName="Dropdown";const Eo=Object.assign(Kte,{Toggle:Gte,Menu:Wte,Item:Ute,ItemText:qte,Divider:Fte,Header:jte}),u1e={type:Hr.string,tooltip:Hr.bool,as:Hr.elementType},oy=Se.forwardRef(({as:e="div",className:t,type:r="valid",tooltip:n=!1,...i},a)=>ce.jsx(e,{...i,ref:a,className:nn(t,`${r}-${n?"tooltip":"feedback"}`)}));oy.displayName="Feedback";oy.propTypes=u1e;const yu=Se.createContext({}),II=Se.forwardRef(({id:e,bsPrefix:t,className:r,type:n="checkbox",isValid:i=!1,isInvalid:a=!1,as:o="input",...l},u)=>{const{controlId:f}=Se.useContext(yu);return t=yn(t,"form-check-input"),ce.jsx(o,{...l,ref:u,type:n,id:e||f,className:nn(r,t,i&&"is-valid",a&&"is-invalid")})});II.displayName="FormCheckInput";const xg=Se.forwardRef(({bsPrefix:e,className:t,htmlFor:r,...n},i)=>{const{controlId:a}=Se.useContext(yu);return e=yn(e,"form-check-label"),ce.jsx("label",{...n,ref:i,htmlFor:r||a,className:nn(t,e)})});xg.displayName="FormCheckLabel";const Yte=Se.forwardRef(({id:e,bsPrefix:t,bsSwitchPrefix:r,inline:n=!1,reverse:i=!1,disabled:a=!1,isValid:o=!1,isInvalid:l=!1,feedbackTooltip:u=!1,feedback:f,feedbackType:d,className:h,style:p,title:y="",type:_="checkbox",label:E,children:S,as:w="input",...T},C)=>{t=yn(t,"form-check"),r=yn(r,"form-switch");const{controlId:x}=Se.useContext(yu),R=Se.useMemo(()=>({controlId:e||x}),[x,e]),O=!S&&E!=null&&E!==!1||xwe(S,xg),m=ce.jsx(II,{...T,type:_==="switch"?"checkbox":_,ref:C,isValid:o,isInvalid:l,disabled:a,as:w});return ce.jsx(yu.Provider,{value:R,children:ce.jsx("div",{style:p,className:nn(h,O&&t,n&&`${t}-inline`,i&&`${t}-reverse`,_==="switch"&&r),children:S||ce.jsxs(ce.Fragment,{children:[m,O&&ce.jsx(xg,{title:y,children:E}),f&&ce.jsx(oy,{type:d,tooltip:u,children:f})]})})})});Yte.displayName="FormCheck";const Cg=Object.assign(Yte,{Input:II,Label:xg}),Xte=Se.forwardRef(({bsPrefix:e,type:t,size:r,htmlSize:n,id:i,className:a,isValid:o=!1,isInvalid:l=!1,plaintext:u,readOnly:f,as:d="input",...h},p)=>{const{controlId:y}=Se.useContext(yu);return e=yn(e,"form-control"),ce.jsx(d,{...h,type:t,size:n,ref:p,readOnly:f,id:i||y,className:nn(a,u?`${e}-plaintext`:e,r&&`${e}-${r}`,t==="color"&&`${e}-color`,o&&"is-valid",l&&"is-invalid")})});Xte.displayName="FormControl";const l1e=Object.assign(Xte,{Feedback:oy}),Qte=Se.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=yn(t,"form-floating"),ce.jsx(r,{ref:i,className:nn(e,t),...n})));Qte.displayName="FormFloating";const PI=Se.forwardRef(({controlId:e,as:t="div",...r},n)=>{const i=Se.useMemo(()=>({controlId:e}),[e]);return ce.jsx(yu.Provider,{value:i,children:ce.jsx(t,{...r,ref:n})})});PI.displayName="FormGroup";const Jte=Se.forwardRef(({as:e="label",bsPrefix:t,column:r=!1,visuallyHidden:n=!1,className:i,htmlFor:a,...o},l)=>{const{controlId:u}=Se.useContext(yu);t=yn(t,"form-label");let f="col-form-label";typeof r=="string"&&(f=`${f} ${f}-${r}`);const d=nn(i,t,n&&"visually-hidden",r&&f);return a=a||u,r?ce.jsx(bte,{ref:l,as:"label",className:d,htmlFor:a,...o}):ce.jsx(e,{ref:l,className:d,htmlFor:a,...o})});Jte.displayName="FormLabel";const Zte=Se.forwardRef(({bsPrefix:e,className:t,id:r,...n},i)=>{const{controlId:a}=Se.useContext(yu);return e=yn(e,"form-range"),ce.jsx("input",{...n,type:"range",ref:i,className:nn(t,e),id:r||a})});Zte.displayName="FormRange";const ere=Se.forwardRef(({bsPrefix:e,size:t,htmlSize:r,className:n,isValid:i=!1,isInvalid:a=!1,id:o,...l},u)=>{const{controlId:f}=Se.useContext(yu);return e=yn(e,"form-select"),ce.jsx("select",{...l,size:r,ref:u,className:nn(n,e,t&&`${e}-${t}`,i&&"is-valid",a&&"is-invalid"),id:o||f})});ere.displayName="FormSelect";const tre=Se.forwardRef(({bsPrefix:e,className:t,as:r="small",muted:n,...i},a)=>(e=yn(e,"form-text"),ce.jsx(r,{...i,ref:a,className:nn(t,e,n&&"text-muted")})));tre.displayName="FormText";const rre=Se.forwardRef((e,t)=>ce.jsx(Cg,{...e,ref:t,type:"switch"}));rre.displayName="Switch";const c1e=Object.assign(rre,{Input:Cg.Input,Label:Cg.Label}),nre=Se.forwardRef(({bsPrefix:e,className:t,children:r,controlId:n,label:i,...a},o)=>(e=yn(e,"form-floating"),ce.jsxs(PI,{ref:o,className:nn(t,e),controlId:n,...a,children:[r,ce.jsx("label",{htmlFor:n,children:i})]})));nre.displayName="FloatingLabel";const f1e={_ref:Hr.any,validated:Hr.bool,as:Hr.elementType},kI=Se.forwardRef(({className:e,validated:t,as:r="form",...n},i)=>ce.jsx(r,{...n,ref:i,className:nn(e,t&&"was-validated")}));kI.displayName="Form";kI.propTypes=f1e;const d1e=Object.assign(kI,{Group:PI,Control:l1e,Floating:Qte,Check:Cg,Switch:c1e,Label:Jte,Text:tre,Range:Zte,Select:ere,FloatingLabel:nre}),YG=e=>!e||typeof e=="function"?e:t=>{e.current=t};function h1e(e,t){const r=YG(e),n=YG(t);return i=>{r&&r(i),n&&n(i)}}function sy(e,t){return Se.useMemo(()=>h1e(e,t),[e,t])}var Sv;function XG(e){if((!Sv&&Sv!==0||e)&&hd){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),Sv=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Sv}function p1e(){return Se.useState(null)}function zR(e){e===void 0&&(e=dd());try{var t=e.activeElement;return!t||!t.nodeName?null:t}catch{return e.body}}function v1e(e){const t=Se.useRef(e);return t.current=e,t}function g1e(e){const t=v1e(e);Se.useEffect(()=>()=>t.current(),[])}function m1e(e=document){const t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}const QG=xI("modal-open");class DI{constructor({ownerDocument:t,handleContainerOverflow:r=!0,isRTL:n=!1}={}){this.handleContainerOverflow=r,this.isRTL=n,this.modals=[],this.ownerDocument=t}getScrollbarWidth(){return m1e(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(Ql(i,n)||"0",10)+t.scrollBarWidth}px`),i.setAttribute(QG,""),Ql(i,r)}reset(){[...this.modals].forEach(t=>this.remove(t))}removeContainerStyle(t){const r=this.getElement();r.removeAttribute(QG),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 WR=(e,t)=>hd?e==null?(t||dd()).body:(typeof e=="function"&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function uC(e,t){const r=ay(),[n,i]=Se.useState(()=>WR(e,r==null?void 0:r.document));if(!n){const a=WR(e);a&&i(a)}return Se.useEffect(()=>{},[t,n]),Se.useEffect(()=>{const a=WR(e);a!==n&&i(a)},[e,n]),n}function y1e({children:e,in:t,onExited:r,mountOnEnter:n,unmountOnExit:i}){const a=Se.useRef(null),o=Se.useRef(t),l=wa(r);Se.useEffect(()=>{t?o.current=!0:l(a.current)},[t,l]);const u=sy(a,hp(e)),f=Se.cloneElement(e,{ref:u});return t?f:i||!o.current&&n?null:f}const _1e=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children"];function E1e(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 S1e(e){let{onEnter:t,onEntering:r,onEntered:n,onExit:i,onExiting:a,onExited:o,addEndListener:l,children:u}=e,f=E1e(e,_1e);const d=Se.useRef(null),h=sy(d,hp(u)),p=x=>R=>{x&&d.current&&x(d.current,R)},y=Se.useCallback(p(t),[t]),_=Se.useCallback(p(r),[r]),E=Se.useCallback(p(n),[n]),S=Se.useCallback(p(i),[i]),w=Se.useCallback(p(a),[a]),T=Se.useCallback(p(o),[o]),C=Se.useCallback(p(l),[l]);return Object.assign({},f,{nodeRef:d},t&&{onEnter:y},r&&{onEntering:_},n&&{onEntered:E},i&&{onExit:S},a&&{onExiting:w},o&&{onExited:T},l&&{addEndListener:C},{children:typeof u=="function"?(x,R)=>u(x,Object.assign({},R,{ref:h})):Se.cloneElement(u,{ref:h})})}const w1e=["component"];function b1e(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 T1e=Se.forwardRef((e,t)=>{let{component:r}=e,n=b1e(e,w1e);const i=S1e(n);return ce.jsx(r,Object.assign({ref:t},i))});function A1e({in:e,onTransition:t}){const r=Se.useRef(null),n=Se.useRef(!0),i=wa(t);return qG(()=>{if(!r.current)return;let a=!1;return i({in:e,element:r.current,initial:n.current,isStale:()=>a}),()=>{a=!0}},[e,i]),qG(()=>(n.current=!1,()=>{n.current=!0}),[]),r}function R1e({children:e,in:t,onExited:r,onEntered:n,transition:i}){const[a,o]=Se.useState(!t);t&&a&&o(!1);const l=A1e({in:!!t,onTransition:f=>{const d=()=>{f.isStale()||(f.in?n==null||n(f.element,f.initial):(o(!0),r==null||r(f.element)))};Promise.resolve(i(f)).then(d,h=>{throw f.in||o(!0),h})}}),u=sy(l,hp(e));return a&&!t?null:Se.cloneElement(e,{ref:u})}function lC(e,t,r){return e?ce.jsx(T1e,Object.assign({},r,{component:e})):t?ce.jsx(R1e,Object.assign({},r,{transition:t})):ce.jsx(y1e,Object.assign({},r))}const x1e=["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 C1e(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 GR;function O1e(e){return GR||(GR=new DI({ownerDocument:e==null?void 0:e.document})),GR}function I1e(e){const t=ay(),r=e||O1e(t),n=Se.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:Se.useCallback(i=>{n.current.dialog=i},[]),setBackdropRef:Se.useCallback(i=>{n.current.backdrop=i},[])})}const ire=Se.forwardRef((e,t)=>{let{show:r=!1,role:n="dialog",className:i,style:a,children:o,backdrop:l=!0,keyboard:u=!0,onBackdropClick:f,onEscapeKeyDown:d,transition:h,runTransition:p,backdropTransition:y,runBackdropTransition:_,autoFocus:E=!0,enforceFocus:S=!0,restoreFocus:w=!0,restoreFocusOptions:T,renderDialog:C,renderBackdrop:x=fe=>ce.jsx("div",Object.assign({},fe)),manager:R,container:O,onShow:m,onHide:D=()=>{},onExit:U,onExited:K,onExiting:B,onEnter:W,onEntering:Y,onEntered:Q}=e,ie=C1e(e,x1e);const ae=ay(),ve=uC(O),H=I1e(R),J=mte(),z=yte(r),[ue,we]=Se.useState(!r),ke=Se.useRef(null);Se.useImperativeHandle(t,()=>H,[H]),hd&&!z&&r&&(ke.current=zR(ae==null?void 0:ae.document)),r&&ue&&we(!1);const Be=wa(()=>{if(H.add(),M.current=lu(document,"keydown",I),N.current=lu(document,"focus",()=>setTimeout(rt),!0),m&&m(),E){var fe,be;const _e=zR((fe=(be=H.dialog)==null?void 0:be.ownerDocument)!=null?fe:ae==null?void 0:ae.document);H.dialog&&_e&&!Ih(H.dialog,_e)&&(ke.current=_e,H.dialog.focus())}}),nt=wa(()=>{if(H.remove(),M.current==null||M.current(),N.current==null||N.current(),w){var fe;(fe=ke.current)==null||fe.focus==null||fe.focus(T),ke.current=null}});Se.useEffect(()=>{!r||!ve||Be()},[r,ve,Be]),Se.useEffect(()=>{ue&&nt()},[ue,nt]),g1e(()=>{nt()});const rt=wa(()=>{if(!S||!J()||!H.isTopModal())return;const fe=zR(ae==null?void 0:ae.document);H.dialog&&fe&&!Ih(H.dialog,fe)&&H.dialog.focus()}),q=wa(fe=>{fe.target===fe.currentTarget&&(f==null||f(fe),l===!0&&D())}),I=wa(fe=>{u&&vte(fe)&&H.isTopModal()&&(d==null||d(fe),fe.defaultPrevented||D())}),N=Se.useRef(),M=Se.useRef(),Z=(...fe)=>{we(!0),K==null||K(...fe)};if(!ve)return null;const L=Object.assign({role:n,ref:H.setDialogRef,"aria-modal":n==="dialog"?!0:void 0},ie,{style:a,className:i,tabIndex:-1});let G=C?C(L):ce.jsx("div",Object.assign({},L,{children:Se.cloneElement(o,{role:"document"})}));G=lC(h,p,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!r,onExit:U,onExiting:B,onExited:Z,onEnter:W,onEntering:Y,onEntered:Q,children:G});let pe=null;return l&&(pe=x({ref:H.setBackdropRef,onClick:q}),pe=lC(y,_,{in:!!r,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:pe})),ce.jsx(ce.Fragment,{children:Hl.createPortal(ce.jsxs(ce.Fragment,{children:[pe,G]}),ve)})});ire.displayName="Modal";const P1e=Object.assign(ire,{Manager:DI});function cC(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function are(e,t){e.classList?e.classList.add(t):cC(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function JG(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function ore(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=JG(e.className,t):e.setAttribute("class",JG(e.className&&e.className.baseVal||"",t))}const lf={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class k1e extends DI{adjustAndStore(t,r,n){const i=r.style[t];r.dataset[t]=i,Ql(r,{[t]:`${parseFloat(Ql(r,t))+n}px`})}restore(t,r){const n=r.dataset[t];n!==void 0&&(delete r.dataset[t],Ql(r,{[t]:n}))}setContainerStyle(t){super.setContainerStyle(t);const r=this.getElement();if(are(r,"modal-open"),!t.scrollBarWidth)return;const n=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";Yu(r,lf.FIXED_CONTENT).forEach(a=>this.adjustAndStore(n,a,t.scrollBarWidth)),Yu(r,lf.STICKY_CONTENT).forEach(a=>this.adjustAndStore(i,a,-t.scrollBarWidth)),Yu(r,lf.NAVBAR_TOGGLER).forEach(a=>this.adjustAndStore(i,a,t.scrollBarWidth))}removeContainerStyle(t){super.removeContainerStyle(t);const r=this.getElement();ore(r,"modal-open");const n=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";Yu(r,lf.FIXED_CONTENT).forEach(a=>this.restore(n,a)),Yu(r,lf.STICKY_CONTENT).forEach(a=>this.restore(i,a)),Yu(r,lf.NAVBAR_TOGGLER).forEach(a=>this.restore(i,a))}}let KR;function D1e(e){return KR||(KR=new k1e(e)),KR}const sre=Se.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=yn(t,"modal-body"),ce.jsx(r,{ref:i,className:nn(e,t),...n})));sre.displayName="ModalBody";const ure=Se.createContext({onHide(){}}),LI=Se.forwardRef(({bsPrefix:e,className:t,contentClassName:r,centered:n,size:i,fullscreen:a,children:o,scrollable:l,...u},f)=>{e=yn(e,"modal");const d=`${e}-dialog`,h=typeof a=="string"?`${e}-fullscreen-${a}`:`${e}-fullscreen`;return ce.jsx("div",{...u,ref:f,className:nn(d,t,i&&`${e}-${i}`,n&&`${d}-centered`,l&&`${d}-scrollable`,a&&h),children:ce.jsx("div",{className:nn(`${e}-content`,r),children:o})})});LI.displayName="ModalDialog";const lre=Se.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=yn(t,"modal-footer"),ce.jsx(r,{ref:i,className:nn(e,t),...n})));lre.displayName="ModalFooter";const L1e=Se.forwardRef(({closeLabel:e="Close",closeVariant:t,closeButton:r=!1,onHide:n,children:i,...a},o)=>{const l=Se.useContext(ure),u=Ch(()=>{l==null||l.onHide(),n==null||n()});return ce.jsxs("div",{ref:o,...a,children:[i,r&&ce.jsx(RI,{"aria-label":e,variant:t,onClick:u})]})}),cre=Se.forwardRef(({bsPrefix:e,className:t,closeLabel:r="Close",closeButton:n=!1,...i},a)=>(e=yn(e,"modal-header"),ce.jsx(L1e,{ref:a,...i,className:nn(t,e),closeLabel:r,closeButton:n})));cre.displayName="ModalHeader";const N1e=fwe("h4"),fre=Se.forwardRef(({className:e,bsPrefix:t,as:r=N1e,...n},i)=>(t=yn(t,"modal-title"),ce.jsx(r,{ref:i,className:nn(e,t),...n})));fre.displayName="ModalTitle";function M1e(e){return ce.jsx(Oh,{...e,timeout:null})}function $1e(e){return ce.jsx(Oh,{...e,timeout:null})}const dre=Se.forwardRef(({bsPrefix:e,className:t,style:r,dialogClassName:n,contentClassName:i,children:a,dialogAs:o=LI,"data-bs-theme":l,"aria-labelledby":u,"aria-describedby":f,"aria-label":d,show:h=!1,animation:p=!0,backdrop:y=!0,keyboard:_=!0,onEscapeKeyDown:E,onShow:S,onHide:w,container:T,autoFocus:C=!0,enforceFocus:x=!0,restoreFocus:R=!0,restoreFocusOptions:O,onEntered:m,onExit:D,onExiting:U,onEnter:K,onEntering:B,onExited:W,backdropClassName:Y,manager:Q,...ie},ae)=>{const[ve,H]=Se.useState({}),[J,z]=Se.useState(!1),ue=Se.useRef(!1),we=Se.useRef(!1),ke=Se.useRef(null),[Be,nt]=p1e(),rt=pd(ae,nt),q=Ch(w),I=ry();e=yn(e,"modal");const N=Se.useMemo(()=>({onHide:q}),[q]);function M(){return Q||D1e({isRTL:I})}function Z(qe){if(!hd)return;const _t=M().getScrollbarWidth()>0,Ut=qe.scrollHeight>dd(qe).documentElement.clientHeight;H({paddingRight:_t&&!Ut?XG():void 0,paddingLeft:!_t&&Ut?XG():void 0})}const L=Ch(()=>{Be&&Z(Be.dialog)});Ste(()=>{iC(window,"resize",L),ke.current==null||ke.current()});const G=()=>{ue.current=!0},pe=qe=>{ue.current&&Be&&qe.target===Be.dialog&&(we.current=!0),ue.current=!1},fe=()=>{z(!0),ke.current=gte(Be.dialog,()=>{z(!1)})},be=qe=>{qe.target===qe.currentTarget&&fe()},_e=qe=>{if(y==="static"){be(qe);return}if(we.current||qe.target!==qe.currentTarget){we.current=!1;return}w==null||w()},Ce=qe=>{_?E==null||E(qe):(qe.preventDefault(),y==="static"&&fe())},Me=(qe,_t)=>{qe&&Z(qe),K==null||K(qe,_t)},de=qe=>{ke.current==null||ke.current(),D==null||D(qe)},me=(qe,_t)=>{B==null||B(qe,_t),TI(window,"resize",L)},ge=qe=>{qe&&(qe.style.display=""),W==null||W(qe),iC(window,"resize",L)},Te=Se.useCallback(qe=>ce.jsx("div",{...qe,className:nn(`${e}-backdrop`,Y,!p&&"show")}),[p,Y,e]),Pe={...r,...ve};Pe.display="block";const De=qe=>ce.jsx("div",{role:"dialog",...qe,style:Pe,className:nn(t,e,J&&`${e}-static`,!p&&"show"),onClick:y?_e:void 0,onMouseUp:pe,"data-bs-theme":l,"aria-label":d,"aria-labelledby":u,"aria-describedby":f,children:ce.jsx(o,{...ie,onMouseDown:G,className:n,contentClassName:i,children:a})});return ce.jsx(ure.Provider,{value:N,children:ce.jsx(P1e,{show:h,ref:rt,backdrop:y,container:T,keyboard:!0,autoFocus:C,enforceFocus:x,restoreFocus:R,restoreFocusOptions:O,onEscapeKeyDown:Ce,onShow:S,onHide:w,onEnter:Me,onEntering:me,onEntered:m,onExit:de,onExiting:U,onExited:ge,manager:M(),transition:p?M1e:void 0,backdropTransition:p?$1e:void 0,renderBackdrop:Te,renderDialog:De})})});dre.displayName="Modal";const wv=Object.assign(dre,{Body:sre,Header:cre,Title:fre,Footer:lre,Dialog:LI,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150}),F1e=()=>{};function j1e(e,t,{disabled:r,clickTrigger:n}={}){const i=t||F1e;Ate(e,i,{disabled:r,clickTrigger:n});const a=wa(o=>{vte(o)&&i(o)});Se.useEffect(()=>{if(r||e==null)return;const o=dd(Yv(e));let l=(o.defaultView||window).event;const u=lu(o,"keyup",f=>{if(f===l){l=void 0;return}a(f)});return()=>{u()}},[e,r,a])}const hre=Se.forwardRef((e,t)=>{const{flip:r,offset:n,placement:i,containerPadding:a,popperConfig:o={},transition:l,runTransition:u}=e,[f,d]=aC(),[h,p]=aC(),y=sy(d,t),_=uC(e.container),E=uC(e.target),[S,w]=Se.useState(!e.show),T=Tte(E,f,Rte({placement:i,enableEvents:!!e.show,containerPadding:a||5,flip:r,offset:n,arrowElement:h,popperConfig:o}));e.show&&S&&w(!1);const C=(...B)=>{w(!0),e.onExited&&e.onExited(...B)},x=e.show||!S;if(j1e(f,e.onHide,{disabled:!e.rootClose||e.rootCloseDisabled,clickTrigger:e.rootCloseEvent}),!x)return null;const{onExit:R,onExiting:O,onEnter:m,onEntering:D,onEntered:U}=e;let K=e.children(Object.assign({},T.attributes.popper,{style:T.styles.popper,ref:y}),{popper:T,placement:i,show:!!e.show,arrowProps:Object.assign({},T.attributes.arrow,{style:T.styles.arrow,ref:p})});return K=lC(l,u,{in:!!e.show,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:K,onExit:R,onExiting:O,onExited:C,onEnter:m,onEntering:D,onEntered:U}),_?Hl.createPortal(K,_):null});hre.displayName="Overlay";const pre=Se.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=yn(t,"popover-header"),ce.jsx(r,{ref:i,className:nn(e,t),...n})));pre.displayName="PopoverHeader";const NI=Se.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=yn(t,"popover-body"),ce.jsx(r,{ref:i,className:nn(e,t),...n})));NI.displayName="PopoverBody";function vre(e,t){let r=e;return e==="left"?r=t?"end":"start":e==="right"&&(r=t?"start":"end"),r}function gre(e="absolute"){return{position:e,top:"0",left:"0",opacity:"0",pointerEvents:"none"}}const U1e=Se.forwardRef(({bsPrefix:e,placement:t="right",className:r,style:n,children:i,body:a,arrowProps:o,hasDoneInitialMeasure:l,popper:u,show:f,...d},h)=>{const p=yn(e,"popover"),y=ry(),[_]=(t==null?void 0:t.split("-"))||[],E=vre(_,y);let S=n;return f&&!l&&(S={...n,...gre(u==null?void 0:u.strategy)}),ce.jsxs("div",{ref:h,role:"tooltip",style:S,"x-placement":_,className:nn(r,p,_&&`bs-popover-${E}`),...d,children:[ce.jsx("div",{className:"popover-arrow",...o}),a?ce.jsx(NI,{children:i}):i]})}),q1e=Object.assign(U1e,{Header:pre,Body:NI,POPPER_OFFSET:[0,8]}),mre=Se.forwardRef(({bsPrefix:e,placement:t="right",className:r,style:n,children:i,arrowProps:a,hasDoneInitialMeasure:o,popper:l,show:u,...f},d)=>{e=yn(e,"tooltip");const h=ry(),[p]=(t==null?void 0:t.split("-"))||[],y=vre(p,h);let _=n;return u&&!o&&(_={...n,...gre(l==null?void 0:l.strategy)}),ce.jsxs("div",{ref:d,style:_,role:"tooltip","x-placement":p,className:nn(r,e,`bs-tooltip-${y}`),...f,children:[ce.jsx("div",{className:"tooltip-arrow",...a}),ce.jsx("div",{className:`${e}-inner`,children:i})]})});mre.displayName="Tooltip";const MI=Object.assign(mre,{TOOLTIP_OFFSET:[0,6]});function B1e(e){const t=Se.useRef(null),r=yn(void 0,"popover"),n=yn(void 0,"tooltip"),i=Se.useMemo(()=>({name:"offset",options:{offset:()=>{if(e)return e;if(t.current){if(cC(t.current,r))return q1e.POPPER_OFFSET;if(cC(t.current,n))return MI.TOOLTIP_OFFSET}return[0,0]}}}),[e,r,n]);return[t,[i]]}function V1e(e,t){const{ref:r}=e,{ref:n}=t;e.ref=r.__wrapped||(r.__wrapped=i=>r(Rg(i))),t.ref=n.__wrapped||(n.__wrapped=i=>n(Rg(i)))}const yre=Se.forwardRef(({children:e,transition:t=Oh,popperConfig:r={},rootClose:n=!1,placement:i="top",show:a=!1,...o},l)=>{const u=Se.useRef({}),[f,d]=Se.useState(null),[h,p]=B1e(o.offset),y=pd(l,h),_=t===!0?Oh:t||void 0,E=Ch(S=>{d(S),r==null||r.onFirstUpdate==null||r.onFirstUpdate(S)});return Bte(()=>{f&&o.target&&(u.current.scheduleUpdate==null||u.current.scheduleUpdate())},[f,o.target]),Se.useEffect(()=>{a||d(null)},[a]),ce.jsx(hre,{...o,ref:y,popperConfig:{...r,modifiers:p.concat(r.modifiers||[]),onFirstUpdate:E},transition:_,rootClose:n,placement:i,show:a,children:(S,{arrowProps:w,popper:T,show:C})=>{var x;V1e(S,w);const R=T==null?void 0:T.placement,O=Object.assign(u.current,{state:T==null?void 0:T.state,scheduleUpdate:T==null?void 0:T.update,placement:R,outOfBoundaries:(T==null||(x=T.state)==null||(x=x.modifiersData.hide)==null?void 0:x.isReferenceHidden)||!1,strategy:r.strategy}),m=!!f;return typeof e=="function"?e({...S,placement:R,show:C,...!t&&C&&{className:"show"},popper:O,arrowProps:w,hasDoneInitialMeasure:m}):Se.cloneElement(e,{...S,placement:R,arrowProps:w,popper:O,hasDoneInitialMeasure:m,className:nn(e.props.className,!t&&C&&"show"),style:{...e.props.style,...S.style}})}})});yre.displayName="Overlay";function H1e(e){return e&&typeof e=="object"?e:{show:e,hide:e}}function ZG(e,t,r){const[n]=t,i=n.currentTarget,a=n.relatedTarget||n.nativeEvent[r];(!a||a!==i)&&!Ih(i,a)&&e(...t)}Hr.oneOf(["click","hover","focus"]);const fC=({trigger:e=["hover","focus"],overlay:t,children:r,popperConfig:n={},show:i,defaultShow:a=!1,onToggle:o,delay:l,placement:u,flip:f=u&&u.indexOf("auto")!==-1,...d})=>{const h=Se.useRef(null),p=pd(h,hp(r)),y=Rwe(),_=Se.useRef(""),[E,S]=hte(i,a,o),w=H1e(l),{onFocus:T,onBlur:C,onClick:x}=typeof r!="function"?Se.Children.only(r).props:{},R=ie=>{p(Rg(ie))},O=Se.useCallback(()=>{if(y.clear(),_.current="show",!w.show){S(!0);return}y.set(()=>{_.current==="show"&&S(!0)},w.show)},[w.show,S,y]),m=Se.useCallback(()=>{if(y.clear(),_.current="hide",!w.hide){S(!1);return}y.set(()=>{_.current==="hide"&&S(!1)},w.hide)},[w.hide,S,y]),D=Se.useCallback((...ie)=>{O(),T==null||T(...ie)},[O,T]),U=Se.useCallback((...ie)=>{m(),C==null||C(...ie)},[m,C]),K=Se.useCallback((...ie)=>{S(!E),x==null||x(...ie)},[x,S,E]),B=Se.useCallback((...ie)=>{ZG(O,ie,"fromElement")},[O]),W=Se.useCallback((...ie)=>{ZG(m,ie,"toElement")},[m]),Y=e==null?[]:[].concat(e),Q={ref:R};return Y.indexOf("click")!==-1&&(Q.onClick=K),Y.indexOf("focus")!==-1&&(Q.onFocus=D,Q.onBlur=U),Y.indexOf("hover")!==-1&&(Q.onMouseOver=B,Q.onMouseOut=W),ce.jsxs(ce.Fragment,{children:[typeof r=="function"?r(Q):Se.cloneElement(r,Q),ce.jsx(yre,{...d,show:E,onHide:m,flip:f,placement:u,popperConfig:n,target:h.current,children:t})]})},uy=Se.forwardRef(({bsPrefix:e,variant:t,animation:r="border",size:n,as:i="div",className:a,...o},l)=>{e=yn(e,"spinner");const u=`${e}-${r}`;return ce.jsx(i,{ref:l,...o,className:nn(a,u,n&&`${u}-${n}`,t&&`text-${t}`)})});uy.displayName="Spinner";var bv={},eK;function z1e(){if(eK)return bv;eK=1;var e=Nee();return bv.createRoot=e.createRoot,bv.hydrateRoot=e.hydrateRoot,bv}var $I=z1e();function W1e(e){const[t,r]=Se.useState(!1),n=Se.useMemo(()=>`${e.type}-${ute.getRandomInt()}`,[]);if(!e.title)return ce.jsx(ce.Fragment,{children:e.children});const i=ce.jsx(MI,{id:n,style:{opacity:t?1:0},children:e.title});return e.spanHack?ce.jsx(fC,{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:ce.jsx("div",{className:`${e.spanHackClassName??"d-flex justify-content-center align-items-center"}`,children:e.children},n)}):ce.jsx(fC,{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:ce.jsx(Se.Fragment,{children:e.children},n)})}function G1e(e){const[t,r]=Se.useState(),[n,i]=Se.useState(!1);return Se.useEffect(()=>{const a=document.createElement("div");$I.createRoot(a).render(e.markupComponent),window.setTimeout(()=>{r(a.innerHTML)},100)}),ce.jsx(fC,{placement:"top",overlay:ce.jsx(MI,{id:e.id,style:{opacity:n?1:0},children:ce.jsx("div",{dangerouslySetInnerHTML:{__html:t}})}),trigger:["hover","click","focus"],show:e.show,onEntered:()=>i(!0),onExited:()=>i(!1),children:ce.jsx("div",{children:e.children})})}Jl.defaultProps={trigger:["hover","click","focus"],placement:"top",type:"text"};function Jl(e){return e.type==="text"?ce.jsx(W1e,{...e,type:"text"}):e.type==="markup"?ce.jsx(G1e,{...e,type:"markup"}):ce.jsx(ce.Fragment,{})}var Hu={},kl={};/**
131
+ * @license React
132
+ * react-dom-server-legacy.browser.production.min.js
133
+ *
134
+ * Copyright (c) Facebook, Inc. and its affiliates.
135
+ *
136
+ * This source code is licensed under the MIT license found in the
137
+ * LICENSE file in the root directory of this source tree.
138
+ */var tK;function K1e(){if(tK)return kl;tK=1;var e=Oc();function t($){for(var re="https://reactjs.org/docs/error-decoder.html?invariant="+$,Ee=1;Ee<arguments.length;Ee++)re+="&args[]="+encodeURIComponent(arguments[Ee]);return"Minified React error #"+$+"; visit "+re+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=!1;function n($,re){return r&&(r=!1,re[0]!=="<"&&$.push("<!-- -->")),re==="<!-- -->"?r=!0:$.push(re)}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={},l={};function u($){return i.call(l,$)?!0:i.call(o,$)?!1:a.test($)?l[$]=!0:(o[$]=!0,!1)}function f($,re,Ee,Fe,ht,et,Ot){this.acceptsBooleans=re===2||re===3||re===4,this.attributeName=Fe,this.attributeNamespace=ht,this.mustUseProperty=Ee,this.propertyName=$,this.type=re,this.sanitizeURL=et,this.removeEmptyString=Ot}var d={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function($){d[$]=new f($,0,!1,$,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function($){var re=$[0];d[re]=new f(re,1,!1,$[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function($){d[$]=new f($,2,!1,$.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function($){d[$]=new f($,2,!1,$,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($){d[$]=new f($,3,!1,$.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function($){d[$]=new f($,3,!0,$,null,!1,!1)}),["capture","download"].forEach(function($){d[$]=new f($,4,!1,$,null,!1,!1)}),["cols","rows","size","span"].forEach(function($){d[$]=new f($,6,!1,$,null,!1,!1)}),["rowSpan","start"].forEach(function($){d[$]=new f($,5,!1,$.toLowerCase(),null,!1,!1)});var h=/[\-:]([a-z])/g;function p($){return $[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($){var re=$.replace(h,p);d[re]=new f(re,1,!1,$,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function($){var re=$.replace(h,p);d[re]=new f(re,1,!1,$,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function($){var re=$.replace(h,p);d[re]=new f(re,1,!1,$,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function($){d[$]=new f($,1,!1,$.toLowerCase(),null,!1,!1)}),d.xlinkHref=new f("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function($){d[$]=new f($,1,!1,$.toLowerCase(),null,!0,!0)});var y={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},_=["Webkit","ms","Moz","O"];Object.keys(y).forEach(function($){_.forEach(function(re){re=re+$.charAt(0).toUpperCase()+$.substring(1),y[re]=y[$]})});var E=/["'&<>]/;function S($){if(typeof $=="boolean"||typeof $=="number")return""+$;$=""+$;var re=E.exec($);if(re){var Ee="",Fe,ht=0;for(Fe=re.index;Fe<$.length;Fe++){switch($.charCodeAt(Fe)){case 34:re="&quot;";break;case 38:re="&amp;";break;case 39:re="&#x27;";break;case 60:re="&lt;";break;case 62:re="&gt;";break;default:continue}ht!==Fe&&(Ee+=$.substring(ht,Fe)),ht=Fe+1,Ee+=re}$=ht!==Fe?Ee+$.substring(ht,Fe):Ee}return $}var w=/([A-Z])/g,T=/^ms-/,C=Array.isArray;function x($,re){return{insertionMode:$,selectedValue:re}}function R($,re,Ee){switch(re){case"select":return x(1,Ee.value!=null?Ee.value:Ee.defaultValue);case"svg":return x(2,null);case"math":return x(3,null);case"foreignObject":return x(1,null);case"table":return x(4,null);case"thead":case"tbody":case"tfoot":return x(5,null);case"colgroup":return x(7,null);case"tr":return x(6,null)}return 4<=$.insertionMode||$.insertionMode===0?x(1,null):$}function O($,re){re!==""&&$.push(S(re),"<!-- -->")}var m=new Map;function D($,re,Ee){if(typeof Ee!="object")throw Error(t(62));re=!0;for(var Fe in Ee)if(i.call(Ee,Fe)){var ht=Ee[Fe];if(ht!=null&&typeof ht!="boolean"&&ht!==""){if(Fe.indexOf("--")===0){var et=S(Fe);ht=S((""+ht).trim())}else{et=Fe;var Ot=m.get(et);Ot!==void 0||(Ot=S(et.replace(w,"-$1").toLowerCase().replace(T,"-ms-")),m.set(et,Ot)),et=Ot,ht=typeof ht=="number"?ht===0||i.call(y,Fe)?""+ht:ht+"px":S((""+ht).trim())}re?(re=!1,$.push(' style="',et,":",ht)):$.push(";",et,":",ht)}}re||$.push('"')}function U($,re,Ee,Fe){switch(Ee){case"style":D($,re,Fe);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<Ee.length)||Ee[0]!=="o"&&Ee[0]!=="O"||Ee[1]!=="n"&&Ee[1]!=="N"){if(re=d.hasOwnProperty(Ee)?d[Ee]:null,re!==null){switch(typeof Fe){case"function":case"symbol":return;case"boolean":if(!re.acceptsBooleans)return}switch(Ee=re.attributeName,re.type){case 3:Fe&&$.push(" ",Ee,'=""');break;case 4:Fe===!0?$.push(" ",Ee,'=""'):Fe!==!1&&$.push(" ",Ee,'="',S(Fe),'"');break;case 5:isNaN(Fe)||$.push(" ",Ee,'="',S(Fe),'"');break;case 6:!isNaN(Fe)&&1<=Fe&&$.push(" ",Ee,'="',S(Fe),'"');break;default:re.sanitizeURL&&(Fe=""+Fe),$.push(" ",Ee,'="',S(Fe),'"')}}else if(u(Ee)){switch(typeof Fe){case"function":case"symbol":return;case"boolean":if(re=Ee.toLowerCase().slice(0,5),re!=="data-"&&re!=="aria-")return}$.push(" ",Ee,'="',S(Fe),'"')}}}function K($,re,Ee){if(re!=null){if(Ee!=null)throw Error(t(60));if(typeof re!="object"||!("__html"in re))throw Error(t(61));re=re.__html,re!=null&&$.push(""+re)}}function B($){var re="";return e.Children.forEach($,function(Ee){Ee!=null&&(re+=Ee)}),re}function W($,re,Ee,Fe){$.push(ie(Ee));var ht=Ee=null,et;for(et in re)if(i.call(re,et)){var Ot=re[et];if(Ot!=null)switch(et){case"children":Ee=Ot;break;case"dangerouslySetInnerHTML":ht=Ot;break;default:U($,Fe,et,Ot)}}return $.push(">"),K($,ht,Ee),typeof Ee=="string"?($.push(S(Ee)),null):Ee}var Y=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Q=new Map;function ie($){var re=Q.get($);if(re===void 0){if(!Y.test($))throw Error(t(65,$));re="<"+$,Q.set($,re)}return re}function ae($,re,Ee,Fe,ht){switch(re){case"select":$.push(ie("select"));var et=null,Ot=null;for(Tr in Ee)if(i.call(Ee,Tr)){var zt=Ee[Tr];if(zt!=null)switch(Tr){case"children":et=zt;break;case"dangerouslySetInnerHTML":Ot=zt;break;case"defaultValue":case"value":break;default:U($,Fe,Tr,zt)}}return $.push(">"),K($,Ot,et),et;case"option":Ot=ht.selectedValue,$.push(ie("option"));var Qt=zt=null,yr=null,Tr=null;for(et in Ee)if(i.call(Ee,et)&&(re=Ee[et],re!=null))switch(et){case"children":zt=re;break;case"selected":yr=re;break;case"dangerouslySetInnerHTML":Tr=re;break;case"value":Qt=re;default:U($,Fe,et,re)}if(Ot!=null)if(Ee=Qt!==null?""+Qt:B(zt),C(Ot)){for(Fe=0;Fe<Ot.length;Fe++)if(""+Ot[Fe]===Ee){$.push(' selected=""');break}}else""+Ot===Ee&&$.push(' selected=""');else yr&&$.push(' selected=""');return $.push(">"),K($,Tr,zt),zt;case"textarea":$.push(ie("textarea")),Tr=Ot=et=null;for(zt in Ee)if(i.call(Ee,zt)&&(Qt=Ee[zt],Qt!=null))switch(zt){case"children":Tr=Qt;break;case"value":et=Qt;break;case"defaultValue":Ot=Qt;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:U($,Fe,zt,Qt)}if(et===null&&Ot!==null&&(et=Ot),$.push(">"),Tr!=null){if(et!=null)throw Error(t(92));if(C(Tr)&&1<Tr.length)throw Error(t(93));et=""+Tr}return typeof et=="string"&&et[0]===`
139
+ `&&$.push(`
140
+ `),et!==null&&$.push(S(""+et)),null;case"input":$.push(ie("input")),Qt=Tr=zt=et=null;for(Ot in Ee)if(i.call(Ee,Ot)&&(yr=Ee[Ot],yr!=null))switch(Ot){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":Qt=yr;break;case"defaultValue":zt=yr;break;case"checked":Tr=yr;break;case"value":et=yr;break;default:U($,Fe,Ot,yr)}return Tr!==null?U($,Fe,"checked",Tr):Qt!==null&&U($,Fe,"checked",Qt),et!==null?U($,Fe,"value",et):zt!==null&&U($,Fe,"value",zt),$.push("/>"),null;case"menuitem":$.push(ie("menuitem"));for(var Cn in Ee)if(i.call(Ee,Cn)&&(et=Ee[Cn],et!=null))switch(Cn){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:U($,Fe,Cn,et)}return $.push(">"),null;case"listing":case"pre":$.push(ie(re)),Ot=et=null;for(Qt in Ee)if(i.call(Ee,Qt)&&(zt=Ee[Qt],zt!=null))switch(Qt){case"children":et=zt;break;case"dangerouslySetInnerHTML":Ot=zt;break;default:U($,Fe,Qt,zt)}if($.push(">"),Ot!=null){if(et!=null)throw Error(t(60));if(typeof Ot!="object"||!("__html"in Ot))throw Error(t(61));Ee=Ot.__html,Ee!=null&&(typeof Ee=="string"&&0<Ee.length&&Ee[0]===`
141
+ `?$.push(`
142
+ `,Ee):$.push(""+Ee))}return typeof et=="string"&&et[0]===`
143
+ `&&$.push(`
144
+ `),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":$.push(ie(re));for(var hi in Ee)if(i.call(Ee,hi)&&(et=Ee[hi],et!=null))switch(hi){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,re));default:U($,Fe,hi,et)}return $.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 W($,Ee,re,Fe);case"html":return ht.insertionMode===0&&$.push("<!DOCTYPE html>"),W($,Ee,re,Fe);default:if(re.indexOf("-")===-1&&typeof Ee.is!="string")return W($,Ee,re,Fe);$.push(ie(re)),Ot=et=null;for(yr in Ee)if(i.call(Ee,yr)&&(zt=Ee[yr],zt!=null))switch(yr){case"children":et=zt;break;case"dangerouslySetInnerHTML":Ot=zt;break;case"style":D($,Fe,zt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:u(yr)&&typeof zt!="function"&&typeof zt!="symbol"&&$.push(" ",yr,'="',S(zt),'"')}return $.push(">"),K($,Ot,et),et}}function ve($,re,Ee){if(n($,'<!--$?--><template id="'),Ee===null)throw Error(t(395));return n($,Ee),n($,'"></template>')}function H($,re,Ee,Fe){switch(Ee.insertionMode){case 0:case 1:return n($,'<div hidden id="'),n($,re.segmentPrefix),re=Fe.toString(16),n($,re),n($,'">');case 2:return n($,'<svg aria-hidden="true" style="display:none" id="'),n($,re.segmentPrefix),re=Fe.toString(16),n($,re),n($,'">');case 3:return n($,'<math aria-hidden="true" style="display:none" id="'),n($,re.segmentPrefix),re=Fe.toString(16),n($,re),n($,'">');case 4:return n($,'<table hidden id="'),n($,re.segmentPrefix),re=Fe.toString(16),n($,re),n($,'">');case 5:return n($,'<table hidden><tbody id="'),n($,re.segmentPrefix),re=Fe.toString(16),n($,re),n($,'">');case 6:return n($,'<table hidden><tr id="'),n($,re.segmentPrefix),re=Fe.toString(16),n($,re),n($,'">');case 7:return n($,'<table hidden><colgroup id="'),n($,re.segmentPrefix),re=Fe.toString(16),n($,re),n($,'">');default:throw Error(t(397))}}function J($,re){switch(re.insertionMode){case 0:case 1:return n($,"</div>");case 2:return n($,"</svg>");case 3:return n($,"</math>");case 4:return n($,"</table>");case 5:return n($,"</tbody></table>");case 6:return n($,"</tr></table>");case 7:return n($,"</colgroup></table>");default:throw Error(t(397))}}function z($,re){return re=re===void 0?"":re,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:re+"P:",segmentPrefix:re+"S:",boundaryPrefix:re+"B:",idPrefix:re,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:$}}var ue=Object.assign,we=Symbol.for("react.element"),ke=Symbol.for("react.portal"),Be=Symbol.for("react.fragment"),nt=Symbol.for("react.strict_mode"),rt=Symbol.for("react.profiler"),q=Symbol.for("react.provider"),I=Symbol.for("react.context"),N=Symbol.for("react.forward_ref"),M=Symbol.for("react.suspense"),Z=Symbol.for("react.suspense_list"),L=Symbol.for("react.memo"),G=Symbol.for("react.lazy"),pe=Symbol.for("react.scope"),fe=Symbol.for("react.debug_trace_mode"),be=Symbol.for("react.legacy_hidden"),_e=Symbol.for("react.default_value"),Ce=Symbol.iterator;function Me($){if($==null)return null;if(typeof $=="function")return $.displayName||$.name||null;if(typeof $=="string")return $;switch($){case Be:return"Fragment";case ke:return"Portal";case rt:return"Profiler";case nt:return"StrictMode";case M:return"Suspense";case Z:return"SuspenseList"}if(typeof $=="object")switch($.$$typeof){case I:return($.displayName||"Context")+".Consumer";case q:return($._context.displayName||"Context")+".Provider";case N:var re=$.render;return $=$.displayName,$||($=re.displayName||re.name||"",$=$!==""?"ForwardRef("+$+")":"ForwardRef"),$;case L:return re=$.displayName||null,re!==null?re:Me($.type)||"Memo";case G:re=$._payload,$=$._init;try{return Me($(re))}catch{}}return null}var de={};function me($,re){if($=$.contextTypes,!$)return de;var Ee={},Fe;for(Fe in $)Ee[Fe]=re[Fe];return Ee}var ge=null;function Te($,re){if($!==re){$.context._currentValue2=$.parentValue,$=$.parent;var Ee=re.parent;if($===null){if(Ee!==null)throw Error(t(401))}else{if(Ee===null)throw Error(t(401));Te($,Ee)}re.context._currentValue2=re.value}}function Pe($){$.context._currentValue2=$.parentValue,$=$.parent,$!==null&&Pe($)}function De($){var re=$.parent;re!==null&&De(re),$.context._currentValue2=$.value}function qe($,re){if($.context._currentValue2=$.parentValue,$=$.parent,$===null)throw Error(t(402));$.depth===re.depth?Te($,re):qe($,re)}function _t($,re){var Ee=re.parent;if(Ee===null)throw Error(t(402));$.depth===Ee.depth?Te($,Ee):_t($,Ee),re.context._currentValue2=re.value}function Ut($){var re=ge;re!==$&&(re===null?De($):$===null?Pe(re):re.depth===$.depth?Te(re,$):re.depth>$.depth?qe(re,$):_t(re,$),ge=$)}var Mt={isMounted:function(){return!1},enqueueSetState:function($,re){$=$._reactInternals,$.queue!==null&&$.queue.push(re)},enqueueReplaceState:function($,re){$=$._reactInternals,$.replace=!0,$.queue=[re]},enqueueForceUpdate:function(){}};function Xe($,re,Ee,Fe){var ht=$.state!==void 0?$.state:null;$.updater=Mt,$.props=Ee,$.state=ht;var et={queue:[],replace:!1};$._reactInternals=et;var Ot=re.contextType;if($.context=typeof Ot=="object"&&Ot!==null?Ot._currentValue2:Fe,Ot=re.getDerivedStateFromProps,typeof Ot=="function"&&(Ot=Ot(Ee,ht),ht=Ot==null?ht:ue({},ht,Ot),$.state=ht),typeof re.getDerivedStateFromProps!="function"&&typeof $.getSnapshotBeforeUpdate!="function"&&(typeof $.UNSAFE_componentWillMount=="function"||typeof $.componentWillMount=="function"))if(re=$.state,typeof $.componentWillMount=="function"&&$.componentWillMount(),typeof $.UNSAFE_componentWillMount=="function"&&$.UNSAFE_componentWillMount(),re!==$.state&&Mt.enqueueReplaceState($,$.state,null),et.queue!==null&&0<et.queue.length)if(re=et.queue,Ot=et.replace,et.queue=null,et.replace=!1,Ot&&re.length===1)$.state=re[0];else{for(et=Ot?re[0]:$.state,ht=!0,Ot=Ot?1:0;Ot<re.length;Ot++){var zt=re[Ot];zt=typeof zt=="function"?zt.call($,et,Ee,Fe):zt,zt!=null&&(ht?(ht=!1,et=ue({},et,zt)):ue(et,zt))}$.state=et}else et.queue=null}var wt={id:1,overflow:""};function mt($,re,Ee){var Fe=$.id;$=$.overflow;var ht=32-Et(Fe)-1;Fe&=~(1<<ht),Ee+=1;var et=32-Et(re)+ht;if(30<et){var Ot=ht-ht%5;return et=(Fe&(1<<Ot)-1).toString(32),Fe>>=Ot,ht-=Ot,{id:1<<32-Et(re)+ht|Ee<<ht|Fe,overflow:et+$}}return{id:1<<et|Ee<<ht|Fe,overflow:$}}var Et=Math.clz32?Math.clz32:Ft,At=Math.log,ft=Math.LN2;function Ft($){return $>>>=0,$===0?32:31-(At($)/ft|0)|0}function Ct($,re){return $===re&&($!==0||1/$===1/re)||$!==$&&re!==re}var Ae=typeof Object.is=="function"?Object.is:Ct,Ze=null,ut=null,bt=null,Lt=null,tr=!1,pr=!1,ar=0,dr=null,xr=0;function en(){if(Ze===null)throw Error(t(321));return Ze}function Qn(){if(0<xr)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function wn(){return Lt===null?bt===null?(tr=!1,bt=Lt=Qn()):(tr=!0,Lt=bt):Lt.next===null?(tr=!1,Lt=Lt.next=Qn()):(tr=!0,Lt=Lt.next),Lt}function vn(){ut=Ze=null,pr=!1,bt=null,xr=0,Lt=dr=null}function dn($,re){return typeof re=="function"?re($):re}function jn($,re,Ee){if(Ze=en(),Lt=wn(),tr){var Fe=Lt.queue;if(re=Fe.dispatch,dr!==null&&(Ee=dr.get(Fe),Ee!==void 0)){dr.delete(Fe),Fe=Lt.memoizedState;do Fe=$(Fe,Ee.action),Ee=Ee.next;while(Ee!==null);return Lt.memoizedState=Fe,[Fe,re]}return[Lt.memoizedState,re]}return $=$===dn?typeof re=="function"?re():re:Ee!==void 0?Ee(re):re,Lt.memoizedState=$,$=Lt.queue={last:null,dispatch:null},$=$.dispatch=ui.bind(null,Ze,$),[Lt.memoizedState,$]}function Un($,re){if(Ze=en(),Lt=wn(),re=re===void 0?null:re,Lt!==null){var Ee=Lt.memoizedState;if(Ee!==null&&re!==null){var Fe=Ee[1];e:if(Fe===null)Fe=!1;else{for(var ht=0;ht<Fe.length&&ht<re.length;ht++)if(!Ae(re[ht],Fe[ht])){Fe=!1;break e}Fe=!0}if(Fe)return Ee[0]}}return $=$(),Lt.memoizedState=[$,re],$}function ui($,re,Ee){if(25<=xr)throw Error(t(301));if($===Ze)if(pr=!0,$={action:Ee,next:null},dr===null&&(dr=new Map),Ee=dr.get(re),Ee===void 0)dr.set(re,$);else{for(re=Ee;re.next!==null;)re=re.next;re.next=$}}function ti(){throw Error(t(394))}function Si(){}var xi={readContext:function($){return $._currentValue2},useContext:function($){return en(),$._currentValue2},useMemo:Un,useReducer:jn,useRef:function($){Ze=en(),Lt=wn();var re=Lt.memoizedState;return re===null?($={current:$},Lt.memoizedState=$):re},useState:function($){return jn(dn,$)},useInsertionEffect:Si,useLayoutEffect:function(){},useCallback:function($,re){return Un(function(){return $},re)},useImperativeHandle:Si,useEffect:Si,useDebugValue:Si,useDeferredValue:function($){return en(),$},useTransition:function(){return en(),[!1,ti]},useId:function(){var $=ut.treeContext,re=$.overflow;$=$.id,$=($&~(1<<32-Et($)-1)).toString(32)+re;var Ee=bn;if(Ee===null)throw Error(t(404));return re=ar++,$=":"+Ee.idPrefix+"R"+$,0<re&&($+="H"+re.toString(32)),$+":"},useMutableSource:function($,re){return en(),re($._source)},useSyncExternalStore:function($,re,Ee){if(Ee===void 0)throw Error(t(407));return Ee()}},bn=null,Gn=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function di($){console.error($)}function li(){}function it($,re,Ee,Fe,ht,et,Ot,zt,Qt){var yr=[],Tr=new Set;return re={destination:null,responseState:re,progressiveChunkSize:Fe===void 0?12800:Fe,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Tr,pingedTasks:yr,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:ht===void 0?di:ht,onAllReady:li,onShellReady:Ot===void 0?li:Ot,onShellError:li,onFatalError:li},Ee=vt(re,0,null,Ee),Ee.parentFlushed=!0,$=$t(re,$,null,Ee,Tr,de,null,wt),yr.push($),re}function $t($,re,Ee,Fe,ht,et,Ot,zt){$.allPendingTasks++,Ee===null?$.pendingRootTasks++:Ee.pendingTasks++;var Qt={node:re,ping:function(){var yr=$.pingedTasks;yr.push(Qt),yr.length===1&&an($)},blockedBoundary:Ee,blockedSegment:Fe,abortSet:ht,legacyContext:et,context:Ot,treeContext:zt};return ht.add(Qt),Qt}function vt($,re,Ee,Fe){return{status:0,id:-1,index:re,parentFlushed:!1,chunks:[],children:[],formatContext:Fe,boundary:Ee}}function Ge($,re){$=$.onError,$(re)}function xt($,re){var Ee=$.onShellError;Ee(re),Ee=$.onFatalError,Ee(re),$.destination!==null?($.status=2,$.destination.destroy(re)):($.status=1,$.fatalError=re)}function fr($,re,Ee,Fe,ht){for(Ze={},ut=re,ar=0,$=Ee(Fe,ht);pr;)pr=!1,ar=0,xr+=1,Lt=null,$=Ee(Fe,ht);return vn(),$}function ye($,re,Ee,Fe){var ht=Ee.render(),et=Fe.childContextTypes;if(et!=null){var Ot=re.legacyContext;if(typeof Ee.getChildContext!="function")Fe=Ot;else{Ee=Ee.getChildContext();for(var zt in Ee)if(!(zt in et))throw Error(t(108,Me(Fe)||"Unknown",zt));Fe=ue({},Ot,Ee)}re.legacyContext=Fe,ct($,re,ht),re.legacyContext=Ot}else ct($,re,ht)}function lt($,re){if($&&$.defaultProps){re=ue({},re),$=$.defaultProps;for(var Ee in $)re[Ee]===void 0&&(re[Ee]=$[Ee]);return re}return re}function tt($,re,Ee,Fe,ht){if(typeof Ee=="function")if(Ee.prototype&&Ee.prototype.isReactComponent){ht=me(Ee,re.legacyContext);var et=Ee.contextType;et=new Ee(Fe,typeof et=="object"&&et!==null?et._currentValue2:ht),Xe(et,Ee,Fe,ht),ye($,re,et,Ee)}else{et=me(Ee,re.legacyContext),ht=fr($,re,Ee,Fe,et);var Ot=ar!==0;if(typeof ht=="object"&&ht!==null&&typeof ht.render=="function"&&ht.$$typeof===void 0)Xe(ht,Ee,Fe,et),ye($,re,ht,Ee);else if(Ot){Fe=re.treeContext,re.treeContext=mt(Fe,1,0);try{ct($,re,ht)}finally{re.treeContext=Fe}}else ct($,re,ht)}else if(typeof Ee=="string")switch(ht=re.blockedSegment,et=ae(ht.chunks,Ee,Fe,$.responseState,ht.formatContext),Ot=ht.formatContext,ht.formatContext=R(Ot,Ee,Fe),dt($,re,et),ht.formatContext=Ot,Ee){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("</",Ee,">")}else{switch(Ee){case be:case fe:case nt:case rt:case Be:ct($,re,Fe.children);return;case Z:ct($,re,Fe.children);return;case pe:throw Error(t(343));case M:e:{Ee=re.blockedBoundary,ht=re.blockedSegment,et=Fe.fallback,Fe=Fe.children,Ot=new Set;var zt={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Ot},Qt=vt($,ht.chunks.length,zt,ht.formatContext);ht.children.push(Qt);var yr=vt($,0,null,ht.formatContext);yr.parentFlushed=!0,re.blockedBoundary=zt,re.blockedSegment=yr;try{if(dt($,re,Fe),yr.status=1,Wr(zt,yr),zt.pendingTasks===0)break e}catch(Tr){yr.status=4,Ge($,Tr),zt.forceClientRender=!0}finally{re.blockedBoundary=Ee,re.blockedSegment=ht}re=$t($,et,Ee,Qt,Ot,re.legacyContext,re.context,re.treeContext),$.pingedTasks.push(re)}return}if(typeof Ee=="object"&&Ee!==null)switch(Ee.$$typeof){case N:if(Fe=fr($,re,Ee.render,Fe,ht),ar!==0){Ee=re.treeContext,re.treeContext=mt(Ee,1,0);try{ct($,re,Fe)}finally{re.treeContext=Ee}}else ct($,re,Fe);return;case L:Ee=Ee.type,Fe=lt(Ee,Fe),tt($,re,Ee,Fe,ht);return;case q:if(ht=Fe.children,Ee=Ee._context,Fe=Fe.value,et=Ee._currentValue2,Ee._currentValue2=Fe,Ot=ge,ge=Fe={parent:Ot,depth:Ot===null?0:Ot.depth+1,context:Ee,parentValue:et,value:Fe},re.context=Fe,ct($,re,ht),$=ge,$===null)throw Error(t(403));Fe=$.parentValue,$.context._currentValue2=Fe===_e?$.context._defaultValue:Fe,$=ge=$.parent,re.context=$;return;case I:Fe=Fe.children,Fe=Fe(Ee._currentValue2),ct($,re,Fe);return;case G:ht=Ee._init,Ee=ht(Ee._payload),Fe=lt(Ee,Fe),tt($,re,Ee,Fe,void 0);return}throw Error(t(130,Ee==null?Ee:typeof Ee,""))}}function ct($,re,Ee){if(re.node=Ee,typeof Ee=="object"&&Ee!==null){switch(Ee.$$typeof){case we:tt($,re,Ee.type,Ee.props,Ee.ref);return;case ke:throw Error(t(257));case G:var Fe=Ee._init;Ee=Fe(Ee._payload),ct($,re,Ee);return}if(C(Ee)){kt($,re,Ee);return}if(Ee===null||typeof Ee!="object"?Fe=null:(Fe=Ce&&Ee[Ce]||Ee["@@iterator"],Fe=typeof Fe=="function"?Fe:null),Fe&&(Fe=Fe.call(Ee))){if(Ee=Fe.next(),!Ee.done){var ht=[];do ht.push(Ee.value),Ee=Fe.next();while(!Ee.done);kt($,re,ht)}return}throw $=Object.prototype.toString.call(Ee),Error(t(31,$==="[object Object]"?"object with keys {"+Object.keys(Ee).join(", ")+"}":$))}typeof Ee=="string"?(re=re.blockedSegment.chunks,$.responseState.generateStaticMarkup?re.push(S(Ee)):O(re,Ee)):typeof Ee=="number"&&(re=re.blockedSegment.chunks,Ee=""+Ee,$.responseState.generateStaticMarkup?re.push(S(Ee)):O(re,Ee))}function kt($,re,Ee){for(var Fe=Ee.length,ht=0;ht<Fe;ht++){var et=re.treeContext;re.treeContext=mt(et,Fe,ht);try{dt($,re,Ee[ht])}finally{re.treeContext=et}}}function dt($,re,Ee){var Fe=re.blockedSegment.formatContext,ht=re.legacyContext,et=re.context;try{return ct($,re,Ee)}catch(Qt){if(vn(),typeof Qt=="object"&&Qt!==null&&typeof Qt.then=="function"){Ee=Qt;var Ot=re.blockedSegment,zt=vt($,Ot.chunks.length,null,Ot.formatContext);Ot.children.push(zt),$=$t($,re.node,re.blockedBoundary,zt,re.abortSet,re.legacyContext,re.context,re.treeContext).ping,Ee.then($,$),re.blockedSegment.formatContext=Fe,re.legacyContext=ht,re.context=et,Ut(et)}else throw re.blockedSegment.formatContext=Fe,re.legacyContext=ht,re.context=et,Ut(et),Qt}}function Gt($){var re=$.blockedBoundary;$=$.blockedSegment,$.status=3,Kr(this,re,$)}function Cr($){var re=$.blockedBoundary;$.blockedSegment.status=3,re===null?(this.allPendingTasks--,this.status!==2&&(this.status=2,this.destination!==null&&this.destination.push(null))):(re.pendingTasks--,re.forceClientRender||(re.forceClientRender=!0,re.parentFlushed&&this.clientRenderedBoundaries.push(re)),re.fallbackAbortableTasks.forEach(Cr,this),re.fallbackAbortableTasks.clear(),this.allPendingTasks--,this.allPendingTasks===0&&($=this.onAllReady,$()))}function Wr($,re){if(re.chunks.length===0&&re.children.length===1&&re.children[0].boundary===null){var Ee=re.children[0];Ee.id=re.id,Ee.parentFlushed=!0,Ee.status===1&&Wr($,Ee)}else $.completedSegments.push(re)}function Kr($,re,Ee){if(re===null){if(Ee.parentFlushed){if($.completedRootSegment!==null)throw Error(t(389));$.completedRootSegment=Ee}$.pendingRootTasks--,$.pendingRootTasks===0&&($.onShellError=li,re=$.onShellReady,re())}else re.pendingTasks--,re.forceClientRender||(re.pendingTasks===0?(Ee.parentFlushed&&Ee.status===1&&Wr(re,Ee),re.parentFlushed&&$.completedBoundaries.push(re),re.fallbackAbortableTasks.forEach(Gt,$),re.fallbackAbortableTasks.clear()):Ee.parentFlushed&&Ee.status===1&&(Wr(re,Ee),re.completedSegments.length===1&&re.parentFlushed&&$.partialBoundaries.push(re)));$.allPendingTasks--,$.allPendingTasks===0&&($=$.onAllReady,$())}function an($){if($.status!==2){var re=ge,Ee=Gn.current;Gn.current=xi;var Fe=bn;bn=$.responseState;try{var ht=$.pingedTasks,et;for(et=0;et<ht.length;et++){var Ot=ht[et],zt=$,Qt=Ot.blockedSegment;if(Qt.status===0){Ut(Ot.context);try{ct(zt,Ot,Ot.node),Ot.abortSet.delete(Ot),Qt.status=1,Kr(zt,Ot.blockedBoundary,Qt)}catch(pi){if(vn(),typeof pi=="object"&&pi!==null&&typeof pi.then=="function"){var yr=Ot.ping;pi.then(yr,yr)}else{Ot.abortSet.delete(Ot),Qt.status=4;var Tr=Ot.blockedBoundary,Cn=pi;if(Ge(zt,Cn),Tr===null?xt(zt,Cn):(Tr.pendingTasks--,Tr.forceClientRender||(Tr.forceClientRender=!0,Tr.parentFlushed&&zt.clientRenderedBoundaries.push(Tr))),zt.allPendingTasks--,zt.allPendingTasks===0){var hi=zt.onAllReady;hi()}}}finally{}}}ht.splice(0,et),$.destination!==null&&wi($,$.destination)}catch(pi){Ge($,pi),xt($,pi)}finally{bn=Fe,Gn.current=Ee,Ee===xi&&Ut(re)}}}function Nt($,re,Ee){switch(Ee.parentFlushed=!0,Ee.status){case 0:var Fe=Ee.id=$.nextSegmentId++;return $=$.responseState,n(re,'<template id="'),n(re,$.placeholderPrefix),$=Fe.toString(16),n(re,$),n(re,'"></template>');case 1:Ee.status=2;var ht=!0;Fe=Ee.chunks;var et=0;Ee=Ee.children;for(var Ot=0;Ot<Ee.length;Ot++){for(ht=Ee[Ot];et<ht.index;et++)n(re,Fe[et]);ht=Vr($,re,ht)}for(;et<Fe.length-1;et++)n(re,Fe[et]);return et<Fe.length&&(ht=n(re,Fe[et])),ht;default:throw Error(t(390))}}function Vr($,re,Ee){var Fe=Ee.boundary;if(Fe===null)return Nt($,re,Ee);if(Fe.parentFlushed=!0,Fe.forceClientRender)return $.responseState.generateStaticMarkup||n(re,"<!--$!-->"),Nt($,re,Ee),$=$.responseState.generateStaticMarkup?!0:n(re,"<!--/$-->"),$;if(0<Fe.pendingTasks){Fe.rootSegmentID=$.nextSegmentId++,0<Fe.completedSegments.length&&$.partialBoundaries.push(Fe);var ht=$.responseState,et=ht.nextSuspenseID++;return ht=ht.boundaryPrefix+et.toString(16),Fe=Fe.id=ht,ve(re,$.responseState,Fe),Nt($,re,Ee),n(re,"<!--/$-->")}if(Fe.byteSize>$.progressiveChunkSize)return Fe.rootSegmentID=$.nextSegmentId++,$.completedBoundaries.push(Fe),ve(re,$.responseState,Fe.id),Nt($,re,Ee),n(re,"<!--/$-->");if($.responseState.generateStaticMarkup||n(re,"<!--$-->"),Ee=Fe.completedSegments,Ee.length!==1)throw Error(t(391));return Vr($,re,Ee[0]),$=$.responseState.generateStaticMarkup?!0:n(re,"<!--/$-->"),$}function Ci($,re,Ee){return H(re,$.responseState,Ee.formatContext,Ee.id),Vr($,re,Ee),J(re,Ee.formatContext)}function Kn($,re,Ee){for(var Fe=Ee.completedSegments,ht=0;ht<Fe.length;ht++)zi($,re,Ee,Fe[ht]);if(Fe.length=0,$=$.responseState,Fe=Ee.id,Ee=Ee.rootSegmentID,n(re,$.startInlineScript),$.sentCompleteBoundaryFunction?n(re,'$RC("'):($.sentCompleteBoundaryFunction=!0,n(re,'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("')),Fe===null)throw Error(t(395));return Ee=Ee.toString(16),n(re,Fe),n(re,'","'),n(re,$.segmentPrefix),n(re,Ee),n(re,'")<\/script>')}function zi($,re,Ee,Fe){if(Fe.status===2)return!0;var ht=Fe.id;if(ht===-1){if((Fe.id=Ee.rootSegmentID)===-1)throw Error(t(392));return Ci($,re,Fe)}return Ci($,re,Fe),$=$.responseState,n(re,$.startInlineScript),$.sentCompleteSegmentFunction?n(re,'$RS("'):($.sentCompleteSegmentFunction=!0,n(re,'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(re,$.segmentPrefix),ht=ht.toString(16),n(re,ht),n(re,'","'),n(re,$.placeholderPrefix),n(re,ht),n(re,'")<\/script>')}function wi($,re){try{var Ee=$.completedRootSegment;if(Ee!==null&&$.pendingRootTasks===0){Vr($,re,Ee),$.completedRootSegment=null;var Fe=$.responseState.bootstrapChunks;for(Ee=0;Ee<Fe.length-1;Ee++)n(re,Fe[Ee]);Ee<Fe.length&&n(re,Fe[Ee])}var ht=$.clientRenderedBoundaries,et;for(et=0;et<ht.length;et++){Fe=re;var Ot=$.responseState,zt=ht[et].id;if(n(Fe,Ot.startInlineScript),Ot.sentClientRenderFunction?n(Fe,'$RX("'):(Ot.sentClientRenderFunction=!0,n(Fe,'function $RX(a){if(a=document.getElementById(a))a=a.previousSibling,a.data="$!",a._reactRetry&&a._reactRetry()};$RX("')),zt===null)throw Error(t(395));if(n(Fe,zt),!n(Fe,'")<\/script>')){$.destination=null,et++,ht.splice(0,et);return}}ht.splice(0,et);var Qt=$.completedBoundaries;for(et=0;et<Qt.length;et++)if(!Kn($,re,Qt[et])){$.destination=null,et++,Qt.splice(0,et);return}Qt.splice(0,et);var yr=$.partialBoundaries;for(et=0;et<yr.length;et++){var Tr=yr[et];e:{ht=$,Ot=re;var Cn=Tr.completedSegments;for(zt=0;zt<Cn.length;zt++)if(!zi(ht,Ot,Tr,Cn[zt])){zt++,Cn.splice(0,zt);var hi=!1;break e}Cn.splice(0,zt),hi=!0}if(!hi){$.destination=null,et++,yr.splice(0,et);return}}yr.splice(0,et);var pi=$.completedBoundaries;for(et=0;et<pi.length;et++)if(!Kn($,re,pi[et])){$.destination=null,et++,pi.splice(0,et);return}pi.splice(0,et)}finally{$.allPendingTasks===0&&$.pingedTasks.length===0&&$.clientRenderedBoundaries.length===0&&$.completedBoundaries.length===0&&re.push(null)}}function ra($){try{var re=$.abortableTasks;re.forEach(Cr,$),re.clear(),$.destination!==null&&wi($,$.destination)}catch(Ee){Ge($,Ee),xt($,Ee)}}function Oa(){}function va($,re,Ee){var Fe=!1,ht=null,et="",Ot={push:function(Qt){return Qt!==null&&(et+=Qt),!0},destroy:function(Qt){Fe=!0,ht=Qt}},zt=!1;if($=it($,z(Ee,re?re.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,Oa,void 0,function(){zt=!0}),an($),ra($),$.status===1)$.status=2,Ot.destroy($.fatalError);else if($.status!==2&&$.destination===null){$.destination=Ot;try{wi($,Ot)}catch(Qt){Ge($,Qt),xt($,Qt)}}if(Fe)throw ht;if(!zt)throw Error(t(426));return et}return kl.renderToNodeStream=function(){throw Error(t(207))},kl.renderToStaticMarkup=function($,re){return va($,re,!0)},kl.renderToStaticNodeStream=function(){throw Error(t(208))},kl.renderToString=function($,re){return va($,re,!1)},kl.version="18.1.0",kl}var Tv={};/**
145
+ * @license React
146
+ * react-dom-server.browser.production.min.js
147
+ *
148
+ * Copyright (c) Facebook, Inc. and its affiliates.
149
+ *
150
+ * This source code is licensed under the MIT license found in the
151
+ * LICENSE file in the root directory of this source tree.
152
+ */var rK;function Y1e(){if(rK)return Tv;rK=1;var e=Oc();function t(F){for(var te="https://reactjs.org/docs/error-decoder.html?invariant="+F,le=1;le<arguments.length;le++)te+="&args[]="+encodeURIComponent(arguments[le]);return"Minified React error #"+F+"; visit "+te+" 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(F,te){if(te.length!==0)if(512<te.length)0<n&&(F.enqueue(new Uint8Array(r.buffer,0,n)),r=new Uint8Array(512),n=0),F.enqueue(te);else{var le=r.length-n;le<te.length&&(le===0?F.enqueue(r):(r.set(te.subarray(0,le),n),F.enqueue(r),te=te.subarray(le)),r=new Uint8Array(512),n=0),r.set(te,n),n+=te.length}}function a(F,te){return i(F,te),!0}function o(F){r&&0<n&&(F.enqueue(new Uint8Array(r.buffer,0,n)),r=null,n=0)}var l=new TextEncoder;function u(F){return l.encode(F)}function f(F){return l.encode(F)}function d(F,te){typeof F.error=="function"?F.error(te):F.close()}var h=Object.prototype.hasOwnProperty,p=/^[: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]*$/,y={},_={};function E(F){return h.call(_,F)?!0:h.call(y,F)?!1:p.test(F)?_[F]=!0:(y[F]=!0,!1)}function S(F,te,le,Le,Ye,Qe,It){this.acceptsBooleans=te===2||te===3||te===4,this.attributeName=Le,this.attributeNamespace=Ye,this.mustUseProperty=le,this.propertyName=F,this.type=te,this.sanitizeURL=Qe,this.removeEmptyString=It}var w={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(F){w[F]=new S(F,0,!1,F,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(F){var te=F[0];w[te]=new S(te,1,!1,F[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(F){w[F]=new S(F,2,!1,F.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(F){w[F]=new S(F,2,!1,F,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(F){w[F]=new S(F,3,!1,F.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(F){w[F]=new S(F,3,!0,F,null,!1,!1)}),["capture","download"].forEach(function(F){w[F]=new S(F,4,!1,F,null,!1,!1)}),["cols","rows","size","span"].forEach(function(F){w[F]=new S(F,6,!1,F,null,!1,!1)}),["rowSpan","start"].forEach(function(F){w[F]=new S(F,5,!1,F.toLowerCase(),null,!1,!1)});var T=/[\-:]([a-z])/g;function C(F){return F[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(F){var te=F.replace(T,C);w[te]=new S(te,1,!1,F,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(F){var te=F.replace(T,C);w[te]=new S(te,1,!1,F,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(F){var te=F.replace(T,C);w[te]=new S(te,1,!1,F,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(F){w[F]=new S(F,1,!1,F.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(F){w[F]=new S(F,1,!1,F.toLowerCase(),null,!0,!0)});var x={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},R=["Webkit","ms","Moz","O"];Object.keys(x).forEach(function(F){R.forEach(function(te){te=te+F.charAt(0).toUpperCase()+F.substring(1),x[te]=x[F]})});var O=/["'&<>]/;function m(F){if(typeof F=="boolean"||typeof F=="number")return""+F;F=""+F;var te=O.exec(F);if(te){var le="",Le,Ye=0;for(Le=te.index;Le<F.length;Le++){switch(F.charCodeAt(Le)){case 34:te="&quot;";break;case 38:te="&amp;";break;case 39:te="&#x27;";break;case 60:te="&lt;";break;case 62:te="&gt;";break;default:continue}Ye!==Le&&(le+=F.substring(Ye,Le)),Ye=Le+1,le+=te}F=Ye!==Le?le+F.substring(Ye,Le):le}return F}var D=/([A-Z])/g,U=/^ms-/,K=Array.isArray,B=f("<script>"),W=f("<\/script>"),Y=f('<script src="'),Q=f('<script type="module" src="'),ie=f('" async=""><\/script>'),ae=/(<\/|<)(s)(cript)/gi;function ve(F,te,le,Le){return""+te+(le==="s"?"\\u0073":"\\u0053")+Le}function H(F,te,le,Le,Ye){F=F===void 0?"":F,te=te===void 0?B:f('<script nonce="'+m(te)+'">');var Qe=[];if(le!==void 0&&Qe.push(te,u((""+le).replace(ae,ve)),W),Le!==void 0)for(le=0;le<Le.length;le++)Qe.push(Y,u(m(Le[le])),ie);if(Ye!==void 0)for(Le=0;Le<Ye.length;Le++)Qe.push(Q,u(m(Ye[Le])),ie);return{bootstrapChunks:Qe,startInlineScript:te,placeholderPrefix:f(F+"P:"),segmentPrefix:f(F+"S:"),boundaryPrefix:F+"B:",idPrefix:F,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function J(F,te){return{insertionMode:F,selectedValue:te}}function z(F){return J(F==="http://www.w3.org/2000/svg"?2:F==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function ue(F,te,le){switch(te){case"select":return J(1,le.value!=null?le.value:le.defaultValue);case"svg":return J(2,null);case"math":return J(3,null);case"foreignObject":return J(1,null);case"table":return J(4,null);case"thead":case"tbody":case"tfoot":return J(5,null);case"colgroup":return J(7,null);case"tr":return J(6,null)}return 4<=F.insertionMode||F.insertionMode===0?J(1,null):F}var we=f("<!-- -->"),ke=new Map,Be=f(' style="'),nt=f(":"),rt=f(";");function q(F,te,le){if(typeof le!="object")throw Error(t(62));te=!0;for(var Le in le)if(h.call(le,Le)){var Ye=le[Le];if(Ye!=null&&typeof Ye!="boolean"&&Ye!==""){if(Le.indexOf("--")===0){var Qe=u(m(Le));Ye=u(m((""+Ye).trim()))}else{Qe=Le;var It=ke.get(Qe);It!==void 0||(It=f(m(Qe.replace(D,"-$1").toLowerCase().replace(U,"-ms-"))),ke.set(Qe,It)),Qe=It,Ye=typeof Ye=="number"?Ye===0||h.call(x,Le)?u(""+Ye):u(Ye+"px"):u(m((""+Ye).trim()))}te?(te=!1,F.push(Be,Qe,nt,Ye)):F.push(rt,Qe,nt,Ye)}}te||F.push(M)}var I=f(" "),N=f('="'),M=f('"'),Z=f('=""');function L(F,te,le,Le){switch(le){case"style":q(F,te,Le);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<le.length)||le[0]!=="o"&&le[0]!=="O"||le[1]!=="n"&&le[1]!=="N"){if(te=w.hasOwnProperty(le)?w[le]:null,te!==null){switch(typeof Le){case"function":case"symbol":return;case"boolean":if(!te.acceptsBooleans)return}switch(le=u(te.attributeName),te.type){case 3:Le&&F.push(I,le,Z);break;case 4:Le===!0?F.push(I,le,Z):Le!==!1&&F.push(I,le,N,u(m(Le)),M);break;case 5:isNaN(Le)||F.push(I,le,N,u(m(Le)),M);break;case 6:!isNaN(Le)&&1<=Le&&F.push(I,le,N,u(m(Le)),M);break;default:te.sanitizeURL&&(Le=""+Le),F.push(I,le,N,u(m(Le)),M)}}else if(E(le)){switch(typeof Le){case"function":case"symbol":return;case"boolean":if(te=le.toLowerCase().slice(0,5),te!=="data-"&&te!=="aria-")return}F.push(I,u(le),N,u(m(Le)),M)}}}var G=f(">"),pe=f("/>");function fe(F,te,le){if(te!=null){if(le!=null)throw Error(t(60));if(typeof te!="object"||!("__html"in te))throw Error(t(61));te=te.__html,te!=null&&F.push(u(""+te))}}function be(F){var te="";return e.Children.forEach(F,function(le){le!=null&&(te+=le)}),te}var _e=f(' selected=""');function Ce(F,te,le,Le){F.push(ge(le));var Ye=le=null,Qe;for(Qe in te)if(h.call(te,Qe)){var It=te[Qe];if(It!=null)switch(Qe){case"children":le=It;break;case"dangerouslySetInnerHTML":Ye=It;break;default:L(F,Le,Qe,It)}}return F.push(G),fe(F,Ye,le),typeof le=="string"?(F.push(u(m(le))),null):le}var Me=f(`
153
+ `),de=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,me=new Map;function ge(F){var te=me.get(F);if(te===void 0){if(!de.test(F))throw Error(t(65,F));te=f("<"+F),me.set(F,te)}return te}var Te=f("<!DOCTYPE html>");function Pe(F,te,le,Le,Ye){switch(te){case"select":F.push(ge("select"));var Qe=null,It=null;for(Sr in le)if(h.call(le,Sr)){var Wt=le[Sr];if(Wt!=null)switch(Sr){case"children":Qe=Wt;break;case"dangerouslySetInnerHTML":It=Wt;break;case"defaultValue":case"value":break;default:L(F,Le,Sr,Wt)}}return F.push(G),fe(F,It,Qe),Qe;case"option":It=Ye.selectedValue,F.push(ge("option"));var hr=Wt=null,$r=null,Sr=null;for(Qe in le)if(h.call(le,Qe)&&(te=le[Qe],te!=null))switch(Qe){case"children":Wt=te;break;case"selected":$r=te;break;case"dangerouslySetInnerHTML":Sr=te;break;case"value":hr=te;default:L(F,Le,Qe,te)}if(It!=null)if(le=hr!==null?""+hr:be(Wt),K(It)){for(Le=0;Le<It.length;Le++)if(""+It[Le]===le){F.push(_e);break}}else""+It===le&&F.push(_e);else $r&&F.push(_e);return F.push(G),fe(F,Sr,Wt),Wt;case"textarea":F.push(ge("textarea")),Sr=It=Qe=null;for(Wt in le)if(h.call(le,Wt)&&(hr=le[Wt],hr!=null))switch(Wt){case"children":Sr=hr;break;case"value":Qe=hr;break;case"defaultValue":It=hr;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:L(F,Le,Wt,hr)}if(Qe===null&&It!==null&&(Qe=It),F.push(G),Sr!=null){if(Qe!=null)throw Error(t(92));if(K(Sr)&&1<Sr.length)throw Error(t(93));Qe=""+Sr}return typeof Qe=="string"&&Qe[0]===`
154
+ `&&F.push(Me),Qe!==null&&F.push(u(m(""+Qe))),null;case"input":F.push(ge("input")),hr=Sr=Wt=Qe=null;for(It in le)if(h.call(le,It)&&($r=le[It],$r!=null))switch(It){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":hr=$r;break;case"defaultValue":Wt=$r;break;case"checked":Sr=$r;break;case"value":Qe=$r;break;default:L(F,Le,It,$r)}return Sr!==null?L(F,Le,"checked",Sr):hr!==null&&L(F,Le,"checked",hr),Qe!==null?L(F,Le,"value",Qe):Wt!==null&&L(F,Le,"value",Wt),F.push(pe),null;case"menuitem":F.push(ge("menuitem"));for(var Tn in le)if(h.call(le,Tn)&&(Qe=le[Tn],Qe!=null))switch(Tn){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:L(F,Le,Tn,Qe)}return F.push(G),null;case"listing":case"pre":F.push(ge(te)),It=Qe=null;for(hr in le)if(h.call(le,hr)&&(Wt=le[hr],Wt!=null))switch(hr){case"children":Qe=Wt;break;case"dangerouslySetInnerHTML":It=Wt;break;default:L(F,Le,hr,Wt)}if(F.push(G),It!=null){if(Qe!=null)throw Error(t(60));if(typeof It!="object"||!("__html"in It))throw Error(t(61));le=It.__html,le!=null&&(typeof le=="string"&&0<le.length&&le[0]===`
155
+ `?F.push(Me,u(le)):F.push(u(""+le)))}return typeof Qe=="string"&&Qe[0]===`
156
+ `&&F.push(Me),Qe;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":F.push(ge(te));for(var Yn in le)if(h.call(le,Yn)&&(Qe=le[Yn],Qe!=null))switch(Yn){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,te));default:L(F,Le,Yn,Qe)}return F.push(pe),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 Ce(F,le,te,Le);case"html":return Ye.insertionMode===0&&F.push(Te),Ce(F,le,te,Le);default:if(te.indexOf("-")===-1&&typeof le.is!="string")return Ce(F,le,te,Le);F.push(ge(te)),It=Qe=null;for($r in le)if(h.call(le,$r)&&(Wt=le[$r],Wt!=null))switch($r){case"children":Qe=Wt;break;case"dangerouslySetInnerHTML":It=Wt;break;case"style":q(F,Le,Wt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:E($r)&&typeof Wt!="function"&&typeof Wt!="symbol"&&F.push(I,u($r),N,u(m(Wt)),M)}return F.push(G),fe(F,It,Qe),Qe}}var De=f("</"),qe=f(">"),_t=f('<template id="'),Ut=f('"></template>'),Mt=f("<!--$-->"),Xe=f('<!--$?--><template id="'),wt=f('"></template>'),mt=f("<!--$!-->"),Et=f("<!--/$-->");function At(F,te,le){if(i(F,Xe),le===null)throw Error(t(395));return i(F,le),a(F,wt)}var ft=f('<div hidden id="'),Ft=f('">'),Ct=f("</div>"),Ae=f('<svg aria-hidden="true" style="display:none" id="'),Ze=f('">'),ut=f("</svg>"),bt=f('<math aria-hidden="true" style="display:none" id="'),Lt=f('">'),tr=f("</math>"),pr=f('<table hidden id="'),ar=f('">'),dr=f("</table>"),xr=f('<table hidden><tbody id="'),en=f('">'),Qn=f("</tbody></table>"),wn=f('<table hidden><tr id="'),vn=f('">'),dn=f("</tr></table>"),jn=f('<table hidden><colgroup id="'),Un=f('">'),ui=f("</colgroup></table>");function ti(F,te,le,Le){switch(le.insertionMode){case 0:case 1:return i(F,ft),i(F,te.segmentPrefix),i(F,u(Le.toString(16))),a(F,Ft);case 2:return i(F,Ae),i(F,te.segmentPrefix),i(F,u(Le.toString(16))),a(F,Ze);case 3:return i(F,bt),i(F,te.segmentPrefix),i(F,u(Le.toString(16))),a(F,Lt);case 4:return i(F,pr),i(F,te.segmentPrefix),i(F,u(Le.toString(16))),a(F,ar);case 5:return i(F,xr),i(F,te.segmentPrefix),i(F,u(Le.toString(16))),a(F,en);case 6:return i(F,wn),i(F,te.segmentPrefix),i(F,u(Le.toString(16))),a(F,vn);case 7:return i(F,jn),i(F,te.segmentPrefix),i(F,u(Le.toString(16))),a(F,Un);default:throw Error(t(397))}}function Si(F,te){switch(te.insertionMode){case 0:case 1:return a(F,Ct);case 2:return a(F,ut);case 3:return a(F,tr);case 4:return a(F,dr);case 5:return a(F,Qn);case 6:return a(F,dn);case 7:return a(F,ui);default:throw Error(t(397))}}var xi=f('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("'),bn=f('$RS("'),Gn=f('","'),di=f('")<\/script>'),li=f('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=f('$RC("'),$t=f('","'),vt=f('")<\/script>'),Ge=f('function $RX(a){if(a=document.getElementById(a))a=a.previousSibling,a.data="$!",a._reactRetry&&a._reactRetry()};$RX("'),xt=f('$RX("'),fr=f('")<\/script>'),ye=Object.assign,lt=Symbol.for("react.element"),tt=Symbol.for("react.portal"),ct=Symbol.for("react.fragment"),kt=Symbol.for("react.strict_mode"),dt=Symbol.for("react.profiler"),Gt=Symbol.for("react.provider"),Cr=Symbol.for("react.context"),Wr=Symbol.for("react.forward_ref"),Kr=Symbol.for("react.suspense"),an=Symbol.for("react.suspense_list"),Nt=Symbol.for("react.memo"),Vr=Symbol.for("react.lazy"),Ci=Symbol.for("react.scope"),Kn=Symbol.for("react.debug_trace_mode"),zi=Symbol.for("react.legacy_hidden"),wi=Symbol.for("react.default_value"),ra=Symbol.iterator;function Oa(F){if(F==null)return null;if(typeof F=="function")return F.displayName||F.name||null;if(typeof F=="string")return F;switch(F){case ct:return"Fragment";case tt:return"Portal";case dt:return"Profiler";case kt:return"StrictMode";case Kr:return"Suspense";case an:return"SuspenseList"}if(typeof F=="object")switch(F.$$typeof){case Cr:return(F.displayName||"Context")+".Consumer";case Gt:return(F._context.displayName||"Context")+".Provider";case Wr:var te=F.render;return F=F.displayName,F||(F=te.displayName||te.name||"",F=F!==""?"ForwardRef("+F+")":"ForwardRef"),F;case Nt:return te=F.displayName||null,te!==null?te:Oa(F.type)||"Memo";case Vr:te=F._payload,F=F._init;try{return Oa(F(te))}catch{}}return null}var va={};function $(F,te){if(F=F.contextTypes,!F)return va;var le={},Le;for(Le in F)le[Le]=te[Le];return le}var re=null;function Ee(F,te){if(F!==te){F.context._currentValue=F.parentValue,F=F.parent;var le=te.parent;if(F===null){if(le!==null)throw Error(t(401))}else{if(le===null)throw Error(t(401));Ee(F,le)}te.context._currentValue=te.value}}function Fe(F){F.context._currentValue=F.parentValue,F=F.parent,F!==null&&Fe(F)}function ht(F){var te=F.parent;te!==null&&ht(te),F.context._currentValue=F.value}function et(F,te){if(F.context._currentValue=F.parentValue,F=F.parent,F===null)throw Error(t(402));F.depth===te.depth?Ee(F,te):et(F,te)}function Ot(F,te){var le=te.parent;if(le===null)throw Error(t(402));F.depth===le.depth?Ee(F,le):Ot(F,le),te.context._currentValue=te.value}function zt(F){var te=re;te!==F&&(te===null?ht(F):F===null?Fe(te):te.depth===F.depth?Ee(te,F):te.depth>F.depth?et(te,F):Ot(te,F),re=F)}var Qt={isMounted:function(){return!1},enqueueSetState:function(F,te){F=F._reactInternals,F.queue!==null&&F.queue.push(te)},enqueueReplaceState:function(F,te){F=F._reactInternals,F.replace=!0,F.queue=[te]},enqueueForceUpdate:function(){}};function yr(F,te,le,Le){var Ye=F.state!==void 0?F.state:null;F.updater=Qt,F.props=le,F.state=Ye;var Qe={queue:[],replace:!1};F._reactInternals=Qe;var It=te.contextType;if(F.context=typeof It=="object"&&It!==null?It._currentValue:Le,It=te.getDerivedStateFromProps,typeof It=="function"&&(It=It(le,Ye),Ye=It==null?Ye:ye({},Ye,It),F.state=Ye),typeof te.getDerivedStateFromProps!="function"&&typeof F.getSnapshotBeforeUpdate!="function"&&(typeof F.UNSAFE_componentWillMount=="function"||typeof F.componentWillMount=="function"))if(te=F.state,typeof F.componentWillMount=="function"&&F.componentWillMount(),typeof F.UNSAFE_componentWillMount=="function"&&F.UNSAFE_componentWillMount(),te!==F.state&&Qt.enqueueReplaceState(F,F.state,null),Qe.queue!==null&&0<Qe.queue.length)if(te=Qe.queue,It=Qe.replace,Qe.queue=null,Qe.replace=!1,It&&te.length===1)F.state=te[0];else{for(Qe=It?te[0]:F.state,Ye=!0,It=It?1:0;It<te.length;It++){var Wt=te[It];Wt=typeof Wt=="function"?Wt.call(F,Qe,le,Le):Wt,Wt!=null&&(Ye?(Ye=!1,Qe=ye({},Qe,Wt)):ye(Qe,Wt))}F.state=Qe}else Qe.queue=null}var Tr={id:1,overflow:""};function Cn(F,te,le){var Le=F.id;F=F.overflow;var Ye=32-hi(Le)-1;Le&=~(1<<Ye),le+=1;var Qe=32-hi(te)+Ye;if(30<Qe){var It=Ye-Ye%5;return Qe=(Le&(1<<It)-1).toString(32),Le>>=It,Ye-=It,{id:1<<32-hi(te)+Ye|le<<Ye|Le,overflow:Qe+F}}return{id:1<<Qe|le<<Ye|Le,overflow:F}}var hi=Math.clz32?Math.clz32:bs,pi=Math.log,$o=Math.LN2;function bs(F){return F>>>=0,F===0?32:31-(pi(F)/$o|0)|0}function Fo(F,te){return F===te&&(F!==0||1/F===1/te)||F!==F&&te!==te}var Ia=typeof Object.is=="function"?Object.is:Fo,ri=null,ga=null,Pa=null,sn=null,Wi=!1,fo=!1,ho=0,Li=null,os=0;function ka(){if(ri===null)throw Error(t(321));return ri}function jo(){if(0<os)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function ss(){return sn===null?Pa===null?(Wi=!1,Pa=sn=jo()):(Wi=!0,sn=Pa):sn.next===null?(Wi=!1,sn=sn.next=jo()):(Wi=!0,sn=sn.next),sn}function Ws(){ga=ri=null,fo=!1,Pa=null,os=0,sn=Li=null}function Da(F,te){return typeof te=="function"?te(F):te}function Ha(F,te,le){if(ri=ka(),sn=ss(),Wi){var Le=sn.queue;if(te=Le.dispatch,Li!==null&&(le=Li.get(Le),le!==void 0)){Li.delete(Le),Le=sn.memoizedState;do Le=F(Le,le.action),le=le.next;while(le!==null);return sn.memoizedState=Le,[Le,te]}return[sn.memoizedState,te]}return F=F===Da?typeof te=="function"?te():te:le!==void 0?le(te):te,sn.memoizedState=F,F=sn.queue={last:null,dispatch:null},F=F.dispatch=Gi.bind(null,ri,F),[sn.memoizedState,F]}function bi(F,te){if(ri=ka(),sn=ss(),te=te===void 0?null:te,sn!==null){var le=sn.memoizedState;if(le!==null&&te!==null){var Le=le[1];e:if(Le===null)Le=!1;else{for(var Ye=0;Ye<Le.length&&Ye<te.length;Ye++)if(!Ia(te[Ye],Le[Ye])){Le=!1;break e}Le=!0}if(Le)return le[0]}}return F=F(),sn.memoizedState=[F,te],F}function Gi(F,te,le){if(25<=os)throw Error(t(301));if(F===ri)if(fo=!0,F={action:le,next:null},Li===null&&(Li=new Map),le=Li.get(te),le===void 0)Li.set(te,F);else{for(te=le;te.next!==null;)te=te.next;te.next=F}}function Gs(){throw Error(t(394))}function po(){}var vo={readContext:function(F){return F._currentValue},useContext:function(F){return ka(),F._currentValue},useMemo:bi,useReducer:Ha,useRef:function(F){ri=ka(),sn=ss();var te=sn.memoizedState;return te===null?(F={current:F},sn.memoizedState=F):te},useState:function(F){return Ha(Da,F)},useInsertionEffect:po,useLayoutEffect:function(){},useCallback:function(F,te){return bi(function(){return F},te)},useImperativeHandle:po,useEffect:po,useDebugValue:po,useDeferredValue:function(F){return ka(),F},useTransition:function(){return ka(),[!1,Gs]},useId:function(){var F=ga.treeContext,te=F.overflow;F=F.id,F=(F&~(1<<32-hi(F)-1)).toString(32)+te;var le=Ki;if(le===null)throw Error(t(404));return te=ho++,F=":"+le.idPrefix+"R"+F,0<te&&(F+="H"+te.toString(32)),F+":"},useMutableSource:function(F,te){return ka(),te(F._source)},useSyncExternalStore:function(F,te,le){if(le===void 0)throw Error(t(407));return le()}},Ki=null,us=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Ks(F){console.error(F)}function vi(){}function Yi(F,te,le,Le,Ye,Qe,It,Wt,hr){var $r=[],Sr=new Set;return te={destination:null,responseState:te,progressiveChunkSize:Le===void 0?12800:Le,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Sr,pingedTasks:$r,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:Ye===void 0?Ks:Ye,onAllReady:Qe===void 0?vi:Qe,onShellReady:It===void 0?vi:It,onShellError:Wt===void 0?vi:Wt,onFatalError:hr===void 0?vi:hr},le=go(te,0,null,le),le.parentFlushed=!0,F=za(te,F,null,le,Sr,va,null,Tr),$r.push(F),te}function za(F,te,le,Le,Ye,Qe,It,Wt){F.allPendingTasks++,le===null?F.pendingRootTasks++:le.pendingTasks++;var hr={node:te,ping:function(){var $r=F.pingedTasks;$r.push(hr),$r.length===1&&Rt(F)},blockedBoundary:le,blockedSegment:Le,abortSet:Ye,legacyContext:Qe,context:It,treeContext:Wt};return Ye.add(hr),hr}function go(F,te,le,Le){return{status:0,id:-1,index:te,parentFlushed:!1,chunks:[],children:[],formatContext:Le,boundary:le}}function Wa(F,te){F=F.onError,F(te)}function Ga(F,te){var le=F.onShellError;le(te),le=F.onFatalError,le(te),F.destination!==null?(F.status=2,d(F.destination,te)):(F.status=1,F.fatalError=te)}function g(F,te,le,Le,Ye){for(ri={},ga=te,ho=0,F=le(Le,Ye);fo;)fo=!1,ho=0,os+=1,sn=null,F=le(Le,Ye);return Ws(),F}function A(F,te,le,Le){var Ye=le.render(),Qe=Le.childContextTypes;if(Qe!=null){var It=te.legacyContext;if(typeof le.getChildContext!="function")Le=It;else{le=le.getChildContext();for(var Wt in le)if(!(Wt in Qe))throw Error(t(108,Oa(Le)||"Unknown",Wt));Le=ye({},It,le)}te.legacyContext=Le,ee(F,te,Ye),te.legacyContext=It}else ee(F,te,Ye)}function P(F,te){if(F&&F.defaultProps){te=ye({},te),F=F.defaultProps;for(var le in F)te[le]===void 0&&(te[le]=F[le]);return te}return te}function j(F,te,le,Le,Ye){if(typeof le=="function")if(le.prototype&&le.prototype.isReactComponent){Ye=$(le,te.legacyContext);var Qe=le.contextType;Qe=new le(Le,typeof Qe=="object"&&Qe!==null?Qe._currentValue:Ye),yr(Qe,le,Le,Ye),A(F,te,Qe,le)}else{Qe=$(le,te.legacyContext),Ye=g(F,te,le,Le,Qe);var It=ho!==0;if(typeof Ye=="object"&&Ye!==null&&typeof Ye.render=="function"&&Ye.$$typeof===void 0)yr(Ye,le,Le,Qe),A(F,te,Ye,le);else if(It){Le=te.treeContext,te.treeContext=Cn(Le,1,0);try{ee(F,te,Ye)}finally{te.treeContext=Le}}else ee(F,te,Ye)}else if(typeof le=="string")switch(Ye=te.blockedSegment,Qe=Pe(Ye.chunks,le,Le,F.responseState,Ye.formatContext),It=Ye.formatContext,Ye.formatContext=ue(It,le,Le),oe(F,te,Qe),Ye.formatContext=It,le){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:Ye.chunks.push(De,u(le),qe)}else{switch(le){case zi:case Kn:case kt:case dt:case ct:ee(F,te,Le.children);return;case an:ee(F,te,Le.children);return;case Ci:throw Error(t(343));case Kr:e:{le=te.blockedBoundary,Ye=te.blockedSegment,Qe=Le.fallback,Le=Le.children,It=new Set;var Wt={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:It},hr=go(F,Ye.chunks.length,Wt,Ye.formatContext);Ye.children.push(hr);var $r=go(F,0,null,Ye.formatContext);$r.parentFlushed=!0,te.blockedBoundary=Wt,te.blockedSegment=$r;try{if(oe(F,te,Le),$r.status=1,ze(Wt,$r),Wt.pendingTasks===0)break e}catch(Sr){$r.status=4,Wa(F,Sr),Wt.forceClientRender=!0}finally{te.blockedBoundary=le,te.blockedSegment=Ye}te=za(F,Qe,le,hr,It,te.legacyContext,te.context,te.treeContext),F.pingedTasks.push(te)}return}if(typeof le=="object"&&le!==null)switch(le.$$typeof){case Wr:if(Le=g(F,te,le.render,Le,Ye),ho!==0){le=te.treeContext,te.treeContext=Cn(le,1,0);try{ee(F,te,Le)}finally{te.treeContext=le}}else ee(F,te,Le);return;case Nt:le=le.type,Le=P(le,Le),j(F,te,le,Le,Ye);return;case Gt:if(Ye=Le.children,le=le._context,Le=Le.value,Qe=le._currentValue,le._currentValue=Le,It=re,re=Le={parent:It,depth:It===null?0:It.depth+1,context:le,parentValue:Qe,value:Le},te.context=Le,ee(F,te,Ye),F=re,F===null)throw Error(t(403));Le=F.parentValue,F.context._currentValue=Le===wi?F.context._defaultValue:Le,F=re=F.parent,te.context=F;return;case Cr:Le=Le.children,Le=Le(le._currentValue),ee(F,te,Le);return;case Vr:Ye=le._init,le=Ye(le._payload),Le=P(le,Le),j(F,te,le,Le,void 0);return}throw Error(t(130,le==null?le:typeof le,""))}}function ee(F,te,le){if(te.node=le,typeof le=="object"&&le!==null){switch(le.$$typeof){case lt:j(F,te,le.type,le.props,le.ref);return;case tt:throw Error(t(257));case Vr:var Le=le._init;le=Le(le._payload),ee(F,te,le);return}if(K(le)){ne(F,te,le);return}if(le===null||typeof le!="object"?Le=null:(Le=ra&&le[ra]||le["@@iterator"],Le=typeof Le=="function"?Le:null),Le&&(Le=Le.call(le))){if(le=Le.next(),!le.done){var Ye=[];do Ye.push(le.value),le=Le.next();while(!le.done);ne(F,te,Ye)}return}throw te=Object.prototype.toString.call(le),Error(t(31,te==="[object Object]"?"object with keys {"+Object.keys(le).join(", ")+"}":te))}typeof le=="string"?le!==""&&te.blockedSegment.chunks.push(u(m(le)),we):typeof le=="number"&&(F=""+le,F!==""&&te.blockedSegment.chunks.push(u(m(F)),we))}function ne(F,te,le){for(var Le=le.length,Ye=0;Ye<Le;Ye++){var Qe=te.treeContext;te.treeContext=Cn(Qe,Le,Ye);try{oe(F,te,le[Ye])}finally{te.treeContext=Qe}}}function oe(F,te,le){var Le=te.blockedSegment.formatContext,Ye=te.legacyContext,Qe=te.context;try{return ee(F,te,le)}catch(hr){if(Ws(),typeof hr=="object"&&hr!==null&&typeof hr.then=="function"){le=hr;var It=te.blockedSegment,Wt=go(F,It.chunks.length,null,It.formatContext);It.children.push(Wt),F=za(F,te.node,te.blockedBoundary,Wt,te.abortSet,te.legacyContext,te.context,te.treeContext).ping,le.then(F,F),te.blockedSegment.formatContext=Le,te.legacyContext=Ye,te.context=Qe,zt(Qe)}else throw te.blockedSegment.formatContext=Le,te.legacyContext=Ye,te.context=Qe,zt(Qe),hr}}function $e(F){var te=F.blockedBoundary;F=F.blockedSegment,F.status=3,St(this,te,F)}function Ie(F){var te=F.blockedBoundary;F.blockedSegment.status=3,te===null?(this.allPendingTasks--,this.status!==2&&(this.status=2,this.destination!==null&&this.destination.close())):(te.pendingTasks--,te.forceClientRender||(te.forceClientRender=!0,te.parentFlushed&&this.clientRenderedBoundaries.push(te)),te.fallbackAbortableTasks.forEach(Ie,this),te.fallbackAbortableTasks.clear(),this.allPendingTasks--,this.allPendingTasks===0&&(F=this.onAllReady,F()))}function ze(F,te){if(te.chunks.length===0&&te.children.length===1&&te.children[0].boundary===null){var le=te.children[0];le.id=te.id,le.parentFlushed=!0,le.status===1&&ze(F,le)}else F.completedSegments.push(te)}function St(F,te,le){if(te===null){if(le.parentFlushed){if(F.completedRootSegment!==null)throw Error(t(389));F.completedRootSegment=le}F.pendingRootTasks--,F.pendingRootTasks===0&&(F.onShellError=vi,te=F.onShellReady,te())}else te.pendingTasks--,te.forceClientRender||(te.pendingTasks===0?(le.parentFlushed&&le.status===1&&ze(te,le),te.parentFlushed&&F.completedBoundaries.push(te),te.fallbackAbortableTasks.forEach($e,F),te.fallbackAbortableTasks.clear()):le.parentFlushed&&le.status===1&&(ze(te,le),te.completedSegments.length===1&&te.parentFlushed&&F.partialBoundaries.push(te)));F.allPendingTasks--,F.allPendingTasks===0&&(F=F.onAllReady,F())}function Rt(F){if(F.status!==2){var te=re,le=us.current;us.current=vo;var Le=Ki;Ki=F.responseState;try{var Ye=F.pingedTasks,Qe;for(Qe=0;Qe<Ye.length;Qe++){var It=Ye[Qe],Wt=F,hr=It.blockedSegment;if(hr.status===0){zt(It.context);try{ee(Wt,It,It.node),It.abortSet.delete(It),hr.status=1,St(Wt,It.blockedBoundary,hr)}catch(On){if(Ws(),typeof On=="object"&&On!==null&&typeof On.then=="function"){var $r=It.ping;On.then($r,$r)}else{It.abortSet.delete(It),hr.status=4;var Sr=It.blockedBoundary,Tn=On;if(Wa(Wt,Tn),Sr===null?Ga(Wt,Tn):(Sr.pendingTasks--,Sr.forceClientRender||(Sr.forceClientRender=!0,Sr.parentFlushed&&Wt.clientRenderedBoundaries.push(Sr))),Wt.allPendingTasks--,Wt.allPendingTasks===0){var Yn=Wt.onAllReady;Yn()}}}finally{}}}Ye.splice(0,Qe),F.destination!==null&&qn(F,F.destination)}catch(On){Wa(F,On),Ga(F,On)}finally{Ki=Le,us.current=le,le===vo&&zt(te)}}}function ot(F,te,le){switch(le.parentFlushed=!0,le.status){case 0:var Le=le.id=F.nextSegmentId++;return F=F.responseState,i(te,_t),i(te,F.placeholderPrefix),F=u(Le.toString(16)),i(te,F),a(te,Ut);case 1:le.status=2;var Ye=!0;Le=le.chunks;var Qe=0;le=le.children;for(var It=0;It<le.length;It++){for(Ye=le[It];Qe<Ye.index;Qe++)i(te,Le[Qe]);Ye=qt(F,te,Ye)}for(;Qe<Le.length-1;Qe++)i(te,Le[Qe]);return Qe<Le.length&&(Ye=a(te,Le[Qe])),Ye;default:throw Error(t(390))}}function qt(F,te,le){var Le=le.boundary;if(Le===null)return ot(F,te,le);if(Le.parentFlushed=!0,Le.forceClientRender)a(te,mt),ot(F,te,le);else if(0<Le.pendingTasks){Le.rootSegmentID=F.nextSegmentId++,0<Le.completedSegments.length&&F.partialBoundaries.push(Le);var Ye=F.responseState,Qe=Ye.nextSuspenseID++;Ye=f(Ye.boundaryPrefix+Qe.toString(16)),Le=Le.id=Ye,At(te,F.responseState,Le),ot(F,te,le)}else if(Le.byteSize>F.progressiveChunkSize)Le.rootSegmentID=F.nextSegmentId++,F.completedBoundaries.push(Le),At(te,F.responseState,Le.id),ot(F,te,le);else{if(a(te,Mt),le=Le.completedSegments,le.length!==1)throw Error(t(391));qt(F,te,le[0])}return a(te,Et)}function Er(F,te,le){return ti(te,F.responseState,le.formatContext,le.id),qt(F,te,le),Si(te,le.formatContext)}function Yr(F,te,le){for(var Le=le.completedSegments,Ye=0;Ye<Le.length;Ye++)Nr(F,te,le,Le[Ye]);if(Le.length=0,F=F.responseState,Le=le.id,le=le.rootSegmentID,i(te,F.startInlineScript),F.sentCompleteBoundaryFunction?i(te,it):(F.sentCompleteBoundaryFunction=!0,i(te,li)),Le===null)throw Error(t(395));return le=u(le.toString(16)),i(te,Le),i(te,$t),i(te,F.segmentPrefix),i(te,le),a(te,vt)}function Nr(F,te,le,Le){if(Le.status===2)return!0;var Ye=Le.id;if(Ye===-1){if((Le.id=le.rootSegmentID)===-1)throw Error(t(392));return Er(F,te,Le)}return Er(F,te,Le),F=F.responseState,i(te,F.startInlineScript),F.sentCompleteSegmentFunction?i(te,bn):(F.sentCompleteSegmentFunction=!0,i(te,xi)),i(te,F.segmentPrefix),Ye=u(Ye.toString(16)),i(te,Ye),i(te,Gn),i(te,F.placeholderPrefix),i(te,Ye),a(te,di)}function qn(F,te){r=new Uint8Array(512),n=0;try{var le=F.completedRootSegment;if(le!==null&&F.pendingRootTasks===0){qt(F,te,le),F.completedRootSegment=null;var Le=F.responseState.bootstrapChunks;for(le=0;le<Le.length-1;le++)i(te,Le[le]);le<Le.length&&a(te,Le[le])}var Ye=F.clientRenderedBoundaries,Qe;for(Qe=0;Qe<Ye.length;Qe++){Le=te;var It=F.responseState,Wt=Ye[Qe].id;if(i(Le,It.startInlineScript),It.sentClientRenderFunction?i(Le,xt):(It.sentClientRenderFunction=!0,i(Le,Ge)),Wt===null)throw Error(t(395));i(Le,Wt),a(Le,fr)}Ye.splice(0,Qe);var hr=F.completedBoundaries;for(Qe=0;Qe<hr.length;Qe++)Yr(F,te,hr[Qe]);hr.splice(0,Qe),o(te),r=new Uint8Array(512),n=0;var $r=F.partialBoundaries;for(Qe=0;Qe<$r.length;Qe++){var Sr=$r[Qe];e:{Ye=F,It=te;var Tn=Sr.completedSegments;for(Wt=0;Wt<Tn.length;Wt++)if(!Nr(Ye,It,Sr,Tn[Wt])){Wt++,Tn.splice(0,Wt);var Yn=!1;break e}Tn.splice(0,Wt),Yn=!0}if(!Yn){F.destination=null,Qe++,$r.splice(0,Qe);return}}$r.splice(0,Qe);var On=F.completedBoundaries;for(Qe=0;Qe<On.length;Qe++)Yr(F,te,On[Qe]);On.splice(0,Qe)}finally{o(te),F.allPendingTasks===0&&F.pingedTasks.length===0&&F.clientRenderedBoundaries.length===0&&F.completedBoundaries.length===0&&te.close()}}function Jn(F){try{var te=F.abortableTasks;te.forEach(Ie,F),te.clear(),F.destination!==null&&qn(F,F.destination)}catch(le){Wa(F,le),Ga(F,le)}}return Tv.renderToReadableStream=function(F,te){return new Promise(function(le,Le){var Ye,Qe,It=new Promise(function(Sr,Tn){Qe=Sr,Ye=Tn}),Wt=Yi(F,H(te?te.identifierPrefix:void 0,te?te.nonce:void 0,te?te.bootstrapScriptContent:void 0,te?te.bootstrapScripts:void 0,te?te.bootstrapModules:void 0),z(te?te.namespaceURI:void 0),te?te.progressiveChunkSize:void 0,te?te.onError:void 0,Qe,function(){var Sr=new ReadableStream({type:"bytes",pull:function(Tn){if(Wt.status===1)Wt.status=2,d(Tn,Wt.fatalError);else if(Wt.status!==2&&Wt.destination===null){Wt.destination=Tn;try{qn(Wt,Tn)}catch(Yn){Wa(Wt,Yn),Ga(Wt,Yn)}}},cancel:function(){Jn(Wt)}});Sr.allReady=It,le(Sr)},function(Sr){It.catch(function(){}),Le(Sr)},Ye);if(te&&te.signal){var hr=te.signal,$r=function(){Jn(Wt),hr.removeEventListener("abort",$r)};hr.addEventListener("abort",$r)}Rt(Wt)})},Tv.version="18.1.0",Tv}var nK;function X1e(){if(nK)return Hu;nK=1;var e,t;return e=K1e(),t=Y1e(),Hu.version=e.version,Hu.renderToString=e.renderToString,Hu.renderToStaticMarkup=e.renderToStaticMarkup,Hu.renderToNodeStream=e.renderToNodeStream,Hu.renderToStaticNodeStream=e.renderToStaticNodeStream,Hu.renderToReadableStream=t.renderToReadableStream,Hu}var Q1e=X1e();const J1e={getSvg(e){const t=e;return Q1e.renderToStaticMarkup(ce.jsx(t,{...this.getCommonSvgProps()}))},getCommonSvgProps(){return{viewBox:"0 0 24 24",role:"img","aria-hidden":"true"}}},Z1e="d-inline-block svg-container",ebe="span";var _re=(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))(_re||{});function al(e){const{svg:t,className:r=Z1e,tagName:n=ebe,size:i="std",onClick:a,title:o,tooltipSpanHackClassName:l,tooltipPlacement:u="right",tooltipSpanHack:f=!1,tooltipShow:d}=e,h=n,p={className:`${r} ${i}`,onClick:Ro.isFunction(a)?a:null},y=t;return ce.jsx(Jl,{title:o,placement:u,spanHack:f,spanHackClassName:l,show:d,children:ce.jsx(h,{...p,children:y&&ce.jsx(y,{...J1e.getCommonSvgProps()})})})}const tbe="_iconButton_1no8y_1",rbe="_iconWithText_1no8y_5",nbe="_svg_1no8y_9",ibe="_iconOnly_1no8y_21",abe="_iconBorder_1no8y_30",zd={iconButton:tbe,iconWithText:rbe,svg:nbe,iconOnly:ibe,iconBorder:abe};function YR(e){return e.tooltip?ce.jsx(Jl,{title:e.tooltip,spanHack:!0,spanHackClassName:e.showBorder?"me-2":"",children:e.children}):ce.jsx(ce.Fragment,{children:e.children})}function dC(e){let t=`${e.className} ${zd.iconButton}`;Se.Children.toArray(e.children).length?t+=` ${zd.iconWithText}`:!e.showBorder&&!e.customSize&&(t+=` ${zd.iconOnly}`),e.showBorder&&(t+=" "+D0e(zd.iconBorder,"btn btn-outline-dark",!e.tooltip&&"me-2")),e.disabled&&(t+=" disabled");const r=ce.jsx(al,{svg:e.svg,className:`svg-container ${zd.svg}`,size:e.svgSize});function n(a){e.analyticsData&&e.analyticsOptions&&qa.logUserAction(e.analyticsData,e.analyticsOptions),Ro.isFunction(e.onClick)&&e.onClick(a)}function i(a){a.preventDefault(),e.analyticsData&&e.analyticsOptions&&qa.logUserAction(e.analyticsData,e.analyticsOptions),Ro.isFunction(e.onClick)&&e.onClick(a),Nn.PageLoad(e.href,e.openInNewTab)}return!e.appLink&&!e.href?ce.jsx(YR,{...e,children:ce.jsxs("button",{type:"button",className:t,"aria-label":e.ariaLabel,onClick:n,disabled:e.disabled,role:e.role,children:[r,e.children]})}):e.href?ce.jsx(YR,{...e,children:ce.jsxs("a",{className:t,href:e.href,onClick:i,"aria-label":e.ariaLabel,role:e.role,children:[r,e.children]})}):ce.jsx(YR,{...e,children:ce.jsxs(xo,{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 obe(e){let t=e.className||"btn btn-dark";if(e.disabled&&(t+=" disabled"),!e.icon){if(e.appLink&&!Ro.isFunction(e.onClick)&&!e.disabled)return ce.jsx(xo,{appLink:e.appLink,className:t,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,children:e.text});const r=()=>{e.disabled||(Ro.isFunction(e.onClick)&&e.onClick(),e.appLink&&Ai.trigger(e.appLink),qa.logUserAction(e.analyticsData,e.analyticsOptions))};return e.href&&!e.disabled?ce.jsx("a",{className:t,href:e.href,target:e.openInNewTab?"_blank":null,children:e.text}):ce.jsx("button",{disabled:e.disabled,onClick:r,className:t,children:e.text})}return ce.jsx(dC,{className:t,onClick:e.onClick,appLink:e.appLink,svg:e.icon,href:e.href,openInNewTab:e.openInNewTab,disabled:e.disabled,children:e.text})}const sbe="_image_12gb5_1",ube="_small_12gb5_6",iK={image:sbe,small:ube};Ere.defaultProps={size:"medium"};function Ere(e){return ce.jsx("img",{alt:e.altText||"",role:"presentation",src:e.src,className:`${iK.image} ${e.size==="small"?iK.small:""} ${e.className??""}`})}Ds.defaultProps={className:"pt-5"};function Ds(e){return ce.jsx("div",{className:`text-center d-flex flex-column align-items-center ${e.className??""}`,children:e.children})}Ds.Image=e=>ce.jsx(Ere,{...e});Ds.Cta=e=>ce.jsx(obe,{...e});Ds.Heading=e=>ce.jsx("h2",{role:"status",className:e.className||"h3",children:e.children});Ds.Info=e=>e.injectHtml?ce.jsx("p",{role:"status",className:e.className||"mb-3 w-50",dangerouslySetInnerHTML:{__html:e.children}}):ce.jsx("p",{role:"status",className:e.className||"mb-3 w-50",children:e.children});var XR,aK;function lbe(){if(aK)return XR;aK=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 l,u,f;if(Array.isArray(a)){if(l=a.length,l!=o.length)return!1;for(u=l;u--!==0;)if(!i(a[u],o[u]))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();!(u=d.next()).done;)if(!o.has(u.value[0]))return!1;for(d=a.entries();!(u=d.next()).done;)if(!i(u.value[1],o.get(u.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();!(u=d.next()).done;)if(!o.has(u.value[0]))return!1;return!0}if(n&&ArrayBuffer.isView(a)&&ArrayBuffer.isView(o)){if(l=a.length,l!=o.length)return!1;for(u=l;u--!==0;)if(a[u]!==o[u])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(f=Object.keys(a),l=f.length,l!==Object.keys(o).length)return!1;for(u=l;u--!==0;)if(!Object.prototype.hasOwnProperty.call(o,f[u]))return!1;if(e&&a instanceof Element)return!1;for(u=l;u--!==0;)if(!((f[u]==="_owner"||f[u]==="__v"||f[u]==="__o")&&a.$$typeof)&&!i(a[f[u]],o[f[u]]))return!1;return!0}return a!==a&&o!==o}return XR=function(o,l){try{return i(o,l)}catch(u){if((u.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw u}},XR}var cbe=lbe();const fbe=$n(cbe);var QR,oK;function dbe(){return oK||(oK=1,QR=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),l=Object.keys(r);if(o.length!==l.length)return!1;for(var u=Object.prototype.hasOwnProperty.bind(r),f=0;f<o.length;f++){var d=o[f];if(!u(d))return!1;var h=t[d],p=r[d];if(a=n?n.call(i,h,p,d):void 0,a===!1||a===void 0&&h!==p)return!1}return!0}),QR}var hbe=dbe();const pbe=$n(hbe);function Pi(){return Pi=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},Pi.apply(this,arguments)}function FI(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,hC(e,t)}function hC(e,t){return hC=Object.setPrototypeOf||function(r,n){return r.__proto__=n,r},hC(e,t)}function sK(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 Lr={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},vbe={rel:["amphtml","canonical","alternate"]},gbe={type:["application/ld+json"]},mbe={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"]},uK=Object.keys(Lr).map(function(e){return Lr[e]}),Og={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},ybe=Object.keys(Og).reduce(function(e,t){return e[Og[t]]=t,e},{}),Cf=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},_be=function(e){var t=Cf(e,Lr.TITLE),r=Cf(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),r&&t)return r.replace(/%s/g,function(){return t});var n=Cf(e,"defaultTitle");return t||n||void 0},Ebe=function(e){return Cf(e,"onChangeClientState")||function(){}},JR=function(e,t){return t.filter(function(r){return r[e]!==void 0}).map(function(r){return r[e]}).reduce(function(r,n){return Pi({},r,n)},{})},Sbe=function(e,t){return t.filter(function(r){return r[Lr.BASE]!==void 0}).map(function(r){return r[Lr.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},[])},Wd=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 p,y=Object.keys(h),_=0;_<y.length;_+=1){var E=y[_],S=E.toLowerCase();t.indexOf(S)===-1||p==="rel"&&h[p].toLowerCase()==="canonical"||S==="rel"&&h[S].toLowerCase()==="stylesheet"||(p=S),t.indexOf(E)===-1||E!=="innerHTML"&&E!=="cssText"&&E!=="itemprop"||(p=E)}if(!p||!h[p])return!1;var w=h[p].toLowerCase();return n[p]||(n[p]={}),o[p]||(o[p]={}),!n[p][w]&&(o[p][w]=!0,!0)}).reverse().forEach(function(h){return i.push(h)});for(var l=Object.keys(o),u=0;u<l.length;u+=1){var f=l[u],d=Pi({},n[f],o[f]);n[f]=d}return i},[]).reverse()},wbe=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},Sre=function(e){return Array.isArray(e)?e.join(""):e},ZR=function(e,t){return Array.isArray(e)?e.reduce(function(r,n){return(function(i,a){for(var o=Object.keys(i),l=0;l<o.length;l+=1)if(a[o[l]]&&a[o[l]].includes(i[o[l]]))return!0;return!1})(n,t)?r.priority.push(n):r.default.push(n),r},{priority:[],default:[]}):{default:e}},lK=function(e,t){var r;return Pi({},e,((r={})[t]=void 0,r))},bbe=[Lr.NOSCRIPT,Lr.SCRIPT,Lr.STYLE],ex=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;")},cK=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},"")},fK=function(e,t){return t===void 0&&(t={}),Object.keys(e).reduce(function(r,n){return r[Og[n]||n]=e[n],r},t)},Xv=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 l=Og[o]||o;l==="innerHTML"||l==="cssText"?a.dangerouslySetInnerHTML={__html:r.innerHTML||r.cssText}:a[l]=r[o]}),Dr.createElement(e,a)})},Go=function(e,t,r){switch(e){case Lr.TITLE:return{toComponent:function(){return i=t.titleAttributes,(a={key:n=t.title})["data-rh"]=!0,o=fK(i,a),[Dr.createElement(Lr.TITLE,o,n)];var n,i,a,o},toString:function(){return(function(n,i,a,o){var l=cK(a),u=Sre(i);return l?"<"+n+' data-rh="true" '+l+">"+ex(u,o)+"</"+n+">":"<"+n+' data-rh="true">'+ex(u,o)+"</"+n+">"})(e,t.title,t.titleAttributes,r)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return fK(t)},toString:function(){return cK(t)}};default:return{toComponent:function(){return Xv(e,t)},toString:function(){return(function(n,i,a){return i.reduce(function(o,l){var u=Object.keys(l).filter(function(h){return!(h==="innerHTML"||h==="cssText")}).reduce(function(h,p){var y=l[p]===void 0?p:p+'="'+ex(l[p],a)+'"';return h?h+" "+y:y},""),f=l.innerHTML||l.cssText||"",d=bbe.indexOf(n)===-1;return o+"<"+n+' data-rh="true" '+u+(d?"/>":">"+f+"</"+n+">")},"")})(e,t,r)}}}},pC=function(e){var t=e.baseTag,r=e.bodyAttributes,n=e.encode,i=e.htmlAttributes,a=e.noscriptTags,o=e.styleTags,l=e.title,u=l===void 0?"":l,f=e.titleAttributes,d=e.linkTags,h=e.metaTags,p=e.scriptTags,y={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var _=(function(E){var S=E.linkTags,w=E.scriptTags,T=E.encode,C=ZR(E.metaTags,mbe),x=ZR(S,vbe),R=ZR(w,gbe);return{priorityMethods:{toComponent:function(){return[].concat(Xv(Lr.META,C.priority),Xv(Lr.LINK,x.priority),Xv(Lr.SCRIPT,R.priority))},toString:function(){return Go(Lr.META,C.priority,T)+" "+Go(Lr.LINK,x.priority,T)+" "+Go(Lr.SCRIPT,R.priority,T)}},metaTags:C.default,linkTags:x.default,scriptTags:R.default}})(e);y=_.priorityMethods,d=_.linkTags,h=_.metaTags,p=_.scriptTags}return{priority:y,base:Go(Lr.BASE,t,n),bodyAttributes:Go("bodyAttributes",r,n),htmlAttributes:Go("htmlAttributes",i,n),link:Go(Lr.LINK,d,n),meta:Go(Lr.META,h,n),noscript:Go(Lr.NOSCRIPT,a,n),script:Go(Lr.SCRIPT,p,n),style:Go(Lr.STYLE,o,n),title:Go(Lr.TITLE,{title:u,titleAttributes:f},n)}},Av=[],vC=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?Av:r.instances},add:function(n){(r.canUseDOM?Av:r.instances).push(n)},remove:function(n){var i=(r.canUseDOM?Av:r.instances).indexOf(n);(r.canUseDOM?Av:r.instances).splice(i,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=pC({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},wre=Dr.createContext({}),Tbe=Hr.shape({setHelmet:Hr.func,helmetInstances:Hr.shape({get:Hr.func,add:Hr.func,remove:Hr.func})}),Abe=typeof document<"u",wf=(function(e){function t(r){var n;return(n=e.call(this,r)||this).helmetData=new vC(n.props.context,t.canUseDOM),n}return FI(t,e),t.prototype.render=function(){return Dr.createElement(wre.Provider,{value:this.helmetData.value},this.props.children)},t})(Se.Component);wf.canUseDOM=Abe,wf.propTypes={context:Hr.shape({helmet:Hr.shape()}),children:Hr.node.isRequired},wf.defaultProps={context:{}},wf.displayName="HelmetProvider";var cf=function(e,t){var r,n=document.head||document.querySelector(Lr.HEAD),i=n.querySelectorAll(e+"[data-rh]"),a=[].slice.call(i),o=[];return t&&t.length&&t.forEach(function(l){var u=document.createElement(e);for(var f in l)Object.prototype.hasOwnProperty.call(l,f)&&(f==="innerHTML"?u.innerHTML=l.innerHTML:f==="cssText"?u.styleSheet?u.styleSheet.cssText=l.cssText:u.appendChild(document.createTextNode(l.cssText)):u.setAttribute(f,l[f]===void 0?"":l[f]));u.setAttribute("data-rh","true"),a.some(function(d,h){return r=h,u.isEqualNode(d)})?a.splice(r,1):o.push(u)}),a.forEach(function(l){return l.parentNode.removeChild(l)}),o.forEach(function(l){return n.appendChild(l)}),{oldTags:a,newTags:o}},tx=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),l=0;l<o.length;l+=1){var u=o[l],f=t[u]||"";r.getAttribute(u)!==f&&r.setAttribute(u,f),i.indexOf(u)===-1&&i.push(u);var d=a.indexOf(u);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(","))}},dK=function(e,t){var r=e.baseTag,n=e.htmlAttributes,i=e.linkTags,a=e.metaTags,o=e.noscriptTags,l=e.onChangeClientState,u=e.scriptTags,f=e.styleTags,d=e.title,h=e.titleAttributes;tx(Lr.BODY,e.bodyAttributes),tx(Lr.HTML,n),(function(E,S){E!==void 0&&document.title!==E&&(document.title=Sre(E)),tx(Lr.TITLE,S)})(d,h);var p={baseTag:cf(Lr.BASE,r),linkTags:cf(Lr.LINK,i),metaTags:cf(Lr.META,a),noscriptTags:cf(Lr.NOSCRIPT,o),scriptTags:cf(Lr.SCRIPT,u),styleTags:cf(Lr.STYLE,f)},y={},_={};Object.keys(p).forEach(function(E){var S=p[E],w=S.newTags,T=S.oldTags;w.length&&(y[E]=w),T.length&&(_[E]=p[E].oldTags)}),t&&t(),l(e,y,_)},Gd=null,Ig=(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}FI(t,e);var r=t.prototype;return r.shouldComponentUpdate=function(n){return!pbe(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,l=null,u=(n=a.helmetInstances.get().map(function(f){var d=Pi({},f.props);return delete d.context,d}),{baseTag:Sbe(["href"],n),bodyAttributes:JR("bodyAttributes",n),defer:Cf(n,"defer"),encode:Cf(n,"encodeSpecialCharacters"),htmlAttributes:JR("htmlAttributes",n),linkTags:Wd(Lr.LINK,["rel","href"],n),metaTags:Wd(Lr.META,["name","charset","http-equiv","property","itemprop"],n),noscriptTags:Wd(Lr.NOSCRIPT,["innerHTML"],n),onChangeClientState:Ebe(n),scriptTags:Wd(Lr.SCRIPT,["src","innerHTML"],n),styleTags:Wd(Lr.STYLE,["cssText"],n),title:_be(n),titleAttributes:JR("titleAttributes",n),prioritizeSeoTags:wbe(n,"prioritizeSeoTags")});wf.canUseDOM?(i=u,Gd&&cancelAnimationFrame(Gd),i.defer?Gd=requestAnimationFrame(function(){dK(i,function(){Gd=null})}):(dK(i),Gd=null)):pC&&(l=pC(u)),o(l)},r.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},r.render=function(){return this.init(),null},t})(Se.Component);Ig.propTypes={context:Tbe.isRequired},Ig.displayName="HelmetDispatcher";var Rbe=["children"],xbe=["children"],Qv=(function(e){function t(){return e.apply(this,arguments)||this}FI(t,e);var r=t.prototype;return r.shouldComponentUpdate=function(n){return!fbe(lK(this.props,"helmetData"),lK(n,"helmetData"))},r.mapNestedChildrenToProps=function(n,i){if(!i)return null;switch(n.type){case Lr.SCRIPT:case Lr.NOSCRIPT:return{innerHTML:i};case Lr.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 Pi({},o,((i={})[a.type]=[].concat(o[a.type]||[],[Pi({},n.newChildProps,this.mapNestedChildrenToProps(a,n.nestedChildren))]),i))},r.mapObjectTypeChildren=function(n){var i,a,o=n.child,l=n.newProps,u=n.newChildProps,f=n.nestedChildren;switch(o.type){case Lr.TITLE:return Pi({},l,((i={})[o.type]=f,i.titleAttributes=Pi({},u),i));case Lr.BODY:return Pi({},l,{bodyAttributes:Pi({},u)});case Lr.HTML:return Pi({},l,{htmlAttributes:Pi({},u)});default:return Pi({},l,((a={})[o.type]=Pi({},u),a))}},r.mapArrayTypeChildrenToProps=function(n,i){var a=Pi({},i);return Object.keys(n).forEach(function(o){var l;a=Pi({},a,((l={})[o]=n[o],l))}),a},r.warnOnInvalidChildren=function(n,i){return DG(uK.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 "+uK.join(", ")+" are allowed. Helmet does not support rendering <"+n.type+"> elements. Refer to our API for more information."),DG(!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 Dr.Children.forEach(n,function(l){if(l&&l.props){var u=l.props,f=u.children,d=sK(u,Rbe),h=Object.keys(d).reduce(function(y,_){return y[ybe[_]||_]=d[_],y},{}),p=l.type;switch(typeof p=="symbol"?p=p.toString():a.warnOnInvalidChildren(l,f),p){case Lr.FRAGMENT:i=a.mapChildrenToProps(f,i);break;case Lr.LINK:case Lr.META:case Lr.NOSCRIPT:case Lr.SCRIPT:case Lr.STYLE:o=a.flattenArrayTypeChildren({child:l,arrayTypeChildren:o,newChildProps:h,nestedChildren:f});break;default:i=a.mapObjectTypeChildren({child:l,newProps:i,newChildProps:h,nestedChildren:f})}}}),this.mapArrayTypeChildrenToProps(o,i)},r.render=function(){var n=this.props,i=n.children,a=sK(n,xbe),o=Pi({},a),l=a.helmetData;return i&&(o=this.mapChildrenToProps(i,o)),!l||l instanceof vC||(l=new vC(l.context,l.instances)),l?Dr.createElement(Ig,Pi({},o,{context:l.value,helmetData:void 0})):Dr.createElement(wre.Consumer,null,function(u){return Dr.createElement(Ig,Pi({},o,{context:u}))})},t})(Se.Component);Qv.propTypes={base:Hr.object,bodyAttributes:Hr.object,children:Hr.oneOfType([Hr.arrayOf(Hr.node),Hr.node]),defaultTitle:Hr.string,defer:Hr.bool,encodeSpecialCharacters:Hr.bool,htmlAttributes:Hr.object,link:Hr.arrayOf(Hr.object),meta:Hr.arrayOf(Hr.object),noscript:Hr.arrayOf(Hr.object),onChangeClientState:Hr.func,script:Hr.arrayOf(Hr.object),style:Hr.arrayOf(Hr.object),title:Hr.string,titleAttributes:Hr.object,titleTemplate:Hr.string,prioritizeSeoTags:Hr.bool,helmetData:Hr.object},Qv.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},Qv.displayName="Helmet";const bre=Dr.createContext({setPageMetadata:e=>e,revertPageMetadata:()=>{},hasPageMetadataChanged:()=>!1,setFaq:()=>{},hasProvider:!1});function hK(e,t){return!js.isEqual(e,t)}function Cbe(){return Dr.useContext(bre)}const Obe=e=>{const[t,r]=Dr.useState({}),[n,i]=Dr.useState({}),[a,o]=Dr.useState(null),{title:l,description:u,canonicalLink:f,jsonLd:d,allowIndexing:h,hrefLang:p,preload:y}=t;function _(T){hK(t,n)&&i(t),r(T)}function E(){r(n)}function S(T){return hK(T,t)}function w(T){o(T)}return ce.jsx(bre.Provider,{value:{setPageMetadata:_,revertPageMetadata:E,hasPageMetadataChanged:S,setFaq:w,hasProvider:!0},children:ce.jsxs(wf,{children:[ce.jsxs(Qv,{children:[l&&ce.jsx("title",{children:l}),u&&ce.jsx("meta",{name:"description",content:u}),f&&ce.jsx("link",{rel:"canonical",href:f}),d&&ce.jsx("script",{type:"application/ld+json",children:JSON.stringify(d)}),a&&ce.jsx("script",{type:"application/ld+json",children:JSON.stringify(a)}),!h&&ce.jsx("meta",{name:"robots",content:"noindex"}),p&&(p==null?void 0:p.map((T,C)=>ce.jsx("link",{rel:"alternate",hrefLang:T.hrefLang,href:T.canonicalLink},C))),y&&(y==null?void 0:y.map((T,C)=>{const x={};return T.crossorigin&&(x.crossOrigin="true"),T.media&&(x.media=T.media),T.type&&(x.type=T.type),ce.jsx("link",{rel:"preload",href:T.href,as:T.as,...x},`preload-${C}`)}))]}),e.children]})})};function Tre(e){Dr.useEffect(()=>{e&&t(Ai.getCurrentAppLink(),e)},[e]);function t(n,i){const a=Ai.getHref(n);qa.logUserAction({title:i,url:a,isAddressable:!!a,isError:n.action==="error",appLink:r(n)},{actionType:Bt.PageView,entity:kn.Url,location:ba.Global})}function r(n){var i;return{...n,args:(i=n.args)==null?void 0:i.reduce((a,o,l)=>(a[`arg${l}`]=o,a),{})}}}var Jv={exports:{}},Ibe=Jv.exports,pK;function Pbe(){return pK||(pK=1,(function(e,t){(function(r,n){e.exports=n()})(Ibe,(function(){var r=1e3,n=6e4,i=36e5,a="millisecond",o="second",l="minute",u="hour",f="day",d="week",h="month",p="quarter",y="year",_="date",E="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,T={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 ie=["th","st","nd","rd"],ae=Q%100;return"["+Q+(ie[(ae-20)%10]||ie[ae]||ie[0])+"]"}},C=function(Q,ie,ae){var ve=String(Q);return!ve||ve.length>=ie?Q:""+Array(ie+1-ve.length).join(ae)+Q},x={s:C,z:function(Q){var ie=-Q.utcOffset(),ae=Math.abs(ie),ve=Math.floor(ae/60),H=ae%60;return(ie<=0?"+":"-")+C(ve,2,"0")+":"+C(H,2,"0")},m:function Q(ie,ae){if(ie.date()<ae.date())return-Q(ae,ie);var ve=12*(ae.year()-ie.year())+(ae.month()-ie.month()),H=ie.clone().add(ve,h),J=ae-H<0,z=ie.clone().add(ve+(J?-1:1),h);return+(-(ve+(ae-H)/(J?H-z:z-H))||0)},a:function(Q){return Q<0?Math.ceil(Q)||0:Math.floor(Q)},p:function(Q){return{M:h,y,w:d,d:f,D:_,h:u,m:l,s:o,ms:a,Q:p}[Q]||String(Q||"").toLowerCase().replace(/s$/,"")},u:function(Q){return Q===void 0}},R="en",O={};O[R]=T;var m="$isDayjsObject",D=function(Q){return Q instanceof W||!(!Q||!Q[m])},U=function Q(ie,ae,ve){var H;if(!ie)return R;if(typeof ie=="string"){var J=ie.toLowerCase();O[J]&&(H=J),ae&&(O[J]=ae,H=J);var z=ie.split("-");if(!H&&z.length>1)return Q(z[0])}else{var ue=ie.name;O[ue]=ie,H=ue}return!ve&&H&&(R=H),H||!ve&&R},K=function(Q,ie){if(D(Q))return Q.clone();var ae=typeof ie=="object"?ie:{};return ae.date=Q,ae.args=arguments,new W(ae)},B=x;B.l=U,B.i=D,B.w=function(Q,ie){return K(Q,{locale:ie.$L,utc:ie.$u,x:ie.$x,$offset:ie.$offset})};var W=(function(){function Q(ae){this.$L=U(ae.locale,null,!0),this.parse(ae),this.$x=this.$x||ae.x||{},this[m]=!0}var ie=Q.prototype;return ie.parse=function(ae){this.$d=(function(ve){var H=ve.date,J=ve.utc;if(H===null)return new Date(NaN);if(B.u(H))return new Date;if(H instanceof Date)return new Date(H);if(typeof H=="string"&&!/Z$/i.test(H)){var z=H.match(S);if(z){var ue=z[2]-1||0,we=(z[7]||"0").substring(0,3);return J?new Date(Date.UTC(z[1],ue,z[3]||1,z[4]||0,z[5]||0,z[6]||0,we)):new Date(z[1],ue,z[3]||1,z[4]||0,z[5]||0,z[6]||0,we)}}return new Date(H)})(ae),this.init()},ie.init=function(){var ae=this.$d;this.$y=ae.getFullYear(),this.$M=ae.getMonth(),this.$D=ae.getDate(),this.$W=ae.getDay(),this.$H=ae.getHours(),this.$m=ae.getMinutes(),this.$s=ae.getSeconds(),this.$ms=ae.getMilliseconds()},ie.$utils=function(){return B},ie.isValid=function(){return this.$d.toString()!==E},ie.isSame=function(ae,ve){var H=K(ae);return this.startOf(ve)<=H&&H<=this.endOf(ve)},ie.isAfter=function(ae,ve){return K(ae)<this.startOf(ve)},ie.isBefore=function(ae,ve){return this.endOf(ve)<K(ae)},ie.$g=function(ae,ve,H){return B.u(ae)?this[ve]:this.set(H,ae)},ie.unix=function(){return Math.floor(this.valueOf()/1e3)},ie.valueOf=function(){return this.$d.getTime()},ie.startOf=function(ae,ve){var H=this,J=!!B.u(ve)||ve,z=B.p(ae),ue=function(N,M){var Z=B.w(H.$u?Date.UTC(H.$y,M,N):new Date(H.$y,M,N),H);return J?Z:Z.endOf(f)},we=function(N,M){return B.w(H.toDate()[N].apply(H.toDate("s"),(J?[0,0,0,0]:[23,59,59,999]).slice(M)),H)},ke=this.$W,Be=this.$M,nt=this.$D,rt="set"+(this.$u?"UTC":"");switch(z){case y:return J?ue(1,0):ue(31,11);case h:return J?ue(1,Be):ue(0,Be+1);case d:var q=this.$locale().weekStart||0,I=(ke<q?ke+7:ke)-q;return ue(J?nt-I:nt+(6-I),Be);case f:case _:return we(rt+"Hours",0);case u:return we(rt+"Minutes",1);case l:return we(rt+"Seconds",2);case o:return we(rt+"Milliseconds",3);default:return this.clone()}},ie.endOf=function(ae){return this.startOf(ae,!1)},ie.$set=function(ae,ve){var H,J=B.p(ae),z="set"+(this.$u?"UTC":""),ue=(H={},H[f]=z+"Date",H[_]=z+"Date",H[h]=z+"Month",H[y]=z+"FullYear",H[u]=z+"Hours",H[l]=z+"Minutes",H[o]=z+"Seconds",H[a]=z+"Milliseconds",H)[J],we=J===f?this.$D+(ve-this.$W):ve;if(J===h||J===y){var ke=this.clone().set(_,1);ke.$d[ue](we),ke.init(),this.$d=ke.set(_,Math.min(this.$D,ke.daysInMonth())).$d}else ue&&this.$d[ue](we);return this.init(),this},ie.set=function(ae,ve){return this.clone().$set(ae,ve)},ie.get=function(ae){return this[B.p(ae)]()},ie.add=function(ae,ve){var H,J=this;ae=Number(ae);var z=B.p(ve),ue=function(Be){var nt=K(J);return B.w(nt.date(nt.date()+Math.round(Be*ae)),J)};if(z===h)return this.set(h,this.$M+ae);if(z===y)return this.set(y,this.$y+ae);if(z===f)return ue(1);if(z===d)return ue(7);var we=(H={},H[l]=n,H[u]=i,H[o]=r,H)[z]||1,ke=this.$d.getTime()+ae*we;return B.w(ke,this)},ie.subtract=function(ae,ve){return this.add(-1*ae,ve)},ie.format=function(ae){var ve=this,H=this.$locale();if(!this.isValid())return H.invalidDate||E;var J=ae||"YYYY-MM-DDTHH:mm:ssZ",z=B.z(this),ue=this.$H,we=this.$m,ke=this.$M,Be=H.weekdays,nt=H.months,rt=H.meridiem,q=function(M,Z,L,G){return M&&(M[Z]||M(ve,J))||L[Z].slice(0,G)},I=function(M){return B.s(ue%12||12,M,"0")},N=rt||function(M,Z,L){var G=M<12?"AM":"PM";return L?G.toLowerCase():G};return J.replace(w,(function(M,Z){return Z||(function(L){switch(L){case"YY":return String(ve.$y).slice(-2);case"YYYY":return B.s(ve.$y,4,"0");case"M":return ke+1;case"MM":return B.s(ke+1,2,"0");case"MMM":return q(H.monthsShort,ke,nt,3);case"MMMM":return q(nt,ke);case"D":return ve.$D;case"DD":return B.s(ve.$D,2,"0");case"d":return String(ve.$W);case"dd":return q(H.weekdaysMin,ve.$W,Be,2);case"ddd":return q(H.weekdaysShort,ve.$W,Be,3);case"dddd":return Be[ve.$W];case"H":return String(ue);case"HH":return B.s(ue,2,"0");case"h":return I(1);case"hh":return I(2);case"a":return N(ue,we,!0);case"A":return N(ue,we,!1);case"m":return String(we);case"mm":return B.s(we,2,"0");case"s":return String(ve.$s);case"ss":return B.s(ve.$s,2,"0");case"SSS":return B.s(ve.$ms,3,"0");case"Z":return z}return null})(M)||z.replace(":","")}))},ie.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},ie.diff=function(ae,ve,H){var J,z=this,ue=B.p(ve),we=K(ae),ke=(we.utcOffset()-this.utcOffset())*n,Be=this-we,nt=function(){return B.m(z,we)};switch(ue){case y:J=nt()/12;break;case h:J=nt();break;case p:J=nt()/3;break;case d:J=(Be-ke)/6048e5;break;case f:J=(Be-ke)/864e5;break;case u:J=Be/i;break;case l:J=Be/n;break;case o:J=Be/r;break;default:J=Be}return H?J:B.a(J)},ie.daysInMonth=function(){return this.endOf(h).$D},ie.$locale=function(){return O[this.$L]},ie.locale=function(ae,ve){if(!ae)return this.$L;var H=this.clone(),J=U(ae,ve,!0);return J&&(H.$L=J),H},ie.clone=function(){return B.w(this.$d,this)},ie.toDate=function(){return new Date(this.valueOf())},ie.toJSON=function(){return this.isValid()?this.toISOString():null},ie.toISOString=function(){return this.$d.toISOString()},ie.toString=function(){return this.$d.toUTCString()},Q})(),Y=W.prototype;return K.prototype=Y,[["$ms",a],["$s",o],["$m",l],["$H",u],["$W",f],["$M",h],["$y",y],["$D",_]].forEach((function(Q){Y[Q[1]]=function(ie){return this.$g(ie,Q[0],Q[1])}})),K.extend=function(Q,ie){return Q.$i||(Q(ie,W,K),Q.$i=!0),K},K.locale=U,K.isDayjs=D,K.unix=function(Q){return K(1e3*Q)},K.en=O[R],K.Ls=O,K.p={},K}))})(Jv)),Jv.exports}var kbe=Pbe();const lr=$n(kbe);var Zv={exports:{}},Dbe=Zv.exports,vK;function Lbe(){return vK||(vK=1,(function(e,t){(function(r,n){e.exports=n()})(Dbe,(function(){return function(r,n){var i=n.prototype,a=i.format;i.format=function(o){var l=this,u=this.$locale();if(!this.isValid())return a.bind(this)(o);var f=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((l.$M+1)/3);case"Do":return u.ordinal(l.$D);case"gggg":return l.weekYear();case"GGGG":return l.isoWeekYear();case"wo":return u.ordinal(l.week(),"W");case"w":case"ww":return f.s(l.week(),h==="w"?1:2,"0");case"W":case"WW":return f.s(l.isoWeek(),h==="W"?1:2,"0");case"k":case"kk":return f.s(String(l.$H===0?24:l.$H),h==="k"?1:2,"0");case"X":return Math.floor(l.$d.getTime()/1e3);case"x":return l.$d.getTime();case"z":return"["+l.offsetName()+"]";case"zzz":return"["+l.offsetName("long")+"]";default:return h}}));return a.bind(this)(d)}}}))})(Zv)),Zv.exports}var Nbe=Lbe();const Mbe=$n(Nbe);var eg={exports:{}},$be=eg.exports,gK;function Fbe(){return gK||(gK=1,(function(e,t){(function(r,n){e.exports=n()})($be,(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]+/,l={},u=function(E){return(E=+E)+(E>68?1900:2e3)},f=function(E){return function(S){this[E]=+S}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(E){(this.zone||(this.zone={})).offset=(function(S){if(!S||S==="Z")return 0;var w=S.match(/([+-]|\d\d)/g),T=60*w[1]+(+w[2]||0);return T===0?0:w[0]==="+"?-T:T})(E)}],h=function(E){var S=l[E];return S&&(S.indexOf?S:S.s.concat(S.f))},p=function(E,S){var w,T=l.meridiem;if(T){for(var C=1;C<=24;C+=1)if(E.indexOf(T(C,0,S))>-1){w=C>12;break}}else w=E===(S?"pm":"PM");return w},y={A:[o,function(E){this.afternoon=p(E,!1)}],a:[o,function(E){this.afternoon=p(E,!0)}],S:[/\d/,function(E){this.milliseconds=100*+E}],SS:[i,function(E){this.milliseconds=10*+E}],SSS:[/\d{3}/,function(E){this.milliseconds=+E}],s:[a,f("seconds")],ss:[a,f("seconds")],m:[a,f("minutes")],mm:[a,f("minutes")],H:[a,f("hours")],h:[a,f("hours")],HH:[a,f("hours")],hh:[a,f("hours")],D:[a,f("day")],DD:[i,f("day")],Do:[o,function(E){var S=l.ordinal,w=E.match(/\d+/);if(this.day=w[0],S)for(var T=1;T<=31;T+=1)S(T).replace(/\[|\]/g,"")===E&&(this.day=T)}],M:[a,f("month")],MM:[i,f("month")],MMM:[o,function(E){var S=h("months"),w=(h("monthsShort")||S.map((function(T){return T.slice(0,3)}))).indexOf(E)+1;if(w<1)throw new Error;this.month=w%12||w}],MMMM:[o,function(E){var S=h("months").indexOf(E)+1;if(S<1)throw new Error;this.month=S%12||S}],Y:[/[+-]?\d+/,f("year")],YY:[i,function(E){this.year=u(E)}],YYYY:[/\d{4}/,f("year")],Z:d,ZZ:d};function _(E){var S,w;S=E,w=l&&l.formats;for(var T=(E=S.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(U,K,B){var W=B&&B.toUpperCase();return K||w[B]||r[B]||w[W].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(Y,Q,ie){return Q||ie.slice(1)}))}))).match(n),C=T.length,x=0;x<C;x+=1){var R=T[x],O=y[R],m=O&&O[0],D=O&&O[1];T[x]=D?{regex:m,parser:D}:R.replace(/^\[|\]$/g,"")}return function(U){for(var K={},B=0,W=0;B<C;B+=1){var Y=T[B];if(typeof Y=="string")W+=Y.length;else{var Q=Y.regex,ie=Y.parser,ae=U.slice(W),ve=Q.exec(ae)[0];ie.call(K,ve),U=U.replace(ve,"")}}return(function(H){var J=H.afternoon;if(J!==void 0){var z=H.hours;J?z<12&&(H.hours+=12):z===12&&(H.hours=0),delete H.afternoon}})(K),K}}return function(E,S,w){w.p.customParseFormat=!0,E&&E.parseTwoDigitYear&&(u=E.parseTwoDigitYear);var T=S.prototype,C=T.parse;T.parse=function(x){var R=x.date,O=x.utc,m=x.args;this.$u=O;var D=m[1];if(typeof D=="string"){var U=m[2]===!0,K=m[3]===!0,B=U||K,W=m[2];K&&(W=m[2]),l=this.$locale(),!U&&W&&(l=w.Ls[W]),this.$d=(function(ae,ve,H){try{if(["x","X"].indexOf(ve)>-1)return new Date((ve==="X"?1e3:1)*ae);var J=_(ve)(ae),z=J.year,ue=J.month,we=J.day,ke=J.hours,Be=J.minutes,nt=J.seconds,rt=J.milliseconds,q=J.zone,I=new Date,N=we||(z||ue?1:I.getDate()),M=z||I.getFullYear(),Z=0;z&&!ue||(Z=ue>0?ue-1:I.getMonth());var L=ke||0,G=Be||0,pe=nt||0,fe=rt||0;return q?new Date(Date.UTC(M,Z,N,L,G,pe,fe+60*q.offset*1e3)):H?new Date(Date.UTC(M,Z,N,L,G,pe,fe)):new Date(M,Z,N,L,G,pe,fe)}catch{return new Date("")}})(R,D,O),this.init(),W&&W!==!0&&(this.$L=this.locale(W).$L),B&&R!=this.format(D)&&(this.$d=new Date("")),l={}}else if(D instanceof Array)for(var Y=D.length,Q=1;Q<=Y;Q+=1){m[1]=D[Q-1];var ie=w.apply(this,m);if(ie.isValid()){this.$d=ie.$d,this.$L=ie.$L,this.init();break}Q===Y&&(this.$d=new Date(""))}else C.call(this,x)}}}))})(eg)),eg.exports}var jbe=Fbe();const Are=$n(jbe);var tg={exports:{}},Ube=tg.exports,mK;function qbe(){return mK||(mK=1,(function(e,t){(function(r,n){e.exports=n()})(Ube,(function(){var r,n,i=1e3,a=6e4,o=36e5,l=864e5,u=/\[([^\]]+)]|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,f=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)?)?$/,p={years:f,months:d,days:l,hours:o,minutes:a,seconds:i,milliseconds:1,weeks:6048e5},y=function(O){return O instanceof x},_=function(O,m,D){return new x(O,D,m.$l)},E=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)},T=function(O){return Math.abs(O)},C=function(O,m){return O?S(O)?{negative:!0,format:""+T(O)+m}:{negative:!1,format:""+O+m}:{negative:!1,format:""}},x=(function(){function O(D,U,K){var B=this;if(this.$d={},this.$l=K,D===void 0&&(this.$ms=0,this.parseFromMilliseconds()),U)return _(D*p[E(U)],this);if(typeof D=="number")return this.$ms=D,this.parseFromMilliseconds(),this;if(typeof D=="object")return Object.keys(D).forEach((function(Q){B.$d[E(Q)]=D[Q]})),this.calMilliseconds(),this;if(typeof D=="string"){var W=D.match(h);if(W){var Y=W.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 m=O.prototype;return m.calMilliseconds=function(){var D=this;this.$ms=Object.keys(this.$d).reduce((function(U,K){return U+(D.$d[K]||0)*p[K]}),0)},m.parseFromMilliseconds=function(){var D=this.$ms;this.$d.years=w(D/f),D%=f,this.$d.months=w(D/d),D%=d,this.$d.days=w(D/l),D%=l,this.$d.hours=w(D/o),D%=o,this.$d.minutes=w(D/a),D%=a,this.$d.seconds=w(D/i),D%=i,this.$d.milliseconds=D},m.toISOString=function(){var D=C(this.$d.years,"Y"),U=C(this.$d.months,"M"),K=+this.$d.days||0;this.$d.weeks&&(K+=7*this.$d.weeks);var B=C(K,"D"),W=C(this.$d.hours,"H"),Y=C(this.$d.minutes,"M"),Q=this.$d.seconds||0;this.$d.milliseconds&&(Q+=this.$d.milliseconds/1e3,Q=Math.round(1e3*Q)/1e3);var ie=C(Q,"S"),ae=D.negative||U.negative||B.negative||W.negative||Y.negative||ie.negative,ve=W.format||Y.format||ie.format?"T":"",H=(ae?"-":"")+"P"+D.format+U.format+B.format+ve+W.format+Y.format+ie.format;return H==="P"||H==="-P"?"P0D":H},m.toJSON=function(){return this.toISOString()},m.format=function(D){var U=D||"YYYY-MM-DDTHH:mm:ss",K={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 U.replace(u,(function(B,W){return W||String(K[B])}))},m.as=function(D){return this.$ms/p[E(D)]},m.get=function(D){var U=this.$ms,K=E(D);return K==="milliseconds"?U%=1e3:U=K==="weeks"?w(U/p[K]):this.$d[K],U||0},m.add=function(D,U,K){var B;return B=U?D*p[E(U)]:y(D)?D.$ms:_(D,this).$ms,_(this.$ms+B*(K?-1:1),this)},m.subtract=function(D,U){return this.add(D,U,!0)},m.locale=function(D){var U=this.clone();return U.$l=D,U},m.clone=function(){return _(this.$ms,this)},m.humanize=function(D){return r().add(this.$ms,"ms").locale(this.$l).fromNow(!D)},m.valueOf=function(){return this.asMilliseconds()},m.milliseconds=function(){return this.get("milliseconds")},m.asMilliseconds=function(){return this.as("milliseconds")},m.seconds=function(){return this.get("seconds")},m.asSeconds=function(){return this.as("seconds")},m.minutes=function(){return this.get("minutes")},m.asMinutes=function(){return this.as("minutes")},m.hours=function(){return this.get("hours")},m.asHours=function(){return this.as("hours")},m.days=function(){return this.get("days")},m.asDays=function(){return this.as("days")},m.weeks=function(){return this.get("weeks")},m.asWeeks=function(){return this.as("weeks")},m.months=function(){return this.get("months")},m.asMonths=function(){return this.as("months")},m.years=function(){return this.get("years")},m.asYears=function(){return this.as("years")},O})(),R=function(O,m,D){return O.add(m.years()*D,"y").add(m.months()*D,"M").add(m.days()*D,"d").add(m.hours()*D,"h").add(m.minutes()*D,"m").add(m.seconds()*D,"s").add(m.milliseconds()*D,"ms")};return function(O,m,D){r=D,n=D().$utils(),D.duration=function(B,W){var Y=D.locale();return _(B,{$l:Y},W)},D.isDuration=y;var U=m.prototype.add,K=m.prototype.subtract;m.prototype.add=function(B,W){return y(B)?R(this,B,1):U.bind(this)(B,W)},m.prototype.subtract=function(B,W){return y(B)?R(this,B,-1):K.bind(this)(B,W)}}}))})(tg)),tg.exports}var Bbe=qbe();const Vbe=$n(Bbe);var rg={exports:{}},Hbe=rg.exports,yK;function zbe(){return yK||(yK=1,(function(e,t){(function(r,n){e.exports=n()})(Hbe,(function(){return function(r,n,i){n.prototype.isBetween=function(a,o,l,u){var f=i(a),d=i(o),h=(u=u||"()")[0]==="(",p=u[1]===")";return(h?this.isAfter(f,l):!this.isBefore(f,l))&&(p?this.isBefore(d,l):!this.isAfter(d,l))||(h?this.isBefore(f,l):!this.isAfter(f,l))&&(p?this.isAfter(d,l):!this.isBefore(d,l))}}}))})(rg)),rg.exports}var Wbe=zbe();const Gbe=$n(Wbe);var ng={exports:{}},Kbe=ng.exports,_K;function Ybe(){return _K||(_K=1,(function(e,t){(function(r,n){e.exports=n()})(Kbe,(function(){return function(r,n){n.prototype.isSameOrAfter=function(i,a){return this.isSame(i,a)||this.isAfter(i,a)}}}))})(ng)),ng.exports}var Xbe=Ybe();const Qbe=$n(Xbe);var ig={exports:{}},Jbe=ig.exports,EK;function Zbe(){return EK||(EK=1,(function(e,t){(function(r,n){e.exports=n()})(Jbe,(function(){return function(r,n){n.prototype.isSameOrBefore=function(i,a){return this.isSame(i,a)||this.isBefore(i,a)}}}))})(ig)),ig.exports}var eTe=Zbe();const tTe=$n(eTe);var ag={exports:{}},rTe=ag.exports,SK;function nTe(){return SK||(SK=1,(function(e,t){(function(r,n){e.exports=n()})(rTe,(function(){return function(r,n,i){var a=n.prototype,o=function(h){return h&&(h.indexOf?h:h.s)},l=function(h,p,y,_,E){var S=h.name?h:h.$locale(),w=o(S[p]),T=o(S[y]),C=w||T.map((function(R){return R.slice(0,_)}));if(!E)return C;var x=S.weekStart;return C.map((function(R,O){return C[(O+(x||0))%7]}))},u=function(){return i.Ls[i.locale()]},f=function(h,p){return h.formats[p]||(function(y){return y.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(_,E,S){return E||S.slice(1)}))})(h.formats[p.toUpperCase()])},d=function(){var h=this;return{months:function(p){return p?p.format("MMMM"):l(h,"months")},monthsShort:function(p){return p?p.format("MMM"):l(h,"monthsShort","months",3)},firstDayOfWeek:function(){return h.$locale().weekStart||0},weekdays:function(p){return p?p.format("dddd"):l(h,"weekdays")},weekdaysMin:function(p){return p?p.format("dd"):l(h,"weekdaysMin","weekdays",2)},weekdaysShort:function(p){return p?p.format("ddd"):l(h,"weekdaysShort","weekdays",3)},longDateFormat:function(p){return f(h.$locale(),p)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};a.localeData=function(){return d.bind(this)()},i.localeData=function(){var h=u();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(p){return f(h,p)},meridiem:h.meridiem,ordinal:h.ordinal}},i.months=function(){return l(u(),"months")},i.monthsShort=function(){return l(u(),"monthsShort","months",3)},i.weekdays=function(h){return l(u(),"weekdays",null,null,h)},i.weekdaysShort=function(h){return l(u(),"weekdaysShort","weekdays",3,h)},i.weekdaysMin=function(h){return l(u(),"weekdaysMin","weekdays",2,h)}}}))})(ag)),ag.exports}var iTe=nTe();const aTe=$n(iTe);var og={exports:{}},oTe=og.exports,wK;function sTe(){return wK||(wK=1,(function(e,t){(function(r,n){e.exports=n()})(oTe,(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 l(f,d,h,p){return a.fromToBase(f,d,h,p)}i.en.relativeTime=o,a.fromToBase=function(f,d,h,p,y){for(var _,E,S,w=h.$locale().relativeTime||o,T=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"}],C=T.length,x=0;x<C;x+=1){var R=T[x];R.d&&(_=p?i(f).diff(h,R.d,!0):h.diff(f,R.d,!0));var O=(r.rounding||Math.round)(Math.abs(_));if(S=_>0,O<=R.r||!R.r){O<=1&&x>0&&(R=T[x-1]);var m=w[R.l];y&&(O=y(""+O)),E=typeof m=="string"?m.replace("%d",O):m(O,d,R.l,S);break}}if(d)return E;var D=S?w.future:w.past;return typeof D=="function"?D(E):D.replace("%s",E)},a.to=function(f,d){return l(f,d,this,!0)},a.from=function(f,d){return l(f,d,this)};var u=function(f){return f.$u?i.utc():i()};a.toNow=function(f){return this.to(u(this),f)},a.fromNow=function(f){return this.from(u(this),f)}}}))})(og)),og.exports}var uTe=sTe();const lTe=$n(uTe);var sg={exports:{}},cTe=sg.exports,bK;function fTe(){return bK||(bK=1,(function(e,t){(function(r,n){e.exports=n()})(cTe,(function(){var r={year:0,month:1,day:2,hour:3,minute:4,second:5},n={};return function(i,a,o){var l,u=function(p,y,_){_===void 0&&(_={});var E=new Date(p),S=(function(w,T){T===void 0&&(T={});var C=T.timeZoneName||"short",x=w+"|"+C,R=n[x];return R||(R=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:C}),n[x]=R),R})(y,_);return S.formatToParts(E)},f=function(p,y){for(var _=u(p,y),E=[],S=0;S<_.length;S+=1){var w=_[S],T=w.type,C=w.value,x=r[T];x>=0&&(E[x]=parseInt(C,10))}var R=E[3],O=R===24?0:R,m=E[0]+"-"+E[1]+"-"+E[2]+" "+O+":"+E[4]+":"+E[5]+":000",D=+p;return(o.utc(m).valueOf()-(D-=D%1e3))/6e4},d=a.prototype;d.tz=function(p,y){p===void 0&&(p=l);var _=this.utcOffset(),E=this.toDate(),S=E.toLocaleString("en-US",{timeZone:p}),w=Math.round((E-new Date(S))/1e3/60),T=o(S,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(15*-Math.round(E.getTimezoneOffset()/15)-w,!0);if(y){var C=T.utcOffset();T=T.add(_-C,"minute")}return T.$x.$timezone=p,T},d.offsetName=function(p){var y=this.$x.$timezone||o.tz.guess(),_=u(this.valueOf(),y,{timeZoneName:p}).find((function(E){return E.type.toLowerCase()==="timezonename"}));return _&&_.value};var h=d.startOf;d.startOf=function(p,y){if(!this.$x||!this.$x.$timezone)return h.call(this,p,y);var _=o(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return h.call(_,p,y).tz(this.$x.$timezone,!0)},o.tz=function(p,y,_){var E=_&&y,S=_||y||l,w=f(+o(),S);if(typeof p!="string")return o(p).tz(S);var T=(function(O,m,D){var U=O-60*m*1e3,K=f(U,D);if(m===K)return[U,m];var B=f(U-=60*(K-m)*1e3,D);return K===B?[U,K]:[O-60*Math.min(K,B)*1e3,Math.max(K,B)]})(o.utc(p,E).valueOf(),w,S),C=T[0],x=T[1],R=o(C).utcOffset(x);return R.$x.$timezone=S,R},o.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},o.tz.setDefault=function(p){l=p}}}))})(sg)),sg.exports}var dTe=fTe();const hTe=$n(dTe);var ug={exports:{}},pTe=ug.exports,TK;function vTe(){return TK||(TK=1,(function(e,t){(function(r,n){e.exports=n()})(pTe,(function(){var r="minute",n=/[+-]\d\d(?::?\d\d)?/g,i=/([+-]|\d\d)/g;return function(a,o,l){var u=o.prototype;l.utc=function(E){var S={date:E,utc:!0,args:arguments};return new o(S)},u.utc=function(E){var S=l(this.toDate(),{locale:this.$L,utc:!0});return E?S.add(this.utcOffset(),r):S},u.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var f=u.parse;u.parse=function(E){E.utc&&(this.$u=!0),this.$utils().u(E.$offset)||(this.$offset=E.$offset),f.call(this,E)};var d=u.init;u.init=function(){if(this.$u){var E=this.$d;this.$y=E.getUTCFullYear(),this.$M=E.getUTCMonth(),this.$D=E.getUTCDate(),this.$W=E.getUTCDay(),this.$H=E.getUTCHours(),this.$m=E.getUTCMinutes(),this.$s=E.getUTCSeconds(),this.$ms=E.getUTCMilliseconds()}else d.call(this)};var h=u.utcOffset;u.utcOffset=function(E,S){var w=this.$utils().u;if(w(E))return this.$u?0:w(this.$offset)?h.call(this):this.$offset;if(typeof E=="string"&&(E=(function(R){R===void 0&&(R="");var O=R.match(n);if(!O)return null;var m=(""+O[0]).match(i)||["-",0,0],D=m[0],U=60*+m[1]+ +m[2];return U===0?0:D==="+"?U:-U})(E),E===null))return this;var T=Math.abs(E)<=16?60*E:E,C=this;if(S)return C.$offset=T,C.$u=E===0,C;if(E!==0){var x=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(C=this.local().add(T+x,r)).$offset=T,C.$x.$localOffset=x}else C=this.utc();return C};var p=u.format;u.format=function(E){var S=E||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return p.call(this,S)},u.valueOf=function(){var E=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*E},u.isUTC=function(){return!!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var y=u.toDate;u.toDate=function(E){return E==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():y.call(this)};var _=u.diff;u.diff=function(E,S,w){if(E&&this.$u===E.$u)return _.call(this,E,S,w);var T=this.local(),C=l(E).local();return _.call(T,C,S,w)}}}))})(ug)),ug.exports}var gTe=vTe();const mTe=$n(gTe);var lg={exports:{}},yTe=lg.exports,AK;function _Te(){return AK||(AK=1,(function(e,t){(function(r,n){e.exports=n()})(yTe,(function(){return function(r,n){n.prototype.weekday=function(i){var a=this.$locale().weekStart||0,o=this.$W,l=(o<a?o+7:o)-a;return this.$utils().u(i)?l:this.subtract(l,"day").add(i,"day")}}}))})(lg)),lg.exports}var ETe=_Te();const STe=$n(ETe);let Rv;const wTe={"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"}},bTe={getCurrentRegion(){return Rv},setCurrentRegion(e){Rv=e},updateFormatByRegion(e){var r;return Rv&&((r=wTe[e])==null?void 0:r[Rv])||e}};lr.extend(Mbe);lr.extend(Are);lr.extend(lTe);lr.extend(Qbe);lr.extend(Gbe);lr.extend(STe);lr.extend(aTe);lr.extend(tTe);lr.extend(Are);lr.extend(Vbe);lr.extend(mTe);lr.extend(hTe);const TTe=/[\[\]]/g;function ATe(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 el={add(e,t,r){return lr(e).add(t,r).toDate()},subtract(e,t,r){return lr(e).subtract(t,r).toDate()},format(e,t){return lr(e).format(bTe.updateFormatByRegion(t))},formatToISODate(e){return lr(e).format("YYYY-MM-DD")},isValid(e){return lr(e).isValid()},formatIsValid(e,t,r){return lr(e,t,r).isValid()},fromNow(e,t){return lr(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,l=Math.floor(o),u=Math.floor((o-l)*60);let f=r+l,d=n+u;return i&&(f=r-l,d=n-u),t.setHours(f),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=lr(e);return r?n.isBefore(t,r):n.isBefore(t)},isAfter(e,t,r){const n=lr(e);return r?n.isAfter(t,r):n.isAfter(t)},isSame(e,t,r){return lr(e).isSame(lr(t),r)},isSameOrBefore(e,t,r){return lr(e).isSameOrBefore(lr(t),r)},isToday(e){return lr().isSame(lr(e),"day")},isBetween(e,t,r){return lr(e).isSameOrAfter(lr(t))&&lr(e).isSameOrBefore(lr(r))},timeSince(e,t,r){const n=lr(e);return lr().diff(n,t,r)},startOf(e,t){return lr(e).startOf(t).toDate()},endOf(e,t){return lr(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 lr(e).weekday(t).toDate()},getWeekday(e){return lr(e).weekday()},daysInMonth(e){return lr(e).daysInMonth()},get(e,t){return lr(e).get(t)},set(e,t,r){return lr(e).set(t,r).toDate()},diffBetween(e,t,r){return lr(e).diff(lr(t),r)},getLocalDateOrdinal(e){return lr.localeData().ordinal(e).replace(TTe,"")},parseDateString(e,t){return e?lr(e,t).toDate():lr().toDate()},getDurationISOString(e,t){return lr.duration(e,t).toISOString()},convertISODuration(e,t){switch(t){case"milliseconds":return lr.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 lr.duration(e,t).asHours()}},convertTimestampDuration(e,t){const r=ATe(e);switch(t){case"milliseconds":return lr.duration(r).asMilliseconds();case"seconds":return lr.duration(r).asSeconds();case"hours":return lr.duration(r).asHours();default:console.error(`Unsupported unit: ${t}, please added in the DateHelper.convertDurationByUnit`);break}},buildUTCDate(e,t,r){const n=lr().day(e).hour(t).minute(r).utc().toDate();return el.convertDateToUTC(n)},buildLocalDateFromUTC(e,t,r){return lr().utc().day(e).hour(t).minute(r).local().toDate()},getUtcISOString(e){return lr(e).utc().toISOString()},formatUtc(e,t){return lr(e).utc().format(t)},formatUtcString(e,t){return lr.utc(e).local().format(t)},getDurationComponentByUnit(e,t,r){switch(r){case"hours":return lr.duration(e,t).hours();case"minutes":return lr.duration(e,t).minutes();case"seconds":return lr.duration(e,t).seconds();default:console.error(`Unsupported unit: ${r}, please added in the DateHelper`);break}},getFirstDayInMonthNumMonthsAgo(e){return lr().startOf("month").subtract(e,"month").format("YYYY-MM-DD")},getLastDayInMonthNumMonthsAgo(e){return lr().endOf("month").subtract(e,"month").format("YYYY-MM-DD")},getUtcTimeByTimezone(e,t,r){return r?lr.utc(e).tz(r).format(t):lr.utc(e).format(t)},getUtcStringByTimezone(e,t){return lr.tz(e,t).utc().toISOString()}},rx={WELCOME_POPUP_SELECTOR:"welcome-dialog",RESOURCE_ITEM_SELECTOR:"resource-item",GLOBAL_PLAYER_SELECTOR:"global-player"};var $l=(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))($l||{});const RTe=/\/$/,_s={urlBuilder(e,t){const n=Object.entries(t).map(([i,a])=>i&&Array.isArray(a)?a.map(l=>`${i}=${encodeURIComponent(l)}`).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(RTe,"")}};function xTe(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 CTe={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=Nn.GetCurrentOrigin(),r=(e==null?void 0:e.customAppLink)||Ai.getCurrentAppLink(),n=xTe(r.params,e.allowedParams);let i=Ai.getHref({...r,params:n},{middlewareOptions:{ignorePresentationSlug:e.stripPresentationSlug??!1}});return typeof e.hrefTransformer=="function"&&(i=e.hrefTransformer(i)),_s.safeUrlConcat(t,i)}};function jI(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let Pc=jI();function Rre(e){Pc=e}const fh={exec:()=>null};function Mn(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(Fa.caret,"$1"),r=r.replace(i,o),n},getRegex:()=>new RegExp(r,t)};return n}const Fa={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")},OTe=/^(?:[ \t]*(?:\n|$))+/,ITe=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,PTe=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,vp=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,kTe=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,xre=/(?:[*+-]|\d{1,9}[.)])/,Cre=Mn(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,xre).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(),UI=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,DTe=/^[^\n]+/,qI=/(?!\s*\])(?:\\.|[^\[\]\\])+/,LTe=Mn(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",qI).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),NTe=Mn(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,xre).getRegex(),ly="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",BI=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,MTe=Mn("^ {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",BI).replace("tag",ly).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Ore=Mn(UI).replace("hr",vp).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",ly).getRegex(),$Te=Mn(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Ore).getRegex(),VI={blockquote:$Te,code:ITe,def:LTe,fences:PTe,heading:kTe,hr:vp,html:MTe,lheading:Cre,list:NTe,newline:OTe,paragraph:Ore,table:fh,text:DTe},RK=Mn("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",vp).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",ly).getRegex(),FTe={...VI,table:RK,paragraph:Mn(UI).replace("hr",vp).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",RK).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",ly).getRegex()},jTe={...VI,html:Mn(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",BI).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:fh,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Mn(UI).replace("hr",vp).replace("heading",` *#{1,6} *[^
157
+ ]`).replace("lheading",Cre).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},UTe=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,qTe=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Ire=/^( {2,}|\\)\n(?!\s*$)/,BTe=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,cy=/[\p{P}\p{S}]/u,HI=/[\s\p{P}\p{S}]/u,Pre=/[^\s\p{P}\p{S}]/u,VTe=Mn(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,HI).getRegex(),kre=/(?!~)[\p{P}\p{S}]/u,HTe=/(?!~)[\s\p{P}\p{S}]/u,zTe=/(?:[^\s\p{P}\p{S}]|~)/u,WTe=/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,Dre=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,GTe=Mn(Dre,"u").replace(/punct/g,cy).getRegex(),KTe=Mn(Dre,"u").replace(/punct/g,kre).getRegex(),Lre="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",YTe=Mn(Lre,"gu").replace(/notPunctSpace/g,Pre).replace(/punctSpace/g,HI).replace(/punct/g,cy).getRegex(),XTe=Mn(Lre,"gu").replace(/notPunctSpace/g,zTe).replace(/punctSpace/g,HTe).replace(/punct/g,kre).getRegex(),QTe=Mn("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,Pre).replace(/punctSpace/g,HI).replace(/punct/g,cy).getRegex(),JTe=Mn(/\\(punct)/,"gu").replace(/punct/g,cy).getRegex(),ZTe=Mn(/^<(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(),eAe=Mn(BI).replace("(?:-->|$)","-->").getRegex(),tAe=Mn("^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",eAe).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Pg=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,rAe=Mn(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Pg).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Nre=Mn(/^!?\[(label)\]\[(ref)\]/).replace("label",Pg).replace("ref",qI).getRegex(),Mre=Mn(/^!?\[(ref)\](?:\[\])?/).replace("ref",qI).getRegex(),nAe=Mn("reflink|nolink(?!\\()","g").replace("reflink",Nre).replace("nolink",Mre).getRegex(),zI={_backpedal:fh,anyPunctuation:JTe,autolink:ZTe,blockSkip:WTe,br:Ire,code:qTe,del:fh,emStrongLDelim:GTe,emStrongRDelimAst:YTe,emStrongRDelimUnd:QTe,escape:UTe,link:rAe,nolink:Mre,punctuation:VTe,reflink:Nre,reflinkSearch:nAe,tag:tAe,text:BTe,url:fh},iAe={...zI,link:Mn(/^!?\[(label)\]\((.*?)\)/).replace("label",Pg).getRegex(),reflink:Mn(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Pg).getRegex()},gC={...zI,emStrongRDelimAst:XTe,emStrongLDelim:KTe,url:Mn(/^((?: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.!#$%&'*+\/=?_`{\|}~-]+@)))/},aAe={...gC,br:Mn(Ire).replace("{2,}","*").getRegex(),text:Mn(gC.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},xv={normal:VI,gfm:FTe,pedantic:jTe},Kd={normal:zI,gfm:gC,breaks:aAe,pedantic:iAe},oAe={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},xK=e=>oAe[e];function ks(e,t){if(t){if(Fa.escapeTest.test(e))return e.replace(Fa.escapeReplace,xK)}else if(Fa.escapeTestNoEncode.test(e))return e.replace(Fa.escapeReplaceNoEncode,xK);return e}function CK(e){try{e=encodeURI(e).replace(Fa.percentDecode,"%")}catch{return null}return e}function OK(e,t){var a;const r=e.replace(Fa.findPipe,(o,l,u)=>{let f=!1,d=l;for(;--d>=0&&u[d]==="\\";)f=!f;return f?"|":" |"}),n=r.split(Fa.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(Fa.slashPipe,"|");return n}function Yd(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 sAe(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 IK(e,t,r,n,i){const a=t.href,o=t.title||null,l=e[1].replace(i.other.outputLinkReplace,"$1");if(e[0].charAt(0)!=="!"){n.state.inLink=!0;const u={type:"link",raw:r,href:a,title:o,text:l,tokens:n.inlineTokens(l)};return n.state.inLink=!1,u}return{type:"image",raw:r,href:a,title:o,text:l}}function uAe(e,t,r){const n=e.match(r.other.indentCodeCompensation);if(n===null)return t;const i=n[1];return t.split(`
158
+ `).map(a=>{const o=a.match(r.other.beginningSpace);if(o===null)return a;const[l]=o;return l.length>=i.length?a.slice(i.length):a}).join(`
159
+ `)}class kg{constructor(t){An(this,"options");An(this,"rules");An(this,"lexer");this.options=t||Pc}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:Yd(n,`
160
+ `)}}}fences(t){const r=this.rules.block.fences.exec(t);if(r){const n=r[0],i=uAe(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=Yd(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:Yd(r[0],`
161
+ `)}}blockquote(t){const r=this.rules.block.blockquote.exec(t);if(r){let n=Yd(r[0],`
162
+ `).split(`
163
+ `),i="",a="";const o=[];for(;n.length>0;){let l=!1;const u=[];let f;for(f=0;f<n.length;f++)if(this.rules.other.blockquoteStart.test(n[f]))u.push(n[f]),l=!0;else if(!l)u.push(n[f]);else break;n=n.slice(f);const d=u.join(`
164
+ `),h=d.replace(this.rules.other.blockquoteSetextReplace,`
165
+ $1`).replace(this.rules.other.blockquoteSetextReplace2,"");i=i?`${i}
166
+ ${d}`:d,a=a?`${a}
167
+ ${h}`:h;const p=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(h,o,!0),this.lexer.state.top=p,n.length===0)break;const y=o.at(-1);if((y==null?void 0:y.type)==="code")break;if((y==null?void 0:y.type)==="blockquote"){const _=y,E=_.raw+`
168
+ `+n.join(`
169
+ `),S=this.blockquote(E);o[o.length-1]=S,i=i.substring(0,i.length-_.raw.length)+S.raw,a=a.substring(0,a.length-_.text.length)+S.text;break}else if((y==null?void 0:y.type)==="list"){const _=y,E=_.raw+`
170
+ `+n.join(`
171
+ `),S=this.list(E);o[o.length-1]=S,i=i.substring(0,i.length-y.raw.length)+S.raw,a=a.substring(0,a.length-_.raw.length)+S.raw,n=E.substring(o.at(-1).raw.length).split(`
172
+ `);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 l=!1;for(;t;){let f=!1,d="",h="";if(!(r=o.exec(t))||this.rules.block.hr.test(t))break;d=r[0],t=t.substring(d.length);let p=r[2].split(`
173
+ `,1)[0].replace(this.rules.other.listReplaceTabs,T=>" ".repeat(3*T.length)),y=t.split(`
174
+ `,1)[0],_=!p.trim(),E=0;if(this.options.pedantic?(E=2,h=p.trimStart()):_?E=r[1].length+1:(E=r[2].search(this.rules.other.nonSpaceChar),E=E>4?1:E,h=p.slice(E),E+=r[1].length),_&&this.rules.other.blankLine.test(y)&&(d+=y+`
175
+ `,t=t.substring(y.length+1),f=!0),!f){const T=this.rules.other.nextBulletRegex(E),C=this.rules.other.hrRegex(E),x=this.rules.other.fencesBeginRegex(E),R=this.rules.other.headingBeginRegex(E),O=this.rules.other.htmlBeginRegex(E);for(;t;){const m=t.split(`
176
+ `,1)[0];let D;if(y=m,this.options.pedantic?(y=y.replace(this.rules.other.listReplaceNesting," "),D=y):D=y.replace(this.rules.other.tabCharGlobal," "),x.test(y)||R.test(y)||O.test(y)||T.test(y)||C.test(y))break;if(D.search(this.rules.other.nonSpaceChar)>=E||!y.trim())h+=`
177
+ `+D.slice(E);else{if(_||p.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||x.test(p)||R.test(p)||C.test(p))break;h+=`
178
+ `+y}!_&&!y.trim()&&(_=!0),d+=m+`
179
+ `,t=t.substring(m.length+1),p=D.slice(E)}}a.loose||(l?a.loose=!0:this.rules.other.doubleBlankLine.test(d)&&(l=!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 u=a.items.at(-1);if(u)u.raw=u.raw.trimEnd(),u.text=u.text.trimEnd();else return;a.raw=a.raw.trimEnd();for(let f=0;f<a.items.length;f++)if(this.lexer.state.top=!1,a.items[f].tokens=this.lexer.blockTokens(a.items[f].text,[]),!a.loose){const d=a.items[f].tokens.filter(p=>p.type==="space"),h=d.length>0&&d.some(p=>this.rules.other.anyLine.test(p.raw));a.loose=h}if(a.loose)for(let f=0;f<a.items.length;f++)a.items[f].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 l;const r=this.rules.block.table.exec(t);if(!r||!this.rules.other.tableDelimiter.test(r[2]))return;const n=OK(r[1]),i=r[2].replace(this.rules.other.tableAlignChars,"").split("|"),a=(l=r[3])!=null&&l.trim()?r[3].replace(this.rules.other.tableRowBlankLine,"").split(`
180
+ `):[],o={type:"table",raw:r[0],header:[],align:[],rows:[]};if(n.length===i.length){for(const u of i)this.rules.other.tableAlignRight.test(u)?o.align.push("right"):this.rules.other.tableAlignCenter.test(u)?o.align.push("center"):this.rules.other.tableAlignLeft.test(u)?o.align.push("left"):o.align.push(null);for(let u=0;u<n.length;u++)o.header.push({text:n[u],tokens:this.lexer.inline(n[u]),header:!0,align:o.align[u]});for(const u of a)o.rows.push(OK(u,o.header.length).map((f,d)=>({text:f,tokens:this.lexer.inline(f),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)===`
181
+ `?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=Yd(n.slice(0,-1),"\\");if((n.length-o.length)%2===0)return}else{const o=sAe(r[2],"()");if(o>-1){const u=(r[0].indexOf("!")===0?5:4)+r[1].length+o;r[2]=r[2].substring(0,o),r[0]=r[0].substring(0,u).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)),IK(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 IK(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 l,u,f=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(l=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!l)continue;if(u=[...l].length,i[3]||i[4]){f+=u;continue}else if((i[5]||i[6])&&o%3&&!((o+u)%3)){d+=u;continue}if(f-=u,f>0)continue;u=Math.min(u,u+f+d);const p=[...i[0]][0].length,y=t.slice(0,o+i.index+p+u);if(Math.min(o,u)%2){const E=y.slice(1,-1);return{type:"em",raw:y,text:E,tokens:this.lexer.inlineTokens(E)}}const _=y.slice(2,-2);return{type:"strong",raw:y,text:_,tokens:this.lexer.inlineTokens(_)}}}}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 Qo{constructor(t){An(this,"tokens");An(this,"options");An(this,"state");An(this,"tokenizer");An(this,"inlineQueue");this.tokens=[],this.tokens.links=Object.create(null),this.options=t||Pc,this.options.tokenizer=this.options.tokenizer||new kg,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:Fa,block:xv.normal,inline:Kd.normal};this.options.pedantic?(r.block=xv.pedantic,r.inline=Kd.pedantic):this.options.gfm&&(r.block=xv.gfm,this.options.breaks?r.inline=Kd.breaks:r.inline=Kd.gfm),this.tokenizer.rules=r}static get rules(){return{block:xv,inline:Kd}}static lex(t,r){return new Qo(r).lex(t)}static lexInline(t,r){return new Qo(r).inlineTokens(t)}lex(t){t=t.replace(Fa.carriageReturn,`
182
+ `),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(Fa.tabCharGlobal," ").replace(Fa.spaceLine,""));t;){let l;if((a=(i=this.options.extensions)==null?void 0:i.block)!=null&&a.some(f=>(l=f.call({lexer:this},t,r))?(t=t.substring(l.raw.length),r.push(l),!0):!1))continue;if(l=this.tokenizer.space(t)){t=t.substring(l.raw.length);const f=r.at(-1);l.raw.length===1&&f!==void 0?f.raw+=`
183
+ `:r.push(l);continue}if(l=this.tokenizer.code(t)){t=t.substring(l.raw.length);const f=r.at(-1);(f==null?void 0:f.type)==="paragraph"||(f==null?void 0:f.type)==="text"?(f.raw+=`
184
+ `+l.raw,f.text+=`
185
+ `+l.text,this.inlineQueue.at(-1).src=f.text):r.push(l);continue}if(l=this.tokenizer.fences(t)){t=t.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.heading(t)){t=t.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.hr(t)){t=t.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.blockquote(t)){t=t.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.list(t)){t=t.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.html(t)){t=t.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.def(t)){t=t.substring(l.raw.length);const f=r.at(-1);(f==null?void 0:f.type)==="paragraph"||(f==null?void 0:f.type)==="text"?(f.raw+=`
186
+ `+l.raw,f.text+=`
187
+ `+l.raw,this.inlineQueue.at(-1).src=f.text):this.tokens.links[l.tag]||(this.tokens.links[l.tag]={href:l.href,title:l.title});continue}if(l=this.tokenizer.table(t)){t=t.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.lheading(t)){t=t.substring(l.raw.length),r.push(l);continue}let u=t;if((o=this.options.extensions)!=null&&o.startBlock){let f=1/0;const d=t.slice(1);let h;this.options.extensions.startBlock.forEach(p=>{h=p.call({lexer:this},d),typeof h=="number"&&h>=0&&(f=Math.min(f,h))}),f<1/0&&f>=0&&(u=t.substring(0,f+1))}if(this.state.top&&(l=this.tokenizer.paragraph(u))){const f=r.at(-1);n&&(f==null?void 0:f.type)==="paragraph"?(f.raw+=`
188
+ `+l.raw,f.text+=`
189
+ `+l.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=f.text):r.push(l),n=u.length!==t.length,t=t.substring(l.raw.length);continue}if(l=this.tokenizer.text(t)){t=t.substring(l.raw.length);const f=r.at(-1);(f==null?void 0:f.type)==="text"?(f.raw+=`
190
+ `+l.raw,f.text+=`
191
+ `+l.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=f.text):r.push(l);continue}if(t){const f="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(f);break}else throw new Error(f)}}return this.state.top=!0,r}inline(t,r=[]){return this.inlineQueue.push({src:t,tokens:r}),r}inlineTokens(t,r=[]){var l,u,f;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((u=(l=this.options.extensions)==null?void 0:l.inline)!=null&&u.some(p=>(d=p.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 p=r.at(-1);d.type==="text"&&(p==null?void 0:p.type)==="text"?(p.raw+=d.raw,p.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((f=this.options.extensions)!=null&&f.startInline){let p=1/0;const y=t.slice(1);let _;this.options.extensions.startInline.forEach(E=>{_=E.call({lexer:this},y),typeof _=="number"&&_>=0&&(p=Math.min(p,_))}),p<1/0&&p>=0&&(h=t.substring(0,p+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 p=r.at(-1);(p==null?void 0:p.type)==="text"?(p.raw+=d.raw,p.text+=d.text):r.push(d);continue}if(t){const p="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(p);break}else throw new Error(p)}}return r}}class Dg{constructor(t){An(this,"options");An(this,"parser");this.options=t||Pc}space(t){return""}code({text:t,lang:r,escaped:n}){var o;const i=(o=(r||"").match(Fa.notSpaceStart))==null?void 0:o[0],a=t.replace(Fa.endingNewline,"")+`
192
+ `;return i?'<pre><code class="language-'+ks(i)+'">'+(n?a:ks(a,!0))+`</code></pre>
193
+ `:"<pre><code>"+(n?a:ks(a,!0))+`</code></pre>
194
+ `}blockquote({tokens:t}){return`<blockquote>
195
+ ${this.parser.parse(t)}</blockquote>
196
+ `}html({text:t}){return t}heading({tokens:t,depth:r}){return`<h${r}>${this.parser.parseInline(t)}</h${r}>
197
+ `}hr(t){return`<hr>
198
+ `}list(t){const r=t.ordered,n=t.start;let i="";for(let l=0;l<t.items.length;l++){const u=t.items[l];i+=this.listitem(u)}const a=r?"ol":"ul",o=r&&n!==1?' start="'+n+'"':"";return"<"+a+o+`>
199
+ `+i+"</"+a+`>
200
+ `}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+" "+ks(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>
201
+ `}checkbox({checked:t}){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:t}){return`<p>${this.parser.parseInline(t)}</p>
202
+ `}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 l=0;l<o.length;l++)n+=this.tablecell(o[l]);i+=this.tablerow({text:n})}return i&&(i=`<tbody>${i}</tbody>`),`<table>
203
+ <thead>
204
+ `+r+`</thead>
205
+ `+i+`</table>
206
+ `}tablerow({text:t}){return`<tr>
207
+ ${t}</tr>
208
+ `}tablecell(t){const r=this.parser.parseInline(t.tokens),n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+r+`</${n}>
209
+ `}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>${ks(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=CK(t);if(a===null)return i;t=a;let o='<a href="'+t+'"';return r&&(o+=' title="'+ks(r)+'"'),o+=">"+i+"</a>",o}image({href:t,title:r,text:n}){const i=CK(t);if(i===null)return ks(n);t=i;let a=`<img src="${t}" alt="${n}"`;return r&&(a+=` title="${ks(r)}"`),a+=">",a}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:ks(t.text)}}class WI{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 Jo{constructor(t){An(this,"options");An(this,"renderer");An(this,"textRenderer");this.options=t||Pc,this.options.renderer=this.options.renderer||new Dg,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new WI}static parse(t,r){return new Jo(r).parse(t)}static parseInline(t,r){return new Jo(r).parseInline(t)}parse(t,r=!0){var i,a;let n="";for(let o=0;o<t.length;o++){const l=t[o];if((a=(i=this.options.extensions)==null?void 0:i.renderers)!=null&&a[l.type]){const f=l,d=this.options.extensions.renderers[f.type].call({parser:this},f);if(d!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(f.type)){n+=d||"";continue}}const u=l;switch(u.type){case"space":{n+=this.renderer.space(u);continue}case"hr":{n+=this.renderer.hr(u);continue}case"heading":{n+=this.renderer.heading(u);continue}case"code":{n+=this.renderer.code(u);continue}case"table":{n+=this.renderer.table(u);continue}case"blockquote":{n+=this.renderer.blockquote(u);continue}case"list":{n+=this.renderer.list(u);continue}case"html":{n+=this.renderer.html(u);continue}case"paragraph":{n+=this.renderer.paragraph(u);continue}case"text":{let f=u,d=this.renderer.text(f);for(;o+1<t.length&&t[o+1].type==="text";)f=t[++o],d+=`
210
+ `+this.renderer.text(f);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 f='Token with "'+u.type+'" type was not found.';if(this.options.silent)return console.error(f),"";throw new Error(f)}}}return n}parseInline(t,r=this.renderer){var i,a;let n="";for(let o=0;o<t.length;o++){const l=t[o];if((a=(i=this.options.extensions)==null?void 0:i.renderers)!=null&&a[l.type]){const f=this.options.extensions.renderers[l.type].call({parser:this},l);if(f!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(l.type)){n+=f||"";continue}}const u=l;switch(u.type){case"escape":{n+=r.text(u);break}case"html":{n+=r.html(u);break}case"link":{n+=r.link(u);break}case"image":{n+=r.image(u);break}case"strong":{n+=r.strong(u);break}case"em":{n+=r.em(u);break}case"codespan":{n+=r.codespan(u);break}case"br":{n+=r.br(u);break}case"del":{n+=r.del(u);break}case"text":{n+=r.text(u);break}default:{const f='Token with "'+u.type+'" type was not found.';if(this.options.silent)return console.error(f),"";throw new Error(f)}}}return n}}class dh{constructor(t){An(this,"options");An(this,"block");this.options=t||Pc}preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}provideLexer(){return this.block?Qo.lex:Qo.lexInline}provideParser(){return this.block?Jo.parse:Jo.parseInline}}An(dh,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"]));class $re{constructor(...t){An(this,"defaults",jI());An(this,"options",this.setOptions);An(this,"parse",this.parseMarkdown(!0));An(this,"parseInline",this.parseMarkdown(!1));An(this,"Parser",Jo);An(this,"Renderer",Dg);An(this,"TextRenderer",WI);An(this,"Lexer",Qo);An(this,"Tokenizer",kg);An(this,"Hooks",dh);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 l=o;for(const u of l.header)n=n.concat(this.walkTokens(u.tokens,r));for(const u of l.rows)for(const f of u)n=n.concat(this.walkTokens(f.tokens,r));break}case"list":{const l=o;n=n.concat(this.walkTokens(l.items,r));break}default:{const l=o;(a=(i=this.defaults.extensions)==null?void 0:i.childTokens)!=null&&a[l.type]?this.defaults.extensions.childTokens[l.type].forEach(u=>{const f=l[u].flat(1/0);n=n.concat(this.walkTokens(f,r))}):l.tokens&&(n=n.concat(this.walkTokens(l.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(...l){let u=a.renderer.apply(this,l);return u===!1&&(u=o.apply(this,l)),u}: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 Dg(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 l=o,u=n.renderer[l],f=a[l];a[l]=(...d)=>{let h=u.apply(a,d);return h===!1&&(h=f.apply(a,d)),h||""}}i.renderer=a}if(n.tokenizer){const a=this.defaults.tokenizer||new kg(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 l=o,u=n.tokenizer[l],f=a[l];a[l]=(...d)=>{let h=u.apply(a,d);return h===!1&&(h=f.apply(a,d)),h}}i.tokenizer=a}if(n.hooks){const a=this.defaults.hooks||new dh;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 l=o,u=n.hooks[l],f=a[l];dh.passThroughHooks.has(o)?a[l]=d=>{if(this.defaults.async)return Promise.resolve(u.call(a,d)).then(p=>f.call(a,p));const h=u.call(a,d);return f.call(a,h)}:a[l]=(...d)=>{let h=u.apply(a,d);return h===!1&&(h=f.apply(a,d)),h}}i.hooks=a}if(n.walkTokens){const a=this.defaults.walkTokens,o=n.walkTokens;i.walkTokens=function(l){let u=[];return u.push(o.call(this,l)),a&&(u=u.concat(a.call(this,l))),u}}this.defaults={...this.defaults,...i}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,r){return Qo.lex(t,r??this.defaults)}parser(t,r){return Jo.parse(t,r??this.defaults)}parseMarkdown(t){return(n,i)=>{const a={...i},o={...this.defaults,...a},l=this.onError(!!o.silent,!!o.async);if(this.defaults.async===!0&&a.async===!1)return l(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 l(new Error("marked(): input parameter is undefined or null"));if(typeof n!="string")return l(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 u=o.hooks?o.hooks.provideLexer():t?Qo.lex:Qo.lexInline,f=o.hooks?o.hooks.provideParser():t?Jo.parse:Jo.parseInline;if(o.async)return Promise.resolve(o.hooks?o.hooks.preprocess(n):n).then(d=>u(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=>f(d,o)).then(d=>o.hooks?o.hooks.postprocess(d):d).catch(l);try{o.hooks&&(n=o.hooks.preprocess(n));let d=u(n,o);o.hooks&&(d=o.hooks.processAllTokens(d)),o.walkTokens&&this.walkTokens(d,o.walkTokens);let h=f(d,o);return o.hooks&&(h=o.hooks.postprocess(h)),h}catch(d){return l(d)}}}onError(t,r){return n=>{if(n.message+=`
211
+ Please report this to https://github.com/markedjs/marked.`,t){const i="<p>An error occurred:</p><pre>"+ks(n.message+"",!0)+"</pre>";return r?Promise.resolve(i):i}if(r)return Promise.reject(n);throw n}}}const oc=new $re;function zn(e,t){return oc.parse(e,t)}zn.options=zn.setOptions=function(e){return oc.setOptions(e),zn.defaults=oc.defaults,Rre(zn.defaults),zn};zn.getDefaults=jI;zn.defaults=Pc;zn.use=function(...e){return oc.use(...e),zn.defaults=oc.defaults,Rre(zn.defaults),zn};zn.walkTokens=function(e,t){return oc.walkTokens(e,t)};zn.parseInline=oc.parseInline;zn.Parser=Jo;zn.parser=Jo.parse;zn.Renderer=Dg;zn.TextRenderer=WI;zn.Lexer=Qo;zn.lexer=Qo.lex;zn.Tokenizer=kg;zn.Hooks=dh;zn.parse=zn;zn.options;zn.setOptions;zn.use;zn.walkTokens;zn.parseInline;Jo.parse;Qo.lex;const lAe="_container_1hbtl_1",cAe={container:lAe},PK="markdown-link",mC=new $re;let Xd;const kK=/^(\${1,2})(?!\$)((?:\\.|[^\\\n])*?(?:\\.|[^\\\n\$]))\1(?=[\s?!\.,:?!。,:]|$)/,fAe=/^(\${1,2})\n((?:\\[^]|[^\\])+?)\n\1(?:\n|$)/;mC.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(kK))return t;r=r.substring(t+1).replace(/^\$+/,"")}},tokenizer:e=>{const t=e.match(kK);if(t)return{type:"inlineKatex",raw:t[0],text:t[2].trim(),displayMode:t[1].length===2}},renderer:e=>Xd?Xd.renderToString(e.text,{displayMode:e.displayMode}):e.text},{name:"blockKatex",level:"block",tokenizer:e=>{const t=e.match(fAe);if(t)return{type:"blockKatex",raw:t[0],text:t[2].trim(),displayMode:t[1].length===2}},renderer:e=>Xd?Xd.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 Ln(async()=>{const{katex:r}=await import("./Cmu1J2M7.chunk.js");return{katex:r}},__vite__mapDeps([0,1]));Xd=t}}});const Fre={isLink(e){return e.classList.contains(PK)},async parse(e,t){if(!e)return"";const r=await mC.parse(e,{renderer:Fre.getRenderer(t)});return Yx.sanitize(r)},async toPlainText(e){if(!e)return"";const t=await this.parse(e,{focusableLinks:!1});return Yx.sanitize(t,{ALLOWED_TAGS:[],KEEP_CONTENT:!0}).replace(/\s+/g," ").trim()},getRenderer(e){const t=new mC.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 ${PK}" ${i}>${n}</a>`},t},getContainerClass(){return cAe.container}},dAe="shared.shared-utils",Lg=Gr.encloseNamespace(dAe),hAe=70,nx=160,pAe=/^(.*)\s/,DK="pageTitle",LK="pageDescription",ix="YYYY-MM-DD",ff={AU:"au",ENGLAND:"gb",US:"us"},vAe={[ff.AU]:$l.AU,[ff.ENGLAND]:$l.UK,[ff.US]:$l.US,[$l.AU]:ff.AU,[$l.UK]:ff.ENGLAND,[$l.US]:ff.US};function NK(e){return e?e.substring(0,e.length-3)+"...":""}function gAe(e,t){return e?e.substring(0,t):""}function mAe(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(pAe);return a?a[1]:i}function zu({title:e,phraseContext:t,product:r}){var a;if(!e)return"";if(!t)return Lg(DK,{title:e,product:r});const n=((a=t.phraseHandler(t.titlePhrase,{value:""}))==null?void 0:a.length)??0,i=hAe-n;return e.length>=i?Lg(DK,{title:e,product:r}):t.phraseHandler(t.titlePhrase,{title:e})}function Wu({title:e,description:t,phraseContext:r}){var u,f;const n=NK(gAe(t||e,nx));if(!r)return Lg(LK,{description:n});const i=((u=r.phraseHandler(r.descriptionPhrase,{title:"",description:""}))==null?void 0:u.length)??0,a=nx-i;if((e==null?void 0:e.length)>=a)return Lg(LK,{description:n});const o=((f=r.phraseHandler(r.descriptionPhrase,{title:e,description:""}))==null?void 0:f.length)??0,l=NK(mAe(t,nx,o));return r.phraseHandler(r.descriptionPhrase,{title:e,description:l})}function yAe(e,t){return(e==null?void 0:e.reduce((r,n)=>{var a,o;const i=(a=vAe[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 _Ae(e,t){const r=e!=null&&e.datePublished?el.format(e==null?void 0:e.datePublished,ix):el.format(e==null?void 0:e.dateCreated,ix),n=t!=null&&t.dateModified?el.format(t==null?void 0:t.dateModified,ix):"";return{"@context":"https://schema.org","@type":"WebPage",name:e==null?void 0:e.name,description:e==null?void 0:e.description,url:CTe.getCanonicalLink(),publisher:{"@type":"Organization",name:"ClickView"},datePublished:r,dateModified:n}}function EAe(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:el.getDurationISOString(e==null?void 0:e.duration,"milliseconds"),hasPart:[{"@type":"WebPageElement",isAccessibleForFree:!1,cssSelector:`.${rx.GLOBAL_PLAYER_SELECTOR}`},{"@type":"WebPageElement",isAccessibleForFree:!1,cssSelector:`.${rx.RESOURCE_ITEM_SELECTOR}`},{"@type":"WebPageElement",isAccessibleForFree:!1,cssSelector:`.${rx.WELCOME_POPUP_SELECTOR}`}],requiresSubscription:!0,isAccessibleForFree:!1,regionsAllowed:yAe(r,e==null?void 0:e.id),potentialAction:{"@type":"WatchAction",actionAccessibilityRequirement:{"@type":"ActionAccessSpecification",requiresSubscription:!0}}}}async function SAe(e,t){const r=[];for(const i of e){const a=await Fre.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 Ps="ClickView";const wAe={setProduct(e){Ps=e},getDefaultMetadata(e){const{title:t,description:r,canonicalLink:n,phraseContext:i,allowIndexing:a,hrefLang:o,product:l,preload:u}=e;return{title:zu({title:t,phraseContext:i,product:l||Ps}),description:Wu({title:t,description:r,phraseContext:i}),canonicalLink:n,allowIndexing:a,hrefLang:o,preload:u,_helperUsed:!0}},getVideoMetadata(e){const{content:t,canonicalLink:r,phraseContext:n,allowIndexing:i,hrefLang:a,regionAlternatives:o,product:l}=e;return{title:zu({title:t==null?void 0:t.name,phraseContext:n,product:l||Ps}),description:Wu({title:t==null?void 0:t.name,description:t==null?void 0:t.description,phraseContext:n}),jsonLd:EAe(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:zu({title:t==null?void 0:t.name,phraseContext:n,product:a||Ps}),description:Wu({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:zu({title:t==null?void 0:t.name,phraseContext:n,product:a||Ps}),description:Wu({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:zu({title:t==null?void 0:t.name,phraseContext:n,product:a||Ps}),description:Wu({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:zu({title:t==null?void 0:t.name,phraseContext:n,product:a||Ps}),description:Wu({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:l}=e;function u(){var d,h,p,y;return(h=(d=t==null?void 0:t.externalMetadata)==null?void 0:d.seo)!=null&&h.title?`${(y=(p=t.externalMetadata)==null?void 0:p.seo)==null?void 0:y.title} | ${l||Ps}`:zu({title:t==null?void 0:t.name,phraseContext:i,product:l||Ps})}function f(){var d,h,p,y;return(h=(d=t==null?void 0:t.externalMetadata)==null?void 0:d.seo)!=null&&h.description?(y=(p=t.externalMetadata)==null?void 0:p.seo)==null?void 0:y.description:Wu({title:t==null?void 0:t.name,phraseContext:i})}return{title:u(),description:f(),canonicalLink:n,allowIndexing:a,jsonLd:r&&_Ae(t,r),hrefLang:o,_helperUsed:!0}},getDiscoverMetadata(e){const{content:t,canonicalLink:r,phraseContext:n,allowIndexing:i,hrefLang:a,product:o}=e;return{title:zu({title:t==null?void 0:t.name,phraseContext:n,product:o||Ps}),description:Wu({title:t==null?void 0:t.name,phraseContext:n}),canonicalLink:r,allowIndexing:i,hrefLang:a,_helperUsed:!0}},async buildFaqJsonLd(e,t){return await SAe(e,t)}};function bAe(e){let t=e;t._helperUsed||(t=wAe.getDefaultMetadata(t)),Tre(t.title);const r=Cbe();if(!r.hasProvider)throw vr.throw(new Rn("PageMetadataContext must exist in your application to use this hook"));Se.useEffect(()=>{!t||e._isPopupUp||r.hasPageMetadataChanged(t)&&r.setPageMetadata(t)})}const wo={Default:{LOG_OUT:"log:out",LOG_IN:"log:in",ERROR:"error",NOT_FOUND:"not:found",DEV_ERROR:"dev:error",DIALOG_ERROR:"dialog:error",INDEX:"index",GIVE_FEEDBACK:"give:feedback"},Exchange:{INDEX:"index",FOLDER:"folder",MOST_RECENT:"most:recent",SERIES:"series",SEARCH:"search",PREVIEW:"preview",ADD:"add",SUGGEST_EDIT:"suggest:edit",DOWNLOAD_VIDEO:"download:video",ADD_TO_LIBRARY:"add:to:library"},Tv:{INDEX:"index",CHANNELS:"channels",CHANNEL:"channel",PROGRAMS:"programs",SEARCH:"search",PREVIEW:"preview",ADD:"add",AD_FREE_REQUEST:"ad:free:request",BROADCAST_CONTENT:"broadcast:content",ALREADY_ADDED:"already:added",REQUEST_PROGRAM:"request:program",RADIO_DOWNLOAD:"radio:download",TV_GUIDE:"tv:guide"}},TAe={ErrorViews:{SMALL:"/images/error-avatars/small/error-{number}.png"},EmptyStates:{SEARCH:"/images/empty-states/results-v2.png",FOLDER:"/images/empty-states/empty-folder-v2.png"},General:{ANNOUNCEMENT_FRAMED:"/images/general/announcement-framed-v2.png",MOUNTAINS_FRAMED:"/images/general/mountains-framed-v2.png",CONFETTI:"/images/general/confetti-v2.png",PAPER_PLANE:"/images/general/paper-plane-v2.png"},ProgramLogos:{FOXTEL:"/images/logos/foxtel.png",BBC:"/images/logos/bbc.png"}},MK="default.error",AAe=33;function jre({error:e}){var n,i;bAe({title:(e==null?void 0:e.heading)||Gr.getPhrase(MK,"defaultPageTitle")});const[t]=Se.useState(ute.getRandomInt(AAe)+1),r=TAe.ErrorViews.SMALL.replace("{number}",t.toString());return e?ce.jsxs(Ds,{children:[ce.jsx(Ds.Image,{src:r}),ce.jsx(Ds.Heading,{children:e.heading}),!!e.description&&ce.jsx(Ds.Info,{injectHtml:e.injectDescriptionHtml,children:e.description}),e.cta!==!1&&ce.jsx(Ds.Cta,{text:((n=e.cta)==null?void 0:n.text)??Gr.getPhrase(MK,"discoverVideos"),className:`info-link ${e.description?"mt-n2":""}`,appLink:((i=e.cta)==null?void 0:i.appLink)??{application:ki.EXCHANGE,action:wo.Exchange.INDEX}})]}):ce.jsx(ce.Fragment,{})}class RAe extends eI{get channelName(){return ki.DEFAULT}get appRoutes(){return{"(/)":"index","*path":"catchAllRoutes"}}get externalRoutes(){return{"logout(/)":"logOut","login(/)":"logIn"}}get appLinks(){return["devError","dialogError","error","notFound","giveFeedback"]}}class xAe extends SI{get name(){return"Default Application"}get layoutOptions(){return{name:fp.DEFAULT_LAYOUT,options:{alertRegion:on.ALERT}}}get channelName(){return ki.DEFAULT}static get router(){return RAe}async index(){const{RedirectView:t}=await Ln(async()=>{const{RedirectView:r}=await import("./6D5NxiDj.chunk.js");return{RedirectView:r}},[]);this.layout.showChildView(on.CONTENT,ce.jsx(t,{}))}catchAllRoutes(){vr.throw(new ste)}notFound(){const t=Mr.Radio.channel("error:view").request("current:error");Ln(async()=>{const{NotFoundView:r}=await import("./DU8kVZuh.chunk.js");return{NotFoundView:r}},[]).then(({NotFoundView:r})=>{this.layout.showChildView(on.CONTENT,ce.jsx(r,{error:t}))})}error(){const t=Mr.Radio.channel("error:view").request("current:error");this.layout.showChildView(on.CONTENT,ce.jsx(jre,{error:t}))}dialogError(){const t=Mr.Radio.channel("error:view").request("current:error");if(!t)return;const{dialogOptions:r}=t;Ln(async()=>{const{DialogView:n}=await import("./dnQMOuPg.chunk.js");return{DialogView:n}},[]).then(({DialogView:n})=>{this.layout.showChildView(on.POPUP,ce.jsx(n,{title:r.title,text:r.text,buttons:r.buttons,onDone:t.onDone,onFail:t.onFail,closePopup:()=>this.layout.closePopup()}))})}devError(){const t=Mr.Radio.channel("error:view").request("current:error");Ln(async()=>{const{DevErrorView:r}=await import("./WHGl124l.chunk.js");return{DevErrorView:r}},[]).then(({DevErrorView:r})=>{this.layout.showChildView(on.CONTENT,ce.jsx(r,{error:t}))})}giveFeedback(){Ln(async()=>{const{GiveFeedbackView:t}=await import("./CiRJHxmU.chunk.js");return{GiveFeedbackView:t}},__vite__mapDeps([2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21])).then(({GiveFeedbackView:t})=>{this.layout.showChildView(on.POPUP,ce.jsx(t,{product:So.Exchange,closePopup:()=>this.layout.closePopup()}))})}}var Ure=(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))(Ure||{});const qre={MixedMediaUpload:"MixedMediaUploadService",Context:"ContextService"},CAe=5,OAe=3;class IAe extends co{constructor(){super(...arguments),this.routeHistory=[],this.contextHistory=[]}get name(){return qre.Context}static get Instance(){return this.instance||(this.instance=new this)}initialize(){this.listenTo(mn.SHELL,En.ROUTE,this.setContext),this.listenTo(mn.SHELL,En.ROUTE,this.updateRouteHistory)}setContext(t){var r;Ai.isEqual(t,(r=this.getCurrentContext())==null?void 0:r.appLink)||(this.contextHistory.length>=CAe&&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;Ai.getHref(t)&&(Ai.isEqual(t,(n=this.getCurrentRoute())==null?void 0:n.appLink)||(this.routeHistory.length>=OAe&&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 GI=new IAe,Bre={getStorage(){return window.localStorage?window.localStorage:window.sessionStorage?window.sessionStorage:Bre.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 ys=(e=>(e.LocalStorage="localStorage",e.SessionStorage="sessionStorage",e.MemoryStorage="memoryStorage",e))(ys||{});class KI{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=Bre.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 PAe extends KI{static get Instance(){return this.instance||(this.instance=new this({type:"localStorage"}))}}class kAe extends KI{static get Instance(){return this.instance||(this.instance=new this({type:"sessionStorage"}))}}class DAe extends KI{static get Instance(){return this.instance||(this.instance=new this({type:"memoryStorage"}))}}const Vi=PAe.Instance,Ng=kAe.Instance,$K=DAe.Instance;var vs=(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))(vs||{});const LAe=(e,t)=>`${t?`${t}:`:""}video:sort:${e}`,NAe=vs.RecentlyAdded,FK={getValidSortTypeFromParam(e){return Object.values(vs).includes(e)?e:vs.Newest},getOrSetSortType(e,t,r,n){const i=LAe(e,n);return(t||!Vi.cacheExists(i))&&Vi.cacheSet(i,t||r||NAe),t||(t=Vi.cacheGet(i)),t},getVideoSortParam(e){switch(e){case vs.AtoZ:return"orderby:name";case vs.ZtoA:return"orderbydesc:name";case vs.Newest:return"orderbydesc:datecreated";case vs.Oldest:return"orderby:datecreated";case vs.RecentlyAdded:return"orderbydesc:timestamp";case vs.Series:return"orderby:seriessort";case vs.ProductionYear:return"orderbydesc:productionyear";default:return}}},ol={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"}}},Zl={LOCALE:"locale",PHRASES:"phrases",TOKEN:"token",PERMISSIONS:"permissions",USER:"currentUser",PRODUCTS:"products"},YI={userProducts(e,t){return{url:"{gateway}/v1/users/me/products",key:"user:products",normalizeOptions:{namespace:"product"},success:e,error:t,bootstrapName:Zl.PRODUCTS}}};let ax=!1,ox=!1,sx=!1,ux=!0,lx=!0;class MAe extends co{get name(){return"LayoutHelper"}shouldHideNav(){return ax}disableNav(){ax=!0}enableNav(){ax=!1}shouldHideHeader(){return ox}disableHeader(){ox=!0}enableHeader(){ox=!1}lockContentWidth(){sx=!0,this.trigger("change:lockContentWidth")}unlockContentWidth(){sx=!1,this.trigger("change:lockContentWidth")}shouldLockContentWidth(){return!!sx}shouldShowSearch(){return lx}enableSearch(){lx=!0}disableSearch(){lx=!1}enableLogoClick(){ux=!0}disableLogoClick(){ux=!1}shouldAllowLogoClick(){return ux}}const Vre=new MAe,jK="exchangeShared.noAccess";class $Ae extends ty{constructor(r){super("Current user's school does not have access to Exchange");An(this,"config");this.config=r}get name(){return"NoAccessError"}get heading(){return Gr.getPhrase(jK,"heading")}get description(){return Gr.getPhrase(jK,"body")}get cta(){return!1}get injectDescriptionHtml(){return!0}}const FAe=[{application:ki.DEFAULT,action:wo.Default.ERROR},{application:ki.DEFAULT,action:wo.Default.DEV_ERROR},{application:ki.DEFAULT,action:wo.Default.LOG_IN},{application:ki.DEFAULT,action:wo.Default.LOG_OUT}],jAe=FAe.reduce((e,t)=>(e[Hre(t)]=!0,e),{});function Hre(e){return e.application+e.action}function UK(e,t){GI._forcePushContext(e),Vre.disableNav(),gs.routingEnded(),vr.throw(t??new Mf)}async function zre(e,t){const{appLink:r,shell:n}=e;try{if((await vW(n.store,YI.userProducts())).find(o=>o.id===So.Exchange)){t(e);return}if(jAe[Hre(e.appLink)]){Vre.disableNav(),t(e);return}const a=await vW(n.store,ol.config());UK(r,new $Ae(a))}catch{UK(r)}}class UAe extends eI{get channelName(){return ki.EXCHANGE}get appRoutes(){return{"exchange(/)":"index","exchange/folders/:id(/:slug)":"folder","exchange/series/:id(/:slug)":"series","exchange/search(/)":"search","exchange/most-recent(/)":"mostRecent","exchange/videos/:id(/)":"preview"}}get appLinks(){return["add","suggestEdit","downloadVideo","addToLibrary"]}get filters(){return[zre]}}class qK extends SI{get name(){return"Exchange Application"}get layoutOptions(){return{name:fp.DEFAULT_LAYOUT,options:{alertRegion:on.ALERT}}}get channelName(){return ki.EXCHANGE}static get router(){return UAe}async index(){const{ExchangeView:t}=await Ln(async()=>{const{ExchangeView:r}=await import("./Bksx5ui9.chunk.js");return{ExchangeView:r}},__vite__mapDeps([22,23,24,25,26,27,28,29,30,31,32,33,13,34,35,36,37,38,39,18,40,41,42,43,44,45,46,47,48,49,4,50]));this.layout.showChildView(on.CONTENT,ce.jsx(t,{}))}async folder(t,r,n){const i=typeof r=="string"?n==null?void 0:n.sort:r==null?void 0:r.sort,a=i&&FK.getValidSortTypeFromParam(i),{ExchangeFolderView:o}=await Ln(async()=>{const{ExchangeFolderView:l}=await import("./Ct_04zDE.chunk.js");return{ExchangeFolderView:l}},__vite__mapDeps([51,26,27,23,24,25,28,29,30,31,32,33,13,34,35,52,50,36,53,54,19,55,56,57,44,45,46,4,58,43,59,3,60,61,5,12,62,63,38,64,37,39,18,40,41,42,47,48,49,65,66]));this.layout.showChildView(on.CONTENT,ce.jsx(o,{folderId:t,sort:a}))}async series(t,r,n){const i=typeof r=="string"?n==null?void 0:n.sort:r==null?void 0:r.sort,a=i&&FK.getValidSortTypeFromParam(i),{ExchangeSeriesView:o}=await Ln(async()=>{const{ExchangeSeriesView:l}=await import("./BI7-pkuo.chunk.js");return{ExchangeSeriesView:l}},__vite__mapDeps([67,65,19,66,53,33,13,34,30,31,54,55,52,50,36,28,56,57,44,45,46,4,58,43,59,3,29,32,60,61,5,12,26,27,62,63,38,37,48,49,64]));this.layout.showChildView(on.CONTENT,ce.jsx(o,{seriesId:t,sort:a}))}async search(t){const{ExchangeSearchResultsView:r}=await Ln(async()=>{const{ExchangeSearchResultsView:n}=await import("./mALBAvSP.chunk.js");return{ExchangeSearchResultsView:n}},__vite__mapDeps([68,57,44,45,46,4,58,14,15,33,13,34,16,69,62,9,43,70,52,50,36,28,53,30,31,54,19,55,56,59,3,29,32,60,61,5,12,26,27,63,71,72,10,49,66,73,39,18,40,64,74,48,38,75]));this.layout.showChildView(on.CONTENT,ce.jsx(r,{queryParams:t||{}}))}async mostRecent(){const{ExchangeMostRecentView:t}=await Ln(async()=>{const{ExchangeMostRecentView:r}=await import("./BTq4W22K.chunk.js");return{ExchangeMostRecentView:r}},__vite__mapDeps([76,53,33,13,34,30,31,54,19,55,52,50,36,28,56,57,44,45,46,4,58,43,59,3,29,32,60,61,5,12,26,27,62,63,38,39,18,40,41,42,47,48,49,64]));this.layout.showChildView(on.CONTENT,ce.jsx(t,{}))}async preview(t,r){const{pageLoad:n}=GI.getCurrentRoute();n&&this.index();const{ExchangePreviewView:i}=await Ln(async()=>{const{ExchangePreviewView:a}=await import("./DcA5xG6o.chunk.js");return{ExchangePreviewView:a}},__vite__mapDeps([77,56,58,44,4,78,79,7,17,60,57,45,46,61,12,18,54,69,62,9,43,13,16,70,5,3,80,29,30,31,32,26,27,59,20,50,36,81,82,83,84,85,86,87,88,64,89]));this.layout.showChildView(on.POPUP,ce.jsx(i,{videoId:t,currentTime:r,closePopup:()=>this.layout.closePopup()}))}async add(t){const{ExchangeAddView:r}=await Ln(async()=>{const{ExchangeAddView:n}=await import("./CEZiVSXU.chunk.js");return{ExchangeAddView:n}},__vite__mapDeps([90,56,58,44,4,3,48,49,89]));this.layout.showChildView(on.POPUP,ce.jsx(r,{id:t,closePopup:()=>this.layout.closePopup()}))}async suggestEdit(t){const{ExchangeSuggestEditView:r}=await Ln(async()=>{const{ExchangeSuggestEditView:n}=await import("./DiR2eKm4.chunk.js");return{ExchangeSuggestEditView:n}},__vite__mapDeps([91,56,92,6,7,8,11,72,74,58,44,4,3,93,48,49,89]));this.layout.showChildView(on.POPUP,ce.jsx(r,{videoId:t,closePopup:()=>this.layout.closePopup()}))}downloadVideo(t){Ln(async()=>{const{DownloadVideoView:r}=await import("./CeVw08Ln.chunk.js");return{DownloadVideoView:r}},__vite__mapDeps([94,80])).then(({DownloadVideoView:r})=>{this.layout.showChildView(on.HIDDEN,ce.jsx(r,{id:t}))})}addToLibrary(t){Ln(async()=>{const{AddToLibraryView:r}=await import("./DT1DdOeu.chunk.js");return{AddToLibraryView:r}},__vite__mapDeps([95,17,6,7,8,26,27,24,25,62,36,58,44,4,3,93,57,45,46,96])).then(({AddToLibraryView:r})=>{this.layout.showChildView(on.POPUP,ce.jsx(r,{id:t,typeId:Ure.Video,closePopup:()=>this.layout.closePopup()}))})}}class qAe extends eI{get channelName(){return ki.TV}get appRoutes(){return{"tv(/)":"index","tv/:region/channels(/)":"channels","tv/:region/channels/:channelId(/)":"channel","tv/:region/programs(/)":"programs","tv/:region/search(/)":"search","tv/:region/guide":"tvGuide"}}get appLinks(){return["preview","add","adFreeRequest","broadcastContent","alreadyAdded","requestProgram","radioDownload"]}get filters(){return[zre]}}class BK extends SI{get name(){return"Tv Application"}get layoutOptions(){return{name:fp.DEFAULT_LAYOUT,options:{alertRegion:on.ALERT}}}get channelName(){return ki.TV}static get router(){return qAe}async index(){const{TvHomeView:t}=await Ln(async()=>{const{TvHomeView:r}=await import("./C7lfPlyo.chunk.js");return{TvHomeView:r}},__vite__mapDeps([97,98,37,38,99]));this.layout.showChildView(on.CONTENT,ce.jsx(t,{}))}async channels(t){const{TvChannelsView:r}=await Ln(async()=>{const{TvChannelsView:n}=await import("./BoXsW16j.chunk.js");return{TvChannelsView:n}},__vite__mapDeps([100,37,38,101,86,99,42,43,44,45,46,13,47,102,54,18,103,104,98,105,9,106]));this.layout.showChildView(on.CONTENT,ce.jsx(r,{region:t}))}async channel(t,r,n){const{TvChannelView:i}=await Ln(async()=>{const{TvChannelView:a}=await import("./B1QnQX6X.chunk.js");return{TvChannelView:a}},__vite__mapDeps([107,38,37,108,24,25,109,30,31,81,82,85,86,87,101,99,42,43,44,45,46,13,47,102,54,18,103,104,98,110]));this.layout.showChildView(on.CONTENT,ce.jsx(i,{region:t,channelId:r,selectedRegion:n.region}))}async programs(t,r){const{TvProgramsView:n}=await Ln(async()=>{const{TvProgramsView:i}=await import("./C_sNZ3q9.chunk.js");return{TvProgramsView:i}},__vite__mapDeps([111,38,37,108,24,25,109,101,86,99,42,43,44,45,46,13,47,102,54,18,103,104,98,30,31,85,87,112]));this.layout.showChildView(on.CONTENT,ce.jsx(n,{region:t,startsWith:r.startsWith}))}async search(t,r){const{TvSearchResultsView:n}=await Ln(async()=>{const{TvSearchResultsView:i}=await import("./C8aildLX.chunk.js");return{TvSearchResultsView:i}},__vite__mapDeps([113,71,53,33,13,34,30,31,54,19,55,5,72,69,62,9,43,44,45,46,16,70,3,10,49,66,73,38,37,102,18,103,99,114,59,104,98,26,27,29,32,81,82,83,84,85,86,87,115]));this.layout.showChildView(on.CONTENT,ce.jsx(n,{region:t,queryParams:r}))}async preview(t,r,n){const{TvPreviewView:i}=await Ln(async()=>{const{TvPreviewView:a}=await import("./BvnJNI_Y.chunk.js");return{TvPreviewView:a}},__vite__mapDeps([116,78,79,7,17,60,57,44,45,46,4,58,61,12,18,54,69,62,9,43,13,16,70,5,3,80,29,30,31,32,26,27,59,20,50,36,81,82,83,84,85,86,87,88,99,114,104,38]));this.layout.showChildView(on.POPUP,ce.jsx(i,{region:t,id:r,currentTime:n.currentTime,closePopup:()=>this.layout.closePopup()}))}async add(t,r,n){const{TvAddView:i}=await Ln(async()=>{const{TvAddView:a}=await import("./7fC_wUI0.chunk.js");return{TvAddView:a}},__vite__mapDeps([117,78,99,3,118]));this.layout.showChildView(on.POPUP,ce.jsx(i,{region:t,id:r,currentTime:n.currentTime,closePopup:()=>this.layout.closePopup()}))}async adFreeRequest(t,r){const{TvAdFreeRequestView:n}=await Ln(async()=>{const{TvAdFreeRequestView:i}=await import("./BpkgwVDj.chunk.js");return{TvAdFreeRequestView:i}},__vite__mapDeps([119,78,99,104,38]));this.layout.showChildView(on.POPUP,ce.jsx(n,{region:t,id:r,closePopup:()=>this.layout.closePopup()}))}async broadcastContent(t){const{TvBroadcastContentView:r}=await Ln(async()=>{const{TvBroadcastContentView:n}=await import("./CtciUXp4.chunk.js");return{TvBroadcastContentView:n}},__vite__mapDeps([120,99,86,121]));this.layout.showChildView(on.POPUP,ce.jsx(r,{region:t,closePopup:()=>this.layout.closePopup()}))}async alreadyAdded(t){const{TvAlreadyAddedView:r}=await Ln(async()=>{const{TvAlreadyAddedView:n}=await import("./-rDA7laA.chunk.js");return{TvAlreadyAddedView:n}},__vite__mapDeps([122,123]));this.layout.showChildView(on.POPUP,ce.jsx(r,{params:t,closePopup:()=>this.layout.closePopup()}))}async requestProgram(t,r){const{TvRequestProgramView:n}=await Ln(async()=>{const{TvRequestProgramView:i}=await import("./aFUDBFEd.chunk.js");return{TvRequestProgramView:i}},__vite__mapDeps([124,6,7,8,9,3,93,99,105,92]));this.layout.showChildView(on.POPUP,ce.jsx(n,{region:t,instanceRegion:r,closePopup:()=>this.layout.closePopup()}))}async radioDownload(t,r){const{TvRadioDownloadView:n}=await Ln(async()=>{const{TvRadioDownloadView:i}=await import("./DxkmuWkI.chunk.js");return{TvRadioDownloadView:i}},__vite__mapDeps([125,85,86,87,99]));this.layout.showChildView(on.POPUP,ce.jsx(n,{region:t,id:r,closePopup:()=>this.layout.closePopup()}))}async tvGuide(t){const{TvGuideView:r}=await Ln(async()=>{const{TvGuideView:n}=await import("./B5a9j4D_.chunk.js");return{TvGuideView:n}},__vite__mapDeps([126,101,86,99,42,43,44,45,46,13,47,102,54,18,103,98,37,38]));this.layout.showChildView(on.CONTENT,ce.jsx(r,{region:t}))}}async function BAe(e,t){var r;try{const i=(r=(await io(e.store,zl.customerSettings()))[wr.ExchangeTvProductOption])==null?void 0:r.value;switch(e.registerApplication(xAe),i){case"exchange":{e.registerApplication(qK),t(e);return}case"tv":{e.registerApplication(BK),t(e);return}case"exchange_and_tv":{e.registerApplication(qK).registerApplication(BK),t(e);return}}}catch{vr.throw(new Mf)}}var ms=(e=>(e.Success="success",e.Warning="warning",e.Fail="danger",e.Info="info",e.Pending="pending",e))(ms||{}),VAe=(e=>(e.Success="Success! 🙌",e.Warning="Whoops...",e.Fail="Oops...",e.Info="FYI",e))(VAe||{});class HAe extends co{constructor(t){super(t)}initialize(){this.alertCollection=new qm,this.listenTo(mn.ALERT,"remove:alert",this.removeAlert),this.showAlerts()}get name(){return Zm.ALERT}get defaults(){return{maxAlerts:3}}showAlerts(){const t=Mr.Radio.channel(mn.ALERT);let r={collection:this.alertCollection};this.options.alertViewCtor&&(r=ro({},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=ro({},t,{id:this.generateUniqueAlertId()})),this.alertCollection.push(new gu(t)),this.showAlerts()}clearAllAlerts(){this.alertCollection.reset(null)}success(t){return typeof t=="string"?au(()=>this.createAlert(ro({},this.options.defaultSuccessAlert,{message:t})),this):t.useXHR?au((r,n)=>this.createAlert(ro({},this.options.defaultSuccessAlert,{message:n})),this):au(()=>this.createAlert(ro({},this.options.defaultSuccessAlert,t)),this)}error(t){return typeof t=="string"?au(()=>this.createAlert(ro({},this.options.defaultErrorAlert,{message:t})),this):t.useXHR?au(r=>this.createAlert(ro({},this.options.defaultErrorAlert,{message:r.message})),this):au(()=>this.createAlert(ro({},this.options.defaultErrorAlertIL_DEFAULT,t)),this)}generateUniqueAlertId(){return yZ("alert_")}}class zAe extends co{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 Rn(`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]=()=>rn(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 Rn(`${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 Rn(`Classes registered with ${this.name} must have a unique name property.`)),this.constructors[r]&&vr.throw(new Rn(`A class with the name: ${r} has already been registered with ${this.name}`))}}const cu=zAe.Instance;class kc extends Um{constructor(t){super(t),this.dialogOptions||vr.throw(new Rn("Please provide DialogOptions for your implementation of DialogError"))}get name(){return"DialogError"}onDone(){}onFail(){}}const Cv="shared.chunkLoadError",WAe=/\/([^\s/]+\.css)/,GAe=/\/([^\s/]+\.js)/;class VK extends kc{constructor(t,r,n){super(Gr.getPhrase(Cv,"title",{chunkName:r})),this.product="ClickView",this.btnVariant=t,n&&(this.product=n)}get name(){return"ChunkLoadError"}get dialogOptions(){return{title:Gr.getPhrase(Cv,"heading",{product:this.product}),text:Gr.getPhrase(Cv,"body"),buttons:[{text:Gr.getPhrase(Cv,"reload"),className:`btn btn-${this.btnVariant}`,success:!0}]}}onDone(){Nn.Reload()}}function KAe(e,t){window.addEventListener("error",r=>{var l,u;const n=((l=r==null?void 0:r.target)==null?void 0:l.src)||((u=r==null?void 0:r.target)==null?void 0:u.href);if(!n)return;const i=f=>(f==null?void 0:f[1])??"Unknown Chunk",a=n.match(GAe);if(a&&n.includes("/scripts/")&&n.includes(".chunk.js")){vr.throw(new VK(e,i(a),t));return}const o=n.match(WAe);if(o&&n.includes("/css/")&&n.includes(".chunk.css")){vr.throw(new VK(e,i(o),t));return}},!0)}class Wre extends Um{get name(){return"AlertError"}}const yC={Success:"Success! 🙌",Warning:"Whoops...",Fail:"Oops...",Info:"FYI"};function YAe(e){cu.getInstance(Zm.ALERT).createAlert({heading:yC.Fail,type:ms.Fail,message:e.message})}function XAe(e){Mr.Radio.channel("error:view").replyOnce("current:error",()=>e),Ai.trigger({application:ki.DEFAULT,action:wo.Default.NOT_FOUND})}function HK(e){Mr.Radio.channel("error:view").replyOnce("current:error",()=>e),Ai.trigger({application:ki.DEFAULT,action:wo.Default.ERROR})}function QAe(e){Mr.Radio.channel("error:view").replyOnce("current:error",()=>e),Ai.trigger({application:ki.DEFAULT,action:wo.Default.DIALOG_ERROR})}function JAe(e,t){e.registerErrorHandler(ty,HK).registerErrorHandler(kc,QAe).registerErrorHandler(Wre,YAe).registerErrorHandler(ste,XAe).registerErrorHandler(Mf,HK),KAe("dark"),t(e)}class ZAe extends Iye{constructor(){super(...arguments),this.regionRoots={},this.isReactComponentRendered={}}isReactComponent(t){return Dr&&Dr.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]=$I.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 ce.jsx(qee,{store:this.options.store,children:t})}}class cx extends Dr.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 ce.jsx(r,{})}return t||!this.props.children?ce.jsx(ce.Fragment,{}):this.props.children}}function eRe(e){return document.querySelector(`.${e}`)}const tRe=Dr.createContext(null);function rRe(e){const[t,r]=Dr.useState();return Dr.useEffect(()=>{r(eRe(e.containerClassName))},[]),ce.jsx(tRe.Provider,{value:{container:t},children:e.children})}function df(e){const[t,r]=Se.useState(window.matchMedia(e).matches);return Se.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 Gre=Dr.createContext({}),nRe=e=>{const t=df("(max-width: 575.98px)"),r=df("(min-width: 576px) and (max-width: 767.98px)"),n=df("(min-width: 768px) and (max-width: 991.98px)"),i=df("(min-width: 992px) and (max-width: 1199.98px)"),a=df("(min-width: 1200px) and (max-width: 1439.98px)"),o=df("(min-width: 1440px)"),l=Dr.useMemo(()=>({xs:t,sm:r,md:n,lg:i,xl:a,xxl:o}),[t,r,n,i,a,o]);return ce.jsx(Gre.Provider,{value:l,children:e.children})},fx="shared.unspecifiedDialogError";class iRe extends kc{constructor(){super("Unspecified dialog error"),this.btnVariant="dark"}get name(){return"UnspecifiedDialogError"}get dialogOptions(){return{title:Gr.getPhrase(fx,"title"),text:Gr.getPhrase(fx,"body"),buttons:[{text:Gr.getPhrase(fx,"close"),className:`btn btn-${this.btnVariant}`,success:!0}]}}}const fu={UPLOAD_COMPLETE:"upload:complete",UPLOAD_SUCCESS:"upload:success",FILES_ADDED:"files:added",UPLOAD_CANCELLED:"upload:cancelled",UNLOCK_NAV:"upload:unlock:nav"},ih={VIDEO_UPLOAD:"video:upload:service",SUBTITLE_UPLOAD:"subtitle:upload:service",RESOURCE_UPLOAD:"resource:upload:service",MIXED_MEDIA_UPLOAD:"media:upload:service"};function aRe(e){const t=e.showSpinner?ce.jsx(uy,{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"),ce.jsx(Jl,{title:e.tooltip,spanHack:!0,children:ce.jsx(dC,{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 ce.jsx(dC,{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 ce.jsx(Jl,{title:e.tooltip,spanHack:!0,children:ce.jsx(xo,{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 ce.jsx(xo,{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&&qa.logUserAction(e.analyticsData,e.analyticsOptions),Ro.isFunction(e.onClick)&&e.onClick(n)}return e.tooltip?ce.jsx(Jl,{title:e.tooltip,spanHack:!0,children:ce.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})}):ce.jsx("button",{onClick:r,className:e.className,disabled:e.disabled,"aria-label":typeof t=="string"?t:e.ariaLabel,children:t})}const oRe=(e,t,r,n=[])=>{const i=typeof e=="string"?Mr.Radio.channel(e):e;Se.useEffect(()=>{if(e)return i.on(t,r),()=>{e&&i.off(t,r)}},n)};function sRe(){return ce.jsx("div",{className:"text-center p-5",children:ce.jsx(uy,{as:"div",animation:"border",role:"status"})})}Kre.defaultProps={closeButton:!0,bodyClassName:"",dialogClassName:"",size:"md",closeOnNavigate:!0};function Kre(e){var n;Tre(e.title);const t=(i,a)=>{!e.closeOnNavigate||!a.isAppRoute||e.closePopup()};oRe(mn.SHELL,En.ROUTE,t,[e.closePopup]);const r=(n=e.headerButtons)!=null&&n.length?e.headerButtons.map((i,a)=>ce.jsx(aRe,{...i},a)):ce.jsx(ce.Fragment,{});return ce.jsxs(wv,{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&&ce.jsxs(wv.Header,{className:"d-flex align-items-center bg-white",closeButton:e.closeButton,children:[ce.jsx(wv.Title,{as:"h2",className:"h4 flex-grow-1 text-truncate",children:e.title}),r]}),e.showLoadingSpinner?ce.jsx(sRe,{}):ce.jsx(wv.Body,{className:e.bodyClassName,children:e.children})]})}var dx,zK;function uRe(){if(zK)return dx;zK=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 l=e(a),u=e(o),f,d,h;if(l&&u){if(d=a.length,d!=o.length)return!1;for(f=d;f--!==0;)if(!i(a[f],o[f]))return!1;return!0}if(l!=u)return!1;var p=a instanceof Date,y=o instanceof Date;if(p!=y)return!1;if(p&&y)return a.getTime()==o.getTime();var _=a instanceof RegExp,E=o instanceof RegExp;if(_!=E)return!1;if(_&&E)return a.toString()==o.toString();var S=t(a);if(d=S.length,d!==t(o).length)return!1;for(f=d;f--!==0;)if(!r.call(o,S[f]))return!1;if(n&&a instanceof Element&&o instanceof Element)return a===o;for(f=d;f--!==0;)if(h=S[f],!(h==="_owner"&&a.$$typeof)&&!i(a[h],o[h]))return!1;return!0}return a!==a&&o!==o}return dx=function(o,l){try{return i(o,l)}catch(u){if(u.message&&u.message.match(/stack|recursion/i)||u.number===-2146828260)return console.warn("Warning: react-fast-compare does not handle circular references.",u.name,u.message),!1;throw u}},dx}var lRe=uRe();const Xu=$n(lRe);var cRe=function(t){return fRe(t)&&!dRe(t)};function fRe(e){return!!e&&typeof e=="object"}function dRe(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||vRe(e)}var hRe=typeof Symbol=="function"&&Symbol.for,pRe=hRe?Symbol.for("react.element"):60103;function vRe(e){return e.$$typeof===pRe}function gRe(e){return Array.isArray(e)?[]:{}}function Mg(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Ph(gRe(e),e,t):e}function mRe(e,t,r){return e.concat(t).map(function(n){return Mg(n,r)})}function yRe(e,t,r){var n={};return r.isMergeableObject(e)&&Object.keys(e).forEach(function(i){n[i]=Mg(e[i],r)}),Object.keys(t).forEach(function(i){!r.isMergeableObject(t[i])||!e[i]?n[i]=Mg(t[i],r):n[i]=Ph(e[i],t[i],r)}),n}function Ph(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||mRe,r.isMergeableObject=r.isMergeableObject||cRe;var n=Array.isArray(t),i=Array.isArray(e),a=n===i;return a?n?r.arrayMerge(e,t,r):yRe(e,t,r):Mg(t,r)}Ph.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return Ph(n,i,r)},{})};var _C=Ph,Yre=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis,_Re=typeof self=="object"&&self&&self.Object===Object&&self,zs=Yre||_Re||Function("return this")(),sl=zs.Symbol,Xre=Object.prototype,ERe=Xre.hasOwnProperty,SRe=Xre.toString,Qd=sl?sl.toStringTag:void 0;function wRe(e){var t=ERe.call(e,Qd),r=e[Qd];try{e[Qd]=void 0;var n=!0}catch{}var i=SRe.call(e);return n&&(t?e[Qd]=r:delete e[Qd]),i}var bRe=Object.prototype,TRe=bRe.toString;function ARe(e){return TRe.call(e)}var RRe="[object Null]",xRe="[object Undefined]",WK=sl?sl.toStringTag:void 0;function Dc(e){return e==null?e===void 0?xRe:RRe:WK&&WK in Object(e)?wRe(e):ARe(e)}function Qre(e,t){return function(r){return e(t(r))}}var XI=Qre(Object.getPrototypeOf,Object);function Lc(e){return e!=null&&typeof e=="object"}var CRe="[object Object]",ORe=Function.prototype,IRe=Object.prototype,Jre=ORe.toString,PRe=IRe.hasOwnProperty,kRe=Jre.call(Object);function GK(e){if(!Lc(e)||Dc(e)!=CRe)return!1;var t=XI(e);if(t===null)return!0;var r=PRe.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&Jre.call(r)==kRe}function DRe(){this.__data__=[],this.size=0}function Zre(e,t){return e===t||e!==e&&t!==t}function fy(e,t){for(var r=e.length;r--;)if(Zre(e[r][0],t))return r;return-1}var LRe=Array.prototype,NRe=LRe.splice;function MRe(e){var t=this.__data__,r=fy(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():NRe.call(t,r,1),--this.size,!0}function $Re(e){var t=this.__data__,r=fy(t,e);return r<0?void 0:t[r][1]}function FRe(e){return fy(this.__data__,e)>-1}function jRe(e,t){var r=this.__data__,n=fy(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function xu(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])}}xu.prototype.clear=DRe;xu.prototype.delete=MRe;xu.prototype.get=$Re;xu.prototype.has=FRe;xu.prototype.set=jRe;function URe(){this.__data__=new xu,this.size=0}function qRe(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function BRe(e){return this.__data__.get(e)}function VRe(e){return this.__data__.has(e)}function gp(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var HRe="[object AsyncFunction]",zRe="[object Function]",WRe="[object GeneratorFunction]",GRe="[object Proxy]";function ene(e){if(!gp(e))return!1;var t=Dc(e);return t==zRe||t==WRe||t==HRe||t==GRe}var hx=zs["__core-js_shared__"],KK=(function(){var e=/[^.]+$/.exec(hx&&hx.keys&&hx.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function KRe(e){return!!KK&&KK in e}var YRe=Function.prototype,XRe=YRe.toString;function Nc(e){if(e!=null){try{return XRe.call(e)}catch{}try{return e+""}catch{}}return""}var QRe=/[\\^$.*+?()[\]{}|]/g,JRe=/^\[object .+?Constructor\]$/,ZRe=Function.prototype,exe=Object.prototype,txe=ZRe.toString,rxe=exe.hasOwnProperty,nxe=RegExp("^"+txe.call(rxe).replace(QRe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ixe(e){if(!gp(e)||KRe(e))return!1;var t=ene(e)?nxe:JRe;return t.test(Nc(e))}function axe(e,t){return e==null?void 0:e[t]}function Mc(e,t){var r=axe(e,t);return ixe(r)?r:void 0}var kh=Mc(zs,"Map"),Dh=Mc(Object,"create");function oxe(){this.__data__=Dh?Dh(null):{},this.size=0}function sxe(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var uxe="__lodash_hash_undefined__",lxe=Object.prototype,cxe=lxe.hasOwnProperty;function fxe(e){var t=this.__data__;if(Dh){var r=t[e];return r===uxe?void 0:r}return cxe.call(t,e)?t[e]:void 0}var dxe=Object.prototype,hxe=dxe.hasOwnProperty;function pxe(e){var t=this.__data__;return Dh?t[e]!==void 0:hxe.call(t,e)}var vxe="__lodash_hash_undefined__";function gxe(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Dh&&t===void 0?vxe:t,this}function sc(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])}}sc.prototype.clear=oxe;sc.prototype.delete=sxe;sc.prototype.get=fxe;sc.prototype.has=pxe;sc.prototype.set=gxe;function mxe(){this.size=0,this.__data__={hash:new sc,map:new(kh||xu),string:new sc}}function yxe(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function dy(e,t){var r=e.__data__;return yxe(t)?r[typeof t=="string"?"string":"hash"]:r.map}function _xe(e){var t=dy(this,e).delete(e);return this.size-=t?1:0,t}function Exe(e){return dy(this,e).get(e)}function Sxe(e){return dy(this,e).has(e)}function wxe(e,t){var r=dy(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function ml(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])}}ml.prototype.clear=mxe;ml.prototype.delete=_xe;ml.prototype.get=Exe;ml.prototype.has=Sxe;ml.prototype.set=wxe;var bxe=200;function Txe(e,t){var r=this.__data__;if(r instanceof xu){var n=r.__data__;if(!kh||n.length<bxe-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new ml(n)}return r.set(e,t),this.size=r.size,this}function vd(e){var t=this.__data__=new xu(e);this.size=t.size}vd.prototype.clear=URe;vd.prototype.delete=qRe;vd.prototype.get=BRe;vd.prototype.has=VRe;vd.prototype.set=Txe;function Axe(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var YK=(function(){try{var e=Mc(Object,"defineProperty");return e({},"",{}),e}catch{}})();function tne(e,t,r){t=="__proto__"&&YK?YK(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var Rxe=Object.prototype,xxe=Rxe.hasOwnProperty;function rne(e,t,r){var n=e[t];(!(xxe.call(e,t)&&Zre(n,r))||r===void 0&&!(t in e))&&tne(e,t,r)}function hy(e,t,r,n){var i=!r;r||(r={});for(var a=-1,o=t.length;++a<o;){var l=t[a],u=void 0;u===void 0&&(u=e[l]),i?tne(r,l,u):rne(r,l,u)}return r}function Cxe(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var Oxe="[object Arguments]";function XK(e){return Lc(e)&&Dc(e)==Oxe}var nne=Object.prototype,Ixe=nne.hasOwnProperty,Pxe=nne.propertyIsEnumerable,kxe=XK((function(){return arguments})())?XK:function(e){return Lc(e)&&Ixe.call(e,"callee")&&!Pxe.call(e,"callee")},mp=Array.isArray;function Dxe(){return!1}var ine=typeof exports=="object"&&exports&&!exports.nodeType&&exports,QK=ine&&typeof module=="object"&&module&&!module.nodeType&&module,Lxe=QK&&QK.exports===ine,JK=Lxe?zs.Buffer:void 0,Nxe=JK?JK.isBuffer:void 0,ane=Nxe||Dxe,Mxe=9007199254740991,$xe=/^(?:0|[1-9]\d*)$/;function Fxe(e,t){var r=typeof e;return t=t??Mxe,!!t&&(r=="number"||r!="symbol"&&$xe.test(e))&&e>-1&&e%1==0&&e<t}var jxe=9007199254740991;function one(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=jxe}var Uxe="[object Arguments]",qxe="[object Array]",Bxe="[object Boolean]",Vxe="[object Date]",Hxe="[object Error]",zxe="[object Function]",Wxe="[object Map]",Gxe="[object Number]",Kxe="[object Object]",Yxe="[object RegExp]",Xxe="[object Set]",Qxe="[object String]",Jxe="[object WeakMap]",Zxe="[object ArrayBuffer]",eCe="[object DataView]",tCe="[object Float32Array]",rCe="[object Float64Array]",nCe="[object Int8Array]",iCe="[object Int16Array]",aCe="[object Int32Array]",oCe="[object Uint8Array]",sCe="[object Uint8ClampedArray]",uCe="[object Uint16Array]",lCe="[object Uint32Array]",oi={};oi[tCe]=oi[rCe]=oi[nCe]=oi[iCe]=oi[aCe]=oi[oCe]=oi[sCe]=oi[uCe]=oi[lCe]=!0;oi[Uxe]=oi[qxe]=oi[Zxe]=oi[Bxe]=oi[eCe]=oi[Vxe]=oi[Hxe]=oi[zxe]=oi[Wxe]=oi[Gxe]=oi[Kxe]=oi[Yxe]=oi[Xxe]=oi[Qxe]=oi[Jxe]=!1;function cCe(e){return Lc(e)&&one(e.length)&&!!oi[Dc(e)]}function QI(e){return function(t){return e(t)}}var sne=typeof exports=="object"&&exports&&!exports.nodeType&&exports,hh=sne&&typeof module=="object"&&module&&!module.nodeType&&module,fCe=hh&&hh.exports===sne,px=fCe&&Yre.process,$f=(function(){try{var e=hh&&hh.require&&hh.require("util").types;return e||px&&px.binding&&px.binding("util")}catch{}})(),ZK=$f&&$f.isTypedArray,dCe=ZK?QI(ZK):cCe,hCe=Object.prototype,pCe=hCe.hasOwnProperty;function une(e,t){var r=mp(e),n=!r&&kxe(e),i=!r&&!n&&ane(e),a=!r&&!n&&!i&&dCe(e),o=r||n||i||a,l=o?Cxe(e.length,String):[],u=l.length;for(var f in e)(t||pCe.call(e,f))&&!(o&&(f=="length"||i&&(f=="offset"||f=="parent")||a&&(f=="buffer"||f=="byteLength"||f=="byteOffset")||Fxe(f,u)))&&l.push(f);return l}var vCe=Object.prototype;function JI(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||vCe;return e===r}var gCe=Qre(Object.keys,Object),mCe=Object.prototype,yCe=mCe.hasOwnProperty;function _Ce(e){if(!JI(e))return gCe(e);var t=[];for(var r in Object(e))yCe.call(e,r)&&r!="constructor"&&t.push(r);return t}function lne(e){return e!=null&&one(e.length)&&!ene(e)}function ZI(e){return lne(e)?une(e):_Ce(e)}function ECe(e,t){return e&&hy(t,ZI(t),e)}function SCe(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var wCe=Object.prototype,bCe=wCe.hasOwnProperty;function TCe(e){if(!gp(e))return SCe(e);var t=JI(e),r=[];for(var n in e)n=="constructor"&&(t||!bCe.call(e,n))||r.push(n);return r}function eP(e){return lne(e)?une(e,!0):TCe(e)}function ACe(e,t){return e&&hy(t,eP(t),e)}var cne=typeof exports=="object"&&exports&&!exports.nodeType&&exports,eY=cne&&typeof module=="object"&&module&&!module.nodeType&&module,RCe=eY&&eY.exports===cne,tY=RCe?zs.Buffer:void 0,rY=tY?tY.allocUnsafe:void 0;function xCe(e,t){if(t)return e.slice();var r=e.length,n=rY?rY(r):new e.constructor(r);return e.copy(n),n}function fne(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}function CCe(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 dne(){return[]}var OCe=Object.prototype,ICe=OCe.propertyIsEnumerable,nY=Object.getOwnPropertySymbols,tP=nY?function(e){return e==null?[]:(e=Object(e),CCe(nY(e),function(t){return ICe.call(e,t)}))}:dne;function PCe(e,t){return hy(e,tP(e),t)}function hne(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}var kCe=Object.getOwnPropertySymbols,pne=kCe?function(e){for(var t=[];e;)hne(t,tP(e)),e=XI(e);return t}:dne;function DCe(e,t){return hy(e,pne(e),t)}function vne(e,t,r){var n=t(e);return mp(e)?n:hne(n,r(e))}function LCe(e){return vne(e,ZI,tP)}function NCe(e){return vne(e,eP,pne)}var EC=Mc(zs,"DataView"),SC=Mc(zs,"Promise"),wC=Mc(zs,"Set"),bC=Mc(zs,"WeakMap"),iY="[object Map]",MCe="[object Object]",aY="[object Promise]",oY="[object Set]",sY="[object WeakMap]",uY="[object DataView]",$Ce=Nc(EC),FCe=Nc(kh),jCe=Nc(SC),UCe=Nc(wC),qCe=Nc(bC),ou=Dc;(EC&&ou(new EC(new ArrayBuffer(1)))!=uY||kh&&ou(new kh)!=iY||SC&&ou(SC.resolve())!=aY||wC&&ou(new wC)!=oY||bC&&ou(new bC)!=sY)&&(ou=function(e){var t=Dc(e),r=t==MCe?e.constructor:void 0,n=r?Nc(r):"";if(n)switch(n){case $Ce:return uY;case FCe:return iY;case jCe:return aY;case UCe:return oY;case qCe:return sY}return t});var BCe=Object.prototype,VCe=BCe.hasOwnProperty;function HCe(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&VCe.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var lY=zs.Uint8Array;function rP(e){var t=new e.constructor(e.byteLength);return new lY(t).set(new lY(e)),t}function zCe(e,t){var r=t?rP(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var WCe=/\w*$/;function GCe(e){var t=new e.constructor(e.source,WCe.exec(e));return t.lastIndex=e.lastIndex,t}var cY=sl?sl.prototype:void 0,fY=cY?cY.valueOf:void 0;function KCe(e){return fY?Object(fY.call(e)):{}}function YCe(e,t){var r=t?rP(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var XCe="[object Boolean]",QCe="[object Date]",JCe="[object Map]",ZCe="[object Number]",eOe="[object RegExp]",tOe="[object Set]",rOe="[object String]",nOe="[object Symbol]",iOe="[object ArrayBuffer]",aOe="[object DataView]",oOe="[object Float32Array]",sOe="[object Float64Array]",uOe="[object Int8Array]",lOe="[object Int16Array]",cOe="[object Int32Array]",fOe="[object Uint8Array]",dOe="[object Uint8ClampedArray]",hOe="[object Uint16Array]",pOe="[object Uint32Array]";function vOe(e,t,r){var n=e.constructor;switch(t){case iOe:return rP(e);case XCe:case QCe:return new n(+e);case aOe:return zCe(e,r);case oOe:case sOe:case uOe:case lOe:case cOe:case fOe:case dOe:case hOe:case pOe:return YCe(e,r);case JCe:return new n;case ZCe:case rOe:return new n(e);case eOe:return GCe(e);case tOe:return new n;case nOe:return KCe(e)}}var dY=Object.create,gOe=(function(){function e(){}return function(t){if(!gp(t))return{};if(dY)return dY(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}})();function mOe(e){return typeof e.constructor=="function"&&!JI(e)?gOe(XI(e)):{}}var yOe="[object Map]";function _Oe(e){return Lc(e)&&ou(e)==yOe}var hY=$f&&$f.isMap,EOe=hY?QI(hY):_Oe,SOe="[object Set]";function wOe(e){return Lc(e)&&ou(e)==SOe}var pY=$f&&$f.isSet,bOe=pY?QI(pY):wOe,TOe=1,AOe=2,ROe=4,gne="[object Arguments]",xOe="[object Array]",COe="[object Boolean]",OOe="[object Date]",IOe="[object Error]",mne="[object Function]",POe="[object GeneratorFunction]",kOe="[object Map]",DOe="[object Number]",yne="[object Object]",LOe="[object RegExp]",NOe="[object Set]",MOe="[object String]",$Oe="[object Symbol]",FOe="[object WeakMap]",jOe="[object ArrayBuffer]",UOe="[object DataView]",qOe="[object Float32Array]",BOe="[object Float64Array]",VOe="[object Int8Array]",HOe="[object Int16Array]",zOe="[object Int32Array]",WOe="[object Uint8Array]",GOe="[object Uint8ClampedArray]",KOe="[object Uint16Array]",YOe="[object Uint32Array]",ei={};ei[gne]=ei[xOe]=ei[jOe]=ei[UOe]=ei[COe]=ei[OOe]=ei[qOe]=ei[BOe]=ei[VOe]=ei[HOe]=ei[zOe]=ei[kOe]=ei[DOe]=ei[yne]=ei[LOe]=ei[NOe]=ei[MOe]=ei[$Oe]=ei[WOe]=ei[GOe]=ei[KOe]=ei[YOe]=!0;ei[IOe]=ei[mne]=ei[FOe]=!1;function ph(e,t,r,n,i,a){var o,l=t&TOe,u=t&AOe,f=t&ROe;if(o!==void 0)return o;if(!gp(e))return e;var d=mp(e);if(d){if(o=HCe(e),!l)return fne(e,o)}else{var h=ou(e),p=h==mne||h==POe;if(ane(e))return xCe(e,l);if(h==yne||h==gne||p&&!i){if(o=u||p?{}:mOe(e),!l)return u?DCe(e,ACe(o,e)):PCe(e,ECe(o,e))}else{if(!ei[h])return i?e:{};o=vOe(e,h,l)}}a||(a=new vd);var y=a.get(e);if(y)return y;a.set(e,o),bOe(e)?e.forEach(function(S){o.add(ph(S,t,r,S,e,a))}):EOe(e)&&e.forEach(function(S,w){o.set(w,ph(S,t,r,w,e,a))});var _=f?u?NCe:LCe:u?eP:ZI,E=d?void 0:_(e);return Axe(E||e,function(S,w){E&&(w=S,S=e[w]),rne(o,w,ph(S,t,r,w,e,a))}),o}var XOe=4;function vY(e){return ph(e,XOe)}function _ne(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 QOe="[object Symbol]";function nP(e){return typeof e=="symbol"||Lc(e)&&Dc(e)==QOe}var JOe="Expected a function";function iP(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(JOe);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(iP.Cache||ml),r}iP.Cache=ml;var ZOe=500;function eIe(e){var t=iP(e,function(n){return r.size===ZOe&&r.clear(),n}),r=t.cache;return t}var tIe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,rIe=/\\(\\)?/g,nIe=eIe(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(tIe,function(r,n,i,a){t.push(i?a.replace(rIe,"$1"):n||r)}),t});function iIe(e){if(typeof e=="string"||nP(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var gY=sl?sl.prototype:void 0,mY=gY?gY.toString:void 0;function Ene(e){if(typeof e=="string")return e;if(mp(e))return _ne(e,Ene)+"";if(nP(e))return mY?mY.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function aIe(e){return e==null?"":Ene(e)}function Sne(e){return mp(e)?_ne(e,iIe):nP(e)?[e]:fne(nIe(aIe(e)))}var oIe=1,sIe=4;function uIe(e){return ph(e,oIe|sIe)}function Xn(){return Xn=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},Xn.apply(this,arguments)}function wne(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Ju(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 yY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var _Y=function(t){return Array.isArray(t)&&t.length===0},Sa=function(t){return typeof t=="function"},py=function(t){return t!==null&&typeof t=="object"},lIe=function(t){return String(Math.floor(Number(t)))===t},vx=function(t){return Object.prototype.toString.call(t)==="[object String]"},bne=function(t){return Se.Children.count(t)===0},gx=function(t){return py(t)&&Sa(t.then)};function _i(e,t,r,n){n===void 0&&(n=0);for(var i=Sne(t);e&&n<i.length;)e=e[i[n++]];return e===void 0?r:e}function $s(e,t,r){for(var n=vY(e),i=n,a=0,o=Sne(t);a<o.length-1;a++){var l=o[a],u=_i(e,o.slice(0,a+1));if(u&&(py(u)||Array.isArray(u)))i=i[l]=vY(u);else{var f=o[a+1];i=i[l]=lIe(f)&&Number(f)>=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 Tne(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],l=e[o];py(l)?r.get(l)||(r.set(l,!0),n[o]=Array.isArray(l)?[]:{},Tne(l,t,r,n[o])):n[o]=t}return n}var yp=Se.createContext(void 0);yp.displayName="FormikContext";var cIe=yp.Provider,fIe=yp.Consumer;function aP(){var e=Se.useContext(yp);return e}function dIe(e,t){switch(t.type){case"SET_VALUES":return Xn({},e,{values:t.payload});case"SET_TOUCHED":return Xn({},e,{touched:t.payload});case"SET_ERRORS":return Xu(e.errors,t.payload)?e:Xn({},e,{errors:t.payload});case"SET_STATUS":return Xn({},e,{status:t.payload});case"SET_ISSUBMITTING":return Xn({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return Xn({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return Xn({},e,{values:$s(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return Xn({},e,{touched:$s(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return Xn({},e,{errors:$s(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return Xn({},e,t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return Xn({},e,{touched:Tne(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":return Xn({},e,{isSubmitting:!1});case"SUBMIT_SUCCESS":return Xn({},e,{isSubmitting:!1});default:return e}}var Dl={},Ov={};function hIe(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,l=e.isInitialValid,u=e.enableReinitialize,f=u===void 0?!1:u,d=e.onSubmit,h=Ju(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),p=Xn({validateOnChange:r,validateOnBlur:i,validateOnMount:o,onSubmit:d},h),y=Se.useRef(p.initialValues),_=Se.useRef(p.initialErrors||Dl),E=Se.useRef(p.initialTouched||Ov),S=Se.useRef(p.initialStatus),w=Se.useRef(!1),T=Se.useRef({});Se.useEffect(function(){return w.current=!0,function(){w.current=!1}},[]);var C=Se.useReducer(dIe,{values:p.initialValues,errors:p.initialErrors||Dl,touched:p.initialTouched||Ov,status:p.initialStatus,isSubmitting:!1,isValidating:!1,submitCount:0}),x=C[0],R=C[1],O=Se.useCallback(function(de,me){return new Promise(function(ge,Te){var Pe=p.validate(de,me);Pe==null?ge(Dl):gx(Pe)?Pe.then(function(De){ge(De||Dl)},function(De){Te(De)}):ge(Pe)})},[p.validate]),m=Se.useCallback(function(de,me){var ge=p.validationSchema,Te=Sa(ge)?ge(me):ge,Pe=me&&Te.validateAt?Te.validateAt(me,de):vIe(de,Te);return new Promise(function(De,qe){Pe.then(function(){De(Dl)},function(_t){_t.name==="ValidationError"?De(pIe(_t)):qe(_t)})})},[p.validationSchema]),D=Se.useCallback(function(de,me){return new Promise(function(ge){return ge(T.current[de].validate(me))})},[]),U=Se.useCallback(function(de){var me=Object.keys(T.current).filter(function(Te){return Sa(T.current[Te].validate)}),ge=me.length>0?me.map(function(Te){return D(Te,_i(de,Te))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(ge).then(function(Te){return Te.reduce(function(Pe,De,qe){return De==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||De&&(Pe=$s(Pe,me[qe],De)),Pe},{})})},[D]),K=Se.useCallback(function(de){return Promise.all([U(de),p.validationSchema?m(de):{},p.validate?O(de):{}]).then(function(me){var ge=me[0],Te=me[1],Pe=me[2],De=_C.all([ge,Te,Pe],{arrayMerge:gIe});return De})},[p.validate,p.validationSchema,U,O,m]),B=Ko(function(de){return de===void 0&&(de=x.values),R({type:"SET_ISVALIDATING",payload:!0}),K(de).then(function(me){return w.current&&(R({type:"SET_ISVALIDATING",payload:!1}),R({type:"SET_ERRORS",payload:me})),me})});Se.useEffect(function(){o&&w.current===!0&&Xu(y.current,p.initialValues)&&B(y.current)},[o,B]);var W=Se.useCallback(function(de){var me=de&&de.values?de.values:y.current,ge=de&&de.errors?de.errors:_.current?_.current:p.initialErrors||{},Te=de&&de.touched?de.touched:E.current?E.current:p.initialTouched||{},Pe=de&&de.status?de.status:S.current?S.current:p.initialStatus;y.current=me,_.current=ge,E.current=Te,S.current=Pe;var De=function(){R({type:"RESET_FORM",payload:{isSubmitting:!!de&&!!de.isSubmitting,errors:ge,touched:Te,status:Pe,values:me,isValidating:!!de&&!!de.isValidating,submitCount:de&&de.submitCount&&typeof de.submitCount=="number"?de.submitCount:0}})};if(p.onReset){var qe=p.onReset(x.values,Z);gx(qe)?qe.then(De):De()}else De()},[p.initialErrors,p.initialStatus,p.initialTouched]);Se.useEffect(function(){w.current===!0&&!Xu(y.current,p.initialValues)&&(f&&(y.current=p.initialValues,W()),o&&B(y.current))},[f,p.initialValues,W,o,B]),Se.useEffect(function(){f&&w.current===!0&&!Xu(_.current,p.initialErrors)&&(_.current=p.initialErrors||Dl,R({type:"SET_ERRORS",payload:p.initialErrors||Dl}))},[f,p.initialErrors]),Se.useEffect(function(){f&&w.current===!0&&!Xu(E.current,p.initialTouched)&&(E.current=p.initialTouched||Ov,R({type:"SET_TOUCHED",payload:p.initialTouched||Ov}))},[f,p.initialTouched]),Se.useEffect(function(){f&&w.current===!0&&!Xu(S.current,p.initialStatus)&&(S.current=p.initialStatus,R({type:"SET_STATUS",payload:p.initialStatus}))},[f,p.initialStatus,p.initialTouched]);var Y=Ko(function(de){if(T.current[de]&&Sa(T.current[de].validate)){var me=_i(x.values,de),ge=T.current[de].validate(me);return gx(ge)?(R({type:"SET_ISVALIDATING",payload:!0}),ge.then(function(Te){return Te}).then(function(Te){R({type:"SET_FIELD_ERROR",payload:{field:de,value:Te}}),R({type:"SET_ISVALIDATING",payload:!1})})):(R({type:"SET_FIELD_ERROR",payload:{field:de,value:ge}}),Promise.resolve(ge))}else if(p.validationSchema)return R({type:"SET_ISVALIDATING",payload:!0}),m(x.values,de).then(function(Te){return Te}).then(function(Te){R({type:"SET_FIELD_ERROR",payload:{field:de,value:Te[de]}}),R({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),Q=Se.useCallback(function(de,me){var ge=me.validate;T.current[de]={validate:ge}},[]),ie=Se.useCallback(function(de){delete T.current[de]},[]),ae=Ko(function(de,me){R({type:"SET_TOUCHED",payload:de});var ge=me===void 0?i:me;return ge?B(x.values):Promise.resolve()}),ve=Se.useCallback(function(de){R({type:"SET_ERRORS",payload:de})},[]),H=Ko(function(de,me){var ge=Sa(de)?de(x.values):de;R({type:"SET_VALUES",payload:ge});var Te=me===void 0?r:me;return Te?B(ge):Promise.resolve()}),J=Se.useCallback(function(de,me){R({type:"SET_FIELD_ERROR",payload:{field:de,value:me}})},[]),z=Ko(function(de,me,ge){R({type:"SET_FIELD_VALUE",payload:{field:de,value:me}});var Te=ge===void 0?r:ge;return Te?B($s(x.values,de,me)):Promise.resolve()}),ue=Se.useCallback(function(de,me){var ge=me,Te=de,Pe;if(!vx(de)){de.persist&&de.persist();var De=de.target?de.target:de.currentTarget,qe=De.type,_t=De.name,Ut=De.id,Mt=De.value,Xe=De.checked;De.outerHTML;var wt=De.options,mt=De.multiple;ge=me||_t||Ut,Te=/number|range/.test(qe)?(Pe=parseFloat(Mt),isNaN(Pe)?"":Pe):/checkbox/.test(qe)?yIe(_i(x.values,ge),Xe,Mt):wt&&mt?mIe(wt):Mt}ge&&z(ge,Te)},[z,x.values]),we=Ko(function(de){if(vx(de))return function(me){return ue(me,de)};ue(de)}),ke=Ko(function(de,me,ge){me===void 0&&(me=!0),R({type:"SET_FIELD_TOUCHED",payload:{field:de,value:me}});var Te=ge===void 0?i:ge;return Te?B(x.values):Promise.resolve()}),Be=Se.useCallback(function(de,me){de.persist&&de.persist();var ge=de.target,Te=ge.name,Pe=ge.id;ge.outerHTML;var De=me||Te||Pe;ke(De,!0)},[ke]),nt=Ko(function(de){if(vx(de))return function(me){return Be(me,de)};Be(de)}),rt=Se.useCallback(function(de){Sa(de)?R({type:"SET_FORMIK_STATE",payload:de}):R({type:"SET_FORMIK_STATE",payload:function(){return de}})},[]),q=Se.useCallback(function(de){R({type:"SET_STATUS",payload:de})},[]),I=Se.useCallback(function(de){R({type:"SET_ISSUBMITTING",payload:de})},[]),N=Ko(function(){return R({type:"SUBMIT_ATTEMPT"}),B().then(function(de){var me=de instanceof Error,ge=!me&&Object.keys(de).length===0;if(ge){var Te;try{if(Te=L(),Te===void 0)return}catch(Pe){throw Pe}return Promise.resolve(Te).then(function(Pe){return w.current&&R({type:"SUBMIT_SUCCESS"}),Pe}).catch(function(Pe){if(w.current)throw R({type:"SUBMIT_FAILURE"}),Pe})}else if(w.current&&(R({type:"SUBMIT_FAILURE"}),me))throw de})}),M=Ko(function(de){de&&de.preventDefault&&Sa(de.preventDefault)&&de.preventDefault(),de&&de.stopPropagation&&Sa(de.stopPropagation)&&de.stopPropagation(),N().catch(function(me){console.warn("Warning: An unhandled error was caught from submitForm()",me)})}),Z={resetForm:W,validateForm:B,validateField:Y,setErrors:ve,setFieldError:J,setFieldTouched:ke,setFieldValue:z,setStatus:q,setSubmitting:I,setTouched:ae,setValues:H,setFormikState:rt,submitForm:N},L=Ko(function(){return d(x.values,Z)}),G=Ko(function(de){de&&de.preventDefault&&Sa(de.preventDefault)&&de.preventDefault(),de&&de.stopPropagation&&Sa(de.stopPropagation)&&de.stopPropagation(),W()}),pe=Se.useCallback(function(de){return{value:_i(x.values,de),error:_i(x.errors,de),touched:!!_i(x.touched,de),initialValue:_i(y.current,de),initialTouched:!!_i(E.current,de),initialError:_i(_.current,de)}},[x.errors,x.touched,x.values]),fe=Se.useCallback(function(de){return{setValue:function(ge,Te){return z(de,ge,Te)},setTouched:function(ge,Te){return ke(de,ge,Te)},setError:function(ge){return J(de,ge)}}},[z,ke,J]),be=Se.useCallback(function(de){var me=py(de),ge=me?de.name:de,Te=_i(x.values,ge),Pe={name:ge,value:Te,onChange:we,onBlur:nt};if(me){var De=de.type,qe=de.value,_t=de.as,Ut=de.multiple;De==="checkbox"?qe===void 0?Pe.checked=!!Te:(Pe.checked=!!(Array.isArray(Te)&&~Te.indexOf(qe)),Pe.value=qe):De==="radio"?(Pe.checked=Te===qe,Pe.value=qe):_t==="select"&&Ut&&(Pe.value=Pe.value||[],Pe.multiple=!0)}return Pe},[nt,we,x.values]),_e=Se.useMemo(function(){return!Xu(y.current,x.values)},[y.current,x.values]),Ce=Se.useMemo(function(){return typeof l<"u"?_e?x.errors&&Object.keys(x.errors).length===0:l!==!1&&Sa(l)?l(p):l:x.errors&&Object.keys(x.errors).length===0},[l,_e,x.errors,p]),Me=Xn({},x,{initialValues:y.current,initialErrors:_.current,initialTouched:E.current,initialStatus:S.current,handleBlur:nt,handleChange:we,handleReset:G,handleSubmit:M,resetForm:W,setErrors:ve,setFormikState:rt,setFieldTouched:ke,setFieldValue:z,setFieldError:J,setStatus:q,setSubmitting:I,setTouched:ae,setValues:H,submitForm:N,validateForm:B,validateField:Y,isValid:Ce,dirty:_e,unregisterField:ie,registerField:Q,getFieldProps:be,getFieldMeta:pe,getFieldHelpers:fe,validateOnBlur:i,validateOnChange:r,validateOnMount:o});return Me}function ALe(e){var t=hIe(e),r=e.component,n=e.children,i=e.render,a=e.innerRef;return Se.useImperativeHandle(a,function(){return t}),Se.createElement(cIe,{value:t},r?Se.createElement(r,t):i?i(t):n?Sa(n)?n(t):bne(n)?null:Se.Children.only(n):null)}function pIe(e){var t={};if(e.inner){if(e.inner.length===0)return $s(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;_i(t,o.path)||(t=$s(t,o.path,o.message))}}return t}function vIe(e,t,r,n){r===void 0&&(r=!1),n===void 0&&(n={});var i=TC(e);return t[r?"validateSync":"validate"](i,{abortEarly:!1,context:n})}function TC(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||GK(i)?TC(i):i!==""?i:void 0}):GK(e[n])?t[n]=TC(e[n]):t[n]=e[n]!==""?e[n]:void 0}return t}function gIe(e,t,r){var n=e.slice();return t.forEach(function(a,o){if(typeof n[o]>"u"){var l=r.clone!==!1,u=l&&r.isMergeableObject(a);n[o]=u?_C(Array.isArray(a)?[]:{},a,r):a}else r.isMergeableObject(a)?n[o]=_C(e[o],a,r):e.indexOf(a)===-1&&n.push(a)}),n}function mIe(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function yIe(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 _Ie=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?Se.useLayoutEffect:Se.useEffect;function Ko(e){var t=Se.useRef(e);return _Ie(function(){t.current=e}),Se.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 RLe(e){var t=e.validate,r=e.name,n=e.render,i=e.children,a=e.as,o=e.component,l=Ju(e,["validate","name","render","children","as","component"]),u=aP(),f=Ju(u,["validate","validationSchema"]),d=f.registerField,h=f.unregisterField;Se.useEffect(function(){return d(r,{validate:t}),function(){h(r)}},[d,h,r,t]);var p=f.getFieldProps(Xn({name:r},l)),y=f.getFieldMeta(r),_={field:p,form:f};if(n)return n(Xn({},_,{meta:y}));if(Sa(i))return i(Xn({},_,{meta:y}));if(o){if(typeof o=="string"){var E=l.innerRef,S=Ju(l,["innerRef"]);return Se.createElement(o,Xn({ref:E},p,S),i)}return Se.createElement(o,Xn({field:p,form:f},l),i)}var w=a||"input";if(typeof w=="string"){var T=l.innerRef,C=Ju(l,["innerRef"]);return Se.createElement(w,Xn({ref:T},p,C),i)}return Se.createElement(w,Xn({},p,l),i)}var EIe=Se.forwardRef(function(e,t){var r=e.action,n=Ju(e,["action"]),i=r??"#",a=aP(),o=a.handleReset,l=a.handleSubmit;return Se.createElement("form",Object.assign({onSubmit:l,ref:t,onReset:o,action:i},n))});EIe.displayName="Form";function SIe(e){var t=function(i){return Se.createElement(fIe,null,function(a){return Se.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+")",LEe(t,e)}var wIe=function(t,r,n){var i=Ff(t),a=i[r];return i.splice(r,1),i.splice(n,0,a),i},bIe=function(t,r,n){var i=Ff(t),a=i[r];return i[r]=i[n],i[n]=a,i},mx=function(t,r,n){var i=Ff(t);return i.splice(r,0,n),i},TIe=function(t,r,n){var i=Ff(t);return i[r]=n,i},Ff=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(Xn({},t,{length:r+1}))}else return[]},AIe=(function(e){wne(t,e);function t(n){var i;return i=e.call(this,n)||this,i.updateArrayField=function(a,o,l){var u=i.props,f=u.name,d=u.formik.setFormikState;d(function(h){var p=typeof l=="function"?l:a,y=typeof o=="function"?o:a,_=$s(h.values,f,a(_i(h.values,f))),E=l?p(_i(h.errors,f)):void 0,S=o?y(_i(h.touched,f)):void 0;return _Y(E)&&(E=void 0),_Y(S)&&(S=void 0),Xn({},h,{values:_,errors:l?$s(h.errors,f,E):h.errors,touched:o?$s(h.touched,f,S):h.touched})})},i.push=function(a){return i.updateArrayField(function(o){return[].concat(Ff(o),[uIe(a)])},!1,!1)},i.handlePush=function(a){return function(){return i.push(a)}},i.swap=function(a,o){return i.updateArrayField(function(l){return bIe(l,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(l){return wIe(l,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(l){return mx(l,a,o)},function(l){return mx(l,a,null)},function(l){return mx(l,a,null)})},i.handleInsert=function(a,o){return function(){return i.insert(a,o)}},i.replace=function(a,o){return i.updateArrayField(function(l){return TIe(l,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(l){var u=l?[a].concat(l):[a];return o<0&&(o=u.length),u},function(l){var u=l?[null].concat(l):[null];return o<0&&(o=u.length),u},function(l){var u=l?[null].concat(l):[null];return o<0&&(o=u.length),u}),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(yY(i)),i.pop=i.pop.bind(yY(i)),i}var r=t.prototype;return r.componentDidUpdate=function(i){this.props.validateOnChange&&this.props.formik.validateOnChange&&!Xu(_i(i.formik.values,i.name),_i(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 l=o?Ff(o):[];return a||(a=l[i]),Sa(l.splice)&&l.splice(i,1),l},!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,l=a.render,u=a.children,f=a.name,d=a.formik,h=Ju(d,["validate","validationSchema"]),p=Xn({},i,{form:h,name:f});return o?Se.createElement(o,p):l?l(p):u?typeof u=="function"?u(p):bne(u)?null:Se.Children.only(u):null},t})(Se.Component);AIe.defaultProps={validateOnChange:!0};var RIe=(function(e){wne(t,e);function t(){return e.apply(this,arguments)||this}var r=t.prototype;return r.shouldComponentUpdate=function(i){return _i(this.props.formik.errors,this.props.name)!==_i(i.formik.errors,this.props.name)||_i(this.props.formik.touched,this.props.name)!==_i(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,l=i.render,u=i.children,f=i.name,d=Ju(i,["component","formik","render","children","name"]),h=_i(o.touched,f),p=_i(o.errors,f);return h&&p?l?Sa(l)?l(p):null:u?Sa(u)?u(p):null:a?Se.createElement(a,d,p):p:null},t})(Se.Component),xLe=SIe(RIe);const xIe=Se.createContext(""),Lh=Se.memo(function(e){const{phrase:t,namespace:r,options:n}=e,i=Se.useContext(xIe),a=r||i,o=Object.assign({escapeText:!0},n),l=Gr.getPhrase(a,t,o);return ce.jsx("span",{dangerouslySetInnerHTML:{__html:l}})},(e,t)=>e.namespace===t.namespace&&e.phrase===t.phrase&&js.isEqual(e.options,t.options));function CIe(e){var n;const[t,r]=Se.useState(!1);return Se.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]),Se.useEffect(()=>{e.isSubmitting&&r(!1)},[e.isSubmitting]),t}function OIe(e){const{showSpinner:t,children:r,style:n,spinnerText:i,...a}=e,o=Se.useRef(null),[{width:l,height:u},f]=Se.useState({}),[d,h]=Se.useState(t);Se.useEffect(()=>{if(!t){f({});return}const y=o.current,_=y.offsetHeight,E=y.offsetWidth;!_||!E||f({width:E,height:_})},[t]),Se.useLayoutEffect(()=>{h(t)},[t]);const p={...n};return l&&(p.width=`${l+1}px`),u&&(p.height=`${u+1}px`),ce.jsx(ny,{ref:o,disabled:t,style:p,...a,children:d?ce.jsxs(ce.Fragment,{children:[ce.jsx(uy,{as:"span",animation:"border",role:"status",size:"sm"}),!!i&&ce.jsx("span",{className:"ps-1",children:i})]}):r})}const IIe={info:"custom-toggle-info"};Ane.defaults={floatEnd:!0};function Ane(e){const{on:t,showStateWhenDisabled:r,tooltipText:n,variant:i,floatEnd:a,hideOutline:o,...l}=e;function u(...S){e.disabled||e.onClick(...S)}const f="d-inline-block align-top custom-toggle toggle-option",d=e.disabled?"disabled":"",h=o?"outline-none":"",p=IIe[i]??"",y=a?"float-end":"";let _=t?"on":"";e.disabled&&!r&&(_="");const E=`${f} ${p} ${_} ${d} ${h} ${y}`;return e.tooltipText?ce.jsx(Jl,{title:n,spanHack:!0,children:ce.jsx(Zx,{...l,role:"switch","aria-checked":`${t}`,onClick:u,className:E,children:ce.jsx("span",{className:"handle"})})}):ce.jsx(Zx,{...l,role:"switch","aria-checked":t,onClick:u,className:E,children:ce.jsx("span",{className:"handle"})})}const Rne="shared.popup",ec=e=>ce.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 xne(e){return ce.jsx(OIe,{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?ce.jsx(ce.Fragment,{children:e.text}):ce.jsx(Lh,{namespace:Rne,phrase:e.isNew?"create":"save"})})}function PIe(e){const t=aP(),r=CIe(t??{}),n=(t==null?void 0:t.isSubmitting)||e.showSpinner;function i(){return typeof e.disabled=="boolean"?e.disabled:!!t&&!r||n}return ce.jsx(xne,{...e,disabled:i(),showSpinner:n})}const kIe=e=>Dr.useContext(yp)?ce.jsx(PIe,{...e}):ce.jsx(xne,{...e}),DIe=e=>ce.jsx(ny,{onClick:e.onClick,variant:e.variant||"link",size:e.size,className:e.className?e.className:"me-2",children:e.text?e.text:ce.jsx(Lh,{namespace:Rne,phrase:"cancel"})}),LIe=e=>ce.jsx(d1e.Check,{type:"checkbox",className:e.className??"me-auto",label:e.label,id:e.id,onChange:e.onToggle,checked:e.checked}),NIe=e=>ce.jsxs("div",{className:"d-flex align-items-center me-auto",children:[ce.jsx(Ane,{on:e.on,onClick:e.onClick,disabled:e.disabled,tooltipText:e.tooltip}),!!e.label&&ce.jsx("span",{className:"fw-semibold ms-2",children:e.label})]});ec.Submit=kIe;ec.Cancel=DIe;ec.Checkbox=LIe;ec.Toggle=NIe;const EY="shared.shared-utils",MIe={render:(e,t={})=>{let r=document.getElementById("dialog-region");r||(r=document.createElement("div"),r.id="dialog-region",document.appendChild(r));const n=$I.createRoot(r);function i(){var u;if(Ro.isFunction((u=t.submitButtonProps)==null?void 0:u.onClick)){const f=t.submitButtonProps.onClick();if(f instanceof Promise){f.then(()=>{n.unmount()});return}}n.unmount()}function a(){var u;Ro.isFunction((u=t.cancelButtonProps)==null?void 0:u.onClick)&&t.cancelButtonProps.onClick(),n.unmount()}const o={...t.submitButtonProps?t.submitButtonProps:{},onClick:()=>{i()}},l={...t.cancelButtonProps?t.cancelButtonProps:{},onClick:()=>{a()}};n.render(ce.jsxs(Kre,{title:t.title,closePopup:a,size:t.size,centered:t.centered,bodyClassName:"overflow-hidden",dialogClassName:t.dialogClassName,children:[e,!t.hideButtons&&ce.jsxs(ec,{className:t.buttonContainerClassName,children:[t.cancelButtonProps&&ce.jsx(ec.Cancel,{...l}),t.submitButtonProps&&ce.jsx(ec.Submit,{...o})]})]}))},getDefaultSubmitButton(){return{variant:"dark",text:Gr.getPhrase(EY,"confirm")}},getDefaultCancelButton(){return{variant:"light",text:Gr.getPhrase(EY,"cancel")}}},Iv=Gr.encloseNamespace("shared.hooks"),$Ie=()=>{const[e,t]=Dr.useState([]),r=Mr.Radio.channel(mn.SHELL);Dr.useEffect(()=>(e.find(u=>!u.allowAppLinks)&&r.on(En.NAV_IS_LOCKED,a),e.length&&window.addEventListener("beforeunload",o),()=>{r.off(En.NAV_IS_LOCKED,a),window.removeEventListener("beforeunload",o)}),[e]),Dr.useEffect(()=>{function u(){n({id:"upload",title:Iv("navLockTitle"),text:Iv("navLockBody"),allowAppLinks:!0})}const f=Mr.Radio.channel(ih.VIDEO_UPLOAD);return f.on(fu.FILES_ADDED,u),f.on(fu.UNLOCK_NAV,i),()=>{f.off(fu.FILES_ADDED,u),f.off(fu.UNLOCK_NAV,i)}},[]);function n(u={}){e.find(f=>f.id===u.id)||(u.allowAppLinks||r.trigger(En.LOCK_NAV),t([...e,u]))}function i(u){const f=e.filter(d=>d.id!==u);(f.length===0||!f.find(d=>!d.allowAppLinks))&&r.trigger(En.UNLOCK_NAV),t(f)}function a(u){var d;if(!e.length)return;const f=e.find(h=>!h.allowAppLinks);if((d=f.appLinkWhitelist)!=null&&d.find(h=>h.action===u.action&&h.application===u.application)){r.trigger(En.UNLOCK_NAV),window.setTimeout(()=>{Ai.trigger(u),r.trigger(En.LOCK_NAV)},0);return}if(Ro.isFunction(f.renderCustomDialog)){f.renderCustomDialog();return}MIe.render(ce.jsx("p",{children:f.text}),{title:f.title,submitButtonProps:{onClick:()=>{f.onConfirmUnlock&&f.onConfirmUnlock(),l(u)},variant:"danger",text:Iv("discard")},cancelButtonProps:{text:Iv("cancel"),variant:"link"}})}function o(u){let f=e.find(d=>d.allowAppLinks);return f||(f=ac.first(e)),u.returnValue=f.text,f.text}function l(u){r.trigger(En.NAV_UNLOCKED_BY_USER),e.forEach(f=>{f.allowAppLinks||i(f.id)}),window.removeEventListener("beforeunload",o),Ai.trigger(u)}return{lock:n,unlock:i}};function FIe(){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)}Se.useEffect(()=>(window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)),[])}function jIe(){const e=ea(ol.version());return e.data?ce.jsx("footer",{className:"text-center text-secondary my-2",children:ce.jsxs("small",{children:["2003 - ",new Date().getFullYear()," © ClickView | Version: ",e.data]})}):ce.jsx(ce.Fragment,{})}function UIe(){return ce.jsx("svg",{viewBox:"0 0 434 71",children:ce.jsxs("g",{children:[ce.jsx("path",{fill:"#000000",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"}),ce.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 CLe(){return ce.jsx("svg",{viewBox:"0 0 41 70",children:ce.jsx("g",{children:ce.jsx("path",{fill:"#F8981D",d:"M 0 0 41 35 0 70z"})})})}const ua={currentUser(e,t){return{url:"/api/currentuser",key:"currentuser",normalizeOptions:{namespace:"currentuser"},bootstrapName:Zl.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:_s.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:Zi.POST,data:{emailAddress:e},success:t,error:r,always:n,invalidationKeys:["verify:email:status"]}},token(e,t){return{url:"/api/token",key:"token",bootstrapName:Zl.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:Zl.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:Zi.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=ac.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:Zi.PUT,data:e,invalidationKeys:["search:aggregation","currentuser"],success:t,error:r,always:n}}},Cne=e=>{const t=ea(ua.currentUser()),r=ea(t.hasCompleted&&lh.getCustomerSettingsRequest(t.data)),n=ea(t.hasCompleted&&lh.getUserSettingsRequest(t.data)),i=up(),a=!!r.hasCompleted&&!!n.hasCompleted,o=E=>{var T,C;if(!a||r.hasError||n.hasError)return null;const S=(T=r.data)==null?void 0:T[E];if(S)return S==null?void 0:S.value;const w=(C=n.data)==null?void 0:C[E];return w?w==null?void 0:w.value:null};function l(E,S,w,T,C){return E==="user"?zl.updateUserSetting(S,w,T,C):zl.updateCustomerSetting(S,w,T,C)}const u=(E,S,w,T,C)=>{function x(){qa.logUserAction({name:S.name,value:S.value},{location:e,entity:kn.UserSetting,actionType:Bt.Edit}),w==null||w()}cd(i,l(E,S,x,T,C))},f=(E,S)=>new Promise((w,T)=>{u(E,S,w,T)}),d=(E,S,w,T)=>u("user",E,S,w,T),h=(E,S,w,T)=>u("customer",E,S,w,T),p=E=>f("user",E),y=E=>f("customer",E);function _(){var E;return(E=t.data)!=null&&E.isAuthenticated?o(wr.HasTopicDirectories):!0}return{isLoadingSettings:!a,updateUserSetting:d,updateUserSettingAsync:p,updateCustomerSetting:h,updateCustomerSettingAsync:y,userSettings:n,shareToGoogleClassroom:o(wr.ShareToGoogleClassroom),shareToMicrosoftTeams:o(wr.ShareToMicrosoftTeams),hasLti:o(wr.LTI),defaultPlaybackQuality:o(wr.DefaultPlaybackQuality),defaultLocalCachePlaybackQuality:o(wr.DefaultLocalCachePlaybackQuality),enableSubtitlesDefault:o(wr.EnableSubtitlesDefault),hasCompletedOnboardingV1:o(wr.HasCompletedOnboardingV1),hasCompletedOnboardingV2:o(wr.HasCompletedOnboardingV2),hasOnboardingV2:o(wr.HasNewOnboarding),hasCompletedOnboardingStepCreatePlaylist:o(wr.HasCompletedOnboardingStepCreatePlaylist),hasCompletedOnboardingProductTips:o(wr.HasCompletedOnboardingProductTips),liteUpgradeTime:o(wr.LiteUpgradeTime),liteUpgradeTypeCustomer:o(wr.LiteUpgradeTypeCustomer),liteUpgradeTypeUser:o(wr.LiteUpgradeTypeUser),hasCompletedUpgradeOnboarding:o(wr.HasCompletedUpgradeOnboarding),liteUpgradeFeedback:o(wr.LiteUpgradeFeedback),liteUpgradeComplete:o(wr.LiteUpgradeComplete),hasNewClassificationView:o(wr.HasNewClassificationView),hasCuratedDiscoverDashboards:o(wr.HasCuratedDiscoverDashboards),hasSpecialEventCalendar:o(wr.HasSpecialEventCalendar),hasLiteSearchDropdown:o(wr.HasLiteSearchDropdown),policyEndTime:o(wr.PolicyEndTime),bulkOnboardingPreferencesState:o(wr.BulkOnboardingPreferencesState),hasOnlineTopics:o(wr.Topics),hasPreviewVideos:o(wr.PreviewVideos),domainSettings:o(wr.DomainSettings),inviteColleague:o(wr.InviteColleague),myVideosFolders:o(wr.MyVideosFolders),exchangeTvProductOption:o(wr.ExchangeTvProductOption),messageFrequencyOption:o(wr.MessageFrequencyOption),tvRegion:o(wr.TvRegion),hasEnabledViviStudentCasting:o(wr.HasEnabledViviStudentCasting),hasEnabledViviPlayback:o(wr.HasEnabledViviPlayback),hasEnabledAppleTvPlayback:o(wr.HasEnabledAppleTvPlayback),hasDisplayedPresentationSwitcherProductTip:o(wr.HasDisplayedPresentationSwitcherProductTip),hasDisplayedTopicsDirectoryTabProductTip:o(wr.HasDisplayedTopicsDirectoryTabProductTip),hasDisplayedGiveFeedbackFormProductTip:o(wr.HasDisplayedGiveFeedbackFormProductTip),hasDisplayedWhatsNewLinkProductTip:o(wr.HasDisplayedWhatsNewLinkProductTip),showExchangeSearchResults:o(wr.ShowExchangeSearchResultsUser),shareOverrideRestrictions:o(wr.ShareOverrideRestrictions),hasTopicDirectories:_(),hasTopicVideoListFeature:o(wr.HasTopicVideoListFeature),hasManageGroupPermissions:o(wr.HasManageGrouPermissions),experimentalInteractiveQuestions:o(wr.ExperimentalInteractiveQuestions),hasClassrooms:o(wr.HasClassrooms),hasNewSearch:o(wr.HasNewSearch),hasPlayPageTranscript:o(wr.HasPlayPageTranscript),hasShareFlowV2:o(wr.HasShareFlowV2),reverseTrialReferralCount:o(wr.ReverseTrialReferralCount)}};var vy=(e=>(e.Small="small",e.Medium="medium",e.Large="large",e))(vy||{}),Qu=(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))(Qu||{}),qIe=(e=>(e[e.Crop=0]="Crop",e[e.Stretched=1]="Stretched",e[e.Cover=2]="Cover",e))(qIe||{});function BIe(e){return ce.jsx("svg",{...e,children:ce.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 VIe={[Qu.Banners]:"banner",[Qu.Thumbnails]:"thumbnail"},SY={[Qu.Banners]:"banners",[Qu.Thumbnails]:"thumbnails",[Qu.TallPosters]:"tallPosters",[Qu.Covers]:"covers",[Qu.Avatars]:"avatars"},HIe={categoryMapper:e=>`/v1/category-map/${e}`},iu={createUrl(e,t){return iu._createUrl(e,t)},createBannerUrl(e,t,r){return e&&e.url?iu._createUrl(e.url,r):iu._createCategoryMappedUrl(t,r)},createResourceImage(e,t,r){return iu._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=_s.safeUrlConcat(r,`${HIe.categoryMapper(VIe[i])}`),o={name:iu.Rfc3986EncodeURIComponent(n),...t};return iu._createUrl(a,o)},_createUrl(e,t){if(!e)return;if(js.isEmpty(t))return e;const r=Th.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 gu?r=e.get("url"):typeof e=="string"?r=e:r=e.url,!r))return;const n={size:vy.Small,bgColor:"000",...t};return iu._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){SY[t]||vr.throw(new Rn(`ImageType:${t} not supported, please add it to 'ImageApiImageTypes'`));const i=_s.safeUrlConcat(e,`v2/${SY[t]}/${r}`);return _s.urlBuilder(i,{size:n})}},zIe="_avatar_xiggt_1",WIe="_dot_xiggt_11",yx={avatar:zIe,dot:WIe};function GIe(e,t){return t?iu.createUrl(_s.safeUrlConcat(e,`/v1/profile-images?initials=${t}`),{size:vy.Small}):""}function KIe(e){const t=!e.anonymiseUsers&&e.imageUrl||GIe(e.imageCdnUrl,e.initials);return ce.jsxs("div",{className:"position-relative h-100 w-100",children:[e.showAnonymousUser?ce.jsx("div",{className:`${yx.avatar} ${(e==null?void 0:e.extraClasses)||""} bg-gray-700 text-light`,children:ce.jsx(al,{svg:BIe,size:e.anonymousSvgSize||_re.Large,className:"svg-container w-100 h-100"})}):ce.jsx("div",{className:`${yx.avatar} ${(e==null?void 0:e.extraClasses)||""}`,style:{backgroundImage:`url('${t}')`},children:" "}),e.showDot&&ce.jsx("div",{className:`${yx.dot} rounded-circle bg-danger`})]})}var Xo=(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.ShareToOpenClassrooms="share.direct.openclassrooms",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.CreatePlaylist="playlist.create",e))(Xo||{});function YIe(){return Dr.useContext(Gre)}var oP=(e=>(e.UPDATE="UPDATE_VIEW_MODEL",e))(oP||{});function XIe(e){return e?e===ys.SessionStorage?Ng:Vi:null}const One=(e,t,r)=>{const n=XIe(r==null?void 0:r.storage);let i=n==null?void 0:n.get(e);const a=up(),o=Uee(h=>h.viewModelData[e]);(i==="undefined"||i==="null")&&(i=null);function l(){return i!=null}const u=(t!==void 0||l())&&o===void 0;Dr.useEffect(()=>{if(u){if(l()){f(i);return}f(t);return}},[]);function f(h,p){n&&d(h,p),a({type:oP.UPDATE,payload:{viewModelKey:e,dataOrKey:h,keyData:p}})}function d(h,p){if(!n)return;const y=n.get(e);if(typeof h=="string"&&p!==void 0){n.set(e,{...y,[h]:p});return}n.set(e,h)}return u?l()?[i,f]:[t,f]:[o??void 0,f]},QIe=new Set(["system_cv_trial_reverse_14_v1","system_cv_trial_reverse_ended_v1"]);function JIe(){var i;const e=ea(ua.currentUser()),t=ea(e.hasCompleted&&((i=e.data)==null?void 0:i.isAuthenticated)&&ua.accessPolicy());function r(a){var l,u;return t.data?(((u=(l=t.data)==null?void 0:l.permissions)==null?void 0:u.additional)??[]).includes(a):!1}function n(){return t.data?QIe.has(t.data.id)?new Set([Xo.ShareToOpenClassrooms,Xo.ViewInsights,Xo.ViewClassrooms,Xo.UploadVideo,Xo.ViewMyShares,Xo.CreatePlaylist,Xo.FavouriteVideo]):new Set:new Set}return{isLoaded:e.hasCompleted&&t.hasCompleted,accessPolicy:t.data,policyHasOption:r,gatedPermissions:n()}}const ZIe={LOCAL_PERMISSIONS:"local:permissions",BULK_USER_ACTIONS:"bulk:user:actions"},gy=()=>{const e=ea(ua.currentUser()),t=ea(e.hasCompleted&&ua.permissions()),{gatedPermissions:r}=JIe(),[n]=One(ZIe.LOCAL_PERMISSIONS),i=l=>!t.hasCompleted||t.hasError?!1:!l||!(l!=null&&l.length)?!0:Array.isArray(l)?!l.find(u=>!t.data[u]):!!t.data[l],a=l=>(n||vr.throw(new Rn("Local Permissions should be registered during start up.")),!l||!(l!=null&&l.length)?!0:Array.isArray(l)?!l.find(u=>!n[u]):!!n[l]),o=l=>!t.hasCompleted||t.hasError?"hidden":r.has(l)?t.data[l]?"soft-gate":"hard-gate":t.data[l]?"visible":"hidden";return{permissions:t.data,hasPermissions:i,hasLocalPermissions:a,getGatedPermission:o,isLoaded:t.hasCompleted}};function wY(e){return ce.jsx("svg",{...e,children:ce.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"})})}const _x={"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 Fl=(e=>(e.Disabled="Disabled",e.Active="Active",e.Inactive="Inactive",e))(Fl||{}),bf=(e=>(e.Unknown="Unknown",e.Staff="Staff",e.Learner="Learner",e.System="System",e))(bf||{}),Yo=(e=>(e.Guest="Guest",e.User="User",e.Admin="Admin",e.SuperAdmin="SuperAdmin",e))(Yo||{});const Ul={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 Ul.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=bf.Unknown;break;case 1:t=bf.Staff;break;case 2:t=bf.Learner;break;case 255:t=bf.System;break}return t},getUserStatus(e){let t=e.status;if(typeof t=="number")switch(t){case 0:t=Fl.Disabled;break;case 1:t=Fl.Active;break;case 2:t=Fl.Inactive;break}return t},getUserStatusFromValue(e){if(typeof e=="number")switch(e){case 0:e=Fl.Disabled;break;case 1:e=Fl.Active;break;case 2:e=Fl.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 Yo.User;if(typeof t=="number")switch(t){case 16:t=Yo.Guest;break;case 32:t=Yo.User;break;case 48:t=Yo.Admin;break;case 64:t=Yo.SuperAdmin;break}return t},getUserRoleFromValue(e){if(!e&&e!==0)return Yo.User;if(typeof e=="number")switch(e){case 16:return Yo.Guest;case 32:return Yo.User;case 48:return Yo.Admin;case 64:return Yo.SuperAdmin;default:return Yo.User}return e},getDisplayName(e){var t,r;return(t=e.metadata)!=null&&t.displayName?(r=e.metadata)==null?void 0:r.displayName:Ul.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?ac.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 Ul.hasLegacySso(e)||Ul.hasNonLegacySso(e)},getPersonaFromJobTitle(e){if(!e)return"teacher";const t={};for(const n in _x)_x.hasOwnProperty(n)&&(t[n.toLowerCase()]=_x[n]);const r=t[e.toLowerCase()];return r||"teacher"},isKDM(e){return e?Ul.getPersonaFromJobTitle(e)==="kdm":!1},getValidYearGroups(e){return e?e.filter(t=>t.value!==0):[]}};function bY(e){return ce.jsx("svg",{...e,children:ce.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 ePe="_toggle_1f3ot_1",tPe={toggle:ePe},rPe=4,TY="shared.customerSelectorItem";function nPe(e){var n;function t(i,a=null){a!==e.currentCustomerId&&(qa.logUserAction({id:e.currentCustomerId,newCustomerId:a},{actionType:Bt.SwitchCustomer,entity:kn.Customer,location:ba.UserOptions}),Nn.PageLoad(r(a)))}function r(i){return i?`/change-customer?customerId=${i}`:"/change-customer"}return!((n=e.customers)!=null&&n.length)||!e.currentCustomerId?ce.jsx(ce.Fragment,{}):e.customers.length<=1?ce.jsx(ce.Fragment,{}):e.customers.length>rPe?ce.jsx(Eo.Item,{as:"li",onClick:i=>t(),className:"cursor-pointer",children:ce.jsxs("div",{className:"d-flex justify-content-between",children:[ce.jsx(Lh,{namespace:TY,phrase:"title"}),ce.jsx(al,{svg:bY,className:"svg-container text-secondary"})]})}):ce.jsxs("li",{className:"dropdown-item dropstart cursor-pointer",children:[ce.jsxs("div",{className:`dropdown-toggle d-flex justify-content-between ${tPe.toggle}`,"data-bs-toggle":"dropdown","aria-expanded":"false",children:[ce.jsx(Lh,{namespace:TY,phrase:"title"}),ce.jsx(al,{svg:bY,className:"svg-container text-secondary"})]}),ce.jsx("ul",{className:"dropdown-menu",children:e.customers.map((i,a)=>{const o=i.id===e.currentCustomerId;return ce.jsx(Eo.Item,{as:"li",onClick:l=>t(l,i.id),disabled:o,children:i.name},a)})})]})}const Ine=()=>{const{liteUpgradeTypeUser:e,liteUpgradeTypeCustomer:t,liteUpgradeTime:r,liteUpgradeFeedback:n,liteUpgradeComplete:i,hasCompletedUpgradeOnboarding:a,isLoadingSettings:o}=Cne(null),{hasPermissions:l}=gy(),u=e||t,f=Se.useMemo(()=>{if(o||!r)return 0;const _=new Date(r),E=new Date;return Math.max(el.diffBetween(_,E,"day"),0)+1},[o,r]),[d,h]=One("lite:upgrade:feedback:banner",{show:!0},{storage:ys.LocalStorage}),p=!!u;return{isUpgrading:p&&!i,isLoading:o,daysLeft:f,upgradeType:u,hasCompletedOnboarding:a,feedbackStatus:n,showFeedbackBanner:p&&d.show&&!l(Xo.StudentExperience),showTvGuide:p,dismissFeedbackBanner:()=>h({show:!1})}};class iPe{static get Instance(){return this.instance||(this.instance=new this)}initialize(t){this.initializeUrl(t)}initializeUrl(t){if(!t.product){vr.throw(new Rn("ArticleHelper requires a product name"));return}if(this.product=t.product,this.marketingSiteUrl=t.marketingSiteUrl,t.product===So.Online){if(!t.onlineSupportSiteUrl){vr.throw(new Rn("ArticleHelper requires a online support site url"));return}this.supportSiteUrl=t.onlineSupportSiteUrl;return}if(!t.liteSupportSiteUrl){vr.throw(new Rn("ArticleHelper requires a lite support site url"));return}this.supportSiteUrl=t.liteSupportSiteUrl}validate(){return this.supportSiteUrl?!0:(vr.throw(new Rn("ArticleHelper was not initialized")),!1)}getArticle(t,r){if(!this.validate())return"";const n=t?`hc/${r}/${t}`:"hc";return _s.safeUrlConcat(this.supportSiteUrl,n)}getOnlineArticle(t,r="articles"){return this.product===So.Primary&&vr.throw(new Rn("ArticleHelper.getOnlineArticle() should not be used in Lite")),this.getArticle(t,r)}getLiteArticle(t,r="articles"){return this.product===So.Online&&vr.throw(new Rn("ArticleHelper.getLiteArticle() should not be used in Online")),this.getArticle(t,r)}getHybridArticle(t,r,n="articles"){return this.product===So.Online?this.getOnlineArticle(t,n):this.getLiteArticle(r,n)}getSupportRequestUrl(){return this.validate()?_s.safeUrlConcat(this.supportSiteUrl,"hc/requests/new"):""}getAuthorBlogUrl(t){return!this.marketingSiteUrl||!t?"":_s.safeUrlConcat(this.marketingSiteUrl,`blog/author/${t}`)}}const AC=iPe.Instance,aPe="shared.userOptions",AY=Gr.encloseNamespace(aPe);function oPe(e,t,r){const{hasPermissions:n}=gy(),i=Ine(),a=ac.sortBy(t,"order");if(e&&(a.push({label:AY("helpCentre"),order:0,url:AC.getHybridArticle(null,null),analyticsData:{url:AC.getHybridArticle(null,null)},analyticsOptions:{actionType:Bt.Click,entity:kn.Url,descriptor:Xl.ExternalLink,location:ba.UserOptions}}),n(Xo.ViewProductBoard)&&!i.isUpgrading&&!r)){const l=_s.safeUrlConcat(e.productBoardUrl,"tabs/23-what-s-new");a.push({label:AY("whatsNew"),order:0,url:l,analyticsData:{url:l},analyticsOptions:{actionType:Bt.Click,entity:kn.Url,descriptor:Xl.ExternalLink,location:ba.UserOptions}})}const o={main:[],logOut:[]};return a.forEach(l=>{l.section==="logOut"?o.logOut.push(l):o.main.push(l)}),o}function sPe(e,t,r){var f;const n=ea(ua.currentUser()),i=ea(((f=n.data)==null?void 0:f.isAuthenticated)&&YI.userProducts()),a=Ine();if(t||!i.data||a.isLoading)return;const o=[...i.data],l=Array.isArray(e)?e:[e];a.isUpgrading&&!l.includes(So.Online)&&l.push(So.Online);let u=o.filter(d=>!l.includes(d.id),"order");return typeof r=="function"&&(u=r(u)),ac.sortBy(u)}const uPe="_avatarContainer_1z0er_1",lPe="_productLogo_1z0er_5",cPe="_counter_1z0er_9",$g={avatarContainer:uPe,productLogo:lPe,counter:cPe},fPe="shared.userOptions",vh=Gr.encloseNamespace(fPe);function RY({item:e}){if(e.appLink)return ce.jsxs(Eo.Item,{as:xo,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&&ce.jsx("div",{className:`${$g.counter} badge bg-danger rounded-pill fw-semibold me-1`,children:e.counter}),ce.jsxs("div",{className:"d-flex justify-content-between",children:[e.label,!!e.openInNewTab&&ce.jsx(al,{svg:wY,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&&qa.logUserAction({href:e.url,...e.analyticsData},e.analyticsOptions),Nn.PageLoad(e.url,!0)};return ce.jsxs(Eo.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&&ce.jsx("div",{className:`${$g.counter} badge bg-danger rounded-pill fw-semibold me-1`,children:e.counter}),ce.jsxs("div",{className:"d-flex justify-content-between",children:[e.label,e.openInNewTab!==!1&&ce.jsx(al,{svg:wY,className:"svg-container text-secondary"})]})]})}return ce.jsx(ce.Fragment,{})}const dPe=({appLinks:e})=>{const t=YIe(),r=t.xs||t.sm;return ce.jsxs(ce.Fragment,{children:[ce.jsx(xo,{appLink:e.signIn,className:"btn btn-link ps-0",analyticsOptions:{actionType:Bt.Click,location:ba.TopNav,entity:kn.Url,descriptor:xh.SignIn},analyticsData:{},children:vh("signIn")}),ce.jsx(xo,{appLink:e.signUp,className:"btn btn-dark ms-2",analyticsOptions:{actionType:Bt.Click,location:ba.TopNav,entity:kn.AppLink,workflowPhase:Zu.Start,descriptor:xh.SignUp},analyticsData:{},tag:"button",children:vh(r?"signUpForMobile":"signUp")})]})},hPe=({appLinks:e})=>ce.jsx(xo,{appLink:e.signIn,className:"btn btn-dark d-inline-block",analyticsOptions:{actionType:Bt.Click,location:ba.TopNav,entity:kn.AppLink,workflowPhase:Zu.Start,descriptor:xh.SignIn},analyticsData:{},children:vh("signIn")});function pPe(e){var _,E,S,w,T,C;const[t,r]=Se.useState(!1),{hasPermissions:n}=gy(),i=ea(ua.currentUser()),a=ea(((_=i.data)==null?void 0:_.id)&&ua.user(i.data.id)),o=ea(ol.config()),l=ea(((E=i.data)==null?void 0:E.isAuthenticated)&&ua.customers(i.data.id)),u=oPe(o.data,e.additionalItems,e.hideWhatsNew),f=n(Xo.GuestExperience),d=e.hideProductList||f,h=sPe(e.productId,d,e.transform);function p(x){r(x),qa.logUserAction({},{actionType:Bt.Click,entity:kn.AppLink,location:ba.UserOptions,descriptor:x?Xl.Open:Xl.Close})}function y(x){qa.logUserAction({id:x.id,name:x.name},{actionType:Bt.Click,entity:kn.Product,location:ba.UserOptions,descriptor:Xl.ExternalLink})}return!i.hasCompleted||i.data.isAuthenticated&&!a.hasCompleted||!o.data?ce.jsx(ce.Fragment,{}):i.data.isAuthenticated?ce.jsxs(Eo,{className:"position-relative",onToggle:p,children:[ce.jsx(Eo.Toggle,{id:"userOptions",variant:"","aria-label":"Options menu",className:`${$g.avatarContainer} no-caret border-0 p-0`,children:ce.jsx(KIe,{imageUrl:iu.createUrl(i.data.avatar,{size:vy.Small}),imageCdnUrl:o.data.imageCdnUrl,initials:Ul.getInitials(i.data.givenName,i.data.familyName),showDot:u.main.some(x=>x.counter>0)})}),ce.jsxs(Eo.Menu,{as:"ul",align:"end",children:[ce.jsxs(Eo.Item,{as:"div",children:[ce.jsxs("div",{className:"m-0 d-flex flex-wrap",children:[ce.jsx("strong",{children:i.data.displayName})," ",!f&&ce.jsxs("span",{className:"text-secondary",children:["(",i.data.username,")"]})]}),ce.jsx("div",{className:"m-0 text-secondary",children:i.data.customerName}),!f&&((S=a.data)==null?void 0:S.masterYearGroup)&&ce.jsx("p",{className:"m-0 text-secondary",children:a.data.masterYearGroup.name})]}),ce.jsx(nPe,{isParentOpen:t,currentCustomerId:(w=i.data)==null?void 0:w.customerId,customers:(T=l.data)==null?void 0:T.data}),ce.jsx(Eo.Divider,{}),u.main.map((x,R)=>ce.jsx(RY,{item:x},R)),ce.jsx(Eo.Divider,{}),h==null?void 0:h.map((x,R)=>ce.jsxs(Eo.Item,{as:"a",href:x.url,target:"_blank",className:"d-flex align-items-center py-1",onClick:()=>y(x),children:[ce.jsx("img",{src:x.imageUrl,className:`${$g.productLogo} me-2`}),x.name]},R)),!!(h!=null&&h.length)&&ce.jsx(Eo.Divider,{}),u.logOut.map((x,R)=>ce.jsx(RY,{item:x},R)),ce.jsx(Eo.Item,{as:xo,appLink:e.appLinks.signOut,analyticsData:{id:(C=i.data)==null?void 0:C.id},analyticsOptions:{actionType:Bt.Click,location:ba.UserOptions,entity:kn.AppLink,descriptor:xh.SignOut},children:vh("signOut")})]})]}):e.displaySignUp?ce.jsx(dPe,{...e}):ce.jsx(hPe,{...e})}function vPe(e){return ce.jsx("svg",{...e,children:ce.jsx("path",{fill:"currentColor",d:"M4.794 4c-.67 0-1.207.541-1.207 1.21v13.58c0 .669.538 1.21 1.207 1.21h14.499c.67 0 1.207-.541 1.207-1.21V5.21c0-.669-.538-1.21-1.207-1.21zm-.207 1.21c0-.12.093-.21.207-.21h14.499c.114 0 .207.09.207.21v13.58c0 .12-.093.21-.207.21h-.82c.09-.212.126-.451.09-.696l-.977-6.73a1.3 1.3 0 0 0-1.474-1.099l-.791.115a1.3 1.3 0 0 0-.628.273A1.3 1.3 0 0 0 13.4 9.7h-1.6c-.302 0-.58.103-.8.275a1.3 1.3 0 0 0-.8-.275H8.6A1.3 1.3 0 0 0 7.3 11v7.6q0 .21.063.4H4.794a.207.207 0 0 1-.207-.21zM14.7 15.36l.499 3.433q.015.107.047.207h-.609a1.3 1.3 0 0 0 .063-.4zM8.3 11a.3.3 0 0 1 .3-.3h1.6a.3.3 0 0 1 .3.3v7.6a.3.3 0 0 1-.3.3H8.6a.3.3 0 0 1-.3-.3zm3.5-.3h1.6a.3.3 0 0 1 .3.3v7.6a.3.3 0 0 1-.3.3h-1.6a.3.3 0 0 1-.3-.3V11a.3.3 0 0 1 .3-.3m3.41 1.22a.3.3 0 0 1 .254-.34l.792-.115a.3.3 0 0 1 .34.254l.978 6.729a.3.3 0 0 1-.254.34l-.792.115a.3.3 0 0 1-.34-.254z"})})}function gPe(e){return ce.jsx("svg",{...e,children:ce.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10.893 7.5H5.6A1.6 1.6 0 0 0 4 9.1v9.3A1.6 1.6 0 0 0 5.6 20h12.8a1.6 1.6 0 0 0 1.6-1.6V9.1a1.6 1.6 0 0 0-1.6-1.6h-5.096l2.733-2.535a.55.55 0 0 0 0-.816.657.657 0 0 0-.88 0l-3.059 2.837L9.04 4.15a.657.657 0 0 0-.88 0 .55.55 0 0 0 0 .816zM5.6 8.7h12.8c.22 0 .4.18.4.4v9.3a.4.4 0 0 1-.4.4H5.6a.4.4 0 0 1-.4-.4V9.1c0-.22.18-.4.4-.4m11.407 3.413a.6.6 0 0 1-.24.814l-4.4 2.4a.6.6 0 0 1-.887-.527v-1.39l-3.513 1.917a.6.6 0 1 1-.574-1.054l4.4-2.4a.6.6 0 0 1 .887.527v1.39l3.513-1.917a.6.6 0 0 1 .814.24",clipRule:"evenodd"})})}const mPe="_navItem_7o62g_5",yPe="_active_7o62g_18",_Pe="_svg_7o62g_21",EPe="_background_7o62g_24",SPe="_backgroundExchange_7o62g_33",wPe="_backgroundTv_7o62g_37",bPe="_iconContainer_7o62g_42",TPe="_text_7o62g_57",APe="_exchange_7o62g_66",RPe="_clickviewTv_7o62g_72",Ls={navItem:mPe,active:yPe,svg:_Pe,background:EPe,backgroundExchange:SPe,backgroundTv:wPe,iconContainer:bPe,text:TPe,exchange:APe,clickviewTv:RPe};function xPe(e){return e==="exchange"?Ls.backgroundExchange:e==="tv"?Ls.backgroundTv:""}function xY(e){const{appLink:t,typeClass:r,active:n,text:i,svg:a}=e;return ce.jsxs(xo,{appLink:t,className:`${Ls.navItem} ${r} ${n?Ls.active:""}`,children:[ce.jsx("div",{className:Ls.iconContainer,children:ce.jsx(al,{svg:a,className:Ls.svg})}),ce.jsx("div",{className:Ls.text,children:i})]})}function CPe(e){return ce.jsxs("div",{className:"position-relative",children:[ce.jsx("div",{className:`${Ls.background} ${xPe(e.activeApp)}`}),ce.jsx(xY,{appLink:{application:ki.EXCHANGE,action:wo.Exchange.INDEX},typeClass:Ls.exchange,active:e.activeApp==="exchange",text:"Exchange Archive",svg:vPe}),ce.jsx(xY,{appLink:{application:ki.TV,action:wo.Tv.INDEX},typeClass:Ls.clickviewTv,active:e.activeApp==="tv",text:"ClickView TV",svg:gPe})]})}var Pne=(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))(Pne||{}),OPe=(e=>(e.Unclassified="Unclassified",e.Primary="Primary",e.Secondary="Secondary",e.K12="K12",e.Tertiary="Tertiary",e.NonEducational="NonEducational",e.Partners="Partners",e.Internal="Internal",e.Other="Other",e.ClickView="ClickView",e.System="System",e))(OPe||{});const kne={customer(e,t,r,n){return{url:_s.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:Zi.PUT,data:t,success:r,error:n,invalidationKeys:["year:groups"]}}},IPe="_nav_fxrnb_1",PPe="_logo_fxrnb_11",kPe="_navIconContainer_fxrnb_23",Pv={nav:IPe,logo:PPe,navIconContainer:kPe},DPe="exchange.header",CY={application:ki.DEFAULT,action:wo.Default.INDEX};function LPe(e){var d,h,p;const t=ea(ol.config()),r=ea(YI.userProducts()),n=ea(ua.currentUser()),a=((h=ea(!!((d=n.data)!=null&&d.isAuthenticated)&&kne.customer(n.data.customerId)).data)==null?void 0:h.customerType)===Pne.Tertiary,{exchangeTvProductOption:o}=Cne(null),{hasPermissions:l}=gy(),u=(p=r.data)==null?void 0:p.find(y=>y.id===So.Exchange);function f(y){return a&&!l(Xo.ViewCustomerAnalytics)?y.filter(_=>_.id!==So.Analytics):y}return ce.jsx("nav",{className:`navbar navbar-expanded ps-3 w-100 ${Pv.nav}`,children:ce.jsxs("div",{className:"container-fluid",children:[ce.jsx("div",{className:`d-flex align-items-center justify-content-start ${Pv.headerLeft}`,children:ce.jsx(xo,{appLink:CY,className:`navbar-brand text-hide align-top ${Pv.logo} d-inline-block'`,analyticsData:{url:Ai.getHref(CY)},analyticsOptions:{actionType:Bt.Click,entity:kn.Url,location:ba.TopNav,descriptor:Xl.ClickViewLogo},children:ce.jsx(UIe,{})})}),u&&o==="exchange_and_tv"&&ce.jsx("div",{className:`${Pv.navIconContainer} position-absolute w-100 d-flex align-items-center justify-content-center`,children:ce.jsx(CPe,{activeApp:e.activeApp})}),ce.jsxs("div",{className:"d-flex align-items-center justify-content-end",children:[ce.jsx(xo,{appLink:{application:ki.DEFAULT,action:wo.Default.GIVE_FEEDBACK},className:"btn btn-outline-dark me-3",children:ce.jsx(Lh,{namespace:DPe,phrase:"giveFeedback"})}),!!t.data&&ce.jsx("div",{className:"me-3",children:ce.jsx(pPe,{productId:So.Exchange,appLinks:{signOut:{application:ki.DEFAULT,action:wo.Default.LOG_OUT}},transform:f})})]})]})})}const NPe="_content_ulv6h_1",MPe="_container_ulv6h_6",$Pe="_fixedBottomRightContainer_ulv6h_13",FPe="_lockedWidth_ulv6h_19",kv={content:NPe,container:MPe,fixedBottomRightContainer:$Pe,lockedWidth:FPe},Dne="banner-portal-container",jPe=e=>($Ie(),FIe(),Se.useEffect(()=>{document.body.style.overflowY="scroll"},[]),ce.jsx(cx,{renderError:()=>jre({error:new Mf}),children:ce.jsxs("div",{className:kv.lockedWidth,children:[ce.jsx(LPe,{activeApp:e.activeApp}),ce.jsxs("div",{className:kv.content,children:[ce.jsx("div",{className:`container-fluid ${Dne}`}),ce.jsxs("div",{className:`container px-3 ${kv.container}`,children:[ce.jsx(cx,{throwError:Mf,children:e.contentChild}),ce.jsx(jIe,{})]})]}),ce.jsx(cx,{throwError:iRe,children:e.popupChild}),ce.jsx("div",{className:"d-flex flex-column align-items-end",children:!!e.alertChild&&ce.jsx("div",{className:kv.fixedBottomRightContainer,children:e.alertChild})}),ce.jsx("div",{style:{display:"none"},children:e.hiddenChild})]})}));function UPe(e){return ce.jsx(qee,{store:e.store,children:ce.jsx(Obe,{children:ce.jsx(nRe,{children:ce.jsx(rRe,{containerClassName:Dne,children:ce.jsx(jPe,{...e})})})})})}class qPe extends ZAe{constructor(r){super(r);An(this,"childComponents",{});An(this,"preventScrollTop",!1);An(this,"activeApp")}initialize(){var n,i;this.listenTo(mn.SHELL,En.ROUTE,this.onRouteChange),this.listenTo(mn.SHELL,"prevent:scroll:top",()=>this.preventScrollTop=!0);const r=(i=(n=fte.getCurrentContext())==null?void 0:n.appLink)==null?void 0:i.application;this.setActiveApp(r)}get title(){return!1}get name(){return"DefaultLayoutView"}get template(){return()=>'<div id="dialog-region"></div><div class="layout-region position-relative"></div>'}static getCacheKey(){return`${fp.DEFAULT_LAYOUT}`}regions(){return{layout:{el:".layout-region",replaceEl:!0}}}getChildComponents(){return{contentChild:this.childComponents[on.CONTENT],popupChild:this.childComponents[on.POPUP],alertChild:this.childComponents[on.ALERT],hiddenChild:this.childComponents[on.HIDDEN],store:this.options.store,activeApp:this.activeApp}}unsetRegion(r){delete this.childComponents[r],this.renderLayout()}closePopup(){this.unsetRegion(on.POPUP)}showChildView(r,n,i={}){this.childComponents[r]=n,r===on.CONTENT&&(!this.preventScrollTop&&!i.preventScrollTop&&Th(window).scrollTop(0),this.preventScrollTop=!1),this.renderLayout()}renderLayout(){const r={...this.getChildComponents()};super.showChildView("layout",ce.jsx(UPe,{...r}))}setActiveApp(r){if(r===ki.EXCHANGE){this.activeApp="exchange";return}if(r===ki.TV){this.activeApp="tv";return}this.activeApp=null}onRouteChange(r,n){n.isAppRoute&&this.setActiveApp(r.application)}}function BPe(e,t){e.registerLayout(fp.DEFAULT_LAYOUT,qPe),t(e)}function VPe(e,t,r){Bm.setUpVariables({isDevelopment:!1}),r(e,t)}var Fg=(e=>(e.Fifo="FifoMemoryCache",e))(Fg||{}),jg=(e=>(e.Ajax="AjaxDataProvider",e.Notifications="NotificationsSignalRDataProvider",e))(jg||{});class HPe extends co{get defaultProps(){return["dataProvider","cache","bootstrapData","defaultErrorHandler","alertService"]}constructor(t){super(t),sh(this,"name")||vr.throw(new Rn("Must provide a name when extending BaseDataService")),sh(this,"channelName")||vr.throw(new Rn(`Must provide a channelName for ${sh(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),l=this.cache.get(i);if(l&&l.openRequest){const u=d=>{rn(n)&&this.stopListening(this.getChannel(),o,n),rn(r)&&r(d)},f=()=>{rn(r)&&this.stopListening(this.getChannel(),a,r),rn(n)&&n()};this.listenToOnce(this.getChannel(),a,u),this.listenToOnce(this.getChannel(),o,f);return}this.cache.remove(t.eventPrefix),this.get(t)}get(t){const{callback:r,errorCallback:n,eventPrefix:i,resource:a,formatData:o,expiryTime:l,successHandler:u,errorHandler:f,bootstrapName:d,invalidateFlight:h}=t,{syncEvent:p,requestEvent:y,successEvent:_,errorEvent:E}=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 T=this.cache.get(i);let C;T&&(C=T.data);const x=T&&T.openRequest,R=this.isExpired(i,l);if(x){const O=D=>{rn(n)&&this.stopListening(this.getChannel(),E,n),rn(r)&&r(D)},m=()=>{rn(r)&&this.stopListening(this.getChannel(),p,r),rn(n)&&n()};this.listenToOnce(S,p,O),this.listenToOnce(S,E,m)}if((!this.cache.has(i)||R)&&(S.trigger(y),this.listenToResponse({eventPrefix:i,formatData:o,cacheOptions:{timestamp:w},callback:r,errorCallback:n,successHandler:u,errorHandler:f,invalidateFlight:h}),this.cacheData(i,null,null,{openRequest:!0,timestamp:w}),this.dataProvider.read(a,{channel:this.getTransportChannel(),successEvent:_,errorEvent:E})),C&&rn(r)&&!R&&r(C),C)return C}create(t){const{eventPrefix:r,resource:n,data:i,formatData:a,callback:o,errorCallback:l,invalidationKeys:u,successHandler:f,errorHandler:d,invalidateFlight:h}=t,{requestEvent:p,successEvent:y,errorEvent:_}=this.getEventNames(t.eventPrefix),E=this.getChannel(),S=this.getTransportChannel();E.trigger(p),this.listenToResponse({eventPrefix:r,formatData:a,invalidationKeys:u,callback:o,errorCallback:l,successHandler:f,errorHandler:d,invalidateFlight:h}),this.dataProvider.create(n,i,{channel:S,successEvent:y,errorEvent:_})}update(t){const{data:r,callback:n,errorCallback:i,resource:a,formatData:o,eventPrefix:l,invalidationKeys:u,errorHandler:f,successHandler:d,invalidateFlight:h}=t,{requestEvent:p,successEvent:y,errorEvent:_}=this.getEventNames(t.eventPrefix),E=this.getChannel(),S=this.getTransportChannel();E.trigger(p),this.listenToResponse({eventPrefix:l,formatData:o,invalidationKeys:u,callback:n,errorCallback:i,successHandler:d,errorHandler:f,invalidateFlight:h}),this.dataProvider.update(a,r,{channel:S,successEvent:y,errorEvent:_})}delete(t){const{eventPrefix:r,resource:n,callback:i,errorCallback:a,invalidationKeys:o,successHandler:l,errorHandler:u,invalidateFlight:f}=t,{successEvent:d,errorEvent:h}=this.getEventNames(r),p=this.getTransportChannel(),y={noCache:!0,clearCacheKey:!0};this.listenToResponse({eventPrefix:r,invalidationKeys:o,callback:i,errorCallback:a,cacheOptions:y,successHandler:l,errorHandler:u,invalidateFlight:f}),this.dataProvider.delete(n,{channel:p,successEvent:d,errorEvent:h})}listenToResponse(t){const{eventPrefix:r,formatData:n,callback:i,errorCallback:a,successHandler:o,errorHandler:l,invalidationKeys:u,cacheOptions:f={},invalidateFlight:d}=t,{syncEvent:h,successEvent:p,errorEvent:y,successAlertEvent:_,errorAlertEvent:E}=this.getEventNames(r),S=this.getChannel(),w=this.getTransportChannel(),T=this.getAlertChannel();if(rn(i)&&this.listenToOnce(S,h,i),rn(a)&&this.listenToOnce(S,y,a),this.stopListening(T,_),this.stopListening(T,E),rn(o)&&this.listenToOnce(T,_,o),rn(l)&&this.listenToOnce(T,E,l),!rn(l)&&l!==!1&&rn(this.defaultErrorHandler)&&this.listenToOnce(T,E,this.defaultErrorHandler),this.hasRequestSignature(r))return;this.setRequestSignature(r);const C=(R,...O)=>{this.stopListening(S,y,a),T.trigger(_,R,...O);const m=f.noCache?this.formatData(R,n):this.cacheData(r,R,n);f.clearCacheKey&&this.cache.remove(r),S.trigger(h,m),u&&u.length&&this.cache.invalidate(u,D=>S.trigger(`${D}:invalidate`),d)},x=(...R)=>{this.stopListening(S,h,i);const O=this.dataProvider.parseError(...R);T.trigger(E,O),S.trigger(y,O),!f.noCache&&this.cacheData(r,null,null)};this.listenTo(w,p,C),this.listenTo(w,y,x)}cacheData(t,r,n,i={}){const{openRequest:a=!1}=i;let{timestamp:o}=i;o||(o=this.currentTimestamp());const l=this.processPagination(r),u=this.formatData(r,n);return this.cache.set(t,{data:u,timestamp:o,cursors:l,openRequest:a}),u}processPagination(t){if(!t)return;const{pagination:r}=t;if(r){if(r.cursors)return r.cursors;if(!vg(r.offset)&&!vg(r.pageSize))return this.convertOffsetPaginationToCursors(r);if(r.page)return this.convertLegacyPaginationToCursors(r)}}formatData(t,r){return rn(r)?r(t):t}chain(){const t=[],r=(a,o)=>{rn(a)&&a(o)},n=(a,o)=>{const l=()=>{const u=a.callback;a.callback=f=>{r(u,f),r(t.shift())},this[o](a)};return t.push(l),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 Mr.Radio.channel(`${this.channelName}:transport`)}getAlertChannel(){return Mr.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),l={};if(a&&a<i&&(l.next=a.toString()),Af(o)&&(l.previous=o.toString()),!Eh(l))return l}convertLegacyPaginationToCursors(t){const{page:r,totalPages:n}=t,i=Af(r)&&r>0&&r<n&&r+1,a=Af(r)&&r>1&&r-1,o={};if(i&&i<=n&&(o.next=i.toString()),a&&(o.previous=a.toString()),!Eh(o))return o}}class zPe extends co{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 $z&&t.set(n,{silent:!0}),t instanceof gu&&!(t instanceof $z)&&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,l=this.mergeData(r,n),u=a?new a(l):new gu(l);return this.viewObjects[t]=u,o&&!n?(this.setLocalData(t,u,null,i),this.setupChangeListeners(t,u,i)):o&&n&&this.setupChangeListeners(t,u,i),u}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 gu&&(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]),Je.each(i.persistProps,a=>{this.listenTo(r,`change:${a}`,Je.partial(this.setLocalData,t,Je,Je,n))}))}mergeData(t,r){if(!r)return t;if(Je.isObject(t)&&Je.isObject(r))return Je.extend(t,r);vr.throw(new Rn("defaultValues and existingData are not of the same datatype and cannot be merged"))}getStorageHelper(t){switch(t){case ys.LocalStorage:return Vi;case ys.SessionStorage:return Ng}}}const Lne=zPe.Instance;var sP=(e=>(e[e.Permanent=0]="Permanent",e[e.Temporary=1]="Temporary",e))(sP||{});class WPe extends kc{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 GPe=["pdf"],KPe=["doc","docx","dotx","dot","rtf","docm","odt"],YPe=["csv","txt"],XPe=["xlsx"],OY=["jpg","jpeg","png","bmp","gif"],IY=["3gp","3gpp","asx","avi","divx","flv","m2t","m2ts","m2v","m4v","mkv","mod","mov","mp4","mpe","mpeg","mpg","mts","ogv","qt","ts","vob","webm","wmv"],QPe=["zip"],JPe=["ppt","pps","pptx"],ZPe=["srt"],Dv={VIDEO:`.${IY.join(",.")}`,MIXED_MEDIA:`.${OY.join(",.")},${IY.join(",.")}`,RESOURCES:`.${[...KPe,...XPe,...JPe,...GPe,...YPe,...OY,...QPe].join(",.")}`,SUBTITLES:`.${ZPe.join(",.")}`},eke={requestUpload(e,t){const r=e.name.split("."),n=t===sP.Permanent?null:el.add(new Date,7,"days").toISOString(),i={name:r.join("."),extension:r.length>1?r.pop():"",size:e.size,lifestyle:t,dateExpires:n,contentType:e.type||"application/octet-stream",chunkUploadEnabled:!0};return{url:"{gateway}/v1/files/upload",key:"upload:file",type:Zi.POST,data:i}}};var Ex={exports:{}},PY;function tke(){return PY||(PY=1,(function(e,t){(function(n,i){e.exports=i()})(self,function(){return(function(){var r={3099:(function(o){o.exports=function(l){if(typeof l!="function")throw TypeError(String(l)+" is not a function");return l}}),6077:(function(o,l,u){var f=u(111);o.exports=function(d){if(!f(d)&&d!==null)throw TypeError("Can't set "+String(d)+" as a prototype");return d}}),1223:(function(o,l,u){var f=u(5112),d=u(30),h=u(3070),p=f("unscopables"),y=Array.prototype;y[p]==null&&h.f(y,p,{configurable:!0,value:d(null)}),o.exports=function(_){y[p][_]=!0}}),1530:(function(o,l,u){var f=u(8710).charAt;o.exports=function(d,h,p){return h+(p?f(d,h).length:1)}}),5787:(function(o){o.exports=function(l,u,f){if(!(l instanceof u))throw TypeError("Incorrect "+(f?f+" ":"")+"invocation");return l}}),9670:(function(o,l,u){var f=u(111);o.exports=function(d){if(!f(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,l,u){var f=u(4019),d=u(9781),h=u(7854),p=u(111),y=u(6656),_=u(648),E=u(8880),S=u(1320),w=u(3070).f,T=u(9518),C=u(7674),x=u(5112),R=u(9711),O=h.Int8Array,m=O&&O.prototype,D=h.Uint8ClampedArray,U=D&&D.prototype,K=O&&T(O),B=m&&T(m),W=Object.prototype,Y=W.isPrototypeOf,Q=x("toStringTag"),ie=R("TYPED_ARRAY_TAG"),ae=f&&!!C&&_(h.opera)!=="Opera",ve=!1,H,J={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},z={BigInt64Array:8,BigUint64Array:8},ue=function(I){if(!p(I))return!1;var N=_(I);return N==="DataView"||y(J,N)||y(z,N)},we=function(q){if(!p(q))return!1;var I=_(q);return y(J,I)||y(z,I)},ke=function(q){if(we(q))return q;throw TypeError("Target is not a typed array")},Be=function(q){if(C){if(Y.call(K,q))return q}else for(var I in J)if(y(J,H)){var N=h[I];if(N&&(q===N||Y.call(N,q)))return q}throw TypeError("Target is not a typed array constructor")},nt=function(q,I,N){if(d){if(N)for(var M in J){var Z=h[M];Z&&y(Z.prototype,q)&&delete Z.prototype[q]}(!B[q]||N)&&S(B,q,N?I:ae&&m[q]||I)}},rt=function(q,I,N){var M,Z;if(d){if(C){if(N)for(M in J)Z=h[M],Z&&y(Z,q)&&delete Z[q];if(!K[q]||N)try{return S(K,q,N?I:ae&&O[q]||I)}catch{}else return}for(M in J)Z=h[M],Z&&(!Z[q]||N)&&S(Z,q,I)}};for(H in J)h[H]||(ae=!1);if((!ae||typeof K!="function"||K===Function.prototype)&&(K=function(){throw TypeError("Incorrect invocation")},ae))for(H in J)h[H]&&C(h[H],K);if((!ae||!B||B===W)&&(B=K.prototype,ae))for(H in J)h[H]&&C(h[H].prototype,B);if(ae&&T(U)!==B&&C(U,B),d&&!y(B,Q)){ve=!0,w(B,Q,{get:function(){return p(this)?this[ie]:void 0}});for(H in J)h[H]&&E(h[H],ie,H)}o.exports={NATIVE_ARRAY_BUFFER_VIEWS:ae,TYPED_ARRAY_TAG:ve&&ie,aTypedArray:ke,aTypedArrayConstructor:Be,exportTypedArrayMethod:nt,exportTypedArrayStaticMethod:rt,isView:ue,isTypedArray:we,TypedArray:K,TypedArrayPrototype:B}}),3331:(function(o,l,u){var f=u(7854),d=u(9781),h=u(4019),p=u(8880),y=u(2248),_=u(7293),E=u(5787),S=u(9958),w=u(7466),T=u(7067),C=u(1179),x=u(9518),R=u(7674),O=u(8006).f,m=u(3070).f,D=u(1285),U=u(8003),K=u(9909),B=K.get,W=K.set,Y="ArrayBuffer",Q="DataView",ie="prototype",ae="Wrong length",ve="Wrong index",H=f[Y],J=H,z=f[Q],ue=z&&z[ie],we=Object.prototype,ke=f.RangeError,Be=C.pack,nt=C.unpack,rt=function(me){return[me&255]},q=function(me){return[me&255,me>>8&255]},I=function(me){return[me&255,me>>8&255,me>>16&255,me>>24&255]},N=function(me){return me[3]<<24|me[2]<<16|me[1]<<8|me[0]},M=function(me){return Be(me,23,4)},Z=function(me){return Be(me,52,8)},L=function(me,ge){m(me[ie],ge,{get:function(){return B(this)[ge]}})},G=function(me,ge,Te,Pe){var De=T(Te),qe=B(me);if(De+ge>qe.byteLength)throw ke(ve);var _t=B(qe.buffer).bytes,Ut=De+qe.byteOffset,Mt=_t.slice(Ut,Ut+ge);return Pe?Mt:Mt.reverse()},pe=function(me,ge,Te,Pe,De,qe){var _t=T(Te),Ut=B(me);if(_t+ge>Ut.byteLength)throw ke(ve);for(var Mt=B(Ut.buffer).bytes,Xe=_t+Ut.byteOffset,wt=Pe(+De),mt=0;mt<ge;mt++)Mt[Xe+mt]=wt[qe?mt:ge-mt-1]};if(!h)J=function(ge){E(this,J,Y);var Te=T(ge);W(this,{bytes:D.call(new Array(Te),0),byteLength:Te}),d||(this.byteLength=Te)},z=function(ge,Te,Pe){E(this,z,Q),E(ge,J,Q);var De=B(ge).byteLength,qe=S(Te);if(qe<0||qe>De)throw ke("Wrong offset");if(Pe=Pe===void 0?De-qe:w(Pe),qe+Pe>De)throw ke(ae);W(this,{buffer:ge,byteLength:Pe,byteOffset:qe}),d||(this.buffer=ge,this.byteLength=Pe,this.byteOffset=qe)},d&&(L(J,"byteLength"),L(z,"buffer"),L(z,"byteLength"),L(z,"byteOffset")),y(z[ie],{getInt8:function(ge){return G(this,1,ge)[0]<<24>>24},getUint8:function(ge){return G(this,1,ge)[0]},getInt16:function(ge){var Te=G(this,2,ge,arguments.length>1?arguments[1]:void 0);return(Te[1]<<8|Te[0])<<16>>16},getUint16:function(ge){var Te=G(this,2,ge,arguments.length>1?arguments[1]:void 0);return Te[1]<<8|Te[0]},getInt32:function(ge){return N(G(this,4,ge,arguments.length>1?arguments[1]:void 0))},getUint32:function(ge){return N(G(this,4,ge,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(ge){return nt(G(this,4,ge,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(ge){return nt(G(this,8,ge,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(ge,Te){pe(this,1,ge,rt,Te)},setUint8:function(ge,Te){pe(this,1,ge,rt,Te)},setInt16:function(ge,Te){pe(this,2,ge,q,Te,arguments.length>2?arguments[2]:void 0)},setUint16:function(ge,Te){pe(this,2,ge,q,Te,arguments.length>2?arguments[2]:void 0)},setInt32:function(ge,Te){pe(this,4,ge,I,Te,arguments.length>2?arguments[2]:void 0)},setUint32:function(ge,Te){pe(this,4,ge,I,Te,arguments.length>2?arguments[2]:void 0)},setFloat32:function(ge,Te){pe(this,4,ge,M,Te,arguments.length>2?arguments[2]:void 0)},setFloat64:function(ge,Te){pe(this,8,ge,Z,Te,arguments.length>2?arguments[2]:void 0)}});else{if(!_(function(){H(1)})||!_(function(){new H(-1)})||_(function(){return new H,new H(1.5),new H(NaN),H.name!=Y})){J=function(ge){return E(this,J),new H(T(ge))};for(var fe=J[ie]=H[ie],be=O(H),_e=0,Ce;be.length>_e;)(Ce=be[_e++])in J||p(J,Ce,H[Ce]);fe.constructor=J}R&&x(ue)!==we&&R(ue,we);var Me=new z(new J(2)),de=ue.setInt8;Me.setInt8(0,2147483648),Me.setInt8(1,2147483649),(Me.getInt8(0)||!Me.getInt8(1))&&y(ue,{setInt8:function(ge,Te){de.call(this,ge,Te<<24>>24)},setUint8:function(ge,Te){de.call(this,ge,Te<<24>>24)}},{unsafe:!0})}U(J,Y),U(z,Q),o.exports={ArrayBuffer:J,DataView:z}}),1048:(function(o,l,u){var f=u(7908),d=u(1400),h=u(7466),p=Math.min;o.exports=[].copyWithin||function(_,E){var S=f(this),w=h(S.length),T=d(_,w),C=d(E,w),x=arguments.length>2?arguments[2]:void 0,R=p((x===void 0?w:d(x,w))-C,w-T),O=1;for(C<T&&T<C+R&&(O=-1,C+=R-1,T+=R-1);R-- >0;)C in S?S[T]=S[C]:delete S[T],T+=O,C+=O;return S}}),1285:(function(o,l,u){var f=u(7908),d=u(1400),h=u(7466);o.exports=function(y){for(var _=f(this),E=h(_.length),S=arguments.length,w=d(S>1?arguments[1]:void 0,E),T=S>2?arguments[2]:void 0,C=T===void 0?E:d(T,E);C>w;)_[w++]=y;return _}}),8533:(function(o,l,u){var f=u(2092).forEach,d=u(9341),h=d("forEach");o.exports=h?[].forEach:function(y){return f(this,y,arguments.length>1?arguments[1]:void 0)}}),8457:(function(o,l,u){var f=u(9974),d=u(7908),h=u(3411),p=u(7659),y=u(7466),_=u(6135),E=u(1246);o.exports=function(w){var T=d(w),C=typeof this=="function"?this:Array,x=arguments.length,R=x>1?arguments[1]:void 0,O=R!==void 0,m=E(T),D=0,U,K,B,W,Y,Q;if(O&&(R=f(R,x>2?arguments[2]:void 0,2)),m!=null&&!(C==Array&&p(m)))for(W=m.call(T),Y=W.next,K=new C;!(B=Y.call(W)).done;D++)Q=O?h(W,R,[B.value,D],!0):B.value,_(K,D,Q);else for(U=y(T.length),K=new C(U);U>D;D++)Q=O?R(T[D],D):T[D],_(K,D,Q);return K.length=D,K}}),1318:(function(o,l,u){var f=u(5656),d=u(7466),h=u(1400),p=function(y){return function(_,E,S){var w=f(_),T=d(w.length),C=h(S,T),x;if(y&&E!=E){for(;T>C;)if(x=w[C++],x!=x)return!0}else for(;T>C;C++)if((y||C in w)&&w[C]===E)return y||C||0;return!y&&-1}};o.exports={includes:p(!0),indexOf:p(!1)}}),2092:(function(o,l,u){var f=u(9974),d=u(8361),h=u(7908),p=u(7466),y=u(5417),_=[].push,E=function(S){var w=S==1,T=S==2,C=S==3,x=S==4,R=S==6,O=S==7,m=S==5||R;return function(D,U,K,B){for(var W=h(D),Y=d(W),Q=f(U,K,3),ie=p(Y.length),ae=0,ve=B||y,H=w?ve(D,ie):T||O?ve(D,0):void 0,J,z;ie>ae;ae++)if((m||ae in Y)&&(J=Y[ae],z=Q(J,ae,W),S))if(w)H[ae]=z;else if(z)switch(S){case 3:return!0;case 5:return J;case 6:return ae;case 2:_.call(H,J)}else switch(S){case 4:return!1;case 7:_.call(H,J)}return R?-1:C||x?x:H}};o.exports={forEach:E(0),map:E(1),filter:E(2),some:E(3),every:E(4),find:E(5),findIndex:E(6),filterOut:E(7)}}),6583:(function(o,l,u){var f=u(5656),d=u(9958),h=u(7466),p=u(9341),y=Math.min,_=[].lastIndexOf,E=!!_&&1/[1].lastIndexOf(1,-0)<0,S=p("lastIndexOf"),w=E||!S;o.exports=w?function(C){if(E)return _.apply(this,arguments)||0;var x=f(this),R=h(x.length),O=R-1;for(arguments.length>1&&(O=y(O,d(arguments[1]))),O<0&&(O=R+O);O>=0;O--)if(O in x&&x[O]===C)return O||0;return-1}:_}),1194:(function(o,l,u){var f=u(7293),d=u(5112),h=u(7392),p=d("species");o.exports=function(y){return h>=51||!f(function(){var _=[],E=_.constructor={};return E[p]=function(){return{foo:1}},_[y](Boolean).foo!==1})}}),9341:(function(o,l,u){var f=u(7293);o.exports=function(d,h){var p=[][d];return!!p&&f(function(){p.call(null,h||function(){throw 1},1)})}}),3671:(function(o,l,u){var f=u(3099),d=u(7908),h=u(8361),p=u(7466),y=function(_){return function(E,S,w,T){f(S);var C=d(E),x=h(C),R=p(C.length),O=_?R-1:0,m=_?-1:1;if(w<2)for(;;){if(O in x){T=x[O],O+=m;break}if(O+=m,_?O<0:R<=O)throw TypeError("Reduce of empty array with no initial value")}for(;_?O>=0:R>O;O+=m)O in x&&(T=S(T,x[O],O,C));return T}};o.exports={left:y(!1),right:y(!0)}}),5417:(function(o,l,u){var f=u(111),d=u(3157),h=u(5112),p=h("species");o.exports=function(y,_){var E;return d(y)&&(E=y.constructor,typeof E=="function"&&(E===Array||d(E.prototype))?E=void 0:f(E)&&(E=E[p],E===null&&(E=void 0))),new(E===void 0?Array:E)(_===0?0:_)}}),3411:(function(o,l,u){var f=u(9670),d=u(9212);o.exports=function(h,p,y,_){try{return _?p(f(y)[0],y[1]):p(y)}catch(E){throw d(h),E}}}),7072:(function(o,l,u){var f=u(5112),d=f("iterator"),h=!1;try{var p=0,y={next:function(){return{done:!!p++}},return:function(){h=!0}};y[d]=function(){return this},Array.from(y,function(){throw 2})}catch{}o.exports=function(_,E){if(!E&&!h)return!1;var S=!1;try{var w={};w[d]=function(){return{next:function(){return{done:S=!0}}}},_(w)}catch{}return S}}),4326:(function(o){var l={}.toString;o.exports=function(u){return l.call(u).slice(8,-1)}}),648:(function(o,l,u){var f=u(1694),d=u(4326),h=u(5112),p=h("toStringTag"),y=d((function(){return arguments})())=="Arguments",_=function(E,S){try{return E[S]}catch{}};o.exports=f?d:function(E){var S,w,T;return E===void 0?"Undefined":E===null?"Null":typeof(w=_(S=Object(E),p))=="string"?w:y?d(S):(T=d(S))=="Object"&&typeof S.callee=="function"?"Arguments":T}}),9920:(function(o,l,u){var f=u(6656),d=u(3887),h=u(1236),p=u(3070);o.exports=function(y,_){for(var E=d(_),S=p.f,w=h.f,T=0;T<E.length;T++){var C=E[T];f(y,C)||S(y,C,w(_,C))}}}),8544:(function(o,l,u){var f=u(7293);o.exports=!f(function(){function d(){}return d.prototype.constructor=null,Object.getPrototypeOf(new d)!==d.prototype})}),4994:(function(o,l,u){var f=u(3383).IteratorPrototype,d=u(30),h=u(9114),p=u(8003),y=u(7497),_=function(){return this};o.exports=function(E,S,w){var T=S+" Iterator";return E.prototype=d(f,{next:h(1,w)}),p(E,T,!1,!0),y[T]=_,E}}),8880:(function(o,l,u){var f=u(9781),d=u(3070),h=u(9114);o.exports=f?function(p,y,_){return d.f(p,y,h(1,_))}:function(p,y,_){return p[y]=_,p}}),9114:(function(o){o.exports=function(l,u){return{enumerable:!(l&1),configurable:!(l&2),writable:!(l&4),value:u}}}),6135:(function(o,l,u){var f=u(7593),d=u(3070),h=u(9114);o.exports=function(p,y,_){var E=f(y);E in p?d.f(p,E,h(0,_)):p[E]=_}}),654:(function(o,l,u){var f=u(2109),d=u(4994),h=u(9518),p=u(7674),y=u(8003),_=u(8880),E=u(1320),S=u(5112),w=u(1913),T=u(7497),C=u(3383),x=C.IteratorPrototype,R=C.BUGGY_SAFARI_ITERATORS,O=S("iterator"),m="keys",D="values",U="entries",K=function(){return this};o.exports=function(B,W,Y,Q,ie,ae,ve){d(Y,W,Q);var H=function(I){if(I===ie&&ke)return ke;if(!R&&I in ue)return ue[I];switch(I){case m:return function(){return new Y(this,I)};case D:return function(){return new Y(this,I)};case U:return function(){return new Y(this,I)}}return function(){return new Y(this)}},J=W+" Iterator",z=!1,ue=B.prototype,we=ue[O]||ue["@@iterator"]||ie&&ue[ie],ke=!R&&we||H(ie),Be=W=="Array"&&ue.entries||we,nt,rt,q;if(Be&&(nt=h(Be.call(new B)),x!==Object.prototype&&nt.next&&(!w&&h(nt)!==x&&(p?p(nt,x):typeof nt[O]!="function"&&_(nt,O,K)),y(nt,J,!0,!0),w&&(T[J]=K))),ie==D&&we&&we.name!==D&&(z=!0,ke=function(){return we.call(this)}),(!w||ve)&&ue[O]!==ke&&_(ue,O,ke),T[W]=ke,ie)if(rt={values:H(D),keys:ae?ke:H(m),entries:H(U)},ve)for(q in rt)(R||z||!(q in ue))&&E(ue,q,rt[q]);else f({target:W,proto:!0,forced:R||z},rt);return rt}}),9781:(function(o,l,u){var f=u(7293);o.exports=!f(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),317:(function(o,l,u){var f=u(7854),d=u(111),h=f.document,p=d(h)&&d(h.createElement);o.exports=function(y){return p?h.createElement(y):{}}}),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,l,u){var f=u(5005);o.exports=f("navigator","userAgent")||""}),7392:(function(o,l,u){var f=u(7854),d=u(8113),h=f.process,p=h&&h.versions,y=p&&p.v8,_,E;y?(_=y.split("."),E=_[0]+_[1]):d&&(_=d.match(/Edge\/(\d+)/),(!_||_[1]>=74)&&(_=d.match(/Chrome\/(\d+)/),_&&(E=_[1]))),o.exports=E&&+E}),748:(function(o){o.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),2109:(function(o,l,u){var f=u(7854),d=u(1236).f,h=u(8880),p=u(1320),y=u(3505),_=u(9920),E=u(4705);o.exports=function(S,w){var T=S.target,C=S.global,x=S.stat,R,O,m,D,U,K;if(C?O=f:x?O=f[T]||y(T,{}):O=(f[T]||{}).prototype,O)for(m in w){if(U=w[m],S.noTargetGet?(K=d(O,m),D=K&&K.value):D=O[m],R=E(C?m:T+(x?".":"#")+m,S.forced),!R&&D!==void 0){if(typeof U==typeof D)continue;_(U,D)}(S.sham||D&&D.sham)&&h(U,"sham",!0),p(O,m,U,S)}}}),7293:(function(o){o.exports=function(l){try{return!!l()}catch{return!0}}}),7007:(function(o,l,u){u(4916);var f=u(1320),d=u(7293),h=u(5112),p=u(2261),y=u(8880),_=h("species"),E=!d(function(){var x=/./;return x.exec=function(){var R=[];return R.groups={a:"7"},R},"".replace(x,"$<a>")!=="7"}),S=(function(){return"a".replace(/./,"$0")==="$0"})(),w=h("replace"),T=(function(){return/./[w]?/./[w]("a","$0")==="":!1})(),C=!d(function(){var x=/(?:)/,R=x.exec;x.exec=function(){return R.apply(this,arguments)};var O="ab".split(x);return O.length!==2||O[0]!=="a"||O[1]!=="b"});o.exports=function(x,R,O,m){var D=h(x),U=!d(function(){var ie={};return ie[D]=function(){return 7},""[x](ie)!=7}),K=U&&!d(function(){var ie=!1,ae=/a/;return x==="split"&&(ae={},ae.constructor={},ae.constructor[_]=function(){return ae},ae.flags="",ae[D]=/./[D]),ae.exec=function(){return ie=!0,null},ae[D](""),!ie});if(!U||!K||x==="replace"&&!(E&&S&&!T)||x==="split"&&!C){var B=/./[D],W=O(D,""[x],function(ie,ae,ve,H,J){return ae.exec===p?U&&!J?{done:!0,value:B.call(ae,ve,H)}:{done:!0,value:ie.call(ve,ae,H)}:{done:!1}},{REPLACE_KEEPS_$0:S,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:T}),Y=W[0],Q=W[1];f(String.prototype,x,Y),f(RegExp.prototype,D,R==2?function(ie,ae){return Q.call(ie,this,ae)}:function(ie){return Q.call(ie,this)})}m&&y(RegExp.prototype[D],"sham",!0)}}),9974:(function(o,l,u){var f=u(3099);o.exports=function(d,h,p){if(f(d),h===void 0)return d;switch(p){case 0:return function(){return d.call(h)};case 1:return function(y){return d.call(h,y)};case 2:return function(y,_){return d.call(h,y,_)};case 3:return function(y,_,E){return d.call(h,y,_,E)}}return function(){return d.apply(h,arguments)}}}),5005:(function(o,l,u){var f=u(857),d=u(7854),h=function(p){return typeof p=="function"?p:void 0};o.exports=function(p,y){return arguments.length<2?h(f[p])||h(d[p]):f[p]&&f[p][y]||d[p]&&d[p][y]}}),1246:(function(o,l,u){var f=u(648),d=u(7497),h=u(5112),p=h("iterator");o.exports=function(y){if(y!=null)return y[p]||y["@@iterator"]||d[f(y)]}}),8554:(function(o,l,u){var f=u(9670),d=u(1246);o.exports=function(h){var p=d(h);if(typeof p!="function")throw TypeError(String(h)+" is not iterable");return f(p.call(h))}}),647:(function(o,l,u){var f=u(7908),d=Math.floor,h="".replace,p=/\$([$&'`]|\d\d?|<[^>]*>)/g,y=/\$([$&'`]|\d\d?)/g;o.exports=function(_,E,S,w,T,C){var x=S+_.length,R=w.length,O=y;return T!==void 0&&(T=f(T),O=p),h.call(C,O,function(m,D){var U;switch(D.charAt(0)){case"$":return"$";case"&":return _;case"`":return E.slice(0,S);case"'":return E.slice(x);case"<":U=T[D.slice(1,-1)];break;default:var K=+D;if(K===0)return m;if(K>R){var B=d(K/10);return B===0?m:B<=R?w[B-1]===void 0?D.charAt(1):w[B-1]+D.charAt(1):m}U=w[K-1]}return U===void 0?"":U})}}),7854:(function(o,l,u){var f=function(d){return d&&d.Math==Math&&d};o.exports=f(typeof globalThis=="object"&&globalThis)||f(typeof window=="object"&&window)||f(typeof self=="object"&&self)||f(typeof u.g=="object"&&u.g)||(function(){return this})()||Function("return this")()}),6656:(function(o){var l={}.hasOwnProperty;o.exports=function(u,f){return l.call(u,f)}}),3501:(function(o){o.exports={}}),490:(function(o,l,u){var f=u(5005);o.exports=f("document","documentElement")}),4664:(function(o,l,u){var f=u(9781),d=u(7293),h=u(317);o.exports=!f&&!d(function(){return Object.defineProperty(h("div"),"a",{get:function(){return 7}}).a!=7})}),1179:(function(o){var l=Math.abs,u=Math.pow,f=Math.floor,d=Math.log,h=Math.LN2,p=function(_,E,S){var w=new Array(S),T=S*8-E-1,C=(1<<T)-1,x=C>>1,R=E===23?u(2,-24)-u(2,-77):0,O=_<0||_===0&&1/_<0?1:0,m=0,D,U,K;for(_=l(_),_!=_||_===1/0?(U=_!=_?1:0,D=C):(D=f(d(_)/h),_*(K=u(2,-D))<1&&(D--,K*=2),D+x>=1?_+=R/K:_+=R*u(2,1-x),_*K>=2&&(D++,K/=2),D+x>=C?(U=0,D=C):D+x>=1?(U=(_*K-1)*u(2,E),D=D+x):(U=_*u(2,x-1)*u(2,E),D=0));E>=8;w[m++]=U&255,U/=256,E-=8);for(D=D<<E|U,T+=E;T>0;w[m++]=D&255,D/=256,T-=8);return w[--m]|=O*128,w},y=function(_,E){var S=_.length,w=S*8-E-1,T=(1<<w)-1,C=T>>1,x=w-7,R=S-1,O=_[R--],m=O&127,D;for(O>>=7;x>0;m=m*256+_[R],R--,x-=8);for(D=m&(1<<-x)-1,m>>=-x,x+=E;x>0;D=D*256+_[R],R--,x-=8);if(m===0)m=1-C;else{if(m===T)return D?NaN:O?-1/0:1/0;D=D+u(2,E),m=m-C}return(O?-1:1)*D*u(2,m-E)};o.exports={pack:p,unpack:y}}),8361:(function(o,l,u){var f=u(7293),d=u(4326),h="".split;o.exports=f(function(){return!Object("z").propertyIsEnumerable(0)})?function(p){return d(p)=="String"?h.call(p,""):Object(p)}:Object}),9587:(function(o,l,u){var f=u(111),d=u(7674);o.exports=function(h,p,y){var _,E;return d&&typeof(_=p.constructor)=="function"&&_!==y&&f(E=_.prototype)&&E!==y.prototype&&d(h,E),h}}),2788:(function(o,l,u){var f=u(5465),d=Function.toString;typeof f.inspectSource!="function"&&(f.inspectSource=function(h){return d.call(h)}),o.exports=f.inspectSource}),9909:(function(o,l,u){var f=u(8536),d=u(7854),h=u(111),p=u(8880),y=u(6656),_=u(5465),E=u(6200),S=u(3501),w=d.WeakMap,T,C,x,R=function(W){return x(W)?C(W):T(W,{})},O=function(W){return function(Y){var Q;if(!h(Y)||(Q=C(Y)).type!==W)throw TypeError("Incompatible receiver, "+W+" required");return Q}};if(f){var m=_.state||(_.state=new w),D=m.get,U=m.has,K=m.set;T=function(W,Y){return Y.facade=W,K.call(m,W,Y),Y},C=function(W){return D.call(m,W)||{}},x=function(W){return U.call(m,W)}}else{var B=E("state");S[B]=!0,T=function(W,Y){return Y.facade=W,p(W,B,Y),Y},C=function(W){return y(W,B)?W[B]:{}},x=function(W){return y(W,B)}}o.exports={set:T,get:C,has:x,enforce:R,getterFor:O}}),7659:(function(o,l,u){var f=u(5112),d=u(7497),h=f("iterator"),p=Array.prototype;o.exports=function(y){return y!==void 0&&(d.Array===y||p[h]===y)}}),3157:(function(o,l,u){var f=u(4326);o.exports=Array.isArray||function(h){return f(h)=="Array"}}),4705:(function(o,l,u){var f=u(7293),d=/#|\.prototype\./,h=function(S,w){var T=y[p(S)];return T==E?!0:T==_?!1:typeof w=="function"?f(w):!!w},p=h.normalize=function(S){return String(S).replace(d,".").toLowerCase()},y=h.data={},_=h.NATIVE="N",E=h.POLYFILL="P";o.exports=h}),111:(function(o){o.exports=function(l){return typeof l=="object"?l!==null:typeof l=="function"}}),1913:(function(o){o.exports=!1}),7850:(function(o,l,u){var f=u(111),d=u(4326),h=u(5112),p=h("match");o.exports=function(y){var _;return f(y)&&((_=y[p])!==void 0?!!_:d(y)=="RegExp")}}),9212:(function(o,l,u){var f=u(9670);o.exports=function(d){var h=d.return;if(h!==void 0)return f(h.call(d)).value}}),3383:(function(o,l,u){var f=u(7293),d=u(9518),h=u(8880),p=u(6656),y=u(5112),_=u(1913),E=y("iterator"),S=!1,w=function(){return this},T,C,x;[].keys&&(x=[].keys(),"next"in x?(C=d(d(x)),C!==Object.prototype&&(T=C)):S=!0);var R=T==null||f(function(){var O={};return T[E].call(O)!==O});R&&(T={}),(!_||R)&&!p(T,E)&&h(T,E,w),o.exports={IteratorPrototype:T,BUGGY_SAFARI_ITERATORS:S}}),7497:(function(o){o.exports={}}),133:(function(o,l,u){var f=u(7293);o.exports=!!Object.getOwnPropertySymbols&&!f(function(){return!String(Symbol())})}),590:(function(o,l,u){var f=u(7293),d=u(5112),h=u(1913),p=d("iterator");o.exports=!f(function(){var y=new URL("b?a=1&b=2&c=3","http://a"),_=y.searchParams,E="";return y.pathname="c%20d",_.forEach(function(S,w){_.delete("b"),E+=w+S}),h&&!y.toJSON||!_.sort||y.href!=="http://a/c%20d?a=1&c=3"||_.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!_[p]||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"||E!=="a1c3"||new URL("http://x",void 0).host!=="x"})}),8536:(function(o,l,u){var f=u(7854),d=u(2788),h=f.WeakMap;o.exports=typeof h=="function"&&/native code/.test(d(h))}),1574:(function(o,l,u){var f=u(9781),d=u(7293),h=u(1956),p=u(5181),y=u(5296),_=u(7908),E=u(8361),S=Object.assign,w=Object.defineProperty;o.exports=!S||d(function(){if(f&&S({b:1},S(w({},"a",{enumerable:!0,get:function(){w(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var T={},C={},x=Symbol(),R="abcdefghijklmnopqrst";return T[x]=7,R.split("").forEach(function(O){C[O]=O}),S({},T)[x]!=7||h(S({},C)).join("")!=R})?function(C,x){for(var R=_(C),O=arguments.length,m=1,D=p.f,U=y.f;O>m;)for(var K=E(arguments[m++]),B=D?h(K).concat(D(K)):h(K),W=B.length,Y=0,Q;W>Y;)Q=B[Y++],(!f||U.call(K,Q))&&(R[Q]=K[Q]);return R}:S}),30:(function(o,l,u){var f=u(9670),d=u(6048),h=u(748),p=u(3501),y=u(490),_=u(317),E=u(6200),S=">",w="<",T="prototype",C="script",x=E("IE_PROTO"),R=function(){},O=function(B){return w+C+S+B+w+"/"+C+S},m=function(B){B.write(O("")),B.close();var W=B.parentWindow.Object;return B=null,W},D=function(){var B=_("iframe"),W="java"+C+":",Y;return B.style.display="none",y.appendChild(B),B.src=String(W),Y=B.contentWindow.document,Y.open(),Y.write(O("document.F=Object")),Y.close(),Y.F},U,K=function(){try{U=document.domain&&new ActiveXObject("htmlfile")}catch{}K=U?m(U):D();for(var B=h.length;B--;)delete K[T][h[B]];return K()};p[x]=!0,o.exports=Object.create||function(W,Y){var Q;return W!==null?(R[T]=f(W),Q=new R,R[T]=null,Q[x]=W):Q=K(),Y===void 0?Q:d(Q,Y)}}),6048:(function(o,l,u){var f=u(9781),d=u(3070),h=u(9670),p=u(1956);o.exports=f?Object.defineProperties:function(_,E){h(_);for(var S=p(E),w=S.length,T=0,C;w>T;)d.f(_,C=S[T++],E[C]);return _}}),3070:(function(o,l,u){var f=u(9781),d=u(4664),h=u(9670),p=u(7593),y=Object.defineProperty;l.f=f?y:function(E,S,w){if(h(E),S=p(S,!0),h(w),d)try{return y(E,S,w)}catch{}if("get"in w||"set"in w)throw TypeError("Accessors not supported");return"value"in w&&(E[S]=w.value),E}}),1236:(function(o,l,u){var f=u(9781),d=u(5296),h=u(9114),p=u(5656),y=u(7593),_=u(6656),E=u(4664),S=Object.getOwnPropertyDescriptor;l.f=f?S:function(T,C){if(T=p(T),C=y(C,!0),E)try{return S(T,C)}catch{}if(_(T,C))return h(!d.f.call(T,C),T[C])}}),8006:(function(o,l,u){var f=u(6324),d=u(748),h=d.concat("length","prototype");l.f=Object.getOwnPropertyNames||function(y){return f(y,h)}}),5181:(function(o,l){l.f=Object.getOwnPropertySymbols}),9518:(function(o,l,u){var f=u(6656),d=u(7908),h=u(6200),p=u(8544),y=h("IE_PROTO"),_=Object.prototype;o.exports=p?Object.getPrototypeOf:function(E){return E=d(E),f(E,y)?E[y]:typeof E.constructor=="function"&&E instanceof E.constructor?E.constructor.prototype:E instanceof Object?_:null}}),6324:(function(o,l,u){var f=u(6656),d=u(5656),h=u(1318).indexOf,p=u(3501);o.exports=function(y,_){var E=d(y),S=0,w=[],T;for(T in E)!f(p,T)&&f(E,T)&&w.push(T);for(;_.length>S;)f(E,T=_[S++])&&(~h(w,T)||w.push(T));return w}}),1956:(function(o,l,u){var f=u(6324),d=u(748);o.exports=Object.keys||function(p){return f(p,d)}}),5296:(function(o,l){var u={}.propertyIsEnumerable,f=Object.getOwnPropertyDescriptor,d=f&&!u.call({1:2},1);l.f=d?function(p){var y=f(this,p);return!!y&&y.enumerable}:u}),7674:(function(o,l,u){var f=u(9670),d=u(6077);o.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var h=!1,p={},y;try{y=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,y.call(p,[]),h=p instanceof Array}catch{}return function(E,S){return f(E),d(S),h?y.call(E,S):E.__proto__=S,E}})():void 0)}),288:(function(o,l,u){var f=u(1694),d=u(648);o.exports=f?{}.toString:function(){return"[object "+d(this)+"]"}}),3887:(function(o,l,u){var f=u(5005),d=u(8006),h=u(5181),p=u(9670);o.exports=f("Reflect","ownKeys")||function(_){var E=d.f(p(_)),S=h.f;return S?E.concat(S(_)):E}}),857:(function(o,l,u){var f=u(7854);o.exports=f}),2248:(function(o,l,u){var f=u(1320);o.exports=function(d,h,p){for(var y in h)f(d,y,h[y],p);return d}}),1320:(function(o,l,u){var f=u(7854),d=u(8880),h=u(6656),p=u(3505),y=u(2788),_=u(9909),E=_.get,S=_.enforce,w=String(String).split("String");(o.exports=function(T,C,x,R){var O=R?!!R.unsafe:!1,m=R?!!R.enumerable:!1,D=R?!!R.noTargetGet:!1,U;if(typeof x=="function"&&(typeof C=="string"&&!h(x,"name")&&d(x,"name",C),U=S(x),U.source||(U.source=w.join(typeof C=="string"?C:""))),T===f){m?T[C]=x:p(C,x);return}else O?!D&&T[C]&&(m=!0):delete T[C];m?T[C]=x:d(T,C,x)})(Function.prototype,"toString",function(){return typeof this=="function"&&E(this).source||y(this)})}),7651:(function(o,l,u){var f=u(4326),d=u(2261);o.exports=function(h,p){var y=h.exec;if(typeof y=="function"){var _=y.call(h,p);if(typeof _!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return _}if(f(h)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return d.call(h,p)}}),2261:(function(o,l,u){var f=u(7066),d=u(2999),h=RegExp.prototype.exec,p=String.prototype.replace,y=h,_=(function(){var T=/a/,C=/b*/g;return h.call(T,"a"),h.call(C,"a"),T.lastIndex!==0||C.lastIndex!==0})(),E=d.UNSUPPORTED_Y||d.BROKEN_CARET,S=/()??/.exec("")[1]!==void 0,w=_||S||E;w&&(y=function(C){var x=this,R,O,m,D,U=E&&x.sticky,K=f.call(x),B=x.source,W=0,Y=C;return U&&(K=K.replace("y",""),K.indexOf("g")===-1&&(K+="g"),Y=String(C).slice(x.lastIndex),x.lastIndex>0&&(!x.multiline||x.multiline&&C[x.lastIndex-1]!==`
212
+ `)&&(B="(?: "+B+")",Y=" "+Y,W++),O=new RegExp("^(?:"+B+")",K)),S&&(O=new RegExp("^"+B+"$(?!\\s)",K)),_&&(R=x.lastIndex),m=h.call(U?O:x,Y),U?m?(m.input=m.input.slice(W),m[0]=m[0].slice(W),m.index=x.lastIndex,x.lastIndex+=m[0].length):x.lastIndex=0:_&&m&&(x.lastIndex=x.global?m.index+m[0].length:R),S&&m&&m.length>1&&p.call(m[0],O,function(){for(D=1;D<arguments.length-2;D++)arguments[D]===void 0&&(m[D]=void 0)}),m}),o.exports=y}),7066:(function(o,l,u){var f=u(9670);o.exports=function(){var d=f(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,l,u){var f=u(7293);function d(h,p){return RegExp(h,p)}l.UNSUPPORTED_Y=f(function(){var h=d("a","y");return h.lastIndex=2,h.exec("abcd")!=null}),l.BROKEN_CARET=f(function(){var h=d("^r","gy");return h.lastIndex=2,h.exec("str")!=null})}),4488:(function(o){o.exports=function(l){if(l==null)throw TypeError("Can't call method on "+l);return l}}),3505:(function(o,l,u){var f=u(7854),d=u(8880);o.exports=function(h,p){try{d(f,h,p)}catch{f[h]=p}return p}}),6340:(function(o,l,u){var f=u(5005),d=u(3070),h=u(5112),p=u(9781),y=h("species");o.exports=function(_){var E=f(_),S=d.f;p&&E&&!E[y]&&S(E,y,{configurable:!0,get:function(){return this}})}}),8003:(function(o,l,u){var f=u(3070).f,d=u(6656),h=u(5112),p=h("toStringTag");o.exports=function(y,_,E){y&&!d(y=E?y:y.prototype,p)&&f(y,p,{configurable:!0,value:_})}}),6200:(function(o,l,u){var f=u(2309),d=u(9711),h=f("keys");o.exports=function(p){return h[p]||(h[p]=d(p))}}),5465:(function(o,l,u){var f=u(7854),d=u(3505),h="__core-js_shared__",p=f[h]||d(h,{});o.exports=p}),2309:(function(o,l,u){var f=u(1913),d=u(5465);(o.exports=function(h,p){return d[h]||(d[h]=p!==void 0?p:{})})("versions",[]).push({version:"3.9.0",mode:f?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),6707:(function(o,l,u){var f=u(9670),d=u(3099),h=u(5112),p=h("species");o.exports=function(y,_){var E=f(y).constructor,S;return E===void 0||(S=f(E)[p])==null?_:d(S)}}),8710:(function(o,l,u){var f=u(9958),d=u(4488),h=function(p){return function(y,_){var E=String(d(y)),S=f(_),w=E.length,T,C;return S<0||S>=w?p?"":void 0:(T=E.charCodeAt(S),T<55296||T>56319||S+1===w||(C=E.charCodeAt(S+1))<56320||C>57343?p?E.charAt(S):T:p?E.slice(S,S+2):(T-55296<<10)+(C-56320)+65536)}};o.exports={codeAt:h(!1),charAt:h(!0)}}),3197:(function(o){var l=2147483647,u=36,f=1,d=26,h=38,p=700,y=72,_=128,E="-",S=/[^\0-\u007E]/,w=/[.\u3002\uFF0E\uFF61]/g,T="Overflow: input needs wider integers to process",C=u-f,x=Math.floor,R=String.fromCharCode,O=function(K){for(var B=[],W=0,Y=K.length;W<Y;){var Q=K.charCodeAt(W++);if(Q>=55296&&Q<=56319&&W<Y){var ie=K.charCodeAt(W++);(ie&64512)==56320?B.push(((Q&1023)<<10)+(ie&1023)+65536):(B.push(Q),W--)}else B.push(Q)}return B},m=function(K){return K+22+75*(K<26)},D=function(K,B,W){var Y=0;for(K=W?x(K/p):K>>1,K+=x(K/B);K>C*d>>1;Y+=u)K=x(K/C);return x(Y+(C+1)*K/(K+h))},U=function(K){var B=[];K=O(K);var W=K.length,Y=_,Q=0,ie=y,ae,ve;for(ae=0;ae<K.length;ae++)ve=K[ae],ve<128&&B.push(R(ve));var H=B.length,J=H;for(H&&B.push(E);J<W;){var z=l;for(ae=0;ae<K.length;ae++)ve=K[ae],ve>=Y&&ve<z&&(z=ve);var ue=J+1;if(z-Y>x((l-Q)/ue))throw RangeError(T);for(Q+=(z-Y)*ue,Y=z,ae=0;ae<K.length;ae++){if(ve=K[ae],ve<Y&&++Q>l)throw RangeError(T);if(ve==Y){for(var we=Q,ke=u;;ke+=u){var Be=ke<=ie?f:ke>=ie+d?d:ke-ie;if(we<Be)break;var nt=we-Be,rt=u-Be;B.push(R(m(Be+nt%rt))),we=x(nt/rt)}B.push(R(m(we))),ie=D(Q,ue,J==H),Q=0,++J}}++Q,++Y}return B.join("")};o.exports=function(K){var B=[],W=K.toLowerCase().replace(w,".").split("."),Y,Q;for(Y=0;Y<W.length;Y++)Q=W[Y],B.push(S.test(Q)?"xn--"+U(Q):Q);return B.join(".")}}),6091:(function(o,l,u){var f=u(7293),d=u(1361),h="​…᠎";o.exports=function(p){return f(function(){return!!d[p]()||h[p]()!=h||d[p].name!==p})}}),3111:(function(o,l,u){var f=u(4488),d=u(1361),h="["+d+"]",p=RegExp("^"+h+h+"*"),y=RegExp(h+h+"*$"),_=function(E){return function(S){var w=String(f(S));return E&1&&(w=w.replace(p,"")),E&2&&(w=w.replace(y,"")),w}};o.exports={start:_(1),end:_(2),trim:_(3)}}),1400:(function(o,l,u){var f=u(9958),d=Math.max,h=Math.min;o.exports=function(p,y){var _=f(p);return _<0?d(_+y,0):h(_,y)}}),7067:(function(o,l,u){var f=u(9958),d=u(7466);o.exports=function(h){if(h===void 0)return 0;var p=f(h),y=d(p);if(p!==y)throw RangeError("Wrong length or index");return y}}),5656:(function(o,l,u){var f=u(8361),d=u(4488);o.exports=function(h){return f(d(h))}}),9958:(function(o){var l=Math.ceil,u=Math.floor;o.exports=function(f){return isNaN(f=+f)?0:(f>0?u:l)(f)}}),7466:(function(o,l,u){var f=u(9958),d=Math.min;o.exports=function(h){return h>0?d(f(h),9007199254740991):0}}),7908:(function(o,l,u){var f=u(4488);o.exports=function(d){return Object(f(d))}}),4590:(function(o,l,u){var f=u(3002);o.exports=function(d,h){var p=f(d);if(p%h)throw RangeError("Wrong offset");return p}}),3002:(function(o,l,u){var f=u(9958);o.exports=function(d){var h=f(d);if(h<0)throw RangeError("The argument can't be less than 0");return h}}),7593:(function(o,l,u){var f=u(111);o.exports=function(d,h){if(!f(d))return d;var p,y;if(h&&typeof(p=d.toString)=="function"&&!f(y=p.call(d))||typeof(p=d.valueOf)=="function"&&!f(y=p.call(d))||!h&&typeof(p=d.toString)=="function"&&!f(y=p.call(d)))return y;throw TypeError("Can't convert object to primitive value")}}),1694:(function(o,l,u){var f=u(5112),d=f("toStringTag"),h={};h[d]="z",o.exports=String(h)==="[object z]"}),9843:(function(o,l,u){var f=u(2109),d=u(7854),h=u(9781),p=u(3832),y=u(260),_=u(3331),E=u(5787),S=u(9114),w=u(8880),T=u(7466),C=u(7067),x=u(4590),R=u(7593),O=u(6656),m=u(648),D=u(111),U=u(30),K=u(7674),B=u(8006).f,W=u(7321),Y=u(2092).forEach,Q=u(6340),ie=u(3070),ae=u(1236),ve=u(9909),H=u(9587),J=ve.get,z=ve.set,ue=ie.f,we=ae.f,ke=Math.round,Be=d.RangeError,nt=_.ArrayBuffer,rt=_.DataView,q=y.NATIVE_ARRAY_BUFFER_VIEWS,I=y.TYPED_ARRAY_TAG,N=y.TypedArray,M=y.TypedArrayPrototype,Z=y.aTypedArrayConstructor,L=y.isTypedArray,G="BYTES_PER_ELEMENT",pe="Wrong length",fe=function(me,ge){for(var Te=0,Pe=ge.length,De=new(Z(me))(Pe);Pe>Te;)De[Te]=ge[Te++];return De},be=function(me,ge){ue(me,ge,{get:function(){return J(this)[ge]}})},_e=function(me){var ge;return me instanceof nt||(ge=m(me))=="ArrayBuffer"||ge=="SharedArrayBuffer"},Ce=function(me,ge){return L(me)&&typeof ge!="symbol"&&ge in me&&String(+ge)==String(ge)},Me=function(ge,Te){return Ce(ge,Te=R(Te,!0))?S(2,ge[Te]):we(ge,Te)},de=function(ge,Te,Pe){return Ce(ge,Te=R(Te,!0))&&D(Pe)&&O(Pe,"value")&&!O(Pe,"get")&&!O(Pe,"set")&&!Pe.configurable&&(!O(Pe,"writable")||Pe.writable)&&(!O(Pe,"enumerable")||Pe.enumerable)?(ge[Te]=Pe.value,ge):ue(ge,Te,Pe)};h?(q||(ae.f=Me,ie.f=de,be(M,"buffer"),be(M,"byteOffset"),be(M,"byteLength"),be(M,"length")),f({target:"Object",stat:!0,forced:!q},{getOwnPropertyDescriptor:Me,defineProperty:de}),o.exports=function(me,ge,Te){var Pe=me.match(/\d+$/)[0]/8,De=me+(Te?"Clamped":"")+"Array",qe="get"+me,_t="set"+me,Ut=d[De],Mt=Ut,Xe=Mt&&Mt.prototype,wt={},mt=function(ft,Ft){var Ct=J(ft);return Ct.view[qe](Ft*Pe+Ct.byteOffset,!0)},Et=function(ft,Ft,Ct){var Ae=J(ft);Te&&(Ct=(Ct=ke(Ct))<0?0:Ct>255?255:Ct&255),Ae.view[_t](Ft*Pe+Ae.byteOffset,Ct,!0)},At=function(ft,Ft){ue(ft,Ft,{get:function(){return mt(this,Ft)},set:function(Ct){return Et(this,Ft,Ct)},enumerable:!0})};q?p&&(Mt=ge(function(ft,Ft,Ct,Ae){return E(ft,Mt,De),H((function(){return D(Ft)?_e(Ft)?Ae!==void 0?new Ut(Ft,x(Ct,Pe),Ae):Ct!==void 0?new Ut(Ft,x(Ct,Pe)):new Ut(Ft):L(Ft)?fe(Mt,Ft):W.call(Mt,Ft):new Ut(C(Ft))})(),ft,Mt)}),K&&K(Mt,N),Y(B(Ut),function(ft){ft in Mt||w(Mt,ft,Ut[ft])}),Mt.prototype=Xe):(Mt=ge(function(ft,Ft,Ct,Ae){E(ft,Mt,De);var Ze=0,ut=0,bt,Lt,tr;if(!D(Ft))tr=C(Ft),Lt=tr*Pe,bt=new nt(Lt);else if(_e(Ft)){bt=Ft,ut=x(Ct,Pe);var pr=Ft.byteLength;if(Ae===void 0){if(pr%Pe||(Lt=pr-ut,Lt<0))throw Be(pe)}else if(Lt=T(Ae)*Pe,Lt+ut>pr)throw Be(pe);tr=Lt/Pe}else return L(Ft)?fe(Mt,Ft):W.call(Mt,Ft);for(z(ft,{buffer:bt,byteOffset:ut,byteLength:Lt,length:tr,view:new rt(bt)});Ze<tr;)At(ft,Ze++)}),K&&K(Mt,N),Xe=Mt.prototype=U(M)),Xe.constructor!==Mt&&w(Xe,"constructor",Mt),I&&w(Xe,I,De),wt[De]=Mt,f({global:!0,forced:Mt!=Ut,sham:!q},wt),G in Mt||w(Mt,G,Pe),G in Xe||w(Xe,G,Pe),Q(De)}):o.exports=function(){}}),3832:(function(o,l,u){var f=u(7854),d=u(7293),h=u(7072),p=u(260).NATIVE_ARRAY_BUFFER_VIEWS,y=f.ArrayBuffer,_=f.Int8Array;o.exports=!p||!d(function(){_(1)})||!d(function(){new _(-1)})||!h(function(E){new _,new _(null),new _(1.5),new _(E)},!0)||d(function(){return new _(new y(2),1,void 0).length!==1})}),3074:(function(o,l,u){var f=u(260).aTypedArrayConstructor,d=u(6707);o.exports=function(h,p){for(var y=d(h,h.constructor),_=0,E=p.length,S=new(f(y))(E);E>_;)S[_]=p[_++];return S}}),7321:(function(o,l,u){var f=u(7908),d=u(7466),h=u(1246),p=u(7659),y=u(9974),_=u(260).aTypedArrayConstructor;o.exports=function(S){var w=f(S),T=arguments.length,C=T>1?arguments[1]:void 0,x=C!==void 0,R=h(w),O,m,D,U,K,B;if(R!=null&&!p(R))for(K=R.call(w),B=K.next,w=[];!(U=B.call(K)).done;)w.push(U.value);for(x&&T>2&&(C=y(C,arguments[2],2)),m=d(w.length),D=new(_(this))(m),O=0;m>O;O++)D[O]=x?C(w[O],O):w[O];return D}}),9711:(function(o){var l=0,u=Math.random();o.exports=function(f){return"Symbol("+String(f===void 0?"":f)+")_"+(++l+u).toString(36)}}),3307:(function(o,l,u){var f=u(133);o.exports=f&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),5112:(function(o,l,u){var f=u(7854),d=u(2309),h=u(6656),p=u(9711),y=u(133),_=u(3307),E=d("wks"),S=f.Symbol,w=_?S:S&&S.withoutSetter||p;o.exports=function(T){return h(E,T)||(y&&h(S,T)?E[T]=S[T]:E[T]=w("Symbol."+T)),E[T]}}),1361:(function(o){o.exports=`
213
+ \v\f\r                 \u2028\u2029\uFEFF`}),8264:(function(o,l,u){var f=u(2109),d=u(7854),h=u(3331),p=u(6340),y="ArrayBuffer",_=h[y],E=d[y];f({global:!0,forced:E!==_},{ArrayBuffer:_}),p(y)}),2222:(function(o,l,u){var f=u(2109),d=u(7293),h=u(3157),p=u(111),y=u(7908),_=u(7466),E=u(6135),S=u(5417),w=u(1194),T=u(5112),C=u(7392),x=T("isConcatSpreadable"),R=9007199254740991,O="Maximum allowed index exceeded",m=C>=51||!d(function(){var B=[];return B[x]=!1,B.concat()[0]!==B}),D=w("concat"),U=function(B){if(!p(B))return!1;var W=B[x];return W!==void 0?!!W:h(B)},K=!m||!D;f({target:"Array",proto:!0,forced:K},{concat:function(W){var Y=y(this),Q=S(Y,0),ie=0,ae,ve,H,J,z;for(ae=-1,H=arguments.length;ae<H;ae++)if(z=ae===-1?Y:arguments[ae],U(z)){if(J=_(z.length),ie+J>R)throw TypeError(O);for(ve=0;ve<J;ve++,ie++)ve in z&&E(Q,ie,z[ve])}else{if(ie>=R)throw TypeError(O);E(Q,ie++,z)}return Q.length=ie,Q}})}),7327:(function(o,l,u){var f=u(2109),d=u(2092).filter,h=u(1194),p=h("filter");f({target:"Array",proto:!0,forced:!p},{filter:function(_){return d(this,_,arguments.length>1?arguments[1]:void 0)}})}),2772:(function(o,l,u){var f=u(2109),d=u(1318).indexOf,h=u(9341),p=[].indexOf,y=!!p&&1/[1].indexOf(1,-0)<0,_=h("indexOf");f({target:"Array",proto:!0,forced:y||!_},{indexOf:function(S){return y?p.apply(this,arguments)||0:d(this,S,arguments.length>1?arguments[1]:void 0)}})}),6992:(function(o,l,u){var f=u(5656),d=u(1223),h=u(7497),p=u(9909),y=u(654),_="Array Iterator",E=p.set,S=p.getterFor(_);o.exports=y(Array,"Array",function(w,T){E(this,{type:_,target:f(w),index:0,kind:T})},function(){var w=S(this),T=w.target,C=w.kind,x=w.index++;return!T||x>=T.length?(w.target=void 0,{value:void 0,done:!0}):C=="keys"?{value:x,done:!1}:C=="values"?{value:T[x],done:!1}:{value:[x,T[x]],done:!1}},"values"),h.Arguments=h.Array,d("keys"),d("values"),d("entries")}),1249:(function(o,l,u){var f=u(2109),d=u(2092).map,h=u(1194),p=h("map");f({target:"Array",proto:!0,forced:!p},{map:function(_){return d(this,_,arguments.length>1?arguments[1]:void 0)}})}),7042:(function(o,l,u){var f=u(2109),d=u(111),h=u(3157),p=u(1400),y=u(7466),_=u(5656),E=u(6135),S=u(5112),w=u(1194),T=w("slice"),C=S("species"),x=[].slice,R=Math.max;f({target:"Array",proto:!0,forced:!T},{slice:function(m,D){var U=_(this),K=y(U.length),B=p(m,K),W=p(D===void 0?K:D,K),Y,Q,ie;if(h(U)&&(Y=U.constructor,typeof Y=="function"&&(Y===Array||h(Y.prototype))?Y=void 0:d(Y)&&(Y=Y[C],Y===null&&(Y=void 0)),Y===Array||Y===void 0))return x.call(U,B,W);for(Q=new(Y===void 0?Array:Y)(R(W-B,0)),ie=0;B<W;B++,ie++)B in U&&E(Q,ie,U[B]);return Q.length=ie,Q}})}),561:(function(o,l,u){var f=u(2109),d=u(1400),h=u(9958),p=u(7466),y=u(7908),_=u(5417),E=u(6135),S=u(1194),w=S("splice"),T=Math.max,C=Math.min,x=9007199254740991,R="Maximum allowed length exceeded";f({target:"Array",proto:!0,forced:!w},{splice:function(m,D){var U=y(this),K=p(U.length),B=d(m,K),W=arguments.length,Y,Q,ie,ae,ve,H;if(W===0?Y=Q=0:W===1?(Y=0,Q=K-B):(Y=W-2,Q=C(T(h(D),0),K-B)),K+Y-Q>x)throw TypeError(R);for(ie=_(U,Q),ae=0;ae<Q;ae++)ve=B+ae,ve in U&&E(ie,ae,U[ve]);if(ie.length=Q,Y<Q){for(ae=B;ae<K-Q;ae++)ve=ae+Q,H=ae+Y,ve in U?U[H]=U[ve]:delete U[H];for(ae=K;ae>K-Q+Y;ae--)delete U[ae-1]}else if(Y>Q)for(ae=K-Q;ae>B;ae--)ve=ae+Q-1,H=ae+Y-1,ve in U?U[H]=U[ve]:delete U[H];for(ae=0;ae<Y;ae++)U[ae+B]=arguments[ae+2];return U.length=K-Q+Y,ie}})}),8309:(function(o,l,u){var f=u(9781),d=u(3070).f,h=Function.prototype,p=h.toString,y=/^\s*function ([^ (]*)/,_="name";f&&!(_ in h)&&d(h,_,{configurable:!0,get:function(){try{return p.call(this).match(y)[1]}catch{return""}}})}),489:(function(o,l,u){var f=u(2109),d=u(7293),h=u(7908),p=u(9518),y=u(8544),_=d(function(){p(1)});f({target:"Object",stat:!0,forced:_,sham:!y},{getPrototypeOf:function(S){return p(h(S))}})}),1539:(function(o,l,u){var f=u(1694),d=u(1320),h=u(288);f||d(Object.prototype,"toString",h,{unsafe:!0})}),4916:(function(o,l,u){var f=u(2109),d=u(2261);f({target:"RegExp",proto:!0,forced:/./.exec!==d},{exec:d})}),9714:(function(o,l,u){var f=u(1320),d=u(9670),h=u(7293),p=u(7066),y="toString",_=RegExp.prototype,E=_[y],S=h(function(){return E.call({source:"a",flags:"b"})!="/a/b"}),w=E.name!=y;(S||w)&&f(RegExp.prototype,y,function(){var C=d(this),x=String(C.source),R=C.flags,O=String(R===void 0&&C instanceof RegExp&&!("flags"in _)?p.call(C):R);return"/"+x+"/"+O},{unsafe:!0})}),8783:(function(o,l,u){var f=u(8710).charAt,d=u(9909),h=u(654),p="String Iterator",y=d.set,_=d.getterFor(p);h(String,"String",function(E){y(this,{type:p,string:String(E),index:0})},function(){var S=_(this),w=S.string,T=S.index,C;return T>=w.length?{value:void 0,done:!0}:(C=f(w,T),S.index+=C.length,{value:C,done:!1})})}),4723:(function(o,l,u){var f=u(7007),d=u(9670),h=u(7466),p=u(4488),y=u(1530),_=u(7651);f("match",1,function(E,S,w){return[function(C){var x=p(this),R=C==null?void 0:C[E];return R!==void 0?R.call(C,x):new RegExp(C)[E](String(x))},function(T){var C=w(S,T,this);if(C.done)return C.value;var x=d(T),R=String(this);if(!x.global)return _(x,R);var O=x.unicode;x.lastIndex=0;for(var m=[],D=0,U;(U=_(x,R))!==null;){var K=String(U[0]);m[D]=K,K===""&&(x.lastIndex=y(R,h(x.lastIndex),O)),D++}return D===0?null:m}]})}),5306:(function(o,l,u){var f=u(7007),d=u(9670),h=u(7466),p=u(9958),y=u(4488),_=u(1530),E=u(647),S=u(7651),w=Math.max,T=Math.min,C=function(x){return x===void 0?x:String(x)};f("replace",2,function(x,R,O,m){var D=m.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,U=m.REPLACE_KEEPS_$0,K=D?"$":"$0";return[function(W,Y){var Q=y(this),ie=W==null?void 0:W[x];return ie!==void 0?ie.call(W,Q,Y):R.call(String(Q),W,Y)},function(B,W){if(!D&&U||typeof W=="string"&&W.indexOf(K)===-1){var Y=O(R,B,this,W);if(Y.done)return Y.value}var Q=d(B),ie=String(this),ae=typeof W=="function";ae||(W=String(W));var ve=Q.global;if(ve){var H=Q.unicode;Q.lastIndex=0}for(var J=[];;){var z=S(Q,ie);if(z===null||(J.push(z),!ve))break;var ue=String(z[0]);ue===""&&(Q.lastIndex=_(ie,h(Q.lastIndex),H))}for(var we="",ke=0,Be=0;Be<J.length;Be++){z=J[Be];for(var nt=String(z[0]),rt=w(T(p(z.index),ie.length),0),q=[],I=1;I<z.length;I++)q.push(C(z[I]));var N=z.groups;if(ae){var M=[nt].concat(q,rt,ie);N!==void 0&&M.push(N);var Z=String(W.apply(void 0,M))}else Z=E(nt,ie,rt,q,N,W);rt>=ke&&(we+=ie.slice(ke,rt)+Z,ke=rt+nt.length)}return we+ie.slice(ke)}]})}),3123:(function(o,l,u){var f=u(7007),d=u(7850),h=u(9670),p=u(4488),y=u(6707),_=u(1530),E=u(7466),S=u(7651),w=u(2261),T=u(7293),C=[].push,x=Math.min,R=4294967295,O=!T(function(){return!RegExp(R,"y")});f("split",2,function(m,D,U){var K;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?K=function(B,W){var Y=String(p(this)),Q=W===void 0?R:W>>>0;if(Q===0)return[];if(B===void 0)return[Y];if(!d(B))return D.call(Y,B,Q);for(var ie=[],ae=(B.ignoreCase?"i":"")+(B.multiline?"m":"")+(B.unicode?"u":"")+(B.sticky?"y":""),ve=0,H=new RegExp(B.source,ae+"g"),J,z,ue;(J=w.call(H,Y))&&(z=H.lastIndex,!(z>ve&&(ie.push(Y.slice(ve,J.index)),J.length>1&&J.index<Y.length&&C.apply(ie,J.slice(1)),ue=J[0].length,ve=z,ie.length>=Q)));)H.lastIndex===J.index&&H.lastIndex++;return ve===Y.length?(ue||!H.test(""))&&ie.push(""):ie.push(Y.slice(ve)),ie.length>Q?ie.slice(0,Q):ie}:"0".split(void 0,0).length?K=function(B,W){return B===void 0&&W===0?[]:D.call(this,B,W)}:K=D,[function(W,Y){var Q=p(this),ie=W==null?void 0:W[m];return ie!==void 0?ie.call(W,Q,Y):K.call(String(Q),W,Y)},function(B,W){var Y=U(K,B,this,W,K!==D);if(Y.done)return Y.value;var Q=h(B),ie=String(this),ae=y(Q,RegExp),ve=Q.unicode,H=(Q.ignoreCase?"i":"")+(Q.multiline?"m":"")+(Q.unicode?"u":"")+(O?"y":"g"),J=new ae(O?Q:"^(?:"+Q.source+")",H),z=W===void 0?R:W>>>0;if(z===0)return[];if(ie.length===0)return S(J,ie)===null?[ie]:[];for(var ue=0,we=0,ke=[];we<ie.length;){J.lastIndex=O?we:0;var Be=S(J,O?ie:ie.slice(we)),nt;if(Be===null||(nt=x(E(J.lastIndex+(O?0:we)),ie.length))===ue)we=_(ie,we,ve);else{if(ke.push(ie.slice(ue,we)),ke.length===z)return ke;for(var rt=1;rt<=Be.length-1;rt++)if(ke.push(Be[rt]),ke.length===z)return ke;we=ue=nt}}return ke.push(ie.slice(ue)),ke}]},!O)}),3210:(function(o,l,u){var f=u(2109),d=u(3111).trim,h=u(6091);f({target:"String",proto:!0,forced:h("trim")},{trim:function(){return d(this)}})}),2990:(function(o,l,u){var f=u(260),d=u(1048),h=f.aTypedArray,p=f.exportTypedArrayMethod;p("copyWithin",function(_,E){return d.call(h(this),_,E,arguments.length>2?arguments[2]:void 0)})}),8927:(function(o,l,u){var f=u(260),d=u(2092).every,h=f.aTypedArray,p=f.exportTypedArrayMethod;p("every",function(_){return d(h(this),_,arguments.length>1?arguments[1]:void 0)})}),3105:(function(o,l,u){var f=u(260),d=u(1285),h=f.aTypedArray,p=f.exportTypedArrayMethod;p("fill",function(_){return d.apply(h(this),arguments)})}),5035:(function(o,l,u){var f=u(260),d=u(2092).filter,h=u(3074),p=f.aTypedArray,y=f.exportTypedArrayMethod;y("filter",function(E){var S=d(p(this),E,arguments.length>1?arguments[1]:void 0);return h(this,S)})}),7174:(function(o,l,u){var f=u(260),d=u(2092).findIndex,h=f.aTypedArray,p=f.exportTypedArrayMethod;p("findIndex",function(_){return d(h(this),_,arguments.length>1?arguments[1]:void 0)})}),4345:(function(o,l,u){var f=u(260),d=u(2092).find,h=f.aTypedArray,p=f.exportTypedArrayMethod;p("find",function(_){return d(h(this),_,arguments.length>1?arguments[1]:void 0)})}),2846:(function(o,l,u){var f=u(260),d=u(2092).forEach,h=f.aTypedArray,p=f.exportTypedArrayMethod;p("forEach",function(_){d(h(this),_,arguments.length>1?arguments[1]:void 0)})}),4731:(function(o,l,u){var f=u(260),d=u(1318).includes,h=f.aTypedArray,p=f.exportTypedArrayMethod;p("includes",function(_){return d(h(this),_,arguments.length>1?arguments[1]:void 0)})}),7209:(function(o,l,u){var f=u(260),d=u(1318).indexOf,h=f.aTypedArray,p=f.exportTypedArrayMethod;p("indexOf",function(_){return d(h(this),_,arguments.length>1?arguments[1]:void 0)})}),6319:(function(o,l,u){var f=u(7854),d=u(260),h=u(6992),p=u(5112),y=p("iterator"),_=f.Uint8Array,E=h.values,S=h.keys,w=h.entries,T=d.aTypedArray,C=d.exportTypedArrayMethod,x=_&&_.prototype[y],R=!!x&&(x.name=="values"||x.name==null),O=function(){return E.call(T(this))};C("entries",function(){return w.call(T(this))}),C("keys",function(){return S.call(T(this))}),C("values",O,!R),C(y,O,!R)}),8867:(function(o,l,u){var f=u(260),d=f.aTypedArray,h=f.exportTypedArrayMethod,p=[].join;h("join",function(_){return p.apply(d(this),arguments)})}),7789:(function(o,l,u){var f=u(260),d=u(6583),h=f.aTypedArray,p=f.exportTypedArrayMethod;p("lastIndexOf",function(_){return d.apply(h(this),arguments)})}),3739:(function(o,l,u){var f=u(260),d=u(2092).map,h=u(6707),p=f.aTypedArray,y=f.aTypedArrayConstructor,_=f.exportTypedArrayMethod;_("map",function(S){return d(p(this),S,arguments.length>1?arguments[1]:void 0,function(w,T){return new(y(h(w,w.constructor)))(T)})})}),4483:(function(o,l,u){var f=u(260),d=u(3671).right,h=f.aTypedArray,p=f.exportTypedArrayMethod;p("reduceRight",function(_){return d(h(this),_,arguments.length,arguments.length>1?arguments[1]:void 0)})}),9368:(function(o,l,u){var f=u(260),d=u(3671).left,h=f.aTypedArray,p=f.exportTypedArrayMethod;p("reduce",function(_){return d(h(this),_,arguments.length,arguments.length>1?arguments[1]:void 0)})}),2056:(function(o,l,u){var f=u(260),d=f.aTypedArray,h=f.exportTypedArrayMethod,p=Math.floor;h("reverse",function(){for(var _=this,E=d(_).length,S=p(E/2),w=0,T;w<S;)T=_[w],_[w++]=_[--E],_[E]=T;return _})}),3462:(function(o,l,u){var f=u(260),d=u(7466),h=u(4590),p=u(7908),y=u(7293),_=f.aTypedArray,E=f.exportTypedArrayMethod,S=y(function(){new Int8Array(1).set({})});E("set",function(T){_(this);var C=h(arguments.length>1?arguments[1]:void 0,1),x=this.length,R=p(T),O=d(R.length),m=0;if(O+C>x)throw RangeError("Wrong length");for(;m<O;)this[C+m]=R[m++]},S)}),678:(function(o,l,u){var f=u(260),d=u(6707),h=u(7293),p=f.aTypedArray,y=f.aTypedArrayConstructor,_=f.exportTypedArrayMethod,E=[].slice,S=h(function(){new Int8Array(1).slice()});_("slice",function(T,C){for(var x=E.call(p(this),T,C),R=d(this,this.constructor),O=0,m=x.length,D=new(y(R))(m);m>O;)D[O]=x[O++];return D},S)}),7462:(function(o,l,u){var f=u(260),d=u(2092).some,h=f.aTypedArray,p=f.exportTypedArrayMethod;p("some",function(_){return d(h(this),_,arguments.length>1?arguments[1]:void 0)})}),3824:(function(o,l,u){var f=u(260),d=f.aTypedArray,h=f.exportTypedArrayMethod,p=[].sort;h("sort",function(_){return p.call(d(this),_)})}),5021:(function(o,l,u){var f=u(260),d=u(7466),h=u(1400),p=u(6707),y=f.aTypedArray,_=f.exportTypedArrayMethod;_("subarray",function(S,w){var T=y(this),C=T.length,x=h(S,C);return new(p(T,T.constructor))(T.buffer,T.byteOffset+x*T.BYTES_PER_ELEMENT,d((w===void 0?C:h(w,C))-x))})}),2974:(function(o,l,u){var f=u(7854),d=u(260),h=u(7293),p=f.Int8Array,y=d.aTypedArray,_=d.exportTypedArrayMethod,E=[].toLocaleString,S=[].slice,w=!!p&&h(function(){E.call(new p(1))}),T=h(function(){return[1,2].toLocaleString()!=new p([1,2]).toLocaleString()})||!h(function(){p.prototype.toLocaleString.call([1,2])});_("toLocaleString",function(){return E.apply(w?S.call(y(this)):y(this),arguments)},T)}),5016:(function(o,l,u){var f=u(260).exportTypedArrayMethod,d=u(7293),h=u(7854),p=h.Uint8Array,y=p&&p.prototype||{},_=[].toString,E=[].join;d(function(){_.call({})})&&(_=function(){return E.call(this)});var S=y.toString!=_;f("toString",_,S)}),2472:(function(o,l,u){var f=u(9843);f("Uint8",function(d){return function(p,y,_){return d(this,p,y,_)}})}),4747:(function(o,l,u){var f=u(7854),d=u(8324),h=u(8533),p=u(8880);for(var y in d){var _=f[y],E=_&&_.prototype;if(E&&E.forEach!==h)try{p(E,"forEach",h)}catch{E.forEach=h}}}),3948:(function(o,l,u){var f=u(7854),d=u(8324),h=u(6992),p=u(8880),y=u(5112),_=y("iterator"),E=y("toStringTag"),S=h.values;for(var w in d){var T=f[w],C=T&&T.prototype;if(C){if(C[_]!==S)try{p(C,_,S)}catch{C[_]=S}if(C[E]||p(C,E,w),d[w]){for(var x in h)if(C[x]!==h[x])try{p(C,x,h[x])}catch{C[x]=h[x]}}}}}),1637:(function(o,l,u){u(6992);var f=u(2109),d=u(5005),h=u(590),p=u(1320),y=u(2248),_=u(8003),E=u(4994),S=u(9909),w=u(5787),T=u(6656),C=u(9974),x=u(648),R=u(9670),O=u(111),m=u(30),D=u(9114),U=u(8554),K=u(1246),B=u(5112),W=d("fetch"),Y=d("Headers"),Q=B("iterator"),ie="URLSearchParams",ae=ie+"Iterator",ve=S.set,H=S.getterFor(ie),J=S.getterFor(ae),z=/\+/g,ue=Array(4),we=function(fe){return ue[fe-1]||(ue[fe-1]=RegExp("((?:%[\\da-f]{2}){"+fe+"})","gi"))},ke=function(fe){try{return decodeURIComponent(fe)}catch{return fe}},Be=function(fe){var be=fe.replace(z," "),_e=4;try{return decodeURIComponent(be)}catch{for(;_e;)be=be.replace(we(_e--),ke);return be}},nt=/[!'()~]|%20/g,rt={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},q=function(fe){return rt[fe]},I=function(fe){return encodeURIComponent(fe).replace(nt,q)},N=function(fe,be){if(be)for(var _e=be.split("&"),Ce=0,Me,de;Ce<_e.length;)Me=_e[Ce++],Me.length&&(de=Me.split("="),fe.push({key:Be(de.shift()),value:Be(de.join("="))}))},M=function(fe){this.entries.length=0,N(this.entries,fe)},Z=function(fe,be){if(fe<be)throw TypeError("Not enough arguments")},L=E(function(be,_e){ve(this,{type:ae,iterator:U(H(be).entries),kind:_e})},"Iterator",function(){var be=J(this),_e=be.kind,Ce=be.iterator.next(),Me=Ce.value;return Ce.done||(Ce.value=_e==="keys"?Me.key:_e==="values"?Me.value:[Me.key,Me.value]),Ce}),G=function(){w(this,G,ie);var be=arguments.length>0?arguments[0]:void 0,_e=this,Ce=[],Me,de,me,ge,Te,Pe,De,qe,_t;if(ve(_e,{type:ie,entries:Ce,updateURL:function(){},updateSearchParams:M}),be!==void 0)if(O(be))if(Me=K(be),typeof Me=="function")for(de=Me.call(be),me=de.next;!(ge=me.call(de)).done;){if(Te=U(R(ge.value)),Pe=Te.next,(De=Pe.call(Te)).done||(qe=Pe.call(Te)).done||!Pe.call(Te).done)throw TypeError("Expected sequence with length 2");Ce.push({key:De.value+"",value:qe.value+""})}else for(_t in be)T(be,_t)&&Ce.push({key:_t,value:be[_t]+""});else N(Ce,typeof be=="string"?be.charAt(0)==="?"?be.slice(1):be:be+"")},pe=G.prototype;y(pe,{append:function(be,_e){Z(arguments.length,2);var Ce=H(this);Ce.entries.push({key:be+"",value:_e+""}),Ce.updateURL()},delete:function(fe){Z(arguments.length,1);for(var be=H(this),_e=be.entries,Ce=fe+"",Me=0;Me<_e.length;)_e[Me].key===Ce?_e.splice(Me,1):Me++;be.updateURL()},get:function(be){Z(arguments.length,1);for(var _e=H(this).entries,Ce=be+"",Me=0;Me<_e.length;Me++)if(_e[Me].key===Ce)return _e[Me].value;return null},getAll:function(be){Z(arguments.length,1);for(var _e=H(this).entries,Ce=be+"",Me=[],de=0;de<_e.length;de++)_e[de].key===Ce&&Me.push(_e[de].value);return Me},has:function(be){Z(arguments.length,1);for(var _e=H(this).entries,Ce=be+"",Me=0;Me<_e.length;)if(_e[Me++].key===Ce)return!0;return!1},set:function(be,_e){Z(arguments.length,1);for(var Ce=H(this),Me=Ce.entries,de=!1,me=be+"",ge=_e+"",Te=0,Pe;Te<Me.length;Te++)Pe=Me[Te],Pe.key===me&&(de?Me.splice(Te--,1):(de=!0,Pe.value=ge));de||Me.push({key:me,value:ge}),Ce.updateURL()},sort:function(){var be=H(this),_e=be.entries,Ce=_e.slice(),Me,de,me;for(_e.length=0,me=0;me<Ce.length;me++){for(Me=Ce[me],de=0;de<me;de++)if(_e[de].key>Me.key){_e.splice(de,0,Me);break}de===me&&_e.push(Me)}be.updateURL()},forEach:function(be){for(var _e=H(this).entries,Ce=C(be,arguments.length>1?arguments[1]:void 0,3),Me=0,de;Me<_e.length;)de=_e[Me++],Ce(de.value,de.key,this)},keys:function(){return new L(this,"keys")},values:function(){return new L(this,"values")},entries:function(){return new L(this,"entries")}},{enumerable:!0}),p(pe,Q,pe.entries),p(pe,"toString",function(){for(var be=H(this).entries,_e=[],Ce=0,Me;Ce<be.length;)Me=be[Ce++],_e.push(I(Me.key)+"="+I(Me.value));return _e.join("&")},{enumerable:!0}),_(G,ie),f({global:!0,forced:!h},{URLSearchParams:G}),!h&&typeof W=="function"&&typeof Y=="function"&&f({global:!0,enumerable:!0,forced:!0},{fetch:function(be){var _e=[be],Ce,Me,de;return arguments.length>1&&(Ce=arguments[1],O(Ce)&&(Me=Ce.body,x(Me)===ie&&(de=Ce.headers?new Y(Ce.headers):new Y,de.has("content-type")||de.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),Ce=m(Ce,{body:D(0,String(Me)),headers:D(0,de)}))),_e.push(Ce)),W.apply(this,_e)}}),o.exports={URLSearchParams:G,getState:H}}),285:(function(o,l,u){u(8783);var f=u(2109),d=u(9781),h=u(590),p=u(7854),y=u(6048),_=u(1320),E=u(5787),S=u(6656),w=u(1574),T=u(8457),C=u(8710).codeAt,x=u(3197),R=u(8003),O=u(1637),m=u(9909),D=p.URL,U=O.URLSearchParams,K=O.getState,B=m.set,W=m.getterFor("URL"),Y=Math.floor,Q=Math.pow,ie="Invalid authority",ae="Invalid scheme",ve="Invalid host",H="Invalid port",J=/[A-Za-z]/,z=/[\d+-.A-Za-z]/,ue=/\d/,we=/^(0x|0X)/,ke=/^[0-7]+$/,Be=/^\d+$/,nt=/^[\dA-Fa-f]+$/,rt=/[\u0000\t\u000A\u000D #%/:?@[\\]]/,q=/[\u0000\t\u000A\u000D #/:?@[\\]]/,I=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,N=/[\t\u000A\u000D]/g,M,Z=function(ye,lt){var tt,ct,kt;if(lt.charAt(0)=="["){if(lt.charAt(lt.length-1)!="]"||(tt=G(lt.slice(1,-1)),!tt))return ve;ye.host=tt}else if(ge(ye)){if(lt=x(lt),rt.test(lt)||(tt=L(lt),tt===null))return ve;ye.host=tt}else{if(q.test(lt))return ve;for(tt="",ct=T(lt),kt=0;kt<ct.length;kt++)tt+=de(ct[kt],be);ye.host=tt}},L=function(ye){var lt=ye.split("."),tt,ct,kt,dt,Gt,Cr,Wr;if(lt.length&&lt[lt.length-1]==""&&lt.pop(),tt=lt.length,tt>4)return ye;for(ct=[],kt=0;kt<tt;kt++){if(dt=lt[kt],dt=="")return ye;if(Gt=10,dt.length>1&&dt.charAt(0)=="0"&&(Gt=we.test(dt)?16:8,dt=dt.slice(Gt==8?1:2)),dt==="")Cr=0;else{if(!(Gt==10?Be:Gt==8?ke:nt).test(dt))return ye;Cr=parseInt(dt,Gt)}ct.push(Cr)}for(kt=0;kt<tt;kt++)if(Cr=ct[kt],kt==tt-1){if(Cr>=Q(256,5-tt))return null}else if(Cr>255)return null;for(Wr=ct.pop(),kt=0;kt<ct.length;kt++)Wr+=ct[kt]*Q(256,3-kt);return Wr},G=function(ye){var lt=[0,0,0,0,0,0,0,0],tt=0,ct=null,kt=0,dt,Gt,Cr,Wr,Kr,an,Nt,Vr=function(){return ye.charAt(kt)};if(Vr()==":"){if(ye.charAt(1)!=":")return;kt+=2,tt++,ct=tt}for(;Vr();){if(tt==8)return;if(Vr()==":"){if(ct!==null)return;kt++,tt++,ct=tt;continue}for(dt=Gt=0;Gt<4&&nt.test(Vr());)dt=dt*16+parseInt(Vr(),16),kt++,Gt++;if(Vr()=="."){if(Gt==0||(kt-=Gt,tt>6))return;for(Cr=0;Vr();){if(Wr=null,Cr>0)if(Vr()=="."&&Cr<4)kt++;else return;if(!ue.test(Vr()))return;for(;ue.test(Vr());){if(Kr=parseInt(Vr(),10),Wr===null)Wr=Kr;else{if(Wr==0)return;Wr=Wr*10+Kr}if(Wr>255)return;kt++}lt[tt]=lt[tt]*256+Wr,Cr++,(Cr==2||Cr==4)&&tt++}if(Cr!=4)return;break}else if(Vr()==":"){if(kt++,!Vr())return}else if(Vr())return;lt[tt++]=dt}if(ct!==null)for(an=tt-ct,tt=7;tt!=0&&an>0;)Nt=lt[tt],lt[tt--]=lt[ct+an-1],lt[ct+--an]=Nt;else if(tt!=8)return;return lt},pe=function(ye){for(var lt=null,tt=1,ct=null,kt=0,dt=0;dt<8;dt++)ye[dt]!==0?(kt>tt&&(lt=ct,tt=kt),ct=null,kt=0):(ct===null&&(ct=dt),++kt);return kt>tt&&(lt=ct,tt=kt),lt},fe=function(ye){var lt,tt,ct,kt;if(typeof ye=="number"){for(lt=[],tt=0;tt<4;tt++)lt.unshift(ye%256),ye=Y(ye/256);return lt.join(".")}else if(typeof ye=="object"){for(lt="",ct=pe(ye),tt=0;tt<8;tt++)kt&&ye[tt]===0||(kt&&(kt=!1),ct===tt?(lt+=tt?":":"::",kt=!0):(lt+=ye[tt].toString(16),tt<7&&(lt+=":")));return"["+lt+"]"}return ye},be={},_e=w({},be,{" ":1,'"':1,"<":1,">":1,"`":1}),Ce=w({},_e,{"#":1,"?":1,"{":1,"}":1}),Me=w({},Ce,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),de=function(ye,lt){var tt=C(ye,0);return tt>32&&tt<127&&!S(lt,ye)?ye:encodeURIComponent(ye)},me={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ge=function(ye){return S(me,ye.scheme)},Te=function(ye){return ye.username!=""||ye.password!=""},Pe=function(ye){return!ye.host||ye.cannotBeABaseURL||ye.scheme=="file"},De=function(ye,lt){var tt;return ye.length==2&&J.test(ye.charAt(0))&&((tt=ye.charAt(1))==":"||!lt&&tt=="|")},qe=function(ye){var lt;return ye.length>1&&De(ye.slice(0,2))&&(ye.length==2||(lt=ye.charAt(2))==="/"||lt==="\\"||lt==="?"||lt==="#")},_t=function(ye){var lt=ye.path,tt=lt.length;tt&&(ye.scheme!="file"||tt!=1||!De(lt[0],!0))&&lt.pop()},Ut=function(ye){return ye==="."||ye.toLowerCase()==="%2e"},Mt=function(ye){return ye=ye.toLowerCase(),ye===".."||ye==="%2e."||ye===".%2e"||ye==="%2e%2e"},Xe={},wt={},mt={},Et={},At={},ft={},Ft={},Ct={},Ae={},Ze={},ut={},bt={},Lt={},tr={},pr={},ar={},dr={},xr={},en={},Qn={},wn={},vn=function(ye,lt,tt,ct){var kt=tt||Xe,dt=0,Gt="",Cr=!1,Wr=!1,Kr=!1,an,Nt,Vr,Ci;for(tt||(ye.scheme="",ye.username="",ye.password="",ye.host=null,ye.port=null,ye.path=[],ye.query=null,ye.fragment=null,ye.cannotBeABaseURL=!1,lt=lt.replace(I,"")),lt=lt.replace(N,""),an=T(lt);dt<=an.length;){switch(Nt=an[dt],kt){case Xe:if(Nt&&J.test(Nt))Gt+=Nt.toLowerCase(),kt=wt;else{if(tt)return ae;kt=mt;continue}break;case wt:if(Nt&&(z.test(Nt)||Nt=="+"||Nt=="-"||Nt=="."))Gt+=Nt.toLowerCase();else if(Nt==":"){if(tt&&(ge(ye)!=S(me,Gt)||Gt=="file"&&(Te(ye)||ye.port!==null)||ye.scheme=="file"&&!ye.host))return;if(ye.scheme=Gt,tt){ge(ye)&&me[ye.scheme]==ye.port&&(ye.port=null);return}Gt="",ye.scheme=="file"?kt=tr:ge(ye)&&ct&&ct.scheme==ye.scheme?kt=Et:ge(ye)?kt=Ct:an[dt+1]=="/"?(kt=At,dt++):(ye.cannotBeABaseURL=!0,ye.path.push(""),kt=en)}else{if(tt)return ae;Gt="",kt=mt,dt=0;continue}break;case mt:if(!ct||ct.cannotBeABaseURL&&Nt!="#")return ae;if(ct.cannotBeABaseURL&&Nt=="#"){ye.scheme=ct.scheme,ye.path=ct.path.slice(),ye.query=ct.query,ye.fragment="",ye.cannotBeABaseURL=!0,kt=wn;break}kt=ct.scheme=="file"?tr:ft;continue;case Et:if(Nt=="/"&&an[dt+1]=="/")kt=Ae,dt++;else{kt=ft;continue}break;case At:if(Nt=="/"){kt=Ze;break}else{kt=xr;continue}case ft:if(ye.scheme=ct.scheme,Nt==M)ye.username=ct.username,ye.password=ct.password,ye.host=ct.host,ye.port=ct.port,ye.path=ct.path.slice(),ye.query=ct.query;else if(Nt=="/"||Nt=="\\"&&ge(ye))kt=Ft;else if(Nt=="?")ye.username=ct.username,ye.password=ct.password,ye.host=ct.host,ye.port=ct.port,ye.path=ct.path.slice(),ye.query="",kt=Qn;else if(Nt=="#")ye.username=ct.username,ye.password=ct.password,ye.host=ct.host,ye.port=ct.port,ye.path=ct.path.slice(),ye.query=ct.query,ye.fragment="",kt=wn;else{ye.username=ct.username,ye.password=ct.password,ye.host=ct.host,ye.port=ct.port,ye.path=ct.path.slice(),ye.path.pop(),kt=xr;continue}break;case Ft:if(ge(ye)&&(Nt=="/"||Nt=="\\"))kt=Ae;else if(Nt=="/")kt=Ze;else{ye.username=ct.username,ye.password=ct.password,ye.host=ct.host,ye.port=ct.port,kt=xr;continue}break;case Ct:if(kt=Ae,Nt!="/"||Gt.charAt(dt+1)!="/")continue;dt++;break;case Ae:if(Nt!="/"&&Nt!="\\"){kt=Ze;continue}break;case Ze:if(Nt=="@"){Cr&&(Gt="%40"+Gt),Cr=!0,Vr=T(Gt);for(var Kn=0;Kn<Vr.length;Kn++){var zi=Vr[Kn];if(zi==":"&&!Kr){Kr=!0;continue}var wi=de(zi,Me);Kr?ye.password+=wi:ye.username+=wi}Gt=""}else if(Nt==M||Nt=="/"||Nt=="?"||Nt=="#"||Nt=="\\"&&ge(ye)){if(Cr&&Gt=="")return ie;dt-=T(Gt).length+1,Gt="",kt=ut}else Gt+=Nt;break;case ut:case bt:if(tt&&ye.scheme=="file"){kt=ar;continue}else if(Nt==":"&&!Wr){if(Gt=="")return ve;if(Ci=Z(ye,Gt),Ci)return Ci;if(Gt="",kt=Lt,tt==bt)return}else if(Nt==M||Nt=="/"||Nt=="?"||Nt=="#"||Nt=="\\"&&ge(ye)){if(ge(ye)&&Gt=="")return ve;if(tt&&Gt==""&&(Te(ye)||ye.port!==null))return;if(Ci=Z(ye,Gt),Ci)return Ci;if(Gt="",kt=dr,tt)return;continue}else Nt=="["?Wr=!0:Nt=="]"&&(Wr=!1),Gt+=Nt;break;case Lt:if(ue.test(Nt))Gt+=Nt;else if(Nt==M||Nt=="/"||Nt=="?"||Nt=="#"||Nt=="\\"&&ge(ye)||tt){if(Gt!=""){var ra=parseInt(Gt,10);if(ra>65535)return H;ye.port=ge(ye)&&ra===me[ye.scheme]?null:ra,Gt=""}if(tt)return;kt=dr;continue}else return H;break;case tr:if(ye.scheme="file",Nt=="/"||Nt=="\\")kt=pr;else if(ct&&ct.scheme=="file")if(Nt==M)ye.host=ct.host,ye.path=ct.path.slice(),ye.query=ct.query;else if(Nt=="?")ye.host=ct.host,ye.path=ct.path.slice(),ye.query="",kt=Qn;else if(Nt=="#")ye.host=ct.host,ye.path=ct.path.slice(),ye.query=ct.query,ye.fragment="",kt=wn;else{qe(an.slice(dt).join(""))||(ye.host=ct.host,ye.path=ct.path.slice(),_t(ye)),kt=xr;continue}else{kt=xr;continue}break;case pr:if(Nt=="/"||Nt=="\\"){kt=ar;break}ct&&ct.scheme=="file"&&!qe(an.slice(dt).join(""))&&(De(ct.path[0],!0)?ye.path.push(ct.path[0]):ye.host=ct.host),kt=xr;continue;case ar:if(Nt==M||Nt=="/"||Nt=="\\"||Nt=="?"||Nt=="#"){if(!tt&&De(Gt))kt=xr;else if(Gt==""){if(ye.host="",tt)return;kt=dr}else{if(Ci=Z(ye,Gt),Ci)return Ci;if(ye.host=="localhost"&&(ye.host=""),tt)return;Gt="",kt=dr}continue}else Gt+=Nt;break;case dr:if(ge(ye)){if(kt=xr,Nt!="/"&&Nt!="\\")continue}else if(!tt&&Nt=="?")ye.query="",kt=Qn;else if(!tt&&Nt=="#")ye.fragment="",kt=wn;else if(Nt!=M&&(kt=xr,Nt!="/"))continue;break;case xr:if(Nt==M||Nt=="/"||Nt=="\\"&&ge(ye)||!tt&&(Nt=="?"||Nt=="#")){if(Mt(Gt)?(_t(ye),Nt!="/"&&!(Nt=="\\"&&ge(ye))&&ye.path.push("")):Ut(Gt)?Nt!="/"&&!(Nt=="\\"&&ge(ye))&&ye.path.push(""):(ye.scheme=="file"&&!ye.path.length&&De(Gt)&&(ye.host&&(ye.host=""),Gt=Gt.charAt(0)+":"),ye.path.push(Gt)),Gt="",ye.scheme=="file"&&(Nt==M||Nt=="?"||Nt=="#"))for(;ye.path.length>1&&ye.path[0]==="";)ye.path.shift();Nt=="?"?(ye.query="",kt=Qn):Nt=="#"&&(ye.fragment="",kt=wn)}else Gt+=de(Nt,Ce);break;case en:Nt=="?"?(ye.query="",kt=Qn):Nt=="#"?(ye.fragment="",kt=wn):Nt!=M&&(ye.path[0]+=de(Nt,be));break;case Qn:!tt&&Nt=="#"?(ye.fragment="",kt=wn):Nt!=M&&(Nt=="'"&&ge(ye)?ye.query+="%27":Nt=="#"?ye.query+="%23":ye.query+=de(Nt,be));break;case wn:Nt!=M&&(ye.fragment+=de(Nt,_e));break}dt++}},dn=function(lt){var tt=E(this,dn,"URL"),ct=arguments.length>1?arguments[1]:void 0,kt=String(lt),dt=B(tt,{type:"URL"}),Gt,Cr;if(ct!==void 0){if(ct instanceof dn)Gt=W(ct);else if(Cr=vn(Gt={},String(ct)),Cr)throw TypeError(Cr)}if(Cr=vn(dt,kt,null,Gt),Cr)throw TypeError(Cr);var Wr=dt.searchParams=new U,Kr=K(Wr);Kr.updateSearchParams(dt.query),Kr.updateURL=function(){dt.query=String(Wr)||null},d||(tt.href=Un.call(tt),tt.origin=ui.call(tt),tt.protocol=ti.call(tt),tt.username=Si.call(tt),tt.password=xi.call(tt),tt.host=bn.call(tt),tt.hostname=Gn.call(tt),tt.port=di.call(tt),tt.pathname=li.call(tt),tt.search=it.call(tt),tt.searchParams=$t.call(tt),tt.hash=vt.call(tt))},jn=dn.prototype,Un=function(){var ye=W(this),lt=ye.scheme,tt=ye.username,ct=ye.password,kt=ye.host,dt=ye.port,Gt=ye.path,Cr=ye.query,Wr=ye.fragment,Kr=lt+":";return kt!==null?(Kr+="//",Te(ye)&&(Kr+=tt+(ct?":"+ct:"")+"@"),Kr+=fe(kt),dt!==null&&(Kr+=":"+dt)):lt=="file"&&(Kr+="//"),Kr+=ye.cannotBeABaseURL?Gt[0]:Gt.length?"/"+Gt.join("/"):"",Cr!==null&&(Kr+="?"+Cr),Wr!==null&&(Kr+="#"+Wr),Kr},ui=function(){var ye=W(this),lt=ye.scheme,tt=ye.port;if(lt=="blob")try{return new URL(lt.path[0]).origin}catch{return"null"}return lt=="file"||!ge(ye)?"null":lt+"://"+fe(ye.host)+(tt!==null?":"+tt:"")},ti=function(){return W(this).scheme+":"},Si=function(){return W(this).username},xi=function(){return W(this).password},bn=function(){var ye=W(this),lt=ye.host,tt=ye.port;return lt===null?"":tt===null?fe(lt):fe(lt)+":"+tt},Gn=function(){var ye=W(this).host;return ye===null?"":fe(ye)},di=function(){var ye=W(this).port;return ye===null?"":String(ye)},li=function(){var ye=W(this),lt=ye.path;return ye.cannotBeABaseURL?lt[0]:lt.length?"/"+lt.join("/"):""},it=function(){var ye=W(this).query;return ye?"?"+ye:""},$t=function(){return W(this).searchParams},vt=function(){var ye=W(this).fragment;return ye?"#"+ye:""},Ge=function(ye,lt){return{get:ye,set:lt,configurable:!0,enumerable:!0}};if(d&&y(jn,{href:Ge(Un,function(ye){var lt=W(this),tt=String(ye),ct=vn(lt,tt);if(ct)throw TypeError(ct);K(lt.searchParams).updateSearchParams(lt.query)}),origin:Ge(ui),protocol:Ge(ti,function(ye){var lt=W(this);vn(lt,String(ye)+":",Xe)}),username:Ge(Si,function(ye){var lt=W(this),tt=T(String(ye));if(!Pe(lt)){lt.username="";for(var ct=0;ct<tt.length;ct++)lt.username+=de(tt[ct],Me)}}),password:Ge(xi,function(ye){var lt=W(this),tt=T(String(ye));if(!Pe(lt)){lt.password="";for(var ct=0;ct<tt.length;ct++)lt.password+=de(tt[ct],Me)}}),host:Ge(bn,function(ye){var lt=W(this);lt.cannotBeABaseURL||vn(lt,String(ye),ut)}),hostname:Ge(Gn,function(ye){var lt=W(this);lt.cannotBeABaseURL||vn(lt,String(ye),bt)}),port:Ge(di,function(ye){var lt=W(this);Pe(lt)||(ye=String(ye),ye==""?lt.port=null:vn(lt,ye,Lt))}),pathname:Ge(li,function(ye){var lt=W(this);lt.cannotBeABaseURL||(lt.path=[],vn(lt,ye+"",dr))}),search:Ge(it,function(ye){var lt=W(this);ye=String(ye),ye==""?lt.query=null:(ye.charAt(0)=="?"&&(ye=ye.slice(1)),lt.query="",vn(lt,ye,Qn)),K(lt.searchParams).updateSearchParams(lt.query)}),searchParams:Ge($t),hash:Ge(vt,function(ye){var lt=W(this);if(ye=String(ye),ye==""){lt.fragment=null;return}ye.charAt(0)=="#"&&(ye=ye.slice(1)),lt.fragment="",vn(lt,ye,wn)})}),_(jn,"toJSON",function(){return Un.call(this)},{enumerable:!0}),_(jn,"toString",function(){return Un.call(this)},{enumerable:!0}),D){var xt=D.createObjectURL,fr=D.revokeObjectURL;xt&&_(dn,"createObjectURL",function(lt){return xt.apply(D,arguments)}),fr&&_(dn,"revokeObjectURL",function(lt){return fr.apply(D,arguments)})}R(dn,"URL"),f({global:!0,forced:!h,sham:!d},{URL:dn})})},n={};function i(o){if(n[o])return n[o].exports;var l=n[o]={exports:{}};return r[o](l,l.exports,i),l.exports}(function(){i.d=function(o,l){for(var u in l)i.o(l,u)&&!i.o(o,u)&&Object.defineProperty(o,u,{enumerable:!0,get:l[u]})}})(),(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,l){return Object.prototype.hasOwnProperty.call(o,l)}})(),(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 H},default:function(){return q}}),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(I,N){var M;if(typeof Symbol>"u"||I[Symbol.iterator]==null){if(Array.isArray(I)||(M=l(I))||I&&typeof I.length=="number"){M&&(I=M);var Z=0,L=function(){};return{s:L,n:function(){return Z>=I.length?{done:!0}:{done:!1,value:I[Z++]}},e:function(_e){throw _e},f:L}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
214
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var G=!0,pe=!1,fe;return{s:function(){M=I[Symbol.iterator]()},n:function(){var _e=M.next();return G=_e.done,_e},e:function(_e){pe=!0,fe=_e},f:function(){try{!G&&M.return!=null&&M.return()}finally{if(pe)throw fe}}}}function l(I,N){if(I){if(typeof I=="string")return u(I,N);var M=Object.prototype.toString.call(I).slice(8,-1);if(M==="Object"&&I.constructor&&(M=I.constructor.name),M==="Map"||M==="Set")return Array.from(I);if(M==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(M))return u(I,N)}}function u(I,N){(N==null||N>I.length)&&(N=I.length);for(var M=0,Z=new Array(N);M<N;M++)Z[M]=I[M];return Z}function f(I,N){if(!(I instanceof N))throw new TypeError("Cannot call a class as a function")}function d(I,N){for(var M=0;M<N.length;M++){var Z=N[M];Z.enumerable=Z.enumerable||!1,Z.configurable=!0,"value"in Z&&(Z.writable=!0),Object.defineProperty(I,Z.key,Z)}}function h(I,N,M){return N&&d(I.prototype,N),I}var p=(function(){function I(){f(this,I)}return h(I,[{key:"on",value:(function(M,Z){return this._callbacks=this._callbacks||{},this._callbacks[M]||(this._callbacks[M]=[]),this._callbacks[M].push(Z),this})},{key:"emit",value:function(M){this._callbacks=this._callbacks||{};for(var Z=this._callbacks[M],L=arguments.length,G=new Array(L>1?L-1:0),pe=1;pe<L;pe++)G[pe-1]=arguments[pe];if(Z){var fe=o(Z),be;try{for(fe.s();!(be=fe.n()).done;){var _e=be.value;_e.apply(this,G)}}catch(Ce){fe.e(Ce)}finally{fe.f()}}return this.element&&this.element.dispatchEvent(this.makeEvent("dropzone:"+M,{args:G})),this}},{key:"makeEvent",value:function(M,Z){var L={bubbles:!0,cancelable:!0,detail:Z};if(typeof window.CustomEvent=="function")return new CustomEvent(M,L);var G=document.createEvent("CustomEvent");return G.initCustomEvent(M,L.bubbles,L.cancelable,L.detail),G}},{key:"off",value:function(M,Z){if(!this._callbacks||arguments.length===0)return this._callbacks={},this;var L=this._callbacks[M];if(!L)return this;if(arguments.length===1)return delete this._callbacks[M],this;for(var G=0;G<L.length;G++){var pe=L[G];if(pe===Z){L.splice(G,1);break}}return this}}]),I})(),y='<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> ',_=y;function E(I,N){var M;if(typeof Symbol>"u"||I[Symbol.iterator]==null){if(Array.isArray(I)||(M=S(I))||I&&typeof I.length=="number"){M&&(I=M);var Z=0,L=function(){};return{s:L,n:function(){return Z>=I.length?{done:!0}:{done:!1,value:I[Z++]}},e:function(_e){throw _e},f:L}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
215
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var G=!0,pe=!1,fe;return{s:function(){M=I[Symbol.iterator]()},n:function(){var _e=M.next();return G=_e.done,_e},e:function(_e){pe=!0,fe=_e},f:function(){try{!G&&M.return!=null&&M.return()}finally{if(pe)throw fe}}}}function S(I,N){if(I){if(typeof I=="string")return w(I,N);var M=Object.prototype.toString.call(I).slice(8,-1);if(M==="Object"&&I.constructor&&(M=I.constructor.name),M==="Map"||M==="Set")return Array.from(I);if(M==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(M))return w(I,N)}}function w(I,N){(N==null||N>I.length)&&(N=I.length);for(var M=0,Z=new Array(N);M<N;M++)Z[M]=I[M];return Z}var T={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(N,M,Z){if(Z)return{dzuuid:Z.file.upload.uuid,dzchunkindex:Z.index,dztotalfilesize:Z.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:Z.file.upload.totalChunkCount,dzchunkbyteoffset:Z.index*this.options.chunkSize}},accept:function(N,M){return M()},chunksUploaded:function(N,M){M()},fallback:function(){var N;this.element.className="".concat(this.element.className," dz-browser-not-supported");var M=E(this.element.getElementsByTagName("div")),Z;try{for(M.s();!(Z=M.n()).done;){var L=Z.value;if(/(^| )dz-message($| )/.test(L.className)){N=L,L.className="dz-message";break}}}catch(pe){M.e(pe)}finally{M.f()}N||(N=H.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(N));var G=N.getElementsByTagName("span")[0];return G&&(G.textContent!=null?G.textContent=this.options.dictFallbackMessage:G.innerText!=null&&(G.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(N,M,Z,L){var G={srcX:0,srcY:0,srcWidth:N.width,srcHeight:N.height},pe=N.width/N.height;M==null&&Z==null?(M=G.srcWidth,Z=G.srcHeight):M==null?M=Z*pe:Z==null&&(Z=M/pe),M=Math.min(M,G.srcWidth),Z=Math.min(Z,G.srcHeight);var fe=M/Z;if(G.srcWidth>M||G.srcHeight>Z)if(L==="crop")pe>fe?(G.srcHeight=N.height,G.srcWidth=G.srcHeight*fe):(G.srcWidth=N.width,G.srcHeight=G.srcWidth/fe);else if(L==="contain")pe>fe?Z=M/pe:M=Z*pe;else throw new Error("Unknown resizeMethod '".concat(L,"'"));return G.srcX=(N.width-G.srcWidth)/2,G.srcY=(N.height-G.srcHeight)/2,G.trgWidth=M,G.trgHeight=Z,G},transformFile:function(N,M){return(this.options.resizeWidth||this.options.resizeHeight)&&N.type.match(/image.*/)?this.resizeImage(N,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,M):M(N)},previewTemplate:_,drop:function(N){return this.element.classList.remove("dz-drag-hover")},dragstart:function(N){},dragend:function(N){return this.element.classList.remove("dz-drag-hover")},dragenter:function(N){return this.element.classList.add("dz-drag-hover")},dragover:function(N){return this.element.classList.add("dz-drag-hover")},dragleave:function(N){return this.element.classList.remove("dz-drag-hover")},paste:function(N){},reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(N){var M=this;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer&&!this.options.disablePreviews){N.previewElement=H.createElement(this.options.previewTemplate.trim()),N.previewTemplate=N.previewElement,this.previewsContainer.appendChild(N.previewElement);var Z=E(N.previewElement.querySelectorAll("[data-dz-name]")),L;try{for(Z.s();!(L=Z.n()).done;){var G=L.value;G.textContent=N.name}}catch(de){Z.e(de)}finally{Z.f()}var pe=E(N.previewElement.querySelectorAll("[data-dz-size]")),fe;try{for(pe.s();!(fe=pe.n()).done;)G=fe.value,G.innerHTML=this.filesize(N.size)}catch(de){pe.e(de)}finally{pe.f()}this.options.addRemoveLinks&&(N._removeLink=H.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'.concat(this.options.dictRemoveFile,"</a>")),N.previewElement.appendChild(N._removeLink));var be=function(me){return me.preventDefault(),me.stopPropagation(),N.status===H.UPLOADING?H.confirm(M.options.dictCancelUploadConfirmation,function(){return M.removeFile(N)}):M.options.dictRemoveFileConfirmation?H.confirm(M.options.dictRemoveFileConfirmation,function(){return M.removeFile(N)}):M.removeFile(N)},_e=E(N.previewElement.querySelectorAll("[data-dz-remove]")),Ce;try{for(_e.s();!(Ce=_e.n()).done;){var Me=Ce.value;Me.addEventListener("click",be)}}catch(de){_e.e(de)}finally{_e.f()}}},removedfile:function(N){return N.previewElement!=null&&N.previewElement.parentNode!=null&&N.previewElement.parentNode.removeChild(N.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(N,M){if(N.previewElement){N.previewElement.classList.remove("dz-file-preview");var Z=E(N.previewElement.querySelectorAll("[data-dz-thumbnail]")),L;try{for(Z.s();!(L=Z.n()).done;){var G=L.value;G.alt=N.name,G.src=M}}catch(pe){Z.e(pe)}finally{Z.f()}return setTimeout(function(){return N.previewElement.classList.add("dz-image-preview")},1)}},error:function(N,M){if(N.previewElement){N.previewElement.classList.add("dz-error"),typeof M!="string"&&M.error&&(M=M.error);var Z=E(N.previewElement.querySelectorAll("[data-dz-errormessage]")),L;try{for(Z.s();!(L=Z.n()).done;){var G=L.value;G.textContent=M}}catch(pe){Z.e(pe)}finally{Z.f()}}},errormultiple:function(){},processing:function(N){if(N.previewElement&&(N.previewElement.classList.add("dz-processing"),N._removeLink))return N._removeLink.innerHTML=this.options.dictCancelUpload},processingmultiple:function(){},uploadprogress:function(N,M,Z){if(N.previewElement){var L=E(N.previewElement.querySelectorAll("[data-dz-uploadprogress]")),G;try{for(L.s();!(G=L.n()).done;){var pe=G.value;pe.nodeName==="PROGRESS"?pe.value=M:pe.style.width="".concat(M,"%")}}catch(fe){L.e(fe)}finally{L.f()}}},totaluploadprogress:function(){},sending:function(){},sendingmultiple:function(){},success:function(N){if(N.previewElement)return N.previewElement.classList.add("dz-success")},successmultiple:function(){},canceled:function(N){return this.emit("error",N,this.options.dictUploadCanceled)},canceledmultiple:function(){},complete:function(N){if(N._removeLink&&(N._removeLink.innerHTML=this.options.dictRemoveFile),N.previewElement)return N.previewElement.classList.add("dz-complete")},completemultiple:function(){},maxfilesexceeded:function(){},maxfilesreached:function(){},queuecomplete:function(){},addedfiles:function(){}},C=T;function x(I){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?x=function(M){return typeof M}:x=function(M){return M&&typeof Symbol=="function"&&M.constructor===Symbol&&M!==Symbol.prototype?"symbol":typeof M},x(I)}function R(I,N){var M;if(typeof Symbol>"u"||I[Symbol.iterator]==null){if(Array.isArray(I)||(M=O(I))||I&&typeof I.length=="number"){M&&(I=M);var Z=0,L=function(){};return{s:L,n:function(){return Z>=I.length?{done:!0}:{done:!1,value:I[Z++]}},e:function(_e){throw _e},f:L}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
216
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var G=!0,pe=!1,fe;return{s:function(){M=I[Symbol.iterator]()},n:function(){var _e=M.next();return G=_e.done,_e},e:function(_e){pe=!0,fe=_e},f:function(){try{!G&&M.return!=null&&M.return()}finally{if(pe)throw fe}}}}function O(I,N){if(I){if(typeof I=="string")return m(I,N);var M=Object.prototype.toString.call(I).slice(8,-1);if(M==="Object"&&I.constructor&&(M=I.constructor.name),M==="Map"||M==="Set")return Array.from(I);if(M==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(M))return m(I,N)}}function m(I,N){(N==null||N>I.length)&&(N=I.length);for(var M=0,Z=new Array(N);M<N;M++)Z[M]=I[M];return Z}function D(I,N){if(!(I instanceof N))throw new TypeError("Cannot call a class as a function")}function U(I,N){for(var M=0;M<N.length;M++){var Z=N[M];Z.enumerable=Z.enumerable||!1,Z.configurable=!0,"value"in Z&&(Z.writable=!0),Object.defineProperty(I,Z.key,Z)}}function K(I,N,M){return N&&U(I.prototype,N),M&&U(I,M),I}function B(I,N){if(typeof N!="function"&&N!==null)throw new TypeError("Super expression must either be null or a function");I.prototype=Object.create(N&&N.prototype,{constructor:{value:I,writable:!0,configurable:!0}}),N&&W(I,N)}function W(I,N){return W=Object.setPrototypeOf||function(Z,L){return Z.__proto__=L,Z},W(I,N)}function Y(I){var N=ae();return function(){var Z=ve(I),L;if(N){var G=ve(this).constructor;L=Reflect.construct(Z,arguments,G)}else L=Z.apply(this,arguments);return Q(this,L)}}function Q(I,N){return N&&(x(N)==="object"||typeof N=="function")?N:ie(I)}function ie(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}function ae(){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 ve(I){return ve=Object.setPrototypeOf?Object.getPrototypeOf:function(M){return M.__proto__||Object.getPrototypeOf(M)},ve(I)}var H=(function(I){B(M,I);var N=Y(M);function M(Z,L){var G;D(this,M),G=N.call(this);var pe,fe;if(G.element=Z,G.version=M.version,G.clickableElements=[],G.listeners=[],G.files=[],typeof G.element=="string"&&(G.element=document.querySelector(G.element)),!G.element||G.element.nodeType==null)throw new Error("Invalid dropzone element.");if(G.element.dropzone)throw new Error("Dropzone already attached.");M.instances.push(ie(G)),G.element.dropzone=ie(G);var be=(fe=M.optionsForElement(G.element))!=null?fe:{};if(G.options=M.extend({},C,be,L??{}),G.options.previewTemplate=G.options.previewTemplate.replace(/\n*/g,""),G.options.forceFallback||!M.isBrowserSupported())return Q(G,G.options.fallback.call(ie(G)));if(G.options.url==null&&(G.options.url=G.element.getAttribute("action")),!G.options.url)throw new Error("No URL provided.");if(G.options.acceptedFiles&&G.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");if(G.options.uploadMultiple&&G.options.chunking)throw new Error("You cannot set both: uploadMultiple and chunking.");return G.options.acceptedMimeTypes&&(G.options.acceptedFiles=G.options.acceptedMimeTypes,delete G.options.acceptedMimeTypes),G.options.renameFilename!=null&&(G.options.renameFile=function(_e){return G.options.renameFilename.call(ie(G),_e.name,_e)}),typeof G.options.method=="string"&&(G.options.method=G.options.method.toUpperCase()),(pe=G.getExistingFallback())&&pe.parentNode&&pe.parentNode.removeChild(pe),G.options.previewsContainer!==!1&&(G.options.previewsContainer?G.previewsContainer=M.getElement(G.options.previewsContainer,"previewsContainer"):G.previewsContainer=G.element),G.options.clickable&&(G.options.clickable===!0?G.clickableElements=[G.element]:G.clickableElements=M.getElements(G.options.clickable,"clickable")),G.init(),G}return K(M,[{key:"getAcceptedFiles",value:function(){return this.files.filter(function(L){return L.accepted}).map(function(L){return L})}},{key:"getRejectedFiles",value:function(){return this.files.filter(function(L){return!L.accepted}).map(function(L){return L})}},{key:"getFilesWithStatus",value:function(L){return this.files.filter(function(G){return G.status===L}).map(function(G){return G})}},{key:"getQueuedFiles",value:function(){return this.getFilesWithStatus(M.QUEUED)}},{key:"getUploadingFiles",value:function(){return this.getFilesWithStatus(M.UPLOADING)}},{key:"getAddedFiles",value:function(){return this.getFilesWithStatus(M.ADDED)}},{key:"getActiveFiles",value:function(){return this.files.filter(function(L){return L.status===M.UPLOADING||L.status===M.QUEUED}).map(function(L){return L})}},{key:"init",value:function(){var L=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(M.createElement('<div class="dz-default dz-message"><button class="dz-button" type="button">'.concat(this.options.dictDefaultMessage,"</button></div>"))),this.clickableElements.length){var G=function Me(){L.hiddenFileInput&&L.hiddenFileInput.parentNode.removeChild(L.hiddenFileInput),L.hiddenFileInput=document.createElement("input"),L.hiddenFileInput.setAttribute("type","file"),(L.options.maxFiles===null||L.options.maxFiles>1)&&L.hiddenFileInput.setAttribute("multiple","multiple"),L.hiddenFileInput.className="dz-hidden-input",L.options.acceptedFiles!==null&&L.hiddenFileInput.setAttribute("accept",L.options.acceptedFiles),L.options.capture!==null&&L.hiddenFileInput.setAttribute("capture",L.options.capture),L.hiddenFileInput.setAttribute("tabindex","-1"),L.hiddenFileInput.style.visibility="hidden",L.hiddenFileInput.style.position="absolute",L.hiddenFileInput.style.top="0",L.hiddenFileInput.style.left="0",L.hiddenFileInput.style.height="0",L.hiddenFileInput.style.width="0",M.getElement(L.options.hiddenInputContainer,"hiddenInputContainer").appendChild(L.hiddenFileInput),L.hiddenFileInput.addEventListener("change",function(){var de=L.hiddenFileInput.files;if(de.length){var me=R(de),ge;try{for(me.s();!(ge=me.n()).done;){var Te=ge.value;L.addFile(Te)}}catch(Pe){me.e(Pe)}finally{me.f()}}L.emit("addedfiles",de),Me()})};G()}this.URL=window.URL!==null?window.URL:window.webkitURL;var pe=R(this.events),fe;try{for(pe.s();!(fe=pe.n()).done;){var be=fe.value;this.on(be,this.options[be])}}catch(Me){pe.e(Me)}finally{pe.f()}this.on("uploadprogress",function(){return L.updateTotalUploadProgress()}),this.on("removedfile",function(){return L.updateTotalUploadProgress()}),this.on("canceled",function(Me){return L.emit("complete",Me)}),this.on("complete",function(Me){if(L.getAddedFiles().length===0&&L.getUploadingFiles().length===0&&L.getQueuedFiles().length===0)return setTimeout(function(){return L.emit("queuecomplete")},0)});var _e=function(de){if(de.dataTransfer.types){for(var me=0;me<de.dataTransfer.types.length;me++)if(de.dataTransfer.types[me]==="Files")return!0}return!1},Ce=function(de){if(_e(de))return de.stopPropagation(),de.preventDefault?de.preventDefault():de.returnValue=!1};return this.listeners=[{element:this.element,events:{dragstart:function(de){return L.emit("dragstart",de)},dragenter:function(de){return Ce(de),L.emit("dragenter",de)},dragover:function(de){var me;try{me=de.dataTransfer.effectAllowed}catch{}return de.dataTransfer.dropEffect=me==="move"||me==="linkMove"?"move":"copy",Ce(de),L.emit("dragover",de)},dragleave:function(de){return L.emit("dragleave",de)},drop:function(de){return Ce(de),L.drop(de)},dragend:function(de){return L.emit("dragend",de)}}}],this.clickableElements.forEach(function(Me){return L.listeners.push({element:Me,events:{click:function(me){return(Me!==L.element||me.target===L.element||M.elementInside(me.target,L.element.querySelector(".dz-message")))&&L.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,M.instances.splice(M.instances.indexOf(this),1)}},{key:"updateTotalUploadProgress",value:function(){var L,G=0,pe=0,fe=this.getActiveFiles();if(fe.length){var be=R(this.getActiveFiles()),_e;try{for(be.s();!(_e=be.n()).done;){var Ce=_e.value;G+=Ce.upload.bytesSent,pe+=Ce.upload.total}}catch(Me){be.e(Me)}finally{be.f()}L=100*G/pe}else L=100;return this.emit("totaluploadprogress",L,pe,G)}},{key:"_getParamName",value:function(L){return typeof this.options.paramName=="function"?this.options.paramName(L):"".concat(this.options.paramName).concat(this.options.uploadMultiple?"[".concat(L,"]"):"")}},{key:"_renameFile",value:function(L){return typeof this.options.renameFile!="function"?L.name:this.options.renameFile(L)}},{key:"getFallbackForm",value:function(){var L,G;if(L=this.getExistingFallback())return L;var pe='<div class="dz-fallback">';this.options.dictFallbackText&&(pe+="<p>".concat(this.options.dictFallbackText,"</p>")),pe+='<input type="file" name="'.concat(this._getParamName(0),'" ').concat(this.options.uploadMultiple?'multiple="multiple"':void 0,' /><input type="submit" value="Upload!"></div>');var fe=M.createElement(pe);return this.element.tagName!=="FORM"?(G=M.createElement('<form action="'.concat(this.options.url,'" enctype="multipart/form-data" method="').concat(this.options.method,'"></form>')),G.appendChild(fe)):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),G??fe}},{key:"getExistingFallback",value:function(){for(var L=function(Ce){var Me=R(Ce),de;try{for(Me.s();!(de=Me.n()).done;){var me=de.value;if(/(^| )fallback($| )/.test(me.className))return me}}catch(ge){Me.e(ge)}finally{Me.f()}},G=0,pe=["div","form"];G<pe.length;G++){var fe=pe[G],be;if(be=L(this.element.getElementsByTagName(fe)))return be}}},{key:"setupEventListeners",value:function(){return this.listeners.map(function(L){return(function(){var G=[];for(var pe in L.events){var fe=L.events[pe];G.push(L.element.addEventListener(pe,fe,!1))}return G})()})}},{key:"removeEventListeners",value:function(){return this.listeners.map(function(L){return(function(){var G=[];for(var pe in L.events){var fe=L.events[pe];G.push(L.element.removeEventListener(pe,fe,!1))}return G})()})}},{key:"disable",value:function(){var L=this;return this.clickableElements.forEach(function(G){return G.classList.remove("dz-clickable")}),this.removeEventListeners(),this.disabled=!0,this.files.map(function(G){return L.cancelUpload(G)})}},{key:"enable",value:function(){return delete this.disabled,this.clickableElements.forEach(function(L){return L.classList.add("dz-clickable")}),this.setupEventListeners()}},{key:"filesize",value:function(L){var G=0,pe="b";if(L>0){for(var fe=["tb","gb","mb","kb","b"],be=0;be<fe.length;be++){var _e=fe[be],Ce=Math.pow(this.options.filesizeBase,4-be)/10;if(L>=Ce){G=L/Math.pow(this.options.filesizeBase,4-be),pe=_e;break}}G=Math.round(10*G)/10}return"<strong>".concat(G,"</strong> ").concat(this.options.dictFileSizeUnits[pe])}},{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(L){if(L.dataTransfer){this.emit("drop",L);for(var G=[],pe=0;pe<L.dataTransfer.files.length;pe++)G[pe]=L.dataTransfer.files[pe];if(G.length){var fe=L.dataTransfer.items;fe&&fe.length&&fe[0].webkitGetAsEntry!=null?this._addFilesFromItems(fe):this.handleFiles(G)}this.emit("addedfiles",G)}}},{key:"paste",value:function(L){if(nt(L!=null?L.clipboardData:void 0,function(pe){return pe.items})!=null){this.emit("paste",L);var G=L.clipboardData.items;if(G.length)return this._addFilesFromItems(G)}}},{key:"handleFiles",value:function(L){var G=R(L),pe;try{for(G.s();!(pe=G.n()).done;){var fe=pe.value;this.addFile(fe)}}catch(be){G.e(be)}finally{G.f()}}},{key:"_addFilesFromItems",value:function(L){var G=this;return(function(){var pe=[],fe=R(L),be;try{for(fe.s();!(be=fe.n()).done;){var _e=be.value,Ce;_e.webkitGetAsEntry!=null&&(Ce=_e.webkitGetAsEntry())?Ce.isFile?pe.push(G.addFile(_e.getAsFile())):Ce.isDirectory?pe.push(G._addFilesFromDirectory(Ce,Ce.name)):pe.push(void 0):_e.getAsFile!=null&&(_e.kind==null||_e.kind==="file")?pe.push(G.addFile(_e.getAsFile())):pe.push(void 0)}}catch(Me){fe.e(Me)}finally{fe.f()}return pe})()}},{key:"_addFilesFromDirectory",value:function(L,G){var pe=this,fe=L.createReader(),be=function(Me){return rt(console,"log",function(de){return de.log(Me)})},_e=function Ce(){return fe.readEntries(function(Me){if(Me.length>0){var de=R(Me),me;try{for(de.s();!(me=de.n()).done;){var ge=me.value;ge.isFile?ge.file(function(Te){if(!(pe.options.ignoreHiddenFiles&&Te.name.substring(0,1)==="."))return Te.fullPath="".concat(G,"/").concat(Te.name),pe.addFile(Te)}):ge.isDirectory&&pe._addFilesFromDirectory(ge,"".concat(G,"/").concat(ge.name))}}catch(Te){de.e(Te)}finally{de.f()}Ce()}return null},be)};return _e()}},{key:"accept",value:function(L,G){this.options.maxFilesize&&L.size>this.options.maxFilesize*1024*1024?G(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(L.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):M.isValidFile(L,this.options.acceptedFiles)?this.options.maxFiles!=null&&this.getAcceptedFiles().length>=this.options.maxFiles?(G(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",L)):this.options.accept.call(this,L,G):G(this.options.dictInvalidFileType)}},{key:"addFile",value:function(L){var G=this;L.upload={uuid:M.uuidv4(),progress:0,total:L.size,bytesSent:0,filename:this._renameFile(L)},this.files.push(L),L.status=M.ADDED,this.emit("addedfile",L),this._enqueueThumbnail(L),this.accept(L,function(pe){pe?(L.accepted=!1,G._errorProcessing([L],pe)):(L.accepted=!0,G.options.autoQueue&&G.enqueueFile(L)),G._updateMaxFilesReachedClass()})}},{key:"enqueueFiles",value:function(L){var G=R(L),pe;try{for(G.s();!(pe=G.n()).done;){var fe=pe.value;this.enqueueFile(fe)}}catch(be){G.e(be)}finally{G.f()}return null}},{key:"enqueueFile",value:function(L){var G=this;if(L.status===M.ADDED&&L.accepted===!0){if(L.status=M.QUEUED,this.options.autoProcessQueue)return setTimeout(function(){return G.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(L){var G=this;if(this.options.createImageThumbnails&&L.type.match(/image.*/)&&L.size<=this.options.maxThumbnailFilesize*1024*1024)return this._thumbnailQueue.push(L),setTimeout(function(){return G._processThumbnailQueue()},0)}},{key:"_processThumbnailQueue",value:function(){var L=this;if(!(this._processingThumbnail||this._thumbnailQueue.length===0)){this._processingThumbnail=!0;var G=this._thumbnailQueue.shift();return this.createThumbnail(G,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,function(pe){return L.emit("thumbnail",G,pe),L._processingThumbnail=!1,L._processThumbnailQueue()})}}},{key:"removeFile",value:function(L){if(L.status===M.UPLOADING&&this.cancelUpload(L),this.files=J(this.files,L),this.emit("removedfile",L),this.files.length===0)return this.emit("reset")}},{key:"removeAllFiles",value:function(L){L==null&&(L=!1);var G=R(this.files.slice()),pe;try{for(G.s();!(pe=G.n()).done;){var fe=pe.value;(fe.status!==M.UPLOADING||L)&&this.removeFile(fe)}}catch(be){G.e(be)}finally{G.f()}return null}},{key:"resizeImage",value:function(L,G,pe,fe,be){var _e=this;return this.createThumbnail(L,G,pe,fe,!0,function(Ce,Me){if(Me==null)return be(L);var de=_e.options.resizeMimeType;de==null&&(de=L.type);var me=Me.toDataURL(de,_e.options.resizeQuality);return(de==="image/jpeg"||de==="image/jpg")&&(me=ke.restore(L.dataURL,me)),be(M.dataURItoBlob(me))})}},{key:"createThumbnail",value:function(L,G,pe,fe,be,_e){var Ce=this,Me=new FileReader;Me.onload=function(){if(L.dataURL=Me.result,L.type==="image/svg+xml"){_e!=null&&_e(Me.result);return}Ce.createThumbnailFromUrl(L,G,pe,fe,be,_e)},Me.readAsDataURL(L)}},{key:"displayExistingFile",value:function(L,G,pe,fe){var be=this,_e=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0;if(this.emit("addedfile",L),this.emit("complete",L),!_e)this.emit("thumbnail",L,G),pe&&pe();else{var Ce=function(de){be.emit("thumbnail",L,de),pe&&pe()};L.dataURL=G,this.createThumbnailFromUrl(L,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,this.options.fixOrientation,Ce,fe)}}},{key:"createThumbnailFromUrl",value:function(L,G,pe,fe,be,_e,Ce){var Me=this,de=document.createElement("img");return Ce&&(de.crossOrigin=Ce),be=getComputedStyle(document.body).imageOrientation=="from-image"?!1:be,de.onload=function(){var me=function(Te){return Te(1)};return typeof EXIF<"u"&&EXIF!==null&&be&&(me=function(Te){return EXIF.getData(de,function(){return Te(EXIF.getTag(this,"Orientation"))})}),me(function(ge){L.width=de.width,L.height=de.height;var Te=Me.options.resize.call(Me,L,G,pe,fe),Pe=document.createElement("canvas"),De=Pe.getContext("2d");switch(Pe.width=Te.trgWidth,Pe.height=Te.trgHeight,ge>4&&(Pe.width=Te.trgHeight,Pe.height=Te.trgWidth),ge){case 2:De.translate(Pe.width,0),De.scale(-1,1);break;case 3:De.translate(Pe.width,Pe.height),De.rotate(Math.PI);break;case 4:De.translate(0,Pe.height),De.scale(1,-1);break;case 5:De.rotate(.5*Math.PI),De.scale(1,-1);break;case 6:De.rotate(.5*Math.PI),De.translate(0,-Pe.width);break;case 7:De.rotate(.5*Math.PI),De.translate(Pe.height,-Pe.width),De.scale(-1,1);break;case 8:De.rotate(-.5*Math.PI),De.translate(-Pe.height,0);break}we(De,de,Te.srcX!=null?Te.srcX:0,Te.srcY!=null?Te.srcY:0,Te.srcWidth,Te.srcHeight,Te.trgX!=null?Te.trgX:0,Te.trgY!=null?Te.trgY:0,Te.trgWidth,Te.trgHeight);var qe=Pe.toDataURL("image/png");if(_e!=null)return _e(qe,Pe)})},_e!=null&&(de.onerror=_e),de.src=L.dataURL}},{key:"processQueue",value:function(){var L=this.options.parallelUploads,G=this.getUploadingFiles().length,pe=G;if(!(G>=L)){var fe=this.getQueuedFiles();if(fe.length>0){if(this.options.uploadMultiple)return this.processFiles(fe.slice(0,L-G));for(;pe<L;){if(!fe.length)return;this.processFile(fe.shift()),pe++}}}}},{key:"processFile",value:function(L){return this.processFiles([L])}},{key:"processFiles",value:function(L){var G=R(L),pe;try{for(G.s();!(pe=G.n()).done;){var fe=pe.value;fe.processing=!0,fe.status=M.UPLOADING,this.emit("processing",fe)}}catch(be){G.e(be)}finally{G.f()}return this.options.uploadMultiple&&this.emit("processingmultiple",L),this.uploadFiles(L)}},{key:"_getFilesWithXhr",value:function(L){return this.files.filter(function(G){return G.xhr===L}).map(function(G){return G})}},{key:"cancelUpload",value:function(L){if(L.status===M.UPLOADING){var G=this._getFilesWithXhr(L.xhr),pe=R(G),fe;try{for(pe.s();!(fe=pe.n()).done;){var be=fe.value;be.status=M.CANCELED}}catch(de){pe.e(de)}finally{pe.f()}typeof L.xhr<"u"&&L.xhr.abort();var _e=R(G),Ce;try{for(_e.s();!(Ce=_e.n()).done;){var Me=Ce.value;this.emit("canceled",Me)}}catch(de){_e.e(de)}finally{_e.f()}this.options.uploadMultiple&&this.emit("canceledmultiple",G)}else(L.status===M.ADDED||L.status===M.QUEUED)&&(L.status=M.CANCELED,this.emit("canceled",L),this.options.uploadMultiple&&this.emit("canceledmultiple",[L]));if(this.options.autoProcessQueue)return this.processQueue()}},{key:"resolveOption",value:function(L){if(typeof L=="function"){for(var G=arguments.length,pe=new Array(G>1?G-1:0),fe=1;fe<G;fe++)pe[fe-1]=arguments[fe];return L.apply(this,pe)}return L}},{key:"uploadFile",value:function(L){return this.uploadFiles([L])}},{key:"uploadFiles",value:function(L){var G=this;this._transformFiles(L,function(pe){if(G.options.chunking){var fe=pe[0];L[0].upload.chunked=G.options.chunking&&(G.options.forceChunking||fe.size>G.options.chunkSize),L[0].upload.totalChunkCount=Math.ceil(fe.size/G.options.chunkSize)}if(L[0].upload.chunked){var be=L[0],_e=pe[0];be.upload.chunks=[];var Ce=function(){for(var Te=0;be.upload.chunks[Te]!==void 0;)Te++;if(!(Te>=be.upload.totalChunkCount)){var Pe=Te*G.options.chunkSize,De=Math.min(Pe+G.options.chunkSize,_e.size),qe={name:G._getParamName(0),data:_e.webkitSlice?_e.webkitSlice(Pe,De):_e.slice(Pe,De),filename:be.upload.filename,chunkIndex:Te};be.upload.chunks[Te]={file:be,index:Te,dataBlock:qe,status:M.UPLOADING,progress:0,retries:0},G._uploadData(L,[qe])}};if(be.upload.finishedChunkUpload=function(ge,Te){var Pe=!0;ge.status=M.SUCCESS,ge.dataBlock=null,ge.xhr=null;for(var De=0;De<be.upload.totalChunkCount;De++){if(be.upload.chunks[De]===void 0)return Ce();be.upload.chunks[De].status!==M.SUCCESS&&(Pe=!1)}Pe&&G.options.chunksUploaded(be,function(){G._finished(L,Te,null)})},G.options.parallelChunkUploads)for(var Me=0;Me<be.upload.totalChunkCount;Me++)Ce();else Ce()}else{for(var de=[],me=0;me<L.length;me++)de[me]={name:G._getParamName(me),data:pe[me],filename:L[me].upload.filename};G._uploadData(L,de)}})}},{key:"_getChunk",value:function(L,G){for(var pe=0;pe<L.upload.totalChunkCount;pe++)if(L.upload.chunks[pe]!==void 0&&L.upload.chunks[pe].xhr===G)return L.upload.chunks[pe]}},{key:"_uploadData",value:function(L,G){var pe=this,fe=new XMLHttpRequest,be=R(L),_e;try{for(be.s();!(_e=be.n()).done;){var Ce=_e.value;Ce.xhr=fe}}catch(Ft){be.e(Ft)}finally{be.f()}L[0].upload.chunked&&(L[0].upload.chunks[G[0].chunkIndex].xhr=fe);var Me=this.resolveOption(this.options.method,L),de=this.resolveOption(this.options.url,L);fe.open(Me,de,!0);var me=this.resolveOption(this.options.timeout,L);me&&(fe.timeout=this.resolveOption(this.options.timeout,L)),fe.withCredentials=!!this.options.withCredentials,fe.onload=function(Ft){pe._finishedUploading(L,fe,Ft)},fe.ontimeout=function(){pe._handleUploadError(L,fe,"Request timedout after ".concat(pe.options.timeout/1e3," seconds"))},fe.onerror=function(){pe._handleUploadError(L,fe)};var ge=fe.upload!=null?fe.upload:fe;ge.onprogress=function(Ft){return pe._updateFilesUploadProgress(L,fe,Ft)};var Te={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"};this.options.headers&&M.extend(Te,this.options.headers);for(var Pe in Te){var De=Te[Pe];De&&fe.setRequestHeader(Pe,De)}var qe=new FormData;if(this.options.params){var _t=this.options.params;typeof _t=="function"&&(_t=_t.call(this,L,fe,L[0].upload.chunked?this._getChunk(L[0],fe):null));for(var Ut in _t){var Mt=_t[Ut];if(Array.isArray(Mt))for(var Xe=0;Xe<Mt.length;Xe++)qe.append(Ut,Mt[Xe]);else qe.append(Ut,Mt)}}var wt=R(L),mt;try{for(wt.s();!(mt=wt.n()).done;){var Et=mt.value;this.emit("sending",Et,fe,qe)}}catch(Ft){wt.e(Ft)}finally{wt.f()}this.options.uploadMultiple&&this.emit("sendingmultiple",L,fe,qe),this._addFormElementData(qe);for(var At=0;At<G.length;At++){var ft=G[At];qe.append(ft.name,ft.data,ft.filename)}this.submitRequest(fe,qe,L)}},{key:"_transformFiles",value:function(L,G){for(var pe=this,fe=[],be=0,_e=function(de){pe.options.transformFile.call(pe,L[de],function(me){fe[de]=me,++be===L.length&&G(fe)})},Ce=0;Ce<L.length;Ce++)_e(Ce)}},{key:"_addFormElementData",value:function(L){if(this.element.tagName==="FORM"){var G=R(this.element.querySelectorAll("input, textarea, select, button")),pe;try{for(G.s();!(pe=G.n()).done;){var fe=pe.value,be=fe.getAttribute("name"),_e=fe.getAttribute("type");if(_e&&(_e=_e.toLowerCase()),!(typeof be>"u"||be===null))if(fe.tagName==="SELECT"&&fe.hasAttribute("multiple")){var Ce=R(fe.options,!0),Me;try{for(Ce.s();!(Me=Ce.n()).done;){var de=Me.value;de.selected&&L.append(be,de.value)}}catch(me){Ce.e(me)}finally{Ce.f()}}else(!_e||_e!=="checkbox"&&_e!=="radio"||fe.checked)&&L.append(be,fe.value)}}catch(me){G.e(me)}finally{G.f()}}}},{key:"_updateFilesUploadProgress",value:function(L,G,pe){if(L[0].upload.chunked){var Ce=L[0],Me=this._getChunk(Ce,G);pe?(Me.progress=100*pe.loaded/pe.total,Me.total=pe.total,Me.bytesSent=pe.loaded):(Me.progress=100,Me.bytesSent=Me.total),Ce.upload.progress=0,Ce.upload.total=0,Ce.upload.bytesSent=0;for(var de=0;de<Ce.upload.totalChunkCount;de++)Ce.upload.chunks[de]&&typeof Ce.upload.chunks[de].progress<"u"&&(Ce.upload.progress+=Ce.upload.chunks[de].progress,Ce.upload.total+=Ce.upload.chunks[de].total,Ce.upload.bytesSent+=Ce.upload.chunks[de].bytesSent);Ce.upload.progress=Ce.upload.progress/Ce.upload.totalChunkCount,this.emit("uploadprogress",Ce,Ce.upload.progress,Ce.upload.bytesSent)}else{var fe=R(L),be;try{for(fe.s();!(be=fe.n()).done;){var _e=be.value;_e.upload.total&&_e.upload.bytesSent&&_e.upload.bytesSent==_e.upload.total||(pe?(_e.upload.progress=100*pe.loaded/pe.total,_e.upload.total=pe.total,_e.upload.bytesSent=pe.loaded):(_e.upload.progress=100,_e.upload.bytesSent=_e.upload.total),this.emit("uploadprogress",_e,_e.upload.progress,_e.upload.bytesSent))}}catch(me){fe.e(me)}finally{fe.f()}}}},{key:"_finishedUploading",value:function(L,G,pe){var fe;if(L[0].status!==M.CANCELED&&G.readyState===4){if(G.responseType!=="arraybuffer"&&G.responseType!=="blob"&&(fe=G.responseText,G.getResponseHeader("content-type")&&~G.getResponseHeader("content-type").indexOf("application/json")))try{fe=JSON.parse(fe)}catch(be){pe=be,fe="Invalid JSON response from server."}this._updateFilesUploadProgress(L,G),200<=G.status&&G.status<300?L[0].upload.chunked?L[0].upload.finishedChunkUpload(this._getChunk(L[0],G),fe):this._finished(L,fe,pe):this._handleUploadError(L,G,fe)}}},{key:"_handleUploadError",value:function(L,G,pe){if(L[0].status!==M.CANCELED){if(L[0].upload.chunked&&this.options.retryChunks){var fe=this._getChunk(L[0],G);if(fe.retries++<this.options.retryChunksLimit){this._uploadData(L,[fe.dataBlock]);return}else console.warn("Retried this chunk too often. Giving up.")}this._errorProcessing(L,pe||this.options.dictResponseError.replace("{{statusCode}}",G.status),G)}}},{key:"submitRequest",value:function(L,G,pe){if(L.readyState!=1){console.warn("Cannot send this request because the XMLHttpRequest.readyState is not OPENED.");return}L.send(G)}},{key:"_finished",value:function(L,G,pe){var fe=R(L),be;try{for(fe.s();!(be=fe.n()).done;){var _e=be.value;_e.status=M.SUCCESS,this.emit("success",_e,G,pe),this.emit("complete",_e)}}catch(Ce){fe.e(Ce)}finally{fe.f()}if(this.options.uploadMultiple&&(this.emit("successmultiple",L,G,pe),this.emit("completemultiple",L)),this.options.autoProcessQueue)return this.processQueue()}},{key:"_errorProcessing",value:function(L,G,pe){var fe=R(L),be;try{for(fe.s();!(be=fe.n()).done;){var _e=be.value;_e.status=M.ERROR,this.emit("error",_e,G,pe),this.emit("complete",_e)}}catch(Ce){fe.e(Ce)}finally{fe.f()}if(this.options.uploadMultiple&&(this.emit("errormultiple",L,G,pe),this.emit("completemultiple",L)),this.options.autoProcessQueue)return this.processQueue()}}],[{key:"initClass",value:function(){this.prototype.Emitter=p,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(L){for(var G=arguments.length,pe=new Array(G>1?G-1:0),fe=1;fe<G;fe++)pe[fe-1]=arguments[fe];for(var be=0,_e=pe;be<_e.length;be++){var Ce=_e[be];for(var Me in Ce){var de=Ce[Me];L[Me]=de}}return L}},{key:"uuidv4",value:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(L){var G=Math.random()*16|0,pe=L==="x"?G:G&3|8;return pe.toString(16)})}}]),M})(p);H.initClass(),H.version="5.9.3",H.options={},H.optionsForElement=function(I){if(I.getAttribute("id"))return H.options[z(I.getAttribute("id"))]},H.instances=[],H.forElement=function(I){if(typeof I=="string"&&(I=document.querySelector(I)),(I!=null?I.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 I.dropzone},H.autoDiscover=!0,H.discover=function(){var I;if(document.querySelectorAll)I=document.querySelectorAll(".dropzone");else{I=[];var N=function(Z){return(function(){var L=[],G=R(Z),pe;try{for(G.s();!(pe=G.n()).done;){var fe=pe.value;/(^| )dropzone($| )/.test(fe.className)?L.push(I.push(fe)):L.push(void 0)}}catch(be){G.e(be)}finally{G.f()}return L})()};N(document.getElementsByTagName("div")),N(document.getElementsByTagName("form"))}return(function(){var M=[],Z=R(I),L;try{for(Z.s();!(L=Z.n()).done;){var G=L.value;H.optionsForElement(G)!==!1?M.push(new H(G)):M.push(void 0)}}catch(pe){Z.e(pe)}finally{Z.f()}return M})()},H.blockedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i],H.isBrowserSupported=function(){var I=!0;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if(!("classList"in document.createElement("a")))I=!1;else{H.blacklistedBrowsers!==void 0&&(H.blockedBrowsers=H.blacklistedBrowsers);var N=R(H.blockedBrowsers),M;try{for(N.s();!(M=N.n()).done;){var Z=M.value;if(Z.test(navigator.userAgent)){I=!1;continue}}}catch(L){N.e(L)}finally{N.f()}}else I=!1;return I},H.dataURItoBlob=function(I){for(var N=atob(I.split(",")[1]),M=I.split(",")[0].split(":")[1].split(";")[0],Z=new ArrayBuffer(N.length),L=new Uint8Array(Z),G=0,pe=N.length,fe=0<=pe;fe?G<=pe:G>=pe;fe?G++:G--)L[G]=N.charCodeAt(G);return new Blob([Z],{type:M})};var J=function(N,M){return N.filter(function(Z){return Z!==M}).map(function(Z){return Z})},z=function(N){return N.replace(/[\-_](\w)/g,function(M){return M.charAt(1).toUpperCase()})};H.createElement=function(I){var N=document.createElement("div");return N.innerHTML=I,N.childNodes[0]},H.elementInside=function(I,N){if(I===N)return!0;for(;I=I.parentNode;)if(I===N)return!0;return!1},H.getElement=function(I,N){var M;if(typeof I=="string"?M=document.querySelector(I):I.nodeType!=null&&(M=I),M==null)throw new Error("Invalid `".concat(N,"` option provided. Please provide a CSS selector or a plain HTML element."));return M},H.getElements=function(I,N){var M,Z;if(I instanceof Array){Z=[];try{var L=R(I,!0),G;try{for(L.s();!(G=L.n()).done;)M=G.value,Z.push(this.getElement(M,N))}catch(be){L.e(be)}finally{L.f()}}catch{Z=null}}else if(typeof I=="string"){Z=[];var pe=R(document.querySelectorAll(I)),fe;try{for(pe.s();!(fe=pe.n()).done;)M=fe.value,Z.push(M)}catch(be){pe.e(be)}finally{pe.f()}}else I.nodeType!=null&&(Z=[I]);if(Z==null||!Z.length)throw new Error("Invalid `".concat(N,"` option provided. Please provide a CSS selector, a plain HTML element or a list of those."));return Z},H.confirm=function(I,N,M){if(window.confirm(I))return N();if(M!=null)return M()},H.isValidFile=function(I,N){if(!N)return!0;N=N.split(",");var M=I.type,Z=M.replace(/\/.*$/,""),L=R(N),G;try{for(L.s();!(G=L.n()).done;){var pe=G.value;if(pe=pe.trim(),pe.charAt(0)==="."){if(I.name.toLowerCase().indexOf(pe.toLowerCase(),I.name.length-pe.length)!==-1)return!0}else if(/\/\*$/.test(pe)){if(Z===pe.replace(/\/.*$/,""))return!0}else if(M===pe)return!0}}catch(fe){L.e(fe)}finally{L.f()}return!1},typeof jQuery<"u"&&jQuery!==null&&(jQuery.fn.dropzone=function(I){return this.each(function(){return new H(this,I)})}),H.ADDED="added",H.QUEUED="queued",H.ACCEPTED=H.QUEUED,H.UPLOADING="uploading",H.PROCESSING=H.UPLOADING,H.CANCELED="canceled",H.ERROR="error",H.SUCCESS="success";var ue=function(N){N.naturalWidth;var M=N.naturalHeight,Z=document.createElement("canvas");Z.width=1,Z.height=M;var L=Z.getContext("2d");L.drawImage(N,0,0);for(var G=L.getImageData(1,0,1,M),pe=G.data,fe=0,be=M,_e=M;_e>fe;){var Ce=pe[(_e-1)*4+3];Ce===0?be=_e:fe=_e,_e=be+fe>>1}var Me=_e/M;return Me===0?1:Me},we=function(N,M,Z,L,G,pe,fe,be,_e,Ce){var Me=ue(M);return N.drawImage(M,Z,L,G,pe,fe,be,_e,Ce/Me)},ke=(function(){function I(){D(this,I)}return K(I,null,[{key:"initClass",value:function(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}},{key:"encode64",value:function(M){for(var Z="",L=void 0,G=void 0,pe="",fe=void 0,be=void 0,_e=void 0,Ce="",Me=0;L=M[Me++],G=M[Me++],pe=M[Me++],fe=L>>2,be=(L&3)<<4|G>>4,_e=(G&15)<<2|pe>>6,Ce=pe&63,isNaN(G)?_e=Ce=64:isNaN(pe)&&(Ce=64),Z=Z+this.KEY_STR.charAt(fe)+this.KEY_STR.charAt(be)+this.KEY_STR.charAt(_e)+this.KEY_STR.charAt(Ce),L=G=pe="",fe=be=_e=Ce="",Me<M.length;);return Z}},{key:"restore",value:function(M,Z){if(!M.match("data:image/jpeg;base64,"))return Z;var L=this.decode64(M.replace("data:image/jpeg;base64,","")),G=this.slice2Segments(L),pe=this.exifManipulation(Z,G);return"data:image/jpeg;base64,".concat(this.encode64(pe))}},{key:"exifManipulation",value:function(M,Z){var L=this.getExifArray(Z),G=this.insertExif(M,L),pe=new Uint8Array(G);return pe}},{key:"getExifArray",value:function(M){for(var Z=void 0,L=0;L<M.length;){if(Z=M[L],Z[0]===255&Z[1]===225)return Z;L++}return[]}},{key:"insertExif",value:function(M,Z){var L=M.replace("data:image/jpeg;base64,",""),G=this.decode64(L),pe=G.indexOf(255,3),fe=G.slice(0,pe),be=G.slice(pe),_e=fe;return _e=_e.concat(Z),_e=_e.concat(be),_e}},{key:"slice2Segments",value:function(M){for(var Z=0,L=[];;){var G;if(M[Z]===255&M[Z+1]===218)break;if(M[Z]===255&M[Z+1]===216)Z+=2;else{G=M[Z+2]*256+M[Z+3];var pe=Z+G+2,fe=M.slice(Z,pe);L.push(fe),Z=pe}if(Z>M.length)break}return L}},{key:"decode64",value:function(M){var Z=void 0,L=void 0,G="",pe=void 0,fe=void 0,be=void 0,_e="",Ce=0,Me=[],de=/[^A-Za-z0-9\+\/\=]/g;for(de.exec(M)&&console.warn(`There were invalid base64 characters in the input text.
217
+ Valid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='
218
+ Expect errors in decoding.`),M=M.replace(/[^A-Za-z0-9\+\/\=]/g,"");pe=this.KEY_STR.indexOf(M.charAt(Ce++)),fe=this.KEY_STR.indexOf(M.charAt(Ce++)),be=this.KEY_STR.indexOf(M.charAt(Ce++)),_e=this.KEY_STR.indexOf(M.charAt(Ce++)),Z=pe<<2|fe>>4,L=(fe&15)<<4|be>>2,G=(be&3)<<6|_e,Me.push(Z),be!==64&&Me.push(L),_e!==64&&Me.push(G),Z=L=G="",pe=fe=be=_e="",Ce<M.length;);return Me}}]),I})();ke.initClass();var Be=function(N,M){var Z=!1,L=!0,G=N.document,pe=G.documentElement,fe=G.addEventListener?"addEventListener":"attachEvent",be=G.addEventListener?"removeEventListener":"detachEvent",_e=G.addEventListener?"":"on",Ce=function de(me){if(!(me.type==="readystatechange"&&G.readyState!=="complete")&&((me.type==="load"?N:G)[be](_e+me.type,de,!1),!Z&&(Z=!0)))return M.call(N,me.type||me)},Me=function de(){try{pe.doScroll("left")}catch{setTimeout(de,50);return}return Ce("poll")};if(G.readyState!=="complete"){if(G.createEventObject&&pe.doScroll){try{L=!N.frameElement}catch{}L&&Me()}return G[fe](_e+"DOMContentLoaded",Ce,!1),G[fe](_e+"readystatechange",Ce,!1),N[fe](_e+"load",Ce,!1)}};H._autoDiscoverFunction=function(){if(H.autoDiscover)return H.discover()},Be(window,H._autoDiscoverFunction);function nt(I,N){return typeof I<"u"&&I!==null?N(I):void 0}function rt(I,N,M){if(typeof I<"u"&&I!==null&&typeof I[N]=="function")return M(I,N)}window.Dropzone=H;var q=H})(),a})()})})(Ex)),Ex.exports}var rke=tke();const kY=$n(rke),Lv="upload.internetConnectivityError";class nke extends kc{constructor(){super(Gr.getPhrase(Lv,"title"))}get name(){return"InternetConnectivityError"}get dialogOptions(){return{title:Gr.getPhrase(Lv,"heading"),text:Gr.getPhrase(Lv,"body"),buttons:[{text:Gr.getPhrase(Lv,"okay"),className:"btn btn-outline-dark",success:!0}]}}}const Nv="upload.slowInternetError";class ike extends kc{constructor(){super(Gr.getPhrase(Nv,"title"))}get name(){return"SlowInternetError"}get dialogOptions(){return{title:Gr.getPhrase(Nv,"heading"),text:Gr.getPhrase(Nv,"body"),buttons:[{text:Gr.getPhrase(Nv,"okay"),className:"btn btn-outline-dark",success:!0}]}}}const ake=[];class DY extends co{constructor(t){super(t),this.slowInternetTimeout={},this.showSlowInternetTimeout=!0}get name(){return"DropzoneWrapper"}initialize(t){const{loggingEnabled:r}=this.options,n=Mr.Radio.channel(t.channelName),i=this;this.dropzone=new kY(document.createElement("div"),{url:(a=>{const o=a[0],{ingestUrl:l}=o.cvUpload;return l}),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&&(Je.each(ake,a=>{this.on(a,(...o)=>{const l=o[0]instanceof File?o[0].name:o[0];console.info(a,l,o)})}),this.on("uploadprogress",(a,o,l)=>{const u=l/a.size*100;n.trigger("progress",i.getId(a),u,l)}),this.on("success",a=>{const o=a.upload.chunks,l=Je.last(o);let u=l.xhr;u||(u=l.file.xhr);const f=JSON.parse(u.response);a.cvUpload.fileId=f.id,n.trigger(fu.UPLOAD_SUCCESS,a,f)}),this.on("error",(a,o,l)=>{if(l&&l.status===0){vr.throw(new nke);return}a.status!=="canceled"&&vr.throw(new Wre(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 ike),i.showSlowInternetTimeout=!1},3e4))}),this.on("complete",a=>window.clearTimeout(i.slowInternetTimeout[a.path])))},params:(a,o,l)=>{if(l)return{chunk_index:l.index,upload_length:l.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 kY.isValidFile(t,r)}}class oke extends HPe{constructor(){super({dataProvider:cu.getInstance(jg.Ajax),cache:cu.getInstance(Fg.Fifo),alertService:cu.getInstance(Zm.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();Ta(r,l=>{this.incrementingUploadId++,o.create({resource:t,eventPrefix:`request:upload:${this.incrementingUploadId}`,data:this.getFileUploadRequest(l,n),callback:u=>{i(l,u)},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(){cu.releaseInstance(jg.Ajax).releaseInstance(Fg.Fifo)}}const ske={0:Dv.VIDEO,1:Dv.RESOURCES,2:Dv.SUBTITLES,3:Dv.MIXED_MEDIA},uke={0:ih.VIDEO_UPLOAD,1:ih.RESOURCE_UPLOAD,2:ih.SUBTITLE_UPLOAD,3:ih.MIXED_MEDIA_UPLOAD},lke=1024*1024*4,cke=1024*1024*1024*50;class fke extends co{initialize(){this.uploadDataService=new oke,this.progressViewModel=Lne.get(`upload:progress:${this.uploadType}`),this.bindListeners()}get channelName(){return uke[this.uploadType]}get lang(){return"uploadShared.services"}initUploader(t,r){if(this.uploader)return;let n=lke;t&&n<t&&(n=t),r&&n>r&&(n=r),this.uploader=new DY({chunkingEnabled:!0,loggingEnabled:!0,chunkSize:n,maxFileSize:cke,acceptedFiles:this.getAcceptedFiles(),channelName:this.channelName})}bindListeners(){this.listenTo(this.channelName,"progress",this.onProgress),this.listenTo(this.channelName,fu.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 qm,this.collection)}setOverallProgress(){let t=0,r=0;const n=this.getCollection();if(!n.length){this.progressViewModel.set({progress:0});return}n.each(l=>{t+=l.get("totalUploaded")||0,r+=l.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 DY.isValidFile(t,this.getAcceptedFiles())}addFiles(t,r){if(Ux(t,n=>!this.isValidFile(n))){vr.throw(new WPe(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 l=await Gee(this.options.store.dispatch,eke.requestUpload(o,this.fileLifestyle));"minChunkSize"in l&&"maxChunkSize"in l&&this.initUploader(l.minChunkSize,l.maxChunkSize),o.cvUpload={uploadId:l.uploadId,ingestUrl:l.uploadUrl},this.uploader.addFile(o);let u=o.name;this.uploadType===0&&(u=u.replace(/\.[^/.]+$/,""));const f=this.uploader.getId(o);i.add({id:f,file:o,name:u,...this.getAdditionalFileInfo(o,l)},{at:i.length-1})}r&&qa.logUserAction({uploadCount:t.length},r),Mr.Radio.channel(this.channelName).trigger(fu.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,()=>{qa.logUserAction(n.toJSON(),{entity:kn.Video,actionType:Bt.Upload,workflowPhase:Zu.Discard,descriptor:Xx.Single,location:ba.MyUploads}),Mr.Radio.channel(this.channelName).trigger(fu.UPLOAD_CANCELLED)}),this.setOverallProgress()}onSuccess(t,r){const n=this.uploader.getId(t),i=this.getCollection().get(n);i.set("fileInfo",r),qa.logUserAction({id:t.cvUpload.uploadId},{entity:kn.Video,actionType:Bt.Upload,workflowPhase:Zu.Complete,descriptor:Xx.Single,location:ba.VideoUpload}),Mr.Radio.channel(this.channelName).trigger(fu.UPLOAD_COMPLETE,i)}cancelAllUploads(){const t=this.getCollection().map(r=>r.get("id"));Ta(t,r=>this.cancelUpload(r))}getUpload(t){const r=this.uploader.getId(t);return this.getCollection().get(r)}getAcceptedFiles(){return ske[this.uploadType]}getAdditionalFileInfo(t,r){return{}}}class dke extends fke{get uploadType(){return 3}get name(){return qre.MixedMediaUpload}get fileLifestyle(){return sP.Temporary}}var hke=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return are(t,n)})},Sx=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return ore(t,n)})},uP=(function(e){bI(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(l,u){var f=n.resolveArguments(l,u),d=f[0],h=f[1];n.removeClasses(d,"exit"),n.addClass(d,h?"appear":"enter","base"),n.props.onEnter&&n.props.onEnter(l,u)},n.onEntering=function(l,u){var f=n.resolveArguments(l,u),d=f[0],h=f[1],p=h?"appear":"enter";n.addClass(d,p,"active"),n.props.onEntering&&n.props.onEntering(l,u)},n.onEntered=function(l,u){var f=n.resolveArguments(l,u),d=f[0],h=f[1],p=h?"appear":"enter";n.removeClasses(d,p),n.addClass(d,p,"done"),n.props.onEntered&&n.props.onEntered(l,u)},n.onExit=function(l){var u=n.resolveArguments(l),f=u[0];n.removeClasses(f,"appear"),n.removeClasses(f,"enter"),n.addClass(f,"exit","base"),n.props.onExit&&n.props.onExit(l)},n.onExiting=function(l){var u=n.resolveArguments(l),f=u[0];n.addClass(f,"exit","active"),n.props.onExiting&&n.props.onExiting(l)},n.onExited=function(l){var u=n.resolveArguments(l),f=u[0];n.removeClasses(f,"exit"),n.addClass(f,"exit","done"),n.props.onExited&&n.props.onExited(l)},n.resolveArguments=function(l,u){return n.props.nodeRef?[n.props.nodeRef.current,l]:[l,u]},n.getClassNames=function(l){var u=n.props.classNames,f=typeof u=="string",d=f&&u?u+"-":"",h=f?""+d+l:u[l],p=f?h+"-active":u[l+"Active"],y=f?h+"-done":u[l+"Done"];return{baseClassName:h,activeClassName:p,doneClassName:y}},n}var r=t.prototype;return r.addClass=function(i,a,o){var l=this.getClassNames(a)[o+"ClassName"],u=this.getClassNames("enter"),f=u.doneClassName;a==="appear"&&o==="done"&&f&&(l+=" "+f),o==="active"&&i&&pte(i),l&&(this.appliedClasses[a][o]=l,hke(i,l))},r.removeClasses=function(i,a){var o=this.appliedClasses[a],l=o.base,u=o.active,f=o.done;this.appliedClasses[a]={},l&&Sx(i,l),u&&Sx(i,u),f&&Sx(i,f)},r.render=function(){var i=this.props;i.classNames;var a=Ym(i,["classNames"]);return Dr.createElement(Hs,Ah({},a,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t})(Dr.Component);uP.defaultProps={classNames:""};uP.propTypes={};function pke(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lP(e,t){var r=function(a){return t&&Se.isValidElement(a)?t(a):a},n=Object.create(null);return e&&Se.Children.map(e,function(i){return i}).forEach(function(i){n[i.key]=r(i)}),n}function vke(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,l={};for(var u in t){if(n[u])for(o=0;o<n[u].length;o++){var f=n[u][o];l[n[u][o]]=r(f)}l[u]=r(u)}for(o=0;o<i.length;o++)l[i[o]]=r(i[o]);return l}function Wl(e,t,r){return r[t]!=null?r[t]:e.props[t]}function gke(e,t){return lP(e.children,function(r){return Se.cloneElement(r,{onExited:t.bind(null,r),in:!0,appear:Wl(r,"appear",e),enter:Wl(r,"enter",e),exit:Wl(r,"exit",e)})})}function mke(e,t,r){var n=lP(e.children),i=vke(t,n);return Object.keys(i).forEach(function(a){var o=i[a];if(Se.isValidElement(o)){var l=a in t,u=a in n,f=t[a],d=Se.isValidElement(f)&&!f.props.in;u&&(!l||d)?i[a]=Se.cloneElement(o,{onExited:r.bind(null,o),in:!0,exit:Wl(o,"exit",e),enter:Wl(o,"enter",e)}):!u&&l&&!d?i[a]=Se.cloneElement(o,{in:!1}):u&&l&&Se.isValidElement(f)&&(i[a]=Se.cloneElement(o,{onExited:r.bind(null,o),in:f.props.in,exit:Wl(o,"exit",e),enter:Wl(o,"enter",e)}))}}),i}var yke=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},_ke={component:"div",childFactory:function(t){return t}},cP=(function(e){bI(t,e);function t(n,i){var a;a=e.call(this,n,i)||this;var o=a.handleExited.bind(pke(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,l=a.handleExited,u=a.firstRender;return{children:u?gke(i,l):mke(i,o,l),firstRender:!1}},r.handleExited=function(i,a){var o=lP(this.props.children);i.key in o||(i.props.onExited&&i.props.onExited(a),this.mounted&&this.setState(function(l){var u=Ah({},l.children);return delete u[i.key],{children:u}}))},r.render=function(){var i=this.props,a=i.component,o=i.childFactory,l=Ym(i,["component","childFactory"]),u=this.state.contextValue,f=yke(this.state.children).map(o);return delete l.appear,delete l.enter,delete l.exit,a===null?Dr.createElement(Ag.Provider,{value:u},f):Dr.createElement(Ag.Provider,{value:u},Dr.createElement(a,l,f))},t})(Dr.Component);cP.propTypes={};cP.defaultProps=_ke;function Eke(e){return ce.jsx("svg",{...e,children:ce.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 Ske(e){return ce.jsx("svg",{...e,children:ce.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 wke(e){return ce.jsx("svg",{...e,children:ce.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 bke(e){return ce.jsx("svg",{...e,children:ce.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 Tke="_alertItem_i5y1z_1",Ake="_alertBox_i5y1z_11",Rke="_alertList_i5y1z_11",xke="_icon_i5y1z_28",Cke="_alertContent_i5y1z_32",Oke="_heading_i5y1z_40",Gl={alertItem:Tke,alertBox:Ake,alertList:Rke,icon:xke,alertContent:Cke,heading:Oke};function Ike(e){const{alert:t,svg:r,svgClassName:n,closeAlert:i}=e,{message:a,heading:o,appLink:l,appLinkText:u,appLinkClassName:f="",extLink:d,extLinkText:h,extLinkClassName:p}=t;return ce.jsxs(ce.Fragment,{children:[ce.jsx("div",{className:`d-inline-block ${Gl.icon}`,children:ce.jsx(al,{svg:r,className:`svg-container ${n}`})}),ce.jsxs("div",{role:t.type===ms.Fail?"alert":"status",className:`ps-2 d-inline-block ${Gl.alertContent}`,children:[ce.jsx("p",{className:`p-0 m-0 pb-1 ${Gl.heading}`,children:o}),ce.jsx("p",{className:`p-0 text-break clamp-4 ${Gl.message}`,dangerouslySetInnerHTML:{__html:a}}),!!l&&ce.jsx(xo,{className:f,appLink:l,children:ce.jsx("span",{dangerouslySetInnerHTML:{__html:u}})}),!!d&&h&&ce.jsx("a",{href:d,className:p,target:"_blank",children:h})]}),ce.jsx("div",{className:"btn-close d-inline-block cursor-pointer",role:"button","aria-label":"Close",onClick:i})]})}const Pke=e=>{switch(e.type){case ms.Success:return Eke;case ms.Fail:case ms.Warning:return bke;case ms.Pending:return wke;case ms.Info:default:return Ske}},kke=e=>e.type===ms.Pending?"text-info":`text-${e.type}`;Nne.defaultProps={timeout:3e3};function Nne({alert:e,closeAlert:t,timeout:r}){const[n,i]=Se.useState(!0),a=Se.useRef(null);return Se.useEffect(()=>{if(!n){clearTimeout(a.current);return}a.current=window.setTimeout(t,r)},[n]),ce.jsx("li",{className:`bg-white mt-2 p-2 show clearfix ${Gl.alertItem}`,onMouseEnter:()=>i(!1),onMouseLeave:()=>i(!0),children:ce.jsx(Ike,{alert:e,svg:Pke(e),svgClassName:kke(e),closeAlert:t})})}function Dke({alerts:e,removeAlert:t}){return ce.jsx("div",{className:Gl.alertBox,children:ce.jsx(cP,{component:"ul",className:`${Gl.alertList} list-unstyled`,children:e&&e.map((r,n)=>ce.jsx(uP,{timeout:200,classNames:"alert",children:ce.jsx(Nne,{alert:r,closeAlert:()=>t(r.id),timeout:r.timeout})},n))})})}async function Lke(e,t){try{const r={maxAlerts:3,defaultSuccessAlert:{heading:yC.Success,type:ms.Success},defaultErrorAlert:{heading:yC.Fail,type:ms.Fail},alertViewCtor:Dke};cu.registerSingleton(new HAe(r)).registerInstance(dke,{store:e.store}),t(e)}catch{vr.throw(new Mf)}}function Nke(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 _f;typeof self<"u"?_f=self:typeof window<"u"?_f=window:typeof globalThis<"u"?_f=globalThis:typeof module<"u"?_f=module:_f=Function("return this")();var LY=Nke(_f),wx=function(){return Math.random().toString(36).substring(7).split("").join(".")},gh={INIT:"@@redux/INIT"+wx(),REPLACE:"@@redux/REPLACE"+wx(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+wx()}};function Mke(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 Mne(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(Mne)(e,t)}if(typeof e!="function")throw new Error("Expected the reducer to be a function.");var i=e,a=t,o=[],l=o,u=!1;function f(){l===o&&(l=o.slice())}function d(){if(u)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(E){if(typeof E!="function")throw new Error("Expected the listener to be a function.");if(u)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 f(),l.push(E),function(){if(S){if(u)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,f();var T=l.indexOf(E);l.splice(T,1)}}}function p(E){if(!Mke(E))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(typeof E.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(u)throw new Error("Reducers may not dispatch actions.");try{u=!0,a=i(a,E)}finally{u=!1}for(var S=o=l,w=0;w<S.length;w++){var T=S[w];T()}return E}function y(E){if(typeof E!="function")throw new Error("Expected the nextReducer to be a function.");i=E,p({type:gh.REPLACE})}function _(){var E,S=h;return E={subscribe:function(T){if(typeof T!="object"||T===null)throw new TypeError("Expected the observer to be an object.");function C(){T.next&&T.next(d())}C();var x=S(C);return{unsubscribe:x}}},E[LY]=function(){return this},E}return p({type:gh.INIT}),n={dispatch:p,subscribe:h,getState:d,replaceReducer:y},n[LY]=_,n}function $ke(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 Fke(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:gh.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:gh.PROBE_UNKNOWN_ACTION()})>"u")throw new Error('Reducer "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle "+gh.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 jke(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{Fke(r)}catch(l){o=l}return function(u,f){if(u===void 0&&(u={}),o)throw o;for(var d=!1,h={},p=0;p<a.length;p++){var y=a[p],_=r[y],E=u[y],S=_(E,f);if(typeof S>"u"){var w=$ke(y,f);throw new Error(w)}h[y]=S,d=d||S!==E}return d?h:u}}function Uke(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function NY(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 qke(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?NY(r,!0).forEach(function(n){Uke(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):NY(r).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Bke(){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 Vke(){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)}},l=t.map(function(u){return u(o)});return a=Bke.apply(void 0,l)(i.dispatch),qke({},i,{dispatch:a})}}}function Hke(e){const{authenticationError:t}=e;return function(){return n=>i=>{var o;const a=i;if(i.type===$a.API_ERROR&&t&&((o=a==null?void 0:a.xhr)==null?void 0:o.status)===ZO.Unauthorized)return vr.throw(new t("dark"));if(i.type!==$a.API_RESPONSE){n(i);return}n(i)}}}function zke(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 Wke(e={},t){switch(t.type){case oP.UPDATE:return zke(e,t)}return e}const Gke={STANDARD:600},Mv="shared.authentication";class Kke extends kc{constructor(t){super(Gr.getPhrase(Mv,"title")),this.btnVariant=t}get name(){return"AuthenticationError"}get dialogOptions(){return{title:Gr.getPhrase(Mv,"heading"),text:Gr.getPhrase(Mv,"body"),buttons:[{text:Gr.getPhrase(Mv,"reload"),className:`btn btn-${this.btnVariant}`,success:!0}]}}onDone(){Nn.Reload()}}class Yke extends Kke{onDone(){Nn.PageLoad(`/login?returnUrl=${encodeURIComponent(Nn.GetCurrentUrl())}`)}}const Of={hasTokenExpired(e){return typeof(e==null?void 0:e.localTTL)!="number"?!1:new Date().getTime()>e.localTTL},getToken(e,t){var a,o,l,u;const r=zee(e.getState(),Zl.TOKEN),n=Of.hasTokenExpired(r.data);if((r.shouldFetch||n)&&!r.isFetching){cd(e.dispatch,t);return}if(r.isFetching){let f=!1;const d=e.subscribe(()=>{d(),!f&&(f=!0,Of.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)):((l=t.success)==null||l.call(t,r.data),(u=t.always)==null||u.call(t))},async getTokenAsync(e){const t=$ne.getToken();return t||new Promise((r,n)=>{const i=o=>r(o),a=o=>n(o);Of.getToken(e,ua.token(i,a))})}},Xke=Fi.Router.prototype._routeToRegExp("share/embed/:id(/)"),Qke=Fi.Router.prototype._routeToRegExp("videos/embed/:id(/)"),$ne={applyToken(e){const t=GI.getCurrentRoute().appLink,r=Ai.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}});Nn.PageLoad(r)},getToken(){const e=Fi.history.getFragment(Nn.GetCurrentPath()),t=Xke.test(e),r=Qke.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 Of.hasTokenExpired(o)?null:o}};function Jke(){const e=$ne.getToken();return e?function(r,n){if(!r.resource.startsWith("/"))return n(r);Of.hasTokenExpired(e)||(r.headers={...r.headers??{},authorization:`Bearer ${e.value}`}),n(r)}:(t,r)=>r(t)}const RC={safeUrlConcat(e,t){if(!e)return;let r=e;return e.endsWith("/")||(r+="/"),t&&(r+=t.startsWith("/")?t.slice(1):t),r}},MY={"{gateway}":"gatewayApiUrl","{image}":"imageCdnUrl","{integrations}":"integrationsApiUrl","{player}":"playerApiUrl"};function Zke(e){return async function(r,n){const i=Object.keys(MY).find(o=>r.resource.startsWith(o));if(!i)return n(r);function a(o,l){const u=o[MY[i]],f={...r,resource:RC.safeUrlConcat(u,r.resource.split(`${i}/`)[1])};l!=null&&l.value&&(f.headers={...f.headers??{},authorization:`Bearer ${l.value}`}),n(f)}try{const o=await io(e,ol.config());if(!(await io(e,ua.currentUser())).isAuthenticated){a(o);return}const u=await Of.getTokenAsync(e);a(o,u)}catch{n(r)}}}const $Y=/\(([^()]*)\)/g;function eDe(e,t){return function(n,i){i({...n,resource:n.resource.replace(e,t)})}}function tDe(e,t){function r(n){return function(a){const o=t[a];if(typeof o=="string"){n.useAsync(eDe(a,o));return}o&&n.useAsync(o)}}return function(i,a){var p;const o=new Rf,l=new Rf,u={resource:i.resource,store:e},f={resource:null,store:e},d=(p=i.data)==null?void 0:p.ogql;if(decodeURIComponent(i.resource).replace($Y,r(o)),d){const y=JSON.stringify(i.data.ogql);f.resource=y,y.replace($Y,r(l))}o.goAsync(u,y=>{l.goAsync(f,_=>{a({...i,resource:y.resource,data:d?{...i.data,ogql:JSON.parse(_.resource)}:i.data})})})}}function rDe(e,t){return function(n){const i=new Rf;i.useAsync(Zke(e.store)),i.useAsync(tDe(e.store,t)),i.useAsync(Jke()),i.goAsync(n,a=>{Mye(a)})}}const FY={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"},OLe={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"},nDe=[wr.ExchangeTvProductOption,wr.TvRegion,wr.LiteUpgradeTypeCustomer];function iDe(e){return function(r,n){const i=nDe.map(o=>`type=${o}`).join("&"),a=r.resource.replace(e,i);n({...r,resource:a})}}const aDe=[wr.HasCompletedOnboardingV1];function oDe(e){return function(r,n){const i=aDe.map(o=>`type=${o}`).join("&"),a=r.resource.replace(e,i);n({...r,resource:a})}}const sDe="thumbnail,_rating,series,season,subtitles{limit:1}";function uDe(e){return function(r,n){pI(r.store,ua.currentUser(i=>{let a=`${sDe}`;i.isAuthenticated&&(a+=`,favouritedby{id:${i.id}}`);const o=r.resource.replace(e,a);n({...r,resource:o})},()=>n(r)))}}const lDe={[FY.VIDEO_COLLECTION]:uDe(FY.VIDEO_COLLECTION),"(customerSettings)":iDe("(customerSettings)"),"(userSettings)":oDe("(userSettings)")};async function cDe(e,t){const r=jke({flightData:lSe,viewModelData:Wke}),n=nSe({fetchData:rDe(e,lDe),bootstrappedData:window.bootstrapData||{},defaultCacheDuration:Gke.STANDARD}),i=Hke({authenticationError:Yke});async function a(l){e.registerStore(l),t(e),delete window.bootstrapData}const o=Mne(r,Vke(n,i));await a(o)}const fDe="application:options";class dDe extends co{constructor(t){super(),this.clients={},this.enrichers={},Lne.get(fDe).set(t??{})}get name(){return wI.Analytics}registerTransport(t,r){return this.transport=new t(r),this.bindTransportListeners(),this}bindTransportListeners(){this.listenTo(dte.ANALYTICS,xf.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(au(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 Rn(`Classes registered with ${this.name} must have a unique name property.`));const n=i=>Ro.isFunction(t.prototype.isType)&&t.prototype.isType(i);(n("BaseAnalyticsClient")||r==="CollectionApiClient")&&this.clients[r]&&vr.throw(new Rn(`A client class with the name: ${r} has already been registered with ${this.name}`)),n("BaseAnalyticsEnricher")&&this.enrichers[r]&&vr.throw(new Rn(`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 Fne="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function jY(e,t,r,n){let i,a,o;const l=t||[0],u=(r=r||0)>>>3,f=n===-1?3:0;for(i=0;i<e.length;i+=1)o=i+u,a=o>>>2,l.length<=a&&l.push(0),l[a]|=e[i]<<8*(f+n*(o%4));return{value:l,binLen:8*e.length+r}}function bx(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,l,u,f){let d,h,p,y;if(o.length%2!=0)throw new Error("String of HEX type must be in byte increments");const _=l||[0],E=(u=u||0)>>>3,S=f===-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(y=(d>>>1)+E,p=y>>>2;_.length<=p;)_.push(0);_[p]|=h<<8*(S+f*(y%4))}return{value:_,binLen:4*o.length+u}})(n,i,a,r)};case"TEXT":return function(n,i,a){return(function(o,l,u,f,d){let h,p,y,_,E,S,w,T,C=0;const x=u||[0],R=(f=f||0)>>>3;if(l==="UTF8")for(w=d===-1?3:0,y=0;y<o.length;y+=1)for(h=o.charCodeAt(y),p=[],128>h?p.push(h):2048>h?(p.push(192|h>>>6),p.push(128|63&h)):55296>h||57344<=h?p.push(224|h>>>12,128|h>>>6&63,128|63&h):(y+=1,h=65536+((1023&h)<<10|1023&o.charCodeAt(y)),p.push(240|h>>>18,128|h>>>12&63,128|h>>>6&63,128|63&h)),_=0;_<p.length;_+=1){for(S=C+R,E=S>>>2;x.length<=E;)x.push(0);x[E]|=p[_]<<8*(w+d*(S%4)),C+=1}else for(w=d===-1?2:0,T=l==="UTF16LE"&&d!==1||l!=="UTF16LE"&&d===1,y=0;y<o.length;y+=1){for(h=o.charCodeAt(y),T===!0&&(_=255&h,h=_<<8|h>>>8),S=C+R,E=S>>>2;x.length<=E;)x.push(0);x[E]|=h<<8*(w+d*(S%4)),C+=2}return{value:x,binLen:8*C+f}})(n,t,i,a,r)};case"B64":return function(n,i,a){return(function(o,l,u,f){let d,h,p,y,_,E,S,w=0;const T=l||[0],C=(u=u||0)>>>3,x=f===-1?3:0,R=o.indexOf("=");if(o.search(/^[a-zA-Z0-9=+/]+$/)===-1)throw new Error("Invalid character in base-64 string");if(o=o.replace(/=/g,""),R!==-1&&R<o.length)throw new Error("Invalid '=' found in base-64 string");for(h=0;h<o.length;h+=4){for(_=o.substr(h,4),y=0,p=0;p<_.length;p+=1)d=Fne.indexOf(_.charAt(p)),y|=d<<18-6*p;for(p=0;p<_.length-1;p+=1){for(S=w+C,E=S>>>2;T.length<=E;)T.push(0);T[E]|=(y>>>16-8*p&255)<<8*(x+f*(S%4)),w+=1}}return{value:T,binLen:8*w+u}})(n,i,a,r)};case"BYTES":return function(n,i,a){return(function(o,l,u,f){let d,h,p,y;const _=l||[0],E=(u=u||0)>>>3,S=f===-1?3:0;for(h=0;h<o.length;h+=1)d=o.charCodeAt(h),y=h+E,p=y>>>2,_.length<=p&&_.push(0),_[p]|=d<<8*(S+f*(y%4));return{value:_,binLen:8*o.length+u}})(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,l,u,f){return jY(new Uint8Array(o),l,u,f)})(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 jY(n,i,a,r)};default:throw new Error("format must be HEX, TEXT, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}function UY(e,t,r,n){switch(e){case"HEX":return function(i){return(function(a,o,l,u){let f,d,h="";const p=o/8,y=l===-1?3:0;for(f=0;f<p;f+=1)d=a[f>>>2]>>>8*(y+l*(f%4)),h+="0123456789abcdef".charAt(d>>>4&15)+"0123456789abcdef".charAt(15&d);return u.outputUpper?h.toUpperCase():h})(i,t,r,n)};case"B64":return function(i){return(function(a,o,l,u){let f,d,h,p,y,_="";const E=o/8,S=l===-1?3:0;for(f=0;f<E;f+=3)for(p=f+1<E?a[f+1>>>2]:0,y=f+2<E?a[f+2>>>2]:0,h=(a[f>>>2]>>>8*(S+l*(f%4))&255)<<16|(p>>>8*(S+l*((f+1)%4))&255)<<8|y>>>8*(S+l*((f+2)%4))&255,d=0;d<4;d+=1)_+=8*f+6*d<=o?Fne.charAt(h>>>6*(3-d)&63):u.b64Pad;return _})(i,t,r,n)};case"BYTES":return function(i){return(function(a,o,l){let u,f,d="";const h=o/8,p=l===-1?3:0;for(u=0;u<h;u+=1)f=a[u>>>2]>>>8*(p+l*(u%4))&255,d+=String.fromCharCode(f);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,l){let u;const f=o/8,d=new ArrayBuffer(f),h=new Uint8Array(d),p=l===-1?3:0;for(u=0;u<f;u+=1)h[u]=a[u>>>2]>>>8*(p+l*(u%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,l){let u;const f=o/8,d=l===-1?3:0,h=new Uint8Array(f);for(u=0;u<f;u+=1)h[u]=a[u>>>2]>>>8*(d+l*(u%4))&255;return h})(i,t,r)};default:throw new Error("format must be HEX, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}function qY(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 hf(e,t){return e<<t|e>>>32-t}function BY(e,t,r){return e^t^r}function hDe(e,t,r){return e&t^e&r^t&r}function Jd(e,t){const r=(65535&e)+(65535&t);return(65535&(e>>>16)+(t>>>16)+(r>>>16))<<16|65535&r}function $v(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 pDe(e){return[1732584193,4023233417,2562383102,271733878,3285377520]}function jne(e,t){let r,n,i,a,o,l,u;const f=[];for(r=t[0],n=t[1],i=t[2],a=t[3],o=t[4],u=0;u<80;u+=1)f[u]=u<16?e[u]:hf(f[u-3]^f[u-8]^f[u-14]^f[u-16],1),l=u<20?$v(hf(r,5),(d=n)&i^~d&a,o,1518500249,f[u]):u<40?$v(hf(r,5),BY(n,i,a),o,1859775393,f[u]):u<60?$v(hf(r,5),hDe(n,i,a),o,2400959708,f[u]):$v(hf(r,5),BY(n,i,a),o,3395469782,f[u]),o=a,a=i,i=hf(n,30),n=r,r=l;var d;return t[0]=Jd(r,t[0]),t[1]=Jd(n,t[1]),t[2]=Jd(i,t[2]),t[3]=Jd(a,t[3]),t[4]=Jd(o,t[4]),t}function vDe(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=jne(e.slice(i,i+16),n);return n}class gDe 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,l=a.value,u=o>>>5;for(r=0;r<u;r+=i)n+this.U<=o&&(this.F=this.m(l.slice(r,r+i),this.F),n+=this.U);this.l+=n,this.o=l.slice(n>>>5),this.h=o%this.U,this.u=!0}getHash(t,r){let n,i,a=this.g;const o=qY(r);if(this.B){if(o.outputLen===-1)throw new Error("Output length must be specified in options");a=o.outputLen}const l=UY(t,a,this.v,o);if(this.A&&this.Y)return l(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 l(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=bx(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=qY(r);return UY(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=bx(this.t,this.i,this.v),this.m=jne,this.C=function(a){return a.slice()},this.I=pDe,this.H=vDe,this.F=[1732584193,4023233417,2562383102,271733878,3285377520],this.U=512,this.g=160,this.B=!1,i.hmacKey&&this.M((function(a,o,l,u){const f=a+" must include a value and format";if(!o)throw new Error(f);if(o.value===void 0||!o.format)throw new Error(f);return bx(o.format,o.encoding||"UTF8",l)(o.value)})("hmacKey",i.hmacKey,this.v))}}var du=(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))(du||{});const mDe={systemName:du.CvApSoutheast1},yDe={systemName:du.CvApSoutheast2},_De={systemName:du.CvEuWest1},EDe={systemName:du.CvNaWest1},SDe={CvApSoutheast1:mDe,CvApSoutheast2:yDe,CvEuWest1:_De,CvNaWest1:EDe},VY="r",my="cv:r",yy="cv:r:e",Fv="referrer",HY="cv:originalReferrer",xC=28800,zY=["internalReferrer"],Une={getDecodedAttributionData(){const e=Vi.cacheGet(my);if(e&&Object.keys(e).length>0)return e;const t=WY();return t==null?void 0:t.decoded},getEncodedAttributionData(){const e=Vi.cacheGet(yy);return e!=null&&e.length?e:WY().encoded},getProfileId(){const e=Une.getDecodedAttributionData();return(e==null?void 0:e.profileId)??null}};function WY(){const e=Vi.cacheGet(my),t=Vi.cacheGet(yy);return fP(e)?{encoded:t,decoded:e}:wDe()}function wDe(){Vi.cacheRemove(my),Vi.cacheRemove(yy);const e=TDe(),t=ADe(e);if(t)return GY(e,t),{decoded:t,encoded:e};const r={internalReferrer:window.location.origin+window.location.pathname,originalReferrer:bDe()},n=RDe(r);return GY(n,r),{decoded:r,encoded:n}}function fP(e){return!e||typeof e!="object"||Object.keys(e).length<zY.length?!1:zY.every(t=>typeof e[t]=="string")}function bDe(){const e=Vi.cacheGet(HY);if(e&&typeof e=="string")return e;let t=document.referrer??"";if(window.URLSearchParams){const r=new URLSearchParams(window.location.search),n=r.has(Fv)&&r.get(Fv);r.has(Fv)&&r.get(Fv)&&(t=n)}return t&&Vi.cacheSet(HY,t,xC),t}function TDe(){if(!window.URLSearchParams)return;const e=new URLSearchParams(window.location.search);if(e.has(VY))return e.get(VY)}function ADe(e){if(e)try{const t=atob(e),r=JSON.parse(t);if(!fP(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 RDe(e){if(fP(e))try{return btoa(JSON.stringify(e))}catch{console.error(`R value could not be encoded: ${JSON.stringify(e)}`)}}function GY(e,t){try{Vi.cacheSet(my,t,xC),Vi.cacheSet(yy,e,xC)}catch{console.error("Could not store attribution data in session storage")}}const KY=3,xDe=5e3,CDe=6,Tx={};class ODe{constructor(t){this.key=t.toString()}getCount(){return Tx[this.key]||0}increment(){Tx[this.key]=this.getCount()+1}reset(){delete Tx[this.key]}shouldBreak(){return this.getCount()>=CDe}}class IDe{constructor(){this.attempt=0}async wait(){await new Promise(t=>setTimeout(t,xDe*Math.pow(2,this.attempt))),this.attempt++}}async function PDe(e,t){const r=new IDe,n=new ODe(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<=KY;a++)try{return await i()}catch(o){if(a>=KY||n.shouldBreak())throw o;n.increment(),await r.wait()}}var jv,kDe=new Uint8Array(16);function DDe(){if(!jv&&(jv=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),!jv))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return jv(kDe)}const LDe=/^(?:[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 dP(e){return typeof e=="string"&&LDe.test(e)}var aa=[];for(var Ax=0;Ax<256;++Ax)aa.push((Ax+256).toString(16).substr(1));function NDe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=(aa[e[t+0]]+aa[e[t+1]]+aa[e[t+2]]+aa[e[t+3]]+"-"+aa[e[t+4]]+aa[e[t+5]]+"-"+aa[e[t+6]]+aa[e[t+7]]+"-"+aa[e[t+8]]+aa[e[t+9]]+"-"+aa[e[t+10]]+aa[e[t+11]]+aa[e[t+12]]+aa[e[t+13]]+aa[e[t+14]]+aa[e[t+15]]).toLowerCase();if(!dP(r))throw TypeError("Stringified UUID is invalid");return r}function MDe(e,t,r){e=e||{};var n=e.random||(e.rng||DDe)();return n[6]=n[6]&15|64,n[8]=n[8]&63|128,NDe(n)}function $De(e){if(!dP(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}const YY="cv:session:",XY="cv:window:",FDe=new Date(864e13).getTime(),QY=18e5,jDe=4;function qne(e){if(e===ys.LocalStorage)return Vi.isAvailable()?Vi:$K;if(e===ys.SessionStorage)return Ng.isAvailable()?Ng:$K}function JY(e){return e===!1?FDe:new Date().getTime()+e}function UDe(){return MDe()}function qDe(e){return e?new Date().getTime()>e:!1}function BDe(e){return!(typeof e!="object"||typeof(e==null?void 0:e.id)!="string"||!dP(e.id)||$De(e.id)!==jDe||typeof(e==null?void 0:e.ttl)!="number"||(e==null?void 0:e.ttl)<=0||isNaN(e==null?void 0:e.ttl))}function ZY(e,t,r){const n=qne(r);if(!(n!=null&&n.isAvailable()))return;const i=e+(t||"0");n.remove(i)}function eX(e,t,r,n){const i=qne(r),a=e+(t||"0"),o=i.get(a);if(!BDe(o)||qDe(o==null?void 0:o.ttl)){const u={id:UDe(),ttl:JY(n)};return i.set(a,u),u.id}const l={id:o.id,ttl:JY(n)};return i.set(a,l),o.id}let Rx=!1;const tX={getClientSessionData(e){const t=eX(YY,e,ys.LocalStorage,QY),r=eX(XY,e,ys.SessionStorage,Rx?!1:QY);return!t&&!r?null:{id:t,windowId:r}},resetClientSession(e){ZY(YY,e,ys.LocalStorage),ZY(XY,e,ys.SessionStorage)},lockWindowSession(){Rx=!0},unlockWindowSession(){Rx=!1}},Kl={isObject(e){const t=typeof e;return t==="function"||t==="object"&&!!e},isFunction(e){return typeof e=="function"}},tn={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},su="Unknown";function pf(e,t,r){const n=t.exec(r)||[];let[i]=n;return i||(i=su),{name:e,version:i}}function Ll(e,t,r){if(!t)return{name:e,version:su};const n=t.exec(r),i=n&&n.length?n[0].trim():su;return{name:e,version:i}}function VDe(e,t){const r={name:e,version:null};return tn.win2000.test(t)&&(r.version="2000"),tn.winXP.test(t)&&(r.version="XP"),tn.winVista.test(t)&&(r.version="Vista"),tn.win7.test(t)&&(r.version="7"),tn.win8.test(t)&&(r.version="8"),tn.win81.test(t)&&(r.version="8.1"),tn.win10.test(t)&&(r.version="10"),r.version||(r.version=su),r}const rX={getDeviceType(){const e=window.navigator.userAgent;return tn.mobileDevice.test(e)?tn.iphone.test(e)?"iPhone":tn.ipad.test(e)?"iPad":tn.android.test(e)?"Android":tn.blackberry.test(e)?"Blackberry":tn.windowsPhone.test(e)?"Windows Phone":su:"Desktop"},getOperatingSystem(){const e=window.navigator.userAgent;return tn.android.test(e)?Ll("Android",tn.androidVersion,e):tn.iphone.test(e)||tn.ipad.test(e)?Ll("iOS",tn.iosVersion,e):tn.linux.test(e)?Ll("Linux",null,e):tn.unix.test(e)?Ll("Unix",null,e):tn.mac.test(e)?Ll("Macintosh",tn.osxVersion,e):tn.windows.test(e)?VDe("Windows",e):tn.blackberry.test(e)?Ll("BlackBerry",tn.blackberryVersion,e):tn.windowsPhone.test(e)?Ll("Windows Phone",tn.windowsPhoneVersion,e):{name:su,version:su}},getBrowser(){const e=window.navigator.userAgent;return tn.chrome.test(e)?pf("Chrome",tn.generalVersion,e):tn.firefox.test(e)?pf("Firefox",tn.generalVersion,e):tn.safari.test(e)?pf("Safari",tn.generalVersion,e):tn.ie.test(e)?pf("Internet Explorer",tn.ieVersion,e):tn.edge.test(e)?pf("Edge",tn.edgeVersion,e):tn.opera.test(e)?pf("Opera",tn.operaVersion,e):{name:su,version:su}},isTouchScreen(){return!!("ontouchstart"in window||navigator.maxTouchPoints)}},HDe=28800,nX="cv:utmparams",CC=[["source","utm_source"],["medium","utm_medium"],["campaign","utm_campaign"],["term","utm_term"],["content","utm_content"]],zDe=CC.reduce((e,[t])=>({...e,[t]:t}),{}),Bne={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 CC.forEach(r),iX(t)},setUtmParameters(e){if(!e)return null;const t={},r=n=>{zDe[n]&&(t[n]=e[n])};return Object.keys(e).forEach(r),iX(t)},getURLSearchParams(){if(!window.URLSearchParams)return null;const e=new URLSearchParams,t=Bne.getUtmParameters();return t?(CC.forEach(([r,n])=>{t[r]&&e.set(n,t[r])}),e):null}};function iX(e){if(Object.keys(e).length)return Vi.cacheSet(nX,e,HDe),e;const t=Vi.cacheGet(nX);return t&&typeof t=="object"&&Object.keys(t).length?t:null}const WDe="2.3.0",GDe={version:WDe},KDe="zXJL9nOHxzDlMUDjiP41",aX="unknown";class YDe{constructor(t){this.options=t,this.initialize()}initialize(){this.validateOptions(),this.options.logUtmParameters&&(this.utmParameters=Bne.getUtmParameters()),this.options.logAttributionData&&(this.attributionData=Une.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(!Kl.isFunction(this.options.getUser))throw new Error("getUser option is required.")}shouldLog(t){return Kl.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=RC.safeUrlConcat(r,"/v1/ingest");Array.isArray(t)&&(a=RC.safeUrlConcat(a,"/bulk"));try{const o=await PDe(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 gDe("SHA-1","TEXT",{hmacKey:{value:KDe,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 du.CvEuWest1:return t.cvEuWest1;case du.CvApSoutheast2:return t.cvApSoutheast2;case du.CvNaWest1:return t.cvNaWest1;case du.CvApSoutheast1:default:return t.cvApSoutheast1}}validateEvent(t){typeof t.type!="string"&&this.logError(new Error("Event type is required."),!0),Kl.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 l={user:i,action:r,platform:n,product:o,session:a};this.utmParameters&&(l.utm=this.utmParameters);const u=this.extractData(t),f=Object.keys(l).map(h=>h.toLowerCase()),d=Object.keys(u).map(h=>h.toLowerCase());return f.forEach(h=>{d.includes(h)&&this.logError(new Error(`${h} is a reserved key.`),!0)}),{...l,...u}}extractData(t){return Kl.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())||aX,userGroup:(a.userGroup??cte.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{...tX.getClientSessionData(t==null?void 0:t.id),authSessionId:t==null?void 0:t.sessionId}}catch(t){return console.error(t),tX.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:rX.getBrowser(),os:rX.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:GDe.version,region:this.getRegionByName(this.options.regionName)},timestamp:new Date().toISOString(),eventVersion:t.eventVersion}}getRegionByName(t){let r;return Object.values(SDe).forEach(n=>{n.systemName===t&&(r=n)}),r}normalizeYearGroup(t){return t?t.toLowerCase().split(" ").join("_"):aX}logError(t,r,...n){if(this.options.logError&&this.options.logError(t,...n),r)throw t}}const Ug=class Ug extends co{constructor(t){super(t)}shouldLog(t){return!0}log(t){}isType(t){return t===Ug.type}};Ug.type="BaseAnalyticsClient";let OC=Ug;class XDe extends OC{get name(){return"DebuggerClient"}shouldLog(){return Bm.isDevelopment}log(t){const r=fZ(t);for(const n in t){const i=r[n];(i instanceof gu||i instanceof qm)&&(r[n]=i.toJSON())}console.log("Event Debugger: ",r)}}const Jr={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)/},uu="Unknown";function vf(e,t,r){const n=t.exec(r)||[];let[i]=n;return i||(i=uu),{browser:e,version:i}}function Nl(e,t,r){if(!t)return{os:e,version:uu};const n=t.exec(r),i=n&&n.length?n[0].trim():uu;return{os:e,version:i}}function QDe(e,t){const r={os:e};return Jr.win2000.test(t)&&(r.version="2000"),Jr.winXP.test(t)&&(r.version="XP"),Jr.winVista.test(t)&&(r.version="Vista"),Jr.win7.test(t)&&(r.version="7"),Jr.win8.test(t)&&(r.version="8"),Jr.win81.test(t)&&(r.version="8.1"),Jr.win10.test(t)&&(r.version="10"),r.version||(r.version=uu),r}const mh={getDeviceType(){const e=window.navigator.userAgent;return Jr.mobileDevice.test(e)?Jr.iphone.test(e)?"iPhone":Jr.ipad.test(e)?"iPad":Jr.android.test(e)?"Android":Jr.blackberry.test(e)?"Blackberry":Jr.windowsPhone.test(e)?"Windows Phone":uu:"Desktop"},getOperatingSystem(){const e=window.navigator.userAgent;return Jr.android.test(e)?Nl("Android",Jr.androidVersion,e):Jr.iphone.test(e)||Jr.ipad.test(e)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1?Nl("iOS",Jr.iosVersion,e):Jr.linux.test(e)?Nl("Linux",null,e):Jr.unix.test(e)?Nl("Unix",null,e):Jr.mac.test(e)?Nl("Macintosh",Jr.osxVersion,e):Jr.windows.test(e)?QDe("Windows",e):Jr.blackberry.test(e)?Nl("BlackBerry",Jr.blackberryVersion,e):Jr.windowsPhone.test(e)?Nl("Windows Phone",Jr.windowsPhoneVersion,e):{os:uu,version:uu}},getBrowser(){const e=window.navigator.userAgent;return Jr.chrome.test(e)?vf("Chrome",Jr.generalVersion,e):Jr.firefox.test(e)?vf("Firefox",Jr.generalVersion,e):Jr.safari.test(e)?vf("Safari",Jr.generalVersion,e):Jr.ie.test(e)?vf("Internet Explorer",Jr.ieVersion,e):Jr.edge.test(e)?vf("Edge",Jr.edgeVersion,e):Jr.opera.test(e)?vf("Opera",Jr.operaVersion,e):{browser:uu,version:uu}},isTouchScreen(){return!!("ontouchstart"in window||navigator.maxTouchPoints)},isTabletOrMobile(){return mh.isTouchScreen()?Jr.tablet.test(navigator.userAgent)||Jr.mobile.test(navigator.userAgent):!1},isAndroid(){return mh.getOperatingSystem().os==="Android"},isIOS(){return mh.getOperatingSystem().os==="iOS"}},qg=class qg extends co{enrich(t,r){}isType(t){return t===qg.type}};qg.type="BaseAnalyticsEnricher";let IC=qg;class JDe extends IC{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 el.getUtcISOString()}getProductInfo(){return{name:this.productName,version:this.productVersion}}getRequestInfo(){return{referrer:Nn.GetCurrentReferrer(),requestUrl:Nn.GetCurrentUrl()}}getClientInfo(){const t=mh.getOperatingSystem(),r=mh.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 ZDe extends Rc{}class eLe extends ZDe{get name(){return"EventTransport"}get channelName(){return"event:transport"}publish(t){this.getChannel().trigger(xf.Outlet,t)}subscribe(t){const r=t,n=i=>{Ro.isFunction(r.shouldLog)&&!r.shouldLog(i)||t.log(i)};rn(r.listenTo)?r.listenTo(this.getChannel(),xf.Outlet,n):this.listenTo(this.getChannel(),xf.Outlet,n)}}const yi={passthrough(e){return e}},mr={allow:()=>!0,restrict:()=>!1},tLe={getShareData(e){var l,u,f,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(l=e.video)!=null&&l.id&&(o.video={id:e.video.id}),(u=e.clip)!=null&&u.id&&(o.clip={id:e.clip.id},(f=e.clip.video)!=null&&f.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}},Ef={getUploadData(e,t){const{entity:r}=t.actionContext;if(r===kn.Video)return Ef.formatVideoUpload(e,t);if(r===kn.Resource||r===kn.Subtitle)return Ef.formatResourceUpload(e);if(r===kn.Banner||r===kn.Thumbnail||r===kn.MixedMedia)return e;throw new Error("Upload data event not correctly formatted.")},formatVideoUpload(e,t){const{workflowPhase:r}=t.actionContext;if(r===Zu.Start)return Ef.getStartVideoUploadData(e);if(r===Zu.Discard)return Ef.getDiscardVideoUploadData(e);if(r===Zu.Complete)return Ef.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,l={fileName:i,count:Array.isArray(e)?e.length:1,type:n,status:a};return r.progress&&(l.progress=r.progress.toFixed(2)),o&&(l.uploadId=o.uploadId),l};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 Kl.isObject(e.metadata)&&(n.type=e.metadata.type),n}},rLe={[Bt.Navigate]:mr.restrict,[Bt.Click]:mr.allow,[Bt.Search]:mr.allow,[Bt.InstantSearch]:mr.allow,[Bt.Play]:mr.allow,[Bt.Stream]:mr.allow,[Bt.WebPlayerStream]:mr.allow,[Bt.StreamProgress]:mr.allow,[Bt.Rename]:mr.allow,[Bt.Move]:mr.allow,[Bt.Create]:mr.allow,[Bt.Delete]:mr.allow,[Bt.Associate]:mr.allow,[Bt.Dissociate]:mr.allow,[Bt.Filter]:mr.allow,[Bt.Sort]:mr.allow,[Bt.Approve]:mr.allow,[Bt.Reject]:mr.allow,[Bt.Disable]:mr.allow,[Bt.Upload]:mr.allow,[Bt.Download]:mr.allow,[Bt.SetAccess]:mr.allow,[Bt.AddToLocalCache]:mr.restrict,[Bt.Share]:mr.allow,[Bt.Unshare]:mr.allow,[Bt.Edit]:mr.allow,[Bt.Suggest]:mr.allow,[Bt.Favourite]:mr.allow,[Bt.WorkspaceAdd]:mr.allow,[Bt.ResolveWarning]:mr.allow,[Bt.DismissWarning]:mr.allow,[Bt.EditAssoc]:mr.allow,[Bt.Follow]:mr.allow,[Bt.Print]:mr.allow,[Bt.Copy]:mr.allow,[Bt.Activate]:mr.allow,[Bt.VerifyEmail]:mr.allow,[Bt.ChangePassword]:mr.allow,[Bt.Export]:mr.allow,[Bt.SendEmail]:mr.allow,[Bt.Publish]:mr.allow,[Bt.Submit]:mr.allow,[Bt.Complete]:mr.allow,[Bt.Archive]:mr.allow,[Bt.Promote]:mr.allow,[Bt.Demote]:mr.allow,[Bt.BulkAction]:mr.allow,[Bt.Remove]:mr.allow,[Bt.Dismiss]:mr.allow,[Bt.Open]:mr.allow,[Bt.Hide]:mr.allow,[Bt.PageView]:mr.allow,[Bt.Select]:mr.allow,[Bt.SwitchCustomer]:mr.allow,[Bt.Focus]:mr.allow,[Bt.Blur]:mr.allow,[Bt.Hover]:mr.allow,[Bt.Unhover]:mr.allow},nLe={[Bt.Search]:yi.passthrough,[Bt.InstantSearch]:yi.passthrough,[Bt.Play]:yi.passthrough,[Bt.Stream]:yi.passthrough,[Bt.StreamProgress]:yi.passthrough,[Bt.Click]:yi.passthrough,[Bt.Filter]:yi.passthrough,[Bt.Sort]:yi.passthrough,[Bt.SetAccess]:yi.passthrough,[Bt.Approve]:yi.passthrough,[Bt.Reject]:yi.passthrough,[Bt.Create]:yi.passthrough,[Bt.Delete]:yi.passthrough,[Bt.Rename]:yi.passthrough,[Bt.Move]:yi.passthrough,[Bt.Edit]:yi.passthrough,[Bt.Share]:tLe.getShareData,[Bt.Disable]:yi.passthrough,[Bt.Suggest]:yi.passthrough,[Bt.Upload]:Ef.getUploadData,[Bt.ResolveWarning]:yi.passthrough,[Bt.DismissWarning]:yi.passthrough,[Bt.Follow]:yi.passthrough,[Bt.Print]:yi.passthrough,[Bt.Copy]:yi.passthrough},oX={[Bt.Search]:()=>"search",[Bt.InstantSearch]:()=>"search",[Bt.Filter]:()=>"filter",[Bt.Stream]:()=>kn.Video},sX={user:"target_user",product:"target_product"},iLe={[Bt.StreamProgress]:!0,[Bt.WebPlayerStream]:!0},uX={shouldLog(e){return!!rLe[e.type](e)},formatData(e){const t=nLe[e.type],r=Kl.isFunction(t)?t(e.data,e):e.data;if(iLe[e.type])return r;let n=e.actionContext.entity;return Kl.isFunction(oX[e.type])&&(n=oX[e.type](e)),sX[n]&&(n=sX[n]),{[n]:r}}},aLe="staff";async function oLe(e){try{return await io(e.store,ua.accessPolicy())}catch{return null}}const Vne={async getUser(e){const t=await io(e.store,ua.currentUser());if(!t.isAuthenticated)return null;const r=io(e.store,kne.customer(t.customerId)),n=io(e.store,ua.user(t.id)),i=oLe(e);return Vne.mapCurrentUserToAnalyticsUser(t,await n,await r,await i)},mapCurrentUserToAnalyticsUser(e,t,r,n){var a;const i=Ul.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===bf.Staff?aLe:(a=t==null?void 0:t.masterYearGroup)==null?void 0:a.name,accessPolicy:n==null?void 0:n.id}}},sLe={logError(e,...t){var r;Ro.isFunction(trackJs==null?void 0:trackJs.track)&&(t&&Ro.isFunction((r=trackJs.console)==null?void 0:r.info)&&trackJs.console.info(...t),trackJs.track(e))}};async function uLe(e,t){const[r,n]=await Promise.all([io(e.store,ua.currentUser()),io(e.store,ol.config())]),i=io(e.store,ol.version()),a=new dDe({user:r,config:n});cu.registerSingleton(a),a.registerTransport(eLe),a.registerClient(XDe);const o=await i;a.registerClient(YDe,{productName:"exchange.web",productVersion:o,regionName:r.instanceRegion,collectionApiUrls:n.collectionApiUrls,collectionApiClientId:n.collectionApiClientId,getUser:()=>Vne.getUser(e),shouldLog:uX.shouldLog,formatData:uX.formatData,logError:sLe.logError,logUtmParameters:!0}),a.registerEnricher(JDe,{productName:"ClickView Exchange",productVersion:o}),t(e)}async function lLe(e,t){try{const r=await io(e.store,ol.config());AC.initialize({product:So.Primary,liteSupportSiteUrl:r.liteSupportSiteUrl})}finally{t(e)}}const lX={locale(){return{url:"/api/locale",key:"locale",bootstrapName:Zl.LOCALE}},phrases(){return{url:"/api/phrases",key:"phrases",bootstrapName:Zl.PHRASES}}};async function cLe(e,t){let r;try{r=io(e.store,lX.phrases());const n=io(e.store,lX.locale());Gr.setConfig({locale:await n,phrases:await r})}catch(n){console.error(n)}finally{t(e)}}class fLe extends co{constructor(t){super(),this.size=t.size,this.cache={},this.cachedkeys=[],this.store=t.store}get name(){return Fg.Fifo}removeCacheKey(t){this.cachedkeys=Bx(this.cachedkeys,t)}has(t){return!!this.cache[t]}get(t){return this.cache[t]}set(t,r){(!t||!r)&&vr.throw(new Rn("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=HZ(this.cachedkeys,this.cachedkeys);let a=[];Ta(t,o=>{i[o]&&a.push(o);const l=new RegExp(o,"i"),u=ic(i,f=>l.test(f));a.push(...u)}),a.length&&(a=bh(a),Ta(a,o=>{delete this.cache[o],rn(r)&&r(o)}),this.cachedkeys=Bx(this.cachedkeys,...a)),!(!this.store||!n)&&this.store.dispatch({type:$a.INVALIDATE,keys:t})}}function dLe(e,t){cu.registerInstance(fLe,{size:100}),t(e)}var ql=(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))(ql||{});const hLe={type:ql.Unknown,message:"",code:0},pLe={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 vLe extends Rc{constructor(t){super(t),Th.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 jg.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=Zi.GET);const a=Je.defaults(i,{forceHttps:!1}),o={url:t,method:n,type:n};r&&(o.data=n===Zi.POST||n===Zi.PUT?JSON.stringify(r):r),a.forceHttps&&(o.url=this.makeHttps(o.url)),a.traditional&&(o.traditional=a.traditional);const l=Th.ajax(o);return Je.keys(this.successMiddleware).length&&l.done(Je.values(this.successMiddleware)),Je.keys(this.errorMiddleware).length&&l.fail(Je.values(this.errorMiddleware)),l}create(t,r,n){const{channel:i,successEvent:a,errorEvent:o}=n;this.base(t,r,Zi.POST).done((l,u,f)=>i.trigger(a,l,u,f)).fail((l,u,f)=>i.trigger(o,l,u,f))}read(t,r){const{channel:n,successEvent:i,errorEvent:a}=r;this.base(t,null,Zi.GET).done((o,l,u)=>{n.trigger(i,o,l,u)}).fail((o,l,u)=>{n.trigger(a,o,l,u)})}update(t,r,n){const{channel:i,successEvent:a,errorEvent:o}=n;this.base(t,r,Zi.PUT).done((l,u,f)=>i.trigger(a,l,u,f)).fail((l,u,f)=>i.trigger(o,l,u,f))}delete(t,r){const{channel:n,successEvent:i,errorEvent:a}=r;this.base(t,null,Zi.DELETE).done((o,l,u)=>n.trigger(i,o,l,u)).fail((o,l,u)=>n.trigger(a,o,l,u))}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=hLe;switch(n.code=t.status,n.message=pLe.parseErrorMessage(this.dataServiceErrorMessageMappings,this.defaultErrorMessageKey,r),t.status){case 400:n.type=ql.BadRequest;break;case 401:n.type=ql.Unauthorized;break;case 403:n.type=ql.Forbidden;break;case 404:n.type=ql.NotFound;break;case 500:n.type=ql.InternalServer;break}return n}}function gLe(e,t){cu.registerSingleton(new vLe({dataServiceErrorMessageMappings:{temp:"Error"},defaultErrorMessageKey:"temp",cacheRequests:!0})),t(e)}const hP=new Dye({region:"#app",layoutService:new Pye({})});hP.addInitializationStep(BPe).addInitializationStep(dLe).addInitializationStep(gLe).addInitializationStep(cDe).addInitializationStep(cLe).addInitializationStep(Lke).addInitializationStep(uLe).addInitializationStep(JAe).addInitializationStep(BAe).addInitializationStep(lLe);hP.addStartUpStep(VPe);hP.start();export{df as $,Ai as A,Lh as B,RI as C,kc as D,jre as E,Ro as F,al as G,Zi as H,Ul as I,Jl as J,uy as K,Gr as L,Ure as M,bf as N,KIe as O,Kre as P,_re as Q,Dr as R,FY as S,RG as T,_s as U,D0e as V,Oc as W,ewe as X,js as Y,One as Z,Mye as _,wo as a,V0e as a$,EIe as a0,ELe as a1,ea as a2,kne as a3,ua as a4,So as a5,oRe as a6,Mr as a7,ih as a8,YI as a9,el as aA,rSe as aB,ol as aC,ny as aD,mh as aE,Rn as aF,SLe as aG,m0e as aH,RC as aI,wY as aJ,aP as aK,d1e as aL,hEe as aM,GI as aN,mn as aO,$l as aP,ms as aQ,_0e as aR,Ine as aS,ZO as aT,Ane as aU,Eo as aV,Fl as aW,ZIe as aX,OPe as aY,Pne as aZ,p0e as a_,qa as aa,Zu as ab,ba as ac,kn as ad,Bt as ae,Nn as af,qre as ag,fu as ah,_Le as ai,xIe as aj,Ds as ak,TAe as al,FK as am,vs as an,vy as ao,xo as ap,Qu as aq,Vi as ar,YIe as as,iu as at,ute as au,Xl as av,bte as aw,E0e as ax,CLe as ay,qIe as az,ki as b,lI as b$,H0e as b0,zx as b1,Uee as b2,zee as b3,yLe as b4,Ah as b5,lte as b6,tX as b7,YDe as b8,uX as b9,$I as bA,du as bB,rx as bC,yre as bD,ro as bE,lh as bF,wr as bG,aRe as bH,yC as bI,iRe as bJ,AC as bK,CIe as bL,OIe as bM,ALe as bN,uEe as bO,g_e as bP,ld as bQ,y_e as bR,Aee as bS,lEe as bT,Q_e as bU,op as bV,ud as bW,aEe as bX,oI as bY,zm as bZ,C_e as b_,g0e as ba,eC as bb,bI as bc,pke as bd,v0e as be,y0e as bf,Aae as bg,Bce as bh,yae as bi,Zg as bj,bse as bk,Xse as bl,Zse as bm,_Q as bn,$ce as bo,Vce as bp,Nae as bq,woe as br,oO as bs,cle as bt,gle as bu,Um as bv,Yx as bw,Mee as bx,S0e as by,dC as bz,ac as c,Cee as c0,See as c1,j_e as c2,mee as c3,k_e as c4,f_e as c5,Tee as c6,E_e as c7,sp as c8,fEe as c9,tEe as ca,cEe as cb,wee as cc,sEe as cd,_i as ce,Ske as cf,xLe as cg,RLe as ch,cu as ci,VAe as cj,Zm as ck,ys as cl,Af as cm,ty as cn,Mf as co,ste as cp,yn as d,fwe as e,nn as f,Ete as g,U0e as h,Oh as i,ce as j,Ch as k,bAe as l,OLe as m,gy as n,Xo as o,sLe as p,vr as q,Se as r,kY as s,Dv as t,Cne as u,Yo as v,Zx as w,ec as x,$n as y,Hr as z};
219
+ //# sourceMappingURL=app-Det8y4U1.js.map