@clickview/exchange 0.62.0-rc.0 → 0.62.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/dist/.vite/manifest.json +549 -549
  2. package/dist/bundles.json +1 -1
  3. package/dist/css/Crtlho0p.chunk.css +8 -0
  4. package/dist/en.json +1 -1
  5. package/dist/scripts/{Dg-h5qnR.chunk.js → 0uwnPAi2.chunk.js} +2 -2
  6. package/dist/scripts/{Dg-h5qnR.chunk.js.map → 0uwnPAi2.chunk.js.map} +1 -1
  7. package/dist/scripts/{CgGl8jzo.chunk.js → 6f-CHYL3.chunk.js} +2 -2
  8. package/dist/scripts/{CgGl8jzo.chunk.js.map → 6f-CHYL3.chunk.js.map} +1 -1
  9. package/dist/scripts/{CkH6ird3.chunk.js → B09qwiFG.chunk.js} +2 -2
  10. package/dist/scripts/{CkH6ird3.chunk.js.map → B09qwiFG.chunk.js.map} +1 -1
  11. package/dist/scripts/{BRQhDr-02.chunk.js → B0uOvqjG2.chunk.js} +2 -2
  12. package/dist/scripts/{BRQhDr-02.chunk.js.map → B0uOvqjG2.chunk.js.map} +1 -1
  13. package/dist/scripts/{ZSP3Vfha2.chunk.js → B8BobN3r2.chunk.js} +2 -2
  14. package/dist/scripts/{ZSP3Vfha2.chunk.js.map → B8BobN3r2.chunk.js.map} +1 -1
  15. package/dist/scripts/{BHKm8WQq2.chunk.js → B8wHzPHI2.chunk.js} +2 -2
  16. package/dist/scripts/{BHKm8WQq2.chunk.js.map → B8wHzPHI2.chunk.js.map} +1 -1
  17. package/dist/scripts/{CeCXhgoJ.chunk.js → BAIdKirt.chunk.js} +2 -2
  18. package/dist/scripts/{CeCXhgoJ.chunk.js.map → BAIdKirt.chunk.js.map} +1 -1
  19. package/dist/scripts/{Ct8ETEOn2.chunk.js → BAwP70HI2.chunk.js} +2 -2
  20. package/dist/scripts/{Ct8ETEOn2.chunk.js.map → BAwP70HI2.chunk.js.map} +1 -1
  21. package/dist/scripts/{YGLkoFLc.chunk.js → BEv09vqz.chunk.js} +2 -2
  22. package/dist/scripts/{YGLkoFLc.chunk.js.map → BEv09vqz.chunk.js.map} +1 -1
  23. package/dist/scripts/{uPFXIvcK2.chunk.js → BLs3APIS2.chunk.js} +2 -2
  24. package/dist/scripts/{uPFXIvcK2.chunk.js.map → BLs3APIS2.chunk.js.map} +1 -1
  25. package/dist/scripts/{D9zlZIWi2.chunk.js → BP0LMV9S2.chunk.js} +2 -2
  26. package/dist/scripts/{D9zlZIWi2.chunk.js.map → BP0LMV9S2.chunk.js.map} +1 -1
  27. package/dist/scripts/{CqNKzFA4.chunk.js → BPttZx0-.chunk.js} +2 -2
  28. package/dist/scripts/{CqNKzFA4.chunk.js.map → BPttZx0-.chunk.js.map} +1 -1
  29. package/dist/scripts/{B9Rb6IIb.chunk.js → BQk9Mhlr.chunk.js} +2 -2
  30. package/dist/scripts/{B9Rb6IIb.chunk.js.map → BQk9Mhlr.chunk.js.map} +1 -1
  31. package/dist/scripts/{CYUx40jk.chunk.js → BXIfsdxg.chunk.js} +2 -2
  32. package/dist/scripts/{CYUx40jk.chunk.js.map → BXIfsdxg.chunk.js.map} +1 -1
  33. package/dist/scripts/{CvQQNf_J2.chunk.js → B_P4D3Hf2.chunk.js} +2 -2
  34. package/dist/scripts/{CvQQNf_J2.chunk.js.map → B_P4D3Hf2.chunk.js.map} +1 -1
  35. package/dist/scripts/{Dp0gbhZx2.chunk.js → BgskDBpT2.chunk.js} +2 -2
  36. package/dist/scripts/{Dp0gbhZx2.chunk.js.map → BgskDBpT2.chunk.js.map} +1 -1
  37. package/dist/scripts/{Nx0q4bij.chunk.js → BhOZYAZn.chunk.js} +2 -2
  38. package/dist/scripts/{Nx0q4bij.chunk.js.map → BhOZYAZn.chunk.js.map} +1 -1
  39. package/dist/scripts/{CKrB9r9w.chunk.js → Bn9ROglk.chunk.js} +2 -2
  40. package/dist/scripts/{CKrB9r9w.chunk.js.map → Bn9ROglk.chunk.js.map} +1 -1
  41. package/dist/scripts/{Ds3cFntF2.chunk.js → Bo8PhXY12.chunk.js} +3 -3
  42. package/dist/scripts/{Ds3cFntF2.chunk.js.map → Bo8PhXY12.chunk.js.map} +1 -1
  43. package/dist/scripts/{Fu0bLEzl2.chunk.js → BrVyRSUS2.chunk.js} +2 -2
  44. package/dist/scripts/{Fu0bLEzl2.chunk.js.map → BrVyRSUS2.chunk.js.map} +1 -1
  45. package/dist/scripts/{CeHHO1Hv.chunk.js → BxLgTmMl.chunk.js} +2 -2
  46. package/dist/scripts/{CeHHO1Hv.chunk.js.map → BxLgTmMl.chunk.js.map} +1 -1
  47. package/dist/scripts/{BPgKK-d32.chunk.js → Bxsu4S752.chunk.js} +2 -2
  48. package/dist/scripts/{BPgKK-d32.chunk.js.map → Bxsu4S752.chunk.js.map} +1 -1
  49. package/dist/scripts/{B0VKYPiu.chunk.js → C-PORBUs.chunk.js} +2 -2
  50. package/dist/scripts/{B0VKYPiu.chunk.js.map → C-PORBUs.chunk.js.map} +1 -1
  51. package/dist/scripts/{RiPZGw_q2.chunk.js → C1StI3Bl2.chunk.js} +2 -2
  52. package/dist/scripts/{RiPZGw_q2.chunk.js.map → C1StI3Bl2.chunk.js.map} +1 -1
  53. package/dist/scripts/{DoTtsl0X.chunk.js → C6Hr-vqw.chunk.js} +2 -2
  54. package/dist/scripts/{DoTtsl0X.chunk.js.map → C6Hr-vqw.chunk.js.map} +1 -1
  55. package/dist/scripts/{UjMbny4R.chunk.js → CBnNAkzx.chunk.js} +2 -2
  56. package/dist/scripts/{UjMbny4R.chunk.js.map → CBnNAkzx.chunk.js.map} +1 -1
  57. package/dist/scripts/{DyRGf1o8.chunk.js → CFkqPGiT.chunk.js} +2 -2
  58. package/dist/scripts/{DyRGf1o8.chunk.js.map → CFkqPGiT.chunk.js.map} +1 -1
  59. package/dist/scripts/{Xs1Bv1h-.chunk.js → CKD2j1rw.chunk.js} +2 -2
  60. package/dist/scripts/{Xs1Bv1h-.chunk.js.map → CKD2j1rw.chunk.js.map} +1 -1
  61. package/dist/scripts/{aDegERgV2.chunk.js → CSKzCsLv2.chunk.js} +2 -2
  62. package/dist/scripts/{aDegERgV2.chunk.js.map → CSKzCsLv2.chunk.js.map} +1 -1
  63. package/dist/scripts/{DVVx1aiS2.chunk.js → CZgaUoHE2.chunk.js} +2 -2
  64. package/dist/scripts/{DVVx1aiS2.chunk.js.map → CZgaUoHE2.chunk.js.map} +1 -1
  65. package/dist/scripts/{B6mSouu5.chunk.js → C_7tv1r9.chunk.js} +2 -2
  66. package/dist/scripts/{B6mSouu5.chunk.js.map → C_7tv1r9.chunk.js.map} +1 -1
  67. package/dist/scripts/{DtYC8Udi2.chunk.js → C_jUsStb2.chunk.js} +2 -2
  68. package/dist/scripts/{DtYC8Udi2.chunk.js.map → C_jUsStb2.chunk.js.map} +1 -1
  69. package/dist/scripts/{BOvQpQ21.chunk.js → CdNTKjPA.chunk.js} +2 -2
  70. package/dist/scripts/{BOvQpQ21.chunk.js.map → CdNTKjPA.chunk.js.map} +1 -1
  71. package/dist/scripts/{C7OCN_w_.chunk.js → ChDwbV8F.chunk.js} +2 -2
  72. package/dist/scripts/{C7OCN_w_.chunk.js.map → ChDwbV8F.chunk.js.map} +1 -1
  73. package/dist/scripts/{CKUk2HqE.chunk.js → Cq-TpkxJ.chunk.js} +2 -2
  74. package/dist/scripts/{CKUk2HqE.chunk.js.map → Cq-TpkxJ.chunk.js.map} +1 -1
  75. package/dist/scripts/{o2htB_49.chunk.js → CrCX606H.chunk.js} +2 -2
  76. package/dist/scripts/{o2htB_49.chunk.js.map → CrCX606H.chunk.js.map} +1 -1
  77. package/dist/scripts/{D0H6Hjd-2.chunk.js → CrDpB82d2.chunk.js} +2 -2
  78. package/dist/scripts/{D0H6Hjd-2.chunk.js.map → CrDpB82d2.chunk.js.map} +1 -1
  79. package/dist/scripts/{DBKlntFN2.chunk.js → Czivka682.chunk.js} +2 -2
  80. package/dist/scripts/{DBKlntFN2.chunk.js.map → Czivka682.chunk.js.map} +1 -1
  81. package/dist/scripts/{eLmgigsW.chunk.js → DEP_Z-S0.chunk.js} +2 -2
  82. package/dist/scripts/{eLmgigsW.chunk.js.map → DEP_Z-S0.chunk.js.map} +1 -1
  83. package/dist/scripts/{cIPkkuhG.chunk.js → DQBoqkL7.chunk.js} +2 -2
  84. package/dist/scripts/{cIPkkuhG.chunk.js.map → DQBoqkL7.chunk.js.map} +1 -1
  85. package/dist/scripts/{BV2vTX2L.chunk.js → DeXP2wHV.chunk.js} +2 -2
  86. package/dist/scripts/{BV2vTX2L.chunk.js.map → DeXP2wHV.chunk.js.map} +1 -1
  87. package/dist/scripts/{C1u2qBZg2.chunk.js → Df82DFJ62.chunk.js} +2 -2
  88. package/dist/scripts/{C1u2qBZg2.chunk.js.map → Df82DFJ62.chunk.js.map} +1 -1
  89. package/dist/scripts/{Co_6cSBX2.chunk.js → DgrEIxhT2.chunk.js} +2 -2
  90. package/dist/scripts/{Co_6cSBX2.chunk.js.map → DgrEIxhT2.chunk.js.map} +1 -1
  91. package/dist/scripts/{CRHkMr9_2.chunk.js → DhT0tpZm2.chunk.js} +2 -2
  92. package/dist/scripts/{CRHkMr9_2.chunk.js.map → DhT0tpZm2.chunk.js.map} +1 -1
  93. package/dist/scripts/{CUdaR862.chunk.js → Dhe09-jE.chunk.js} +2 -2
  94. package/dist/scripts/{CUdaR862.chunk.js.map → Dhe09-jE.chunk.js.map} +1 -1
  95. package/dist/scripts/{BijIuzIs2.chunk.js → DhtgaF-y2.chunk.js} +2 -2
  96. package/dist/scripts/{BijIuzIs2.chunk.js.map → DhtgaF-y2.chunk.js.map} +1 -1
  97. package/dist/scripts/{BsSKrRku2.chunk.js → Div1wl-R2.chunk.js} +2 -2
  98. package/dist/scripts/{BsSKrRku2.chunk.js.map → Div1wl-R2.chunk.js.map} +1 -1
  99. package/dist/scripts/{CKNdXwxe2.chunk.js → DjuXXgD-2.chunk.js} +2 -2
  100. package/dist/scripts/{CKNdXwxe2.chunk.js.map → DjuXXgD-2.chunk.js.map} +1 -1
  101. package/dist/scripts/{DBJfKQKx.chunk.js → Dkazht4Q.chunk.js} +2 -2
  102. package/dist/scripts/{DBJfKQKx.chunk.js.map → Dkazht4Q.chunk.js.map} +1 -1
  103. package/dist/scripts/{D5qMnGHT2.chunk.js → DmmZ2XbB2.chunk.js} +2 -2
  104. package/dist/scripts/{D5qMnGHT2.chunk.js.map → DmmZ2XbB2.chunk.js.map} +1 -1
  105. package/dist/scripts/{CWsmm40y.chunk.js → Dr35AMvf.chunk.js} +2 -2
  106. package/dist/scripts/{CWsmm40y.chunk.js.map → Dr35AMvf.chunk.js.map} +1 -1
  107. package/dist/scripts/{CyAM5o2e.chunk.js → HgLS_KfH.chunk.js} +2 -2
  108. package/dist/scripts/{CyAM5o2e.chunk.js.map → HgLS_KfH.chunk.js.map} +1 -1
  109. package/dist/scripts/{zp5MUThO.chunk.js → W8Q7Z6fd.chunk.js} +2 -2
  110. package/dist/scripts/{zp5MUThO.chunk.js.map → W8Q7Z6fd.chunk.js.map} +1 -1
  111. package/dist/scripts/{NInuYe7b2.chunk.js → XWykPl9h2.chunk.js} +2 -2
  112. package/dist/scripts/{NInuYe7b2.chunk.js.map → XWykPl9h2.chunk.js.map} +1 -1
  113. package/dist/scripts/{BggsU83p2.chunk.js → _3n_0ch72.chunk.js} +2 -2
  114. package/dist/scripts/{BggsU83p2.chunk.js.map → _3n_0ch72.chunk.js.map} +1 -1
  115. package/dist/scripts/{app-DDrsm5nt.js → app-CgkYY4K0.js} +3 -3
  116. package/dist/scripts/app-CgkYY4K0.js.map +1 -0
  117. package/dist/scripts/{DeevL6eQ.chunk.js → go6zFmPK.chunk.js} +2 -2
  118. package/dist/scripts/{DeevL6eQ.chunk.js.map → go6zFmPK.chunk.js.map} +1 -1
  119. package/dist/scripts/{BJxTZJOX.chunk.js → p5-1Ey-R.chunk.js} +2 -2
  120. package/dist/scripts/{BJxTZJOX.chunk.js.map → p5-1Ey-R.chunk.js.map} +1 -1
  121. package/dist/scripts/{B0hNKKDw2.chunk.js → qrcrWbQJ2.chunk.js} +2 -2
  122. package/dist/scripts/{B0hNKKDw2.chunk.js.map → qrcrWbQJ2.chunk.js.map} +1 -1
  123. package/package.json +1 -1
  124. package/dist/scripts/app-DDrsm5nt.js.map +0 -1
@@ -1,9 +1,9 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["scripts/CgGl8jzo.chunk.js","scripts/CnnBLBPY.chunk.js","scripts/Dn3hwC-o.chunk.js","scripts/CkH6ird3.chunk.js","scripts/Ct8ETEOn2.chunk.js","scripts/DW0w8_XN.chunk.js","scripts/Cme1qeEa.chunk.js","scripts/DXNyYUq4.chunk.js","css/9awfngRG.chunk.css","scripts/CBDo4oAU.chunk.js","scripts/DdIs1e6F2.chunk.js","scripts/DfmCdnfh.chunk.js","scripts/DL6anFnw.chunk.js","scripts/BPjqRUkj.chunk.js","scripts/BjaJoJzM.chunk.js","scripts/C1ZfhS-p.chunk.js","scripts/GN6vNflP.chunk.js","scripts/xL848v0O.chunk.js","scripts/CrBD6Z4s.chunk.js","scripts/wYSf95QS.chunk.js","scripts/DzbIsgVg.chunk.js","css/DXwbT8Tl.chunk.css","scripts/CPNVhimr.chunk.js","scripts/CKUk2HqE.chunk.js","scripts/BPgKK-d32.chunk.js","scripts/C4kZEAY-2.chunk.js","scripts/BBOUqG_Y.chunk.js","scripts/QxhzRpcg.chunk.js","scripts/dawN348Z.chunk.js","scripts/BqMIXVyA.chunk.js","css/zFl67mql.chunk.css","css/D87gfWFV.chunk.css","scripts/CtVGVkI72.chunk.js","scripts/D8clSITt.chunk.js","scripts/C4W8SQLT.chunk.js","scripts/BIhfRmDn.chunk.js","scripts/D9zlZIWi2.chunk.js","scripts/kMJHAtfK.chunk.js","scripts/ELGa0n8y.chunk.js","scripts/CatL8N7H2.chunk.js","css/W-kt2nNQ.chunk.css","scripts/CRRZVEmA.chunk.js","scripts/CSWjqPcU.chunk.js","scripts/B7KaaLVd.chunk.js","scripts/D2DuwJJH2.chunk.js","scripts/D_PyfoSL.chunk.js","scripts/Bc5CRVkD.chunk.js","scripts/BITl6co82.chunk.js","scripts/BHEKlg6n.chunk.js","scripts/DbuCsVvX.chunk.js","scripts/bOXYmxXt2.chunk.js","scripts/Osy3aOp3.chunk.js","scripts/C0URpAOn.chunk.js","scripts/DeevL6eQ.chunk.js","css/CX35msbY.chunk.css","scripts/DVVx1aiS2.chunk.js","scripts/eLmgigsW.chunk.js","scripts/BXmlDh1p.chunk.js","scripts/DWCNy_Jd2.chunk.js","css/BPdg7JW4.chunk.css","scripts/B9Q0qBO32.chunk.js","css/C2R4QydJ.chunk.css","scripts/Jf-R5ehU.chunk.js","scripts/Bzw5oyg9.chunk.js","css/CC5F5C8O.chunk.css","scripts/BK-FLPB-.chunk.js","css/CVEhXg1o.chunk.css","scripts/ApcDOLl8.chunk.js","css/QlN9xNpq.chunk.css","css/CNWCU_YP.chunk.css","scripts/BijIuzIs2.chunk.js","scripts/C7OCN_w_.chunk.js","scripts/CeHHO1Hv.chunk.js","scripts/CYUx40jk.chunk.js","scripts/d3WuXtzH.chunk.js","css/DL_jCfRl.chunk.css","scripts/B0VKYPiu.chunk.js","scripts/BOvQpQ21.chunk.js","scripts/CXtVyCmH.chunk.js","scripts/CxfZJDOr2.chunk.js","css/ovkTsYMl.chunk.css","scripts/CTTruW3_2.chunk.js","css/DlOtoSz0.chunk.css","scripts/CyAM5o2e.chunk.js","scripts/CsCke1Uk.chunk.js","scripts/BJxTZJOX.chunk.js","scripts/DyRGf1o8.chunk.js","scripts/CUdaR862.chunk.js","scripts/BggsU83p2.chunk.js","scripts/CKNdXwxe2.chunk.js","css/fr2PQUn-.chunk.css","scripts/cIPkkuhG.chunk.js","scripts/CHUTfIvf.chunk.js","css/CrSv-tYo.chunk.css","scripts/DrVEkVd5.chunk.js","scripts/BLtXMKpA.chunk.js","scripts/ZSP3Vfha2.chunk.js","css/D1-Yybxh.chunk.css","scripts/CWsmm40y.chunk.js","scripts/DCtkVk2b.chunk.js","scripts/DIgVUF5c.chunk.js","css/B27vnbEi.chunk.css","scripts/DBJfKQKx.chunk.js","scripts/DRTfS6nN.chunk.js","scripts/DBKlntFN2.chunk.js","scripts/D5qMnGHT2.chunk.js","scripts/Nx0q4bij.chunk.js","scripts/BhEzDZi8.chunk.js","scripts/CqNKzFA4.chunk.js","css/ctpxOyPS.chunk.css","css/D0Q7zvsu.chunk.css","scripts/Bu37Hprb2.chunk.js","css/B8Dk_tbv.chunk.css","scripts/Xs1Bv1h-.chunk.js","scripts/RiPZGw_q2.chunk.js","scripts/Ds3cFntF2.chunk.js","scripts/C_TYjZJB2.chunk.js","scripts/C1u2qBZg2.chunk.js","css/BpXvVP3m.chunk.css","scripts/RDQrcIZZ2.chunk.js","css/BDOTXlob.chunk.css","scripts/BdSdO6n62.chunk.js","scripts/BcJCL8cu2.chunk.js","css/DtIQQBOd.chunk.css","css/CHdjeYFO.chunk.css","scripts/BsSKrRku2.chunk.js","scripts/B9Rb6IIb.chunk.js","scripts/o2htB_49.chunk.js","scripts/Co_6cSBX2.chunk.js","scripts/BHKm8WQq2.chunk.js","scripts/B0hNKKDw2.chunk.js","scripts/DoTtsl0X.chunk.js","scripts/NInuYe7b2.chunk.js","css/CLq1LhGy.chunk.css","scripts/BV2vTX2L.chunk.js","scripts/Fu0bLEzl2.chunk.js","scripts/C6jF43q92.chunk.js","scripts/YGLkoFLc.chunk.js","scripts/CvQQNf_J2.chunk.js","scripts/6124murE2.chunk.js","css/CGMSRslW.chunk.css","scripts/uPFXIvcK2.chunk.js","scripts/CRHkMr9_2.chunk.js","css/w4TLT4f5.chunk.css","scripts/BRQhDr-02.chunk.js","scripts/DdwVkiCn2.chunk.js","css/yuCII_Ov.chunk.css","css/D4-80OJN.chunk.css","scripts/zp5MUThO.chunk.js","css/EPQpe6ir.chunk.css","scripts/UjMbny4R.chunk.js","scripts/CeCXhgoJ.chunk.js","css/D5w5KK1h.chunk.css","scripts/B6mSouu5.chunk.js","scripts/D0H6Hjd-2.chunk.js","css/NORnPwxE.chunk.css","scripts/Dp0gbhZx2.chunk.js","scripts/DtYC8Udi2.chunk.js","css/CDiJwtuL.chunk.css","scripts/aDegERgV2.chunk.js","css/Dkh6sNpi.chunk.css","scripts/CKrB9r9w.chunk.js","scripts/Dg-h5qnR.chunk.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["scripts/6f-CHYL3.chunk.js","scripts/CnnBLBPY.chunk.js","scripts/Dn3hwC-o.chunk.js","scripts/B09qwiFG.chunk.js","scripts/BAwP70HI2.chunk.js","scripts/DW0w8_XN.chunk.js","scripts/Cme1qeEa.chunk.js","scripts/DXNyYUq4.chunk.js","css/9awfngRG.chunk.css","scripts/CBDo4oAU.chunk.js","scripts/DdIs1e6F2.chunk.js","scripts/DfmCdnfh.chunk.js","scripts/DL6anFnw.chunk.js","scripts/BPjqRUkj.chunk.js","scripts/BjaJoJzM.chunk.js","scripts/C1ZfhS-p.chunk.js","scripts/GN6vNflP.chunk.js","scripts/xL848v0O.chunk.js","scripts/CrBD6Z4s.chunk.js","scripts/wYSf95QS.chunk.js","scripts/DzbIsgVg.chunk.js","css/DXwbT8Tl.chunk.css","scripts/CPNVhimr.chunk.js","scripts/Cq-TpkxJ.chunk.js","scripts/Bxsu4S752.chunk.js","scripts/C4kZEAY-2.chunk.js","scripts/BBOUqG_Y.chunk.js","scripts/QxhzRpcg.chunk.js","scripts/dawN348Z.chunk.js","scripts/BqMIXVyA.chunk.js","css/zFl67mql.chunk.css","css/D87gfWFV.chunk.css","scripts/CtVGVkI72.chunk.js","scripts/D8clSITt.chunk.js","scripts/C4W8SQLT.chunk.js","scripts/BIhfRmDn.chunk.js","scripts/BP0LMV9S2.chunk.js","scripts/kMJHAtfK.chunk.js","scripts/ELGa0n8y.chunk.js","scripts/CatL8N7H2.chunk.js","css/W-kt2nNQ.chunk.css","scripts/CRRZVEmA.chunk.js","scripts/CSWjqPcU.chunk.js","scripts/B7KaaLVd.chunk.js","scripts/D2DuwJJH2.chunk.js","scripts/D_PyfoSL.chunk.js","scripts/Bc5CRVkD.chunk.js","scripts/BITl6co82.chunk.js","scripts/BHEKlg6n.chunk.js","scripts/DbuCsVvX.chunk.js","scripts/bOXYmxXt2.chunk.js","scripts/Osy3aOp3.chunk.js","scripts/C0URpAOn.chunk.js","scripts/go6zFmPK.chunk.js","css/CX35msbY.chunk.css","scripts/CZgaUoHE2.chunk.js","scripts/DEP_Z-S0.chunk.js","scripts/BXmlDh1p.chunk.js","scripts/DWCNy_Jd2.chunk.js","css/BPdg7JW4.chunk.css","scripts/B9Q0qBO32.chunk.js","css/C2R4QydJ.chunk.css","scripts/Jf-R5ehU.chunk.js","scripts/Bzw5oyg9.chunk.js","css/CC5F5C8O.chunk.css","scripts/BK-FLPB-.chunk.js","css/CVEhXg1o.chunk.css","scripts/ApcDOLl8.chunk.js","css/QlN9xNpq.chunk.css","css/CNWCU_YP.chunk.css","scripts/DhtgaF-y2.chunk.js","scripts/ChDwbV8F.chunk.js","scripts/BxLgTmMl.chunk.js","scripts/BXIfsdxg.chunk.js","scripts/d3WuXtzH.chunk.js","css/DL_jCfRl.chunk.css","scripts/C-PORBUs.chunk.js","scripts/CdNTKjPA.chunk.js","scripts/CXtVyCmH.chunk.js","scripts/CxfZJDOr2.chunk.js","css/ovkTsYMl.chunk.css","scripts/CTTruW3_2.chunk.js","css/DlOtoSz0.chunk.css","scripts/HgLS_KfH.chunk.js","scripts/CsCke1Uk.chunk.js","scripts/p5-1Ey-R.chunk.js","scripts/CFkqPGiT.chunk.js","scripts/Dhe09-jE.chunk.js","scripts/_3n_0ch72.chunk.js","scripts/DjuXXgD-2.chunk.js","css/fr2PQUn-.chunk.css","scripts/DQBoqkL7.chunk.js","scripts/CHUTfIvf.chunk.js","css/CrSv-tYo.chunk.css","scripts/DrVEkVd5.chunk.js","scripts/BLtXMKpA.chunk.js","scripts/B8BobN3r2.chunk.js","css/D1-Yybxh.chunk.css","scripts/Dr35AMvf.chunk.js","scripts/DCtkVk2b.chunk.js","scripts/DIgVUF5c.chunk.js","css/B27vnbEi.chunk.css","scripts/Dkazht4Q.chunk.js","scripts/DRTfS6nN.chunk.js","scripts/Czivka682.chunk.js","scripts/DmmZ2XbB2.chunk.js","scripts/BhOZYAZn.chunk.js","scripts/BhEzDZi8.chunk.js","scripts/BPttZx0-.chunk.js","css/ctpxOyPS.chunk.css","css/D0Q7zvsu.chunk.css","scripts/Bu37Hprb2.chunk.js","css/B8Dk_tbv.chunk.css","scripts/CKD2j1rw.chunk.js","scripts/C1StI3Bl2.chunk.js","scripts/Bo8PhXY12.chunk.js","scripts/C_TYjZJB2.chunk.js","scripts/Df82DFJ62.chunk.js","css/BpXvVP3m.chunk.css","scripts/RDQrcIZZ2.chunk.js","css/BDOTXlob.chunk.css","scripts/BdSdO6n62.chunk.js","scripts/BcJCL8cu2.chunk.js","css/DtIQQBOd.chunk.css","css/CHdjeYFO.chunk.css","scripts/Div1wl-R2.chunk.js","scripts/BQk9Mhlr.chunk.js","scripts/CrCX606H.chunk.js","scripts/DgrEIxhT2.chunk.js","scripts/B8wHzPHI2.chunk.js","scripts/qrcrWbQJ2.chunk.js","scripts/C6Hr-vqw.chunk.js","scripts/XWykPl9h2.chunk.js","css/CLq1LhGy.chunk.css","scripts/DeXP2wHV.chunk.js","scripts/BrVyRSUS2.chunk.js","scripts/C6jF43q92.chunk.js","scripts/BEv09vqz.chunk.js","scripts/B_P4D3Hf2.chunk.js","scripts/6124murE2.chunk.js","css/CGMSRslW.chunk.css","scripts/BLs3APIS2.chunk.js","scripts/DhT0tpZm2.chunk.js","css/w4TLT4f5.chunk.css","scripts/B0uOvqjG2.chunk.js","scripts/DdwVkiCn2.chunk.js","css/yuCII_Ov.chunk.css","css/D4-80OJN.chunk.css","scripts/W8Q7Z6fd.chunk.js","css/EPQpe6ir.chunk.css","scripts/CBnNAkzx.chunk.js","scripts/BAIdKirt.chunk.js","css/D5w5KK1h.chunk.css","scripts/C_7tv1r9.chunk.js","scripts/CrDpB82d2.chunk.js","css/NORnPwxE.chunk.css","scripts/BgskDBpT2.chunk.js","scripts/C_jUsStb2.chunk.js","css/CDiJwtuL.chunk.css","scripts/CSKzCsLv2.chunk.js","css/Dkh6sNpi.chunk.css","scripts/Bn9ROglk.chunk.js","scripts/0uwnPAi2.chunk.js"])))=>i.map(i=>d[i]);
2
2
  import{At as e,C as t,Ct as n,D as r,Dt as i,E as a,Et as o,Ft as s,It as c,Jt as l,Nt as u,O as d,Ot as f,S as p,St as m,T as h,Tt as g,Yt as _,_ as v,_t as y,a as b,an as x,at as S,b as C,c as w,cn as T,ct as E,d as D,dn as O,dt as k,f as A,fn as j,ft as M,gt as N,ht as P,i as F,jt as I,kt as L,ln as R,lt as z,mn as B,mt as ee,n as te,nn as ne,o as re,on as ie,ot as ae,pn as oe,pt as se,qt as ce,r as le,rn as ue,s as de,st as fe,t as pe,tn as me,un as he,ut as ge,vt as _e,w as ve,wt as ye,xt as be,yt as xe}from"./CnnBLBPY.chunk.js";import{$ as Se,A as Ce,B as we,C as Te,D as Ee,E as De,F as Oe,G as ke,H as Ae,I as je,J as Me,K as Ne,L as Pe,M as Fe,N as Ie,O as Le,P as Re,Q as ze,R as Be,S as Ve,T as He,U as Ue,V as We,W as Ge,X as Ke,Y as qe,Z as Je,b as Ye,c as Xe,d as Ze,et as Qe,f as $e,g as et,h as tt,i as nt,j as rt,k as it,l as at,m as ot,o as st,p as ct,q as lt,s as ut,t as dt,tt as ft,u as pt,v as mt,w as ht,x as gt,z as _t}from"./DW0w8_XN.chunk.js";import{a as vt,b as yt,c as bt,g as xt,h as St,i as Ct,l as wt,m as Tt,n as Et,o as Dt,r as Ot,s as kt,t as At,v as jt,y as Mt}from"./D8clSITt.chunk.js";import{t as Nt}from"./CBDo4oAU.chunk.js";import{n as Pt,t as Ft}from"./GN6vNflP.chunk.js";import{r as It}from"./DXNyYUq4.chunk.js";import{n as Lt,t as Rt}from"./Dn3hwC-o.chunk.js";import{D as zt,E as Bt,M as Vt,S as Ht,T as Ut,_ as Wt,a as Gt,d as Kt,f as qt,g as Jt,i as Yt,j as Xt,k as Zt,l as Qt,m as $t,n as en,o as tn,p as nn,s as rn,t as an,u as on,v as sn,x as cn,y as ln}from"./Cme1qeEa.chunk.js";import{n as un,t as dn}from"./CPNVhimr.chunk.js";import{n as fn,t as pn}from"./DfmCdnfh.chunk.js";import{t as mn}from"./BPjqRUkj.chunk.js";import{t as hn}from"./DL6anFnw.chunk.js";import{n as gn}from"./QxhzRpcg.chunk.js";import{n as _n,t as vn}from"./BBOUqG_Y.chunk.js";import{n as yn,t as bn}from"./CsA7xlj1.chunk.js";import{n as xn,t as Sn}from"./dawN348Z.chunk.js";import{t as Cn}from"./DIgVUF5c.chunk.js";import{n as wn,t as Tn}from"./BjaJoJzM.chunk.js";import{t as En}from"./xL848v0O.chunk.js";import{t as Dn}from"./CrBD6Z4s.chunk.js";import{t as On}from"./C1ZfhS-p.chunk.js";import{t as kn}from"./DRTfS6nN.chunk.js";import{t as An}from"./CSWjqPcU.chunk.js";import{i as jn,n as Mn,r as Nn,t as Pn}from"./BIhfRmDn.chunk.js";import{n as Fn,t as In}from"./CRRZVEmA.chunk.js";import{t as Ln}from"./Bc5CRVkD.chunk.js";import{t as Rn}from"./BHEKlg6n.chunk.js";import{n as zn,t as Bn}from"./BK-FLPB-.chunk.js";import{t as Vn}from"./D_PyfoSL.chunk.js";import{n as Hn,t as Un}from"./C4W8SQLT.chunk.js";var Wn=j(((e,t)=>{var n=function(e){var t=Object.prototype,n=t.hasOwnProperty,r,i=typeof Symbol==`function`?Symbol:{},a=i.iterator||`@@iterator`,o=i.asyncIterator||`@@asyncIterator`,s=i.toStringTag||`@@toStringTag`;function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},``)}catch{c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var i=t&&t.prototype instanceof g?t:g,a=Object.create(i.prototype);return a._invoke=T(e,n,new k(r||[])),a}e.wrap=l;function u(e,t,n){try{return{type:`normal`,arg:e.call(t,n)}}catch(e){return{type:`throw`,arg:e}}}var d=`suspendedStart`,f=`suspendedYield`,p=`executing`,m=`completed`,h={};function g(){}function _(){}function v(){}var y={};c(y,a,function(){return this});var b=Object.getPrototypeOf,x=b&&b(b(A([])));x&&x!==t&&n.call(x,a)&&(y=x);var S=v.prototype=g.prototype=Object.create(y);_.prototype=v,c(S,`constructor`,v),c(v,`constructor`,_),_.displayName=c(v,s,`GeneratorFunction`);function C(e){[`next`,`throw`,`return`].forEach(function(t){c(e,t,function(e){return this._invoke(t,e)})})}e.isGeneratorFunction=function(e){var t=typeof e==`function`&&e.constructor;return t?t===_||(t.displayName||t.name)===`GeneratorFunction`:!1},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,c(e,s,`GeneratorFunction`)),e.prototype=Object.create(S),e},e.awrap=function(e){return{__await:e}};function w(e,t){function r(i,a,o,s){var c=u(e[i],e,a);if(c.type===`throw`)s(c.arg);else{var l=c.arg,d=l.value;return d&&typeof d==`object`&&n.call(d,`__await`)?t.resolve(d.__await).then(function(e){r(`next`,e,o,s)},function(e){r(`throw`,e,o,s)}):t.resolve(d).then(function(e){l.value=e,o(l)},function(e){return r(`throw`,e,o,s)})}}var i;function a(e,n){function a(){return new t(function(t,i){r(e,n,t,i)})}return i=i?i.then(a,a):a()}this._invoke=a}C(w.prototype),c(w.prototype,o,function(){return this}),e.AsyncIterator=w,e.async=function(t,n,r,i,a){a===void 0&&(a=Promise);var o=new w(l(t,n,r,i),a);return e.isGeneratorFunction(n)?o:o.next().then(function(e){return e.done?e.value:o.next()})};function T(e,t,n){var r=d;return function(i,a){if(r===p)throw Error(`Generator is already running`);if(r===m){if(i===`throw`)throw a;return j()}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=E(o,n);if(s){if(s===h)continue;return s}}if(n.method===`next`)n.sent=n._sent=n.arg;else if(n.method===`throw`){if(r===d)throw r=m,n.arg;n.dispatchException(n.arg)}else n.method===`return`&&n.abrupt(`return`,n.arg);r=p;var c=u(e,t,n);if(c.type===`normal`){if(r=n.done?m:f,c.arg===h)continue;return{value:c.arg,done:n.done}}else c.type===`throw`&&(r=m,n.method=`throw`,n.arg=c.arg)}}}function E(e,t){var n=e.iterator[t.method];if(n===r){if(t.delegate=null,t.method===`throw`){if(e.iterator.return&&(t.method=`return`,t.arg=r,E(e,t),t.method===`throw`))return h;t.method=`throw`,t.arg=TypeError(`The iterator does not provide a 'throw' method`)}return h}var i=u(n,e.iterator,t.arg);if(i.type===`throw`)return t.method=`throw`,t.arg=i.arg,t.delegate=null,h;var a=i.arg;if(!a)return t.method=`throw`,t.arg=TypeError(`iterator result is not an object`),t.delegate=null,h;if(a.done)t[e.resultName]=a.value,t.next=e.nextLoc,t.method!==`return`&&(t.method=`next`,t.arg=r);else return a;return t.delegate=null,h}C(S),c(S,s,`Generator`),c(S,a,function(){return this}),c(S,`toString`,function(){return`[object Generator]`});function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type=`normal`,delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:`root`}],e.forEach(D,this),this.reset(!0)}e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}};function A(e){if(e){var t=e[a];if(t)return t.call(e);if(typeof e.next==`function`)return e;if(!isNaN(e.length)){var i=-1,o=function t(){for(;++i<e.length;)if(n.call(e,i))return t.value=e[i],t.done=!1,t;return t.value=r,t.done=!0,t};return o.next=o}}return{next:j}}e.values=A;function j(){return{value:r,done:!0}}return k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method=`next`,this.arg=r,this.tryEntries.forEach(O),!e)for(var t in this)t.charAt(0)===`t`&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=r)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if(e.type===`throw`)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function i(n,i){return s.type=`throw`,s.arg=e,t.next=n,i&&(t.method=`next`,t.arg=r),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if(o.tryLoc===`root`)return i(`end`);if(o.tryLoc<=this.prev){var c=n.call(o,`catchLoc`),l=n.call(o,`finallyLoc`);if(c&&l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else if(l){if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else throw Error(`try statement without catch or finally`)}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,`finallyLoc`)&&this.prev<i.finallyLoc){var a=i;break}}a&&(e===`break`||e===`continue`)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method=`next`,this.next=a.finallyLoc,h):this.complete(o)},complete:function(e,t){if(e.type===`throw`)throw e.arg;return e.type===`break`||e.type===`continue`?this.next=e.arg:e.type===`return`?(this.rval=this.arg=e.arg,this.method=`return`,this.next=`end`):e.type===`normal`&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if(r.type===`throw`){var i=r.arg;O(n)}return i}}throw Error(`illegal catch attempt`)},delegateYield:function(e,t,n){return this.delegate={iterator:A(e),resultName:t,nextLoc:n},this.method===`next`&&(this.arg=r),h}},e}(typeof t==`object`?t.exports:{});try{regeneratorRuntime=n}catch{typeof globalThis==`object`?globalThis.regeneratorRuntime=n:Function(`r`,`regeneratorRuntime = r`)(n)}})),V=j(((e,t)=>{var n=function(e){return e&&e.Math===Math&&e};t.exports=n(typeof globalThis==`object`&&globalThis)||n(typeof window==`object`&&window)||n(typeof self==`object`&&self)||n(typeof globalThis==`object`&&globalThis)||n(typeof e==`object`&&e)||(function(){return this})()||Function(`return this`)()})),H=j(((e,t)=>{t.exports=function(e){try{return!!e()}catch{return!0}}})),U=j(((e,t)=>{t.exports=!H()(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})})),Gn=j(((e,t)=>{t.exports=!H()(function(){var e=(function(){}).bind();return typeof e!=`function`||e.hasOwnProperty(`prototype`)})})),W=j(((e,t)=>{var n=Gn(),r=Function.prototype.call;t.exports=n?r.bind(r):function(){return r.apply(r,arguments)}})),Kn=j((e=>{var t={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor;e.f=n&&!t.call({1:2},1)?function(e){var t=n(this,e);return!!t&&t.enumerable}:t})),qn=j(((e,t)=>{t.exports=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}})),G=j(((e,t)=>{var n=Gn(),r=Function.prototype,i=r.call,a=n&&r.bind.bind(i,i);t.exports=n?a:function(e){return function(){return i.apply(e,arguments)}}})),Jn=j(((e,t)=>{var n=G(),r=n({}.toString),i=n(``.slice);t.exports=function(e){return i(r(e),8,-1)}})),Yn=j(((e,t)=>{var n=G(),r=H(),i=Jn(),a=Object,o=n(``.split);t.exports=r(function(){return!a(`z`).propertyIsEnumerable(0)})?function(e){return i(e)===`String`?o(e,``):a(e)}:a})),Xn=j(((e,t)=>{t.exports=function(e){return e==null}})),Zn=j(((e,t)=>{var n=Xn(),r=TypeError;t.exports=function(e){if(n(e))throw new r(`Can't call method on `+e);return e}})),Qn=j(((e,t)=>{var n=Yn(),r=Zn();t.exports=function(e){return n(r(e))}})),$n=j(((e,t)=>{var n=typeof document==`object`&&document.all;t.exports=n===void 0&&n!==void 0?function(e){return typeof e==`function`||e===n}:function(e){return typeof e==`function`}})),er=j(((e,t)=>{var n=$n();t.exports=function(e){return typeof e==`object`?e!==null:n(e)}})),tr=j(((e,t)=>{var n=V(),r=$n(),i=function(e){return r(e)?e:void 0};t.exports=function(e,t){return arguments.length<2?i(n[e]):n[e]&&n[e][t]}})),nr=j(((e,t)=>{t.exports=G()({}.isPrototypeOf)})),rr=j(((e,t)=>{var n=V().navigator,r=n&&n.userAgent;t.exports=r?String(r):``})),ir=j(((e,t)=>{var n=V(),r=rr(),i=n.process,a=n.Deno,o=i&&i.versions||a&&a.version,s=o&&o.v8,c,l;s&&(c=s.split(`.`),l=c[0]>0&&c[0]<4?1:+(c[0]+c[1])),!l&&r&&(c=r.match(/Edge\/(\d+)/),(!c||c[1]>=74)&&(c=r.match(/Chrome\/(\d+)/),c&&(l=+c[1]))),t.exports=l})),ar=j(((e,t)=>{var n=ir(),r=H(),i=V().String;t.exports=!!Object.getOwnPropertySymbols&&!r(function(){var e=Symbol(`symbol detection`);return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41})})),or=j(((e,t)=>{t.exports=ar()&&!Symbol.sham&&typeof Symbol.iterator==`symbol`})),sr=j(((e,t)=>{var n=tr(),r=$n(),i=nr(),a=or(),o=Object;t.exports=a?function(e){return typeof e==`symbol`}:function(e){var t=n(`Symbol`);return r(t)&&i(t.prototype,o(e))}})),cr=j(((e,t)=>{var n=String;t.exports=function(e){try{return n(e)}catch{return`Object`}}})),lr=j(((e,t)=>{var n=$n(),r=cr(),i=TypeError;t.exports=function(e){if(n(e))return e;throw new i(r(e)+` is not a function`)}})),ur=j(((e,t)=>{var n=lr(),r=Xn();t.exports=function(e,t){var i=e[t];return r(i)?void 0:n(i)}})),dr=j(((e,t)=>{var n=W(),r=$n(),i=er(),a=TypeError;t.exports=function(e,t){var o,s;if(t===`string`&&r(o=e.toString)&&!i(s=n(o,e))||r(o=e.valueOf)&&!i(s=n(o,e))||t!==`string`&&r(o=e.toString)&&!i(s=n(o,e)))return s;throw new a(`Can't convert object to primitive value`)}})),fr=j(((e,t)=>{t.exports=!1})),pr=j(((e,t)=>{var n=V(),r=Object.defineProperty;t.exports=function(e,t){try{r(n,e,{value:t,configurable:!0,writable:!0})}catch{n[e]=t}return t}})),mr=j(((e,t)=>{var n=fr(),r=V(),i=pr(),a=`__core-js_shared__`,o=t.exports=r[a]||i(a,{});(o.versions||=[]).push({version:`3.45.1`,mode:n?`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`})})),hr=j(((e,t)=>{var n=mr();t.exports=function(e,t){return n[e]||(n[e]=t||{})}})),gr=j(((e,t)=>{var n=Zn(),r=Object;t.exports=function(e){return r(n(e))}})),_r=j(((e,t)=>{var n=G(),r=gr(),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(r(e),t)}})),vr=j(((e,t)=>{var n=G(),r=0,i=Math.random(),a=n(1.1.toString);t.exports=function(e){return`Symbol(`+(e===void 0?``:e)+`)_`+a(++r+i,36)}})),yr=j(((e,t)=>{var n=V(),r=hr(),i=_r(),a=vr(),o=ar(),s=or(),c=n.Symbol,l=r(`wks`),u=s?c.for||c:c&&c.withoutSetter||a;t.exports=function(e){return i(l,e)||(l[e]=o&&i(c,e)?c[e]:u(`Symbol.`+e)),l[e]}})),br=j(((e,t)=>{var n=W(),r=er(),i=sr(),a=ur(),o=dr(),s=yr(),c=TypeError,l=s(`toPrimitive`);t.exports=function(e,t){if(!r(e)||i(e))return e;var s=a(e,l),u;if(s){if(t===void 0&&(t=`default`),u=n(s,e,t),!r(u)||i(u))return u;throw new c(`Can't convert object to primitive value`)}return t===void 0&&(t=`number`),o(e,t)}})),xr=j(((e,t)=>{var n=br(),r=sr();t.exports=function(e){var t=n(e,`string`);return r(t)?t:t+``}})),Sr=j(((e,t)=>{var n=V(),r=er(),i=n.document,a=r(i)&&r(i.createElement);t.exports=function(e){return a?i.createElement(e):{}}})),Cr=j(((e,t)=>{var n=U(),r=H(),i=Sr();t.exports=!n&&!r(function(){return Object.defineProperty(i(`div`),`a`,{get:function(){return 7}}).a!==7})})),wr=j((e=>{var t=U(),n=W(),r=Kn(),i=qn(),a=Qn(),o=xr(),s=_r(),c=Cr(),l=Object.getOwnPropertyDescriptor;e.f=t?l:function(e,t){if(e=a(e),t=o(t),c)try{return l(e,t)}catch{}if(s(e,t))return i(!n(r.f,e,t),e[t])}})),Tr=j(((e,t)=>{var n=U(),r=H();t.exports=n&&r(function(){return Object.defineProperty(function(){},`prototype`,{value:42,writable:!1}).prototype!==42})})),K=j(((e,t)=>{var n=er(),r=String,i=TypeError;t.exports=function(e){if(n(e))return e;throw new i(r(e)+` is not an object`)}})),Er=j((e=>{var t=U(),n=Cr(),r=Tr(),i=K(),a=xr(),o=TypeError,s=Object.defineProperty,c=Object.getOwnPropertyDescriptor,l=`enumerable`,u=`configurable`,d=`writable`;e.f=t?r?function(e,t,n){if(i(e),t=a(t),i(n),typeof e==`function`&&t===`prototype`&&`value`in n&&d in n&&!n[d]){var r=c(e,t);r&&r[d]&&(e[t]=n.value,n={configurable:u in n?n[u]:r[u],enumerable:l in n?n[l]:r[l],writable:!1})}return s(e,t,n)}:s:function(e,t,r){if(i(e),t=a(t),i(r),n)try{return s(e,t,r)}catch{}if(`get`in r||`set`in r)throw new o(`Accessors not supported`);return`value`in r&&(e[t]=r.value),e}})),Dr=j(((e,t)=>{var n=U(),r=Er(),i=qn();t.exports=n?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}})),Or=j(((e,t)=>{var n=U(),r=_r(),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,o=r(i,`name`);t.exports={EXISTS:o,PROPER:o&&(function(){}).name===`something`,CONFIGURABLE:o&&(!n||n&&a(i,`name`).configurable)}})),kr=j(((e,t)=>{var n=G(),r=$n(),i=mr(),a=n(Function.toString);r(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),t.exports=i.inspectSource})),Ar=j(((e,t)=>{var n=V(),r=$n(),i=n.WeakMap;t.exports=r(i)&&/native code/.test(String(i))})),jr=j(((e,t)=>{var n=hr(),r=vr(),i=n(`keys`);t.exports=function(e){return i[e]||(i[e]=r(e))}})),Mr=j(((e,t)=>{t.exports={}})),Nr=j(((e,t)=>{var n=Ar(),r=V(),i=er(),a=Dr(),o=_r(),s=mr(),c=jr(),l=Mr(),u=`Object already initialized`,d=r.TypeError,f=r.WeakMap,p,m,h,g=function(e){return h(e)?m(e):p(e,{})},_=function(e){return function(t){var n;if(!i(t)||(n=m(t)).type!==e)throw new d(`Incompatible receiver, `+e+` required`);return n}};if(n||s.state){var v=s.state||=new f;v.get=v.get,v.has=v.has,v.set=v.set,p=function(e,t){if(v.has(e))throw new d(u);return t.facade=e,v.set(e,t),t},m=function(e){return v.get(e)||{}},h=function(e){return v.has(e)}}else{var y=c(`state`);l[y]=!0,p=function(e,t){if(o(e,y))throw new d(u);return t.facade=e,a(e,y,t),t},m=function(e){return o(e,y)?e[y]:{}},h=function(e){return o(e,y)}}t.exports={set:p,get:m,has:h,enforce:g,getterFor:_}})),Pr=j(((e,t)=>{var n=G(),r=H(),i=$n(),a=_r(),o=U(),s=Or().CONFIGURABLE,c=kr(),l=Nr(),u=l.enforce,d=l.get,f=String,p=Object.defineProperty,m=n(``.slice),h=n(``.replace),g=n([].join),_=o&&!r(function(){return p(function(){},`length`,{value:8}).length!==8}),v=String(String).split(`String`),y=t.exports=function(e,t,n){m(f(t),0,7)===`Symbol(`&&(t=`[`+h(f(t),/^Symbol\(([^)]*)\).*$/,`$1`)+`]`),n&&n.getter&&(t=`get `+t),n&&n.setter&&(t=`set `+t),(!a(e,`name`)||s&&e.name!==t)&&(o?p(e,`name`,{value:t,configurable:!0}):e.name=t),_&&n&&a(n,`arity`)&&e.length!==n.arity&&p(e,`length`,{value:n.arity});try{n&&a(n,`constructor`)&&n.constructor?o&&p(e,`prototype`,{writable:!1}):e.prototype&&=void 0}catch{}var r=u(e);return a(r,`source`)||(r.source=g(v,typeof t==`string`?t:``)),e};Function.prototype.toString=y(function(){return i(this)&&d(this).source||c(this)},`toString`)})),Fr=j(((e,t)=>{var n=$n(),r=Er(),i=Pr(),a=pr();t.exports=function(e,t,o,s){s||={};var c=s.enumerable,l=s.name===void 0?t:s.name;if(n(o)&&i(o,l,s),s.global)c?e[t]=o:a(t,o);else{try{s.unsafe?e[t]&&(c=!0):delete e[t]}catch{}c?e[t]=o:r.f(e,t,{value:o,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}})),Ir=j(((e,t)=>{var n=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?r:n)(t)}})),Lr=j(((e,t)=>{var n=Ir();t.exports=function(e){var t=+e;return t!==t||t===0?0:n(t)}})),Rr=j(((e,t)=>{var n=Lr(),r=Math.max,i=Math.min;t.exports=function(e,t){var a=n(e);return a<0?r(a+t,0):i(a,t)}})),zr=j(((e,t)=>{var n=Lr(),r=Math.min;t.exports=function(e){var t=n(e);return t>0?r(t,9007199254740991):0}})),Br=j(((e,t)=>{var n=zr();t.exports=function(e){return n(e.length)}})),Vr=j(((e,t)=>{var n=Qn(),r=Rr(),i=Br(),a=function(e){return function(t,a,o){var s=n(t),c=i(s);if(c===0)return!e&&-1;var l=r(o,c),u;if(e&&a!==a){for(;c>l;)if(u=s[l++],u!==u)return!0}else for(;c>l;l++)if((e||l in s)&&s[l]===a)return e||l||0;return!e&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}})),Hr=j(((e,t)=>{var n=G(),r=_r(),i=Qn(),a=Vr().indexOf,o=Mr(),s=n([].push);t.exports=function(e,t){var n=i(e),c=0,l=[],u;for(u in n)!r(o,u)&&r(n,u)&&s(l,u);for(;t.length>c;)r(n,u=t[c++])&&(~a(l,u)||s(l,u));return l}})),Ur=j(((e,t)=>{t.exports=[`constructor`,`hasOwnProperty`,`isPrototypeOf`,`propertyIsEnumerable`,`toLocaleString`,`toString`,`valueOf`]})),Wr=j((e=>{var t=Hr(),n=Ur().concat(`length`,`prototype`);e.f=Object.getOwnPropertyNames||function(e){return t(e,n)}})),Gr=j((e=>{e.f=Object.getOwnPropertySymbols})),Kr=j(((e,t)=>{var n=tr(),r=G(),i=Wr(),a=Gr(),o=K(),s=r([].concat);t.exports=n(`Reflect`,`ownKeys`)||function(e){var t=i.f(o(e)),n=a.f;return n?s(t,n(e)):t}})),qr=j(((e,t)=>{var n=_r(),r=Kr(),i=wr(),a=Er();t.exports=function(e,t,o){for(var s=r(t),c=a.f,l=i.f,u=0;u<s.length;u++){var d=s[u];!n(e,d)&&!(o&&n(o,d))&&c(e,d,l(t,d))}}})),Jr=j(((e,t)=>{var n=H(),r=$n(),i=/#|\.prototype\./,a=function(e,t){var i=s[o(e)];return i===l?!0:i===c?!1:r(t)?n(t):!!t},o=a.normalize=function(e){return String(e).replace(i,`.`).toLowerCase()},s=a.data={},c=a.NATIVE=`N`,l=a.POLYFILL=`P`;t.exports=a})),q=j(((e,t)=>{var n=V(),r=wr().f,i=Dr(),a=Fr(),o=pr(),s=qr(),c=Jr();t.exports=function(e,t){var l=e.target,u=e.global,d=e.stat,f,p=u?n:d?n[l]||o(l,{}):n[l]&&n[l].prototype,m,h,g,_;if(p)for(m in t){if(g=t[m],e.dontCallGetSet?(_=r(p,m),h=_&&_.value):h=p[m],f=c(u?m:l+(d?`.`:`#`)+m,e.forced),!f&&h!==void 0){if(typeof g==typeof h)continue;s(g,h)}(e.sham||h&&h.sham)&&i(g,`sham`,!0),a(p,m,g,e)}}})),Yr=j(((e,t)=>{var n=yr()(`toStringTag`),r={};r[n]=`z`,t.exports=String(r)===`[object z]`})),Xr=j(((e,t)=>{var n=Yr(),r=$n(),i=Jn(),a=yr()(`toStringTag`),o=Object,s=i(function(){return arguments}())===`Arguments`,c=function(e,t){try{return e[t]}catch{}};t.exports=n?i:function(e){var t,n,l;return e===void 0?`Undefined`:e===null?`Null`:typeof(n=c(t=o(e),a))==`string`?n:s?i(t):(l=i(t))===`Object`&&r(t.callee)?`Arguments`:l}})),Zr=j(((e,t)=>{var n=Xr(),r=String;t.exports=function(e){if(n(e)===`Symbol`)throw TypeError(`Cannot convert a Symbol value to a string`);return r(e)}})),Qr=j(((e,t)=>{var n=Hr(),r=Ur();t.exports=Object.keys||function(e){return n(e,r)}})),$r=j((e=>{var t=U(),n=Tr(),r=Er(),i=K(),a=Qn(),o=Qr();e.f=t&&!n?Object.defineProperties:function(e,t){i(e);for(var n=a(t),s=o(t),c=s.length,l=0,u;c>l;)r.f(e,u=s[l++],n[u]);return e}})),ei=j(((e,t)=>{t.exports=tr()(`document`,`documentElement`)})),ti=j(((e,t)=>{var n=K(),r=$r(),i=Ur(),a=Mr(),o=ei(),s=Sr(),c=jr(),l=`>`,u=`<`,d=`prototype`,f=`script`,p=c(`IE_PROTO`),m=function(){},h=function(e){return u+f+l+e+u+`/`+f+l},g=function(e){e.write(h(``)),e.close();var t=e.parentWindow.Object;return e=null,t},_=function(){var e=s(`iframe`),t=`java`+f+`:`,n;return e.style.display=`none`,o.appendChild(e),e.src=String(t),n=e.contentWindow.document,n.open(),n.write(h(`document.F=Object`)),n.close(),n.F},v,y=function(){try{v=new ActiveXObject(`htmlfile`)}catch{}y=typeof document<`u`?document.domain&&v?g(v):_():g(v);for(var e=i.length;e--;)delete y[d][i[e]];return y()};a[p]=!0,t.exports=Object.create||function(e,t){var i;return e===null?i=y():(m[d]=n(e),i=new m,m[d]=null,i[p]=e),t===void 0?i:r.f(i,t)}})),ni=j(((e,t)=>{t.exports=G()([].slice)})),ri=j(((e,t)=>{var n=Jn(),r=Qn(),i=Wr().f,a=ni(),o=typeof window==`object`&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch{return a(o)}};t.exports.f=function(e){return o&&n(e)===`Window`?s(e):i(r(e))}})),ii=j(((e,t)=>{var n=Pr(),r=Er();t.exports=function(e,t,i){return i.get&&n(i.get,t,{getter:!0}),i.set&&n(i.set,t,{setter:!0}),r.f(e,t,i)}})),ai=j((e=>{e.f=yr()})),oi=j(((e,t)=>{t.exports=V()})),si=j(((e,t)=>{var n=oi(),r=_r(),i=ai(),a=Er().f;t.exports=function(e){var t=n.Symbol||={};r(t,e)||a(t,e,{value:i.f(e)})}})),ci=j(((e,t)=>{var n=W(),r=tr(),i=yr(),a=Fr();t.exports=function(){var e=r(`Symbol`),t=e&&e.prototype,o=t&&t.valueOf,s=i(`toPrimitive`);t&&!t[s]&&a(t,s,function(e){return n(o,this)},{arity:1})}})),li=j(((e,t)=>{var n=Er().f,r=_r(),i=yr()(`toStringTag`);t.exports=function(e,t,a){e&&!a&&(e=e.prototype),e&&!r(e,i)&&n(e,i,{configurable:!0,value:t})}})),ui=j(((e,t)=>{var n=Jn(),r=G();t.exports=function(e){if(n(e)===`Function`)return r(e)}})),di=j(((e,t)=>{var n=ui(),r=lr(),i=Gn(),a=n(n.bind);t.exports=function(e,t){return r(e),t===void 0?e:i?a(e,t):function(){return e.apply(t,arguments)}}})),fi=j(((e,t)=>{var n=Jn();t.exports=Array.isArray||function(e){return n(e)===`Array`}})),pi=j(((e,t)=>{var n=G(),r=H(),i=$n(),a=Xr(),o=tr(),s=kr(),c=function(){},l=o(`Reflect`,`construct`),u=/^\s*(?:class|function)\b/,d=n(u.exec),f=!u.test(c),p=function(e){if(!i(e))return!1;try{return l(c,[],e),!0}catch{return!1}},m=function(e){if(!i(e))return!1;switch(a(e)){case`AsyncFunction`:case`GeneratorFunction`:case`AsyncGeneratorFunction`:return!1}try{return f||!!d(u,s(e))}catch{return!0}};m.sham=!0,t.exports=!l||r(function(){var e;return p(p.call)||!p(Object)||!p(function(){e=!0})||e})?m:p})),mi=j(((e,t)=>{var n=fi(),r=pi(),i=er(),a=yr()(`species`),o=Array;t.exports=function(e){var t;return n(e)&&(t=e.constructor,r(t)&&(t===o||n(t.prototype))?t=void 0:i(t)&&(t=t[a],t===null&&(t=void 0))),t===void 0?o:t}})),hi=j(((e,t)=>{var n=mi();t.exports=function(e,t){return new(n(e))(t===0?0:t)}})),gi=j(((e,t)=>{var n=di(),r=G(),i=Yn(),a=gr(),o=Br(),s=hi(),c=r([].push),l=function(e){var t=e===1,r=e===2,l=e===3,u=e===4,d=e===6,f=e===7,p=e===5||d;return function(m,h,g,_){for(var v=a(m),y=i(v),b=o(y),x=n(h,g),S=0,C=_||s,w=t?C(m,b):r||f?C(m,0):void 0,T,E;b>S;S++)if((p||S in y)&&(T=y[S],E=x(T,S,v),e))if(t)w[S]=E;else if(E)switch(e){case 3:return!0;case 5:return T;case 6:return S;case 2:c(w,T)}else switch(e){case 4:return!1;case 7:c(w,T)}return d?-1:l||u?u:w}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}})),_i=j((()=>{var e=q(),t=V(),n=W(),r=G(),i=fr(),a=U(),o=ar(),s=H(),c=_r(),l=nr(),u=K(),d=Qn(),f=xr(),p=Zr(),m=qn(),h=ti(),g=Qr(),_=Wr(),v=ri(),y=Gr(),b=wr(),x=Er(),S=$r(),C=Kn(),w=Fr(),T=ii(),E=hr(),D=jr(),O=Mr(),k=vr(),A=yr(),j=ai(),M=si(),N=ci(),P=li(),F=Nr(),I=gi().forEach,L=D(`hidden`),R=`Symbol`,z=`prototype`,B=F.set,ee=F.getterFor(R),te=Object[z],ne=t.Symbol,re=ne&&ne[z],ie=t.RangeError,ae=t.TypeError,oe=t.QObject,se=b.f,ce=x.f,le=v.f,ue=C.f,de=r([].push),fe=E(`symbols`),pe=E(`op-symbols`),me=E(`wks`),he=!oe||!oe[z]||!oe[z].findChild,ge=function(e,t,n){var r=se(te,t);r&&delete te[t],ce(e,t,n),r&&e!==te&&ce(te,t,r)},_e=a&&s(function(){return h(ce({},`a`,{get:function(){return ce(this,`a`,{value:7}).a}})).a!==7})?ge:ce,ve=function(e,t){var n=fe[e]=h(re);return B(n,{type:R,tag:e,description:t}),a||(n.description=t),n},ye=function(e,t,n){e===te&&ye(pe,t,n),u(e);var r=f(t);return u(n),c(fe,r)?(n.enumerable?(c(e,L)&&e[L][r]&&(e[L][r]=!1),n=h(n,{enumerable:m(0,!1)})):(c(e,L)||ce(e,L,m(1,h(null))),e[L][r]=!0),_e(e,r,n)):ce(e,r,n)},be=function(e,t){u(e);var r=d(t);return I(g(r).concat(Te(r)),function(t){(!a||n(Se,r,t))&&ye(e,t,r[t])}),e},xe=function(e,t){return t===void 0?h(e):be(h(e),t)},Se=function(e){var t=f(e),r=n(ue,this,t);return this===te&&c(fe,t)&&!c(pe,t)?!1:r||!c(this,t)||!c(fe,t)||c(this,L)&&this[L][t]?r:!0},Ce=function(e,t){var n=d(e),r=f(t);if(!(n===te&&c(fe,r)&&!c(pe,r))){var i=se(n,r);return i&&c(fe,r)&&!(c(n,L)&&n[L][r])&&(i.enumerable=!0),i}},we=function(e){var t=le(d(e)),n=[];return I(t,function(e){!c(fe,e)&&!c(O,e)&&de(n,e)}),n},Te=function(e){var t=e===te,n=le(t?pe:d(e)),r=[];return I(n,function(e){c(fe,e)&&(!t||c(te,e))&&de(r,fe[e])}),r};o||(ne=function(){if(l(re,this))throw new ae(`Symbol is not a constructor`);var e=!arguments.length||arguments[0]===void 0?void 0:p(arguments[0]),r=k(e),i=function(e){var a=this===void 0?t:this;a===te&&n(i,pe,e),c(a,L)&&c(a[L],r)&&(a[L][r]=!1);var o=m(1,e);try{_e(a,r,o)}catch(e){if(!(e instanceof ie))throw e;ge(a,r,o)}};return a&&he&&_e(te,r,{configurable:!0,set:i}),ve(r,e)},re=ne[z],w(re,`toString`,function(){return ee(this).tag}),w(ne,`withoutSetter`,function(e){return ve(k(e),e)}),C.f=Se,x.f=ye,S.f=be,b.f=Ce,_.f=v.f=we,y.f=Te,j.f=function(e){return ve(A(e),e)},a&&(T(re,`description`,{configurable:!0,get:function(){return ee(this).description}}),i||w(te,`propertyIsEnumerable`,Se,{unsafe:!0}))),e({global:!0,constructor:!0,wrap:!0,forced:!o,sham:!o},{Symbol:ne}),I(g(me),function(e){M(e)}),e({target:R,stat:!0,forced:!o},{useSetter:function(){he=!0},useSimple:function(){he=!1}}),e({target:`Object`,stat:!0,forced:!o,sham:!a},{create:xe,defineProperty:ye,defineProperties:be,getOwnPropertyDescriptor:Ce}),e({target:`Object`,stat:!0,forced:!o},{getOwnPropertyNames:we}),N(),P(ne,R),O[L]=!0})),vi=j(((e,t)=>{t.exports=ar()&&!!Symbol.for&&!!Symbol.keyFor})),yi=j((()=>{var e=q(),t=tr(),n=_r(),r=Zr(),i=hr(),a=vi(),o=i(`string-to-symbol-registry`),s=i(`symbol-to-string-registry`);e({target:`Symbol`,stat:!0,forced:!a},{for:function(e){var i=r(e);if(n(o,i))return o[i];var a=t(`Symbol`)(i);return o[i]=a,s[a]=i,a}})})),bi=j((()=>{var e=q(),t=_r(),n=sr(),r=cr(),i=hr(),a=vi(),o=i(`symbol-to-string-registry`);e({target:`Symbol`,stat:!0,forced:!a},{keyFor:function(e){if(!n(e))throw TypeError(r(e)+` is not a symbol`);if(t(o,e))return o[e]}})})),xi=j(((e,t)=>{var n=Gn(),r=Function.prototype,i=r.apply,a=r.call;t.exports=typeof Reflect==`object`&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})})),Si=j(((e,t)=>{var n=G(),r=fi(),i=$n(),a=Jn(),o=Zr(),s=n([].push);t.exports=function(e){if(i(e))return e;if(r(e)){for(var t=e.length,n=[],c=0;c<t;c++){var l=e[c];typeof l==`string`?s(n,l):(typeof l==`number`||a(l)===`Number`||a(l)===`String`)&&s(n,o(l))}var u=n.length,d=!0;return function(e,t){if(d)return d=!1,t;if(r(this))return t;for(var i=0;i<u;i++)if(n[i]===e)return t}}}})),Ci=j((()=>{var e=q(),t=tr(),n=xi(),r=W(),i=G(),a=H(),o=$n(),s=sr(),c=ni(),l=Si(),u=ar(),d=String,f=t(`JSON`,`stringify`),p=i(/./.exec),m=i(``.charAt),h=i(``.charCodeAt),g=i(``.replace),_=i(1.1.toString),v=/[\uD800-\uDFFF]/g,y=/^[\uD800-\uDBFF]$/,b=/^[\uDC00-\uDFFF]$/,x=!u||a(function(){var e=t(`Symbol`)(`stringify detection`);return f([e])!==`[null]`||f({a:e})!==`{}`||f(Object(e))!==`{}`}),S=a(function(){return f(`\udf06\ud834`)!==`"\\udf06\\ud834"`||f(`\udead`)!==`"\\udead"`}),C=function(e,t){var i=c(arguments),a=l(t);if(!(!o(a)&&(e===void 0||s(e))))return i[1]=function(e,t){if(o(a)&&(t=r(a,this,d(e),t)),!s(t))return t},n(f,null,i)},w=function(e,t,n){var r=m(n,t-1),i=m(n,t+1);return p(y,e)&&!p(b,i)||p(b,e)&&!p(y,r)?`\\u`+_(h(e,0),16):e};f&&e({target:`JSON`,stat:!0,arity:3,forced:x||S},{stringify:function(e,t,r){var i=c(arguments),a=n(x?C:f,null,i);return S&&typeof a==`string`?g(a,v,w):a}})})),wi=j((()=>{var e=q(),t=ar(),n=H(),r=Gr(),i=gr();e({target:`Object`,stat:!0,forced:!t||n(function(){r.f(1)})},{getOwnPropertySymbols:function(e){var t=r.f;return t?t(i(e)):[]}})})),Ti=j((()=>{_i(),yi(),bi(),Ci(),wi()})),Ei=j((()=>{var e=q(),t=U(),n=V(),r=G(),i=_r(),a=$n(),o=nr(),s=Zr(),c=ii(),l=qr(),u=n.Symbol,d=u&&u.prototype;if(t&&a(u)&&(!(`description`in d)||u().description!==void 0)){var f={},p=function(){var e=arguments.length<1||arguments[0]===void 0?void 0:s(arguments[0]),t=o(d,this)?new u(e):e===void 0?u():u(e);return e===``&&(f[t]=!0),t};l(p,u),p.prototype=d,d.constructor=p;var m=String(u(`description detection`))===`Symbol(description detection)`,h=r(d.valueOf),g=r(d.toString),_=/^Symbol\((.*)\)[^)]+$/,v=r(``.replace),y=r(``.slice);c(d,`description`,{configurable:!0,get:function(){var e=h(this);if(i(f,e))return``;var t=g(e),n=m?y(t,7,-1):v(t,_,`$1`);return n===``?void 0:n}}),e({global:!0,constructor:!0,forced:!0},{Symbol:p})}})),Di=j((()=>{var e=V(),t=si(),n=Er().f,r=wr().f,i=e.Symbol;if(t(`asyncDispose`),i){var a=r(i,`asyncDispose`);a.enumerable&&a.configurable&&a.writable&&n(i,`asyncDispose`,{value:a.value,enumerable:!1,configurable:!1,writable:!1})}})),Oi=j((()=>{si()(`asyncIterator`)})),ki=j((()=>{var e=V(),t=si(),n=Er().f,r=wr().f,i=e.Symbol;if(t(`dispose`),i){var a=r(i,`dispose`);a.enumerable&&a.configurable&&a.writable&&n(i,`dispose`,{value:a.value,enumerable:!1,configurable:!1,writable:!1})}})),Ai=j((()=>{si()(`hasInstance`)})),ji=j((()=>{si()(`isConcatSpreadable`)})),Mi=j((()=>{si()(`iterator`)})),Ni=j((()=>{si()(`match`)})),Pi=j((()=>{si()(`matchAll`)})),Fi=j((()=>{si()(`replace`)})),Ii=j((()=>{si()(`search`)})),Li=j((()=>{si()(`species`)})),Ri=j((()=>{si()(`split`)})),zi=j((()=>{var e=si(),t=ci();e(`toPrimitive`),t()})),Bi=j((()=>{var e=tr(),t=si(),n=li();t(`toStringTag`),n(e(`Symbol`),`Symbol`)})),Vi=j((()=>{si()(`unscopables`)})),Hi=j(((e,t)=>{var n=G(),r=lr();t.exports=function(e,t,i){try{return n(r(Object.getOwnPropertyDescriptor(e,t)[i]))}catch{}}})),Ui=j(((e,t)=>{var n=er();t.exports=function(e){return n(e)||e===null}})),Wi=j(((e,t)=>{var n=Ui(),r=String,i=TypeError;t.exports=function(e){if(n(e))return e;throw new i(`Can't set `+r(e)+` as a prototype`)}})),Gi=j(((e,t)=>{var n=Hi(),r=er(),i=Zn(),a=Wi();t.exports=Object.setPrototypeOf||(`__proto__`in{}?function(){var e=!1,t={},o;try{o=n(Object.prototype,`__proto__`,`set`),o(t,[]),e=t instanceof Array}catch{}return function(t,n){return i(t),a(n),r(t)&&(e?o(t,n):t.__proto__=n),t}}():void 0)})),Ki=j(((e,t)=>{var n=Er().f;t.exports=function(e,t,r){r in e||n(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}})),qi=j(((e,t)=>{var n=$n(),r=er(),i=Gi();t.exports=function(e,t,a){var o,s;return i&&n(o=t.constructor)&&o!==a&&r(s=o.prototype)&&s!==a.prototype&&i(e,s),e}})),Ji=j(((e,t)=>{var n=Zr();t.exports=function(e,t){return e===void 0?arguments.length<2?``:t:n(e)}})),Yi=j(((e,t)=>{var n=er(),r=Dr();t.exports=function(e,t){n(t)&&`cause`in t&&r(e,`cause`,t.cause)}})),Xi=j(((e,t)=>{var n=G(),r=Error,i=n(``.replace),a=(function(e){return String(new r(e).stack)})(`zxcasd`),o=/\n\s*at [^:]*:[^\n]*/,s=o.test(a);t.exports=function(e,t){if(s&&typeof e==`string`&&!r.prepareStackTrace)for(;t--;)e=i(e,o,``);return e}})),Zi=j(((e,t)=>{var n=H(),r=qn();t.exports=!n(function(){var e=Error(`a`);return`stack`in e?(Object.defineProperty(e,`stack`,r(1,7)),e.stack!==7):!0})})),Qi=j(((e,t)=>{var n=Dr(),r=Xi(),i=Zi(),a=Error.captureStackTrace;t.exports=function(e,t,o,s){i&&(a?a(e,t):n(e,`stack`,r(o,s)))}})),$i=j(((e,t)=>{var n=tr(),r=_r(),i=Dr(),a=nr(),o=Gi(),s=qr(),c=Ki(),l=qi(),u=Ji(),d=Yi(),f=Qi(),p=U(),m=fr();t.exports=function(e,t,h,g){var _=`stackTraceLimit`,v=g?2:1,y=e.split(`.`),b=y[y.length-1],x=n.apply(null,y);if(x){var S=x.prototype;if(!m&&r(S,`cause`)&&delete S.cause,!h)return x;var C=n(`Error`),w=t(function(e,t){var n=u(g?t:e,void 0),r=g?new x(e):new x;return n!==void 0&&i(r,`message`,n),f(r,w,r.stack,2),this&&a(S,this)&&l(r,this,w),arguments.length>v&&d(r,arguments[v]),r});if(w.prototype=S,b===`Error`?p&&_ in x&&(c(w,x,_),c(w,x,`prepareStackTrace`)):o?o(w,C):s(w,C,{name:!0}),s(w,x),!m)try{S.name!==b&&i(S,`name`,b),S.constructor=w}catch{}return w}}})),ea=j((()=>{var e=q(),t=V(),n=xi(),r=$i(),i=`WebAssembly`,a=t[i],o=Error(`e`,{cause:7}).cause!==7,s=function(t,n){var i={};i[t]=r(t,n,o),e({global:!0,constructor:!0,arity:1,forced:o},i)},c=function(t,n){if(a&&a[t]){var s={};s[t]=r(i+`.`+t,n,o),e({target:i,stat:!0,constructor:!0,arity:1,forced:o},s)}};s(`Error`,function(e){return function(t){return n(e,this,arguments)}}),s(`EvalError`,function(e){return function(t){return n(e,this,arguments)}}),s(`RangeError`,function(e){return function(t){return n(e,this,arguments)}}),s(`ReferenceError`,function(e){return function(t){return n(e,this,arguments)}}),s(`SyntaxError`,function(e){return function(t){return n(e,this,arguments)}}),s(`TypeError`,function(e){return function(t){return n(e,this,arguments)}}),s(`URIError`,function(e){return function(t){return n(e,this,arguments)}}),c(`CompileError`,function(e){return function(t){return n(e,this,arguments)}}),c(`LinkError`,function(e){return function(t){return n(e,this,arguments)}}),c(`RuntimeError`,function(e){return function(t){return n(e,this,arguments)}})})),ta=j((()=>{var e=q(),t=tr(),n=er(),r=Xr(),i=H(),a=`Error`,o=`DOMException`,s=Object.setPrototypeOf||{}.__proto__,c=t(o),l=Error,u=l.isError;e({target:`Error`,stat:!0,sham:!0,forced:!u||!s||i(function(){return c&&!u(new c(o))||!u(new l(a,{cause:function(){}}))||u(t(`Object`,`create`)(l.prototype))})},{isError:function(e){if(!n(e))return!1;var t=r(e);return t===a||t===o}})})),na=j(((e,t)=>{var n=U(),r=H(),i=K(),a=Ji(),o=Error.prototype.toString;t.exports=r(function(){if(n){var e=Object.create(Object.defineProperty({},`name`,{get:function(){return this===e}}));if(o.call(e)!==`true`)return!0}return o.call({message:1,name:2})!==`2: 1`||o.call({})!==`Error`})?function(){var e=i(this),t=a(e.name,`Error`),n=a(e.message);return t?n?t+`: `+n:t:n}:o})),ra=j((()=>{var e=Fr(),t=na(),n=Error.prototype;n.toString!==t&&e(n,`toString`,t)})),ia=j(((e,t)=>{t.exports=!H()(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})})),aa=j(((e,t)=>{var n=_r(),r=$n(),i=gr(),a=jr(),o=ia(),s=a(`IE_PROTO`),c=Object,l=c.prototype;t.exports=o?c.getPrototypeOf:function(e){var t=i(e);if(n(t,s))return t[s];var a=t.constructor;return r(a)&&t instanceof a?a.prototype:t instanceof c?l:null}})),oa=j(((e,t)=>{t.exports={}})),sa=j(((e,t)=>{var n=yr(),r=oa(),i=n(`iterator`),a=Array.prototype;t.exports=function(e){return e!==void 0&&(r.Array===e||a[i]===e)}})),ca=j(((e,t)=>{var n=Xr(),r=ur(),i=Xn(),a=oa(),o=yr()(`iterator`);t.exports=function(e){if(!i(e))return r(e,o)||r(e,`@@iterator`)||a[n(e)]}})),la=j(((e,t)=>{var n=W(),r=lr(),i=K(),a=cr(),o=ca(),s=TypeError;t.exports=function(e,t){var c=arguments.length<2?o(e):t;if(r(c))return i(n(c,e));throw new s(a(e)+` is not iterable`)}})),ua=j(((e,t)=>{var n=W(),r=K(),i=ur();t.exports=function(e,t,a){var o,s;r(e);try{if(o=i(e,`return`),!o){if(t===`throw`)throw a;return a}o=n(o,e)}catch(e){s=!0,o=e}if(t===`throw`)throw a;if(s)throw o;return r(o),a}})),da=j(((e,t)=>{var n=di(),r=W(),i=K(),a=cr(),o=sa(),s=Br(),c=nr(),l=la(),u=ca(),d=ua(),f=TypeError,p=function(e,t){this.stopped=e,this.result=t},m=p.prototype;t.exports=function(e,t,h){var g=h&&h.that,_=!!(h&&h.AS_ENTRIES),v=!!(h&&h.IS_RECORD),y=!!(h&&h.IS_ITERATOR),b=!!(h&&h.INTERRUPTED),x=n(t,g),S,C,w,T,E,D,O,k=function(e){return S&&d(S,`normal`),new p(!0,e)},A=function(e){return _?(i(e),b?x(e[0],e[1],k):x(e[0],e[1])):b?x(e,k):x(e)};if(v)S=e.iterator;else if(y)S=e;else{if(C=u(e),!C)throw new f(a(e)+` is not iterable`);if(o(C)){for(w=0,T=s(e);T>w;w++)if(E=A(e[w]),E&&c(m,E))return E;return new p(!1)}S=l(e,C)}for(D=v?e.next:S.next;!(O=r(D,S)).done;){try{E=A(O.value)}catch(e){d(S,`throw`,e)}if(typeof E==`object`&&E&&c(m,E))return E}return new p(!1)}})),fa=j((()=>{var e=q(),t=nr(),n=aa(),r=Gi(),i=qr(),a=ti(),o=Dr(),s=qn(),c=Yi(),l=Qi(),u=da(),d=Ji(),f=yr()(`toStringTag`),p=Error,m=[].push,h=function(e,i){var s=t(g,this),_;r?_=r(new p,s?n(this):g):(_=s?this:a(g),o(_,f,`Error`)),i!==void 0&&o(_,`message`,d(i)),l(_,h,_.stack,1),arguments.length>2&&c(_,arguments[2]);var v=[];return u(e,m,{that:v}),o(_,`errors`,v),_};r?r(h,p):i(h,p,{name:!0});var g=h.prototype=a(p.prototype,{constructor:s(1,h),message:s(1,``),name:s(1,`AggregateError`)});e({global:!0,constructor:!0,arity:2},{AggregateError:h})})),pa=j((()=>{fa()})),ma=j((()=>{var e=q(),t=tr(),n=xi(),r=H(),i=$i(),a=`AggregateError`,o=t(a),s=!r(function(){return o([1]).errors[0]!==1})&&r(function(){return o([1],a,{cause:7}).cause!==7});e({global:!0,constructor:!0,arity:2,forced:s},{AggregateError:i(a,function(e){return function(t,r){return n(e,this,arguments)}},s,!0)})})),ha=j((()=>{var e=q(),t=V(),n=nr(),r=aa(),i=Gi(),a=qr(),o=ti(),s=Dr(),c=qn(),l=Qi(),u=Ji(),d=yr(),f=H(),p=fr(),m=t.SuppressedError,h=d(`toStringTag`),g=Error,_=!!m&&m.length!==3,v=!!m&&f(function(){return new m(1,2,3,{cause:4}).cause===4}),y=_||v,b=function(e,t,a){var c=n(x,this),d;return i?d=y&&(!c||r(this)===x)?new m:i(new g,c?r(this):x):(d=c?this:o(x),s(d,h,`Error`)),a!==void 0&&s(d,`message`,u(a)),l(d,b,d.stack,1),s(d,`error`,e),s(d,`suppressed`,t),d};i?i(b,g):a(b,g,{name:!0});var x=b.prototype=y?m.prototype:o(g.prototype,{constructor:c(1,b),message:c(1,``),name:c(1,`SuppressedError`)});y&&!p&&(x.constructor=b),e({global:!0,constructor:!0,arity:3,forced:y},{SuppressedError:b})})),ga=j(((e,t)=>{var n=yr(),r=ti(),i=Er().f,a=n(`unscopables`),o=Array.prototype;o[a]===void 0&&i(o,a,{configurable:!0,value:r(null)}),t.exports=function(e){o[a][e]=!0}})),_a=j((()=>{var e=q(),t=gr(),n=Br(),r=Lr(),i=ga();e({target:`Array`,proto:!0},{at:function(e){var i=t(this),a=n(i),o=r(e),s=o>=0?o:a+o;return s<0||s>=a?void 0:i[s]}}),i(`at`)})),va=j(((e,t)=>{var n=TypeError,r=9007199254740991;t.exports=function(e){if(e>r)throw n(`Maximum allowed index exceeded`);return e}})),ya=j(((e,t)=>{var n=U(),r=Er(),i=qn();t.exports=function(e,t,a){n?r.f(e,t,i(0,a)):e[t]=a}})),ba=j(((e,t)=>{var n=H(),r=yr(),i=ir(),a=r(`species`);t.exports=function(e){return i>=51||!n(function(){var t=[],n=t.constructor={};return n[a]=function(){return{foo:1}},t[e](Boolean).foo!==1})}})),xa=j((()=>{var e=q(),t=H(),n=fi(),r=er(),i=gr(),a=Br(),o=va(),s=ya(),c=hi(),l=ba(),u=yr(),d=ir(),f=u(`isConcatSpreadable`),p=d>=51||!t(function(){var e=[];return e[f]=!1,e.concat()[0]!==e}),m=function(e){if(!r(e))return!1;var t=e[f];return t===void 0?n(e):!!t};e({target:`Array`,proto:!0,arity:1,forced:!p||!l(`concat`)},{concat:function(e){var t=i(this),n=c(t,0),r=0,l,u,d,f,p;for(l=-1,d=arguments.length;l<d;l++)if(p=l===-1?t:arguments[l],m(p))for(f=a(p),o(r+f),u=0;u<f;u++,r++)u in p&&s(n,r,p[u]);else o(r+1),s(n,r++,p);return n.length=r,n}})})),Sa=j(((e,t)=>{var n=cr(),r=TypeError;t.exports=function(e,t){if(!delete e[t])throw new r(`Cannot delete property `+n(t)+` of `+n(e))}})),Ca=j(((e,t)=>{var n=gr(),r=Rr(),i=Br(),a=Sa(),o=Math.min;t.exports=[].copyWithin||function(e,t){var s=n(this),c=i(s),l=r(e,c),u=r(t,c),d=arguments.length>2?arguments[2]:void 0,f=o((d===void 0?c:r(d,c))-u,c-l),p=1;for(u<l&&l<u+f&&(p=-1,u+=f-1,l+=f-1);f-- >0;)u in s?s[l]=s[u]:a(s,l),l+=p,u+=p;return s}})),wa=j((()=>{var e=q(),t=Ca(),n=ga();e({target:`Array`,proto:!0},{copyWithin:t}),n(`copyWithin`)})),Ta=j(((e,t)=>{var n=H();t.exports=function(e,t){var r=[][e];return!!r&&n(function(){r.call(null,t||function(){return 1},1)})}})),Ea=j((()=>{var e=q(),t=gi().every;e({target:`Array`,proto:!0,forced:!Ta()(`every`)},{every:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}})})),Da=j(((e,t)=>{var n=gr(),r=Rr(),i=Br();t.exports=function(e){for(var t=n(this),a=i(t),o=arguments.length,s=r(o>1?arguments[1]:void 0,a),c=o>2?arguments[2]:void 0,l=c===void 0?a:r(c,a);l>s;)t[s++]=e;return t}})),Oa=j((()=>{var e=q(),t=Da(),n=ga();e({target:`Array`,proto:!0},{fill:t}),n(`fill`)})),ka=j((()=>{var e=q(),t=gi().filter;e({target:`Array`,proto:!0,forced:!ba()(`filter`)},{filter:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}})})),Aa=j((()=>{var e=q(),t=gi().find,n=ga(),r=`find`,i=!0;r in[]&&[,][r](function(){i=!1}),e({target:`Array`,proto:!0,forced:i},{find:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}}),n(r)})),ja=j((()=>{var e=q(),t=gi().findIndex,n=ga(),r=`findIndex`,i=!0;r in[]&&[,][r](function(){i=!1}),e({target:`Array`,proto:!0,forced:i},{findIndex:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}}),n(r)})),Ma=j(((e,t)=>{var n=di(),r=Yn(),i=gr(),a=Br(),o=function(e){var t=e===1;return function(o,s,c){for(var l=i(o),u=r(l),d=a(u),f=n(s,c),p,m;d-- >0;)if(p=u[d],m=f(p,d,l),m)switch(e){case 0:return p;case 1:return d}return t?-1:void 0}};t.exports={findLast:o(0),findLastIndex:o(1)}})),Na=j((()=>{var e=q(),t=Ma().findLast,n=ga();e({target:`Array`,proto:!0},{findLast:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}}),n(`findLast`)})),Pa=j((()=>{var e=q(),t=Ma().findLastIndex,n=ga();e({target:`Array`,proto:!0},{findLastIndex:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}}),n(`findLastIndex`)})),Fa=j(((e,t)=>{var n=fi(),r=Br(),i=va(),a=di(),o=function(e,t,s,c,l,u,d,f){for(var p=l,m=0,h=d?a(d,f):!1,g,_;m<c;)m in s&&(g=h?h(s[m],m,t):s[m],u>0&&n(g)?(_=r(g),p=o(e,t,g,_,p,u-1)-1):(i(p+1),e[p]=g),p++),m++;return p};t.exports=o})),Ia=j((()=>{var e=q(),t=Fa(),n=gr(),r=Br(),i=Lr(),a=hi();e({target:`Array`,proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,o=n(this),s=r(o),c=a(o,0);return c.length=t(c,o,o,s,0,e===void 0?1:i(e)),c}})})),La=j((()=>{var e=q(),t=Fa(),n=lr(),r=gr(),i=Br(),a=hi();e({target:`Array`,proto:!0},{flatMap:function(e){var o=r(this),s=i(o),c;return n(e),c=a(o,0),c.length=t(c,o,o,s,0,1,e,arguments.length>1?arguments[1]:void 0),c}})})),Ra=j(((e,t)=>{var n=gi().forEach;t.exports=Ta()(`forEach`)?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}})),za=j((()=>{var e=q(),t=Ra();e({target:`Array`,proto:!0,forced:[].forEach!==t},{forEach:t})})),Ba=j(((e,t)=>{var n=K(),r=ua();t.exports=function(e,t,i,a){try{return a?t(n(i)[0],i[1]):t(i)}catch(t){r(e,`throw`,t)}}})),Va=j(((e,t)=>{var n=di(),r=W(),i=gr(),a=Ba(),o=sa(),s=pi(),c=Br(),l=ya(),u=la(),d=ca(),f=Array;t.exports=function(e){var t=i(e),p=s(this),m=arguments.length,h=m>1?arguments[1]:void 0,g=h!==void 0;g&&(h=n(h,m>2?arguments[2]:void 0));var _=d(t),v=0,y,b,x,S,C,w;if(_&&!(this===f&&o(_)))for(b=p?new this:[],S=u(t,_),C=S.next;!(x=r(C,S)).done;v++)w=g?a(S,h,[x.value,v],!0):x.value,l(b,v,w);else for(y=c(t),b=p?new this(y):f(y);y>v;v++)w=g?h(t[v],v):t[v],l(b,v,w);return b.length=v,b}})),Ha=j(((e,t)=>{var n=yr()(`iterator`),r=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){r=!0}};a[n]=function(){return this},Array.from(a,function(){throw 2})}catch{}t.exports=function(e,t){try{if(!t&&!r)return!1}catch{return!1}var i=!1;try{var a={};a[n]=function(){return{next:function(){return{done:i=!0}}}},e(a)}catch{}return i}})),Ua=j((()=>{var e=q(),t=Va();e({target:`Array`,stat:!0,forced:!Ha()(function(e){Array.from(e)})},{from:t})})),Wa=j((()=>{var e=q(),t=Vr().includes,n=H(),r=ga();e({target:`Array`,proto:!0,forced:n(function(){return![,].includes()})},{includes:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}}),r(`includes`)})),Ga=j((()=>{var e=q(),t=ui(),n=Vr().indexOf,r=Ta(),i=t([].indexOf),a=!!i&&1/i([1],1,-0)<0;e({target:`Array`,proto:!0,forced:a||!r(`indexOf`)},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return a?i(this,e,t)||0:n(this,e,t)}})})),Ka=j((()=>{q()({target:`Array`,stat:!0},{isArray:fi()})})),qa=j(((e,t)=>{var n=H(),r=$n(),i=er(),a=ti(),o=aa(),s=Fr(),c=yr(),l=fr(),u=c(`iterator`),d=!1,f,p,m;[].keys&&(m=[].keys(),`next`in m?(p=o(o(m)),p!==Object.prototype&&(f=p)):d=!0),!i(f)||n(function(){var e={};return f[u].call(e)!==e})?f={}:l&&(f=a(f)),r(f[u])||s(f,u,function(){return this}),t.exports={IteratorPrototype:f,BUGGY_SAFARI_ITERATORS:d}})),Ja=j(((e,t)=>{var n=qa().IteratorPrototype,r=ti(),i=qn(),a=li(),o=oa(),s=function(){return this};t.exports=function(e,t,c,l){var u=t+` Iterator`;return e.prototype=r(n,{next:i(+!l,c)}),a(e,u,!1,!0),o[u]=s,e}})),Ya=j(((e,t)=>{var n=q(),r=W(),i=fr(),a=Or(),o=$n(),s=Ja(),c=aa(),l=Gi(),u=li(),d=Dr(),f=Fr(),p=yr(),m=oa(),h=qa(),g=a.PROPER,_=a.CONFIGURABLE,v=h.IteratorPrototype,y=h.BUGGY_SAFARI_ITERATORS,b=p(`iterator`),x=`keys`,S=`values`,C=`entries`,w=function(){return this};t.exports=function(e,t,a,p,h,T,E){s(a,t,p);var D=function(e){if(e===h&&M)return M;if(!y&&e&&e in A)return A[e];switch(e){case x:return function(){return new a(this,e)};case S:return function(){return new a(this,e)};case C:return function(){return new a(this,e)}}return function(){return new a(this)}},O=t+` Iterator`,k=!1,A=e.prototype,j=A[b]||A[`@@iterator`]||h&&A[h],M=!y&&j||D(h),N=t===`Array`&&A.entries||j,P,F,I;if(N&&(P=c(N.call(new e)),P!==Object.prototype&&P.next&&(!i&&c(P)!==v&&(l?l(P,v):o(P[b])||f(P,b,w)),u(P,O,!0,!0),i&&(m[O]=w))),g&&h===S&&j&&j.name!==S&&(!i&&_?d(A,`name`,S):(k=!0,M=function(){return r(j,this)})),h)if(F={values:D(S),keys:T?M:D(x),entries:D(C)},E)for(I in F)(y||k||!(I in A))&&f(A,I,F[I]);else n({target:t,proto:!0,forced:y||k},F);return(!i||E)&&A[b]!==M&&f(A,b,M,{name:h}),m[t]=M,F}})),Xa=j(((e,t)=>{t.exports=function(e,t){return{value:e,done:t}}})),Za=j(((e,t)=>{var n=Qn(),r=ga(),i=oa(),a=Nr(),o=Er().f,s=Ya(),c=Xa(),l=fr(),u=U(),d=`Array Iterator`,f=a.set,p=a.getterFor(d);t.exports=s(Array,`Array`,function(e,t){f(this,{type:d,target:n(e),index:0,kind:t})},function(){var e=p(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=null,c(void 0,!0);switch(e.kind){case`keys`:return c(n,!1);case`values`:return c(t[n],!1)}return c([n,t[n]],!1)},`values`);var m=i.Arguments=i.Array;if(r(`keys`),r(`values`),r(`entries`),!l&&u&&m.name!==`values`)try{o(m,`name`,{value:`values`})}catch{}})),Qa=j((()=>{var e=q(),t=G(),n=Yn(),r=Qn(),i=Ta(),a=t([].join);e({target:`Array`,proto:!0,forced:n!==Object||!i(`join`,`,`)},{join:function(e){return a(r(this),e===void 0?`,`:e)}})})),$a=j(((e,t)=>{var n=xi(),r=Qn(),i=Lr(),a=Br(),o=Ta(),s=Math.min,c=[].lastIndexOf,l=!!c&&1/[1].lastIndexOf(1,-0)<0,u=o(`lastIndexOf`);t.exports=l||!u?function(e){if(l)return n(c,this,arguments)||0;var t=r(this),o=a(t);if(o===0)return-1;var u=o-1;for(arguments.length>1&&(u=s(u,i(arguments[1]))),u<0&&(u=o+u);u>=0;u--)if(u in t&&t[u]===e)return u||0;return-1}:c})),eo=j((()=>{var e=q(),t=$a();e({target:`Array`,proto:!0,forced:t!==[].lastIndexOf},{lastIndexOf:t})})),to=j((()=>{var e=q(),t=gi().map;e({target:`Array`,proto:!0,forced:!ba()(`map`)},{map:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}})})),no=j((()=>{var e=q(),t=H(),n=pi(),r=ya(),i=Array;e({target:`Array`,stat:!0,forced:t(function(){function e(){}return!(i.of.call(e)instanceof e)})},{of:function(){for(var e=0,t=arguments.length,a=new(n(this)?this:i)(t);t>e;)r(a,e,arguments[e++]);return a.length=t,a}})})),ro=j(((e,t)=>{var n=U(),r=fi(),i=TypeError,a=Object.getOwnPropertyDescriptor;t.exports=n&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],`length`,{writable:!1}).length=1}catch(e){return e instanceof TypeError}}()?function(e,t){if(r(e)&&!a(e,`length`).writable)throw new i(`Cannot set read only .length`);return e.length=t}:function(e,t){return e.length=t}})),io=j((()=>{var e=q(),t=gr(),n=Br(),r=ro(),i=va();e({target:`Array`,proto:!0,arity:1,forced:H()(function(){return[].push.call({length:4294967296},1)!==4294967297})||!function(){try{Object.defineProperty([],`length`,{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function(e){var a=t(this),o=n(a),s=arguments.length;i(o+s);for(var c=0;c<s;c++)a[o]=arguments[c],o++;return r(a,o),o}})})),ao=j(((e,t)=>{var n=lr(),r=gr(),i=Yn(),a=Br(),o=TypeError,s=`Reduce of empty array with no initial value`,c=function(e){return function(t,c,l,u){var d=r(t),f=i(d),p=a(d);if(n(c),p===0&&l<2)throw new o(s);var m=e?p-1:0,h=e?-1:1;if(l<2)for(;;){if(m in f){u=f[m],m+=h;break}if(m+=h,e?m<0:p<=m)throw new o(s)}for(;e?m>=0:p>m;m+=h)m in f&&(u=c(u,f[m],m,d));return u}};t.exports={left:c(!1),right:c(!0)}})),oo=j(((e,t)=>{var n=V(),r=rr(),i=Jn(),a=function(e){return r.slice(0,e.length)===e};t.exports=(function(){return a(`Bun/`)?`BUN`:a(`Cloudflare-Workers`)?`CLOUDFLARE`:a(`Deno/`)?`DENO`:a(`Node.js/`)?`NODE`:n.Bun&&typeof Bun.version==`string`?`BUN`:n.Deno&&typeof Deno.version==`object`?`DENO`:i(n.process)===`process`?`NODE`:n.window&&n.document?`BROWSER`:`REST`})()})),so=j(((e,t)=>{t.exports=oo()===`NODE`})),co=j((()=>{var e=q(),t=ao().left,n=Ta(),r=ir();e({target:`Array`,proto:!0,forced:!so()&&r>79&&r<83||!n(`reduce`)},{reduce:function(e){var n=arguments.length;return t(this,e,n,n>1?arguments[1]:void 0)}})})),lo=j((()=>{var e=q(),t=ao().right,n=Ta(),r=ir();e({target:`Array`,proto:!0,forced:!so()&&r>79&&r<83||!n(`reduceRight`)},{reduceRight:function(e){return t(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})})),uo=j((()=>{var e=q(),t=G(),n=fi(),r=t([].reverse),i=[1,2];e({target:`Array`,proto:!0,forced:String(i)===String(i.reverse())},{reverse:function(){return n(this)&&(this.length=this.length),r(this)}})})),fo=j((()=>{var e=q(),t=fi(),n=pi(),r=er(),i=Rr(),a=Br(),o=Qn(),s=ya(),c=yr(),l=ba(),u=ni(),d=l(`slice`),f=c(`species`),p=Array,m=Math.max;e({target:`Array`,proto:!0,forced:!d},{slice:function(e,c){var l=o(this),d=a(l),h=i(e,d),g=i(c===void 0?d:c,d),_,v,y;if(t(l)&&(_=l.constructor,n(_)&&(_===p||t(_.prototype))?_=void 0:r(_)&&(_=_[f],_===null&&(_=void 0)),_===p||_===void 0))return u(l,h,g);for(v=new(_===void 0?p:_)(m(g-h,0)),y=0;h<g;h++,y++)h in l&&s(v,y,l[h]);return v.length=y,v}})})),po=j((()=>{var e=q(),t=gi().some;e({target:`Array`,proto:!0,forced:!Ta()(`some`)},{some:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}})})),mo=j(((e,t)=>{var n=ni(),r=Math.floor,i=function(e,t){var a=e.length;if(a<8)for(var o=1,s,c;o<a;){for(c=o,s=e[o];c&&t(e[c-1],s)>0;)e[c]=e[--c];c!==o++&&(e[c]=s)}else for(var l=r(a/2),u=i(n(e,0,l),t),d=i(n(e,l),t),f=u.length,p=d.length,m=0,h=0;m<f||h<p;)e[m+h]=m<f&&h<p?t(u[m],d[h])<=0?u[m++]:d[h++]:m<f?u[m++]:d[h++];return e};t.exports=i})),ho=j(((e,t)=>{var n=rr().match(/firefox\/(\d+)/i);t.exports=!!n&&+n[1]})),go=j(((e,t)=>{var n=rr();t.exports=/MSIE|Trident/.test(n)})),_o=j(((e,t)=>{var n=rr().match(/AppleWebKit\/(\d+)\./);t.exports=!!n&&+n[1]})),vo=j((()=>{var e=q(),t=G(),n=lr(),r=gr(),i=Br(),a=Sa(),o=Zr(),s=H(),c=mo(),l=Ta(),u=ho(),d=go(),f=ir(),p=_o(),m=[],h=t(m.sort),g=t(m.push),_=s(function(){m.sort(void 0)}),v=s(function(){m.sort(null)}),y=l(`sort`),b=!s(function(){if(f)return f<70;if(!(u&&u>3)){if(d)return!0;if(p)return p<603;var e=``,t,n,r,i;for(t=65;t<76;t++){switch(n=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(i=0;i<47;i++)m.push({k:n+i,v:r})}for(m.sort(function(e,t){return t.v-e.v}),i=0;i<m.length;i++)n=m[i].k.charAt(0),e.charAt(e.length-1)!==n&&(e+=n);return e!==`DGBEFHACIJK`}}),x=_||!v||!y||!b,S=function(e){return function(t,n){return n===void 0?-1:t===void 0?1:e===void 0?o(t)>o(n)?1:-1:+e(t,n)||0}};e({target:`Array`,proto:!0,forced:x},{sort:function(e){e!==void 0&&n(e);var t=r(this);if(b)return e===void 0?h(t):h(t,e);var o=[],s=i(t),l,u;for(u=0;u<s;u++)u in t&&g(o,t[u]);for(c(o,S(e)),l=i(o),u=0;u<l;)t[u]=o[u++];for(;u<s;)a(t,u++);return t}})})),yo=j(((e,t)=>{var n=tr(),r=ii(),i=yr(),a=U(),o=i(`species`);t.exports=function(e){var t=n(e);a&&t&&!t[o]&&r(t,o,{configurable:!0,get:function(){return this}})}})),bo=j((()=>{yo()(`Array`)})),xo=j((()=>{var e=q(),t=gr(),n=Rr(),r=Lr(),i=Br(),a=ro(),o=va(),s=hi(),c=ya(),l=Sa(),u=ba()(`splice`),d=Math.max,f=Math.min;e({target:`Array`,proto:!0,forced:!u},{splice:function(e,u){var p=t(this),m=i(p),h=n(e,m),g=arguments.length,_,v,y,b,x,S;for(g===0?_=v=0:g===1?(_=0,v=m-h):(_=g-2,v=f(d(r(u),0),m-h)),o(m+_-v),y=s(p,v),b=0;b<v;b++)x=h+b,x in p&&c(y,b,p[x]);if(y.length=v,_<v){for(b=h;b<m-v;b++)x=b+v,S=b+_,x in p?p[S]=p[x]:l(p,S);for(b=m;b>m-v+_;b--)l(p,b-1)}else if(_>v)for(b=m-v;b>h;b--)x=b+v-1,S=b+_-1,x in p?p[S]=p[x]:l(p,S);for(b=0;b<_;b++)p[b+h]=arguments[b+2];return a(p,m-v+_),y}})})),So=j(((e,t)=>{var n=Br();t.exports=function(e,t){for(var r=n(e),i=new t(r),a=0;a<r;a++)i[a]=e[r-a-1];return i}})),Co=j((()=>{var e=q(),t=So(),n=Qn(),r=ga(),i=Array;e({target:`Array`,proto:!0},{toReversed:function(){return t(n(this),i)}}),r(`toReversed`)})),wo=j(((e,t)=>{var n=Br();t.exports=function(e,t,r){for(var i=0,a=arguments.length>2?r:n(t),o=new e(a);a>i;)o[i]=t[i++];return o}})),To=j(((e,t)=>{var n=V();t.exports=function(e,t){var r=n[e],i=r&&r.prototype;return i&&i[t]}})),Eo=j((()=>{var e=q(),t=G(),n=lr(),r=Qn(),i=wo(),a=To(),o=ga(),s=Array,c=t(a(`Array`,`sort`));e({target:`Array`,proto:!0},{toSorted:function(e){return e!==void 0&&n(e),c(i(s,r(this)),e)}}),o(`toSorted`)})),Do=j((()=>{var e=q(),t=ga(),n=va(),r=Br(),i=Rr(),a=Qn(),o=Lr(),s=Array,c=Math.max,l=Math.min;e({target:`Array`,proto:!0},{toSpliced:function(e,t){var u=a(this),d=r(u),f=i(e,d),p=arguments.length,m=0,h,g,_,v;for(p===0?h=g=0:p===1?(h=0,g=d-f):(h=p-2,g=l(c(o(t),0),d-f)),_=n(d+h-g),v=s(_);m<f;m++)v[m]=u[m];for(;m<f+h;m++)v[m]=arguments[m-f+2];for(;m<_;m++)v[m]=u[m+g-h];return v}}),t(`toSpliced`)})),Oo=j((()=>{ga()(`flat`)})),ko=j((()=>{ga()(`flatMap`)})),Ao=j((()=>{var e=q(),t=gr(),n=Br(),r=ro(),i=Sa(),a=va();e({target:`Array`,proto:!0,arity:1,forced:[].unshift(0)!==1||!function(){try{Object.defineProperty([],`length`,{writable:!1}).unshift()}catch(e){return e instanceof TypeError}}()},{unshift:function(e){var o=t(this),s=n(o),c=arguments.length;if(c){a(s+c);for(var l=s;l--;){var u=l+c;l in o?o[u]=o[l]:i(o,u)}for(var d=0;d<c;d++)o[d]=arguments[d]}return r(o,s+c)}})})),jo=j(((e,t)=>{var n=Br(),r=Lr(),i=RangeError;t.exports=function(e,t,a,o){var s=n(e),c=r(a),l=c<0?s+c:c;if(l>=s||l<0)throw new i(`Incorrect index`);for(var u=new t(s),d=0;d<s;d++)u[d]=d===l?o:e[d];return u}})),Mo=j((()=>{var e=q(),t=jo(),n=Qn(),r=Array;e({target:`Array`,proto:!0,forced:(function(){try{[].with({valueOf:function(){throw 4}},null)}catch(e){return e!==4}})()},{with:function(e,i){return t(n(this),r,e,i)}})})),No=j(((e,t)=>{t.exports=typeof ArrayBuffer<`u`&&typeof DataView<`u`})),Po=j(((e,t)=>{var n=Fr();t.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}})),Fo=j(((e,t)=>{var n=nr(),r=TypeError;t.exports=function(e,t){if(n(t,e))return e;throw new r(`Incorrect invocation`)}})),Io=j(((e,t)=>{var n=Lr(),r=zr(),i=RangeError;t.exports=function(e){if(e===void 0)return 0;var t=n(e),a=r(t);if(t!==a)throw new i(`Wrong length or index`);return a}})),Lo=j(((e,t)=>{t.exports=Math.sign||function(e){var t=+e;return t===0||t!==t?t:t<0?-1:1}})),Ro=j(((e,t)=>{var n=1/2220446049250313e-31;t.exports=function(e){return e+n-n}})),zo=j(((e,t)=>{var n=Lo(),r=Ro(),i=Math.abs,a=2220446049250313e-31;t.exports=function(e,t,o,s){var c=+e,l=i(c),u=n(c);if(l<s)return u*r(l/s/t)*s*t;var d=(1+t/a)*l,f=d-(d-l);return f>o||f!==f?u*(1/0):u*f}})),Bo=j(((e,t)=>{var n=zo(),r=1.1920928955078125e-7,i=34028234663852886e22,a=11754943508222875e-54;t.exports=Math.fround||function(e){return n(e,r,i,a)}})),Vo=j(((e,t)=>{var n=Array,r=Math.abs,i=Math.pow,a=Math.floor,o=Math.log,s=Math.LN2;t.exports={pack:function(e,t,c){var l=n(c),u=c*8-t-1,d=(1<<u)-1,f=d>>1,p=t===23?i(2,-24)-i(2,-77):0,m=e<0||e===0&&1/e<0?1:0,h=0,g,_,v;for(e=r(e),e!==e||e===1/0?(_=e===e?0:1,g=d):(g=a(o(e)/s),v=i(2,-g),e*v<1&&(g--,v*=2),g+f>=1?e+=p/v:e+=p*i(2,1-f),e*v>=2&&(g++,v/=2),g+f>=d?(_=0,g=d):g+f>=1?(_=(e*v-1)*i(2,t),g+=f):(_=e*i(2,f-1)*i(2,t),g=0));t>=8;)l[h++]=_&255,_/=256,t-=8;for(g=g<<t|_,u+=t;u>0;)l[h++]=g&255,g/=256,u-=8;return l[h-1]|=m*128,l},unpack:function(e,t){var n=e.length,r=n*8-t-1,a=(1<<r)-1,o=a>>1,s=r-7,c=n-1,l=e[c--],u=l&127,d;for(l>>=7;s>0;)u=u*256+e[c--],s-=8;for(d=u&(1<<-s)-1,u>>=-s,s+=t;s>0;)d=d*256+e[c--],s-=8;if(u===0)u=1-o;else if(u===a)return d?NaN:l?-1/0:1/0;else d+=i(2,t),u-=o;return(l?-1:1)*d*i(2,u-t)}}})),Ho=j(((e,t)=>{var n=V(),r=G(),i=U(),a=No(),o=Or(),s=Dr(),c=ii(),l=Po(),u=H(),d=Fo(),f=Lr(),p=zr(),m=Io(),h=Bo(),g=Vo(),_=aa(),v=Gi(),y=Da(),b=ni(),x=qi(),S=qr(),C=li(),w=Nr(),T=o.PROPER,E=o.CONFIGURABLE,D=`ArrayBuffer`,O=`DataView`,k=`prototype`,A=`Wrong length`,j=`Wrong index`,M=w.getterFor(D),N=w.getterFor(O),P=w.set,F=n[D],I=F,L=I&&I[k],R=n[O],z=R&&R[k],B=Object.prototype,ee=n.Array,te=n.RangeError,ne=r(y),re=r([].reverse),ie=g.pack,ae=g.unpack,oe=function(e){return[e&255]},se=function(e){return[e&255,e>>8&255]},ce=function(e){return[e&255,e>>8&255,e>>16&255,e>>24&255]},le=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},ue=function(e){return ie(h(e),23,4)},de=function(e){return ie(e,52,8)},fe=function(e,t,n){c(e[k],t,{configurable:!0,get:function(){return n(this)[t]}})},pe=function(e,t,n,r){var i=N(e),a=m(n),o=!!r;if(a+t>i.byteLength)throw new te(j);var s=i.bytes,c=a+i.byteOffset,l=b(s,c,c+t);return o?l:re(l)},me=function(e,t,n,r,i,a){var o=N(e),s=m(n),c=r(+i),l=!!a;if(s+t>o.byteLength)throw new te(j);for(var u=o.bytes,d=s+o.byteOffset,f=0;f<t;f++)u[d+f]=c[l?f:t-f-1]};if(!a)I=function(e){d(this,L);var t=m(e);P(this,{type:D,bytes:ne(ee(t),0),byteLength:t}),i||(this.byteLength=t,this.detached=!1)},L=I[k],R=function(e,t,n){d(this,z),d(e,L);var r=M(e),a=r.byteLength,o=f(t);if(o<0||o>a)throw new te(`Wrong offset`);if(n=n===void 0?a-o:p(n),o+n>a)throw new te(A);P(this,{type:O,buffer:e,byteLength:n,byteOffset:o,bytes:r.bytes}),i||(this.buffer=e,this.byteLength=n,this.byteOffset=o)},z=R[k],i&&(fe(I,`byteLength`,M),fe(R,`buffer`,N),fe(R,`byteLength`,N),fe(R,`byteOffset`,N)),l(z,{getInt8:function(e){return pe(this,1,e)[0]<<24>>24},getUint8:function(e){return pe(this,1,e)[0]},getInt16:function(e){var t=pe(this,2,e,arguments.length>1?arguments[1]:!1);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=pe(this,2,e,arguments.length>1?arguments[1]:!1);return t[1]<<8|t[0]},getInt32:function(e){return le(pe(this,4,e,arguments.length>1?arguments[1]:!1))},getUint32:function(e){return le(pe(this,4,e,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(e){return ae(pe(this,4,e,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(e){return ae(pe(this,8,e,arguments.length>1?arguments[1]:!1),52)},setInt8:function(e,t){me(this,1,e,oe,t)},setUint8:function(e,t){me(this,1,e,oe,t)},setInt16:function(e,t){me(this,2,e,se,t,arguments.length>2?arguments[2]:!1)},setUint16:function(e,t){me(this,2,e,se,t,arguments.length>2?arguments[2]:!1)},setInt32:function(e,t){me(this,4,e,ce,t,arguments.length>2?arguments[2]:!1)},setUint32:function(e,t){me(this,4,e,ce,t,arguments.length>2?arguments[2]:!1)},setFloat32:function(e,t){me(this,4,e,ue,t,arguments.length>2?arguments[2]:!1)},setFloat64:function(e,t){me(this,8,e,de,t,arguments.length>2?arguments[2]:!1)}});else{var he=T&&F.name!==D;!u(function(){F(1)})||!u(function(){new F(-1)})||u(function(){return new F,new F(1.5),new F(NaN),F.length!==1||he&&!E})?(I=function(e){return d(this,L),x(new F(m(e)),this,I)},I[k]=L,L.constructor=I,S(I,F)):he&&E&&s(F,`name`,D),v&&_(z)!==B&&v(z,B);var ge=new R(new I(2)),_e=r(z.setInt8);ge.setInt8(0,2147483648),ge.setInt8(1,2147483649),(ge.getInt8(0)||!ge.getInt8(1))&&l(z,{setInt8:function(e,t){_e(this,e,t<<24>>24)},setUint8:function(e,t){_e(this,e,t<<24>>24)}},{unsafe:!0})}C(I,D),C(R,O),t.exports={ArrayBuffer:I,DataView:R}})),Uo=j((()=>{var e=q(),t=V(),n=Ho(),r=yo(),i=`ArrayBuffer`,a=n[i],o=t[i];e({global:!0,constructor:!0,forced:o!==a},{ArrayBuffer:a}),r(i)})),Wo=j(((e,t)=>{var n=No(),r=U(),i=V(),a=$n(),o=er(),s=_r(),c=Xr(),l=cr(),u=Dr(),d=Fr(),f=ii(),p=nr(),m=aa(),h=Gi(),g=yr(),_=vr(),v=Nr(),y=v.enforce,b=v.get,x=i.Int8Array,S=x&&x.prototype,C=i.Uint8ClampedArray,w=C&&C.prototype,T=x&&m(x),E=S&&m(S),D=Object.prototype,O=i.TypeError,k=g(`toStringTag`),A=_(`TYPED_ARRAY_TAG`),j=`TypedArrayConstructor`,M=n&&!!h&&c(i.opera)!==`Opera`,N=!1,P,F,I,L={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},R={BigInt64Array:8,BigUint64Array:8},z=function(e){if(!o(e))return!1;var t=c(e);return t===`DataView`||s(L,t)||s(R,t)},B=function(e){var t=m(e);if(o(t)){var n=b(t);return n&&s(n,j)?n[j]:B(t)}},ee=function(e){if(!o(e))return!1;var t=c(e);return s(L,t)||s(R,t)},te=function(e){if(ee(e))return e;throw new O(`Target is not a typed array`)},ne=function(e){if(a(e)&&(!h||p(T,e)))return e;throw new O(l(e)+` is not a typed array constructor`)},re=function(e,t,n,a){if(r){if(n)for(var o in L){var c=i[o];if(c&&s(c.prototype,e))try{delete c.prototype[e]}catch{try{c.prototype[e]=t}catch{}}}(!E[e]||n)&&d(E,e,n?t:M&&S[e]||t,a)}},ie=function(e,t,n){var a,o;if(r){if(h){if(n){for(a in L)if(o=i[a],o&&s(o,e))try{delete o[e]}catch{}}if(!T[e]||n)try{return d(T,e,n?t:M&&T[e]||t)}catch{}else return}for(a in L)o=i[a],o&&(!o[e]||n)&&d(o,e,t)}};for(P in L)F=i[P],I=F&&F.prototype,I?y(I)[j]=F:M=!1;for(P in R)F=i[P],I=F&&F.prototype,I&&(y(I)[j]=F);if((!M||!a(T)||T===Function.prototype)&&(T=function(){throw new O(`Incorrect invocation`)},M))for(P in L)i[P]&&h(i[P],T);if((!M||!E||E===D)&&(E=T.prototype,M))for(P in L)i[P]&&h(i[P].prototype,E);if(M&&m(w)!==E&&h(w,E),r&&!s(E,k))for(P in N=!0,f(E,k,{configurable:!0,get:function(){return o(this)?this[A]:void 0}}),L)i[P]&&u(i[P],A,P);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:M,TYPED_ARRAY_TAG:N&&A,aTypedArray:te,aTypedArrayConstructor:ne,exportTypedArrayMethod:re,exportTypedArrayStaticMethod:ie,getTypedArrayConstructor:B,isView:z,isTypedArray:ee,TypedArray:T,TypedArrayPrototype:E}})),Go=j((()=>{var e=q(),t=Wo(),n=t.NATIVE_ARRAY_BUFFER_VIEWS;e({target:`ArrayBuffer`,stat:!0,forced:!n},{isView:t.isView})})),Ko=j((()=>{var e=q(),t=ui(),n=H(),r=Ho(),i=K(),a=Rr(),o=zr(),s=r.ArrayBuffer,c=r.DataView,l=c.prototype,u=t(s.prototype.slice),d=t(l.getUint8),f=t(l.setUint8);e({target:`ArrayBuffer`,proto:!0,unsafe:!0,forced:n(function(){return!new s(2).slice(1,void 0).byteLength})},{slice:function(e,t){if(u&&t===void 0)return u(i(this),e);for(var n=i(this).byteLength,r=a(e,n),l=a(t===void 0?n:t,n),p=new s(o(l-r)),m=new c(this),h=new c(p),g=0;r<l;)f(h,g++,d(m,r++));return p}})})),qo=j((()=>{var e=q(),t=Ho();e({global:!0,constructor:!0,forced:!No()},{DataView:t.DataView})})),Jo=j((()=>{qo()})),Yo=j((()=>{var e=q(),t=G(),n=Math.pow,r=31,i=1023,a=n(2,-24),o=.0009765625,s=function(e){var t=e>>>15,s=e>>>10&r,c=e&i;return s===r?c===0?t===0?1/0:-1/0:NaN:s===0?c*(t===0?a:-a):n(2,s-15)*(t===0?1+c*o:-1-c*o)},c=t(DataView.prototype.getUint16);e({target:`DataView`,proto:!0},{getFloat16:function(e){return s(c(this,e,arguments.length>1?arguments[1]:!1))}})})),Xo=j(((e,t)=>{var n=Xr(),r=TypeError;t.exports=function(e){if(n(e)===`DataView`)return e;throw new r(`Argument is not a DataView`)}})),Zo=j(((e,t)=>{var n=Math.log,r=Math.LN2;t.exports=Math.log2||function(e){return n(e)/r}})),Qo=j((()=>{var e=q(),t=G(),n=Xo(),r=Io(),i=Zo(),a=Ro(),o=Math.pow,s=65520,c=61005353927612305e-21,l=16777216,u=1024,d=function(e){if(e!==e)return 32256;if(e===0)return(1/e==-1/0)<<15;var t=e<0;if(t&&(e=-e),e>=s)return t<<15|31744;if(e<c)return t<<15|a(e*l);var n=i(e)|0;if(n===-15)return t<<15|u;var r=a((e*o(2,-n)-1)*u);return r===u?t<<15|n+16<<10:t<<15|n+15<<10|r},f=t(DataView.prototype.setUint16);e({target:`DataView`,proto:!0},{setFloat16:function(e,t){f(n(this),r(e),d(+t),arguments.length>2?arguments[2]:!1)}})})),$o=j(((e,t)=>{var n=V(),r=Hi(),i=Jn(),a=n.ArrayBuffer,o=n.TypeError;t.exports=a&&r(a.prototype,`byteLength`,`get`)||function(e){if(i(e)!==`ArrayBuffer`)throw new o(`ArrayBuffer expected`);return e.byteLength}})),es=j(((e,t)=>{var n=V(),r=No(),i=$o(),a=n.DataView;t.exports=function(e){if(!r||i(e)!==0)return!1;try{return new a(e),!1}catch{return!0}}})),ts=j((()=>{var e=U(),t=ii(),n=es(),r=ArrayBuffer.prototype;e&&!(`detached`in r)&&t(r,`detached`,{configurable:!0,get:function(){return n(this)}})})),ns=j(((e,t)=>{var n=es(),r=TypeError;t.exports=function(e){if(n(e))throw new r(`ArrayBuffer is detached`);return e}})),rs=j(((e,t)=>{var n=V(),r=so();t.exports=function(e){if(r){try{return n.process.getBuiltinModule(e)}catch{}try{return Function(`return require("`+e+`")`)()}catch{}}}})),is=j(((e,t)=>{var n=V(),r=H(),i=ir(),a=oo(),o=n.structuredClone;t.exports=!!o&&!r(function(){if(a===`DENO`&&i>92||a===`NODE`&&i>94||a===`BROWSER`&&i>97)return!1;var e=new ArrayBuffer(8),t=o(e,{transfer:[e]});return e.byteLength!==0||t.byteLength!==8})})),as=j(((e,t)=>{var n=V(),r=rs(),i=is(),a=n.structuredClone,o=n.ArrayBuffer,s=n.MessageChannel,c=!1,l,u,d,f;if(i)c=function(e){a(e,{transfer:[e]})};else if(o)try{s||(l=r(`worker_threads`),l&&(s=l.MessageChannel)),s&&(u=new s,d=new o(2),f=function(e){u.port1.postMessage(null,[e])},d.byteLength===2&&(f(d),d.byteLength===0&&(c=f)))}catch{}t.exports=c})),os=j(((e,t)=>{var n=V(),r=G(),i=Hi(),a=Io(),o=ns(),s=$o(),c=as(),l=is(),u=n.structuredClone,d=n.ArrayBuffer,f=n.DataView,p=Math.min,m=d.prototype,h=f.prototype,g=r(m.slice),_=i(m,`resizable`,`get`),v=i(m,`maxByteLength`,`get`),y=r(h.getInt8),b=r(h.setInt8);t.exports=(l||c)&&function(e,t,n){var r=s(e),i=t===void 0?r:a(t),m=!_||!_(e),h;if(o(e),l&&(e=u(e,{transfer:[e]}),r===i&&(n||m)))return e;if(r>=i&&(!n||m))h=g(e,0,i);else{h=new d(i,n&&!m&&v?{maxByteLength:v(e)}:void 0);for(var x=new f(e),S=new f(h),C=p(i,r),w=0;w<C;w++)b(S,w,y(x,w))}return l||c(e),h}})),ss=j((()=>{var e=q(),t=os();t&&e({target:`ArrayBuffer`,proto:!0},{transfer:function(){return t(this,arguments.length?arguments[0]:void 0,!0)}})})),cs=j((()=>{var e=q(),t=os();t&&e({target:`ArrayBuffer`,proto:!0},{transferToFixedLength:function(){return t(this,arguments.length?arguments[0]:void 0,!1)}})})),ls=j((()=>{var e=q(),t=G(),n=H()(function(){return new Date(16e11).getYear()!==120}),r=t(Date.prototype.getFullYear);e({target:`Date`,proto:!0,forced:n},{getYear:function(){return r(this)-1900}})})),us=j((()=>{var e=q(),t=G(),n=Date,r=t(n.prototype.getTime);e({target:`Date`,stat:!0},{now:function(){return r(new n)}})})),ds=j((()=>{var e=q(),t=G(),n=Lr(),r=Date.prototype,i=t(r.getTime),a=t(r.setFullYear);e({target:`Date`,proto:!0},{setYear:function(e){i(this);var t=n(e),r=t>=0&&t<=99?t+1900:t;return a(this,r)}})})),fs=j((()=>{q()({target:`Date`,proto:!0},{toGMTString:Date.prototype.toUTCString})})),ps=j(((e,t)=>{var n=Lr(),r=Zr(),i=Zn(),a=RangeError;t.exports=function(e){var t=r(i(this)),o=``,s=n(e);if(s<0||s===1/0)throw new a(`Wrong number of repetitions`);for(;s>0;(s>>>=1)&&(t+=t))s&1&&(o+=t);return o}})),ms=j(((e,t)=>{var n=G(),r=zr(),i=Zr(),a=ps(),o=Zn(),s=n(a),c=n(``.slice),l=Math.ceil,u=function(e){return function(t,n,a){var u=i(o(t)),d=r(n),f=u.length,p=a===void 0?` `:i(a),m,h;return d<=f||p===``?u:(m=d-f,h=s(p,l(m/p.length)),h.length>m&&(h=c(h,0,m)),e?u+h:h+u)}};t.exports={start:u(!1),end:u(!0)}})),hs=j(((e,t)=>{var n=G(),r=H(),i=ms().start,a=RangeError,o=isFinite,s=Math.abs,c=Date.prototype,l=c.toISOString,u=n(c.getTime),d=n(c.getUTCDate),f=n(c.getUTCFullYear),p=n(c.getUTCHours),m=n(c.getUTCMilliseconds),h=n(c.getUTCMinutes),g=n(c.getUTCMonth),_=n(c.getUTCSeconds);t.exports=r(function(){return l.call(new Date(-50000000000001))!==`0385-07-25T07:06:39.999Z`})||!r(function(){l.call(new Date(NaN))})?function(){if(!o(u(this)))throw new a(`Invalid time value`);var e=this,t=f(e),n=m(e),r=t<0?`-`:t>9999?`+`:``;return r+i(s(t),r?6:4,0)+`-`+i(g(e)+1,2,0)+`-`+i(d(e),2,0)+`T`+i(p(e),2,0)+`:`+i(h(e),2,0)+`:`+i(_(e),2,0)+`.`+i(n,3,0)+`Z`}:l})),gs=j((()=>{var e=q(),t=hs();e({target:`Date`,proto:!0,forced:Date.prototype.toISOString!==t},{toISOString:t})})),_s=j((()=>{var e=q(),t=H(),n=gr(),r=br();e({target:`Date`,proto:!0,arity:1,forced:t(function(){return new Date(NaN).toJSON()!==null||Date.prototype.toJSON.call({toISOString:function(){return 1}})!==1})},{toJSON:function(e){var t=n(this),i=r(t,`number`);return typeof i==`number`&&!isFinite(i)?null:t.toISOString()}})})),vs=j(((e,t)=>{var n=K(),r=dr(),i=TypeError;t.exports=function(e){if(n(this),e===`string`||e===`default`)e=`string`;else if(e!==`number`)throw new i(`Incorrect hint`);return r(this,e)}})),ys=j((()=>{var e=_r(),t=Fr(),n=vs(),r=yr()(`toPrimitive`),i=Date.prototype;e(i,r)||t(i,r,n)})),bs=j((()=>{var e=G(),t=Fr(),n=Date.prototype,r=`Invalid Date`,i=`toString`,a=e(n[i]),o=e(n.getTime);String(new Date(NaN))!==r&&t(n,i,function(){var e=o(this);return e===e?a(this):r})})),xs=j(((e,t)=>{var n=tr(),r=W(),i=G(),a=di(),o=K(),s=lr(),c=Xn(),l=ur(),u=yr(),d=u(`asyncDispose`),f=u(`dispose`),p=i([].push),m=function(e,t){if(t===`async-dispose`){var i=l(e,d);return i!==void 0||(i=l(e,f),i===void 0)?i:function(){var e=this;return new(n(`Promise`))(function(t){r(i,e),t(void 0)})}}return l(e,f)},h=function(e,t,n){return arguments.length<3&&!c(e)&&(n=s(m(o(e),t))),n===void 0?function(){}:a(n,e)};t.exports=function(e,t,n,r){var i;if(arguments.length<4){if(c(t)&&n===`sync-dispose`)return;i=h(t,n)}else i=h(void 0,n,r);p(e.stack,i)}})),Ss=j((()=>{var e=q(),t=U(),n=tr(),r=lr(),i=Fo(),a=Fr(),o=Po(),s=ii(),c=yr(),l=Nr(),u=xs(),d=n(`SuppressedError`),f=ReferenceError,p=c(`dispose`),m=c(`toStringTag`),h=`DisposableStack`,g=l.set,_=l.getterFor(h),v=`sync-dispose`,y=`disposed`,b=`pending`,x=function(e){var t=_(e);if(t.state===y)throw new f(h+` already disposed`);return t},S=function(){g(i(this,C),{type:h,state:b,stack:[]}),t||(this.disposed=!1)},C=S.prototype;o(C,{dispose:function(){var e=_(this);if(e.state!==y){e.state=y,t||(this.disposed=!0);for(var n=e.stack,r=n.length,i=!1,a;r;){var o=n[--r];n[r]=null;try{o()}catch(e){i?a=new d(e,a):(i=!0,a=e)}}if(e.stack=null,i)throw a}},use:function(e){return u(x(this),e,v),e},adopt:function(e,t){var n=x(this);return r(t),u(n,void 0,v,function(){t(e)}),e},defer:function(e){var t=x(this);r(e),u(t,void 0,v,e)},move:function(){var e=x(this),n=new S;return _(n).stack=e.stack,e.stack=[],e.state=y,t||(this.disposed=!0),n}}),t&&s(C,`disposed`,{configurable:!0,get:function(){return _(this).state===y}}),a(C,p,C.dispose,{name:`dispose`}),a(C,m,h,{nonWritable:!0}),e({global:!0,constructor:!0},{DisposableStack:S})})),Cs=j((()=>{var e=q(),t=G(),n=Zr(),r=t(``.charAt),i=t(``.charCodeAt),a=t(/./.exec),o=t(1.1.toString),s=t(``.toUpperCase),c=/[\w*+\-./@]/,l=function(e,t){for(var n=o(e,16);n.length<t;)n=`0`+n;return n};e({global:!0},{escape:function(e){for(var t=n(e),o=``,u=t.length,d=0,f,p;d<u;)f=r(t,d++),a(c,f)?o+=f:(p=i(f,0),p<256?o+=`%`+l(p,2):o+=`%u`+s(l(p,4)));return o}})})),ws=j(((e,t)=>{var n=G(),r=lr(),i=er(),a=_r(),o=ni(),s=Gn(),c=Function,l=n([].concat),u=n([].join),d={},f=function(e,t,n){if(!a(d,t)){for(var r=[],i=0;i<t;i++)r[i]=`a[`+i+`]`;d[t]=c(`C,a`,`return new C(`+u(r,`,`)+`)`)}return d[t](e,n)};t.exports=s?c.bind:function(e){var t=r(this),n=t.prototype,a=o(arguments,1),s=function(){var n=l(a,o(arguments));return this instanceof s?f(t,n.length,n):t.apply(e,n)};return i(n)&&(s.prototype=n),s}})),Ts=j((()=>{var e=q(),t=ws();e({target:`Function`,proto:!0,forced:Function.bind!==t},{bind:t})})),Es=j((()=>{var e=$n(),t=er(),n=Er(),r=nr(),i=yr(),a=Pr(),o=i(`hasInstance`),s=Function.prototype;o in s||n.f(s,o,{value:a(function(n){if(!e(this)||!t(n))return!1;var i=this.prototype;return t(i)?r(i,n):n instanceof this},o)})})),Ds=j((()=>{var e=U(),t=Or().EXISTS,n=G(),r=ii(),i=Function.prototype,a=n(i.toString),o=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,s=n(o.exec);e&&!t&&r(i,`name`,{configurable:!0,get:function(){try{return s(o,a(this))[1]}catch{return``}}})})),Os=j((()=>{var e=q(),t=V();e({global:!0,forced:t.globalThis!==t},{globalThis:t})})),ks=j((()=>{var e=q(),t=V(),n=Fo(),r=K(),i=$n(),a=aa(),o=ii(),s=ya(),c=H(),l=_r(),u=yr(),d=qa().IteratorPrototype,f=U(),p=fr(),m=`constructor`,h=`Iterator`,g=u(`toStringTag`),_=TypeError,v=t[h],y=p||!i(v)||v.prototype!==d||!c(function(){v({})}),b=function(){if(n(this,d),a(this)===d)throw new _(`Abstract class Iterator not directly constructable`)},x=function(e,t){f?o(d,e,{configurable:!0,get:function(){return t},set:function(t){if(r(this),this===d)throw new _(`You can't redefine this property`);l(this,e)?this[e]=t:s(this,e,t)}}):d[e]=t};l(d,g)||x(g,h),(y||!l(d,m)||d[m]===Object)&&x(m,b),b.prototype=d,e({global:!0,constructor:!0,forced:y},{Iterator:b})})),As=j((()=>{var e=W(),t=Fr(),n=ur(),r=_r(),i=yr(),a=qa().IteratorPrototype,o=i(`dispose`);r(a,o)||t(a,o,function(){var t=n(this,`return`);t&&e(t,this)})})),js=j(((e,t)=>{t.exports=function(e){return{iterator:e,next:e.next,done:!1}}})),Ms=j(((e,t)=>{var n=RangeError;t.exports=function(e){if(e===e)return e;throw new n(`NaN is not allowed`)}})),Ns=j(((e,t)=>{var n=Lr(),r=RangeError;t.exports=function(e){var t=n(e);if(t<0)throw new r(`The argument can't be less than 0`);return t}})),Ps=j(((e,t)=>{var n=ua();t.exports=function(e,t,r){for(var i=e.length-1;i>=0;i--)if(e[i]!==void 0)try{r=n(e[i].iterator,t,r)}catch(e){t=`throw`,r=e}if(t===`throw`)throw r;return r}})),Fs=j(((e,t)=>{var n=W(),r=ti(),i=Dr(),a=Po(),o=yr(),s=Nr(),c=ur(),l=qa().IteratorPrototype,u=Xa(),d=ua(),f=Ps(),p=o(`toStringTag`),m=`IteratorHelper`,h=`WrapForValidIterator`,g=`normal`,_=`throw`,v=s.set,y=function(e){var t=s.getterFor(e?h:m);return a(r(l),{next:function(){var n=t(this);if(e)return n.nextHandler();if(n.done)return u(void 0,!0);try{var r=n.nextHandler();return n.returnHandlerResult?r:u(r,n.done)}catch(e){throw n.done=!0,e}},return:function(){var r=t(this),i=r.iterator;if(r.done=!0,e){var a=c(i,`return`);return a?n(a,i):u(void 0,!0)}if(r.inner)try{d(r.inner.iterator,g)}catch(e){return d(i,_,e)}if(r.openIters)try{f(r.openIters,g)}catch(e){return d(i,_,e)}return i&&d(i,g),u(void 0,!0)}})},b=y(!0),x=y(!1);i(x,p,`Iterator Helper`),t.exports=function(e,t,n){var r=function(r,i){i?(i.iterator=r.iterator,i.next=r.next):i=r,i.type=t?h:m,i.returnHandlerResult=!!n,i.nextHandler=e,i.counter=0,i.done=!1,v(this,i)};return r.prototype=t?b:x,r}})),Is=j(((e,t)=>{t.exports=function(e,t){var n=typeof Iterator==`function`&&Iterator.prototype[e];if(n)try{n.call({next:null},t).next()}catch{return!0}}})),Ls=j(((e,t)=>{var n=V();t.exports=function(e,t){var r=n.Iterator,i=r&&r.prototype,a=i&&i[e],o=!1;if(a)try{a.call({next:function(){return{done:!0}},return:function(){o=!0}},-1)}catch(e){e instanceof t||(o=!1)}if(!o)return a}})),Rs=j((()=>{var e=q(),t=W(),n=K(),r=js(),i=Ms(),a=Ns(),o=ua(),s=Fs(),c=Is(),l=Ls(),u=fr(),d=!u&&!c(`drop`,0),f=!u&&!d&&l(`drop`,RangeError),p=u||d||f,m=s(function(){for(var e=this.iterator,r=this.next,i,a;this.remaining;)if(this.remaining--,i=n(t(r,e)),a=this.done=!!i.done,a)return;if(i=n(t(r,e)),a=this.done=!!i.done,!a)return i.value});e({target:`Iterator`,proto:!0,real:!0,forced:p},{drop:function(e){n(this);var s;try{s=a(i(+e))}catch(e){o(this,`throw`,e)}return f?t(f,this,s):new m(r(this),{remaining:s})}})})),zs=j((()=>{var e=q(),t=W(),n=da(),r=lr(),i=K(),a=js(),o=ua(),s=Ls()(`every`,TypeError);e({target:`Iterator`,proto:!0,real:!0,forced:s},{every:function(e){i(this);try{r(e)}catch(e){o(this,`throw`,e)}if(s)return t(s,this,e);var c=a(this),l=0;return!n(c,function(t,n){if(!e(t,l++))return n()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})})),Bs=j((()=>{var e=q(),t=W(),n=lr(),r=K(),i=js(),a=Fs(),o=Ba(),s=fr(),c=ua(),l=Is(),u=Ls(),d=!s&&!l(`filter`,function(){}),f=!s&&!d&&u(`filter`,TypeError),p=s||d||f,m=a(function(){for(var e=this.iterator,n=this.predicate,i=this.next,a,s,c;;){if(a=r(t(i,e)),s=this.done=!!a.done,s)return;if(c=a.value,o(e,n,[c,this.counter++],!0))return c}});e({target:`Iterator`,proto:!0,real:!0,forced:p},{filter:function(e){r(this);try{n(e)}catch(e){c(this,`throw`,e)}return f?t(f,this,e):new m(i(this),{predicate:e})}})})),Vs=j((()=>{var e=q(),t=W(),n=da(),r=lr(),i=K(),a=js(),o=ua(),s=Ls()(`find`,TypeError);e({target:`Iterator`,proto:!0,real:!0,forced:s},{find:function(e){i(this);try{r(e)}catch(e){o(this,`throw`,e)}if(s)return t(s,this,e);var c=a(this),l=0;return n(c,function(t,n){if(e(t,l++))return n(t)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})})),Hs=j(((e,t)=>{var n=W(),r=K(),i=js(),a=ca();t.exports=function(e,t){(!t||typeof e!=`string`)&&r(e);var o=a(e);return i(r(o===void 0?e:n(o,e)))}})),Us=j((()=>{var e=q(),t=W(),n=lr(),r=K(),i=js(),a=Hs(),o=Fs(),s=ua(),c=fr(),l=Is(),u=Ls(),d=!c&&!l(`flatMap`,function(){}),f=!c&&!d&&u(`flatMap`,TypeError),p=c||d||f,m=o(function(){for(var e=this.iterator,n=this.mapper,i,o;;){if(o=this.inner)try{if(i=r(t(o.next,o.iterator)),!i.done)return i.value;this.inner=null}catch(t){s(e,`throw`,t)}if(i=r(t(this.next,e)),this.done=!!i.done)return;try{this.inner=a(n(i.value,this.counter++),!1)}catch(t){s(e,`throw`,t)}}});e({target:`Iterator`,proto:!0,real:!0,forced:p},{flatMap:function(e){r(this);try{n(e)}catch(e){s(this,`throw`,e)}return f?t(f,this,e):new m(i(this),{mapper:e,inner:null})}})})),Ws=j((()=>{var e=q(),t=W(),n=da(),r=lr(),i=K(),a=js(),o=ua(),s=Ls()(`forEach`,TypeError);e({target:`Iterator`,proto:!0,real:!0,forced:s},{forEach:function(e){i(this);try{r(e)}catch(e){o(this,`throw`,e)}if(s)return t(s,this,e);var c=a(this),l=0;n(c,function(t){e(t,l++)},{IS_RECORD:!0})}})})),Gs=j((()=>{var e=q(),t=W(),n=gr(),r=nr(),i=qa().IteratorPrototype,a=Fs(),o=Hs(),s=fr()||function(){try{Iterator.from({return:null}).return()}catch{return!0}}(),c=a(function(){return t(this.next,this.iterator)},!0);e({target:`Iterator`,stat:!0,forced:s},{from:function(e){var t=o(typeof e==`string`?n(e):e,!0);return r(i,t.iterator)?t.iterator:new c(t)}})})),Ks=j((()=>{var e=q(),t=W(),n=lr(),r=K(),i=js(),a=Fs(),o=Ba(),s=ua(),c=Is(),l=Ls(),u=fr(),d=!u&&!c(`map`,function(){}),f=!u&&!d&&l(`map`,TypeError),p=u||d||f,m=a(function(){var e=this.iterator,n=r(t(this.next,e));if(!(this.done=!!n.done))return o(e,this.mapper,[n.value,this.counter++],!0)});e({target:`Iterator`,proto:!0,real:!0,forced:p},{map:function(e){r(this);try{n(e)}catch(e){s(this,`throw`,e)}return f?t(f,this,e):new m(i(this),{mapper:e})}})})),qs=j((()=>{var e=q(),t=da(),n=lr(),r=K(),i=js(),a=ua(),o=Ls(),s=xi(),c=H(),l=TypeError,u=c(function(){[].keys().reduce(function(){},void 0)}),d=!u&&o(`reduce`,l);e({target:`Iterator`,proto:!0,real:!0,forced:u||d},{reduce:function(e){r(this);try{n(e)}catch(e){a(this,`throw`,e)}var o=arguments.length<2,c=o?void 0:arguments[1];if(d)return s(d,this,o?[e]:[e,c]);var u=i(this),f=0;if(t(u,function(t){o?(o=!1,c=t):c=e(c,t,f),f++},{IS_RECORD:!0}),o)throw new l(`Reduce of empty iterator with no initial value`);return c}})})),Js=j((()=>{var e=q(),t=W(),n=da(),r=lr(),i=K(),a=js(),o=ua(),s=Ls()(`some`,TypeError);e({target:`Iterator`,proto:!0,real:!0,forced:s},{some:function(e){i(this);try{r(e)}catch(e){o(this,`throw`,e)}if(s)return t(s,this,e);var c=a(this),l=0;return n(c,function(t,n){if(e(t,l++))return n()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})})),Ys=j((()=>{var e=q(),t=W(),n=K(),r=js(),i=Ms(),a=Ns(),o=Fs(),s=ua(),c=Ls(),l=fr(),u=!l&&c(`take`,RangeError),d=o(function(){var e=this.iterator;if(!this.remaining--)return this.done=!0,s(e,`normal`,void 0);var r=n(t(this.next,e));if(!(this.done=!!r.done))return r.value});e({target:`Iterator`,proto:!0,real:!0,forced:l||u},{take:function(e){n(this);var o;try{o=a(i(+e))}catch(e){s(this,`throw`,e)}return u?t(u,this,o):new d(r(this),{remaining:o})}})})),Xs=j((()=>{var e=q(),t=K(),n=da(),r=js(),i=[].push;e({target:`Iterator`,proto:!0,real:!0},{toArray:function(){var e=[];return n(r(t(this)),i,{that:e,IS_RECORD:!0}),e}})})),Zs=j((()=>{var e=V();li()(e.JSON,`JSON`,!0)})),Qs=j(((e,t)=>{t.exports=H()(function(){if(typeof ArrayBuffer==`function`){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,`a`,{value:8})}})})),$s=j(((e,t)=>{var n=H(),r=er(),i=Jn(),a=Qs(),o=Object.isExtensible;t.exports=n(function(){o(1)})||a?function(e){return!r(e)||a&&i(e)===`ArrayBuffer`?!1:o?o(e):!0}:o})),ec=j(((e,t)=>{t.exports=!H()(function(){return Object.isExtensible(Object.preventExtensions({}))})})),tc=j(((e,t)=>{var n=q(),r=G(),i=Mr(),a=er(),o=_r(),s=Er().f,c=Wr(),l=ri(),u=$s(),d=vr(),f=ec(),p=!1,m=d(`meta`),h=0,g=function(e){s(e,m,{value:{objectID:`O`+ h++,weakData:{}}})},_=t.exports={enable:function(){_.enable=function(){},p=!0;var e=c.f,t=r([].splice),i={};i[m]=1,e(i).length&&(c.f=function(n){for(var r=e(n),i=0,a=r.length;i<a;i++)if(r[i]===m){t(r,i,1);break}return r},n({target:`Object`,stat:!0,forced:!0},{getOwnPropertyNames:l.f}))},fastKey:function(e,t){if(!a(e))return typeof e==`symbol`?e:(typeof e==`string`?`S`:`P`)+e;if(!o(e,m)){if(!u(e))return`F`;if(!t)return`E`;g(e)}return e[m].objectID},getWeakData:function(e,t){if(!o(e,m)){if(!u(e))return!0;if(!t)return!1;g(e)}return e[m].weakData},onFreeze:function(e){return f&&p&&u(e)&&!o(e,m)&&g(e),e}};i[m]=!0})),nc=j(((e,t)=>{var n=q(),r=V(),i=G(),a=Jr(),o=Fr(),s=tc(),c=da(),l=Fo(),u=$n(),d=Xn(),f=er(),p=H(),m=Ha(),h=li(),g=qi();t.exports=function(e,t,_){var v=e.indexOf(`Map`)!==-1,y=e.indexOf(`Weak`)!==-1,b=v?`set`:`add`,x=r[e],S=x&&x.prototype,C=x,w={},T=function(e){var t=i(S[e]);o(S,e,e===`add`?function(e){return t(this,e===0?0:e),this}:e===`delete`?function(e){return y&&!f(e)?!1:t(this,e===0?0:e)}:e===`get`?function(e){return y&&!f(e)?void 0:t(this,e===0?0:e)}:e===`has`?function(e){return y&&!f(e)?!1:t(this,e===0?0:e)}:function(e,n){return t(this,e===0?0:e,n),this})};if(a(e,!u(x)||!(y||S.forEach&&!p(function(){new x().entries().next()}))))C=_.getConstructor(t,e,v,b),s.enable();else if(a(e,!0)){var E=new C,D=E[b](y?{}:-0,1)!==E,O=p(function(){E.has(1)}),k=m(function(e){new x(e)}),A=!y&&p(function(){for(var e=new x,t=5;t--;)e[b](t,t);return!e.has(-0)});k||(C=t(function(e,t){l(e,S);var n=g(new x,e,C);return d(t)||c(t,n[b],{that:n,AS_ENTRIES:v}),n}),C.prototype=S,S.constructor=C),(O||A)&&(T(`delete`),T(`has`),v&&T(`get`)),(A||D)&&T(b),y&&S.clear&&delete S.clear}return w[e]=C,n({global:!0,constructor:!0,forced:C!==x},w),h(C,e),y||_.setStrong(C,e,v),C}})),rc=j(((e,t)=>{var n=ti(),r=ii(),i=Po(),a=di(),o=Fo(),s=Xn(),c=da(),l=Ya(),u=Xa(),d=yo(),f=U(),p=tc().fastKey,m=Nr(),h=m.set,g=m.getterFor;t.exports={getConstructor:function(e,t,l,u){var d=e(function(e,r){o(e,m),h(e,{type:t,index:n(null),first:null,last:null,size:0}),f||(e.size=0),s(r)||c(r,e[u],{that:e,AS_ENTRIES:l})}),m=d.prototype,_=g(t),v=function(e,t,n){var r=_(e),i=y(e,t),a,o;return i?i.value=n:(r.last=i={index:o=p(t,!0),key:t,value:n,previous:a=r.last,next:null,removed:!1},r.first||=i,a&&(a.next=i),f?r.size++:e.size++,o!==`F`&&(r.index[o]=i)),e},y=function(e,t){var n=_(e),r=p(t),i;if(r!==`F`)return n.index[r];for(i=n.first;i;i=i.next)if(i.key===t)return i};return i(m,{clear:function(){for(var e=this,t=_(e),r=t.first;r;)r.removed=!0,r.previous&&=r.previous.next=null,r=r.next;t.first=t.last=null,t.index=n(null),f?t.size=0:e.size=0},delete:function(e){var t=this,n=_(t),r=y(t,e);if(r){var i=r.next,a=r.previous;delete n.index[r.index],r.removed=!0,a&&(a.next=i),i&&(i.previous=a),n.first===r&&(n.first=i),n.last===r&&(n.last=a),f?n.size--:t.size--}return!!r},forEach:function(e){for(var t=_(this),n=a(e,arguments.length>1?arguments[1]:void 0),r;r=r?r.next:t.first;)for(n(r.value,r.key,this);r&&r.removed;)r=r.previous},has:function(e){return!!y(this,e)}}),i(m,l?{get:function(e){var t=y(this,e);return t&&t.value},set:function(e,t){return v(this,e===0?0:e,t)}}:{add:function(e){return v(this,e=e===0?0:e,e)}}),f&&r(m,`size`,{configurable:!0,get:function(){return _(this).size}}),d},setStrong:function(e,t,n){var r=t+` Iterator`,i=g(t),a=g(r);l(e,t,function(e,t){h(this,{type:r,target:e,state:i(e),kind:t,last:null})},function(){for(var e=a(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return!e.target||!(e.last=n=n?n.next:e.state.first)?(e.target=null,u(void 0,!0)):u(t===`keys`?n.key:t===`values`?n.value:[n.key,n.value],!1)},n?`entries`:`values`,!n,!0),d(t)}}})),ic=j((()=>{nc()(`Map`,function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},rc())})),ac=j((()=>{ic()})),oc=j(((e,t)=>{var n=G(),r=Map.prototype;t.exports={Map,set:n(r.set),get:n(r.get),has:n(r.has),remove:n(r.delete),proto:r}})),sc=j((()=>{var e=q(),t=G(),n=lr(),r=Zn(),i=da(),a=oc(),o=fr(),s=H(),c=a.Map,l=a.has,u=a.get,d=a.set,f=t([].push),p=o||s(function(){return c.groupBy(`ab`,function(e){return e}).get(`a`).length!==1});e({target:`Map`,stat:!0,forced:o||p},{groupBy:function(e,t){r(e),n(t);var a=new c,o=0;return i(e,function(e){var n=t(e,o++);l(a,n)?f(u(a,n),e):d(a,n,[e])}),a}})})),cc=j(((e,t)=>{var n=Math.log;t.exports=Math.log1p||function(e){var t=+e;return t>-1e-8&&t<1e-8?t-t*t/2:n(1+t)}})),lc=j((()=>{var e=q(),t=cc(),n=Math.acosh,r=Math.log,i=Math.sqrt,a=Math.LN2;e({target:`Math`,stat:!0,forced:!n||Math.floor(n(Number.MAX_VALUE))!==710||n(1/0)!==1/0},{acosh:function(e){var n=+e;return n<1?NaN:n>94906265.62425156?r(n)+a:t(n-1+i(n-1)*i(n+1))}})})),uc=j((()=>{var e=q(),t=Math.asinh,n=Math.log,r=Math.sqrt;function i(e){var t=+e;return!isFinite(t)||t===0?t:t<0?-i(-t):n(t+r(t*t+1))}e({target:`Math`,stat:!0,forced:!(t&&1/t(0)>0)},{asinh:i})})),dc=j((()=>{var e=q(),t=Math.atanh,n=Math.log;e({target:`Math`,stat:!0,forced:!(t&&1/t(-0)<0)},{atanh:function(e){var t=+e;return t===0?t:n((1+t)/(1-t))/2}})})),fc=j((()=>{var e=q(),t=Lo(),n=Math.abs,r=Math.pow;e({target:`Math`,stat:!0},{cbrt:function(e){var i=+e;return t(i)*r(n(i),1/3)}})})),pc=j((()=>{var e=q(),t=Math.floor,n=Math.log,r=Math.LOG2E;e({target:`Math`,stat:!0},{clz32:function(e){var i=e>>>0;return i?31-t(n(i+.5)*r):32}})})),mc=j(((e,t)=>{var n=Math.expm1,r=Math.exp;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||n(-2e-17)!==-2e-17?function(e){var t=+e;return t===0?t:t>-1e-6&&t<1e-6?t+t*t/2:r(t)-1}:n})),hc=j((()=>{var e=q(),t=mc(),n=Math.cosh,r=Math.abs,i=Math.E;e({target:`Math`,stat:!0,forced:!n||n(710)===1/0},{cosh:function(e){var n=t(r(e)-1)+1;return(n+1/(n*i*i))*(i/2)}})})),gc=j((()=>{var e=q(),t=mc();e({target:`Math`,stat:!0,forced:t!==Math.expm1},{expm1:t})})),_c=j((()=>{q()({target:`Math`,stat:!0},{fround:Bo()})})),vc=j((()=>{var e=q(),t=zo(),n=.0009765625,r=65504,i=6103515625e-14;e({target:`Math`,stat:!0},{f16round:function(e){return t(e,n,r,i)}})})),yc=j((()=>{var e=q(),t=Math.hypot,n=Math.abs,r=Math.sqrt;e({target:`Math`,stat:!0,arity:2,forced:!!t&&t(1/0,NaN)!==1/0},{hypot:function(e,t){for(var i=0,a=0,o=arguments.length,s=0,c,l;a<o;)c=n(arguments[a++]),s<c?(l=s/c,i=i*l*l+1,s=c):c>0?(l=c/s,i+=l*l):i+=c;return s===1/0?1/0:s*r(i)}})})),bc=j((()=>{var e=q(),t=H(),n=Math.imul;e({target:`Math`,stat:!0,forced:t(function(){return n(4294967295,5)!==-5||n.length!==2})},{imul:function(e,t){var n=65535,r=+e,i=+t,a=n&r,o=n&i;return 0|a*o+((n&r>>>16)*o+a*(n&i>>>16)<<16>>>0)}})})),xc=j(((e,t)=>{var n=Math.log,r=Math.LOG10E;t.exports=Math.log10||function(e){return n(e)*r}})),Sc=j((()=>{q()({target:`Math`,stat:!0},{log10:xc()})})),Cc=j((()=>{q()({target:`Math`,stat:!0},{log1p:cc()})})),wc=j((()=>{q()({target:`Math`,stat:!0},{log2:Zo()})})),Tc=j((()=>{q()({target:`Math`,stat:!0},{sign:Lo()})})),Ec=j((()=>{var e=q(),t=H(),n=mc(),r=Math.abs,i=Math.exp,a=Math.E;e({target:`Math`,stat:!0,forced:t(function(){return Math.sinh(-2e-17)!==-2e-17})},{sinh:function(e){var t=+e;return r(t)<1?(n(t)-n(-t))/2:(i(t-1)-i(-t-1))*(a/2)}})})),Dc=j((()=>{var e=q(),t=G(),n=da(),r=RangeError,i=TypeError,a=1/0,o=NaN,s=Math.abs,c=Math.pow,l=t([].push),u=c(2,1023),d=c(2,53)-1,f=Number.MAX_VALUE,p=c(2,971),m={},h={},g={},_={},v={},y=function(e,t){var n=e+t;return{hi:n,lo:t-(n-e)}};e({target:`Math`,stat:!0},{sumPrecise:function(e){var t=[],c=0,b=_;switch(n(e,function(e){if(++c>=d)throw new r(`Maximum allowed index exceeded`);if(typeof e!=`number`)throw new i(`Value is not a number`);b!==m&&(e===e?e===a?b=b===h?m:g:e===-a?b=b===g?m:h:(e!==0||1/e===a)&&(b===_||b===v)&&(b=v,l(t,e)):b=m)}),b){case m:return o;case h:return-a;case g:return a;case _:return-0}for(var x=[],S=0,C,w,T,E,D,O,k=0;k<t.length;k++){C=t[k];for(var A=0,j=0;j<x.length;j++){if(w=x[j],s(C)<s(w)&&(O=C,C=w,w=O),T=y(C,w),E=T.hi,D=T.lo,s(E)===a){var M=E===a?1:-1;S+=M,C=C-M*u-M*u,s(C)<s(w)&&(O=C,C=w,w=O),T=y(C,w),E=T.hi,D=T.lo}D!==0&&(x[A++]=D),C=E}x.length=A,C!==0&&l(x,C)}var N=x.length-1;if(E=0,D=0,S!==0){var P=N>=0?x[N]:0;if(N--,s(S)>1||S>0&&P>0||S<0&&P<0)return S>0?a:-a;if(T=y(S*u,P/2),E=T.hi,D=T.lo,D*=2,s(2*E)===a)return E>0?E===u&&D===-(p/2)&&N>=0&&x[N]<0?f:a:E===-u&&D===p/2&&N>=0&&x[N]>0?-f:-a;D!==0&&(x[++N]=D,D=0),E*=2}for(;N>=0&&(T=y(E,x[N--]),E=T.hi,D=T.lo,D===0););return N>=0&&(D<0&&x[N]<0||D>0&&x[N]>0)&&(w=D*2,C=E+w,w===C-E&&(E=C)),E}})})),Oc=j((()=>{var e=q(),t=mc(),n=Math.exp;e({target:`Math`,stat:!0},{tanh:function(e){var r=+e,i=t(r),a=t(-r);return i===1/0?1:a===1/0?-1:(i-a)/(n(r)+n(-r))}})})),kc=j((()=>{li()(Math,`Math`,!0)})),Ac=j((()=>{q()({target:`Math`,stat:!0},{trunc:Ir()})})),jc=j(((e,t)=>{t.exports=G()(1.1.valueOf)})),Mc=j(((e,t)=>{t.exports=`
3
3
  \v\f\r \xA0               \u2028\u2029`})),Nc=j(((e,t)=>{var n=G(),r=Zn(),i=Zr(),a=Mc(),o=n(``.replace),s=RegExp(`^[`+a+`]+`),c=RegExp(`(^|[^`+a+`])[`+a+`]+$`),l=function(e){return function(t){var n=i(r(t));return e&1&&(n=o(n,s,``)),e&2&&(n=o(n,c,`$1`)),n}};t.exports={start:l(1),end:l(2),trim:l(3)}})),Pc=j((()=>{var e=q(),t=fr(),n=U(),r=V(),i=oi(),a=G(),o=Jr(),s=_r(),c=qi(),l=nr(),u=sr(),d=br(),f=H(),p=Wr().f,m=wr().f,h=Er().f,g=jc(),_=Nc().trim,v=`Number`,y=r[v],b=i[v],x=y.prototype,S=r.TypeError,C=a(``.slice),w=a(``.charCodeAt),T=function(e){var t=d(e,`number`);return typeof t==`bigint`?t:E(t)},E=function(e){var t=d(e,`number`),n,r,i,a,o,s,c,l;if(u(t))throw new S(`Cannot convert a Symbol value to a number`);if(typeof t==`string`&&t.length>2){if(t=_(t),n=w(t,0),n===43||n===45){if(r=w(t,2),r===88||r===120)return NaN}else if(n===48){switch(w(t,1)){case 66:case 98:i=2,a=49;break;case 79:case 111:i=8,a=55;break;default:return+t}for(o=C(t,2),s=o.length,c=0;c<s;c++)if(l=w(o,c),l<48||l>a)return NaN;return parseInt(o,i)}}return+t},D=o(v,!y(` 0o1`)||!y(`0b1`)||y(`+0x1`)),O=function(e){return l(x,e)&&f(function(){g(e)})},k=function(e){var t=arguments.length<1?0:y(T(e));return O(this)?c(Object(t),this,k):t};k.prototype=x,D&&!t&&(x.constructor=k),e({global:!0,constructor:!0,wrap:!0,forced:D},{Number:k});var A=function(e,t){for(var r=n?p(t):`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(`,`),i=0,a;r.length>i;i++)s(t,a=r[i])&&!s(e,a)&&h(e,a,m(t,a))};t&&b&&A(i[v],b),(D||t)&&A(i[v],y)})),Fc=j((()=>{q()({target:`Number`,stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:2**-52})})),Ic=j(((e,t)=>{var n=V().isFinite;t.exports=Number.isFinite||function(e){return typeof e==`number`&&n(e)}})),Lc=j((()=>{q()({target:`Number`,stat:!0},{isFinite:Ic()})})),Rc=j(((e,t)=>{var n=er(),r=Math.floor;t.exports=Number.isInteger||function(e){return!n(e)&&isFinite(e)&&r(e)===e}})),zc=j((()=>{q()({target:`Number`,stat:!0},{isInteger:Rc()})})),Bc=j((()=>{q()({target:`Number`,stat:!0},{isNaN:function(e){return e!==e}})})),Vc=j((()=>{var e=q(),t=Rc(),n=Math.abs;e({target:`Number`,stat:!0},{isSafeInteger:function(e){return t(e)&&n(e)<=9007199254740991}})})),Hc=j((()=>{q()({target:`Number`,stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})})),Uc=j((()=>{q()({target:`Number`,stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})})),Wc=j(((e,t)=>{var n=V(),r=H(),i=G(),a=Zr(),o=Nc().trim,s=Mc(),c=i(``.charAt),l=n.parseFloat,u=n.Symbol,d=u&&u.iterator;t.exports=1/l(s+`-0`)!=-1/0||d&&!r(function(){l(Object(d))})?function(e){var t=o(a(e)),n=l(t);return n===0&&c(t,0)===`-`?-0:n}:l})),Gc=j((()=>{var e=q(),t=Wc();e({target:`Number`,stat:!0,forced:Number.parseFloat!==t},{parseFloat:t})})),Kc=j(((e,t)=>{var n=V(),r=H(),i=G(),a=Zr(),o=Nc().trim,s=Mc(),c=n.parseInt,l=n.Symbol,u=l&&l.iterator,d=/^[+-]?0x/i,f=i(d.exec);t.exports=c(s+`08`)!==8||c(s+`0x16`)!==22||u&&!r(function(){c(Object(u))})?function(e,t){var n=o(a(e));return c(n,t>>>0||(f(d,n)?16:10))}:c})),qc=j((()=>{var e=q(),t=Kc();e({target:`Number`,stat:!0,forced:Number.parseInt!==t},{parseInt:t})})),Jc=j((()=>{var e=q(),t=G(),n=Lr(),r=jc(),i=ps(),a=xc(),o=H(),s=RangeError,c=String,l=isFinite,u=Math.abs,d=Math.floor,f=Math.pow,p=Math.round,m=t(1.1.toExponential),h=t(i),g=t(``.slice),_=m(-69e-12,4)===`-6.9000e-11`&&m(1.255,2)===`1.25e+0`&&m(12345,3)===`1.235e+4`&&m(25,0)===`3e+1`;e({target:`Number`,proto:!0,forced:!_||!function(){return o(function(){m(1,1/0)})&&o(function(){m(1,-1/0)})}()||!function(){return!o(function(){m(1/0,1/0),m(NaN,1/0)})}()},{toExponential:function(e){var t=r(this);if(e===void 0)return m(t);var i=n(e);if(!l(t))return String(t);if(i<0||i>20)throw new s(`Incorrect fraction digits`);if(_)return m(t,i);var o=``,v,y,b,x;if(t<0&&(o=`-`,t=-t),t===0)y=0,v=h(`0`,i+1);else{y=d(a(t));var S=f(10,y-i),C=p(t/S);2*t>=(2*C+1)*S&&(C+=1),C>=f(10,i+1)&&(C/=10,y+=1),v=c(C)}return i!==0&&(v=g(v,0,1)+`.`+g(v,1)),y===0?(b=`+`,x=`0`):(b=y>0?`+`:`-`,x=c(u(y))),v+=`e`+b+x,o+v}})})),Yc=j((()=>{var e=q(),t=G(),n=Lr(),r=jc(),i=ps(),a=H(),o=RangeError,s=String,c=Math.floor,l=t(i),u=t(``.slice),d=t(1.1.toFixed),f=function(e,t,n){return t===0?n:t%2==1?f(e,t-1,n*e):f(e*e,t/2,n)},p=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t},m=function(e,t,n){for(var r=-1,i=n;++r<6;)i+=t*e[r],e[r]=i%1e7,i=c(i/1e7)},h=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=c(r/t),r=r%t*1e7},g=function(e){for(var t=6,n=``;--t>=0;)if(n!==``||t===0||e[t]!==0){var r=s(e[t]);n=n===``?r:n+l(`0`,7-r.length)+r}return n};e({target:`Number`,proto:!0,forced:a(function(){return d(8e-5,3)!==`0.000`||d(.9,0)!==`1`||d(1.255,2)!==`1.25`||d(0xde0b6b3a7640080,0)!==`1000000000000000128`})||!a(function(){d({})})},{toFixed:function(e){var t=r(this),i=n(e),a=[0,0,0,0,0,0],c=``,d=`0`,_,v,y,b;if(i<0||i>20)throw new o(`Incorrect fraction digits`);if(t!==t)return`NaN`;if(t<=-1e21||t>=1e21)return s(t);if(t<0&&(c=`-`,t=-t),t>1e-21)if(_=p(t*f(2,69,1))-69,v=_<0?t*f(2,-_,1):t/f(2,_,1),v*=4503599627370496,_=52-_,_>0){for(m(a,0,v),y=i;y>=7;)m(a,1e7,0),y-=7;for(m(a,f(10,y,1),0),y=_-1;y>=23;)h(a,1<<23),y-=23;h(a,1<<y),m(a,1,1),h(a,2),d=g(a)}else m(a,0,v),m(a,1<<-_,0),d=g(a)+l(`0`,i);return i>0?(b=d.length,d=c+(b<=i?`0.`+l(`0`,i-b)+d:u(d,0,b-i)+`.`+u(d,b-i))):d=c+d,d}})})),Xc=j((()=>{var e=q(),t=G(),n=H(),r=jc(),i=t(1.1.toPrecision);e({target:`Number`,proto:!0,forced:n(function(){return i(1,void 0)!==`1`})||!n(function(){i({})})},{toPrecision:function(e){return e===void 0?i(r(this)):i(r(this),e)}})})),Zc=j(((e,t)=>{var n=U(),r=G(),i=W(),a=H(),o=Qr(),s=Gr(),c=Kn(),l=gr(),u=Yn(),d=Object.assign,f=Object.defineProperty,p=r([].concat);t.exports=!d||a(function(){if(n&&d({b:1},d(f({},`a`,{enumerable:!0,get:function(){f(this,`b`,{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var e={},t={},r=Symbol(`assign detection`),i=`abcdefghijklmnopqrst`;return e[r]=7,i.split(``).forEach(function(e){t[e]=e}),d({},e)[r]!==7||o(d({},t)).join(``)!==i})?function(e,t){for(var r=l(e),a=arguments.length,d=1,f=s.f,m=c.f;a>d;)for(var h=u(arguments[d++]),g=f?p(o(h),f(h)):o(h),_=g.length,v=0,y;_>v;)y=g[v++],(!n||i(m,h,y))&&(r[y]=h[y]);return r}:d})),Qc=j((()=>{var e=q(),t=Zc();e({target:`Object`,stat:!0,arity:2,forced:Object.assign!==t},{assign:t})})),$c=j((()=>{var e=q(),t=U(),n=ti();e({target:`Object`,stat:!0,sham:!t},{create:n})})),el=j(((e,t)=>{var n=fr(),r=V(),i=H(),a=_o();t.exports=n||!i(function(){if(!(a&&a<535)){var e=Math.random();__defineSetter__.call(null,e,function(){}),delete r[e]}})})),tl=j((()=>{var e=q(),t=U(),n=el(),r=lr(),i=gr(),a=Er();t&&e({target:`Object`,proto:!0,forced:n},{__defineGetter__:function(e,t){a.f(i(this),e,{get:r(t),enumerable:!0,configurable:!0})}})})),nl=j((()=>{var e=q(),t=U(),n=$r().f;e({target:`Object`,stat:!0,forced:Object.defineProperties!==n,sham:!t},{defineProperties:n})})),rl=j((()=>{var e=q(),t=U(),n=Er().f;e({target:`Object`,stat:!0,forced:Object.defineProperty!==n,sham:!t},{defineProperty:n})})),il=j((()=>{var e=q(),t=U(),n=el(),r=lr(),i=gr(),a=Er();t&&e({target:`Object`,proto:!0,forced:n},{__defineSetter__:function(e,t){a.f(i(this),e,{set:r(t),enumerable:!0,configurable:!0})}})})),al=j(((e,t)=>{var n=U(),r=H(),i=G(),a=aa(),o=Qr(),s=Qn(),c=Kn().f,l=i(c),u=i([].push),d=n&&r(function(){var e=Object.create(null);return e[2]=2,!l(e,2)}),f=function(e){return function(t){for(var r=s(t),i=o(r),c=d&&a(r)===null,f=i.length,p=0,m=[],h;f>p;)h=i[p++],(!n||(c?h in r:l(r,h)))&&u(m,e?[h,r[h]]:r[h]);return m}};t.exports={entries:f(!0),values:f(!1)}})),ol=j((()=>{var e=q(),t=al().entries;e({target:`Object`,stat:!0},{entries:function(e){return t(e)}})})),sl=j((()=>{var e=q(),t=ec(),n=H(),r=er(),i=tc().onFreeze,a=Object.freeze;e({target:`Object`,stat:!0,forced:n(function(){a(1)}),sham:!t},{freeze:function(e){return a&&r(e)?a(i(e)):e}})})),cl=j((()=>{var e=q(),t=da(),n=ya();e({target:`Object`,stat:!0},{fromEntries:function(e){var r={};return t(e,function(e,t){n(r,e,t)},{AS_ENTRIES:!0}),r}})})),ll=j((()=>{var e=q(),t=H(),n=Qn(),r=wr().f,i=U();e({target:`Object`,stat:!0,forced:!i||t(function(){r(1)}),sham:!i},{getOwnPropertyDescriptor:function(e,t){return r(n(e),t)}})})),ul=j((()=>{var e=q(),t=U(),n=Kr(),r=Qn(),i=wr(),a=ya();e({target:`Object`,stat:!0,sham:!t},{getOwnPropertyDescriptors:function(e){for(var t=r(e),o=i.f,s=n(t),c={},l=0,u,d;s.length>l;)d=o(t,u=s[l++]),d!==void 0&&a(c,u,d);return c}})})),dl=j((()=>{var e=q(),t=H(),n=ri().f;e({target:`Object`,stat:!0,forced:t(function(){return!Object.getOwnPropertyNames(1)})},{getOwnPropertyNames:n})})),fl=j((()=>{var e=q(),t=H(),n=gr(),r=aa(),i=ia();e({target:`Object`,stat:!0,forced:t(function(){r(1)}),sham:!i},{getPrototypeOf:function(e){return r(n(e))}})})),pl=j((()=>{var e=q(),t=tr(),n=G(),r=lr(),i=Zn(),a=xr(),o=da(),s=H(),c=Object.groupBy,l=t(`Object`,`create`),u=n([].push);e({target:`Object`,stat:!0,forced:!c||s(function(){return c(`ab`,function(e){return e}).a.length!==1})},{groupBy:function(e,t){i(e),r(t);var n=l(null),s=0;return o(e,function(e){var r=a(t(e,s++));r in n?u(n[r],e):n[r]=[e]}),n}})})),ml=j((()=>{q()({target:`Object`,stat:!0},{hasOwn:_r()})})),hl=j(((e,t)=>{t.exports=Object.is||function(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}})),gl=j((()=>{q()({target:`Object`,stat:!0},{is:hl()})})),_l=j((()=>{var e=q(),t=$s();e({target:`Object`,stat:!0,forced:Object.isExtensible!==t},{isExtensible:t})})),vl=j((()=>{var e=q(),t=H(),n=er(),r=Jn(),i=Qs(),a=Object.isFrozen;e({target:`Object`,stat:!0,forced:i||t(function(){a(1)})},{isFrozen:function(e){return!n(e)||i&&r(e)===`ArrayBuffer`?!0:a?a(e):!1}})})),yl=j((()=>{var e=q(),t=H(),n=er(),r=Jn(),i=Qs(),a=Object.isSealed;e({target:`Object`,stat:!0,forced:i||t(function(){a(1)})},{isSealed:function(e){return!n(e)||i&&r(e)===`ArrayBuffer`?!0:a?a(e):!1}})})),bl=j((()=>{var e=q(),t=gr(),n=Qr();e({target:`Object`,stat:!0,forced:H()(function(){n(1)})},{keys:function(e){return n(t(e))}})})),xl=j((()=>{var e=q(),t=U(),n=el(),r=gr(),i=xr(),a=aa(),o=wr().f;t&&e({target:`Object`,proto:!0,forced:n},{__lookupGetter__:function(e){var t=r(this),n=i(e),s;do if(s=o(t,n))return s.get;while(t=a(t))}})})),Sl=j((()=>{var e=q(),t=U(),n=el(),r=gr(),i=xr(),a=aa(),o=wr().f;t&&e({target:`Object`,proto:!0,forced:n},{__lookupSetter__:function(e){var t=r(this),n=i(e),s;do if(s=o(t,n))return s.set;while(t=a(t))}})})),Cl=j((()=>{var e=q(),t=er(),n=tc().onFreeze,r=ec(),i=H(),a=Object.preventExtensions;e({target:`Object`,stat:!0,forced:i(function(){a(1)}),sham:!r},{preventExtensions:function(e){return a&&t(e)?a(n(e)):e}})})),wl=j((()=>{var e=U(),t=ii(),n=er(),r=Ui(),i=gr(),a=Zn(),o=Object.getPrototypeOf,s=Object.setPrototypeOf,c=Object.prototype,l=`__proto__`;if(e&&o&&s&&!(l in c))try{t(c,l,{configurable:!0,get:function(){return o(i(this))},set:function(e){var t=a(this);r(e)&&n(t)&&s(t,e)}})}catch{}})),Tl=j((()=>{var e=q(),t=er(),n=tc().onFreeze,r=ec(),i=H(),a=Object.seal;e({target:`Object`,stat:!0,forced:i(function(){a(1)}),sham:!r},{seal:function(e){return a&&t(e)?a(n(e)):e}})})),El=j((()=>{q()({target:`Object`,stat:!0},{setPrototypeOf:Gi()})})),Dl=j(((e,t)=>{var n=Yr(),r=Xr();t.exports=n?{}.toString:function(){return`[object `+r(this)+`]`}})),Ol=j((()=>{var e=Yr(),t=Fr(),n=Dl();e||t(Object.prototype,`toString`,n,{unsafe:!0})})),kl=j((()=>{var e=q(),t=al().values;e({target:`Object`,stat:!0},{values:function(e){return t(e)}})})),Al=j((()=>{var e=q(),t=Wc();e({global:!0,forced:parseFloat!==t},{parseFloat:t})})),jl=j((()=>{var e=q(),t=Kc();e({global:!0,forced:parseInt!==t},{parseInt:t})})),Ml=j(((e,t)=>{var n=pi(),r=cr(),i=TypeError;t.exports=function(e){if(n(e))return e;throw new i(r(e)+` is not a constructor`)}})),Nl=j(((e,t)=>{var n=K(),r=Ml(),i=Xn(),a=yr()(`species`);t.exports=function(e,t){var o=n(e).constructor,s;return o===void 0||i(s=n(o)[a])?t:r(s)}})),Pl=j(((e,t)=>{var n=TypeError;t.exports=function(e,t){if(e<t)throw new n(`Not enough arguments`);return e}})),Fl=j(((e,t)=>{var n=rr();t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)})),Il=j(((e,t)=>{var n=V(),r=xi(),i=di(),a=$n(),o=_r(),s=H(),c=ei(),l=ni(),u=Sr(),d=Pl(),f=Fl(),p=so(),m=n.setImmediate,h=n.clearImmediate,g=n.process,_=n.Dispatch,v=n.Function,y=n.MessageChannel,b=n.String,x=0,S={},C=`onreadystatechange`,w,T,E,D;s(function(){w=n.location});var O=function(e){if(o(S,e)){var t=S[e];delete S[e],t()}},k=function(e){return function(){O(e)}},A=function(e){O(e.data)},j=function(e){n.postMessage(b(e),w.protocol+`//`+w.host)};(!m||!h)&&(m=function(e){d(arguments.length,1);var t=a(e)?e:v(e),n=l(arguments,1);return S[++x]=function(){r(t,void 0,n)},T(x),x},h=function(e){delete S[e]},p?T=function(e){g.nextTick(k(e))}:_&&_.now?T=function(e){_.now(k(e))}:y&&!f?(E=new y,D=E.port2,E.port1.onmessage=A,T=i(D.postMessage,D)):n.addEventListener&&a(n.postMessage)&&!n.importScripts&&w&&w.protocol!==`file:`&&!s(j)?(T=j,n.addEventListener(`message`,A,!1)):T=C in u(`script`)?function(e){c.appendChild(u(`script`))[C]=function(){c.removeChild(this),O(e)}}:function(e){setTimeout(k(e),0)}),t.exports={set:m,clear:h}})),Ll=j(((e,t)=>{var n=V(),r=U(),i=Object.getOwnPropertyDescriptor;t.exports=function(e){if(!r)return n[e];var t=i(n,e);return t&&t.value}})),Rl=j(((e,t)=>{var n=function(){this.head=null,this.tail=null};n.prototype={add:function(e){var t={item:e,next:null},n=this.tail;n?n.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return(this.head=e.next)===null&&(this.tail=null),e.item}},t.exports=n})),zl=j(((e,t)=>{var n=rr();t.exports=/ipad|iphone|ipod/i.test(n)&&typeof Pebble<`u`})),Bl=j(((e,t)=>{var n=rr();t.exports=/web0s(?!.*chrome)/i.test(n)})),Vl=j(((e,t)=>{var n=V(),r=Ll(),i=di(),a=Il().set,o=Rl(),s=Fl(),c=zl(),l=Bl(),u=so(),d=n.MutationObserver||n.WebKitMutationObserver,f=n.document,p=n.process,m=n.Promise,h=r(`queueMicrotask`),g,_,v,y,b;if(!h){var x=new o,S=function(){var e,t;for(u&&(e=p.domain)&&e.exit();t=x.get();)try{t()}catch(e){throw x.head&&g(),e}e&&e.enter()};!s&&!u&&!l&&d&&f?(_=!0,v=f.createTextNode(``),new d(S).observe(v,{characterData:!0}),g=function(){v.data=_=!_}):!c&&m&&m.resolve?(y=m.resolve(void 0),y.constructor=m,b=i(y.then,y),g=function(){b(S)}):u?g=function(){p.nextTick(S)}:(a=i(a,n),g=function(){a(S)}),h=function(e){x.head||g(),x.add(e)}}t.exports=h})),Hl=j(((e,t)=>{t.exports=function(e,t){try{arguments.length===1?console.error(e):console.error(e,t)}catch{}}})),Ul=j(((e,t)=>{t.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}})),Wl=j(((e,t)=>{t.exports=V().Promise})),Gl=j(((e,t)=>{var n=V(),r=Wl(),i=$n(),a=Jr(),o=kr(),s=yr(),c=oo(),l=fr(),u=ir(),d=r&&r.prototype,f=s(`species`),p=!1,m=i(n.PromiseRejectionEvent);t.exports={CONSTRUCTOR:a(`Promise`,function(){var e=o(r),t=e!==String(r);if(!t&&u===66||l&&!(d.catch&&d.finally))return!0;if(!u||u<51||!/native code/.test(e)){var n=new r(function(e){e(1)}),i=function(e){e(function(){},function(){})},a=n.constructor={};if(a[f]=i,p=n.then(function(){})instanceof i,!p)return!0}return!t&&(c===`BROWSER`||c===`DENO`)&&!m}),REJECTION_EVENT:m,SUBCLASSING:p}})),Kl=j(((e,t)=>{var n=lr(),r=TypeError,i=function(e){var t,i;this.promise=new e(function(e,n){if(t!==void 0||i!==void 0)throw new r(`Bad Promise constructor`);t=e,i=n}),this.resolve=n(t),this.reject=n(i)};t.exports.f=function(e){return new i(e)}})),ql=j((()=>{var e=q(),t=fr(),n=so(),r=V(),i=oi(),a=W(),o=Fr(),s=Gi(),c=li(),l=yo(),u=lr(),d=$n(),f=er(),p=Fo(),m=Nl(),h=Il().set,g=Vl(),_=Hl(),v=Ul(),y=Rl(),b=Nr(),x=Wl(),S=Gl(),C=Kl(),w=`Promise`,T=S.CONSTRUCTOR,E=S.REJECTION_EVENT,D=S.SUBCLASSING,O=b.getterFor(w),k=b.set,A=x&&x.prototype,j=x,M=A,N=r.TypeError,P=r.document,F=r.process,I=C.f,L=I,R=!!(P&&P.createEvent&&r.dispatchEvent),z=`unhandledrejection`,B=`rejectionhandled`,ee=0,te=1,ne=2,re=1,ie=2,ae,oe,se,ce,le=function(e){var t;return f(e)&&d(t=e.then)?t:!1},ue=function(e,t){var n=t.value,r=t.state===te,i=r?e.ok:e.fail,o=e.resolve,s=e.reject,c=e.domain,l,u,d;try{i?(r||(t.rejection===ie&&he(t),t.rejection=re),i===!0?l=n:(c&&c.enter(),l=i(n),c&&(c.exit(),d=!0)),l===e.promise?s(new N(`Promise-chain cycle`)):(u=le(l))?a(u,l,o,s):o(l)):s(n)}catch(e){c&&!d&&c.exit(),s(e)}},de=function(e,t){e.notified||(e.notified=!0,g(function(){for(var n=e.reactions,r;r=n.get();)ue(r,e);e.notified=!1,t&&!e.rejection&&pe(e)}))},fe=function(e,t,n){var i,a;R?(i=P.createEvent(`Event`),i.promise=t,i.reason=n,i.initEvent(e,!1,!0),r.dispatchEvent(i)):i={promise:t,reason:n},!E&&(a=r[`on`+e])?a(i):e===z&&_(`Unhandled promise rejection`,n)},pe=function(e){a(h,r,function(){var t=e.facade,r=e.value,i=me(e),a;if(i&&(a=v(function(){n?F.emit(`unhandledRejection`,r,t):fe(z,t,r)}),e.rejection=n||me(e)?ie:re,a.error))throw a.value})},me=function(e){return e.rejection!==re&&!e.parent},he=function(e){a(h,r,function(){var t=e.facade;n?F.emit(`rejectionHandled`,t):fe(B,t,e.value)})},ge=function(e,t,n){return function(r){e(t,r,n)}},_e=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=ne,de(e,!0))},ve=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw new N(`Promise can't be resolved itself`);var r=le(t);r?g(function(){var n={done:!1};try{a(r,t,ge(ve,n,e),ge(_e,n,e))}catch(t){_e(n,t,e)}}):(e.value=t,e.state=te,de(e,!1))}catch(t){_e({done:!1},t,e)}}};if(T&&(j=function(e){p(this,M),u(e),a(ae,this);var t=O(this);try{e(ge(ve,t),ge(_e,t))}catch(e){_e(t,e)}},M=j.prototype,ae=function(e){k(this,{type:w,done:!1,notified:!1,parent:!1,reactions:new y,rejection:!1,state:ee,value:null})},ae.prototype=o(M,`then`,function(e,t){var r=O(this),i=I(m(this,j));return r.parent=!0,i.ok=d(e)?e:!0,i.fail=d(t)&&t,i.domain=n?F.domain:void 0,r.state===ee?r.reactions.add(i):g(function(){ue(i,r)}),i.promise}),oe=function(){var e=new ae,t=O(e);this.promise=e,this.resolve=ge(ve,t),this.reject=ge(_e,t)},C.f=I=function(e){return e===j||e===se?new oe(e):L(e)},!t&&d(x)&&A!==Object.prototype)){ce=A.then,D||o(A,`then`,function(e,t){var n=this;return new j(function(e,t){a(ce,n,e,t)}).then(e,t)},{unsafe:!0});try{delete A.constructor}catch{}s&&s(A,M)}e({global:!0,constructor:!0,wrap:!0,forced:T},{Promise:j}),se=i.Promise,c(j,w,!1,!0),l(w)})),Jl=j(((e,t)=>{var n=Wl(),r=Ha();t.exports=Gl().CONSTRUCTOR||!r(function(e){n.all(e).then(void 0,function(){})})})),Yl=j((()=>{var e=q(),t=W(),n=lr(),r=Kl(),i=Ul(),a=da();e({target:`Promise`,stat:!0,forced:Jl()},{all:function(e){var o=this,s=r.f(o),c=s.resolve,l=s.reject,u=i(function(){var r=n(o.resolve),i=[],s=0,u=1;a(e,function(e){var n=s++,a=!1;u++,t(r,o,e).then(function(e){a||(a=!0,i[n]=e,--u||c(i))},l)}),--u||c(i)});return u.error&&l(u.value),s.promise}})})),Xl=j((()=>{var e=q(),t=fr(),n=Gl().CONSTRUCTOR,r=Wl(),i=tr(),a=$n(),o=Fr(),s=r&&r.prototype;if(e({target:`Promise`,proto:!0,forced:n,real:!0},{catch:function(e){return this.then(void 0,e)}}),!t&&a(r)){var c=i(`Promise`).prototype.catch;s.catch!==c&&o(s,`catch`,c,{unsafe:!0})}})),Zl=j((()=>{var e=q(),t=W(),n=lr(),r=Kl(),i=Ul(),a=da();e({target:`Promise`,stat:!0,forced:Jl()},{race:function(e){var o=this,s=r.f(o),c=s.reject,l=i(function(){var r=n(o.resolve);a(e,function(e){t(r,o,e).then(s.resolve,c)})});return l.error&&c(l.value),s.promise}})})),Ql=j((()=>{var e=q(),t=Kl(),n=Gl().CONSTRUCTOR;e({target:`Promise`,stat:!0,forced:n},{reject:function(e){var n=t.f(this),r=n.reject;return r(e),n.promise}})})),$l=j(((e,t)=>{var n=K(),r=er(),i=Kl();t.exports=function(e,t){if(n(e),r(t)&&t.constructor===e)return t;var a=i.f(e),o=a.resolve;return o(t),a.promise}})),eu=j((()=>{var e=q(),t=tr(),n=fr(),r=Wl(),i=Gl().CONSTRUCTOR,a=$l(),o=t(`Promise`),s=n&&!i;e({target:`Promise`,stat:!0,forced:n||i},{resolve:function(e){return a(s&&this===o?r:this,e)}})})),tu=j((()=>{ql(),Yl(),Xl(),Zl(),Ql(),eu()})),nu=j((()=>{var e=q(),t=W(),n=lr(),r=Kl(),i=Ul(),a=da();e({target:`Promise`,stat:!0,forced:Jl()},{allSettled:function(e){var o=this,s=r.f(o),c=s.resolve,l=s.reject,u=i(function(){var r=n(o.resolve),i=[],s=0,l=1;a(e,function(e){var n=s++,a=!1;l++,t(r,o,e).then(function(e){a||(a=!0,i[n]={status:`fulfilled`,value:e},--l||c(i))},function(e){a||(a=!0,i[n]={status:`rejected`,reason:e},--l||c(i))})}),--l||c(i)});return u.error&&l(u.value),s.promise}})})),ru=j((()=>{var e=q(),t=W(),n=lr(),r=tr(),i=Kl(),a=Ul(),o=da(),s=Jl(),c=`No one promise resolved`;e({target:`Promise`,stat:!0,forced:s},{any:function(e){var s=this,l=r(`AggregateError`),u=i.f(s),d=u.resolve,f=u.reject,p=a(function(){var r=n(s.resolve),i=[],a=0,u=1,p=!1;o(e,function(e){var n=a++,o=!1;u++,t(r,s,e).then(function(e){o||p||(p=!0,d(e))},function(e){o||p||(o=!0,i[n]=e,--u||f(new l(i,c)))})}),--u||f(new l(i,c))});return p.error&&f(p.value),u.promise}})})),iu=j((()=>{var e=q(),t=fr(),n=Wl(),r=H(),i=tr(),a=$n(),o=Nl(),s=$l(),c=Fr(),l=n&&n.prototype;if(e({target:`Promise`,proto:!0,real:!0,forced:!!n&&r(function(){l.finally.call({then:function(){}},function(){})})},{finally:function(e){var t=o(this,i(`Promise`)),n=a(e);return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}}),!t&&a(n)){var u=i(`Promise`).prototype.finally;l.finally!==u&&c(l,`finally`,u,{unsafe:!0})}})),au=j((()=>{var e=q(),t=V(),n=xi(),r=ni(),i=Kl(),a=lr(),o=Ul(),s=t.Promise,c=!1;e({target:`Promise`,stat:!0,forced:!s||!s.try||o(function(){s.try(function(e){c=e===8},8)}).error||!c},{try:function(e){var t=arguments.length>1?r(arguments,1):[],s=i.f(this),c=o(function(){return n(a(e),void 0,t)});return(c.error?s.reject:s.resolve)(c.value),s.promise}})})),ou=j((()=>{var e=q(),t=Kl();e({target:`Promise`,stat:!0},{withResolvers:function(){var e=t.f(this);return{promise:e.promise,resolve:e.resolve,reject:e.reject}}})})),su=j(((e,t)=>{var n=V(),r=mr(),i=$n(),a=ti(),o=aa(),s=Fr(),c=yr(),l=fr(),u=`USE_FUNCTION_CONSTRUCTOR`,d=c(`asyncIterator`),f=n.AsyncIterator,p=r.AsyncIteratorPrototype,m,h;if(p)m=p;else if(i(f))m=f.prototype;else if(r[u]||n[u])try{h=o(o(o(Function(`return async function*(){}()`)()))),o(h)===Object.prototype&&(m=h)}catch{}m?l&&(m=a(m)):m={},i(m[d])||s(m,d,function(){return this}),t.exports=m})),cu=j(((e,t)=>{var n=W(),r=K(),i=ti(),a=ur(),o=Po(),s=Nr(),c=ua(),l=tr(),u=su(),d=Xa(),f=l(`Promise`),p=`AsyncFromSyncIterator`,m=s.set,h=s.getterFor(p),g=function(e,t,n,r,i){var a=e.done;f.resolve(e.value).then(function(e){t(d(e,a))},function(e){if(!a&&i)try{c(r,`throw`,e)}catch(t){e=t}n(e)})},_=function(e){e.type=p,m(this,e)};_.prototype=o(i(u),{next:function(){var e=h(this);return new f(function(t,i){g(r(n(e.next,e.iterator)),t,i,e.iterator,!0)})},return:function(){var e=h(this).iterator;return new f(function(t,i){var o=a(e,`return`);if(o===void 0)return t(d(void 0,!0));g(r(n(o,e)),t,i,e)})}}),t.exports=_})),lu=j(((e,t)=>{var n=W(),r=cu(),i=K(),a=la(),o=js(),s=ur(),c=yr()(`asyncIterator`);t.exports=function(e,t){var l=arguments.length<2?s(e,c):t;return l?i(n(l,e)):new r(o(a(e)))}})),uu=j(((e,t)=>{var n=W(),r=tr(),i=ur();t.exports=function(e,t,a,o){try{var s=i(e,`return`);if(s)return r(`Promise`).resolve(n(s,e)).then(function(){t(a)},function(e){o(e)})}catch(e){return o(e)}t(a)}})),du=j(((e,t)=>{var n=W(),r=lr(),i=K(),a=er(),o=va(),s=tr(),c=js(),l=uu(),u=function(e){var t=e===0,u=e===1,d=e===2,f=e===3;return function(e,p,m){i(e);var h=p!==void 0;(h||!t)&&r(p);var g=c(e),_=s(`Promise`),v=g.iterator,y=g.next,b=0;return new _(function(e,r){var s=function(e){l(v,r,e,r)},c=function(){try{if(h)try{o(b)}catch(e){s(e)}_.resolve(i(n(y,v))).then(function(n){try{if(i(n).done)t?(m.length=b,e(m)):e(f?!1:d||void 0);else{var o=n.value;try{if(h){var g=p(o,b),y=function(n){if(u)c();else if(d)n?c():l(v,e,!1,r);else if(t)try{m[b++]=n,c()}catch(e){s(e)}else n?l(v,e,f||o,r):c()};a(g)?_.resolve(g).then(y,s):y(g)}else m[b++]=o,c()}catch(e){s(e)}}}catch(e){r(e)}},r)}catch(e){r(e)}};c()})}};t.exports={toArray:u(0),forEach:u(1),every:u(2),some:u(3),find:u(4)}})),fu=j(((e,t)=>{var n=di(),r=G(),i=gr(),a=pi(),o=lu(),s=la(),c=js(),l=ca(),u=ur(),d=tr(),f=To(),p=yr(),m=cu(),h=du().toArray,g=p(`asyncIterator`),_=r(f(`Array`,`values`)),v=r(_([]).next),y=function(){return new b(this)},b=function(e){this.iterator=_(e)};b.prototype.next=function(){return v(this.iterator)},t.exports=function(e){var t=this,r=arguments.length,f=r>1?arguments[1]:void 0,p=r>2?arguments[2]:void 0;return new(d(`Promise`))(function(r){var d=i(e);f!==void 0&&(f=n(f,p));var _=u(d,g),v=_?void 0:l(d)||y,b=a(t)?new t:[];r(h(_?o(d,_):new m(c(s(d,v))),f,b))})}})),pu=j((()=>{var e=q(),t=fu(),n=H(),r=Array.fromAsync;e({target:`Array`,stat:!0,forced:!r||n(function(){var e=0;return r.call(function(){return e++,[]},{length:0}),e!==1})},{fromAsync:t})})),mu=j((()=>{var e=q(),t=U(),n=tr(),r=lr(),i=Fo(),a=Fr(),o=Po(),s=ii(),c=yr(),l=Nr(),u=xs(),d=ir(),f=n(`Promise`),p=n(`SuppressedError`),m=ReferenceError,h=c(`asyncDispose`),g=c(`toStringTag`),_=`AsyncDisposableStack`,v=l.set,y=l.getterFor(_),b=`async-dispose`,x=`disposed`,S=`pending`,C=function(e){var t=y(e);if(t.state===x)throw new m(_+` already disposed`);return t},w=function(){v(i(this,T),{type:_,state:S,stack:[]}),t||(this.disposed=!1)},T=w.prototype;o(T,{disposeAsync:function(){var e=this;return new f(function(n,r){var i=y(e);if(i.state===x)return n(void 0);i.state=x,t||(e.disposed=!0);var a=i.stack,o=a.length,s=!1,c,l=function(e){s?c=new p(e,c):(s=!0,c=e),u()},u=function(){if(o){var e=a[--o];a[o]=null;try{f.resolve(e()).then(u,l)}catch(e){l(e)}}else i.stack=null,s?r(c):n(void 0)};u()})},use:function(e){return u(C(this),e,b),e},adopt:function(e,t){var n=C(this);return r(t),u(n,void 0,b,function(){return t(e)}),e},defer:function(e){var t=C(this);r(e),u(t,void 0,b,e)},move:function(){var e=C(this),n=new w;return y(n).stack=e.stack,e.stack=[],e.state=x,t||(this.disposed=!0),n}}),t&&s(T,`disposed`,{configurable:!0,get:function(){return y(this).state===x}}),a(T,h,T.disposeAsync,{name:`disposeAsync`}),a(T,g,_,{nonWritable:!0}),e({global:!0,constructor:!0,forced:d&&d<136},{AsyncDisposableStack:w})})),hu=j((()=>{var e=W(),t=Fr(),n=tr(),r=ur(),i=_r(),a=yr(),o=su(),s=a(`asyncDispose`),c=n(`Promise`);i(o,s)||t(o,s,function(){var t=this;return new c(function(n,i){var a=r(t,`return`);a?c.resolve(e(a,t)).then(function(){n(void 0)},i):n(void 0)})})})),gu=j((()=>{var e=q(),t=xi(),n=lr(),r=K();e({target:`Reflect`,stat:!0,forced:!H()(function(){Reflect.apply(function(){})})},{apply:function(e,i,a){return t(n(e),i,r(a))}})})),_u=j((()=>{var e=q(),t=tr(),n=xi(),r=ws(),i=Ml(),a=K(),o=er(),s=ti(),c=H(),l=t(`Reflect`,`construct`),u=Object.prototype,d=[].push,f=c(function(){function e(){}return!(l(function(){},[],e)instanceof e)}),p=!c(function(){l(function(){})}),m=f||p;e({target:`Reflect`,stat:!0,forced:m,sham:m},{construct:function(e,t){i(e),a(t);var c=arguments.length<3?e:i(arguments[2]);if(p&&!f)return l(e,t,c);if(e===c){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var m=[null];return n(d,m,t),new(n(r,e,m))}var h=c.prototype,g=s(o(h)?h:u),_=n(e,g,t);return o(_)?_:g}})})),vu=j((()=>{var e=q(),t=U(),n=K(),r=xr(),i=Er();e({target:`Reflect`,stat:!0,forced:H()(function(){Reflect.defineProperty(i.f({},1,{value:1}),1,{value:2})}),sham:!t},{defineProperty:function(e,t,a){n(e);var o=r(t);n(a);try{return i.f(e,o,a),!0}catch{return!1}}})})),yu=j((()=>{var e=q(),t=K(),n=wr().f;e({target:`Reflect`,stat:!0},{deleteProperty:function(e,r){var i=n(t(e),r);return i&&!i.configurable?!1:delete e[r]}})})),bu=j(((e,t)=>{var n=_r();t.exports=function(e){return e!==void 0&&(n(e,`value`)||n(e,`writable`))}})),xu=j((()=>{var e=q(),t=W(),n=er(),r=K(),i=bu(),a=wr(),o=aa();function s(e,c){var l=arguments.length<3?e:arguments[2],u,d;if(r(e)===l)return e[c];if(u=a.f(e,c),u)return i(u)?u.value:u.get===void 0?void 0:t(u.get,l);if(n(d=o(e)))return s(d,c,l)}e({target:`Reflect`,stat:!0},{get:s})})),Su=j((()=>{var e=q(),t=U(),n=K(),r=wr();e({target:`Reflect`,stat:!0,sham:!t},{getOwnPropertyDescriptor:function(e,t){return r.f(n(e),t)}})})),Cu=j((()=>{var e=q(),t=K(),n=aa();e({target:`Reflect`,stat:!0,sham:!ia()},{getPrototypeOf:function(e){return n(t(e))}})})),wu=j((()=>{q()({target:`Reflect`,stat:!0},{has:function(e,t){return t in e}})})),Tu=j((()=>{var e=q(),t=K(),n=$s();e({target:`Reflect`,stat:!0},{isExtensible:function(e){return t(e),n(e)}})})),Eu=j((()=>{q()({target:`Reflect`,stat:!0},{ownKeys:Kr()})})),Du=j((()=>{var e=q(),t=tr(),n=K();e({target:`Reflect`,stat:!0,sham:!ec()},{preventExtensions:function(e){n(e);try{var r=t(`Object`,`preventExtensions`);return r&&r(e),!0}catch{return!1}}})})),Ou=j((()=>{var e=q(),t=W(),n=K(),r=er(),i=bu(),a=H(),o=Er(),s=wr(),c=aa(),l=qn();function u(e,a,d){var f=arguments.length<4?e:arguments[3],p=s.f(n(e),a),m,h,g;if(!p){if(r(h=c(e)))return u(h,a,d,f);p=l(0)}if(i(p)){if(p.writable===!1||!r(f))return!1;if(m=s.f(f,a)){if(m.get||m.set||m.writable===!1)return!1;m.value=d,o.f(f,a,m)}else o.f(f,a,l(0,d))}else{if(g=p.set,g===void 0)return!1;t(g,f,d)}return!0}e({target:`Reflect`,stat:!0,forced:a(function(){var e=function(){},t=o.f(new e,`a`,{configurable:!0});return Reflect.set(e.prototype,`a`,1,t)!==!1})},{set:u})})),ku=j((()=>{var e=q(),t=K(),n=Wi(),r=Gi();r&&e({target:`Reflect`,stat:!0},{setPrototypeOf:function(e,i){t(e),n(i);try{return r(e,i),!0}catch{return!1}}})})),Au=j((()=>{var e=q(),t=V(),n=li();e({global:!0},{Reflect:{}}),n(t.Reflect,`Reflect`,!0)})),ju=j(((e,t)=>{var n=er(),r=Jn(),i=yr()(`match`);t.exports=function(e){var t;return n(e)&&((t=e[i])===void 0?r(e)===`RegExp`:!!t)}})),Mu=j(((e,t)=>{var n=V(),r=H(),i=n.RegExp;t.exports={correct:!r(function(){var e=!0;try{i(`.`,`d`)}catch{e=!1}var t={},n=``,r=e?`dgimsy`:`gimsy`,a=function(e,r){Object.defineProperty(t,e,{get:function(){return n+=r,!0}})},o={dotAll:`s`,global:`g`,ignoreCase:`i`,multiline:`m`,sticky:`y`};for(var s in e&&(o.hasIndices=`d`),o)a(s,o[s]);return Object.getOwnPropertyDescriptor(i.prototype,`flags`).get.call(t)!==r||n!==r})}})),Nu=j(((e,t)=>{var n=K();t.exports=function(){var e=n(this),t=``;return e.hasIndices&&(t+=`d`),e.global&&(t+=`g`),e.ignoreCase&&(t+=`i`),e.multiline&&(t+=`m`),e.dotAll&&(t+=`s`),e.unicode&&(t+=`u`),e.unicodeSets&&(t+=`v`),e.sticky&&(t+=`y`),t}})),Pu=j(((e,t)=>{var n=W(),r=_r(),i=nr(),a=Mu(),o=Nu(),s=RegExp.prototype;t.exports=a.correct?function(e){return e.flags}:function(e){return!a.correct&&i(s,e)&&!r(e,`flags`)?n(o,e):e.flags}})),Fu=j(((e,t)=>{var n=H(),r=V().RegExp,i=n(function(){var e=r(`a`,`y`);return e.lastIndex=2,e.exec(`abcd`)!==null}),a=i||n(function(){return!r(`a`,`y`).sticky});t.exports={BROKEN_CARET:i||n(function(){var e=r(`^r`,`gy`);return e.lastIndex=2,e.exec(`str`)!==null}),MISSED_STICKY:a,UNSUPPORTED_Y:i}})),Iu=j(((e,t)=>{var n=H(),r=V().RegExp;t.exports=n(function(){var e=r(`.`,`s`);return!(e.dotAll&&e.test(`
4
4
  `)&&e.flags===`s`)})})),Lu=j(((e,t)=>{var n=H(),r=V().RegExp;t.exports=n(function(){var e=r(`(?<a>b)`,`g`);return e.exec(`b`).groups.a!==`b`||`b`.replace(e,`$<a>c`)!==`bc`})})),Ru=j((()=>{var e=U(),t=V(),n=G(),r=Jr(),i=qi(),a=Dr(),o=ti(),s=Wr().f,c=nr(),l=ju(),u=Zr(),d=Pu(),f=Fu(),p=Ki(),m=Fr(),h=H(),g=_r(),_=Nr().enforce,v=yo(),y=yr(),b=Iu(),x=Lu(),S=y(`match`),C=t.RegExp,w=C.prototype,T=t.SyntaxError,E=n(w.exec),D=n(``.charAt),O=n(``.replace),k=n(``.indexOf),A=n(``.slice),j=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,M=/a/g,N=/a/g,P=new C(M)!==M,F=f.MISSED_STICKY,I=f.UNSUPPORTED_Y,L=e&&(!P||F||b||x||h(function(){return N[S]=!1,C(M)!==M||C(N)===N||String(C(M,`i`))!==`/a/i`})),R=function(e){for(var t=e.length,n=0,r=``,i=!1,a;n<=t;n++){if(a=D(e,n),a===`\\`){r+=a+D(e,++n);continue}!i&&a===`.`?r+=`[\\s\\S]`:(a===`[`?i=!0:a===`]`&&(i=!1),r+=a)}return r},z=function(e){for(var t=e.length,n=0,r=``,i=[],a=o(null),s=!1,c=!1,l=0,u=``,d;n<=t;n++){if(d=D(e,n),d===`\\`)d+=D(e,++n);else if(d===`]`)s=!1;else if(!s)switch(!0){case d===`[`:s=!0;break;case d===`(`:if(r+=d,A(e,n+1,n+3)===`?:`)continue;E(j,A(e,n+1))&&(n+=2,c=!0),l++;continue;case d===`>`&&c:if(u===``||g(a,u))throw new T(`Invalid capture group name`);a[u]=!0,i[i.length]=[u,l],c=!1,u=``;continue}c?u+=d:r+=d}return[r,i]};if(r(`RegExp`,L)){for(var B=function(e,t){var n=c(w,this),r=l(e),o=t===void 0,s=[],f=e,p,m,h,g,v,y;if(!n&&r&&o&&e.constructor===B)return e;if((r||c(w,e))&&(e=e.source,o&&(t=d(f))),e=e===void 0?``:u(e),t=t===void 0?``:u(t),f=e,b&&`dotAll`in M&&(m=!!t&&k(t,`s`)>-1,m&&(t=O(t,/s/g,``))),p=t,F&&`sticky`in M&&(h=!!t&&k(t,`y`)>-1,h&&I&&(t=O(t,/y/g,``))),x&&(g=z(e),e=g[0],s=g[1]),v=i(C(e,t),n?this:w,B),(m||h||s.length)&&(y=_(v),m&&(y.dotAll=!0,y.raw=B(R(e),p)),h&&(y.sticky=!0),s.length&&(y.groups=s)),e!==f)try{a(v,`source`,f===``?`(?:)`:f)}catch{}return v},ee=s(C),te=0;ee.length>te;)p(B,C,ee[te++]);w.constructor=B,B.prototype=w,m(t,`RegExp`,B,{constructor:!0})}v(`RegExp`)})),zu=j(((e,t)=>{var n=TypeError;t.exports=function(e){if(typeof e==`string`)return e;throw new n(`Argument is not a string`)}})),Bu=j((()=>{var e=q(),t=G(),n=zu(),r=_r(),i=ms().start,a=Mc(),o=Array,s=RegExp.escape,c=t(``.charAt),l=t(``.charCodeAt),u=t(1.1.toString),d=t([].join),f=/^[0-9a-z]/i,p=/^[$()*+./?[\\\]^{|}]/,m=RegExp(`^[!"#%&',\\-:;<=>@\`~`+a+`]`),h=t(f.exec),g={" ":`t`,"\n":`n`,"\v":`v`,"\f":`f`,"\r":`r`},_=function(e){var t=u(l(e,0),16);return t.length<3?`\\x`+i(t,2,`0`):`\\u`+i(t,4,`0`)};e({target:`RegExp`,stat:!0,forced:!s||s(`ab`)!==`\\x61b`},{escape:function(e){n(e);for(var t=e.length,i=o(t),a=0;a<t;a++){var s=c(e,a);if(a===0&&h(f,s))i[a]=_(s);else if(r(g,s))i[a]=`\\`+g[s];else if(h(p,s))i[a]=`\\`+s;else if(h(m,s))i[a]=_(s);else{var u=l(s,0);(u&63488)==55296?u>=56320||a+1>=t||(l(e,a+1)&64512)!=56320?i[a]=_(s):(i[a]=s,i[++a]=c(e,a)):i[a]=s}}return d(i,``)}})})),Vu=j((()=>{var e=U(),t=Iu(),n=Jn(),r=ii(),i=Nr().get,a=RegExp.prototype,o=TypeError;e&&t&&r(a,`dotAll`,{configurable:!0,get:function(){if(this!==a){if(n(this)===`RegExp`)return!!i(this).dotAll;throw new o(`Incompatible receiver, RegExp required`)}}})})),Hu=j(((e,t)=>{var n=W(),r=G(),i=Zr(),a=Nu(),o=Fu(),s=hr(),c=ti(),l=Nr().get,u=Iu(),d=Lu(),f=s(`native-string-replace`,String.prototype.replace),p=RegExp.prototype.exec,m=p,h=r(``.charAt),g=r(``.indexOf),_=r(``.replace),v=r(``.slice),y=(function(){var e=/a/,t=/b*/g;return n(p,e,`a`),n(p,t,`a`),e.lastIndex!==0||t.lastIndex!==0})(),b=o.BROKEN_CARET,x=/()??/.exec(``)[1]!==void 0;(y||x||b||u||d)&&(m=function(e){var t=this,r=l(t),o=i(e),s=r.raw,u,d,S,C,w,T,E;if(s)return s.lastIndex=t.lastIndex,u=n(m,s,o),t.lastIndex=s.lastIndex,u;var D=r.groups,O=b&&t.sticky,k=n(a,t),A=t.source,j=0,M=o;if(O&&(k=_(k,`y`,``),g(k,`g`)===-1&&(k+=`g`),M=v(o,t.lastIndex),t.lastIndex>0&&(!t.multiline||t.multiline&&h(o,t.lastIndex-1)!==`
5
5
  `)&&(A=`(?: `+A+`)`,M=` `+M,j++),d=RegExp(`^(?:`+A+`)`,k)),x&&(d=RegExp(`^`+A+`$(?!\\s)`,k)),y&&(S=t.lastIndex),C=n(p,O?d:t,M),O?C?(C.input=v(C.input,j),C[0]=v(C[0],j),C.index=t.lastIndex,t.lastIndex+=C[0].length):t.lastIndex=0:y&&C&&(t.lastIndex=t.global?C.index+C[0].length:S),x&&C&&C.length>1&&n(f,C[0],d,function(){for(w=1;w<arguments.length-2;w++)arguments[w]===void 0&&(C[w]=void 0)}),C&&D)for(C.groups=T=c(null),w=0;w<D.length;w++)E=D[w],T[E[0]]=C[E[1]];return C}),t.exports=m})),Uu=j((()=>{var e=q(),t=Hu();e({target:`RegExp`,proto:!0,forced:/./.exec!==t},{exec:t})})),Wu=j((()=>{var e=U(),t=ii(),n=Mu(),r=Nu();e&&!n.correct&&(t(RegExp.prototype,`flags`,{configurable:!0,get:r}),n.correct=!0)})),Gu=j((()=>{var e=U(),t=Fu().MISSED_STICKY,n=Jn(),r=ii(),i=Nr().get,a=RegExp.prototype,o=TypeError;e&&t&&r(a,`sticky`,{configurable:!0,get:function(){if(this!==a){if(n(this)===`RegExp`)return!!i(this).sticky;throw new o(`Incompatible receiver, RegExp required`)}}})})),Ku=j((()=>{Uu();var e=q(),t=W(),n=$n(),r=K(),i=Zr(),a=function(){var e=!1,t=/[ac]/;return t.exec=function(){return e=!0,/./.exec.apply(this,arguments)},t.test(`abc`)===!0&&e}(),o=/./.test;e({target:`RegExp`,proto:!0,forced:!a},{test:function(e){var a=r(this),s=i(e),c=a.exec;if(!n(c))return t(o,a,s);var l=t(c,a,s);return l===null?!1:(r(l),!0)}})})),qu=j((()=>{var e=Or().PROPER,t=Fr(),n=K(),r=Zr(),i=H(),a=Pu(),o=`toString`,s=RegExp.prototype,c=s[o],l=i(function(){return c.call({source:`a`,flags:`b`})!==`/a/b`}),u=e&&c.name!==o;(l||u)&&t(s,o,function(){var e=n(this),t=r(e.source),i=r(a(e));return`/`+t+`/`+i},{unsafe:!0})})),Ju=j((()=>{nc()(`Set`,function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},rc())})),Yu=j((()=>{Ju()})),Xu=j(((e,t)=>{var n=G(),r=Set.prototype;t.exports={Set,add:n(r.add),has:n(r.has),remove:n(r.delete),proto:r}})),Zu=j(((e,t)=>{var n=Xu().has;t.exports=function(e){return n(e),e}})),Qu=j(((e,t)=>{var n=W();t.exports=function(e,t,r){for(var i=r?e:e.iterator,a=e.next,o,s;!(o=n(a,i)).done;)if(s=t(o.value),s!==void 0)return s}})),$u=j(((e,t)=>{var n=G(),r=Qu(),i=Xu(),a=i.Set,o=i.proto,s=n(o.forEach),c=n(o.keys),l=c(new a).next;t.exports=function(e,t,n){return n?r({iterator:c(e),next:l},t):s(e,t)}})),ed=j(((e,t)=>{var n=Xu(),r=$u(),i=n.Set,a=n.add;t.exports=function(e){var t=new i;return r(e,function(e){a(t,e)}),t}})),td=j(((e,t)=>{t.exports=Hi()(Xu().proto,`size`,`get`)||function(e){return e.size}})),nd=j(((e,t)=>{var n=lr(),r=K(),i=W(),a=Lr(),o=js(),s=`Invalid size`,c=RangeError,l=TypeError,u=Math.max,d=function(e,t){this.set=e,this.size=u(t,0),this.has=n(e.has),this.keys=n(e.keys)};d.prototype={getIterator:function(){return o(r(i(this.keys,this.set)))},includes:function(e){return i(this.has,this.set,e)}},t.exports=function(e){r(e);var t=+e.size;if(t!==t)throw new l(s);var n=a(t);if(n<0)throw new c(s);return new d(e,n)}})),rd=j(((e,t)=>{var n=Zu(),r=Xu(),i=ed(),a=td(),o=nd(),s=$u(),c=Qu(),l=r.has,u=r.remove;t.exports=function(e){var t=n(this),r=o(e),d=i(t);return a(t)<=r.size?s(t,function(e){r.includes(e)&&u(d,e)}):c(r.getIterator(),function(e){l(d,e)&&u(d,e)}),d}})),id=j(((e,t)=>{var n=tr(),r=function(e){return{size:e,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},i=function(e){return{size:e,has:function(){return!0},keys:function(){throw Error(`e`)}}};t.exports=function(e,t){var a=n(`Set`);try{new a()[e](r(0));try{return new a()[e](r(-1)),!1}catch{if(!t)return!0;try{return new a()[e](i(-1/0)),!1}catch{var o=new a;return o.add(1),o.add(2),t(o[e](i(1/0)))}}}catch{return!1}}})),ad=j((()=>{var e=q(),t=rd(),n=H();e({target:`Set`,proto:!0,real:!0,forced:!id()(`difference`,function(e){return e.size===0})||n(function(){var e={size:1,has:function(){return!0},keys:function(){var e=0;return{next:function(){var n=e++>1;return t.has(1)&&t.clear(),{done:n,value:2}}}}},t=new Set([1,2,3,4]);return t.difference(e).size!==3})},{difference:t})})),od=j(((e,t)=>{var n=Zu(),r=Xu(),i=td(),a=nd(),o=$u(),s=Qu(),c=r.Set,l=r.add,u=r.has;t.exports=function(e){var t=n(this),r=a(e),d=new c;return i(t)>r.size?s(r.getIterator(),function(e){u(t,e)&&l(d,e)}):o(t,function(e){r.includes(e)&&l(d,e)}),d}})),sd=j((()=>{var e=q(),t=H(),n=od();e({target:`Set`,proto:!0,real:!0,forced:!id()(`intersection`,function(e){return e.size===2&&e.has(1)&&e.has(2)})||t(function(){return String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))!==`3,2`})},{intersection:n})})),cd=j(((e,t)=>{var n=Zu(),r=Xu().has,i=td(),a=nd(),o=$u(),s=Qu(),c=ua();t.exports=function(e){var t=n(this),l=a(e);if(i(t)<=l.size)return o(t,function(e){if(l.includes(e))return!1},!0)!==!1;var u=l.getIterator();return s(u,function(e){if(r(t,e))return c(u,`normal`,!1)})!==!1}})),ld=j((()=>{var e=q(),t=cd();e({target:`Set`,proto:!0,real:!0,forced:!id()(`isDisjointFrom`,function(e){return!e})},{isDisjointFrom:t})})),ud=j(((e,t)=>{var n=Zu(),r=td(),i=$u(),a=nd();t.exports=function(e){var t=n(this),o=a(e);return r(t)>o.size?!1:i(t,function(e){if(!o.includes(e))return!1},!0)!==!1}})),dd=j((()=>{var e=q(),t=ud();e({target:`Set`,proto:!0,real:!0,forced:!id()(`isSubsetOf`,function(e){return e})},{isSubsetOf:t})})),fd=j(((e,t)=>{var n=Zu(),r=Xu().has,i=td(),a=nd(),o=Qu(),s=ua();t.exports=function(e){var t=n(this),c=a(e);if(i(t)<c.size)return!1;var l=c.getIterator();return o(l,function(e){if(!r(t,e))return s(l,`normal`,!1)})!==!1}})),pd=j((()=>{var e=q(),t=fd();e({target:`Set`,proto:!0,real:!0,forced:!id()(`isSupersetOf`,function(e){return!e})},{isSupersetOf:t})})),md=j(((e,t)=>{var n=Zu(),r=Xu(),i=ed(),a=nd(),o=Qu(),s=r.add,c=r.has,l=r.remove;t.exports=function(e){var t=n(this),r=a(e).getIterator(),u=i(t);return o(r,function(e){c(t,e)?l(u,e):s(u,e)}),u}})),hd=j(((e,t)=>{t.exports=function(e){try{var t=new Set,n=t[e]({size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},`next`,{get:function(){return t.clear(),t.add(4),function(){return{done:!0}}}})}});return n.size===1&&n.values().next().value===4}catch{return!1}}})),gd=j((()=>{var e=q(),t=md(),n=hd();e({target:`Set`,proto:!0,real:!0,forced:!id()(`symmetricDifference`)||!n(`symmetricDifference`)},{symmetricDifference:t})})),_d=j(((e,t)=>{var n=Zu(),r=Xu().add,i=ed(),a=nd(),o=Qu();t.exports=function(e){var t=n(this),s=a(e).getIterator(),c=i(t);return o(s,function(e){r(c,e)}),c}})),vd=j((()=>{var e=q(),t=_d(),n=hd();e({target:`Set`,proto:!0,real:!0,forced:!id()(`union`)||!n(`union`)},{union:t})})),yd=j((()=>{var e=q(),t=G(),n=Zn(),r=Lr(),i=Zr(),a=H(),o=t(``.charAt);e({target:`String`,proto:!0,forced:a(function(){return`𠮷`.at(-2)!==`\ud842`})},{at:function(e){var t=i(n(this)),a=t.length,s=r(e),c=s>=0?s:a+s;return c<0||c>=a?void 0:o(t,c)}})})),bd=j(((e,t)=>{var n=G(),r=Lr(),i=Zr(),a=Zn(),o=n(``.charAt),s=n(``.charCodeAt),c=n(``.slice),l=function(e){return function(t,n){var l=i(a(t)),u=r(n),d=l.length,f,p;return u<0||u>=d?e?``:void 0:(f=s(l,u),f<55296||f>56319||u+1===d||(p=s(l,u+1))<56320||p>57343?e?o(l,u):f:e?c(l,u,u+2):(f-55296<<10)+(p-56320)+65536)}};t.exports={codeAt:l(!1),charAt:l(!0)}})),xd=j((()=>{var e=q(),t=bd().codeAt;e({target:`String`,proto:!0},{codePointAt:function(e){return t(this,e)}})})),Sd=j(((e,t)=>{var n=ju(),r=TypeError;t.exports=function(e){if(n(e))throw new r(`The method doesn't accept regular expressions`);return e}})),Cd=j(((e,t)=>{var n=yr()(`match`);t.exports=function(e){var t=/./;try{`/./`[e](t)}catch{try{return t[n]=!1,`/./`[e](t)}catch{}}return!1}})),wd=j((()=>{var e=q(),t=ui(),n=wr().f,r=zr(),i=Zr(),a=Sd(),o=Zn(),s=Cd(),c=fr(),l=t(``.slice),u=Math.min,d=s(`endsWith`);e({target:`String`,proto:!0,forced:!(!c&&!d&&function(){var e=n(String.prototype,`endsWith`);return e&&!e.writable}())&&!d},{endsWith:function(e){var t=i(o(this));a(e);var n=arguments.length>1?arguments[1]:void 0,s=t.length,c=n===void 0?s:u(r(n),s),d=i(e);return l(t,c-d.length,c)===d}})})),Td=j((()=>{var e=q(),t=G(),n=Rr(),r=RangeError,i=String.fromCharCode,a=String.fromCodePoint,o=t([].join);e({target:`String`,stat:!0,arity:1,forced:!!a&&a.length!==1},{fromCodePoint:function(e){for(var t=[],a=arguments.length,s=0,c;a>s;){if(c=+arguments[s++],n(c,1114111)!==c)throw new r(c+` is not a valid code point`);t[s]=c<65536?i(c):i(((c-=65536)>>10)+55296,c%1024+56320)}return o(t,``)}})})),Ed=j((()=>{var e=q(),t=G(),n=Sd(),r=Zn(),i=Zr(),a=Cd(),o=t(``.indexOf);e({target:`String`,proto:!0,forced:!a(`includes`)},{includes:function(e){return!!~o(i(r(this)),i(n(e)),arguments.length>1?arguments[1]:void 0)}})})),Dd=j((()=>{var e=q(),t=G(),n=Zn(),r=Zr(),i=t(``.charCodeAt);e({target:`String`,proto:!0},{isWellFormed:function(){for(var e=r(n(this)),t=e.length,a=0;a<t;a++){var o=i(e,a);if((o&63488)==55296&&(o>=56320||++a>=t||(i(e,a)&64512)!=56320))return!1}return!0}})})),Od=j((()=>{var e=bd().charAt,t=Zr(),n=Nr(),r=Ya(),i=Xa(),a=`String Iterator`,o=n.set,s=n.getterFor(a);r(String,`String`,function(e){o(this,{type:a,string:t(e),index:0})},function(){var t=s(this),n=t.string,r=t.index,a;return r>=n.length?i(void 0,!0):(a=e(n,r),t.index+=a.length,i(a,!1))})})),kd=j(((e,t)=>{Uu();var n=W(),r=Fr(),i=Hu(),a=H(),o=yr(),s=Dr(),c=o(`species`),l=RegExp.prototype;t.exports=function(e,t,u,d){var f=o(e),p=!a(function(){var t={};return t[f]=function(){return 7},``[e](t)!==7}),m=p&&!a(function(){var t=!1,n=/a/;return e===`split`&&(n={},n.constructor={},n.constructor[c]=function(){return n},n.flags=``,n[f]=/./[f]),n.exec=function(){return t=!0,null},n[f](``),!t});if(!p||!m||u){var h=/./[f],g=t(f,``[e],function(e,t,r,a,o){var s=t.exec;return s===i||s===l.exec?p&&!o?{done:!0,value:n(h,t,r,a)}:{done:!0,value:n(e,r,t,a)}:{done:!1}});r(String.prototype,e,g[0]),r(l,f,g[1])}d&&s(l[f],`sham`,!0)}})),Ad=j(((e,t)=>{var n=bd().charAt;t.exports=function(e,t,r){return t+(r?n(e,t).length:1)}})),jd=j(((e,t)=>{var n=W(),r=K(),i=$n(),a=Jn(),o=Hu(),s=TypeError;t.exports=function(e,t){var c=e.exec;if(i(c)){var l=n(c,e,t);return l!==null&&r(l),l}if(a(e)===`RegExp`)return n(o,e,t);throw new s(`RegExp#exec called on incompatible receiver`)}})),Md=j((()=>{var e=W(),t=G(),n=kd(),r=K(),i=er(),a=zr(),o=Zr(),s=Zn(),c=ur(),l=Ad(),u=Pu(),d=jd(),f=t(``.indexOf);n(`match`,function(t,n,p){return[function(n){var r=s(this),a=i(n)?c(n,t):void 0;return a?e(a,n,r):new RegExp(n)[t](o(r))},function(e){var t=r(this),i=o(e),s=p(n,t,i);if(s.done)return s.value;var c=o(u(t));if(f(c,`g`)===-1)return d(t,i);var m=f(c,`u`)!==-1;t.lastIndex=0;for(var h=[],g=0,_;(_=d(t,i))!==null;){var v=o(_[0]);h[g]=v,v===``&&(t.lastIndex=l(i,a(t.lastIndex),m)),g++}return g===0?null:h}]})})),Nd=j((()=>{var e=q(),t=W(),n=ui(),r=Ja(),i=Xa(),a=Zn(),o=zr(),s=Zr(),c=K(),l=er(),u=Jn(),d=ju(),f=Pu(),p=ur(),m=Fr(),h=H(),g=yr(),_=Nl(),v=Ad(),y=jd(),b=Nr(),x=fr(),S=g(`matchAll`),C=`RegExp String`,w=C+` Iterator`,T=b.set,E=b.getterFor(w),D=RegExp.prototype,O=TypeError,k=n(``.indexOf),A=n(``.matchAll),j=!!A&&!h(function(){A(`a`,/./)}),M=r(function(e,t,n,r){T(this,{type:w,regexp:e,string:t,global:n,unicode:r,done:!1})},C,function(){var e=E(this);if(e.done)return i(void 0,!0);var t=e.regexp,n=e.string,r=y(t,n);return r===null?(e.done=!0,i(void 0,!0)):e.global?(s(r[0])===``&&(t.lastIndex=v(n,o(t.lastIndex),e.unicode)),i(r,!1)):(e.done=!0,i(r,!1))}),N=function(e){var t=c(this),n=s(e),r=_(t,RegExp),i=s(f(t)),a=new r(r===RegExp?t.source:t,i),l=!!~k(i,`g`),u=!!~k(i,`u`);return a.lastIndex=o(t.lastIndex),new M(a,n,l,u)};e({target:`String`,proto:!0,forced:j},{matchAll:function(e){var n=a(this),r,i,o,c;if(l(e)){if(d(e)&&(r=s(a(f(e))),!~k(r,`g`)))throw new O("`.matchAll` does not allow non-global regexes");if(j)return A(n,e);if(o=p(e,S),o===void 0&&x&&u(e)===`RegExp`&&(o=N),o)return t(o,e,n)}else if(j)return A(n,e);return i=s(n),c=new RegExp(e,`g`),x?t(N,c,i):c[S](i)}}),x||S in D||m(D,S,N)})),Pd=j(((e,t)=>{var n=rr();t.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(n)})),Fd=j((()=>{var e=q(),t=ms().end;e({target:`String`,proto:!0,forced:Pd()},{padEnd:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}})})),Id=j((()=>{var e=q(),t=ms().start;e({target:`String`,proto:!0,forced:Pd()},{padStart:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}})})),Ld=j((()=>{var e=q(),t=G(),n=Qn(),r=gr(),i=Zr(),a=Br(),o=t([].push),s=t([].join);e({target:`String`,stat:!0},{raw:function(e){var t=n(r(e).raw),c=a(t);if(!c)return``;for(var l=arguments.length,u=[],d=0;;){if(o(u,i(t[d++])),d===c)return s(u,``);d<l&&o(u,i(arguments[d]))}}})})),Rd=j((()=>{q()({target:`String`,proto:!0},{repeat:ps()})})),zd=j(((e,t)=>{var n=G(),r=gr(),i=Math.floor,a=n(``.charAt),o=n(``.replace),s=n(``.slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;t.exports=function(e,t,n,u,d,f){var p=n+e.length,m=u.length,h=l;return d!==void 0&&(d=r(d),h=c),o(f,h,function(r,o){var c;switch(a(o,0)){case`$`:return`$`;case`&`:return e;case"`":return s(t,0,n);case`'`:return s(t,p);case`<`:c=d[s(o,1,-1)];break;default:var l=+o;if(l===0)return r;if(l>m){var f=i(l/10);return f===0?r:f<=m?u[f-1]===void 0?a(o,1):u[f-1]+a(o,1):r}c=u[l-1]}return c===void 0?``:c})}})),Bd=j((()=>{var e=xi(),t=W(),n=G(),r=kd(),i=H(),a=K(),o=$n(),s=er(),c=Lr(),l=zr(),u=Zr(),d=Zn(),f=Ad(),p=ur(),m=zd(),h=Pu(),g=jd(),_=yr()(`replace`),v=Math.max,y=Math.min,b=n([].concat),x=n([].push),S=n(``.indexOf),C=n(``.slice),w=function(e){return e===void 0?e:String(e)},T=(function(){return`a`.replace(/./,`$0`)===`$0`})(),E=(function(){return/./[_]?/./[_](`a`,`$0`)===``:!1})();r(`replace`,function(n,r,i){var T=E?`$`:`$0`;return[function(e,n){var i=d(this),a=s(e)?p(e,_):void 0;return a?t(a,e,i,n):t(r,u(i),e,n)},function(t,n){var s=a(this),d=u(t);if(typeof n==`string`&&S(n,T)===-1&&S(n,`$<`)===-1){var p=i(r,s,d,n);if(p.done)return p.value}var _=o(n);_||(n=u(n));var E=u(h(s)),D=S(E,`g`)!==-1,O;D&&(O=S(E,`u`)!==-1,s.lastIndex=0);for(var k=[],A;A=g(s,d),!(A===null||(x(k,A),!D));)u(A[0])===``&&(s.lastIndex=f(d,l(s.lastIndex),O));for(var j=``,M=0,N=0;N<k.length;N++){A=k[N];for(var P=u(A[0]),F=v(y(c(A.index),d.length),0),I=[],L,R=1;R<A.length;R++)x(I,w(A[R]));var z=A.groups;if(_){var B=b([P],I,F,d);z!==void 0&&x(B,z),L=u(e(n,void 0,B))}else L=m(P,d,F,I,z,n);F>=M&&(j+=C(d,M,F)+L,M=F+P.length)}return j+C(d,M)}]},!!i(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:`7`},e},``.replace(e,`$<a>`)!==`7`})||!T||E)})),Vd=j((()=>{var e=q(),t=W(),n=G(),r=Zn(),i=$n(),a=er(),o=ju(),s=Zr(),c=ur(),l=Pu(),u=zd(),d=yr(),f=fr(),p=d(`replace`),m=TypeError,h=n(``.indexOf),g=n(``.replace),_=n(``.slice),v=Math.max;e({target:`String`,proto:!0},{replaceAll:function(e,n){var d=r(this),y,b,x,S,C,w,T,E,D,O,k=0,A=``;if(a(e)){if(y=o(e),y&&(b=s(r(l(e))),!~h(b,`g`)))throw new m("`.replaceAll` does not allow non-global regexes");if(x=c(e,p),x)return t(x,e,d,n);if(f&&y)return g(s(d),e,n)}for(S=s(d),C=s(e),w=i(n),w||(n=s(n)),T=C.length,E=v(1,T),D=h(S,C);D!==-1;)O=w?s(n(C,D,S)):u(C,S,D,[],void 0,n),A+=_(S,k,D)+O,k=D+T,D=D+E>S.length?-1:h(S,C,D+E);return k<S.length&&(A+=_(S,k)),A}})})),Hd=j((()=>{var e=W(),t=kd(),n=K(),r=er(),i=Zn(),a=hl(),o=Zr(),s=ur(),c=jd();t(`search`,function(t,l,u){return[function(n){var a=i(this),c=r(n)?s(n,t):void 0;return c?e(c,n,a):new RegExp(n)[t](o(a))},function(e){var t=n(this),r=o(e),i=u(l,t,r);if(i.done)return i.value;var s=t.lastIndex;a(s,0)||(t.lastIndex=0);var d=c(t,r);return a(t.lastIndex,s)||(t.lastIndex=s),d===null?-1:d.index}]})})),Ud=j((()=>{var e=W(),t=G(),n=kd(),r=K(),i=er(),a=Zn(),o=Nl(),s=Ad(),c=zr(),l=Zr(),u=ur(),d=jd(),f=Fu(),p=H(),m=f.UNSUPPORTED_Y,h=4294967295,g=Math.min,_=t([].push),v=t(``.slice),y=!p(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n=`ab`.split(e);return n.length!==2||n[0]!==`a`||n[1]!==`b`}),b=`abbc`.split(/(b)*/)[1]===`c`||`test`.split(/(?:)/,-1).length!==4||`ab`.split(/(?:ab)*/).length!==2||`.`.split(/(.?)(.?)/).length!==4||`.`.split(/()()/).length>1||``.split(/.?/).length;n(`split`,function(t,n,f){var p=`0`.split(void 0,0).length?function(t,r){return t===void 0&&r===0?[]:e(n,this,t,r)}:n;return[function(n,r){var o=a(this),s=i(n)?u(n,t):void 0;return s?e(s,n,o,r):e(p,l(o),n,r)},function(e,t){var i=r(this),a=l(e);if(!b){var u=f(p,i,a,t,p!==n);if(u.done)return u.value}var y=o(i,RegExp),x=i.unicode,S=(i.ignoreCase?`i`:``)+(i.multiline?`m`:``)+(i.unicode?`u`:``)+(m?`g`:`y`),C=new y(m?`^(?:`+i.source+`)`:i,S),w=t===void 0?h:t>>>0;if(w===0)return[];if(a.length===0)return d(C,a)===null?[a]:[];for(var T=0,E=0,D=[];E<a.length;){C.lastIndex=m?0:E;var O=d(C,m?v(a,E):a),k;if(O===null||(k=g(c(C.lastIndex+(m?E:0)),a.length))===T)E=s(a,E,x);else{if(_(D,v(a,T,E)),D.length===w)return D;for(var A=1;A<=O.length-1;A++)if(_(D,O[A]),D.length===w)return D;E=T=k}}return _(D,v(a,T)),D}]},b||!y,m)})),Wd=j((()=>{var e=q(),t=ui(),n=wr().f,r=zr(),i=Zr(),a=Sd(),o=Zn(),s=Cd(),c=fr(),l=t(``.slice),u=Math.min,d=s(`startsWith`);e({target:`String`,proto:!0,forced:!(!c&&!d&&function(){var e=n(String.prototype,`startsWith`);return e&&!e.writable}())&&!d},{startsWith:function(e){var t=i(o(this));a(e);var n=r(u(arguments.length>1?arguments[1]:void 0,t.length)),s=i(e);return l(t,n,n+s.length)===s}})})),Gd=j((()=>{var e=q(),t=G(),n=Zn(),r=Lr(),i=Zr(),a=t(``.slice),o=Math.max,s=Math.min;e({target:`String`,proto:!0,forced:!``.substr||`ab`.substr(-1)!==`b`},{substr:function(e,t){var c=i(n(this)),l=c.length,u=r(e),d,f;return u===1/0&&(u=0),u<0&&(u=o(l+u,0)),d=t===void 0?l:r(t),d<=0||d===1/0?``:(f=s(u+d,l),u>=f?``:a(c,u,f))}})})),Kd=j((()=>{var e=q(),t=W(),n=G(),r=Zn(),i=Zr(),a=H(),o=Array,s=n(``.charAt),c=n(``.charCodeAt),l=n([].join),u=``.toWellFormed,d=`�`,f=u&&a(function(){return t(u,1)!==`1`});e({target:`String`,proto:!0,forced:f},{toWellFormed:function(){var e=i(r(this));if(f)return t(u,e);for(var n=e.length,a=o(n),p=0;p<n;p++){var m=c(e,p);(m&63488)==55296?m>=56320||p+1>=n||(c(e,p+1)&64512)!=56320?a[p]=d:(a[p]=s(e,p),a[++p]=s(e,p)):a[p]=s(e,p)}return l(a,``)}})})),qd=j(((e,t)=>{var n=Or().PROPER,r=H(),i=Mc(),a=`​…᠎`;t.exports=function(e){return r(function(){return!!i[e]()||a[e]()!==a||n&&i[e].name!==e})}})),Jd=j((()=>{var e=q(),t=Nc().trim;e({target:`String`,proto:!0,forced:qd()(`trim`)},{trim:function(){return t(this)}})})),Yd=j(((e,t)=>{var n=Nc().end;t.exports=qd()(`trimEnd`)?function(){return n(this)}:``.trimEnd})),Xd=j((()=>{var e=q(),t=Yd();e({target:`String`,proto:!0,name:`trimEnd`,forced:``.trimRight!==t},{trimRight:t})})),Zd=j((()=>{Xd();var e=q(),t=Yd();e({target:`String`,proto:!0,name:`trimEnd`,forced:``.trimEnd!==t},{trimEnd:t})})),Qd=j(((e,t)=>{var n=Nc().start;t.exports=qd()(`trimStart`)?function(){return n(this)}:``.trimStart})),$d=j((()=>{var e=q(),t=Qd();e({target:`String`,proto:!0,name:`trimStart`,forced:``.trimLeft!==t},{trimLeft:t})})),ef=j((()=>{$d();var e=q(),t=Qd();e({target:`String`,proto:!0,name:`trimStart`,forced:``.trimStart!==t},{trimStart:t})})),tf=j(((e,t)=>{var n=G(),r=Zn(),i=Zr(),a=/"/g,o=n(``.replace);t.exports=function(e,t,n,s){var c=i(r(e)),l=`<`+t;return n!==``&&(l+=` `+n+`="`+o(i(s),a,`&quot;`)+`"`),l+`>`+c+`</`+t+`>`}})),nf=j(((e,t)=>{var n=H();t.exports=function(e){return n(function(){var t=``[e](`"`);return t!==t.toLowerCase()||t.split(`"`).length>3})}})),rf=j((()=>{var e=q(),t=tf();e({target:`String`,proto:!0,forced:nf()(`anchor`)},{anchor:function(e){return t(this,`a`,`name`,e)}})})),af=j((()=>{var e=q(),t=tf();e({target:`String`,proto:!0,forced:nf()(`big`)},{big:function(){return t(this,`big`,``,``)}})})),of=j((()=>{var e=q(),t=tf();e({target:`String`,proto:!0,forced:nf()(`blink`)},{blink:function(){return t(this,`blink`,``,``)}})})),sf=j((()=>{var e=q(),t=tf();e({target:`String`,proto:!0,forced:nf()(`bold`)},{bold:function(){return t(this,`b`,``,``)}})})),cf=j((()=>{var e=q(),t=tf();e({target:`String`,proto:!0,forced:nf()(`fixed`)},{fixed:function(){return t(this,`tt`,``,``)}})})),lf=j((()=>{var e=q(),t=tf();e({target:`String`,proto:!0,forced:nf()(`fontcolor`)},{fontcolor:function(e){return t(this,`font`,`color`,e)}})})),uf=j((()=>{var e=q(),t=tf();e({target:`String`,proto:!0,forced:nf()(`fontsize`)},{fontsize:function(e){return t(this,`font`,`size`,e)}})})),df=j((()=>{var e=q(),t=tf();e({target:`String`,proto:!0,forced:nf()(`italics`)},{italics:function(){return t(this,`i`,``,``)}})})),ff=j((()=>{var e=q(),t=tf();e({target:`String`,proto:!0,forced:nf()(`link`)},{link:function(e){return t(this,`a`,`href`,e)}})})),pf=j((()=>{var e=q(),t=tf();e({target:`String`,proto:!0,forced:nf()(`small`)},{small:function(){return t(this,`small`,``,``)}})})),mf=j((()=>{var e=q(),t=tf();e({target:`String`,proto:!0,forced:nf()(`strike`)},{strike:function(){return t(this,`strike`,``,``)}})})),hf=j((()=>{var e=q(),t=tf();e({target:`String`,proto:!0,forced:nf()(`sub`)},{sub:function(){return t(this,`sub`,``,``)}})})),gf=j((()=>{var e=q(),t=tf();e({target:`String`,proto:!0,forced:nf()(`sup`)},{sup:function(){return t(this,`sup`,``,``)}})})),_f=j(((e,t)=>{var n=V(),r=H(),i=Ha(),a=Wo().NATIVE_ARRAY_BUFFER_VIEWS,o=n.ArrayBuffer,s=n.Int8Array;t.exports=!a||!r(function(){s(1)})||!r(function(){new s(-1)})||!i(function(e){new s,new s(null),new s(1.5),new s(e)},!0)||r(function(){return new s(new o(2),1,void 0).length!==1})})),vf=j(((e,t)=>{var n=Ns(),r=RangeError;t.exports=function(e,t){var i=n(e);if(i%t)throw new r(`Wrong offset`);return i}})),yf=j(((e,t)=>{var n=Math.round;t.exports=function(e){var t=n(e);return t<0?0:t>255?255:t&255}})),bf=j(((e,t)=>{var n=Xr();t.exports=function(e){var t=n(e);return t===`BigInt64Array`||t===`BigUint64Array`}})),xf=j(((e,t)=>{var n=br(),r=TypeError;t.exports=function(e){var t=n(e,`number`);if(typeof t==`number`)throw new r(`Can't convert number to bigint`);return BigInt(t)}})),Sf=j(((e,t)=>{var n=di(),r=W(),i=Ml(),a=gr(),o=Br(),s=la(),c=ca(),l=sa(),u=bf(),d=Wo().aTypedArrayConstructor,f=xf();t.exports=function(e){var t=i(this),p=a(e),m=arguments.length,h=m>1?arguments[1]:void 0,g=h!==void 0,_=c(p),v,y,b,x,S,C,w,T;if(_&&!l(_))for(w=s(p,_),T=w.next,p=[];!(C=r(T,w)).done;)p.push(C.value);for(g&&m>2&&(h=n(h,arguments[2])),y=o(p),b=new(d(t))(y),x=u(b),v=0;y>v;v++)S=g?h(p[v],v):p[v],b[v]=x?f(S):+S;return b}})),Cf=j(((e,t)=>{var n=q(),r=V(),i=W(),a=U(),o=_f(),s=Wo(),c=Ho(),l=Fo(),u=qn(),d=Dr(),f=Rc(),p=zr(),m=Io(),h=vf(),g=yf(),_=xr(),v=_r(),y=Xr(),b=er(),x=sr(),S=ti(),C=nr(),w=Gi(),T=Wr().f,E=Sf(),D=gi().forEach,O=yo(),k=ii(),A=Er(),j=wr(),M=wo(),N=Nr(),P=qi(),F=N.get,I=N.set,L=N.enforce,R=A.f,z=j.f,B=r.RangeError,ee=c.ArrayBuffer,te=ee.prototype,ne=c.DataView,re=s.NATIVE_ARRAY_BUFFER_VIEWS,ie=s.TYPED_ARRAY_TAG,ae=s.TypedArray,oe=s.TypedArrayPrototype,se=s.isTypedArray,ce=`BYTES_PER_ELEMENT`,le=`Wrong length`,ue=function(e,t){k(e,t,{configurable:!0,get:function(){return F(this)[t]}})},de=function(e){var t;return C(te,e)||(t=y(e))===`ArrayBuffer`||t===`SharedArrayBuffer`},fe=function(e,t){return se(e)&&!x(t)&&t in e&&f(+t)&&t>=0},pe=function(e,t){return t=_(t),fe(e,t)?u(2,e[t]):z(e,t)},me=function(e,t,n){return t=_(t),fe(e,t)&&b(n)&&v(n,`value`)&&!v(n,`get`)&&!v(n,`set`)&&!n.configurable&&(!v(n,`writable`)||n.writable)&&(!v(n,`enumerable`)||n.enumerable)?(e[t]=n.value,e):R(e,t,n)};a?(re||(j.f=pe,A.f=me,ue(oe,`buffer`),ue(oe,`byteOffset`),ue(oe,`byteLength`),ue(oe,`length`)),n({target:`Object`,stat:!0,forced:!re},{getOwnPropertyDescriptor:pe,defineProperty:me}),t.exports=function(e,t,a){var s=e.match(/\d+/)[0]/8,c=e+(a?`Clamped`:``)+`Array`,u=`get`+e,f=`set`+e,_=r[c],v=_,y=v&&v.prototype,x={},C=function(e,t){var n=F(e);return n.view[u](t*s+n.byteOffset,!0)},k=function(e,t,n){var r=F(e);r.view[f](t*s+r.byteOffset,a?g(n):n,!0)},A=function(e,t){R(e,t,{get:function(){return C(this,t)},set:function(e){return k(this,t,e)},enumerable:!0})};re?o&&(v=t(function(e,t,n,r){return l(e,y),P(function(){return b(t)?de(t)?r===void 0?n===void 0?new _(t):new _(t,h(n,s)):new _(t,h(n,s),r):se(t)?M(v,t):i(E,v,t):new _(m(t))}(),e,v)}),w&&w(v,ae),D(T(_),function(e){e in v||d(v,e,_[e])}),v.prototype=y):(v=t(function(e,t,n,r){l(e,y);var a=0,o=0,c,u,d;if(!b(t))d=m(t),u=d*s,c=new ee(u);else if(de(t)){c=t,o=h(n,s);var f=t.byteLength;if(r===void 0){if(f%s||(u=f-o,u<0))throw new B(le)}else if(u=p(r)*s,u+o>f)throw new B(le);d=u/s}else if(se(t))return M(v,t);else return i(E,v,t);for(I(e,{buffer:c,byteOffset:o,byteLength:u,length:d,view:new ne(c)});a<d;)A(e,a++)}),w&&w(v,ae),y=v.prototype=S(oe)),y.constructor!==v&&d(y,`constructor`,v),L(y).TypedArrayConstructor=v,ie&&d(y,ie,c);var j=v!==_;x[c]=v,n({global:!0,constructor:!0,forced:j,sham:!re},x),ce in v||d(v,ce,s),ce in y||d(y,ce,s),O(c)}):t.exports=function(){}})),wf=j((()=>{Cf()(`Float32`,function(e){return function(t,n,r){return e(this,t,n,r)}})})),Tf=j((()=>{Cf()(`Float64`,function(e){return function(t,n,r){return e(this,t,n,r)}})})),Ef=j((()=>{Cf()(`Int8`,function(e){return function(t,n,r){return e(this,t,n,r)}})})),Df=j((()=>{Cf()(`Int16`,function(e){return function(t,n,r){return e(this,t,n,r)}})})),Of=j((()=>{Cf()(`Int32`,function(e){return function(t,n,r){return e(this,t,n,r)}})})),kf=j((()=>{Cf()(`Uint8`,function(e){return function(t,n,r){return e(this,t,n,r)}})})),Af=j((()=>{Cf()(`Uint8`,function(e){return function(t,n,r){return e(this,t,n,r)}},!0)})),jf=j((()=>{Cf()(`Uint16`,function(e){return function(t,n,r){return e(this,t,n,r)}})})),Mf=j((()=>{Cf()(`Uint32`,function(e){return function(t,n,r){return e(this,t,n,r)}})})),Nf=j((()=>{var e=Wo(),t=Br(),n=Lr(),r=e.aTypedArray,i=e.exportTypedArrayMethod;i(`at`,function(e){var i=r(this),a=t(i),o=n(e),s=o>=0?o:a+o;return s<0||s>=a?void 0:i[s]})})),Pf=j((()=>{var e=G(),t=Wo(),n=e(Ca()),r=t.aTypedArray,i=t.exportTypedArrayMethod;i(`copyWithin`,function(e,t){return n(r(this),e,t,arguments.length>2?arguments[2]:void 0)})})),Ff=j((()=>{var e=Wo(),t=gi().every,n=e.aTypedArray,r=e.exportTypedArrayMethod;r(`every`,function(e){return t(n(this),e,arguments.length>1?arguments[1]:void 0)})})),If=j((()=>{var e=Wo(),t=Da(),n=xf(),r=Xr(),i=W(),a=G(),o=H(),s=e.aTypedArray,c=e.exportTypedArrayMethod,l=a(``.slice);c(`fill`,function(e){var a=arguments.length;s(this);var o=l(r(this),0,3)===`Big`?n(e):+e;return i(t,this,o,a>1?arguments[1]:void 0,a>2?arguments[2]:void 0)},o(function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),e!==1}))})),Lf=j(((e,t)=>{var n=wo(),r=Wo().getTypedArrayConstructor;t.exports=function(e,t){return n(r(e),t)}})),Rf=j((()=>{var e=Wo(),t=gi().filter,n=Lf(),r=e.aTypedArray,i=e.exportTypedArrayMethod;i(`filter`,function(e){var i=t(r(this),e,arguments.length>1?arguments[1]:void 0);return n(this,i)})})),zf=j((()=>{var e=Wo(),t=gi().find,n=e.aTypedArray,r=e.exportTypedArrayMethod;r(`find`,function(e){return t(n(this),e,arguments.length>1?arguments[1]:void 0)})})),Bf=j((()=>{var e=Wo(),t=gi().findIndex,n=e.aTypedArray,r=e.exportTypedArrayMethod;r(`findIndex`,function(e){return t(n(this),e,arguments.length>1?arguments[1]:void 0)})})),Vf=j((()=>{var e=Wo(),t=Ma().findLast,n=e.aTypedArray,r=e.exportTypedArrayMethod;r(`findLast`,function(e){return t(n(this),e,arguments.length>1?arguments[1]:void 0)})})),Hf=j((()=>{var e=Wo(),t=Ma().findLastIndex,n=e.aTypedArray,r=e.exportTypedArrayMethod;r(`findLastIndex`,function(e){return t(n(this),e,arguments.length>1?arguments[1]:void 0)})})),Uf=j((()=>{var e=Wo(),t=gi().forEach,n=e.aTypedArray,r=e.exportTypedArrayMethod;r(`forEach`,function(e){t(n(this),e,arguments.length>1?arguments[1]:void 0)})})),Wf=j((()=>{var e=_f(),t=Wo().exportTypedArrayStaticMethod;t(`from`,Sf(),e)})),Gf=j((()=>{var e=Wo(),t=Vr().includes,n=e.aTypedArray,r=e.exportTypedArrayMethod;r(`includes`,function(e){return t(n(this),e,arguments.length>1?arguments[1]:void 0)})})),Kf=j((()=>{var e=Wo(),t=Vr().indexOf,n=e.aTypedArray,r=e.exportTypedArrayMethod;r(`indexOf`,function(e){return t(n(this),e,arguments.length>1?arguments[1]:void 0)})})),qf=j((()=>{var e=V(),t=H(),n=G(),r=Wo(),i=Za(),a=yr()(`iterator`),o=e.Uint8Array,s=n(i.values),c=n(i.keys),l=n(i.entries),u=r.aTypedArray,d=r.exportTypedArrayMethod,f=o&&o.prototype,p=!t(function(){f[a].call([1])}),m=!!f&&f.values&&f[a]===f.values&&f.values.name===`values`,h=function(){return s(u(this))};d(`entries`,function(){return l(u(this))},p),d(`keys`,function(){return c(u(this))},p),d(`values`,h,p||!m,{name:`values`}),d(a,h,p||!m,{name:`values`})})),Jf=j((()=>{var e=Wo(),t=G(),n=e.aTypedArray,r=e.exportTypedArrayMethod,i=t([].join);r(`join`,function(e){return i(n(this),e)})})),Yf=j((()=>{var e=Wo(),t=xi(),n=$a(),r=e.aTypedArray,i=e.exportTypedArrayMethod;i(`lastIndexOf`,function(e){var i=arguments.length;return t(n,r(this),i>1?[e,arguments[1]]:[e])})})),Xf=j((()=>{var e=Wo(),t=gi().map,n=e.aTypedArray,r=e.getTypedArrayConstructor,i=e.exportTypedArrayMethod;i(`map`,function(e){return t(n(this),e,arguments.length>1?arguments[1]:void 0,function(e,t){return new(r(e))(t)})})})),Zf=j((()=>{var e=Wo(),t=_f(),n=e.aTypedArrayConstructor,r=e.exportTypedArrayStaticMethod;r(`of`,function(){for(var e=0,t=arguments.length,r=new(n(this))(t);t>e;)r[e]=arguments[e++];return r},t)})),Qf=j((()=>{var e=Wo(),t=ao().left,n=e.aTypedArray,r=e.exportTypedArrayMethod;r(`reduce`,function(e){var r=arguments.length;return t(n(this),e,r,r>1?arguments[1]:void 0)})})),$f=j((()=>{var e=Wo(),t=ao().right,n=e.aTypedArray,r=e.exportTypedArrayMethod;r(`reduceRight`,function(e){var r=arguments.length;return t(n(this),e,r,r>1?arguments[1]:void 0)})})),ep=j((()=>{var e=Wo(),t=e.aTypedArray,n=e.exportTypedArrayMethod,r=Math.floor;n(`reverse`,function(){for(var e=this,n=t(e).length,i=r(n/2),a=0,o;a<i;)o=e[a],e[a++]=e[--n],e[n]=o;return e})})),tp=j((()=>{var e=V(),t=W(),n=Wo(),r=Br(),i=vf(),a=gr(),o=H(),s=e.RangeError,c=e.Int8Array,l=c&&c.prototype,u=l&&l.set,d=n.aTypedArray,f=n.exportTypedArrayMethod,p=!o(function(){var e=new Uint8ClampedArray(2);return t(u,e,{length:1,0:3},1),e[1]!==3}),m=p&&n.NATIVE_ARRAY_BUFFER_VIEWS&&o(function(){var e=new c(2);return e.set(1),e.set(`2`,1),e[0]!==0||e[1]!==2});f(`set`,function(e){d(this);var n=i(arguments.length>1?arguments[1]:void 0,1),o=a(e);if(p)return t(u,this,o,n);var c=this.length,l=r(o),f=0;if(l+n>c)throw new s(`Wrong length`);for(;f<l;)this[n+f]=o[f++]},!p||m)})),np=j((()=>{var e=Wo(),t=H(),n=ni(),r=e.aTypedArray,i=e.getTypedArrayConstructor,a=e.exportTypedArrayMethod;a(`slice`,function(e,t){for(var a=n(r(this),e,t),o=i(this),s=0,c=a.length,l=new o(c);c>s;)l[s]=a[s++];return l},t(function(){new Int8Array(1).slice()}))})),rp=j((()=>{var e=Wo(),t=gi().some,n=e.aTypedArray,r=e.exportTypedArrayMethod;r(`some`,function(e){return t(n(this),e,arguments.length>1?arguments[1]:void 0)})})),ip=j((()=>{var e=V(),t=ui(),n=H(),r=lr(),i=mo(),a=Wo(),o=ho(),s=go(),c=ir(),l=_o(),u=a.aTypedArray,d=a.exportTypedArrayMethod,f=e.Uint16Array,p=f&&t(f.prototype.sort),m=!!p&&!(n(function(){p(new f(2),null)})&&n(function(){p(new f(2),{})})),h=!!p&&!n(function(){if(c)return c<74;if(o)return o<67;if(s)return!0;if(l)return l<602;var e=new f(516),t=Array(516),n,r;for(n=0;n<516;n++)r=n%4,e[n]=515-n,t[n]=n-2*r+3;for(p(e,function(e,t){return(e/4|0)-(t/4|0)}),n=0;n<516;n++)if(e[n]!==t[n])return!0}),g=function(e){return function(t,n){return e===void 0?n===n?t===t?t===0&&n===0?1/t>0&&1/n<0?1:-1:t>n:1:-1:+e(t,n)||0}};d(`sort`,function(e){return e!==void 0&&r(e),h?p(this,e):i(u(this),g(e))},!h||m)})),ap=j((()=>{var e=Wo(),t=zr(),n=Rr(),r=e.aTypedArray,i=e.getTypedArrayConstructor,a=e.exportTypedArrayMethod;a(`subarray`,function(e,a){var o=r(this),s=o.length,c=n(e,s);return new(i(o))(o.buffer,o.byteOffset+c*o.BYTES_PER_ELEMENT,t((a===void 0?s:n(a,s))-c))})})),op=j((()=>{var e=V(),t=xi(),n=Wo(),r=H(),i=ni(),a=e.Int8Array,o=n.aTypedArray,s=n.exportTypedArrayMethod,c=[].toLocaleString,l=!!a&&r(function(){c.call(new a(1))});s(`toLocaleString`,function(){return t(c,l?i(o(this)):o(this),i(arguments))},r(function(){return[1,2].toLocaleString()!==new a([1,2]).toLocaleString()})||!r(function(){a.prototype.toLocaleString.call([1,2])}))})),sp=j((()=>{var e=So(),t=Wo(),n=t.aTypedArray,r=t.exportTypedArrayMethod,i=t.getTypedArrayConstructor;r(`toReversed`,function(){return e(n(this),i(this))})})),cp=j((()=>{var e=Wo(),t=G(),n=lr(),r=wo(),i=e.aTypedArray,a=e.getTypedArrayConstructor,o=e.exportTypedArrayMethod,s=t(e.TypedArrayPrototype.sort);o(`toSorted`,function(e){e!==void 0&&n(e);var t=i(this);return s(r(a(t),t),e)})})),lp=j((()=>{var e=Wo().exportTypedArrayMethod,t=H(),n=V(),r=G(),i=n.Uint8Array,a=i&&i.prototype||{},o=[].toString,s=r([].join);t(function(){o.call({})})&&(o=function(){return s(this)});var c=a.toString!==o;e(`toString`,o,c)})),up=j((()=>{var e=jo(),t=Wo(),n=bf(),r=Lr(),i=xf(),a=t.aTypedArray,o=t.getTypedArrayConstructor,s=t.exportTypedArrayMethod,c=function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(e){return e===8}}(),l=c&&function(){try{new Int8Array(1).with(-.5,1)}catch{return!0}}();s(`with`,{with:function(t,s){var c=a(this),l=r(t),u=n(c)?i(s):+s;return e(c,o(c),l,u)}}.with,!c||l)})),dp=j(((e,t)=>{var n=er(),r=String,i=TypeError;t.exports=function(e){if(e===void 0||n(e))return e;throw new i(r(e)+` is not an object or undefined`)}})),fp=j(((e,t)=>{var n=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789`,r=n+`+/`,i=n+`-_`,a=function(e){for(var t={},n=0;n<64;n++)t[e.charAt(n)]=n;return t};t.exports={i2c:r,c2i:a(r),i2cUrl:i,c2iUrl:a(i)}})),pp=j(((e,t)=>{var n=TypeError;t.exports=function(e){var t=e&&e.alphabet;if(t===void 0||t===`base64`||t===`base64url`)return t||`base64`;throw new n("Incorrect `alphabet` option")}})),mp=j(((e,t)=>{var n=V(),r=G(),i=dp(),a=zu(),o=_r(),s=fp(),c=pp(),l=ns(),u=s.c2i,d=s.c2iUrl,f=n.SyntaxError,p=n.TypeError,m=r(``.charAt),h=function(e,t){for(var n=e.length;t<n;t++){var r=m(e,t);if(r!==` `&&r!==` `&&r!==`
6
- `&&r!==`\f`&&r!==`\r`)break}return t},g=function(e,t,n){var r=e.length;r<4&&(e+=r===2?`AA`:`A`);var i=(t[m(e,0)]<<18)+(t[m(e,1)]<<12)+(t[m(e,2)]<<6)+t[m(e,3)],a=[i>>16&255,i>>8&255,i&255];if(r===2){if(n&&a[1]!==0)throw new f(`Extra bits`);return[a[0]]}if(r===3){if(n&&a[2]!==0)throw new f(`Extra bits`);return[a[0],a[1]]}return a},_=function(e,t,n){for(var r=t.length,i=0;i<r;i++)e[n+i]=t[i];return n+r};t.exports=function(e,t,n,r){a(e),i(t);var s=c(t)===`base64`?u:d,v=t?t.lastChunkHandling:void 0;if(v===void 0&&(v=`loose`),v!==`loose`&&v!==`strict`&&v!==`stop-before-partial`)throw new p("Incorrect `lastChunkHandling` option");n&&l(n.buffer);var y=e.length,b=n||[],x=0,S=0,C=``,w=0;if(r)for(;;){if(w=h(e,w),w===y){if(C.length>0){if(v===`stop-before-partial`)break;if(v===`loose`){if(C.length===1)throw new f(`Malformed padding: exactly one additional character`);x=_(b,g(C,s,!1),x)}else throw new f(`Missing padding`)}S=y;break}var T=m(e,w);if(++w,T===`=`){if(C.length<2)throw new f(`Padding is too early`);if(w=h(e,w),C.length===2){if(w===y){if(v===`stop-before-partial`)break;throw new f(`Malformed padding: only one =`)}m(e,w)===`=`&&(++w,w=h(e,w))}if(w<y)throw new f(`Unexpected character after padding`);x=_(b,g(C,s,v===`strict`),x),S=y;break}if(!o(s,T))throw new f(`Unexpected character`);var E=r-x;if(E===1&&C.length===2||E===2&&C.length===3||(C+=T,C.length===4&&(x=_(b,g(C,s,!1),x),C=``,S=w,x===r)))break}return{bytes:b,read:S,written:x}}})),hp=j((()=>{var e=q(),t=V(),n=wo(),r=mp(),i=t.Uint8Array,a=!i||!i.fromBase64||!function(){try{i.fromBase64(`a`);return}catch{}try{i.fromBase64(``,null)}catch{return!0}}();i&&e({target:`Uint8Array`,stat:!0,forced:a},{fromBase64:function(e){return n(i,r(e,arguments.length>1?arguments[1]:void 0,null,9007199254740991).bytes)}})})),gp=j(((e,t)=>{var n=V(),r=G(),i=n.Uint8Array,a=n.SyntaxError,o=n.parseInt,s=Math.min,c=/[^\da-f]/i,l=r(c.exec),u=r(``.slice);t.exports=function(e,t){var n=e.length;if(n%2!=0)throw new a(`String should be an even number of characters`);for(var r=t?s(t.length,n/2):n/2,d=t||new i(r),f=0,p=0;p<r;){var m=u(e,f,f+=2);if(l(c,m))throw new a(`String should only contain hex characters`);d[p++]=o(m,16)}return{bytes:d,read:f}}})),_p=j((()=>{var e=q(),t=V(),n=zu(),r=gp();t.Uint8Array&&e({target:`Uint8Array`,stat:!0},{fromHex:function(e){return r(n(e)).bytes}})})),vp=j(((e,t)=>{var n=Xr(),r=TypeError;t.exports=function(e){if(n(e)===`Uint8Array`)return e;throw new r(`Argument is not an Uint8Array`)}})),yp=j((()=>{var e=q(),t=V(),n=mp(),r=vp(),i=t.Uint8Array,a=!i||!i.prototype.setFromBase64||!function(){var e=new i([255,255,255,255,255]);try{e.setFromBase64(``,null);return}catch{}try{e.setFromBase64(`a`);return}catch{}try{e.setFromBase64(`MjYyZg===`)}catch{return e[0]===50&&e[1]===54&&e[2]===50&&e[3]===255&&e[4]===255}}();i&&e({target:`Uint8Array`,proto:!0,forced:a},{setFromBase64:function(e){r(this);var t=n(e,arguments.length>1?arguments[1]:void 0,this,this.length);return{read:t.read,written:t.written}}})})),bp=j((()=>{var e=q(),t=V(),n=zu(),r=vp(),i=ns(),a=gp();t.Uint8Array&&e({target:`Uint8Array`,proto:!0},{setFromHex:function(e){r(this),n(e),i(this.buffer);var t=a(e,this).read;return{read:t,written:t/2}}})})),xp=j((()=>{var e=q(),t=V(),n=G(),r=dp(),i=vp(),a=ns(),o=fp(),s=pp(),c=o.i2c,l=o.i2cUrl,u=n(``.charAt),d=t.Uint8Array,f=!d||!d.prototype.toBase64||!function(){try{new d().toBase64(null)}catch{return!0}}();d&&e({target:`Uint8Array`,proto:!0,forced:f},{toBase64:function(){var e=i(this),t=arguments.length?r(arguments[0]):void 0,n=s(t)===`base64`?c:l,o=!!t&&!!t.omitPadding;a(this.buffer);for(var d=``,f=0,p=e.length,m,h=function(e){return u(n,m>>6*e&63)};f+2<p;f+=3)m=(e[f]<<16)+(e[f+1]<<8)+e[f+2],d+=h(3)+h(2)+h(1)+h(0);return f+2===p?(m=(e[f]<<16)+(e[f+1]<<8),d+=h(3)+h(2)+h(1)+(o?``:`=`)):f+1===p&&(m=e[f]<<16,d+=h(3)+h(2)+(o?``:`==`)),d}})})),Sp=j((()=>{var e=q(),t=V(),n=G(),r=vp(),i=ns(),a=n(1.1.toString),o=t.Uint8Array,s=!o||!o.prototype.toHex||!(function(){try{return new o([255,255,255,255,255,255,255,255]).toHex()===`ffffffffffffffff`}catch{return!1}})();o&&e({target:`Uint8Array`,proto:!0,forced:s},{toHex:function(){r(this),i(this.buffer);for(var e=``,t=0,n=this.length;t<n;t++){var o=a(this[t],16);e+=o.length===1?`0`+o:o}return e}})})),Cp=j((()=>{var e=q(),t=G(),n=Zr(),r=String.fromCharCode,i=t(``.charAt),a=t(/./.exec),o=t(``.slice),s=/^[\da-f]{2}$/i,c=/^[\da-f]{4}$/i;e({global:!0},{unescape:function(e){for(var t=n(e),l=``,u=t.length,d=0,f,p;d<u;){if(f=i(t,d++),f===`%`){if(i(t,d)===`u`){if(p=o(t,d+1,d+5),a(c,p)){l+=r(parseInt(p,16)),d+=5;continue}}else if(p=o(t,d,d+2),a(s,p)){l+=r(parseInt(p,16)),d+=2;continue}}l+=f}return l}})})),wp=j(((e,t)=>{var n=G(),r=Po(),i=tc().getWeakData,a=Fo(),o=K(),s=Xn(),c=er(),l=da(),u=gi(),d=_r(),f=Nr(),p=f.set,m=f.getterFor,h=u.find,g=u.findIndex,_=n([].splice),v=0,y=function(e){return e.frozen||=new b},b=function(){this.entries=[]},x=function(e,t){return h(e.entries,function(e){return e[0]===t})};b.prototype={get:function(e){var t=x(this,e);if(t)return t[1]},has:function(e){return!!x(this,e)},set:function(e,t){var n=x(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=g(this.entries,function(t){return t[0]===e});return~t&&_(this.entries,t,1),!!~t}},t.exports={getConstructor:function(e,t,n,u){var f=e(function(e,r){a(e,h),p(e,{type:t,id:v++,frozen:null}),s(r)||l(r,e[u],{that:e,AS_ENTRIES:n})}),h=f.prototype,g=m(t),_=function(e,t,n){var r=g(e),a=i(o(t),!0);return a===!0?y(r).set(t,n):a[r.id]=n,e};return r(h,{delete:function(e){var t=g(this);if(!c(e))return!1;var n=i(e);return n===!0?y(t).delete(e):n&&d(n,t.id)&&delete n[t.id]},has:function(e){var t=g(this);if(!c(e))return!1;var n=i(e);return n===!0?y(t).has(e):n&&d(n,t.id)}}),r(h,n?{get:function(e){var t=g(this);if(c(e)){var n=i(e);if(n===!0)return y(t).get(e);if(n)return n[t.id]}},set:function(e,t){return _(this,e,t)}}:{add:function(e){return _(this,e,!0)}}),f}}})),Tp=j((()=>{var e=ec(),t=V(),n=G(),r=Po(),i=tc(),a=nc(),o=wp(),s=er(),c=Nr().enforce,l=H(),u=Ar(),d=Object,f=Array.isArray,p=d.isExtensible,m=d.isFrozen,h=d.isSealed,g=d.freeze,_=d.seal,v=!t.ActiveXObject&&`ActiveXObject`in t,y,b=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},x=a(`WeakMap`,b,o),S=x.prototype,C=n(S.set),w=function(){return e&&l(function(){var e=g([]);return C(new x,e,1),!m(e)})};if(u)if(v){y=o.getConstructor(b,`WeakMap`,!0),i.enable();var T=n(S.delete),E=n(S.has),D=n(S.get);r(S,{delete:function(e){if(s(e)&&!p(e)){var t=c(this);return t.frozen||=new y,T(this,e)||t.frozen.delete(e)}return T(this,e)},has:function(e){if(s(e)&&!p(e)){var t=c(this);return t.frozen||=new y,E(this,e)||t.frozen.has(e)}return E(this,e)},get:function(e){if(s(e)&&!p(e)){var t=c(this);return t.frozen||=new y,E(this,e)?D(this,e):t.frozen.get(e)}return D(this,e)},set:function(e,t){if(s(e)&&!p(e)){var n=c(this);n.frozen||=new y,E(this,e)?C(this,e,t):n.frozen.set(e,t)}else C(this,e,t);return this}})}else w()&&r(S,{set:function(e,t){var n;return f(e)&&(m(e)?n=g:h(e)&&(n=_)),C(this,e,t),n&&n(e),this}})})),Ep=j((()=>{Tp()})),Dp=j((()=>{nc()(`WeakSet`,function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},wp())})),Op=j((()=>{Dp()})),kp=j((()=>{var e=q(),t=V(),n=tr(),r=G(),i=W(),a=H(),o=Zr(),s=Pl(),c=fp().c2i,l=/[^\d+/a-z]/i,u=/[\t\n\f\r ]+/g,d=/[=]{1,2}$/,f=n(`atob`),p=String.fromCharCode,m=r(``.charAt),h=r(``.replace),g=r(l.exec),_=!!f&&!a(function(){return f(`aGk=`)!==`hi`}),v=_&&a(function(){return f(` `)!==``}),y=_&&!a(function(){f(`a`)}),b=_&&!a(function(){f()}),x=_&&f.length!==1;e({global:!0,bind:!0,enumerable:!0,forced:!_||v||y||b||x},{atob:function(e){if(s(arguments.length,1),_&&!v&&!y)return i(f,t,e);var r=h(o(e),u,``),a=``,b=0,x=0,S,C,w;if(r.length%4==0&&(r=h(r,d,``)),S=r.length,S%4==1||g(l,r))throw new(n(`DOMException`))(`The string is not correctly encoded`,`InvalidCharacterError`);for(;b<S;)C=m(r,b++),w=x%4?w*64+c[C]:c[C],x++%4&&(a+=p(255&w>>(-2*x&6)));return a}})})),Ap=j((()=>{var e=q(),t=V(),n=tr(),r=G(),i=W(),a=H(),o=Zr(),s=Pl(),c=fp().i2c,l=n(`btoa`),u=r(``.charAt),d=r(``.charCodeAt),f=!!l&&!a(function(){return l(`hi`)!==`aGk=`}),p=f&&!a(function(){l()}),m=f&&a(function(){return l(null)!==`bnVsbA==`}),h=f&&l.length!==1;e({global:!0,bind:!0,enumerable:!0,forced:!f||p||m||h},{btoa:function(e){if(s(arguments.length,1),f)return i(l,t,o(e));for(var r=o(e),a=``,p=0,m=c,h,g;u(r,p)||(m=`=`,p%1);){if(g=d(r,p+=3/4),g>255)throw new(n(`DOMException`))(`The string contains characters outside of the Latin1 range`,`InvalidCharacterError`);h=h<<8|g,a+=u(m,63&h>>8-p%1*8)}return a}})})),jp=j(((e,t)=>{t.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}})),Mp=j(((e,t)=>{var n=Sr()(`span`).classList,r=n&&n.constructor&&n.constructor.prototype;t.exports=r===Object.prototype?void 0:r})),Np=j((()=>{var e=V(),t=jp(),n=Mp(),r=Ra(),i=Dr(),a=function(e){if(e&&e.forEach!==r)try{i(e,`forEach`,r)}catch{e.forEach=r}};for(var o in t)t[o]&&a(e[o]&&e[o].prototype);a(n)})),Pp=j((()=>{var e=V(),t=jp(),n=Mp(),r=Za(),i=Dr(),a=li(),o=yr()(`iterator`),s=r.values,c=function(e,n){if(e){if(e[o]!==s)try{i(e,o,s)}catch{e[o]=s}if(a(e,n,!0),t[n]){for(var c in r)if(e[c]!==r[c])try{i(e,c,r[c])}catch{e[c]=r[c]}}}};for(var l in t)c(e[l]&&e[l].prototype,l);c(n,`DOMTokenList`)})),Fp=j(((e,t)=>{t.exports={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}}})),Ip=j((()=>{var e=q(),t=tr(),n=rs(),r=H(),i=ti(),a=qn(),o=Er().f,s=Fr(),c=ii(),l=_r(),u=Fo(),d=K(),f=na(),p=Ji(),m=Fp(),h=Xi(),g=Nr(),_=U(),v=fr(),y=`DOMException`,b=`DATA_CLONE_ERR`,x=t(`Error`),S=t(y)||(function(){try{new((t(`MessageChannel`))||(n(`worker_threads`)).MessageChannel)().port1.postMessage(new WeakMap)}catch(e){if(e.name===b&&e.code===25)return e.constructor}})(),C=S&&S.prototype,w=x.prototype,T=g.set,E=g.getterFor(y),D=`stack`in new x(y),O=function(e){return l(m,e)&&m[e].m?m[e].c:0},k=function(){u(this,A);var e=arguments.length,t=p(e<1?void 0:arguments[0]),n=p(e<2?void 0:arguments[1],`Error`),r=O(n);if(T(this,{type:y,name:n,message:t,code:r}),_||(this.name=n,this.message=t,this.code=r),D){var i=new x(t);i.name=y,o(this,`stack`,a(1,h(i.stack,1)))}},A=k.prototype=i(w),j=function(e){return{enumerable:!0,configurable:!0,get:e}},M=function(e){return j(function(){return E(this)[e]})};_&&(c(A,`code`,M(`code`)),c(A,`message`,M(`message`)),c(A,`name`,M(`name`))),o(A,`constructor`,a(1,k));var N=r(function(){return!(new S instanceof x)}),P=N||r(function(){return w.toString!==f||String(new S(1,2))!==`2: 1`}),F=N||r(function(){return new S(1,`DataCloneError`).code!==25}),I=N||S[b]!==25||C[b]!==25,L=v?P||F||I:N;e({global:!0,constructor:!0,forced:L},{DOMException:L?k:S});var R=t(y),z=R.prototype;for(var B in P&&(v||S===R)&&s(z,`toString`,f),F&&_&&S===R&&c(z,`code`,j(function(){return O(d(this).name)})),m)if(l(m,B)){var ee=m[B],te=ee.s,ne=a(6,ee.c);l(R,te)||o(R,te,ne),l(z,te)||o(z,te,ne)}})),Lp=j((()=>{var e=q(),t=V(),n=tr(),r=qn(),i=Er().f,a=_r(),o=Fo(),s=qi(),c=Ji(),l=Fp(),u=Xi(),d=U(),f=fr(),p=`DOMException`,m=n(`Error`),h=n(p),g=function(){o(this,_);var e=arguments.length,t=c(e<1?void 0:arguments[0]),n=new h(t,c(e<2?void 0:arguments[1],`Error`)),a=new m(t);return a.name=p,i(n,`stack`,r(1,u(a.stack,1))),s(n,this,g),n},_=g.prototype=h.prototype,v=`stack`in new m(p),y=`stack`in new h(1,2),b=h&&d&&Object.getOwnPropertyDescriptor(t,p),x=!!b&&!(b.writable&&b.configurable),S=v&&!x&&!y;e({global:!0,constructor:!0,forced:f||S},{DOMException:S?g:h});var C=n(p),w=C.prototype;if(w.constructor!==C){for(var T in f||i(w,`constructor`,r(1,C)),l)if(a(l,T)){var E=l[T],D=E.s;a(C,D)||i(C,D,r(6,E.c))}}})),Rp=j((()=>{var e=tr(),t=li(),n=`DOMException`;t(e(n),n)})),zp=j((()=>{var e=q(),t=V(),n=Il().clear;e({global:!0,bind:!0,enumerable:!0,forced:t.clearImmediate!==n},{clearImmediate:n})})),Bp=j(((e,t)=>{var n=V(),r=xi(),i=$n(),a=oo(),o=rr(),s=ni(),c=Pl(),l=n.Function,u=/MSIE .\./.test(o)||a===`BUN`&&(function(){var e=n.Bun.version.split(`.`);return e.length<3||e[0]===`0`&&(e[1]<3||e[1]===`3`&&e[2]===`0`)})();t.exports=function(e,t){var n=t?2:1;return u?function(a,o){var u=c(arguments.length,1)>n,d=i(a)?a:l(a),f=u?s(arguments,n):[],p=u?function(){r(d,this,f)}:d;return t?e(p,o):e(p)}:e}})),Vp=j((()=>{var e=q(),t=V(),n=Il().set,r=Bp(),i=t.setImmediate?r(n,!1):n;e({global:!0,bind:!0,enumerable:!0,forced:t.setImmediate!==i},{setImmediate:i})})),Hp=j((()=>{zp(),Vp()})),Up=j((()=>{var e=q(),t=V(),n=Vl(),r=lr(),i=Pl(),a=H(),o=U();e({global:!0,enumerable:!0,dontCallGetSet:!0,forced:a(function(){return o&&Object.getOwnPropertyDescriptor(t,`queueMicrotask`).value.length!==1})},{queueMicrotask:function(e){i(arguments.length,1),n(r(e))}})})),Wp=j((()=>{var e=q(),t=V(),n=ii(),r=U(),i=TypeError,a=Object.defineProperty,o=t.self!==t;try{if(r){var s=Object.getOwnPropertyDescriptor(t,`self`);(o||!s||!s.get||!s.enumerable)&&n(t,`self`,{get:function(){return t},set:function(e){if(this!==t)throw new i(`Illegal invocation`);a(t,`self`,{value:e,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else e({global:!0,simple:!0,forced:o},{self:t})}catch{}})),Gp=j((()=>{var e=fr(),t=q(),n=V(),r=tr(),i=G(),a=H(),o=vr(),s=$n(),c=pi(),l=Xn(),u=er(),d=sr(),f=da(),p=K(),m=Xr(),h=_r(),g=ya(),_=Dr(),v=Br(),y=Pl(),b=Pu(),x=oc(),S=Xu(),C=$u(),w=as(),T=Zi(),E=is(),D=n.Object,O=n.Array,k=n.Date,A=n.Error,j=n.TypeError,M=n.PerformanceMark,N=r(`DOMException`),P=x.Map,F=x.has,I=x.get,L=x.set,R=S.Set,z=S.add,B=S.has,ee=r(`Object`,`keys`),te=i([].push),ne=i((!0).valueOf),re=i(1.1.valueOf),ie=i(``.valueOf),ae=i(k.prototype.getTime),oe=o(`structuredClone`),se=`DataCloneError`,ce=`Transferring`,le=function(e){return!a(function(){var t=new n.Set([7]),r=e(t),i=e(D(7));return r===t||!r.has(7)||!u(i)||+i!=7})&&e},ue=function(e,t){return!a(function(){var n=new t,r=e({a:n,b:n});return!(r&&r.a===r.b&&r.a instanceof t&&r.a.stack===n.stack)})},de=function(e){return!a(function(){var t=e(new n.AggregateError([1],oe,{cause:3}));return t.name!==`AggregateError`||t.errors[0]!==1||t.message!==oe||t.cause!==3})},fe=n.structuredClone,pe=e||!ue(fe,A)||!ue(fe,N)||!de(fe),me=!fe&&le(function(e){return new M(oe,{detail:e}).detail}),he=le(fe)||me,ge=function(e){throw new N(`Uncloneable type: `+e,se)},_e=function(e,t){throw new N((t||`Cloning`)+` of `+e+` cannot be properly polyfilled in this engine`,se)},ve=function(e,t){return he||_e(t),he(e)},ye=function(){var e;try{e=new n.DataTransfer}catch{try{e=new n.ClipboardEvent(``).clipboardData}catch{}}return e&&e.items&&e.files?e:null},be=function(e,t,r){if(F(t,e))return I(t,e);var i=r||m(e),a,o,c,l,u,d;if(i===`SharedArrayBuffer`)a=he?he(e):e;else{var f=n.DataView;!f&&!s(e.slice)&&_e(`ArrayBuffer`);try{if(s(e.slice)&&!e.resizable)a=e.slice(0);else for(o=e.byteLength,c=(`maxByteLength`in e)?{maxByteLength:e.maxByteLength}:void 0,a=new ArrayBuffer(o,c),l=new f(e),u=new f(a),d=0;d<o;d++)u.setUint8(d,l.getUint8(d))}catch{throw new N(`ArrayBuffer is detached`,se)}}return L(t,e,a),a},xe=function(e,t,r,i,a){var o=n[t];return u(o)||_e(t),new o(be(e.buffer,a),r,i)},Se=function(e,t){if(d(e)&&ge(`Symbol`),!u(e))return e;if(t){if(F(t,e))return I(t,e)}else t=new P;var i=m(e),a,o,c,l,f,p,y,x;switch(i){case`Array`:c=O(v(e));break;case`Object`:c={};break;case`Map`:c=new P;break;case`Set`:c=new R;break;case`RegExp`:c=new RegExp(e.source,b(e));break;case`Error`:switch(o=e.name,o){case`AggregateError`:c=new(r(o))([]);break;case`EvalError`:case`RangeError`:case`ReferenceError`:case`SuppressedError`:case`SyntaxError`:case`TypeError`:case`URIError`:c=new(r(o));break;case`CompileError`:case`LinkError`:case`RuntimeError`:c=new(r(`WebAssembly`,o));break;default:c=new A}break;case`DOMException`:c=new N(e.message,e.name);break;case`ArrayBuffer`:case`SharedArrayBuffer`:c=be(e,t,i);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`:p=i===`DataView`?e.byteLength:e.length,c=xe(e,i,e.byteOffset,p,t);break;case`DOMQuad`:try{c=new DOMQuad(Se(e.p1,t),Se(e.p2,t),Se(e.p3,t),Se(e.p4,t))}catch{c=ve(e,i)}break;case`File`:if(he)try{c=he(e),m(c)!==i&&(c=void 0)}catch{}if(!c)try{c=new File([e],e.name,e)}catch{}c||_e(i);break;case`FileList`:if(l=ye(),l){for(f=0,p=v(e);f<p;f++)l.items.add(Se(e[f],t));c=l.files}else c=ve(e,i);break;case`ImageData`:try{c=new ImageData(Se(e.data,t),e.width,e.height,{colorSpace:e.colorSpace})}catch{c=ve(e,i)}break;default:if(he)c=he(e);else switch(i){case`BigInt`:c=D(e.valueOf());break;case`Boolean`:c=D(ne(e));break;case`Number`:c=D(re(e));break;case`String`:c=D(ie(e));break;case`Date`:c=new k(ae(e));break;case`Blob`:try{c=e.slice(0,e.size,e.type)}catch{_e(i)}break;case`DOMPoint`:case`DOMPointReadOnly`:a=n[i];try{c=a.fromPoint?a.fromPoint(e):new a(e.x,e.y,e.z,e.w)}catch{_e(i)}break;case`DOMRect`:case`DOMRectReadOnly`:a=n[i];try{c=a.fromRect?a.fromRect(e):new a(e.x,e.y,e.width,e.height)}catch{_e(i)}break;case`DOMMatrix`:case`DOMMatrixReadOnly`:a=n[i];try{c=a.fromMatrix?a.fromMatrix(e):new a(e)}catch{_e(i)}break;case`AudioData`:case`VideoFrame`:s(e.clone)||_e(i);try{c=e.clone()}catch{ge(i)}break;case`CropTarget`:case`CryptoKey`:case`FileSystemDirectoryHandle`:case`FileSystemFileHandle`:case`FileSystemHandle`:case`GPUCompilationInfo`:case`GPUCompilationMessage`:case`ImageBitmap`:case`RTCCertificate`:case`WebAssembly.Module`:_e(i);default:ge(i)}}switch(L(t,e,c),i){case`Array`:case`Object`:for(y=ee(e),f=0,p=v(y);f<p;f++)x=y[f],g(c,x,Se(e[x],t));break;case`Map`:e.forEach(function(e,n){L(c,Se(n,t),Se(e,t))});break;case`Set`:e.forEach(function(e){z(c,Se(e,t))});break;case`Error`:_(c,`message`,Se(e.message,t)),h(e,`cause`)&&_(c,`cause`,Se(e.cause,t)),o===`AggregateError`?c.errors=Se(e.errors,t):o===`SuppressedError`&&(c.error=Se(e.error,t),c.suppressed=Se(e.suppressed,t));case`DOMException`:T&&_(c,`stack`,Se(e.stack,t))}return c},Ce=function(e,t){if(!u(e))throw new j(`Transfer option cannot be converted to a sequence`);var r=[];f(e,function(e){te(r,p(e))});for(var i=0,a=v(r),o=new R,l,d,h,g,_,y;i<a;){if(l=r[i++],d=m(l),d===`ArrayBuffer`?B(o,l):F(t,l))throw new N(`Duplicate transferable`,se);if(d===`ArrayBuffer`){z(o,l);continue}if(E)g=fe(l,{transfer:[l]});else switch(d){case`ImageBitmap`:h=n.OffscreenCanvas,c(h)||_e(d,ce);try{_=new h(l.width,l.height),y=_.getContext(`bitmaprenderer`),y.transferFromImageBitmap(l),g=_.transferToImageBitmap()}catch{}break;case`AudioData`:case`VideoFrame`:(!s(l.clone)||!s(l.close))&&_e(d,ce);try{g=l.clone(),l.close()}catch{}break;case`MediaSourceHandle`:case`MessagePort`:case`MIDIAccess`:case`OffscreenCanvas`:case`ReadableStream`:case`RTCDataChannel`:case`TransformStream`:case`WebTransportReceiveStream`:case`WebTransportSendStream`:case`WritableStream`:_e(d,ce)}if(g===void 0)throw new N(`This object cannot be transferred: `+d,se);L(t,l,g)}return o},we=function(e){C(e,function(e){E?he(e,{transfer:[e]}):s(e.transfer)?e.transfer():w?w(e):_e(`ArrayBuffer`,ce)})};t({global:!0,enumerable:!0,sham:!E,forced:pe},{structuredClone:function(e){var t=y(arguments.length,1)>1&&!l(arguments[1])?p(arguments[1]):void 0,n=t?t.transfer:void 0,r,i;n!==void 0&&(r=new P,i=Ce(n,r));var a=Se(e,r);return i&&we(i),a}})})),Kp=j((()=>{var e=q(),t=V(),n=Bp()(t.setInterval,!0);e({global:!0,bind:!0,forced:t.setInterval!==n},{setInterval:n})})),qp=j((()=>{var e=q(),t=V(),n=Bp()(t.setTimeout,!0);e({global:!0,bind:!0,forced:t.setTimeout!==n},{setTimeout:n})})),Jp=j((()=>{Kp(),qp()})),Yp=j(((e,t)=>{var n=H(),r=yr(),i=U(),a=fr(),o=r(`iterator`);t.exports=!n(function(){var e=new URL(`b?a=1&b=2&c=3`,`https://a`),t=e.searchParams,n=new URLSearchParams(`a=1&a=2&b=3`),r=``;return e.pathname=`c%20d`,t.forEach(function(e,n){t.delete(`b`),r+=n+e}),n.delete(`a`,2),n.delete(`b`,void 0),a&&(!e.toJSON||!n.has(`a`,1)||n.has(`a`,2)||!n.has(`a`,void 0)||n.has(`b`))||!t.size&&(a||!i)||!t.sort||e.href!==`https://a/c%20d?a=1&c=3`||t.get(`c`)!==`3`||String(new URLSearchParams(`?a=1`))!==`a=1`||!t[o]||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`||r!==`a1c3`||new URL(`https://x`,void 0).host!==`x`})})),Xp=j(((e,t)=>{var n=G(),r=2147483647,i=36,a=1,o=26,s=38,c=700,l=72,u=128,d=`-`,f=/[^\0-\u007E]/,p=/[.\u3002\uFF0E\uFF61]/g,m=`Overflow: input needs wider integers to process`,h=i-a,g=RangeError,_=n(p.exec),v=Math.floor,y=String.fromCharCode,b=n(``.charCodeAt),x=n([].join),S=n([].push),C=n(``.replace),w=n(``.split),T=n(``.toLowerCase),E=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=b(e,n++);if(i>=55296&&i<=56319&&n<r){var a=b(e,n++);(a&64512)==56320?S(t,((i&1023)<<10)+(a&1023)+65536):(S(t,i),n--)}else S(t,i)}return t},D=function(e){return e+22+75*(e<26)},O=function(e,t,n){var r=0;for(e=n?v(e/c):e>>1,e+=v(e/t);e>h*o>>1;)e=v(e/h),r+=i;return v(r+(h+1)*e/(e+s))},k=function(e){var t=[];e=E(e);var n=e.length,s=u,c=0,f=l,p,h;for(p=0;p<e.length;p++)h=e[p],h<128&&S(t,y(h));var _=t.length,b=_;for(_&&S(t,d);b<n;){var C=r;for(p=0;p<e.length;p++)h=e[p],h>=s&&h<C&&(C=h);var w=b+1;if(C-s>v((r-c)/w))throw new g(m);for(c+=(C-s)*w,s=C,p=0;p<e.length;p++){if(h=e[p],h<s&&++c>r)throw new g(m);if(h===s){for(var T=c,k=i;;){var A=k<=f?a:k>=f+o?o:k-f;if(T<A)break;var j=T-A,M=i-A;S(t,y(D(A+j%M))),T=v(j/M),k+=i}S(t,y(D(T))),f=O(c,w,b===_),c=0,b++}}c++,s++}return x(t,``)};t.exports=function(e){var t=[],n=w(C(T(e),p,`.`),`.`),r,i;for(r=0;r<n.length;r++)i=n[r],S(t,_(f,i)?`xn--`+k(i):i);return x(t,`.`)}})),Zp=j(((e,t)=>{Za(),Td();var n=q(),r=V(),i=Ll(),a=tr(),o=W(),s=G(),c=U(),l=Yp(),u=Fr(),d=ii(),f=Po(),p=li(),m=Ja(),h=Nr(),g=Fo(),_=$n(),v=_r(),y=di(),b=Xr(),x=K(),S=er(),C=Zr(),w=ti(),T=qn(),E=la(),D=ca(),O=Xa(),k=Pl(),A=yr(),j=mo(),M=A(`iterator`),N=`URLSearchParams`,P=N+`Iterator`,F=h.set,I=h.getterFor(N),L=h.getterFor(P),R=i(`fetch`),z=i(`Request`),B=i(`Headers`),ee=z&&z.prototype,te=B&&B.prototype,ne=r.TypeError,re=r.encodeURIComponent,ie=String.fromCharCode,ae=a(`String`,`fromCodePoint`),oe=parseInt,se=s(``.charAt),ce=s([].join),le=s([].push),ue=s(``.replace),de=s([].shift),fe=s([].splice),pe=s(``.split),me=s(``.slice),he=s(/./.exec),ge=/\+/g,_e=`�`,ve=/^[0-9a-f]+$/i,ye=function(e,t){var n=me(e,t,t+2);return he(ve,n)?oe(n,16):NaN},be=function(e){for(var t=0,n=128;n>0&&(e&n)!==0;n>>=1)t++;return t},xe=function(e){var t=null;switch(e.length){case 1:t=e[0];break;case 2:t=(e[0]&31)<<6|e[1]&63;break;case 3:t=(e[0]&15)<<12|(e[1]&63)<<6|e[2]&63;break;case 4:t=(e[0]&7)<<18|(e[1]&63)<<12|(e[2]&63)<<6|e[3]&63;break}return t>1114111?null:t},Se=function(e){e=ue(e,ge,` `);for(var t=e.length,n=``,r=0;r<t;){var i=se(e,r);if(i===`%`){if(se(e,r+1)===`%`||r+3>t){n+=`%`,r++;continue}var a=ye(e,r+1);if(a!==a){n+=i,r++;continue}r+=2;var o=be(a);if(o===0)i=ie(a);else{if(o===1||o>4){n+=_e,r++;continue}for(var s=[a],c=1;c<o&&(r++,!(r+3>t||se(e,r)!==`%`));){var l=ye(e,r+1);if(l!==l){r+=3;break}if(l>191||l<128)break;le(s,l),r+=2,c++}if(s.length!==o){n+=_e;continue}var u=xe(s);u===null?n+=_e:i=ae(u)}}n+=i,r++}return n},Ce=/[!'()~]|%20/g,we={"!":`%21`,"'":`%27`,"(":`%28`,")":`%29`,"~":`%7E`,"%20":`+`},Te=function(e){return we[e]},Ee=function(e){return ue(re(e),Ce,Te)},De=m(function(e,t){F(this,{type:P,target:I(e).entries,index:0,kind:t})},N,function(){var e=L(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=null,O(void 0,!0);var r=t[n];switch(e.kind){case`keys`:return O(r.key,!1);case`values`:return O(r.value,!1)}return O([r.key,r.value],!1)},!0),Oe=function(e){this.entries=[],this.url=null,e!==void 0&&(S(e)?this.parseObject(e):this.parseQuery(typeof e==`string`?se(e,0)===`?`?me(e,1):e:C(e)))};Oe.prototype={type:N,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t=this.entries,n=D(e),r,i,a,s,c,l,u;if(n)for(r=E(e,n),i=r.next;!(a=o(i,r)).done;){if(s=E(x(a.value)),c=s.next,(l=o(c,s)).done||(u=o(c,s)).done||!o(c,s).done)throw new ne(`Expected sequence with length 2`);le(t,{key:C(l.value),value:C(u.value)})}else for(var d in e)v(e,d)&&le(t,{key:d,value:C(e[d])})},parseQuery:function(e){if(e)for(var t=this.entries,n=pe(e,`&`),r=0,i,a;r<n.length;)i=n[r++],i.length&&(a=pe(i,`=`),le(t,{key:Se(de(a)),value:Se(ce(a,`=`))}))},serialize:function(){for(var e=this.entries,t=[],n=0,r;n<e.length;)r=e[n++],le(t,Ee(r.key)+`=`+Ee(r.value));return ce(t,`&`)},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var ke=function(){g(this,Ae);var e=arguments.length>0?arguments[0]:void 0,t=F(this,new Oe(e));c||(this.size=t.entries.length)},Ae=ke.prototype;if(f(Ae,{append:function(e,t){var n=I(this);k(arguments.length,2),le(n.entries,{key:C(e),value:C(t)}),c||this.length++,n.updateURL()},delete:function(e){for(var t=I(this),n=k(arguments.length,1),r=t.entries,i=C(e),a=n<2?void 0:arguments[1],o=a===void 0?a:C(a),s=0;s<r.length;){var l=r[s];if(l.key===i&&(o===void 0||l.value===o)){if(fe(r,s,1),o!==void 0)break}else s++}c||(this.size=r.length),t.updateURL()},get:function(e){var t=I(this).entries;k(arguments.length,1);for(var n=C(e),r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){var t=I(this).entries;k(arguments.length,1);for(var n=C(e),r=[],i=0;i<t.length;i++)t[i].key===n&&le(r,t[i].value);return r},has:function(e){for(var t=I(this).entries,n=k(arguments.length,1),r=C(e),i=n<2?void 0:arguments[1],a=i===void 0?i:C(i),o=0;o<t.length;){var s=t[o++];if(s.key===r&&(a===void 0||s.value===a))return!0}return!1},set:function(e,t){var n=I(this);k(arguments.length,1);for(var r=n.entries,i=!1,a=C(e),o=C(t),s=0,l;s<r.length;s++)l=r[s],l.key===a&&(i?fe(r,s--,1):(i=!0,l.value=o));i||le(r,{key:a,value:o}),c||(this.size=r.length),n.updateURL()},sort:function(){var e=I(this);j(e.entries,function(e,t){return e.key>t.key?1:-1}),e.updateURL()},forEach:function(e){for(var t=I(this).entries,n=y(e,arguments.length>1?arguments[1]:void 0),r=0,i;r<t.length;)i=t[r++],n(i.value,i.key,this)},keys:function(){return new De(this,`keys`)},values:function(){return new De(this,`values`)},entries:function(){return new De(this,`entries`)}},{enumerable:!0}),u(Ae,M,Ae.entries,{name:`entries`}),u(Ae,`toString`,function(){return I(this).serialize()},{enumerable:!0}),c&&d(Ae,`size`,{get:function(){return I(this).entries.length},configurable:!0,enumerable:!0}),p(ke,N),n({global:!0,constructor:!0,forced:!l},{URLSearchParams:ke}),!l&&_(B)){var je=s(te.has),Me=s(te.set),Ne=function(e){if(S(e)){var t=e.body,n;if(b(t)===N)return n=e.headers?new B(e.headers):new B,je(n,`content-type`)||Me(n,`content-type`,`application/x-www-form-urlencoded;charset=UTF-8`),w(e,{body:T(0,C(t)),headers:T(0,n)})}return e};if(_(R)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return R(e,arguments.length>1?Ne(arguments[1]):{})}}),_(z)){var Pe=function(e){return g(this,ee),new z(e,arguments.length>1?Ne(arguments[1]):{})};ee.constructor=Pe,Pe.prototype=ee,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Pe})}}t.exports={URLSearchParams:ke,getState:I}})),Qp=j((()=>{Od();var e=q(),t=U(),n=Yp(),r=V(),i=di(),a=G(),o=Fr(),s=ii(),c=Fo(),l=_r(),u=Zc(),d=Va(),f=ni(),p=bd().codeAt,m=Xp(),h=Zr(),g=li(),_=Pl(),v=Zp(),y=Nr(),b=y.set,x=y.getterFor(`URL`),S=v.URLSearchParams,C=v.getState,w=r.URL,T=r.TypeError,E=r.parseInt,D=Math.floor,O=Math.pow,k=a(``.charAt),A=a(/./.exec),j=a([].join),M=a(1.1.toString),N=a([].pop),P=a([].push),F=a(``.replace),I=a([].shift),L=a(``.split),R=a(``.slice),z=a(``.toLowerCase),B=a([].unshift),ee=`Invalid authority`,te=`Invalid scheme`,ne=`Invalid host`,re=`Invalid port`,ie=/[a-z]/i,ae=/[\d+-.a-z]/i,oe=/\d/,se=/^0x/i,ce=/^[0-7]+$/,le=/^\d+$/,ue=/^[\da-f]+$/i,de=/[\0\t\n\r #%/:<>?@[\\\]^|]/,fe=/[\0\t\n\r #/:<>?@[\\\]^|]/,pe=/^[\u0000-\u0020]+/,me=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,he=/[\t\n\r]/g,ge,_e=function(e){var t=L(e,`.`),n,r,i,a,o,s,c;if(t.length&&t[t.length-1]===``&&t.length--,n=t.length,n>4)return e;for(r=[],i=0;i<n;i++){if(a=t[i],a===``)return e;if(o=10,a.length>1&&k(a,0)===`0`&&(o=A(se,a)?16:8,a=R(a,o===8?1:2)),a===``)s=0;else{if(!A(o===10?le:o===8?ce:ue,a))return e;s=E(a,o)}P(r,s)}for(i=0;i<n;i++)if(s=r[i],i===n-1){if(s>=O(256,5-n))return null}else if(s>255)return null;for(c=N(r),i=0;i<r.length;i++)c+=r[i]*O(256,3-i);return c},ve=function(e){var t=[0,0,0,0,0,0,0,0],n=0,r=null,i=0,a,o,s,c,l,u,d,f=function(){return k(e,i)};if(f()===`:`){if(k(e,1)!==`:`)return;i+=2,n++,r=n}for(;f();){if(n===8)return;if(f()===`:`){if(r!==null)return;i++,n++,r=n;continue}for(a=o=0;o<4&&A(ue,f());)a=a*16+E(f(),16),i++,o++;if(f()===`.`){if(o===0||(i-=o,n>6))return;for(s=0;f();){if(c=null,s>0)if(f()===`.`&&s<4)i++;else return;if(!A(oe,f()))return;for(;A(oe,f());){if(l=E(f(),10),c===null)c=l;else if(c===0)return;else c=c*10+l;if(c>255)return;i++}t[n]=t[n]*256+c,s++,(s===2||s===4)&&n++}if(s!==4)return;break}else if(f()===`:`){if(i++,!f())return}else if(f())return;t[n++]=a}if(r!==null)for(u=n-r,n=7;n!==0&&u>0;)d=t[n],t[n--]=t[r+u-1],t[r+--u]=d;else if(n!==8)return;return t},ye=function(e){for(var t=null,n=1,r=null,i=0,a=0;a<8;a++)e[a]===0?(r===null&&(r=a),++i):(i>n&&(t=r,n=i),r=null,i=0);return i>n?r:t},be=function(e){var t,n,r,i;if(typeof e==`number`){for(t=[],n=0;n<4;n++)B(t,e%256),e=D(e/256);return j(t,`.`)}if(typeof e==`object`){for(t=``,r=ye(e),n=0;n<8;n++)i&&e[n]===0||(i&&=!1,r===n?(t+=n?`:`:`::`,i=!0):(t+=M(e[n],16),n<7&&(t+=`:`)));return`[`+t+`]`}return e},xe={},Se=u({},xe,{" ":1,'"':1,"<":1,">":1,"`":1}),Ce=u({},Se,{"#":1,"?":1,"{":1,"}":1}),we=u({},Ce,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Te=function(e,t){var n=p(e,0);return n>32&&n<127&&!l(t,e)?e:encodeURIComponent(e)},Ee={ftp:21,file:null,http:80,https:443,ws:80,wss:443},De=function(e,t){var n;return e.length===2&&A(ie,k(e,0))&&((n=k(e,1))===`:`||!t&&n===`|`)},Oe=function(e){var t;return e.length>1&&De(R(e,0,2))&&(e.length===2||(t=k(e,2))===`/`||t===`\\`||t===`?`||t===`#`)},ke=function(e){return e===`.`||z(e)===`%2e`},Ae=function(e){return e=z(e),e===`..`||e===`%2e.`||e===`.%2e`||e===`%2e%2e`},je={},Me={},Ne={},Pe={},Fe={},Ie={},Le={},Re={},ze={},Be={},Ve={},He={},Ue={},We={},Ge={},Ke={},qe={},Je={},Ye={},Xe={},Ze={},Qe=function(e,t,n){var r=h(e),i,a,o;if(t){if(a=this.parse(r),a)throw new T(a);this.searchParams=null}else{if(n!==void 0&&(i=new Qe(n,!0)),a=this.parse(r,null,i),a)throw new T(a);o=C(new S),o.bindURL(this),this.searchParams=o}};Qe.prototype={type:`URL`,parse:function(e,t,n){var r=this,i=t||je,a=0,o=``,s=!1,c=!1,u=!1,p,m,g,_;for(e=h(e),t||(r.scheme=``,r.username=``,r.password=``,r.host=null,r.port=null,r.path=[],r.query=null,r.fragment=null,r.cannotBeABaseURL=!1,e=F(e,pe,``),e=F(e,me,`$1`)),e=F(e,he,``),p=d(e);a<=p.length;){switch(m=p[a],i){case je:if(m&&A(ie,m))o+=z(m),i=Me;else if(t)return te;else{i=Ne;continue}break;case Me:if(m&&(A(ae,m)||m===`+`||m===`-`||m===`.`))o+=z(m);else if(m===`:`){if(t&&(r.isSpecial()!==l(Ee,o)||o===`file`&&(r.includesCredentials()||r.port!==null)||r.scheme===`file`&&!r.host))return;if(r.scheme=o,t){r.isSpecial()&&Ee[r.scheme]===r.port&&(r.port=null);return}o=``,r.scheme===`file`?i=We:r.isSpecial()&&n&&n.scheme===r.scheme?i=Pe:r.isSpecial()?i=Re:p[a+1]===`/`?(i=Fe,a++):(r.cannotBeABaseURL=!0,P(r.path,``),i=Ye)}else if(t)return te;else{o=``,i=Ne,a=0;continue}break;case Ne:if(!n||n.cannotBeABaseURL&&m!==`#`)return te;if(n.cannotBeABaseURL&&m===`#`){r.scheme=n.scheme,r.path=f(n.path),r.query=n.query,r.fragment=``,r.cannotBeABaseURL=!0,i=Ze;break}i=n.scheme===`file`?We:Ie;continue;case Pe:if(m===`/`&&p[a+1]===`/`)i=ze,a++;else{i=Ie;continue}break;case Fe:if(m===`/`){i=Be;break}else{i=Je;continue}case Ie:if(r.scheme=n.scheme,m===ge)r.username=n.username,r.password=n.password,r.host=n.host,r.port=n.port,r.path=f(n.path),r.query=n.query;else if(m===`/`||m===`\\`&&r.isSpecial())i=Le;else if(m===`?`)r.username=n.username,r.password=n.password,r.host=n.host,r.port=n.port,r.path=f(n.path),r.query=``,i=Xe;else if(m===`#`)r.username=n.username,r.password=n.password,r.host=n.host,r.port=n.port,r.path=f(n.path),r.query=n.query,r.fragment=``,i=Ze;else{r.username=n.username,r.password=n.password,r.host=n.host,r.port=n.port,r.path=f(n.path),r.path.length--,i=Je;continue}break;case Le:if(r.isSpecial()&&(m===`/`||m===`\\`))i=ze;else if(m===`/`)i=Be;else{r.username=n.username,r.password=n.password,r.host=n.host,r.port=n.port,i=Je;continue}break;case Re:if(i=ze,m!==`/`||k(o,a+1)!==`/`)continue;a++;break;case ze:if(m!==`/`&&m!==`\\`){i=Be;continue}break;case Be:if(m===`@`){s&&(o=`%40`+o),s=!0,g=d(o);for(var v=0;v<g.length;v++){var y=g[v];if(y===`:`&&!u){u=!0;continue}var b=Te(y,we);u?r.password+=b:r.username+=b}o=``}else if(m===ge||m===`/`||m===`?`||m===`#`||m===`\\`&&r.isSpecial()){if(s&&o===``)return ee;a-=d(o).length+1,o=``,i=Ve}else o+=m;break;case Ve:case He:if(t&&r.scheme===`file`){i=Ke;continue}else if(m===`:`&&!c){if(o===``)return ne;if(_=r.parseHost(o),_)return _;if(o=``,i=Ue,t===He)return}else if(m===ge||m===`/`||m===`?`||m===`#`||m===`\\`&&r.isSpecial()){if(r.isSpecial()&&o===``)return ne;if(t&&o===``&&(r.includesCredentials()||r.port!==null))return;if(_=r.parseHost(o),_)return _;if(o=``,i=qe,t)return;continue}else m===`[`?c=!0:m===`]`&&(c=!1),o+=m;break;case Ue:if(A(oe,m))o+=m;else if(m===ge||m===`/`||m===`?`||m===`#`||m===`\\`&&r.isSpecial()||t){if(o!==``){var x=E(o,10);if(x>65535)return re;r.port=r.isSpecial()&&x===Ee[r.scheme]?null:x,o=``}if(t)return;i=qe;continue}else return re;break;case We:if(r.scheme=`file`,m===`/`||m===`\\`)i=Ge;else if(n&&n.scheme===`file`)switch(m){case ge:r.host=n.host,r.path=f(n.path),r.query=n.query;break;case`?`:r.host=n.host,r.path=f(n.path),r.query=``,i=Xe;break;case`#`:r.host=n.host,r.path=f(n.path),r.query=n.query,r.fragment=``,i=Ze;break;default:Oe(j(f(p,a),``))||(r.host=n.host,r.path=f(n.path),r.shortenPath()),i=Je;continue}else{i=Je;continue}break;case Ge:if(m===`/`||m===`\\`){i=Ke;break}n&&n.scheme===`file`&&!Oe(j(f(p,a),``))&&(De(n.path[0],!0)?P(r.path,n.path[0]):r.host=n.host),i=Je;continue;case Ke:if(m===ge||m===`/`||m===`\\`||m===`?`||m===`#`){if(!t&&De(o))i=Je;else if(o===``){if(r.host=``,t)return;i=qe}else{if(_=r.parseHost(o),_)return _;if(r.host===`localhost`&&(r.host=``),t)return;o=``,i=qe}continue}else o+=m;break;case qe:if(r.isSpecial()){if(i=Je,m!==`/`&&m!==`\\`)continue}else if(!t&&m===`?`)r.query=``,i=Xe;else if(!t&&m===`#`)r.fragment=``,i=Ze;else if(m!==ge&&(i=Je,m!==`/`))continue;break;case Je:if(m===ge||m===`/`||m===`\\`&&r.isSpecial()||!t&&(m===`?`||m===`#`)){if(Ae(o)?(r.shortenPath(),m!==`/`&&!(m===`\\`&&r.isSpecial())&&P(r.path,``)):ke(o)?m!==`/`&&!(m===`\\`&&r.isSpecial())&&P(r.path,``):(r.scheme===`file`&&!r.path.length&&De(o)&&(r.host&&=``,o=k(o,0)+`:`),P(r.path,o)),o=``,r.scheme===`file`&&(m===ge||m===`?`||m===`#`))for(;r.path.length>1&&r.path[0]===``;)I(r.path);m===`?`?(r.query=``,i=Xe):m===`#`&&(r.fragment=``,i=Ze)}else o+=Te(m,Ce);break;case Ye:m===`?`?(r.query=``,i=Xe):m===`#`?(r.fragment=``,i=Ze):m!==ge&&(r.path[0]+=Te(m,xe));break;case Xe:!t&&m===`#`?(r.fragment=``,i=Ze):m!==ge&&(m===`'`&&r.isSpecial()?r.query+=`%27`:m===`#`?r.query+=`%23`:r.query+=Te(m,xe));break;case Ze:m!==ge&&(r.fragment+=Te(m,Se));break}a++}},parseHost:function(e){var t,n,r;if(k(e,0)===`[`){if(k(e,e.length-1)!==`]`||(t=ve(R(e,1,-1)),!t))return ne;this.host=t}else if(this.isSpecial()){if(e=m(e),A(de,e)||(t=_e(e),t===null))return ne;this.host=t}else{if(A(fe,e))return ne;for(t=``,n=d(e),r=0;r<n.length;r++)t+=Te(n[r],xe);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||this.scheme===`file`},includesCredentials:function(){return this.username!==``||this.password!==``},isSpecial:function(){return l(Ee,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;t&&(this.scheme!==`file`||t!==1||!De(e[0],!0))&&e.length--},serialize:function(){var e=this,t=e.scheme,n=e.username,r=e.password,i=e.host,a=e.port,o=e.path,s=e.query,c=e.fragment,l=t+`:`;return i===null?t===`file`&&(l+=`//`):(l+=`//`,e.includesCredentials()&&(l+=n+(r?`:`+r:``)+`@`),l+=be(i),a!==null&&(l+=`:`+a)),l+=e.cannotBeABaseURL?o[0]:o.length?`/`+j(o,`/`):``,s!==null&&(l+=`?`+s),c!==null&&(l+=`#`+c),l},setHref:function(e){var t=this.parse(e);if(t)throw new T(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if(e===`blob`)try{return new $e(e.path[0]).origin}catch{return`null`}return e===`file`||!this.isSpecial()?`null`:e+`://`+be(this.host)+(t===null?``:`:`+t)},getProtocol:function(){return this.scheme+`:`},setProtocol:function(e){this.parse(h(e)+`:`,je)},getUsername:function(){return this.username},setUsername:function(e){var t=d(h(e));if(!this.cannotHaveUsernamePasswordPort()){this.username=``;for(var n=0;n<t.length;n++)this.username+=Te(t[n],we)}},getPassword:function(){return this.password},setPassword:function(e){var t=d(h(e));if(!this.cannotHaveUsernamePasswordPort()){this.password=``;for(var n=0;n<t.length;n++)this.password+=Te(t[n],we)}},getHost:function(){var e=this.host,t=this.port;return e===null?``:t===null?be(e):be(e)+`:`+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Ve)},getHostname:function(){var e=this.host;return e===null?``:be(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,He)},getPort:function(){var e=this.port;return e===null?``:h(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(e=h(e),e===``?this.port=null:this.parse(e,Ue))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?`/`+j(e,`/`):``},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,qe))},getSearch:function(){var e=this.query;return e?`?`+e:``},setSearch:function(e){e=h(e),e===``?this.query=null:(k(e,0)===`?`&&(e=R(e,1)),this.query=``,this.parse(e,Xe)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?`#`+e:``},setHash:function(e){if(e=h(e),e===``){this.fragment=null;return}k(e,0)===`#`&&(e=R(e,1)),this.fragment=``,this.parse(e,Ze)},update:function(){this.query=this.searchParams.serialize()||null}};var $e=function(e){var n=c(this,et),r=b(n,new Qe(e,!1,_(arguments.length,1)>1?arguments[1]:void 0));t||(n.href=r.serialize(),n.origin=r.getOrigin(),n.protocol=r.getProtocol(),n.username=r.getUsername(),n.password=r.getPassword(),n.host=r.getHost(),n.hostname=r.getHostname(),n.port=r.getPort(),n.pathname=r.getPathname(),n.search=r.getSearch(),n.searchParams=r.getSearchParams(),n.hash=r.getHash())},et=$e.prototype,tt=function(e,t){return{get:function(){return x(this)[e]()},set:t&&function(e){return x(this)[t](e)},configurable:!0,enumerable:!0}};if(t&&(s(et,`href`,tt(`serialize`,`setHref`)),s(et,`origin`,tt(`getOrigin`)),s(et,`protocol`,tt(`getProtocol`,`setProtocol`)),s(et,`username`,tt(`getUsername`,`setUsername`)),s(et,`password`,tt(`getPassword`,`setPassword`)),s(et,`host`,tt(`getHost`,`setHost`)),s(et,`hostname`,tt(`getHostname`,`setHostname`)),s(et,`port`,tt(`getPort`,`setPort`)),s(et,`pathname`,tt(`getPathname`,`setPathname`)),s(et,`search`,tt(`getSearch`,`setSearch`)),s(et,`searchParams`,tt(`getSearchParams`)),s(et,`hash`,tt(`getHash`,`setHash`))),o(et,`toJSON`,function(){return x(this).serialize()},{enumerable:!0}),o(et,`toString`,function(){return x(this).serialize()},{enumerable:!0}),w){var nt=w.createObjectURL,rt=w.revokeObjectURL;nt&&o($e,`createObjectURL`,i(nt,w)),rt&&o($e,`revokeObjectURL`,i(rt,w))}g($e,`URL`),e({global:!0,constructor:!0,forced:!n,sham:!t},{URL:$e})})),$p=j((()=>{Qp()})),em=j((()=>{var e=q(),t=tr(),n=H(),r=Pl(),i=Zr(),a=Yp(),o=t(`URL`),s=a&&n(function(){o.canParse()}),c=n(function(){return o.canParse.length!==1});e({target:`URL`,stat:!0,forced:!s||c},{canParse:function(e){var t=r(arguments.length,1),n=i(e),a=t<2||arguments[1]===void 0?void 0:i(arguments[1]);try{return!!new o(n,a)}catch{return!1}}})})),tm=j((()=>{var e=q(),t=tr(),n=Pl(),r=Zr(),i=Yp(),a=t(`URL`);e({target:`URL`,stat:!0,forced:!i},{parse:function(e){var t=n(arguments.length,1),i=r(e),o=t<2||arguments[1]===void 0?void 0:r(arguments[1]);try{return new a(i,o)}catch{return null}}})})),nm=j((()=>{var e=q(),t=W();e({target:`URL`,proto:!0,enumerable:!0},{toJSON:function(){return t(URL.prototype.toString,this)}})})),rm=j((()=>{Zp()})),im=j((()=>{var e=Fr(),t=G(),n=Zr(),r=Pl(),i=URLSearchParams,a=i.prototype,o=t(a.append),s=t(a.delete),c=t(a.forEach),l=t([].push),u=new i(`a=1&a=2&b=3`);u.delete(`a`,1),u.delete(`b`,void 0),u+``!=`a=2`&&e(a,`delete`,function(e){var t=arguments.length,i=t<2?void 0:arguments[1];if(t&&i===void 0)return s(this,e);var a=[];c(this,function(e,t){l(a,{key:t,value:e})}),r(t,1);for(var u=n(e),d=n(i),f=0,p=0,m=!1,h=a.length,g;f<h;)g=a[f++],m||g.key===u?(m=!0,s(this,g.key)):p++;for(;p<h;)g=a[p++],g.key===u&&g.value===d||o(this,g.key,g.value)},{enumerable:!0,unsafe:!0})})),am=j((()=>{var e=Fr(),t=G(),n=Zr(),r=Pl(),i=URLSearchParams,a=i.prototype,o=t(a.getAll),s=t(a.has),c=new i(`a=1`);(c.has(`a`,2)||!c.has(`a`,void 0))&&e(a,`has`,function(e){var t=arguments.length,i=t<2?void 0:arguments[1];if(t&&i===void 0)return s(this,e);var a=o(this,e);r(t,1);for(var c=n(i),l=0;l<a.length;)if(a[l++]===c)return!0;return!1},{enumerable:!0,unsafe:!0})})),om=j((()=>{var e=U(),t=G(),n=ii(),r=URLSearchParams.prototype,i=t(r.forEach);e&&!(`size`in r)&&n(r,`size`,{get:function(){var e=0;return i(this,function(){e++}),e},configurable:!0,enumerable:!0})})),sm=j(((e,t)=>{Ti(),Ei(),Di(),Oi(),ki(),Ai(),ji(),Mi(),Ni(),Pi(),Fi(),Ii(),Li(),Ri(),zi(),Bi(),Vi(),ea(),ta(),ra(),pa(),ma(),ha(),_a(),xa(),wa(),Ea(),Oa(),ka(),Aa(),ja(),Na(),Pa(),Ia(),La(),za(),Ua(),Wa(),Ga(),Ka(),Za(),Qa(),eo(),to(),no(),io(),co(),lo(),uo(),fo(),po(),vo(),bo(),xo(),Co(),Eo(),Do(),Oo(),ko(),Ao(),Mo(),Uo(),Go(),Ko(),Jo(),Yo(),Qo(),ts(),ss(),cs(),ls(),us(),ds(),fs(),gs(),_s(),ys(),bs(),Ss(),Cs(),Ts(),Es(),Ds(),Os(),ks(),As(),Rs(),zs(),Bs(),Vs(),Us(),Ws(),Gs(),Ks(),qs(),Js(),Ys(),Xs(),Ci(),Zs(),ac(),sc(),lc(),uc(),dc(),fc(),pc(),hc(),gc(),_c(),vc(),yc(),bc(),Sc(),Cc(),wc(),Tc(),Ec(),Dc(),Oc(),kc(),Ac(),Pc(),Fc(),Lc(),zc(),Bc(),Vc(),Hc(),Uc(),Gc(),qc(),Jc(),Yc(),Xc(),Qc(),$c(),tl(),nl(),rl(),il(),ol(),sl(),cl(),ll(),ul(),dl(),fl(),pl(),ml(),gl(),_l(),vl(),yl(),bl(),xl(),Sl(),Cl(),wl(),Tl(),El(),Ol(),kl(),Al(),jl(),tu(),nu(),ru(),iu(),au(),ou(),pu(),mu(),hu(),gu(),_u(),vu(),yu(),xu(),Su(),Cu(),wu(),Tu(),Eu(),Du(),Ou(),ku(),Au(),Ru(),Bu(),Vu(),Uu(),Wu(),Gu(),Ku(),qu(),Yu(),ad(),sd(),ld(),dd(),pd(),gd(),vd(),yd(),xd(),wd(),Td(),Ed(),Dd(),Od(),Md(),Nd(),Fd(),Id(),Ld(),Rd(),Bd(),Vd(),Hd(),Ud(),Wd(),Gd(),Kd(),Jd(),Zd(),ef(),rf(),af(),of(),sf(),cf(),lf(),uf(),df(),ff(),pf(),mf(),hf(),gf(),wf(),Tf(),Ef(),Df(),Of(),kf(),Af(),jf(),Mf(),Nf(),Pf(),Ff(),If(),Rf(),zf(),Bf(),Vf(),Hf(),Uf(),Wf(),Gf(),Kf(),qf(),Jf(),Yf(),Xf(),Zf(),Qf(),$f(),ep(),tp(),np(),rp(),ip(),ap(),op(),sp(),cp(),lp(),up(),hp(),_p(),yp(),bp(),xp(),Sp(),Cp(),Ep(),Op(),kp(),Ap(),Np(),Pp(),Ip(),Lp(),Rp(),Hp(),Up(),Wp(),Gp(),Jp(),$p(),em(),tm(),nm(),rm(),im(),am(),om(),t.exports=oi()}));Wn(),sm();function cm(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];!Fe(i)||!Ie(i)||(Object.assign(i.style,n),Object.keys(r).forEach(function(e){var t=r[e];t===!1?i.removeAttribute(e):i.setAttribute(e,t===!0?``:t)}))})}function lm(e){var t=e.state,n={popper:{position:t.options.strategy,left:`0`,top:`0`,margin:`0`},arrow:{position:`absolute`},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],i=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]=``,e},{});!Fe(r)||!Ie(r)||(Object.assign(r.style,a),Object.keys(i).forEach(function(e){r.removeAttribute(e)}))})}}var um={name:`applyStyles`,enabled:!0,phase:`write`,fn:cm,effect:lm,requires:[`computeStyles`]},dm=Ve({defaultModifiers:[it,ht,Ce,um]}),fm=Ve({defaultModifiers:[it,ht,Ce,um,He,Ee,Te,rt,De]}),pm=oe({afterMain:()=>Re,afterRead:()=>Oe,afterWrite:()=>je,applyStyles:()=>um,arrow:()=>rt,auto:()=>Pe,basePlacements:()=>Be,beforeMain:()=>_t,beforeRead:()=>we,beforeWrite:()=>We,bottom:()=>Ae,clippingParents:()=>Ue,computeStyles:()=>Ce,createPopper:()=>fm,createPopperBase:()=>gt,createPopperLite:()=>dm,detectOverflow:()=>Le,end:()=>`end`,eventListeners:()=>it,flip:()=>Ee,hide:()=>De,left:()=>Ge,main:()=>ke,modifierPhases:()=>Ne,offset:()=>He,placements:()=>lt,popper:()=>Me,popperGenerator:()=>Ve,popperOffsets:()=>ht,preventOverflow:()=>Te,read:()=>qe,reference:()=>Ke,right:()=>Je,start:()=>ze,top:()=>`top`,variationPlacements:()=>Se,viewport:()=>Qe,write:()=>ft}),mm=new Map,hm={set(e,t,n){mm.has(e)||mm.set(e,new Map);let r=mm.get(e);if(!r.has(t)&&r.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`);return}r.set(t,n)},get(e,t){return mm.has(e)&&mm.get(e).get(t)||null},remove(e,t){if(!mm.has(e))return;let n=mm.get(e);n.delete(t),n.size===0&&mm.delete(e)}},gm=1e6,_m=1e3,vm=`transitionend`,ym=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),e),bm=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),xm=e=>{do e+=Math.floor(Math.random()*gm);while(document.getElementById(e));return e},Sm=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);return!Number.parseFloat(t)&&!Number.parseFloat(n)?0:(t=t.split(`,`)[0],n=n.split(`,`)[0],(Number.parseFloat(t)+Number.parseFloat(n))*_m)},Cm=e=>{e.dispatchEvent(new Event(vm))},wm=e=>!e||typeof e!=`object`?!1:(e.jquery!==void 0&&(e=e[0]),e.nodeType!==void 0),Tm=e=>wm(e)?e.jquery?e[0]:e:typeof e==`string`&&e.length>0?document.querySelector(ym(e)):null,Em=e=>{if(!wm(e)||e.getClientRects().length===0)return!1;let t=getComputedStyle(e).getPropertyValue(`visibility`)===`visible`,n=e.closest(`details:not([open])`);if(!n)return t;if(n!==e){let t=e.closest(`summary`);if(t&&t.parentNode!==n||t===null)return!1}return t},Dm=e=>!e||e.nodeType!==Node.ELEMENT_NODE||e.classList.contains(`disabled`)?!0:e.disabled===void 0?e.hasAttribute(`disabled`)&&e.getAttribute(`disabled`)!==`false`:e.disabled,Om=e=>{if(!document.documentElement.attachShadow)return null;if(typeof e.getRootNode==`function`){let t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?Om(e.parentNode):null},km=()=>{},Am=e=>{e.offsetHeight},jm=()=>window.jQuery&&!document.body.hasAttribute(`data-bs-no-jquery`)?window.jQuery:null,Mm=[],Nm=e=>{document.readyState===`loading`?(Mm.length||document.addEventListener(`DOMContentLoaded`,()=>{for(let e of Mm)e()}),Mm.push(e)):e()},Pm=()=>document.documentElement.dir===`rtl`,Fm=e=>{Nm(()=>{let t=jm();if(t){let n=e.NAME,r=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=r,e.jQueryInterface)}})},Im=(e,t=[],n=e)=>typeof e==`function`?e(...t):n,Lm=(e,t,n=!0)=>{if(!n){Im(e);return}let r=Sm(t)+5,i=!1,a=({target:n})=>{n===t&&(i=!0,t.removeEventListener(vm,a),Im(e))};t.addEventListener(vm,a),setTimeout(()=>{i||Cm(t)},r)},Rm=(e,t,n,r)=>{let i=e.length,a=e.indexOf(t);return a===-1?!n&&r?e[i-1]:e[0]:(a+=n?1:-1,r&&(a=(a+i)%i),e[Math.max(0,Math.min(a,i-1))])},zm=/[^.]*(?=\..*)\.|.*/,Bm=/\..*/,Vm=/::\d+$/,Hm={},Um=1,Wm={mouseenter:`mouseover`,mouseleave:`mouseout`},Gm=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`.split(`.`));function Km(e,t){return t&&`${t}::${Um++}`||e.uidEvent||Um++}function qm(e){let t=Km(e);return e.uidEvent=t,Hm[t]=Hm[t]||{},Hm[t]}function Jm(e,t){return function n(r){return nh(r,{delegateTarget:e}),n.oneOff&&J.off(e,r.type,t),t.apply(e,[r])}}function Ym(e,t,n){return function r(i){let a=e.querySelectorAll(t);for(let{target:o}=i;o&&o!==this;o=o.parentNode)for(let s of a)if(s===o)return nh(i,{delegateTarget:o}),r.oneOff&&J.off(e,i.type,t,n),n.apply(o,[i])}}function Xm(e,t,n=null){return Object.values(e).find(e=>e.callable===t&&e.delegationSelector===n)}function Zm(e,t,n){let r=typeof t==`string`,i=r?n:t||n,a=th(e);return Gm.has(a)||(a=e),[r,i,a]}function Qm(e,t,n,r,i){if(typeof t!=`string`||!e)return;let[a,o,s]=Zm(t,n,r);t in Wm&&(o=(e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)})(o));let c=qm(e),l=c[s]||(c[s]={}),u=Xm(l,o,a?n:null);if(u){u.oneOff=u.oneOff&&i;return}let d=Km(o,t.replace(zm,``)),f=a?Ym(e,n,o):Jm(e,o);f.delegationSelector=a?n:null,f.callable=o,f.oneOff=i,f.uidEvent=d,l[d]=f,e.addEventListener(s,f,a)}function $m(e,t,n,r,i){let a=Xm(t[n],r,i);a&&(e.removeEventListener(n,a,!!i),delete t[n][a.uidEvent])}function eh(e,t,n,r){let i=t[n]||{};for(let[a,o]of Object.entries(i))a.includes(r)&&$m(e,t,n,o.callable,o.delegationSelector)}function th(e){return e=e.replace(Bm,``),Wm[e]||e}var J={on(e,t,n,r){Qm(e,t,n,r,!1)},one(e,t,n,r){Qm(e,t,n,r,!0)},off(e,t,n,r){if(typeof t!=`string`||!e)return;let[i,a,o]=Zm(t,n,r),s=o!==t,c=qm(e),l=c[o]||{},u=t.startsWith(`.`);if(a!==void 0){if(!Object.keys(l).length)return;$m(e,c,o,a,i?n:null);return}if(u)for(let n of Object.keys(c))eh(e,c,n,t.slice(1));for(let[n,r]of Object.entries(l)){let i=n.replace(Vm,``);(!s||t.includes(i))&&$m(e,c,o,r.callable,r.delegationSelector)}},trigger(e,t,n){if(typeof t!=`string`||!e)return null;let r=jm(),i=t!==th(t),a=null,o=!0,s=!0,c=!1;i&&r&&(a=r.Event(t,n),r(e).trigger(a),o=!a.isPropagationStopped(),s=!a.isImmediatePropagationStopped(),c=a.isDefaultPrevented());let l=nh(new Event(t,{bubbles:o,cancelable:!0}),n);return c&&l.preventDefault(),s&&e.dispatchEvent(l),l.defaultPrevented&&a&&a.preventDefault(),l}};function nh(e,t={}){for(let[n,r]of Object.entries(t))try{e[n]=r}catch{Object.defineProperty(e,n,{configurable:!0,get(){return r}})}return e}function rh(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 ih(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}var ah={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${ih(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${ih(t)}`)},getDataAttributes(e){if(!e)return{};let t={},n=Object.keys(e.dataset).filter(e=>e.startsWith(`bs`)&&!e.startsWith(`bsConfig`));for(let r of n){let n=r.replace(/^bs/,``);n=n.charAt(0).toLowerCase()+n.slice(1,n.length),t[n]=rh(e.dataset[r])}return t},getDataAttribute(e,t){return rh(e.getAttribute(`data-bs-${ih(t)}`))}},oh=class{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw Error(`You have to implement the static method "NAME", for each component!`)}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){let n=wm(t)?ah.getDataAttribute(t,`config`):{};return{...this.constructor.Default,...typeof n==`object`?n:{},...wm(t)?ah.getDataAttributes(t):{},...typeof e==`object`?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(let[n,r]of Object.entries(t)){let t=e[n],i=wm(t)?`element`:bm(t);if(!new RegExp(r).test(i))throw TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${i}" but expected type "${r}".`)}}},sh=`5.3.2`,ch=class extends oh{constructor(e,t){super(),e=Tm(e),e&&(this._element=e,this._config=this._getConfig(t),hm.set(this._element,this.constructor.DATA_KEY,this))}dispose(){hm.remove(this._element,this.constructor.DATA_KEY),J.off(this._element,this.constructor.EVENT_KEY);for(let e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,n=!0){Lm(e,t,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return hm.get(Tm(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t==`object`?t:null)}static get VERSION(){return sh}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}},lh=e=>{let t=e.getAttribute(`data-bs-target`);if(!t||t===`#`){let n=e.getAttribute(`href`);if(!n||!n.includes(`#`)&&!n.startsWith(`.`))return null;n.includes(`#`)&&!n.startsWith(`#`)&&(n=`#${n.split(`#`)[1]}`),t=n&&n!==`#`?ym(n.trim()):null}return t},Y={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(e=>e.matches(t))},parents(e,t){let n=[],r=e.parentNode.closest(t);for(;r;)n.push(r),r=r.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){let t=[`a`,`button`,`input`,`textarea`,`select`,`details`,`[tabindex]`,`[contenteditable="true"]`].map(e=>`${e}:not([tabindex^="-"])`).join(`,`);return this.find(t,e).filter(e=>!Dm(e)&&Em(e))},getSelectorFromElement(e){let t=lh(e);return t&&Y.findOne(t)?t:null},getElementFromSelector(e){let t=lh(e);return t?Y.findOne(t):null},getMultipleElementsFromSelector(e){let t=lh(e);return t?Y.find(t):[]}},uh=(e,t=`hide`)=>{let n=`click.dismiss${e.EVENT_KEY}`,r=e.NAME;J.on(document,n,`[data-bs-dismiss="${r}"]`,function(n){if([`A`,`AREA`].includes(this.tagName)&&n.preventDefault(),Dm(this))return;let i=Y.getElementFromSelector(this)||this.closest(`.${r}`);e.getOrCreateInstance(i)[t]()})},dh=`alert`,fh=`.bs.alert`,ph=`close${fh}`,mh=`closed${fh}`,hh=`fade`,gh=`show`,_h=class e extends ch{static get NAME(){return dh}close(){if(J.trigger(this._element,ph).defaultPrevented)return;this._element.classList.remove(gh);let e=this._element.classList.contains(hh);this._queueCallback(()=>this._destroyElement(),this._element,e)}_destroyElement(){this._element.remove(),J.trigger(this._element,mh),this.dispose()}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this);if(typeof t==`string`){if(n[t]===void 0||t.startsWith(`_`)||t===`constructor`)throw TypeError(`No method named "${t}"`);n[t](this)}})}};uh(_h,`close`),Fm(_h);var vh=`button`,yh=`.bs.button`,bh=`.data-api`,xh=`active`,Sh=`[data-bs-toggle="button"]`,Ch=`click${yh}${bh}`,wh=class e extends ch{static get NAME(){return vh}toggle(){this._element.setAttribute(`aria-pressed`,this._element.classList.toggle(xh))}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this);t===`toggle`&&n[t]()})}};J.on(document,Ch,Sh,e=>{e.preventDefault();let t=e.target.closest(Sh);wh.getOrCreateInstance(t).toggle()}),Fm(wh);var Th=`swipe`,Eh=`.bs.swipe`,Dh=`touchstart${Eh}`,Oh=`touchmove${Eh}`,kh=`touchend${Eh}`,Ah=`pointerdown${Eh}`,jh=`pointerup${Eh}`,Mh=`touch`,Nh=`pen`,Ph=`pointer-event`,Fh=40,Ih={endCallback:null,leftCallback:null,rightCallback:null},Lh={endCallback:`(function|null)`,leftCallback:`(function|null)`,rightCallback:`(function|null)`},Rh=class e extends oh{constructor(t,n){super(),this._element=t,!(!t||!e.isSupported())&&(this._config=this._getConfig(n),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Ih}static get DefaultType(){return Lh}static get NAME(){return Th}dispose(){J.off(this._element,Eh)}_start(e){if(!this._supportPointerEvents){this._deltaX=e.touches[0].clientX;return}this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX)}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),Im(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){let e=Math.abs(this._deltaX);if(e<=Fh)return;let t=e/this._deltaX;this._deltaX=0,t&&Im(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(J.on(this._element,Ah,e=>this._start(e)),J.on(this._element,jh,e=>this._end(e)),this._element.classList.add(Ph)):(J.on(this._element,Dh,e=>this._start(e)),J.on(this._element,Oh,e=>this._move(e)),J.on(this._element,kh,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===Nh||e.pointerType===Mh)}static isSupported(){return`ontouchstart`in document.documentElement||navigator.maxTouchPoints>0}},zh=`carousel`,Bh=`.bs.carousel`,Vh=`.data-api`,Hh=`ArrowLeft`,Uh=`ArrowRight`,Wh=500,Gh=`next`,Kh=`prev`,qh=`left`,Jh=`right`,Yh=`slide${Bh}`,Xh=`slid${Bh}`,Zh=`keydown${Bh}`,Qh=`mouseenter${Bh}`,$h=`mouseleave${Bh}`,eg=`dragstart${Bh}`,tg=`load${Bh}${Vh}`,ng=`click${Bh}${Vh}`,rg=`carousel`,ig=`active`,ag=`slide`,og=`carousel-item-end`,sg=`carousel-item-start`,cg=`carousel-item-next`,lg=`carousel-item-prev`,ug=`.active`,dg=`.carousel-item`,fg=ug+dg,pg=`.carousel-item img`,mg=`.carousel-indicators`,hg=`[data-bs-slide], [data-bs-slide-to]`,gg=`[data-bs-ride="carousel"]`,_g={[Hh]:Jh,[Uh]:qh},vg={interval:5e3,keyboard:!0,pause:`hover`,ride:!1,touch:!0,wrap:!0},yg={interval:`(number|boolean)`,keyboard:`boolean`,pause:`(string|boolean)`,ride:`(boolean|string)`,touch:`boolean`,wrap:`boolean`},bg=class e extends ch{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Y.findOne(mg,this._element),this._addEventListeners(),this._config.ride===rg&&this.cycle()}static get Default(){return vg}static get DefaultType(){return yg}static get NAME(){return zh}next(){this._slide(Gh)}nextWhenVisible(){!document.hidden&&Em(this._element)&&this.next()}prev(){this._slide(Kh)}pause(){this._isSliding&&Cm(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){J.one(this._element,Xh,()=>this.cycle());return}this.cycle()}}to(e){let t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding){J.one(this._element,Xh,()=>this.to(e));return}let n=this._getItemIndex(this._getActive());if(n===e)return;let r=e>n?Gh:Kh;this._slide(r,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&J.on(this._element,Zh,e=>this._keydown(e)),this._config.pause===`hover`&&(J.on(this._element,Qh,()=>this.pause()),J.on(this._element,$h,()=>this._maybeEnableCycle())),this._config.touch&&Rh.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(let e of Y.find(pg,this._element))J.on(e,eg,e=>e.preventDefault());this._swipeHelper=new Rh(this._element,{leftCallback:()=>this._slide(this._directionToOrder(qh)),rightCallback:()=>this._slide(this._directionToOrder(Jh)),endCallback:()=>{this._config.pause===`hover`&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),Wh+this._config.interval))}})}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;let t=_g[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;let t=Y.findOne(ug,this._indicatorsElement);t.classList.remove(ig),t.removeAttribute(`aria-current`);let n=Y.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);n&&(n.classList.add(ig),n.setAttribute(`aria-current`,`true`))}_updateInterval(){let e=this._activeElement||this._getActive();if(!e)return;let t=Number.parseInt(e.getAttribute(`data-bs-interval`),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;let n=this._getActive(),r=e===Gh,i=t||Rm(this._getItems(),n,r,this._config.wrap);if(i===n)return;let a=this._getItemIndex(i),o=t=>J.trigger(this._element,t,{relatedTarget:i,direction:this._orderToDirection(e),from:this._getItemIndex(n),to:a});if(o(Yh).defaultPrevented||!n||!i)return;let s=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(a),this._activeElement=i;let c=r?sg:og,l=r?cg:lg;i.classList.add(l),Am(i),n.classList.add(c),i.classList.add(c),this._queueCallback(()=>{i.classList.remove(c,l),i.classList.add(ig),n.classList.remove(ig,l,c),this._isSliding=!1,o(Xh)},n,this._isAnimated()),s&&this.cycle()}_isAnimated(){return this._element.classList.contains(ag)}_getActive(){return Y.findOne(fg,this._element)}_getItems(){return Y.find(dg,this._element)}_clearInterval(){this._interval&&=(clearInterval(this._interval),null)}_directionToOrder(e){return Pm()?e===qh?Kh:Gh:e===qh?Gh:Kh}_orderToDirection(e){return Pm()?e===Kh?qh:Jh:e===Kh?Jh:qh}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this,t);if(typeof t==`number`){n.to(t);return}if(typeof t==`string`){if(n[t]===void 0||t.startsWith(`_`)||t===`constructor`)throw TypeError(`No method named "${t}"`);n[t]()}})}};J.on(document,ng,hg,function(e){let t=Y.getElementFromSelector(this);if(!t||!t.classList.contains(rg))return;e.preventDefault();let n=bg.getOrCreateInstance(t),r=this.getAttribute(`data-bs-slide-to`);if(r){n.to(r),n._maybeEnableCycle();return}if(ah.getDataAttribute(this,`slide`)===`next`){n.next(),n._maybeEnableCycle();return}n.prev(),n._maybeEnableCycle()}),J.on(window,tg,()=>{let e=Y.find(gg);for(let t of e)bg.getOrCreateInstance(t)}),Fm(bg);var xg=`collapse`,Sg=`.bs.collapse`,Cg=`.data-api`,wg=`show${Sg}`,Tg=`shown${Sg}`,Eg=`hide${Sg}`,Dg=`hidden${Sg}`,Og=`click${Sg}${Cg}`,kg=`show`,Ag=`collapse`,jg=`collapsing`,Mg=`collapsed`,Ng=`:scope .${Ag} .${Ag}`,Pg=`collapse-horizontal`,Fg=`width`,Ig=`height`,Lg=`.collapse.show, .collapse.collapsing`,Rg=`[data-bs-toggle="collapse"]`,zg={parent:null,toggle:!0},Bg={parent:`(null|element)`,toggle:`boolean`},Vg=class e extends ch{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];let n=Y.find(Rg);for(let e of n){let t=Y.getSelectorFromElement(e),n=Y.find(t).filter(e=>e===this._element);t!==null&&n.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return zg}static get DefaultType(){return Bg}static get NAME(){return xg}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(Lg).filter(e=>e!==this._element).map(t=>e.getOrCreateInstance(t,{toggle:!1}))),t.length&&t[0]._isTransitioning||J.trigger(this._element,wg).defaultPrevented)return;for(let e of t)e.hide();let n=this._getDimension();this._element.classList.remove(Ag),this._element.classList.add(jg),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;let r=()=>{this._isTransitioning=!1,this._element.classList.remove(jg),this._element.classList.add(Ag,kg),this._element.style[n]=``,J.trigger(this._element,Tg)},i=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback(r,this._element,!0),this._element.style[n]=`${this._element[i]}px`}hide(){if(this._isTransitioning||!this._isShown()||J.trigger(this._element,Eg).defaultPrevented)return;let e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,Am(this._element),this._element.classList.add(jg),this._element.classList.remove(Ag,kg);for(let e of this._triggerArray){let t=Y.getElementFromSelector(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0;let t=()=>{this._isTransitioning=!1,this._element.classList.remove(jg),this._element.classList.add(Ag),J.trigger(this._element,Dg)};this._element.style[e]=``,this._queueCallback(t,this._element,!0)}_isShown(e=this._element){return e.classList.contains(kg)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=Tm(e.parent),e}_getDimension(){return this._element.classList.contains(Pg)?Fg:Ig}_initializeChildren(){if(!this._config.parent)return;let e=this._getFirstLevelChildren(Rg);for(let t of e){let e=Y.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){let t=Y.find(Ng,this._config.parent);return Y.find(e,this._config.parent).filter(e=>!t.includes(e))}_addAriaAndCollapsedClass(e,t){if(e.length)for(let n of e)n.classList.toggle(Mg,!t),n.setAttribute(`aria-expanded`,t)}static jQueryInterface(t){let n={};return typeof t==`string`&&/show|hide/.test(t)&&(n.toggle=!1),this.each(function(){let r=e.getOrCreateInstance(this,n);if(typeof t==`string`){if(r[t]===void 0)throw TypeError(`No method named "${t}"`);r[t]()}})}};J.on(document,Og,Rg,function(e){(e.target.tagName===`A`||e.delegateTarget&&e.delegateTarget.tagName===`A`)&&e.preventDefault();for(let e of Y.getMultipleElementsFromSelector(this))Vg.getOrCreateInstance(e,{toggle:!1}).toggle()}),Fm(Vg);var Hg=`dropdown`,Ug=`.bs.dropdown`,Wg=`.data-api`,Gg=`Escape`,Kg=`Tab`,qg=`ArrowUp`,Jg=`ArrowDown`,Yg=2,Xg=`hide${Ug}`,Zg=`hidden${Ug}`,Qg=`show${Ug}`,$g=`shown${Ug}`,e_=`click${Ug}${Wg}`,t_=`keydown${Ug}${Wg}`,n_=`keyup${Ug}${Wg}`,r_=`show`,i_=`dropup`,a_=`dropend`,o_=`dropstart`,s_=`dropup-center`,c_=`dropdown-center`,l_=`[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)`,u_=`${l_}.${r_}`,d_=`.dropdown-menu`,f_=`.navbar`,p_=`.navbar-nav`,m_=`.dropdown-menu .dropdown-item:not(.disabled):not(:disabled)`,h_=Pm()?`top-end`:`top-start`,g_=Pm()?`top-start`:`top-end`,__=Pm()?`bottom-end`:`bottom-start`,v_=Pm()?`bottom-start`:`bottom-end`,y_=Pm()?`left-start`:`right-start`,b_=Pm()?`right-start`:`left-start`,x_=`top`,S_=`bottom`,C_={autoClose:!0,boundary:`clippingParents`,display:`dynamic`,offset:[0,2],popperConfig:null,reference:`toggle`},w_={autoClose:`(boolean|string)`,boundary:`(string|element)`,display:`string`,offset:`(array|string|function)`,popperConfig:`(null|object|function)`,reference:`(string|element|object)`},T_=class e extends ch{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=Y.next(this._element,d_)[0]||Y.prev(this._element,d_)[0]||Y.findOne(d_,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return C_}static get DefaultType(){return w_}static get NAME(){return Hg}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Dm(this._element)||this._isShown())return;let e={relatedTarget:this._element};if(!J.trigger(this._element,Qg,e).defaultPrevented){if(this._createPopper(),`ontouchstart`in document.documentElement&&!this._parent.closest(p_))for(let e of[].concat(...document.body.children))J.on(e,`mouseover`,km);this._element.focus(),this._element.setAttribute(`aria-expanded`,!0),this._menu.classList.add(r_),this._element.classList.add(r_),J.trigger(this._element,$g,e)}}hide(){if(Dm(this._element)||!this._isShown())return;let e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!J.trigger(this._element,Xg,e).defaultPrevented){if(`ontouchstart`in document.documentElement)for(let e of[].concat(...document.body.children))J.off(e,`mouseover`,km);this._popper&&this._popper.destroy(),this._menu.classList.remove(r_),this._element.classList.remove(r_),this._element.setAttribute(`aria-expanded`,`false`),ah.removeDataAttribute(this._menu,`popper`),J.trigger(this._element,Zg,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference==`object`&&!wm(e.reference)&&typeof e.reference.getBoundingClientRect!=`function`)throw TypeError(`${Hg.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(pm===void 0)throw TypeError(`Bootstrap's dropdowns require Popper (https://popper.js.org)`);let e=this._element;this._config.reference===`parent`?e=this._parent:wm(this._config.reference)?e=Tm(this._config.reference):typeof this._config.reference==`object`&&(e=this._config.reference);let t=this._getPopperConfig();this._popper=fm(e,this._menu,t)}_isShown(){return this._menu.classList.contains(r_)}_getPlacement(){let e=this._parent;if(e.classList.contains(a_))return y_;if(e.classList.contains(o_))return b_;if(e.classList.contains(s_))return x_;if(e.classList.contains(c_))return S_;let t=getComputedStyle(this._menu).getPropertyValue(`--bs-position`).trim()===`end`;return e.classList.contains(i_)?t?g_:h_:t?v_:__}_detectNavbar(){return this._element.closest(f_)!==null}_getOffset(){let{offset:e}=this._config;return typeof e==`string`?e.split(`,`).map(e=>Number.parseInt(e,10)):typeof e==`function`?t=>e(t,this._element):e}_getPopperConfig(){let e={placement:this._getPlacement(),modifiers:[{name:`preventOverflow`,options:{boundary:this._config.boundary}},{name:`offset`,options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display===`static`)&&(ah.setDataAttribute(this._menu,`popper`,`static`),e.modifiers=[{name:`applyStyles`,enabled:!1}]),{...e,...Im(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){let n=Y.find(m_,this._menu).filter(e=>Em(e));n.length&&Rm(n,t,e===Jg,!n.includes(t)).focus()}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this,t);if(typeof t==`string`){if(n[t]===void 0)throw TypeError(`No method named "${t}"`);n[t]()}})}static clearMenus(t){if(t.button===Yg||t.type===`keyup`&&t.key!==Kg)return;let n=Y.find(u_);for(let r of n){let n=e.getInstance(r);if(!n||n._config.autoClose===!1)continue;let i=t.composedPath(),a=i.includes(n._menu);if(i.includes(n._element)||n._config.autoClose===`inside`&&!a||n._config.autoClose===`outside`&&a||n._menu.contains(t.target)&&(t.type===`keyup`&&t.key===Kg||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;let o={relatedTarget:n._element};t.type===`click`&&(o.clickEvent=t),n._completeHide(o)}}static dataApiKeydownHandler(t){let n=/input|textarea/i.test(t.target.tagName),r=t.key===Gg,i=[qg,Jg].includes(t.key);if(!i&&!r||n&&!r)return;t.preventDefault();let a=this.matches(l_)?this:Y.prev(this,l_)[0]||Y.next(this,l_)[0]||Y.findOne(l_,t.delegateTarget.parentNode),o=e.getOrCreateInstance(a);if(i){t.stopPropagation(),o.show(),o._selectMenuItem(t);return}o._isShown()&&(t.stopPropagation(),o.hide(),a.focus())}};J.on(document,t_,l_,T_.dataApiKeydownHandler),J.on(document,t_,d_,T_.dataApiKeydownHandler),J.on(document,e_,T_.clearMenus),J.on(document,n_,T_.clearMenus),J.on(document,e_,l_,function(e){e.preventDefault(),T_.getOrCreateInstance(this).toggle()}),Fm(T_);var E_=`backdrop`,D_=`fade`,O_=`show`,k_=`mousedown.bs.${E_}`,A_={className:`modal-backdrop`,clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:`body`},j_={className:`string`,clickCallback:`(function|null)`,isAnimated:`boolean`,isVisible:`boolean`,rootElement:`(element|string)`},M_=class extends oh{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return A_}static get DefaultType(){return j_}static get NAME(){return E_}show(e){if(!this._config.isVisible){Im(e);return}this._append();let t=this._getElement();this._config.isAnimated&&Am(t),t.classList.add(O_),this._emulateAnimation(()=>{Im(e)})}hide(e){if(!this._config.isVisible){Im(e);return}this._getElement().classList.remove(O_),this._emulateAnimation(()=>{this.dispose(),Im(e)})}dispose(){this._isAppended&&=(J.off(this._element,k_),this._element.remove(),!1)}_getElement(){if(!this._element){let e=document.createElement(`div`);e.className=this._config.className,this._config.isAnimated&&e.classList.add(D_),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=Tm(e.rootElement),e}_append(){if(this._isAppended)return;let e=this._getElement();this._config.rootElement.append(e),J.on(e,k_,()=>{Im(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){Lm(e,this._getElement(),this._config.isAnimated)}},N_=`focustrap`,P_=`.bs.focustrap`,F_=`focusin${P_}`,I_=`keydown.tab${P_}`,L_=`Tab`,R_=`forward`,z_=`backward`,B_={autofocus:!0,trapElement:null},V_={autofocus:`boolean`,trapElement:`element`},H_=class extends oh{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return B_}static get DefaultType(){return V_}static get NAME(){return N_}activate(){this._isActive||=(this._config.autofocus&&this._config.trapElement.focus(),J.off(document,P_),J.on(document,F_,e=>this._handleFocusin(e)),J.on(document,I_,e=>this._handleKeydown(e)),!0)}deactivate(){this._isActive&&(this._isActive=!1,J.off(document,P_))}_handleFocusin(e){let{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;let n=Y.focusableChildren(t);n.length===0?t.focus():this._lastTabNavDirection===z_?n[n.length-1].focus():n[0].focus()}_handleKeydown(e){e.key===L_&&(this._lastTabNavDirection=e.shiftKey?z_:R_)}},U_=`.fixed-top, .fixed-bottom, .is-fixed, .sticky-top`,W_=`.sticky-top`,G_=`padding-right`,K_=`margin-right`,q_=class{constructor(){this._element=document.body}getWidth(){let e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){let e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,G_,t=>t+e),this._setElementAttributes(U_,G_,t=>t+e),this._setElementAttributes(W_,K_,t=>t-e)}reset(){this._resetElementAttributes(this._element,`overflow`),this._resetElementAttributes(this._element,G_),this._resetElementAttributes(U_,G_),this._resetElementAttributes(W_,K_)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,`overflow`),this._element.style.overflow=`hidden`}_setElementAttributes(e,t,n){let r=this.getWidth();this._applyManipulationCallback(e,e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+r)return;this._saveInitialAttribute(e,t);let i=window.getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,`${n(Number.parseFloat(i))}px`)})}_saveInitialAttribute(e,t){let n=e.style.getPropertyValue(t);n&&ah.setDataAttribute(e,t,n)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,e=>{let n=ah.getDataAttribute(e,t);if(n===null){e.style.removeProperty(t);return}ah.removeDataAttribute(e,t),e.style.setProperty(t,n)})}_applyManipulationCallback(e,t){if(wm(e)){t(e);return}for(let n of Y.find(e,this._element))t(n)}},J_=`modal`,Y_=`.bs.modal`,X_=`.data-api`,Z_=`Escape`,Q_=`hide${Y_}`,$_=`hidePrevented${Y_}`,ev=`hidden${Y_}`,tv=`show${Y_}`,nv=`shown${Y_}`,rv=`resize${Y_}`,iv=`click.dismiss${Y_}`,av=`mousedown.dismiss${Y_}`,ov=`keydown.dismiss${Y_}`,sv=`click${Y_}${X_}`,cv=`modal-open`,lv=`fade`,uv=`show`,dv=`modal-static`,fv=`.modal.show`,pv=`.modal-dialog`,mv=`.modal-body`,hv=`[data-bs-toggle="modal"]`,gv={backdrop:!0,focus:!0,keyboard:!0},_v={backdrop:`(boolean|string)`,focus:`boolean`,keyboard:`boolean`},vv=class e extends ch{constructor(e,t){super(e,t),this._dialog=Y.findOne(pv,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new q_,this._addEventListeners()}static get Default(){return gv}static get DefaultType(){return _v}static get NAME(){return J_}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||J.trigger(this._element,tv,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(cv),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||J.trigger(this._element,Q_).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(uv),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){J.off(window,Y_),J.off(this._dialog,Y_),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new M_({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new H_({trapElement:this._element})}_showElement(e){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;let t=Y.findOne(mv,this._dialog);t&&(t.scrollTop=0),Am(this._element),this._element.classList.add(uv),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,J.trigger(this._element,nv,{relatedTarget:e})},this._dialog,this._isAnimated())}_addEventListeners(){J.on(this._element,ov,e=>{if(e.key===Z_){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),J.on(window,rv,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),J.on(this._element,av,e=>{J.one(this._element,iv,t=>{if(!(this._element!==e.target||this._element!==t.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(cv),this._resetAdjustments(),this._scrollBar.reset(),J.trigger(this._element,ev)})}_isAnimated(){return this._element.classList.contains(lv)}_triggerBackdropTransition(){if(J.trigger(this._element,$_).defaultPrevented)return;let e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;t===`hidden`||this._element.classList.contains(dv)||(e||(this._element.style.overflowY=`hidden`),this._element.classList.add(dv),this._queueCallback(()=>{this._element.classList.remove(dv),this._queueCallback(()=>{this._element.style.overflowY=t},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){let e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=t>0;if(n&&!e){let e=Pm()?`paddingLeft`:`paddingRight`;this._element.style[e]=`${t}px`}if(!n&&e){let e=Pm()?`paddingRight`:`paddingLeft`;this._element.style[e]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft=``,this._element.style.paddingRight=``}static jQueryInterface(t,n){return this.each(function(){let r=e.getOrCreateInstance(this,t);if(typeof t==`string`){if(r[t]===void 0)throw TypeError(`No method named "${t}"`);r[t](n)}})}};J.on(document,sv,hv,function(e){let t=Y.getElementFromSelector(this);[`A`,`AREA`].includes(this.tagName)&&e.preventDefault(),J.one(t,tv,e=>{e.defaultPrevented||J.one(t,ev,()=>{Em(this)&&this.focus()})});let n=Y.findOne(fv);n&&vv.getInstance(n).hide(),vv.getOrCreateInstance(t).toggle(this)}),uh(vv),Fm(vv);var yv=`offcanvas`,bv=`.bs.offcanvas`,xv=`.data-api`,Sv=`load${bv}${xv}`,Cv=`Escape`,wv=`show`,Tv=`showing`,Ev=`hiding`,Dv=`offcanvas-backdrop`,Ov=`.offcanvas.show`,kv=`show${bv}`,Av=`shown${bv}`,jv=`hide${bv}`,Mv=`hidePrevented${bv}`,Nv=`hidden${bv}`,Pv=`resize${bv}`,Fv=`click${bv}${xv}`,Iv=`keydown.dismiss${bv}`,Lv=`[data-bs-toggle="offcanvas"]`,Rv={backdrop:!0,keyboard:!0,scroll:!1},zv={backdrop:`(boolean|string)`,keyboard:`boolean`,scroll:`boolean`},Bv=class e extends ch{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Rv}static get DefaultType(){return zv}static get NAME(){return yv}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||J.trigger(this._element,kv,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||new q_().hide(),this._element.setAttribute(`aria-modal`,!0),this._element.setAttribute(`role`,`dialog`),this._element.classList.add(Tv),this._queueCallback(()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(wv),this._element.classList.remove(Tv),J.trigger(this._element,Av,{relatedTarget:e})},this._element,!0))}hide(){!this._isShown||J.trigger(this._element,jv).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Ev),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove(wv,Ev),this._element.removeAttribute(`aria-modal`),this._element.removeAttribute(`role`),this._config.scroll||new q_().reset(),J.trigger(this._element,Nv)},this._element,!0))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){let e=()=>{if(this._config.backdrop===`static`){J.trigger(this._element,Mv);return}this.hide()},t=!!this._config.backdrop;return new M_({className:Dv,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?e:null})}_initializeFocusTrap(){return new H_({trapElement:this._element})}_addEventListeners(){J.on(this._element,Iv,e=>{if(e.key===Cv){if(this._config.keyboard){this.hide();return}J.trigger(this._element,Mv)}})}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this,t);if(typeof t==`string`){if(n[t]===void 0||t.startsWith(`_`)||t===`constructor`)throw TypeError(`No method named "${t}"`);n[t](this)}})}};J.on(document,Fv,Lv,function(e){let t=Y.getElementFromSelector(this);if([`A`,`AREA`].includes(this.tagName)&&e.preventDefault(),Dm(this))return;J.one(t,Nv,()=>{Em(this)&&this.focus()});let n=Y.findOne(Ov);n&&n!==t&&Bv.getInstance(n).hide(),Bv.getOrCreateInstance(t).toggle(this)}),J.on(window,Sv,()=>{for(let e of Y.find(Ov))Bv.getOrCreateInstance(e).show()}),J.on(window,Pv,()=>{for(let e of Y.find(`[aria-modal][class*=show][class*=offcanvas-]`))getComputedStyle(e).position!==`fixed`&&Bv.getOrCreateInstance(e).hide()}),uh(Bv),Fm(Bv);var Vv=/^aria-[\w-]*$/i,Hv={"*":[`class`,`dir`,`id`,`lang`,`role`,Vv],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:[]},Uv=new Set([`background`,`cite`,`href`,`itemtype`,`longdesc`,`poster`,`src`,`xlink:href`]),Wv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Gv=(e,t)=>{let n=e.nodeName.toLowerCase();return t.includes(n)?Uv.has(n)?!!Wv.test(e.nodeValue):!0:t.filter(e=>e instanceof RegExp).some(e=>e.test(n))};function Kv(e,t,n){if(!e.length)return e;if(n&&typeof n==`function`)return n(e);let r=new window.DOMParser().parseFromString(e,`text/html`),i=[].concat(...r.body.querySelectorAll(`*`));for(let e of i){let n=e.nodeName.toLowerCase();if(!Object.keys(t).includes(n)){e.remove();continue}let r=[].concat(...e.attributes),i=[].concat(t[`*`]||[],t[n]||[]);for(let t of r)Gv(t,i)||e.removeAttribute(t.nodeName)}return r.body.innerHTML}var qv=`TemplateFactory`,Jv={allowList:Hv,content:{},extraClass:``,html:!1,sanitize:!0,sanitizeFn:null,template:`<div></div>`},Yv={allowList:`object`,content:`object`,extraClass:`(string|function)`,html:`boolean`,sanitize:`boolean`,sanitizeFn:`(null|function)`,template:`string`},Xv={entry:`(string|element|function|null)`,selector:`(string|element)`},Zv=class extends oh{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Jv}static get DefaultType(){return Yv}static get NAME(){return qv}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){let e=document.createElement(`div`);e.innerHTML=this._maybeSanitize(this._config.template);for(let[t,n]of Object.entries(this._config.content))this._setContent(e,n,t);let t=e.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&t.classList.add(...n.split(` `)),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(let[t,n]of Object.entries(e))super._typeCheckConfig({selector:t,entry:n},Xv)}_setContent(e,t,n){let r=Y.findOne(n,e);if(r){if(t=this._resolvePossibleFunction(t),!t){r.remove();return}if(wm(t)){this._putElementInTemplate(Tm(t),r);return}if(this._config.html){r.innerHTML=this._maybeSanitize(t);return}r.textContent=t}}_maybeSanitize(e){return this._config.sanitize?Kv(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return Im(e,[this])}_putElementInTemplate(e,t){if(this._config.html){t.innerHTML=``,t.append(e);return}t.textContent=e.textContent}},Qv=`tooltip`,$v=new Set([`sanitize`,`allowList`,`sanitizeFn`]),ey=`fade`,ty=`modal`,ny=`show`,ry=`.tooltip-inner`,iy=`.${ty}`,ay=`hide.bs.modal`,oy=`hover`,sy=`focus`,cy=`click`,ly=`manual`,uy=`hide`,dy=`hidden`,fy=`show`,py=`shown`,my=`inserted`,hy=`click`,gy=`focusin`,_y=`focusout`,vy=`mouseenter`,yy=`mouseleave`,by={AUTO:`auto`,TOP:`top`,RIGHT:Pm()?`left`:`right`,BOTTOM:`bottom`,LEFT:Pm()?`right`:`left`},xy={allowList:Hv,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`},Sy={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`},Cy=class e extends ch{constructor(e,t){if(pm===void 0)throw TypeError(`Bootstrap's tooltips require Popper (https://popper.js.org)`);super(e,t),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 xy}static get DefaultType(){return Sy}static get NAME(){return Qv}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),J.off(this._element.closest(iy),ay,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 Error(`Please use show on visible elements`);if(!(this._isWithContent()&&this._isEnabled))return;let e=J.trigger(this._element,this.constructor.eventName(fy)),t=(Om(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this._disposePopper();let n=this._getTipElement();this._element.setAttribute(`aria-describedby`,n.getAttribute(`id`));let{container:r}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(r.append(n),J.trigger(this._element,this.constructor.eventName(my))),this._popper=this._createPopper(n),n.classList.add(ny),`ontouchstart`in document.documentElement)for(let e of[].concat(...document.body.children))J.on(e,`mouseover`,km);this._queueCallback(()=>{J.trigger(this._element,this.constructor.eventName(py)),this._isHovered===!1&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(!(!this._isShown()||J.trigger(this._element,this.constructor.eventName(uy)).defaultPrevented)){if(this._getTipElement().classList.remove(ny),`ontouchstart`in document.documentElement)for(let e of[].concat(...document.body.children))J.off(e,`mouseover`,km);this._activeTrigger[cy]=!1,this._activeTrigger[sy]=!1,this._activeTrigger[oy]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute(`aria-describedby`),J.trigger(this._element,this.constructor.eventName(dy)))},this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||=this._createTipElement(this._newContent||this._getContentForTemplate()),this.tip}_createTipElement(e){let t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(ey,ny),t.classList.add(`bs-${this.constructor.NAME}-auto`);let n=xm(this.constructor.NAME).toString();return t.setAttribute(`id`,n),this._isAnimated()&&t.classList.add(ey),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Zv({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[ry]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute(`data-bs-original-title`)}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(ey)}_isShown(){return this.tip&&this.tip.classList.contains(ny)}_createPopper(e){let t=by[Im(this._config.placement,[this,e,this._element]).toUpperCase()];return fm(this._element,e,this._getPopperConfig(t))}_getOffset(){let{offset:e}=this._config;return typeof e==`string`?e.split(`,`).map(e=>Number.parseInt(e,10)):typeof e==`function`?t=>e(t,this._element):e}_resolvePossibleFunction(e){return Im(e,[this._element])}_getPopperConfig(e){let t={placement:e,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:e=>{this._getTipElement().setAttribute(`data-popper-placement`,e.state.placement)}}]};return{...t,...Im(this._config.popperConfig,[t])}}_setListeners(){let e=this._config.trigger.split(` `);for(let t of e)if(t===`click`)J.on(this._element,this.constructor.eventName(hy),this._config.selector,e=>{this._initializeOnDelegatedTarget(e).toggle()});else if(t!==ly){let e=t===oy?this.constructor.eventName(vy):this.constructor.eventName(gy),n=t===oy?this.constructor.eventName(yy):this.constructor.eventName(_y);J.on(this._element,e,this._config.selector,e=>{let t=this._initializeOnDelegatedTarget(e);t._activeTrigger[e.type===`focusin`?sy:oy]=!0,t._enter()}),J.on(this._element,n,this._config.selector,e=>{let t=this._initializeOnDelegatedTarget(e);t._activeTrigger[e.type===`focusout`?sy:oy]=t._element.contains(e.relatedTarget),t._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},J.on(this._element.closest(iy),ay,this._hideModalHandler)}_fixTitle(){let e=this._element.getAttribute(`title`);e&&(!this._element.getAttribute(`aria-label`)&&!this._element.textContent.trim()&&this._element.setAttribute(`aria-label`,e),this._element.setAttribute(`data-bs-original-title`,e),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(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){let t=ah.getDataAttributes(this._element);for(let e of Object.keys(t))$v.has(e)&&delete t[e];return e={...t,...typeof e==`object`&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:Tm(e.container),typeof e.delay==`number`&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title==`number`&&(e.title=e.title.toString()),typeof e.content==`number`&&(e.content=e.content.toString()),e}_getDelegateConfig(){let e={};for(let[t,n]of Object.entries(this._config))this.constructor.Default[t]!==n&&(e[t]=n);return e.selector=!1,e.trigger=`manual`,e}_disposePopper(){this._popper&&=(this._popper.destroy(),null),this.tip&&=(this.tip.remove(),null)}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this,t);if(typeof t==`string`){if(n[t]===void 0)throw TypeError(`No method named "${t}"`);n[t]()}})}};Fm(Cy);var wy=`popover`,Ty=`.popover-header`,Ey=`.popover-body`,Dy={...Cy.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`},Oy={...Cy.DefaultType,content:`(null|string|element|function)`};Fm(class e extends Cy{static get Default(){return Dy}static get DefaultType(){return Oy}static get NAME(){return wy}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Ty]:this._getTitle(),[Ey]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this,t);if(typeof t==`string`){if(n[t]===void 0)throw TypeError(`No method named "${t}"`);n[t]()}})}});var ky=`scrollspy`,Ay=`.bs.scrollspy`,jy=`.data-api`,My=`activate${Ay}`,Ny=`click${Ay}`,Py=`load${Ay}${jy}`,Fy=`dropdown-item`,Iy=`active`,Ly=`[data-bs-spy="scroll"]`,Ry=`[href]`,zy=`.nav, .list-group`,By=`.nav-link`,Vy=`${By}, .nav-item > ${By}, .list-group-item`,Hy=`.dropdown`,Uy=`.dropdown-toggle`,Wy={offset:null,rootMargin:`0px 0px -25%`,smoothScroll:!1,target:null,threshold:[.1,.5,1]},Gy={offset:`(number|null)`,rootMargin:`string`,smoothScroll:`boolean`,target:`element`,threshold:`array`},Ky=class e extends ch{constructor(e,t){super(e,t),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 Wy}static get DefaultType(){return Gy}static get NAME(){return ky}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(let e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=Tm(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold==`string`&&(e.threshold=e.threshold.split(`,`).map(e=>Number.parseFloat(e))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(J.off(this._config.target,Ny),J.on(this._config.target,Ny,Ry,e=>{let t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();let n=this._rootElement||window,r=t.offsetTop-this._element.offsetTop;if(n.scrollTo){n.scrollTo({top:r,behavior:`smooth`});return}n.scrollTop=r}}))}_getNewObserver(){let e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(e=>this._observerCallback(e),e)}_observerCallback(e){let t=e=>this._targetLinks.get(`#${e.target.id}`),n=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},r=(this._rootElement||document.documentElement).scrollTop,i=r>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=r;for(let a of e){if(!a.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(a));continue}let e=a.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&e){if(n(a),!r)return;continue}!i&&!e&&n(a)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;let e=Y.find(Ry,this._config.target);for(let t of e){if(!t.hash||Dm(t))continue;let e=Y.findOne(decodeURI(t.hash),this._element);Em(e)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,e))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(Iy),this._activateParents(e),J.trigger(this._element,My,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(Fy)){Y.findOne(Uy,e.closest(Hy)).classList.add(Iy);return}for(let t of Y.parents(e,zy))for(let e of Y.prev(t,Vy))e.classList.add(Iy)}_clearActiveClass(e){e.classList.remove(Iy);let t=Y.find(`${Ry}.${Iy}`,e);for(let e of t)e.classList.remove(Iy)}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this,t);if(typeof t==`string`){if(n[t]===void 0||t.startsWith(`_`)||t===`constructor`)throw TypeError(`No method named "${t}"`);n[t]()}})}};J.on(window,Py,()=>{for(let e of Y.find(Ly))Ky.getOrCreateInstance(e)}),Fm(Ky);var qy=`tab`,Jy=`.bs.tab`,Yy=`hide${Jy}`,Xy=`hidden${Jy}`,Zy=`show${Jy}`,Qy=`shown${Jy}`,$y=`click${Jy}`,eb=`keydown${Jy}`,tb=`load${Jy}`,nb=`ArrowLeft`,rb=`ArrowRight`,ib=`ArrowUp`,ab=`ArrowDown`,ob=`Home`,sb=`End`,cb=`active`,lb=`fade`,ub=`show`,db=`dropdown`,fb=`.dropdown-toggle`,pb=`.dropdown-menu`,mb=`:not(${fb})`,hb=`.list-group, .nav, [role="tablist"]`,gb=`.nav-item, .list-group-item`,_b=`.nav-link${mb}, .list-group-item${mb}, [role="tab"]${mb}`,vb=`[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]`,yb=`${_b}, ${vb}`,bb=`.${cb}[data-bs-toggle="tab"], .${cb}[data-bs-toggle="pill"], .${cb}[data-bs-toggle="list"]`,xb=class e extends ch{constructor(e){super(e),this._parent=this._element.closest(hb),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),J.on(this._element,eb,e=>this._keydown(e)))}static get NAME(){return qy}show(){let e=this._element;if(this._elemIsActive(e))return;let t=this._getActiveElem(),n=t?J.trigger(t,Yy,{relatedTarget:e}):null;J.trigger(e,Zy,{relatedTarget:t}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){e&&(e.classList.add(cb),this._activate(Y.getElementFromSelector(e)),this._queueCallback(()=>{if(e.getAttribute(`role`)!==`tab`){e.classList.add(ub);return}e.removeAttribute(`tabindex`),e.setAttribute(`aria-selected`,!0),this._toggleDropDown(e,!0),J.trigger(e,Qy,{relatedTarget:t})},e,e.classList.contains(lb)))}_deactivate(e,t){e&&(e.classList.remove(cb),e.blur(),this._deactivate(Y.getElementFromSelector(e)),this._queueCallback(()=>{if(e.getAttribute(`role`)!==`tab`){e.classList.remove(ub);return}e.setAttribute(`aria-selected`,!1),e.setAttribute(`tabindex`,`-1`),this._toggleDropDown(e,!1),J.trigger(e,Xy,{relatedTarget:t})},e,e.classList.contains(lb)))}_keydown(t){if(![nb,rb,ib,ab,ob,sb].includes(t.key))return;t.stopPropagation(),t.preventDefault();let n=this._getChildren().filter(e=>!Dm(e)),r;if([ob,sb].includes(t.key))r=n[t.key===ob?0:n.length-1];else{let e=[rb,ab].includes(t.key);r=Rm(n,t.target,e,!0)}r&&(r.focus({preventScroll:!0}),e.getOrCreateInstance(r).show())}_getChildren(){return Y.find(yb,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,`role`,`tablist`);for(let e of t)this._setInitialAttributesOnChild(e)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);let t=this._elemIsActive(e),n=this._getOuterElement(e);e.setAttribute(`aria-selected`,t),n!==e&&this._setAttributeIfNotExists(n,`role`,`presentation`),t||e.setAttribute(`tabindex`,`-1`),this._setAttributeIfNotExists(e,`role`,`tab`),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){let t=Y.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,`role`,`tabpanel`),e.id&&this._setAttributeIfNotExists(t,`aria-labelledby`,`${e.id}`))}_toggleDropDown(e,t){let n=this._getOuterElement(e);if(!n.classList.contains(db))return;let r=(e,r)=>{let i=Y.findOne(e,n);i&&i.classList.toggle(r,t)};r(fb,cb),r(pb,ub),n.setAttribute(`aria-expanded`,t)}_setAttributeIfNotExists(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}_elemIsActive(e){return e.classList.contains(cb)}_getInnerElement(e){return e.matches(yb)?e:Y.findOne(yb,e)}_getOuterElement(e){return e.closest(gb)||e}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this);if(typeof t==`string`){if(n[t]===void 0||t.startsWith(`_`)||t===`constructor`)throw TypeError(`No method named "${t}"`);n[t]()}})}};J.on(document,$y,vb,function(e){[`A`,`AREA`].includes(this.tagName)&&e.preventDefault(),!Dm(this)&&xb.getOrCreateInstance(this).show()}),J.on(window,tb,()=>{for(let e of Y.find(bb))xb.getOrCreateInstance(e)}),Fm(xb);var Sb=`toast`,Cb=`.bs.toast`,wb=`mouseover${Cb}`,Tb=`mouseout${Cb}`,Eb=`focusin${Cb}`,Db=`focusout${Cb}`,Ob=`hide${Cb}`,kb=`hidden${Cb}`,Ab=`show${Cb}`,jb=`shown${Cb}`,Mb=`fade`,Nb=`hide`,Pb=`show`,Fb=`showing`,Ib={animation:`boolean`,autohide:`boolean`,delay:`number`},Lb={animation:!0,autohide:!0,delay:5e3},Rb=class e extends ch{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Lb}static get DefaultType(){return Ib}static get NAME(){return Sb}show(){J.trigger(this._element,Ab).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add(Mb),this._element.classList.remove(Nb),Am(this._element),this._element.classList.add(Pb,Fb),this._queueCallback(()=>{this._element.classList.remove(Fb),J.trigger(this._element,jb),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){!this.isShown()||J.trigger(this._element,Ob).defaultPrevented||(this._element.classList.add(Fb),this._queueCallback(()=>{this._element.classList.add(Nb),this._element.classList.remove(Fb,Pb),J.trigger(this._element,kb)},this._element,this._config.animation))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Pb),super.dispose()}isShown(){return this._element.classList.contains(Pb)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,t){switch(e.type){case`mouseover`:case`mouseout`:this._hasMouseInteraction=t;break;case`focusin`:case`focusout`:this._hasKeyboardInteraction=t;break}if(t){this._clearTimeout();return}let n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){J.on(this._element,wb,e=>this._onInteraction(e,!0)),J.on(this._element,Tb,e=>this._onInteraction(e,!1)),J.on(this._element,Eb,e=>this._onInteraction(e,!0)),J.on(this._element,Db,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this,t);if(typeof t==`string`){if(n[t]===void 0)throw TypeError(`No method named "${t}"`);n[t](this)}})}};uh(Rb),Fm(Rb);var zb=B(i()),X=function(e){return 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.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.HasPartnerProfiles=`has_partner_profiles`,e.PreferredTheme=`preferred_theme`,e.HasHubEntry=`has_hub_entry`,e.HasEnabledViviPlayback=`has_enabled_vivi_playback`,e.HasEnabledViviStudentCasting=`has_enabled_vivi_student_casting`,e.HasEnabledAppleTvPlayback=`has_enabled_apple_tv_playback`,e.HasDisplayedTutorialVideosProductTip=`has_displayed_tutorial_videos_spotlight`,e.HasDismissedAnalyticsTutorial=`has_dismissed_analytics_tutorial`,e.HasDismissedOpenClassroomsTutorial=`has_dismissed_open_classrooms_tutorial`,e.HasDismissedSearchAndDiscoverTutorial=`has_dismissed_search_and_discover_tutorial`,e.HasDismissedClassroomsTutorial=`has_dismissed_classrooms_tutorial`,e.HasDismissedMySharesTutorial=`has_dismissed_my_shares_tutorial`,e.HasDismissedMyVideosTutorial=`has_dismissed_my_videos_tutorial`,e.HasDismissedPlaylistsTutorial=`has_dismissed_playlists_tutorial`,e.ShowExchangeSearchResultsUser=`show_exchange_search_results_user`,e.UserEnabledPreviewVideos=`user_enabled_preview_videos`,e.LiteUpgradeTypeCustomer=`lite_upgrade_type_customer`,e.PolicyEndTime=`policy_end_time`,e.ReferralCount=`referral_count`,e.HasCompletedOnboardingV1=`has_completed_onboarding`,e.BulkOnboardingPreferencesState=`bulk_onboarding_preferences_state`,e.HasCompletedOnboardingV2=`has_completed_onboarding_v2`,e.HasExitedOnboarding=`has_exited_onboarding`,e.HasCompletedOnboardingStepSelectRole=`has_completed_onboarding_step_select_role`,e.HasCompletedOnboardingStepSchoolLevel=`has_completed_onboarding_step_school_level`,e.HasCompletedOnboardingStepAudiencePreferences=`has_completed_onboarding_step_audience_preferences`,e.HasCompletedOnboardingStepSelectCurriculum=`has_completed_onboarding_step_select_curriculum`,e.HasCompletedOnboardingStepSubjects=`has_completed_onboarding_step_subjects`,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.DefaultCitationStyle=`default_citation_style`,e.HasStudentReach=`has_student_reach`,e.StudentReachClassroomSize=`student_reach_classroom_size`,e.SchoolStartTime=`school_start_time`,e.SchoolEndTime=`school_end_time`,e.Timezone=`timezone_iana`,e.ClickViewLive=`clickview_live`,e.HasStudentLowerPresentations=`students_lower_presentations`,e}({}),Bb=class extends _e{get name(){return`ErrorPageError`}},Vb=`shared.unspecifiedError`,Hb=class extends Bb{constructor(){super(Ft.getPhrase(Vb,`title`))}get name(){return`UnspecifiedError`}get heading(){return Ft.getPhrase(Vb,`heading`)}get description(){return Ft.getPhrase(Vb,`description`)}get cta(){return!1}},Ub={get(e,t){return e?.[t]?.value},getCustomerSettingsRequest(e,t){return e?.isAuthenticated?Kb.customerSettings(t?.success,t?.error):Kb._publicCustomerSettings(t?.success,t?.error)},getUserSettingsRequest(e,t){return e?.isAuthenticated?Kb.userSettings(t?.success,t?.error):Kb._publicUserSettings(t?.success,t?.error)},formatSettings(e){return e.reduce((e,t)=>(e[t.name]=t,e),{})}},Wb=[{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},{name:`has_partner_profiles`,value:!0}],Gb=()=>(y.throw(new M(`SettingRequests.setPublicFormatSettings must be called before using public requests in SettingRequests`)),null),Kb={setPublicFormatSettings(e){e&&(Gb=e)},organisationSettings(e,t,n){return{key:`settings:organisation:${e}`,url:`{gateway}/v1/organisations/${e}/settings`,normalizeOptions:{idAttribute:`name`},formatData:Ub.formatSettings,success:t,error:n}},customerSetting(e,t,n){return{key:`settings:customer:${e}`,url:`{gateway}/v1/customers/me/settings?type=${e}`,normalizeOptions:{idAttribute:`name`},formatData:e=>Nt.first(e),success:t,error:n}},customerSettings(e,t){return{key:`customer:settings`,url:`{gateway}/v1/customers/me/settings?(customerSettings)`,normalizeOptions:{idAttribute:`name`},formatData:Ub.formatSettings,success:e,error:t}},_publicCustomerSettings(e,t){return{key:`customer:settings`,url:`simulated:/api/domain/v3/settings/public`,normalizeOptions:{idAttribute:`name`},formatData:Gb,success:e,error:t,successResponse:()=>Wb}},_publicUserSettings(e,t){return{key:`user:settings`,url:`simulated:/api/domain/v3/settings/public`,normalizeOptions:{idAttribute:`name`},formatData:Gb,success:e,error:t,successResponse:()=>Wb}},userSetting(e,t,n){return{key:`settings:user:${e}`,url:`{gateway}/v1/customers/me/settings?type=${e}`,normalizeOptions:{idAttribute:`name`},formatData:e=>Nt.first(e),success:t,error:n}},userSettings(e,t){return{key:`user:settings`,url:`{gateway}/v1/users/me/settings?(userSettings)`,normalizeOptions:{idAttribute:`name`},formatData:Ub.formatSettings,success:e,error:t}},updateUserSetting(e,t,n,r){return{key:`update:user:setting:${e.name}`,url:`{gateway}/v1/users/me/settings`,data:e,type:Mt.PUT,formatData:()=>e,normalizeOptions:{idAttribute:`name`},success:t,error:n,always:r}},updateCustomerSetting(e,t,n,r){return{key:`update:customer:setting:${e.name}`,url:`{gateway}/v1/customers/me/settings`,data:e,type:Mt.PUT,formatData:()=>e,normalizeOptions:{idAttribute:`name`},success:t,error:n,always:r}}},Z=B(r()),Q=t(),qb=class extends N{onShowAlert(e){if(!this.layoutOptions.options.alertRegion)return super.onShowAlert(e);let{ctor:t,collection:n}=e,r=n?n.toJSON():[];this.layout.showChildView(this.layoutOptions.options.alertRegion,(0,Q.jsx)(t,{alerts:r,removeAlert:e=>zb.default.channel(o.ALERT).trigger(`remove:alert`,e)}))}},Jb=function(e){return e.Analytics=`analytics`,e.LibraryEditor=`manage`,e.Online=`online`,e.Primary=`lite`,e.Exchange=`exchange_tv`,e.StreamableLearning=`streamable_learning`,e}({}),Yb=`shared.notFoundError`,Xb=class extends Bb{constructor(){super(Ft.getPhrase(Yb,`title`))}get name(){return`NotFoundError`}get heading(){return Ft.getPhrase(Yb,`heading`)}get description(){return Ft.getPhrase(Yb,`description`)}},Zb={CONTENT:`content`,POPUP:`popup`,ALERT:`alert`,HIDDEN:`hidden`},Qb={DEFAULT_LAYOUT:`DefaultLayout`},$b=B(xt()),ex=B(f()),tx=B(L());e();var nx=function(e){return e.Staff=`Staff`,e.Learner=`Learner`,e.Unknown=`Unknown`,e.System=`System`,e}({});function rx(e,t,n){let r=(0,Z.useRef)(e!==void 0),[i,a]=(0,Z.useState)(t),o=e!==void 0,s=r.current;return r.current=o,!o&&s&&i!==t&&a(t),[o?e:i,(0,Z.useCallback)((...e)=>{let[t,...r]=e,i=n?.(t,...r);return a(t),i},[n])]}function ix(){let[,e]=(0,Z.useReducer)(e=>e+1,0);return e}var ax=Z.createContext(null),ox=[`children`,`usePopper`];function sx(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var cx=()=>{};function lx(e={}){let t=(0,Z.useContext)(ax),[n,r]=tn(),i=(0,Z.useRef)(!1),{flip:a,offset:o,rootCloseEvent:s,fixed:c=!1,placement:l,popperConfig:u={},enableEventListeners:d=!0,usePopper:f=!!t}=e,p=t?.show==null?!!e.show:t.show;p&&!i.current&&(i.current=!0);let m=e=>{t?.toggle(!1,e)},{placement:h,setMenu:g,menuElement:_,toggleElement:v}=t||{},y=ot(v,_,Ze({placement:l||h||`bottom-start`,enabled:f,enableEvents:d??p,offset:o,flip:a,fixed:c,arrowElement:n,popperConfig:u})),b=Object.assign({ref:g||cx,"aria-labelledby":v?.id},y.attributes.popper,{style:y.styles.popper}),x={show:p,placement:h,hasShown:i.current,toggle:t?.toggle,popper:f?y:null,arrowProps:f?Object.assign({ref:r},y.attributes.arrow,{style:y.styles.arrow}):{}};return $e(_,m,{clickTrigger:s,disabled:!p}),[b,x]}function ux(e){let{children:t,usePopper:n=!0}=e,r=sx(e,ox),[i,a]=lx(Object.assign({},r,{usePopper:n}));return(0,Q.jsx)(Q.Fragment,{children:t(i,a)})}ux.displayName=`DropdownMenu`;var dx={prefix:String(Math.round(Math.random()*1e10)),current:0},fx=Z.createContext(dx),px=Z.createContext(!1);typeof window<`u`&&window.document&&window.document.createElement;var mx=new WeakMap;function hx(e=!1){let t=(0,Z.useContext)(fx),n=(0,Z.useRef)(null);if(n.current===null&&!e){let e=Z.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if(e){let n=mx.get(e);n==null?mx.set(e,{id:t.current,state:e.memoizedState}):e.memoizedState!==n.state&&(t.current=n.id,mx.delete(e))}n.current=++t.current}return n.current}function gx(e){let t=(0,Z.useContext)(fx),n=hx(!!e),r=`react-aria${t.prefix}`;return e||`${r}-${n}`}function _x(e){let t=Z.useId(),[n]=(0,Z.useState)(Sx()),r=n?`react-aria`:`react-aria${dx.prefix}`;return e||`${r}-${t}`}var vx=typeof Z.useId==`function`?_x:gx;function yx(){return!1}function bx(){return!0}function xx(e){return()=>{}}function Sx(){return typeof Z.useSyncExternalStore==`function`?Z.useSyncExternalStore(xx,yx,bx):(0,Z.useContext)(px)}var Cx=e=>e.getAttribute(`role`)?.toLowerCase()===`menu`,wx=()=>{};function Tx(){let e=vx(),{show:t=!1,toggle:n=wx,setToggle:r,menuElement:i}=(0,Z.useContext)(ax)||{},a=(0,Z.useCallback)(e=>{n(!t,e)},[t,n]),o={id:e,ref:r||wx,onClick:a,"aria-expanded":!!t};return i&&Cx(i)&&(o[`aria-haspopup`]=!0),[o,{show:t,toggle:n}]}function Ex({children:e}){let[t,n]=Tx();return(0,Q.jsx)(Q.Fragment,{children:e(t,n)})}Ex.displayName=`DropdownToggle`;var Dx=Z.createContext(null),Ox=(e,t=null)=>e==null?t||null:String(e),kx=Z.createContext(null);kx.displayName=`NavContext`;var Ax=[`eventKey`,`disabled`,`onClick`,`active`,`as`];function jx(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Mx({key:e,href:t,active:n,disabled:r,onClick:i}){let a=(0,Z.useContext)(Dx),{activeKey:o}=(0,Z.useContext)(kx)||{},s=Ox(e,t),c=n==null&&e!=null?Ox(o)===s:n;return[{onClick:Gt(e=>{r||(i?.(e),a&&!e.isPropagationStopped()&&a(s,e))}),"aria-disabled":r||void 0,"aria-selected":c,[bn(`dropdown-item`)]:``},{isActive:c}]}var Nx=Z.forwardRef((e,t)=>{let{eventKey:n,disabled:r,onClick:i,active:a,as:o=hn}=e,s=jx(e,Ax),[c]=Mx({key:n,href:s.href,disabled:r,onClick:i,active:a});return(0,Q.jsx)(o,Object.assign({},s,{ref:t},c))});Nx.displayName=`DropdownItem`;function Px(){let e=ix(),t=(0,Z.useRef)(null);return[t,(0,Z.useCallback)(n=>{t.current=n,e()},[e])]}function Fx({defaultShow:e,show:t,onSelect:n,onToggle:r,itemSelector:i=`* [${bn(`dropdown-item`)}]`,focusFirstItemOnShow:a,placement:o=`bottom-start`,children:s}){let c=pt(),[l,u]=rx(t,e,r),[d,f]=Px(),p=d.current,[m,h]=Px(),g=m.current,_=mn(l),v=(0,Z.useRef)(null),y=(0,Z.useRef)(!1),b=(0,Z.useContext)(Dx),x=(0,Z.useCallback)((e,t,n=t?.type)=>{u(e,{originalEvent:t,source:n})},[u]),S=Gt((e,t)=>{n?.(e,t),x(!1,t,`select`),t.isPropagationStopped()||b?.(e,t)}),C=(0,Z.useMemo)(()=>({toggle:x,placement:o,show:l,menuElement:p,toggleElement:g,setMenu:f,setToggle:h}),[x,o,l,p,g,f,h]);p&&_&&!l&&(y.current=p.contains(p.ownerDocument.activeElement));let w=Gt(()=>{g&&g.focus&&g.focus()}),T=Gt(()=>{let e=v.current,t=a;if(t??=d.current&&Cx(d.current)?`keyboard`:!1,t===!1||t===`keyboard`&&!/^key.+$/.test(e))return;let n=yn(d.current,i)[0];n&&n.focus&&n.focus()});(0,Z.useEffect)(()=>{l?T():y.current&&(y.current=!1,w())},[l,y,w,T]),(0,Z.useEffect)(()=>{v.current=null});let E=(e,t)=>{if(!d.current)return null;let n=yn(d.current,i),r=n.indexOf(e)+t;return r=Math.max(0,Math.min(r,n.length)),n[r]};return fn((0,Z.useCallback)(()=>c.document,[c]),`keydown`,e=>{let{key:t}=e,n=e.target,r=d.current?.contains(n),i=m.current?.contains(n);if(/input|textarea/i.test(n.tagName)&&(t===` `||t!==`Escape`&&r||t===`Escape`&&n.type===`search`)||!r&&!i||t===`Tab`&&(!d.current||!l))return;v.current=e.type;let a={originalEvent:e,source:e.type};switch(t){case`ArrowUp`:{let t=E(n,-1);t&&t.focus&&t.focus(),e.preventDefault();return}case`ArrowDown`:if(e.preventDefault(),!l)u(!0,a);else{let e=E(n,1);e&&e.focus&&e.focus()}return;case`Tab`:nn(n.ownerDocument,`keyup`,e=>{var t;(e.key===`Tab`&&!e.target||!((t=d.current)!=null&&t.contains(e.target)))&&u(!1,a)},{once:!0});break;case`Escape`:t===`Escape`&&(e.preventDefault(),e.stopPropagation()),u(!1,a);break;default:}}),(0,Q.jsx)(Dx.Provider,{value:S,children:(0,Q.jsx)(ax.Provider,{value:C,children:s})})}Fx.displayName=`Dropdown`,Fx.Menu=ux,Fx.Toggle=Ex,Fx.Item=Nx;var Ix=Z.createContext({});Ix.displayName=`DropdownContext`;var Lx=B(Vt()),Rx=Z.forwardRef(({className:e,bsPrefix:t,as:n=`hr`,role:r=`separator`,...i},a)=>(t=Ut(t,`dropdown-divider`),(0,Q.jsx)(n,{ref:a,className:(0,Lx.default)(e,t),role:r,...i})));Rx.displayName=`DropdownDivider`;var zx=Z.forwardRef(({className:e,bsPrefix:t,as:n=`div`,role:r=`heading`,...i},a)=>(t=Ut(t,`dropdown-header`),(0,Q.jsx)(n,{ref:a,className:(0,Lx.default)(e,t),role:r,...i})));zx.displayName=`DropdownHeader`;var Bx=Z.forwardRef(({bsPrefix:e,className:t,eventKey:n,disabled:r=!1,onClick:i,active:a,as:o=pn,...s},c)=>{let l=Ut(e,`dropdown-item`),[u,d]=Mx({key:n,href:s.href,disabled:r,onClick:i,active:a});return(0,Q.jsx)(o,{...s,...u,ref:c,className:(0,Lx.default)(t,l,d.isActive&&`active`,r&&`disabled`)})});Bx.displayName=`DropdownItem`;var Vx=Z.forwardRef(({className:e,bsPrefix:t,as:n=`span`,...r},i)=>(t=Ut(t,`dropdown-item-text`),(0,Q.jsx)(n,{ref:i,className:(0,Lx.default)(e,t),...r})));Vx.displayName=`DropdownItemText`;var Hx=Z.createContext(null);Hx.displayName=`InputGroupContext`;var Ux=Z.createContext(null);Ux.displayName=`NavbarContext`,Xt();function Wx(e,t){return e}It();function Gx(e,t,n){let r=n?`top-end`:`top-start`,i=n?`top-start`:`top-end`,a=n?`bottom-end`:`bottom-start`,o=n?`bottom-start`:`bottom-end`,s=n?`right-start`:`left-start`,c=n?`right-end`:`left-end`,l=n?`left-start`:`right-start`,u=n?`left-end`:`right-end`,d=e?o:a;return t===`up`?d=e?i:r:t===`end`?d=e?u:l:t===`start`?d=e?c:s:t===`down-centered`?d=`bottom`:t===`up-centered`&&(d=`top`),d}var Kx=Z.forwardRef(({bsPrefix:e,className:t,align:n,rootCloseEvent:r,flip:i=!0,show:a,renderOnMount:o,as:s=`div`,popperConfig:c,variant:l,...u},d)=>{let f=!1,p=(0,Z.useContext)(Ux),m=Ut(e,`dropdown-menu`),{align:h,drop:g,isRTL:_}=(0,Z.useContext)(Ix);n||=h;let v=(0,Z.useContext)(Hx),y=[];if(n)if(typeof n==`object`){let e=Object.keys(n);if(e.length){let t=e[0],r=n[t];f=r===`start`,y.push(`${m}-${t}-${r}`)}}else n===`end`&&(f=!0);let b=Gx(f,g,_),[x,{hasShown:S,popper:C,show:w,toggle:T}]=lx({flip:i,rootCloseEvent:r,show:a,usePopper:!p&&y.length===0,offset:[0,2],popperConfig:c,placement:b});if(x.ref=Qt(Wx(d,`DropdownMenu`),x.ref),at(()=>{w&&C?.update()},[w]),!S&&!o&&!v)return null;typeof s!=`string`&&(x.show=w,x.close=()=>T?.(!1),x.align=n);let E=u.style;return C!=null&&C.placement&&(E={...u.style,...x.style},u[`x-placement`]=C.placement),(0,Q.jsx)(s,{...u,...x,style:E,...(y.length||p)&&{"data-bs-popper":`static`},className:(0,Lx.default)(t,m,w&&`show`,f&&`${m}-end`,l&&`${m}-${l}`,...y)})});Kx.displayName=`DropdownMenu`;var qx=Z.forwardRef(({bsPrefix:e,split:t,className:n,childBsPrefix:r,as:i=gn,...a},o)=>{let s=Ut(e,`dropdown-toggle`),c=(0,Z.useContext)(ax);r!==void 0&&(a.bsPrefix=r);let[l]=Tx();return l.ref=Qt(l.ref,Wx(o,`DropdownToggle`)),(0,Q.jsx)(i,{className:(0,Lx.default)(n,s,t&&`${s}-split`,c?.show&&`show`),...l,...a})});qx.displayName=`DropdownToggle`;var Jx=Z.forwardRef((e,t)=>{let{bsPrefix:n,drop:r=`down`,show:i,className:a,align:o=`start`,onSelect:s,onToggle:c,focusFirstItemOnShow:l,as:u=`div`,navbar:d,autoClose:f=!0,...p}=Zt(e,{show:`onToggle`}),m=(0,Z.useContext)(Hx),h=Ut(n,`dropdown`),g=Bt(),_=e=>f===!1?e===`click`:f===`inside`?e!==`rootClose`:f===`outside`?e!==`select`:!0,v=rn((e,t)=>{var n;!((n=t.originalEvent)==null||(n=n.target)==null)&&n.classList.contains(`dropdown-toggle`)&&t.source===`mousedown`||(t.originalEvent.currentTarget===document&&(t.source!==`keydown`||t.originalEvent.key===`Escape`)&&(t.source=`rootClose`),_(t.source)&&c?.(e,t))}),y=Gx(o===`end`,r,g),b=(0,Z.useMemo)(()=>({align:o,drop:r,isRTL:g}),[o,r,g]),x={down:h,"down-centered":`${h}-center`,up:`dropup`,"up-centered":`dropup-center dropup`,end:`dropend`,start:`dropstart`};return(0,Q.jsx)(Ix.Provider,{value:b,children:(0,Q.jsx)(Fx,{placement:y,show:i,onSelect:s,onToggle:v,focusFirstItemOnShow:l,itemSelector:`.${h}-item:not(.disabled):not(:disabled)`,children:m?p.children:(0,Q.jsx)(u,{...p,ref:t,className:(0,Lx.default)(a,i&&`show`,x[r])})})})});Jx.displayName=`Dropdown`;var Yx=Object.assign(Jx,{Toggle:qx,Menu:Kx,Item:Bx,ItemText:Vx,Divider:Rx,Header:zx}),Xx;function Zx(e){if((!Xx&&Xx!==0||e)&&$t){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),Xx=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Xx}function Qx(){return(0,Z.useState)(null)}function $x(e){e===void 0&&(e=Ht());try{var t=e.activeElement;return!t||!t.nodeName?null:t}catch{return e.body}}function eS(e){let t=(0,Z.useRef)(e);return t.current=e,t}function tS(e){let t=eS(e);(0,Z.useEffect)(()=>()=>t.current(),[])}function nS(e=document){let t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}var rS=bn(`modal-open`),iS=class{constructor({ownerDocument:e,handleContainerOverflow:t=!0,isRTL:n=!1}={}){this.handleContainerOverflow=t,this.isRTL=n,this.modals=[],this.ownerDocument=e}getScrollbarWidth(){return nS(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(e){}removeModalAttributes(e){}setContainerStyle(e){let t={overflow:`hidden`},n=this.isRTL?`paddingLeft`:`paddingRight`,r=this.getElement();e.style={overflow:r.style.overflow,[n]:r.style[n]},e.scrollBarWidth&&(t[n]=`${parseInt(cn(r,n)||`0`,10)+e.scrollBarWidth}px`),r.setAttribute(rS,``),cn(r,t)}reset(){[...this.modals].forEach(e=>this.remove(e))}removeContainerStyle(e){let t=this.getElement();t.removeAttribute(rS),Object.assign(t.style,e.style)}add(e){let t=this.modals.indexOf(e);return t!==-1||(t=this.modals.length,this.modals.push(e),this.setModalAttributes(e),t!==0)?t:(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state),t)}remove(e){let t=this.modals.indexOf(e);t!==-1&&(this.modals.splice(t,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(e))}isTopModal(e){return!!this.modals.length&&this.modals[this.modals.length-1]===e}},aS=B(a()),oS=`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`.split(`.`);function sS(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var cS;function lS(e){return cS||=new iS({ownerDocument:e?.document}),cS}function uS(e){let t=pt(),n=e||lS(t),r=(0,Z.useRef)({dialog:null,backdrop:null});return Object.assign(r.current,{add:()=>n.add(r.current),remove:()=>n.remove(r.current),isTopModal:()=>n.isTopModal(r.current),setDialogRef:(0,Z.useCallback)(e=>{r.current.dialog=e},[]),setBackdropRef:(0,Z.useCallback)(e=>{r.current.backdrop=e},[])})}var dS=(0,Z.forwardRef)((e,t)=>{let{show:n=!1,role:r=`dialog`,className:i,style:a,children:o,backdrop:s=!0,keyboard:c=!0,onBackdropClick:l,onEscapeKeyDown:u,transition:d,runTransition:f,backdropTransition:p,runBackdropTransition:m,autoFocus:h=!0,enforceFocus:g=!0,restoreFocus:_=!0,restoreFocusOptions:v,renderDialog:y,renderBackdrop:b=e=>(0,Q.jsx)(`div`,Object.assign({},e)),manager:x,container:S,onShow:C,onHide:w=()=>{},onExit:T,onExited:E,onExiting:D,onEnter:O,onEntering:k,onEntered:A}=e,j=sS(e,oS),M=pt(),N=Xe(S),P=uS(x),F=Yt(),I=mn(n),[L,R]=(0,Z.useState)(!n),z=(0,Z.useRef)(null);(0,Z.useImperativeHandle)(t,()=>P,[P]),$t&&!I&&n&&(z.current=$x(M?.document)),n&&L&&R(!1);let B=Gt(()=>{if(P.add(),ae.current=Kt(document,`keydown`,re),ie.current=Kt(document,`focus`,()=>setTimeout(te),!0),C&&C(),h){let e=$x(P.dialog?.ownerDocument??M?.document);P.dialog&&e&&!ct(P.dialog,e)&&(z.current=e,P.dialog.focus())}}),ee=Gt(()=>{if(P.remove(),ae.current==null||ae.current(),ie.current==null||ie.current(),_){var e;(e=z.current)==null||e.focus==null||e.focus(v),z.current=null}});(0,Z.useEffect)(()=>{!n||!N||B()},[n,N,B]),(0,Z.useEffect)(()=>{L&&ee()},[L,ee]),tS(()=>{ee()});let te=Gt(()=>{if(!g||!F()||!P.isTopModal())return;let e=$x(M?.document);P.dialog&&e&&!ct(P.dialog,e)&&P.dialog.focus()}),ne=Gt(e=>{e.target===e.currentTarget&&(l?.(e),s===!0&&w())}),re=Gt(e=>{c&&Jt(e)&&P.isTopModal()&&(u?.(e),e.defaultPrevented||w())}),ie=(0,Z.useRef)(),ae=(0,Z.useRef)(),oe=(...e)=>{R(!0),E?.(...e)};if(!N)return null;let se=Object.assign({role:r,ref:P.setDialogRef,"aria-modal":r===`dialog`?!0:void 0},j,{style:a,className:i,tabIndex:-1}),ce=y?y(se):(0,Q.jsx)(`div`,Object.assign({},se,{children:Z.cloneElement(o,{role:`document`})}));ce=ut(d,f,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!n,onExit:T,onExiting:D,onExited:oe,onEnter:O,onEntering:k,onEntered:A,children:ce});let le=null;return s&&(le=b({ref:P.setBackdropRef,onClick:ne}),le=ut(p,m,{in:!!n,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:le})),(0,Q.jsx)(Q.Fragment,{children:aS.createPortal((0,Q.jsxs)(Q.Fragment,{children:[le,ce]}),N)})});dS.displayName=`Modal`;var fS=Object.assign(dS,{Manager:iS});function pS(e,t){e.classList?e.classList.add(t):st(e,t)||(typeof e.className==`string`?e.className=e.className+` `+t:e.setAttribute(`class`,(e.className&&e.className.baseVal||``)+` `+t))}function mS(e,t){return e.replace(RegExp(`(^|\\s)`+t+`(?:\\s|$)`,`g`),`$1`).replace(/\s+/g,` `).replace(/^\s*|\s*$/g,``)}function hS(e,t){e.classList?e.classList.remove(t):typeof e.className==`string`?e.className=mS(e.className,t):e.setAttribute(`class`,mS(e.className&&e.className.baseVal||``,t))}var gS={FIXED_CONTENT:`.fixed-top, .fixed-bottom, .is-fixed, .sticky-top`,STICKY_CONTENT:`.sticky-top`,NAVBAR_TOGGLER:`.navbar-toggler`},_S=class extends iS{adjustAndStore(e,t,n){let r=t.style[e];t.dataset[e]=r,cn(t,{[e]:`${parseFloat(cn(t,e))+n}px`})}restore(e,t){let n=t.dataset[e];n!==void 0&&(delete t.dataset[e],cn(t,{[e]:n}))}setContainerStyle(e){super.setContainerStyle(e);let t=this.getElement();if(pS(t,`modal-open`),!e.scrollBarWidth)return;let n=this.isRTL?`paddingLeft`:`paddingRight`,r=this.isRTL?`marginLeft`:`marginRight`;yn(t,gS.FIXED_CONTENT).forEach(t=>this.adjustAndStore(n,t,e.scrollBarWidth)),yn(t,gS.STICKY_CONTENT).forEach(t=>this.adjustAndStore(r,t,-e.scrollBarWidth)),yn(t,gS.NAVBAR_TOGGLER).forEach(t=>this.adjustAndStore(r,t,e.scrollBarWidth))}removeContainerStyle(e){super.removeContainerStyle(e);let t=this.getElement();hS(t,`modal-open`);let n=this.isRTL?`paddingLeft`:`paddingRight`,r=this.isRTL?`marginLeft`:`marginRight`;yn(t,gS.FIXED_CONTENT).forEach(e=>this.restore(n,e)),yn(t,gS.STICKY_CONTENT).forEach(e=>this.restore(r,e)),yn(t,gS.NAVBAR_TOGGLER).forEach(e=>this.restore(r,e))}},vS;function yS(e){return vS||=new _S(e),vS}var bS=Z.forwardRef(({className:e,bsPrefix:t,as:n=`div`,...r},i)=>(t=Ut(t,`modal-body`),(0,Q.jsx)(n,{ref:i,className:(0,Lx.default)(e,t),...r})));bS.displayName=`ModalBody`;var xS=Z.createContext({onHide(){}}),SS=Z.forwardRef(({bsPrefix:e,className:t,contentClassName:n,centered:r,size:i,fullscreen:a,children:o,scrollable:s,...c},l)=>{e=Ut(e,`modal`);let u=`${e}-dialog`,d=typeof a==`string`?`${e}-fullscreen-${a}`:`${e}-fullscreen`;return(0,Q.jsx)(`div`,{...c,ref:l,className:(0,Lx.default)(u,t,i&&`${e}-${i}`,r&&`${u}-centered`,s&&`${u}-scrollable`,a&&d),children:(0,Q.jsx)(`div`,{className:(0,Lx.default)(`${e}-content`,n),children:o})})});SS.displayName=`ModalDialog`;var CS=Z.forwardRef(({className:e,bsPrefix:t,as:n=`div`,...r},i)=>(t=Ut(t,`modal-footer`),(0,Q.jsx)(n,{ref:i,className:(0,Lx.default)(e,t),...r})));CS.displayName=`ModalFooter`;var wS=Z.forwardRef(({closeLabel:e=`Close`,closeVariant:t,closeButton:n=!1,onHide:r,children:i,...a},o)=>{let s=(0,Z.useContext)(xS),c=rn(()=>{s?.onHide(),r?.()});return(0,Q.jsxs)(`div`,{ref:o,...a,children:[i,n&&(0,Q.jsx)(dn,{"aria-label":e,variant:t,onClick:c})]})}),TS=Z.forwardRef(({bsPrefix:e,className:t,closeLabel:n=`Close`,closeButton:r=!1,...i},a)=>(e=Ut(e,`modal-header`),(0,Q.jsx)(wS,{ref:a,...i,className:(0,Lx.default)(t,e),closeLabel:n,closeButton:r})));TS.displayName=`ModalHeader`;var ES=un(`h4`),DS=Z.forwardRef(({className:e,bsPrefix:t,as:n=ES,...r},i)=>(t=Ut(t,`modal-title`),(0,Q.jsx)(n,{ref:i,className:(0,Lx.default)(e,t),...r})));DS.displayName=`ModalTitle`;function OS(e){return(0,Q.jsx)(en,{...e,timeout:null})}function kS(e){return(0,Q.jsx)(en,{...e,timeout:null})}var AS=Z.forwardRef(({bsPrefix:e,className:t,style:n,dialogClassName:r,contentClassName:i,children:a,dialogAs:o=SS,"data-bs-theme":s,"aria-labelledby":c,"aria-describedby":l,"aria-label":u,show:d=!1,animation:f=!0,backdrop:p=!0,keyboard:m=!0,onEscapeKeyDown:h,onShow:g,onHide:_,container:v,autoFocus:y=!0,enforceFocus:b=!0,restoreFocus:x=!0,restoreFocusOptions:S,onEntered:C,onExit:w,onExiting:T,onEnter:E,onEntering:D,onExited:O,backdropClassName:k,manager:A,...j},M)=>{let[N,P]=(0,Z.useState)({}),[F,I]=(0,Z.useState)(!1),L=(0,Z.useRef)(!1),R=(0,Z.useRef)(!1),z=(0,Z.useRef)(null),[B,ee]=Qx(),te=Qt(M,ee),ne=rn(_),re=Bt();e=Ut(e,`modal`);let ie=(0,Z.useMemo)(()=>({onHide:ne}),[ne]);function ae(){return A||yS({isRTL:re})}function oe(e){if(!$t)return;let t=ae().getScrollbarWidth()>0,n=e.scrollHeight>Ht(e).documentElement.clientHeight;P({paddingRight:t&&!n?Zx():void 0,paddingLeft:!t&&n?Zx():void 0})}let se=rn(()=>{B&&oe(B.dialog)});tt(()=>{qt(window,`resize`,se),z.current==null||z.current()});let ce=()=>{L.current=!0},le=e=>{L.current&&B&&e.target===B.dialog&&(R.current=!0),L.current=!1},ue=()=>{I(!0),z.current=on(B.dialog,()=>{I(!1)})},de=e=>{e.target===e.currentTarget&&ue()},fe=e=>{if(p===`static`){de(e);return}if(R.current||e.target!==e.currentTarget){R.current=!1;return}_?.()},pe=e=>{m?h?.(e):(e.preventDefault(),p===`static`&&ue())},me=(e,t)=>{e&&oe(e),E?.(e,t)},he=e=>{z.current==null||z.current(),w?.(e)},ge=(e,t)=>{D?.(e,t),nn(window,`resize`,se)},_e=e=>{e&&(e.style.display=``),O?.(e),qt(window,`resize`,se)},ve=(0,Z.useCallback)(t=>(0,Q.jsx)(`div`,{...t,className:(0,Lx.default)(`${e}-backdrop`,k,!f&&`show`)}),[f,k,e]),ye={...n,...N};return ye.display=`block`,(0,Q.jsx)(xS.Provider,{value:ie,children:(0,Q.jsx)(fS,{show:d,ref:te,backdrop:p,container:v,keyboard:!0,autoFocus:y,enforceFocus:b,restoreFocus:x,restoreFocusOptions:S,onEscapeKeyDown:pe,onShow:g,onHide:_,onEnter:me,onEntering:ge,onEntered:C,onExit:he,onExiting:T,onExited:_e,manager:ae(),transition:f?OS:void 0,backdropTransition:f?kS:void 0,renderBackdrop:ve,renderDialog:n=>(0,Q.jsx)(`div`,{role:`dialog`,...n,style:ye,className:(0,Lx.default)(t,e,F&&`${e}-static`,!f&&`show`),onClick:p?fe:void 0,onMouseUp:le,"data-bs-theme":s,"aria-label":u,"aria-labelledby":c,"aria-describedby":l,children:(0,Q.jsx)(o,{...j,onMouseDown:ce,className:r,contentClassName:i,children:a})})})})});AS.displayName=`Modal`;var jS=Object.assign(AS,{Body:bS,Header:TS,Title:DS,Footer:CS,Dialog:SS,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150}),MS=`default.error`,NS=33;function PS({error:e}){Tn({title:e?.heading||Ft.getPhrase(MS,`defaultPageTitle`)});let[t]=Z.useState(Ye.getRandomInt(NS)+1),n=kn.ErrorViews.SMALL.replace(`{number}`,t.toString());return e?(0,Q.jsxs)(Cn,{children:[(0,Q.jsx)(Cn.Image,{src:n}),(0,Q.jsx)(Cn.Heading,{children:e.heading}),!!e.description&&(0,Q.jsx)(Cn.Info,{injectHtml:e.injectDescriptionHtml,children:e.description}),e.cta!==!1&&(0,Q.jsx)(Cn.Cta,{text:e.cta?.text??Ft.getPhrase(MS,`discoverVideos`),className:`info-link ${e.description?`mt-n2`:``}`,appLink:e.cta?.appLink??{application:Lt.EXCHANGE,action:Rt.Exchange.INDEX}})]}):(0,Q.jsx)(Q.Fragment,{})}var FS=class extends ee{get channelName(){return Lt.DEFAULT}get appRoutes(){return{"(/)":`index`,"*path":`catchAllRoutes`}}get externalRoutes(){return{"logout(/)":`logOut`,"login(/)":`logIn`}}get appLinks(){return[`devError`,`dialogError`,`error`,`notFound`,`giveFeedback`]}},IS=class extends qb{get name(){return`Default Application`}get layoutOptions(){return{name:Qb.DEFAULT_LAYOUT,options:{alertRegion:Zb.ALERT}}}get channelName(){return Lt.DEFAULT}static get router(){return FS}async index(){let{RedirectView:e}=await On(async()=>{let{RedirectView:e}=await import(`./CgGl8jzo.chunk.js`);return{RedirectView:e}},__vite__mapDeps([0,1,2]));this.layout.showChildView(Zb.CONTENT,(0,Q.jsx)(e,{}))}catchAllRoutes(){y.throw(new Xb)}notFound(){let e=zb.default.channel(`error:view`).request(`current:error`);On(async()=>{let{NotFoundView:e}=await import(`./CkH6ird3.chunk.js`);return{NotFoundView:e}},__vite__mapDeps([3,1])).then(({NotFoundView:t})=>{this.layout.showChildView(Zb.CONTENT,(0,Q.jsx)(t,{error:e}))})}error(){let e=zb.default.channel(`error:view`).request(`current:error`);this.layout.showChildView(Zb.CONTENT,(0,Q.jsx)(PS,{error:e}))}dialogError(){let e=zb.default.channel(`error:view`).request(`current:error`);if(!e)return;let{dialogOptions:t}=e;On(async()=>{let{DialogView:e}=await import(`./Ct8ETEOn2.chunk.js`);return{DialogView:e}},__vite__mapDeps([4,1,5,6,7,8,9])).then(({DialogView:n})=>{this.layout.showChildView(Zb.POPUP,(0,Q.jsx)(n,{title:t.title,text:t.text,buttons:t.buttons,onDone:e.onDone,onFail:e.onFail,closePopup:()=>this.layout.closePopup()}))})}devError(){let e=zb.default.channel(`error:view`).request(`current:error`);On(async()=>{let{DevErrorView:e}=await import(`./DdIs1e6F2.chunk.js`);return{DevErrorView:e}},__vite__mapDeps([10,1,6,11,12,13,14,15,16,7,17,18,19,20,21,22])).then(({DevErrorView:t})=>{this.layout.showChildView(Zb.CONTENT,(0,Q.jsx)(t,{error:e}))})}giveFeedback(){On(async()=>{let{GiveFeedbackView:e}=await import(`./CKUk2HqE.chunk.js`);return{GiveFeedbackView:e}},__vite__mapDeps([23,1,6,24,25,5,7,8,26,27,12,28,29,30,31,32,16,33,9,18,34,35,36,37,38,39,40,41,15,42,43,44,45,46,47,48,49,50,51,52,53,54])).then(({GiveFeedbackView:e})=>{this.layout.showChildView(Zb.POPUP,(0,Q.jsx)(e,{product:Jb.Exchange,closePopup:()=>this.layout.closePopup()}))})}},LS=function(e){return 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[e.PartnerProfile=78]=`PartnerProfile`,e[e.LearningLevel=79]=`LearningLevel`,e}({}),RS=5,zS=3,BS=new class extends fe{constructor(...e){super(...e),this.routeHistory=[],this.contextHistory=[]}get name(){return An.Context}static get Instance(){return this.instance||=new this}initialize(){this.listenTo(o.SHELL,g.ROUTE,this.setContext),this.listenTo(o.SHELL,g.ROUTE,this.updateRouteHistory)}setContext(e){m.isEqual(e,this.getCurrentContext()?.appLink)||(this.contextHistory.length>=RS&&this.contextHistory.shift(),this.contextHistory.push({pageLoad:!this.contextHistory.length,appLink:e}))}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(e){m.getHref(e)&&(m.isEqual(e,this.getCurrentRoute()?.appLink)||(this.routeHistory.length>=zS&&this.routeHistory.shift(),this.routeHistory.push({pageLoad:!this.routeHistory.length,appLink:e})))}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(e){this.setContext(e),this.updateRouteHistory(e)}},VS=function(e){return e.Newest=`newest`,e.Oldest=`oldest`,e.RecentlyAdded=`recently_added`,e.AtoZ=`atoz`,e.ZtoA=`ztoa`,e.Series=`series`,e.ProductionYear=`production_year`,e}({}),HS=(e,t)=>`${t?`${t}:`:``}video:sort:${e}`,US=VS.RecentlyAdded,WS={getValidSortTypeFromParam(e){return Object.values(VS).includes(e)?e:VS.Newest},getOrSetSortType(e,t,n,r){let i=HS(e,r);return(t||!Pn.cacheExists(i))&&Pn.cacheSet(i,t||n||US),t||=Pn.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}}},GS={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`}}},KS={userProducts(e,t){return{url:`{gateway}/v1/users/me/products`,key:`user:products`,normalizeOptions:{namespace:`product`},success:e,error:t,bootstrapName:Fn.PRODUCTS}}},qS=!1,JS=!1,YS=!1,XS=!0,ZS=!0,QS=new class extends fe{get name(){return`LayoutHelper`}shouldHideNav(){return qS}disableNav(){qS=!0}enableNav(){qS=!1}shouldHideHeader(){return JS}disableHeader(){JS=!0}enableHeader(){JS=!1}lockContentWidth(){YS=!0,this.trigger(`change:lockContentWidth`)}unlockContentWidth(){YS=!1,this.trigger(`change:lockContentWidth`)}shouldLockContentWidth(){return!!YS}shouldShowSearch(){return ZS}enableSearch(){ZS=!0}disableSearch(){ZS=!1}enableLogoClick(){XS=!0}disableLogoClick(){XS=!1}shouldAllowLogoClick(){return XS}},$S=`exchangeShared.noAccess`,eC=class extends Bb{config;constructor(e){super(`Current user's school does not have access to Exchange`),this.config=e}get name(){return`NoAccessError`}get heading(){return Ft.getPhrase($S,`heading`)}get description(){return Ft.getPhrase($S,`body`)}get cta(){return!1}get injectDescriptionHtml(){return!0}},tC=[{application:Lt.DEFAULT,action:Rt.Default.ERROR},{application:Lt.DEFAULT,action:Rt.Default.DEV_ERROR},{application:Lt.DEFAULT,action:Rt.Default.LOG_IN},{application:Lt.DEFAULT,action:Rt.Default.LOG_OUT}].reduce((e,t)=>(e[nC(t)]=!0,e),{});function nC(e){return e.application+e.action}function rC(e,t){BS._forcePushContext(e),QS.disableNav(),n.routingEnded(),y.throw(t??new Hb)}async function iC(e,t){let{appLink:n,shell:r}=e;try{if((await vt(r.store,KS.userProducts())).find(e=>e.id===Jb.Exchange)){t(e);return}if(tC[nC(e.appLink)]){QS.disableNav(),t(e);return}rC(n,new eC(await vt(r.store,GS.config())))}catch{rC(n)}}var aC=class extends ee{get channelName(){return Lt.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[iC]}},oC=class extends qb{get name(){return`Exchange Application`}get layoutOptions(){return{name:Qb.DEFAULT_LAYOUT,options:{alertRegion:Zb.ALERT}}}get channelName(){return Lt.EXCHANGE}static get router(){return aC}async index(){let{ExchangeView:e}=await On(async()=>{let{ExchangeView:e}=await import(`./DVVx1aiS2.chunk.js`);return{ExchangeView:e}},__vite__mapDeps([55,1,16,7,33,9,14,15,6,17,18,19,20,21,56,57,5,8,35,58,28,29,30,59,60,61,62,63,64,65,66,67,52,68,69,70,71,72,73,2,74,51,75,76,77,78,79,80,81,82,83,84,44]));this.layout.showChildView(Zb.CONTENT,(0,Q.jsx)(e,{}))}async folder(e,t,n){let r=typeof t==`string`?n?.sort:t?.sort,i=r&&WS.getValidSortTypeFromParam(r),{ExchangeFolderView:a}=await On(async()=>{let{ExchangeFolderView:e}=await import(`./BJxTZJOX.chunk.js`);return{ExchangeFolderView:e}},__vite__mapDeps([85,1,86,57,5,6,7,8,16,17,33,9,87,35,88,18,79,80,81,44,45,89,90,27,12,91,28,29,30,63,64,67,62,65,66,52,68,43,48,92,93,94,36,58,59,78,95,96,47,73,70,2,49,97,14,15,19,20,21,98,99,100,101,56,60,61,69,41,102,72,71,74,51,75,76,77,82,83,84,103]));this.layout.showChildView(Zb.CONTENT,(0,Q.jsx)(a,{folderId:e,sort:i}))}async series(e,t,n){let r=typeof t==`string`?n?.sort:t?.sort,i=r&&WS.getValidSortTypeFromParam(r),{ExchangeSeriesView:a}=await On(async()=>{let{ExchangeSeriesView:e}=await import(`./DBKlntFN2.chunk.js`);return{ExchangeSeriesView:e}},__vite__mapDeps([104,1,86,57,5,6,7,8,16,17,33,9,87,35,88,18,79,80,81,44,45,89,90,27,12,91,28,29,30,63,64,67,62,65,66,52,68,43,48,92,93,94,36,58,59,78,95,96,47,73,70,2,49,97,14,15,19,20,21,98,99,41,102,72,71,83,84]));this.layout.showChildView(Zb.CONTENT,(0,Q.jsx)(a,{seriesId:e,sort:i}))}async search(e){let{ExchangeSearchResultsView:t}=await On(async()=>{let{ExchangeSearchResultsView:e}=await import(`./D5qMnGHT2.chunk.js`);return{ExchangeSearchResultsView:e}},__vite__mapDeps([105,1,86,57,5,6,7,8,16,17,33,9,87,35,88,18,79,80,81,44,45,89,90,27,12,91,28,29,30,63,64,67,62,65,66,52,68,43,48,92,93,94,36,58,59,78,95,96,47,73,70,2,49,97,14,15,19,20,21,106,107,26,34,108,53,109,84,50,99,110,100,101,39,40,41,102,72,111,74,51,75,83,103,112]));this.layout.showChildView(Zb.CONTENT,(0,Q.jsx)(t,{queryParams:e||{}}))}async mostRecent(){let{ExchangeMostRecentView:e}=await On(async()=>{let{ExchangeMostRecentView:e}=await import(`./Xs1Bv1h-.chunk.js`);return{ExchangeMostRecentView:e}},__vite__mapDeps([113,1,86,57,5,6,7,8,16,17,33,9,87,35,88,18,79,80,81,44,45,89,90,27,12,91,28,29,30,63,64,67,62,65,66,52,68,43,48,92,93,94,36,58,59,78,95,96,47,73,70,2,49,97,14,15,19,20,21,102,41,72,74,51,75,76,77,82,83,84]));this.layout.showChildView(Zb.CONTENT,(0,Q.jsx)(e,{}))}async preview(e,t){let{pageLoad:n}=BS.getCurrentRoute();n&&this.index();let{ExchangePreviewView:r}=await On(async()=>{let{ExchangePreviewView:e}=await import(`./RiPZGw_q2.chunk.js`);return{ExchangePreviewView:e}},__vite__mapDeps([114,1,115,6,25,5,7,8,32,16,87,35,88,17,33,9,18,79,80,81,44,45,89,90,36,37,108,28,29,30,78,52,53,109,58,59,95,62,63,64,65,66,19,47,73,70,2,49,51,92,116,117,118,119,120,121,122,123,124,94,102,41,15,125,126,34]));this.layout.showChildView(Zb.POPUP,(0,Q.jsx)(r,{videoId:e,currentTime:t,closePopup:()=>this.layout.closePopup()}))}async add(e){let{ExchangeAddView:t}=await On(async()=>{let{ExchangeAddView:e}=await import(`./o2htB_49.chunk.js`);return{ExchangeAddView:e}},__vite__mapDeps([127,1,16,7,33,9,94,36,89,18,81,44,83,84,126,34,35,103]));this.layout.showChildView(Zb.POPUP,(0,Q.jsx)(t,{id:e,closePopup:()=>this.layout.closePopup()}))}async suggestEdit(e){let{ExchangeSuggestEditView:t}=await On(async()=>{let{ExchangeSuggestEditView:e}=await import(`./Co_6cSBX2.chunk.js`);return{ExchangeSuggestEditView:e}},__vite__mapDeps([128,1,24,25,5,6,7,8,26,27,12,28,29,30,31,16,17,33,9,107,94,36,129,38,41,15,18,89,81,44,130,46,111,83,84,126,34,35]));this.layout.showChildView(Zb.POPUP,(0,Q.jsx)(t,{videoId:e,closePopup:()=>this.layout.closePopup()}))}downloadVideo(e){On(async()=>{let{DownloadVideoView:e}=await import(`./DoTtsl0X.chunk.js`);return{DownloadVideoView:e}},__vite__mapDeps([131,1,33,9,116,18])).then(({DownloadVideoView:t})=>{this.layout.showChildView(Zb.HIDDEN,(0,Q.jsx)(t,{id:e}))})}addToLibrary(e){On(async()=>{let{AddToLibraryView:e}=await import(`./NInuYe7b2.chunk.js`);return{AddToLibraryView:e}},__vite__mapDeps([132,1,24,25,5,6,7,8,26,27,12,28,29,30,31,32,16,33,9,18,36,58,59,60,61,41,15,96,88,17,79,80,81,44,45,89,20,130,46,70,133])).then(({AddToLibraryView:t})=>{this.layout.showChildView(Zb.POPUP,(0,Q.jsx)(t,{id:e,typeId:LS.Video,closePopup:()=>this.layout.closePopup()}))})}},sC=class extends ee{get channelName(){return Lt.TV}get appRoutes(){return{"tv(/)":`index`,"tv/:region/channels(/)":`channels`,"tv/:region/channels/:channelId(/)":`channel`,"tv/:region/programs(/)":`programs`,"tv/:region/search(/)":`search`}}get appLinks(){return[`preview`,`add`,`adFreeRequest`,`broadcastContent`,`alreadyAdded`,`requestProgram`,`radioDownload`]}get filters(){return[iC]}},cC=class extends qb{get name(){return`Tv Application`}get layoutOptions(){return{name:Qb.DEFAULT_LAYOUT,options:{alertRegion:Zb.ALERT}}}get channelName(){return Lt.TV}static get router(){return sC}async index(e){let{TvHomeView:t}=await On(async()=>{let{TvHomeView:e}=await import(`./BV2vTX2L.chunk.js`);return{TvHomeView:e}},__vite__mapDeps([134,1,135,33,9,35,34,71,72,16,7,136,17,18,2]));this.layout.showChildView(Zb.CONTENT,(0,Q.jsx)(t,{requestVideo:e.requestVideo===`true`}))}async channels(e,t){let{TvChannelsView:n}=await On(async()=>{let{TvChannelsView:e}=await import(`./YGLkoFLc.chunk.js`);return{TvChannelsView:e}},__vite__mapDeps([137,1,5,6,7,8,16,33,9,14,15,17,18,19,20,21,41,71,72,138,77,78,79,80,81,52,82,136,35,122,2,139,51,92,140,141,135,34,142,103,143]));this.layout.showChildView(Zb.CONTENT,(0,Q.jsx)(n,{region:e})),t.requestVideo===`true`&&this.requestProgram(e)}async channel(e,t,n){let{TvChannelView:r}=await On(async()=>{let{TvChannelView:e}=await import(`./BRQhDr-02.chunk.js`);return{TvChannelView:e}},__vite__mapDeps([144,1,5,6,7,8,17,33,9,14,15,16,18,19,20,21,63,64,72,71,117,118,138,77,78,79,80,81,52,82,136,35,122,2,121,123,139,51,92,140,141,135,34,145,60,61,146,147]));this.layout.showChildView(Zb.CONTENT,(0,Q.jsx)(r,{region:e,channelId:t,selectedRegion:n.region}))}async programs(e,t){let{TvProgramsView:n}=await On(async()=>{let{TvProgramsView:e}=await import(`./zp5MUThO.chunk.js`);return{TvProgramsView:e}},__vite__mapDeps([148,1,5,6,7,8,16,17,33,9,14,15,18,19,20,21,63,64,77,78,79,80,81,52,82,72,71,138,136,35,122,2,121,123,139,51,92,140,141,135,34,145,60,61,146,149]));this.layout.showChildView(Zb.CONTENT,(0,Q.jsx)(n,{region:e,startsWith:t.startsWith}))}async search(e,t){let{TvSearchResultsView:n}=await On(async()=>{let{TvSearchResultsView:e}=await import(`./UjMbny4R.chunk.js`);return{TvSearchResultsView:e}},__vite__mapDeps([150,1,5,6,7,8,17,33,9,14,15,16,18,19,20,21,91,27,12,28,29,30,63,64,67,62,65,66,52,68,43,48,92,93,36,106,107,26,34,35,108,78,79,80,81,53,109,84,47,50,99,110,58,59,95,100,101,72,71,117,118,119,120,121,122,123,139,51,2,140,136,151,141,135,103,152]));this.layout.showChildView(Zb.CONTENT,(0,Q.jsx)(n,{region:e,queryParams:t}))}async preview(e,t,n){let{TvPreviewView:r}=await On(async()=>{let{TvPreviewView:e}=await import(`./B6mSouu5.chunk.js`);return{TvPreviewView:e}},__vite__mapDeps([153,1,115,6,25,5,7,8,32,16,87,35,88,17,33,9,18,79,80,81,44,45,89,90,36,37,108,28,29,30,78,52,53,109,58,59,95,62,63,64,65,66,19,47,73,70,2,49,51,92,116,117,118,119,120,121,122,123,124,41,15,125,136,151,141,72]));this.layout.showChildView(Zb.POPUP,(0,Q.jsx)(r,{region:e,id:t,currentTime:n.currentTime,closePopup:()=>this.layout.closePopup()}))}async add(e,t,n){let{TvAddView:r}=await On(async()=>{let{TvAddView:e}=await import(`./D0H6Hjd-2.chunk.js`);return{TvAddView:e}},__vite__mapDeps([154,1,5,6,7,8,16,33,9,36,41,15,18,125,136,17,35,2,103,155]));this.layout.showChildView(Zb.POPUP,(0,Q.jsx)(r,{region:e,id:t,currentTime:n.currentTime,closePopup:()=>this.layout.closePopup()}))}async adFreeRequest(e,t){let{TvAdFreeRequestView:n}=await On(async()=>{let{TvAdFreeRequestView:e}=await import(`./Dp0gbhZx2.chunk.js`);return{TvAdFreeRequestView:e}},__vite__mapDeps([156,1,16,7,33,9,41,15,18,125,136,17,35,141,72,103]));this.layout.showChildView(Zb.POPUP,(0,Q.jsx)(n,{region:e,id:t,closePopup:()=>this.layout.closePopup()}))}async broadcastContent(e){let{TvBroadcastContentView:t}=await On(async()=>{let{TvBroadcastContentView:e}=await import(`./DtYC8Udi2.chunk.js`);return{TvBroadcastContentView:e}},__vite__mapDeps([157,1,5,6,7,8,16,33,9,136,17,35,18,122,2,158]));this.layout.showChildView(Zb.POPUP,(0,Q.jsx)(t,{region:e,closePopup:()=>this.layout.closePopup()}))}async alreadyAdded(e){let{TvAlreadyAddedView:t}=await On(async()=>{let{TvAlreadyAddedView:e}=await import(`./aDegERgV2.chunk.js`);return{TvAlreadyAddedView:e}},__vite__mapDeps([159,1,5,6,7,8,16,33,9,103,160]));this.layout.showChildView(Zb.POPUP,(0,Q.jsx)(t,{params:e,closePopup:()=>this.layout.closePopup()}))}async requestProgram(e){let{TvRequestProgramView:t}=await On(async()=>{let{TvRequestProgramView:e}=await import(`./CKrB9r9w.chunk.js`);return{TvRequestProgramView:e}},__vite__mapDeps([161,1,24,25,5,6,7,8,26,27,12,28,29,30,31,16,17,33,9,36,129,41,15,18,130,46,136,35,142,103]));this.layout.showChildView(Zb.POPUP,(0,Q.jsx)(t,{region:e,closePopup:()=>this.layout.closePopup()}))}async radioDownload(e,t){let{TvRadioDownloadView:n}=await On(async()=>{let{TvRadioDownloadView:e}=await import(`./Dg-h5qnR.chunk.js`);return{TvRadioDownloadView:e}},__vite__mapDeps([162,1,16,7,33,9,121,17,122,123,136,35,18]));this.layout.showChildView(Zb.POPUP,(0,Q.jsx)(n,{region:e,id:t,closePopup:()=>this.layout.closePopup()}))}};async function lC(e,t){try{let n=(await bt(e.store,Kb.customerSettings()))[X.ExchangeTvProductOption]?.value;switch(e.registerApplication(IS),n){case`exchange`:e.registerApplication(oC),t(e);return;case`tv`:e.registerApplication(cC),t(e);return;case`exchange_and_tv`:e.registerApplication(oC).registerApplication(cC),t(e);return}}catch{y.throw(new Hb)}}var uC=function(e){return e.Success=`success`,e.Warning=`warning`,e.Fail=`danger`,e.Info=`info`,e.Pending=`pending`,e}({}),dC=function(e){return e.Success=`Success! 🙌`,e.Warning=`Whoops...`,e.Fail=`Oops...`,e.Info=`FYI`,e}({}),fC=class extends fe{constructor(e){super(e)}initialize(){this.alertCollection=new se,this.listenTo(o.ALERT,`remove:alert`,this.removeAlert),this.showAlerts()}get name(){return Pt.ALERT}get defaults(){return{maxAlerts:3}}showAlerts(){let e=zb.default.channel(o.ALERT),t={collection:this.alertCollection};this.options.alertViewCtor&&(t=ie({},t,{ctor:this.options.alertViewCtor})),e.trigger(`show:alert`,t)}removeAlert(e){this.alertCollection.remove(e),this.showAlerts()}createAlert(e){this.alertCollection.length===this.options.maxAlerts&&this.alertCollection.shift(),e.id||(e=ie({},e,{id:this.generateUniqueAlertId()})),this.alertCollection.push(new z(e)),this.showAlerts()}clearAllAlerts(){this.alertCollection.reset(null)}success(e){return typeof e==`string`?me(()=>this.createAlert(ie({},this.options.defaultSuccessAlert,{message:e})),this):e.useXHR?me((e,t)=>this.createAlert(ie({},this.options.defaultSuccessAlert,{message:t})),this):me(()=>this.createAlert(ie({},this.options.defaultSuccessAlert,e)),this)}error(e){return typeof e==`string`?me(()=>this.createAlert(ie({},this.options.defaultErrorAlert,{message:e})),this):e.useXHR?me(e=>this.createAlert(ie({},this.options.defaultErrorAlert,{message:e.message})),this):me(()=>this.createAlert(ie({},this.options.defaultErrorAlertIL_DEFAULT,e)),this)}generateUniqueAlertId(){return ne(`alert_`)}};e();var pC=class extends fe{constructor(){super(),this.constructors={},this.destructors={},this.instances={},this.singletonInstances={},this.referenceCounts={}}get name(){return`InstanceManager`}static get Instance(){return this.instance||=new this}registerDataService(e,t){this.validateConstructor(e);let n=e.prototype.name;return this.referenceCounts[n]=0,this.constructors[n]=()=>new e({dataProvider:this.getInstance(t.dataProvider),cache:this.getInstance(t.cache),bootstrapData:t.bootstrapData,defaultErrorHandler:t.defaultErrorHandler,alertService:t.alertService}),this.destructors[n]=()=>{this.instances[n]?this.instances[n].destroy():y.throw(new M(`Trying to destroy a ${n} instance that has already been destroyed`)),this.releaseInstance(t.dataProvider),this.releaseInstance(t.cache)},this}registerInstance(e,t){this.validateConstructor(e);let n=e.prototype.name;return this.referenceCounts[n]=0,this.constructors[n]=()=>new e(t),this.destructors[n]=()=>R(this.instances[n].destroy)&&this.instances[n].destroy(),this}registerSingleton(e){let t=e.name;return this.singletonInstances[t]=e,this}getInstance(e,t){return this.singletonInstances[e]?this.singletonInstances[e]:(this.constructors[e]||y.throw(new M(`${e} was not registered with ${this.name}`)),this.referenceCounts[e]++,t&&this.listenTo(t,`destroy`,()=>this.releaseInstance(e)),this.instances[e]||(this.instances[e]=this.constructors[e]()),this.instances[e])}releaseInstance(e){if(this.instances[e])return window.setTimeout(()=>{this.referenceCounts[e]--,this.referenceCounts[e]<1&&(this.destructors[e](),delete this.instances[e])},0),this}validateConstructor(e){let t=e.prototype.name;t||y.throw(new M(`Classes registered with ${this.name} must have a unique name property.`)),this.constructors[t]&&y.throw(new M(`A class with the name: ${t} has already been registered with ${this.name}`))}}.Instance,mC=`shared.chunkLoadError`,hC=/\/([^\s/]+\.css)/,gC=/\/([^\s/]+\.js)/,_C=class extends Ln{constructor(e,t,n){super(Ft.getPhrase(mC,`title`,{chunkName:t})),this.product=`ClickView`,this.btnVariant=e,n&&(this.product=n)}get name(){return`ChunkLoadError`}get dialogOptions(){return{title:Ft.getPhrase(mC,`heading`,{product:this.product}),text:Ft.getPhrase(mC,`body`),buttons:[{text:Ft.getPhrase(mC,`reload`),className:`btn btn-${this.btnVariant}`,success:!0}]}}onDone(){ye.Reload()}};function vC(e,t){window.addEventListener(`error`,n=>{let r=n?.target?.src||n?.target?.href;if(!r)return;let i=e=>e?.[1]??`Unknown Chunk`,a=r.match(gC);if(a&&r.includes(`/scripts/`)&&r.includes(`.chunk.js`)){y.throw(new _C(e,i(a),t));return}let o=r.match(hC);if(o&&r.includes(`/css/`)&&r.includes(`.chunk.css`)){y.throw(new _C(e,i(o),t));return}},!0)}var yC=class extends _e{constructor(e,t){super(`User is using old version of the code. Old: ${e}. New: ${t}`)}get name(){return`OldVersionError`}},bC=class extends _e{get name(){return`AlertError`}},xC={UPLOAD_COMPLETE:`upload:complete`,UPLOAD_SUCCESS:`upload:success`,FILES_SELECTED:`files:selected`,FILES_ADDED:`files:added`,UPLOAD_CANCELLED:`upload:cancelled`,PENDING_ITEM_READY_TO_WATCH:`pending:item:ready:to:watch`,PENDING_ITEM_STATUS_CHANGE:`pending:item:status:change`,PROCESSING_CANCELLED:`processing:cancelled`,UNLOCK_NAV:`upload:unlock:nav`,PROCESSING_FAILED:`processing:failed`},SC={PENDING_ITEMS:`pending:items:service`,VIDEO_UPLOAD:`video:upload:service`,SUBTITLE_UPLOAD:`subtitle:upload:service`,RESOURCE_UPLOAD:`resource:upload:service`,CONTEXTUAL_SEARCH:`contextual:search:service`,IMAGE_UPLOAD:`image:upload:service`,MIXED_MEDIA_UPLOAD:`media:upload:service`,BRAZE:`braze:client:service`},CC=nt(),wC=(e,t,n,r=[])=>{let i=typeof e==`string`?zb.default.channel(e):e;Z.useEffect(()=>{if(e)return i.on(t,n),()=>{e&&i.off(t,n)}},r)};function TC(){return(0,Q.jsx)(`div`,{className:`text-center p-5`,children:(0,Q.jsx)(xn,{as:`div`,animation:`border`,role:`status`})})}EC.defaultProps={closeButton:!0,bodyClassName:``,dialogClassName:``,size:`md`,closeOnNavigate:!0};function EC(e){an(e.title),wC(o.SHELL,g.ROUTE,(t,n)=>{!e.closeOnNavigate||!n.isAppRoute||e.closePopup()},[e.closePopup]);let t=e.headerButtons?.length?e.headerButtons.map((e,t)=>(0,Q.jsx)(Sn,{...e},t)):(0,Q.jsx)(Q.Fragment,{});return(0,Q.jsxs)(jS,{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&&(0,Q.jsxs)(jS.Header,{className:`d-flex align-items-center bg-white`,closeButton:e.closeButton,children:[(0,Q.jsx)(jS.Title,{as:`h2`,className:`h4 flex-grow-1 text-truncate`,children:e.title}),t]}),e.showLoadingSpinner?(0,Q.jsx)(TC,{}):(0,Q.jsx)(jS.Body,{className:e.bodyClassName,children:e.children})]})}var DC=B(j(((e,t)=>{var n=Array.isArray,r=Object.keys,i=Object.prototype.hasOwnProperty,a=typeof Element<`u`;function o(e,t){if(e===t)return!0;if(e&&t&&typeof e==`object`&&typeof t==`object`){var s=n(e),c=n(t),l,u,d;if(s&&c){if(u=e.length,u!=t.length)return!1;for(l=u;l--!==0;)if(!o(e[l],t[l]))return!1;return!0}if(s!=c)return!1;var f=e instanceof Date,p=t instanceof Date;if(f!=p)return!1;if(f&&p)return e.getTime()==t.getTime();var m=e instanceof RegExp,h=t instanceof RegExp;if(m!=h)return!1;if(m&&h)return e.toString()==t.toString();var g=r(e);if(u=g.length,u!==r(t).length)return!1;for(l=u;l--!==0;)if(!i.call(t,g[l]))return!1;if(a&&e instanceof Element&&t instanceof Element)return e===t;for(l=u;l--!==0;)if(d=g[l],!(d===`_owner`&&e.$$typeof)&&!o(e[d],t[d]))return!1;return!0}return e!==e&&t!==t}t.exports=function(e,t){try{return o(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||e.number===-2146828260)return console.warn(`Warning: react-fast-compare does not handle circular references.`,e.name,e.message),!1;throw e}}}))()),OC=function(e){return kC(e)&&!AC(e)};function kC(e){return!!e&&typeof e==`object`}function AC(e){var t=Object.prototype.toString.call(e);return t===`[object RegExp]`||t===`[object Date]`||MC(e)}var jC=typeof Symbol==`function`&&Symbol.for?Symbol.for(`react.element`):60103;function MC(e){return e.$$typeof===jC}function NC(e){return Array.isArray(e)?[]:{}}function PC(e,t){return t.clone!==!1&&t.isMergeableObject(e)?LC(NC(e),e,t):e}function FC(e,t,n){return e.concat(t).map(function(e){return PC(e,n)})}function IC(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(t){r[t]=PC(e[t],n)}),Object.keys(t).forEach(function(i){!n.isMergeableObject(t[i])||!e[i]?r[i]=PC(t[i],n):r[i]=LC(e[i],t[i],n)}),r}function LC(e,t,n){n||={},n.arrayMerge=n.arrayMerge||FC,n.isMergeableObject=n.isMergeableObject||OC;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):IC(e,t,n):PC(t,n)}LC.all=function(e,t){if(!Array.isArray(e))throw Error(`first argument should be an array`);return e.reduce(function(e,n){return LC(e,n,t)},{})};var RC=LC,zC=typeof globalThis==`object`&&globalThis&&globalThis.Object===Object&&globalThis,BC=typeof self==`object`&&self&&self.Object===Object&&self,VC=zC||BC||Function(`return this`)(),HC=VC.Symbol,UC=Object.prototype,WC=UC.hasOwnProperty,GC=UC.toString,KC=HC?HC.toStringTag:void 0;function qC(e){var t=WC.call(e,KC),n=e[KC];try{e[KC]=void 0;var r=!0}catch{}var i=GC.call(e);return r&&(t?e[KC]=n:delete e[KC]),i}var JC=Object.prototype.toString;function YC(e){return JC.call(e)}var XC=`[object Null]`,ZC=`[object Undefined]`,QC=HC?HC.toStringTag:void 0;function $C(e){return e==null?e===void 0?ZC:XC:QC&&QC in Object(e)?qC(e):YC(e)}function ew(e,t){return function(n){return e(t(n))}}var tw=ew(Object.getPrototypeOf,Object);function nw(e){return typeof e==`object`&&!!e}var rw=`[object Object]`,iw=Function.prototype,aw=Object.prototype,ow=iw.toString,sw=aw.hasOwnProperty,cw=ow.call(Object);function lw(e){if(!nw(e)||$C(e)!=rw)return!1;var t=tw(e);if(t===null)return!0;var n=sw.call(t,`constructor`)&&t.constructor;return typeof n==`function`&&n instanceof n&&ow.call(n)==cw}function uw(){this.__data__=[],this.size=0}function dw(e,t){return e===t||e!==e&&t!==t}function fw(e,t){for(var n=e.length;n--;)if(dw(e[n][0],t))return n;return-1}var pw=Array.prototype.splice;function mw(e){var t=this.__data__,n=fw(t,e);return n<0?!1:(n==t.length-1?t.pop():pw.call(t,n,1),--this.size,!0)}function hw(e){var t=this.__data__,n=fw(t,e);return n<0?void 0:t[n][1]}function gw(e){return fw(this.__data__,e)>-1}function _w(e,t){var n=this.__data__,r=fw(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function vw(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}vw.prototype.clear=uw,vw.prototype.delete=mw,vw.prototype.get=hw,vw.prototype.has=gw,vw.prototype.set=_w;function yw(){this.__data__=new vw,this.size=0}function bw(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function xw(e){return this.__data__.get(e)}function Sw(e){return this.__data__.has(e)}function Cw(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}var ww=`[object AsyncFunction]`,Tw=`[object Function]`,Ew=`[object GeneratorFunction]`,Dw=`[object Proxy]`;function Ow(e){if(!Cw(e))return!1;var t=$C(e);return t==Tw||t==Ew||t==ww||t==Dw}var kw=VC[`__core-js_shared__`],Aw=function(){var e=/[^.]+$/.exec(kw&&kw.keys&&kw.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``}();function jw(e){return!!Aw&&Aw in e}var Mw=Function.prototype.toString;function Nw(e){if(e!=null){try{return Mw.call(e)}catch{}try{return e+``}catch{}}return``}var Pw=/[\\^$.*+?()[\]{}|]/g,Fw=/^\[object .+?Constructor\]$/,Iw=Function.prototype,Lw=Object.prototype,Rw=Iw.toString,zw=Lw.hasOwnProperty,Bw=RegExp(`^`+Rw.call(zw).replace(Pw,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`);function Vw(e){return!Cw(e)||jw(e)?!1:(Ow(e)?Bw:Fw).test(Nw(e))}function Hw(e,t){return e?.[t]}function Uw(e,t){var n=Hw(e,t);return Vw(n)?n:void 0}var Ww=Uw(VC,`Map`),Gw=Uw(Object,`create`);function Kw(){this.__data__=Gw?Gw(null):{},this.size=0}function qw(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Jw=`__lodash_hash_undefined__`,Yw=Object.prototype.hasOwnProperty;function Xw(e){var t=this.__data__;if(Gw){var n=t[e];return n===Jw?void 0:n}return Yw.call(t,e)?t[e]:void 0}var Zw=Object.prototype.hasOwnProperty;function Qw(e){var t=this.__data__;return Gw?t[e]!==void 0:Zw.call(t,e)}var $w=`__lodash_hash_undefined__`;function eT(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Gw&&t===void 0?$w:t,this}function tT(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}tT.prototype.clear=Kw,tT.prototype.delete=qw,tT.prototype.get=Xw,tT.prototype.has=Qw,tT.prototype.set=eT;function nT(){this.size=0,this.__data__={hash:new tT,map:new(Ww||vw),string:new tT}}function rT(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}function iT(e,t){var n=e.__data__;return rT(t)?n[typeof t==`string`?`string`:`hash`]:n.map}function aT(e){var t=iT(this,e).delete(e);return this.size-=t?1:0,t}function oT(e){return iT(this,e).get(e)}function sT(e){return iT(this,e).has(e)}function cT(e,t){var n=iT(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function lT(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}lT.prototype.clear=nT,lT.prototype.delete=aT,lT.prototype.get=oT,lT.prototype.has=sT,lT.prototype.set=cT;var uT=200;function dT(e,t){var n=this.__data__;if(n instanceof vw){var r=n.__data__;if(!Ww||r.length<uT-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new lT(r)}return n.set(e,t),this.size=n.size,this}function fT(e){this.size=(this.__data__=new vw(e)).size}fT.prototype.clear=yw,fT.prototype.delete=bw,fT.prototype.get=xw,fT.prototype.has=Sw,fT.prototype.set=dT;function pT(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var mT=function(){try{var e=Uw(Object,`defineProperty`);return e({},``,{}),e}catch{}}();function hT(e,t,n){t==`__proto__`&&mT?mT(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var gT=Object.prototype.hasOwnProperty;function _T(e,t,n){var r=e[t];(!(gT.call(e,t)&&dw(r,n))||n===void 0&&!(t in e))&&hT(e,t,n)}function vT(e,t,n,r){var i=!n;n||={};for(var a=-1,o=t.length;++a<o;){var s=t[a],c=r?r(n[s],e[s],s,n,e):void 0;c===void 0&&(c=e[s]),i?hT(n,s,c):_T(n,s,c)}return n}function yT(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var bT=`[object Arguments]`;function xT(e){return nw(e)&&$C(e)==bT}var ST=Object.prototype,CT=ST.hasOwnProperty,wT=ST.propertyIsEnumerable,TT=xT(function(){return arguments}())?xT:function(e){return nw(e)&&CT.call(e,`callee`)&&!wT.call(e,`callee`)},ET=Array.isArray;function DT(){return!1}var OT=typeof exports==`object`&&exports&&!exports.nodeType&&exports,kT=OT&&typeof module==`object`&&module&&!module.nodeType&&module,AT=kT&&kT.exports===OT?VC.Buffer:void 0,jT=(AT?AT.isBuffer:void 0)||DT,MT=9007199254740991,NT=/^(?:0|[1-9]\d*)$/;function PT(e,t){var n=typeof e;return t??=MT,!!t&&(n==`number`||n!=`symbol`&&NT.test(e))&&e>-1&&e%1==0&&e<t}var FT=9007199254740991;function IT(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=FT}var LT=`[object Arguments]`,RT=`[object Array]`,zT=`[object Boolean]`,BT=`[object Date]`,VT=`[object Error]`,HT=`[object Function]`,UT=`[object Map]`,WT=`[object Number]`,GT=`[object Object]`,KT=`[object RegExp]`,qT=`[object Set]`,JT=`[object String]`,YT=`[object WeakMap]`,XT=`[object ArrayBuffer]`,ZT=`[object DataView]`,QT=`[object Float32Array]`,$T=`[object Float64Array]`,eE=`[object Int8Array]`,tE=`[object Int16Array]`,nE=`[object Int32Array]`,rE=`[object Uint8Array]`,iE=`[object Uint8ClampedArray]`,aE=`[object Uint16Array]`,oE=`[object Uint32Array]`,sE={};sE[QT]=sE[$T]=sE[eE]=sE[tE]=sE[nE]=sE[rE]=sE[iE]=sE[aE]=sE[oE]=!0,sE[LT]=sE[RT]=sE[XT]=sE[zT]=sE[ZT]=sE[BT]=sE[VT]=sE[HT]=sE[UT]=sE[WT]=sE[GT]=sE[KT]=sE[qT]=sE[JT]=sE[YT]=!1;function cE(e){return nw(e)&&IT(e.length)&&!!sE[$C(e)]}function lE(e){return function(t){return e(t)}}var uE=typeof exports==`object`&&exports&&!exports.nodeType&&exports,dE=uE&&typeof module==`object`&&module&&!module.nodeType&&module,fE=dE&&dE.exports===uE&&zC.process,pE=function(){try{return dE&&dE.require&&dE.require(`util`).types||fE&&fE.binding&&fE.binding(`util`)}catch{}}(),mE=pE&&pE.isTypedArray,hE=mE?lE(mE):cE,gE=Object.prototype.hasOwnProperty;function _E(e,t){var n=ET(e),r=!n&&TT(e),i=!n&&!r&&jT(e),a=!n&&!r&&!i&&hE(e),o=n||r||i||a,s=o?yT(e.length,String):[],c=s.length;for(var l in e)(t||gE.call(e,l))&&!(o&&(l==`length`||i&&(l==`offset`||l==`parent`)||a&&(l==`buffer`||l==`byteLength`||l==`byteOffset`)||PT(l,c)))&&s.push(l);return s}var vE=Object.prototype;function yE(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||vE)}var bE=ew(Object.keys,Object),xE=Object.prototype.hasOwnProperty;function SE(e){if(!yE(e))return bE(e);var t=[];for(var n in Object(e))xE.call(e,n)&&n!=`constructor`&&t.push(n);return t}function CE(e){return e!=null&&IT(e.length)&&!Ow(e)}function wE(e){return CE(e)?_E(e):SE(e)}function TE(e,t){return e&&vT(t,wE(t),e)}function EE(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var DE=Object.prototype.hasOwnProperty;function OE(e){if(!Cw(e))return EE(e);var t=yE(e),n=[];for(var r in e)r==`constructor`&&(t||!DE.call(e,r))||n.push(r);return n}function kE(e){return CE(e)?_E(e,!0):OE(e)}function AE(e,t){return e&&vT(t,kE(t),e)}var jE=typeof exports==`object`&&exports&&!exports.nodeType&&exports,ME=jE&&typeof module==`object`&&module&&!module.nodeType&&module,NE=ME&&ME.exports===jE?VC.Buffer:void 0,PE=NE?NE.allocUnsafe:void 0;function FE(e,t){if(t)return e.slice();var n=e.length,r=PE?PE(n):new e.constructor(n);return e.copy(r),r}function IE(e,t){var n=-1,r=e.length;for(t||=Array(r);++n<r;)t[n]=e[n];return t}function LE(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}function RE(){return[]}var zE=Object.prototype.propertyIsEnumerable,BE=Object.getOwnPropertySymbols,VE=BE?function(e){return e==null?[]:(e=Object(e),LE(BE(e),function(t){return zE.call(e,t)}))}:RE;function HE(e,t){return vT(e,VE(e),t)}function UE(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var WE=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)UE(t,VE(e)),e=tw(e);return t}:RE;function GE(e,t){return vT(e,WE(e),t)}function KE(e,t,n){var r=t(e);return ET(e)?r:UE(r,n(e))}function qE(e){return KE(e,wE,VE)}function JE(e){return KE(e,kE,WE)}var YE=Uw(VC,`DataView`),XE=Uw(VC,`Promise`),ZE=Uw(VC,`Set`),QE=Uw(VC,`WeakMap`),$E=`[object Map]`,eD=`[object Object]`,tD=`[object Promise]`,nD=`[object Set]`,rD=`[object WeakMap]`,iD=`[object DataView]`,aD=Nw(YE),oD=Nw(Ww),sD=Nw(XE),cD=Nw(ZE),lD=Nw(QE),uD=$C;(YE&&uD(new YE(new ArrayBuffer(1)))!=iD||Ww&&uD(new Ww)!=$E||XE&&uD(XE.resolve())!=tD||ZE&&uD(new ZE)!=nD||QE&&uD(new QE)!=rD)&&(uD=function(e){var t=$C(e),n=t==eD?e.constructor:void 0,r=n?Nw(n):``;if(r)switch(r){case aD:return iD;case oD:return $E;case sD:return tD;case cD:return nD;case lD:return rD}return t});var dD=uD,fD=Object.prototype.hasOwnProperty;function pD(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]==`string`&&fD.call(e,`index`)&&(n.index=e.index,n.input=e.input),n}var mD=VC.Uint8Array;function hD(e){var t=new e.constructor(e.byteLength);return new mD(t).set(new mD(e)),t}function gD(e,t){var n=t?hD(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var _D=/\w*$/;function vD(e){var t=new e.constructor(e.source,_D.exec(e));return t.lastIndex=e.lastIndex,t}var yD=HC?HC.prototype:void 0,bD=yD?yD.valueOf:void 0;function xD(e){return bD?Object(bD.call(e)):{}}function SD(e,t){var n=t?hD(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var CD=`[object Boolean]`,wD=`[object Date]`,TD=`[object Map]`,ED=`[object Number]`,DD=`[object RegExp]`,OD=`[object Set]`,kD=`[object String]`,AD=`[object Symbol]`,jD=`[object ArrayBuffer]`,MD=`[object DataView]`,ND=`[object Float32Array]`,PD=`[object Float64Array]`,FD=`[object Int8Array]`,ID=`[object Int16Array]`,LD=`[object Int32Array]`,RD=`[object Uint8Array]`,zD=`[object Uint8ClampedArray]`,BD=`[object Uint16Array]`,VD=`[object Uint32Array]`;function HD(e,t,n){var r=e.constructor;switch(t){case jD:return hD(e);case CD:case wD:return new r(+e);case MD:return gD(e,n);case ND:case PD:case FD:case ID:case LD:case RD:case zD:case BD:case VD:return SD(e,n);case TD:return new r;case ED:case kD:return new r(e);case DD:return vD(e);case OD:return new r;case AD:return xD(e)}}var UD=Object.create,WD=function(){function e(){}return function(t){if(!Cw(t))return{};if(UD)return UD(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function GD(e){return typeof e.constructor==`function`&&!yE(e)?WD(tw(e)):{}}var KD=`[object Map]`;function qD(e){return nw(e)&&dD(e)==KD}var JD=pE&&pE.isMap,YD=JD?lE(JD):qD,XD=`[object Set]`;function ZD(e){return nw(e)&&dD(e)==XD}var QD=pE&&pE.isSet,$D=QD?lE(QD):ZD,eO=1,tO=2,nO=4,rO=`[object Arguments]`,iO=`[object Array]`,aO=`[object Boolean]`,oO=`[object Date]`,sO=`[object Error]`,cO=`[object Function]`,lO=`[object GeneratorFunction]`,uO=`[object Map]`,dO=`[object Number]`,fO=`[object Object]`,pO=`[object RegExp]`,mO=`[object Set]`,hO=`[object String]`,gO=`[object Symbol]`,_O=`[object WeakMap]`,vO=`[object ArrayBuffer]`,yO=`[object DataView]`,bO=`[object Float32Array]`,xO=`[object Float64Array]`,SO=`[object Int8Array]`,CO=`[object Int16Array]`,wO=`[object Int32Array]`,TO=`[object Uint8Array]`,EO=`[object Uint8ClampedArray]`,DO=`[object Uint16Array]`,OO=`[object Uint32Array]`,kO={};kO[rO]=kO[iO]=kO[vO]=kO[yO]=kO[aO]=kO[oO]=kO[bO]=kO[xO]=kO[SO]=kO[CO]=kO[wO]=kO[uO]=kO[dO]=kO[fO]=kO[pO]=kO[mO]=kO[hO]=kO[gO]=kO[TO]=kO[EO]=kO[DO]=kO[OO]=!0,kO[sO]=kO[cO]=kO[_O]=!1;function AO(e,t,n,r,i,a){var o,s=t&eO,c=t&tO,l=t&nO;if(n&&(o=i?n(e,r,i,a):n(e)),o!==void 0)return o;if(!Cw(e))return e;var u=ET(e);if(u){if(o=pD(e),!s)return IE(e,o)}else{var d=dD(e),f=d==cO||d==lO;if(jT(e))return FE(e,s);if(d==fO||d==rO||f&&!i){if(o=c||f?{}:GD(e),!s)return c?GE(e,AE(o,e)):HE(e,TE(o,e))}else{if(!kO[d])return i?e:{};o=HD(e,d,s)}}a||=new fT;var p=a.get(e);if(p)return p;a.set(e,o),$D(e)?e.forEach(function(r){o.add(AO(r,t,n,r,e,a))}):YD(e)&&e.forEach(function(r,i){o.set(i,AO(r,t,n,i,e,a))});var m=u?void 0:(l?c?JE:qE:c?kE:wE)(e);return pT(m||e,function(r,i){m&&(i=r,r=e[i]),_T(o,i,AO(r,t,n,i,e,a))}),o}var jO=4;function MO(e){return AO(e,jO)}function NO(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var PO=`[object Symbol]`;function FO(e){return typeof e==`symbol`||nw(e)&&$C(e)==PO}var IO=`Expected a function`;function LO(e,t){if(typeof e!=`function`||t!=null&&typeof t!=`function`)throw TypeError(IO);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(LO.Cache||lT),n}LO.Cache=lT;var RO=500;function zO(e){var t=LO(e,function(e){return n.size===RO&&n.clear(),e}),n=t.cache;return t}var BO=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,VO=/\\(\\)?/g,HO=zO(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(``),e.replace(BO,function(e,n,r,i){t.push(r?i.replace(VO,`$1`):n||e)}),t}),UO=1/0;function WO(e){if(typeof e==`string`||FO(e))return e;var t=e+``;return t==`0`&&1/e==-UO?`-0`:t}var GO=1/0,KO=HC?HC.prototype:void 0,qO=KO?KO.toString:void 0;function JO(e){if(typeof e==`string`)return e;if(ET(e))return NO(e,JO)+``;if(FO(e))return qO?qO.call(e):``;var t=e+``;return t==`0`&&1/e==-GO?`-0`:t}function YO(e){return e==null?``:JO(e)}function XO(e){return ET(e)?NO(e,WO):FO(e)?[e]:IE(HO(YO(e)))}var ZO=!0;function QO(e,t){if(!ZO){if(e)return;var n=`Warning: `+t;typeof console<`u`&&console.warn(n);try{throw Error(n)}catch{}}}var $O=1,ek=4;function tk(e){return AO(e,$O|ek)}function nk(){return nk=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nk.apply(this,arguments)}function rk(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function ik(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function ak(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}var ok=function(e){return Array.isArray(e)&&e.length===0},sk=function(e){return typeof e==`function`},ck=function(e){return typeof e==`object`&&!!e},lk=function(e){return String(Math.floor(Number(e)))===e},uk=function(e){return Object.prototype.toString.call(e)===`[object String]`},dk=function(e){return Z.Children.count(e)===0},fk=function(e){return ck(e)&&sk(e.then)};function pk(e,t,n,r){r===void 0&&(r=0);for(var i=XO(t);e&&r<i.length;)e=e[i[r++]];return e===void 0?n:e}function mk(e,t,n){for(var r=MO(e),i=r,a=0,o=XO(t);a<o.length-1;a++){var s=o[a],c=pk(e,o.slice(0,a+1));if(c&&(ck(c)||Array.isArray(c)))i=i[s]=MO(c);else{var l=o[a+1];i=i[s]=lk(l)&&Number(l)>=0?[]:{}}}return(a===0?e:i)[o[a]]===n?e:(n===void 0?delete i[o[a]]:i[o[a]]=n,a===0&&n===void 0&&delete r[o[a]],r)}function hk(e,t,n,r){n===void 0&&(n=new WeakMap),r===void 0&&(r={});for(var i=0,a=Object.keys(e);i<a.length;i++){var o=a[i],s=e[o];ck(s)?n.get(s)||(n.set(s,!0),r[o]=Array.isArray(s)?[]:{},hk(s,t,n,r[o])):r[o]=t}return r}var gk=(0,Z.createContext)(void 0);gk.displayName=`FormikContext`;var _k=gk.Provider,vk=gk.Consumer;function yk(){var e=(0,Z.useContext)(gk);return!e&&QO(!1),e}function bk(e,t){switch(t.type){case`SET_VALUES`:return nk({},e,{values:t.payload});case`SET_TOUCHED`:return nk({},e,{touched:t.payload});case`SET_ERRORS`:return(0,DC.default)(e.errors,t.payload)?e:nk({},e,{errors:t.payload});case`SET_STATUS`:return nk({},e,{status:t.payload});case`SET_ISSUBMITTING`:return nk({},e,{isSubmitting:t.payload});case`SET_ISVALIDATING`:return nk({},e,{isValidating:t.payload});case`SET_FIELD_VALUE`:return nk({},e,{values:mk(e.values,t.payload.field,t.payload.value)});case`SET_FIELD_TOUCHED`:return nk({},e,{touched:mk(e.touched,t.payload.field,t.payload.value)});case`SET_FIELD_ERROR`:return nk({},e,{errors:mk(e.errors,t.payload.field,t.payload.value)});case`RESET_FORM`:return nk({},e,t.payload);case`SET_FORMIK_STATE`:return t.payload(e);case`SUBMIT_ATTEMPT`:return nk({},e,{touched:hk(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case`SUBMIT_FAILURE`:return nk({},e,{isSubmitting:!1});case`SUBMIT_SUCCESS`:return nk({},e,{isSubmitting:!1});default:return e}}var xk={},Sk={};function Ck(e){var t=e.validateOnChange,n=t===void 0?!0:t,r=e.validateOnBlur,i=r===void 0?!0:r,a=e.validateOnMount,o=a===void 0?!1:a,s=e.isInitialValid,c=e.enableReinitialize,l=c===void 0?!1:c,u=e.onSubmit,d=ik(e,[`validateOnChange`,`validateOnBlur`,`validateOnMount`,`isInitialValid`,`enableReinitialize`,`onSubmit`]),f=nk({validateOnChange:n,validateOnBlur:i,validateOnMount:o,onSubmit:u},d),p=(0,Z.useRef)(f.initialValues),m=(0,Z.useRef)(f.initialErrors||xk),h=(0,Z.useRef)(f.initialTouched||Sk),g=(0,Z.useRef)(f.initialStatus),_=(0,Z.useRef)(!1),v=(0,Z.useRef)({});(0,Z.useEffect)(function(){return _.current=!0,function(){_.current=!1}},[]);var y=(0,Z.useReducer)(bk,{values:f.initialValues,errors:f.initialErrors||xk,touched:f.initialTouched||Sk,status:f.initialStatus,isSubmitting:!1,isValidating:!1,submitCount:0}),b=y[0],x=y[1],S=(0,Z.useCallback)(function(e,t){return new Promise(function(n,r){var i=f.validate(e,t);i==null?n(xk):fk(i)?i.then(function(e){n(e||xk)},function(e){r(e)}):n(i)})},[f.validate]),C=(0,Z.useCallback)(function(e,t){var n=f.validationSchema,r=sk(n)?n(t):n,i=t&&r.validateAt?r.validateAt(t,e):Ek(e,r);return new Promise(function(e,t){i.then(function(){e(xk)},function(n){n.name===`ValidationError`?e(Tk(n)):t(n)})})},[f.validationSchema]),w=(0,Z.useCallback)(function(e,t){return new Promise(function(n){return n(v.current[e].validate(t))})},[]),T=(0,Z.useCallback)(function(e){var t=Object.keys(v.current).filter(function(e){return sk(v.current[e].validate)}),n=t.length>0?t.map(function(t){return w(t,pk(e,t))}):[Promise.resolve(`DO_NOT_DELETE_YOU_WILL_BE_FIRED`)];return Promise.all(n).then(function(e){return e.reduce(function(e,n,r){return n===`DO_NOT_DELETE_YOU_WILL_BE_FIRED`||n&&(e=mk(e,t[r],n)),e},{})})},[w]),E=(0,Z.useCallback)(function(e){return Promise.all([T(e),f.validationSchema?C(e):{},f.validate?S(e):{}]).then(function(e){var t=e[0],n=e[1],r=e[2];return RC.all([t,n,r],{arrayMerge:Ok})})},[f.validate,f.validationSchema,T,S,C]),D=Mk(function(e){return e===void 0&&(e=b.values),x({type:`SET_ISVALIDATING`,payload:!0}),E(e).then(function(e){return _.current&&(x({type:`SET_ISVALIDATING`,payload:!1}),x({type:`SET_ERRORS`,payload:e})),e})});(0,Z.useEffect)(function(){o&&_.current===!0&&(0,DC.default)(p.current,f.initialValues)&&D(p.current)},[o,D]);var O=(0,Z.useCallback)(function(e){var t=e&&e.values?e.values:p.current,n=e&&e.errors?e.errors:m.current?m.current:f.initialErrors||{},r=e&&e.touched?e.touched:h.current?h.current:f.initialTouched||{},i=e&&e.status?e.status:g.current?g.current:f.initialStatus;p.current=t,m.current=n,h.current=r,g.current=i;var a=function(){x({type:`RESET_FORM`,payload:{isSubmitting:!!e&&!!e.isSubmitting,errors:n,touched:r,status:i,values:t,isValidating:!!e&&!!e.isValidating,submitCount:e&&e.submitCount&&typeof e.submitCount==`number`?e.submitCount:0}})};if(f.onReset){var o=f.onReset(b.values,oe);fk(o)?o.then(a):a()}else a()},[f.initialErrors,f.initialStatus,f.initialTouched]);(0,Z.useEffect)(function(){_.current===!0&&!(0,DC.default)(p.current,f.initialValues)&&(l&&(p.current=f.initialValues,O()),o&&D(p.current))},[l,f.initialValues,O,o,D]),(0,Z.useEffect)(function(){l&&_.current===!0&&!(0,DC.default)(m.current,f.initialErrors)&&(m.current=f.initialErrors||xk,x({type:`SET_ERRORS`,payload:f.initialErrors||xk}))},[l,f.initialErrors]),(0,Z.useEffect)(function(){l&&_.current===!0&&!(0,DC.default)(h.current,f.initialTouched)&&(h.current=f.initialTouched||Sk,x({type:`SET_TOUCHED`,payload:f.initialTouched||Sk}))},[l,f.initialTouched]),(0,Z.useEffect)(function(){l&&_.current===!0&&!(0,DC.default)(g.current,f.initialStatus)&&(g.current=f.initialStatus,x({type:`SET_STATUS`,payload:f.initialStatus}))},[l,f.initialStatus,f.initialTouched]);var k=Mk(function(e){if(v.current[e]&&sk(v.current[e].validate)){var t=pk(b.values,e),n=v.current[e].validate(t);return fk(n)?(x({type:`SET_ISVALIDATING`,payload:!0}),n.then(function(e){return e}).then(function(t){x({type:`SET_FIELD_ERROR`,payload:{field:e,value:t}}),x({type:`SET_ISVALIDATING`,payload:!1})})):(x({type:`SET_FIELD_ERROR`,payload:{field:e,value:n}}),Promise.resolve(n))}else if(f.validationSchema)return x({type:`SET_ISVALIDATING`,payload:!0}),C(b.values,e).then(function(e){return e}).then(function(t){x({type:`SET_FIELD_ERROR`,payload:{field:e,value:t[e]}}),x({type:`SET_ISVALIDATING`,payload:!1})});return Promise.resolve()}),A=(0,Z.useCallback)(function(e,t){var n=t.validate;v.current[e]={validate:n}},[]),j=(0,Z.useCallback)(function(e){delete v.current[e]},[]),M=Mk(function(e,t){return x({type:`SET_TOUCHED`,payload:e}),(t===void 0?i:t)?D(b.values):Promise.resolve()}),N=(0,Z.useCallback)(function(e){x({type:`SET_ERRORS`,payload:e})},[]),P=Mk(function(e,t){var r=sk(e)?e(b.values):e;return x({type:`SET_VALUES`,payload:r}),(t===void 0?n:t)?D(r):Promise.resolve()}),F=(0,Z.useCallback)(function(e,t){x({type:`SET_FIELD_ERROR`,payload:{field:e,value:t}})},[]),I=Mk(function(e,t,r){return x({type:`SET_FIELD_VALUE`,payload:{field:e,value:t}}),(r===void 0?n:r)?D(mk(b.values,e,t)):Promise.resolve()}),L=(0,Z.useCallback)(function(e,t){var n=t,r=e,i;if(!uk(e)){e.persist&&e.persist();var a=e.target?e.target:e.currentTarget,o=a.type,s=a.name,c=a.id,l=a.value,u=a.checked;a.outerHTML;var d=a.options,f=a.multiple;n=t||s||c,r=/number|range/.test(o)?(i=parseFloat(l),isNaN(i)?``:i):/checkbox/.test(o)?Ak(pk(b.values,n),u,l):d&&f?kk(d):l}n&&I(n,r)},[I,b.values]),R=Mk(function(e){if(uk(e))return function(t){return L(t,e)};L(e)}),z=Mk(function(e,t,n){return t===void 0&&(t=!0),x({type:`SET_FIELD_TOUCHED`,payload:{field:e,value:t}}),(n===void 0?i:n)?D(b.values):Promise.resolve()}),B=(0,Z.useCallback)(function(e,t){e.persist&&e.persist();var n=e.target,r=n.name,i=n.id;n.outerHTML,z(t||r||i,!0)},[z]),ee=Mk(function(e){if(uk(e))return function(t){return B(t,e)};B(e)}),te=(0,Z.useCallback)(function(e){sk(e)?x({type:`SET_FORMIK_STATE`,payload:e}):x({type:`SET_FORMIK_STATE`,payload:function(){return e}})},[]),ne=(0,Z.useCallback)(function(e){x({type:`SET_STATUS`,payload:e})},[]),re=(0,Z.useCallback)(function(e){x({type:`SET_ISSUBMITTING`,payload:e})},[]),ie=Mk(function(){return x({type:`SUBMIT_ATTEMPT`}),D().then(function(e){var t=e instanceof Error;if(!t&&Object.keys(e).length===0){var n;try{if(n=se(),n===void 0)return}catch(e){throw e}return Promise.resolve(n).then(function(e){return _.current&&x({type:`SUBMIT_SUCCESS`}),e}).catch(function(e){if(_.current)throw x({type:`SUBMIT_FAILURE`}),e})}else if(_.current&&(x({type:`SUBMIT_FAILURE`}),t))throw e})}),ae=Mk(function(e){e&&e.preventDefault&&sk(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&sk(e.stopPropagation)&&e.stopPropagation(),ie().catch(function(e){console.warn(`Warning: An unhandled error was caught from submitForm()`,e)})}),oe={resetForm:O,validateForm:D,validateField:k,setErrors:N,setFieldError:F,setFieldTouched:z,setFieldValue:I,setStatus:ne,setSubmitting:re,setTouched:M,setValues:P,setFormikState:te,submitForm:ie},se=Mk(function(){return u(b.values,oe)}),ce=Mk(function(e){e&&e.preventDefault&&sk(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&sk(e.stopPropagation)&&e.stopPropagation(),O()}),le=(0,Z.useCallback)(function(e){return{value:pk(b.values,e),error:pk(b.errors,e),touched:!!pk(b.touched,e),initialValue:pk(p.current,e),initialTouched:!!pk(h.current,e),initialError:pk(m.current,e)}},[b.errors,b.touched,b.values]),ue=(0,Z.useCallback)(function(e){return{setValue:function(t,n){return I(e,t,n)},setTouched:function(t,n){return z(e,t,n)},setError:function(t){return F(e,t)}}},[I,z,F]),de=(0,Z.useCallback)(function(e){var t=ck(e),n=t?e.name:e,r=pk(b.values,n),i={name:n,value:r,onChange:R,onBlur:ee};if(t){var a=e.type,o=e.value,s=e.as,c=e.multiple;a===`checkbox`?o===void 0?i.checked=!!r:(i.checked=!!(Array.isArray(r)&&~r.indexOf(o)),i.value=o):a===`radio`?(i.checked=r===o,i.value=o):s===`select`&&c&&(i.value=i.value||[],i.multiple=!0)}return i},[ee,R,b.values]),fe=(0,Z.useMemo)(function(){return!(0,DC.default)(p.current,b.values)},[p.current,b.values]),pe=(0,Z.useMemo)(function(){return s===void 0||fe?b.errors&&Object.keys(b.errors).length===0:s!==!1&&sk(s)?s(f):s},[s,fe,b.errors,f]);return nk({},b,{initialValues:p.current,initialErrors:m.current,initialTouched:h.current,initialStatus:g.current,handleBlur:ee,handleChange:R,handleReset:ce,handleSubmit:ae,resetForm:O,setErrors:N,setFormikState:te,setFieldTouched:z,setFieldValue:I,setFieldError:F,setStatus:ne,setSubmitting:re,setTouched:M,setValues:P,submitForm:ie,validateForm:D,validateField:k,isValid:pe,dirty:fe,unregisterField:j,registerField:A,getFieldProps:de,getFieldMeta:le,getFieldHelpers:ue,validateOnBlur:i,validateOnChange:n,validateOnMount:o})}function wk(e){var t=Ck(e),n=e.component,r=e.children,i=e.render,a=e.innerRef;return(0,Z.useImperativeHandle)(a,function(){return t}),(0,Z.createElement)(_k,{value:t},n?(0,Z.createElement)(n,t):i?i(t):r?sk(r)?r(t):dk(r)?null:Z.Children.only(r):null)}function Tk(e){var t={};if(e.inner){if(e.inner.length===0)return mk(t,e.path,e.message);for(var n=e.inner,r=Array.isArray(n),i=0,n=r?n:n[Symbol.iterator]();;){var a;if(r){if(i>=n.length)break;a=n[i++]}else{if(i=n.next(),i.done)break;a=i.value}var o=a;pk(t,o.path)||(t=mk(t,o.path,o.message))}}return t}function Ek(e,t,n,r){n===void 0&&(n=!1),r===void 0&&(r={});var i=Dk(e);return t[n?`validateSync`:`validate`](i,{abortEarly:!1,context:r})}function Dk(e){var t=Array.isArray(e)?[]:{};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=String(n);Array.isArray(e[r])===!0?t[r]=e[r].map(function(e){return Array.isArray(e)===!0||lw(e)?Dk(e):e===``?void 0:e}):lw(e[r])?t[r]=Dk(e[r]):t[r]=e[r]===``?void 0:e[r]}return t}function Ok(e,t,n){var r=e.slice();return t.forEach(function(t,i){r[i]===void 0?r[i]=n.clone!==!1&&n.isMergeableObject(t)?RC(Array.isArray(t)?[]:{},t,n):t:n.isMergeableObject(t)?r[i]=RC(e[i],t,n):e.indexOf(t)===-1&&r.push(t)}),r}function kk(e){return Array.from(e).filter(function(e){return e.selected}).map(function(e){return e.value})}function Ak(e,t,n){if(typeof e==`boolean`)return!!t;var r=[],i=!1,a=-1;if(Array.isArray(e))r=e,a=e.indexOf(n),i=a>=0;else if(!n||n==`true`||n==`false`)return!!t;return t&&n&&!i?r.concat(n):i?r.slice(0,a).concat(r.slice(a+1)):r}var jk=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0?Z.useLayoutEffect:Z.useEffect;function Mk(e){var t=(0,Z.useRef)(e);return jk(function(){t.current=e}),(0,Z.useCallback)(function(){var e=[...arguments];return t.current.apply(void 0,e)},[])}function Nk(e){var t=e.validate,n=e.name,r=e.render,i=e.children,a=e.as,o=e.component,s=ik(e,[`validate`,`name`,`render`,`children`,`as`,`component`]),c=ik(yk(),[`validate`,`validationSchema`]),l=c.registerField,u=c.unregisterField;(0,Z.useEffect)(function(){return l(n,{validate:t}),function(){u(n)}},[l,u,n,t]);var d=c.getFieldProps(nk({name:n},s)),f=c.getFieldMeta(n),p={field:d,form:c};if(r)return r(nk({},p,{meta:f}));if(sk(i))return i(nk({},p,{meta:f}));if(o){if(typeof o==`string`){var m=s.innerRef,h=ik(s,[`innerRef`]);return(0,Z.createElement)(o,nk({ref:m},d,h),i)}return(0,Z.createElement)(o,nk({field:d,form:c},s),i)}var g=a||`input`;if(typeof g==`string`){var _=s.innerRef,v=ik(s,[`innerRef`]);return(0,Z.createElement)(g,nk({ref:_},d,v),i)}return(0,Z.createElement)(g,nk({},d,s),i)}var Pk=(0,Z.forwardRef)(function(e,t){var n=e.action,r=ik(e,[`action`]),i=n??`#`,a=yk(),o=a.handleReset,s=a.handleSubmit;return(0,Z.createElement)(`form`,Object.assign({onSubmit:s,ref:t,onReset:o,action:i},r))});Pk.displayName=`Form`;function Fk(e){var t=function(t){return(0,Z.createElement)(vk,null,function(n){return!n&&QO(!1),(0,Z.createElement)(e,Object.assign({},t,{formik:n}))})},n=e.displayName||e.name||e.constructor&&e.constructor.name||`Component`;return t.WrappedComponent=e,t.displayName=`FormikConnect(`+n+`)`,(0,$b.default)(t,e)}var Ik=function(e,t,n){var r=Bk(e),i=r[t];return r.splice(t,1),r.splice(n,0,i),r},Lk=function(e,t,n){var r=Bk(e),i=r[t];return r[t]=r[n],r[n]=i,r},Rk=function(e,t,n){var r=Bk(e);return r.splice(t,0,n),r},zk=function(e,t,n){var r=Bk(e);return r[t]=n,r},Bk=function(e){if(!e)return[];if(Array.isArray(e))return[].concat(e);var t=Object.keys(e).map(function(e){return parseInt(e)}).reduce(function(e,t){return t>e?t:e},0);return Array.from(nk({},e,{length:t+1}))},Vk=function(e){rk(t,e);function t(t){var n=e.call(this,t)||this;return n.updateArrayField=function(e,t,r){var i=n.props,a=i.name,o=i.formik.setFormikState;o(function(n){var i=typeof r==`function`?r:e,o=typeof t==`function`?t:e,s=mk(n.values,a,e(pk(n.values,a))),c=r?i(pk(n.errors,a)):void 0,l=t?o(pk(n.touched,a)):void 0;return ok(c)&&(c=void 0),ok(l)&&(l=void 0),nk({},n,{values:s,errors:r?mk(n.errors,a,c):n.errors,touched:t?mk(n.touched,a,l):n.touched})})},n.push=function(e){return n.updateArrayField(function(t){return[].concat(Bk(t),[tk(e)])},!1,!1)},n.handlePush=function(e){return function(){return n.push(e)}},n.swap=function(e,t){return n.updateArrayField(function(n){return Lk(n,e,t)},!0,!0)},n.handleSwap=function(e,t){return function(){return n.swap(e,t)}},n.move=function(e,t){return n.updateArrayField(function(n){return Ik(n,e,t)},!0,!0)},n.handleMove=function(e,t){return function(){return n.move(e,t)}},n.insert=function(e,t){return n.updateArrayField(function(n){return Rk(n,e,t)},function(t){return Rk(t,e,null)},function(t){return Rk(t,e,null)})},n.handleInsert=function(e,t){return function(){return n.insert(e,t)}},n.replace=function(e,t){return n.updateArrayField(function(n){return zk(n,e,t)},!1,!1)},n.handleReplace=function(e,t){return function(){return n.replace(e,t)}},n.unshift=function(e){var t=-1;return n.updateArrayField(function(n){var r=n?[e].concat(n):[e];return t<0&&(t=r.length),r},function(e){var n=e?[null].concat(e):[null];return t<0&&(t=n.length),n},function(e){var n=e?[null].concat(e):[null];return t<0&&(t=n.length),n}),t},n.handleUnshift=function(e){return function(){return n.unshift(e)}},n.handleRemove=function(e){return function(){return n.remove(e)}},n.handlePop=function(){return function(){return n.pop()}},n.remove=n.remove.bind(ak(n)),n.pop=n.pop.bind(ak(n)),n}var n=t.prototype;return n.componentDidUpdate=function(e){this.props.validateOnChange&&this.props.formik.validateOnChange&&!(0,DC.default)(pk(e.formik.values,e.name),pk(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},n.remove=function(e){var t;return this.updateArrayField(function(n){var r=n?Bk(n):[];return t||=r[e],sk(r.splice)&&r.splice(e,1),r},!0,!0),t},n.pop=function(){var e;return this.updateArrayField(function(t){var n=t;return e||=n&&n.pop&&n.pop(),n},!0,!0),e},n.render=function(){var e={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},t=this.props,n=t.component,r=t.render,i=t.children,a=t.name,o=t.formik,s=ik(o,[`validate`,`validationSchema`]),c=nk({},e,{form:s,name:a});return n?(0,Z.createElement)(n,c):r?r(c):i?typeof i==`function`?i(c):dk(i)?null:Z.Children.only(i):null},t}(Z.Component);Vk.defaultProps={validateOnChange:!0};var Hk=Fk(function(e){rk(t,e);function t(){return e.apply(this,arguments)||this}var n=t.prototype;return n.shouldComponentUpdate=function(e){return pk(this.props.formik.errors,this.props.name)!==pk(e.formik.errors,this.props.name)||pk(this.props.formik.touched,this.props.name)!==pk(e.formik.touched,this.props.name)||Object.keys(this.props).length!==Object.keys(e).length},n.render=function(){var e=this.props,t=e.component,n=e.formik,r=e.render,i=e.children,a=e.name,o=ik(e,[`component`,`formik`,`render`,`children`,`name`]),s=pk(n.touched,a),c=pk(n.errors,a);return s&&c?r?sk(r)?r(c):null:i?sk(i)?i(c):null:t?(0,Z.createElement)(t,o,c):c:null},t}(Z.Component)),Uk=Z.createContext(``),Wk=Z.memo(function(e){let{phrase:t,namespace:n,options:r}=e,i=Z.useContext(Uk),a=n||i,o=Object.assign({escapeText:!0},r);return(0,Q.jsx)(`span`,{dangerouslySetInnerHTML:{__html:Ft.getPhrase(a,t,o)}})},(e,t)=>e.namespace===t.namespace&&e.phrase===t.phrase&&d.isEqual(e.options,t.options));function Gk(e){let[t,n]=Z.useState(!1);return Z.useEffect(()=>{if(!e.isValid){n(!1);return}e.dirty||e.initialStatus?.allowInitialSubmit?n(!0):n(!1)},[e.isValid,e.initialStatus?.allowInitialSubmit,e.dirty,e.values]),Z.useEffect(()=>{e.isSubmitting&&n(!1)},[e.isSubmitting]),t}function Kk(e){let{showSpinner:t,children:n,style:r,spinnerText:i,...a}=e,o=Z.useRef(null),[{width:s,height:c},l]=Z.useState({}),[u,d]=Z.useState(t);Z.useEffect(()=>{if(!t){l({});return}let e=o.current,n=e.offsetHeight,r=e.offsetWidth;!n||!r||l({width:r,height:n})},[t]),Z.useLayoutEffect(()=>{d(t)},[t]);let f={...r};return s&&(f.width=`${s+1}px`),c&&(f.height=`${c+1}px`),(0,Q.jsx)(gn,{ref:o,disabled:t,style:f,...a,children:u?(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(xn,{as:`span`,animation:`border`,role:`status`,size:`sm`}),!!i&&(0,Q.jsx)(`span`,{className:`ps-1`,children:i})]}):n})}var qk=`shared.popup`,Jk=e=>(0,Q.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 Yk(e){return(0,Q.jsx)(Kk,{variant:e.variant||`primary`,type:e.type||`submit`,disabled:e.disabled||e.showSpinner,size:e.size,className:e.className?e.className:``,onClick:()=>e.onClick?.(),showSpinner:e.showSpinner,spinnerText:e.spinnerText,children:e.text?(0,Q.jsx)(Q.Fragment,{children:e.text}):(0,Q.jsx)(Wk,{namespace:qk,phrase:e.isNew?`create`:`save`})})}function Xk(e){let t=yk(),n=Gk(t??{}),r=t?.isSubmitting||e.showSpinner;function i(){return typeof e.disabled==`boolean`?e.disabled:!!t&&!n||r}return(0,Q.jsx)(Yk,{...e,disabled:i(),showSpinner:r})}Jk.Submit=e=>Z.useContext(gk)?(0,Q.jsx)(Xk,{...e}):(0,Q.jsx)(Yk,{...e}),Jk.Cancel=e=>(0,Q.jsx)(gn,{onClick:e.onClick,variant:e.variant||`link`,size:e.size,className:e.className?e.className:`me-2`,children:e.text?e.text:(0,Q.jsx)(Wk,{namespace:qk,phrase:`cancel`})}),Jk.Checkbox=e=>(0,Q.jsx)(_n.Check,{type:`checkbox`,className:e.className??`me-auto`,label:e.label,id:e.id,onChange:e.onToggle,checked:e.checked}),Jk.Toggle=e=>(0,Q.jsxs)(`div`,{className:`d-flex align-items-center me-auto`,children:[(0,Q.jsx)(vn,{on:e.on,onClick:e.onClick,disabled:e.disabled,tooltipText:e.tooltip}),!!e.label&&(0,Q.jsx)(`span`,{className:`fw-semibold ms-2`,children:e.label})]});var Zk=`shared.shared-utils`,Qk=null,$k={render:(e,t={})=>{let n=document.getElementById(`dialog-region`);n||(n=document.createElement(`div`),n.id=`dialog-region`,document.appendChild(n)),Qk||=(0,CC.createRoot)(n);function r(){if(mt.isFunction(t.submitButtonProps?.onClick)){let e=t.submitButtonProps.onClick();if(e instanceof Promise){e.then(()=>{Qk.unmount(),Qk=null});return}}Qk.unmount(),Qk=null}function i(){mt.isFunction(t.cancelButtonProps?.onClick)&&t.cancelButtonProps.onClick(),Qk.unmount(),Qk=null}let a={...t.submitButtonProps?t.submitButtonProps:{},onClick:()=>{r()}},o={...t.cancelButtonProps?t.cancelButtonProps:{},onClick:()=>{i()}};Qk.render((0,Q.jsxs)(EC,{title:t.title,closePopup:i,size:t.size,centered:t.centered,bodyClassName:`overflow-hidden`,dialogClassName:t.dialogClassName,children:[e,!t.hideButtons&&(0,Q.jsxs)(Jk,{className:t.buttonContainerClassName,children:[t.cancelButtonProps&&(0,Q.jsx)(Jk.Cancel,{...o}),t.submitButtonProps&&(0,Q.jsx)(Jk.Submit,{...a})]})]}))},getDefaultSubmitButton(){return{variant:`dark`,text:Ft.getPhrase(Zk,`confirm`)}},getDefaultCancelButton(){return{variant:`light`,text:Ft.getPhrase(Zk,`cancel`)}}},eA=Ft.encloseNamespace(`shared.hooks`),tA=!1,nA={isLocked:()=>tA},rA=()=>{let[e,t]=Z.useState([]),n=zb.default.channel(o.SHELL);Z.useEffect(()=>(e.find(e=>!e.allowAppLinks)&&n.on(g.NAV_IS_LOCKED,a),e.length&&window.addEventListener(`beforeunload`,s),()=>{n.off(g.NAV_IS_LOCKED,a),window.removeEventListener(`beforeunload`,s)}),[e]),Z.useEffect(()=>{function e(){r({id:`upload`,title:eA(`navLockTitle`),text:eA(`navLockBody`),allowAppLinks:!0})}let t=zb.default.channel(SC.VIDEO_UPLOAD);return t.on(xC.FILES_ADDED,e),t.on(xC.UNLOCK_NAV,i),()=>{t.off(xC.FILES_ADDED,e),t.off(xC.UNLOCK_NAV,i)}},[]);function r(r={}){e.find(e=>e.id===r.id)||(r.allowAppLinks||n.trigger(g.LOCK_NAV),t([...e,r]),tA=!0)}function i(r){let i=e.filter(e=>e.id!==r);(i.length===0||!i.find(e=>!e.allowAppLinks))&&n.trigger(g.UNLOCK_NAV),t(i),i.length||(tA=!1)}function a(t){if(!e.length)return;let r=e.find(e=>!e.allowAppLinks);if(r.appLinkWhitelist?.find(e=>e.action===t.action&&e.application===t.application)){n.trigger(g.UNLOCK_NAV),window.setTimeout(()=>{m.trigger(t),n.trigger(g.LOCK_NAV)},0);return}if(mt.isFunction(r.renderCustomDialog)){r.renderCustomDialog();return}$k.render((0,Q.jsx)(`p`,{children:r.text}),{title:r.title,submitButtonProps:{onClick:()=>{r.onConfirmUnlock&&r.onConfirmUnlock(),c(t)},variant:`danger`,text:eA(`discard`)},cancelButtonProps:{text:eA(`cancel`),variant:`link`}})}function s(t){let n=e.find(e=>e.allowAppLinks);return n||=Nt.first(e),t.returnValue=n.text,n.text}function c(t){n.trigger(g.NAV_UNLOCKED_BY_USER),e.forEach(e=>{e.allowAppLinks||i(e.id)}),window.removeEventListener(`beforeunload`,s),m.trigger(t)}return{lock:r,unlock:i}},iA=9e5,aA=new class extends fe{constructor(...e){super(...e),this.canReload=!0}get name(){return An.OldVersion}initialize(){this.onVisibilityChange=this.onVisibilityChange.bind(this),this.onInactivityTimeout=this.onInactivityTimeout.bind(this)}handleOldVersion(){document.addEventListener(`visibilitychange`,this.onVisibilityChange),this.onVisibilityChange()}onVisibilityChange(){if(!document.hidden){window.clearTimeout(this.timeout);return}this.setInactivityTimeout()}setInactivityTimeout(){this.timeout=window.setTimeout(this.onInactivityTimeout,iA)}onInactivityTimeout(){if(nA.isLocked()){this.setInactivityTimeout();return}this.onInactive()}onInactive(){if(!this.canReload||nA.isLocked()){this.setInactivityTimeout();return}ye.Reload()}setCanReload(e){this.canReload=e}},oA={Success:`Success! 🙌`,Warning:`Whoops...`,Fail:`Oops...`,Info:`FYI`};function sA(e){pC.getInstance(Pt.ALERT).createAlert({heading:oA.Fail,type:uC.Fail,message:e.message})}function cA(e){zb.default.channel(`error:view`).reply(`current:error`,()=>e),m.trigger({application:Lt.DEFAULT,action:Rt.Default.NOT_FOUND})}function lA(e){zb.default.channel(`error:view`).reply(`current:error`,()=>e),m.trigger({application:Lt.DEFAULT,action:Rt.Default.ERROR})}function uA(e){zb.default.channel(`error:view`).reply(`current:error`,()=>e),m.trigger({application:Lt.DEFAULT,action:Rt.Default.DIALOG_ERROR})}function dA(){aA.handleOldVersion()}function fA(e,t){e.registerErrorHandler(Bb,lA).registerErrorHandler(Ln,uA).registerErrorHandler(bC,sA).registerErrorHandler(Xb,cA).registerErrorHandler(Hb,lA).registerErrorHandler(yC,dA),vC(`dark`),t(e)}var pA=class extends ge{constructor(...e){super(...e),this.regionRoots={},this.isReactComponentRendered={}}isReactComponent(e){return Z.default&&Z.isValidElement(e)}showChildView(e,t,n){if(this.isReactComponent(t)){this.showChildReactComponent(e,t),this.isReactComponentRendered[e]=!0;return}this.isReactComponentRendered[e]&&this.unmountRoot(e),super.showChildView(e,t,n),this.isReactComponentRendered[e]=!1}showChildReactComponent(e,t){if(this.isAttached()){this.renderChildReactComponent(e,t);return}this.listenToOnce(this,`attach`,()=>this.renderChildReactComponent(e,t))}renderChildReactComponent(e,t){let n=this.getRegion(e),r=this.$el.find(n.el);!r||!r.length||(n.trigger(`before:show`),this.regionRoots[e]||(this.regionRoots[e]=(0,CC.createRoot)(r[0])),this.regionRoots[e].render(t),window.setTimeout(()=>n.trigger(`show`),0),this.listenToOnce(this,`unmount:${e}`,()=>this.unmountRoot(e)),this.listenToOnce(this,`before:destroy`,()=>this.unmountRoot(e)))}unmountRoot(e){this.regionRoots[e]&&(this.regionRoots[e].unmount(),delete this.regionRoots[e])}wrapWithStore(e){return(0,Q.jsx)(St,{store:this.options.store,children:e})}},mA=class extends Z.Component{constructor(e){super(e),this.currentErrorHandled=!1,this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){this.currentErrorHandled||(this.currentErrorHandled=!0,window.trackJs&&window.trackJs.console.error(e.message,{errorInfo:t}),this.props.throwError&&(y.throw(new this.props.throwError(e.message)),window.setTimeout(()=>{this.currentErrorHandled=!1,this.setState({error:null})},500)))}render(){let{error:e}=this.state;if(e&&this.props.renderError){let e=this.props.renderError;return(0,Q.jsx)(e,{})}return e||!this.props.children?(0,Q.jsx)(Q.Fragment,{}):this.props.children}};function hA(e){return document.querySelector(`.${e}`)}var gA=Z.createContext(null);function _A(e){let[t,n]=Z.useState();return Z.useEffect(()=>{n(hA(e.containerClassName))},[]),(0,Q.jsx)(gA.Provider,{value:{container:t},children:e.children})}var vA=Z.createContext({}),yA=e=>{let t=Rn(`(max-width: 575.98px)`),n=Rn(`(min-width: 576px) and (max-width: 767.98px)`),r=Rn(`(min-width: 768px) and (max-width: 991.98px)`),i=Rn(`(min-width: 992px) and (max-width: 1199.98px)`),a=Rn(`(min-width: 1200px) and (max-width: 1439.98px)`),o=Rn(`(min-width: 1440px)`),s=Z.useMemo(()=>({xs:t,sm:n,md:r,lg:i,xl:a,xxl:o}),[t,n,r,i,a,o]);return(0,Q.jsx)(vA.Provider,{value:s,children:e.children})},bA=`shared.unspecifiedDialogError`,xA=class extends Ln{constructor(){super(`Unspecified dialog error`),this.btnVariant=`dark`}get name(){return`UnspecifiedDialogError`}get dialogOptions(){return{title:Ft.getPhrase(bA,`title`),text:Ft.getPhrase(bA,`body`),buttons:[{text:Ft.getPhrase(bA,`close`),className:`btn btn-${this.btnVariant}`,success:!0}]}}};function SA(){function e(n){n.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)}(0,Z.useEffect)(()=>(window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)),[])}function CA(){let e=wt(GS.version());return e.data?(0,Q.jsx)(`footer`,{className:`text-center text-secondary my-2`,children:(0,Q.jsxs)(`small`,{children:[`2003 - `,new Date().getFullYear(),` © ClickView | Version: `,e.data]})}):(0,Q.jsx)(Q.Fragment,{})}var wA=`M317.302 140.594C356.23 163.069 356.23 219.257 317.302 241.731L87.9302 374.159C36.1933 404.029 -21.7046 346.131 8.16593 294.394L50.9108 220.359C61.3416 202.293 61.3416 180.034 50.9109 161.967L8.16512 87.9294C-21.7052 36.1925 36.1927 -21.7052 87.9295 8.16518L317.302 140.594Z`;function TA(){return(0,Q.jsxs)(`svg`,{viewBox:`0 0 458 383`,children:[(0,Q.jsx)(`title`,{children:`ClickView Logo`}),(0,Q.jsx)(`path`,{d:wA,fill:`#F8981D`})]})}function EA(){return(0,Q.jsxs)(`svg`,{viewBox:`0 0 2420 383`,children:[(0,Q.jsx)(`title`,{children:`ClickView Logo`}),(0,Q.jsx)(`path`,{fill:`#f8981d`,d:wA}),(0,Q.jsx)(`path`,{fill:`#313543`,d:`M611.506 37.93c32.531 0 61.155 7.86 85.686 23.732 24.569 15.898 42.448 38.445 53.64 67.43l2.553 6.609h-55.686l-1.301-2.829c-7.699-16.724-18.767-29.458-33.196-38.377l-.11-.069-.014-.01c-13.652-8.57-30.142-13.096-49.669-13.371l-1.903-.014c-19.522 0-36.885 4.537-52.213 13.522-15.305 8.973-27.345 21.774-36.129 38.544l-.015.029c-8.74 16.421-13.202 35.916-13.202 58.645 0 22.414 4.447 41.908 13.188 58.62l.847 1.564.825 1.465c8.613 15.034 20.102 26.719 34.486 35.152 15.328 8.985 32.691 13.521 52.213 13.521l1.906-.013c19.595-.268 36.134-4.686 49.812-13.045 14.419-8.92 25.48-21.649 33.175-38.367l1.3-2.826h55.708l-2.58 6.622c-11.198 28.71-29.078 51.11-53.635 67l-.091.058-.031.017c-24.507 15.544-53.089 23.239-85.564 23.239-27.772 0-53.222-6.451-76.248-19.403l-.022-.013-.007-.004-.117-.066-.021-.015c-22.685-13.233-40.648-31.506-53.841-54.737-13.252-23.335-19.83-49.632-19.83-78.769 0-29.136 6.578-55.434 19.83-78.768 13.169-23.468 31.098-41.866 53.747-55.1l.016-.012.205-.118c23.032-13.244 48.497-19.843 76.288-19.843M853.29 344.778h-48.522V37.935h48.522zm108.133 0H912.9V125.985h48.523zM937.586 37.93c8.392 0 15.617 3.072 21.365 9.12l.557.571c5.665 5.944 8.519 13.236 8.519 21.603 0 8.638-3.042 16.128-9.076 22.174-5.748 6.047-12.973 9.121-21.365 9.121-8.649 0-16.147-3.05-22.197-9.099-6.049-6.049-9.098-13.547-9.098-22.196 0-8.648 3.049-16.147 9.098-22.196s13.548-9.098 22.197-9.098m883.954 306.848h-48.52V125.985h48.52zM1797.71 37.93c8.39 0 15.61 3.072 21.36 9.12l.56.571c5.66 5.944 8.52 13.236 8.52 21.603 0 8.638-3.04 16.128-9.08 22.174-5.75 6.047-12.97 9.121-21.36 9.121-8.65 0-16.15-3.05-22.2-9.099s-9.1-13.547-9.1-22.196c0-8.648 3.05-16.147 9.1-22.196s13.55-9.098 22.2-9.098m-685.63 88.056c.18-.001.55-.007.8-.007h.02l1.27.007c.22-.001.58-.007.87-.007l1.23.005c25.71.192 47.32 6.421 64.47 19.041 17.63 12.79 29.21 30.547 34.76 52.985l1.49 6.025h-50.78l-1-3.522c-.03-.077-.03-.089-.05-.138-3.68-8.706-9.16-15.814-16.48-21.406l-.01-.012-.08-.064c-9.02-7.051-20.36-10.823-34.31-11.058l-1.42-.011c-18.69.005-33.52 6.889-44.94 20.703v.013l-.07.082c-3.49 4.155-6.47 8.877-8.93 14.186-3.21 9.073-4.87 19.779-4.87 32.199l.01 1.197.01 1.149c.2 11.745 1.9 21.943 5 30.664 2.43 5.277 5.37 9.989 8.8 14.153 11.43 13.858 26.29 20.763 45.01 20.763l1.37-.011c14-.221 25.37-3.876 34.4-10.69 7.21-5.445 12.74-12.723 16.56-21.979.01-.015.01-.03.02-.051l1.03-3.483h50.85l-1.64 6.118c-5.82 21.7-17.53 39.258-35.06 52.487l-.14.103-.04.022c-17.34 12.78-38.78 19.123-63.98 19.319l-1.21.005c-.21 0-.53-.004-.68-.005l-1.45.009h-.03c-.4 0-.82-.006-1.16-.009l-.91.005h-.02c-20.35 0-38.67-4.463-54.82-13.501l-.03-.013-.09-.053c-15.42-8.796-27.62-21.14-36.53-36.934l-.01-.014-.01-.014-.82-1.481-.01-.013-.01-.014c-8.73-16.072-13.15-34.684-13.42-55.69v-.023l-.01-1.99v-.026c0-21.601 4.42-40.66 13.45-57.012v-.005l.82-1.481.01-.013.01-.015c8.91-15.794 21.11-28.138 36.53-36.934l.09-.053.03-.014c16.15-9.038 34.47-13.501 54.82-13.501h.02zm483.02 158.82 89.96-246.876h51.35l-115.78 306.848h-51.48L1453.37 37.93h51.77zm375.01-158.827c19.94 0 37.78 4.354 53.37 13.192 15.55 8.809 27.53 21.032 35.85 36.604l.66 1.205.01.013v.013c7.04 13.033 10.99 27.498 11.91 43.315q.21 3.607.21 7.301v1.239c-.05 6.217-.43 12.744-1.13 19.576l-.45 4.359h-156.39c.98 8.318 3.05 15.659 6.15 22.076a60 60 0 0 0 8.24 10.724c11.63 11.489 25.5 17.231 41.88 17.334 13.51-.053 24.36-3.558 32.89-10.222 6.94-5.49 12.28-12.323 16.04-20.561l1.3-2.839h50.42l-1.73 6.17c-5.75 20.496-17.3 37.279-34.51 50.223l-.01.009-.02.009-.01.011c-17.36 12.794-38.78 19.047-63.92 19.047l-.21-.001-.07-.001-.46.002h-.02c-19.96 0-38.04-4.488-54.1-13.557l-.01-.004-.01-.006-.01-.004v-.003c-15.78-9.051-28.19-21.853-37.22-38.29l-.02-.029-.08-.162c-8.77-16.289-13.23-34.896-13.5-55.694v-.026l-.01-1.968v-.025c0-21.589 4.32-40.745 13.12-57.32 8.66-16.295 20.76-28.919 36.28-37.747l.74-.418c16.08-9.071 34.4-13.544 54.82-13.545m-1.7 41.839c-14.73 0-27.09 4.424-37.36 13.179-8.74 7.62-14.31 17.908-16.51 31.206h108.22c-.65-8.377-3-15.493-6.92-21.486l-.04-.065-.01-.01c-4.73-7.419-11.19-12.981-19.49-16.726l-.02-.007-.04-.023-.05-.023-.04-.017c-8.2-3.989-17.41-6.028-27.74-6.028m372.35 176.959h-46.41l-45.08-148.561-45.08 148.561h-46.39l-68.68-218.797h49.14l42.94 156.786 46.36-156.786h46.09l45.2 156.683L2361 125.98l47.88-.002zM1309.64 210.55l73.43-84.564h61.94l-103.03 109.019 103.39 109.773h-60.74l-74.99-84.406v84.406h-48.52V37.935h48.52z`})]})}var DA=e=>{let t=wt(In.currentUser()),n=wt(t.hasCompleted&&Ub.getCustomerSettingsRequest(t.data)),r=wt(t.hasCompleted&&Ub.getUserSettingsRequest(t.data)),i=Tt(),a=!!n.hasCompleted&&!!r.hasCompleted,o=e=>{if(!a||n.hasError||r.hasError)return null;let t=n.data?.[e];if(t)return t?.value;let i=r.data?.[e];return i?i?.value:null};function s(e,t,n,r,i){return e===`user`?Kb.updateUserSetting(t,n,r,i):Kb.updateCustomerSetting(t,n,r,i)}let c=(t,n,r,a,o)=>{function c(){pe.logUserAction({name:n.name,value:n.value},{location:e,entity:de.UserSetting,actionType:C.Edit}),r?.()}Ot(i,s(t,n,c,a,o))},l=(e,t)=>new Promise((n,r)=>{c(e,t,n,r)}),u=(e,t,n,r)=>c(`user`,e,t,n,r),d=(e,t,n,r)=>c(`customer`,e,t,n,r),f=e=>l(`user`,e),p=e=>l(`customer`,e);function m(){return t.data?.isAuthenticated?o(X.HasTopicDirectories):!0}return{isLoadingSettings:!a,updateUserSetting:u,updateUserSettingAsync:f,updateCustomerSetting:d,updateCustomerSettingAsync:p,userSettings:r,shareToGoogleClassroom:o(X.ShareToGoogleClassroom),shareToMicrosoftTeams:o(X.ShareToMicrosoftTeams),hasLti:o(X.LTI),defaultPlaybackQuality:o(X.DefaultPlaybackQuality),defaultLocalCachePlaybackQuality:o(X.DefaultLocalCachePlaybackQuality),enableSubtitlesDefault:o(X.EnableSubtitlesDefault),hasCompletedOnboardingV1:o(X.HasCompletedOnboardingV1),hasCompletedOnboardingV2:o(X.HasCompletedOnboardingV2),liteUpgradeTypeCustomer:o(X.LiteUpgradeTypeCustomer),hasNewClassificationView:o(X.HasNewClassificationView),hasCuratedDiscoverDashboards:o(X.HasCuratedDiscoverDashboards),hasSpecialEventCalendar:o(X.HasSpecialEventCalendar),hasLiteSearchDropdown:o(X.HasLiteSearchDropdown),policyEndTime:o(X.PolicyEndTime),bulkOnboardingPreferencesState:o(X.BulkOnboardingPreferencesState),hasOnlineTopics:o(X.Topics),hasPreviewVideos:o(X.PreviewVideos),hasUserEnabledPreviewVideos:o(X.UserEnabledPreviewVideos),domainSettings:o(X.DomainSettings),inviteColleague:o(X.InviteColleague),myVideosFolders:o(X.MyVideosFolders),exchangeTvProductOption:o(X.ExchangeTvProductOption),messageFrequencyOption:o(X.MessageFrequencyOption),tvRegion:o(X.TvRegion),preferredTheme:o(X.PreferredTheme),hasHubEntry:o(X.HasHubEntry),hasEnabledViviStudentCasting:o(X.HasEnabledViviStudentCasting),hasEnabledViviPlayback:o(X.HasEnabledViviPlayback),hasEnabledAppleTvPlayback:o(X.HasEnabledAppleTvPlayback),hasDisplayedTutorialVideosProductTip:o(X.HasDisplayedTutorialVideosProductTip),hasDismissedAnalyticsTutorial:o(X.HasDismissedAnalyticsTutorial),hasDismissedOpenClassroomsTutorial:o(X.HasDismissedOpenClassroomsTutorial),hasDismissedSearchAndDiscoverTutorial:o(X.HasDismissedSearchAndDiscoverTutorial),hasDismissedClassroomsTutorial:o(X.HasDismissedClassroomsTutorial),hasDismissedMySharesTutorial:o(X.HasDismissedMySharesTutorial),hasDismissedMyVideosTutorial:o(X.HasDismissedMyVideosTutorial),hasDismissedPlaylistsTutorial:o(X.HasDismissedPlaylistsTutorial),showExchangeSearchResults:o(X.ShowExchangeSearchResultsUser),shareOverrideRestrictions:o(X.ShareOverrideRestrictions),hasTopicDirectories:m(),hasTopicVideoListFeature:o(X.HasTopicVideoListFeature),hasManageGroupPermissions:o(X.HasManageGrouPermissions),experimentalInteractiveQuestions:o(X.ExperimentalInteractiveQuestions),hasClassrooms:o(X.HasClassrooms),hasNewSearch:o(X.HasNewSearch),hasPlayPageTranscript:o(X.HasPlayPageTranscript),hasShareFlowV2:o(X.HasShareFlowV2),referralCount:o(X.ReferralCount),hasPartnerProfiles:o(X.HasPartnerProfiles),defaultCitationStyle:o(X.DefaultCitationStyle),hasStudentReach:o(X.HasStudentReach),studentReachClassroomSize:o(X.StudentReachClassroomSize),schoolStartTime:o(X.SchoolStartTime),schoolEndTime:o(X.SchoolEndTime),timezone:o(X.Timezone),clickViewLive:o(X.ClickViewLive),hasStudentLowerPresentations:o(X.HasStudentLowerPresentations)}},OA={avatar:`_avatar_hdbap_1`,dot:`_dot_hdbap_11`};function kA(e,t){return t?Bn.createUrl(Dn.safeUrlConcat(e,`/v1/profile-images?initials=${t}`),{size:zn.Small}):``}function AA(e){let t=!e.anonymiseUsers&&e.imageUrl||kA(e.imageCdnUrl,e.initials);return(0,Q.jsxs)(`div`,{className:`position-relative h-100 w-100`,children:[(0,Q.jsx)(`div`,{className:`${OA.avatar} ${e?.extraClasses||``}`,style:{backgroundImage:`url('${t}')`},children:`\xA0`}),e.showDot&&(0,Q.jsx)(`div`,{className:`${OA.dot} rounded-circle bg-danger`})]})}function jA(){return Z.useContext(vA)}var MA=new Set([`system_cv_trial_freemium_v1`,`system_cv_trial_freemium_v2`]);function NA(){let e=wt(In.currentUser()),t=wt(e.hasCompleted&&e.data?.isAuthenticated&&In.accessPolicy());function n(e){return t.data?(t.data?.permissions?.additional??[]).includes(e):!1}function r(){let e=new Set;return t.data&&MA.has(t.data.id)&&e.add(Vn.ViewInsights),e}return{isLoaded:e.hasCompleted&&t.hasCompleted,accessPolicy:t.data,policyHasOption:n,gatedPermissions:r()}}var PA={PERMISSIONS:`permissions`,LOCAL_PERMISSIONS:`local:permissions`,AUDIENCE_FILTER:`audience:filter`,BULK_USER_UPLOAD:`bulk:user:upload`,BULK_REMOVE_USERS:`bulk:remove:users`,BULK_USER_ACTIONS:`bulk:user:actions`,CURATOR_WORKING_LISTS:`curator:working:lists`,LOOKING_FOR_INTEGRATION:`looking:for:integration`,PRESENTATION_ID:`presentation:id`,BRAZE_BANNER_PREFIX:`braze:banner`,SHOW_SEARCH_MASK:`show:search:mask`,SHOW_SEARCH_BACKDROP:`show:search:backdrop`,AUDIENCE_FILTER_SUGGESTIONS:`audience:filter:suggestions`,ANONYMISE_USERS:`anonymise:users`,HIDE_STAFF_RESULTS:`hide:staff:results`,HAS_DISMISSED_TUTORIAL:`has:dismissed:tutorial`};function FA(e,t,n){return n?n===`ALL`?t.every(t=>e[t]):t.some(t=>e[t]):!t.find(t=>!e[t])}var IA=()=>{let e=wt(wt(In.currentUser()).hasCompleted&&In.permissions()),{gatedPermissions:t}=NA(),[n]=Un(PA.LOCAL_PERMISSIONS);return{permissions:e.data,hasPermissions:(t,n)=>!e.hasCompleted||e.hasError?!1:!t||!t?.length?!0:Array.isArray(t)?FA(e.data,t,n):!!e.data[t],hasLocalPermissions:e=>(n||y.throw(new M(`Local Permissions should be registered during start up.`)),!e||!e?.length?!0:Array.isArray(e)?!e.find(e=>!n[e]):!!n[e]),getGatedPermission:n=>!e.hasCompleted||e.hasError?`hidden`:t.has(n)?e.data[n]?`soft-gate`:`hard-gate`:e.data[n]?`visible`:`hidden`,isLoaded:e.hasCompleted}};function LA(e){return(0,Q.jsx)(`svg`,{...e,children:(0,Q.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`})})}var RA={"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`},zA=function(e){return e.Disabled=`Disabled`,e.Active=`Active`,e.Inactive=`Inactive`,e}({}),BA=function(e){return e.Unknown=`Unknown`,e.Staff=`Staff`,e.Learner=`Learner`,e.System=`System`,e}({}),VA=function(e){return e.Guest=`Guest`,e.User=`User`,e.Admin=`Admin`,e.SuperAdmin=`SuperAdmin`,e}({}),HA=function(e){return e[e.Unknown=0]=`Unknown`,e[e.Staff=1]=`Staff`,e[e.Learner=2]=`Learner`,e[e.System=255]=`System`,e}(HA||{}),UA=function(e){return e[e.Guest=16]=`Guest`,e[e.User=32]=`User`,e[e.Admin=48]=`Admin`,e[e.SuperAdmin=64]=`SuperAdmin`,e}(UA||{}),WA=[`rm unify glow`,`glow`,`rm unify`],GA={getInitials(e,t){let n=``;return e?.length&&(n=e[0]),t?.length&&(n+=t[0]),n.toUpperCase()},getInitialsFromFullName(e){let t=e?.split(` `)??[];if(!t.length)return``;let n=t[0],r=t.length>1?t[1]:``;return GA.getInitials(n,r)},getFullName(e){return e?.name?`${e?.name??``} ${e?.surname??``}`.trim():``},getCommunityName(e){return e?.name?`${e.name} ${e.surname?.slice(0,1)}`:``},getUserType(e){let t=e.userType;if(typeof t==`number`)switch(t){case HA.Unknown:t=BA.Unknown;break;case HA.Staff:t=BA.Staff;break;case HA.Learner:t=BA.Learner;break;case HA.System:t=BA.System;break}return t},getUserStatus(e){let t=e.status;if(typeof t==`number`)switch(t){case 0:t=zA.Disabled;break;case 1:t=zA.Active;break;case 2:t=zA.Inactive;break}return t},getUserStatusFromValue(e){if(typeof e==`number`)switch(e){case 0:e=zA.Disabled;break;case 1:e=zA.Active;break;case 2:e=zA.Inactive;break}return e},getUserRole(e){let t;if(`userProfiles`in e&&e.userProfiles?.data?.[0]&&(t=e.userProfiles.data[0].role),`userProfile`in e&&e.userProfile&&(t=e.userProfile.role),!t)return VA.User;if(typeof t==`number`)switch(t){case UA.Guest:t=VA.Guest;break;case UA.User:t=VA.User;break;case UA.Admin:t=VA.Admin;break;case UA.SuperAdmin:t=VA.SuperAdmin;break}return t},getUserRoleFromValue(e){if(!e&&e!==0)return VA.User;if(typeof e==`number`)switch(e){case UA.Guest:return VA.Guest;case UA.User:return VA.User;case UA.Admin:return VA.Admin;case UA.SuperAdmin:return VA.SuperAdmin;default:return VA.User}return e},getDisplayName(e){return e.metadata?.displayName?e.metadata?.displayName:GA.getFullName(e)},getYearGroup(e){return e.masterYearGroup?.id?e.masterYearGroup:e.yearGroups?.data?.length?Nt.first(e.yearGroups.data):null},hasLegacySso(e){return e?.authenticationMethods?.length?e.authenticationMethods.some(e=>!e.local&&e.isLegacy):!1},hasNonLegacySso(e){return e?.authenticationMethods?.length?e.authenticationMethods.some(e=>!e.local&&!e.isLegacy):!1},hasSso(e){return GA.hasLegacySso(e)||GA.hasNonLegacySso(e)},hasRmUnifySso(e){return e?.authenticationMethods?.length?e.authenticationMethods.some(e=>WA.includes(e.displayName?.toLowerCase())):!1},getPersonaFromJobTitle(e){if(!e)return`teacher`;let t={};for(let e in RA)RA.hasOwnProperty(e)&&(t[e.toLowerCase()]=RA[e]);return t[e.toLowerCase()]||`teacher`},isKDM(e){return e?GA.getPersonaFromJobTitle(e)===`kdm`:!1},getValidYearGroups(e){return e?e.filter(e=>e.value!==0):[]}};function KA(e){return(0,Q.jsx)(`svg`,{...e,children:(0,Q.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`})})}var qA={toggle:`_toggle_1f3ot_1`},JA=4,YA=`shared.customerSelectorItem`;function XA(e){function t(t,r=null){r!==e.currentCustomerId&&(pe.logUserAction({id:e.currentCustomerId,newCustomerId:r},{actionType:C.SwitchCustomer,entity:de.Customer,location:D.UserOptions}),ye.PageLoad(n(r)))}function n(e){return e?`/change-customer?customerId=${e}`:`/change-customer`}return!e.customers?.length||!e.currentCustomerId||e.customers.length<=1?(0,Q.jsx)(Q.Fragment,{}):e.customers.length>JA?(0,Q.jsx)(Yx.Item,{as:`li`,onClick:e=>t(e),className:`cursor-pointer`,children:(0,Q.jsxs)(`div`,{className:`d-flex justify-content-between`,children:[(0,Q.jsx)(Wk,{namespace:YA,phrase:`title`}),(0,Q.jsx)(dt,{svg:KA,className:`svg-container text-secondary`})]})}):(0,Q.jsxs)(`li`,{className:`dropdown-item dropstart cursor-pointer`,children:[(0,Q.jsxs)(`div`,{className:`dropdown-toggle d-flex justify-content-between ${qA.toggle}`,"data-bs-toggle":`dropdown`,"aria-expanded":`false`,children:[(0,Q.jsx)(Wk,{namespace:YA,phrase:`title`}),(0,Q.jsx)(dt,{svg:KA,className:`svg-container text-secondary`})]}),(0,Q.jsx)(`ul`,{className:`dropdown-menu`,children:e.customers.map((n,r)=>{let i=n.id===e.currentCustomerId;return(0,Q.jsx)(Yx.Item,{as:`li`,onClick:e=>t(e,n.id),disabled:i,children:n.name},r)})})]})}var ZA=function(e){return e.AU=`cv-ap-southeast-1`,e.NZ=`cv-ap-southeast-2`,e.UK=`cv-eu-west-1`,e.US=`cv-na-west-1`,e}({}),QA=function(e){return e[e.Integrations=1]=`Integrations`,e[e.Classrooms=2]=`Classrooms`,e[e.MakeInteractive=3]=`MakeInteractive`,e[e.EditSsoAccounts=4]=`EditSsoAccounts`,e[e.UploadToLibraryEditor=5]=`UploadToLibraryEditor`,e[e.AddFromLite=6]=`AddFromLite`,e[e.ManageSsoYearGroups=7]=`ManageSsoYearGroups`,e[e.ContentReview=8]=`ContentReview`,e[e.ContentPermissions=9]=`ContentPermissions`,e[e.AccessSettings=10]=`AccessSettings`,e[e.ViviIntegration=11]=`ViviIntegration`,e[e.AppleTvIntegration=12]=`AppleTvIntegration`,e[e.RssFeed=13]=`RssFeed`,e[e.MarcFormatDifferences=14]=`MarcFormatDifferences`,e[e.ExportLibraries=15]=`ExportLibraries`,e[e.StudentSharingGuide=16]=`StudentSharingGuide`,e[e.Sharing=17]=`Sharing`,e[e.ClassroomViews=18]=`ClassroomViews`,e[e.ManagePlaylists=19]=`ManagePlaylists`,e[e.UploadYourOwnVideos=20]=`UploadYourOwnVideos`,e[e.LtiSetup=21]=`LtiSetup`,e[e.LtiSetupCanvas=22]=`LtiSetupCanvas`,e[e.EmbedD2LBrightspace=23]=`EmbedD2LBrightspace`,e[e.EmbedEducationPerfect=24]=`EmbedEducationPerfect`,e[e.ShareGoogleClassroom=25]=`ShareGoogleClassroom`,e[e.InstallItsLearning=26]=`InstallItsLearning`,e[e.ShareMicrosoftTeams=27]=`ShareMicrosoftTeams`,e[e.LtiSetupMoodle=28]=`LtiSetupMoodle`,e[e.EmbedSeqta=29]=`EmbedSeqta`,e[e.SchoologySetup=30]=`SchoologySetup`,e[e.EmbedToddle=31]=`EmbedToddle`,e[e.SearchAndDiscover=32]=`SearchAndDiscover`,e[e.ClassroomAnalytics=33]=`ClassroomAnalytics`,e}({}),$A={[QA.Integrations]:`/integrations/share-integrations/enable-share-integrations`,[QA.Classrooms]:`/using-clickview/classrooms/classrooms`,[QA.MakeInteractive]:`/using-clickview/interactive-videos/interactive-videos`,[QA.EditSsoAccounts]:`/administration/user-permissions/create-staff-student-accounts`,[QA.UploadToLibraryEditor]:`/using-clickview/create-manage/how-to-upload-videos`,[QA.AddFromLite]:`/using-clickview/share/add-videos-school-library`,[QA.ManageSsoYearGroups]:`/administration/user-permissions/sso-grade-level-mappings`,[QA.ContentReview]:`/administration/content-permissions/content-review-restrictions`,[QA.ContentPermissions]:`/administration/content-permissions/grade-level`,[QA.AccessSettings]:`/administration/user-permissions/create-staff-student-accounts`,[QA.ViviIntegration]:`/integrations/casting/vivi`,[QA.AppleTvIntegration]:`/integrations/casting/enable-apple-tv`,[QA.RssFeed]:`/integrations/learning-management-systems/school-id-rss-feed`,[QA.MarcFormatDifferences]:`/administration/content-permissions/marc-record-formats`,[QA.ExportLibraries]:`/administration/content-permissions/export-libraries`,[QA.StudentSharingGuide]:`/using-clickview/student-view/video-sharing-students`,[QA.Sharing]:`/using-clickview/share/share-videos`,[QA.ClassroomViews]:`/using-clickview/analytics/classroom-views`,[QA.ManagePlaylists]:`/using-clickview/create-manage/playlists`,[QA.UploadYourOwnVideos]:`/using-clickview/create-manage/how-to-upload-videos`,[QA.LtiSetup]:`/integrations/learning-management-systems`,[QA.LtiSetupCanvas]:`/integrations/learning-management-systems/setup-lti-1-3-canvas`,[QA.EmbedD2LBrightspace]:`/integrations/learning-management-systems/d2l-brightspace-embed-video`,[QA.EmbedEducationPerfect]:``,[QA.ShareGoogleClassroom]:`/integrations/share-integrations/share-google-classroom`,[QA.InstallItsLearning]:`/integrations/learning-management-systems/install-itslearning-plugin`,[QA.ShareMicrosoftTeams]:`/integrations/share-integrations/share-microsoft-teams`,[QA.LtiSetupMoodle]:`/integrations/learning-management-systems/setup-lti-1-3-moodle`,[QA.EmbedSeqta]:``,[QA.SchoologySetup]:`/integrations/learning-management-systems/install-schoology-app`,[QA.EmbedToddle]:`/integrations/learning-management-systems/toddle-embed-video`,[QA.SearchAndDiscover]:`/using-clickview/discover/using-search`,[QA.ClassroomAnalytics]:`/using-clickview/analytics/classroom-analytics`},ej={...$A,[QA.EditSsoAccounts]:`/administration/user-permissions/manage-sso-user-accounts`,[QA.ManageSsoYearGroups]:`/administration/user-permissions/sso-year-level-mappings`,[QA.ContentPermissions]:`/administration/content-permissions/year-level`,[QA.EmbedEducationPerfect]:`/integrations/learning-management-systems/education-perfect-embed-video`,[QA.EmbedSeqta]:`https://help.seqta.com.au/s/article/embedding-and-removing-clickview-videos-and-playists`},tj={[ZA.US]:$A,[ZA.AU]:ej,[ZA.NZ]:{...ej},[ZA.UK]:{...$A,[QA.EditSsoAccounts]:`/administration/user-permissions/manage-sso-user-accounts`,[QA.ManageSsoYearGroups]:`/administration/user-permissions/sso-year-level-mappings`,[QA.ContentPermissions]:`/administration/content-permissions/year-level`,[QA.EmbedD2LBrightspace]:``,[QA.InstallItsLearning]:``,[QA.LtiSetupMoodle]:``,[QA.SchoologySetup]:``,[QA.EmbedToddle]:``}},nj={[ZA.US]:`/help`,[ZA.AU]:`/en-au/help`,[ZA.UK]:`/en-gb/help`,[ZA.NZ]:`/en-au/help`},rj={[ZA.US]:`/welcome`,[ZA.AU]:`/en-au/welcome`,[ZA.UK]:`/en-gb/welcome`,[ZA.NZ]:`/en-au/welcome`},ij=class{constructor(){this.name=`LocalizedArticleHelper`}static get Instance(){return this.instance||=new this}initialize(e){this.initializeUrl(e),this.initializeInstanceRegion(e)}initializeUrl(e){if(!e.product){y.throw(new M(`${this.name} requires a product name`));return}if(this.product=e.product,this.marketingSiteUrl=e.marketingSiteUrl,e.product===Jb.Online){if(!e.onlineSupportSiteUrl){y.throw(new M(`ArticleHelper requires a online support site url`));return}this.supportSiteUrl=e.onlineSupportSiteUrl;return}if(!e.liteSupportSiteUrl){y.throw(new M(`ArticleHelper requires a lite support site url`));return}this.supportSiteUrl=e.liteSupportSiteUrl}initializeInstanceRegion(e){if(!e.instanceRegion){y.throw(new M(`${this.name} requires an instance region`));return}this.instanceRegion=e.instanceRegion,this.product===Jb.Primary&&(this.liteArticleUrlMapping=tj[this.instanceRegion])}validate(){return this.supportSiteUrl&&this.instanceRegion?!0:this.product===Jb.Primary&&!this.liteArticleUrlMapping?(y.throw(new M(`${this.name} requires a lite article url mapping`)),!1):(y.throw(new M(`${this.name} was not initialized`)),!1)}getArticle(e){if(!this.validate())return``;if(!e)return this.getSupportSiteUrl();let t=this.liteArticleUrlMapping[e];return Dn.isValidUrl(t)?t:Dn.safeUrlConcat(this.getSupportSiteUrl(),t)}getSupportSiteUrl(){return this.validate()?Dn.safeUrlConcat(this.supportSiteUrl,nj[this.instanceRegion]):``}getWelcomeSiteUrl(){return this.validate()?Dn.safeUrlConcat(this.supportSiteUrl,rj[this.instanceRegion]):``}getInstanceRegionsForArticle(e){return this.validate()?Object.entries(tj).reduce((t,[n,r])=>(r[e]?.length&&t.push(n),t),[]):[]}getLiteArticle(e){return this.product===Jb.Online&&y.throw(new M(`ArticleHelper.getLiteArticle() should not be used in Online`)),this.getArticle(e)}getSupportRequestUrl(){return this.validate()?Dn.safeUrlConcat(this.marketingSiteUrl,`/contact-us/support`):``}getAuthorBlogUrl(e){return!this.marketingSiteUrl||!e?``:Dn.safeUrlConcat(this.marketingSiteUrl,`blog/author/${e}`)}getHybridArticle(e,t){return this.product===Jb.Online?this.getSupportSiteUrl():this.getLiteArticle(t)}}.Instance,aj=Ft.encloseNamespace(`shared.userOptions`);function oj(e,t,n){let{hasPermissions:r}=IA(),i=Nt.sortBy(t,`order`);if(e&&(r(Vn.StudentExperience)||i.push({label:aj(`getStarted`),order:0,url:ij.getWelcomeSiteUrl(),analyticsData:{url:ij.getWelcomeSiteUrl()},analyticsOptions:{actionType:C.Click,entity:de.Url,descriptor:re.ExternalLink,location:D.UserOptions}}),i.push({label:aj(`helpCentre`),order:0,url:ij.getSupportSiteUrl(),analyticsData:{url:ij.getSupportSiteUrl()},analyticsOptions:{actionType:C.Click,entity:de.Url,descriptor:re.ExternalLink,location:D.UserOptions}}),r(Vn.ViewProductBoard)&&!n)){let t=Dn.safeUrlConcat(e.productBoardUrl,`tabs/23-what-s-new`);i.push({label:aj(`whatsNew`),order:0,url:t,analyticsData:{url:t},analyticsOptions:{actionType:C.Click,entity:de.Url,descriptor:re.ExternalLink,location:D.UserOptions}})}let a={main:[],logOut:[]};return i.forEach(e=>{e.section===`logOut`?a.logOut.push(e):a.main.push(e)}),a}function sj(e,t,n){let r=wt(wt(In.currentUser()).data?.isAuthenticated&&KS.userProducts());if(t||!r.data)return;let i=[...r.data],a=Array.isArray(e)?e:[e],o=i.filter(e=>!a.includes(e.id),`order`);return typeof n==`function`&&(o=n(o)),Nt.sortBy(o)}var cj={avatarContainer:`_avatarContainer_1z0er_1`,productLogo:`_productLogo_1z0er_5`,counter:`_counter_1z0er_9`},lj=Ft.encloseNamespace(`shared.userOptions`);function uj({item:e}){if(e.appLink)return(0,Q.jsxs)(Yx.Item,{as:et,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&&(0,Q.jsx)(`div`,{className:`${cj.counter} badge bg-danger rounded-pill fw-semibold me-1`,children:e.counter}),(0,Q.jsxs)(`div`,{className:`d-flex justify-content-between`,children:[e.label,!!e.openInNewTab&&(0,Q.jsx)(dt,{svg:LA,className:`svg-container text-secondary`})]})]});if(e.url){function t(t){t.preventDefault(),e.onClick?.(),e.analyticsData&&e.analyticsOptions&&pe.logUserAction({href:e.url,...e.analyticsData},e.analyticsOptions),ye.PageLoad(e.url,!0)}return(0,Q.jsxs)(Yx.Item,{as:`a`,href:e.url,target:e.openInNewTab===!1?null:`_blank`,className:`d-flex align-items-center`,onClick:e=>t(e),children:[e.counter>0&&(0,Q.jsx)(`div`,{className:`${cj.counter} badge bg-danger rounded-pill fw-semibold me-1`,children:e.counter}),(0,Q.jsxs)(`div`,{className:`d-flex justify-content-between`,children:[e.label,e.openInNewTab!==!1&&(0,Q.jsx)(dt,{svg:LA,className:`svg-container text-secondary`})]})]})}return(0,Q.jsx)(Q.Fragment,{})}var dj=({appLinks:e})=>{let t=jA(),n=t.xs||t.sm;return(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(et,{appLink:e.signIn,className:`btn btn-link ps-0`,analyticsOptions:{actionType:C.Click,location:D.TopNav,entity:de.Url,descriptor:v.SignIn},analyticsData:{},children:lj(`signIn`)}),(0,Q.jsx)(et,{appLink:e.signUp,className:`btn btn-dark ms-2`,analyticsOptions:{actionType:C.Click,location:D.TopNav,entity:de.AppLink,workflowPhase:p.Start,descriptor:v.SignUp},analyticsData:{},tag:`button`,children:lj(n?`signUpForMobile`:`signUp`)})]})},fj=({appLinks:e})=>(0,Q.jsx)(et,{appLink:e.signIn,className:`btn btn-dark d-inline-block`,analyticsOptions:{actionType:C.Click,location:D.TopNav,entity:de.AppLink,workflowPhase:p.Start,descriptor:v.SignIn},analyticsData:{},children:lj(`signIn`)});function pj(e){let[t,n]=Z.useState(!1),{hasPermissions:r}=IA(),i=wt(In.currentUser()),a=wt(i.data?.id&&In.user(i.data.id)),o=wt(GS.config()),s=wt(i.data?.isAuthenticated&&In.customers(i.data.id)),c=oj(o.data,e.additionalItems,e.hideWhatsNew),l=r(Vn.GuestExperience),u=e.hideProductList||l,d=sj(e.productId,u,e.transform);function f(e){n(e),pe.logUserAction({},{actionType:C.Click,entity:de.AppLink,location:D.UserOptions,descriptor:e?re.Open:re.Close})}function p(e){pe.logUserAction({id:e.id,name:e.name},{actionType:C.Click,entity:de.Product,location:D.UserOptions,descriptor:re.ExternalLink})}return!i.hasCompleted||i.data.isAuthenticated&&!a.hasCompleted||!o.data?(0,Q.jsx)(Q.Fragment,{}):i.data.isAuthenticated?(0,Q.jsxs)(Yx,{className:`position-relative`,onToggle:f,children:[(0,Q.jsx)(Yx.Toggle,{id:`userOptions`,variant:``,"aria-label":`Options menu`,className:`${cj.avatarContainer} no-caret border-0 p-0`,children:(0,Q.jsx)(AA,{imageUrl:Bn.createUrl(i.data.avatar,{size:zn.Small}),imageCdnUrl:o.data.imageCdnUrl,initials:GA.getInitials(i.data.givenName,i.data.familyName),showDot:c.main.some(e=>e.counter>0)})}),(0,Q.jsxs)(Yx.Menu,{as:`ul`,align:`end`,children:[(0,Q.jsxs)(Yx.Item,{as:`div`,children:[(0,Q.jsxs)(`div`,{className:`m-0 d-flex flex-wrap`,children:[(0,Q.jsx)(`strong`,{children:i.data.displayName}),`\xA0`,!l&&(0,Q.jsxs)(`span`,{className:`text-secondary`,children:[`(`,i.data.username,`)`]})]}),(0,Q.jsx)(`div`,{className:`m-0 text-secondary`,children:i.data.customerName}),!l&&a.data?.masterYearGroup&&(0,Q.jsx)(`p`,{className:`m-0 text-secondary`,children:a.data.masterYearGroup.name})]}),(0,Q.jsx)(XA,{isParentOpen:t,currentCustomerId:i.data?.customerId,customers:s.data?.data}),(0,Q.jsx)(Yx.Divider,{}),c.main.map((e,t)=>(0,Q.jsx)(uj,{item:e},t)),(0,Q.jsx)(Yx.Divider,{}),d?.map((e,t)=>(0,Q.jsxs)(Yx.Item,{as:`a`,href:e.url,target:`_blank`,className:`d-flex align-items-center py-1`,onClick:()=>p(e),children:[(0,Q.jsx)(`img`,{src:e.imageUrl,className:`${cj.productLogo} me-2`}),e.name]},t)),!!d?.length&&(0,Q.jsx)(Yx.Divider,{}),c.logOut.map((e,t)=>(0,Q.jsx)(uj,{item:e},t)),(0,Q.jsx)(Yx.Item,{as:et,appLink:e.appLinks.signOut,analyticsData:{id:i.data?.id},analyticsOptions:{actionType:C.Click,location:D.UserOptions,entity:de.AppLink,descriptor:v.SignOut},children:lj(`signOut`)})]})]}):e.displaySignUp?(0,Q.jsx)(dj,{...e}):(0,Q.jsx)(fj,{...e})}function mj(e){return(0,Q.jsx)(`svg`,{...e,children:(0,Q.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 hj(e){return(0,Q.jsx)(`svg`,{...e,children:(0,Q.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`})})}var gj={navItem:`_navItem_lmjvk_5`,active:`_active_lmjvk_18`,svg:`_svg_lmjvk_21`,background:`_background_lmjvk_24`,backgroundExchange:`_backgroundExchange_lmjvk_33`,backgroundTv:`_backgroundTv_lmjvk_37`,iconContainer:`_iconContainer_lmjvk_42`,text:`_text_lmjvk_57`,exchange:`_exchange_lmjvk_66`,clickviewTv:`_clickviewTv_lmjvk_72`};function _j(e){return e===`exchange`?gj.backgroundExchange:e===`tv`?gj.backgroundTv:``}function vj(e){let{appLink:t,typeClass:n,active:r,text:i,svg:a}=e;return(0,Q.jsxs)(et,{appLink:t,className:`${gj.navItem} ${n} ${r?gj.active:``}`,children:[(0,Q.jsx)(`div`,{className:gj.iconContainer,children:(0,Q.jsx)(dt,{svg:a,className:gj.svg})}),(0,Q.jsx)(`div`,{className:gj.text,children:i})]})}function yj(e){return(0,Q.jsxs)(`div`,{className:`position-relative`,children:[(0,Q.jsx)(`div`,{className:`${gj.background} ${_j(e.activeApp)}`}),(0,Q.jsx)(vj,{appLink:{application:Lt.EXCHANGE,action:Rt.Exchange.INDEX},typeClass:gj.exchange,active:e.activeApp===`exchange`,text:`Exchange Archive`,svg:mj}),(0,Q.jsx)(vj,{appLink:{application:Lt.TV,action:Rt.Tv.INDEX},typeClass:gj.clickviewTv,active:e.activeApp===`tv`,text:`ClickView TV`,svg:hj})]})}var bj=function(e){return 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}({}),xj=function(e){return 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}({}),Sj={customer(e,t,n,r){return{url:Dn.urlBuilder(`{gateway}/v1/objects/${e}`,{query:r?`organisation`:``}),key:`customers:${e}:${r?`with-organization`:``}`,success:t,error:n}},yearGroups(e){return{url:`{gateway}/v1/customers/${e}/year-groups?query={orderby:value}rating`,key:`year:groups`}},updateYearGroupRatings(e,t,n,r){return{url:`{gateway}/v1/customers/${e}/year-groups`,key:`update:year:group:ratings`,type:Mt.PUT,data:t,success:n,error:r,invalidationKeys:[`year:groups`]}}},Cj={nav:`_nav_44m50_1`,logo:`_logo_44m50_11`,navIconContainer:`_navIconContainer_44m50_23`},wj=`exchange.header`,Tj={application:Lt.DEFAULT,action:Rt.Default.INDEX};function Ej(e){let t=wt(GS.config()),n=wt(KS.userProducts()),r=wt(In.currentUser()),i=wt(!!r.data?.isAuthenticated&&Sj.customer(r.data.customerId)).data?.customerType===bj.Tertiary,{exchangeTvProductOption:a}=DA(null),{hasPermissions:o}=IA(),s=n.data?.find(e=>e.id===Jb.Exchange);function c(e){return i&&!o(Vn.ViewSchoolAnalytics)?e.filter(e=>e.id!==Jb.Analytics):e}return(0,Q.jsx)(`nav`,{className:`navbar navbar-expanded ps-3 w-100 ${Cj.nav}`,children:(0,Q.jsxs)(`div`,{className:`container-fluid`,children:[(0,Q.jsx)(`div`,{className:`d-flex align-items-center justify-content-start ${Cj.headerLeft}`,children:(0,Q.jsx)(et,{appLink:Tj,className:`navbar-brand text-hide align-top ${Cj.logo} d-inline-block'`,analyticsData:{url:m.getHref(Tj)},analyticsOptions:{actionType:C.Click,entity:de.Url,location:D.TopNav,descriptor:re.ClickViewLogo},children:(0,Q.jsx)(EA,{})})}),s&&a===`exchange_and_tv`&&(0,Q.jsx)(`div`,{className:`${Cj.navIconContainer} position-absolute w-100 d-flex align-items-center justify-content-center`,children:(0,Q.jsx)(yj,{activeApp:e.activeApp})}),(0,Q.jsxs)(`div`,{className:`d-flex align-items-center justify-content-end`,children:[(0,Q.jsx)(et,{appLink:{application:Lt.DEFAULT,action:Rt.Default.GIVE_FEEDBACK},className:`btn btn-outline-dark me-3`,children:(0,Q.jsx)(Wk,{namespace:wj,phrase:`giveFeedback`})}),!!t.data&&(0,Q.jsx)(`div`,{className:`me-3`,children:(0,Q.jsx)(pj,{productId:Jb.Exchange,appLinks:{signOut:{application:Lt.DEFAULT,action:Rt.Default.LOG_OUT}},transform:c})})]})]})})}var Dj={content:`_content_ulv6h_1`,container:`_container_ulv6h_6`,mask:`_mask_ulv6h_10`,fixedBottomRightContainer:`_fixedBottomRightContainer_ulv6h_13`,lockedWidth:`_lockedWidth_ulv6h_19`},Oj=`banner-portal-container`,kj=e=>(rA(),SA(),Z.useEffect(()=>{document.body.style.overflowY=`scroll`},[]),(0,Q.jsx)(mA,{renderError:()=>PS({error:new Hb}),children:(0,Q.jsxs)(`div`,{className:Dj.lockedWidth,children:[(0,Q.jsx)(Ej,{activeApp:e.activeApp}),(0,Q.jsxs)(`div`,{className:Dj.content,children:[(0,Q.jsx)(`div`,{className:`container-fluid ${Oj}`}),(0,Q.jsxs)(`div`,{className:`container px-3 ${Dj.container}`,children:[(0,Q.jsx)(mA,{throwError:Hb,children:e.contentChild}),(0,Q.jsx)(CA,{})]})]}),(0,Q.jsx)(mA,{throwError:xA,children:e.popupChild}),(0,Q.jsx)(`div`,{className:`d-flex flex-column align-items-end`,children:!!e.alertChild&&(0,Q.jsx)(`div`,{className:Dj.fixedBottomRightContainer,children:e.alertChild})}),(0,Q.jsx)(`div`,{style:{display:`none`},children:e.hiddenChild})]})}));function Aj(e){return(0,Q.jsx)(St,{store:e.store,children:(0,Q.jsx)(wn,{children:(0,Q.jsx)(yA,{children:(0,Q.jsx)(_A,{containerClassName:Oj,children:(0,Q.jsx)(kj,{...e})})})})})}var jj=class extends pA{childComponents={};preventScrollTop=!1;constructor(e){super(e)}initialize(){this.listenTo(o.SHELL,g.ROUTE,this.onRouteChange),this.listenTo(o.SHELL,`prevent:scroll:top`,()=>this.preventScrollTop=!0);let e=F.getCurrentContext()?.appLink?.application;this.setActiveApp(e)}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`${Qb.DEFAULT_LAYOUT}`}regions(){return{layout:{el:`.layout-region`,replaceEl:!0}}}getChildComponents(){return{contentChild:this.childComponents[Zb.CONTENT],popupChild:this.childComponents[Zb.POPUP],alertChild:this.childComponents[Zb.ALERT],hiddenChild:this.childComponents[Zb.HIDDEN],store:this.options.store,activeApp:this.activeApp}}unsetRegion(e){delete this.childComponents[e],this.renderLayout()}closePopup(){this.unsetRegion(Zb.POPUP)}showChildView(e,t,n={}){this.childComponents[e]=t,e===Zb.CONTENT&&(!this.preventScrollTop&&!n.preventScrollTop&&(0,tx.default)(window).scrollTop(0),this.preventScrollTop=!1),this.renderLayout()}renderLayout(){let e={...this.getChildComponents()};super.showChildView(`layout`,(0,Q.jsx)(Aj,{...e}))}activeApp;setActiveApp(e){if(e===Lt.EXCHANGE){this.activeApp=`exchange`;return}if(e===Lt.TV){this.activeApp=`tv`;return}this.activeApp=null}onRouteChange(e,t){t.isAppRoute&&this.setActiveApp(e.application)}};function Mj(e,t){e.registerLayout(Qb.DEFAULT_LAYOUT,jj),t(e)}function Nj(e,t,n){k.setUpVariables({isDevelopment:!1}),n(e,t)}var Pj=function(e){return e.Fifo=`FifoMemoryCache`,e}({}),Fj=function(e){return e.Ajax=`AjaxDataProvider`,e.Notifications=`NotificationsSignalRDataProvider`,e}({});e();var Ij=class extends fe{get defaultProps(){return[`dataProvider`,`cache`,`bootstrapData`,`defaultErrorHandler`,`alertService`]}constructor(e){super(e),ue(this,`name`)||y.throw(new M(`Must provide a name when extending BaseDataService`)),ue(this,`channelName`)||y.throw(new M(`Must provide a channelName for ${ue(this,`name`)}`));let t=[...this.defaultProps,...this.props||[]];this.dataRequestSignatures={},this.mergeOptions(e,t)}getCursors(e){let t=this.cache.get(e);return t?t.cursors:{next:``,previous:``}}clearCacheAndGet(e){let{callback:t,errorCallback:n,eventPrefix:r}=e,{syncEvent:i,errorEvent:a}=this.getEventNames(r),o=this.cache.get(r);if(o&&o.openRequest){this.listenToOnce(this.getChannel(),i,e=>{R(n)&&this.stopListening(this.getChannel(),a,n),R(t)&&t(e)}),this.listenToOnce(this.getChannel(),a,()=>{R(t)&&this.stopListening(this.getChannel(),i,t),R(n)&&n()});return}this.cache.remove(e.eventPrefix),this.get(e)}get(e){let{callback:t,errorCallback:n,eventPrefix:r,resource:i,formatData:a,expiryTime:o,successHandler:s,errorHandler:c,bootstrapName:l,invalidateFlight:u}=e,{syncEvent:d,requestEvent:f,successEvent:p,errorEvent:m}=this.getEventNames(r),h=this.getChannel(),g=this.currentTimestamp();this.bootstrapData&&this.bootstrapData[l]&&(this.cacheData(r,this.bootstrapData[l],a,{openRequest:!1,timestamp:g}),delete this.bootstrapData[l]);let _=this.cache.get(r),v;_&&(v=_.data);let y=_&&_.openRequest,b=this.isExpired(r,o);if(y&&(this.listenToOnce(h,d,e=>{R(n)&&this.stopListening(this.getChannel(),m,n),R(t)&&t(e)}),this.listenToOnce(h,m,()=>{R(t)&&this.stopListening(this.getChannel(),d,t),R(n)&&n()})),(!this.cache.has(r)||b)&&(h.trigger(f),this.listenToResponse({eventPrefix:r,formatData:a,cacheOptions:{timestamp:g},callback:t,errorCallback:n,successHandler:s,errorHandler:c,invalidateFlight:u}),this.cacheData(r,null,null,{openRequest:!0,timestamp:g}),this.dataProvider.read(i,{channel:this.getTransportChannel(),successEvent:p,errorEvent:m})),v&&R(t)&&!b&&t(v),v)return v}create(e){let{eventPrefix:t,resource:n,data:r,formatData:i,callback:a,errorCallback:o,invalidationKeys:s,successHandler:c,errorHandler:l,invalidateFlight:u}=e,{requestEvent:d,successEvent:f,errorEvent:p}=this.getEventNames(e.eventPrefix),m=this.getChannel(),h=this.getTransportChannel();m.trigger(d),this.listenToResponse({eventPrefix:t,formatData:i,invalidationKeys:s,callback:a,errorCallback:o,successHandler:c,errorHandler:l,invalidateFlight:u}),this.dataProvider.create(n,r,{channel:h,successEvent:f,errorEvent:p})}update(e){let{data:t,callback:n,errorCallback:r,resource:i,formatData:a,eventPrefix:o,invalidationKeys:s,errorHandler:c,successHandler:l,invalidateFlight:u}=e,{requestEvent:d,successEvent:f,errorEvent:p}=this.getEventNames(e.eventPrefix),m=this.getChannel(),h=this.getTransportChannel();m.trigger(d),this.listenToResponse({eventPrefix:o,formatData:a,invalidationKeys:s,callback:n,errorCallback:r,successHandler:l,errorHandler:c,invalidateFlight:u}),this.dataProvider.update(i,t,{channel:h,successEvent:f,errorEvent:p})}delete(e){let{eventPrefix:t,resource:n,callback:r,errorCallback:i,invalidationKeys:a,successHandler:o,errorHandler:s,invalidateFlight:c}=e,{successEvent:l,errorEvent:u}=this.getEventNames(t),d=this.getTransportChannel();this.listenToResponse({eventPrefix:t,invalidationKeys:a,callback:r,errorCallback:i,cacheOptions:{noCache:!0,clearCacheKey:!0},successHandler:o,errorHandler:s,invalidateFlight:c}),this.dataProvider.delete(n,{channel:d,successEvent:l,errorEvent:u})}listenToResponse(e){let{eventPrefix:t,formatData:n,callback:r,errorCallback:i,successHandler:a,errorHandler:o,invalidationKeys:s,cacheOptions:c={},invalidateFlight:l}=e,{syncEvent:u,successEvent:d,errorEvent:f,successAlertEvent:p,errorAlertEvent:m}=this.getEventNames(t),h=this.getChannel(),g=this.getTransportChannel(),_=this.getAlertChannel();R(r)&&this.listenToOnce(h,u,r),R(i)&&this.listenToOnce(h,f,i),this.stopListening(_,p),this.stopListening(_,m),R(a)&&this.listenToOnce(_,p,a),R(o)&&this.listenToOnce(_,m,o),!R(o)&&o!==!1&&R(this.defaultErrorHandler)&&this.listenToOnce(_,m,this.defaultErrorHandler),!this.hasRequestSignature(t)&&(this.setRequestSignature(t),this.listenTo(g,d,(e,...r)=>{this.stopListening(h,f,i),_.trigger(p,e,...r);let a=c.noCache?this.formatData(e,n):this.cacheData(t,e,n);c.clearCacheKey&&this.cache.remove(t),h.trigger(u,a),s&&s.length&&this.cache.invalidate(s,e=>h.trigger(`${e}:invalidate`),l)}),this.listenTo(g,f,(...e)=>{this.stopListening(h,u,r);let n=this.dataProvider.parseError(...e);_.trigger(m,n),h.trigger(f,n),!c.noCache&&this.cacheData(t,null,null)}))}cacheData(e,t,n,r={}){let{openRequest:i=!1}=r,{timestamp:a}=r;a||=this.currentTimestamp();let o=this.processPagination(t),s=this.formatData(t,n);return this.cache.set(e,{data:s,timestamp:a,cursors:o,openRequest:i}),s}processPagination(e){if(!e)return;let{pagination:t}=e;if(t){if(t.cursors)return t.cursors;if(!O(t.offset)&&!O(t.pageSize))return this.convertOffsetPaginationToCursors(t);if(t.page)return this.convertLegacyPaginationToCursors(t)}}formatData(e,t){return R(t)?t(e):e}chain(){let e=[],t=(e,t)=>{R(e)&&e(t)},n=(n,i)=>(e.push(()=>{let r=n.callback;n.callback=n=>{t(r,n),t(e.shift())},this[i](n)}),r),r={func(t){return e.push(()=>{t(e.shift()||(()=>{}))}),r},get(e){return n(e,`get`)},create(e){return n(e,`create`)},update(e){return n(e,`update`)},delete(e){return n(e,`delete`)},run(){t(e.shift())}};return r}invalidateCache(e,t=!1){!e||!e.length||this.cache.invalidate(e,e=>this.getChannel().trigger(`${e}:invalidate`),t)}currentTimestamp(){return new Date().valueOf()}isExpired(e,t){if(!t)return!1;let n=this.cache.get(e);if(!n||!n.timestamp)return!0;let r=n.timestamp,i=t*1e3;return r<this.currentTimestamp()-i}getEventNames(e){return{syncEvent:`${e}:sync`,requestEvent:`${e}:request`,successEvent:`${e}:success`,errorEvent:`${e}:error`,successAlertEvent:`${e}:success:alert`,errorAlertEvent:`${e}:error:alert`}}getTransportChannel(){return zb.default.channel(`${this.channelName}:transport`)}getAlertChannel(){return zb.default.channel(`${this.channelName}:alert`)}setRequestSignature(e){this.dataRequestSignatures[e]=e}hasRequestSignature(e){return!!this.dataRequestSignatures[e]}convertOffsetPaginationToCursors(e){let{offset:t,pageSize:n,totalItems:r}=e,i=r>0&&t<r&&t+n,a=r>0&&t>0&&Math.max(t-n,0),o={};if(i&&i<r&&(o.next=i.toString()),he(a)&&(o.previous=a.toString()),!T(o))return o}convertLegacyPaginationToCursors(e){let{page:t,totalPages:n}=e,r=he(t)&&t>0&&t<n&&t+1,i=he(t)&&t>1&&t-1,a={};if(r&&r<=n&&(a.next=r.toString()),i&&(a.previous=i.toString()),!T(a))return a}};e();var Lj=class extends fe{constructor(){super(),this.viewObjects={}}static get Instance(){return this.instance||=new this}get name(){return`ViewModelService`}updateViewModel(e,t){let n=this.mergeData(t,e.toJSON());return e instanceof E&&e.set(n,{silent:!0}),e instanceof z&&!(e instanceof E)&&e.set(n,{silent:!0}),e}get(e,t={},n={}){let{update:r=!1}=n,i=this.viewObjects[e];if(i&&r)return this.updateViewModel(i,t);if(i)return i;let a=this.getLocalData(e,n);return this.set(e,t,a,n)}set(e,t={},n,r){let{ctor:i,storage:a}=r,o=this.mergeData(t,n),s=i?new i(o):new z(o);return this.viewObjects[e]=s,a&&!n?(this.setLocalData(e,s,null,r),this.setupChangeListeners(e,s,r)):a&&n&&this.setupChangeListeners(e,s,r),s}clear(e){let t=this.viewObjects[e];return t?(this.stopListening(t),t.trigger(`destroy`),delete this.viewObjects[e],!0):!1}getLocalData(e,t){let{storage:n}=t;if(n)return this.getStorageHelper(n.type).get(e)}setLocalData(e,t,n,r){let{storage:i}=r;if(!i||i&&!i.persistProps)return;typeof i.persistProps==`string`&&(i.persistProps=[i.persistProps]);let a;t instanceof z&&(a=t.pick(i.persistProps)),this.getStorageHelper(i.type).set(e,a)}setupChangeListeners(e,t,n){let{storage:r}=n;!r||r&&!r.persistProps||(typeof r.persistProps==`string`&&(r.persistProps=[r.persistProps]),I.each(r.persistProps,r=>{this.listenTo(t,`change:${r}`,I.partial(this.setLocalData,e,I,I,n))}))}mergeData(e,t){if(!t)return e;if(I.isObject(e)&&I.isObject(t))return I.extend(e,t);y.throw(new M(`defaultValues and existingData are not of the same datatype and cannot be merged`))}getStorageHelper(e){switch(e){case jn.LocalStorage:return Pn;case jn.SessionStorage:return Nn}}}.Instance,Rj=function(e){return e[e.Permanent=0]=`Permanent`,e[e.Temporary=1]=`Temporary`,e}({}),zj=class extends Ln{constructor(e){super(e)}get name(){return`FileTypeError`}get lang(){return`upload.fileType`}get dialogOptions(){return{title:Ft.getPhrase(this.lang,`heading`),text:Ft.getPhrase(this.lang,`body`),buttons:[{text:Ft.getPhrase(this.lang,`okay`),className:`btn btn-dark`,success:!0},{text:Ft.getPhrase(this.lang,`close`),className:`btn btn-link`,close:!0}]}}};e();var Bj=[`pdf`],Vj=[`doc`,`docx`,`dotx`,`dot`,`rtf`,`docm`,`odt`],Hj=[`csv`,`txt`],Uj=[`xlsx`],Wj=[`jpg`,`jpeg`,`png`,`bmp`,`gif`,`webp`],Gj=[`3gp`,`3gpp`,`asx`,`avi`,`divx`,`flv`,`m2t`,`m2ts`,`m2v`,`m4v`,`mkv`,`mod`,`mov`,`mp4`,`mpe`,`mpeg`,`mpg`,`mts`,`ogv`,`qt`,`ts`,`vob`,`webm`,`wmv`],Kj=[`zip`],qj=[`ppt`,`pps`,`pptx`],Jj=[`srt`],Yj={IMAGES:`.${Wj.join(`,.`)}`,VIDEO:`.${Gj.join(`,.`)}`,MIXED_MEDIA:`.${Wj.join(`,.`)},${Gj.join(`,.`)}`,RESOURCES:`.${[...Vj,...Uj,...qj,...Bj,...Hj,...Wj,...Kj].join(`,.`)}`,SUBTITLES:`.${Jj.join(`,.`)}`},Xj={requestUpload(e,t){let n=e.name.split(`.`),r=t===Rj.Permanent?null:En.add(new Date,7,`days`).toISOString(),i={name:n.join(`.`),extension:n.length>1?n.pop():``,size:e.size,lifestyle:t,dateExpires:r,contentType:e.type||`application/octet-stream`,chunkUploadEnabled:!0};return{url:`{gateway}/v1/files/upload`,key:`upload:file`,type:Mt.POST,data:i}}},Zj=j(((e,t)=>{(function(n,r){if(typeof e==`object`&&typeof t==`object`)t.exports=r();else if(typeof define==`function`&&define.amd)define([],r);else{var i=r();for(var a in i)(typeof e==`object`?e:n)[a]=i[a]}})(self,function(){return(function(){var e={3099:(function(e){e.exports=function(e){if(typeof e!=`function`)throw TypeError(String(e)+` is not a function`);return e}}),6077:(function(e,t,n){var r=n(111);e.exports=function(e){if(!r(e)&&e!==null)throw TypeError(`Can't set `+String(e)+` as a prototype`);return e}}),1223:(function(e,t,n){var r=n(5112),i=n(30),a=n(3070),o=r(`unscopables`),s=Array.prototype;s[o]??a.f(s,o,{configurable:!0,value:i(null)}),e.exports=function(e){s[o][e]=!0}}),1530:(function(e,t,n){var r=n(8710).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}}),5787:(function(e){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError(`Incorrect `+(n?n+` `:``)+`invocation`);return e}}),9670:(function(e,t,n){var r=n(111);e.exports=function(e){if(!r(e))throw TypeError(String(e)+` is not an object`);return e}}),4019:(function(e){e.exports=typeof ArrayBuffer<`u`&&typeof DataView<`u`}),260:(function(e,t,n){var r=n(4019),i=n(9781),a=n(7854),o=n(111),s=n(6656),c=n(648),l=n(8880),u=n(1320),d=n(3070).f,f=n(9518),p=n(7674),m=n(5112),h=n(9711),g=a.Int8Array,_=g&&g.prototype,v=a.Uint8ClampedArray,y=v&&v.prototype,b=g&&f(g),x=_&&f(_),S=Object.prototype,C=S.isPrototypeOf,w=m(`toStringTag`),T=h(`TYPED_ARRAY_TAG`),E=r&&!!p&&c(a.opera)!==`Opera`,D=!1,O,k={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},A={BigInt64Array:8,BigUint64Array:8},j=function(e){if(!o(e))return!1;var t=c(e);return t===`DataView`||s(k,t)||s(A,t)},M=function(e){if(!o(e))return!1;var t=c(e);return s(k,t)||s(A,t)},N=function(e){if(M(e))return e;throw TypeError(`Target is not a typed array`)},P=function(e){if(p){if(C.call(b,e))return e}else for(var t in k)if(s(k,O)){var n=a[t];if(n&&(e===n||C.call(n,e)))return e}throw TypeError(`Target is not a typed array constructor`)},F=function(e,t,n){if(i){if(n)for(var r in k){var o=a[r];o&&s(o.prototype,e)&&delete o.prototype[e]}(!x[e]||n)&&u(x,e,n?t:E&&_[e]||t)}},I=function(e,t,n){var r,o;if(i){if(p){if(n)for(r in k)o=a[r],o&&s(o,e)&&delete o[e];if(!b[e]||n)try{return u(b,e,n?t:E&&g[e]||t)}catch{}else return}for(r in k)o=a[r],o&&(!o[e]||n)&&u(o,e,t)}};for(O in k)a[O]||(E=!1);if((!E||typeof b!=`function`||b===Function.prototype)&&(b=function(){throw TypeError(`Incorrect invocation`)},E))for(O in k)a[O]&&p(a[O],b);if((!E||!x||x===S)&&(x=b.prototype,E))for(O in k)a[O]&&p(a[O].prototype,x);if(E&&f(y)!==x&&p(y,x),i&&!s(x,w))for(O in D=!0,d(x,w,{get:function(){return o(this)?this[T]:void 0}}),k)a[O]&&l(a[O],T,O);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:E,TYPED_ARRAY_TAG:D&&T,aTypedArray:N,aTypedArrayConstructor:P,exportTypedArrayMethod:F,exportTypedArrayStaticMethod:I,isView:j,isTypedArray:M,TypedArray:b,TypedArrayPrototype:x}}),3331:(function(e,t,n){var r=n(7854),i=n(9781),a=n(4019),o=n(8880),s=n(2248),c=n(7293),l=n(5787),u=n(9958),d=n(7466),f=n(7067),p=n(1179),m=n(9518),h=n(7674),g=n(8006).f,_=n(3070).f,v=n(1285),y=n(8003),b=n(9909),x=b.get,S=b.set,C=`ArrayBuffer`,w=`DataView`,T=`prototype`,E=`Wrong length`,D=`Wrong index`,O=r[C],k=O,A=r[w],j=A&&A[T],M=Object.prototype,N=r.RangeError,P=p.pack,F=p.unpack,I=function(e){return[e&255]},L=function(e){return[e&255,e>>8&255]},R=function(e){return[e&255,e>>8&255,e>>16&255,e>>24&255]},z=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},B=function(e){return P(e,23,4)},ee=function(e){return P(e,52,8)},te=function(e,t){_(e[T],t,{get:function(){return x(this)[t]}})},ne=function(e,t,n,r){var i=f(n),a=x(e);if(i+t>a.byteLength)throw N(D);var o=x(a.buffer).bytes,s=i+a.byteOffset,c=o.slice(s,s+t);return r?c:c.reverse()},re=function(e,t,n,r,i,a){var o=f(n),s=x(e);if(o+t>s.byteLength)throw N(D);for(var c=x(s.buffer).bytes,l=o+s.byteOffset,u=r(+i),d=0;d<t;d++)c[l+d]=u[a?d:t-d-1]};if(!a)k=function(e){l(this,k,C);var t=f(e);S(this,{bytes:v.call(Array(t),0),byteLength:t}),i||(this.byteLength=t)},A=function(e,t,n){l(this,A,w),l(e,k,w);var r=x(e).byteLength,a=u(t);if(a<0||a>r)throw N(`Wrong offset`);if(n=n===void 0?r-a:d(n),a+n>r)throw N(E);S(this,{buffer:e,byteLength:n,byteOffset:a}),i||(this.buffer=e,this.byteLength=n,this.byteOffset=a)},i&&(te(k,`byteLength`),te(A,`buffer`),te(A,`byteLength`),te(A,`byteOffset`)),s(A[T],{getInt8:function(e){return ne(this,1,e)[0]<<24>>24},getUint8:function(e){return ne(this,1,e)[0]},getInt16:function(e){var t=ne(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=ne(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return z(ne(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return z(ne(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return F(ne(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return F(ne(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){re(this,1,e,I,t)},setUint8:function(e,t){re(this,1,e,I,t)},setInt16:function(e,t){re(this,2,e,L,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){re(this,2,e,L,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){re(this,4,e,R,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){re(this,4,e,R,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){re(this,4,e,B,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){re(this,8,e,ee,t,arguments.length>2?arguments[2]:void 0)}});else{if(!c(function(){O(1)})||!c(function(){new O(-1)})||c(function(){return new O,new O(1.5),new O(NaN),O.name!=C})){k=function(e){return l(this,k),new O(f(e))};for(var ie=k[T]=O[T],ae=g(O),oe=0,se;ae.length>oe;)(se=ae[oe++])in k||o(k,se,O[se]);ie.constructor=k}h&&m(j)!==M&&h(j,M);var ce=new A(new k(2)),le=j.setInt8;ce.setInt8(0,2147483648),ce.setInt8(1,2147483649),(ce.getInt8(0)||!ce.getInt8(1))&&s(j,{setInt8:function(e,t){le.call(this,e,t<<24>>24)},setUint8:function(e,t){le.call(this,e,t<<24>>24)}},{unsafe:!0})}y(k,C),y(A,w),e.exports={ArrayBuffer:k,DataView:A}}),1048:(function(e,t,n){var r=n(7908),i=n(1400),a=n(7466),o=Math.min;e.exports=[].copyWithin||function(e,t){var n=r(this),s=a(n.length),c=i(e,s),l=i(t,s),u=arguments.length>2?arguments[2]:void 0,d=o((u===void 0?s:i(u,s))-l,s-c),f=1;for(l<c&&c<l+d&&(f=-1,l+=d-1,c+=d-1);d-- >0;)l in n?n[c]=n[l]:delete n[c],c+=f,l+=f;return n}}),1285:(function(e,t,n){var r=n(7908),i=n(1400),a=n(7466);e.exports=function(e){for(var t=r(this),n=a(t.length),o=arguments.length,s=i(o>1?arguments[1]:void 0,n),c=o>2?arguments[2]:void 0,l=c===void 0?n:i(c,n);l>s;)t[s++]=e;return t}}),8533:(function(e,t,n){var r=n(2092).forEach;e.exports=n(9341)(`forEach`)?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),8457:(function(e,t,n){var r=n(9974),i=n(7908),a=n(3411),o=n(7659),s=n(7466),c=n(6135),l=n(1246);e.exports=function(e){var t=i(e),n=typeof this==`function`?this:Array,u=arguments.length,d=u>1?arguments[1]:void 0,f=d!==void 0,p=l(t),m=0,h,g,_,v,y,b;if(f&&(d=r(d,u>2?arguments[2]:void 0,2)),p!=null&&!(n==Array&&o(p)))for(v=p.call(t),y=v.next,g=new n;!(_=y.call(v)).done;m++)b=f?a(v,d,[_.value,m],!0):_.value,c(g,m,b);else for(h=s(t.length),g=new n(h);h>m;m++)b=f?d(t[m],m):t[m],c(g,m,b);return g.length=m,g}}),1318:(function(e,t,n){var r=n(5656),i=n(7466),a=n(1400),o=function(e){return function(t,n,o){var s=r(t),c=i(s.length),l=a(o,c),u;if(e&&n!=n){for(;c>l;)if(u=s[l++],u!=u)return!0}else for(;c>l;l++)if((e||l in s)&&s[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}}),2092:(function(e,t,n){var r=n(9974),i=n(8361),a=n(7908),o=n(7466),s=n(5417),c=[].push,l=function(e){var t=e==1,n=e==2,l=e==3,u=e==4,d=e==6,f=e==7,p=e==5||d;return function(m,h,g,_){for(var v=a(m),y=i(v),b=r(h,g,3),x=o(y.length),S=0,C=_||s,w=t?C(m,x):n||f?C(m,0):void 0,T,E;x>S;S++)if((p||S in y)&&(T=y[S],E=b(T,S,v),e))if(t)w[S]=E;else if(E)switch(e){case 3:return!0;case 5:return T;case 6:return S;case 2:c.call(w,T)}else switch(e){case 4:return!1;case 7:c.call(w,T)}return d?-1:l||u?u:w}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterOut:l(7)}}),6583:(function(e,t,n){var r=n(5656),i=n(9958),a=n(7466),o=n(9341),s=Math.min,c=[].lastIndexOf,l=!!c&&1/[1].lastIndexOf(1,-0)<0,u=o(`lastIndexOf`);e.exports=l||!u?function(e){if(l)return c.apply(this,arguments)||0;var t=r(this),n=a(t.length),o=n-1;for(arguments.length>1&&(o=s(o,i(arguments[1]))),o<0&&(o=n+o);o>=0;o--)if(o in t&&t[o]===e)return o||0;return-1}:c}),1194:(function(e,t,n){var r=n(7293),i=n(5112),a=n(7392),o=i(`species`);e.exports=function(e){return a>=51||!r(function(){var t=[],n=t.constructor={};return n[o]=function(){return{foo:1}},t[e](Boolean).foo!==1})}}),9341:(function(e,t,n){var r=n(7293);e.exports=function(e,t){var n=[][e];return!!n&&r(function(){n.call(null,t||function(){throw 1},1)})}}),3671:(function(e,t,n){var r=n(3099),i=n(7908),a=n(8361),o=n(7466),s=function(e){return function(t,n,s,c){r(n);var l=i(t),u=a(l),d=o(l.length),f=e?d-1:0,p=e?-1:1;if(s<2)for(;;){if(f in u){c=u[f],f+=p;break}if(f+=p,e?f<0:d<=f)throw TypeError(`Reduce of empty array with no initial value`)}for(;e?f>=0:d>f;f+=p)f in u&&(c=n(c,u[f],f,l));return c}};e.exports={left:s(!1),right:s(!0)}}),5417:(function(e,t,n){var r=n(111),i=n(3157),a=n(5112)(`species`);e.exports=function(e,t){var n;return i(e)&&(n=e.constructor,typeof n==`function`&&(n===Array||i(n.prototype))?n=void 0:r(n)&&(n=n[a],n===null&&(n=void 0))),new(n===void 0?Array:n)(t===0?0:t)}}),3411:(function(e,t,n){var r=n(9670),i=n(9212);e.exports=function(e,t,n,a){try{return a?t(r(n)[0],n[1]):t(n)}catch(t){throw i(e),t}}}),7072:(function(e,t,n){var r=n(5112)(`iterator`),i=!1;try{var a=0,o={next:function(){return{done:!!a++}},return:function(){i=!0}};o[r]=function(){return this},Array.from(o,function(){throw 2})}catch{}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var a={};a[r]=function(){return{next:function(){return{done:n=!0}}}},e(a)}catch{}return n}}),4326:(function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}}),648:(function(e,t,n){var r=n(1694),i=n(4326),a=n(5112)(`toStringTag`),o=i(function(){return arguments}())==`Arguments`,s=function(e,t){try{return e[t]}catch{}};e.exports=r?i:function(e){var t,n,r;return e===void 0?`Undefined`:e===null?`Null`:typeof(n=s(t=Object(e),a))==`string`?n:o?i(t):(r=i(t))==`Object`&&typeof t.callee==`function`?`Arguments`:r}}),9920:(function(e,t,n){var r=n(6656),i=n(3887),a=n(1236),o=n(3070);e.exports=function(e,t){for(var n=i(t),s=o.f,c=a.f,l=0;l<n.length;l++){var u=n[l];r(e,u)||s(e,u,c(t,u))}}}),8544:(function(e,t,n){e.exports=!n(7293)(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})}),4994:(function(e,t,n){var r=n(3383).IteratorPrototype,i=n(30),a=n(9114),o=n(8003),s=n(7497),c=function(){return this};e.exports=function(e,t,n){var l=t+` Iterator`;return e.prototype=i(r,{next:a(1,n)}),o(e,l,!1,!0),s[l]=c,e}}),8880:(function(e,t,n){var r=n(9781),i=n(3070),a=n(9114);e.exports=r?function(e,t,n){return i.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}}),9114:(function(e){e.exports=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}}),6135:(function(e,t,n){var r=n(7593),i=n(3070),a=n(9114);e.exports=function(e,t,n){var o=r(t);o in e?i.f(e,o,a(0,n)):e[o]=n}}),654:(function(e,t,n){var r=n(2109),i=n(4994),a=n(9518),o=n(7674),s=n(8003),c=n(8880),l=n(1320),u=n(5112),d=n(1913),f=n(7497),p=n(3383),m=p.IteratorPrototype,h=p.BUGGY_SAFARI_ITERATORS,g=u(`iterator`),_=`keys`,v=`values`,y=`entries`,b=function(){return this};e.exports=function(e,t,n,u,p,x,S){i(n,t,u);var C=function(e){if(e===p&&O)return O;if(!h&&e in E)return E[e];switch(e){case _:return function(){return new n(this,e)};case v:return function(){return new n(this,e)};case y:return function(){return new n(this,e)}}return function(){return new n(this)}},w=t+` Iterator`,T=!1,E=e.prototype,D=E[g]||E[`@@iterator`]||p&&E[p],O=!h&&D||C(p),k=t==`Array`&&E.entries||D,A,j,M;if(k&&(A=a(k.call(new e)),m!==Object.prototype&&A.next&&(!d&&a(A)!==m&&(o?o(A,m):typeof A[g]!=`function`&&c(A,g,b)),s(A,w,!0,!0),d&&(f[w]=b))),p==v&&D&&D.name!==v&&(T=!0,O=function(){return D.call(this)}),(!d||S)&&E[g]!==O&&c(E,g,O),f[t]=O,p)if(j={values:C(v),keys:x?O:C(_),entries:C(y)},S)for(M in j)(h||T||!(M in E))&&l(E,M,j[M]);else r({target:t,proto:!0,forced:h||T},j);return j}}),9781:(function(e,t,n){e.exports=!n(7293)(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),317:(function(e,t,n){var r=n(7854),i=n(111),a=r.document,o=i(a)&&i(a.createElement);e.exports=function(e){return o?a.createElement(e):{}}}),8324:(function(e){e.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(e,t,n){e.exports=n(5005)(`navigator`,`userAgent`)||``}),7392:(function(e,t,n){var r=n(7854),i=n(8113),a=r.process,o=a&&a.versions,s=o&&o.v8,c,l;s?(c=s.split(`.`),l=c[0]+c[1]):i&&(c=i.match(/Edge\/(\d+)/),(!c||c[1]>=74)&&(c=i.match(/Chrome\/(\d+)/),c&&(l=c[1]))),e.exports=l&&+l}),748:(function(e){e.exports=[`constructor`,`hasOwnProperty`,`isPrototypeOf`,`propertyIsEnumerable`,`toLocaleString`,`toString`,`valueOf`]}),2109:(function(e,t,n){var r=n(7854),i=n(1236).f,a=n(8880),o=n(1320),s=n(3505),c=n(9920),l=n(4705);e.exports=function(e,t){var n=e.target,u=e.global,d=e.stat,f,p=u?r:d?r[n]||s(n,{}):(r[n]||{}).prototype,m,h,g,_;if(p)for(m in t){if(g=t[m],e.noTargetGet?(_=i(p,m),h=_&&_.value):h=p[m],f=l(u?m:n+(d?`.`:`#`)+m,e.forced),!f&&h!==void 0){if(typeof g==typeof h)continue;c(g,h)}(e.sham||h&&h.sham)&&a(g,`sham`,!0),o(p,m,g,e)}}}),7293:(function(e){e.exports=function(e){try{return!!e()}catch{return!0}}}),7007:(function(e,t,n){n(4916);var r=n(1320),i=n(7293),a=n(5112),o=n(2261),s=n(8880),c=a(`species`),l=!i(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:`7`},e},``.replace(e,`$<a>`)!==`7`}),u=(function(){return`a`.replace(/./,`$0`)===`$0`})(),d=a(`replace`),f=(function(){return/./[d]?/./[d](`a`,`$0`)===``:!1})(),p=!i(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n=`ab`.split(e);return n.length!==2||n[0]!==`a`||n[1]!==`b`});e.exports=function(e,t,n,d){var m=a(e),h=!i(function(){var t={};return t[m]=function(){return 7},``[e](t)!=7}),g=h&&!i(function(){var t=!1,n=/a/;return e===`split`&&(n={},n.constructor={},n.constructor[c]=function(){return n},n.flags=``,n[m]=/./[m]),n.exec=function(){return t=!0,null},n[m](``),!t});if(!h||!g||e===`replace`&&!(l&&u&&!f)||e===`split`&&!p){var _=/./[m],v=n(m,``[e],function(e,t,n,r,i){return t.exec===o?h&&!i?{done:!0,value:_.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}},{REPLACE_KEEPS_$0:u,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:f}),y=v[0],b=v[1];r(String.prototype,e,y),r(RegExp.prototype,m,t==2?function(e,t){return b.call(e,this,t)}:function(e){return b.call(e,this)})}d&&s(RegExp.prototype[m],`sham`,!0)}}),9974:(function(e,t,n){var r=n(3099);e.exports=function(e,t,n){if(r(e),t===void 0)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}}),5005:(function(e,t,n){var r=n(857),i=n(7854),a=function(e){return typeof e==`function`?e:void 0};e.exports=function(e,t){return arguments.length<2?a(r[e])||a(i[e]):r[e]&&r[e][t]||i[e]&&i[e][t]}}),1246:(function(e,t,n){var r=n(648),i=n(7497),a=n(5112)(`iterator`);e.exports=function(e){if(e!=null)return e[a]||e[`@@iterator`]||i[r(e)]}}),8554:(function(e,t,n){var r=n(9670),i=n(1246);e.exports=function(e){var t=i(e);if(typeof t!=`function`)throw TypeError(String(e)+` is not iterable`);return r(t.call(e))}}),647:(function(e,t,n){var r=n(7908),i=Math.floor,a=``.replace,o=/\$([$&'`]|\d\d?|<[^>]*>)/g,s=/\$([$&'`]|\d\d?)/g;e.exports=function(e,t,n,c,l,u){var d=n+e.length,f=c.length,p=s;return l!==void 0&&(l=r(l),p=o),a.call(u,p,function(r,a){var o;switch(a.charAt(0)){case`$`:return`$`;case`&`:return e;case"`":return t.slice(0,n);case`'`:return t.slice(d);case`<`:o=l[a.slice(1,-1)];break;default:var s=+a;if(s===0)return r;if(s>f){var u=i(s/10);return u===0?r:u<=f?c[u-1]===void 0?a.charAt(1):c[u-1]+a.charAt(1):r}o=c[s-1]}return o===void 0?``:o})}}),7854:(function(e,t,n){var r=function(e){return e&&e.Math==Math&&e};e.exports=r(typeof globalThis==`object`&&globalThis)||r(typeof window==`object`&&window)||r(typeof self==`object`&&self)||r(typeof n.g==`object`&&n.g)||(function(){return this})()||Function(`return this`)()}),6656:(function(e){var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}}),3501:(function(e){e.exports={}}),490:(function(e,t,n){e.exports=n(5005)(`document`,`documentElement`)}),4664:(function(e,t,n){var r=n(9781),i=n(7293),a=n(317);e.exports=!r&&!i(function(){return Object.defineProperty(a(`div`),`a`,{get:function(){return 7}}).a!=7})}),1179:(function(e){var t=Math.abs,n=Math.pow,r=Math.floor,i=Math.log,a=Math.LN2;e.exports={pack:function(e,o,s){var c=Array(s),l=s*8-o-1,u=(1<<l)-1,d=u>>1,f=o===23?n(2,-24)-n(2,-77):0,p=e<0||e===0&&1/e<0?1:0,m=0,h,g,_;for(e=t(e),e!=e||e===1/0?(g=e==e?0:1,h=u):(h=r(i(e)/a),e*(_=n(2,-h))<1&&(h--,_*=2),h+d>=1?e+=f/_:e+=f*n(2,1-d),e*_>=2&&(h++,_/=2),h+d>=u?(g=0,h=u):h+d>=1?(g=(e*_-1)*n(2,o),h+=d):(g=e*n(2,d-1)*n(2,o),h=0));o>=8;c[m++]=g&255,g/=256,o-=8);for(h=h<<o|g,l+=o;l>0;c[m++]=h&255,h/=256,l-=8);return c[--m]|=p*128,c},unpack:function(e,t){var r=e.length,i=r*8-t-1,a=(1<<i)-1,o=a>>1,s=i-7,c=r-1,l=e[c--],u=l&127,d;for(l>>=7;s>0;u=u*256+e[c],c--,s-=8);for(d=u&(1<<-s)-1,u>>=-s,s+=t;s>0;d=d*256+e[c],c--,s-=8);if(u===0)u=1-o;else if(u===a)return d?NaN:l?-1/0:1/0;else d+=n(2,t),u-=o;return(l?-1:1)*d*n(2,u-t)}}}),8361:(function(e,t,n){var r=n(7293),i=n(4326),a=``.split;e.exports=r(function(){return!Object(`z`).propertyIsEnumerable(0)})?function(e){return i(e)==`String`?a.call(e,``):Object(e)}:Object}),9587:(function(e,t,n){var r=n(111),i=n(7674);e.exports=function(e,t,n){var a,o;return i&&typeof(a=t.constructor)==`function`&&a!==n&&r(o=a.prototype)&&o!==n.prototype&&i(e,o),e}}),2788:(function(e,t,n){var r=n(5465),i=Function.toString;typeof r.inspectSource!=`function`&&(r.inspectSource=function(e){return i.call(e)}),e.exports=r.inspectSource}),9909:(function(e,t,n){var r=n(8536),i=n(7854),a=n(111),o=n(8880),s=n(6656),c=n(5465),l=n(6200),u=n(3501),d=i.WeakMap,f,p,m,h=function(e){return m(e)?p(e):f(e,{})},g=function(e){return function(t){var n;if(!a(t)||(n=p(t)).type!==e)throw TypeError(`Incompatible receiver, `+e+` required`);return n}};if(r){var _=c.state||=new d,v=_.get,y=_.has,b=_.set;f=function(e,t){return t.facade=e,b.call(_,e,t),t},p=function(e){return v.call(_,e)||{}},m=function(e){return y.call(_,e)}}else{var x=l(`state`);u[x]=!0,f=function(e,t){return t.facade=e,o(e,x,t),t},p=function(e){return s(e,x)?e[x]:{}},m=function(e){return s(e,x)}}e.exports={set:f,get:p,has:m,enforce:h,getterFor:g}}),7659:(function(e,t,n){var r=n(5112),i=n(7497),a=r(`iterator`),o=Array.prototype;e.exports=function(e){return e!==void 0&&(i.Array===e||o[a]===e)}}),3157:(function(e,t,n){var r=n(4326);e.exports=Array.isArray||function(e){return r(e)==`Array`}}),4705:(function(e,t,n){var r=n(7293),i=/#|\.prototype\./,a=function(e,t){var n=s[o(e)];return n==l?!0:n==c?!1:typeof t==`function`?r(t):!!t},o=a.normalize=function(e){return String(e).replace(i,`.`).toLowerCase()},s=a.data={},c=a.NATIVE=`N`,l=a.POLYFILL=`P`;e.exports=a}),111:(function(e){e.exports=function(e){return typeof e==`object`?e!==null:typeof e==`function`}}),1913:(function(e){e.exports=!1}),7850:(function(e,t,n){var r=n(111),i=n(4326),a=n(5112)(`match`);e.exports=function(e){var t;return r(e)&&((t=e[a])===void 0?i(e)==`RegExp`:!!t)}}),9212:(function(e,t,n){var r=n(9670);e.exports=function(e){var t=e.return;if(t!==void 0)return r(t.call(e)).value}}),3383:(function(e,t,n){var r=n(7293),i=n(9518),a=n(8880),o=n(6656),s=n(5112),c=n(1913),l=s(`iterator`),u=!1,d=function(){return this},f,p,m;[].keys&&(m=[].keys(),`next`in m?(p=i(i(m)),p!==Object.prototype&&(f=p)):u=!0);var h=f==null||r(function(){var e={};return f[l].call(e)!==e});h&&(f={}),(!c||h)&&!o(f,l)&&a(f,l,d),e.exports={IteratorPrototype:f,BUGGY_SAFARI_ITERATORS:u}}),7497:(function(e){e.exports={}}),133:(function(e,t,n){var r=n(7293);e.exports=!!Object.getOwnPropertySymbols&&!r(function(){return!String(Symbol())})}),590:(function(e,t,n){var r=n(7293),i=n(5112),a=n(1913),o=i(`iterator`);e.exports=!r(function(){var e=new URL(`b?a=1&b=2&c=3`,`http://a`),t=e.searchParams,n=``;return e.pathname=`c%20d`,t.forEach(function(e,r){t.delete(`b`),n+=r+e}),a&&!e.toJSON||!t.sort||e.href!==`http://a/c%20d?a=1&c=3`||t.get(`c`)!==`3`||String(new URLSearchParams(`?a=1`))!==`a=1`||!t[o]||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`||n!==`a1c3`||new URL(`http://x`,void 0).host!==`x`})}),8536:(function(e,t,n){var r=n(7854),i=n(2788),a=r.WeakMap;e.exports=typeof a==`function`&&/native code/.test(i(a))}),1574:(function(e,t,n){var r=n(9781),i=n(7293),a=n(1956),o=n(5181),s=n(5296),c=n(7908),l=n(8361),u=Object.assign,d=Object.defineProperty;e.exports=!u||i(function(){if(r&&u({b:1},u(d({},`a`,{enumerable:!0,get:function(){d(this,`b`,{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var e={},t={},n=Symbol(),i=`abcdefghijklmnopqrst`;return e[n]=7,i.split(``).forEach(function(e){t[e]=e}),u({},e)[n]!=7||a(u({},t)).join(``)!=i})?function(e,t){for(var n=c(e),i=arguments.length,u=1,d=o.f,f=s.f;i>u;)for(var p=l(arguments[u++]),m=d?a(p).concat(d(p)):a(p),h=m.length,g=0,_;h>g;)_=m[g++],(!r||f.call(p,_))&&(n[_]=p[_]);return n}:u}),30:(function(e,t,n){var r=n(9670),i=n(6048),a=n(748),o=n(3501),s=n(490),c=n(317),l=n(6200),u=`>`,d=`<`,f=`prototype`,p=`script`,m=l(`IE_PROTO`),h=function(){},g=function(e){return d+p+u+e+d+`/`+p+u},_=function(e){e.write(g(``)),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){var e=c(`iframe`),t=`java`+p+`:`,n;return e.style.display=`none`,s.appendChild(e),e.src=String(t),n=e.contentWindow.document,n.open(),n.write(g(`document.F=Object`)),n.close(),n.F},y,b=function(){try{y=document.domain&&new ActiveXObject(`htmlfile`)}catch{}b=y?_(y):v();for(var e=a.length;e--;)delete b[f][a[e]];return b()};o[m]=!0,e.exports=Object.create||function(e,t){var n;return e===null?n=b():(h[f]=r(e),n=new h,h[f]=null,n[m]=e),t===void 0?n:i(n,t)}}),6048:(function(e,t,n){var r=n(9781),i=n(3070),a=n(9670),o=n(1956);e.exports=r?Object.defineProperties:function(e,t){a(e);for(var n=o(t),r=n.length,s=0,c;r>s;)i.f(e,c=n[s++],t[c]);return e}}),3070:(function(e,t,n){var r=n(9781),i=n(4664),a=n(9670),o=n(7593),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(a(e),t=o(t,!0),a(n),i)try{return s(e,t,n)}catch{}if(`get`in n||`set`in n)throw TypeError(`Accessors not supported`);return`value`in n&&(e[t]=n.value),e}}),1236:(function(e,t,n){var r=n(9781),i=n(5296),a=n(9114),o=n(5656),s=n(7593),c=n(6656),l=n(4664),u=Object.getOwnPropertyDescriptor;t.f=r?u:function(e,t){if(e=o(e),t=s(t,!0),l)try{return u(e,t)}catch{}if(c(e,t))return a(!i.f.call(e,t),e[t])}}),8006:(function(e,t,n){var r=n(6324),i=n(748).concat(`length`,`prototype`);t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}}),5181:(function(e,t){t.f=Object.getOwnPropertySymbols}),9518:(function(e,t,n){var r=n(6656),i=n(7908),a=n(6200),o=n(8544),s=a(`IE_PROTO`),c=Object.prototype;e.exports=o?Object.getPrototypeOf:function(e){return e=i(e),r(e,s)?e[s]:typeof e.constructor==`function`&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?c:null}}),6324:(function(e,t,n){var r=n(6656),i=n(5656),a=n(1318).indexOf,o=n(3501);e.exports=function(e,t){var n=i(e),s=0,c=[],l;for(l in n)!r(o,l)&&r(n,l)&&c.push(l);for(;t.length>s;)r(n,l=t[s++])&&(~a(c,l)||c.push(l));return c}}),1956:(function(e,t,n){var r=n(6324),i=n(748);e.exports=Object.keys||function(e){return r(e,i)}}),5296:(function(e,t){var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor;t.f=r&&!n.call({1:2},1)?function(e){var t=r(this,e);return!!t&&t.enumerable}:n}),7674:(function(e,t,n){var r=n(9670),i=n(6077);e.exports=Object.setPrototypeOf||(`__proto__`in{}?function(){var e=!1,t={},n;try{n=Object.getOwnPropertyDescriptor(Object.prototype,`__proto__`).set,n.call(t,[]),e=t instanceof Array}catch{}return function(t,a){return r(t),i(a),e?n.call(t,a):t.__proto__=a,t}}():void 0)}),288:(function(e,t,n){var r=n(1694),i=n(648);e.exports=r?{}.toString:function(){return`[object `+i(this)+`]`}}),3887:(function(e,t,n){var r=n(5005),i=n(8006),a=n(5181),o=n(9670);e.exports=r(`Reflect`,`ownKeys`)||function(e){var t=i.f(o(e)),n=a.f;return n?t.concat(n(e)):t}}),857:(function(e,t,n){e.exports=n(7854)}),2248:(function(e,t,n){var r=n(1320);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}}),1320:(function(e,t,n){var r=n(7854),i=n(8880),a=n(6656),o=n(3505),s=n(2788),c=n(9909),l=c.get,u=c.enforce,d=String(String).split(`String`);(e.exports=function(e,t,n,s){var c=s?!!s.unsafe:!1,l=s?!!s.enumerable:!1,f=s?!!s.noTargetGet:!1,p;if(typeof n==`function`&&(typeof t==`string`&&!a(n,`name`)&&i(n,`name`,t),p=u(n),p.source||=d.join(typeof t==`string`?t:``)),e===r){l?e[t]=n:o(t,n);return}else c?!f&&e[t]&&(l=!0):delete e[t];l?e[t]=n:i(e,t,n)})(Function.prototype,`toString`,function(){return typeof this==`function`&&l(this).source||s(this)})}),7651:(function(e,t,n){var r=n(4326),i=n(2261);e.exports=function(e,t){var n=e.exec;if(typeof n==`function`){var a=n.call(e,t);if(typeof a!=`object`)throw TypeError(`RegExp exec method returned something other than an Object or null`);return a}if(r(e)!==`RegExp`)throw TypeError(`RegExp#exec called on incompatible receiver`);return i.call(e,t)}}),2261:(function(e,t,n){var r=n(7066),i=n(2999),a=RegExp.prototype.exec,o=String.prototype.replace,s=a,c=(function(){var e=/a/,t=/b*/g;return a.call(e,`a`),a.call(t,`a`),e.lastIndex!==0||t.lastIndex!==0})(),l=i.UNSUPPORTED_Y||i.BROKEN_CARET,u=/()??/.exec(``)[1]!==void 0;(c||u||l)&&(s=function(e){var t=this,n,i,s,d,f=l&&t.sticky,p=r.call(t),m=t.source,h=0,g=e;return f&&(p=p.replace(`y`,``),p.indexOf(`g`)===-1&&(p+=`g`),g=String(e).slice(t.lastIndex),t.lastIndex>0&&(!t.multiline||t.multiline&&e[t.lastIndex-1]!==`
6
+ `&&r!==`\f`&&r!==`\r`)break}return t},g=function(e,t,n){var r=e.length;r<4&&(e+=r===2?`AA`:`A`);var i=(t[m(e,0)]<<18)+(t[m(e,1)]<<12)+(t[m(e,2)]<<6)+t[m(e,3)],a=[i>>16&255,i>>8&255,i&255];if(r===2){if(n&&a[1]!==0)throw new f(`Extra bits`);return[a[0]]}if(r===3){if(n&&a[2]!==0)throw new f(`Extra bits`);return[a[0],a[1]]}return a},_=function(e,t,n){for(var r=t.length,i=0;i<r;i++)e[n+i]=t[i];return n+r};t.exports=function(e,t,n,r){a(e),i(t);var s=c(t)===`base64`?u:d,v=t?t.lastChunkHandling:void 0;if(v===void 0&&(v=`loose`),v!==`loose`&&v!==`strict`&&v!==`stop-before-partial`)throw new p("Incorrect `lastChunkHandling` option");n&&l(n.buffer);var y=e.length,b=n||[],x=0,S=0,C=``,w=0;if(r)for(;;){if(w=h(e,w),w===y){if(C.length>0){if(v===`stop-before-partial`)break;if(v===`loose`){if(C.length===1)throw new f(`Malformed padding: exactly one additional character`);x=_(b,g(C,s,!1),x)}else throw new f(`Missing padding`)}S=y;break}var T=m(e,w);if(++w,T===`=`){if(C.length<2)throw new f(`Padding is too early`);if(w=h(e,w),C.length===2){if(w===y){if(v===`stop-before-partial`)break;throw new f(`Malformed padding: only one =`)}m(e,w)===`=`&&(++w,w=h(e,w))}if(w<y)throw new f(`Unexpected character after padding`);x=_(b,g(C,s,v===`strict`),x),S=y;break}if(!o(s,T))throw new f(`Unexpected character`);var E=r-x;if(E===1&&C.length===2||E===2&&C.length===3||(C+=T,C.length===4&&(x=_(b,g(C,s,!1),x),C=``,S=w,x===r)))break}return{bytes:b,read:S,written:x}}})),hp=j((()=>{var e=q(),t=V(),n=wo(),r=mp(),i=t.Uint8Array,a=!i||!i.fromBase64||!function(){try{i.fromBase64(`a`);return}catch{}try{i.fromBase64(``,null)}catch{return!0}}();i&&e({target:`Uint8Array`,stat:!0,forced:a},{fromBase64:function(e){return n(i,r(e,arguments.length>1?arguments[1]:void 0,null,9007199254740991).bytes)}})})),gp=j(((e,t)=>{var n=V(),r=G(),i=n.Uint8Array,a=n.SyntaxError,o=n.parseInt,s=Math.min,c=/[^\da-f]/i,l=r(c.exec),u=r(``.slice);t.exports=function(e,t){var n=e.length;if(n%2!=0)throw new a(`String should be an even number of characters`);for(var r=t?s(t.length,n/2):n/2,d=t||new i(r),f=0,p=0;p<r;){var m=u(e,f,f+=2);if(l(c,m))throw new a(`String should only contain hex characters`);d[p++]=o(m,16)}return{bytes:d,read:f}}})),_p=j((()=>{var e=q(),t=V(),n=zu(),r=gp();t.Uint8Array&&e({target:`Uint8Array`,stat:!0},{fromHex:function(e){return r(n(e)).bytes}})})),vp=j(((e,t)=>{var n=Xr(),r=TypeError;t.exports=function(e){if(n(e)===`Uint8Array`)return e;throw new r(`Argument is not an Uint8Array`)}})),yp=j((()=>{var e=q(),t=V(),n=mp(),r=vp(),i=t.Uint8Array,a=!i||!i.prototype.setFromBase64||!function(){var e=new i([255,255,255,255,255]);try{e.setFromBase64(``,null);return}catch{}try{e.setFromBase64(`a`);return}catch{}try{e.setFromBase64(`MjYyZg===`)}catch{return e[0]===50&&e[1]===54&&e[2]===50&&e[3]===255&&e[4]===255}}();i&&e({target:`Uint8Array`,proto:!0,forced:a},{setFromBase64:function(e){r(this);var t=n(e,arguments.length>1?arguments[1]:void 0,this,this.length);return{read:t.read,written:t.written}}})})),bp=j((()=>{var e=q(),t=V(),n=zu(),r=vp(),i=ns(),a=gp();t.Uint8Array&&e({target:`Uint8Array`,proto:!0},{setFromHex:function(e){r(this),n(e),i(this.buffer);var t=a(e,this).read;return{read:t,written:t/2}}})})),xp=j((()=>{var e=q(),t=V(),n=G(),r=dp(),i=vp(),a=ns(),o=fp(),s=pp(),c=o.i2c,l=o.i2cUrl,u=n(``.charAt),d=t.Uint8Array,f=!d||!d.prototype.toBase64||!function(){try{new d().toBase64(null)}catch{return!0}}();d&&e({target:`Uint8Array`,proto:!0,forced:f},{toBase64:function(){var e=i(this),t=arguments.length?r(arguments[0]):void 0,n=s(t)===`base64`?c:l,o=!!t&&!!t.omitPadding;a(this.buffer);for(var d=``,f=0,p=e.length,m,h=function(e){return u(n,m>>6*e&63)};f+2<p;f+=3)m=(e[f]<<16)+(e[f+1]<<8)+e[f+2],d+=h(3)+h(2)+h(1)+h(0);return f+2===p?(m=(e[f]<<16)+(e[f+1]<<8),d+=h(3)+h(2)+h(1)+(o?``:`=`)):f+1===p&&(m=e[f]<<16,d+=h(3)+h(2)+(o?``:`==`)),d}})})),Sp=j((()=>{var e=q(),t=V(),n=G(),r=vp(),i=ns(),a=n(1.1.toString),o=t.Uint8Array,s=!o||!o.prototype.toHex||!(function(){try{return new o([255,255,255,255,255,255,255,255]).toHex()===`ffffffffffffffff`}catch{return!1}})();o&&e({target:`Uint8Array`,proto:!0,forced:s},{toHex:function(){r(this),i(this.buffer);for(var e=``,t=0,n=this.length;t<n;t++){var o=a(this[t],16);e+=o.length===1?`0`+o:o}return e}})})),Cp=j((()=>{var e=q(),t=G(),n=Zr(),r=String.fromCharCode,i=t(``.charAt),a=t(/./.exec),o=t(``.slice),s=/^[\da-f]{2}$/i,c=/^[\da-f]{4}$/i;e({global:!0},{unescape:function(e){for(var t=n(e),l=``,u=t.length,d=0,f,p;d<u;){if(f=i(t,d++),f===`%`){if(i(t,d)===`u`){if(p=o(t,d+1,d+5),a(c,p)){l+=r(parseInt(p,16)),d+=5;continue}}else if(p=o(t,d,d+2),a(s,p)){l+=r(parseInt(p,16)),d+=2;continue}}l+=f}return l}})})),wp=j(((e,t)=>{var n=G(),r=Po(),i=tc().getWeakData,a=Fo(),o=K(),s=Xn(),c=er(),l=da(),u=gi(),d=_r(),f=Nr(),p=f.set,m=f.getterFor,h=u.find,g=u.findIndex,_=n([].splice),v=0,y=function(e){return e.frozen||=new b},b=function(){this.entries=[]},x=function(e,t){return h(e.entries,function(e){return e[0]===t})};b.prototype={get:function(e){var t=x(this,e);if(t)return t[1]},has:function(e){return!!x(this,e)},set:function(e,t){var n=x(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=g(this.entries,function(t){return t[0]===e});return~t&&_(this.entries,t,1),!!~t}},t.exports={getConstructor:function(e,t,n,u){var f=e(function(e,r){a(e,h),p(e,{type:t,id:v++,frozen:null}),s(r)||l(r,e[u],{that:e,AS_ENTRIES:n})}),h=f.prototype,g=m(t),_=function(e,t,n){var r=g(e),a=i(o(t),!0);return a===!0?y(r).set(t,n):a[r.id]=n,e};return r(h,{delete:function(e){var t=g(this);if(!c(e))return!1;var n=i(e);return n===!0?y(t).delete(e):n&&d(n,t.id)&&delete n[t.id]},has:function(e){var t=g(this);if(!c(e))return!1;var n=i(e);return n===!0?y(t).has(e):n&&d(n,t.id)}}),r(h,n?{get:function(e){var t=g(this);if(c(e)){var n=i(e);if(n===!0)return y(t).get(e);if(n)return n[t.id]}},set:function(e,t){return _(this,e,t)}}:{add:function(e){return _(this,e,!0)}}),f}}})),Tp=j((()=>{var e=ec(),t=V(),n=G(),r=Po(),i=tc(),a=nc(),o=wp(),s=er(),c=Nr().enforce,l=H(),u=Ar(),d=Object,f=Array.isArray,p=d.isExtensible,m=d.isFrozen,h=d.isSealed,g=d.freeze,_=d.seal,v=!t.ActiveXObject&&`ActiveXObject`in t,y,b=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},x=a(`WeakMap`,b,o),S=x.prototype,C=n(S.set),w=function(){return e&&l(function(){var e=g([]);return C(new x,e,1),!m(e)})};if(u)if(v){y=o.getConstructor(b,`WeakMap`,!0),i.enable();var T=n(S.delete),E=n(S.has),D=n(S.get);r(S,{delete:function(e){if(s(e)&&!p(e)){var t=c(this);return t.frozen||=new y,T(this,e)||t.frozen.delete(e)}return T(this,e)},has:function(e){if(s(e)&&!p(e)){var t=c(this);return t.frozen||=new y,E(this,e)||t.frozen.has(e)}return E(this,e)},get:function(e){if(s(e)&&!p(e)){var t=c(this);return t.frozen||=new y,E(this,e)?D(this,e):t.frozen.get(e)}return D(this,e)},set:function(e,t){if(s(e)&&!p(e)){var n=c(this);n.frozen||=new y,E(this,e)?C(this,e,t):n.frozen.set(e,t)}else C(this,e,t);return this}})}else w()&&r(S,{set:function(e,t){var n;return f(e)&&(m(e)?n=g:h(e)&&(n=_)),C(this,e,t),n&&n(e),this}})})),Ep=j((()=>{Tp()})),Dp=j((()=>{nc()(`WeakSet`,function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},wp())})),Op=j((()=>{Dp()})),kp=j((()=>{var e=q(),t=V(),n=tr(),r=G(),i=W(),a=H(),o=Zr(),s=Pl(),c=fp().c2i,l=/[^\d+/a-z]/i,u=/[\t\n\f\r ]+/g,d=/[=]{1,2}$/,f=n(`atob`),p=String.fromCharCode,m=r(``.charAt),h=r(``.replace),g=r(l.exec),_=!!f&&!a(function(){return f(`aGk=`)!==`hi`}),v=_&&a(function(){return f(` `)!==``}),y=_&&!a(function(){f(`a`)}),b=_&&!a(function(){f()}),x=_&&f.length!==1;e({global:!0,bind:!0,enumerable:!0,forced:!_||v||y||b||x},{atob:function(e){if(s(arguments.length,1),_&&!v&&!y)return i(f,t,e);var r=h(o(e),u,``),a=``,b=0,x=0,S,C,w;if(r.length%4==0&&(r=h(r,d,``)),S=r.length,S%4==1||g(l,r))throw new(n(`DOMException`))(`The string is not correctly encoded`,`InvalidCharacterError`);for(;b<S;)C=m(r,b++),w=x%4?w*64+c[C]:c[C],x++%4&&(a+=p(255&w>>(-2*x&6)));return a}})})),Ap=j((()=>{var e=q(),t=V(),n=tr(),r=G(),i=W(),a=H(),o=Zr(),s=Pl(),c=fp().i2c,l=n(`btoa`),u=r(``.charAt),d=r(``.charCodeAt),f=!!l&&!a(function(){return l(`hi`)!==`aGk=`}),p=f&&!a(function(){l()}),m=f&&a(function(){return l(null)!==`bnVsbA==`}),h=f&&l.length!==1;e({global:!0,bind:!0,enumerable:!0,forced:!f||p||m||h},{btoa:function(e){if(s(arguments.length,1),f)return i(l,t,o(e));for(var r=o(e),a=``,p=0,m=c,h,g;u(r,p)||(m=`=`,p%1);){if(g=d(r,p+=3/4),g>255)throw new(n(`DOMException`))(`The string contains characters outside of the Latin1 range`,`InvalidCharacterError`);h=h<<8|g,a+=u(m,63&h>>8-p%1*8)}return a}})})),jp=j(((e,t)=>{t.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}})),Mp=j(((e,t)=>{var n=Sr()(`span`).classList,r=n&&n.constructor&&n.constructor.prototype;t.exports=r===Object.prototype?void 0:r})),Np=j((()=>{var e=V(),t=jp(),n=Mp(),r=Ra(),i=Dr(),a=function(e){if(e&&e.forEach!==r)try{i(e,`forEach`,r)}catch{e.forEach=r}};for(var o in t)t[o]&&a(e[o]&&e[o].prototype);a(n)})),Pp=j((()=>{var e=V(),t=jp(),n=Mp(),r=Za(),i=Dr(),a=li(),o=yr()(`iterator`),s=r.values,c=function(e,n){if(e){if(e[o]!==s)try{i(e,o,s)}catch{e[o]=s}if(a(e,n,!0),t[n]){for(var c in r)if(e[c]!==r[c])try{i(e,c,r[c])}catch{e[c]=r[c]}}}};for(var l in t)c(e[l]&&e[l].prototype,l);c(n,`DOMTokenList`)})),Fp=j(((e,t)=>{t.exports={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}}})),Ip=j((()=>{var e=q(),t=tr(),n=rs(),r=H(),i=ti(),a=qn(),o=Er().f,s=Fr(),c=ii(),l=_r(),u=Fo(),d=K(),f=na(),p=Ji(),m=Fp(),h=Xi(),g=Nr(),_=U(),v=fr(),y=`DOMException`,b=`DATA_CLONE_ERR`,x=t(`Error`),S=t(y)||(function(){try{new((t(`MessageChannel`))||(n(`worker_threads`)).MessageChannel)().port1.postMessage(new WeakMap)}catch(e){if(e.name===b&&e.code===25)return e.constructor}})(),C=S&&S.prototype,w=x.prototype,T=g.set,E=g.getterFor(y),D=`stack`in new x(y),O=function(e){return l(m,e)&&m[e].m?m[e].c:0},k=function(){u(this,A);var e=arguments.length,t=p(e<1?void 0:arguments[0]),n=p(e<2?void 0:arguments[1],`Error`),r=O(n);if(T(this,{type:y,name:n,message:t,code:r}),_||(this.name=n,this.message=t,this.code=r),D){var i=new x(t);i.name=y,o(this,`stack`,a(1,h(i.stack,1)))}},A=k.prototype=i(w),j=function(e){return{enumerable:!0,configurable:!0,get:e}},M=function(e){return j(function(){return E(this)[e]})};_&&(c(A,`code`,M(`code`)),c(A,`message`,M(`message`)),c(A,`name`,M(`name`))),o(A,`constructor`,a(1,k));var N=r(function(){return!(new S instanceof x)}),P=N||r(function(){return w.toString!==f||String(new S(1,2))!==`2: 1`}),F=N||r(function(){return new S(1,`DataCloneError`).code!==25}),I=N||S[b]!==25||C[b]!==25,L=v?P||F||I:N;e({global:!0,constructor:!0,forced:L},{DOMException:L?k:S});var R=t(y),z=R.prototype;for(var B in P&&(v||S===R)&&s(z,`toString`,f),F&&_&&S===R&&c(z,`code`,j(function(){return O(d(this).name)})),m)if(l(m,B)){var ee=m[B],te=ee.s,ne=a(6,ee.c);l(R,te)||o(R,te,ne),l(z,te)||o(z,te,ne)}})),Lp=j((()=>{var e=q(),t=V(),n=tr(),r=qn(),i=Er().f,a=_r(),o=Fo(),s=qi(),c=Ji(),l=Fp(),u=Xi(),d=U(),f=fr(),p=`DOMException`,m=n(`Error`),h=n(p),g=function(){o(this,_);var e=arguments.length,t=c(e<1?void 0:arguments[0]),n=new h(t,c(e<2?void 0:arguments[1],`Error`)),a=new m(t);return a.name=p,i(n,`stack`,r(1,u(a.stack,1))),s(n,this,g),n},_=g.prototype=h.prototype,v=`stack`in new m(p),y=`stack`in new h(1,2),b=h&&d&&Object.getOwnPropertyDescriptor(t,p),x=!!b&&!(b.writable&&b.configurable),S=v&&!x&&!y;e({global:!0,constructor:!0,forced:f||S},{DOMException:S?g:h});var C=n(p),w=C.prototype;if(w.constructor!==C){for(var T in f||i(w,`constructor`,r(1,C)),l)if(a(l,T)){var E=l[T],D=E.s;a(C,D)||i(C,D,r(6,E.c))}}})),Rp=j((()=>{var e=tr(),t=li(),n=`DOMException`;t(e(n),n)})),zp=j((()=>{var e=q(),t=V(),n=Il().clear;e({global:!0,bind:!0,enumerable:!0,forced:t.clearImmediate!==n},{clearImmediate:n})})),Bp=j(((e,t)=>{var n=V(),r=xi(),i=$n(),a=oo(),o=rr(),s=ni(),c=Pl(),l=n.Function,u=/MSIE .\./.test(o)||a===`BUN`&&(function(){var e=n.Bun.version.split(`.`);return e.length<3||e[0]===`0`&&(e[1]<3||e[1]===`3`&&e[2]===`0`)})();t.exports=function(e,t){var n=t?2:1;return u?function(a,o){var u=c(arguments.length,1)>n,d=i(a)?a:l(a),f=u?s(arguments,n):[],p=u?function(){r(d,this,f)}:d;return t?e(p,o):e(p)}:e}})),Vp=j((()=>{var e=q(),t=V(),n=Il().set,r=Bp(),i=t.setImmediate?r(n,!1):n;e({global:!0,bind:!0,enumerable:!0,forced:t.setImmediate!==i},{setImmediate:i})})),Hp=j((()=>{zp(),Vp()})),Up=j((()=>{var e=q(),t=V(),n=Vl(),r=lr(),i=Pl(),a=H(),o=U();e({global:!0,enumerable:!0,dontCallGetSet:!0,forced:a(function(){return o&&Object.getOwnPropertyDescriptor(t,`queueMicrotask`).value.length!==1})},{queueMicrotask:function(e){i(arguments.length,1),n(r(e))}})})),Wp=j((()=>{var e=q(),t=V(),n=ii(),r=U(),i=TypeError,a=Object.defineProperty,o=t.self!==t;try{if(r){var s=Object.getOwnPropertyDescriptor(t,`self`);(o||!s||!s.get||!s.enumerable)&&n(t,`self`,{get:function(){return t},set:function(e){if(this!==t)throw new i(`Illegal invocation`);a(t,`self`,{value:e,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else e({global:!0,simple:!0,forced:o},{self:t})}catch{}})),Gp=j((()=>{var e=fr(),t=q(),n=V(),r=tr(),i=G(),a=H(),o=vr(),s=$n(),c=pi(),l=Xn(),u=er(),d=sr(),f=da(),p=K(),m=Xr(),h=_r(),g=ya(),_=Dr(),v=Br(),y=Pl(),b=Pu(),x=oc(),S=Xu(),C=$u(),w=as(),T=Zi(),E=is(),D=n.Object,O=n.Array,k=n.Date,A=n.Error,j=n.TypeError,M=n.PerformanceMark,N=r(`DOMException`),P=x.Map,F=x.has,I=x.get,L=x.set,R=S.Set,z=S.add,B=S.has,ee=r(`Object`,`keys`),te=i([].push),ne=i((!0).valueOf),re=i(1.1.valueOf),ie=i(``.valueOf),ae=i(k.prototype.getTime),oe=o(`structuredClone`),se=`DataCloneError`,ce=`Transferring`,le=function(e){return!a(function(){var t=new n.Set([7]),r=e(t),i=e(D(7));return r===t||!r.has(7)||!u(i)||+i!=7})&&e},ue=function(e,t){return!a(function(){var n=new t,r=e({a:n,b:n});return!(r&&r.a===r.b&&r.a instanceof t&&r.a.stack===n.stack)})},de=function(e){return!a(function(){var t=e(new n.AggregateError([1],oe,{cause:3}));return t.name!==`AggregateError`||t.errors[0]!==1||t.message!==oe||t.cause!==3})},fe=n.structuredClone,pe=e||!ue(fe,A)||!ue(fe,N)||!de(fe),me=!fe&&le(function(e){return new M(oe,{detail:e}).detail}),he=le(fe)||me,ge=function(e){throw new N(`Uncloneable type: `+e,se)},_e=function(e,t){throw new N((t||`Cloning`)+` of `+e+` cannot be properly polyfilled in this engine`,se)},ve=function(e,t){return he||_e(t),he(e)},ye=function(){var e;try{e=new n.DataTransfer}catch{try{e=new n.ClipboardEvent(``).clipboardData}catch{}}return e&&e.items&&e.files?e:null},be=function(e,t,r){if(F(t,e))return I(t,e);var i=r||m(e),a,o,c,l,u,d;if(i===`SharedArrayBuffer`)a=he?he(e):e;else{var f=n.DataView;!f&&!s(e.slice)&&_e(`ArrayBuffer`);try{if(s(e.slice)&&!e.resizable)a=e.slice(0);else for(o=e.byteLength,c=(`maxByteLength`in e)?{maxByteLength:e.maxByteLength}:void 0,a=new ArrayBuffer(o,c),l=new f(e),u=new f(a),d=0;d<o;d++)u.setUint8(d,l.getUint8(d))}catch{throw new N(`ArrayBuffer is detached`,se)}}return L(t,e,a),a},xe=function(e,t,r,i,a){var o=n[t];return u(o)||_e(t),new o(be(e.buffer,a),r,i)},Se=function(e,t){if(d(e)&&ge(`Symbol`),!u(e))return e;if(t){if(F(t,e))return I(t,e)}else t=new P;var i=m(e),a,o,c,l,f,p,y,x;switch(i){case`Array`:c=O(v(e));break;case`Object`:c={};break;case`Map`:c=new P;break;case`Set`:c=new R;break;case`RegExp`:c=new RegExp(e.source,b(e));break;case`Error`:switch(o=e.name,o){case`AggregateError`:c=new(r(o))([]);break;case`EvalError`:case`RangeError`:case`ReferenceError`:case`SuppressedError`:case`SyntaxError`:case`TypeError`:case`URIError`:c=new(r(o));break;case`CompileError`:case`LinkError`:case`RuntimeError`:c=new(r(`WebAssembly`,o));break;default:c=new A}break;case`DOMException`:c=new N(e.message,e.name);break;case`ArrayBuffer`:case`SharedArrayBuffer`:c=be(e,t,i);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`:p=i===`DataView`?e.byteLength:e.length,c=xe(e,i,e.byteOffset,p,t);break;case`DOMQuad`:try{c=new DOMQuad(Se(e.p1,t),Se(e.p2,t),Se(e.p3,t),Se(e.p4,t))}catch{c=ve(e,i)}break;case`File`:if(he)try{c=he(e),m(c)!==i&&(c=void 0)}catch{}if(!c)try{c=new File([e],e.name,e)}catch{}c||_e(i);break;case`FileList`:if(l=ye(),l){for(f=0,p=v(e);f<p;f++)l.items.add(Se(e[f],t));c=l.files}else c=ve(e,i);break;case`ImageData`:try{c=new ImageData(Se(e.data,t),e.width,e.height,{colorSpace:e.colorSpace})}catch{c=ve(e,i)}break;default:if(he)c=he(e);else switch(i){case`BigInt`:c=D(e.valueOf());break;case`Boolean`:c=D(ne(e));break;case`Number`:c=D(re(e));break;case`String`:c=D(ie(e));break;case`Date`:c=new k(ae(e));break;case`Blob`:try{c=e.slice(0,e.size,e.type)}catch{_e(i)}break;case`DOMPoint`:case`DOMPointReadOnly`:a=n[i];try{c=a.fromPoint?a.fromPoint(e):new a(e.x,e.y,e.z,e.w)}catch{_e(i)}break;case`DOMRect`:case`DOMRectReadOnly`:a=n[i];try{c=a.fromRect?a.fromRect(e):new a(e.x,e.y,e.width,e.height)}catch{_e(i)}break;case`DOMMatrix`:case`DOMMatrixReadOnly`:a=n[i];try{c=a.fromMatrix?a.fromMatrix(e):new a(e)}catch{_e(i)}break;case`AudioData`:case`VideoFrame`:s(e.clone)||_e(i);try{c=e.clone()}catch{ge(i)}break;case`CropTarget`:case`CryptoKey`:case`FileSystemDirectoryHandle`:case`FileSystemFileHandle`:case`FileSystemHandle`:case`GPUCompilationInfo`:case`GPUCompilationMessage`:case`ImageBitmap`:case`RTCCertificate`:case`WebAssembly.Module`:_e(i);default:ge(i)}}switch(L(t,e,c),i){case`Array`:case`Object`:for(y=ee(e),f=0,p=v(y);f<p;f++)x=y[f],g(c,x,Se(e[x],t));break;case`Map`:e.forEach(function(e,n){L(c,Se(n,t),Se(e,t))});break;case`Set`:e.forEach(function(e){z(c,Se(e,t))});break;case`Error`:_(c,`message`,Se(e.message,t)),h(e,`cause`)&&_(c,`cause`,Se(e.cause,t)),o===`AggregateError`?c.errors=Se(e.errors,t):o===`SuppressedError`&&(c.error=Se(e.error,t),c.suppressed=Se(e.suppressed,t));case`DOMException`:T&&_(c,`stack`,Se(e.stack,t))}return c},Ce=function(e,t){if(!u(e))throw new j(`Transfer option cannot be converted to a sequence`);var r=[];f(e,function(e){te(r,p(e))});for(var i=0,a=v(r),o=new R,l,d,h,g,_,y;i<a;){if(l=r[i++],d=m(l),d===`ArrayBuffer`?B(o,l):F(t,l))throw new N(`Duplicate transferable`,se);if(d===`ArrayBuffer`){z(o,l);continue}if(E)g=fe(l,{transfer:[l]});else switch(d){case`ImageBitmap`:h=n.OffscreenCanvas,c(h)||_e(d,ce);try{_=new h(l.width,l.height),y=_.getContext(`bitmaprenderer`),y.transferFromImageBitmap(l),g=_.transferToImageBitmap()}catch{}break;case`AudioData`:case`VideoFrame`:(!s(l.clone)||!s(l.close))&&_e(d,ce);try{g=l.clone(),l.close()}catch{}break;case`MediaSourceHandle`:case`MessagePort`:case`MIDIAccess`:case`OffscreenCanvas`:case`ReadableStream`:case`RTCDataChannel`:case`TransformStream`:case`WebTransportReceiveStream`:case`WebTransportSendStream`:case`WritableStream`:_e(d,ce)}if(g===void 0)throw new N(`This object cannot be transferred: `+d,se);L(t,l,g)}return o},we=function(e){C(e,function(e){E?he(e,{transfer:[e]}):s(e.transfer)?e.transfer():w?w(e):_e(`ArrayBuffer`,ce)})};t({global:!0,enumerable:!0,sham:!E,forced:pe},{structuredClone:function(e){var t=y(arguments.length,1)>1&&!l(arguments[1])?p(arguments[1]):void 0,n=t?t.transfer:void 0,r,i;n!==void 0&&(r=new P,i=Ce(n,r));var a=Se(e,r);return i&&we(i),a}})})),Kp=j((()=>{var e=q(),t=V(),n=Bp()(t.setInterval,!0);e({global:!0,bind:!0,forced:t.setInterval!==n},{setInterval:n})})),qp=j((()=>{var e=q(),t=V(),n=Bp()(t.setTimeout,!0);e({global:!0,bind:!0,forced:t.setTimeout!==n},{setTimeout:n})})),Jp=j((()=>{Kp(),qp()})),Yp=j(((e,t)=>{var n=H(),r=yr(),i=U(),a=fr(),o=r(`iterator`);t.exports=!n(function(){var e=new URL(`b?a=1&b=2&c=3`,`https://a`),t=e.searchParams,n=new URLSearchParams(`a=1&a=2&b=3`),r=``;return e.pathname=`c%20d`,t.forEach(function(e,n){t.delete(`b`),r+=n+e}),n.delete(`a`,2),n.delete(`b`,void 0),a&&(!e.toJSON||!n.has(`a`,1)||n.has(`a`,2)||!n.has(`a`,void 0)||n.has(`b`))||!t.size&&(a||!i)||!t.sort||e.href!==`https://a/c%20d?a=1&c=3`||t.get(`c`)!==`3`||String(new URLSearchParams(`?a=1`))!==`a=1`||!t[o]||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`||r!==`a1c3`||new URL(`https://x`,void 0).host!==`x`})})),Xp=j(((e,t)=>{var n=G(),r=2147483647,i=36,a=1,o=26,s=38,c=700,l=72,u=128,d=`-`,f=/[^\0-\u007E]/,p=/[.\u3002\uFF0E\uFF61]/g,m=`Overflow: input needs wider integers to process`,h=i-a,g=RangeError,_=n(p.exec),v=Math.floor,y=String.fromCharCode,b=n(``.charCodeAt),x=n([].join),S=n([].push),C=n(``.replace),w=n(``.split),T=n(``.toLowerCase),E=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=b(e,n++);if(i>=55296&&i<=56319&&n<r){var a=b(e,n++);(a&64512)==56320?S(t,((i&1023)<<10)+(a&1023)+65536):(S(t,i),n--)}else S(t,i)}return t},D=function(e){return e+22+75*(e<26)},O=function(e,t,n){var r=0;for(e=n?v(e/c):e>>1,e+=v(e/t);e>h*o>>1;)e=v(e/h),r+=i;return v(r+(h+1)*e/(e+s))},k=function(e){var t=[];e=E(e);var n=e.length,s=u,c=0,f=l,p,h;for(p=0;p<e.length;p++)h=e[p],h<128&&S(t,y(h));var _=t.length,b=_;for(_&&S(t,d);b<n;){var C=r;for(p=0;p<e.length;p++)h=e[p],h>=s&&h<C&&(C=h);var w=b+1;if(C-s>v((r-c)/w))throw new g(m);for(c+=(C-s)*w,s=C,p=0;p<e.length;p++){if(h=e[p],h<s&&++c>r)throw new g(m);if(h===s){for(var T=c,k=i;;){var A=k<=f?a:k>=f+o?o:k-f;if(T<A)break;var j=T-A,M=i-A;S(t,y(D(A+j%M))),T=v(j/M),k+=i}S(t,y(D(T))),f=O(c,w,b===_),c=0,b++}}c++,s++}return x(t,``)};t.exports=function(e){var t=[],n=w(C(T(e),p,`.`),`.`),r,i;for(r=0;r<n.length;r++)i=n[r],S(t,_(f,i)?`xn--`+k(i):i);return x(t,`.`)}})),Zp=j(((e,t)=>{Za(),Td();var n=q(),r=V(),i=Ll(),a=tr(),o=W(),s=G(),c=U(),l=Yp(),u=Fr(),d=ii(),f=Po(),p=li(),m=Ja(),h=Nr(),g=Fo(),_=$n(),v=_r(),y=di(),b=Xr(),x=K(),S=er(),C=Zr(),w=ti(),T=qn(),E=la(),D=ca(),O=Xa(),k=Pl(),A=yr(),j=mo(),M=A(`iterator`),N=`URLSearchParams`,P=N+`Iterator`,F=h.set,I=h.getterFor(N),L=h.getterFor(P),R=i(`fetch`),z=i(`Request`),B=i(`Headers`),ee=z&&z.prototype,te=B&&B.prototype,ne=r.TypeError,re=r.encodeURIComponent,ie=String.fromCharCode,ae=a(`String`,`fromCodePoint`),oe=parseInt,se=s(``.charAt),ce=s([].join),le=s([].push),ue=s(``.replace),de=s([].shift),fe=s([].splice),pe=s(``.split),me=s(``.slice),he=s(/./.exec),ge=/\+/g,_e=`�`,ve=/^[0-9a-f]+$/i,ye=function(e,t){var n=me(e,t,t+2);return he(ve,n)?oe(n,16):NaN},be=function(e){for(var t=0,n=128;n>0&&(e&n)!==0;n>>=1)t++;return t},xe=function(e){var t=null;switch(e.length){case 1:t=e[0];break;case 2:t=(e[0]&31)<<6|e[1]&63;break;case 3:t=(e[0]&15)<<12|(e[1]&63)<<6|e[2]&63;break;case 4:t=(e[0]&7)<<18|(e[1]&63)<<12|(e[2]&63)<<6|e[3]&63;break}return t>1114111?null:t},Se=function(e){e=ue(e,ge,` `);for(var t=e.length,n=``,r=0;r<t;){var i=se(e,r);if(i===`%`){if(se(e,r+1)===`%`||r+3>t){n+=`%`,r++;continue}var a=ye(e,r+1);if(a!==a){n+=i,r++;continue}r+=2;var o=be(a);if(o===0)i=ie(a);else{if(o===1||o>4){n+=_e,r++;continue}for(var s=[a],c=1;c<o&&(r++,!(r+3>t||se(e,r)!==`%`));){var l=ye(e,r+1);if(l!==l){r+=3;break}if(l>191||l<128)break;le(s,l),r+=2,c++}if(s.length!==o){n+=_e;continue}var u=xe(s);u===null?n+=_e:i=ae(u)}}n+=i,r++}return n},Ce=/[!'()~]|%20/g,we={"!":`%21`,"'":`%27`,"(":`%28`,")":`%29`,"~":`%7E`,"%20":`+`},Te=function(e){return we[e]},Ee=function(e){return ue(re(e),Ce,Te)},De=m(function(e,t){F(this,{type:P,target:I(e).entries,index:0,kind:t})},N,function(){var e=L(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=null,O(void 0,!0);var r=t[n];switch(e.kind){case`keys`:return O(r.key,!1);case`values`:return O(r.value,!1)}return O([r.key,r.value],!1)},!0),Oe=function(e){this.entries=[],this.url=null,e!==void 0&&(S(e)?this.parseObject(e):this.parseQuery(typeof e==`string`?se(e,0)===`?`?me(e,1):e:C(e)))};Oe.prototype={type:N,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t=this.entries,n=D(e),r,i,a,s,c,l,u;if(n)for(r=E(e,n),i=r.next;!(a=o(i,r)).done;){if(s=E(x(a.value)),c=s.next,(l=o(c,s)).done||(u=o(c,s)).done||!o(c,s).done)throw new ne(`Expected sequence with length 2`);le(t,{key:C(l.value),value:C(u.value)})}else for(var d in e)v(e,d)&&le(t,{key:d,value:C(e[d])})},parseQuery:function(e){if(e)for(var t=this.entries,n=pe(e,`&`),r=0,i,a;r<n.length;)i=n[r++],i.length&&(a=pe(i,`=`),le(t,{key:Se(de(a)),value:Se(ce(a,`=`))}))},serialize:function(){for(var e=this.entries,t=[],n=0,r;n<e.length;)r=e[n++],le(t,Ee(r.key)+`=`+Ee(r.value));return ce(t,`&`)},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var ke=function(){g(this,Ae);var e=arguments.length>0?arguments[0]:void 0,t=F(this,new Oe(e));c||(this.size=t.entries.length)},Ae=ke.prototype;if(f(Ae,{append:function(e,t){var n=I(this);k(arguments.length,2),le(n.entries,{key:C(e),value:C(t)}),c||this.length++,n.updateURL()},delete:function(e){for(var t=I(this),n=k(arguments.length,1),r=t.entries,i=C(e),a=n<2?void 0:arguments[1],o=a===void 0?a:C(a),s=0;s<r.length;){var l=r[s];if(l.key===i&&(o===void 0||l.value===o)){if(fe(r,s,1),o!==void 0)break}else s++}c||(this.size=r.length),t.updateURL()},get:function(e){var t=I(this).entries;k(arguments.length,1);for(var n=C(e),r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){var t=I(this).entries;k(arguments.length,1);for(var n=C(e),r=[],i=0;i<t.length;i++)t[i].key===n&&le(r,t[i].value);return r},has:function(e){for(var t=I(this).entries,n=k(arguments.length,1),r=C(e),i=n<2?void 0:arguments[1],a=i===void 0?i:C(i),o=0;o<t.length;){var s=t[o++];if(s.key===r&&(a===void 0||s.value===a))return!0}return!1},set:function(e,t){var n=I(this);k(arguments.length,1);for(var r=n.entries,i=!1,a=C(e),o=C(t),s=0,l;s<r.length;s++)l=r[s],l.key===a&&(i?fe(r,s--,1):(i=!0,l.value=o));i||le(r,{key:a,value:o}),c||(this.size=r.length),n.updateURL()},sort:function(){var e=I(this);j(e.entries,function(e,t){return e.key>t.key?1:-1}),e.updateURL()},forEach:function(e){for(var t=I(this).entries,n=y(e,arguments.length>1?arguments[1]:void 0),r=0,i;r<t.length;)i=t[r++],n(i.value,i.key,this)},keys:function(){return new De(this,`keys`)},values:function(){return new De(this,`values`)},entries:function(){return new De(this,`entries`)}},{enumerable:!0}),u(Ae,M,Ae.entries,{name:`entries`}),u(Ae,`toString`,function(){return I(this).serialize()},{enumerable:!0}),c&&d(Ae,`size`,{get:function(){return I(this).entries.length},configurable:!0,enumerable:!0}),p(ke,N),n({global:!0,constructor:!0,forced:!l},{URLSearchParams:ke}),!l&&_(B)){var je=s(te.has),Me=s(te.set),Ne=function(e){if(S(e)){var t=e.body,n;if(b(t)===N)return n=e.headers?new B(e.headers):new B,je(n,`content-type`)||Me(n,`content-type`,`application/x-www-form-urlencoded;charset=UTF-8`),w(e,{body:T(0,C(t)),headers:T(0,n)})}return e};if(_(R)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return R(e,arguments.length>1?Ne(arguments[1]):{})}}),_(z)){var Pe=function(e){return g(this,ee),new z(e,arguments.length>1?Ne(arguments[1]):{})};ee.constructor=Pe,Pe.prototype=ee,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Pe})}}t.exports={URLSearchParams:ke,getState:I}})),Qp=j((()=>{Od();var e=q(),t=U(),n=Yp(),r=V(),i=di(),a=G(),o=Fr(),s=ii(),c=Fo(),l=_r(),u=Zc(),d=Va(),f=ni(),p=bd().codeAt,m=Xp(),h=Zr(),g=li(),_=Pl(),v=Zp(),y=Nr(),b=y.set,x=y.getterFor(`URL`),S=v.URLSearchParams,C=v.getState,w=r.URL,T=r.TypeError,E=r.parseInt,D=Math.floor,O=Math.pow,k=a(``.charAt),A=a(/./.exec),j=a([].join),M=a(1.1.toString),N=a([].pop),P=a([].push),F=a(``.replace),I=a([].shift),L=a(``.split),R=a(``.slice),z=a(``.toLowerCase),B=a([].unshift),ee=`Invalid authority`,te=`Invalid scheme`,ne=`Invalid host`,re=`Invalid port`,ie=/[a-z]/i,ae=/[\d+-.a-z]/i,oe=/\d/,se=/^0x/i,ce=/^[0-7]+$/,le=/^\d+$/,ue=/^[\da-f]+$/i,de=/[\0\t\n\r #%/:<>?@[\\\]^|]/,fe=/[\0\t\n\r #/:<>?@[\\\]^|]/,pe=/^[\u0000-\u0020]+/,me=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,he=/[\t\n\r]/g,ge,_e=function(e){var t=L(e,`.`),n,r,i,a,o,s,c;if(t.length&&t[t.length-1]===``&&t.length--,n=t.length,n>4)return e;for(r=[],i=0;i<n;i++){if(a=t[i],a===``)return e;if(o=10,a.length>1&&k(a,0)===`0`&&(o=A(se,a)?16:8,a=R(a,o===8?1:2)),a===``)s=0;else{if(!A(o===10?le:o===8?ce:ue,a))return e;s=E(a,o)}P(r,s)}for(i=0;i<n;i++)if(s=r[i],i===n-1){if(s>=O(256,5-n))return null}else if(s>255)return null;for(c=N(r),i=0;i<r.length;i++)c+=r[i]*O(256,3-i);return c},ve=function(e){var t=[0,0,0,0,0,0,0,0],n=0,r=null,i=0,a,o,s,c,l,u,d,f=function(){return k(e,i)};if(f()===`:`){if(k(e,1)!==`:`)return;i+=2,n++,r=n}for(;f();){if(n===8)return;if(f()===`:`){if(r!==null)return;i++,n++,r=n;continue}for(a=o=0;o<4&&A(ue,f());)a=a*16+E(f(),16),i++,o++;if(f()===`.`){if(o===0||(i-=o,n>6))return;for(s=0;f();){if(c=null,s>0)if(f()===`.`&&s<4)i++;else return;if(!A(oe,f()))return;for(;A(oe,f());){if(l=E(f(),10),c===null)c=l;else if(c===0)return;else c=c*10+l;if(c>255)return;i++}t[n]=t[n]*256+c,s++,(s===2||s===4)&&n++}if(s!==4)return;break}else if(f()===`:`){if(i++,!f())return}else if(f())return;t[n++]=a}if(r!==null)for(u=n-r,n=7;n!==0&&u>0;)d=t[n],t[n--]=t[r+u-1],t[r+--u]=d;else if(n!==8)return;return t},ye=function(e){for(var t=null,n=1,r=null,i=0,a=0;a<8;a++)e[a]===0?(r===null&&(r=a),++i):(i>n&&(t=r,n=i),r=null,i=0);return i>n?r:t},be=function(e){var t,n,r,i;if(typeof e==`number`){for(t=[],n=0;n<4;n++)B(t,e%256),e=D(e/256);return j(t,`.`)}if(typeof e==`object`){for(t=``,r=ye(e),n=0;n<8;n++)i&&e[n]===0||(i&&=!1,r===n?(t+=n?`:`:`::`,i=!0):(t+=M(e[n],16),n<7&&(t+=`:`)));return`[`+t+`]`}return e},xe={},Se=u({},xe,{" ":1,'"':1,"<":1,">":1,"`":1}),Ce=u({},Se,{"#":1,"?":1,"{":1,"}":1}),we=u({},Ce,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Te=function(e,t){var n=p(e,0);return n>32&&n<127&&!l(t,e)?e:encodeURIComponent(e)},Ee={ftp:21,file:null,http:80,https:443,ws:80,wss:443},De=function(e,t){var n;return e.length===2&&A(ie,k(e,0))&&((n=k(e,1))===`:`||!t&&n===`|`)},Oe=function(e){var t;return e.length>1&&De(R(e,0,2))&&(e.length===2||(t=k(e,2))===`/`||t===`\\`||t===`?`||t===`#`)},ke=function(e){return e===`.`||z(e)===`%2e`},Ae=function(e){return e=z(e),e===`..`||e===`%2e.`||e===`.%2e`||e===`%2e%2e`},je={},Me={},Ne={},Pe={},Fe={},Ie={},Le={},Re={},ze={},Be={},Ve={},He={},Ue={},We={},Ge={},Ke={},qe={},Je={},Ye={},Xe={},Ze={},Qe=function(e,t,n){var r=h(e),i,a,o;if(t){if(a=this.parse(r),a)throw new T(a);this.searchParams=null}else{if(n!==void 0&&(i=new Qe(n,!0)),a=this.parse(r,null,i),a)throw new T(a);o=C(new S),o.bindURL(this),this.searchParams=o}};Qe.prototype={type:`URL`,parse:function(e,t,n){var r=this,i=t||je,a=0,o=``,s=!1,c=!1,u=!1,p,m,g,_;for(e=h(e),t||(r.scheme=``,r.username=``,r.password=``,r.host=null,r.port=null,r.path=[],r.query=null,r.fragment=null,r.cannotBeABaseURL=!1,e=F(e,pe,``),e=F(e,me,`$1`)),e=F(e,he,``),p=d(e);a<=p.length;){switch(m=p[a],i){case je:if(m&&A(ie,m))o+=z(m),i=Me;else if(t)return te;else{i=Ne;continue}break;case Me:if(m&&(A(ae,m)||m===`+`||m===`-`||m===`.`))o+=z(m);else if(m===`:`){if(t&&(r.isSpecial()!==l(Ee,o)||o===`file`&&(r.includesCredentials()||r.port!==null)||r.scheme===`file`&&!r.host))return;if(r.scheme=o,t){r.isSpecial()&&Ee[r.scheme]===r.port&&(r.port=null);return}o=``,r.scheme===`file`?i=We:r.isSpecial()&&n&&n.scheme===r.scheme?i=Pe:r.isSpecial()?i=Re:p[a+1]===`/`?(i=Fe,a++):(r.cannotBeABaseURL=!0,P(r.path,``),i=Ye)}else if(t)return te;else{o=``,i=Ne,a=0;continue}break;case Ne:if(!n||n.cannotBeABaseURL&&m!==`#`)return te;if(n.cannotBeABaseURL&&m===`#`){r.scheme=n.scheme,r.path=f(n.path),r.query=n.query,r.fragment=``,r.cannotBeABaseURL=!0,i=Ze;break}i=n.scheme===`file`?We:Ie;continue;case Pe:if(m===`/`&&p[a+1]===`/`)i=ze,a++;else{i=Ie;continue}break;case Fe:if(m===`/`){i=Be;break}else{i=Je;continue}case Ie:if(r.scheme=n.scheme,m===ge)r.username=n.username,r.password=n.password,r.host=n.host,r.port=n.port,r.path=f(n.path),r.query=n.query;else if(m===`/`||m===`\\`&&r.isSpecial())i=Le;else if(m===`?`)r.username=n.username,r.password=n.password,r.host=n.host,r.port=n.port,r.path=f(n.path),r.query=``,i=Xe;else if(m===`#`)r.username=n.username,r.password=n.password,r.host=n.host,r.port=n.port,r.path=f(n.path),r.query=n.query,r.fragment=``,i=Ze;else{r.username=n.username,r.password=n.password,r.host=n.host,r.port=n.port,r.path=f(n.path),r.path.length--,i=Je;continue}break;case Le:if(r.isSpecial()&&(m===`/`||m===`\\`))i=ze;else if(m===`/`)i=Be;else{r.username=n.username,r.password=n.password,r.host=n.host,r.port=n.port,i=Je;continue}break;case Re:if(i=ze,m!==`/`||k(o,a+1)!==`/`)continue;a++;break;case ze:if(m!==`/`&&m!==`\\`){i=Be;continue}break;case Be:if(m===`@`){s&&(o=`%40`+o),s=!0,g=d(o);for(var v=0;v<g.length;v++){var y=g[v];if(y===`:`&&!u){u=!0;continue}var b=Te(y,we);u?r.password+=b:r.username+=b}o=``}else if(m===ge||m===`/`||m===`?`||m===`#`||m===`\\`&&r.isSpecial()){if(s&&o===``)return ee;a-=d(o).length+1,o=``,i=Ve}else o+=m;break;case Ve:case He:if(t&&r.scheme===`file`){i=Ke;continue}else if(m===`:`&&!c){if(o===``)return ne;if(_=r.parseHost(o),_)return _;if(o=``,i=Ue,t===He)return}else if(m===ge||m===`/`||m===`?`||m===`#`||m===`\\`&&r.isSpecial()){if(r.isSpecial()&&o===``)return ne;if(t&&o===``&&(r.includesCredentials()||r.port!==null))return;if(_=r.parseHost(o),_)return _;if(o=``,i=qe,t)return;continue}else m===`[`?c=!0:m===`]`&&(c=!1),o+=m;break;case Ue:if(A(oe,m))o+=m;else if(m===ge||m===`/`||m===`?`||m===`#`||m===`\\`&&r.isSpecial()||t){if(o!==``){var x=E(o,10);if(x>65535)return re;r.port=r.isSpecial()&&x===Ee[r.scheme]?null:x,o=``}if(t)return;i=qe;continue}else return re;break;case We:if(r.scheme=`file`,m===`/`||m===`\\`)i=Ge;else if(n&&n.scheme===`file`)switch(m){case ge:r.host=n.host,r.path=f(n.path),r.query=n.query;break;case`?`:r.host=n.host,r.path=f(n.path),r.query=``,i=Xe;break;case`#`:r.host=n.host,r.path=f(n.path),r.query=n.query,r.fragment=``,i=Ze;break;default:Oe(j(f(p,a),``))||(r.host=n.host,r.path=f(n.path),r.shortenPath()),i=Je;continue}else{i=Je;continue}break;case Ge:if(m===`/`||m===`\\`){i=Ke;break}n&&n.scheme===`file`&&!Oe(j(f(p,a),``))&&(De(n.path[0],!0)?P(r.path,n.path[0]):r.host=n.host),i=Je;continue;case Ke:if(m===ge||m===`/`||m===`\\`||m===`?`||m===`#`){if(!t&&De(o))i=Je;else if(o===``){if(r.host=``,t)return;i=qe}else{if(_=r.parseHost(o),_)return _;if(r.host===`localhost`&&(r.host=``),t)return;o=``,i=qe}continue}else o+=m;break;case qe:if(r.isSpecial()){if(i=Je,m!==`/`&&m!==`\\`)continue}else if(!t&&m===`?`)r.query=``,i=Xe;else if(!t&&m===`#`)r.fragment=``,i=Ze;else if(m!==ge&&(i=Je,m!==`/`))continue;break;case Je:if(m===ge||m===`/`||m===`\\`&&r.isSpecial()||!t&&(m===`?`||m===`#`)){if(Ae(o)?(r.shortenPath(),m!==`/`&&!(m===`\\`&&r.isSpecial())&&P(r.path,``)):ke(o)?m!==`/`&&!(m===`\\`&&r.isSpecial())&&P(r.path,``):(r.scheme===`file`&&!r.path.length&&De(o)&&(r.host&&=``,o=k(o,0)+`:`),P(r.path,o)),o=``,r.scheme===`file`&&(m===ge||m===`?`||m===`#`))for(;r.path.length>1&&r.path[0]===``;)I(r.path);m===`?`?(r.query=``,i=Xe):m===`#`&&(r.fragment=``,i=Ze)}else o+=Te(m,Ce);break;case Ye:m===`?`?(r.query=``,i=Xe):m===`#`?(r.fragment=``,i=Ze):m!==ge&&(r.path[0]+=Te(m,xe));break;case Xe:!t&&m===`#`?(r.fragment=``,i=Ze):m!==ge&&(m===`'`&&r.isSpecial()?r.query+=`%27`:m===`#`?r.query+=`%23`:r.query+=Te(m,xe));break;case Ze:m!==ge&&(r.fragment+=Te(m,Se));break}a++}},parseHost:function(e){var t,n,r;if(k(e,0)===`[`){if(k(e,e.length-1)!==`]`||(t=ve(R(e,1,-1)),!t))return ne;this.host=t}else if(this.isSpecial()){if(e=m(e),A(de,e)||(t=_e(e),t===null))return ne;this.host=t}else{if(A(fe,e))return ne;for(t=``,n=d(e),r=0;r<n.length;r++)t+=Te(n[r],xe);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||this.scheme===`file`},includesCredentials:function(){return this.username!==``||this.password!==``},isSpecial:function(){return l(Ee,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;t&&(this.scheme!==`file`||t!==1||!De(e[0],!0))&&e.length--},serialize:function(){var e=this,t=e.scheme,n=e.username,r=e.password,i=e.host,a=e.port,o=e.path,s=e.query,c=e.fragment,l=t+`:`;return i===null?t===`file`&&(l+=`//`):(l+=`//`,e.includesCredentials()&&(l+=n+(r?`:`+r:``)+`@`),l+=be(i),a!==null&&(l+=`:`+a)),l+=e.cannotBeABaseURL?o[0]:o.length?`/`+j(o,`/`):``,s!==null&&(l+=`?`+s),c!==null&&(l+=`#`+c),l},setHref:function(e){var t=this.parse(e);if(t)throw new T(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if(e===`blob`)try{return new $e(e.path[0]).origin}catch{return`null`}return e===`file`||!this.isSpecial()?`null`:e+`://`+be(this.host)+(t===null?``:`:`+t)},getProtocol:function(){return this.scheme+`:`},setProtocol:function(e){this.parse(h(e)+`:`,je)},getUsername:function(){return this.username},setUsername:function(e){var t=d(h(e));if(!this.cannotHaveUsernamePasswordPort()){this.username=``;for(var n=0;n<t.length;n++)this.username+=Te(t[n],we)}},getPassword:function(){return this.password},setPassword:function(e){var t=d(h(e));if(!this.cannotHaveUsernamePasswordPort()){this.password=``;for(var n=0;n<t.length;n++)this.password+=Te(t[n],we)}},getHost:function(){var e=this.host,t=this.port;return e===null?``:t===null?be(e):be(e)+`:`+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Ve)},getHostname:function(){var e=this.host;return e===null?``:be(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,He)},getPort:function(){var e=this.port;return e===null?``:h(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(e=h(e),e===``?this.port=null:this.parse(e,Ue))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?`/`+j(e,`/`):``},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,qe))},getSearch:function(){var e=this.query;return e?`?`+e:``},setSearch:function(e){e=h(e),e===``?this.query=null:(k(e,0)===`?`&&(e=R(e,1)),this.query=``,this.parse(e,Xe)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?`#`+e:``},setHash:function(e){if(e=h(e),e===``){this.fragment=null;return}k(e,0)===`#`&&(e=R(e,1)),this.fragment=``,this.parse(e,Ze)},update:function(){this.query=this.searchParams.serialize()||null}};var $e=function(e){var n=c(this,et),r=b(n,new Qe(e,!1,_(arguments.length,1)>1?arguments[1]:void 0));t||(n.href=r.serialize(),n.origin=r.getOrigin(),n.protocol=r.getProtocol(),n.username=r.getUsername(),n.password=r.getPassword(),n.host=r.getHost(),n.hostname=r.getHostname(),n.port=r.getPort(),n.pathname=r.getPathname(),n.search=r.getSearch(),n.searchParams=r.getSearchParams(),n.hash=r.getHash())},et=$e.prototype,tt=function(e,t){return{get:function(){return x(this)[e]()},set:t&&function(e){return x(this)[t](e)},configurable:!0,enumerable:!0}};if(t&&(s(et,`href`,tt(`serialize`,`setHref`)),s(et,`origin`,tt(`getOrigin`)),s(et,`protocol`,tt(`getProtocol`,`setProtocol`)),s(et,`username`,tt(`getUsername`,`setUsername`)),s(et,`password`,tt(`getPassword`,`setPassword`)),s(et,`host`,tt(`getHost`,`setHost`)),s(et,`hostname`,tt(`getHostname`,`setHostname`)),s(et,`port`,tt(`getPort`,`setPort`)),s(et,`pathname`,tt(`getPathname`,`setPathname`)),s(et,`search`,tt(`getSearch`,`setSearch`)),s(et,`searchParams`,tt(`getSearchParams`)),s(et,`hash`,tt(`getHash`,`setHash`))),o(et,`toJSON`,function(){return x(this).serialize()},{enumerable:!0}),o(et,`toString`,function(){return x(this).serialize()},{enumerable:!0}),w){var nt=w.createObjectURL,rt=w.revokeObjectURL;nt&&o($e,`createObjectURL`,i(nt,w)),rt&&o($e,`revokeObjectURL`,i(rt,w))}g($e,`URL`),e({global:!0,constructor:!0,forced:!n,sham:!t},{URL:$e})})),$p=j((()=>{Qp()})),em=j((()=>{var e=q(),t=tr(),n=H(),r=Pl(),i=Zr(),a=Yp(),o=t(`URL`),s=a&&n(function(){o.canParse()}),c=n(function(){return o.canParse.length!==1});e({target:`URL`,stat:!0,forced:!s||c},{canParse:function(e){var t=r(arguments.length,1),n=i(e),a=t<2||arguments[1]===void 0?void 0:i(arguments[1]);try{return!!new o(n,a)}catch{return!1}}})})),tm=j((()=>{var e=q(),t=tr(),n=Pl(),r=Zr(),i=Yp(),a=t(`URL`);e({target:`URL`,stat:!0,forced:!i},{parse:function(e){var t=n(arguments.length,1),i=r(e),o=t<2||arguments[1]===void 0?void 0:r(arguments[1]);try{return new a(i,o)}catch{return null}}})})),nm=j((()=>{var e=q(),t=W();e({target:`URL`,proto:!0,enumerable:!0},{toJSON:function(){return t(URL.prototype.toString,this)}})})),rm=j((()=>{Zp()})),im=j((()=>{var e=Fr(),t=G(),n=Zr(),r=Pl(),i=URLSearchParams,a=i.prototype,o=t(a.append),s=t(a.delete),c=t(a.forEach),l=t([].push),u=new i(`a=1&a=2&b=3`);u.delete(`a`,1),u.delete(`b`,void 0),u+``!=`a=2`&&e(a,`delete`,function(e){var t=arguments.length,i=t<2?void 0:arguments[1];if(t&&i===void 0)return s(this,e);var a=[];c(this,function(e,t){l(a,{key:t,value:e})}),r(t,1);for(var u=n(e),d=n(i),f=0,p=0,m=!1,h=a.length,g;f<h;)g=a[f++],m||g.key===u?(m=!0,s(this,g.key)):p++;for(;p<h;)g=a[p++],g.key===u&&g.value===d||o(this,g.key,g.value)},{enumerable:!0,unsafe:!0})})),am=j((()=>{var e=Fr(),t=G(),n=Zr(),r=Pl(),i=URLSearchParams,a=i.prototype,o=t(a.getAll),s=t(a.has),c=new i(`a=1`);(c.has(`a`,2)||!c.has(`a`,void 0))&&e(a,`has`,function(e){var t=arguments.length,i=t<2?void 0:arguments[1];if(t&&i===void 0)return s(this,e);var a=o(this,e);r(t,1);for(var c=n(i),l=0;l<a.length;)if(a[l++]===c)return!0;return!1},{enumerable:!0,unsafe:!0})})),om=j((()=>{var e=U(),t=G(),n=ii(),r=URLSearchParams.prototype,i=t(r.forEach);e&&!(`size`in r)&&n(r,`size`,{get:function(){var e=0;return i(this,function(){e++}),e},configurable:!0,enumerable:!0})})),sm=j(((e,t)=>{Ti(),Ei(),Di(),Oi(),ki(),Ai(),ji(),Mi(),Ni(),Pi(),Fi(),Ii(),Li(),Ri(),zi(),Bi(),Vi(),ea(),ta(),ra(),pa(),ma(),ha(),_a(),xa(),wa(),Ea(),Oa(),ka(),Aa(),ja(),Na(),Pa(),Ia(),La(),za(),Ua(),Wa(),Ga(),Ka(),Za(),Qa(),eo(),to(),no(),io(),co(),lo(),uo(),fo(),po(),vo(),bo(),xo(),Co(),Eo(),Do(),Oo(),ko(),Ao(),Mo(),Uo(),Go(),Ko(),Jo(),Yo(),Qo(),ts(),ss(),cs(),ls(),us(),ds(),fs(),gs(),_s(),ys(),bs(),Ss(),Cs(),Ts(),Es(),Ds(),Os(),ks(),As(),Rs(),zs(),Bs(),Vs(),Us(),Ws(),Gs(),Ks(),qs(),Js(),Ys(),Xs(),Ci(),Zs(),ac(),sc(),lc(),uc(),dc(),fc(),pc(),hc(),gc(),_c(),vc(),yc(),bc(),Sc(),Cc(),wc(),Tc(),Ec(),Dc(),Oc(),kc(),Ac(),Pc(),Fc(),Lc(),zc(),Bc(),Vc(),Hc(),Uc(),Gc(),qc(),Jc(),Yc(),Xc(),Qc(),$c(),tl(),nl(),rl(),il(),ol(),sl(),cl(),ll(),ul(),dl(),fl(),pl(),ml(),gl(),_l(),vl(),yl(),bl(),xl(),Sl(),Cl(),wl(),Tl(),El(),Ol(),kl(),Al(),jl(),tu(),nu(),ru(),iu(),au(),ou(),pu(),mu(),hu(),gu(),_u(),vu(),yu(),xu(),Su(),Cu(),wu(),Tu(),Eu(),Du(),Ou(),ku(),Au(),Ru(),Bu(),Vu(),Uu(),Wu(),Gu(),Ku(),qu(),Yu(),ad(),sd(),ld(),dd(),pd(),gd(),vd(),yd(),xd(),wd(),Td(),Ed(),Dd(),Od(),Md(),Nd(),Fd(),Id(),Ld(),Rd(),Bd(),Vd(),Hd(),Ud(),Wd(),Gd(),Kd(),Jd(),Zd(),ef(),rf(),af(),of(),sf(),cf(),lf(),uf(),df(),ff(),pf(),mf(),hf(),gf(),wf(),Tf(),Ef(),Df(),Of(),kf(),Af(),jf(),Mf(),Nf(),Pf(),Ff(),If(),Rf(),zf(),Bf(),Vf(),Hf(),Uf(),Wf(),Gf(),Kf(),qf(),Jf(),Yf(),Xf(),Zf(),Qf(),$f(),ep(),tp(),np(),rp(),ip(),ap(),op(),sp(),cp(),lp(),up(),hp(),_p(),yp(),bp(),xp(),Sp(),Cp(),Ep(),Op(),kp(),Ap(),Np(),Pp(),Ip(),Lp(),Rp(),Hp(),Up(),Wp(),Gp(),Jp(),$p(),em(),tm(),nm(),rm(),im(),am(),om(),t.exports=oi()}));Wn(),sm();function cm(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];!Fe(i)||!Ie(i)||(Object.assign(i.style,n),Object.keys(r).forEach(function(e){var t=r[e];t===!1?i.removeAttribute(e):i.setAttribute(e,t===!0?``:t)}))})}function lm(e){var t=e.state,n={popper:{position:t.options.strategy,left:`0`,top:`0`,margin:`0`},arrow:{position:`absolute`},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],i=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]=``,e},{});!Fe(r)||!Ie(r)||(Object.assign(r.style,a),Object.keys(i).forEach(function(e){r.removeAttribute(e)}))})}}var um={name:`applyStyles`,enabled:!0,phase:`write`,fn:cm,effect:lm,requires:[`computeStyles`]},dm=Ve({defaultModifiers:[it,ht,Ce,um]}),fm=Ve({defaultModifiers:[it,ht,Ce,um,He,Ee,Te,rt,De]}),pm=oe({afterMain:()=>Re,afterRead:()=>Oe,afterWrite:()=>je,applyStyles:()=>um,arrow:()=>rt,auto:()=>Pe,basePlacements:()=>Be,beforeMain:()=>_t,beforeRead:()=>we,beforeWrite:()=>We,bottom:()=>Ae,clippingParents:()=>Ue,computeStyles:()=>Ce,createPopper:()=>fm,createPopperBase:()=>gt,createPopperLite:()=>dm,detectOverflow:()=>Le,end:()=>`end`,eventListeners:()=>it,flip:()=>Ee,hide:()=>De,left:()=>Ge,main:()=>ke,modifierPhases:()=>Ne,offset:()=>He,placements:()=>lt,popper:()=>Me,popperGenerator:()=>Ve,popperOffsets:()=>ht,preventOverflow:()=>Te,read:()=>qe,reference:()=>Ke,right:()=>Je,start:()=>ze,top:()=>`top`,variationPlacements:()=>Se,viewport:()=>Qe,write:()=>ft}),mm=new Map,hm={set(e,t,n){mm.has(e)||mm.set(e,new Map);let r=mm.get(e);if(!r.has(t)&&r.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`);return}r.set(t,n)},get(e,t){return mm.has(e)&&mm.get(e).get(t)||null},remove(e,t){if(!mm.has(e))return;let n=mm.get(e);n.delete(t),n.size===0&&mm.delete(e)}},gm=1e6,_m=1e3,vm=`transitionend`,ym=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),e),bm=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),xm=e=>{do e+=Math.floor(Math.random()*gm);while(document.getElementById(e));return e},Sm=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);return!Number.parseFloat(t)&&!Number.parseFloat(n)?0:(t=t.split(`,`)[0],n=n.split(`,`)[0],(Number.parseFloat(t)+Number.parseFloat(n))*_m)},Cm=e=>{e.dispatchEvent(new Event(vm))},wm=e=>!e||typeof e!=`object`?!1:(e.jquery!==void 0&&(e=e[0]),e.nodeType!==void 0),Tm=e=>wm(e)?e.jquery?e[0]:e:typeof e==`string`&&e.length>0?document.querySelector(ym(e)):null,Em=e=>{if(!wm(e)||e.getClientRects().length===0)return!1;let t=getComputedStyle(e).getPropertyValue(`visibility`)===`visible`,n=e.closest(`details:not([open])`);if(!n)return t;if(n!==e){let t=e.closest(`summary`);if(t&&t.parentNode!==n||t===null)return!1}return t},Dm=e=>!e||e.nodeType!==Node.ELEMENT_NODE||e.classList.contains(`disabled`)?!0:e.disabled===void 0?e.hasAttribute(`disabled`)&&e.getAttribute(`disabled`)!==`false`:e.disabled,Om=e=>{if(!document.documentElement.attachShadow)return null;if(typeof e.getRootNode==`function`){let t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?Om(e.parentNode):null},km=()=>{},Am=e=>{e.offsetHeight},jm=()=>window.jQuery&&!document.body.hasAttribute(`data-bs-no-jquery`)?window.jQuery:null,Mm=[],Nm=e=>{document.readyState===`loading`?(Mm.length||document.addEventListener(`DOMContentLoaded`,()=>{for(let e of Mm)e()}),Mm.push(e)):e()},Pm=()=>document.documentElement.dir===`rtl`,Fm=e=>{Nm(()=>{let t=jm();if(t){let n=e.NAME,r=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=r,e.jQueryInterface)}})},Im=(e,t=[],n=e)=>typeof e==`function`?e(...t):n,Lm=(e,t,n=!0)=>{if(!n){Im(e);return}let r=Sm(t)+5,i=!1,a=({target:n})=>{n===t&&(i=!0,t.removeEventListener(vm,a),Im(e))};t.addEventListener(vm,a),setTimeout(()=>{i||Cm(t)},r)},Rm=(e,t,n,r)=>{let i=e.length,a=e.indexOf(t);return a===-1?!n&&r?e[i-1]:e[0]:(a+=n?1:-1,r&&(a=(a+i)%i),e[Math.max(0,Math.min(a,i-1))])},zm=/[^.]*(?=\..*)\.|.*/,Bm=/\..*/,Vm=/::\d+$/,Hm={},Um=1,Wm={mouseenter:`mouseover`,mouseleave:`mouseout`},Gm=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`.split(`.`));function Km(e,t){return t&&`${t}::${Um++}`||e.uidEvent||Um++}function qm(e){let t=Km(e);return e.uidEvent=t,Hm[t]=Hm[t]||{},Hm[t]}function Jm(e,t){return function n(r){return nh(r,{delegateTarget:e}),n.oneOff&&J.off(e,r.type,t),t.apply(e,[r])}}function Ym(e,t,n){return function r(i){let a=e.querySelectorAll(t);for(let{target:o}=i;o&&o!==this;o=o.parentNode)for(let s of a)if(s===o)return nh(i,{delegateTarget:o}),r.oneOff&&J.off(e,i.type,t,n),n.apply(o,[i])}}function Xm(e,t,n=null){return Object.values(e).find(e=>e.callable===t&&e.delegationSelector===n)}function Zm(e,t,n){let r=typeof t==`string`,i=r?n:t||n,a=th(e);return Gm.has(a)||(a=e),[r,i,a]}function Qm(e,t,n,r,i){if(typeof t!=`string`||!e)return;let[a,o,s]=Zm(t,n,r);t in Wm&&(o=(e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)})(o));let c=qm(e),l=c[s]||(c[s]={}),u=Xm(l,o,a?n:null);if(u){u.oneOff=u.oneOff&&i;return}let d=Km(o,t.replace(zm,``)),f=a?Ym(e,n,o):Jm(e,o);f.delegationSelector=a?n:null,f.callable=o,f.oneOff=i,f.uidEvent=d,l[d]=f,e.addEventListener(s,f,a)}function $m(e,t,n,r,i){let a=Xm(t[n],r,i);a&&(e.removeEventListener(n,a,!!i),delete t[n][a.uidEvent])}function eh(e,t,n,r){let i=t[n]||{};for(let[a,o]of Object.entries(i))a.includes(r)&&$m(e,t,n,o.callable,o.delegationSelector)}function th(e){return e=e.replace(Bm,``),Wm[e]||e}var J={on(e,t,n,r){Qm(e,t,n,r,!1)},one(e,t,n,r){Qm(e,t,n,r,!0)},off(e,t,n,r){if(typeof t!=`string`||!e)return;let[i,a,o]=Zm(t,n,r),s=o!==t,c=qm(e),l=c[o]||{},u=t.startsWith(`.`);if(a!==void 0){if(!Object.keys(l).length)return;$m(e,c,o,a,i?n:null);return}if(u)for(let n of Object.keys(c))eh(e,c,n,t.slice(1));for(let[n,r]of Object.entries(l)){let i=n.replace(Vm,``);(!s||t.includes(i))&&$m(e,c,o,r.callable,r.delegationSelector)}},trigger(e,t,n){if(typeof t!=`string`||!e)return null;let r=jm(),i=t!==th(t),a=null,o=!0,s=!0,c=!1;i&&r&&(a=r.Event(t,n),r(e).trigger(a),o=!a.isPropagationStopped(),s=!a.isImmediatePropagationStopped(),c=a.isDefaultPrevented());let l=nh(new Event(t,{bubbles:o,cancelable:!0}),n);return c&&l.preventDefault(),s&&e.dispatchEvent(l),l.defaultPrevented&&a&&a.preventDefault(),l}};function nh(e,t={}){for(let[n,r]of Object.entries(t))try{e[n]=r}catch{Object.defineProperty(e,n,{configurable:!0,get(){return r}})}return e}function rh(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 ih(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}var ah={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${ih(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${ih(t)}`)},getDataAttributes(e){if(!e)return{};let t={},n=Object.keys(e.dataset).filter(e=>e.startsWith(`bs`)&&!e.startsWith(`bsConfig`));for(let r of n){let n=r.replace(/^bs/,``);n=n.charAt(0).toLowerCase()+n.slice(1,n.length),t[n]=rh(e.dataset[r])}return t},getDataAttribute(e,t){return rh(e.getAttribute(`data-bs-${ih(t)}`))}},oh=class{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw Error(`You have to implement the static method "NAME", for each component!`)}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){let n=wm(t)?ah.getDataAttribute(t,`config`):{};return{...this.constructor.Default,...typeof n==`object`?n:{},...wm(t)?ah.getDataAttributes(t):{},...typeof e==`object`?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(let[n,r]of Object.entries(t)){let t=e[n],i=wm(t)?`element`:bm(t);if(!new RegExp(r).test(i))throw TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${i}" but expected type "${r}".`)}}},sh=`5.3.2`,ch=class extends oh{constructor(e,t){super(),e=Tm(e),e&&(this._element=e,this._config=this._getConfig(t),hm.set(this._element,this.constructor.DATA_KEY,this))}dispose(){hm.remove(this._element,this.constructor.DATA_KEY),J.off(this._element,this.constructor.EVENT_KEY);for(let e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,n=!0){Lm(e,t,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return hm.get(Tm(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t==`object`?t:null)}static get VERSION(){return sh}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}},lh=e=>{let t=e.getAttribute(`data-bs-target`);if(!t||t===`#`){let n=e.getAttribute(`href`);if(!n||!n.includes(`#`)&&!n.startsWith(`.`))return null;n.includes(`#`)&&!n.startsWith(`#`)&&(n=`#${n.split(`#`)[1]}`),t=n&&n!==`#`?ym(n.trim()):null}return t},Y={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(e=>e.matches(t))},parents(e,t){let n=[],r=e.parentNode.closest(t);for(;r;)n.push(r),r=r.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){let t=[`a`,`button`,`input`,`textarea`,`select`,`details`,`[tabindex]`,`[contenteditable="true"]`].map(e=>`${e}:not([tabindex^="-"])`).join(`,`);return this.find(t,e).filter(e=>!Dm(e)&&Em(e))},getSelectorFromElement(e){let t=lh(e);return t&&Y.findOne(t)?t:null},getElementFromSelector(e){let t=lh(e);return t?Y.findOne(t):null},getMultipleElementsFromSelector(e){let t=lh(e);return t?Y.find(t):[]}},uh=(e,t=`hide`)=>{let n=`click.dismiss${e.EVENT_KEY}`,r=e.NAME;J.on(document,n,`[data-bs-dismiss="${r}"]`,function(n){if([`A`,`AREA`].includes(this.tagName)&&n.preventDefault(),Dm(this))return;let i=Y.getElementFromSelector(this)||this.closest(`.${r}`);e.getOrCreateInstance(i)[t]()})},dh=`alert`,fh=`.bs.alert`,ph=`close${fh}`,mh=`closed${fh}`,hh=`fade`,gh=`show`,_h=class e extends ch{static get NAME(){return dh}close(){if(J.trigger(this._element,ph).defaultPrevented)return;this._element.classList.remove(gh);let e=this._element.classList.contains(hh);this._queueCallback(()=>this._destroyElement(),this._element,e)}_destroyElement(){this._element.remove(),J.trigger(this._element,mh),this.dispose()}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this);if(typeof t==`string`){if(n[t]===void 0||t.startsWith(`_`)||t===`constructor`)throw TypeError(`No method named "${t}"`);n[t](this)}})}};uh(_h,`close`),Fm(_h);var vh=`button`,yh=`.bs.button`,bh=`.data-api`,xh=`active`,Sh=`[data-bs-toggle="button"]`,Ch=`click${yh}${bh}`,wh=class e extends ch{static get NAME(){return vh}toggle(){this._element.setAttribute(`aria-pressed`,this._element.classList.toggle(xh))}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this);t===`toggle`&&n[t]()})}};J.on(document,Ch,Sh,e=>{e.preventDefault();let t=e.target.closest(Sh);wh.getOrCreateInstance(t).toggle()}),Fm(wh);var Th=`swipe`,Eh=`.bs.swipe`,Dh=`touchstart${Eh}`,Oh=`touchmove${Eh}`,kh=`touchend${Eh}`,Ah=`pointerdown${Eh}`,jh=`pointerup${Eh}`,Mh=`touch`,Nh=`pen`,Ph=`pointer-event`,Fh=40,Ih={endCallback:null,leftCallback:null,rightCallback:null},Lh={endCallback:`(function|null)`,leftCallback:`(function|null)`,rightCallback:`(function|null)`},Rh=class e extends oh{constructor(t,n){super(),this._element=t,!(!t||!e.isSupported())&&(this._config=this._getConfig(n),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Ih}static get DefaultType(){return Lh}static get NAME(){return Th}dispose(){J.off(this._element,Eh)}_start(e){if(!this._supportPointerEvents){this._deltaX=e.touches[0].clientX;return}this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX)}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),Im(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){let e=Math.abs(this._deltaX);if(e<=Fh)return;let t=e/this._deltaX;this._deltaX=0,t&&Im(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(J.on(this._element,Ah,e=>this._start(e)),J.on(this._element,jh,e=>this._end(e)),this._element.classList.add(Ph)):(J.on(this._element,Dh,e=>this._start(e)),J.on(this._element,Oh,e=>this._move(e)),J.on(this._element,kh,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===Nh||e.pointerType===Mh)}static isSupported(){return`ontouchstart`in document.documentElement||navigator.maxTouchPoints>0}},zh=`carousel`,Bh=`.bs.carousel`,Vh=`.data-api`,Hh=`ArrowLeft`,Uh=`ArrowRight`,Wh=500,Gh=`next`,Kh=`prev`,qh=`left`,Jh=`right`,Yh=`slide${Bh}`,Xh=`slid${Bh}`,Zh=`keydown${Bh}`,Qh=`mouseenter${Bh}`,$h=`mouseleave${Bh}`,eg=`dragstart${Bh}`,tg=`load${Bh}${Vh}`,ng=`click${Bh}${Vh}`,rg=`carousel`,ig=`active`,ag=`slide`,og=`carousel-item-end`,sg=`carousel-item-start`,cg=`carousel-item-next`,lg=`carousel-item-prev`,ug=`.active`,dg=`.carousel-item`,fg=ug+dg,pg=`.carousel-item img`,mg=`.carousel-indicators`,hg=`[data-bs-slide], [data-bs-slide-to]`,gg=`[data-bs-ride="carousel"]`,_g={[Hh]:Jh,[Uh]:qh},vg={interval:5e3,keyboard:!0,pause:`hover`,ride:!1,touch:!0,wrap:!0},yg={interval:`(number|boolean)`,keyboard:`boolean`,pause:`(string|boolean)`,ride:`(boolean|string)`,touch:`boolean`,wrap:`boolean`},bg=class e extends ch{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Y.findOne(mg,this._element),this._addEventListeners(),this._config.ride===rg&&this.cycle()}static get Default(){return vg}static get DefaultType(){return yg}static get NAME(){return zh}next(){this._slide(Gh)}nextWhenVisible(){!document.hidden&&Em(this._element)&&this.next()}prev(){this._slide(Kh)}pause(){this._isSliding&&Cm(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){J.one(this._element,Xh,()=>this.cycle());return}this.cycle()}}to(e){let t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding){J.one(this._element,Xh,()=>this.to(e));return}let n=this._getItemIndex(this._getActive());if(n===e)return;let r=e>n?Gh:Kh;this._slide(r,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&J.on(this._element,Zh,e=>this._keydown(e)),this._config.pause===`hover`&&(J.on(this._element,Qh,()=>this.pause()),J.on(this._element,$h,()=>this._maybeEnableCycle())),this._config.touch&&Rh.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(let e of Y.find(pg,this._element))J.on(e,eg,e=>e.preventDefault());this._swipeHelper=new Rh(this._element,{leftCallback:()=>this._slide(this._directionToOrder(qh)),rightCallback:()=>this._slide(this._directionToOrder(Jh)),endCallback:()=>{this._config.pause===`hover`&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),Wh+this._config.interval))}})}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;let t=_g[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;let t=Y.findOne(ug,this._indicatorsElement);t.classList.remove(ig),t.removeAttribute(`aria-current`);let n=Y.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);n&&(n.classList.add(ig),n.setAttribute(`aria-current`,`true`))}_updateInterval(){let e=this._activeElement||this._getActive();if(!e)return;let t=Number.parseInt(e.getAttribute(`data-bs-interval`),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;let n=this._getActive(),r=e===Gh,i=t||Rm(this._getItems(),n,r,this._config.wrap);if(i===n)return;let a=this._getItemIndex(i),o=t=>J.trigger(this._element,t,{relatedTarget:i,direction:this._orderToDirection(e),from:this._getItemIndex(n),to:a});if(o(Yh).defaultPrevented||!n||!i)return;let s=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(a),this._activeElement=i;let c=r?sg:og,l=r?cg:lg;i.classList.add(l),Am(i),n.classList.add(c),i.classList.add(c),this._queueCallback(()=>{i.classList.remove(c,l),i.classList.add(ig),n.classList.remove(ig,l,c),this._isSliding=!1,o(Xh)},n,this._isAnimated()),s&&this.cycle()}_isAnimated(){return this._element.classList.contains(ag)}_getActive(){return Y.findOne(fg,this._element)}_getItems(){return Y.find(dg,this._element)}_clearInterval(){this._interval&&=(clearInterval(this._interval),null)}_directionToOrder(e){return Pm()?e===qh?Kh:Gh:e===qh?Gh:Kh}_orderToDirection(e){return Pm()?e===Kh?qh:Jh:e===Kh?Jh:qh}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this,t);if(typeof t==`number`){n.to(t);return}if(typeof t==`string`){if(n[t]===void 0||t.startsWith(`_`)||t===`constructor`)throw TypeError(`No method named "${t}"`);n[t]()}})}};J.on(document,ng,hg,function(e){let t=Y.getElementFromSelector(this);if(!t||!t.classList.contains(rg))return;e.preventDefault();let n=bg.getOrCreateInstance(t),r=this.getAttribute(`data-bs-slide-to`);if(r){n.to(r),n._maybeEnableCycle();return}if(ah.getDataAttribute(this,`slide`)===`next`){n.next(),n._maybeEnableCycle();return}n.prev(),n._maybeEnableCycle()}),J.on(window,tg,()=>{let e=Y.find(gg);for(let t of e)bg.getOrCreateInstance(t)}),Fm(bg);var xg=`collapse`,Sg=`.bs.collapse`,Cg=`.data-api`,wg=`show${Sg}`,Tg=`shown${Sg}`,Eg=`hide${Sg}`,Dg=`hidden${Sg}`,Og=`click${Sg}${Cg}`,kg=`show`,Ag=`collapse`,jg=`collapsing`,Mg=`collapsed`,Ng=`:scope .${Ag} .${Ag}`,Pg=`collapse-horizontal`,Fg=`width`,Ig=`height`,Lg=`.collapse.show, .collapse.collapsing`,Rg=`[data-bs-toggle="collapse"]`,zg={parent:null,toggle:!0},Bg={parent:`(null|element)`,toggle:`boolean`},Vg=class e extends ch{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];let n=Y.find(Rg);for(let e of n){let t=Y.getSelectorFromElement(e),n=Y.find(t).filter(e=>e===this._element);t!==null&&n.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return zg}static get DefaultType(){return Bg}static get NAME(){return xg}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(Lg).filter(e=>e!==this._element).map(t=>e.getOrCreateInstance(t,{toggle:!1}))),t.length&&t[0]._isTransitioning||J.trigger(this._element,wg).defaultPrevented)return;for(let e of t)e.hide();let n=this._getDimension();this._element.classList.remove(Ag),this._element.classList.add(jg),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;let r=()=>{this._isTransitioning=!1,this._element.classList.remove(jg),this._element.classList.add(Ag,kg),this._element.style[n]=``,J.trigger(this._element,Tg)},i=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback(r,this._element,!0),this._element.style[n]=`${this._element[i]}px`}hide(){if(this._isTransitioning||!this._isShown()||J.trigger(this._element,Eg).defaultPrevented)return;let e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,Am(this._element),this._element.classList.add(jg),this._element.classList.remove(Ag,kg);for(let e of this._triggerArray){let t=Y.getElementFromSelector(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0;let t=()=>{this._isTransitioning=!1,this._element.classList.remove(jg),this._element.classList.add(Ag),J.trigger(this._element,Dg)};this._element.style[e]=``,this._queueCallback(t,this._element,!0)}_isShown(e=this._element){return e.classList.contains(kg)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=Tm(e.parent),e}_getDimension(){return this._element.classList.contains(Pg)?Fg:Ig}_initializeChildren(){if(!this._config.parent)return;let e=this._getFirstLevelChildren(Rg);for(let t of e){let e=Y.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){let t=Y.find(Ng,this._config.parent);return Y.find(e,this._config.parent).filter(e=>!t.includes(e))}_addAriaAndCollapsedClass(e,t){if(e.length)for(let n of e)n.classList.toggle(Mg,!t),n.setAttribute(`aria-expanded`,t)}static jQueryInterface(t){let n={};return typeof t==`string`&&/show|hide/.test(t)&&(n.toggle=!1),this.each(function(){let r=e.getOrCreateInstance(this,n);if(typeof t==`string`){if(r[t]===void 0)throw TypeError(`No method named "${t}"`);r[t]()}})}};J.on(document,Og,Rg,function(e){(e.target.tagName===`A`||e.delegateTarget&&e.delegateTarget.tagName===`A`)&&e.preventDefault();for(let e of Y.getMultipleElementsFromSelector(this))Vg.getOrCreateInstance(e,{toggle:!1}).toggle()}),Fm(Vg);var Hg=`dropdown`,Ug=`.bs.dropdown`,Wg=`.data-api`,Gg=`Escape`,Kg=`Tab`,qg=`ArrowUp`,Jg=`ArrowDown`,Yg=2,Xg=`hide${Ug}`,Zg=`hidden${Ug}`,Qg=`show${Ug}`,$g=`shown${Ug}`,e_=`click${Ug}${Wg}`,t_=`keydown${Ug}${Wg}`,n_=`keyup${Ug}${Wg}`,r_=`show`,i_=`dropup`,a_=`dropend`,o_=`dropstart`,s_=`dropup-center`,c_=`dropdown-center`,l_=`[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)`,u_=`${l_}.${r_}`,d_=`.dropdown-menu`,f_=`.navbar`,p_=`.navbar-nav`,m_=`.dropdown-menu .dropdown-item:not(.disabled):not(:disabled)`,h_=Pm()?`top-end`:`top-start`,g_=Pm()?`top-start`:`top-end`,__=Pm()?`bottom-end`:`bottom-start`,v_=Pm()?`bottom-start`:`bottom-end`,y_=Pm()?`left-start`:`right-start`,b_=Pm()?`right-start`:`left-start`,x_=`top`,S_=`bottom`,C_={autoClose:!0,boundary:`clippingParents`,display:`dynamic`,offset:[0,2],popperConfig:null,reference:`toggle`},w_={autoClose:`(boolean|string)`,boundary:`(string|element)`,display:`string`,offset:`(array|string|function)`,popperConfig:`(null|object|function)`,reference:`(string|element|object)`},T_=class e extends ch{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=Y.next(this._element,d_)[0]||Y.prev(this._element,d_)[0]||Y.findOne(d_,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return C_}static get DefaultType(){return w_}static get NAME(){return Hg}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Dm(this._element)||this._isShown())return;let e={relatedTarget:this._element};if(!J.trigger(this._element,Qg,e).defaultPrevented){if(this._createPopper(),`ontouchstart`in document.documentElement&&!this._parent.closest(p_))for(let e of[].concat(...document.body.children))J.on(e,`mouseover`,km);this._element.focus(),this._element.setAttribute(`aria-expanded`,!0),this._menu.classList.add(r_),this._element.classList.add(r_),J.trigger(this._element,$g,e)}}hide(){if(Dm(this._element)||!this._isShown())return;let e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!J.trigger(this._element,Xg,e).defaultPrevented){if(`ontouchstart`in document.documentElement)for(let e of[].concat(...document.body.children))J.off(e,`mouseover`,km);this._popper&&this._popper.destroy(),this._menu.classList.remove(r_),this._element.classList.remove(r_),this._element.setAttribute(`aria-expanded`,`false`),ah.removeDataAttribute(this._menu,`popper`),J.trigger(this._element,Zg,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference==`object`&&!wm(e.reference)&&typeof e.reference.getBoundingClientRect!=`function`)throw TypeError(`${Hg.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(pm===void 0)throw TypeError(`Bootstrap's dropdowns require Popper (https://popper.js.org)`);let e=this._element;this._config.reference===`parent`?e=this._parent:wm(this._config.reference)?e=Tm(this._config.reference):typeof this._config.reference==`object`&&(e=this._config.reference);let t=this._getPopperConfig();this._popper=fm(e,this._menu,t)}_isShown(){return this._menu.classList.contains(r_)}_getPlacement(){let e=this._parent;if(e.classList.contains(a_))return y_;if(e.classList.contains(o_))return b_;if(e.classList.contains(s_))return x_;if(e.classList.contains(c_))return S_;let t=getComputedStyle(this._menu).getPropertyValue(`--bs-position`).trim()===`end`;return e.classList.contains(i_)?t?g_:h_:t?v_:__}_detectNavbar(){return this._element.closest(f_)!==null}_getOffset(){let{offset:e}=this._config;return typeof e==`string`?e.split(`,`).map(e=>Number.parseInt(e,10)):typeof e==`function`?t=>e(t,this._element):e}_getPopperConfig(){let e={placement:this._getPlacement(),modifiers:[{name:`preventOverflow`,options:{boundary:this._config.boundary}},{name:`offset`,options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display===`static`)&&(ah.setDataAttribute(this._menu,`popper`,`static`),e.modifiers=[{name:`applyStyles`,enabled:!1}]),{...e,...Im(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){let n=Y.find(m_,this._menu).filter(e=>Em(e));n.length&&Rm(n,t,e===Jg,!n.includes(t)).focus()}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this,t);if(typeof t==`string`){if(n[t]===void 0)throw TypeError(`No method named "${t}"`);n[t]()}})}static clearMenus(t){if(t.button===Yg||t.type===`keyup`&&t.key!==Kg)return;let n=Y.find(u_);for(let r of n){let n=e.getInstance(r);if(!n||n._config.autoClose===!1)continue;let i=t.composedPath(),a=i.includes(n._menu);if(i.includes(n._element)||n._config.autoClose===`inside`&&!a||n._config.autoClose===`outside`&&a||n._menu.contains(t.target)&&(t.type===`keyup`&&t.key===Kg||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;let o={relatedTarget:n._element};t.type===`click`&&(o.clickEvent=t),n._completeHide(o)}}static dataApiKeydownHandler(t){let n=/input|textarea/i.test(t.target.tagName),r=t.key===Gg,i=[qg,Jg].includes(t.key);if(!i&&!r||n&&!r)return;t.preventDefault();let a=this.matches(l_)?this:Y.prev(this,l_)[0]||Y.next(this,l_)[0]||Y.findOne(l_,t.delegateTarget.parentNode),o=e.getOrCreateInstance(a);if(i){t.stopPropagation(),o.show(),o._selectMenuItem(t);return}o._isShown()&&(t.stopPropagation(),o.hide(),a.focus())}};J.on(document,t_,l_,T_.dataApiKeydownHandler),J.on(document,t_,d_,T_.dataApiKeydownHandler),J.on(document,e_,T_.clearMenus),J.on(document,n_,T_.clearMenus),J.on(document,e_,l_,function(e){e.preventDefault(),T_.getOrCreateInstance(this).toggle()}),Fm(T_);var E_=`backdrop`,D_=`fade`,O_=`show`,k_=`mousedown.bs.${E_}`,A_={className:`modal-backdrop`,clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:`body`},j_={className:`string`,clickCallback:`(function|null)`,isAnimated:`boolean`,isVisible:`boolean`,rootElement:`(element|string)`},M_=class extends oh{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return A_}static get DefaultType(){return j_}static get NAME(){return E_}show(e){if(!this._config.isVisible){Im(e);return}this._append();let t=this._getElement();this._config.isAnimated&&Am(t),t.classList.add(O_),this._emulateAnimation(()=>{Im(e)})}hide(e){if(!this._config.isVisible){Im(e);return}this._getElement().classList.remove(O_),this._emulateAnimation(()=>{this.dispose(),Im(e)})}dispose(){this._isAppended&&=(J.off(this._element,k_),this._element.remove(),!1)}_getElement(){if(!this._element){let e=document.createElement(`div`);e.className=this._config.className,this._config.isAnimated&&e.classList.add(D_),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=Tm(e.rootElement),e}_append(){if(this._isAppended)return;let e=this._getElement();this._config.rootElement.append(e),J.on(e,k_,()=>{Im(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){Lm(e,this._getElement(),this._config.isAnimated)}},N_=`focustrap`,P_=`.bs.focustrap`,F_=`focusin${P_}`,I_=`keydown.tab${P_}`,L_=`Tab`,R_=`forward`,z_=`backward`,B_={autofocus:!0,trapElement:null},V_={autofocus:`boolean`,trapElement:`element`},H_=class extends oh{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return B_}static get DefaultType(){return V_}static get NAME(){return N_}activate(){this._isActive||=(this._config.autofocus&&this._config.trapElement.focus(),J.off(document,P_),J.on(document,F_,e=>this._handleFocusin(e)),J.on(document,I_,e=>this._handleKeydown(e)),!0)}deactivate(){this._isActive&&(this._isActive=!1,J.off(document,P_))}_handleFocusin(e){let{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;let n=Y.focusableChildren(t);n.length===0?t.focus():this._lastTabNavDirection===z_?n[n.length-1].focus():n[0].focus()}_handleKeydown(e){e.key===L_&&(this._lastTabNavDirection=e.shiftKey?z_:R_)}},U_=`.fixed-top, .fixed-bottom, .is-fixed, .sticky-top`,W_=`.sticky-top`,G_=`padding-right`,K_=`margin-right`,q_=class{constructor(){this._element=document.body}getWidth(){let e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){let e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,G_,t=>t+e),this._setElementAttributes(U_,G_,t=>t+e),this._setElementAttributes(W_,K_,t=>t-e)}reset(){this._resetElementAttributes(this._element,`overflow`),this._resetElementAttributes(this._element,G_),this._resetElementAttributes(U_,G_),this._resetElementAttributes(W_,K_)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,`overflow`),this._element.style.overflow=`hidden`}_setElementAttributes(e,t,n){let r=this.getWidth();this._applyManipulationCallback(e,e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+r)return;this._saveInitialAttribute(e,t);let i=window.getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,`${n(Number.parseFloat(i))}px`)})}_saveInitialAttribute(e,t){let n=e.style.getPropertyValue(t);n&&ah.setDataAttribute(e,t,n)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,e=>{let n=ah.getDataAttribute(e,t);if(n===null){e.style.removeProperty(t);return}ah.removeDataAttribute(e,t),e.style.setProperty(t,n)})}_applyManipulationCallback(e,t){if(wm(e)){t(e);return}for(let n of Y.find(e,this._element))t(n)}},J_=`modal`,Y_=`.bs.modal`,X_=`.data-api`,Z_=`Escape`,Q_=`hide${Y_}`,$_=`hidePrevented${Y_}`,ev=`hidden${Y_}`,tv=`show${Y_}`,nv=`shown${Y_}`,rv=`resize${Y_}`,iv=`click.dismiss${Y_}`,av=`mousedown.dismiss${Y_}`,ov=`keydown.dismiss${Y_}`,sv=`click${Y_}${X_}`,cv=`modal-open`,lv=`fade`,uv=`show`,dv=`modal-static`,fv=`.modal.show`,pv=`.modal-dialog`,mv=`.modal-body`,hv=`[data-bs-toggle="modal"]`,gv={backdrop:!0,focus:!0,keyboard:!0},_v={backdrop:`(boolean|string)`,focus:`boolean`,keyboard:`boolean`},vv=class e extends ch{constructor(e,t){super(e,t),this._dialog=Y.findOne(pv,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new q_,this._addEventListeners()}static get Default(){return gv}static get DefaultType(){return _v}static get NAME(){return J_}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||J.trigger(this._element,tv,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(cv),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||J.trigger(this._element,Q_).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(uv),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){J.off(window,Y_),J.off(this._dialog,Y_),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new M_({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new H_({trapElement:this._element})}_showElement(e){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;let t=Y.findOne(mv,this._dialog);t&&(t.scrollTop=0),Am(this._element),this._element.classList.add(uv),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,J.trigger(this._element,nv,{relatedTarget:e})},this._dialog,this._isAnimated())}_addEventListeners(){J.on(this._element,ov,e=>{if(e.key===Z_){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),J.on(window,rv,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),J.on(this._element,av,e=>{J.one(this._element,iv,t=>{if(!(this._element!==e.target||this._element!==t.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(cv),this._resetAdjustments(),this._scrollBar.reset(),J.trigger(this._element,ev)})}_isAnimated(){return this._element.classList.contains(lv)}_triggerBackdropTransition(){if(J.trigger(this._element,$_).defaultPrevented)return;let e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;t===`hidden`||this._element.classList.contains(dv)||(e||(this._element.style.overflowY=`hidden`),this._element.classList.add(dv),this._queueCallback(()=>{this._element.classList.remove(dv),this._queueCallback(()=>{this._element.style.overflowY=t},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){let e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=t>0;if(n&&!e){let e=Pm()?`paddingLeft`:`paddingRight`;this._element.style[e]=`${t}px`}if(!n&&e){let e=Pm()?`paddingRight`:`paddingLeft`;this._element.style[e]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft=``,this._element.style.paddingRight=``}static jQueryInterface(t,n){return this.each(function(){let r=e.getOrCreateInstance(this,t);if(typeof t==`string`){if(r[t]===void 0)throw TypeError(`No method named "${t}"`);r[t](n)}})}};J.on(document,sv,hv,function(e){let t=Y.getElementFromSelector(this);[`A`,`AREA`].includes(this.tagName)&&e.preventDefault(),J.one(t,tv,e=>{e.defaultPrevented||J.one(t,ev,()=>{Em(this)&&this.focus()})});let n=Y.findOne(fv);n&&vv.getInstance(n).hide(),vv.getOrCreateInstance(t).toggle(this)}),uh(vv),Fm(vv);var yv=`offcanvas`,bv=`.bs.offcanvas`,xv=`.data-api`,Sv=`load${bv}${xv}`,Cv=`Escape`,wv=`show`,Tv=`showing`,Ev=`hiding`,Dv=`offcanvas-backdrop`,Ov=`.offcanvas.show`,kv=`show${bv}`,Av=`shown${bv}`,jv=`hide${bv}`,Mv=`hidePrevented${bv}`,Nv=`hidden${bv}`,Pv=`resize${bv}`,Fv=`click${bv}${xv}`,Iv=`keydown.dismiss${bv}`,Lv=`[data-bs-toggle="offcanvas"]`,Rv={backdrop:!0,keyboard:!0,scroll:!1},zv={backdrop:`(boolean|string)`,keyboard:`boolean`,scroll:`boolean`},Bv=class e extends ch{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Rv}static get DefaultType(){return zv}static get NAME(){return yv}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||J.trigger(this._element,kv,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||new q_().hide(),this._element.setAttribute(`aria-modal`,!0),this._element.setAttribute(`role`,`dialog`),this._element.classList.add(Tv),this._queueCallback(()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(wv),this._element.classList.remove(Tv),J.trigger(this._element,Av,{relatedTarget:e})},this._element,!0))}hide(){!this._isShown||J.trigger(this._element,jv).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Ev),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove(wv,Ev),this._element.removeAttribute(`aria-modal`),this._element.removeAttribute(`role`),this._config.scroll||new q_().reset(),J.trigger(this._element,Nv)},this._element,!0))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){let e=()=>{if(this._config.backdrop===`static`){J.trigger(this._element,Mv);return}this.hide()},t=!!this._config.backdrop;return new M_({className:Dv,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?e:null})}_initializeFocusTrap(){return new H_({trapElement:this._element})}_addEventListeners(){J.on(this._element,Iv,e=>{if(e.key===Cv){if(this._config.keyboard){this.hide();return}J.trigger(this._element,Mv)}})}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this,t);if(typeof t==`string`){if(n[t]===void 0||t.startsWith(`_`)||t===`constructor`)throw TypeError(`No method named "${t}"`);n[t](this)}})}};J.on(document,Fv,Lv,function(e){let t=Y.getElementFromSelector(this);if([`A`,`AREA`].includes(this.tagName)&&e.preventDefault(),Dm(this))return;J.one(t,Nv,()=>{Em(this)&&this.focus()});let n=Y.findOne(Ov);n&&n!==t&&Bv.getInstance(n).hide(),Bv.getOrCreateInstance(t).toggle(this)}),J.on(window,Sv,()=>{for(let e of Y.find(Ov))Bv.getOrCreateInstance(e).show()}),J.on(window,Pv,()=>{for(let e of Y.find(`[aria-modal][class*=show][class*=offcanvas-]`))getComputedStyle(e).position!==`fixed`&&Bv.getOrCreateInstance(e).hide()}),uh(Bv),Fm(Bv);var Vv=/^aria-[\w-]*$/i,Hv={"*":[`class`,`dir`,`id`,`lang`,`role`,Vv],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:[]},Uv=new Set([`background`,`cite`,`href`,`itemtype`,`longdesc`,`poster`,`src`,`xlink:href`]),Wv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Gv=(e,t)=>{let n=e.nodeName.toLowerCase();return t.includes(n)?Uv.has(n)?!!Wv.test(e.nodeValue):!0:t.filter(e=>e instanceof RegExp).some(e=>e.test(n))};function Kv(e,t,n){if(!e.length)return e;if(n&&typeof n==`function`)return n(e);let r=new window.DOMParser().parseFromString(e,`text/html`),i=[].concat(...r.body.querySelectorAll(`*`));for(let e of i){let n=e.nodeName.toLowerCase();if(!Object.keys(t).includes(n)){e.remove();continue}let r=[].concat(...e.attributes),i=[].concat(t[`*`]||[],t[n]||[]);for(let t of r)Gv(t,i)||e.removeAttribute(t.nodeName)}return r.body.innerHTML}var qv=`TemplateFactory`,Jv={allowList:Hv,content:{},extraClass:``,html:!1,sanitize:!0,sanitizeFn:null,template:`<div></div>`},Yv={allowList:`object`,content:`object`,extraClass:`(string|function)`,html:`boolean`,sanitize:`boolean`,sanitizeFn:`(null|function)`,template:`string`},Xv={entry:`(string|element|function|null)`,selector:`(string|element)`},Zv=class extends oh{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Jv}static get DefaultType(){return Yv}static get NAME(){return qv}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){let e=document.createElement(`div`);e.innerHTML=this._maybeSanitize(this._config.template);for(let[t,n]of Object.entries(this._config.content))this._setContent(e,n,t);let t=e.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&t.classList.add(...n.split(` `)),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(let[t,n]of Object.entries(e))super._typeCheckConfig({selector:t,entry:n},Xv)}_setContent(e,t,n){let r=Y.findOne(n,e);if(r){if(t=this._resolvePossibleFunction(t),!t){r.remove();return}if(wm(t)){this._putElementInTemplate(Tm(t),r);return}if(this._config.html){r.innerHTML=this._maybeSanitize(t);return}r.textContent=t}}_maybeSanitize(e){return this._config.sanitize?Kv(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return Im(e,[this])}_putElementInTemplate(e,t){if(this._config.html){t.innerHTML=``,t.append(e);return}t.textContent=e.textContent}},Qv=`tooltip`,$v=new Set([`sanitize`,`allowList`,`sanitizeFn`]),ey=`fade`,ty=`modal`,ny=`show`,ry=`.tooltip-inner`,iy=`.${ty}`,ay=`hide.bs.modal`,oy=`hover`,sy=`focus`,cy=`click`,ly=`manual`,uy=`hide`,dy=`hidden`,fy=`show`,py=`shown`,my=`inserted`,hy=`click`,gy=`focusin`,_y=`focusout`,vy=`mouseenter`,yy=`mouseleave`,by={AUTO:`auto`,TOP:`top`,RIGHT:Pm()?`left`:`right`,BOTTOM:`bottom`,LEFT:Pm()?`right`:`left`},xy={allowList:Hv,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`},Sy={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`},Cy=class e extends ch{constructor(e,t){if(pm===void 0)throw TypeError(`Bootstrap's tooltips require Popper (https://popper.js.org)`);super(e,t),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 xy}static get DefaultType(){return Sy}static get NAME(){return Qv}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),J.off(this._element.closest(iy),ay,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 Error(`Please use show on visible elements`);if(!(this._isWithContent()&&this._isEnabled))return;let e=J.trigger(this._element,this.constructor.eventName(fy)),t=(Om(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this._disposePopper();let n=this._getTipElement();this._element.setAttribute(`aria-describedby`,n.getAttribute(`id`));let{container:r}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(r.append(n),J.trigger(this._element,this.constructor.eventName(my))),this._popper=this._createPopper(n),n.classList.add(ny),`ontouchstart`in document.documentElement)for(let e of[].concat(...document.body.children))J.on(e,`mouseover`,km);this._queueCallback(()=>{J.trigger(this._element,this.constructor.eventName(py)),this._isHovered===!1&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(!(!this._isShown()||J.trigger(this._element,this.constructor.eventName(uy)).defaultPrevented)){if(this._getTipElement().classList.remove(ny),`ontouchstart`in document.documentElement)for(let e of[].concat(...document.body.children))J.off(e,`mouseover`,km);this._activeTrigger[cy]=!1,this._activeTrigger[sy]=!1,this._activeTrigger[oy]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute(`aria-describedby`),J.trigger(this._element,this.constructor.eventName(dy)))},this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||=this._createTipElement(this._newContent||this._getContentForTemplate()),this.tip}_createTipElement(e){let t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(ey,ny),t.classList.add(`bs-${this.constructor.NAME}-auto`);let n=xm(this.constructor.NAME).toString();return t.setAttribute(`id`,n),this._isAnimated()&&t.classList.add(ey),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Zv({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[ry]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute(`data-bs-original-title`)}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(ey)}_isShown(){return this.tip&&this.tip.classList.contains(ny)}_createPopper(e){let t=by[Im(this._config.placement,[this,e,this._element]).toUpperCase()];return fm(this._element,e,this._getPopperConfig(t))}_getOffset(){let{offset:e}=this._config;return typeof e==`string`?e.split(`,`).map(e=>Number.parseInt(e,10)):typeof e==`function`?t=>e(t,this._element):e}_resolvePossibleFunction(e){return Im(e,[this._element])}_getPopperConfig(e){let t={placement:e,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:e=>{this._getTipElement().setAttribute(`data-popper-placement`,e.state.placement)}}]};return{...t,...Im(this._config.popperConfig,[t])}}_setListeners(){let e=this._config.trigger.split(` `);for(let t of e)if(t===`click`)J.on(this._element,this.constructor.eventName(hy),this._config.selector,e=>{this._initializeOnDelegatedTarget(e).toggle()});else if(t!==ly){let e=t===oy?this.constructor.eventName(vy):this.constructor.eventName(gy),n=t===oy?this.constructor.eventName(yy):this.constructor.eventName(_y);J.on(this._element,e,this._config.selector,e=>{let t=this._initializeOnDelegatedTarget(e);t._activeTrigger[e.type===`focusin`?sy:oy]=!0,t._enter()}),J.on(this._element,n,this._config.selector,e=>{let t=this._initializeOnDelegatedTarget(e);t._activeTrigger[e.type===`focusout`?sy:oy]=t._element.contains(e.relatedTarget),t._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},J.on(this._element.closest(iy),ay,this._hideModalHandler)}_fixTitle(){let e=this._element.getAttribute(`title`);e&&(!this._element.getAttribute(`aria-label`)&&!this._element.textContent.trim()&&this._element.setAttribute(`aria-label`,e),this._element.setAttribute(`data-bs-original-title`,e),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(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){let t=ah.getDataAttributes(this._element);for(let e of Object.keys(t))$v.has(e)&&delete t[e];return e={...t,...typeof e==`object`&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:Tm(e.container),typeof e.delay==`number`&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title==`number`&&(e.title=e.title.toString()),typeof e.content==`number`&&(e.content=e.content.toString()),e}_getDelegateConfig(){let e={};for(let[t,n]of Object.entries(this._config))this.constructor.Default[t]!==n&&(e[t]=n);return e.selector=!1,e.trigger=`manual`,e}_disposePopper(){this._popper&&=(this._popper.destroy(),null),this.tip&&=(this.tip.remove(),null)}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this,t);if(typeof t==`string`){if(n[t]===void 0)throw TypeError(`No method named "${t}"`);n[t]()}})}};Fm(Cy);var wy=`popover`,Ty=`.popover-header`,Ey=`.popover-body`,Dy={...Cy.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`},Oy={...Cy.DefaultType,content:`(null|string|element|function)`};Fm(class e extends Cy{static get Default(){return Dy}static get DefaultType(){return Oy}static get NAME(){return wy}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Ty]:this._getTitle(),[Ey]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this,t);if(typeof t==`string`){if(n[t]===void 0)throw TypeError(`No method named "${t}"`);n[t]()}})}});var ky=`scrollspy`,Ay=`.bs.scrollspy`,jy=`.data-api`,My=`activate${Ay}`,Ny=`click${Ay}`,Py=`load${Ay}${jy}`,Fy=`dropdown-item`,Iy=`active`,Ly=`[data-bs-spy="scroll"]`,Ry=`[href]`,zy=`.nav, .list-group`,By=`.nav-link`,Vy=`${By}, .nav-item > ${By}, .list-group-item`,Hy=`.dropdown`,Uy=`.dropdown-toggle`,Wy={offset:null,rootMargin:`0px 0px -25%`,smoothScroll:!1,target:null,threshold:[.1,.5,1]},Gy={offset:`(number|null)`,rootMargin:`string`,smoothScroll:`boolean`,target:`element`,threshold:`array`},Ky=class e extends ch{constructor(e,t){super(e,t),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 Wy}static get DefaultType(){return Gy}static get NAME(){return ky}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(let e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=Tm(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold==`string`&&(e.threshold=e.threshold.split(`,`).map(e=>Number.parseFloat(e))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(J.off(this._config.target,Ny),J.on(this._config.target,Ny,Ry,e=>{let t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();let n=this._rootElement||window,r=t.offsetTop-this._element.offsetTop;if(n.scrollTo){n.scrollTo({top:r,behavior:`smooth`});return}n.scrollTop=r}}))}_getNewObserver(){let e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(e=>this._observerCallback(e),e)}_observerCallback(e){let t=e=>this._targetLinks.get(`#${e.target.id}`),n=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},r=(this._rootElement||document.documentElement).scrollTop,i=r>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=r;for(let a of e){if(!a.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(a));continue}let e=a.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&e){if(n(a),!r)return;continue}!i&&!e&&n(a)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;let e=Y.find(Ry,this._config.target);for(let t of e){if(!t.hash||Dm(t))continue;let e=Y.findOne(decodeURI(t.hash),this._element);Em(e)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,e))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(Iy),this._activateParents(e),J.trigger(this._element,My,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(Fy)){Y.findOne(Uy,e.closest(Hy)).classList.add(Iy);return}for(let t of Y.parents(e,zy))for(let e of Y.prev(t,Vy))e.classList.add(Iy)}_clearActiveClass(e){e.classList.remove(Iy);let t=Y.find(`${Ry}.${Iy}`,e);for(let e of t)e.classList.remove(Iy)}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this,t);if(typeof t==`string`){if(n[t]===void 0||t.startsWith(`_`)||t===`constructor`)throw TypeError(`No method named "${t}"`);n[t]()}})}};J.on(window,Py,()=>{for(let e of Y.find(Ly))Ky.getOrCreateInstance(e)}),Fm(Ky);var qy=`tab`,Jy=`.bs.tab`,Yy=`hide${Jy}`,Xy=`hidden${Jy}`,Zy=`show${Jy}`,Qy=`shown${Jy}`,$y=`click${Jy}`,eb=`keydown${Jy}`,tb=`load${Jy}`,nb=`ArrowLeft`,rb=`ArrowRight`,ib=`ArrowUp`,ab=`ArrowDown`,ob=`Home`,sb=`End`,cb=`active`,lb=`fade`,ub=`show`,db=`dropdown`,fb=`.dropdown-toggle`,pb=`.dropdown-menu`,mb=`:not(${fb})`,hb=`.list-group, .nav, [role="tablist"]`,gb=`.nav-item, .list-group-item`,_b=`.nav-link${mb}, .list-group-item${mb}, [role="tab"]${mb}`,vb=`[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]`,yb=`${_b}, ${vb}`,bb=`.${cb}[data-bs-toggle="tab"], .${cb}[data-bs-toggle="pill"], .${cb}[data-bs-toggle="list"]`,xb=class e extends ch{constructor(e){super(e),this._parent=this._element.closest(hb),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),J.on(this._element,eb,e=>this._keydown(e)))}static get NAME(){return qy}show(){let e=this._element;if(this._elemIsActive(e))return;let t=this._getActiveElem(),n=t?J.trigger(t,Yy,{relatedTarget:e}):null;J.trigger(e,Zy,{relatedTarget:t}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){e&&(e.classList.add(cb),this._activate(Y.getElementFromSelector(e)),this._queueCallback(()=>{if(e.getAttribute(`role`)!==`tab`){e.classList.add(ub);return}e.removeAttribute(`tabindex`),e.setAttribute(`aria-selected`,!0),this._toggleDropDown(e,!0),J.trigger(e,Qy,{relatedTarget:t})},e,e.classList.contains(lb)))}_deactivate(e,t){e&&(e.classList.remove(cb),e.blur(),this._deactivate(Y.getElementFromSelector(e)),this._queueCallback(()=>{if(e.getAttribute(`role`)!==`tab`){e.classList.remove(ub);return}e.setAttribute(`aria-selected`,!1),e.setAttribute(`tabindex`,`-1`),this._toggleDropDown(e,!1),J.trigger(e,Xy,{relatedTarget:t})},e,e.classList.contains(lb)))}_keydown(t){if(![nb,rb,ib,ab,ob,sb].includes(t.key))return;t.stopPropagation(),t.preventDefault();let n=this._getChildren().filter(e=>!Dm(e)),r;if([ob,sb].includes(t.key))r=n[t.key===ob?0:n.length-1];else{let e=[rb,ab].includes(t.key);r=Rm(n,t.target,e,!0)}r&&(r.focus({preventScroll:!0}),e.getOrCreateInstance(r).show())}_getChildren(){return Y.find(yb,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,`role`,`tablist`);for(let e of t)this._setInitialAttributesOnChild(e)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);let t=this._elemIsActive(e),n=this._getOuterElement(e);e.setAttribute(`aria-selected`,t),n!==e&&this._setAttributeIfNotExists(n,`role`,`presentation`),t||e.setAttribute(`tabindex`,`-1`),this._setAttributeIfNotExists(e,`role`,`tab`),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){let t=Y.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,`role`,`tabpanel`),e.id&&this._setAttributeIfNotExists(t,`aria-labelledby`,`${e.id}`))}_toggleDropDown(e,t){let n=this._getOuterElement(e);if(!n.classList.contains(db))return;let r=(e,r)=>{let i=Y.findOne(e,n);i&&i.classList.toggle(r,t)};r(fb,cb),r(pb,ub),n.setAttribute(`aria-expanded`,t)}_setAttributeIfNotExists(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}_elemIsActive(e){return e.classList.contains(cb)}_getInnerElement(e){return e.matches(yb)?e:Y.findOne(yb,e)}_getOuterElement(e){return e.closest(gb)||e}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this);if(typeof t==`string`){if(n[t]===void 0||t.startsWith(`_`)||t===`constructor`)throw TypeError(`No method named "${t}"`);n[t]()}})}};J.on(document,$y,vb,function(e){[`A`,`AREA`].includes(this.tagName)&&e.preventDefault(),!Dm(this)&&xb.getOrCreateInstance(this).show()}),J.on(window,tb,()=>{for(let e of Y.find(bb))xb.getOrCreateInstance(e)}),Fm(xb);var Sb=`toast`,Cb=`.bs.toast`,wb=`mouseover${Cb}`,Tb=`mouseout${Cb}`,Eb=`focusin${Cb}`,Db=`focusout${Cb}`,Ob=`hide${Cb}`,kb=`hidden${Cb}`,Ab=`show${Cb}`,jb=`shown${Cb}`,Mb=`fade`,Nb=`hide`,Pb=`show`,Fb=`showing`,Ib={animation:`boolean`,autohide:`boolean`,delay:`number`},Lb={animation:!0,autohide:!0,delay:5e3},Rb=class e extends ch{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Lb}static get DefaultType(){return Ib}static get NAME(){return Sb}show(){J.trigger(this._element,Ab).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add(Mb),this._element.classList.remove(Nb),Am(this._element),this._element.classList.add(Pb,Fb),this._queueCallback(()=>{this._element.classList.remove(Fb),J.trigger(this._element,jb),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){!this.isShown()||J.trigger(this._element,Ob).defaultPrevented||(this._element.classList.add(Fb),this._queueCallback(()=>{this._element.classList.add(Nb),this._element.classList.remove(Fb,Pb),J.trigger(this._element,kb)},this._element,this._config.animation))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Pb),super.dispose()}isShown(){return this._element.classList.contains(Pb)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,t){switch(e.type){case`mouseover`:case`mouseout`:this._hasMouseInteraction=t;break;case`focusin`:case`focusout`:this._hasKeyboardInteraction=t;break}if(t){this._clearTimeout();return}let n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){J.on(this._element,wb,e=>this._onInteraction(e,!0)),J.on(this._element,Tb,e=>this._onInteraction(e,!1)),J.on(this._element,Eb,e=>this._onInteraction(e,!0)),J.on(this._element,Db,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this,t);if(typeof t==`string`){if(n[t]===void 0)throw TypeError(`No method named "${t}"`);n[t](this)}})}};uh(Rb),Fm(Rb);var zb=B(i()),X=function(e){return 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.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.HasPartnerProfiles=`has_partner_profiles`,e.PreferredTheme=`preferred_theme`,e.HasHubEntry=`has_hub_entry`,e.HasEnabledViviPlayback=`has_enabled_vivi_playback`,e.HasEnabledViviStudentCasting=`has_enabled_vivi_student_casting`,e.HasEnabledAppleTvPlayback=`has_enabled_apple_tv_playback`,e.HasDisplayedTutorialVideosProductTip=`has_displayed_tutorial_videos_spotlight`,e.HasDismissedAnalyticsTutorial=`has_dismissed_analytics_tutorial`,e.HasDismissedOpenClassroomsTutorial=`has_dismissed_open_classrooms_tutorial`,e.HasDismissedSearchAndDiscoverTutorial=`has_dismissed_search_and_discover_tutorial`,e.HasDismissedClassroomsTutorial=`has_dismissed_classrooms_tutorial`,e.HasDismissedMySharesTutorial=`has_dismissed_my_shares_tutorial`,e.HasDismissedMyVideosTutorial=`has_dismissed_my_videos_tutorial`,e.HasDismissedPlaylistsTutorial=`has_dismissed_playlists_tutorial`,e.ShowExchangeSearchResultsUser=`show_exchange_search_results_user`,e.UserEnabledPreviewVideos=`user_enabled_preview_videos`,e.LiteUpgradeTypeCustomer=`lite_upgrade_type_customer`,e.PolicyEndTime=`policy_end_time`,e.ReferralCount=`referral_count`,e.HasCompletedOnboardingV1=`has_completed_onboarding`,e.BulkOnboardingPreferencesState=`bulk_onboarding_preferences_state`,e.HasCompletedOnboardingV2=`has_completed_onboarding_v2`,e.HasExitedOnboarding=`has_exited_onboarding`,e.HasCompletedOnboardingStepSelectRole=`has_completed_onboarding_step_select_role`,e.HasCompletedOnboardingStepSchoolLevel=`has_completed_onboarding_step_school_level`,e.HasCompletedOnboardingStepAudiencePreferences=`has_completed_onboarding_step_audience_preferences`,e.HasCompletedOnboardingStepSelectCurriculum=`has_completed_onboarding_step_select_curriculum`,e.HasCompletedOnboardingStepSubjects=`has_completed_onboarding_step_subjects`,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.DefaultCitationStyle=`default_citation_style`,e.HasStudentReach=`has_student_reach`,e.StudentReachClassroomSize=`student_reach_classroom_size`,e.SchoolStartTime=`school_start_time`,e.SchoolEndTime=`school_end_time`,e.Timezone=`timezone_iana`,e.ClickViewLive=`clickview_live`,e.HasStudentLowerPresentations=`students_lower_presentations`,e}({}),Bb=class extends _e{get name(){return`ErrorPageError`}},Vb=`shared.unspecifiedError`,Hb=class extends Bb{constructor(){super(Ft.getPhrase(Vb,`title`))}get name(){return`UnspecifiedError`}get heading(){return Ft.getPhrase(Vb,`heading`)}get description(){return Ft.getPhrase(Vb,`description`)}get cta(){return!1}},Ub={get(e,t){return e?.[t]?.value},getCustomerSettingsRequest(e,t){return e?.isAuthenticated?Kb.customerSettings(t?.success,t?.error):Kb._publicCustomerSettings(t?.success,t?.error)},getUserSettingsRequest(e,t){return e?.isAuthenticated?Kb.userSettings(t?.success,t?.error):Kb._publicUserSettings(t?.success,t?.error)},formatSettings(e){return e.reduce((e,t)=>(e[t.name]=t,e),{})}},Wb=[{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},{name:`has_partner_profiles`,value:!0}],Gb=()=>(y.throw(new M(`SettingRequests.setPublicFormatSettings must be called before using public requests in SettingRequests`)),null),Kb={setPublicFormatSettings(e){e&&(Gb=e)},organisationSettings(e,t,n){return{key:`settings:organisation:${e}`,url:`{gateway}/v1/organisations/${e}/settings`,normalizeOptions:{idAttribute:`name`},formatData:Ub.formatSettings,success:t,error:n}},customerSetting(e,t,n){return{key:`settings:customer:${e}`,url:`{gateway}/v1/customers/me/settings?type=${e}`,normalizeOptions:{idAttribute:`name`},formatData:e=>Nt.first(e),success:t,error:n}},customerSettings(e,t){return{key:`customer:settings`,url:`{gateway}/v1/customers/me/settings?(customerSettings)`,normalizeOptions:{idAttribute:`name`},formatData:Ub.formatSettings,success:e,error:t}},_publicCustomerSettings(e,t){return{key:`customer:settings`,url:`simulated:/api/domain/v3/settings/public`,normalizeOptions:{idAttribute:`name`},formatData:Gb,success:e,error:t,successResponse:()=>Wb}},_publicUserSettings(e,t){return{key:`user:settings`,url:`simulated:/api/domain/v3/settings/public`,normalizeOptions:{idAttribute:`name`},formatData:Gb,success:e,error:t,successResponse:()=>Wb}},userSetting(e,t,n){return{key:`settings:user:${e}`,url:`{gateway}/v1/customers/me/settings?type=${e}`,normalizeOptions:{idAttribute:`name`},formatData:e=>Nt.first(e),success:t,error:n}},userSettings(e,t){return{key:`user:settings`,url:`{gateway}/v1/users/me/settings?(userSettings)`,normalizeOptions:{idAttribute:`name`},formatData:Ub.formatSettings,success:e,error:t}},updateUserSetting(e,t,n,r){return{key:`update:user:setting:${e.name}`,url:`{gateway}/v1/users/me/settings`,data:e,type:Mt.PUT,formatData:()=>e,normalizeOptions:{idAttribute:`name`},success:t,error:n,always:r}},updateCustomerSetting(e,t,n,r){return{key:`update:customer:setting:${e.name}`,url:`{gateway}/v1/customers/me/settings`,data:e,type:Mt.PUT,formatData:()=>e,normalizeOptions:{idAttribute:`name`},success:t,error:n,always:r}}},Z=B(r()),Q=t(),qb=class extends N{onShowAlert(e){if(!this.layoutOptions.options.alertRegion)return super.onShowAlert(e);let{ctor:t,collection:n}=e,r=n?n.toJSON():[];this.layout.showChildView(this.layoutOptions.options.alertRegion,(0,Q.jsx)(t,{alerts:r,removeAlert:e=>zb.default.channel(o.ALERT).trigger(`remove:alert`,e)}))}},Jb=function(e){return e.Analytics=`analytics`,e.LibraryEditor=`manage`,e.Online=`online`,e.Primary=`lite`,e.Exchange=`exchange_tv`,e.StreamableLearning=`streamable_learning`,e}({}),Yb=`shared.notFoundError`,Xb=class extends Bb{constructor(){super(Ft.getPhrase(Yb,`title`))}get name(){return`NotFoundError`}get heading(){return Ft.getPhrase(Yb,`heading`)}get description(){return Ft.getPhrase(Yb,`description`)}},Zb={CONTENT:`content`,POPUP:`popup`,ALERT:`alert`,HIDDEN:`hidden`},Qb={DEFAULT_LAYOUT:`DefaultLayout`},$b=B(xt()),ex=B(f()),tx=B(L());e();var nx=function(e){return e.Staff=`Staff`,e.Learner=`Learner`,e.Unknown=`Unknown`,e.System=`System`,e}({});function rx(e,t,n){let r=(0,Z.useRef)(e!==void 0),[i,a]=(0,Z.useState)(t),o=e!==void 0,s=r.current;return r.current=o,!o&&s&&i!==t&&a(t),[o?e:i,(0,Z.useCallback)((...e)=>{let[t,...r]=e,i=n?.(t,...r);return a(t),i},[n])]}function ix(){let[,e]=(0,Z.useReducer)(e=>e+1,0);return e}var ax=Z.createContext(null),ox=[`children`,`usePopper`];function sx(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var cx=()=>{};function lx(e={}){let t=(0,Z.useContext)(ax),[n,r]=tn(),i=(0,Z.useRef)(!1),{flip:a,offset:o,rootCloseEvent:s,fixed:c=!1,placement:l,popperConfig:u={},enableEventListeners:d=!0,usePopper:f=!!t}=e,p=t?.show==null?!!e.show:t.show;p&&!i.current&&(i.current=!0);let m=e=>{t?.toggle(!1,e)},{placement:h,setMenu:g,menuElement:_,toggleElement:v}=t||{},y=ot(v,_,Ze({placement:l||h||`bottom-start`,enabled:f,enableEvents:d??p,offset:o,flip:a,fixed:c,arrowElement:n,popperConfig:u})),b=Object.assign({ref:g||cx,"aria-labelledby":v?.id},y.attributes.popper,{style:y.styles.popper}),x={show:p,placement:h,hasShown:i.current,toggle:t?.toggle,popper:f?y:null,arrowProps:f?Object.assign({ref:r},y.attributes.arrow,{style:y.styles.arrow}):{}};return $e(_,m,{clickTrigger:s,disabled:!p}),[b,x]}function ux(e){let{children:t,usePopper:n=!0}=e,r=sx(e,ox),[i,a]=lx(Object.assign({},r,{usePopper:n}));return(0,Q.jsx)(Q.Fragment,{children:t(i,a)})}ux.displayName=`DropdownMenu`;var dx={prefix:String(Math.round(Math.random()*1e10)),current:0},fx=Z.createContext(dx),px=Z.createContext(!1);typeof window<`u`&&window.document&&window.document.createElement;var mx=new WeakMap;function hx(e=!1){let t=(0,Z.useContext)(fx),n=(0,Z.useRef)(null);if(n.current===null&&!e){let e=Z.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if(e){let n=mx.get(e);n==null?mx.set(e,{id:t.current,state:e.memoizedState}):e.memoizedState!==n.state&&(t.current=n.id,mx.delete(e))}n.current=++t.current}return n.current}function gx(e){let t=(0,Z.useContext)(fx),n=hx(!!e),r=`react-aria${t.prefix}`;return e||`${r}-${n}`}function _x(e){let t=Z.useId(),[n]=(0,Z.useState)(Sx()),r=n?`react-aria`:`react-aria${dx.prefix}`;return e||`${r}-${t}`}var vx=typeof Z.useId==`function`?_x:gx;function yx(){return!1}function bx(){return!0}function xx(e){return()=>{}}function Sx(){return typeof Z.useSyncExternalStore==`function`?Z.useSyncExternalStore(xx,yx,bx):(0,Z.useContext)(px)}var Cx=e=>e.getAttribute(`role`)?.toLowerCase()===`menu`,wx=()=>{};function Tx(){let e=vx(),{show:t=!1,toggle:n=wx,setToggle:r,menuElement:i}=(0,Z.useContext)(ax)||{},a=(0,Z.useCallback)(e=>{n(!t,e)},[t,n]),o={id:e,ref:r||wx,onClick:a,"aria-expanded":!!t};return i&&Cx(i)&&(o[`aria-haspopup`]=!0),[o,{show:t,toggle:n}]}function Ex({children:e}){let[t,n]=Tx();return(0,Q.jsx)(Q.Fragment,{children:e(t,n)})}Ex.displayName=`DropdownToggle`;var Dx=Z.createContext(null),Ox=(e,t=null)=>e==null?t||null:String(e),kx=Z.createContext(null);kx.displayName=`NavContext`;var Ax=[`eventKey`,`disabled`,`onClick`,`active`,`as`];function jx(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Mx({key:e,href:t,active:n,disabled:r,onClick:i}){let a=(0,Z.useContext)(Dx),{activeKey:o}=(0,Z.useContext)(kx)||{},s=Ox(e,t),c=n==null&&e!=null?Ox(o)===s:n;return[{onClick:Gt(e=>{r||(i?.(e),a&&!e.isPropagationStopped()&&a(s,e))}),"aria-disabled":r||void 0,"aria-selected":c,[bn(`dropdown-item`)]:``},{isActive:c}]}var Nx=Z.forwardRef((e,t)=>{let{eventKey:n,disabled:r,onClick:i,active:a,as:o=hn}=e,s=jx(e,Ax),[c]=Mx({key:n,href:s.href,disabled:r,onClick:i,active:a});return(0,Q.jsx)(o,Object.assign({},s,{ref:t},c))});Nx.displayName=`DropdownItem`;function Px(){let e=ix(),t=(0,Z.useRef)(null);return[t,(0,Z.useCallback)(n=>{t.current=n,e()},[e])]}function Fx({defaultShow:e,show:t,onSelect:n,onToggle:r,itemSelector:i=`* [${bn(`dropdown-item`)}]`,focusFirstItemOnShow:a,placement:o=`bottom-start`,children:s}){let c=pt(),[l,u]=rx(t,e,r),[d,f]=Px(),p=d.current,[m,h]=Px(),g=m.current,_=mn(l),v=(0,Z.useRef)(null),y=(0,Z.useRef)(!1),b=(0,Z.useContext)(Dx),x=(0,Z.useCallback)((e,t,n=t?.type)=>{u(e,{originalEvent:t,source:n})},[u]),S=Gt((e,t)=>{n?.(e,t),x(!1,t,`select`),t.isPropagationStopped()||b?.(e,t)}),C=(0,Z.useMemo)(()=>({toggle:x,placement:o,show:l,menuElement:p,toggleElement:g,setMenu:f,setToggle:h}),[x,o,l,p,g,f,h]);p&&_&&!l&&(y.current=p.contains(p.ownerDocument.activeElement));let w=Gt(()=>{g&&g.focus&&g.focus()}),T=Gt(()=>{let e=v.current,t=a;if(t??=d.current&&Cx(d.current)?`keyboard`:!1,t===!1||t===`keyboard`&&!/^key.+$/.test(e))return;let n=yn(d.current,i)[0];n&&n.focus&&n.focus()});(0,Z.useEffect)(()=>{l?T():y.current&&(y.current=!1,w())},[l,y,w,T]),(0,Z.useEffect)(()=>{v.current=null});let E=(e,t)=>{if(!d.current)return null;let n=yn(d.current,i),r=n.indexOf(e)+t;return r=Math.max(0,Math.min(r,n.length)),n[r]};return fn((0,Z.useCallback)(()=>c.document,[c]),`keydown`,e=>{let{key:t}=e,n=e.target,r=d.current?.contains(n),i=m.current?.contains(n);if(/input|textarea/i.test(n.tagName)&&(t===` `||t!==`Escape`&&r||t===`Escape`&&n.type===`search`)||!r&&!i||t===`Tab`&&(!d.current||!l))return;v.current=e.type;let a={originalEvent:e,source:e.type};switch(t){case`ArrowUp`:{let t=E(n,-1);t&&t.focus&&t.focus(),e.preventDefault();return}case`ArrowDown`:if(e.preventDefault(),!l)u(!0,a);else{let e=E(n,1);e&&e.focus&&e.focus()}return;case`Tab`:nn(n.ownerDocument,`keyup`,e=>{var t;(e.key===`Tab`&&!e.target||!((t=d.current)!=null&&t.contains(e.target)))&&u(!1,a)},{once:!0});break;case`Escape`:t===`Escape`&&(e.preventDefault(),e.stopPropagation()),u(!1,a);break;default:}}),(0,Q.jsx)(Dx.Provider,{value:S,children:(0,Q.jsx)(ax.Provider,{value:C,children:s})})}Fx.displayName=`Dropdown`,Fx.Menu=ux,Fx.Toggle=Ex,Fx.Item=Nx;var Ix=Z.createContext({});Ix.displayName=`DropdownContext`;var Lx=B(Vt()),Rx=Z.forwardRef(({className:e,bsPrefix:t,as:n=`hr`,role:r=`separator`,...i},a)=>(t=Ut(t,`dropdown-divider`),(0,Q.jsx)(n,{ref:a,className:(0,Lx.default)(e,t),role:r,...i})));Rx.displayName=`DropdownDivider`;var zx=Z.forwardRef(({className:e,bsPrefix:t,as:n=`div`,role:r=`heading`,...i},a)=>(t=Ut(t,`dropdown-header`),(0,Q.jsx)(n,{ref:a,className:(0,Lx.default)(e,t),role:r,...i})));zx.displayName=`DropdownHeader`;var Bx=Z.forwardRef(({bsPrefix:e,className:t,eventKey:n,disabled:r=!1,onClick:i,active:a,as:o=pn,...s},c)=>{let l=Ut(e,`dropdown-item`),[u,d]=Mx({key:n,href:s.href,disabled:r,onClick:i,active:a});return(0,Q.jsx)(o,{...s,...u,ref:c,className:(0,Lx.default)(t,l,d.isActive&&`active`,r&&`disabled`)})});Bx.displayName=`DropdownItem`;var Vx=Z.forwardRef(({className:e,bsPrefix:t,as:n=`span`,...r},i)=>(t=Ut(t,`dropdown-item-text`),(0,Q.jsx)(n,{ref:i,className:(0,Lx.default)(e,t),...r})));Vx.displayName=`DropdownItemText`;var Hx=Z.createContext(null);Hx.displayName=`InputGroupContext`;var Ux=Z.createContext(null);Ux.displayName=`NavbarContext`,Xt();function Wx(e,t){return e}It();function Gx(e,t,n){let r=n?`top-end`:`top-start`,i=n?`top-start`:`top-end`,a=n?`bottom-end`:`bottom-start`,o=n?`bottom-start`:`bottom-end`,s=n?`right-start`:`left-start`,c=n?`right-end`:`left-end`,l=n?`left-start`:`right-start`,u=n?`left-end`:`right-end`,d=e?o:a;return t===`up`?d=e?i:r:t===`end`?d=e?u:l:t===`start`?d=e?c:s:t===`down-centered`?d=`bottom`:t===`up-centered`&&(d=`top`),d}var Kx=Z.forwardRef(({bsPrefix:e,className:t,align:n,rootCloseEvent:r,flip:i=!0,show:a,renderOnMount:o,as:s=`div`,popperConfig:c,variant:l,...u},d)=>{let f=!1,p=(0,Z.useContext)(Ux),m=Ut(e,`dropdown-menu`),{align:h,drop:g,isRTL:_}=(0,Z.useContext)(Ix);n||=h;let v=(0,Z.useContext)(Hx),y=[];if(n)if(typeof n==`object`){let e=Object.keys(n);if(e.length){let t=e[0],r=n[t];f=r===`start`,y.push(`${m}-${t}-${r}`)}}else n===`end`&&(f=!0);let b=Gx(f,g,_),[x,{hasShown:S,popper:C,show:w,toggle:T}]=lx({flip:i,rootCloseEvent:r,show:a,usePopper:!p&&y.length===0,offset:[0,2],popperConfig:c,placement:b});if(x.ref=Qt(Wx(d,`DropdownMenu`),x.ref),at(()=>{w&&C?.update()},[w]),!S&&!o&&!v)return null;typeof s!=`string`&&(x.show=w,x.close=()=>T?.(!1),x.align=n);let E=u.style;return C!=null&&C.placement&&(E={...u.style,...x.style},u[`x-placement`]=C.placement),(0,Q.jsx)(s,{...u,...x,style:E,...(y.length||p)&&{"data-bs-popper":`static`},className:(0,Lx.default)(t,m,w&&`show`,f&&`${m}-end`,l&&`${m}-${l}`,...y)})});Kx.displayName=`DropdownMenu`;var qx=Z.forwardRef(({bsPrefix:e,split:t,className:n,childBsPrefix:r,as:i=gn,...a},o)=>{let s=Ut(e,`dropdown-toggle`),c=(0,Z.useContext)(ax);r!==void 0&&(a.bsPrefix=r);let[l]=Tx();return l.ref=Qt(l.ref,Wx(o,`DropdownToggle`)),(0,Q.jsx)(i,{className:(0,Lx.default)(n,s,t&&`${s}-split`,c?.show&&`show`),...l,...a})});qx.displayName=`DropdownToggle`;var Jx=Z.forwardRef((e,t)=>{let{bsPrefix:n,drop:r=`down`,show:i,className:a,align:o=`start`,onSelect:s,onToggle:c,focusFirstItemOnShow:l,as:u=`div`,navbar:d,autoClose:f=!0,...p}=Zt(e,{show:`onToggle`}),m=(0,Z.useContext)(Hx),h=Ut(n,`dropdown`),g=Bt(),_=e=>f===!1?e===`click`:f===`inside`?e!==`rootClose`:f===`outside`?e!==`select`:!0,v=rn((e,t)=>{var n;!((n=t.originalEvent)==null||(n=n.target)==null)&&n.classList.contains(`dropdown-toggle`)&&t.source===`mousedown`||(t.originalEvent.currentTarget===document&&(t.source!==`keydown`||t.originalEvent.key===`Escape`)&&(t.source=`rootClose`),_(t.source)&&c?.(e,t))}),y=Gx(o===`end`,r,g),b=(0,Z.useMemo)(()=>({align:o,drop:r,isRTL:g}),[o,r,g]),x={down:h,"down-centered":`${h}-center`,up:`dropup`,"up-centered":`dropup-center dropup`,end:`dropend`,start:`dropstart`};return(0,Q.jsx)(Ix.Provider,{value:b,children:(0,Q.jsx)(Fx,{placement:y,show:i,onSelect:s,onToggle:v,focusFirstItemOnShow:l,itemSelector:`.${h}-item:not(.disabled):not(:disabled)`,children:m?p.children:(0,Q.jsx)(u,{...p,ref:t,className:(0,Lx.default)(a,i&&`show`,x[r])})})})});Jx.displayName=`Dropdown`;var Yx=Object.assign(Jx,{Toggle:qx,Menu:Kx,Item:Bx,ItemText:Vx,Divider:Rx,Header:zx}),Xx;function Zx(e){if((!Xx&&Xx!==0||e)&&$t){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),Xx=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Xx}function Qx(){return(0,Z.useState)(null)}function $x(e){e===void 0&&(e=Ht());try{var t=e.activeElement;return!t||!t.nodeName?null:t}catch{return e.body}}function eS(e){let t=(0,Z.useRef)(e);return t.current=e,t}function tS(e){let t=eS(e);(0,Z.useEffect)(()=>()=>t.current(),[])}function nS(e=document){let t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}var rS=bn(`modal-open`),iS=class{constructor({ownerDocument:e,handleContainerOverflow:t=!0,isRTL:n=!1}={}){this.handleContainerOverflow=t,this.isRTL=n,this.modals=[],this.ownerDocument=e}getScrollbarWidth(){return nS(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(e){}removeModalAttributes(e){}setContainerStyle(e){let t={overflow:`hidden`},n=this.isRTL?`paddingLeft`:`paddingRight`,r=this.getElement();e.style={overflow:r.style.overflow,[n]:r.style[n]},e.scrollBarWidth&&(t[n]=`${parseInt(cn(r,n)||`0`,10)+e.scrollBarWidth}px`),r.setAttribute(rS,``),cn(r,t)}reset(){[...this.modals].forEach(e=>this.remove(e))}removeContainerStyle(e){let t=this.getElement();t.removeAttribute(rS),Object.assign(t.style,e.style)}add(e){let t=this.modals.indexOf(e);return t!==-1||(t=this.modals.length,this.modals.push(e),this.setModalAttributes(e),t!==0)?t:(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state),t)}remove(e){let t=this.modals.indexOf(e);t!==-1&&(this.modals.splice(t,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(e))}isTopModal(e){return!!this.modals.length&&this.modals[this.modals.length-1]===e}},aS=B(a()),oS=`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`.split(`.`);function sS(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var cS;function lS(e){return cS||=new iS({ownerDocument:e?.document}),cS}function uS(e){let t=pt(),n=e||lS(t),r=(0,Z.useRef)({dialog:null,backdrop:null});return Object.assign(r.current,{add:()=>n.add(r.current),remove:()=>n.remove(r.current),isTopModal:()=>n.isTopModal(r.current),setDialogRef:(0,Z.useCallback)(e=>{r.current.dialog=e},[]),setBackdropRef:(0,Z.useCallback)(e=>{r.current.backdrop=e},[])})}var dS=(0,Z.forwardRef)((e,t)=>{let{show:n=!1,role:r=`dialog`,className:i,style:a,children:o,backdrop:s=!0,keyboard:c=!0,onBackdropClick:l,onEscapeKeyDown:u,transition:d,runTransition:f,backdropTransition:p,runBackdropTransition:m,autoFocus:h=!0,enforceFocus:g=!0,restoreFocus:_=!0,restoreFocusOptions:v,renderDialog:y,renderBackdrop:b=e=>(0,Q.jsx)(`div`,Object.assign({},e)),manager:x,container:S,onShow:C,onHide:w=()=>{},onExit:T,onExited:E,onExiting:D,onEnter:O,onEntering:k,onEntered:A}=e,j=sS(e,oS),M=pt(),N=Xe(S),P=uS(x),F=Yt(),I=mn(n),[L,R]=(0,Z.useState)(!n),z=(0,Z.useRef)(null);(0,Z.useImperativeHandle)(t,()=>P,[P]),$t&&!I&&n&&(z.current=$x(M?.document)),n&&L&&R(!1);let B=Gt(()=>{if(P.add(),ae.current=Kt(document,`keydown`,re),ie.current=Kt(document,`focus`,()=>setTimeout(te),!0),C&&C(),h){let e=$x(P.dialog?.ownerDocument??M?.document);P.dialog&&e&&!ct(P.dialog,e)&&(z.current=e,P.dialog.focus())}}),ee=Gt(()=>{if(P.remove(),ae.current==null||ae.current(),ie.current==null||ie.current(),_){var e;(e=z.current)==null||e.focus==null||e.focus(v),z.current=null}});(0,Z.useEffect)(()=>{!n||!N||B()},[n,N,B]),(0,Z.useEffect)(()=>{L&&ee()},[L,ee]),tS(()=>{ee()});let te=Gt(()=>{if(!g||!F()||!P.isTopModal())return;let e=$x(M?.document);P.dialog&&e&&!ct(P.dialog,e)&&P.dialog.focus()}),ne=Gt(e=>{e.target===e.currentTarget&&(l?.(e),s===!0&&w())}),re=Gt(e=>{c&&Jt(e)&&P.isTopModal()&&(u?.(e),e.defaultPrevented||w())}),ie=(0,Z.useRef)(),ae=(0,Z.useRef)(),oe=(...e)=>{R(!0),E?.(...e)};if(!N)return null;let se=Object.assign({role:r,ref:P.setDialogRef,"aria-modal":r===`dialog`?!0:void 0},j,{style:a,className:i,tabIndex:-1}),ce=y?y(se):(0,Q.jsx)(`div`,Object.assign({},se,{children:Z.cloneElement(o,{role:`document`})}));ce=ut(d,f,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!n,onExit:T,onExiting:D,onExited:oe,onEnter:O,onEntering:k,onEntered:A,children:ce});let le=null;return s&&(le=b({ref:P.setBackdropRef,onClick:ne}),le=ut(p,m,{in:!!n,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:le})),(0,Q.jsx)(Q.Fragment,{children:aS.createPortal((0,Q.jsxs)(Q.Fragment,{children:[le,ce]}),N)})});dS.displayName=`Modal`;var fS=Object.assign(dS,{Manager:iS});function pS(e,t){e.classList?e.classList.add(t):st(e,t)||(typeof e.className==`string`?e.className=e.className+` `+t:e.setAttribute(`class`,(e.className&&e.className.baseVal||``)+` `+t))}function mS(e,t){return e.replace(RegExp(`(^|\\s)`+t+`(?:\\s|$)`,`g`),`$1`).replace(/\s+/g,` `).replace(/^\s*|\s*$/g,``)}function hS(e,t){e.classList?e.classList.remove(t):typeof e.className==`string`?e.className=mS(e.className,t):e.setAttribute(`class`,mS(e.className&&e.className.baseVal||``,t))}var gS={FIXED_CONTENT:`.fixed-top, .fixed-bottom, .is-fixed, .sticky-top`,STICKY_CONTENT:`.sticky-top`,NAVBAR_TOGGLER:`.navbar-toggler`},_S=class extends iS{adjustAndStore(e,t,n){let r=t.style[e];t.dataset[e]=r,cn(t,{[e]:`${parseFloat(cn(t,e))+n}px`})}restore(e,t){let n=t.dataset[e];n!==void 0&&(delete t.dataset[e],cn(t,{[e]:n}))}setContainerStyle(e){super.setContainerStyle(e);let t=this.getElement();if(pS(t,`modal-open`),!e.scrollBarWidth)return;let n=this.isRTL?`paddingLeft`:`paddingRight`,r=this.isRTL?`marginLeft`:`marginRight`;yn(t,gS.FIXED_CONTENT).forEach(t=>this.adjustAndStore(n,t,e.scrollBarWidth)),yn(t,gS.STICKY_CONTENT).forEach(t=>this.adjustAndStore(r,t,-e.scrollBarWidth)),yn(t,gS.NAVBAR_TOGGLER).forEach(t=>this.adjustAndStore(r,t,e.scrollBarWidth))}removeContainerStyle(e){super.removeContainerStyle(e);let t=this.getElement();hS(t,`modal-open`);let n=this.isRTL?`paddingLeft`:`paddingRight`,r=this.isRTL?`marginLeft`:`marginRight`;yn(t,gS.FIXED_CONTENT).forEach(e=>this.restore(n,e)),yn(t,gS.STICKY_CONTENT).forEach(e=>this.restore(r,e)),yn(t,gS.NAVBAR_TOGGLER).forEach(e=>this.restore(r,e))}},vS;function yS(e){return vS||=new _S(e),vS}var bS=Z.forwardRef(({className:e,bsPrefix:t,as:n=`div`,...r},i)=>(t=Ut(t,`modal-body`),(0,Q.jsx)(n,{ref:i,className:(0,Lx.default)(e,t),...r})));bS.displayName=`ModalBody`;var xS=Z.createContext({onHide(){}}),SS=Z.forwardRef(({bsPrefix:e,className:t,contentClassName:n,centered:r,size:i,fullscreen:a,children:o,scrollable:s,...c},l)=>{e=Ut(e,`modal`);let u=`${e}-dialog`,d=typeof a==`string`?`${e}-fullscreen-${a}`:`${e}-fullscreen`;return(0,Q.jsx)(`div`,{...c,ref:l,className:(0,Lx.default)(u,t,i&&`${e}-${i}`,r&&`${u}-centered`,s&&`${u}-scrollable`,a&&d),children:(0,Q.jsx)(`div`,{className:(0,Lx.default)(`${e}-content`,n),children:o})})});SS.displayName=`ModalDialog`;var CS=Z.forwardRef(({className:e,bsPrefix:t,as:n=`div`,...r},i)=>(t=Ut(t,`modal-footer`),(0,Q.jsx)(n,{ref:i,className:(0,Lx.default)(e,t),...r})));CS.displayName=`ModalFooter`;var wS=Z.forwardRef(({closeLabel:e=`Close`,closeVariant:t,closeButton:n=!1,onHide:r,children:i,...a},o)=>{let s=(0,Z.useContext)(xS),c=rn(()=>{s?.onHide(),r?.()});return(0,Q.jsxs)(`div`,{ref:o,...a,children:[i,n&&(0,Q.jsx)(dn,{"aria-label":e,variant:t,onClick:c})]})}),TS=Z.forwardRef(({bsPrefix:e,className:t,closeLabel:n=`Close`,closeButton:r=!1,...i},a)=>(e=Ut(e,`modal-header`),(0,Q.jsx)(wS,{ref:a,...i,className:(0,Lx.default)(t,e),closeLabel:n,closeButton:r})));TS.displayName=`ModalHeader`;var ES=un(`h4`),DS=Z.forwardRef(({className:e,bsPrefix:t,as:n=ES,...r},i)=>(t=Ut(t,`modal-title`),(0,Q.jsx)(n,{ref:i,className:(0,Lx.default)(e,t),...r})));DS.displayName=`ModalTitle`;function OS(e){return(0,Q.jsx)(en,{...e,timeout:null})}function kS(e){return(0,Q.jsx)(en,{...e,timeout:null})}var AS=Z.forwardRef(({bsPrefix:e,className:t,style:n,dialogClassName:r,contentClassName:i,children:a,dialogAs:o=SS,"data-bs-theme":s,"aria-labelledby":c,"aria-describedby":l,"aria-label":u,show:d=!1,animation:f=!0,backdrop:p=!0,keyboard:m=!0,onEscapeKeyDown:h,onShow:g,onHide:_,container:v,autoFocus:y=!0,enforceFocus:b=!0,restoreFocus:x=!0,restoreFocusOptions:S,onEntered:C,onExit:w,onExiting:T,onEnter:E,onEntering:D,onExited:O,backdropClassName:k,manager:A,...j},M)=>{let[N,P]=(0,Z.useState)({}),[F,I]=(0,Z.useState)(!1),L=(0,Z.useRef)(!1),R=(0,Z.useRef)(!1),z=(0,Z.useRef)(null),[B,ee]=Qx(),te=Qt(M,ee),ne=rn(_),re=Bt();e=Ut(e,`modal`);let ie=(0,Z.useMemo)(()=>({onHide:ne}),[ne]);function ae(){return A||yS({isRTL:re})}function oe(e){if(!$t)return;let t=ae().getScrollbarWidth()>0,n=e.scrollHeight>Ht(e).documentElement.clientHeight;P({paddingRight:t&&!n?Zx():void 0,paddingLeft:!t&&n?Zx():void 0})}let se=rn(()=>{B&&oe(B.dialog)});tt(()=>{qt(window,`resize`,se),z.current==null||z.current()});let ce=()=>{L.current=!0},le=e=>{L.current&&B&&e.target===B.dialog&&(R.current=!0),L.current=!1},ue=()=>{I(!0),z.current=on(B.dialog,()=>{I(!1)})},de=e=>{e.target===e.currentTarget&&ue()},fe=e=>{if(p===`static`){de(e);return}if(R.current||e.target!==e.currentTarget){R.current=!1;return}_?.()},pe=e=>{m?h?.(e):(e.preventDefault(),p===`static`&&ue())},me=(e,t)=>{e&&oe(e),E?.(e,t)},he=e=>{z.current==null||z.current(),w?.(e)},ge=(e,t)=>{D?.(e,t),nn(window,`resize`,se)},_e=e=>{e&&(e.style.display=``),O?.(e),qt(window,`resize`,se)},ve=(0,Z.useCallback)(t=>(0,Q.jsx)(`div`,{...t,className:(0,Lx.default)(`${e}-backdrop`,k,!f&&`show`)}),[f,k,e]),ye={...n,...N};return ye.display=`block`,(0,Q.jsx)(xS.Provider,{value:ie,children:(0,Q.jsx)(fS,{show:d,ref:te,backdrop:p,container:v,keyboard:!0,autoFocus:y,enforceFocus:b,restoreFocus:x,restoreFocusOptions:S,onEscapeKeyDown:pe,onShow:g,onHide:_,onEnter:me,onEntering:ge,onEntered:C,onExit:he,onExiting:T,onExited:_e,manager:ae(),transition:f?OS:void 0,backdropTransition:f?kS:void 0,renderBackdrop:ve,renderDialog:n=>(0,Q.jsx)(`div`,{role:`dialog`,...n,style:ye,className:(0,Lx.default)(t,e,F&&`${e}-static`,!f&&`show`),onClick:p?fe:void 0,onMouseUp:le,"data-bs-theme":s,"aria-label":u,"aria-labelledby":c,"aria-describedby":l,children:(0,Q.jsx)(o,{...j,onMouseDown:ce,className:r,contentClassName:i,children:a})})})})});AS.displayName=`Modal`;var jS=Object.assign(AS,{Body:bS,Header:TS,Title:DS,Footer:CS,Dialog:SS,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150}),MS=`default.error`,NS=33;function PS({error:e}){Tn({title:e?.heading||Ft.getPhrase(MS,`defaultPageTitle`)});let[t]=Z.useState(Ye.getRandomInt(NS)+1),n=kn.ErrorViews.SMALL.replace(`{number}`,t.toString());return e?(0,Q.jsxs)(Cn,{children:[(0,Q.jsx)(Cn.Image,{src:n}),(0,Q.jsx)(Cn.Heading,{children:e.heading}),!!e.description&&(0,Q.jsx)(Cn.Info,{injectHtml:e.injectDescriptionHtml,children:e.description}),e.cta!==!1&&(0,Q.jsx)(Cn.Cta,{text:e.cta?.text??Ft.getPhrase(MS,`discoverVideos`),className:`info-link ${e.description?`mt-n2`:``}`,appLink:e.cta?.appLink??{application:Lt.EXCHANGE,action:Rt.Exchange.INDEX}})]}):(0,Q.jsx)(Q.Fragment,{})}var FS=class extends ee{get channelName(){return Lt.DEFAULT}get appRoutes(){return{"(/)":`index`,"*path":`catchAllRoutes`}}get externalRoutes(){return{"logout(/)":`logOut`,"login(/)":`logIn`}}get appLinks(){return[`devError`,`dialogError`,`error`,`notFound`,`giveFeedback`]}},IS=class extends qb{get name(){return`Default Application`}get layoutOptions(){return{name:Qb.DEFAULT_LAYOUT,options:{alertRegion:Zb.ALERT}}}get channelName(){return Lt.DEFAULT}static get router(){return FS}async index(){let{RedirectView:e}=await On(async()=>{let{RedirectView:e}=await import(`./6f-CHYL3.chunk.js`);return{RedirectView:e}},__vite__mapDeps([0,1,2]));this.layout.showChildView(Zb.CONTENT,(0,Q.jsx)(e,{}))}catchAllRoutes(){y.throw(new Xb)}notFound(){let e=zb.default.channel(`error:view`).request(`current:error`);On(async()=>{let{NotFoundView:e}=await import(`./B09qwiFG.chunk.js`);return{NotFoundView:e}},__vite__mapDeps([3,1])).then(({NotFoundView:t})=>{this.layout.showChildView(Zb.CONTENT,(0,Q.jsx)(t,{error:e}))})}error(){let e=zb.default.channel(`error:view`).request(`current:error`);this.layout.showChildView(Zb.CONTENT,(0,Q.jsx)(PS,{error:e}))}dialogError(){let e=zb.default.channel(`error:view`).request(`current:error`);if(!e)return;let{dialogOptions:t}=e;On(async()=>{let{DialogView:e}=await import(`./BAwP70HI2.chunk.js`);return{DialogView:e}},__vite__mapDeps([4,1,5,6,7,8,9])).then(({DialogView:n})=>{this.layout.showChildView(Zb.POPUP,(0,Q.jsx)(n,{title:t.title,text:t.text,buttons:t.buttons,onDone:e.onDone,onFail:e.onFail,closePopup:()=>this.layout.closePopup()}))})}devError(){let e=zb.default.channel(`error:view`).request(`current:error`);On(async()=>{let{DevErrorView:e}=await import(`./DdIs1e6F2.chunk.js`);return{DevErrorView:e}},__vite__mapDeps([10,1,6,11,12,13,14,15,16,7,17,18,19,20,21,22])).then(({DevErrorView:t})=>{this.layout.showChildView(Zb.CONTENT,(0,Q.jsx)(t,{error:e}))})}giveFeedback(){On(async()=>{let{GiveFeedbackView:e}=await import(`./Cq-TpkxJ.chunk.js`);return{GiveFeedbackView:e}},__vite__mapDeps([23,1,6,24,25,5,7,8,26,27,12,28,29,30,31,32,16,33,9,18,34,35,36,37,38,39,40,41,15,42,43,44,45,46,47,48,49,50,51,52,53,54])).then(({GiveFeedbackView:e})=>{this.layout.showChildView(Zb.POPUP,(0,Q.jsx)(e,{product:Jb.Exchange,closePopup:()=>this.layout.closePopup()}))})}},LS=function(e){return 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[e.PartnerProfile=78]=`PartnerProfile`,e[e.LearningLevel=79]=`LearningLevel`,e}({}),RS=5,zS=3,BS=new class extends fe{constructor(...e){super(...e),this.routeHistory=[],this.contextHistory=[]}get name(){return An.Context}static get Instance(){return this.instance||=new this}initialize(){this.listenTo(o.SHELL,g.ROUTE,this.setContext),this.listenTo(o.SHELL,g.ROUTE,this.updateRouteHistory)}setContext(e){m.isEqual(e,this.getCurrentContext()?.appLink)||(this.contextHistory.length>=RS&&this.contextHistory.shift(),this.contextHistory.push({pageLoad:!this.contextHistory.length,appLink:e}))}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(e){m.getHref(e)&&(m.isEqual(e,this.getCurrentRoute()?.appLink)||(this.routeHistory.length>=zS&&this.routeHistory.shift(),this.routeHistory.push({pageLoad:!this.routeHistory.length,appLink:e})))}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(e){this.setContext(e),this.updateRouteHistory(e)}},VS=function(e){return e.Newest=`newest`,e.Oldest=`oldest`,e.RecentlyAdded=`recently_added`,e.AtoZ=`atoz`,e.ZtoA=`ztoa`,e.Series=`series`,e.ProductionYear=`production_year`,e}({}),HS=(e,t)=>`${t?`${t}:`:``}video:sort:${e}`,US=VS.RecentlyAdded,WS={getValidSortTypeFromParam(e){return Object.values(VS).includes(e)?e:VS.Newest},getOrSetSortType(e,t,n,r){let i=HS(e,r);return(t||!Pn.cacheExists(i))&&Pn.cacheSet(i,t||n||US),t||=Pn.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}}},GS={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`}}},KS={userProducts(e,t){return{url:`{gateway}/v1/users/me/products`,key:`user:products`,normalizeOptions:{namespace:`product`},success:e,error:t,bootstrapName:Fn.PRODUCTS}}},qS=!1,JS=!1,YS=!1,XS=!0,ZS=!0,QS=new class extends fe{get name(){return`LayoutHelper`}shouldHideNav(){return qS}disableNav(){qS=!0}enableNav(){qS=!1}shouldHideHeader(){return JS}disableHeader(){JS=!0}enableHeader(){JS=!1}lockContentWidth(){YS=!0,this.trigger(`change:lockContentWidth`)}unlockContentWidth(){YS=!1,this.trigger(`change:lockContentWidth`)}shouldLockContentWidth(){return!!YS}shouldShowSearch(){return ZS}enableSearch(){ZS=!0}disableSearch(){ZS=!1}enableLogoClick(){XS=!0}disableLogoClick(){XS=!1}shouldAllowLogoClick(){return XS}},$S=`exchangeShared.noAccess`,eC=class extends Bb{config;constructor(e){super(`Current user's school does not have access to Exchange`),this.config=e}get name(){return`NoAccessError`}get heading(){return Ft.getPhrase($S,`heading`)}get description(){return Ft.getPhrase($S,`body`)}get cta(){return!1}get injectDescriptionHtml(){return!0}},tC=[{application:Lt.DEFAULT,action:Rt.Default.ERROR},{application:Lt.DEFAULT,action:Rt.Default.DEV_ERROR},{application:Lt.DEFAULT,action:Rt.Default.LOG_IN},{application:Lt.DEFAULT,action:Rt.Default.LOG_OUT}].reduce((e,t)=>(e[nC(t)]=!0,e),{});function nC(e){return e.application+e.action}function rC(e,t){BS._forcePushContext(e),QS.disableNav(),n.routingEnded(),y.throw(t??new Hb)}async function iC(e,t){let{appLink:n,shell:r}=e;try{if((await vt(r.store,KS.userProducts())).find(e=>e.id===Jb.Exchange)){t(e);return}if(tC[nC(e.appLink)]){QS.disableNav(),t(e);return}rC(n,new eC(await vt(r.store,GS.config())))}catch{rC(n)}}var aC=class extends ee{get channelName(){return Lt.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[iC]}},oC=class extends qb{get name(){return`Exchange Application`}get layoutOptions(){return{name:Qb.DEFAULT_LAYOUT,options:{alertRegion:Zb.ALERT}}}get channelName(){return Lt.EXCHANGE}static get router(){return aC}async index(){let{ExchangeView:e}=await On(async()=>{let{ExchangeView:e}=await import(`./CZgaUoHE2.chunk.js`);return{ExchangeView:e}},__vite__mapDeps([55,1,16,7,33,9,14,15,6,17,18,19,20,21,56,57,5,8,35,58,28,29,30,59,60,61,62,63,64,65,66,67,52,68,69,70,71,72,73,2,74,51,75,76,77,78,79,80,81,82,83,84,44]));this.layout.showChildView(Zb.CONTENT,(0,Q.jsx)(e,{}))}async folder(e,t,n){let r=typeof t==`string`?n?.sort:t?.sort,i=r&&WS.getValidSortTypeFromParam(r),{ExchangeFolderView:a}=await On(async()=>{let{ExchangeFolderView:e}=await import(`./p5-1Ey-R.chunk.js`);return{ExchangeFolderView:e}},__vite__mapDeps([85,1,86,57,5,6,7,8,16,17,33,9,87,35,88,18,79,80,81,44,45,89,90,27,12,91,28,29,30,63,64,67,62,65,66,52,68,43,48,92,93,94,36,58,59,78,95,96,47,73,70,2,49,97,14,15,19,20,21,98,99,100,101,56,60,61,69,41,102,72,71,74,51,75,76,77,82,83,84,103]));this.layout.showChildView(Zb.CONTENT,(0,Q.jsx)(a,{folderId:e,sort:i}))}async series(e,t,n){let r=typeof t==`string`?n?.sort:t?.sort,i=r&&WS.getValidSortTypeFromParam(r),{ExchangeSeriesView:a}=await On(async()=>{let{ExchangeSeriesView:e}=await import(`./Czivka682.chunk.js`);return{ExchangeSeriesView:e}},__vite__mapDeps([104,1,86,57,5,6,7,8,16,17,33,9,87,35,88,18,79,80,81,44,45,89,90,27,12,91,28,29,30,63,64,67,62,65,66,52,68,43,48,92,93,94,36,58,59,78,95,96,47,73,70,2,49,97,14,15,19,20,21,98,99,41,102,72,71,83,84]));this.layout.showChildView(Zb.CONTENT,(0,Q.jsx)(a,{seriesId:e,sort:i}))}async search(e){let{ExchangeSearchResultsView:t}=await On(async()=>{let{ExchangeSearchResultsView:e}=await import(`./DmmZ2XbB2.chunk.js`);return{ExchangeSearchResultsView:e}},__vite__mapDeps([105,1,86,57,5,6,7,8,16,17,33,9,87,35,88,18,79,80,81,44,45,89,90,27,12,91,28,29,30,63,64,67,62,65,66,52,68,43,48,92,93,94,36,58,59,78,95,96,47,73,70,2,49,97,14,15,19,20,21,106,107,26,34,108,53,109,84,50,99,110,100,101,39,40,41,102,72,111,74,51,75,83,103,112]));this.layout.showChildView(Zb.CONTENT,(0,Q.jsx)(t,{queryParams:e||{}}))}async mostRecent(){let{ExchangeMostRecentView:e}=await On(async()=>{let{ExchangeMostRecentView:e}=await import(`./CKD2j1rw.chunk.js`);return{ExchangeMostRecentView:e}},__vite__mapDeps([113,1,86,57,5,6,7,8,16,17,33,9,87,35,88,18,79,80,81,44,45,89,90,27,12,91,28,29,30,63,64,67,62,65,66,52,68,43,48,92,93,94,36,58,59,78,95,96,47,73,70,2,49,97,14,15,19,20,21,102,41,72,74,51,75,76,77,82,83,84]));this.layout.showChildView(Zb.CONTENT,(0,Q.jsx)(e,{}))}async preview(e,t){let{pageLoad:n}=BS.getCurrentRoute();n&&this.index();let{ExchangePreviewView:r}=await On(async()=>{let{ExchangePreviewView:e}=await import(`./C1StI3Bl2.chunk.js`);return{ExchangePreviewView:e}},__vite__mapDeps([114,1,115,6,25,5,7,8,32,16,87,35,88,17,33,9,18,79,80,81,44,45,89,90,36,37,108,28,29,30,78,52,53,109,58,59,95,62,63,64,65,66,19,47,73,70,2,49,51,92,116,117,118,119,120,121,122,123,124,94,102,41,15,125,126,34]));this.layout.showChildView(Zb.POPUP,(0,Q.jsx)(r,{videoId:e,currentTime:t,closePopup:()=>this.layout.closePopup()}))}async add(e){let{ExchangeAddView:t}=await On(async()=>{let{ExchangeAddView:e}=await import(`./CrCX606H.chunk.js`);return{ExchangeAddView:e}},__vite__mapDeps([127,1,16,7,33,9,94,36,89,18,81,44,83,84,126,34,35,103]));this.layout.showChildView(Zb.POPUP,(0,Q.jsx)(t,{id:e,closePopup:()=>this.layout.closePopup()}))}async suggestEdit(e){let{ExchangeSuggestEditView:t}=await On(async()=>{let{ExchangeSuggestEditView:e}=await import(`./DgrEIxhT2.chunk.js`);return{ExchangeSuggestEditView:e}},__vite__mapDeps([128,1,24,25,5,6,7,8,26,27,12,28,29,30,31,16,17,33,9,107,94,36,129,38,41,15,18,89,81,44,130,46,111,83,84,126,34,35]));this.layout.showChildView(Zb.POPUP,(0,Q.jsx)(t,{videoId:e,closePopup:()=>this.layout.closePopup()}))}downloadVideo(e){On(async()=>{let{DownloadVideoView:e}=await import(`./C6Hr-vqw.chunk.js`);return{DownloadVideoView:e}},__vite__mapDeps([131,1,33,9,116,18])).then(({DownloadVideoView:t})=>{this.layout.showChildView(Zb.HIDDEN,(0,Q.jsx)(t,{id:e}))})}addToLibrary(e){On(async()=>{let{AddToLibraryView:e}=await import(`./XWykPl9h2.chunk.js`);return{AddToLibraryView:e}},__vite__mapDeps([132,1,24,25,5,6,7,8,26,27,12,28,29,30,31,32,16,33,9,18,36,58,59,60,61,41,15,96,88,17,79,80,81,44,45,89,20,130,46,70,133])).then(({AddToLibraryView:t})=>{this.layout.showChildView(Zb.POPUP,(0,Q.jsx)(t,{id:e,typeId:LS.Video,closePopup:()=>this.layout.closePopup()}))})}},sC=class extends ee{get channelName(){return Lt.TV}get appRoutes(){return{"tv(/)":`index`,"tv/:region/channels(/)":`channels`,"tv/:region/channels/:channelId(/)":`channel`,"tv/:region/programs(/)":`programs`,"tv/:region/search(/)":`search`}}get appLinks(){return[`preview`,`add`,`adFreeRequest`,`broadcastContent`,`alreadyAdded`,`requestProgram`,`radioDownload`]}get filters(){return[iC]}},cC=class extends qb{get name(){return`Tv Application`}get layoutOptions(){return{name:Qb.DEFAULT_LAYOUT,options:{alertRegion:Zb.ALERT}}}get channelName(){return Lt.TV}static get router(){return sC}async index(e){let{TvHomeView:t}=await On(async()=>{let{TvHomeView:e}=await import(`./DeXP2wHV.chunk.js`);return{TvHomeView:e}},__vite__mapDeps([134,1,135,33,9,35,34,71,72,16,7,136,17,18,2]));this.layout.showChildView(Zb.CONTENT,(0,Q.jsx)(t,{requestVideo:e.requestVideo===`true`}))}async channels(e,t){let{TvChannelsView:n}=await On(async()=>{let{TvChannelsView:e}=await import(`./BEv09vqz.chunk.js`);return{TvChannelsView:e}},__vite__mapDeps([137,1,5,6,7,8,16,33,9,14,15,17,18,19,20,21,41,71,72,138,77,78,79,80,81,52,82,136,35,122,2,139,51,92,140,141,135,34,142,103,143]));this.layout.showChildView(Zb.CONTENT,(0,Q.jsx)(n,{region:e})),t.requestVideo===`true`&&this.requestProgram(e)}async channel(e,t,n){let{TvChannelView:r}=await On(async()=>{let{TvChannelView:e}=await import(`./B0uOvqjG2.chunk.js`);return{TvChannelView:e}},__vite__mapDeps([144,1,5,6,7,8,17,33,9,14,15,16,18,19,20,21,63,64,72,71,117,118,138,77,78,79,80,81,52,82,136,35,122,2,121,123,139,51,92,140,141,135,34,145,60,61,146,147]));this.layout.showChildView(Zb.CONTENT,(0,Q.jsx)(r,{region:e,channelId:t,selectedRegion:n.region}))}async programs(e,t){let{TvProgramsView:n}=await On(async()=>{let{TvProgramsView:e}=await import(`./W8Q7Z6fd.chunk.js`);return{TvProgramsView:e}},__vite__mapDeps([148,1,5,6,7,8,16,17,33,9,14,15,18,19,20,21,63,64,77,78,79,80,81,52,82,72,71,138,136,35,122,2,121,123,139,51,92,140,141,135,34,145,60,61,146,149]));this.layout.showChildView(Zb.CONTENT,(0,Q.jsx)(n,{region:e,startsWith:t.startsWith}))}async search(e,t){let{TvSearchResultsView:n}=await On(async()=>{let{TvSearchResultsView:e}=await import(`./CBnNAkzx.chunk.js`);return{TvSearchResultsView:e}},__vite__mapDeps([150,1,5,6,7,8,17,33,9,14,15,16,18,19,20,21,91,27,12,28,29,30,63,64,67,62,65,66,52,68,43,48,92,93,36,106,107,26,34,35,108,78,79,80,81,53,109,84,47,50,99,110,58,59,95,100,101,72,71,117,118,119,120,121,122,123,139,51,2,140,136,151,141,135,103,152]));this.layout.showChildView(Zb.CONTENT,(0,Q.jsx)(n,{region:e,queryParams:t}))}async preview(e,t,n){let{TvPreviewView:r}=await On(async()=>{let{TvPreviewView:e}=await import(`./C_7tv1r9.chunk.js`);return{TvPreviewView:e}},__vite__mapDeps([153,1,115,6,25,5,7,8,32,16,87,35,88,17,33,9,18,79,80,81,44,45,89,90,36,37,108,28,29,30,78,52,53,109,58,59,95,62,63,64,65,66,19,47,73,70,2,49,51,92,116,117,118,119,120,121,122,123,124,41,15,125,136,151,141,72]));this.layout.showChildView(Zb.POPUP,(0,Q.jsx)(r,{region:e,id:t,currentTime:n.currentTime,closePopup:()=>this.layout.closePopup()}))}async add(e,t,n){let{TvAddView:r}=await On(async()=>{let{TvAddView:e}=await import(`./CrDpB82d2.chunk.js`);return{TvAddView:e}},__vite__mapDeps([154,1,5,6,7,8,16,33,9,36,41,15,18,125,136,17,35,2,103,155]));this.layout.showChildView(Zb.POPUP,(0,Q.jsx)(r,{region:e,id:t,currentTime:n.currentTime,closePopup:()=>this.layout.closePopup()}))}async adFreeRequest(e,t){let{TvAdFreeRequestView:n}=await On(async()=>{let{TvAdFreeRequestView:e}=await import(`./BgskDBpT2.chunk.js`);return{TvAdFreeRequestView:e}},__vite__mapDeps([156,1,16,7,33,9,41,15,18,125,136,17,35,141,72,103]));this.layout.showChildView(Zb.POPUP,(0,Q.jsx)(n,{region:e,id:t,closePopup:()=>this.layout.closePopup()}))}async broadcastContent(e){let{TvBroadcastContentView:t}=await On(async()=>{let{TvBroadcastContentView:e}=await import(`./C_jUsStb2.chunk.js`);return{TvBroadcastContentView:e}},__vite__mapDeps([157,1,5,6,7,8,16,33,9,136,17,35,18,122,2,158]));this.layout.showChildView(Zb.POPUP,(0,Q.jsx)(t,{region:e,closePopup:()=>this.layout.closePopup()}))}async alreadyAdded(e){let{TvAlreadyAddedView:t}=await On(async()=>{let{TvAlreadyAddedView:e}=await import(`./CSKzCsLv2.chunk.js`);return{TvAlreadyAddedView:e}},__vite__mapDeps([159,1,5,6,7,8,16,33,9,103,160]));this.layout.showChildView(Zb.POPUP,(0,Q.jsx)(t,{params:e,closePopup:()=>this.layout.closePopup()}))}async requestProgram(e){let{TvRequestProgramView:t}=await On(async()=>{let{TvRequestProgramView:e}=await import(`./Bn9ROglk.chunk.js`);return{TvRequestProgramView:e}},__vite__mapDeps([161,1,24,25,5,6,7,8,26,27,12,28,29,30,31,16,17,33,9,36,129,41,15,18,130,46,136,35,142,103]));this.layout.showChildView(Zb.POPUP,(0,Q.jsx)(t,{region:e,closePopup:()=>this.layout.closePopup()}))}async radioDownload(e,t){let{TvRadioDownloadView:n}=await On(async()=>{let{TvRadioDownloadView:e}=await import(`./0uwnPAi2.chunk.js`);return{TvRadioDownloadView:e}},__vite__mapDeps([162,1,16,7,33,9,121,17,122,123,136,35,18]));this.layout.showChildView(Zb.POPUP,(0,Q.jsx)(n,{region:e,id:t,closePopup:()=>this.layout.closePopup()}))}};async function lC(e,t){try{let n=(await bt(e.store,Kb.customerSettings()))[X.ExchangeTvProductOption]?.value;switch(e.registerApplication(IS),n){case`exchange`:e.registerApplication(oC),t(e);return;case`tv`:e.registerApplication(cC),t(e);return;case`exchange_and_tv`:e.registerApplication(oC).registerApplication(cC),t(e);return}}catch{y.throw(new Hb)}}var uC=function(e){return e.Success=`success`,e.Warning=`warning`,e.Fail=`danger`,e.Info=`info`,e.Pending=`pending`,e}({}),dC=function(e){return e.Success=`Success! 🙌`,e.Warning=`Whoops...`,e.Fail=`Oops...`,e.Info=`FYI`,e}({}),fC=class extends fe{constructor(e){super(e)}initialize(){this.alertCollection=new se,this.listenTo(o.ALERT,`remove:alert`,this.removeAlert),this.showAlerts()}get name(){return Pt.ALERT}get defaults(){return{maxAlerts:3}}showAlerts(){let e=zb.default.channel(o.ALERT),t={collection:this.alertCollection};this.options.alertViewCtor&&(t=ie({},t,{ctor:this.options.alertViewCtor})),e.trigger(`show:alert`,t)}removeAlert(e){this.alertCollection.remove(e),this.showAlerts()}createAlert(e){this.alertCollection.length===this.options.maxAlerts&&this.alertCollection.shift(),e.id||(e=ie({},e,{id:this.generateUniqueAlertId()})),this.alertCollection.push(new z(e)),this.showAlerts()}clearAllAlerts(){this.alertCollection.reset(null)}success(e){return typeof e==`string`?me(()=>this.createAlert(ie({},this.options.defaultSuccessAlert,{message:e})),this):e.useXHR?me((e,t)=>this.createAlert(ie({},this.options.defaultSuccessAlert,{message:t})),this):me(()=>this.createAlert(ie({},this.options.defaultSuccessAlert,e)),this)}error(e){return typeof e==`string`?me(()=>this.createAlert(ie({},this.options.defaultErrorAlert,{message:e})),this):e.useXHR?me(e=>this.createAlert(ie({},this.options.defaultErrorAlert,{message:e.message})),this):me(()=>this.createAlert(ie({},this.options.defaultErrorAlertIL_DEFAULT,e)),this)}generateUniqueAlertId(){return ne(`alert_`)}};e();var pC=class extends fe{constructor(){super(),this.constructors={},this.destructors={},this.instances={},this.singletonInstances={},this.referenceCounts={}}get name(){return`InstanceManager`}static get Instance(){return this.instance||=new this}registerDataService(e,t){this.validateConstructor(e);let n=e.prototype.name;return this.referenceCounts[n]=0,this.constructors[n]=()=>new e({dataProvider:this.getInstance(t.dataProvider),cache:this.getInstance(t.cache),bootstrapData:t.bootstrapData,defaultErrorHandler:t.defaultErrorHandler,alertService:t.alertService}),this.destructors[n]=()=>{this.instances[n]?this.instances[n].destroy():y.throw(new M(`Trying to destroy a ${n} instance that has already been destroyed`)),this.releaseInstance(t.dataProvider),this.releaseInstance(t.cache)},this}registerInstance(e,t){this.validateConstructor(e);let n=e.prototype.name;return this.referenceCounts[n]=0,this.constructors[n]=()=>new e(t),this.destructors[n]=()=>R(this.instances[n].destroy)&&this.instances[n].destroy(),this}registerSingleton(e){let t=e.name;return this.singletonInstances[t]=e,this}getInstance(e,t){return this.singletonInstances[e]?this.singletonInstances[e]:(this.constructors[e]||y.throw(new M(`${e} was not registered with ${this.name}`)),this.referenceCounts[e]++,t&&this.listenTo(t,`destroy`,()=>this.releaseInstance(e)),this.instances[e]||(this.instances[e]=this.constructors[e]()),this.instances[e])}releaseInstance(e){if(this.instances[e])return window.setTimeout(()=>{this.referenceCounts[e]--,this.referenceCounts[e]<1&&(this.destructors[e](),delete this.instances[e])},0),this}validateConstructor(e){let t=e.prototype.name;t||y.throw(new M(`Classes registered with ${this.name} must have a unique name property.`)),this.constructors[t]&&y.throw(new M(`A class with the name: ${t} has already been registered with ${this.name}`))}}.Instance,mC=`shared.chunkLoadError`,hC=/\/([^\s/]+\.css)/,gC=/\/([^\s/]+\.js)/,_C=class extends Ln{constructor(e,t,n){super(Ft.getPhrase(mC,`title`,{chunkName:t})),this.product=`ClickView`,this.btnVariant=e,n&&(this.product=n)}get name(){return`ChunkLoadError`}get dialogOptions(){return{title:Ft.getPhrase(mC,`heading`,{product:this.product}),text:Ft.getPhrase(mC,`body`),buttons:[{text:Ft.getPhrase(mC,`reload`),className:`btn btn-${this.btnVariant}`,success:!0}]}}onDone(){ye.Reload()}};function vC(e,t){window.addEventListener(`error`,n=>{let r=n?.target,i=r?.src||r?.href,a=r?.tagName;if(!i)return;let o=e=>e?.[1]??`Unknown Chunk`,s=i.match(gC);if(s&&a===`SCRIPT`&&i.includes(`/scripts/`)&&i.includes(`.chunk.js`)){y.throw(new _C(e,o(s),t));return}let c=i.match(hC);if(c&&a===`LINK`&&i.includes(`/css/`)&&i.includes(`.chunk.css`)){y.throw(new _C(e,o(c),t));return}},!0)}var yC=class extends _e{constructor(e,t){super(`User is using old version of the code. Old: ${e}. New: ${t}`)}get name(){return`OldVersionError`}},bC=class extends _e{get name(){return`AlertError`}},xC={UPLOAD_COMPLETE:`upload:complete`,UPLOAD_SUCCESS:`upload:success`,FILES_SELECTED:`files:selected`,FILES_ADDED:`files:added`,UPLOAD_CANCELLED:`upload:cancelled`,PENDING_ITEM_READY_TO_WATCH:`pending:item:ready:to:watch`,PENDING_ITEM_STATUS_CHANGE:`pending:item:status:change`,PROCESSING_CANCELLED:`processing:cancelled`,UNLOCK_NAV:`upload:unlock:nav`,PROCESSING_FAILED:`processing:failed`},SC={PENDING_ITEMS:`pending:items:service`,VIDEO_UPLOAD:`video:upload:service`,SUBTITLE_UPLOAD:`subtitle:upload:service`,RESOURCE_UPLOAD:`resource:upload:service`,CONTEXTUAL_SEARCH:`contextual:search:service`,IMAGE_UPLOAD:`image:upload:service`,MIXED_MEDIA_UPLOAD:`media:upload:service`,BRAZE:`braze:client:service`},CC=nt(),wC=(e,t,n,r=[])=>{let i=typeof e==`string`?zb.default.channel(e):e;Z.useEffect(()=>{if(e)return i.on(t,n),()=>{e&&i.off(t,n)}},r)};function TC(){return(0,Q.jsx)(`div`,{className:`text-center p-5`,children:(0,Q.jsx)(xn,{as:`div`,animation:`border`,role:`status`})})}EC.defaultProps={closeButton:!0,bodyClassName:``,dialogClassName:``,size:`md`,closeOnNavigate:!0};function EC(e){an(e.title),wC(o.SHELL,g.ROUTE,(t,n)=>{!e.closeOnNavigate||!n.isAppRoute||e.closePopup()},[e.closePopup]);let t=e.headerButtons?.length?e.headerButtons.map((e,t)=>(0,Q.jsx)(Sn,{...e},t)):(0,Q.jsx)(Q.Fragment,{});return(0,Q.jsxs)(jS,{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&&(0,Q.jsxs)(jS.Header,{className:`d-flex align-items-center bg-white`,closeButton:e.closeButton,children:[(0,Q.jsx)(jS.Title,{as:`h2`,className:`h4 flex-grow-1 text-truncate`,children:e.title}),t]}),e.showLoadingSpinner?(0,Q.jsx)(TC,{}):(0,Q.jsx)(jS.Body,{className:e.bodyClassName,children:e.children})]})}var DC=B(j(((e,t)=>{var n=Array.isArray,r=Object.keys,i=Object.prototype.hasOwnProperty,a=typeof Element<`u`;function o(e,t){if(e===t)return!0;if(e&&t&&typeof e==`object`&&typeof t==`object`){var s=n(e),c=n(t),l,u,d;if(s&&c){if(u=e.length,u!=t.length)return!1;for(l=u;l--!==0;)if(!o(e[l],t[l]))return!1;return!0}if(s!=c)return!1;var f=e instanceof Date,p=t instanceof Date;if(f!=p)return!1;if(f&&p)return e.getTime()==t.getTime();var m=e instanceof RegExp,h=t instanceof RegExp;if(m!=h)return!1;if(m&&h)return e.toString()==t.toString();var g=r(e);if(u=g.length,u!==r(t).length)return!1;for(l=u;l--!==0;)if(!i.call(t,g[l]))return!1;if(a&&e instanceof Element&&t instanceof Element)return e===t;for(l=u;l--!==0;)if(d=g[l],!(d===`_owner`&&e.$$typeof)&&!o(e[d],t[d]))return!1;return!0}return e!==e&&t!==t}t.exports=function(e,t){try{return o(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||e.number===-2146828260)return console.warn(`Warning: react-fast-compare does not handle circular references.`,e.name,e.message),!1;throw e}}}))()),OC=function(e){return kC(e)&&!AC(e)};function kC(e){return!!e&&typeof e==`object`}function AC(e){var t=Object.prototype.toString.call(e);return t===`[object RegExp]`||t===`[object Date]`||MC(e)}var jC=typeof Symbol==`function`&&Symbol.for?Symbol.for(`react.element`):60103;function MC(e){return e.$$typeof===jC}function NC(e){return Array.isArray(e)?[]:{}}function PC(e,t){return t.clone!==!1&&t.isMergeableObject(e)?LC(NC(e),e,t):e}function FC(e,t,n){return e.concat(t).map(function(e){return PC(e,n)})}function IC(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(t){r[t]=PC(e[t],n)}),Object.keys(t).forEach(function(i){!n.isMergeableObject(t[i])||!e[i]?r[i]=PC(t[i],n):r[i]=LC(e[i],t[i],n)}),r}function LC(e,t,n){n||={},n.arrayMerge=n.arrayMerge||FC,n.isMergeableObject=n.isMergeableObject||OC;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):IC(e,t,n):PC(t,n)}LC.all=function(e,t){if(!Array.isArray(e))throw Error(`first argument should be an array`);return e.reduce(function(e,n){return LC(e,n,t)},{})};var RC=LC,zC=typeof globalThis==`object`&&globalThis&&globalThis.Object===Object&&globalThis,BC=typeof self==`object`&&self&&self.Object===Object&&self,VC=zC||BC||Function(`return this`)(),HC=VC.Symbol,UC=Object.prototype,WC=UC.hasOwnProperty,GC=UC.toString,KC=HC?HC.toStringTag:void 0;function qC(e){var t=WC.call(e,KC),n=e[KC];try{e[KC]=void 0;var r=!0}catch{}var i=GC.call(e);return r&&(t?e[KC]=n:delete e[KC]),i}var JC=Object.prototype.toString;function YC(e){return JC.call(e)}var XC=`[object Null]`,ZC=`[object Undefined]`,QC=HC?HC.toStringTag:void 0;function $C(e){return e==null?e===void 0?ZC:XC:QC&&QC in Object(e)?qC(e):YC(e)}function ew(e,t){return function(n){return e(t(n))}}var tw=ew(Object.getPrototypeOf,Object);function nw(e){return typeof e==`object`&&!!e}var rw=`[object Object]`,iw=Function.prototype,aw=Object.prototype,ow=iw.toString,sw=aw.hasOwnProperty,cw=ow.call(Object);function lw(e){if(!nw(e)||$C(e)!=rw)return!1;var t=tw(e);if(t===null)return!0;var n=sw.call(t,`constructor`)&&t.constructor;return typeof n==`function`&&n instanceof n&&ow.call(n)==cw}function uw(){this.__data__=[],this.size=0}function dw(e,t){return e===t||e!==e&&t!==t}function fw(e,t){for(var n=e.length;n--;)if(dw(e[n][0],t))return n;return-1}var pw=Array.prototype.splice;function mw(e){var t=this.__data__,n=fw(t,e);return n<0?!1:(n==t.length-1?t.pop():pw.call(t,n,1),--this.size,!0)}function hw(e){var t=this.__data__,n=fw(t,e);return n<0?void 0:t[n][1]}function gw(e){return fw(this.__data__,e)>-1}function _w(e,t){var n=this.__data__,r=fw(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function vw(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}vw.prototype.clear=uw,vw.prototype.delete=mw,vw.prototype.get=hw,vw.prototype.has=gw,vw.prototype.set=_w;function yw(){this.__data__=new vw,this.size=0}function bw(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function xw(e){return this.__data__.get(e)}function Sw(e){return this.__data__.has(e)}function Cw(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}var ww=`[object AsyncFunction]`,Tw=`[object Function]`,Ew=`[object GeneratorFunction]`,Dw=`[object Proxy]`;function Ow(e){if(!Cw(e))return!1;var t=$C(e);return t==Tw||t==Ew||t==ww||t==Dw}var kw=VC[`__core-js_shared__`],Aw=function(){var e=/[^.]+$/.exec(kw&&kw.keys&&kw.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``}();function jw(e){return!!Aw&&Aw in e}var Mw=Function.prototype.toString;function Nw(e){if(e!=null){try{return Mw.call(e)}catch{}try{return e+``}catch{}}return``}var Pw=/[\\^$.*+?()[\]{}|]/g,Fw=/^\[object .+?Constructor\]$/,Iw=Function.prototype,Lw=Object.prototype,Rw=Iw.toString,zw=Lw.hasOwnProperty,Bw=RegExp(`^`+Rw.call(zw).replace(Pw,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`);function Vw(e){return!Cw(e)||jw(e)?!1:(Ow(e)?Bw:Fw).test(Nw(e))}function Hw(e,t){return e?.[t]}function Uw(e,t){var n=Hw(e,t);return Vw(n)?n:void 0}var Ww=Uw(VC,`Map`),Gw=Uw(Object,`create`);function Kw(){this.__data__=Gw?Gw(null):{},this.size=0}function qw(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Jw=`__lodash_hash_undefined__`,Yw=Object.prototype.hasOwnProperty;function Xw(e){var t=this.__data__;if(Gw){var n=t[e];return n===Jw?void 0:n}return Yw.call(t,e)?t[e]:void 0}var Zw=Object.prototype.hasOwnProperty;function Qw(e){var t=this.__data__;return Gw?t[e]!==void 0:Zw.call(t,e)}var $w=`__lodash_hash_undefined__`;function eT(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Gw&&t===void 0?$w:t,this}function tT(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}tT.prototype.clear=Kw,tT.prototype.delete=qw,tT.prototype.get=Xw,tT.prototype.has=Qw,tT.prototype.set=eT;function nT(){this.size=0,this.__data__={hash:new tT,map:new(Ww||vw),string:new tT}}function rT(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}function iT(e,t){var n=e.__data__;return rT(t)?n[typeof t==`string`?`string`:`hash`]:n.map}function aT(e){var t=iT(this,e).delete(e);return this.size-=t?1:0,t}function oT(e){return iT(this,e).get(e)}function sT(e){return iT(this,e).has(e)}function cT(e,t){var n=iT(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function lT(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}lT.prototype.clear=nT,lT.prototype.delete=aT,lT.prototype.get=oT,lT.prototype.has=sT,lT.prototype.set=cT;var uT=200;function dT(e,t){var n=this.__data__;if(n instanceof vw){var r=n.__data__;if(!Ww||r.length<uT-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new lT(r)}return n.set(e,t),this.size=n.size,this}function fT(e){this.size=(this.__data__=new vw(e)).size}fT.prototype.clear=yw,fT.prototype.delete=bw,fT.prototype.get=xw,fT.prototype.has=Sw,fT.prototype.set=dT;function pT(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var mT=function(){try{var e=Uw(Object,`defineProperty`);return e({},``,{}),e}catch{}}();function hT(e,t,n){t==`__proto__`&&mT?mT(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var gT=Object.prototype.hasOwnProperty;function _T(e,t,n){var r=e[t];(!(gT.call(e,t)&&dw(r,n))||n===void 0&&!(t in e))&&hT(e,t,n)}function vT(e,t,n,r){var i=!n;n||={};for(var a=-1,o=t.length;++a<o;){var s=t[a],c=r?r(n[s],e[s],s,n,e):void 0;c===void 0&&(c=e[s]),i?hT(n,s,c):_T(n,s,c)}return n}function yT(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var bT=`[object Arguments]`;function xT(e){return nw(e)&&$C(e)==bT}var ST=Object.prototype,CT=ST.hasOwnProperty,wT=ST.propertyIsEnumerable,TT=xT(function(){return arguments}())?xT:function(e){return nw(e)&&CT.call(e,`callee`)&&!wT.call(e,`callee`)},ET=Array.isArray;function DT(){return!1}var OT=typeof exports==`object`&&exports&&!exports.nodeType&&exports,kT=OT&&typeof module==`object`&&module&&!module.nodeType&&module,AT=kT&&kT.exports===OT?VC.Buffer:void 0,jT=(AT?AT.isBuffer:void 0)||DT,MT=9007199254740991,NT=/^(?:0|[1-9]\d*)$/;function PT(e,t){var n=typeof e;return t??=MT,!!t&&(n==`number`||n!=`symbol`&&NT.test(e))&&e>-1&&e%1==0&&e<t}var FT=9007199254740991;function IT(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=FT}var LT=`[object Arguments]`,RT=`[object Array]`,zT=`[object Boolean]`,BT=`[object Date]`,VT=`[object Error]`,HT=`[object Function]`,UT=`[object Map]`,WT=`[object Number]`,GT=`[object Object]`,KT=`[object RegExp]`,qT=`[object Set]`,JT=`[object String]`,YT=`[object WeakMap]`,XT=`[object ArrayBuffer]`,ZT=`[object DataView]`,QT=`[object Float32Array]`,$T=`[object Float64Array]`,eE=`[object Int8Array]`,tE=`[object Int16Array]`,nE=`[object Int32Array]`,rE=`[object Uint8Array]`,iE=`[object Uint8ClampedArray]`,aE=`[object Uint16Array]`,oE=`[object Uint32Array]`,sE={};sE[QT]=sE[$T]=sE[eE]=sE[tE]=sE[nE]=sE[rE]=sE[iE]=sE[aE]=sE[oE]=!0,sE[LT]=sE[RT]=sE[XT]=sE[zT]=sE[ZT]=sE[BT]=sE[VT]=sE[HT]=sE[UT]=sE[WT]=sE[GT]=sE[KT]=sE[qT]=sE[JT]=sE[YT]=!1;function cE(e){return nw(e)&&IT(e.length)&&!!sE[$C(e)]}function lE(e){return function(t){return e(t)}}var uE=typeof exports==`object`&&exports&&!exports.nodeType&&exports,dE=uE&&typeof module==`object`&&module&&!module.nodeType&&module,fE=dE&&dE.exports===uE&&zC.process,pE=function(){try{return dE&&dE.require&&dE.require(`util`).types||fE&&fE.binding&&fE.binding(`util`)}catch{}}(),mE=pE&&pE.isTypedArray,hE=mE?lE(mE):cE,gE=Object.prototype.hasOwnProperty;function _E(e,t){var n=ET(e),r=!n&&TT(e),i=!n&&!r&&jT(e),a=!n&&!r&&!i&&hE(e),o=n||r||i||a,s=o?yT(e.length,String):[],c=s.length;for(var l in e)(t||gE.call(e,l))&&!(o&&(l==`length`||i&&(l==`offset`||l==`parent`)||a&&(l==`buffer`||l==`byteLength`||l==`byteOffset`)||PT(l,c)))&&s.push(l);return s}var vE=Object.prototype;function yE(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||vE)}var bE=ew(Object.keys,Object),xE=Object.prototype.hasOwnProperty;function SE(e){if(!yE(e))return bE(e);var t=[];for(var n in Object(e))xE.call(e,n)&&n!=`constructor`&&t.push(n);return t}function CE(e){return e!=null&&IT(e.length)&&!Ow(e)}function wE(e){return CE(e)?_E(e):SE(e)}function TE(e,t){return e&&vT(t,wE(t),e)}function EE(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var DE=Object.prototype.hasOwnProperty;function OE(e){if(!Cw(e))return EE(e);var t=yE(e),n=[];for(var r in e)r==`constructor`&&(t||!DE.call(e,r))||n.push(r);return n}function kE(e){return CE(e)?_E(e,!0):OE(e)}function AE(e,t){return e&&vT(t,kE(t),e)}var jE=typeof exports==`object`&&exports&&!exports.nodeType&&exports,ME=jE&&typeof module==`object`&&module&&!module.nodeType&&module,NE=ME&&ME.exports===jE?VC.Buffer:void 0,PE=NE?NE.allocUnsafe:void 0;function FE(e,t){if(t)return e.slice();var n=e.length,r=PE?PE(n):new e.constructor(n);return e.copy(r),r}function IE(e,t){var n=-1,r=e.length;for(t||=Array(r);++n<r;)t[n]=e[n];return t}function LE(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}function RE(){return[]}var zE=Object.prototype.propertyIsEnumerable,BE=Object.getOwnPropertySymbols,VE=BE?function(e){return e==null?[]:(e=Object(e),LE(BE(e),function(t){return zE.call(e,t)}))}:RE;function HE(e,t){return vT(e,VE(e),t)}function UE(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var WE=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)UE(t,VE(e)),e=tw(e);return t}:RE;function GE(e,t){return vT(e,WE(e),t)}function KE(e,t,n){var r=t(e);return ET(e)?r:UE(r,n(e))}function qE(e){return KE(e,wE,VE)}function JE(e){return KE(e,kE,WE)}var YE=Uw(VC,`DataView`),XE=Uw(VC,`Promise`),ZE=Uw(VC,`Set`),QE=Uw(VC,`WeakMap`),$E=`[object Map]`,eD=`[object Object]`,tD=`[object Promise]`,nD=`[object Set]`,rD=`[object WeakMap]`,iD=`[object DataView]`,aD=Nw(YE),oD=Nw(Ww),sD=Nw(XE),cD=Nw(ZE),lD=Nw(QE),uD=$C;(YE&&uD(new YE(new ArrayBuffer(1)))!=iD||Ww&&uD(new Ww)!=$E||XE&&uD(XE.resolve())!=tD||ZE&&uD(new ZE)!=nD||QE&&uD(new QE)!=rD)&&(uD=function(e){var t=$C(e),n=t==eD?e.constructor:void 0,r=n?Nw(n):``;if(r)switch(r){case aD:return iD;case oD:return $E;case sD:return tD;case cD:return nD;case lD:return rD}return t});var dD=uD,fD=Object.prototype.hasOwnProperty;function pD(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]==`string`&&fD.call(e,`index`)&&(n.index=e.index,n.input=e.input),n}var mD=VC.Uint8Array;function hD(e){var t=new e.constructor(e.byteLength);return new mD(t).set(new mD(e)),t}function gD(e,t){var n=t?hD(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var _D=/\w*$/;function vD(e){var t=new e.constructor(e.source,_D.exec(e));return t.lastIndex=e.lastIndex,t}var yD=HC?HC.prototype:void 0,bD=yD?yD.valueOf:void 0;function xD(e){return bD?Object(bD.call(e)):{}}function SD(e,t){var n=t?hD(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var CD=`[object Boolean]`,wD=`[object Date]`,TD=`[object Map]`,ED=`[object Number]`,DD=`[object RegExp]`,OD=`[object Set]`,kD=`[object String]`,AD=`[object Symbol]`,jD=`[object ArrayBuffer]`,MD=`[object DataView]`,ND=`[object Float32Array]`,PD=`[object Float64Array]`,FD=`[object Int8Array]`,ID=`[object Int16Array]`,LD=`[object Int32Array]`,RD=`[object Uint8Array]`,zD=`[object Uint8ClampedArray]`,BD=`[object Uint16Array]`,VD=`[object Uint32Array]`;function HD(e,t,n){var r=e.constructor;switch(t){case jD:return hD(e);case CD:case wD:return new r(+e);case MD:return gD(e,n);case ND:case PD:case FD:case ID:case LD:case RD:case zD:case BD:case VD:return SD(e,n);case TD:return new r;case ED:case kD:return new r(e);case DD:return vD(e);case OD:return new r;case AD:return xD(e)}}var UD=Object.create,WD=function(){function e(){}return function(t){if(!Cw(t))return{};if(UD)return UD(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function GD(e){return typeof e.constructor==`function`&&!yE(e)?WD(tw(e)):{}}var KD=`[object Map]`;function qD(e){return nw(e)&&dD(e)==KD}var JD=pE&&pE.isMap,YD=JD?lE(JD):qD,XD=`[object Set]`;function ZD(e){return nw(e)&&dD(e)==XD}var QD=pE&&pE.isSet,$D=QD?lE(QD):ZD,eO=1,tO=2,nO=4,rO=`[object Arguments]`,iO=`[object Array]`,aO=`[object Boolean]`,oO=`[object Date]`,sO=`[object Error]`,cO=`[object Function]`,lO=`[object GeneratorFunction]`,uO=`[object Map]`,dO=`[object Number]`,fO=`[object Object]`,pO=`[object RegExp]`,mO=`[object Set]`,hO=`[object String]`,gO=`[object Symbol]`,_O=`[object WeakMap]`,vO=`[object ArrayBuffer]`,yO=`[object DataView]`,bO=`[object Float32Array]`,xO=`[object Float64Array]`,SO=`[object Int8Array]`,CO=`[object Int16Array]`,wO=`[object Int32Array]`,TO=`[object Uint8Array]`,EO=`[object Uint8ClampedArray]`,DO=`[object Uint16Array]`,OO=`[object Uint32Array]`,kO={};kO[rO]=kO[iO]=kO[vO]=kO[yO]=kO[aO]=kO[oO]=kO[bO]=kO[xO]=kO[SO]=kO[CO]=kO[wO]=kO[uO]=kO[dO]=kO[fO]=kO[pO]=kO[mO]=kO[hO]=kO[gO]=kO[TO]=kO[EO]=kO[DO]=kO[OO]=!0,kO[sO]=kO[cO]=kO[_O]=!1;function AO(e,t,n,r,i,a){var o,s=t&eO,c=t&tO,l=t&nO;if(n&&(o=i?n(e,r,i,a):n(e)),o!==void 0)return o;if(!Cw(e))return e;var u=ET(e);if(u){if(o=pD(e),!s)return IE(e,o)}else{var d=dD(e),f=d==cO||d==lO;if(jT(e))return FE(e,s);if(d==fO||d==rO||f&&!i){if(o=c||f?{}:GD(e),!s)return c?GE(e,AE(o,e)):HE(e,TE(o,e))}else{if(!kO[d])return i?e:{};o=HD(e,d,s)}}a||=new fT;var p=a.get(e);if(p)return p;a.set(e,o),$D(e)?e.forEach(function(r){o.add(AO(r,t,n,r,e,a))}):YD(e)&&e.forEach(function(r,i){o.set(i,AO(r,t,n,i,e,a))});var m=u?void 0:(l?c?JE:qE:c?kE:wE)(e);return pT(m||e,function(r,i){m&&(i=r,r=e[i]),_T(o,i,AO(r,t,n,i,e,a))}),o}var jO=4;function MO(e){return AO(e,jO)}function NO(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var PO=`[object Symbol]`;function FO(e){return typeof e==`symbol`||nw(e)&&$C(e)==PO}var IO=`Expected a function`;function LO(e,t){if(typeof e!=`function`||t!=null&&typeof t!=`function`)throw TypeError(IO);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(LO.Cache||lT),n}LO.Cache=lT;var RO=500;function zO(e){var t=LO(e,function(e){return n.size===RO&&n.clear(),e}),n=t.cache;return t}var BO=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,VO=/\\(\\)?/g,HO=zO(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(``),e.replace(BO,function(e,n,r,i){t.push(r?i.replace(VO,`$1`):n||e)}),t}),UO=1/0;function WO(e){if(typeof e==`string`||FO(e))return e;var t=e+``;return t==`0`&&1/e==-UO?`-0`:t}var GO=1/0,KO=HC?HC.prototype:void 0,qO=KO?KO.toString:void 0;function JO(e){if(typeof e==`string`)return e;if(ET(e))return NO(e,JO)+``;if(FO(e))return qO?qO.call(e):``;var t=e+``;return t==`0`&&1/e==-GO?`-0`:t}function YO(e){return e==null?``:JO(e)}function XO(e){return ET(e)?NO(e,WO):FO(e)?[e]:IE(HO(YO(e)))}var ZO=!0;function QO(e,t){if(!ZO){if(e)return;var n=`Warning: `+t;typeof console<`u`&&console.warn(n);try{throw Error(n)}catch{}}}var $O=1,ek=4;function tk(e){return AO(e,$O|ek)}function nk(){return nk=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nk.apply(this,arguments)}function rk(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function ik(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function ak(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}var ok=function(e){return Array.isArray(e)&&e.length===0},sk=function(e){return typeof e==`function`},ck=function(e){return typeof e==`object`&&!!e},lk=function(e){return String(Math.floor(Number(e)))===e},uk=function(e){return Object.prototype.toString.call(e)===`[object String]`},dk=function(e){return Z.Children.count(e)===0},fk=function(e){return ck(e)&&sk(e.then)};function pk(e,t,n,r){r===void 0&&(r=0);for(var i=XO(t);e&&r<i.length;)e=e[i[r++]];return e===void 0?n:e}function mk(e,t,n){for(var r=MO(e),i=r,a=0,o=XO(t);a<o.length-1;a++){var s=o[a],c=pk(e,o.slice(0,a+1));if(c&&(ck(c)||Array.isArray(c)))i=i[s]=MO(c);else{var l=o[a+1];i=i[s]=lk(l)&&Number(l)>=0?[]:{}}}return(a===0?e:i)[o[a]]===n?e:(n===void 0?delete i[o[a]]:i[o[a]]=n,a===0&&n===void 0&&delete r[o[a]],r)}function hk(e,t,n,r){n===void 0&&(n=new WeakMap),r===void 0&&(r={});for(var i=0,a=Object.keys(e);i<a.length;i++){var o=a[i],s=e[o];ck(s)?n.get(s)||(n.set(s,!0),r[o]=Array.isArray(s)?[]:{},hk(s,t,n,r[o])):r[o]=t}return r}var gk=(0,Z.createContext)(void 0);gk.displayName=`FormikContext`;var _k=gk.Provider,vk=gk.Consumer;function yk(){var e=(0,Z.useContext)(gk);return!e&&QO(!1),e}function bk(e,t){switch(t.type){case`SET_VALUES`:return nk({},e,{values:t.payload});case`SET_TOUCHED`:return nk({},e,{touched:t.payload});case`SET_ERRORS`:return(0,DC.default)(e.errors,t.payload)?e:nk({},e,{errors:t.payload});case`SET_STATUS`:return nk({},e,{status:t.payload});case`SET_ISSUBMITTING`:return nk({},e,{isSubmitting:t.payload});case`SET_ISVALIDATING`:return nk({},e,{isValidating:t.payload});case`SET_FIELD_VALUE`:return nk({},e,{values:mk(e.values,t.payload.field,t.payload.value)});case`SET_FIELD_TOUCHED`:return nk({},e,{touched:mk(e.touched,t.payload.field,t.payload.value)});case`SET_FIELD_ERROR`:return nk({},e,{errors:mk(e.errors,t.payload.field,t.payload.value)});case`RESET_FORM`:return nk({},e,t.payload);case`SET_FORMIK_STATE`:return t.payload(e);case`SUBMIT_ATTEMPT`:return nk({},e,{touched:hk(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case`SUBMIT_FAILURE`:return nk({},e,{isSubmitting:!1});case`SUBMIT_SUCCESS`:return nk({},e,{isSubmitting:!1});default:return e}}var xk={},Sk={};function Ck(e){var t=e.validateOnChange,n=t===void 0?!0:t,r=e.validateOnBlur,i=r===void 0?!0:r,a=e.validateOnMount,o=a===void 0?!1:a,s=e.isInitialValid,c=e.enableReinitialize,l=c===void 0?!1:c,u=e.onSubmit,d=ik(e,[`validateOnChange`,`validateOnBlur`,`validateOnMount`,`isInitialValid`,`enableReinitialize`,`onSubmit`]),f=nk({validateOnChange:n,validateOnBlur:i,validateOnMount:o,onSubmit:u},d),p=(0,Z.useRef)(f.initialValues),m=(0,Z.useRef)(f.initialErrors||xk),h=(0,Z.useRef)(f.initialTouched||Sk),g=(0,Z.useRef)(f.initialStatus),_=(0,Z.useRef)(!1),v=(0,Z.useRef)({});(0,Z.useEffect)(function(){return _.current=!0,function(){_.current=!1}},[]);var y=(0,Z.useReducer)(bk,{values:f.initialValues,errors:f.initialErrors||xk,touched:f.initialTouched||Sk,status:f.initialStatus,isSubmitting:!1,isValidating:!1,submitCount:0}),b=y[0],x=y[1],S=(0,Z.useCallback)(function(e,t){return new Promise(function(n,r){var i=f.validate(e,t);i==null?n(xk):fk(i)?i.then(function(e){n(e||xk)},function(e){r(e)}):n(i)})},[f.validate]),C=(0,Z.useCallback)(function(e,t){var n=f.validationSchema,r=sk(n)?n(t):n,i=t&&r.validateAt?r.validateAt(t,e):Ek(e,r);return new Promise(function(e,t){i.then(function(){e(xk)},function(n){n.name===`ValidationError`?e(Tk(n)):t(n)})})},[f.validationSchema]),w=(0,Z.useCallback)(function(e,t){return new Promise(function(n){return n(v.current[e].validate(t))})},[]),T=(0,Z.useCallback)(function(e){var t=Object.keys(v.current).filter(function(e){return sk(v.current[e].validate)}),n=t.length>0?t.map(function(t){return w(t,pk(e,t))}):[Promise.resolve(`DO_NOT_DELETE_YOU_WILL_BE_FIRED`)];return Promise.all(n).then(function(e){return e.reduce(function(e,n,r){return n===`DO_NOT_DELETE_YOU_WILL_BE_FIRED`||n&&(e=mk(e,t[r],n)),e},{})})},[w]),E=(0,Z.useCallback)(function(e){return Promise.all([T(e),f.validationSchema?C(e):{},f.validate?S(e):{}]).then(function(e){var t=e[0],n=e[1],r=e[2];return RC.all([t,n,r],{arrayMerge:Ok})})},[f.validate,f.validationSchema,T,S,C]),D=Mk(function(e){return e===void 0&&(e=b.values),x({type:`SET_ISVALIDATING`,payload:!0}),E(e).then(function(e){return _.current&&(x({type:`SET_ISVALIDATING`,payload:!1}),x({type:`SET_ERRORS`,payload:e})),e})});(0,Z.useEffect)(function(){o&&_.current===!0&&(0,DC.default)(p.current,f.initialValues)&&D(p.current)},[o,D]);var O=(0,Z.useCallback)(function(e){var t=e&&e.values?e.values:p.current,n=e&&e.errors?e.errors:m.current?m.current:f.initialErrors||{},r=e&&e.touched?e.touched:h.current?h.current:f.initialTouched||{},i=e&&e.status?e.status:g.current?g.current:f.initialStatus;p.current=t,m.current=n,h.current=r,g.current=i;var a=function(){x({type:`RESET_FORM`,payload:{isSubmitting:!!e&&!!e.isSubmitting,errors:n,touched:r,status:i,values:t,isValidating:!!e&&!!e.isValidating,submitCount:e&&e.submitCount&&typeof e.submitCount==`number`?e.submitCount:0}})};if(f.onReset){var o=f.onReset(b.values,oe);fk(o)?o.then(a):a()}else a()},[f.initialErrors,f.initialStatus,f.initialTouched]);(0,Z.useEffect)(function(){_.current===!0&&!(0,DC.default)(p.current,f.initialValues)&&(l&&(p.current=f.initialValues,O()),o&&D(p.current))},[l,f.initialValues,O,o,D]),(0,Z.useEffect)(function(){l&&_.current===!0&&!(0,DC.default)(m.current,f.initialErrors)&&(m.current=f.initialErrors||xk,x({type:`SET_ERRORS`,payload:f.initialErrors||xk}))},[l,f.initialErrors]),(0,Z.useEffect)(function(){l&&_.current===!0&&!(0,DC.default)(h.current,f.initialTouched)&&(h.current=f.initialTouched||Sk,x({type:`SET_TOUCHED`,payload:f.initialTouched||Sk}))},[l,f.initialTouched]),(0,Z.useEffect)(function(){l&&_.current===!0&&!(0,DC.default)(g.current,f.initialStatus)&&(g.current=f.initialStatus,x({type:`SET_STATUS`,payload:f.initialStatus}))},[l,f.initialStatus,f.initialTouched]);var k=Mk(function(e){if(v.current[e]&&sk(v.current[e].validate)){var t=pk(b.values,e),n=v.current[e].validate(t);return fk(n)?(x({type:`SET_ISVALIDATING`,payload:!0}),n.then(function(e){return e}).then(function(t){x({type:`SET_FIELD_ERROR`,payload:{field:e,value:t}}),x({type:`SET_ISVALIDATING`,payload:!1})})):(x({type:`SET_FIELD_ERROR`,payload:{field:e,value:n}}),Promise.resolve(n))}else if(f.validationSchema)return x({type:`SET_ISVALIDATING`,payload:!0}),C(b.values,e).then(function(e){return e}).then(function(t){x({type:`SET_FIELD_ERROR`,payload:{field:e,value:t[e]}}),x({type:`SET_ISVALIDATING`,payload:!1})});return Promise.resolve()}),A=(0,Z.useCallback)(function(e,t){var n=t.validate;v.current[e]={validate:n}},[]),j=(0,Z.useCallback)(function(e){delete v.current[e]},[]),M=Mk(function(e,t){return x({type:`SET_TOUCHED`,payload:e}),(t===void 0?i:t)?D(b.values):Promise.resolve()}),N=(0,Z.useCallback)(function(e){x({type:`SET_ERRORS`,payload:e})},[]),P=Mk(function(e,t){var r=sk(e)?e(b.values):e;return x({type:`SET_VALUES`,payload:r}),(t===void 0?n:t)?D(r):Promise.resolve()}),F=(0,Z.useCallback)(function(e,t){x({type:`SET_FIELD_ERROR`,payload:{field:e,value:t}})},[]),I=Mk(function(e,t,r){return x({type:`SET_FIELD_VALUE`,payload:{field:e,value:t}}),(r===void 0?n:r)?D(mk(b.values,e,t)):Promise.resolve()}),L=(0,Z.useCallback)(function(e,t){var n=t,r=e,i;if(!uk(e)){e.persist&&e.persist();var a=e.target?e.target:e.currentTarget,o=a.type,s=a.name,c=a.id,l=a.value,u=a.checked;a.outerHTML;var d=a.options,f=a.multiple;n=t||s||c,r=/number|range/.test(o)?(i=parseFloat(l),isNaN(i)?``:i):/checkbox/.test(o)?Ak(pk(b.values,n),u,l):d&&f?kk(d):l}n&&I(n,r)},[I,b.values]),R=Mk(function(e){if(uk(e))return function(t){return L(t,e)};L(e)}),z=Mk(function(e,t,n){return t===void 0&&(t=!0),x({type:`SET_FIELD_TOUCHED`,payload:{field:e,value:t}}),(n===void 0?i:n)?D(b.values):Promise.resolve()}),B=(0,Z.useCallback)(function(e,t){e.persist&&e.persist();var n=e.target,r=n.name,i=n.id;n.outerHTML,z(t||r||i,!0)},[z]),ee=Mk(function(e){if(uk(e))return function(t){return B(t,e)};B(e)}),te=(0,Z.useCallback)(function(e){sk(e)?x({type:`SET_FORMIK_STATE`,payload:e}):x({type:`SET_FORMIK_STATE`,payload:function(){return e}})},[]),ne=(0,Z.useCallback)(function(e){x({type:`SET_STATUS`,payload:e})},[]),re=(0,Z.useCallback)(function(e){x({type:`SET_ISSUBMITTING`,payload:e})},[]),ie=Mk(function(){return x({type:`SUBMIT_ATTEMPT`}),D().then(function(e){var t=e instanceof Error;if(!t&&Object.keys(e).length===0){var n;try{if(n=se(),n===void 0)return}catch(e){throw e}return Promise.resolve(n).then(function(e){return _.current&&x({type:`SUBMIT_SUCCESS`}),e}).catch(function(e){if(_.current)throw x({type:`SUBMIT_FAILURE`}),e})}else if(_.current&&(x({type:`SUBMIT_FAILURE`}),t))throw e})}),ae=Mk(function(e){e&&e.preventDefault&&sk(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&sk(e.stopPropagation)&&e.stopPropagation(),ie().catch(function(e){console.warn(`Warning: An unhandled error was caught from submitForm()`,e)})}),oe={resetForm:O,validateForm:D,validateField:k,setErrors:N,setFieldError:F,setFieldTouched:z,setFieldValue:I,setStatus:ne,setSubmitting:re,setTouched:M,setValues:P,setFormikState:te,submitForm:ie},se=Mk(function(){return u(b.values,oe)}),ce=Mk(function(e){e&&e.preventDefault&&sk(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&sk(e.stopPropagation)&&e.stopPropagation(),O()}),le=(0,Z.useCallback)(function(e){return{value:pk(b.values,e),error:pk(b.errors,e),touched:!!pk(b.touched,e),initialValue:pk(p.current,e),initialTouched:!!pk(h.current,e),initialError:pk(m.current,e)}},[b.errors,b.touched,b.values]),ue=(0,Z.useCallback)(function(e){return{setValue:function(t,n){return I(e,t,n)},setTouched:function(t,n){return z(e,t,n)},setError:function(t){return F(e,t)}}},[I,z,F]),de=(0,Z.useCallback)(function(e){var t=ck(e),n=t?e.name:e,r=pk(b.values,n),i={name:n,value:r,onChange:R,onBlur:ee};if(t){var a=e.type,o=e.value,s=e.as,c=e.multiple;a===`checkbox`?o===void 0?i.checked=!!r:(i.checked=!!(Array.isArray(r)&&~r.indexOf(o)),i.value=o):a===`radio`?(i.checked=r===o,i.value=o):s===`select`&&c&&(i.value=i.value||[],i.multiple=!0)}return i},[ee,R,b.values]),fe=(0,Z.useMemo)(function(){return!(0,DC.default)(p.current,b.values)},[p.current,b.values]),pe=(0,Z.useMemo)(function(){return s===void 0||fe?b.errors&&Object.keys(b.errors).length===0:s!==!1&&sk(s)?s(f):s},[s,fe,b.errors,f]);return nk({},b,{initialValues:p.current,initialErrors:m.current,initialTouched:h.current,initialStatus:g.current,handleBlur:ee,handleChange:R,handleReset:ce,handleSubmit:ae,resetForm:O,setErrors:N,setFormikState:te,setFieldTouched:z,setFieldValue:I,setFieldError:F,setStatus:ne,setSubmitting:re,setTouched:M,setValues:P,submitForm:ie,validateForm:D,validateField:k,isValid:pe,dirty:fe,unregisterField:j,registerField:A,getFieldProps:de,getFieldMeta:le,getFieldHelpers:ue,validateOnBlur:i,validateOnChange:n,validateOnMount:o})}function wk(e){var t=Ck(e),n=e.component,r=e.children,i=e.render,a=e.innerRef;return(0,Z.useImperativeHandle)(a,function(){return t}),(0,Z.createElement)(_k,{value:t},n?(0,Z.createElement)(n,t):i?i(t):r?sk(r)?r(t):dk(r)?null:Z.Children.only(r):null)}function Tk(e){var t={};if(e.inner){if(e.inner.length===0)return mk(t,e.path,e.message);for(var n=e.inner,r=Array.isArray(n),i=0,n=r?n:n[Symbol.iterator]();;){var a;if(r){if(i>=n.length)break;a=n[i++]}else{if(i=n.next(),i.done)break;a=i.value}var o=a;pk(t,o.path)||(t=mk(t,o.path,o.message))}}return t}function Ek(e,t,n,r){n===void 0&&(n=!1),r===void 0&&(r={});var i=Dk(e);return t[n?`validateSync`:`validate`](i,{abortEarly:!1,context:r})}function Dk(e){var t=Array.isArray(e)?[]:{};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=String(n);Array.isArray(e[r])===!0?t[r]=e[r].map(function(e){return Array.isArray(e)===!0||lw(e)?Dk(e):e===``?void 0:e}):lw(e[r])?t[r]=Dk(e[r]):t[r]=e[r]===``?void 0:e[r]}return t}function Ok(e,t,n){var r=e.slice();return t.forEach(function(t,i){r[i]===void 0?r[i]=n.clone!==!1&&n.isMergeableObject(t)?RC(Array.isArray(t)?[]:{},t,n):t:n.isMergeableObject(t)?r[i]=RC(e[i],t,n):e.indexOf(t)===-1&&r.push(t)}),r}function kk(e){return Array.from(e).filter(function(e){return e.selected}).map(function(e){return e.value})}function Ak(e,t,n){if(typeof e==`boolean`)return!!t;var r=[],i=!1,a=-1;if(Array.isArray(e))r=e,a=e.indexOf(n),i=a>=0;else if(!n||n==`true`||n==`false`)return!!t;return t&&n&&!i?r.concat(n):i?r.slice(0,a).concat(r.slice(a+1)):r}var jk=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0?Z.useLayoutEffect:Z.useEffect;function Mk(e){var t=(0,Z.useRef)(e);return jk(function(){t.current=e}),(0,Z.useCallback)(function(){var e=[...arguments];return t.current.apply(void 0,e)},[])}function Nk(e){var t=e.validate,n=e.name,r=e.render,i=e.children,a=e.as,o=e.component,s=ik(e,[`validate`,`name`,`render`,`children`,`as`,`component`]),c=ik(yk(),[`validate`,`validationSchema`]),l=c.registerField,u=c.unregisterField;(0,Z.useEffect)(function(){return l(n,{validate:t}),function(){u(n)}},[l,u,n,t]);var d=c.getFieldProps(nk({name:n},s)),f=c.getFieldMeta(n),p={field:d,form:c};if(r)return r(nk({},p,{meta:f}));if(sk(i))return i(nk({},p,{meta:f}));if(o){if(typeof o==`string`){var m=s.innerRef,h=ik(s,[`innerRef`]);return(0,Z.createElement)(o,nk({ref:m},d,h),i)}return(0,Z.createElement)(o,nk({field:d,form:c},s),i)}var g=a||`input`;if(typeof g==`string`){var _=s.innerRef,v=ik(s,[`innerRef`]);return(0,Z.createElement)(g,nk({ref:_},d,v),i)}return(0,Z.createElement)(g,nk({},d,s),i)}var Pk=(0,Z.forwardRef)(function(e,t){var n=e.action,r=ik(e,[`action`]),i=n??`#`,a=yk(),o=a.handleReset,s=a.handleSubmit;return(0,Z.createElement)(`form`,Object.assign({onSubmit:s,ref:t,onReset:o,action:i},r))});Pk.displayName=`Form`;function Fk(e){var t=function(t){return(0,Z.createElement)(vk,null,function(n){return!n&&QO(!1),(0,Z.createElement)(e,Object.assign({},t,{formik:n}))})},n=e.displayName||e.name||e.constructor&&e.constructor.name||`Component`;return t.WrappedComponent=e,t.displayName=`FormikConnect(`+n+`)`,(0,$b.default)(t,e)}var Ik=function(e,t,n){var r=Bk(e),i=r[t];return r.splice(t,1),r.splice(n,0,i),r},Lk=function(e,t,n){var r=Bk(e),i=r[t];return r[t]=r[n],r[n]=i,r},Rk=function(e,t,n){var r=Bk(e);return r.splice(t,0,n),r},zk=function(e,t,n){var r=Bk(e);return r[t]=n,r},Bk=function(e){if(!e)return[];if(Array.isArray(e))return[].concat(e);var t=Object.keys(e).map(function(e){return parseInt(e)}).reduce(function(e,t){return t>e?t:e},0);return Array.from(nk({},e,{length:t+1}))},Vk=function(e){rk(t,e);function t(t){var n=e.call(this,t)||this;return n.updateArrayField=function(e,t,r){var i=n.props,a=i.name,o=i.formik.setFormikState;o(function(n){var i=typeof r==`function`?r:e,o=typeof t==`function`?t:e,s=mk(n.values,a,e(pk(n.values,a))),c=r?i(pk(n.errors,a)):void 0,l=t?o(pk(n.touched,a)):void 0;return ok(c)&&(c=void 0),ok(l)&&(l=void 0),nk({},n,{values:s,errors:r?mk(n.errors,a,c):n.errors,touched:t?mk(n.touched,a,l):n.touched})})},n.push=function(e){return n.updateArrayField(function(t){return[].concat(Bk(t),[tk(e)])},!1,!1)},n.handlePush=function(e){return function(){return n.push(e)}},n.swap=function(e,t){return n.updateArrayField(function(n){return Lk(n,e,t)},!0,!0)},n.handleSwap=function(e,t){return function(){return n.swap(e,t)}},n.move=function(e,t){return n.updateArrayField(function(n){return Ik(n,e,t)},!0,!0)},n.handleMove=function(e,t){return function(){return n.move(e,t)}},n.insert=function(e,t){return n.updateArrayField(function(n){return Rk(n,e,t)},function(t){return Rk(t,e,null)},function(t){return Rk(t,e,null)})},n.handleInsert=function(e,t){return function(){return n.insert(e,t)}},n.replace=function(e,t){return n.updateArrayField(function(n){return zk(n,e,t)},!1,!1)},n.handleReplace=function(e,t){return function(){return n.replace(e,t)}},n.unshift=function(e){var t=-1;return n.updateArrayField(function(n){var r=n?[e].concat(n):[e];return t<0&&(t=r.length),r},function(e){var n=e?[null].concat(e):[null];return t<0&&(t=n.length),n},function(e){var n=e?[null].concat(e):[null];return t<0&&(t=n.length),n}),t},n.handleUnshift=function(e){return function(){return n.unshift(e)}},n.handleRemove=function(e){return function(){return n.remove(e)}},n.handlePop=function(){return function(){return n.pop()}},n.remove=n.remove.bind(ak(n)),n.pop=n.pop.bind(ak(n)),n}var n=t.prototype;return n.componentDidUpdate=function(e){this.props.validateOnChange&&this.props.formik.validateOnChange&&!(0,DC.default)(pk(e.formik.values,e.name),pk(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},n.remove=function(e){var t;return this.updateArrayField(function(n){var r=n?Bk(n):[];return t||=r[e],sk(r.splice)&&r.splice(e,1),r},!0,!0),t},n.pop=function(){var e;return this.updateArrayField(function(t){var n=t;return e||=n&&n.pop&&n.pop(),n},!0,!0),e},n.render=function(){var e={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},t=this.props,n=t.component,r=t.render,i=t.children,a=t.name,o=t.formik,s=ik(o,[`validate`,`validationSchema`]),c=nk({},e,{form:s,name:a});return n?(0,Z.createElement)(n,c):r?r(c):i?typeof i==`function`?i(c):dk(i)?null:Z.Children.only(i):null},t}(Z.Component);Vk.defaultProps={validateOnChange:!0};var Hk=Fk(function(e){rk(t,e);function t(){return e.apply(this,arguments)||this}var n=t.prototype;return n.shouldComponentUpdate=function(e){return pk(this.props.formik.errors,this.props.name)!==pk(e.formik.errors,this.props.name)||pk(this.props.formik.touched,this.props.name)!==pk(e.formik.touched,this.props.name)||Object.keys(this.props).length!==Object.keys(e).length},n.render=function(){var e=this.props,t=e.component,n=e.formik,r=e.render,i=e.children,a=e.name,o=ik(e,[`component`,`formik`,`render`,`children`,`name`]),s=pk(n.touched,a),c=pk(n.errors,a);return s&&c?r?sk(r)?r(c):null:i?sk(i)?i(c):null:t?(0,Z.createElement)(t,o,c):c:null},t}(Z.Component)),Uk=Z.createContext(``),Wk=Z.memo(function(e){let{phrase:t,namespace:n,options:r}=e,i=Z.useContext(Uk),a=n||i,o=Object.assign({escapeText:!0},r);return(0,Q.jsx)(`span`,{dangerouslySetInnerHTML:{__html:Ft.getPhrase(a,t,o)}})},(e,t)=>e.namespace===t.namespace&&e.phrase===t.phrase&&d.isEqual(e.options,t.options));function Gk(e){let[t,n]=Z.useState(!1);return Z.useEffect(()=>{if(!e.isValid){n(!1);return}e.dirty||e.initialStatus?.allowInitialSubmit?n(!0):n(!1)},[e.isValid,e.initialStatus?.allowInitialSubmit,e.dirty,e.values]),Z.useEffect(()=>{e.isSubmitting&&n(!1)},[e.isSubmitting]),t}function Kk(e){let{showSpinner:t,children:n,style:r,spinnerText:i,...a}=e,o=Z.useRef(null),[{width:s,height:c},l]=Z.useState({}),[u,d]=Z.useState(t);Z.useEffect(()=>{if(!t){l({});return}let e=o.current,n=e.offsetHeight,r=e.offsetWidth;!n||!r||l({width:r,height:n})},[t]),Z.useLayoutEffect(()=>{d(t)},[t]);let f={...r};return s&&(f.width=`${s+1}px`),c&&(f.height=`${c+1}px`),(0,Q.jsx)(gn,{ref:o,disabled:t,style:f,...a,children:u?(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(xn,{as:`span`,animation:`border`,role:`status`,size:`sm`}),!!i&&(0,Q.jsx)(`span`,{className:`ps-1`,children:i})]}):n})}var qk=`shared.popup`,Jk=e=>(0,Q.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 Yk(e){return(0,Q.jsx)(Kk,{variant:e.variant||`primary`,type:e.type||`submit`,disabled:e.disabled||e.showSpinner,size:e.size,className:e.className?e.className:``,onClick:()=>e.onClick?.(),showSpinner:e.showSpinner,spinnerText:e.spinnerText,children:e.text?(0,Q.jsx)(Q.Fragment,{children:e.text}):(0,Q.jsx)(Wk,{namespace:qk,phrase:e.isNew?`create`:`save`})})}function Xk(e){let t=yk(),n=Gk(t??{}),r=t?.isSubmitting||e.showSpinner;function i(){return typeof e.disabled==`boolean`?e.disabled:!!t&&!n||r}return(0,Q.jsx)(Yk,{...e,disabled:i(),showSpinner:r})}Jk.Submit=e=>Z.useContext(gk)?(0,Q.jsx)(Xk,{...e}):(0,Q.jsx)(Yk,{...e}),Jk.Cancel=e=>(0,Q.jsx)(gn,{onClick:e.onClick,variant:e.variant||`link`,size:e.size,className:e.className?e.className:`me-2`,children:e.text?e.text:(0,Q.jsx)(Wk,{namespace:qk,phrase:`cancel`})}),Jk.Checkbox=e=>(0,Q.jsx)(_n.Check,{type:`checkbox`,className:e.className??`me-auto`,label:e.label,id:e.id,onChange:e.onToggle,checked:e.checked}),Jk.Toggle=e=>(0,Q.jsxs)(`div`,{className:`d-flex align-items-center me-auto`,children:[(0,Q.jsx)(vn,{on:e.on,onClick:e.onClick,disabled:e.disabled,tooltipText:e.tooltip}),!!e.label&&(0,Q.jsx)(`span`,{className:`fw-semibold ms-2`,children:e.label})]});var Zk=`shared.shared-utils`,Qk=null,$k={render:(e,t={})=>{let n=document.getElementById(`dialog-region`);n||(n=document.createElement(`div`),n.id=`dialog-region`,document.appendChild(n)),Qk||=(0,CC.createRoot)(n);function r(){if(mt.isFunction(t.submitButtonProps?.onClick)){let e=t.submitButtonProps.onClick();if(e instanceof Promise){e.then(()=>{Qk.unmount(),Qk=null});return}}Qk.unmount(),Qk=null}function i(){mt.isFunction(t.cancelButtonProps?.onClick)&&t.cancelButtonProps.onClick(),Qk.unmount(),Qk=null}let a={...t.submitButtonProps?t.submitButtonProps:{},onClick:()=>{r()}},o={...t.cancelButtonProps?t.cancelButtonProps:{},onClick:()=>{i()}};Qk.render((0,Q.jsxs)(EC,{title:t.title,closePopup:i,size:t.size,centered:t.centered,bodyClassName:`overflow-hidden`,dialogClassName:t.dialogClassName,children:[e,!t.hideButtons&&(0,Q.jsxs)(Jk,{className:t.buttonContainerClassName,children:[t.cancelButtonProps&&(0,Q.jsx)(Jk.Cancel,{...o}),t.submitButtonProps&&(0,Q.jsx)(Jk.Submit,{...a})]})]}))},getDefaultSubmitButton(){return{variant:`dark`,text:Ft.getPhrase(Zk,`confirm`)}},getDefaultCancelButton(){return{variant:`light`,text:Ft.getPhrase(Zk,`cancel`)}}},eA=Ft.encloseNamespace(`shared.hooks`),tA=!1,nA={isLocked:()=>tA},rA=()=>{let[e,t]=Z.useState([]),n=zb.default.channel(o.SHELL);Z.useEffect(()=>(e.find(e=>!e.allowAppLinks)&&n.on(g.NAV_IS_LOCKED,a),e.length&&window.addEventListener(`beforeunload`,s),()=>{n.off(g.NAV_IS_LOCKED,a),window.removeEventListener(`beforeunload`,s)}),[e]),Z.useEffect(()=>{function e(){r({id:`upload`,title:eA(`navLockTitle`),text:eA(`navLockBody`),allowAppLinks:!0})}let t=zb.default.channel(SC.VIDEO_UPLOAD);return t.on(xC.FILES_ADDED,e),t.on(xC.UNLOCK_NAV,i),()=>{t.off(xC.FILES_ADDED,e),t.off(xC.UNLOCK_NAV,i)}},[]);function r(r={}){e.find(e=>e.id===r.id)||(r.allowAppLinks||n.trigger(g.LOCK_NAV),t([...e,r]),tA=!0)}function i(r){let i=e.filter(e=>e.id!==r);(i.length===0||!i.find(e=>!e.allowAppLinks))&&n.trigger(g.UNLOCK_NAV),t(i),i.length||(tA=!1)}function a(t){if(!e.length)return;let r=e.find(e=>!e.allowAppLinks);if(r.appLinkWhitelist?.find(e=>e.action===t.action&&e.application===t.application)){n.trigger(g.UNLOCK_NAV),window.setTimeout(()=>{m.trigger(t),n.trigger(g.LOCK_NAV)},0);return}if(mt.isFunction(r.renderCustomDialog)){r.renderCustomDialog();return}$k.render((0,Q.jsx)(`p`,{children:r.text}),{title:r.title,submitButtonProps:{onClick:()=>{r.onConfirmUnlock&&r.onConfirmUnlock(),c(t)},variant:`danger`,text:eA(`discard`)},cancelButtonProps:{text:eA(`cancel`),variant:`link`}})}function s(t){let n=e.find(e=>e.allowAppLinks);return n||=Nt.first(e),t.returnValue=n.text,n.text}function c(t){n.trigger(g.NAV_UNLOCKED_BY_USER),e.forEach(e=>{e.allowAppLinks||i(e.id)}),window.removeEventListener(`beforeunload`,s),m.trigger(t)}return{lock:r,unlock:i}},iA=9e5,aA=new class extends fe{constructor(...e){super(...e),this.canReload=!0}get name(){return An.OldVersion}initialize(){this.onVisibilityChange=this.onVisibilityChange.bind(this),this.onInactivityTimeout=this.onInactivityTimeout.bind(this)}handleOldVersion(){document.addEventListener(`visibilitychange`,this.onVisibilityChange),this.onVisibilityChange()}onVisibilityChange(){if(!document.hidden){window.clearTimeout(this.timeout);return}this.setInactivityTimeout()}setInactivityTimeout(){this.timeout=window.setTimeout(this.onInactivityTimeout,iA)}onInactivityTimeout(){if(nA.isLocked()){this.setInactivityTimeout();return}this.onInactive()}onInactive(){if(!this.canReload||nA.isLocked()){this.setInactivityTimeout();return}ye.Reload()}setCanReload(e){this.canReload=e}},oA={Success:`Success! 🙌`,Warning:`Whoops...`,Fail:`Oops...`,Info:`FYI`};function sA(e){pC.getInstance(Pt.ALERT).createAlert({heading:oA.Fail,type:uC.Fail,message:e.message})}function cA(e){zb.default.channel(`error:view`).reply(`current:error`,()=>e),m.trigger({application:Lt.DEFAULT,action:Rt.Default.NOT_FOUND})}function lA(e){zb.default.channel(`error:view`).reply(`current:error`,()=>e),m.trigger({application:Lt.DEFAULT,action:Rt.Default.ERROR})}function uA(e){zb.default.channel(`error:view`).reply(`current:error`,()=>e),m.trigger({application:Lt.DEFAULT,action:Rt.Default.DIALOG_ERROR})}function dA(){aA.handleOldVersion()}function fA(e,t){e.registerErrorHandler(Bb,lA).registerErrorHandler(Ln,uA).registerErrorHandler(bC,sA).registerErrorHandler(Xb,cA).registerErrorHandler(Hb,lA).registerErrorHandler(yC,dA),vC(`dark`),t(e)}var pA=class extends ge{constructor(...e){super(...e),this.regionRoots={},this.isReactComponentRendered={}}isReactComponent(e){return Z.default&&Z.isValidElement(e)}showChildView(e,t,n){if(this.isReactComponent(t)){this.showChildReactComponent(e,t),this.isReactComponentRendered[e]=!0;return}this.isReactComponentRendered[e]&&this.unmountRoot(e),super.showChildView(e,t,n),this.isReactComponentRendered[e]=!1}showChildReactComponent(e,t){if(this.isAttached()){this.renderChildReactComponent(e,t);return}this.listenToOnce(this,`attach`,()=>this.renderChildReactComponent(e,t))}renderChildReactComponent(e,t){let n=this.getRegion(e),r=this.$el.find(n.el);!r||!r.length||(n.trigger(`before:show`),this.regionRoots[e]||(this.regionRoots[e]=(0,CC.createRoot)(r[0])),this.regionRoots[e].render(t),window.setTimeout(()=>n.trigger(`show`),0),this.listenToOnce(this,`unmount:${e}`,()=>this.unmountRoot(e)),this.listenToOnce(this,`before:destroy`,()=>this.unmountRoot(e)))}unmountRoot(e){this.regionRoots[e]&&(this.regionRoots[e].unmount(),delete this.regionRoots[e])}wrapWithStore(e){return(0,Q.jsx)(St,{store:this.options.store,children:e})}},mA=class extends Z.Component{constructor(e){super(e),this.currentErrorHandled=!1,this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){this.currentErrorHandled||(this.currentErrorHandled=!0,window.trackJs&&window.trackJs.console.error(e.message,{errorInfo:t}),this.props.throwError&&(y.throw(new this.props.throwError(e.message)),window.setTimeout(()=>{this.currentErrorHandled=!1,this.setState({error:null})},500)))}render(){let{error:e}=this.state;if(e&&this.props.renderError){let e=this.props.renderError;return(0,Q.jsx)(e,{})}return e||!this.props.children?(0,Q.jsx)(Q.Fragment,{}):this.props.children}};function hA(e){return document.querySelector(`.${e}`)}var gA=Z.createContext(null);function _A(e){let[t,n]=Z.useState();return Z.useEffect(()=>{n(hA(e.containerClassName))},[]),(0,Q.jsx)(gA.Provider,{value:{container:t},children:e.children})}var vA=Z.createContext({}),yA=e=>{let t=Rn(`(max-width: 575.98px)`),n=Rn(`(min-width: 576px) and (max-width: 767.98px)`),r=Rn(`(min-width: 768px) and (max-width: 991.98px)`),i=Rn(`(min-width: 992px) and (max-width: 1199.98px)`),a=Rn(`(min-width: 1200px) and (max-width: 1439.98px)`),o=Rn(`(min-width: 1440px)`),s=Z.useMemo(()=>({xs:t,sm:n,md:r,lg:i,xl:a,xxl:o}),[t,n,r,i,a,o]);return(0,Q.jsx)(vA.Provider,{value:s,children:e.children})},bA=`shared.unspecifiedDialogError`,xA=class extends Ln{constructor(){super(`Unspecified dialog error`),this.btnVariant=`dark`}get name(){return`UnspecifiedDialogError`}get dialogOptions(){return{title:Ft.getPhrase(bA,`title`),text:Ft.getPhrase(bA,`body`),buttons:[{text:Ft.getPhrase(bA,`close`),className:`btn btn-${this.btnVariant}`,success:!0}]}}};function SA(){function e(n){n.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)}(0,Z.useEffect)(()=>(window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)),[])}function CA(){let e=wt(GS.version());return e.data?(0,Q.jsx)(`footer`,{className:`text-center text-secondary my-2`,children:(0,Q.jsxs)(`small`,{children:[`2003 - `,new Date().getFullYear(),` © ClickView | Version: `,e.data]})}):(0,Q.jsx)(Q.Fragment,{})}var wA=`M317.302 140.594C356.23 163.069 356.23 219.257 317.302 241.731L87.9302 374.159C36.1933 404.029 -21.7046 346.131 8.16593 294.394L50.9108 220.359C61.3416 202.293 61.3416 180.034 50.9109 161.967L8.16512 87.9294C-21.7052 36.1925 36.1927 -21.7052 87.9295 8.16518L317.302 140.594Z`;function TA(){return(0,Q.jsxs)(`svg`,{viewBox:`0 0 458 383`,children:[(0,Q.jsx)(`title`,{children:`ClickView Logo`}),(0,Q.jsx)(`path`,{d:wA,fill:`#F8981D`})]})}function EA(){return(0,Q.jsxs)(`svg`,{viewBox:`0 0 2420 383`,children:[(0,Q.jsx)(`title`,{children:`ClickView Logo`}),(0,Q.jsx)(`path`,{fill:`#f8981d`,d:wA}),(0,Q.jsx)(`path`,{fill:`#313543`,d:`M611.506 37.93c32.531 0 61.155 7.86 85.686 23.732 24.569 15.898 42.448 38.445 53.64 67.43l2.553 6.609h-55.686l-1.301-2.829c-7.699-16.724-18.767-29.458-33.196-38.377l-.11-.069-.014-.01c-13.652-8.57-30.142-13.096-49.669-13.371l-1.903-.014c-19.522 0-36.885 4.537-52.213 13.522-15.305 8.973-27.345 21.774-36.129 38.544l-.015.029c-8.74 16.421-13.202 35.916-13.202 58.645 0 22.414 4.447 41.908 13.188 58.62l.847 1.564.825 1.465c8.613 15.034 20.102 26.719 34.486 35.152 15.328 8.985 32.691 13.521 52.213 13.521l1.906-.013c19.595-.268 36.134-4.686 49.812-13.045 14.419-8.92 25.48-21.649 33.175-38.367l1.3-2.826h55.708l-2.58 6.622c-11.198 28.71-29.078 51.11-53.635 67l-.091.058-.031.017c-24.507 15.544-53.089 23.239-85.564 23.239-27.772 0-53.222-6.451-76.248-19.403l-.022-.013-.007-.004-.117-.066-.021-.015c-22.685-13.233-40.648-31.506-53.841-54.737-13.252-23.335-19.83-49.632-19.83-78.769 0-29.136 6.578-55.434 19.83-78.768 13.169-23.468 31.098-41.866 53.747-55.1l.016-.012.205-.118c23.032-13.244 48.497-19.843 76.288-19.843M853.29 344.778h-48.522V37.935h48.522zm108.133 0H912.9V125.985h48.523zM937.586 37.93c8.392 0 15.617 3.072 21.365 9.12l.557.571c5.665 5.944 8.519 13.236 8.519 21.603 0 8.638-3.042 16.128-9.076 22.174-5.748 6.047-12.973 9.121-21.365 9.121-8.649 0-16.147-3.05-22.197-9.099-6.049-6.049-9.098-13.547-9.098-22.196 0-8.648 3.049-16.147 9.098-22.196s13.548-9.098 22.197-9.098m883.954 306.848h-48.52V125.985h48.52zM1797.71 37.93c8.39 0 15.61 3.072 21.36 9.12l.56.571c5.66 5.944 8.52 13.236 8.52 21.603 0 8.638-3.04 16.128-9.08 22.174-5.75 6.047-12.97 9.121-21.36 9.121-8.65 0-16.15-3.05-22.2-9.099s-9.1-13.547-9.1-22.196c0-8.648 3.05-16.147 9.1-22.196s13.55-9.098 22.2-9.098m-685.63 88.056c.18-.001.55-.007.8-.007h.02l1.27.007c.22-.001.58-.007.87-.007l1.23.005c25.71.192 47.32 6.421 64.47 19.041 17.63 12.79 29.21 30.547 34.76 52.985l1.49 6.025h-50.78l-1-3.522c-.03-.077-.03-.089-.05-.138-3.68-8.706-9.16-15.814-16.48-21.406l-.01-.012-.08-.064c-9.02-7.051-20.36-10.823-34.31-11.058l-1.42-.011c-18.69.005-33.52 6.889-44.94 20.703v.013l-.07.082c-3.49 4.155-6.47 8.877-8.93 14.186-3.21 9.073-4.87 19.779-4.87 32.199l.01 1.197.01 1.149c.2 11.745 1.9 21.943 5 30.664 2.43 5.277 5.37 9.989 8.8 14.153 11.43 13.858 26.29 20.763 45.01 20.763l1.37-.011c14-.221 25.37-3.876 34.4-10.69 7.21-5.445 12.74-12.723 16.56-21.979.01-.015.01-.03.02-.051l1.03-3.483h50.85l-1.64 6.118c-5.82 21.7-17.53 39.258-35.06 52.487l-.14.103-.04.022c-17.34 12.78-38.78 19.123-63.98 19.319l-1.21.005c-.21 0-.53-.004-.68-.005l-1.45.009h-.03c-.4 0-.82-.006-1.16-.009l-.91.005h-.02c-20.35 0-38.67-4.463-54.82-13.501l-.03-.013-.09-.053c-15.42-8.796-27.62-21.14-36.53-36.934l-.01-.014-.01-.014-.82-1.481-.01-.013-.01-.014c-8.73-16.072-13.15-34.684-13.42-55.69v-.023l-.01-1.99v-.026c0-21.601 4.42-40.66 13.45-57.012v-.005l.82-1.481.01-.013.01-.015c8.91-15.794 21.11-28.138 36.53-36.934l.09-.053.03-.014c16.15-9.038 34.47-13.501 54.82-13.501h.02zm483.02 158.82 89.96-246.876h51.35l-115.78 306.848h-51.48L1453.37 37.93h51.77zm375.01-158.827c19.94 0 37.78 4.354 53.37 13.192 15.55 8.809 27.53 21.032 35.85 36.604l.66 1.205.01.013v.013c7.04 13.033 10.99 27.498 11.91 43.315q.21 3.607.21 7.301v1.239c-.05 6.217-.43 12.744-1.13 19.576l-.45 4.359h-156.39c.98 8.318 3.05 15.659 6.15 22.076a60 60 0 0 0 8.24 10.724c11.63 11.489 25.5 17.231 41.88 17.334 13.51-.053 24.36-3.558 32.89-10.222 6.94-5.49 12.28-12.323 16.04-20.561l1.3-2.839h50.42l-1.73 6.17c-5.75 20.496-17.3 37.279-34.51 50.223l-.01.009-.02.009-.01.011c-17.36 12.794-38.78 19.047-63.92 19.047l-.21-.001-.07-.001-.46.002h-.02c-19.96 0-38.04-4.488-54.1-13.557l-.01-.004-.01-.006-.01-.004v-.003c-15.78-9.051-28.19-21.853-37.22-38.29l-.02-.029-.08-.162c-8.77-16.289-13.23-34.896-13.5-55.694v-.026l-.01-1.968v-.025c0-21.589 4.32-40.745 13.12-57.32 8.66-16.295 20.76-28.919 36.28-37.747l.74-.418c16.08-9.071 34.4-13.544 54.82-13.545m-1.7 41.839c-14.73 0-27.09 4.424-37.36 13.179-8.74 7.62-14.31 17.908-16.51 31.206h108.22c-.65-8.377-3-15.493-6.92-21.486l-.04-.065-.01-.01c-4.73-7.419-11.19-12.981-19.49-16.726l-.02-.007-.04-.023-.05-.023-.04-.017c-8.2-3.989-17.41-6.028-27.74-6.028m372.35 176.959h-46.41l-45.08-148.561-45.08 148.561h-46.39l-68.68-218.797h49.14l42.94 156.786 46.36-156.786h46.09l45.2 156.683L2361 125.98l47.88-.002zM1309.64 210.55l73.43-84.564h61.94l-103.03 109.019 103.39 109.773h-60.74l-74.99-84.406v84.406h-48.52V37.935h48.52z`})]})}var DA=e=>{let t=wt(In.currentUser()),n=wt(t.hasCompleted&&Ub.getCustomerSettingsRequest(t.data)),r=wt(t.hasCompleted&&Ub.getUserSettingsRequest(t.data)),i=Tt(),a=!!n.hasCompleted&&!!r.hasCompleted,o=e=>{if(!a||n.hasError||r.hasError)return null;let t=n.data?.[e];if(t)return t?.value;let i=r.data?.[e];return i?i?.value:null};function s(e,t,n,r,i){return e===`user`?Kb.updateUserSetting(t,n,r,i):Kb.updateCustomerSetting(t,n,r,i)}let c=(t,n,r,a,o)=>{function c(){pe.logUserAction({name:n.name,value:n.value},{location:e,entity:de.UserSetting,actionType:C.Edit}),r?.()}Ot(i,s(t,n,c,a,o))},l=(e,t)=>new Promise((n,r)=>{c(e,t,n,r)}),u=(e,t,n,r)=>c(`user`,e,t,n,r),d=(e,t,n,r)=>c(`customer`,e,t,n,r),f=e=>l(`user`,e),p=e=>l(`customer`,e);function m(){return t.data?.isAuthenticated?o(X.HasTopicDirectories):!0}return{isLoadingSettings:!a,updateUserSetting:u,updateUserSettingAsync:f,updateCustomerSetting:d,updateCustomerSettingAsync:p,userSettings:r,shareToGoogleClassroom:o(X.ShareToGoogleClassroom),shareToMicrosoftTeams:o(X.ShareToMicrosoftTeams),hasLti:o(X.LTI),defaultPlaybackQuality:o(X.DefaultPlaybackQuality),defaultLocalCachePlaybackQuality:o(X.DefaultLocalCachePlaybackQuality),enableSubtitlesDefault:o(X.EnableSubtitlesDefault),hasCompletedOnboardingV1:o(X.HasCompletedOnboardingV1),hasCompletedOnboardingV2:o(X.HasCompletedOnboardingV2),liteUpgradeTypeCustomer:o(X.LiteUpgradeTypeCustomer),hasNewClassificationView:o(X.HasNewClassificationView),hasCuratedDiscoverDashboards:o(X.HasCuratedDiscoverDashboards),hasSpecialEventCalendar:o(X.HasSpecialEventCalendar),hasLiteSearchDropdown:o(X.HasLiteSearchDropdown),policyEndTime:o(X.PolicyEndTime),bulkOnboardingPreferencesState:o(X.BulkOnboardingPreferencesState),hasOnlineTopics:o(X.Topics),hasPreviewVideos:o(X.PreviewVideos),hasUserEnabledPreviewVideos:o(X.UserEnabledPreviewVideos),domainSettings:o(X.DomainSettings),inviteColleague:o(X.InviteColleague),myVideosFolders:o(X.MyVideosFolders),exchangeTvProductOption:o(X.ExchangeTvProductOption),messageFrequencyOption:o(X.MessageFrequencyOption),tvRegion:o(X.TvRegion),preferredTheme:o(X.PreferredTheme),hasHubEntry:o(X.HasHubEntry),hasEnabledViviStudentCasting:o(X.HasEnabledViviStudentCasting),hasEnabledViviPlayback:o(X.HasEnabledViviPlayback),hasEnabledAppleTvPlayback:o(X.HasEnabledAppleTvPlayback),hasDisplayedTutorialVideosProductTip:o(X.HasDisplayedTutorialVideosProductTip),hasDismissedAnalyticsTutorial:o(X.HasDismissedAnalyticsTutorial),hasDismissedOpenClassroomsTutorial:o(X.HasDismissedOpenClassroomsTutorial),hasDismissedSearchAndDiscoverTutorial:o(X.HasDismissedSearchAndDiscoverTutorial),hasDismissedClassroomsTutorial:o(X.HasDismissedClassroomsTutorial),hasDismissedMySharesTutorial:o(X.HasDismissedMySharesTutorial),hasDismissedMyVideosTutorial:o(X.HasDismissedMyVideosTutorial),hasDismissedPlaylistsTutorial:o(X.HasDismissedPlaylistsTutorial),showExchangeSearchResults:o(X.ShowExchangeSearchResultsUser),shareOverrideRestrictions:o(X.ShareOverrideRestrictions),hasTopicDirectories:m(),hasTopicVideoListFeature:o(X.HasTopicVideoListFeature),hasManageGroupPermissions:o(X.HasManageGrouPermissions),experimentalInteractiveQuestions:o(X.ExperimentalInteractiveQuestions),hasClassrooms:o(X.HasClassrooms),hasNewSearch:o(X.HasNewSearch),hasPlayPageTranscript:o(X.HasPlayPageTranscript),hasShareFlowV2:o(X.HasShareFlowV2),referralCount:o(X.ReferralCount),hasPartnerProfiles:o(X.HasPartnerProfiles),defaultCitationStyle:o(X.DefaultCitationStyle),hasStudentReach:o(X.HasStudentReach),studentReachClassroomSize:o(X.StudentReachClassroomSize),schoolStartTime:o(X.SchoolStartTime),schoolEndTime:o(X.SchoolEndTime),timezone:o(X.Timezone),clickViewLive:o(X.ClickViewLive),hasStudentLowerPresentations:o(X.HasStudentLowerPresentations)}},OA={avatar:`_avatar_hdbap_1`,dot:`_dot_hdbap_11`};function kA(e,t){return t?Bn.createUrl(Dn.safeUrlConcat(e,`/v1/profile-images?initials=${t}`),{size:zn.Small}):``}function AA(e){let t=!e.anonymiseUsers&&e.imageUrl||kA(e.imageCdnUrl,e.initials);return(0,Q.jsxs)(`div`,{className:`position-relative h-100 w-100`,children:[(0,Q.jsx)(`div`,{className:`${OA.avatar} ${e?.extraClasses||``}`,style:{backgroundImage:`url('${t}')`},children:`\xA0`}),e.showDot&&(0,Q.jsx)(`div`,{className:`${OA.dot} rounded-circle bg-danger`})]})}function jA(){return Z.useContext(vA)}var MA=new Set([`system_cv_trial_freemium_v1`,`system_cv_trial_freemium_v2`]);function NA(){let e=wt(In.currentUser()),t=wt(e.hasCompleted&&e.data?.isAuthenticated&&In.accessPolicy());function n(e){return t.data?(t.data?.permissions?.additional??[]).includes(e):!1}function r(){let e=new Set;return t.data&&MA.has(t.data.id)&&e.add(Vn.ViewInsights),e}return{isLoaded:e.hasCompleted&&t.hasCompleted,accessPolicy:t.data,policyHasOption:n,gatedPermissions:r()}}var PA={PERMISSIONS:`permissions`,LOCAL_PERMISSIONS:`local:permissions`,AUDIENCE_FILTER:`audience:filter`,BULK_USER_UPLOAD:`bulk:user:upload`,BULK_REMOVE_USERS:`bulk:remove:users`,BULK_USER_ACTIONS:`bulk:user:actions`,CURATOR_WORKING_LISTS:`curator:working:lists`,LOOKING_FOR_INTEGRATION:`looking:for:integration`,PRESENTATION_ID:`presentation:id`,BRAZE_BANNER_PREFIX:`braze:banner`,SHOW_SEARCH_MASK:`show:search:mask`,SHOW_SEARCH_BACKDROP:`show:search:backdrop`,AUDIENCE_FILTER_SUGGESTIONS:`audience:filter:suggestions`,ANONYMISE_USERS:`anonymise:users`,HIDE_STAFF_RESULTS:`hide:staff:results`,HAS_DISMISSED_TUTORIAL:`has:dismissed:tutorial`};function FA(e,t,n){return n?n===`ALL`?t.every(t=>e[t]):t.some(t=>e[t]):!t.find(t=>!e[t])}var IA=()=>{let e=wt(wt(In.currentUser()).hasCompleted&&In.permissions()),{gatedPermissions:t}=NA(),[n]=Un(PA.LOCAL_PERMISSIONS);return{permissions:e.data,hasPermissions:(t,n)=>!e.hasCompleted||e.hasError?!1:!t||!t?.length?!0:Array.isArray(t)?FA(e.data,t,n):!!e.data[t],hasLocalPermissions:e=>(n||y.throw(new M(`Local Permissions should be registered during start up.`)),!e||!e?.length?!0:Array.isArray(e)?!e.find(e=>!n[e]):!!n[e]),getGatedPermission:n=>!e.hasCompleted||e.hasError?`hidden`:t.has(n)?e.data[n]?`soft-gate`:`hard-gate`:e.data[n]?`visible`:`hidden`,isLoaded:e.hasCompleted}};function LA(e){return(0,Q.jsx)(`svg`,{...e,children:(0,Q.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`})})}var RA={"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`},zA=function(e){return e.Disabled=`Disabled`,e.Active=`Active`,e.Inactive=`Inactive`,e}({}),BA=function(e){return e.Unknown=`Unknown`,e.Staff=`Staff`,e.Learner=`Learner`,e.System=`System`,e}({}),VA=function(e){return e.Guest=`Guest`,e.User=`User`,e.Admin=`Admin`,e.SuperAdmin=`SuperAdmin`,e}({}),HA=function(e){return e[e.Unknown=0]=`Unknown`,e[e.Staff=1]=`Staff`,e[e.Learner=2]=`Learner`,e[e.System=255]=`System`,e}(HA||{}),UA=function(e){return e[e.Guest=16]=`Guest`,e[e.User=32]=`User`,e[e.Admin=48]=`Admin`,e[e.SuperAdmin=64]=`SuperAdmin`,e}(UA||{}),WA=[`rm unify glow`,`glow`,`rm unify`],GA={getInitials(e,t){let n=``;return e?.length&&(n=e[0]),t?.length&&(n+=t[0]),n.toUpperCase()},getInitialsFromFullName(e){let t=e?.split(` `)??[];if(!t.length)return``;let n=t[0],r=t.length>1?t[1]:``;return GA.getInitials(n,r)},getFullName(e){return e?.name?`${e?.name??``} ${e?.surname??``}`.trim():``},getCommunityName(e){return e?.name?`${e.name} ${e.surname?.slice(0,1)}`:``},getUserType(e){let t=e.userType;if(typeof t==`number`)switch(t){case HA.Unknown:t=BA.Unknown;break;case HA.Staff:t=BA.Staff;break;case HA.Learner:t=BA.Learner;break;case HA.System:t=BA.System;break}return t},getUserStatus(e){let t=e.status;if(typeof t==`number`)switch(t){case 0:t=zA.Disabled;break;case 1:t=zA.Active;break;case 2:t=zA.Inactive;break}return t},getUserStatusFromValue(e){if(typeof e==`number`)switch(e){case 0:e=zA.Disabled;break;case 1:e=zA.Active;break;case 2:e=zA.Inactive;break}return e},getUserRole(e){let t;if(`userProfiles`in e&&e.userProfiles?.data?.[0]&&(t=e.userProfiles.data[0].role),`userProfile`in e&&e.userProfile&&(t=e.userProfile.role),!t)return VA.User;if(typeof t==`number`)switch(t){case UA.Guest:t=VA.Guest;break;case UA.User:t=VA.User;break;case UA.Admin:t=VA.Admin;break;case UA.SuperAdmin:t=VA.SuperAdmin;break}return t},getUserRoleFromValue(e){if(!e&&e!==0)return VA.User;if(typeof e==`number`)switch(e){case UA.Guest:return VA.Guest;case UA.User:return VA.User;case UA.Admin:return VA.Admin;case UA.SuperAdmin:return VA.SuperAdmin;default:return VA.User}return e},getDisplayName(e){return e.metadata?.displayName?e.metadata?.displayName:GA.getFullName(e)},getYearGroup(e){return e.masterYearGroup?.id?e.masterYearGroup:e.yearGroups?.data?.length?Nt.first(e.yearGroups.data):null},hasLegacySso(e){return e?.authenticationMethods?.length?e.authenticationMethods.some(e=>!e.local&&e.isLegacy):!1},hasNonLegacySso(e){return e?.authenticationMethods?.length?e.authenticationMethods.some(e=>!e.local&&!e.isLegacy):!1},hasSso(e){return GA.hasLegacySso(e)||GA.hasNonLegacySso(e)},hasRmUnifySso(e){return e?.authenticationMethods?.length?e.authenticationMethods.some(e=>WA.includes(e.displayName?.toLowerCase())):!1},getPersonaFromJobTitle(e){if(!e)return`teacher`;let t={};for(let e in RA)RA.hasOwnProperty(e)&&(t[e.toLowerCase()]=RA[e]);return t[e.toLowerCase()]||`teacher`},isKDM(e){return e?GA.getPersonaFromJobTitle(e)===`kdm`:!1},getValidYearGroups(e){return e?e.filter(e=>e.value!==0):[]}};function KA(e){return(0,Q.jsx)(`svg`,{...e,children:(0,Q.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`})})}var qA={toggle:`_toggle_1f3ot_1`},JA=4,YA=`shared.customerSelectorItem`;function XA(e){function t(t,r=null){r!==e.currentCustomerId&&(pe.logUserAction({id:e.currentCustomerId,newCustomerId:r},{actionType:C.SwitchCustomer,entity:de.Customer,location:D.UserOptions}),ye.PageLoad(n(r)))}function n(e){return e?`/change-customer?customerId=${e}`:`/change-customer`}return!e.customers?.length||!e.currentCustomerId||e.customers.length<=1?(0,Q.jsx)(Q.Fragment,{}):e.customers.length>JA?(0,Q.jsx)(Yx.Item,{as:`li`,onClick:e=>t(e),className:`cursor-pointer`,children:(0,Q.jsxs)(`div`,{className:`d-flex justify-content-between`,children:[(0,Q.jsx)(Wk,{namespace:YA,phrase:`title`}),(0,Q.jsx)(dt,{svg:KA,className:`svg-container text-secondary`})]})}):(0,Q.jsxs)(`li`,{className:`dropdown-item dropstart cursor-pointer`,children:[(0,Q.jsxs)(`div`,{className:`dropdown-toggle d-flex justify-content-between ${qA.toggle}`,"data-bs-toggle":`dropdown`,"aria-expanded":`false`,children:[(0,Q.jsx)(Wk,{namespace:YA,phrase:`title`}),(0,Q.jsx)(dt,{svg:KA,className:`svg-container text-secondary`})]}),(0,Q.jsx)(`ul`,{className:`dropdown-menu`,children:e.customers.map((n,r)=>{let i=n.id===e.currentCustomerId;return(0,Q.jsx)(Yx.Item,{as:`li`,onClick:e=>t(e,n.id),disabled:i,children:n.name},r)})})]})}var ZA=function(e){return e.AU=`cv-ap-southeast-1`,e.NZ=`cv-ap-southeast-2`,e.UK=`cv-eu-west-1`,e.US=`cv-na-west-1`,e}({}),QA=function(e){return e[e.Integrations=1]=`Integrations`,e[e.Classrooms=2]=`Classrooms`,e[e.MakeInteractive=3]=`MakeInteractive`,e[e.EditSsoAccounts=4]=`EditSsoAccounts`,e[e.UploadToLibraryEditor=5]=`UploadToLibraryEditor`,e[e.AddFromLite=6]=`AddFromLite`,e[e.ManageSsoYearGroups=7]=`ManageSsoYearGroups`,e[e.ContentReview=8]=`ContentReview`,e[e.ContentPermissions=9]=`ContentPermissions`,e[e.AccessSettings=10]=`AccessSettings`,e[e.ViviIntegration=11]=`ViviIntegration`,e[e.AppleTvIntegration=12]=`AppleTvIntegration`,e[e.RssFeed=13]=`RssFeed`,e[e.MarcFormatDifferences=14]=`MarcFormatDifferences`,e[e.ExportLibraries=15]=`ExportLibraries`,e[e.StudentSharingGuide=16]=`StudentSharingGuide`,e[e.Sharing=17]=`Sharing`,e[e.ClassroomViews=18]=`ClassroomViews`,e[e.ManagePlaylists=19]=`ManagePlaylists`,e[e.UploadYourOwnVideos=20]=`UploadYourOwnVideos`,e[e.LtiSetup=21]=`LtiSetup`,e[e.LtiSetupCanvas=22]=`LtiSetupCanvas`,e[e.EmbedD2LBrightspace=23]=`EmbedD2LBrightspace`,e[e.EmbedEducationPerfect=24]=`EmbedEducationPerfect`,e[e.ShareGoogleClassroom=25]=`ShareGoogleClassroom`,e[e.InstallItsLearning=26]=`InstallItsLearning`,e[e.ShareMicrosoftTeams=27]=`ShareMicrosoftTeams`,e[e.LtiSetupMoodle=28]=`LtiSetupMoodle`,e[e.EmbedSeqta=29]=`EmbedSeqta`,e[e.SchoologySetup=30]=`SchoologySetup`,e[e.EmbedToddle=31]=`EmbedToddle`,e[e.SearchAndDiscover=32]=`SearchAndDiscover`,e[e.ClassroomAnalytics=33]=`ClassroomAnalytics`,e}({}),$A={[QA.Integrations]:`/integrations/share-integrations/enable-share-integrations`,[QA.Classrooms]:`/using-clickview/classrooms/classrooms`,[QA.MakeInteractive]:`/using-clickview/interactive-videos/interactive-videos`,[QA.EditSsoAccounts]:`/administration/user-permissions/create-staff-student-accounts`,[QA.UploadToLibraryEditor]:`/using-clickview/create-manage/how-to-upload-videos`,[QA.AddFromLite]:`/using-clickview/share/add-videos-school-library`,[QA.ManageSsoYearGroups]:`/administration/user-permissions/sso-grade-level-mappings`,[QA.ContentReview]:`/administration/content-permissions/content-review-restrictions`,[QA.ContentPermissions]:`/administration/content-permissions/grade-level`,[QA.AccessSettings]:`/administration/user-permissions/create-staff-student-accounts`,[QA.ViviIntegration]:`/integrations/casting/vivi`,[QA.AppleTvIntegration]:`/integrations/casting/enable-apple-tv`,[QA.RssFeed]:`/integrations/learning-management-systems/school-id-rss-feed`,[QA.MarcFormatDifferences]:`/administration/content-permissions/marc-record-formats`,[QA.ExportLibraries]:`/administration/content-permissions/export-libraries`,[QA.StudentSharingGuide]:`/using-clickview/student-view/video-sharing-students`,[QA.Sharing]:`/using-clickview/share/share-videos`,[QA.ClassroomViews]:`/using-clickview/analytics/classroom-views`,[QA.ManagePlaylists]:`/using-clickview/create-manage/playlists`,[QA.UploadYourOwnVideos]:`/using-clickview/create-manage/how-to-upload-videos`,[QA.LtiSetup]:`/integrations/learning-management-systems`,[QA.LtiSetupCanvas]:`/integrations/learning-management-systems/setup-lti-1-3-canvas`,[QA.EmbedD2LBrightspace]:`/integrations/learning-management-systems/d2l-brightspace-embed-video`,[QA.EmbedEducationPerfect]:``,[QA.ShareGoogleClassroom]:`/integrations/share-integrations/share-google-classroom`,[QA.InstallItsLearning]:`/integrations/learning-management-systems/install-itslearning-plugin`,[QA.ShareMicrosoftTeams]:`/integrations/share-integrations/share-microsoft-teams`,[QA.LtiSetupMoodle]:`/integrations/learning-management-systems/setup-lti-1-3-moodle`,[QA.EmbedSeqta]:``,[QA.SchoologySetup]:`/integrations/learning-management-systems/install-schoology-app`,[QA.EmbedToddle]:`/integrations/learning-management-systems/toddle-embed-video`,[QA.SearchAndDiscover]:`/using-clickview/discover/using-search`,[QA.ClassroomAnalytics]:`/using-clickview/analytics/classroom-analytics`},ej={...$A,[QA.EditSsoAccounts]:`/administration/user-permissions/manage-sso-user-accounts`,[QA.ManageSsoYearGroups]:`/administration/user-permissions/sso-year-level-mappings`,[QA.ContentPermissions]:`/administration/content-permissions/year-level`,[QA.EmbedEducationPerfect]:`/integrations/learning-management-systems/education-perfect-embed-video`,[QA.EmbedSeqta]:`https://help.seqta.com.au/s/article/embedding-and-removing-clickview-videos-and-playists`},tj={[ZA.US]:$A,[ZA.AU]:ej,[ZA.NZ]:{...ej},[ZA.UK]:{...$A,[QA.EditSsoAccounts]:`/administration/user-permissions/manage-sso-user-accounts`,[QA.ManageSsoYearGroups]:`/administration/user-permissions/sso-year-level-mappings`,[QA.ContentPermissions]:`/administration/content-permissions/year-level`,[QA.EmbedD2LBrightspace]:``,[QA.InstallItsLearning]:``,[QA.LtiSetupMoodle]:``,[QA.SchoologySetup]:``,[QA.EmbedToddle]:``}},nj={[ZA.US]:`/help`,[ZA.AU]:`/en-au/help`,[ZA.UK]:`/en-gb/help`,[ZA.NZ]:`/en-au/help`},rj={[ZA.US]:`/welcome`,[ZA.AU]:`/en-au/welcome`,[ZA.UK]:`/en-gb/welcome`,[ZA.NZ]:`/en-au/welcome`},ij=class{constructor(){this.name=`LocalizedArticleHelper`}static get Instance(){return this.instance||=new this}initialize(e){this.initializeUrl(e),this.initializeInstanceRegion(e)}initializeUrl(e){if(!e.product){y.throw(new M(`${this.name} requires a product name`));return}if(this.product=e.product,this.marketingSiteUrl=e.marketingSiteUrl,e.product===Jb.Online){if(!e.onlineSupportSiteUrl){y.throw(new M(`ArticleHelper requires a online support site url`));return}this.supportSiteUrl=e.onlineSupportSiteUrl;return}if(!e.liteSupportSiteUrl){y.throw(new M(`ArticleHelper requires a lite support site url`));return}this.supportSiteUrl=e.liteSupportSiteUrl}initializeInstanceRegion(e){if(!e.instanceRegion){y.throw(new M(`${this.name} requires an instance region`));return}this.instanceRegion=e.instanceRegion,this.product===Jb.Primary&&(this.liteArticleUrlMapping=tj[this.instanceRegion])}validate(){return this.supportSiteUrl&&this.instanceRegion?!0:this.product===Jb.Primary&&!this.liteArticleUrlMapping?(y.throw(new M(`${this.name} requires a lite article url mapping`)),!1):(y.throw(new M(`${this.name} was not initialized`)),!1)}getArticle(e){if(!this.validate())return``;if(!e)return this.getSupportSiteUrl();let t=this.liteArticleUrlMapping[e];return Dn.isValidUrl(t)?t:Dn.safeUrlConcat(this.getSupportSiteUrl(),t)}getSupportSiteUrl(){return this.validate()?Dn.safeUrlConcat(this.supportSiteUrl,nj[this.instanceRegion]):``}getWelcomeSiteUrl(){return this.validate()?Dn.safeUrlConcat(this.supportSiteUrl,rj[this.instanceRegion]):``}getInstanceRegionsForArticle(e){return this.validate()?Object.entries(tj).reduce((t,[n,r])=>(r[e]?.length&&t.push(n),t),[]):[]}getLiteArticle(e){return this.product===Jb.Online&&y.throw(new M(`ArticleHelper.getLiteArticle() should not be used in Online`)),this.getArticle(e)}getSupportRequestUrl(){return this.validate()?Dn.safeUrlConcat(this.marketingSiteUrl,`/contact-us/support`):``}getAuthorBlogUrl(e){return!this.marketingSiteUrl||!e?``:Dn.safeUrlConcat(this.marketingSiteUrl,`blog/author/${e}`)}getHybridArticle(e,t){return this.product===Jb.Online?this.getSupportSiteUrl():this.getLiteArticle(t)}}.Instance,aj=Ft.encloseNamespace(`shared.userOptions`);function oj(e,t,n){let{hasPermissions:r}=IA(),i=Nt.sortBy(t,`order`);if(e&&(r(Vn.StudentExperience)||i.push({label:aj(`getStarted`),order:0,url:ij.getWelcomeSiteUrl(),analyticsData:{url:ij.getWelcomeSiteUrl()},analyticsOptions:{actionType:C.Click,entity:de.Url,descriptor:re.ExternalLink,location:D.UserOptions}}),i.push({label:aj(`helpCentre`),order:0,url:ij.getSupportSiteUrl(),analyticsData:{url:ij.getSupportSiteUrl()},analyticsOptions:{actionType:C.Click,entity:de.Url,descriptor:re.ExternalLink,location:D.UserOptions}}),r(Vn.ViewProductBoard)&&!n)){let t=Dn.safeUrlConcat(e.productBoardUrl,`tabs/23-what-s-new`);i.push({label:aj(`whatsNew`),order:0,url:t,analyticsData:{url:t},analyticsOptions:{actionType:C.Click,entity:de.Url,descriptor:re.ExternalLink,location:D.UserOptions}})}let a={main:[],logOut:[]};return i.forEach(e=>{e.section===`logOut`?a.logOut.push(e):a.main.push(e)}),a}function sj(e,t,n){let r=wt(wt(In.currentUser()).data?.isAuthenticated&&KS.userProducts());if(t||!r.data)return;let i=[...r.data],a=Array.isArray(e)?e:[e],o=i.filter(e=>!a.includes(e.id),`order`);return typeof n==`function`&&(o=n(o)),Nt.sortBy(o)}var cj={avatarContainer:`_avatarContainer_1z0er_1`,productLogo:`_productLogo_1z0er_5`,counter:`_counter_1z0er_9`},lj=Ft.encloseNamespace(`shared.userOptions`);function uj({item:e}){if(e.appLink)return(0,Q.jsxs)(Yx.Item,{as:et,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&&(0,Q.jsx)(`div`,{className:`${cj.counter} badge bg-danger rounded-pill fw-semibold me-1`,children:e.counter}),(0,Q.jsxs)(`div`,{className:`d-flex justify-content-between`,children:[e.label,!!e.openInNewTab&&(0,Q.jsx)(dt,{svg:LA,className:`svg-container text-secondary`})]})]});if(e.url){function t(t){t.preventDefault(),e.onClick?.(),e.analyticsData&&e.analyticsOptions&&pe.logUserAction({href:e.url,...e.analyticsData},e.analyticsOptions),ye.PageLoad(e.url,!0)}return(0,Q.jsxs)(Yx.Item,{as:`a`,href:e.url,target:e.openInNewTab===!1?null:`_blank`,className:`d-flex align-items-center`,onClick:e=>t(e),children:[e.counter>0&&(0,Q.jsx)(`div`,{className:`${cj.counter} badge bg-danger rounded-pill fw-semibold me-1`,children:e.counter}),(0,Q.jsxs)(`div`,{className:`d-flex justify-content-between`,children:[e.label,e.openInNewTab!==!1&&(0,Q.jsx)(dt,{svg:LA,className:`svg-container text-secondary`})]})]})}return(0,Q.jsx)(Q.Fragment,{})}var dj=({appLinks:e})=>{let t=jA(),n=t.xs||t.sm;return(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(et,{appLink:e.signIn,className:`btn btn-link ps-0`,analyticsOptions:{actionType:C.Click,location:D.TopNav,entity:de.Url,descriptor:v.SignIn},analyticsData:{},children:lj(`signIn`)}),(0,Q.jsx)(et,{appLink:e.signUp,className:`btn btn-dark ms-2`,analyticsOptions:{actionType:C.Click,location:D.TopNav,entity:de.AppLink,workflowPhase:p.Start,descriptor:v.SignUp},analyticsData:{},tag:`button`,children:lj(n?`signUpForMobile`:`signUp`)})]})},fj=({appLinks:e})=>(0,Q.jsx)(et,{appLink:e.signIn,className:`btn btn-dark d-inline-block`,analyticsOptions:{actionType:C.Click,location:D.TopNav,entity:de.AppLink,workflowPhase:p.Start,descriptor:v.SignIn},analyticsData:{},children:lj(`signIn`)});function pj(e){let[t,n]=Z.useState(!1),{hasPermissions:r}=IA(),i=wt(In.currentUser()),a=wt(i.data?.id&&In.user(i.data.id)),o=wt(GS.config()),s=wt(i.data?.isAuthenticated&&In.customers(i.data.id)),c=oj(o.data,e.additionalItems,e.hideWhatsNew),l=r(Vn.GuestExperience),u=e.hideProductList||l,d=sj(e.productId,u,e.transform);function f(e){n(e),pe.logUserAction({},{actionType:C.Click,entity:de.AppLink,location:D.UserOptions,descriptor:e?re.Open:re.Close})}function p(e){pe.logUserAction({id:e.id,name:e.name},{actionType:C.Click,entity:de.Product,location:D.UserOptions,descriptor:re.ExternalLink})}return!i.hasCompleted||i.data.isAuthenticated&&!a.hasCompleted||!o.data?(0,Q.jsx)(Q.Fragment,{}):i.data.isAuthenticated?(0,Q.jsxs)(Yx,{className:`position-relative`,onToggle:f,children:[(0,Q.jsx)(Yx.Toggle,{id:`userOptions`,variant:``,"aria-label":`Options menu`,className:`${cj.avatarContainer} no-caret border-0 p-0`,children:(0,Q.jsx)(AA,{imageUrl:Bn.createUrl(i.data.avatar,{size:zn.Small}),imageCdnUrl:o.data.imageCdnUrl,initials:GA.getInitials(i.data.givenName,i.data.familyName),showDot:c.main.some(e=>e.counter>0)})}),(0,Q.jsxs)(Yx.Menu,{as:`ul`,align:`end`,children:[(0,Q.jsxs)(Yx.Item,{as:`div`,children:[(0,Q.jsxs)(`div`,{className:`m-0 d-flex flex-wrap`,children:[(0,Q.jsx)(`strong`,{children:i.data.displayName}),`\xA0`,!l&&(0,Q.jsxs)(`span`,{className:`text-secondary`,children:[`(`,i.data.username,`)`]})]}),(0,Q.jsx)(`div`,{className:`m-0 text-secondary`,children:i.data.customerName}),!l&&a.data?.masterYearGroup&&(0,Q.jsx)(`p`,{className:`m-0 text-secondary`,children:a.data.masterYearGroup.name})]}),(0,Q.jsx)(XA,{isParentOpen:t,currentCustomerId:i.data?.customerId,customers:s.data?.data}),(0,Q.jsx)(Yx.Divider,{}),c.main.map((e,t)=>(0,Q.jsx)(uj,{item:e},t)),(0,Q.jsx)(Yx.Divider,{}),d?.map((e,t)=>(0,Q.jsxs)(Yx.Item,{as:`a`,href:e.url,target:`_blank`,className:`d-flex align-items-center py-1`,onClick:()=>p(e),children:[(0,Q.jsx)(`img`,{src:e.imageUrl,className:`${cj.productLogo} me-2`}),e.name]},t)),!!d?.length&&(0,Q.jsx)(Yx.Divider,{}),c.logOut.map((e,t)=>(0,Q.jsx)(uj,{item:e},t)),(0,Q.jsx)(Yx.Item,{as:et,appLink:e.appLinks.signOut,analyticsData:{id:i.data?.id},analyticsOptions:{actionType:C.Click,location:D.UserOptions,entity:de.AppLink,descriptor:v.SignOut},children:lj(`signOut`)})]})]}):e.displaySignUp?(0,Q.jsx)(dj,{...e}):(0,Q.jsx)(fj,{...e})}function mj(e){return(0,Q.jsx)(`svg`,{...e,children:(0,Q.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 hj(e){return(0,Q.jsx)(`svg`,{...e,children:(0,Q.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`})})}var gj={navItem:`_navItem_lmjvk_5`,active:`_active_lmjvk_18`,svg:`_svg_lmjvk_21`,background:`_background_lmjvk_24`,backgroundExchange:`_backgroundExchange_lmjvk_33`,backgroundTv:`_backgroundTv_lmjvk_37`,iconContainer:`_iconContainer_lmjvk_42`,text:`_text_lmjvk_57`,exchange:`_exchange_lmjvk_66`,clickviewTv:`_clickviewTv_lmjvk_72`};function _j(e){return e===`exchange`?gj.backgroundExchange:e===`tv`?gj.backgroundTv:``}function vj(e){let{appLink:t,typeClass:n,active:r,text:i,svg:a}=e;return(0,Q.jsxs)(et,{appLink:t,className:`${gj.navItem} ${n} ${r?gj.active:``}`,children:[(0,Q.jsx)(`div`,{className:gj.iconContainer,children:(0,Q.jsx)(dt,{svg:a,className:gj.svg})}),(0,Q.jsx)(`div`,{className:gj.text,children:i})]})}function yj(e){return(0,Q.jsxs)(`div`,{className:`position-relative`,children:[(0,Q.jsx)(`div`,{className:`${gj.background} ${_j(e.activeApp)}`}),(0,Q.jsx)(vj,{appLink:{application:Lt.EXCHANGE,action:Rt.Exchange.INDEX},typeClass:gj.exchange,active:e.activeApp===`exchange`,text:`Exchange Archive`,svg:mj}),(0,Q.jsx)(vj,{appLink:{application:Lt.TV,action:Rt.Tv.INDEX},typeClass:gj.clickviewTv,active:e.activeApp===`tv`,text:`ClickView TV`,svg:hj})]})}var bj=function(e){return 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}({}),xj=function(e){return 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}({}),Sj={customer(e,t,n,r){return{url:Dn.urlBuilder(`{gateway}/v1/objects/${e}`,{query:r?`organisation`:``}),key:`customers:${e}:${r?`with-organization`:``}`,success:t,error:n}},yearGroups(e){return{url:`{gateway}/v1/customers/${e}/year-groups?query={orderby:value}rating`,key:`year:groups`}},updateYearGroupRatings(e,t,n,r){return{url:`{gateway}/v1/customers/${e}/year-groups`,key:`update:year:group:ratings`,type:Mt.PUT,data:t,success:n,error:r,invalidationKeys:[`year:groups`]}}},Cj={nav:`_nav_44m50_1`,logo:`_logo_44m50_11`,navIconContainer:`_navIconContainer_44m50_23`},wj=`exchange.header`,Tj={application:Lt.DEFAULT,action:Rt.Default.INDEX};function Ej(e){let t=wt(GS.config()),n=wt(KS.userProducts()),r=wt(In.currentUser()),i=wt(!!r.data?.isAuthenticated&&Sj.customer(r.data.customerId)).data?.customerType===bj.Tertiary,{exchangeTvProductOption:a}=DA(null),{hasPermissions:o}=IA(),s=n.data?.find(e=>e.id===Jb.Exchange);function c(e){return i&&!o(Vn.ViewSchoolAnalytics)?e.filter(e=>e.id!==Jb.Analytics):e}return(0,Q.jsx)(`nav`,{className:`navbar navbar-expanded ps-3 w-100 ${Cj.nav}`,children:(0,Q.jsxs)(`div`,{className:`container-fluid`,children:[(0,Q.jsx)(`div`,{className:`d-flex align-items-center justify-content-start ${Cj.headerLeft}`,children:(0,Q.jsx)(et,{appLink:Tj,className:`navbar-brand text-hide align-top ${Cj.logo} d-inline-block'`,analyticsData:{url:m.getHref(Tj)},analyticsOptions:{actionType:C.Click,entity:de.Url,location:D.TopNav,descriptor:re.ClickViewLogo},children:(0,Q.jsx)(EA,{})})}),s&&a===`exchange_and_tv`&&(0,Q.jsx)(`div`,{className:`${Cj.navIconContainer} position-absolute w-100 d-flex align-items-center justify-content-center`,children:(0,Q.jsx)(yj,{activeApp:e.activeApp})}),(0,Q.jsxs)(`div`,{className:`d-flex align-items-center justify-content-end`,children:[(0,Q.jsx)(et,{appLink:{application:Lt.DEFAULT,action:Rt.Default.GIVE_FEEDBACK},className:`btn btn-outline-dark me-3`,children:(0,Q.jsx)(Wk,{namespace:wj,phrase:`giveFeedback`})}),!!t.data&&(0,Q.jsx)(`div`,{className:`me-3`,children:(0,Q.jsx)(pj,{productId:Jb.Exchange,appLinks:{signOut:{application:Lt.DEFAULT,action:Rt.Default.LOG_OUT}},transform:c})})]})]})})}var Dj={content:`_content_ulv6h_1`,container:`_container_ulv6h_6`,mask:`_mask_ulv6h_10`,fixedBottomRightContainer:`_fixedBottomRightContainer_ulv6h_13`,lockedWidth:`_lockedWidth_ulv6h_19`},Oj=`banner-portal-container`,kj=e=>(rA(),SA(),Z.useEffect(()=>{document.body.style.overflowY=`scroll`},[]),(0,Q.jsx)(mA,{renderError:()=>PS({error:new Hb}),children:(0,Q.jsxs)(`div`,{className:Dj.lockedWidth,children:[(0,Q.jsx)(Ej,{activeApp:e.activeApp}),(0,Q.jsxs)(`div`,{className:Dj.content,children:[(0,Q.jsx)(`div`,{className:`container-fluid ${Oj}`}),(0,Q.jsxs)(`div`,{className:`container px-3 ${Dj.container}`,children:[(0,Q.jsx)(mA,{throwError:Hb,children:e.contentChild}),(0,Q.jsx)(CA,{})]})]}),(0,Q.jsx)(mA,{throwError:xA,children:e.popupChild}),(0,Q.jsx)(`div`,{className:`d-flex flex-column align-items-end`,children:!!e.alertChild&&(0,Q.jsx)(`div`,{className:Dj.fixedBottomRightContainer,children:e.alertChild})}),(0,Q.jsx)(`div`,{style:{display:`none`},children:e.hiddenChild})]})}));function Aj(e){return(0,Q.jsx)(St,{store:e.store,children:(0,Q.jsx)(wn,{children:(0,Q.jsx)(yA,{children:(0,Q.jsx)(_A,{containerClassName:Oj,children:(0,Q.jsx)(kj,{...e})})})})})}var jj=class extends pA{childComponents={};preventScrollTop=!1;constructor(e){super(e)}initialize(){this.listenTo(o.SHELL,g.ROUTE,this.onRouteChange),this.listenTo(o.SHELL,`prevent:scroll:top`,()=>this.preventScrollTop=!0);let e=F.getCurrentContext()?.appLink?.application;this.setActiveApp(e)}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`${Qb.DEFAULT_LAYOUT}`}regions(){return{layout:{el:`.layout-region`,replaceEl:!0}}}getChildComponents(){return{contentChild:this.childComponents[Zb.CONTENT],popupChild:this.childComponents[Zb.POPUP],alertChild:this.childComponents[Zb.ALERT],hiddenChild:this.childComponents[Zb.HIDDEN],store:this.options.store,activeApp:this.activeApp}}unsetRegion(e){delete this.childComponents[e],this.renderLayout()}closePopup(){this.unsetRegion(Zb.POPUP)}showChildView(e,t,n={}){this.childComponents[e]=t,e===Zb.CONTENT&&(!this.preventScrollTop&&!n.preventScrollTop&&(0,tx.default)(window).scrollTop(0),this.preventScrollTop=!1),this.renderLayout()}renderLayout(){let e={...this.getChildComponents()};super.showChildView(`layout`,(0,Q.jsx)(Aj,{...e}))}activeApp;setActiveApp(e){if(e===Lt.EXCHANGE){this.activeApp=`exchange`;return}if(e===Lt.TV){this.activeApp=`tv`;return}this.activeApp=null}onRouteChange(e,t){t.isAppRoute&&this.setActiveApp(e.application)}};function Mj(e,t){e.registerLayout(Qb.DEFAULT_LAYOUT,jj),t(e)}function Nj(e,t,n){k.setUpVariables({isDevelopment:!1}),n(e,t)}var Pj=function(e){return e.Fifo=`FifoMemoryCache`,e}({}),Fj=function(e){return e.Ajax=`AjaxDataProvider`,e.Notifications=`NotificationsSignalRDataProvider`,e}({});e();var Ij=class extends fe{get defaultProps(){return[`dataProvider`,`cache`,`bootstrapData`,`defaultErrorHandler`,`alertService`]}constructor(e){super(e),ue(this,`name`)||y.throw(new M(`Must provide a name when extending BaseDataService`)),ue(this,`channelName`)||y.throw(new M(`Must provide a channelName for ${ue(this,`name`)}`));let t=[...this.defaultProps,...this.props||[]];this.dataRequestSignatures={},this.mergeOptions(e,t)}getCursors(e){let t=this.cache.get(e);return t?t.cursors:{next:``,previous:``}}clearCacheAndGet(e){let{callback:t,errorCallback:n,eventPrefix:r}=e,{syncEvent:i,errorEvent:a}=this.getEventNames(r),o=this.cache.get(r);if(o&&o.openRequest){this.listenToOnce(this.getChannel(),i,e=>{R(n)&&this.stopListening(this.getChannel(),a,n),R(t)&&t(e)}),this.listenToOnce(this.getChannel(),a,()=>{R(t)&&this.stopListening(this.getChannel(),i,t),R(n)&&n()});return}this.cache.remove(e.eventPrefix),this.get(e)}get(e){let{callback:t,errorCallback:n,eventPrefix:r,resource:i,formatData:a,expiryTime:o,successHandler:s,errorHandler:c,bootstrapName:l,invalidateFlight:u}=e,{syncEvent:d,requestEvent:f,successEvent:p,errorEvent:m}=this.getEventNames(r),h=this.getChannel(),g=this.currentTimestamp();this.bootstrapData&&this.bootstrapData[l]&&(this.cacheData(r,this.bootstrapData[l],a,{openRequest:!1,timestamp:g}),delete this.bootstrapData[l]);let _=this.cache.get(r),v;_&&(v=_.data);let y=_&&_.openRequest,b=this.isExpired(r,o);if(y&&(this.listenToOnce(h,d,e=>{R(n)&&this.stopListening(this.getChannel(),m,n),R(t)&&t(e)}),this.listenToOnce(h,m,()=>{R(t)&&this.stopListening(this.getChannel(),d,t),R(n)&&n()})),(!this.cache.has(r)||b)&&(h.trigger(f),this.listenToResponse({eventPrefix:r,formatData:a,cacheOptions:{timestamp:g},callback:t,errorCallback:n,successHandler:s,errorHandler:c,invalidateFlight:u}),this.cacheData(r,null,null,{openRequest:!0,timestamp:g}),this.dataProvider.read(i,{channel:this.getTransportChannel(),successEvent:p,errorEvent:m})),v&&R(t)&&!b&&t(v),v)return v}create(e){let{eventPrefix:t,resource:n,data:r,formatData:i,callback:a,errorCallback:o,invalidationKeys:s,successHandler:c,errorHandler:l,invalidateFlight:u}=e,{requestEvent:d,successEvent:f,errorEvent:p}=this.getEventNames(e.eventPrefix),m=this.getChannel(),h=this.getTransportChannel();m.trigger(d),this.listenToResponse({eventPrefix:t,formatData:i,invalidationKeys:s,callback:a,errorCallback:o,successHandler:c,errorHandler:l,invalidateFlight:u}),this.dataProvider.create(n,r,{channel:h,successEvent:f,errorEvent:p})}update(e){let{data:t,callback:n,errorCallback:r,resource:i,formatData:a,eventPrefix:o,invalidationKeys:s,errorHandler:c,successHandler:l,invalidateFlight:u}=e,{requestEvent:d,successEvent:f,errorEvent:p}=this.getEventNames(e.eventPrefix),m=this.getChannel(),h=this.getTransportChannel();m.trigger(d),this.listenToResponse({eventPrefix:o,formatData:a,invalidationKeys:s,callback:n,errorCallback:r,successHandler:l,errorHandler:c,invalidateFlight:u}),this.dataProvider.update(i,t,{channel:h,successEvent:f,errorEvent:p})}delete(e){let{eventPrefix:t,resource:n,callback:r,errorCallback:i,invalidationKeys:a,successHandler:o,errorHandler:s,invalidateFlight:c}=e,{successEvent:l,errorEvent:u}=this.getEventNames(t),d=this.getTransportChannel();this.listenToResponse({eventPrefix:t,invalidationKeys:a,callback:r,errorCallback:i,cacheOptions:{noCache:!0,clearCacheKey:!0},successHandler:o,errorHandler:s,invalidateFlight:c}),this.dataProvider.delete(n,{channel:d,successEvent:l,errorEvent:u})}listenToResponse(e){let{eventPrefix:t,formatData:n,callback:r,errorCallback:i,successHandler:a,errorHandler:o,invalidationKeys:s,cacheOptions:c={},invalidateFlight:l}=e,{syncEvent:u,successEvent:d,errorEvent:f,successAlertEvent:p,errorAlertEvent:m}=this.getEventNames(t),h=this.getChannel(),g=this.getTransportChannel(),_=this.getAlertChannel();R(r)&&this.listenToOnce(h,u,r),R(i)&&this.listenToOnce(h,f,i),this.stopListening(_,p),this.stopListening(_,m),R(a)&&this.listenToOnce(_,p,a),R(o)&&this.listenToOnce(_,m,o),!R(o)&&o!==!1&&R(this.defaultErrorHandler)&&this.listenToOnce(_,m,this.defaultErrorHandler),!this.hasRequestSignature(t)&&(this.setRequestSignature(t),this.listenTo(g,d,(e,...r)=>{this.stopListening(h,f,i),_.trigger(p,e,...r);let a=c.noCache?this.formatData(e,n):this.cacheData(t,e,n);c.clearCacheKey&&this.cache.remove(t),h.trigger(u,a),s&&s.length&&this.cache.invalidate(s,e=>h.trigger(`${e}:invalidate`),l)}),this.listenTo(g,f,(...e)=>{this.stopListening(h,u,r);let n=this.dataProvider.parseError(...e);_.trigger(m,n),h.trigger(f,n),!c.noCache&&this.cacheData(t,null,null)}))}cacheData(e,t,n,r={}){let{openRequest:i=!1}=r,{timestamp:a}=r;a||=this.currentTimestamp();let o=this.processPagination(t),s=this.formatData(t,n);return this.cache.set(e,{data:s,timestamp:a,cursors:o,openRequest:i}),s}processPagination(e){if(!e)return;let{pagination:t}=e;if(t){if(t.cursors)return t.cursors;if(!O(t.offset)&&!O(t.pageSize))return this.convertOffsetPaginationToCursors(t);if(t.page)return this.convertLegacyPaginationToCursors(t)}}formatData(e,t){return R(t)?t(e):e}chain(){let e=[],t=(e,t)=>{R(e)&&e(t)},n=(n,i)=>(e.push(()=>{let r=n.callback;n.callback=n=>{t(r,n),t(e.shift())},this[i](n)}),r),r={func(t){return e.push(()=>{t(e.shift()||(()=>{}))}),r},get(e){return n(e,`get`)},create(e){return n(e,`create`)},update(e){return n(e,`update`)},delete(e){return n(e,`delete`)},run(){t(e.shift())}};return r}invalidateCache(e,t=!1){!e||!e.length||this.cache.invalidate(e,e=>this.getChannel().trigger(`${e}:invalidate`),t)}currentTimestamp(){return new Date().valueOf()}isExpired(e,t){if(!t)return!1;let n=this.cache.get(e);if(!n||!n.timestamp)return!0;let r=n.timestamp,i=t*1e3;return r<this.currentTimestamp()-i}getEventNames(e){return{syncEvent:`${e}:sync`,requestEvent:`${e}:request`,successEvent:`${e}:success`,errorEvent:`${e}:error`,successAlertEvent:`${e}:success:alert`,errorAlertEvent:`${e}:error:alert`}}getTransportChannel(){return zb.default.channel(`${this.channelName}:transport`)}getAlertChannel(){return zb.default.channel(`${this.channelName}:alert`)}setRequestSignature(e){this.dataRequestSignatures[e]=e}hasRequestSignature(e){return!!this.dataRequestSignatures[e]}convertOffsetPaginationToCursors(e){let{offset:t,pageSize:n,totalItems:r}=e,i=r>0&&t<r&&t+n,a=r>0&&t>0&&Math.max(t-n,0),o={};if(i&&i<r&&(o.next=i.toString()),he(a)&&(o.previous=a.toString()),!T(o))return o}convertLegacyPaginationToCursors(e){let{page:t,totalPages:n}=e,r=he(t)&&t>0&&t<n&&t+1,i=he(t)&&t>1&&t-1,a={};if(r&&r<=n&&(a.next=r.toString()),i&&(a.previous=i.toString()),!T(a))return a}};e();var Lj=class extends fe{constructor(){super(),this.viewObjects={}}static get Instance(){return this.instance||=new this}get name(){return`ViewModelService`}updateViewModel(e,t){let n=this.mergeData(t,e.toJSON());return e instanceof E&&e.set(n,{silent:!0}),e instanceof z&&!(e instanceof E)&&e.set(n,{silent:!0}),e}get(e,t={},n={}){let{update:r=!1}=n,i=this.viewObjects[e];if(i&&r)return this.updateViewModel(i,t);if(i)return i;let a=this.getLocalData(e,n);return this.set(e,t,a,n)}set(e,t={},n,r){let{ctor:i,storage:a}=r,o=this.mergeData(t,n),s=i?new i(o):new z(o);return this.viewObjects[e]=s,a&&!n?(this.setLocalData(e,s,null,r),this.setupChangeListeners(e,s,r)):a&&n&&this.setupChangeListeners(e,s,r),s}clear(e){let t=this.viewObjects[e];return t?(this.stopListening(t),t.trigger(`destroy`),delete this.viewObjects[e],!0):!1}getLocalData(e,t){let{storage:n}=t;if(n)return this.getStorageHelper(n.type).get(e)}setLocalData(e,t,n,r){let{storage:i}=r;if(!i||i&&!i.persistProps)return;typeof i.persistProps==`string`&&(i.persistProps=[i.persistProps]);let a;t instanceof z&&(a=t.pick(i.persistProps)),this.getStorageHelper(i.type).set(e,a)}setupChangeListeners(e,t,n){let{storage:r}=n;!r||r&&!r.persistProps||(typeof r.persistProps==`string`&&(r.persistProps=[r.persistProps]),I.each(r.persistProps,r=>{this.listenTo(t,`change:${r}`,I.partial(this.setLocalData,e,I,I,n))}))}mergeData(e,t){if(!t)return e;if(I.isObject(e)&&I.isObject(t))return I.extend(e,t);y.throw(new M(`defaultValues and existingData are not of the same datatype and cannot be merged`))}getStorageHelper(e){switch(e){case jn.LocalStorage:return Pn;case jn.SessionStorage:return Nn}}}.Instance,Rj=function(e){return e[e.Permanent=0]=`Permanent`,e[e.Temporary=1]=`Temporary`,e}({}),zj=class extends Ln{constructor(e){super(e)}get name(){return`FileTypeError`}get lang(){return`upload.fileType`}get dialogOptions(){return{title:Ft.getPhrase(this.lang,`heading`),text:Ft.getPhrase(this.lang,`body`),buttons:[{text:Ft.getPhrase(this.lang,`okay`),className:`btn btn-dark`,success:!0},{text:Ft.getPhrase(this.lang,`close`),className:`btn btn-link`,close:!0}]}}};e();var Bj=[`pdf`],Vj=[`doc`,`docx`,`dotx`,`dot`,`rtf`,`docm`,`odt`],Hj=[`csv`,`txt`],Uj=[`xlsx`],Wj=[`jpg`,`jpeg`,`png`,`bmp`,`gif`,`webp`],Gj=[`3gp`,`3gpp`,`asx`,`avi`,`divx`,`flv`,`m2t`,`m2ts`,`m2v`,`m4v`,`mkv`,`mod`,`mov`,`mp4`,`mpe`,`mpeg`,`mpg`,`mts`,`ogv`,`qt`,`ts`,`vob`,`webm`,`wmv`],Kj=[`zip`],qj=[`ppt`,`pps`,`pptx`],Jj=[`srt`],Yj={IMAGES:`.${Wj.join(`,.`)}`,VIDEO:`.${Gj.join(`,.`)}`,MIXED_MEDIA:`.${Wj.join(`,.`)},${Gj.join(`,.`)}`,RESOURCES:`.${[...Vj,...Uj,...qj,...Bj,...Hj,...Wj,...Kj].join(`,.`)}`,SUBTITLES:`.${Jj.join(`,.`)}`},Xj={requestUpload(e,t){let n=e.name.split(`.`),r=t===Rj.Permanent?null:En.add(new Date,7,`days`).toISOString(),i={name:n.join(`.`),extension:n.length>1?n.pop():``,size:e.size,lifestyle:t,dateExpires:r,contentType:e.type||`application/octet-stream`,chunkUploadEnabled:!0};return{url:`{gateway}/v1/files/upload`,key:`upload:file`,type:Mt.POST,data:i}}},Zj=j(((e,t)=>{(function(n,r){if(typeof e==`object`&&typeof t==`object`)t.exports=r();else if(typeof define==`function`&&define.amd)define([],r);else{var i=r();for(var a in i)(typeof e==`object`?e:n)[a]=i[a]}})(self,function(){return(function(){var e={3099:(function(e){e.exports=function(e){if(typeof e!=`function`)throw TypeError(String(e)+` is not a function`);return e}}),6077:(function(e,t,n){var r=n(111);e.exports=function(e){if(!r(e)&&e!==null)throw TypeError(`Can't set `+String(e)+` as a prototype`);return e}}),1223:(function(e,t,n){var r=n(5112),i=n(30),a=n(3070),o=r(`unscopables`),s=Array.prototype;s[o]??a.f(s,o,{configurable:!0,value:i(null)}),e.exports=function(e){s[o][e]=!0}}),1530:(function(e,t,n){var r=n(8710).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}}),5787:(function(e){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError(`Incorrect `+(n?n+` `:``)+`invocation`);return e}}),9670:(function(e,t,n){var r=n(111);e.exports=function(e){if(!r(e))throw TypeError(String(e)+` is not an object`);return e}}),4019:(function(e){e.exports=typeof ArrayBuffer<`u`&&typeof DataView<`u`}),260:(function(e,t,n){var r=n(4019),i=n(9781),a=n(7854),o=n(111),s=n(6656),c=n(648),l=n(8880),u=n(1320),d=n(3070).f,f=n(9518),p=n(7674),m=n(5112),h=n(9711),g=a.Int8Array,_=g&&g.prototype,v=a.Uint8ClampedArray,y=v&&v.prototype,b=g&&f(g),x=_&&f(_),S=Object.prototype,C=S.isPrototypeOf,w=m(`toStringTag`),T=h(`TYPED_ARRAY_TAG`),E=r&&!!p&&c(a.opera)!==`Opera`,D=!1,O,k={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},A={BigInt64Array:8,BigUint64Array:8},j=function(e){if(!o(e))return!1;var t=c(e);return t===`DataView`||s(k,t)||s(A,t)},M=function(e){if(!o(e))return!1;var t=c(e);return s(k,t)||s(A,t)},N=function(e){if(M(e))return e;throw TypeError(`Target is not a typed array`)},P=function(e){if(p){if(C.call(b,e))return e}else for(var t in k)if(s(k,O)){var n=a[t];if(n&&(e===n||C.call(n,e)))return e}throw TypeError(`Target is not a typed array constructor`)},F=function(e,t,n){if(i){if(n)for(var r in k){var o=a[r];o&&s(o.prototype,e)&&delete o.prototype[e]}(!x[e]||n)&&u(x,e,n?t:E&&_[e]||t)}},I=function(e,t,n){var r,o;if(i){if(p){if(n)for(r in k)o=a[r],o&&s(o,e)&&delete o[e];if(!b[e]||n)try{return u(b,e,n?t:E&&g[e]||t)}catch{}else return}for(r in k)o=a[r],o&&(!o[e]||n)&&u(o,e,t)}};for(O in k)a[O]||(E=!1);if((!E||typeof b!=`function`||b===Function.prototype)&&(b=function(){throw TypeError(`Incorrect invocation`)},E))for(O in k)a[O]&&p(a[O],b);if((!E||!x||x===S)&&(x=b.prototype,E))for(O in k)a[O]&&p(a[O].prototype,x);if(E&&f(y)!==x&&p(y,x),i&&!s(x,w))for(O in D=!0,d(x,w,{get:function(){return o(this)?this[T]:void 0}}),k)a[O]&&l(a[O],T,O);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:E,TYPED_ARRAY_TAG:D&&T,aTypedArray:N,aTypedArrayConstructor:P,exportTypedArrayMethod:F,exportTypedArrayStaticMethod:I,isView:j,isTypedArray:M,TypedArray:b,TypedArrayPrototype:x}}),3331:(function(e,t,n){var r=n(7854),i=n(9781),a=n(4019),o=n(8880),s=n(2248),c=n(7293),l=n(5787),u=n(9958),d=n(7466),f=n(7067),p=n(1179),m=n(9518),h=n(7674),g=n(8006).f,_=n(3070).f,v=n(1285),y=n(8003),b=n(9909),x=b.get,S=b.set,C=`ArrayBuffer`,w=`DataView`,T=`prototype`,E=`Wrong length`,D=`Wrong index`,O=r[C],k=O,A=r[w],j=A&&A[T],M=Object.prototype,N=r.RangeError,P=p.pack,F=p.unpack,I=function(e){return[e&255]},L=function(e){return[e&255,e>>8&255]},R=function(e){return[e&255,e>>8&255,e>>16&255,e>>24&255]},z=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},B=function(e){return P(e,23,4)},ee=function(e){return P(e,52,8)},te=function(e,t){_(e[T],t,{get:function(){return x(this)[t]}})},ne=function(e,t,n,r){var i=f(n),a=x(e);if(i+t>a.byteLength)throw N(D);var o=x(a.buffer).bytes,s=i+a.byteOffset,c=o.slice(s,s+t);return r?c:c.reverse()},re=function(e,t,n,r,i,a){var o=f(n),s=x(e);if(o+t>s.byteLength)throw N(D);for(var c=x(s.buffer).bytes,l=o+s.byteOffset,u=r(+i),d=0;d<t;d++)c[l+d]=u[a?d:t-d-1]};if(!a)k=function(e){l(this,k,C);var t=f(e);S(this,{bytes:v.call(Array(t),0),byteLength:t}),i||(this.byteLength=t)},A=function(e,t,n){l(this,A,w),l(e,k,w);var r=x(e).byteLength,a=u(t);if(a<0||a>r)throw N(`Wrong offset`);if(n=n===void 0?r-a:d(n),a+n>r)throw N(E);S(this,{buffer:e,byteLength:n,byteOffset:a}),i||(this.buffer=e,this.byteLength=n,this.byteOffset=a)},i&&(te(k,`byteLength`),te(A,`buffer`),te(A,`byteLength`),te(A,`byteOffset`)),s(A[T],{getInt8:function(e){return ne(this,1,e)[0]<<24>>24},getUint8:function(e){return ne(this,1,e)[0]},getInt16:function(e){var t=ne(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=ne(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return z(ne(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return z(ne(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return F(ne(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return F(ne(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){re(this,1,e,I,t)},setUint8:function(e,t){re(this,1,e,I,t)},setInt16:function(e,t){re(this,2,e,L,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){re(this,2,e,L,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){re(this,4,e,R,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){re(this,4,e,R,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){re(this,4,e,B,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){re(this,8,e,ee,t,arguments.length>2?arguments[2]:void 0)}});else{if(!c(function(){O(1)})||!c(function(){new O(-1)})||c(function(){return new O,new O(1.5),new O(NaN),O.name!=C})){k=function(e){return l(this,k),new O(f(e))};for(var ie=k[T]=O[T],ae=g(O),oe=0,se;ae.length>oe;)(se=ae[oe++])in k||o(k,se,O[se]);ie.constructor=k}h&&m(j)!==M&&h(j,M);var ce=new A(new k(2)),le=j.setInt8;ce.setInt8(0,2147483648),ce.setInt8(1,2147483649),(ce.getInt8(0)||!ce.getInt8(1))&&s(j,{setInt8:function(e,t){le.call(this,e,t<<24>>24)},setUint8:function(e,t){le.call(this,e,t<<24>>24)}},{unsafe:!0})}y(k,C),y(A,w),e.exports={ArrayBuffer:k,DataView:A}}),1048:(function(e,t,n){var r=n(7908),i=n(1400),a=n(7466),o=Math.min;e.exports=[].copyWithin||function(e,t){var n=r(this),s=a(n.length),c=i(e,s),l=i(t,s),u=arguments.length>2?arguments[2]:void 0,d=o((u===void 0?s:i(u,s))-l,s-c),f=1;for(l<c&&c<l+d&&(f=-1,l+=d-1,c+=d-1);d-- >0;)l in n?n[c]=n[l]:delete n[c],c+=f,l+=f;return n}}),1285:(function(e,t,n){var r=n(7908),i=n(1400),a=n(7466);e.exports=function(e){for(var t=r(this),n=a(t.length),o=arguments.length,s=i(o>1?arguments[1]:void 0,n),c=o>2?arguments[2]:void 0,l=c===void 0?n:i(c,n);l>s;)t[s++]=e;return t}}),8533:(function(e,t,n){var r=n(2092).forEach;e.exports=n(9341)(`forEach`)?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),8457:(function(e,t,n){var r=n(9974),i=n(7908),a=n(3411),o=n(7659),s=n(7466),c=n(6135),l=n(1246);e.exports=function(e){var t=i(e),n=typeof this==`function`?this:Array,u=arguments.length,d=u>1?arguments[1]:void 0,f=d!==void 0,p=l(t),m=0,h,g,_,v,y,b;if(f&&(d=r(d,u>2?arguments[2]:void 0,2)),p!=null&&!(n==Array&&o(p)))for(v=p.call(t),y=v.next,g=new n;!(_=y.call(v)).done;m++)b=f?a(v,d,[_.value,m],!0):_.value,c(g,m,b);else for(h=s(t.length),g=new n(h);h>m;m++)b=f?d(t[m],m):t[m],c(g,m,b);return g.length=m,g}}),1318:(function(e,t,n){var r=n(5656),i=n(7466),a=n(1400),o=function(e){return function(t,n,o){var s=r(t),c=i(s.length),l=a(o,c),u;if(e&&n!=n){for(;c>l;)if(u=s[l++],u!=u)return!0}else for(;c>l;l++)if((e||l in s)&&s[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}}),2092:(function(e,t,n){var r=n(9974),i=n(8361),a=n(7908),o=n(7466),s=n(5417),c=[].push,l=function(e){var t=e==1,n=e==2,l=e==3,u=e==4,d=e==6,f=e==7,p=e==5||d;return function(m,h,g,_){for(var v=a(m),y=i(v),b=r(h,g,3),x=o(y.length),S=0,C=_||s,w=t?C(m,x):n||f?C(m,0):void 0,T,E;x>S;S++)if((p||S in y)&&(T=y[S],E=b(T,S,v),e))if(t)w[S]=E;else if(E)switch(e){case 3:return!0;case 5:return T;case 6:return S;case 2:c.call(w,T)}else switch(e){case 4:return!1;case 7:c.call(w,T)}return d?-1:l||u?u:w}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterOut:l(7)}}),6583:(function(e,t,n){var r=n(5656),i=n(9958),a=n(7466),o=n(9341),s=Math.min,c=[].lastIndexOf,l=!!c&&1/[1].lastIndexOf(1,-0)<0,u=o(`lastIndexOf`);e.exports=l||!u?function(e){if(l)return c.apply(this,arguments)||0;var t=r(this),n=a(t.length),o=n-1;for(arguments.length>1&&(o=s(o,i(arguments[1]))),o<0&&(o=n+o);o>=0;o--)if(o in t&&t[o]===e)return o||0;return-1}:c}),1194:(function(e,t,n){var r=n(7293),i=n(5112),a=n(7392),o=i(`species`);e.exports=function(e){return a>=51||!r(function(){var t=[],n=t.constructor={};return n[o]=function(){return{foo:1}},t[e](Boolean).foo!==1})}}),9341:(function(e,t,n){var r=n(7293);e.exports=function(e,t){var n=[][e];return!!n&&r(function(){n.call(null,t||function(){throw 1},1)})}}),3671:(function(e,t,n){var r=n(3099),i=n(7908),a=n(8361),o=n(7466),s=function(e){return function(t,n,s,c){r(n);var l=i(t),u=a(l),d=o(l.length),f=e?d-1:0,p=e?-1:1;if(s<2)for(;;){if(f in u){c=u[f],f+=p;break}if(f+=p,e?f<0:d<=f)throw TypeError(`Reduce of empty array with no initial value`)}for(;e?f>=0:d>f;f+=p)f in u&&(c=n(c,u[f],f,l));return c}};e.exports={left:s(!1),right:s(!0)}}),5417:(function(e,t,n){var r=n(111),i=n(3157),a=n(5112)(`species`);e.exports=function(e,t){var n;return i(e)&&(n=e.constructor,typeof n==`function`&&(n===Array||i(n.prototype))?n=void 0:r(n)&&(n=n[a],n===null&&(n=void 0))),new(n===void 0?Array:n)(t===0?0:t)}}),3411:(function(e,t,n){var r=n(9670),i=n(9212);e.exports=function(e,t,n,a){try{return a?t(r(n)[0],n[1]):t(n)}catch(t){throw i(e),t}}}),7072:(function(e,t,n){var r=n(5112)(`iterator`),i=!1;try{var a=0,o={next:function(){return{done:!!a++}},return:function(){i=!0}};o[r]=function(){return this},Array.from(o,function(){throw 2})}catch{}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var a={};a[r]=function(){return{next:function(){return{done:n=!0}}}},e(a)}catch{}return n}}),4326:(function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}}),648:(function(e,t,n){var r=n(1694),i=n(4326),a=n(5112)(`toStringTag`),o=i(function(){return arguments}())==`Arguments`,s=function(e,t){try{return e[t]}catch{}};e.exports=r?i:function(e){var t,n,r;return e===void 0?`Undefined`:e===null?`Null`:typeof(n=s(t=Object(e),a))==`string`?n:o?i(t):(r=i(t))==`Object`&&typeof t.callee==`function`?`Arguments`:r}}),9920:(function(e,t,n){var r=n(6656),i=n(3887),a=n(1236),o=n(3070);e.exports=function(e,t){for(var n=i(t),s=o.f,c=a.f,l=0;l<n.length;l++){var u=n[l];r(e,u)||s(e,u,c(t,u))}}}),8544:(function(e,t,n){e.exports=!n(7293)(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})}),4994:(function(e,t,n){var r=n(3383).IteratorPrototype,i=n(30),a=n(9114),o=n(8003),s=n(7497),c=function(){return this};e.exports=function(e,t,n){var l=t+` Iterator`;return e.prototype=i(r,{next:a(1,n)}),o(e,l,!1,!0),s[l]=c,e}}),8880:(function(e,t,n){var r=n(9781),i=n(3070),a=n(9114);e.exports=r?function(e,t,n){return i.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}}),9114:(function(e){e.exports=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}}),6135:(function(e,t,n){var r=n(7593),i=n(3070),a=n(9114);e.exports=function(e,t,n){var o=r(t);o in e?i.f(e,o,a(0,n)):e[o]=n}}),654:(function(e,t,n){var r=n(2109),i=n(4994),a=n(9518),o=n(7674),s=n(8003),c=n(8880),l=n(1320),u=n(5112),d=n(1913),f=n(7497),p=n(3383),m=p.IteratorPrototype,h=p.BUGGY_SAFARI_ITERATORS,g=u(`iterator`),_=`keys`,v=`values`,y=`entries`,b=function(){return this};e.exports=function(e,t,n,u,p,x,S){i(n,t,u);var C=function(e){if(e===p&&O)return O;if(!h&&e in E)return E[e];switch(e){case _:return function(){return new n(this,e)};case v:return function(){return new n(this,e)};case y:return function(){return new n(this,e)}}return function(){return new n(this)}},w=t+` Iterator`,T=!1,E=e.prototype,D=E[g]||E[`@@iterator`]||p&&E[p],O=!h&&D||C(p),k=t==`Array`&&E.entries||D,A,j,M;if(k&&(A=a(k.call(new e)),m!==Object.prototype&&A.next&&(!d&&a(A)!==m&&(o?o(A,m):typeof A[g]!=`function`&&c(A,g,b)),s(A,w,!0,!0),d&&(f[w]=b))),p==v&&D&&D.name!==v&&(T=!0,O=function(){return D.call(this)}),(!d||S)&&E[g]!==O&&c(E,g,O),f[t]=O,p)if(j={values:C(v),keys:x?O:C(_),entries:C(y)},S)for(M in j)(h||T||!(M in E))&&l(E,M,j[M]);else r({target:t,proto:!0,forced:h||T},j);return j}}),9781:(function(e,t,n){e.exports=!n(7293)(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),317:(function(e,t,n){var r=n(7854),i=n(111),a=r.document,o=i(a)&&i(a.createElement);e.exports=function(e){return o?a.createElement(e):{}}}),8324:(function(e){e.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(e,t,n){e.exports=n(5005)(`navigator`,`userAgent`)||``}),7392:(function(e,t,n){var r=n(7854),i=n(8113),a=r.process,o=a&&a.versions,s=o&&o.v8,c,l;s?(c=s.split(`.`),l=c[0]+c[1]):i&&(c=i.match(/Edge\/(\d+)/),(!c||c[1]>=74)&&(c=i.match(/Chrome\/(\d+)/),c&&(l=c[1]))),e.exports=l&&+l}),748:(function(e){e.exports=[`constructor`,`hasOwnProperty`,`isPrototypeOf`,`propertyIsEnumerable`,`toLocaleString`,`toString`,`valueOf`]}),2109:(function(e,t,n){var r=n(7854),i=n(1236).f,a=n(8880),o=n(1320),s=n(3505),c=n(9920),l=n(4705);e.exports=function(e,t){var n=e.target,u=e.global,d=e.stat,f,p=u?r:d?r[n]||s(n,{}):(r[n]||{}).prototype,m,h,g,_;if(p)for(m in t){if(g=t[m],e.noTargetGet?(_=i(p,m),h=_&&_.value):h=p[m],f=l(u?m:n+(d?`.`:`#`)+m,e.forced),!f&&h!==void 0){if(typeof g==typeof h)continue;c(g,h)}(e.sham||h&&h.sham)&&a(g,`sham`,!0),o(p,m,g,e)}}}),7293:(function(e){e.exports=function(e){try{return!!e()}catch{return!0}}}),7007:(function(e,t,n){n(4916);var r=n(1320),i=n(7293),a=n(5112),o=n(2261),s=n(8880),c=a(`species`),l=!i(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:`7`},e},``.replace(e,`$<a>`)!==`7`}),u=(function(){return`a`.replace(/./,`$0`)===`$0`})(),d=a(`replace`),f=(function(){return/./[d]?/./[d](`a`,`$0`)===``:!1})(),p=!i(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n=`ab`.split(e);return n.length!==2||n[0]!==`a`||n[1]!==`b`});e.exports=function(e,t,n,d){var m=a(e),h=!i(function(){var t={};return t[m]=function(){return 7},``[e](t)!=7}),g=h&&!i(function(){var t=!1,n=/a/;return e===`split`&&(n={},n.constructor={},n.constructor[c]=function(){return n},n.flags=``,n[m]=/./[m]),n.exec=function(){return t=!0,null},n[m](``),!t});if(!h||!g||e===`replace`&&!(l&&u&&!f)||e===`split`&&!p){var _=/./[m],v=n(m,``[e],function(e,t,n,r,i){return t.exec===o?h&&!i?{done:!0,value:_.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}},{REPLACE_KEEPS_$0:u,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:f}),y=v[0],b=v[1];r(String.prototype,e,y),r(RegExp.prototype,m,t==2?function(e,t){return b.call(e,this,t)}:function(e){return b.call(e,this)})}d&&s(RegExp.prototype[m],`sham`,!0)}}),9974:(function(e,t,n){var r=n(3099);e.exports=function(e,t,n){if(r(e),t===void 0)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}}),5005:(function(e,t,n){var r=n(857),i=n(7854),a=function(e){return typeof e==`function`?e:void 0};e.exports=function(e,t){return arguments.length<2?a(r[e])||a(i[e]):r[e]&&r[e][t]||i[e]&&i[e][t]}}),1246:(function(e,t,n){var r=n(648),i=n(7497),a=n(5112)(`iterator`);e.exports=function(e){if(e!=null)return e[a]||e[`@@iterator`]||i[r(e)]}}),8554:(function(e,t,n){var r=n(9670),i=n(1246);e.exports=function(e){var t=i(e);if(typeof t!=`function`)throw TypeError(String(e)+` is not iterable`);return r(t.call(e))}}),647:(function(e,t,n){var r=n(7908),i=Math.floor,a=``.replace,o=/\$([$&'`]|\d\d?|<[^>]*>)/g,s=/\$([$&'`]|\d\d?)/g;e.exports=function(e,t,n,c,l,u){var d=n+e.length,f=c.length,p=s;return l!==void 0&&(l=r(l),p=o),a.call(u,p,function(r,a){var o;switch(a.charAt(0)){case`$`:return`$`;case`&`:return e;case"`":return t.slice(0,n);case`'`:return t.slice(d);case`<`:o=l[a.slice(1,-1)];break;default:var s=+a;if(s===0)return r;if(s>f){var u=i(s/10);return u===0?r:u<=f?c[u-1]===void 0?a.charAt(1):c[u-1]+a.charAt(1):r}o=c[s-1]}return o===void 0?``:o})}}),7854:(function(e,t,n){var r=function(e){return e&&e.Math==Math&&e};e.exports=r(typeof globalThis==`object`&&globalThis)||r(typeof window==`object`&&window)||r(typeof self==`object`&&self)||r(typeof n.g==`object`&&n.g)||(function(){return this})()||Function(`return this`)()}),6656:(function(e){var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}}),3501:(function(e){e.exports={}}),490:(function(e,t,n){e.exports=n(5005)(`document`,`documentElement`)}),4664:(function(e,t,n){var r=n(9781),i=n(7293),a=n(317);e.exports=!r&&!i(function(){return Object.defineProperty(a(`div`),`a`,{get:function(){return 7}}).a!=7})}),1179:(function(e){var t=Math.abs,n=Math.pow,r=Math.floor,i=Math.log,a=Math.LN2;e.exports={pack:function(e,o,s){var c=Array(s),l=s*8-o-1,u=(1<<l)-1,d=u>>1,f=o===23?n(2,-24)-n(2,-77):0,p=e<0||e===0&&1/e<0?1:0,m=0,h,g,_;for(e=t(e),e!=e||e===1/0?(g=e==e?0:1,h=u):(h=r(i(e)/a),e*(_=n(2,-h))<1&&(h--,_*=2),h+d>=1?e+=f/_:e+=f*n(2,1-d),e*_>=2&&(h++,_/=2),h+d>=u?(g=0,h=u):h+d>=1?(g=(e*_-1)*n(2,o),h+=d):(g=e*n(2,d-1)*n(2,o),h=0));o>=8;c[m++]=g&255,g/=256,o-=8);for(h=h<<o|g,l+=o;l>0;c[m++]=h&255,h/=256,l-=8);return c[--m]|=p*128,c},unpack:function(e,t){var r=e.length,i=r*8-t-1,a=(1<<i)-1,o=a>>1,s=i-7,c=r-1,l=e[c--],u=l&127,d;for(l>>=7;s>0;u=u*256+e[c],c--,s-=8);for(d=u&(1<<-s)-1,u>>=-s,s+=t;s>0;d=d*256+e[c],c--,s-=8);if(u===0)u=1-o;else if(u===a)return d?NaN:l?-1/0:1/0;else d+=n(2,t),u-=o;return(l?-1:1)*d*n(2,u-t)}}}),8361:(function(e,t,n){var r=n(7293),i=n(4326),a=``.split;e.exports=r(function(){return!Object(`z`).propertyIsEnumerable(0)})?function(e){return i(e)==`String`?a.call(e,``):Object(e)}:Object}),9587:(function(e,t,n){var r=n(111),i=n(7674);e.exports=function(e,t,n){var a,o;return i&&typeof(a=t.constructor)==`function`&&a!==n&&r(o=a.prototype)&&o!==n.prototype&&i(e,o),e}}),2788:(function(e,t,n){var r=n(5465),i=Function.toString;typeof r.inspectSource!=`function`&&(r.inspectSource=function(e){return i.call(e)}),e.exports=r.inspectSource}),9909:(function(e,t,n){var r=n(8536),i=n(7854),a=n(111),o=n(8880),s=n(6656),c=n(5465),l=n(6200),u=n(3501),d=i.WeakMap,f,p,m,h=function(e){return m(e)?p(e):f(e,{})},g=function(e){return function(t){var n;if(!a(t)||(n=p(t)).type!==e)throw TypeError(`Incompatible receiver, `+e+` required`);return n}};if(r){var _=c.state||=new d,v=_.get,y=_.has,b=_.set;f=function(e,t){return t.facade=e,b.call(_,e,t),t},p=function(e){return v.call(_,e)||{}},m=function(e){return y.call(_,e)}}else{var x=l(`state`);u[x]=!0,f=function(e,t){return t.facade=e,o(e,x,t),t},p=function(e){return s(e,x)?e[x]:{}},m=function(e){return s(e,x)}}e.exports={set:f,get:p,has:m,enforce:h,getterFor:g}}),7659:(function(e,t,n){var r=n(5112),i=n(7497),a=r(`iterator`),o=Array.prototype;e.exports=function(e){return e!==void 0&&(i.Array===e||o[a]===e)}}),3157:(function(e,t,n){var r=n(4326);e.exports=Array.isArray||function(e){return r(e)==`Array`}}),4705:(function(e,t,n){var r=n(7293),i=/#|\.prototype\./,a=function(e,t){var n=s[o(e)];return n==l?!0:n==c?!1:typeof t==`function`?r(t):!!t},o=a.normalize=function(e){return String(e).replace(i,`.`).toLowerCase()},s=a.data={},c=a.NATIVE=`N`,l=a.POLYFILL=`P`;e.exports=a}),111:(function(e){e.exports=function(e){return typeof e==`object`?e!==null:typeof e==`function`}}),1913:(function(e){e.exports=!1}),7850:(function(e,t,n){var r=n(111),i=n(4326),a=n(5112)(`match`);e.exports=function(e){var t;return r(e)&&((t=e[a])===void 0?i(e)==`RegExp`:!!t)}}),9212:(function(e,t,n){var r=n(9670);e.exports=function(e){var t=e.return;if(t!==void 0)return r(t.call(e)).value}}),3383:(function(e,t,n){var r=n(7293),i=n(9518),a=n(8880),o=n(6656),s=n(5112),c=n(1913),l=s(`iterator`),u=!1,d=function(){return this},f,p,m;[].keys&&(m=[].keys(),`next`in m?(p=i(i(m)),p!==Object.prototype&&(f=p)):u=!0);var h=f==null||r(function(){var e={};return f[l].call(e)!==e});h&&(f={}),(!c||h)&&!o(f,l)&&a(f,l,d),e.exports={IteratorPrototype:f,BUGGY_SAFARI_ITERATORS:u}}),7497:(function(e){e.exports={}}),133:(function(e,t,n){var r=n(7293);e.exports=!!Object.getOwnPropertySymbols&&!r(function(){return!String(Symbol())})}),590:(function(e,t,n){var r=n(7293),i=n(5112),a=n(1913),o=i(`iterator`);e.exports=!r(function(){var e=new URL(`b?a=1&b=2&c=3`,`http://a`),t=e.searchParams,n=``;return e.pathname=`c%20d`,t.forEach(function(e,r){t.delete(`b`),n+=r+e}),a&&!e.toJSON||!t.sort||e.href!==`http://a/c%20d?a=1&c=3`||t.get(`c`)!==`3`||String(new URLSearchParams(`?a=1`))!==`a=1`||!t[o]||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`||n!==`a1c3`||new URL(`http://x`,void 0).host!==`x`})}),8536:(function(e,t,n){var r=n(7854),i=n(2788),a=r.WeakMap;e.exports=typeof a==`function`&&/native code/.test(i(a))}),1574:(function(e,t,n){var r=n(9781),i=n(7293),a=n(1956),o=n(5181),s=n(5296),c=n(7908),l=n(8361),u=Object.assign,d=Object.defineProperty;e.exports=!u||i(function(){if(r&&u({b:1},u(d({},`a`,{enumerable:!0,get:function(){d(this,`b`,{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var e={},t={},n=Symbol(),i=`abcdefghijklmnopqrst`;return e[n]=7,i.split(``).forEach(function(e){t[e]=e}),u({},e)[n]!=7||a(u({},t)).join(``)!=i})?function(e,t){for(var n=c(e),i=arguments.length,u=1,d=o.f,f=s.f;i>u;)for(var p=l(arguments[u++]),m=d?a(p).concat(d(p)):a(p),h=m.length,g=0,_;h>g;)_=m[g++],(!r||f.call(p,_))&&(n[_]=p[_]);return n}:u}),30:(function(e,t,n){var r=n(9670),i=n(6048),a=n(748),o=n(3501),s=n(490),c=n(317),l=n(6200),u=`>`,d=`<`,f=`prototype`,p=`script`,m=l(`IE_PROTO`),h=function(){},g=function(e){return d+p+u+e+d+`/`+p+u},_=function(e){e.write(g(``)),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){var e=c(`iframe`),t=`java`+p+`:`,n;return e.style.display=`none`,s.appendChild(e),e.src=String(t),n=e.contentWindow.document,n.open(),n.write(g(`document.F=Object`)),n.close(),n.F},y,b=function(){try{y=document.domain&&new ActiveXObject(`htmlfile`)}catch{}b=y?_(y):v();for(var e=a.length;e--;)delete b[f][a[e]];return b()};o[m]=!0,e.exports=Object.create||function(e,t){var n;return e===null?n=b():(h[f]=r(e),n=new h,h[f]=null,n[m]=e),t===void 0?n:i(n,t)}}),6048:(function(e,t,n){var r=n(9781),i=n(3070),a=n(9670),o=n(1956);e.exports=r?Object.defineProperties:function(e,t){a(e);for(var n=o(t),r=n.length,s=0,c;r>s;)i.f(e,c=n[s++],t[c]);return e}}),3070:(function(e,t,n){var r=n(9781),i=n(4664),a=n(9670),o=n(7593),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(a(e),t=o(t,!0),a(n),i)try{return s(e,t,n)}catch{}if(`get`in n||`set`in n)throw TypeError(`Accessors not supported`);return`value`in n&&(e[t]=n.value),e}}),1236:(function(e,t,n){var r=n(9781),i=n(5296),a=n(9114),o=n(5656),s=n(7593),c=n(6656),l=n(4664),u=Object.getOwnPropertyDescriptor;t.f=r?u:function(e,t){if(e=o(e),t=s(t,!0),l)try{return u(e,t)}catch{}if(c(e,t))return a(!i.f.call(e,t),e[t])}}),8006:(function(e,t,n){var r=n(6324),i=n(748).concat(`length`,`prototype`);t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}}),5181:(function(e,t){t.f=Object.getOwnPropertySymbols}),9518:(function(e,t,n){var r=n(6656),i=n(7908),a=n(6200),o=n(8544),s=a(`IE_PROTO`),c=Object.prototype;e.exports=o?Object.getPrototypeOf:function(e){return e=i(e),r(e,s)?e[s]:typeof e.constructor==`function`&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?c:null}}),6324:(function(e,t,n){var r=n(6656),i=n(5656),a=n(1318).indexOf,o=n(3501);e.exports=function(e,t){var n=i(e),s=0,c=[],l;for(l in n)!r(o,l)&&r(n,l)&&c.push(l);for(;t.length>s;)r(n,l=t[s++])&&(~a(c,l)||c.push(l));return c}}),1956:(function(e,t,n){var r=n(6324),i=n(748);e.exports=Object.keys||function(e){return r(e,i)}}),5296:(function(e,t){var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor;t.f=r&&!n.call({1:2},1)?function(e){var t=r(this,e);return!!t&&t.enumerable}:n}),7674:(function(e,t,n){var r=n(9670),i=n(6077);e.exports=Object.setPrototypeOf||(`__proto__`in{}?function(){var e=!1,t={},n;try{n=Object.getOwnPropertyDescriptor(Object.prototype,`__proto__`).set,n.call(t,[]),e=t instanceof Array}catch{}return function(t,a){return r(t),i(a),e?n.call(t,a):t.__proto__=a,t}}():void 0)}),288:(function(e,t,n){var r=n(1694),i=n(648);e.exports=r?{}.toString:function(){return`[object `+i(this)+`]`}}),3887:(function(e,t,n){var r=n(5005),i=n(8006),a=n(5181),o=n(9670);e.exports=r(`Reflect`,`ownKeys`)||function(e){var t=i.f(o(e)),n=a.f;return n?t.concat(n(e)):t}}),857:(function(e,t,n){e.exports=n(7854)}),2248:(function(e,t,n){var r=n(1320);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}}),1320:(function(e,t,n){var r=n(7854),i=n(8880),a=n(6656),o=n(3505),s=n(2788),c=n(9909),l=c.get,u=c.enforce,d=String(String).split(`String`);(e.exports=function(e,t,n,s){var c=s?!!s.unsafe:!1,l=s?!!s.enumerable:!1,f=s?!!s.noTargetGet:!1,p;if(typeof n==`function`&&(typeof t==`string`&&!a(n,`name`)&&i(n,`name`,t),p=u(n),p.source||=d.join(typeof t==`string`?t:``)),e===r){l?e[t]=n:o(t,n);return}else c?!f&&e[t]&&(l=!0):delete e[t];l?e[t]=n:i(e,t,n)})(Function.prototype,`toString`,function(){return typeof this==`function`&&l(this).source||s(this)})}),7651:(function(e,t,n){var r=n(4326),i=n(2261);e.exports=function(e,t){var n=e.exec;if(typeof n==`function`){var a=n.call(e,t);if(typeof a!=`object`)throw TypeError(`RegExp exec method returned something other than an Object or null`);return a}if(r(e)!==`RegExp`)throw TypeError(`RegExp#exec called on incompatible receiver`);return i.call(e,t)}}),2261:(function(e,t,n){var r=n(7066),i=n(2999),a=RegExp.prototype.exec,o=String.prototype.replace,s=a,c=(function(){var e=/a/,t=/b*/g;return a.call(e,`a`),a.call(t,`a`),e.lastIndex!==0||t.lastIndex!==0})(),l=i.UNSUPPORTED_Y||i.BROKEN_CARET,u=/()??/.exec(``)[1]!==void 0;(c||u||l)&&(s=function(e){var t=this,n,i,s,d,f=l&&t.sticky,p=r.call(t),m=t.source,h=0,g=e;return f&&(p=p.replace(`y`,``),p.indexOf(`g`)===-1&&(p+=`g`),g=String(e).slice(t.lastIndex),t.lastIndex>0&&(!t.multiline||t.multiline&&e[t.lastIndex-1]!==`
7
7
  `)&&(m=`(?: `+m+`)`,g=` `+g,h++),i=RegExp(`^(?:`+m+`)`,p)),u&&(i=RegExp(`^`+m+`$(?!\\s)`,p)),c&&(n=t.lastIndex),s=a.call(f?i:t,g),f?s?(s.input=s.input.slice(h),s[0]=s[0].slice(h),s.index=t.lastIndex,t.lastIndex+=s[0].length):t.lastIndex=0:c&&s&&(t.lastIndex=t.global?s.index+s[0].length:n),u&&s&&s.length>1&&o.call(s[0],i,function(){for(d=1;d<arguments.length-2;d++)arguments[d]===void 0&&(s[d]=void 0)}),s}),e.exports=s}),7066:(function(e,t,n){var r=n(9670);e.exports=function(){var e=r(this),t=``;return e.global&&(t+=`g`),e.ignoreCase&&(t+=`i`),e.multiline&&(t+=`m`),e.dotAll&&(t+=`s`),e.unicode&&(t+=`u`),e.sticky&&(t+=`y`),t}}),2999:(function(e,t,n){var r=n(7293);function i(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r(function(){var e=i(`a`,`y`);return e.lastIndex=2,e.exec(`abcd`)!=null}),t.BROKEN_CARET=r(function(){var e=i(`^r`,`gy`);return e.lastIndex=2,e.exec(`str`)!=null})}),4488:(function(e){e.exports=function(e){if(e==null)throw TypeError(`Can't call method on `+e);return e}}),3505:(function(e,t,n){var r=n(7854),i=n(8880);e.exports=function(e,t){try{i(r,e,t)}catch{r[e]=t}return t}}),6340:(function(e,t,n){var r=n(5005),i=n(3070),a=n(5112),o=n(9781),s=a(`species`);e.exports=function(e){var t=r(e),n=i.f;o&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}}),8003:(function(e,t,n){var r=n(3070).f,i=n(6656),a=n(5112)(`toStringTag`);e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,a)&&r(e,a,{configurable:!0,value:t})}}),6200:(function(e,t,n){var r=n(2309),i=n(9711),a=r(`keys`);e.exports=function(e){return a[e]||(a[e]=i(e))}}),5465:(function(e,t,n){var r=n(7854),i=n(3505),a=`__core-js_shared__`;e.exports=r[a]||i(a,{})}),2309:(function(e,t,n){var r=n(1913),i=n(5465);(e.exports=function(e,t){return i[e]||(i[e]=t===void 0?{}:t)})(`versions`,[]).push({version:`3.9.0`,mode:r?`pure`:`global`,copyright:`© 2021 Denis Pushkarev (zloirock.ru)`})}),6707:(function(e,t,n){var r=n(9670),i=n(3099),a=n(5112)(`species`);e.exports=function(e,t){var n=r(e).constructor,o;return n===void 0||(o=r(n)[a])==null?t:i(o)}}),8710:(function(e,t,n){var r=n(9958),i=n(4488),a=function(e){return function(t,n){var a=String(i(t)),o=r(n),s=a.length,c,l;return o<0||o>=s?e?``:void 0:(c=a.charCodeAt(o),c<55296||c>56319||o+1===s||(l=a.charCodeAt(o+1))<56320||l>57343?e?a.charAt(o):c:e?a.slice(o,o+2):(c-55296<<10)+(l-56320)+65536)}};e.exports={codeAt:a(!1),charAt:a(!0)}}),3197:(function(e){var t=2147483647,n=36,r=1,i=26,a=38,o=700,s=72,c=128,l=`-`,u=/[^\0-\u007E]/,d=/[.\u3002\uFF0E\uFF61]/g,f=`Overflow: input needs wider integers to process`,p=n-r,m=Math.floor,h=String.fromCharCode,g=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var a=e.charCodeAt(n++);(a&64512)==56320?t.push(((i&1023)<<10)+(a&1023)+65536):(t.push(i),n--)}else t.push(i)}return t},_=function(e){return e+22+75*(e<26)},v=function(e,t,r){var s=0;for(e=r?m(e/o):e>>1,e+=m(e/t);e>p*i>>1;s+=n)e=m(e/p);return m(s+(p+1)*e/(e+a))},y=function(e){var a=[];e=g(e);var o=e.length,u=c,d=0,p=s,y,b;for(y=0;y<e.length;y++)b=e[y],b<128&&a.push(h(b));var x=a.length,S=x;for(x&&a.push(l);S<o;){var C=t;for(y=0;y<e.length;y++)b=e[y],b>=u&&b<C&&(C=b);var w=S+1;if(C-u>m((t-d)/w))throw RangeError(f);for(d+=(C-u)*w,u=C,y=0;y<e.length;y++){if(b=e[y],b<u&&++d>t)throw RangeError(f);if(b==u){for(var T=d,E=n;;E+=n){var D=E<=p?r:E>=p+i?i:E-p;if(T<D)break;var O=T-D,k=n-D;a.push(h(_(D+O%k))),T=m(O/k)}a.push(h(_(T))),p=v(d,w,S==x),d=0,++S}}++d,++u}return a.join(``)};e.exports=function(e){var t=[],n=e.toLowerCase().replace(d,`.`).split(`.`),r,i;for(r=0;r<n.length;r++)i=n[r],t.push(u.test(i)?`xn--`+y(i):i);return t.join(`.`)}}),6091:(function(e,t,n){var r=n(7293),i=n(1361),a=`​…᠎`;e.exports=function(e){return r(function(){return!!i[e]()||a[e]()!=a||i[e].name!==e})}}),3111:(function(e,t,n){var r=n(4488),i=`[`+n(1361)+`]`,a=RegExp(`^`+i+i+`*`),o=RegExp(i+i+`*$`),s=function(e){return function(t){var n=String(r(t));return e&1&&(n=n.replace(a,``)),e&2&&(n=n.replace(o,``)),n}};e.exports={start:s(1),end:s(2),trim:s(3)}}),1400:(function(e,t,n){var r=n(9958),i=Math.max,a=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):a(n,t)}}),7067:(function(e,t,n){var r=n(9958),i=n(7466);e.exports=function(e){if(e===void 0)return 0;var t=r(e),n=i(t);if(t!==n)throw RangeError(`Wrong length or index`);return n}}),5656:(function(e,t,n){var r=n(8361),i=n(4488);e.exports=function(e){return r(i(e))}}),9958:(function(e){var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}}),7466:(function(e,t,n){var r=n(9958),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}}),7908:(function(e,t,n){var r=n(4488);e.exports=function(e){return Object(r(e))}}),4590:(function(e,t,n){var r=n(3002);e.exports=function(e,t){var n=r(e);if(n%t)throw RangeError(`Wrong offset`);return n}}),3002:(function(e,t,n){var r=n(9958);e.exports=function(e){var t=r(e);if(t<0)throw RangeError(`The argument can't be less than 0`);return t}}),7593:(function(e,t,n){var r=n(111);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&typeof(n=e.toString)==`function`&&!r(i=n.call(e))||typeof(n=e.valueOf)==`function`&&!r(i=n.call(e))||!t&&typeof(n=e.toString)==`function`&&!r(i=n.call(e)))return i;throw TypeError(`Can't convert object to primitive value`)}}),1694:(function(e,t,n){var r=n(5112)(`toStringTag`),i={};i[r]=`z`,e.exports=String(i)===`[object z]`}),9843:(function(e,t,n){var r=n(2109),i=n(7854),a=n(9781),o=n(3832),s=n(260),c=n(3331),l=n(5787),u=n(9114),d=n(8880),f=n(7466),p=n(7067),m=n(4590),h=n(7593),g=n(6656),_=n(648),v=n(111),y=n(30),b=n(7674),x=n(8006).f,S=n(7321),C=n(2092).forEach,w=n(6340),T=n(3070),E=n(1236),D=n(9909),O=n(9587),k=D.get,A=D.set,j=T.f,M=E.f,N=Math.round,P=i.RangeError,F=c.ArrayBuffer,I=c.DataView,L=s.NATIVE_ARRAY_BUFFER_VIEWS,R=s.TYPED_ARRAY_TAG,z=s.TypedArray,B=s.TypedArrayPrototype,ee=s.aTypedArrayConstructor,te=s.isTypedArray,ne=`BYTES_PER_ELEMENT`,re=`Wrong length`,ie=function(e,t){for(var n=0,r=t.length,i=new(ee(e))(r);r>n;)i[n]=t[n++];return i},ae=function(e,t){j(e,t,{get:function(){return k(this)[t]}})},oe=function(e){var t;return e instanceof F||(t=_(e))==`ArrayBuffer`||t==`SharedArrayBuffer`},se=function(e,t){return te(e)&&typeof t!=`symbol`&&t in e&&String(+t)==String(t)},ce=function(e,t){return se(e,t=h(t,!0))?u(2,e[t]):M(e,t)},le=function(e,t,n){return se(e,t=h(t,!0))&&v(n)&&g(n,`value`)&&!g(n,`get`)&&!g(n,`set`)&&!n.configurable&&(!g(n,`writable`)||n.writable)&&(!g(n,`enumerable`)||n.enumerable)?(e[t]=n.value,e):j(e,t,n)};a?(L||(E.f=ce,T.f=le,ae(B,`buffer`),ae(B,`byteOffset`),ae(B,`byteLength`),ae(B,`length`)),r({target:`Object`,stat:!0,forced:!L},{getOwnPropertyDescriptor:ce,defineProperty:le}),e.exports=function(e,t,n){var a=e.match(/\d+$/)[0]/8,s=e+(n?`Clamped`:``)+`Array`,c=`get`+e,u=`set`+e,h=i[s],g=h,_=g&&g.prototype,T={},E=function(e,t){var n=k(e);return n.view[c](t*a+n.byteOffset,!0)},D=function(e,t,r){var i=k(e);n&&(r=(r=N(r))<0?0:r>255?255:r&255),i.view[u](t*a+i.byteOffset,r,!0)},M=function(e,t){j(e,t,{get:function(){return E(this,t)},set:function(e){return D(this,t,e)},enumerable:!0})};L?o&&(g=t(function(e,t,n,r){return l(e,g,s),O(function(){return v(t)?oe(t)?r===void 0?n===void 0?new h(t):new h(t,m(n,a)):new h(t,m(n,a),r):te(t)?ie(g,t):S.call(g,t):new h(p(t))}(),e,g)}),b&&b(g,z),C(x(h),function(e){e in g||d(g,e,h[e])}),g.prototype=_):(g=t(function(e,t,n,r){l(e,g,s);var i=0,o=0,c,u,d;if(!v(t))d=p(t),u=d*a,c=new F(u);else if(oe(t)){c=t,o=m(n,a);var h=t.byteLength;if(r===void 0){if(h%a||(u=h-o,u<0))throw P(re)}else if(u=f(r)*a,u+o>h)throw P(re);d=u/a}else if(te(t))return ie(g,t);else return S.call(g,t);for(A(e,{buffer:c,byteOffset:o,byteLength:u,length:d,view:new I(c)});i<d;)M(e,i++)}),b&&b(g,z),_=g.prototype=y(B)),_.constructor!==g&&d(_,`constructor`,g),R&&d(_,R,s),T[s]=g,r({global:!0,forced:g!=h,sham:!L},T),ne in g||d(g,ne,a),ne in _||d(_,ne,a),w(s)}):e.exports=function(){}}),3832:(function(e,t,n){var r=n(7854),i=n(7293),a=n(7072),o=n(260).NATIVE_ARRAY_BUFFER_VIEWS,s=r.ArrayBuffer,c=r.Int8Array;e.exports=!o||!i(function(){c(1)})||!i(function(){new c(-1)})||!a(function(e){new c,new c(null),new c(1.5),new c(e)},!0)||i(function(){return new c(new s(2),1,void 0).length!==1})}),3074:(function(e,t,n){var r=n(260).aTypedArrayConstructor,i=n(6707);e.exports=function(e,t){for(var n=i(e,e.constructor),a=0,o=t.length,s=new(r(n))(o);o>a;)s[a]=t[a++];return s}}),7321:(function(e,t,n){var r=n(7908),i=n(7466),a=n(1246),o=n(7659),s=n(9974),c=n(260).aTypedArrayConstructor;e.exports=function(e){var t=r(e),n=arguments.length,l=n>1?arguments[1]:void 0,u=l!==void 0,d=a(t),f,p,m,h,g,_;if(d!=null&&!o(d))for(g=d.call(t),_=g.next,t=[];!(h=_.call(g)).done;)t.push(h.value);for(u&&n>2&&(l=s(l,arguments[2],2)),p=i(t.length),m=new(c(this))(p),f=0;p>f;f++)m[f]=u?l(t[f],f):t[f];return m}}),9711:(function(e){var t=0,n=Math.random();e.exports=function(e){return`Symbol(`+String(e===void 0?``:e)+`)_`+(++t+n).toString(36)}}),3307:(function(e,t,n){e.exports=n(133)&&!Symbol.sham&&typeof Symbol.iterator==`symbol`}),5112:(function(e,t,n){var r=n(7854),i=n(2309),a=n(6656),o=n(9711),s=n(133),c=n(3307),l=i(`wks`),u=r.Symbol,d=c?u:u&&u.withoutSetter||o;e.exports=function(e){return a(l,e)||(s&&a(u,e)?l[e]=u[e]:l[e]=d(`Symbol.`+e)),l[e]}}),1361:(function(e){e.exports=`
8
8
  \v\f\r \xA0               \u2028\u2029`}),8264:(function(e,t,n){var r=n(2109),i=n(7854),a=n(3331),o=n(6340),s=`ArrayBuffer`,c=a[s],l=i[s];r({global:!0,forced:l!==c},{ArrayBuffer:c}),o(s)}),2222:(function(e,t,n){var r=n(2109),i=n(7293),a=n(3157),o=n(111),s=n(7908),c=n(7466),l=n(6135),u=n(5417),d=n(1194),f=n(5112),p=n(7392),m=f(`isConcatSpreadable`),h=9007199254740991,g=`Maximum allowed index exceeded`,_=p>=51||!i(function(){var e=[];return e[m]=!1,e.concat()[0]!==e}),v=d(`concat`),y=function(e){if(!o(e))return!1;var t=e[m];return t===void 0?a(e):!!t};r({target:`Array`,proto:!0,forced:!_||!v},{concat:function(e){var t=s(this),n=u(t,0),r=0,i,a,o,d,f;for(i=-1,o=arguments.length;i<o;i++)if(f=i===-1?t:arguments[i],y(f)){if(d=c(f.length),r+d>h)throw TypeError(g);for(a=0;a<d;a++,r++)a in f&&l(n,r,f[a])}else{if(r>=h)throw TypeError(g);l(n,r++,f)}return n.length=r,n}})}),7327:(function(e,t,n){var r=n(2109),i=n(2092).filter;r({target:`Array`,proto:!0,forced:!n(1194)(`filter`)},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})}),2772:(function(e,t,n){var r=n(2109),i=n(1318).indexOf,a=n(9341),o=[].indexOf,s=!!o&&1/[1].indexOf(1,-0)<0,c=a(`indexOf`);r({target:`Array`,proto:!0,forced:s||!c},{indexOf:function(e){return s?o.apply(this,arguments)||0:i(this,e,arguments.length>1?arguments[1]:void 0)}})}),6992:(function(e,t,n){var r=n(5656),i=n(1223),a=n(7497),o=n(9909),s=n(654),c=`Array Iterator`,l=o.set,u=o.getterFor(c);e.exports=s(Array,`Array`,function(e,t){l(this,{type:c,target:r(e),index:0,kind:t})},function(){var e=u(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):n==`keys`?{value:r,done:!1}:n==`values`?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},`values`),a.Arguments=a.Array,i(`keys`),i(`values`),i(`entries`)}),1249:(function(e,t,n){var r=n(2109),i=n(2092).map;r({target:`Array`,proto:!0,forced:!n(1194)(`map`)},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})}),7042:(function(e,t,n){var r=n(2109),i=n(111),a=n(3157),o=n(1400),s=n(7466),c=n(5656),l=n(6135),u=n(5112),d=n(1194)(`slice`),f=u(`species`),p=[].slice,m=Math.max;r({target:`Array`,proto:!0,forced:!d},{slice:function(e,t){var n=c(this),r=s(n.length),u=o(e,r),d=o(t===void 0?r:t,r),h,g,_;if(a(n)&&(h=n.constructor,typeof h==`function`&&(h===Array||a(h.prototype))?h=void 0:i(h)&&(h=h[f],h===null&&(h=void 0)),h===Array||h===void 0))return p.call(n,u,d);for(g=new(h===void 0?Array:h)(m(d-u,0)),_=0;u<d;u++,_++)u in n&&l(g,_,n[u]);return g.length=_,g}})}),561:(function(e,t,n){var r=n(2109),i=n(1400),a=n(9958),o=n(7466),s=n(7908),c=n(5417),l=n(6135),u=n(1194)(`splice`),d=Math.max,f=Math.min,p=9007199254740991,m=`Maximum allowed length exceeded`;r({target:`Array`,proto:!0,forced:!u},{splice:function(e,t){var n=s(this),r=o(n.length),u=i(e,r),h=arguments.length,g,_,v,y,b,x;if(h===0?g=_=0:h===1?(g=0,_=r-u):(g=h-2,_=f(d(a(t),0),r-u)),r+g-_>p)throw TypeError(m);for(v=c(n,_),y=0;y<_;y++)b=u+y,b in n&&l(v,y,n[b]);if(v.length=_,g<_){for(y=u;y<r-_;y++)b=y+_,x=y+g,b in n?n[x]=n[b]:delete n[x];for(y=r;y>r-_+g;y--)delete n[y-1]}else if(g>_)for(y=r-_;y>u;y--)b=y+_-1,x=y+g-1,b in n?n[x]=n[b]:delete n[x];for(y=0;y<g;y++)n[y+u]=arguments[y+2];return n.length=r-_+g,v}})}),8309:(function(e,t,n){var r=n(9781),i=n(3070).f,a=Function.prototype,o=a.toString,s=/^\s*function ([^ (]*)/,c=`name`;r&&!(c in a)&&i(a,c,{configurable:!0,get:function(){try{return o.call(this).match(s)[1]}catch{return``}}})}),489:(function(e,t,n){var r=n(2109),i=n(7293),a=n(7908),o=n(9518),s=n(8544);r({target:`Object`,stat:!0,forced:i(function(){o(1)}),sham:!s},{getPrototypeOf:function(e){return o(a(e))}})}),1539:(function(e,t,n){var r=n(1694),i=n(1320),a=n(288);r||i(Object.prototype,`toString`,a,{unsafe:!0})}),4916:(function(e,t,n){var r=n(2109),i=n(2261);r({target:`RegExp`,proto:!0,forced:/./.exec!==i},{exec:i})}),9714:(function(e,t,n){var r=n(1320),i=n(9670),a=n(7293),o=n(7066),s=`toString`,c=RegExp.prototype,l=c[s],u=a(function(){return l.call({source:`a`,flags:`b`})!=`/a/b`}),d=l.name!=s;(u||d)&&r(RegExp.prototype,s,function(){var e=i(this),t=String(e.source),n=e.flags,r=String(n===void 0&&e instanceof RegExp&&!(`flags`in c)?o.call(e):n);return`/`+t+`/`+r},{unsafe:!0})}),8783:(function(e,t,n){var r=n(8710).charAt,i=n(9909),a=n(654),o=`String Iterator`,s=i.set,c=i.getterFor(o);a(String,`String`,function(e){s(this,{type:o,string:String(e),index:0})},function(){var e=c(this),t=e.string,n=e.index,i;return n>=t.length?{value:void 0,done:!0}:(i=r(t,n),e.index+=i.length,{value:i,done:!1})})}),4723:(function(e,t,n){var r=n(7007),i=n(9670),a=n(7466),o=n(4488),s=n(1530),c=n(7651);r(`match`,1,function(e,t,n){return[function(t){var n=o(this),r=t?.[e];return r===void 0?new RegExp(t)[e](String(n)):r.call(t,n)},function(e){var r=n(t,e,this);if(r.done)return r.value;var o=i(e),l=String(this);if(!o.global)return c(o,l);var u=o.unicode;o.lastIndex=0;for(var d=[],f=0,p;(p=c(o,l))!==null;){var m=String(p[0]);d[f]=m,m===``&&(o.lastIndex=s(l,a(o.lastIndex),u)),f++}return f===0?null:d}]})}),5306:(function(e,t,n){var r=n(7007),i=n(9670),a=n(7466),o=n(9958),s=n(4488),c=n(1530),l=n(647),u=n(7651),d=Math.max,f=Math.min,p=function(e){return e===void 0?e:String(e)};r(`replace`,2,function(e,t,n,r){var m=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,h=r.REPLACE_KEEPS_$0,g=m?`$`:`$0`;return[function(n,r){var i=s(this),a=n?.[e];return a===void 0?t.call(String(i),n,r):a.call(n,i,r)},function(e,r){if(!m&&h||typeof r==`string`&&r.indexOf(g)===-1){var s=n(t,e,this,r);if(s.done)return s.value}var _=i(e),v=String(this),y=typeof r==`function`;y||(r=String(r));var b=_.global;if(b){var x=_.unicode;_.lastIndex=0}for(var S=[];;){var C=u(_,v);if(C===null||(S.push(C),!b))break;String(C[0])===``&&(_.lastIndex=c(v,a(_.lastIndex),x))}for(var w=``,T=0,E=0;E<S.length;E++){C=S[E];for(var D=String(C[0]),O=d(f(o(C.index),v.length),0),k=[],A=1;A<C.length;A++)k.push(p(C[A]));var j=C.groups;if(y){var M=[D].concat(k,O,v);j!==void 0&&M.push(j);var N=String(r.apply(void 0,M))}else N=l(D,v,O,k,j,r);O>=T&&(w+=v.slice(T,O)+N,T=O+D.length)}return w+v.slice(T)}]})}),3123:(function(e,t,n){var r=n(7007),i=n(7850),a=n(9670),o=n(4488),s=n(6707),c=n(1530),l=n(7466),u=n(7651),d=n(2261),f=n(7293),p=[].push,m=Math.min,h=4294967295,g=!f(function(){return!RegExp(h,`y`)});r(`split`,2,function(e,t,n){var r=`abbc`.split(/(b)*/)[1]==`c`||`test`.split(/(?:)/,-1).length!=4||`ab`.split(/(?:ab)*/).length!=2||`.`.split(/(.?)(.?)/).length!=4||`.`.split(/()()/).length>1||``.split(/.?/).length?function(e,n){var r=String(o(this)),a=n===void 0?h:n>>>0;if(a===0)return[];if(e===void 0)return[r];if(!i(e))return t.call(r,e,a);for(var s=[],c=(e.ignoreCase?`i`:``)+(e.multiline?`m`:``)+(e.unicode?`u`:``)+(e.sticky?`y`:``),l=0,u=new RegExp(e.source,c+`g`),f,m,g;(f=d.call(u,r))&&(m=u.lastIndex,!(m>l&&(s.push(r.slice(l,f.index)),f.length>1&&f.index<r.length&&p.apply(s,f.slice(1)),g=f[0].length,l=m,s.length>=a)));)u.lastIndex===f.index&&u.lastIndex++;return l===r.length?(g||!u.test(``))&&s.push(``):s.push(r.slice(l)),s.length>a?s.slice(0,a):s}:`0`.split(void 0,0).length?function(e,n){return e===void 0&&n===0?[]:t.call(this,e,n)}:t;return[function(t,n){var i=o(this),a=t?.[e];return a===void 0?r.call(String(i),t,n):a.call(t,i,n)},function(e,i){var o=n(r,e,this,i,r!==t);if(o.done)return o.value;var d=a(e),f=String(this),p=s(d,RegExp),_=d.unicode,v=(d.ignoreCase?`i`:``)+(d.multiline?`m`:``)+(d.unicode?`u`:``)+(g?`y`:`g`),y=new p(g?d:`^(?:`+d.source+`)`,v),b=i===void 0?h:i>>>0;if(b===0)return[];if(f.length===0)return u(y,f)===null?[f]:[];for(var x=0,S=0,C=[];S<f.length;){y.lastIndex=g?S:0;var w=u(y,g?f:f.slice(S)),T;if(w===null||(T=m(l(y.lastIndex+(g?0:S)),f.length))===x)S=c(f,S,_);else{if(C.push(f.slice(x,S)),C.length===b)return C;for(var E=1;E<=w.length-1;E++)if(C.push(w[E]),C.length===b)return C;S=x=T}}return C.push(f.slice(x)),C}]},!g)}),3210:(function(e,t,n){var r=n(2109),i=n(3111).trim;r({target:`String`,proto:!0,forced:n(6091)(`trim`)},{trim:function(){return i(this)}})}),2990:(function(e,t,n){var r=n(260),i=n(1048),a=r.aTypedArray,o=r.exportTypedArrayMethod;o(`copyWithin`,function(e,t){return i.call(a(this),e,t,arguments.length>2?arguments[2]:void 0)})}),8927:(function(e,t,n){var r=n(260),i=n(2092).every,a=r.aTypedArray,o=r.exportTypedArrayMethod;o(`every`,function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)})}),3105:(function(e,t,n){var r=n(260),i=n(1285),a=r.aTypedArray,o=r.exportTypedArrayMethod;o(`fill`,function(e){return i.apply(a(this),arguments)})}),5035:(function(e,t,n){var r=n(260),i=n(2092).filter,a=n(3074),o=r.aTypedArray,s=r.exportTypedArrayMethod;s(`filter`,function(e){var t=i(o(this),e,arguments.length>1?arguments[1]:void 0);return a(this,t)})}),7174:(function(e,t,n){var r=n(260),i=n(2092).findIndex,a=r.aTypedArray,o=r.exportTypedArrayMethod;o(`findIndex`,function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)})}),4345:(function(e,t,n){var r=n(260),i=n(2092).find,a=r.aTypedArray,o=r.exportTypedArrayMethod;o(`find`,function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)})}),2846:(function(e,t,n){var r=n(260),i=n(2092).forEach,a=r.aTypedArray,o=r.exportTypedArrayMethod;o(`forEach`,function(e){i(a(this),e,arguments.length>1?arguments[1]:void 0)})}),4731:(function(e,t,n){var r=n(260),i=n(1318).includes,a=r.aTypedArray,o=r.exportTypedArrayMethod;o(`includes`,function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)})}),7209:(function(e,t,n){var r=n(260),i=n(1318).indexOf,a=r.aTypedArray,o=r.exportTypedArrayMethod;o(`indexOf`,function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)})}),6319:(function(e,t,n){var r=n(7854),i=n(260),a=n(6992),o=n(5112)(`iterator`),s=r.Uint8Array,c=a.values,l=a.keys,u=a.entries,d=i.aTypedArray,f=i.exportTypedArrayMethod,p=s&&s.prototype[o],m=!!p&&(p.name==`values`||p.name==null),h=function(){return c.call(d(this))};f(`entries`,function(){return u.call(d(this))}),f(`keys`,function(){return l.call(d(this))}),f(`values`,h,!m),f(o,h,!m)}),8867:(function(e,t,n){var r=n(260),i=r.aTypedArray,a=r.exportTypedArrayMethod,o=[].join;a(`join`,function(e){return o.apply(i(this),arguments)})}),7789:(function(e,t,n){var r=n(260),i=n(6583),a=r.aTypedArray,o=r.exportTypedArrayMethod;o(`lastIndexOf`,function(e){return i.apply(a(this),arguments)})}),3739:(function(e,t,n){var r=n(260),i=n(2092).map,a=n(6707),o=r.aTypedArray,s=r.aTypedArrayConstructor,c=r.exportTypedArrayMethod;c(`map`,function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0,function(e,t){return new(s(a(e,e.constructor)))(t)})})}),4483:(function(e,t,n){var r=n(260),i=n(3671).right,a=r.aTypedArray,o=r.exportTypedArrayMethod;o(`reduceRight`,function(e){return i(a(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)})}),9368:(function(e,t,n){var r=n(260),i=n(3671).left,a=r.aTypedArray,o=r.exportTypedArrayMethod;o(`reduce`,function(e){return i(a(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)})}),2056:(function(e,t,n){var r=n(260),i=r.aTypedArray,a=r.exportTypedArrayMethod,o=Math.floor;a(`reverse`,function(){for(var e=this,t=i(e).length,n=o(t/2),r=0,a;r<n;)a=e[r],e[r++]=e[--t],e[t]=a;return e})}),3462:(function(e,t,n){var r=n(260),i=n(7466),a=n(4590),o=n(7908),s=n(7293),c=r.aTypedArray,l=r.exportTypedArrayMethod;l(`set`,function(e){c(this);var t=a(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=o(e),s=i(r.length),l=0;if(s+t>n)throw RangeError(`Wrong length`);for(;l<s;)this[t+l]=r[l++]},s(function(){new Int8Array(1).set({})}))}),678:(function(e,t,n){var r=n(260),i=n(6707),a=n(7293),o=r.aTypedArray,s=r.aTypedArrayConstructor,c=r.exportTypedArrayMethod,l=[].slice;c(`slice`,function(e,t){for(var n=l.call(o(this),e,t),r=i(this,this.constructor),a=0,c=n.length,u=new(s(r))(c);c>a;)u[a]=n[a++];return u},a(function(){new Int8Array(1).slice()}))}),7462:(function(e,t,n){var r=n(260),i=n(2092).some,a=r.aTypedArray,o=r.exportTypedArrayMethod;o(`some`,function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)})}),3824:(function(e,t,n){var r=n(260),i=r.aTypedArray,a=r.exportTypedArrayMethod,o=[].sort;a(`sort`,function(e){return o.call(i(this),e)})}),5021:(function(e,t,n){var r=n(260),i=n(7466),a=n(1400),o=n(6707),s=r.aTypedArray,c=r.exportTypedArrayMethod;c(`subarray`,function(e,t){var n=s(this),r=n.length,c=a(e,r);return new(o(n,n.constructor))(n.buffer,n.byteOffset+c*n.BYTES_PER_ELEMENT,i((t===void 0?r:a(t,r))-c))})}),2974:(function(e,t,n){var r=n(7854),i=n(260),a=n(7293),o=r.Int8Array,s=i.aTypedArray,c=i.exportTypedArrayMethod,l=[].toLocaleString,u=[].slice,d=!!o&&a(function(){l.call(new o(1))});c(`toLocaleString`,function(){return l.apply(d?u.call(s(this)):s(this),arguments)},a(function(){return[1,2].toLocaleString()!=new o([1,2]).toLocaleString()})||!a(function(){o.prototype.toLocaleString.call([1,2])}))}),5016:(function(e,t,n){var r=n(260).exportTypedArrayMethod,i=n(7293),a=n(7854).Uint8Array,o=a&&a.prototype||{},s=[].toString,c=[].join;i(function(){s.call({})})&&(s=function(){return c.call(this)});var l=o.toString!=s;r(`toString`,s,l)}),2472:(function(e,t,n){n(9843)(`Uint8`,function(e){return function(t,n,r){return e(this,t,n,r)}})}),4747:(function(e,t,n){var r=n(7854),i=n(8324),a=n(8533),o=n(8880);for(var s in i){var c=r[s],l=c&&c.prototype;if(l&&l.forEach!==a)try{o(l,`forEach`,a)}catch{l.forEach=a}}}),3948:(function(e,t,n){var r=n(7854),i=n(8324),a=n(6992),o=n(8880),s=n(5112),c=s(`iterator`),l=s(`toStringTag`),u=a.values;for(var d in i){var f=r[d],p=f&&f.prototype;if(p){if(p[c]!==u)try{o(p,c,u)}catch{p[c]=u}if(p[l]||o(p,l,d),i[d]){for(var m in a)if(p[m]!==a[m])try{o(p,m,a[m])}catch{p[m]=a[m]}}}}}),1637:(function(e,t,n){n(6992);var r=n(2109),i=n(5005),a=n(590),o=n(1320),s=n(2248),c=n(8003),l=n(4994),u=n(9909),d=n(5787),f=n(6656),p=n(9974),m=n(648),h=n(9670),g=n(111),_=n(30),v=n(9114),y=n(8554),b=n(1246),x=n(5112),S=i(`fetch`),C=i(`Headers`),w=x(`iterator`),T=`URLSearchParams`,E=T+`Iterator`,D=u.set,O=u.getterFor(T),k=u.getterFor(E),A=/\+/g,j=[,,,,],M=function(e){return j[e-1]||(j[e-1]=RegExp(`((?:%[\\da-f]{2}){`+e+`})`,`gi`))},N=function(e){try{return decodeURIComponent(e)}catch{return e}},P=function(e){var t=e.replace(A,` `),n=4;try{return decodeURIComponent(t)}catch{for(;n;)t=t.replace(M(n--),N);return t}},F=/[!'()~]|%20/g,I={"!":`%21`,"'":`%27`,"(":`%28`,")":`%29`,"~":`%7E`,"%20":`+`},L=function(e){return I[e]},R=function(e){return encodeURIComponent(e).replace(F,L)},z=function(e,t){if(t)for(var n=t.split(`&`),r=0,i,a;r<n.length;)i=n[r++],i.length&&(a=i.split(`=`),e.push({key:P(a.shift()),value:P(a.join(`=`))}))},B=function(e){this.entries.length=0,z(this.entries,e)},ee=function(e,t){if(e<t)throw TypeError(`Not enough arguments`)},te=l(function(e,t){D(this,{type:E,iterator:y(O(e).entries),kind:t})},`Iterator`,function(){var e=k(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value=t===`keys`?r.key:t===`values`?r.value:[r.key,r.value]),n}),ne=function(){d(this,ne,T);var e=arguments.length>0?arguments[0]:void 0,t=this,n=[],r,i,a,o,s,c,l,u,p;if(D(t,{type:T,entries:n,updateURL:function(){},updateSearchParams:B}),e!==void 0)if(g(e))if(r=b(e),typeof r==`function`)for(i=r.call(e),a=i.next;!(o=a.call(i)).done;){if(s=y(h(o.value)),c=s.next,(l=c.call(s)).done||(u=c.call(s)).done||!c.call(s).done)throw TypeError(`Expected sequence with length 2`);n.push({key:l.value+``,value:u.value+``})}else for(p in e)f(e,p)&&n.push({key:p,value:e[p]+``});else z(n,typeof e==`string`?e.charAt(0)===`?`?e.slice(1):e:e+``)},re=ne.prototype;s(re,{append:function(e,t){ee(arguments.length,2);var n=O(this);n.entries.push({key:e+``,value:t+``}),n.updateURL()},delete:function(e){ee(arguments.length,1);for(var t=O(this),n=t.entries,r=e+``,i=0;i<n.length;)n[i].key===r?n.splice(i,1):i++;t.updateURL()},get:function(e){ee(arguments.length,1);for(var t=O(this).entries,n=e+``,r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){ee(arguments.length,1);for(var t=O(this).entries,n=e+``,r=[],i=0;i<t.length;i++)t[i].key===n&&r.push(t[i].value);return r},has:function(e){ee(arguments.length,1);for(var t=O(this).entries,n=e+``,r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){ee(arguments.length,1);for(var n=O(this),r=n.entries,i=!1,a=e+``,o=t+``,s=0,c;s<r.length;s++)c=r[s],c.key===a&&(i?r.splice(s--,1):(i=!0,c.value=o));i||r.push({key:a,value:o}),n.updateURL()},sort:function(){var e=O(this),t=e.entries,n=t.slice(),r,i,a;for(t.length=0,a=0;a<n.length;a++){for(r=n[a],i=0;i<a;i++)if(t[i].key>r.key){t.splice(i,0,r);break}i===a&&t.push(r)}e.updateURL()},forEach:function(e){for(var t=O(this).entries,n=p(e,arguments.length>1?arguments[1]:void 0,3),r=0,i;r<t.length;)i=t[r++],n(i.value,i.key,this)},keys:function(){return new te(this,`keys`)},values:function(){return new te(this,`values`)},entries:function(){return new te(this,`entries`)}},{enumerable:!0}),o(re,w,re.entries),o(re,`toString`,function(){for(var e=O(this).entries,t=[],n=0,r;n<e.length;)r=e[n++],t.push(R(r.key)+`=`+R(r.value));return t.join(`&`)},{enumerable:!0}),c(ne,T),r({global:!0,forced:!a},{URLSearchParams:ne}),!a&&typeof S==`function`&&typeof C==`function`&&r({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t=[e],n,r,i;return arguments.length>1&&(n=arguments[1],g(n)&&(r=n.body,m(r)===T&&(i=n.headers?new C(n.headers):new C,i.has(`content-type`)||i.set(`content-type`,`application/x-www-form-urlencoded;charset=UTF-8`),n=_(n,{body:v(0,String(r)),headers:v(0,i)}))),t.push(n)),S.apply(this,t)}}),e.exports={URLSearchParams:ne,getState:O}}),285:(function(e,t,n){n(8783);var r=n(2109),i=n(9781),a=n(590),o=n(7854),s=n(6048),c=n(1320),l=n(5787),u=n(6656),d=n(1574),f=n(8457),p=n(8710).codeAt,m=n(3197),h=n(8003),g=n(1637),_=n(9909),v=o.URL,y=g.URLSearchParams,b=g.getState,x=_.set,S=_.getterFor(`URL`),C=Math.floor,w=Math.pow,T=`Invalid authority`,E=`Invalid scheme`,D=`Invalid host`,O=`Invalid port`,k=/[A-Za-z]/,A=/[\d+-.A-Za-z]/,j=/\d/,M=/^(0x|0X)/,N=/^[0-7]+$/,P=/^\d+$/,F=/^[\dA-Fa-f]+$/,I=/[\u0000\t\u000A\u000D #%/:?@[\\]]/,L=/[\u0000\t\u000A\u000D #/:?@[\\]]/,R=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,z=/[\t\u000A\u000D]/g,B,ee=function(e,t){var n,r,i;if(t.charAt(0)==`[`){if(t.charAt(t.length-1)!=`]`||(n=ne(t.slice(1,-1)),!n))return D;e.host=n}else if(de(e)){if(t=m(t),I.test(t)||(n=te(t),n===null))return D;e.host=n}else{if(L.test(t))return D;for(n=``,r=f(t),i=0;i<r.length;i++)n+=le(r[i],ae);e.host=n}},te=function(e){var t=e.split(`.`),n,r,i,a,o,s,c;if(t.length&&t[t.length-1]==``&&t.pop(),n=t.length,n>4)return e;for(r=[],i=0;i<n;i++){if(a=t[i],a==``)return e;if(o=10,a.length>1&&a.charAt(0)==`0`&&(o=M.test(a)?16:8,a=a.slice(o==8?1:2)),a===``)s=0;else{if(!(o==10?P:o==8?N:F).test(a))return e;s=parseInt(a,o)}r.push(s)}for(i=0;i<n;i++)if(s=r[i],i==n-1){if(s>=w(256,5-n))return null}else if(s>255)return null;for(c=r.pop(),i=0;i<r.length;i++)c+=r[i]*w(256,3-i);return c},ne=function(e){var t=[0,0,0,0,0,0,0,0],n=0,r=null,i=0,a,o,s,c,l,u,d,f=function(){return e.charAt(i)};if(f()==`:`){if(e.charAt(1)!=`:`)return;i+=2,n++,r=n}for(;f();){if(n==8)return;if(f()==`:`){if(r!==null)return;i++,n++,r=n;continue}for(a=o=0;o<4&&F.test(f());)a=a*16+parseInt(f(),16),i++,o++;if(f()==`.`){if(o==0||(i-=o,n>6))return;for(s=0;f();){if(c=null,s>0)if(f()==`.`&&s<4)i++;else return;if(!j.test(f()))return;for(;j.test(f());){if(l=parseInt(f(),10),c===null)c=l;else if(c==0)return;else c=c*10+l;if(c>255)return;i++}t[n]=t[n]*256+c,s++,(s==2||s==4)&&n++}if(s!=4)return;break}else if(f()==`:`){if(i++,!f())return}else if(f())return;t[n++]=a}if(r!==null)for(u=n-r,n=7;n!=0&&u>0;)d=t[n],t[n--]=t[r+u-1],t[r+--u]=d;else if(n!=8)return;return t},re=function(e){for(var t=null,n=1,r=null,i=0,a=0;a<8;a++)e[a]===0?(r===null&&(r=a),++i):(i>n&&(t=r,n=i),r=null,i=0);return i>n&&(t=r,n=i),t},ie=function(e){var t,n,r,i;if(typeof e==`number`){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=C(e/256);return t.join(`.`)}else if(typeof e==`object`){for(t=``,r=re(e),n=0;n<8;n++)i&&e[n]===0||(i&&=!1,r===n?(t+=n?`:`:`::`,i=!0):(t+=e[n].toString(16),n<7&&(t+=`:`)));return`[`+t+`]`}return e},ae={},oe=d({},ae,{" ":1,'"':1,"<":1,">":1,"`":1}),se=d({},oe,{"#":1,"?":1,"{":1,"}":1}),ce=d({},se,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),le=function(e,t){var n=p(e,0);return n>32&&n<127&&!u(t,e)?e:encodeURIComponent(e)},ue={ftp:21,file:null,http:80,https:443,ws:80,wss:443},de=function(e){return u(ue,e.scheme)},fe=function(e){return e.username!=``||e.password!=``},pe=function(e){return!e.host||e.cannotBeABaseURL||e.scheme==`file`},me=function(e,t){var n;return e.length==2&&k.test(e.charAt(0))&&((n=e.charAt(1))==`:`||!t&&n==`|`)},he=function(e){var t;return e.length>1&&me(e.slice(0,2))&&(e.length==2||(t=e.charAt(2))===`/`||t===`\\`||t===`?`||t===`#`)},ge=function(e){var t=e.path,n=t.length;n&&(e.scheme!=`file`||n!=1||!me(t[0],!0))&&t.pop()},_e=function(e){return e===`.`||e.toLowerCase()===`%2e`},ve=function(e){return e=e.toLowerCase(),e===`..`||e===`%2e.`||e===`.%2e`||e===`%2e%2e`},ye={},be={},xe={},Se={},Ce={},we={},Te={},Ee={},De={},Oe={},ke={},Ae={},je={},Me={},Ne={},Pe={},Fe={},Ie={},Le={},Re={},ze={},Be=function(e,t,n,r){var i=n||ye,a=0,o=``,s=!1,c=!1,l=!1,d,p,m,h;for(n||(e.scheme=``,e.username=``,e.password=``,e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(R,``)),t=t.replace(z,``),d=f(t);a<=d.length;){switch(p=d[a],i){case ye:if(p&&k.test(p))o+=p.toLowerCase(),i=be;else if(n)return E;else{i=xe;continue}break;case be:if(p&&(A.test(p)||p==`+`||p==`-`||p==`.`))o+=p.toLowerCase();else if(p==`:`){if(n&&(de(e)!=u(ue,o)||o==`file`&&(fe(e)||e.port!==null)||e.scheme==`file`&&!e.host))return;if(e.scheme=o,n){de(e)&&ue[e.scheme]==e.port&&(e.port=null);return}o=``,e.scheme==`file`?i=Me:de(e)&&r&&r.scheme==e.scheme?i=Se:de(e)?i=Ee:d[a+1]==`/`?(i=Ce,a++):(e.cannotBeABaseURL=!0,e.path.push(``),i=Le)}else if(n)return E;else{o=``,i=xe,a=0;continue}break;case xe:if(!r||r.cannotBeABaseURL&&p!=`#`)return E;if(r.cannotBeABaseURL&&p==`#`){e.scheme=r.scheme,e.path=r.path.slice(),e.query=r.query,e.fragment=``,e.cannotBeABaseURL=!0,i=ze;break}i=r.scheme==`file`?Me:we;continue;case Se:if(p==`/`&&d[a+1]==`/`)i=De,a++;else{i=we;continue}break;case Ce:if(p==`/`){i=Oe;break}else{i=Ie;continue}case we:if(e.scheme=r.scheme,p==B)e.username=r.username,e.password=r.password,e.host=r.host,e.port=r.port,e.path=r.path.slice(),e.query=r.query;else if(p==`/`||p==`\\`&&de(e))i=Te;else if(p==`?`)e.username=r.username,e.password=r.password,e.host=r.host,e.port=r.port,e.path=r.path.slice(),e.query=``,i=Re;else if(p==`#`)e.username=r.username,e.password=r.password,e.host=r.host,e.port=r.port,e.path=r.path.slice(),e.query=r.query,e.fragment=``,i=ze;else{e.username=r.username,e.password=r.password,e.host=r.host,e.port=r.port,e.path=r.path.slice(),e.path.pop(),i=Ie;continue}break;case Te:if(de(e)&&(p==`/`||p==`\\`))i=De;else if(p==`/`)i=Oe;else{e.username=r.username,e.password=r.password,e.host=r.host,e.port=r.port,i=Ie;continue}break;case Ee:if(i=De,p!=`/`||o.charAt(a+1)!=`/`)continue;a++;break;case De:if(p!=`/`&&p!=`\\`){i=Oe;continue}break;case Oe:if(p==`@`){s&&(o=`%40`+o),s=!0,m=f(o);for(var g=0;g<m.length;g++){var _=m[g];if(_==`:`&&!l){l=!0;continue}var v=le(_,ce);l?e.password+=v:e.username+=v}o=``}else if(p==B||p==`/`||p==`?`||p==`#`||p==`\\`&&de(e)){if(s&&o==``)return T;a-=f(o).length+1,o=``,i=ke}else o+=p;break;case ke:case Ae:if(n&&e.scheme==`file`){i=Pe;continue}else if(p==`:`&&!c){if(o==``)return D;if(h=ee(e,o),h)return h;if(o=``,i=je,n==Ae)return}else if(p==B||p==`/`||p==`?`||p==`#`||p==`\\`&&de(e)){if(de(e)&&o==``)return D;if(n&&o==``&&(fe(e)||e.port!==null))return;if(h=ee(e,o),h)return h;if(o=``,i=Fe,n)return;continue}else p==`[`?c=!0:p==`]`&&(c=!1),o+=p;break;case je:if(j.test(p))o+=p;else if(p==B||p==`/`||p==`?`||p==`#`||p==`\\`&&de(e)||n){if(o!=``){var y=parseInt(o,10);if(y>65535)return O;e.port=de(e)&&y===ue[e.scheme]?null:y,o=``}if(n)return;i=Fe;continue}else return O;break;case Me:if(e.scheme=`file`,p==`/`||p==`\\`)i=Ne;else if(r&&r.scheme==`file`)if(p==B)e.host=r.host,e.path=r.path.slice(),e.query=r.query;else if(p==`?`)e.host=r.host,e.path=r.path.slice(),e.query=``,i=Re;else if(p==`#`)e.host=r.host,e.path=r.path.slice(),e.query=r.query,e.fragment=``,i=ze;else{he(d.slice(a).join(``))||(e.host=r.host,e.path=r.path.slice(),ge(e)),i=Ie;continue}else{i=Ie;continue}break;case Ne:if(p==`/`||p==`\\`){i=Pe;break}r&&r.scheme==`file`&&!he(d.slice(a).join(``))&&(me(r.path[0],!0)?e.path.push(r.path[0]):e.host=r.host),i=Ie;continue;case Pe:if(p==B||p==`/`||p==`\\`||p==`?`||p==`#`){if(!n&&me(o))i=Ie;else if(o==``){if(e.host=``,n)return;i=Fe}else{if(h=ee(e,o),h)return h;if(e.host==`localhost`&&(e.host=``),n)return;o=``,i=Fe}continue}else o+=p;break;case Fe:if(de(e)){if(i=Ie,p!=`/`&&p!=`\\`)continue}else if(!n&&p==`?`)e.query=``,i=Re;else if(!n&&p==`#`)e.fragment=``,i=ze;else if(p!=B&&(i=Ie,p!=`/`))continue;break;case Ie:if(p==B||p==`/`||p==`\\`&&de(e)||!n&&(p==`?`||p==`#`)){if(ve(o)?(ge(e),p!=`/`&&!(p==`\\`&&de(e))&&e.path.push(``)):_e(o)?p!=`/`&&!(p==`\\`&&de(e))&&e.path.push(``):(e.scheme==`file`&&!e.path.length&&me(o)&&(e.host&&=``,o=o.charAt(0)+`:`),e.path.push(o)),o=``,e.scheme==`file`&&(p==B||p==`?`||p==`#`))for(;e.path.length>1&&e.path[0]===``;)e.path.shift();p==`?`?(e.query=``,i=Re):p==`#`&&(e.fragment=``,i=ze)}else o+=le(p,se);break;case Le:p==`?`?(e.query=``,i=Re):p==`#`?(e.fragment=``,i=ze):p!=B&&(e.path[0]+=le(p,ae));break;case Re:!n&&p==`#`?(e.fragment=``,i=ze):p!=B&&(p==`'`&&de(e)?e.query+=`%27`:p==`#`?e.query+=`%23`:e.query+=le(p,ae));break;case ze:p!=B&&(e.fragment+=le(p,oe));break}a++}},Ve=function(e){var t=l(this,Ve,`URL`),n=arguments.length>1?arguments[1]:void 0,r=String(e),a=x(t,{type:`URL`}),o,s;if(n!==void 0){if(n instanceof Ve)o=S(n);else if(s=Be(o={},String(n)),s)throw TypeError(s)}if(s=Be(a,r,null,o),s)throw TypeError(s);var c=a.searchParams=new y,u=b(c);u.updateSearchParams(a.query),u.updateURL=function(){a.query=String(c)||null},i||(t.href=Ue.call(t),t.origin=We.call(t),t.protocol=Ge.call(t),t.username=Ke.call(t),t.password=qe.call(t),t.host=Je.call(t),t.hostname=Ye.call(t),t.port=Xe.call(t),t.pathname=Ze.call(t),t.search=Qe.call(t),t.searchParams=$e.call(t),t.hash=et.call(t))},He=Ve.prototype,Ue=function(){var e=S(this),t=e.scheme,n=e.username,r=e.password,i=e.host,a=e.port,o=e.path,s=e.query,c=e.fragment,l=t+`:`;return i===null?t==`file`&&(l+=`//`):(l+=`//`,fe(e)&&(l+=n+(r?`:`+r:``)+`@`),l+=ie(i),a!==null&&(l+=`:`+a)),l+=e.cannotBeABaseURL?o[0]:o.length?`/`+o.join(`/`):``,s!==null&&(l+=`?`+s),c!==null&&(l+=`#`+c),l},We=function(){var e=S(this),t=e.scheme,n=e.port;if(t==`blob`)try{return new URL(t.path[0]).origin}catch{return`null`}return t==`file`||!de(e)?`null`:t+`://`+ie(e.host)+(n===null?``:`:`+n)},Ge=function(){return S(this).scheme+`:`},Ke=function(){return S(this).username},qe=function(){return S(this).password},Je=function(){var e=S(this),t=e.host,n=e.port;return t===null?``:n===null?ie(t):ie(t)+`:`+n},Ye=function(){var e=S(this).host;return e===null?``:ie(e)},Xe=function(){var e=S(this).port;return e===null?``:String(e)},Ze=function(){var e=S(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?`/`+t.join(`/`):``},Qe=function(){var e=S(this).query;return e?`?`+e:``},$e=function(){return S(this).searchParams},et=function(){var e=S(this).fragment;return e?`#`+e:``},tt=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&s(He,{href:tt(Ue,function(e){var t=S(this),n=Be(t,String(e));if(n)throw TypeError(n);b(t.searchParams).updateSearchParams(t.query)}),origin:tt(We),protocol:tt(Ge,function(e){Be(S(this),String(e)+`:`,ye)}),username:tt(Ke,function(e){var t=S(this),n=f(String(e));if(!pe(t)){t.username=``;for(var r=0;r<n.length;r++)t.username+=le(n[r],ce)}}),password:tt(qe,function(e){var t=S(this),n=f(String(e));if(!pe(t)){t.password=``;for(var r=0;r<n.length;r++)t.password+=le(n[r],ce)}}),host:tt(Je,function(e){var t=S(this);t.cannotBeABaseURL||Be(t,String(e),ke)}),hostname:tt(Ye,function(e){var t=S(this);t.cannotBeABaseURL||Be(t,String(e),Ae)}),port:tt(Xe,function(e){var t=S(this);pe(t)||(e=String(e),e==``?t.port=null:Be(t,e,je))}),pathname:tt(Ze,function(e){var t=S(this);t.cannotBeABaseURL||(t.path=[],Be(t,e+``,Fe))}),search:tt(Qe,function(e){var t=S(this);e=String(e),e==``?t.query=null:(e.charAt(0)==`?`&&(e=e.slice(1)),t.query=``,Be(t,e,Re)),b(t.searchParams).updateSearchParams(t.query)}),searchParams:tt($e),hash:tt(et,function(e){var t=S(this);if(e=String(e),e==``){t.fragment=null;return}e.charAt(0)==`#`&&(e=e.slice(1)),t.fragment=``,Be(t,e,ze)})}),c(He,`toJSON`,function(){return Ue.call(this)},{enumerable:!0}),c(He,`toString`,function(){return Ue.call(this)},{enumerable:!0}),v){var nt=v.createObjectURL,rt=v.revokeObjectURL;nt&&c(Ve,`createObjectURL`,function(e){return nt.apply(v,arguments)}),rt&&c(Ve,`revokeObjectURL`,function(e){return rt.apply(v,arguments)})}h(Ve,`URL`),r({global:!0,forced:!a,sham:!i},{URL:Ve})})},t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}(function(){n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}})(),(function(){n.g=(function(){if(typeof globalThis==`object`)return globalThis;try{return this||Function(`return this`)()}catch{if(typeof window==`object`)return window}})()})(),(function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}})(),(function(){n.r=function(e){typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,`__esModule`,{value:!0})}})();var r={};return(function(){n.r(r),n.d(r,{Dropzone:function(){return O},default:function(){return I}}),n(2222),n(7327),n(2772),n(6992),n(1249),n(7042),n(561),n(8264),n(8309),n(489),n(1539),n(4916),n(9714),n(8783),n(4723),n(5306),n(3123),n(3210),n(2472),n(2990),n(8927),n(3105),n(5035),n(4345),n(7174),n(2846),n(4731),n(7209),n(6319),n(8867),n(7789),n(3739),n(9368),n(4483),n(2056),n(3462),n(678),n(7462),n(3824),n(5021),n(2974),n(5016),n(4747),n(3948),n(285);function e(e,n){var r;if(typeof Symbol>`u`||e[Symbol.iterator]==null){if(Array.isArray(e)||(r=t(e))||n&&e&&typeof e.length==`number`){r&&(e=r);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
9
9
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,c;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,c=e},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(s)throw c}}}}function t(e,t){if(e){if(typeof e==`string`)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}}function i(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}var c=function(){function t(){a(this,t)}return s(t,[{key:`on`,value:function(e,t){return this._callbacks=this._callbacks||{},this._callbacks[e]||(this._callbacks[e]=[]),this._callbacks[e].push(t),this}},{key:`emit`,value:function(t){this._callbacks=this._callbacks||{};var n=this._callbacks[t],r=[...arguments].slice(1);if(n){var i=e(n,!0),a;try{for(i.s();!(a=i.n()).done;)a.value.apply(this,r)}catch(e){i.e(e)}finally{i.f()}}return this.element&&this.element.dispatchEvent(this.makeEvent(`dropzone:`+t,{args:r})),this}},{key:`makeEvent`,value:function(e,t){var n={bubbles:!0,cancelable:!0,detail:t};if(typeof window.CustomEvent==`function`)return new CustomEvent(e,n);var r=document.createEvent(`CustomEvent`);return r.initCustomEvent(e,n.bubbles,n.cancelable,n.detail),r}},{key:`off`,value:function(e,t){if(!this._callbacks||arguments.length===0)return this._callbacks={},this;var n=this._callbacks[e];if(!n)return this;if(arguments.length===1)return delete this._callbacks[e],this;for(var r=0;r<n.length;r++)if(n[r]===t){n.splice(r,1);break}return this}}]),t}(),l=`<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> `;function u(e,t){var n;if(typeof Symbol>`u`||e[Symbol.iterator]==null){if(Array.isArray(e)||(n=d(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
@@ -11,4 +11,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11
11
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,s;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){o=!0,s=e},f:function(){try{!a&&n.return!=null&&n.return()}finally{if(o)throw s}}}}function g(e,t){if(e){if(typeof e==`string`)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(e,t)}}function _(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function v(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function b(e,t,n){return t&&y(e.prototype,t),n&&y(e,n),e}function x(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S(e,t)}function S(e,t){return S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},S(e,t)}function C(e){var t=E();return function(){var n=D(e),r;if(t){var i=D(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return w(this,r)}}function w(e,t){return t&&(m(t)===`object`||typeof t==`function`)?t:T(e)}function T(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function E(){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 D(e){return D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},D(e)}var O=function(e){x(n,e);var t=C(n);function n(e,r){var i;v(this,n),i=t.call(this);var a;if(i.element=e,i.version=n.version,i.clickableElements=[],i.listeners=[],i.files=[],typeof i.element==`string`&&(i.element=document.querySelector(i.element)),!i.element||i.element.nodeType==null)throw Error(`Invalid dropzone element.`);if(i.element.dropzone)throw Error(`Dropzone already attached.`);n.instances.push(T(i)),i.element.dropzone=T(i);var o=n.optionsForElement(i.element)??{};if(i.options=n.extend({},p,o,r??{}),i.options.previewTemplate=i.options.previewTemplate.replace(/\n*/g,``),i.options.forceFallback||!n.isBrowserSupported())return w(i,i.options.fallback.call(T(i)));if(i.options.url??(i.options.url=i.element.getAttribute(`action`)),!i.options.url)throw Error(`No URL provided.`);if(i.options.acceptedFiles&&i.options.acceptedMimeTypes)throw Error(`You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.`);if(i.options.uploadMultiple&&i.options.chunking)throw Error(`You cannot set both: uploadMultiple and chunking.`);return i.options.acceptedMimeTypes&&(i.options.acceptedFiles=i.options.acceptedMimeTypes,delete i.options.acceptedMimeTypes),i.options.renameFilename!=null&&(i.options.renameFile=function(e){return i.options.renameFilename.call(T(i),e.name,e)}),typeof i.options.method==`string`&&(i.options.method=i.options.method.toUpperCase()),(a=i.getExistingFallback())&&a.parentNode&&a.parentNode.removeChild(a),i.options.previewsContainer!==!1&&(i.options.previewsContainer?i.previewsContainer=n.getElement(i.options.previewsContainer,`previewsContainer`):i.previewsContainer=i.element),i.options.clickable&&(i.options.clickable===!0?i.clickableElements=[i.element]:i.clickableElements=n.getElements(i.options.clickable,`clickable`)),i.init(),i}return b(n,[{key:`getAcceptedFiles`,value:function(){return this.files.filter(function(e){return e.accepted}).map(function(e){return e})}},{key:`getRejectedFiles`,value:function(){return this.files.filter(function(e){return!e.accepted}).map(function(e){return e})}},{key:`getFilesWithStatus`,value:function(e){return this.files.filter(function(t){return t.status===e}).map(function(e){return e})}},{key:`getQueuedFiles`,value:function(){return this.getFilesWithStatus(n.QUEUED)}},{key:`getUploadingFiles`,value:function(){return this.getFilesWithStatus(n.UPLOADING)}},{key:`getAddedFiles`,value:function(){return this.getFilesWithStatus(n.ADDED)}},{key:`getActiveFiles`,value:function(){return this.files.filter(function(e){return e.status===n.UPLOADING||e.status===n.QUEUED}).map(function(e){return e})}},{key:`init`,value:function(){var e=this;this.element.tagName===`form`&&this.element.setAttribute(`enctype`,`multipart/form-data`),this.element.classList.contains(`dropzone`)&&!this.element.querySelector(`.dz-message`)&&this.element.appendChild(n.createElement(`<div class="dz-default dz-message"><button class="dz-button" type="button">${this.options.dictDefaultMessage}</button></div>`)),this.clickableElements.length&&(function t(){e.hiddenFileInput&&e.hiddenFileInput.parentNode.removeChild(e.hiddenFileInput),e.hiddenFileInput=document.createElement(`input`),e.hiddenFileInput.setAttribute(`type`,`file`),(e.options.maxFiles===null||e.options.maxFiles>1)&&e.hiddenFileInput.setAttribute(`multiple`,`multiple`),e.hiddenFileInput.className=`dz-hidden-input`,e.options.acceptedFiles!==null&&e.hiddenFileInput.setAttribute(`accept`,e.options.acceptedFiles),e.options.capture!==null&&e.hiddenFileInput.setAttribute(`capture`,e.options.capture),e.hiddenFileInput.setAttribute(`tabindex`,`-1`),e.hiddenFileInput.style.visibility=`hidden`,e.hiddenFileInput.style.position=`absolute`,e.hiddenFileInput.style.top=`0`,e.hiddenFileInput.style.left=`0`,e.hiddenFileInput.style.height=`0`,e.hiddenFileInput.style.width=`0`,n.getElement(e.options.hiddenInputContainer,`hiddenInputContainer`).appendChild(e.hiddenFileInput),e.hiddenFileInput.addEventListener(`change`,function(){var n=e.hiddenFileInput.files;if(n.length){var r=h(n,!0),i;try{for(r.s();!(i=r.n()).done;){var a=i.value;e.addFile(a)}}catch(e){r.e(e)}finally{r.f()}}e.emit(`addedfiles`,n),t()})})(),this.URL=window.URL===null?window.webkitURL:window.URL;var t=h(this.events,!0),r;try{for(t.s();!(r=t.n()).done;){var i=r.value;this.on(i,this.options[i])}}catch(e){t.e(e)}finally{t.f()}this.on(`uploadprogress`,function(){return e.updateTotalUploadProgress()}),this.on(`removedfile`,function(){return e.updateTotalUploadProgress()}),this.on(`canceled`,function(t){return e.emit(`complete`,t)}),this.on(`complete`,function(t){if(e.getAddedFiles().length===0&&e.getUploadingFiles().length===0&&e.getQueuedFiles().length===0)return setTimeout(function(){return e.emit(`queuecomplete`)},0)});var a=function(e){if(e.dataTransfer.types){for(var t=0;t<e.dataTransfer.types.length;t++)if(e.dataTransfer.types[t]===`Files`)return!0}return!1},o=function(e){if(a(e))return e.stopPropagation(),e.preventDefault?e.preventDefault():e.returnValue=!1};return this.listeners=[{element:this.element,events:{dragstart:function(t){return e.emit(`dragstart`,t)},dragenter:function(t){return o(t),e.emit(`dragenter`,t)},dragover:function(t){var n;try{n=t.dataTransfer.effectAllowed}catch{}return t.dataTransfer.dropEffect=n===`move`||n===`linkMove`?`move`:`copy`,o(t),e.emit(`dragover`,t)},dragleave:function(t){return e.emit(`dragleave`,t)},drop:function(t){return o(t),e.drop(t)},dragend:function(t){return e.emit(`dragend`,t)}}}],this.clickableElements.forEach(function(t){return e.listeners.push({element:t,events:{click:function(r){return(t!==e.element||r.target===e.element||n.elementInside(r.target,e.element.querySelector(`.dz-message`)))&&e.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,n.instances.splice(n.instances.indexOf(this),1)}},{key:`updateTotalUploadProgress`,value:function(){var e,t=0,n=0;if(this.getActiveFiles().length){var r=h(this.getActiveFiles(),!0),i;try{for(r.s();!(i=r.n()).done;){var a=i.value;t+=a.upload.bytesSent,n+=a.upload.total}}catch(e){r.e(e)}finally{r.f()}e=100*t/n}else e=100;return this.emit(`totaluploadprogress`,e,n,t)}},{key:`_getParamName`,value:function(e){return typeof this.options.paramName==`function`?this.options.paramName(e):`${this.options.paramName}${this.options.uploadMultiple?`[${e}]`:``}`}},{key:`_renameFile`,value:function(e){return typeof this.options.renameFile==`function`?this.options.renameFile(e):e.name}},{key:`getFallbackForm`,value:function(){var e,t;if(e=this.getExistingFallback())return e;var r=`<div class="dz-fallback">`;this.options.dictFallbackText&&(r+=`<p>${this.options.dictFallbackText}</p>`),r+=`<input type="file" name="${this._getParamName(0)}" ${this.options.uploadMultiple?`multiple="multiple"`:void 0} /><input type="submit" value="Upload!"></div>`;var i=n.createElement(r);return this.element.tagName===`FORM`?(this.element.setAttribute(`enctype`,`multipart/form-data`),this.element.setAttribute(`method`,this.options.method)):(t=n.createElement(`<form action="${this.options.url}" enctype="multipart/form-data" method="${this.options.method}"></form>`),t.appendChild(i)),t??i}},{key:`getExistingFallback`,value:function(){for(var e=function(e){var t=h(e,!0),n;try{for(t.s();!(n=t.n()).done;){var r=n.value;if(/(^| )fallback($| )/.test(r.className))return r}}catch(e){t.e(e)}finally{t.f()}},t=0,n=[`div`,`form`];t<n.length;t++){var r=n[t],i;if(i=e(this.element.getElementsByTagName(r)))return i}}},{key:`setupEventListeners`,value:function(){return this.listeners.map(function(e){return function(){var t=[];for(var n in e.events){var r=e.events[n];t.push(e.element.addEventListener(n,r,!1))}return t}()})}},{key:`removeEventListeners`,value:function(){return this.listeners.map(function(e){return function(){var t=[];for(var n in e.events){var r=e.events[n];t.push(e.element.removeEventListener(n,r,!1))}return t}()})}},{key:`disable`,value:function(){var e=this;return this.clickableElements.forEach(function(e){return e.classList.remove(`dz-clickable`)}),this.removeEventListeners(),this.disabled=!0,this.files.map(function(t){return e.cancelUpload(t)})}},{key:`enable`,value:function(){return delete this.disabled,this.clickableElements.forEach(function(e){return e.classList.add(`dz-clickable`)}),this.setupEventListeners()}},{key:`filesize`,value:function(e){var t=0,n=`b`;if(e>0){for(var r=[`tb`,`gb`,`mb`,`kb`,`b`],i=0;i<r.length;i++){var a=r[i];if(e>=this.options.filesizeBase**(4-i)/10){t=e/this.options.filesizeBase**(4-i),n=a;break}}t=Math.round(10*t)/10}return`<strong>${t}</strong> ${this.options.dictFileSizeUnits[n]}`}},{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(e){if(e.dataTransfer){this.emit(`drop`,e);for(var t=[],n=0;n<e.dataTransfer.files.length;n++)t[n]=e.dataTransfer.files[n];if(t.length){var r=e.dataTransfer.items;r&&r.length&&r[0].webkitGetAsEntry!=null?this._addFilesFromItems(r):this.handleFiles(t)}this.emit(`addedfiles`,t)}}},{key:`paste`,value:function(e){if(P(e?.clipboardData,function(e){return e.items})!=null){this.emit(`paste`,e);var t=e.clipboardData.items;if(t.length)return this._addFilesFromItems(t)}}},{key:`handleFiles`,value:function(e){var t=h(e,!0),n;try{for(t.s();!(n=t.n()).done;){var r=n.value;this.addFile(r)}}catch(e){t.e(e)}finally{t.f()}}},{key:`_addFilesFromItems`,value:function(e){var t=this;return function(){var n=[],r=h(e,!0),i;try{for(r.s();!(i=r.n()).done;){var a=i.value,o;a.webkitGetAsEntry!=null&&(o=a.webkitGetAsEntry())?o.isFile?n.push(t.addFile(a.getAsFile())):o.isDirectory?n.push(t._addFilesFromDirectory(o,o.name)):n.push(void 0):a.getAsFile==null?n.push(void 0):a.kind==null||a.kind===`file`?n.push(t.addFile(a.getAsFile())):n.push(void 0)}}catch(e){r.e(e)}finally{r.f()}return n}()}},{key:`_addFilesFromDirectory`,value:function(e,t){var n=this,r=e.createReader(),i=function(e){return F(console,`log`,function(t){return t.log(e)})};return function e(){return r.readEntries(function(r){if(r.length>0){var i=h(r,!0),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;o.isFile?o.file(function(e){if(!(n.options.ignoreHiddenFiles&&e.name.substring(0,1)===`.`))return e.fullPath=`${t}/${e.name}`,n.addFile(e)}):o.isDirectory&&n._addFilesFromDirectory(o,`${t}/${o.name}`)}}catch(e){i.e(e)}finally{i.f()}e()}return null},i)}()}},{key:`accept`,value:function(e,t){this.options.maxFilesize&&e.size>this.options.maxFilesize*1024*1024?t(this.options.dictFileTooBig.replace(`{{filesize}}`,Math.round(e.size/1024/10.24)/100).replace(`{{maxFilesize}}`,this.options.maxFilesize)):n.isValidFile(e,this.options.acceptedFiles)?this.options.maxFiles!=null&&this.getAcceptedFiles().length>=this.options.maxFiles?(t(this.options.dictMaxFilesExceeded.replace(`{{maxFiles}}`,this.options.maxFiles)),this.emit(`maxfilesexceeded`,e)):this.options.accept.call(this,e,t):t(this.options.dictInvalidFileType)}},{key:`addFile`,value:function(e){var t=this;e.upload={uuid:n.uuidv4(),progress:0,total:e.size,bytesSent:0,filename:this._renameFile(e)},this.files.push(e),e.status=n.ADDED,this.emit(`addedfile`,e),this._enqueueThumbnail(e),this.accept(e,function(n){n?(e.accepted=!1,t._errorProcessing([e],n)):(e.accepted=!0,t.options.autoQueue&&t.enqueueFile(e)),t._updateMaxFilesReachedClass()})}},{key:`enqueueFiles`,value:function(e){var t=h(e,!0),n;try{for(t.s();!(n=t.n()).done;){var r=n.value;this.enqueueFile(r)}}catch(e){t.e(e)}finally{t.f()}return null}},{key:`enqueueFile`,value:function(e){var t=this;if(e.status===n.ADDED&&e.accepted===!0){if(e.status=n.QUEUED,this.options.autoProcessQueue)return setTimeout(function(){return t.processQueue()},0)}else throw Error(`This file can't be queued because it has already been processed or was rejected.`)}},{key:`_enqueueThumbnail`,value:function(e){var t=this;if(this.options.createImageThumbnails&&e.type.match(/image.*/)&&e.size<=this.options.maxThumbnailFilesize*1024*1024)return this._thumbnailQueue.push(e),setTimeout(function(){return t._processThumbnailQueue()},0)}},{key:`_processThumbnailQueue`,value:function(){var e=this;if(!(this._processingThumbnail||this._thumbnailQueue.length===0)){this._processingThumbnail=!0;var t=this._thumbnailQueue.shift();return this.createThumbnail(t,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,function(n){return e.emit(`thumbnail`,t,n),e._processingThumbnail=!1,e._processThumbnailQueue()})}}},{key:`removeFile`,value:function(e){if(e.status===n.UPLOADING&&this.cancelUpload(e),this.files=k(this.files,e),this.emit(`removedfile`,e),this.files.length===0)return this.emit(`reset`)}},{key:`removeAllFiles`,value:function(e){e??=!1;var t=h(this.files.slice(),!0),r;try{for(t.s();!(r=t.n()).done;){var i=r.value;(i.status!==n.UPLOADING||e)&&this.removeFile(i)}}catch(e){t.e(e)}finally{t.f()}return null}},{key:`resizeImage`,value:function(e,t,r,i,a){var o=this;return this.createThumbnail(e,t,r,i,!0,function(t,r){if(r==null)return a(e);var i=o.options.resizeMimeType;i??=e.type;var s=r.toDataURL(i,o.options.resizeQuality);return(i===`image/jpeg`||i===`image/jpg`)&&(s=N.restore(e.dataURL,s)),a(n.dataURItoBlob(s))})}},{key:`createThumbnail`,value:function(e,t,n,r,i,a){var o=this,s=new FileReader;s.onload=function(){if(e.dataURL=s.result,e.type===`image/svg+xml`){a?.(s.result);return}o.createThumbnailFromUrl(e,t,n,r,i,a)},s.readAsDataURL(e)}},{key:`displayExistingFile`,value:function(e,t,n,r){var i=this,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0;this.emit(`addedfile`,e),this.emit(`complete`,e),a?(e.dataURL=t,this.createThumbnailFromUrl(e,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,this.options.fixOrientation,function(t){i.emit(`thumbnail`,e,t),n&&n()},r)):(this.emit(`thumbnail`,e,t),n&&n())}},{key:`createThumbnailFromUrl`,value:function(e,t,n,r,i,a,o){var s=this,c=document.createElement(`img`);return o&&(c.crossOrigin=o),i=getComputedStyle(document.body).imageOrientation==`from-image`?!1:i,c.onload=function(){var o=function(e){return e(1)};return typeof EXIF<`u`&&EXIF!==null&&i&&(o=function(e){return EXIF.getData(c,function(){return e(EXIF.getTag(this,`Orientation`))})}),o(function(i){e.width=c.width,e.height=c.height;var o=s.options.resize.call(s,e,t,n,r),l=document.createElement(`canvas`),u=l.getContext(`2d`);switch(l.width=o.trgWidth,l.height=o.trgHeight,i>4&&(l.width=o.trgHeight,l.height=o.trgWidth),i){case 2:u.translate(l.width,0),u.scale(-1,1);break;case 3:u.translate(l.width,l.height),u.rotate(Math.PI);break;case 4:u.translate(0,l.height),u.scale(1,-1);break;case 5:u.rotate(.5*Math.PI),u.scale(1,-1);break;case 6:u.rotate(.5*Math.PI),u.translate(0,-l.width);break;case 7:u.rotate(.5*Math.PI),u.translate(l.height,-l.width),u.scale(-1,1);break;case 8:u.rotate(-.5*Math.PI),u.translate(-l.height,0);break}M(u,c,o.srcX==null?0:o.srcX,o.srcY==null?0:o.srcY,o.srcWidth,o.srcHeight,o.trgX==null?0:o.trgX,o.trgY==null?0:o.trgY,o.trgWidth,o.trgHeight);var d=l.toDataURL(`image/png`);if(a!=null)return a(d,l)})},a!=null&&(c.onerror=a),c.src=e.dataURL}},{key:`processQueue`,value:function(){var e=this.options.parallelUploads,t=this.getUploadingFiles().length,n=t;if(!(t>=e)){var r=this.getQueuedFiles();if(r.length>0){if(this.options.uploadMultiple)return this.processFiles(r.slice(0,e-t));for(;n<e;){if(!r.length)return;this.processFile(r.shift()),n++}}}}},{key:`processFile`,value:function(e){return this.processFiles([e])}},{key:`processFiles`,value:function(e){var t=h(e,!0),r;try{for(t.s();!(r=t.n()).done;){var i=r.value;i.processing=!0,i.status=n.UPLOADING,this.emit(`processing`,i)}}catch(e){t.e(e)}finally{t.f()}return this.options.uploadMultiple&&this.emit(`processingmultiple`,e),this.uploadFiles(e)}},{key:`_getFilesWithXhr`,value:function(e){return this.files.filter(function(t){return t.xhr===e}).map(function(e){return e})}},{key:`cancelUpload`,value:function(e){if(e.status===n.UPLOADING){var t=this._getFilesWithXhr(e.xhr),r=h(t,!0),i;try{for(r.s();!(i=r.n()).done;){var a=i.value;a.status=n.CANCELED}}catch(e){r.e(e)}finally{r.f()}e.xhr!==void 0&&e.xhr.abort();var o=h(t,!0),s;try{for(o.s();!(s=o.n()).done;){var c=s.value;this.emit(`canceled`,c)}}catch(e){o.e(e)}finally{o.f()}this.options.uploadMultiple&&this.emit(`canceledmultiple`,t)}else (e.status===n.ADDED||e.status===n.QUEUED)&&(e.status=n.CANCELED,this.emit(`canceled`,e),this.options.uploadMultiple&&this.emit(`canceledmultiple`,[e]));if(this.options.autoProcessQueue)return this.processQueue()}},{key:`resolveOption`,value:function(e){if(typeof e==`function`){var t=[...arguments].slice(1);return e.apply(this,t)}return e}},{key:`uploadFile`,value:function(e){return this.uploadFiles([e])}},{key:`uploadFiles`,value:function(e){var t=this;this._transformFiles(e,function(r){if(t.options.chunking){var i=r[0];e[0].upload.chunked=t.options.chunking&&(t.options.forceChunking||i.size>t.options.chunkSize),e[0].upload.totalChunkCount=Math.ceil(i.size/t.options.chunkSize)}if(e[0].upload.chunked){var a=e[0],o=r[0],s=0;a.upload.chunks=[];var c=function(){for(var r=0;a.upload.chunks[r]!==void 0;)r++;if(!(r>=a.upload.totalChunkCount)){s++;var i=r*t.options.chunkSize,c=Math.min(i+t.options.chunkSize,o.size),l={name:t._getParamName(0),data:o.webkitSlice?o.webkitSlice(i,c):o.slice(i,c),filename:a.upload.filename,chunkIndex:r};a.upload.chunks[r]={file:a,index:r,dataBlock:l,status:n.UPLOADING,progress:0,retries:0},t._uploadData(e,[l])}};if(a.upload.finishedChunkUpload=function(r,i){var o=!0;r.status=n.SUCCESS,r.dataBlock=null,r.xhr=null;for(var s=0;s<a.upload.totalChunkCount;s++){if(a.upload.chunks[s]===void 0)return c();a.upload.chunks[s].status!==n.SUCCESS&&(o=!1)}o&&t.options.chunksUploaded(a,function(){t._finished(e,i,null)})},t.options.parallelChunkUploads)for(var l=0;l<a.upload.totalChunkCount;l++)c();else c()}else{for(var u=[],d=0;d<e.length;d++)u[d]={name:t._getParamName(d),data:r[d],filename:e[d].upload.filename};t._uploadData(e,u)}})}},{key:`_getChunk`,value:function(e,t){for(var n=0;n<e.upload.totalChunkCount;n++)if(e.upload.chunks[n]!==void 0&&e.upload.chunks[n].xhr===t)return e.upload.chunks[n]}},{key:`_uploadData`,value:function(e,t){var r=this,i=new XMLHttpRequest,a=h(e,!0),o;try{for(a.s();!(o=a.n()).done;){var s=o.value;s.xhr=i}}catch(e){a.e(e)}finally{a.f()}e[0].upload.chunked&&(e[0].upload.chunks[t[0].chunkIndex].xhr=i);var c=this.resolveOption(this.options.method,e),l=this.resolveOption(this.options.url,e);i.open(c,l,!0),this.resolveOption(this.options.timeout,e)&&(i.timeout=this.resolveOption(this.options.timeout,e)),i.withCredentials=!!this.options.withCredentials,i.onload=function(t){r._finishedUploading(e,i,t)},i.ontimeout=function(){r._handleUploadError(e,i,`Request timedout after ${r.options.timeout/1e3} seconds`)},i.onerror=function(){r._handleUploadError(e,i)};var u=i.upload==null?i:i.upload;u.onprogress=function(t){return r._updateFilesUploadProgress(e,i,t)};var d={Accept:`application/json`,"Cache-Control":`no-cache`,"X-Requested-With":`XMLHttpRequest`};for(var f in this.options.headers&&n.extend(d,this.options.headers),d){var p=d[f];p&&i.setRequestHeader(f,p)}var m=new FormData;if(this.options.params){var g=this.options.params;for(var _ in typeof g==`function`&&(g=g.call(this,e,i,e[0].upload.chunked?this._getChunk(e[0],i):null)),g){var v=g[_];if(Array.isArray(v))for(var y=0;y<v.length;y++)m.append(_,v[y]);else m.append(_,v)}}var b=h(e,!0),x;try{for(b.s();!(x=b.n()).done;){var S=x.value;this.emit(`sending`,S,i,m)}}catch(e){b.e(e)}finally{b.f()}this.options.uploadMultiple&&this.emit(`sendingmultiple`,e,i,m),this._addFormElementData(m);for(var C=0;C<t.length;C++){var w=t[C];m.append(w.name,w.data,w.filename)}this.submitRequest(i,m,e)}},{key:`_transformFiles`,value:function(e,t){for(var n=this,r=[],i=0,a=function(a){n.options.transformFile.call(n,e[a],function(n){r[a]=n,++i===e.length&&t(r)})},o=0;o<e.length;o++)a(o)}},{key:`_addFormElementData`,value:function(e){if(this.element.tagName===`FORM`){var t=h(this.element.querySelectorAll(`input, textarea, select, button`),!0),n;try{for(t.s();!(n=t.n()).done;){var r=n.value,i=r.getAttribute(`name`),a=r.getAttribute(`type`);if(a&&=a.toLowerCase(),i!=null)if(r.tagName===`SELECT`&&r.hasAttribute(`multiple`)){var o=h(r.options,!0),s;try{for(o.s();!(s=o.n()).done;){var c=s.value;c.selected&&e.append(i,c.value)}}catch(e){o.e(e)}finally{o.f()}}else (!a||a!==`checkbox`&&a!==`radio`||r.checked)&&e.append(i,r.value)}}catch(e){t.e(e)}finally{t.f()}}}},{key:`_updateFilesUploadProgress`,value:function(e,t,n){if(e[0].upload.chunked){var r=e[0],i=this._getChunk(r,t);n?(i.progress=100*n.loaded/n.total,i.total=n.total,i.bytesSent=n.loaded):(i.progress=100,i.bytesSent=i.total),r.upload.progress=0,r.upload.total=0,r.upload.bytesSent=0;for(var a=0;a<r.upload.totalChunkCount;a++)r.upload.chunks[a]&&r.upload.chunks[a].progress!==void 0&&(r.upload.progress+=r.upload.chunks[a].progress,r.upload.total+=r.upload.chunks[a].total,r.upload.bytesSent+=r.upload.chunks[a].bytesSent);r.upload.progress=r.upload.progress/r.upload.totalChunkCount,this.emit(`uploadprogress`,r,r.upload.progress,r.upload.bytesSent)}else{var o=h(e,!0),s;try{for(o.s();!(s=o.n()).done;){var c=s.value;c.upload.total&&c.upload.bytesSent&&c.upload.bytesSent==c.upload.total||(n?(c.upload.progress=100*n.loaded/n.total,c.upload.total=n.total,c.upload.bytesSent=n.loaded):(c.upload.progress=100,c.upload.bytesSent=c.upload.total),this.emit(`uploadprogress`,c,c.upload.progress,c.upload.bytesSent))}}catch(e){o.e(e)}finally{o.f()}}}},{key:`_finishedUploading`,value:function(e,t,r){var i;if(e[0].status!==n.CANCELED&&t.readyState===4){if(t.responseType!==`arraybuffer`&&t.responseType!==`blob`&&(i=t.responseText,t.getResponseHeader(`content-type`)&&~t.getResponseHeader(`content-type`).indexOf(`application/json`)))try{i=JSON.parse(i)}catch(e){r=e,i=`Invalid JSON response from server.`}this._updateFilesUploadProgress(e,t),200<=t.status&&t.status<300?e[0].upload.chunked?e[0].upload.finishedChunkUpload(this._getChunk(e[0],t),i):this._finished(e,i,r):this._handleUploadError(e,t,i)}}},{key:`_handleUploadError`,value:function(e,t,r){if(e[0].status!==n.CANCELED){if(e[0].upload.chunked&&this.options.retryChunks){var i=this._getChunk(e[0],t);if(i.retries++<this.options.retryChunksLimit){this._uploadData(e,[i.dataBlock]);return}else console.warn(`Retried this chunk too often. Giving up.`)}this._errorProcessing(e,r||this.options.dictResponseError.replace(`{{statusCode}}`,t.status),t)}}},{key:`submitRequest`,value:function(e,t,n){if(e.readyState!=1){console.warn(`Cannot send this request because the XMLHttpRequest.readyState is not OPENED.`);return}e.send(t)}},{key:`_finished`,value:function(e,t,r){var i=h(e,!0),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;o.status=n.SUCCESS,this.emit(`success`,o,t,r),this.emit(`complete`,o)}}catch(e){i.e(e)}finally{i.f()}if(this.options.uploadMultiple&&(this.emit(`successmultiple`,e,t,r),this.emit(`completemultiple`,e)),this.options.autoProcessQueue)return this.processQueue()}},{key:`_errorProcessing`,value:function(e,t,r){var i=h(e,!0),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;o.status=n.ERROR,this.emit(`error`,o,t,r),this.emit(`complete`,o)}}catch(e){i.e(e)}finally{i.f()}if(this.options.uploadMultiple&&(this.emit(`errormultiple`,e,t,r),this.emit(`completemultiple`,e)),this.options.autoProcessQueue)return this.processQueue()}}],[{key:`initClass`,value:function(){this.prototype.Emitter=c,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`.split(`.`),this.prototype._thumbnailQueue=[],this.prototype._processingThumbnail=!1}},{key:`extend`,value:function(e){for(var t=[...arguments].slice(1),n=0,r=t;n<r.length;n++){var i=r[n];for(var a in i)e[a]=i[a]}return e}},{key:`uuidv4`,value:function(){return`xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx`.replace(/[xy]/g,function(e){var t=Math.random()*16|0;return(e===`x`?t:t&3|8).toString(16)})}}]),n}(c);O.initClass(),O.version=`5.9.3`,O.options={},O.optionsForElement=function(e){if(e.getAttribute(`id`))return O.options[A(e.getAttribute(`id`))]},O.instances=[],O.forElement=function(e){if(typeof e==`string`&&(e=document.querySelector(e)),e?.dropzone==null)throw 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 e.dropzone},O.autoDiscover=!0,O.discover=function(){var e;if(document.querySelectorAll)e=document.querySelectorAll(`.dropzone`);else{e=[];var t=function(t){return function(){var n=[],r=h(t,!0),i;try{for(r.s();!(i=r.n()).done;){var a=i.value;/(^| )dropzone($| )/.test(a.className)?n.push(e.push(a)):n.push(void 0)}}catch(e){r.e(e)}finally{r.f()}return n}()};t(document.getElementsByTagName(`div`)),t(document.getElementsByTagName(`form`))}return function(){var t=[],n=h(e,!0),r;try{for(n.s();!(r=n.n()).done;){var i=r.value;O.optionsForElement(i)===!1?t.push(void 0):t.push(new O(i))}}catch(e){n.e(e)}finally{n.f()}return t}()},O.blockedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i],O.isBrowserSupported=function(){var e=!0;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if(!(`classList`in document.createElement(`a`)))e=!1;else{O.blacklistedBrowsers!==void 0&&(O.blockedBrowsers=O.blacklistedBrowsers);var t=h(O.blockedBrowsers,!0),n;try{for(t.s();!(n=t.n()).done;)if(n.value.test(navigator.userAgent)){e=!1;continue}}catch(e){t.e(e)}finally{t.f()}}else e=!1;return e},O.dataURItoBlob=function(e){for(var t=atob(e.split(`,`)[1]),n=e.split(`,`)[0].split(`:`)[1].split(`;`)[0],r=new ArrayBuffer(t.length),i=new Uint8Array(r),a=0,o=t.length,s=0<=o;s?a<=o:a>=o;s?a++:a--)i[a]=t.charCodeAt(a);return new Blob([r],{type:n})};var k=function(e,t){return e.filter(function(e){return e!==t}).map(function(e){return e})},A=function(e){return e.replace(/[\-_](\w)/g,function(e){return e.charAt(1).toUpperCase()})};O.createElement=function(e){var t=document.createElement(`div`);return t.innerHTML=e,t.childNodes[0]},O.elementInside=function(e,t){if(e===t)return!0;for(;e=e.parentNode;)if(e===t)return!0;return!1},O.getElement=function(e,t){var n;if(typeof e==`string`?n=document.querySelector(e):e.nodeType!=null&&(n=e),n==null)throw Error(`Invalid \`${t}\` option provided. Please provide a CSS selector or a plain HTML element.`);return n},O.getElements=function(e,t){var n,r;if(e instanceof Array){r=[];try{var i=h(e,!0),a;try{for(i.s();!(a=i.n()).done;)n=a.value,r.push(this.getElement(n,t))}catch(e){i.e(e)}finally{i.f()}}catch{r=null}}else if(typeof e==`string`){r=[];var o=h(document.querySelectorAll(e),!0),s;try{for(o.s();!(s=o.n()).done;)n=s.value,r.push(n)}catch(e){o.e(e)}finally{o.f()}}else e.nodeType!=null&&(r=[e]);if(r==null||!r.length)throw Error(`Invalid \`${t}\` option provided. Please provide a CSS selector, a plain HTML element or a list of those.`);return r},O.confirm=function(e,t,n){if(window.confirm(e))return t();if(n!=null)return n()},O.isValidFile=function(e,t){if(!t)return!0;t=t.split(`,`);var n=e.type,r=n.replace(/\/.*$/,``),i=h(t,!0),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;if(o=o.trim(),o.charAt(0)===`.`){if(e.name.toLowerCase().indexOf(o.toLowerCase(),e.name.length-o.length)!==-1)return!0}else if(/\/\*$/.test(o)){if(r===o.replace(/\/.*$/,``))return!0}else if(n===o)return!0}}catch(e){i.e(e)}finally{i.f()}return!1},typeof jQuery<`u`&&jQuery!==null&&(jQuery.fn.dropzone=function(e){return this.each(function(){return new O(this,e)})}),O.ADDED=`added`,O.QUEUED=`queued`,O.ACCEPTED=O.QUEUED,O.UPLOADING=`uploading`,O.PROCESSING=O.UPLOADING,O.CANCELED=`canceled`,O.ERROR=`error`,O.SUCCESS=`success`;var j=function(e){e.naturalWidth;var t=e.naturalHeight,n=document.createElement(`canvas`);n.width=1,n.height=t;var r=n.getContext(`2d`);r.drawImage(e,0,0);for(var i=r.getImageData(1,0,1,t).data,a=0,o=t,s=t;s>a;)i[(s-1)*4+3]===0?o=s:a=s,s=o+a>>1;var c=s/t;return c===0?1:c},M=function(e,t,n,r,i,a,o,s,c,l){var u=j(t);return e.drawImage(t,n,r,i,a,o,s,c,l/u)},N=function(){function e(){v(this,e)}return b(e,null,[{key:`initClass`,value:function(){this.KEY_STR=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=`}},{key:`encode64`,value:function(e){for(var t=``,n=void 0,r=void 0,i=``,a=void 0,o=void 0,s=void 0,c=``,l=0;n=e[l++],r=e[l++],i=e[l++],a=n>>2,o=(n&3)<<4|r>>4,s=(r&15)<<2|i>>6,c=i&63,isNaN(r)?s=c=64:isNaN(i)&&(c=64),t=t+this.KEY_STR.charAt(a)+this.KEY_STR.charAt(o)+this.KEY_STR.charAt(s)+this.KEY_STR.charAt(c),n=r=i=``,a=o=s=c=``,l<e.length;);return t}},{key:`restore`,value:function(e,t){if(!e.match(`data:image/jpeg;base64,`))return t;var n=this.decode64(e.replace(`data:image/jpeg;base64,`,``)),r=this.slice2Segments(n),i=this.exifManipulation(t,r);return`data:image/jpeg;base64,${this.encode64(i)}`}},{key:`exifManipulation`,value:function(e,t){var n=this.getExifArray(t),r=this.insertExif(e,n);return new Uint8Array(r)}},{key:`getExifArray`,value:function(e){for(var t=void 0,n=0;n<e.length;){if(t=e[n],t[0]===255&t[1]===225)return t;n++}return[]}},{key:`insertExif`,value:function(e,t){var n=e.replace(`data:image/jpeg;base64,`,``),r=this.decode64(n),i=r.indexOf(255,3),a=r.slice(0,i),o=r.slice(i),s=a;return s=s.concat(t),s=s.concat(o),s}},{key:`slice2Segments`,value:function(e){for(var t=0,n=[];;){var r;if(e[t]===255&e[t+1]===218)break;if(e[t]===255&e[t+1]===216)t+=2;else{r=e[t+2]*256+e[t+3];var i=t+r+2,a=e.slice(t,i);n.push(a),t=i}if(t>e.length)break}return n}},{key:`decode64`,value:function(e){var t=void 0,n=void 0,r=``,i=void 0,a=void 0,o=void 0,s=``,c=0,l=[];for(/[^A-Za-z0-9\+\/\=]/g.exec(e)&&console.warn(`There were invalid base64 characters in the input text.
12
12
  Valid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='
13
13
  Expect errors in decoding.`),e=e.replace(/[^A-Za-z0-9\+\/\=]/g,``);i=this.KEY_STR.indexOf(e.charAt(c++)),a=this.KEY_STR.indexOf(e.charAt(c++)),o=this.KEY_STR.indexOf(e.charAt(c++)),s=this.KEY_STR.indexOf(e.charAt(c++)),t=i<<2|a>>4,n=(a&15)<<4|o>>2,r=(o&3)<<6|s,l.push(t),o!==64&&l.push(n),s!==64&&l.push(r),t=n=r=``,i=a=o=s=``,c<e.length;);return l}}]),e}();N.initClass(),O._autoDiscoverFunction=function(){if(O.autoDiscover)return O.discover()},function(e,t){var n=!1,r=!0,i=e.document,a=i.documentElement,o=i.addEventListener?`addEventListener`:`attachEvent`,s=i.addEventListener?`removeEventListener`:`detachEvent`,c=i.addEventListener?``:`on`,l=function r(a){if(!(a.type===`readystatechange`&&i.readyState!==`complete`)&&((a.type===`load`?e:i)[s](c+a.type,r,!1),!n&&(n=!0)))return t.call(e,a.type||a)},u=function e(){try{a.doScroll(`left`)}catch{setTimeout(e,50);return}return l(`poll`)};if(i.readyState!==`complete`){if(i.createEventObject&&a.doScroll){try{r=!e.frameElement}catch{}r&&u()}return i[o](c+`DOMContentLoaded`,l,!1),i[o](c+`readystatechange`,l,!1),e[o](c+`load`,l,!1)}}(window,O._autoDiscoverFunction);function P(e,t){return e==null?void 0:t(e)}function F(e,t,n){if(e!=null&&typeof e[t]==`function`)return n(e,t)}window.Dropzone=O;var I=O})(),r})()})})),Qj=B(Zj()),$j=`upload.internetConnectivityError`,eM=class extends Ln{constructor(){super(Ft.getPhrase($j,`title`))}get name(){return`InternetConnectivityError`}get dialogOptions(){return{title:Ft.getPhrase($j,`heading`),text:Ft.getPhrase($j,`body`),buttons:[{text:Ft.getPhrase($j,`okay`),className:`btn btn-outline-dark`,success:!0}]}}},tM=`upload.slowInternetError`,nM=class extends Ln{constructor(){super(Ft.getPhrase(tM,`title`))}get name(){return`SlowInternetError`}get dialogOptions(){return{title:Ft.getPhrase(tM,`heading`),text:Ft.getPhrase(tM,`body`),buttons:[{text:Ft.getPhrase(tM,`okay`),className:`btn btn-outline-dark`,success:!0}]}}};e();var rM=[],iM=class extends fe{get name(){return`DropzoneWrapper`}constructor(e){super(e),this.slowInternetTimeout={},this.showSlowInternetTimeout=!0}initialize(e){let{loggingEnabled:t}=this.options,n=zb.default.channel(e.channelName),r=this;this.dropzone=new Qj.default(document.createElement(`div`),{url:(e=>{let{ingestUrl:t}=e[0].cvUpload;return t}),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(){t&&(I.each(rM,e=>{this.on(e,(...t)=>{let n=t[0]instanceof File?t[0].name:t[0];console.info(e,n,t)})}),this.on(`uploadprogress`,(e,t,i)=>{let a=i/e.size*100;n.trigger(`progress`,r.getId(e),a,i)}),this.on(`success`,e=>{let t=e.upload.chunks,r=I.last(t),i=r.xhr;i||=r.file.xhr;let a=JSON.parse(i.response);e.cvUpload.fileId=a.id,n.trigger(xC.UPLOAD_SUCCESS,e,a)}),this.on(`error`,(e,t,n)=>{if(n&&n.status===0){y.throw(new eM);return}e.status!==`canceled`&&y.throw(new bC(Ft.getPhrase(`upload.services`,`uploadError`,{fileName:e.name,message:t.message})))}),this.on(`sending`,e=>{window.clearTimeout(r.slowInternetTimeout[e.path]),r.showSlowInternetTimeout&&(r.slowInternetTimeout[e.path]=window.setTimeout(()=>{r.showSlowInternetTimeout&&y.throw(new nM),r.showSlowInternetTimeout=!1},3e4))}),this.on(`complete`,e=>window.clearTimeout(r.slowInternetTimeout[e.path])))},params:(e,t,n)=>{if(n)return{chunk_index:n.index,upload_length:n.file.size}},addedfile:()=>{},thumbnail:()=>{},uploadprogress:()=>{}})}getId(e){return e.upload.uuid}addFile(e){this.dropzone.addFile(e)}removeFile(e){this.dropzone.removeFile(e)}start(){this.dropzone.processQueue()}destroy(){this.dropzone.destroy()}static isValidFile(e,t){return Qj.default.isValidFile(e,t)}};e();var aM=class extends Ij{constructor(){super({dataProvider:pC.getInstance(Fj.Ajax),cache:pC.getInstance(Pj.Fifo),alertService:pC.getInstance(Pt.ALERT)}),this.incrementingUploadId=0}get name(){return`UploadDataService`}get channelName(){return`private:upload:data:service`}requestUploads(e,t,n,r,i){let a=this.chain();_(t,t=>{this.incrementingUploadId++,a.create({resource:e,eventPrefix:`request:upload:${this.incrementingUploadId}`,data:this.getFileUploadRequest(t,n),callback:e=>{r(t,e)},errorHandler:this.alertService.error(`Something went wrong while we were uploading your video. Please try again.`)})}),a.func(()=>{i()}).run()}cancelUpload(e,t,n){this.create({resource:`/api/upload/cancel`,eventPrefix:`cancel:upload`,data:{uploadId:e,ingestUrl:t},callback:n})}getFileUploadRequest(e,t){let n=e.name.split(`.`);return{name:n.join(`.`),extension:n.length>1?n.pop():``,fileSize:e.size,fileLifestyle:t}}onDestroy(){pC.releaseInstance(Fj.Ajax).releaseInstance(Pj.Fifo)}},oM=function(e){return e[e.Video=0]=`Video`,e[e.LearningResource=1]=`LearningResource`,e[e.Subtitle=2]=`Subtitle`,e[e.MixedMedia=3]=`MixedMedia`,e}({}),sM={[oM.Video]:Yj.VIDEO,[oM.LearningResource]:Yj.RESOURCES,[oM.Subtitle]:Yj.SUBTITLES,[oM.MixedMedia]:Yj.MIXED_MEDIA},cM={[oM.Video]:SC.VIDEO_UPLOAD,[oM.LearningResource]:SC.RESOURCE_UPLOAD,[oM.Subtitle]:SC.SUBTITLE_UPLOAD,[oM.MixedMedia]:SC.MIXED_MEDIA_UPLOAD},lM=1024*1024*4,uM=1024*1024*1024*50,dM=class extends fe{initialize(){this.uploadDataService=new aM,this.progressViewModel=Lj.get(`upload:progress:${this.uploadType}`),this.bindListeners()}get channelName(){return cM[this.uploadType]}get lang(){return`uploadShared.services`}initUploader(e,t){if(this.uploader)return;let n=lM;e&&n<e&&(n=e),t&&n>t&&(n=t),this.uploader=new iM({chunkingEnabled:!0,loggingEnabled:!0,chunkSize:n,maxFileSize:uM,acceptedFiles:this.getAcceptedFiles(),channelName:this.channelName})}bindListeners(){this.listenTo(this.channelName,`progress`,this.onProgress),this.listenTo(this.channelName,xC.UPLOAD_SUCCESS,this.onSuccess)}onProgress(e,t,n){let r=this.collection.get(e);r&&(r.set({progress:t>100?100:t,totalUploaded:n}),this.setOverallProgress())}isUploading(){return!!this.getCollection().length}getCollection(){return this.collection||=new se,this.collection}setOverallProgress(){let e=0,t=0,n=this.getCollection();if(!n.length){this.progressViewModel.set({progress:0});return}n.each(n=>{e+=n.get(`totalUploaded`)||0,t+=n.get(`file`).size||0});let r=e/t*100,i=r>=100,a=()=>{this.progressViewModel.set({progress:i?100:r,done:i})};if(!i){a();return}window.setTimeout(a,2e3)}isValidFile(e){return iM.isValidFile(e,this.getAcceptedFiles())}addFiles(e,t){if(ce(e,e=>!this.isValidFile(e))){y.throw(new zj(Ft.getPhrase(this.lang,`invalidFileType`)));return}this.requestUploads(e,t)}async requestUploads(e,t){let n=this.isUploading(),r=this.getCollection();for(let t of e){let e=await Ct(this.options.store.dispatch,Xj.requestUpload(t,this.fileLifestyle));`minChunkSize`in e&&`maxChunkSize`in e&&this.initUploader(e.minChunkSize,e.maxChunkSize),t.cvUpload={uploadId:e.uploadId,ingestUrl:e.uploadUrl},this.uploader.addFile(t);let n=t.name;this.uploadType===oM.Video&&(n=n.replace(/\.[^/.]+$/,``));let i=this.uploader.getId(t);r.add({id:i,file:t,name:n,...this.getAdditionalFileInfo(t,e)},{at:r.length-1})}t&&pe.logUserAction({uploadCount:e.length},t),zb.default.channel(this.channelName).trigger(xC.FILES_ADDED,e,n)}addFile(e,t){this.addFiles([e],t)}cancelUpload(e){let t=this.getCollection(),n=t.get(e);if(!n)return;let r=n.get(`file`);this.uploader.removeFile(r),t.remove(n),this.uploadDataService.cancelUpload(r.cvUpload.uploadId,r.cvUpload.ingestUrl,()=>{pe.logUserAction(n.toJSON(),{entity:de.Video,actionType:C.Upload,workflowPhase:p.Discard,descriptor:A.Single,location:D.MyUploads}),zb.default.channel(this.channelName).trigger(xC.UPLOAD_CANCELLED)}),this.setOverallProgress()}onSuccess(e,t){let n=this.uploader.getId(e),r=this.getCollection().get(n);r.set(`fileInfo`,t),pe.logUserAction({id:e.cvUpload.uploadId},{entity:de.Video,actionType:C.Upload,workflowPhase:p.Complete,descriptor:A.Single,location:D.VideoUpload}),zb.default.channel(this.channelName).trigger(xC.UPLOAD_COMPLETE,r)}cancelAllUploads(){_(this.getCollection().map(e=>e.get(`id`)),e=>this.cancelUpload(e))}getUpload(e){let t=this.uploader.getId(e);return this.getCollection().get(t)}getAcceptedFiles(){return sM[this.uploadType]}getAdditionalFileInfo(e,t){return{}}},fM=class extends dM{get uploadType(){return oM.MixedMedia}get name(){return An.MixedMediaUpload}get fileLifestyle(){return Rj.Temporary}},pM=function(e,t){return e&&t&&t.split(` `).forEach(function(t){return pS(e,t)})},mM=function(e,t){return e&&t&&t.split(` `).forEach(function(t){return hS(e,t)})},hM=function(e){zt(t,e);function t(){var t,n=[...arguments];return t=e.call.apply(e,[this].concat(n))||this,t.appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),i=r[0],a=r[1];t.removeClasses(i,`exit`),t.addClass(i,a?`appear`:`enter`,`base`),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),i=r[0],a=r[1]?`appear`:`enter`;t.addClass(i,a,`active`),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),i=r[0],a=r[1]?`appear`:`enter`;t.removeClasses(i,a),t.addClass(i,a,`done`),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,`appear`),t.removeClasses(n,`enter`),t.addClass(n,`exit`,`base`),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,`exit`,`active`),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,`exit`),t.addClass(n,`exit`,`done`),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r=typeof n==`string`,i=r&&n?n+`-`:``,a=r?``+i+e:n[e];return{baseClassName:a,activeClassName:r?a+`-active`:n[e+`Active`],doneClassName:r?a+`-done`:n[e+`Done`]}},t}var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+`ClassName`],i=this.getClassNames(`enter`).doneClassName;t===`appear`&&n===`done`&&i&&(r+=` `+i),n===`active`&&e&&sn(e),r&&(this.appliedClasses[t][n]=r,pM(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,i=n.active,a=n.done;this.appliedClasses[t]={},r&&mM(e,r),i&&mM(e,i),a&&mM(e,a)},n.render=function(){var e=this.props;e.classNames;var t=ve(e,[`classNames`]);return Z.createElement(Wt,h({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(Z.Component);hM.defaultProps={classNames:``},hM.propTypes={};function gM(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function _M(e,t){var n=function(e){return t&&(0,Z.isValidElement)(e)?t(e):e},r=Object.create(null);return e&&Z.Children.map(e,function(e){return e}).forEach(function(e){r[e.key]=n(e)}),r}function vM(e,t){e||={},t||={};function n(n){return n in t?t[n]:e[n]}var r=Object.create(null),i=[];for(var a in e)a in t?i.length&&(r[a]=i,i=[]):i.push(a);var o,s={};for(var c in t){if(r[c])for(o=0;o<r[c].length;o++){var l=r[c][o];s[r[c][o]]=n(l)}s[c]=n(c)}for(o=0;o<i.length;o++)s[i[o]]=n(i[o]);return s}function yM(e,t,n){return n[t]==null?e.props[t]:n[t]}function bM(e,t){return _M(e.children,function(n){return(0,Z.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:yM(n,`appear`,e),enter:yM(n,`enter`,e),exit:yM(n,`exit`,e)})})}function xM(e,t,n){var r=_M(e.children),i=vM(t,r);return Object.keys(i).forEach(function(a){var o=i[a];if((0,Z.isValidElement)(o)){var s=a in t,c=a in r,l=t[a],u=(0,Z.isValidElement)(l)&&!l.props.in;c&&(!s||u)?i[a]=(0,Z.cloneElement)(o,{onExited:n.bind(null,o),in:!0,exit:yM(o,`exit`,e),enter:yM(o,`enter`,e)}):!c&&s&&!u?i[a]=(0,Z.cloneElement)(o,{in:!1}):c&&s&&(0,Z.isValidElement)(l)&&(i[a]=(0,Z.cloneElement)(o,{onExited:n.bind(null,o),in:l.props.in,exit:yM(o,`exit`,e),enter:yM(o,`enter`,e)}))}}),i}var SM=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},CM={component:`div`,childFactory:function(e){return e}},wM=function(e){zt(t,e);function t(t,n){var r=e.call(this,t,n)||this;return r.state={contextValue:{isMounting:!0},handleExited:r.handleExited.bind(gM(r)),firstRender:!0},r}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;return{children:t.firstRender?bM(e,r):xM(e,n,r),firstRender:!1}},n.handleExited=function(e,t){var n=_M(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=h({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=ve(e,[`component`,`childFactory`]),i=this.state.contextValue,a=SM(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,t===null?Z.createElement(ln.Provider,{value:i},a):Z.createElement(ln.Provider,{value:i},Z.createElement(t,r,a))},t}(Z.Component);wM.propTypes={},wM.defaultProps=CM;function TM(e){return(0,Q.jsx)(`svg`,{...e,children:(0,Q.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 EM(e){return(0,Q.jsx)(`svg`,{...e,children:(0,Q.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 DM(e){return(0,Q.jsx)(`svg`,{...e,children:(0,Q.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 OM(e){return(0,Q.jsx)(`svg`,{...e,children:(0,Q.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`})})}var kM={alertItem:`_alertItem_i5y1z_1`,alertBox:`_alertBox_i5y1z_11`,alertList:`_alertList_i5y1z_11`,icon:`_icon_i5y1z_28`,alertContent:`_alertContent_i5y1z_32`,heading:`_heading_i5y1z_40`};function AM(e){let{alert:t,svg:n,svgClassName:r,closeAlert:i}=e,{message:a,heading:o,appLink:s,appLinkText:c,appLinkClassName:l=``,extLink:u,extLinkText:d,extLinkClassName:f}=t;return(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(`div`,{className:`d-inline-block ${kM.icon}`,children:(0,Q.jsx)(dt,{svg:n,className:`svg-container ${r}`})}),(0,Q.jsxs)(`div`,{role:t.type===uC.Fail?`alert`:`status`,className:`ps-2 d-inline-block ${kM.alertContent}`,children:[(0,Q.jsx)(`p`,{className:`p-0 m-0 pb-1 ${kM.heading}`,children:o}),(0,Q.jsx)(`p`,{className:`p-0 text-break clamp-4 ${kM.message}`,dangerouslySetInnerHTML:{__html:a}}),!!s&&(0,Q.jsx)(et,{className:l,appLink:s,children:(0,Q.jsx)(`span`,{dangerouslySetInnerHTML:{__html:c}})}),!!u&&d&&(0,Q.jsx)(`a`,{href:u,className:f,target:`_blank`,children:d})]}),(0,Q.jsx)(`div`,{className:`btn-close d-inline-block cursor-pointer`,role:`button`,"aria-label":`Close`,onClick:i})]})}var jM=e=>{switch(e.type){case uC.Success:return TM;case uC.Fail:case uC.Warning:return OM;case uC.Pending:return DM;case uC.Info:default:return EM}},MM=e=>e.type===uC.Pending?`text-info`:`text-${e.type}`;NM.defaultProps={timeout:3e3};function NM({alert:e,closeAlert:t,timeout:n}){let[r,i]=Z.useState(!0),a=Z.useRef(null);return Z.useEffect(()=>{if(!r){clearTimeout(a.current);return}a.current=window.setTimeout(t,n)},[r]),(0,Q.jsx)(`li`,{className:`bg-white mt-2 p-2 show clearfix ${kM.alertItem}`,onMouseEnter:()=>i(!1),onMouseLeave:()=>i(!0),children:(0,Q.jsx)(AM,{alert:e,svg:jM(e),svgClassName:MM(e),closeAlert:t})})}function PM({alerts:e,removeAlert:t}){return(0,Q.jsx)(`div`,{className:kM.alertBox,children:(0,Q.jsx)(wM,{component:`ul`,className:`${kM.alertList} list-unstyled`,children:e&&e.map((e,n)=>(0,Q.jsx)(hM,{timeout:200,classNames:`alert`,children:(0,Q.jsx)(NM,{alert:e,closeAlert:()=>t(e.id),timeout:e.timeout})},n))})})}async function FM(e,t){try{let n={maxAlerts:3,defaultSuccessAlert:{heading:oA.Success,type:uC.Success},defaultErrorAlert:{heading:oA.Fail,type:uC.Fail},alertViewCtor:PM};pC.registerSingleton(new fC(n)).registerInstance(fM,{store:e.store}),t(e)}catch{y.throw(new Hb)}}function IM(e){var t,n=e.Symbol;return typeof n==`function`?n.observable?t=n.observable:(t=n(`observable`),n.observable=t):t=`@@observable`,t}var LM=IM(typeof self<`u`?self:typeof window<`u`?window:typeof globalThis<`u`?globalThis:typeof module<`u`?module:Function(`return this`)()),RM=function(){return Math.random().toString(36).substring(7).split(``).join(`.`)},zM={INIT:`@@redux/INIT`+RM(),REPLACE:`@@redux/REPLACE`+RM(),PROBE_UNKNOWN_ACTION:function(){return`@@redux/PROBE_UNKNOWN_ACTION`+RM()}};function BM(e){if(typeof e!=`object`||!e)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function VM(e,t,n){var r;if(typeof t==`function`&&typeof n==`function`||typeof n==`function`&&typeof arguments[3]==`function`)throw 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`&&n===void 0&&(n=t,t=void 0),n!==void 0){if(typeof n!=`function`)throw Error(`Expected the enhancer to be a function.`);return n(VM)(e,t)}if(typeof e!=`function`)throw Error(`Expected the reducer to be a function.`);var i=e,a=t,o=[],s=o,c=!1;function l(){s===o&&(s=o.slice())}function u(){if(c)throw 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 d(e){if(typeof e!=`function`)throw Error(`Expected the listener to be a function.`);if(c)throw 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 t=!0;return l(),s.push(e),function(){if(t){if(c)throw 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.`);t=!1,l();var n=s.indexOf(e);s.splice(n,1)}}}function f(e){if(!BM(e))throw Error(`Actions must be plain objects. Use custom middleware for async actions.`);if(e.type===void 0)throw Error(`Actions may not have an undefined "type" property. Have you misspelled a constant?`);if(c)throw Error(`Reducers may not dispatch actions.`);try{c=!0,a=i(a,e)}finally{c=!1}for(var t=o=s,n=0;n<t.length;n++){var r=t[n];r()}return e}function p(e){if(typeof e!=`function`)throw Error(`Expected the nextReducer to be a function.`);i=e,f({type:zM.REPLACE})}function m(){var e,t=d;return e={subscribe:function(e){if(typeof e!=`object`||!e)throw TypeError(`Expected the observer to be an object.`);function n(){e.next&&e.next(u())}return n(),{unsubscribe:t(n)}}},e[LM]=function(){return this},e}return f({type:zM.INIT}),r={dispatch:f,subscribe:d,getState:u,replaceReducer:p},r[LM]=m,r}function HM(e,t){var n=t&&t.type;return`Given `+(n&&`action "`+String(n)+`"`||`an action`)+`, 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 UM(e){Object.keys(e).forEach(function(t){var n=e[t];if(n(void 0,{type:zM.INIT})===void 0)throw 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(n(void 0,{type:zM.PROBE_UNKNOWN_ACTION()})===void 0)throw Error(`Reducer "`+t+`" returned undefined when probed with a random type. `+(`Don't try to handle `+zM.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 WM(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];typeof e[i]==`function`&&(n[i]=e[i])}var a=Object.keys(n),o;try{UM(n)}catch(e){o=e}return function(e,t){if(e===void 0&&(e={}),o)throw o;for(var r=!1,i={},s=0;s<a.length;s++){var c=a[s],l=n[c],u=e[c],d=l(u,t);if(d===void 0){var f=HM(c,t);throw Error(f)}i[c]=d,r||=d!==u}return r?i:e}}function GM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function KM(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function qM(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?KM(n,!0).forEach(function(t){GM(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):KM(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function JM(){var e=[...arguments];return e.length===0?function(e){return e}:e.length===1?e[0]:e.reduce(function(e,t){return function(){return e(t.apply(void 0,arguments))}})}function YM(){var e=[...arguments];return function(t){return function(){var n=t.apply(void 0,arguments),r=function(){throw Error(`Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.`)},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},a=e.map(function(e){return e(i)});return r=JM.apply(void 0,a)(n.dispatch),qM({},n,{dispatch:r})}}}var XM={X_APP_VERSION:`X-App-Version`};function ZM(e){let{oldVersionError:t,authenticationError:n}=e;return function(e){return r=>i=>{let a=i;if(i.type===yt.API_ERROR&&n&&a?.xhr?.status===xe.Unauthorized)return y.throw(new n(`dark`));if(i.type!==yt.API_RESPONSE){r(i);return}let o=e.getState().applicationData.version,s=a?.xhr?.getResponseHeader(XM.X_APP_VERSION);t&&o&&s&&s!==o&&y.throw(new t(o,s)),r(i)}}}function QM(e,t){if(!d.isObject(t.xhr))return e;let n=t.xhr.getResponseHeader(XM.X_APP_VERSION);return n?{...e,version:n}:e}var $M={version:null};function eN(e=$M,t){switch(t.type){case yt.API_RESPONSE:return QM(e,t)}return e}function tN(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})}function nN(e={},t){switch(t.type){case Hn.UPDATE:return tN(e,t)}return e}var rN={SHORT:120,STANDARD:600},iN=`shared.authentication`,aN=class extends Ln{constructor(e){super(Ft.getPhrase(iN,`title`)),this.btnVariant=e}get name(){return`AuthenticationError`}get dialogOptions(){return{title:Ft.getPhrase(iN,`heading`),text:Ft.getPhrase(iN,`body`),buttons:[{text:Ft.getPhrase(iN,`reload`),className:`btn btn-${this.btnVariant}`,success:!0}]}}onDone(){ye.Reload()}},oN=class extends aN{onDone(){ye.PageLoad(`/login?returnUrl=${encodeURIComponent(ye.GetCurrentUrl())}`)}},sN={hasTokenExpired(e){return typeof e?.localTTL==`number`?new Date().getTime()>e.localTTL:!1},getToken(e,t){let n=Dt(e.getState(),Fn.TOKEN),r=sN.hasTokenExpired(n.data);if((n.shouldFetch||r)&&!n.isFetching){Ot(e.dispatch,t);return}if(n.isFetching){let n=!1,r=e.subscribe(()=>{r(),!n&&(n=!0,sN.getToken(e,t))});return}n.hasError?(t.error?.({status:n.statusCode,getResponseHeader:null}),t.always?.()):(t.success?.(n.data),t.always?.())},async getTokenAsync(e){return uN.getToken()||new Promise((t,n)=>{sN.getToken(e,In.token(e=>t(e),e=>n(e)))})}},cN=ex.default.Router.prototype._routeToRegExp(`share/embed/:id(/)`),lN=ex.default.Router.prototype._routeToRegExp(`videos/embed/:id(/)`),uN={applyToken(e){let t=BS.getCurrentRoute().appLink,n=m.getHref({...t,params:{...typeof t.params==`object`?t.params:{},embedToken:e?.value,localTTL:e?.localTTL,a:!0}});ye.PageLoad(n)},getToken(){let e=ex.default.history.getFragment(ye.GetCurrentPath()),t=cN.test(e),n=lN.test(e);if(!t&&!n||!window.URLSearchParams)return null;let r=new URLSearchParams(window.location.search),i=r.get(`embedToken`),a=parseInt(r.get(`localTTL`));if(!i||!a)return null;let o={value:i,localTTL:isNaN(a)?null:a};return sN.hasTokenExpired(o)?null:o}};function dN(){let e=uN.getToken();return e?function(t,n){if(!t.resource.startsWith(`/`))return n(t);sN.hasTokenExpired(e)||(t.headers={...t.headers??{},authorization:`Bearer ${e.value}`}),n(t)}:(e,t)=>t(e)}var fN={safeUrlConcat(e,t){if(!e)return;let n=e;return e.endsWith(`/`)||(n+=`/`),t&&(n+=t.startsWith(`/`)?t.slice(1):t),n}},pN={"{gateway}":`gatewayApiUrl`,"{image}":`imageCdnUrl`,"{integrations}":`integrationsApiUrl`,"{player}":`playerApiUrl`};function mN(e){return async function(t,n){let r=Object.keys(pN).find(e=>t.resource.startsWith(e));if(!r)return n(t);function i(e,i){let a=e[pN[r]],o={...t,resource:fN.safeUrlConcat(a,t.resource.split(`${r}/`)[1])};i?.value&&(o.headers={...o.headers??{},authorization:`Bearer ${i.value}`}),n(o)}try{let t=await bt(e,GS.config());if(!(await bt(e,In.currentUser())).isAuthenticated){i(t);return}i(t,await sN.getTokenAsync(e))}catch{n(t)}}}var hN=/\(([^()]*)\)/g;function gN(e,t){return function(n,r){r({...n,resource:n.resource.replace(e,t)})}}function _N(e,t){function n(e){return function(n){let r=t[n];if(typeof r==`string`){e.useAsync(gN(n,r));return}r&&e.useAsync(r)}}return function(t,r){let i=new P,a=new P,o={resource:t.resource,store:e},s={resource:null,store:e},c=t.data?.ogql;if(decodeURIComponent(t.resource).replace(hN,n(i)),c){let e=JSON.stringify(t.data.ogql);s.resource=e,e.replace(hN,n(a))}i.goAsync(o,e=>{a.goAsync(s,n=>{r({...t,resource:e.resource,data:c?{...t.data,ogql:JSON.parse(n.resource)}:t.data})})})}}function vN(e,t){return function(n){let r=new P;r.useAsync(mN(e.store)),r.useAsync(_N(e.store,t)),r.useAsync(dN()),r.goAsync(n,e=>{jt(e)})}}var yN={VIDEO_COLLECTION:`(videoCollection)`,SERIES:`tallposter,_rating,banner`,CLASSIFICATION_COLLECTION:`banner,cover,tallPoster,_theme[banner,cover,tallPoster,thumbnail,icon]`,CLASSIFICATION:e=>`banner,cover,tallPoster,thumbnail,_theme[banner,cover,tallPoster,thumbnail,icon],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[partnerprofiles[_slug,count()]{status:1}],owner,subjectPresentationAudiences,resources[thumbnail,pdf],tags,productionCompanies[partnerprofiles[_slug,count()]{status:1}],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()]{status:[1,2],limit:0},interactives[count()]{status:[1,2],limit:0},clips[count()]{status:[1,2],limit:0},cover`,CLIP:`(clip)`,CLIP_COLLECTION:`(clipCollection)`,INTERACTIVE:`(interactive)`,INTERACTIVE_COLLECTION:`(interactiveCollection)`,LIBRARY_COLLECTION:`owner[logo]`,LIBRARY:`owner[logo],categorytree`,PARTNER_PROFILE:`company[banner,logo,partnerprofiles[count()]],person[partnerprofiles[count()]],_slug,contentregions,_logo,_banner,_cover,_colour,_videobanner,links`},bN={CLASSIFICATION:`banner,cover,tallPoster,_theme[banner,cover,tallPoster,thumbnail,icon],pinnedVideos[count()]{limit:0},playlists[count()]{limit:0},series[count()]{limit:0},tags{tagType:curation}`,CLASSIFICATION_COLLECTION:`banner,cover,tallPoster,_theme[banner,cover,tallPoster,thumbnail,icon]`,VIDEO:`series,season,_rating,producers,glance,distributors[partnerprofiles[_slug,count()]{status:1}],subjectPresentationAudiences,resources[thumbnail,pdf],tags,productionCompanies[partnerprofiles[_slug,count()]{status:1}],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`},xN=[X.ExchangeTvProductOption,X.TvRegion,X.LiteUpgradeTypeCustomer];function SN(e){return function(t,n){let r=xN.map(e=>`type=${e}`).join(`&`),i=t.resource.replace(e,r);n({...t,resource:i})}}var CN=[X.HasCompletedOnboardingV1];function wN(e){return function(t,n){let r=CN.map(e=>`type=${e}`).join(`&`),i=t.resource.replace(e,r);n({...t,resource:i})}}var TN=`thumbnail,_rating,series,season,subtitles{limit:1}`;function EN(e){return function(t,n){kt(t.store,In.currentUser(r=>{let i=`${TN}`;r.isAuthenticated&&(i+=`,favouritedby{id:${r.id}}`);let a=t.resource.replace(e,i);n({...t,resource:a})},()=>n(t)))}}var DN={[yN.VIDEO_COLLECTION]:EN(yN.VIDEO_COLLECTION),"(customerSettings)":SN(`(customerSettings)`),"(userSettings)":wN(`(userSettings)`)};async function ON(e,t){let n=WM({flightData:At,viewModelData:nN,applicationData:eN}),r=Et({fetchData:vN(e,DN),bootstrappedData:window.bootstrapData||{},defaultCacheDuration:rN.STANDARD}),i=ZM({authenticationError:oN,oldVersionError:yC});async function a(n){e.registerStore(n),t(e),delete window.bootstrapData}await a(VM(n,YM(r,i)))}var kN=`application:options`;e();var AN=class extends fe{constructor(e){super(),this.clients={},this.enrichers={},Lj.get(kN).set(e??{})}get name(){return b.Analytics}registerTransport(e,t){return this.transport=new e(t),this.bindTransportListeners(),this}bindTransportListeners(){this.listenTo(te.ANALYTICS,le.Inlet,this.onEvent)}registerClient(e,t){return this.validateConstructor(e),this.clients[e.prototype.name]=e.prototype.name,this.transport.subscribe(new e(t)),this}registerEnricher(e,t){this.validateConstructor(e);let n=new e(t);return this.enrichers[n.name]=n,this.registerMiddleware(me(n.enrich,n)),this}hasEnricher(e){return!!this.enrichers[e.prototype.name]}onEvent(e){this.executeMiddleware(e,e=>{this.transport.publish(e)})}validateConstructor(e){let t=e.prototype.name;t||y.throw(new M(`Classes registered with ${this.name} must have a unique name property.`));let n=t=>mt.isFunction(e.prototype.isType)&&e.prototype.isType(t);(n(`BaseAnalyticsClient`)||t===`CollectionApiClient`)&&this.clients[t]&&y.throw(new M(`A client class with the name: ${t} has already been registered with ${this.name}`)),n(`BaseAnalyticsEnricher`)&&this.enrichers[t]&&y.throw(new M(`An enricher class named: ${t} has already been registered with ${this.name}`))}registerMiddleware(e){this.executeMiddleware=(t=>(n,r)=>t(n,()=>e(n,r)))(this.executeMiddleware)}executeMiddleware(e,t){t(e)}},jN=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`,MN=`UINT8ARRAY not supported by this environment`;function NN(e,t,n,r){let i,a,o,s=t||[0],c=(n||=0)>>>3,l=r===-1?3:0;for(i=0;i<e.length;i+=1)o=i+c,a=o>>>2,s.length<=a&&s.push(0),s[a]|=e[i]<<8*(l+o%4*r);return{value:s,binLen:8*e.length+n}}function PN(e,t,n){switch(t){case`UTF8`:case`UTF16BE`:case`UTF16LE`:break;default:throw Error(`encoding must be UTF8, UTF16BE, or UTF16LE`)}switch(e){case`HEX`:return function(e,t,r){return function(e,t,n,r){let i,a,o,s;if(e.length%2!=0)throw Error(`String of HEX type must be in byte increments`);let c=t||[0],l=(n||=0)>>>3,u=r===-1?3:0;for(i=0;i<e.length;i+=2){if(a=parseInt(e.substr(i,2),16),isNaN(a))throw Error(`String of HEX type contains invalid characters`);for(s=(i>>>1)+l,o=s>>>2;c.length<=o;)c.push(0);c[o]|=a<<8*(u+s%4*r)}return{value:c,binLen:4*e.length+n}}(e,t,r,n)};case`TEXT`:return function(e,r,i){return function(e,t,n,r,i){let a,o,s,c,l,u,d,f,p=0,m=n||[0],h=(r||=0)>>>3;if(t===`UTF8`)for(d=i===-1?3:0,s=0;s<e.length;s+=1)for(a=e.charCodeAt(s),o=[],128>a?o.push(a):2048>a?(o.push(192|a>>>6),o.push(128|63&a)):55296>a||57344<=a?o.push(224|a>>>12,128|a>>>6&63,128|63&a):(s+=1,a=65536+((1023&a)<<10|1023&e.charCodeAt(s)),o.push(240|a>>>18,128|a>>>12&63,128|a>>>6&63,128|63&a)),c=0;c<o.length;c+=1){for(u=p+h,l=u>>>2;m.length<=l;)m.push(0);m[l]|=o[c]<<8*(d+u%4*i),p+=1}else for(d=i===-1?2:0,f=t===`UTF16LE`&&i!==1||t!==`UTF16LE`&&i===1,s=0;s<e.length;s+=1){for(a=e.charCodeAt(s),!0===f&&(c=255&a,a=c<<8|a>>>8),u=p+h,l=u>>>2;m.length<=l;)m.push(0);m[l]|=a<<8*(d+u%4*i),p+=2}return{value:m,binLen:8*p+r}}(e,t,r,i,n)};case`B64`:return function(e,t,r){return function(e,t,n,r){let i,a,o,s,c,l,u,d=0,f=t||[0],p=(n||=0)>>>3,m=r===-1?3:0,h=e.indexOf(`=`);if(e.search(/^[a-zA-Z0-9=+/]+$/)===-1)throw Error(`Invalid character in base-64 string`);if(e=e.replace(/=/g,``),h!==-1&&h<e.length)throw Error(`Invalid '=' found in base-64 string`);for(a=0;a<e.length;a+=4){for(c=e.substr(a,4),s=0,o=0;o<c.length;o+=1)i=jN.indexOf(c.charAt(o)),s|=i<<18-6*o;for(o=0;o<c.length-1;o+=1){for(u=d+p,l=u>>>2;f.length<=l;)f.push(0);f[l]|=(s>>>16-8*o&255)<<8*(m+u%4*r),d+=1}}return{value:f,binLen:8*d+n}}(e,t,r,n)};case`BYTES`:return function(e,t,r){return function(e,t,n,r){let i,a,o,s,c=t||[0],l=(n||=0)>>>3,u=r===-1?3:0;for(a=0;a<e.length;a+=1)i=e.charCodeAt(a),s=a+l,o=s>>>2,c.length<=o&&c.push(0),c[o]|=i<<8*(u+s%4*r);return{value:c,binLen:8*e.length+n}}(e,t,r,n)};case`ARRAYBUFFER`:return function(e,t,r){return function(e,t,n,r){return NN(new Uint8Array(e),t,n,r)}(e,t,r,n)};case`UINT8ARRAY`:try{new Uint8Array}catch{throw Error(MN)}return function(e,t,r){return NN(e,t,r,n)};default:throw Error(`format must be HEX, TEXT, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY`)}}function FN(e,t,n,r){switch(e){case`HEX`:return function(e){return function(e,t,n,r){let i=`0123456789abcdef`,a,o,s=``,c=t/8,l=n===-1?3:0;for(a=0;a<c;a+=1)o=e[a>>>2]>>>8*(l+a%4*n),s+=i.charAt(o>>>4&15)+i.charAt(15&o);return r.outputUpper?s.toUpperCase():s}(e,t,n,r)};case`B64`:return function(e){return function(e,t,n,r){let i,a,o,s,c,l=``,u=t/8,d=n===-1?3:0;for(i=0;i<u;i+=3)for(s=i+1<u?e[i+1>>>2]:0,c=i+2<u?e[i+2>>>2]:0,o=(e[i>>>2]>>>8*(d+i%4*n)&255)<<16|(s>>>8*(d+n*((i+1)%4))&255)<<8|c>>>8*(d+n*((i+2)%4))&255,a=0;a<4;a+=1)l+=8*i+6*a<=t?jN.charAt(o>>>6*(3-a)&63):r.b64Pad;return l}(e,t,n,r)};case`BYTES`:return function(e){return function(e,t,n){let r,i,a=``,o=t/8,s=n===-1?3:0;for(r=0;r<o;r+=1)i=e[r>>>2]>>>8*(s+r%4*n)&255,a+=String.fromCharCode(i);return a}(e,t,n)};case`ARRAYBUFFER`:return function(e){return function(e,t,n){let r,i=t/8,a=new ArrayBuffer(i),o=new Uint8Array(a),s=n===-1?3:0;for(r=0;r<i;r+=1)o[r]=e[r>>>2]>>>8*(s+r%4*n)&255;return a}(e,t,n)};case`UINT8ARRAY`:try{new Uint8Array}catch{throw Error(MN)}return function(e){return function(e,t,n){let r,i=t/8,a=n===-1?3:0,o=new Uint8Array(i);for(r=0;r<i;r+=1)o[r]=e[r>>>2]>>>8*(a+r%4*n)&255;return o}(e,t,n)};default:throw Error(`format must be HEX, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY`)}}function IN(e){let t={outputUpper:!1,b64Pad:`=`,outputLen:-1},n=e||{},r=`Output length must be a multiple of 8`;if(t.outputUpper=n.outputUpper||!1,n.b64Pad&&(t.b64Pad=n.b64Pad),n.outputLen){if(n.outputLen%8!=0)throw Error(r);t.outputLen=n.outputLen}else if(n.shakeLen){if(n.shakeLen%8!=0)throw Error(r);t.outputLen=n.shakeLen}if(typeof t.outputUpper!=`boolean`)throw Error(`Invalid outputUpper formatting option`);if(typeof t.b64Pad!=`string`)throw Error(`Invalid b64Pad formatting option`);return t}var LN=class{constructor(e,t,n){let r=n||{};if(this.t=t,this.i=r.encoding||`UTF8`,this.numRounds=r.numRounds||1,isNaN(this.numRounds)||this.numRounds!==parseInt(this.numRounds,10)||1>this.numRounds)throw Error(`numRounds must a integer >= 1`);this.o=e,this.h=[],this.u=0,this.l=!1,this.A=0,this.p=!1,this.U=[],this.R=[]}update(e){let t,n=0,r=this.T>>>5,i=this.F(e,this.h,this.u),a=i.binLen,o=i.value,s=a>>>5;for(t=0;t<s;t+=r)n+this.T<=a&&(this.m=this.g(o.slice(t,t+r),this.m),n+=this.T);return this.A+=n,this.h=o.slice(n>>>5),this.u=a%this.T,this.l=!0,this}getHash(e,t){let n,r,i=this.B,a=IN(t);if(this.v){if(a.outputLen===-1)throw Error(`Output length must be specified in options`);i=a.outputLen}let o=FN(e,i,this.H,a);if(this.p&&this.C)return o(this.C(a));for(r=this.Y(this.h.slice(),this.u,this.A,this.I(this.m),i),n=1;n<this.numRounds;n+=1)this.v&&i%32!=0&&(r[r.length-1]&=16777215>>>24-i%32),r=this.Y(r,i,0,this.L(this.o),i);return o(r)}setHMACKey(e,t,n){if(!this.M)throw Error(`Variant does not support HMAC`);if(this.l)throw Error(`Cannot set MAC key after calling update`);let r=PN(t,(n||{}).encoding||`UTF8`,this.H);this.N(r(e))}N(e){let t=this.T>>>3,n=t/4-1,r;if(this.numRounds!==1)throw Error(`Cannot set numRounds with MAC`);if(this.p)throw Error(`MAC key already set`);for(t<e.binLen/8&&(e.value=this.Y(e.value,e.binLen,0,this.L(this.o),this.B));e.value.length<=n;)e.value.push(0);for(r=0;r<=n;r+=1)this.U[r]=909522486^e.value[r],this.R[r]=1549556828^e.value[r];this.m=this.g(this.U,this.m),this.A=this.T,this.p=!0}getHMAC(e,t){let n=IN(t);return FN(e,this.B,this.H,n)(this.S())}S(){let e;if(!this.p)throw Error(`Cannot call getHMAC without first setting MAC key`);let t=this.Y(this.h.slice(),this.u,this.A,this.I(this.m),this.B);return e=this.g(this.R,this.L(this.o)),e=this.Y(t,this.B,this.T,e,this.B),e}};function RN(e,t){return e<<t|e>>>32-t}function zN(e,t,n){return e^t^n}function BN(e,t,n){return e&t^e&n^t&n}function VN(e,t){let n=(65535&e)+(65535&t);return(65535&(e>>>16)+(t>>>16)+(n>>>16))<<16|65535&n}function HN(e,t,n,r,i){let a=(65535&e)+(65535&t)+(65535&n)+(65535&r)+(65535&i);return(65535&(e>>>16)+(t>>>16)+(n>>>16)+(r>>>16)+(i>>>16)+(a>>>16))<<16|65535&a}function UN(e){return[1732584193,4023233417,2562383102,271733878,3285377520]}function WN(e,t){let n,r,i,a,o,s,c,l=[];for(n=t[0],r=t[1],i=t[2],a=t[3],o=t[4],c=0;c<80;c+=1)l[c]=c<16?e[c]:RN(l[c-3]^l[c-8]^l[c-14]^l[c-16],1),s=c<20?HN(RN(n,5),(u=r)&i^~u&a,o,1518500249,l[c]):c<40?HN(RN(n,5),zN(r,i,a),o,1859775393,l[c]):c<60?HN(RN(n,5),BN(r,i,a),o,2400959708,l[c]):HN(RN(n,5),zN(r,i,a),o,3395469782,l[c]),o=a,a=i,i=RN(r,30),r=n,n=s;var u;return t[0]=VN(n,t[0]),t[1]=VN(r,t[1]),t[2]=VN(i,t[2]),t[3]=VN(a,t[3]),t[4]=VN(o,t[4]),t}function GN(e,t,n,r){let i,a=15+(t+65>>>9<<4),o=t+n;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)r=WN(e.slice(i,i+16),r);return r}var KN=class extends LN{constructor(e,t,n){if(e!==`SHA-1`)throw Error(`Chosen SHA variant is not supported`);super(e,t,n);let r=n||{};this.M=!0,this.C=this.S,this.H=-1,this.F=PN(this.t,this.i,this.H),this.g=WN,this.I=function(e){return e.slice()},this.L=UN,this.Y=GN,this.m=[1732584193,4023233417,2562383102,271733878,3285377520],this.T=512,this.B=160,this.v=!1,r.hmacKey&&this.N(function(e,t,n,r){let i=e+` must include a value and format`;if(!t){if(!r)throw Error(i);return r}if(t.value===void 0||!t.format)throw Error(i);return PN(t.format,t.encoding||`UTF8`,n)(t.value)}(`hmacKey`,r.hmacKey,this.H))}},qN=function(e){return 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}({}),JN={CvApSoutheast1:{systemName:qN.CvApSoutheast1},CvApSoutheast2:{systemName:qN.CvApSoutheast2},CvEuWest1:{systemName:qN.CvEuWest1},CvNaWest1:{systemName:qN.CvNaWest1}},YN=`r`,XN=`cv:r`,ZN=`cv:r:e`,QN=`referrer`,$N=`cv:originalReferrer`,eP=28800,tP=[`internalReferrer`],nP={getDecodedAttributionData(){let e=Pn.cacheGet(XN);return e&&Object.keys(e).length>0?e:rP()?.decoded},getEncodedAttributionData(){let e=Pn.cacheGet(ZN);return e?.length?e:rP().encoded},getProfileId(){return nP.getDecodedAttributionData()?.profileId??null},setAttributionData(e){e&&lP(cP(e),e)},decodeRValue(e){if(e)try{let t=atob(e),n=JSON.parse(t);if(!aP(n))throw Error(`Decoded R value is invalid: ${JSON.stringify(n)}`);return n}catch(e){let t=e instanceof Error?e.message:e?.toString();console.error(t)}}};function rP(){let e=Pn.cacheGet(XN),t=Pn.cacheGet(ZN);return aP(e)?{encoded:t,decoded:e}:iP()}function iP(){Pn.cacheRemove(XN),Pn.cacheRemove(ZN);let e=sP(),t=nP.decodeRValue(e);if(t)return lP(e,t),{decoded:t,encoded:e};let n={internalReferrer:window.location.origin+window.location.pathname,originalReferrer:oP()},r=cP(n);return lP(r,n),{decoded:n,encoded:r}}function aP(e){return!e||typeof e!=`object`||Object.keys(e).length<tP.length?!1:tP.every(t=>typeof e[t]==`string`)}function oP(){let e=Pn.cacheGet($N);if(e&&typeof e==`string`)return e;let t=document.referrer??``;if(window.URLSearchParams){let e=new URLSearchParams(window.location.search),n=e.has(QN)&&e.get(QN);e.has(QN)&&e.get(QN)&&(t=n)}return t&&Pn.cacheSet($N,t,eP),t}function sP(){if(!window.URLSearchParams)return;let e=new URLSearchParams(window.location.search);if(e.has(YN))return e.get(YN)}function cP(e){if(aP(e))try{return btoa(JSON.stringify(e))}catch{console.error(`R value could not be encoded: ${JSON.stringify(e)}`)}}function lP(e,t){try{Pn.cacheSet(XN,t,eP),Pn.cacheSet(ZN,e,eP)}catch{console.error(`Could not store attribution data in session storage`)}}var uP=3,dP=5e3,fP=6,pP={},mP=class{constructor(e){this.key=e.toString()}getCount(){return pP[this.key]||0}increment(){pP[this.key]=this.getCount()+1}reset(){delete pP[this.key]}shouldBreak(){return this.getCount()>=fP}},hP=class{constructor(){this.attempt=0}async wait(){await new Promise(e=>setTimeout(e,dP*2**this.attempt)),this.attempt++}};async function gP(e,t){let n=new hP,r=new mP(e);async function i(){let n=await fetch(e,t);if(n.status>=500&&!r.shouldBreak())throw Error(`Server error: ${n.status}`);return n.ok&&r.reset(),n}for(let e=1;e<=uP;e++)try{return await i()}catch(t){if(e>=uP||r.shouldBreak())throw t;r.increment(),await n.wait()}}var _P,vP=new Uint8Array(16);function yP(){if(!_P&&(_P=typeof crypto<`u`&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<`u`&&typeof msCrypto.getRandomValues==`function`&&msCrypto.getRandomValues.bind(msCrypto),!_P))throw Error(`crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported`);return _P(vP)}var bP=/^(?:[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 xP(e){return typeof e==`string`&&bP.test(e)}for(var SP=[],CP=0;CP<256;++CP)SP.push((CP+256).toString(16).substr(1));function wP(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=(SP[e[t+0]]+SP[e[t+1]]+SP[e[t+2]]+SP[e[t+3]]+`-`+SP[e[t+4]]+SP[e[t+5]]+`-`+SP[e[t+6]]+SP[e[t+7]]+`-`+SP[e[t+8]]+SP[e[t+9]]+`-`+SP[e[t+10]]+SP[e[t+11]]+SP[e[t+12]]+SP[e[t+13]]+SP[e[t+14]]+SP[e[t+15]]).toLowerCase();if(!xP(n))throw TypeError(`Stringified UUID is invalid`);return n}function TP(e,t,n){e||={};var r=e.random||(e.rng||yP)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){n||=0;for(var i=0;i<16;++i)t[n+i]=r[i];return t}return wP(r)}function EP(e){if(!xP(e))throw TypeError(`Invalid UUID`);return parseInt(e.substr(14,1),16)}var DP=`cv:session:`,OP=`cv:window:v2:`,kP=1e3*60*30,AP=4;function jP(e){if(e===jn.LocalStorage)return Pn.isAvailable()?Pn:Mn;if(e===jn.SessionStorage)return Nn.isAvailable()?Nn:Mn}function MP(e){return new Date().getTime()+e}function NP(){return TP()}function PP(e,t){return e+(t||`0`)}function FP(e){return new Date().getTime()>e}function IP(e){return!(typeof e!=`object`||typeof e?.id!=`string`||!xP(e.id)||EP(e.id)!==AP||typeof e?.ttl!=`number`||e?.ttl<=0||isNaN(e?.ttl))}function LP(e,t,n){let r=jP(n),i=PP(e,t),a=r.get(i);return!IP(a)||FP(a?.ttl)?null:a}function RP(e,t,n,r){let i=jP(n),a=PP(e,t),o={id:NP(),ttl:MP(r)};return i.set(a,o),o}function zP(e,t,n,r,i){let a=jP(n),o=PP(e,t);a.set(o,{id:r.id,ttl:MP(i)})}function BP(e,t,n){let r=jP(n);if(!r?.isAvailable())return;let i=PP(e,t);r.remove(i)}var VP=null,HP={getClientSessionData(e){let t=LP(DP,e,jn.LocalStorage);t?zP(DP,e,jn.LocalStorage,t,kP):t=RP(DP,e,jn.LocalStorage,kP);let n=LP(OP,e,jn.SessionStorage);return n?VP===null&&zP(OP,e,jn.SessionStorage,n,kP):n=RP(OP,e,jn.SessionStorage,VP??kP),{id:t.id,windowId:n.id}},resetClientSession(e){BP(DP,e,jn.LocalStorage),BP(OP,e,jn.SessionStorage)},lockWindowSession(e,t){VP=t;let n=LP(OP,e,jn.SessionStorage);n&&zP(OP,e,jn.SessionStorage,n,t)},unlockWindowSession(e){VP=null;let t=LP(OP,e,jn.SessionStorage);t&&zP(OP,e,jn.SessionStorage,t,kP)}},UP={isObject(e){let t=typeof e;return t===`function`||t===`object`&&!!e},isFunction(e){return typeof e==`function`}},WP={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},GP=`Unknown`;function KP(e,t,n){let[r]=t.exec(n)||[];return r||=GP,{name:e,version:r}}function qP(e,t,n){if(!t)return{name:e,version:GP};let r=t.exec(n);return{name:e,version:r&&r.length?r[0].trim():GP}}function JP(e,t){let n={name:e,version:null};return WP.win2000.test(t)&&(n.version=`2000`),WP.winXP.test(t)&&(n.version=`XP`),WP.winVista.test(t)&&(n.version=`Vista`),WP.win7.test(t)&&(n.version=`7`),WP.win8.test(t)&&(n.version=`8`),WP.win81.test(t)&&(n.version=`8.1`),WP.win10.test(t)&&(n.version=`10`),n.version||=GP,n}var YP={getDeviceType(){let e=window.navigator.userAgent;return WP.mobileDevice.test(e)?WP.iphone.test(e)?`iPhone`:WP.ipad.test(e)?`iPad`:WP.android.test(e)?`Android`:WP.blackberry.test(e)?`Blackberry`:WP.windowsPhone.test(e)?`Windows Phone`:GP:`Desktop`},getOperatingSystem(){let e=window.navigator.userAgent;return WP.android.test(e)?qP(`Android`,WP.androidVersion,e):WP.iphone.test(e)||WP.ipad.test(e)?qP(`iOS`,WP.iosVersion,e):WP.linux.test(e)?qP(`Linux`,null,e):WP.unix.test(e)?qP(`Unix`,null,e):WP.mac.test(e)?qP(`Macintosh`,WP.osxVersion,e):WP.windows.test(e)?JP(`Windows`,e):WP.blackberry.test(e)?qP(`BlackBerry`,WP.blackberryVersion,e):WP.windowsPhone.test(e)?qP(`Windows Phone`,WP.windowsPhoneVersion,e):{name:GP,version:GP}},getBrowser(){let e=window.navigator.userAgent;return WP.chrome.test(e)?KP(`Chrome`,WP.generalVersion,e):WP.firefox.test(e)?KP(`Firefox`,WP.generalVersion,e):WP.safari.test(e)?KP(`Safari`,WP.generalVersion,e):WP.ie.test(e)?KP(`Internet Explorer`,WP.ieVersion,e):WP.edge.test(e)?KP(`Edge`,WP.edgeVersion,e):WP.opera.test(e)?KP(`Opera`,WP.operaVersion,e):{name:GP,version:GP}},isTouchScreen(){return!!(`ontouchstart`in window||navigator.maxTouchPoints)}},XP=28800,ZP=`cv:utmparams`,QP=[[`source`,`utm_source`],[`medium`,`utm_medium`],[`campaign`,`utm_campaign`],[`term`,`utm_term`],[`content`,`utm_content`]],$P=QP.reduce((e,[t])=>({...e,[t]:t}),{}),eF={getUtmParameters(){if(!window.URLSearchParams)return null;let e=new URLSearchParams(window.location.search),t={};return QP.forEach(([n,r])=>{e.has(r)&&(t[n]=e.get(r))}),tF(t)},setUtmParameters(e){if(!e)return;let t={};return Object.keys(e).forEach(n=>{$P[n]&&(t[n]=e[n])}),tF(t)},getURLSearchParams(){if(!window.URLSearchParams)return null;let e=new URLSearchParams,t=eF.getUtmParameters();return t?(QP.forEach(([n,r])=>{t[n]&&e.set(r,t[n])}),e):null}};function tF(e){if(Object.keys(e).length)return Pn.cacheSet(ZP,e,XP),e;let t=Pn.cacheGet(ZP);return t&&typeof t==`object`&&Object.keys(t).length?t:null}var nF={name:`@clickview/analytics`,version:`2.3.0`,description:`Analytics`,main:`dist/app.js`,types:`dist/analytics/src/app.d.ts`,type:`module`,private:!0,repository:{type:`git`,url:`https://gitlab.cvinternal.net/front-end/clickview`},scripts:{start:`npm run build`,"type-check":`tsc --noEmit`,build:`npm run type-check && node ../../../node_modules/vite/bin/vite.js build`,prebuild:`npm run clean`,clean:`npx rimraf dist`},author:``,license:`ISC`,devDependencies:{"@types/uuid":`8.3.4`,"tsc-alias":`1.8.16`},dependencies:{jssha:`3.3.1`,uuid:`8.3.2`}},rF=`zXJL9nOHxzDlMUDjiP41`,iF=`unknown`,aF=class{constructor(e){this.options=e,this.initialize()}initialize(){this.validateOptions(),this.options.logUtmParameters&&(this.utmParameters=eF.getUtmParameters()),this.options.logAttributionData&&(this.attributionData=nP.getDecodedAttributionData())}get name(){return`CollectionApiClient`}async log(e){if(Array.isArray(e))return this.logBulk(e);this.shouldLog(e)&&(this.validateEvent(e),await this.postData(await this.formatData(e)))}async logBulk(e){let t=e.filter(e=>this.shouldLog(e));if(!t.length)return;t.forEach(e=>this.validateEvent(e));let n=await Promise.all(t.map(e=>this.formatData(e)));await this.postData(n)}validateOptions(){if(!UP.isFunction(this.options.getUser))throw Error(`getUser option is required.`)}shouldLog(e){return UP.isFunction(this.options.shouldLog)?this.options.shouldLog(e):!0}async postData(e){let t=await this.getRegionalUrl(this.options.collectionApiUrls),n=JSON.stringify(e),r={"Content-Type":`application/json`,...this.getSignatureHeader(n)},i=fN.safeUrlConcat(t,`/v1/ingest`);Array.isArray(e)&&(i=fN.safeUrlConcat(i,`/bulk`));try{let e=await gP(i,{method:`POST`,mode:`cors`,headers:r,body:n});e.ok||this.logError(Error(`CollectionApiClient failed to log event. Status: ${e.status} ${e.statusText}`),!1,this.getResponseAsObject(e))}catch(e){this.logError(e)}}getResponseAsObject(e){return{headers:e.headers,ok:e.ok,redirected:e.redirected,status:e.status,statusText:e.statusText,type:e.type,url:e.url,body:e.text()}}getSignatureHeader(e){let t=new KN(`SHA-1`,`TEXT`,{hmacKey:{value:rF,format:`TEXT`,encoding:`UTF8`}});return t.update(e),{"cv-analytics-signature":`${this.options.collectionApiClientId}.${t.getHash(`B64`)}`}}async getRegionalUrl(e){switch((await this.getRegion()).systemName){case qN.CvEuWest1:return e.cvEuWest1;case qN.CvApSoutheast2:return e.cvApSoutheast2;case qN.CvNaWest1:return e.cvNaWest1;case qN.CvApSoutheast1:default:return e.cvApSoutheast1}}validateEvent(e){typeof e.type!=`string`&&this.logError(Error(`Event type is required.`),!0),UP.isObject(e.actionContext)||this.logError(Error(`Event actionContext is required.`),!0),e.actionContext.entity||this.logError(Error(`Event actionContext entity is required.`),!0)}async formatData(e){return{type:e.type,data:await this.getEventData(e),metadata:this.getEventMetadata(e)}}async getEventData(e){let t=e.actionContext,n=this.getPlatformMetadata(),r=await this.getUserData(),i=await this.getSessionData(),a={name:this.options.productName,version:this.options.productVersion};this.options.productVariant&&(a.variant=this.options.productVariant);let o={user:r,action:t,platform:n,product:a,session:i};this.utmParameters&&(o.utm=this.utmParameters);let s=this.extractData(e),c=Object.keys(o).map(e=>e.toLowerCase()),l=Object.keys(s).map(e=>e.toLowerCase());return c.forEach(e=>{l.includes(e)&&this.logError(Error(`${e} is a reserved key.`),!0)}),{...o,...s}}extractData(e){return UP.isFunction(this.options.formatData)?this.options.formatData(e):{[e.actionContext.entity]:e.data}}async getUserData(){let e;try{e=await this.options.getProfileId?.()}catch(e){this.logError(e)}try{let t=await this.options.getUser();return t?.id?{id:t.id,role:t.role?.toLowerCase()||iF,userGroup:(t.userGroup??nx.Unknown).toLowerCase(),yearGroup:this.normalizeYearGroup(t.yearGroup),profileId:e,customer:{id:t.customerId,name:t.customerName,customerGuid:t.customerGuid,crmId:t.crmId,country:t.countryCode,region:await this.getRegion(),openCustomer:!1,accessPolicy:t.accessPolicy}}:e?{profileId:e}:void 0}catch(e){this.logError(e)}}async getRegion(){let e=this.options.regionName;try{let t=await this.options.getUser();t?.instanceRegion&&(e=t.instanceRegion)}catch(e){this.logError(e)}return e||this.logError(Error(`RegionName is not set.`),!0),this.getRegionByName(e.toLowerCase())}async getSessionData(){try{let e=await this.options.getUser();return{...HP.getClientSessionData(e?.id),authSessionId:e?.sessionId}}catch(e){return console.error(e),HP.getClientSessionData(null)}}getPlatformMetadata(){let e={url:window.location.href,referrer:document.referrer};return this.attributionData?.internalReferrer&&(e.internalReferrer=this.attributionData.internalReferrer),this.attributionData?.originalReferrer&&(e.originalReferrer=this.attributionData.originalReferrer),{browser:YP.getBrowser(),os:YP.getOperatingSystem(),request:e,screenResolution:`${window.screen.width}x${window.screen.height}`,viewportResolution:`${window.innerWidth}x${window.innerHeight}`}}getEventMetadata(e){return{client:{name:`${this.name}.ts`,version:nF.version,region:this.getRegionByName(this.options.regionName)},timestamp:new Date().toISOString(),eventVersion:e.eventVersion}}getRegionByName(e){let t;return Object.values(JN).forEach(n=>{n.systemName===e&&(t=n)}),t}normalizeYearGroup(e){return e?e.toLowerCase().split(` `).join(`_`):iF}logError(e,t,...n){if(this.options.logError&&this.options.logError(e,...n),t)throw e}},oF=class e extends fe{static{this.type=`BaseAnalyticsClient`}constructor(e){super(e)}shouldLog(e){return!0}log(e){}isType(t){return t===e.type}};e();var sF=class extends oF{get name(){return`DebuggerClient`}shouldLog(){return k.isDevelopment}log(e){let t=x(e);for(let n in e){let e=t[n];(e instanceof z||e instanceof se)&&(t[n]=e.toJSON())}console.log(`Event Debugger: `,t)}},cF={Lite:`lite.web`,Curator:`curator.web`,Analytics:`analytics.web`,StreamableLearning:`streamablelearning.web`,Cloud:`cloud.web`,Exchange:`exchange.web`},lF={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)/},uF=`Unknown`;function dF(e,t,n){let[r]=t.exec(n)||[];return r||=uF,{browser:e,version:r}}function fF(e,t,n){if(!t)return{os:e,version:uF};let r=t.exec(n);return{os:e,version:r&&r.length?r[0].trim():uF}}function pF(e,t){let n={os:e};return lF.win2000.test(t)&&(n.version=`2000`),lF.winXP.test(t)&&(n.version=`XP`),lF.winVista.test(t)&&(n.version=`Vista`),lF.win7.test(t)&&(n.version=`7`),lF.win8.test(t)&&(n.version=`8`),lF.win81.test(t)&&(n.version=`8.1`),lF.win10.test(t)&&(n.version=`10`),n.version||=uF,n}var mF={getDeviceType(){let e=window.navigator.userAgent;return lF.mobileDevice.test(e)?lF.iphone.test(e)?`iPhone`:lF.ipad.test(e)?`iPad`:lF.android.test(e)?`Android`:lF.blackberry.test(e)?`Blackberry`:lF.windowsPhone.test(e)?`Windows Phone`:uF:`Desktop`},getOperatingSystem(){let e=window.navigator.userAgent;return lF.android.test(e)?fF(`Android`,lF.androidVersion,e):lF.iphone.test(e)||lF.ipad.test(e)||navigator.platform===`MacIntel`&&navigator.maxTouchPoints>1?fF(`iOS`,lF.iosVersion,e):lF.linux.test(e)?fF(`Linux`,null,e):lF.unix.test(e)?fF(`Unix`,null,e):lF.mac.test(e)?fF(`Macintosh`,lF.osxVersion,e):lF.windows.test(e)?pF(`Windows`,e):lF.blackberry.test(e)?fF(`BlackBerry`,lF.blackberryVersion,e):lF.windowsPhone.test(e)?fF(`Windows Phone`,lF.windowsPhoneVersion,e):{os:uF,version:uF}},getBrowser(){let e=window.navigator.userAgent;return lF.chrome.test(e)?dF(`Chrome`,lF.generalVersion,e):lF.firefox.test(e)?dF(`Firefox`,lF.generalVersion,e):lF.safari.test(e)?dF(`Safari`,lF.generalVersion,e):lF.ie.test(e)?dF(`Internet Explorer`,lF.ieVersion,e):lF.edge.test(e)?dF(`Edge`,lF.edgeVersion,e):lF.opera.test(e)?dF(`Opera`,lF.operaVersion,e):{browser:uF,version:uF}},isTouchScreen(){return!!(`ontouchstart`in window||navigator.maxTouchPoints)},isTabletOrMobile(){return mF.isTouchScreen()?lF.tablet.test(navigator.userAgent)||lF.mobile.test(navigator.userAgent):!1},isAndroid(){return mF.getOperatingSystem().os===`Android`},isIOS(){return mF.getOperatingSystem().os===`iOS`}},hF=class e extends fe{static{this.type=`BaseAnalyticsEnricher`}enrich(e,t){}isType(t){return t===e.type}},gF=class extends hF{constructor(e){super(e),this.productName=e.productName,this.productVersion=e.productVersion}get name(){return`CoreContextEnricher`}shouldEnrich(e){return!0}enrich(e,t){this.shouldEnrich(e)||t(e),e.enrich(`coreContext`,this.getCoreContext()),t(e)}getCoreContext(){return{timestamp:this.getTimestamp(),product:this.getProductInfo(),request:this.getRequestInfo(),client:this.getClientInfo()}}getTimestamp(){return En.getUtcISOString()}getProductInfo(){return{name:this.productName,version:this.productVersion}}getRequestInfo(){return{referrer:ye.GetCurrentReferrer(),requestUrl:ye.GetCurrentUrl()}}getClientInfo(){let e=mF.getOperatingSystem(),t=mF.getBrowser();return{os:e.os,osVersion:e.version,browser:t.browser,browserVersion:t.version,screenResolution:`${window.screen.width}x${window.screen.height}`,viewportResolution:`${window.innerWidth}x${window.innerHeight}`}}},_F=B(be());e();var vF=class extends _F.MnObject{},yF=class extends vF{get name(){return`EventTransport`}get channelName(){return`event:transport`}publish(e){this.getChannel().trigger(le.Outlet,e)}subscribe(e){let t=e,n=n=>{mt.isFunction(t.shouldLog)&&!t.shouldLog(n)||e.log(n)};R(t.listenTo)?t.listenTo(this.getChannel(),le.Outlet,n):this.listenTo(this.getChannel(),le.Outlet,n)}};function bF(e){return!UP.isObject(e)||!UP.isObject(e.actionContext)?{}:{entity:e.actionContext.entity,location:e.actionContext.location,descriptor:e.actionContext.descriptor}}function xF(e){let t={},n=(e,t)=>{switch(t){case`description`:return w.ValueUpdated;case`channel`:case`rating`:case`series`:case`distributor`:case`producer`:return e&&e.id||w.EntityRemoved;default:return e}};return Object.keys(e).forEach(r=>{t[r]=n(e[r],r)}),t}var SF={passthrough(e){return e},getEditData(e,t){let{entity:n,location:r}=bF(t);return n===de.Video&&r===D.EditVideoDetails?xF(e):e}},$={allow:()=>!0,restrict:()=>!1},CF={getShareData(e){let{id:t,search:n,pagePositionIndex:r,shareId:i,shareType:a}=e,o={id:t,search:n,pagePositionIndex:r,shareId:i,shareType:a};return e.video?.id&&(o.video={id:e.video.id}),e.clip?.id&&(o.clip={id:e.clip.id},e.clip.video?.id&&(o.video={id:e.clip.video?.id})),e.shareCount!==void 0&&(o.shareCount=e.shareCount),e.embedDetails&&(o.embedDetails=e.embedDetails),o}},wF={getUploadData(e,t){let{entity:n}=t.actionContext;if(n===de.Video)return wF.formatVideoUpload(e,t);if(n===de.Resource||n===de.Subtitle)return wF.formatResourceUpload(e);if(n===de.Banner||n===de.Thumbnail||n===de.MixedMedia)return e;throw Error(`Upload data event not correctly formatted.`)},formatVideoUpload(e,t){let{workflowPhase:n}=t.actionContext;if(n===p.Start)return wF.getStartVideoUploadData(e);if(n===p.Discard)return wF.getDiscardVideoUploadData(e);if(n===p.Complete)return wF.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){let t=t=>{let{type:n,name:r,status:i,cvUpload:a}=t.file,o={fileName:r,count:Array.isArray(e)?e.length:1,type:n,status:i};return t.progress&&(o.progress=t.progress.toFixed(2)),a&&(o.uploadId=a.uploadId),o};return Array.isArray(e)?e.map(e=>t(e)):[t(e)]},getCompleteUploadData(e){return!e||!e.length?[]:e.map(t=>{let{fileName:n,libraryId:r,folderId:i,autoCaption:a}=t;return{fileName:n,libraryId:r,folderId:i,autoCaption:a,count:e.length}})},formatResourceUpload(e){let{id:t,name:n}=e,r={id:t,name:n};return UP.isObject(e.metadata)&&(r.type=e.metadata.type),r}},TF={[C.Navigate]:$.restrict,[C.Click]:$.allow,[C.Search]:$.allow,[C.InstantSearch]:$.allow,[C.Play]:$.allow,[C.Stream]:$.allow,[C.WebPlayerStream]:$.allow,[C.StreamProgress]:$.allow,[C.PreviewStreamProgress]:$.allow,[C.StreamBuffering]:$.allow,[C.Rename]:$.allow,[C.Move]:$.allow,[C.Create]:$.allow,[C.Delete]:$.allow,[C.Associate]:$.allow,[C.Dissociate]:$.allow,[C.Filter]:$.allow,[C.Sort]:$.allow,[C.Approve]:$.allow,[C.Reject]:$.allow,[C.Disable]:$.allow,[C.Upload]:$.allow,[C.Download]:$.allow,[C.SetAccess]:$.allow,[C.AddToLocalCache]:$.restrict,[C.Share]:$.allow,[C.Unshare]:$.allow,[C.Edit]:$.allow,[C.Suggest]:$.allow,[C.Favourite]:$.allow,[C.WorkspaceAdd]:$.allow,[C.ResolveWarning]:$.allow,[C.DismissWarning]:$.allow,[C.EditAssoc]:$.allow,[C.Follow]:$.allow,[C.Print]:$.allow,[C.Copy]:$.allow,[C.Activate]:$.allow,[C.VerifyEmail]:$.allow,[C.ChangePassword]:$.allow,[C.Export]:$.allow,[C.SendEmail]:$.allow,[C.Publish]:$.allow,[C.Submit]:$.allow,[C.Complete]:$.allow,[C.Archive]:$.allow,[C.Promote]:$.allow,[C.Demote]:$.allow,[C.BulkAction]:$.allow,[C.Remove]:$.allow,[C.Dismiss]:$.allow,[C.Open]:$.allow,[C.Hide]:$.allow,[C.PageView]:$.allow,[C.Select]:$.allow,[C.SwitchCustomer]:$.allow,[C.Focus]:$.allow,[C.Blur]:$.allow,[C.Hover]:$.allow,[C.Unhover]:$.allow},EF={[C.Search]:SF.passthrough,[C.InstantSearch]:SF.passthrough,[C.Play]:SF.passthrough,[C.Stream]:SF.passthrough,[C.StreamProgress]:SF.passthrough,[C.PreviewStreamProgress]:SF.passthrough,[C.StreamBuffering]:SF.passthrough,[C.Click]:SF.passthrough,[C.Filter]:SF.passthrough,[C.Sort]:SF.passthrough,[C.SetAccess]:SF.passthrough,[C.Approve]:SF.passthrough,[C.Reject]:SF.passthrough,[C.Create]:SF.passthrough,[C.Delete]:SF.passthrough,[C.Rename]:SF.passthrough,[C.Move]:SF.passthrough,[C.Edit]:SF.passthrough,[C.Share]:CF.getShareData,[C.Disable]:SF.passthrough,[C.Suggest]:SF.passthrough,[C.Upload]:wF.getUploadData,[C.ResolveWarning]:SF.passthrough,[C.DismissWarning]:SF.passthrough,[C.Follow]:SF.passthrough,[C.Print]:SF.passthrough,[C.Copy]:SF.passthrough},DF={[C.Search]:()=>`search`,[C.InstantSearch]:()=>`search`,[C.Filter]:()=>`filter`,[C.Stream]:()=>de.Video},OF={user:`target_user`,product:`target_product`},kF={[C.StreamProgress]:!0,[C.WebPlayerStream]:!0,[C.PreviewStreamProgress]:!0,[C.StreamBuffering]:!0},AF={shouldLog(e){return!!TF[e.type](e)},formatData(e){let t=EF[e.type],n=UP.isFunction(t)?t(e.data,e):e.data;if(kF[e.type])return n;let r=e.actionContext.entity;return UP.isFunction(DF[e.type])&&(r=DF[e.type](e)),OF[r]&&(r=OF[r]),{[r]:n}}},jF=`staff`;async function MF(e){try{return await bt(e.store,In.accessPolicy())}catch{return null}}var NF={async getUser(e){let t=await bt(e.store,In.currentUser());if(!t.isAuthenticated)return null;let n=bt(e.store,Sj.customer(t.customerId)),r=bt(e.store,In.user(t.id)),i=MF(e);return NF.mapCurrentUserToAnalyticsUser(t,await r,await n,await i)},mapCurrentUserToAnalyticsUser(e,t,n,r){let i=GA.getUserType(t);return{id:e?.id,countryCode:e?.countryCode,contentRegion:e?.contentRegion,instanceRegion:e?.instanceRegion,customerId:e?.customerId,customerGuid:n?.customerGuid,customerName:e?.customerName,crmId:n?.crmId,role:e?.role,sessionId:e?.sessionId,userGroup:i,yearGroup:i===BA.Staff?jF:t?.masterYearGroup?.name,accessPolicy:r?.id}}},PF={logError(e,...t){mt.isFunction(trackJs?.track)&&(t&&mt.isFunction(trackJs.console?.info)&&trackJs.console.info(...t),trackJs.track(e))}};async function FF(e,t){let[n,r]=await Promise.all([bt(e.store,In.currentUser()),bt(e.store,GS.config())]),i=bt(e.store,GS.version()),a=new AN({user:n,config:r});pC.registerSingleton(a),a.registerTransport(yF),a.registerClient(sF);let o=await i;a.registerClient(aF,{productName:cF.Exchange,productVersion:o,regionName:n.instanceRegion,collectionApiUrls:r.collectionApiUrls,collectionApiClientId:r.collectionApiClientId,getUser:()=>NF.getUser(e),shouldLog:AF.shouldLog,formatData:AF.formatData,logError:PF.logError,logUtmParameters:!0}),a.registerEnricher(gF,{productName:`ClickView Exchange`,productVersion:o}),t(e)}async function IF(e,t){try{let t=await bt(e.store,GS.config()),n=await bt(e.store,In.currentUser());ij.initialize({product:Jb.Primary,liteSupportSiteUrl:t.liteSupportSiteUrl,instanceRegion:n.instanceRegion})}finally{t(e)}}var LF={locale(){return{url:`/api/locale`,key:`locale`,bootstrapName:Fn.LOCALE}},phrases(){return{url:`/api/phrases`,key:`phrases`,bootstrapName:Fn.PHRASES}}};async function RF(e,t){let n;try{n=bt(e.store,LF.phrases());let t=bt(e.store,LF.locale());Ft.setConfig({locale:await t,phrases:await n})}catch(e){console.error(e)}finally{t(e)}}e();var zF=class extends fe{constructor(e){super(),this.size=e.size,this.cache={},this.cachedkeys=[],this.store=e.store}get name(){return Pj.Fifo}removeCacheKey(e){this.cachedkeys=c(this.cachedkeys,e)}has(e){return!!this.cache[e]}get(e){return this.cache[e]}set(e,t){(!e||!t)&&y.throw(new M(`Must provide a cache key and a value to cache in FifoMemoryCache.`)),this.has(e)&&this.removeCacheKey(e),this.cachedkeys.push(e),this.cache[e]=t,this.cachedkeys.length>this.size&&delete this.cache[this.cachedkeys.shift()]}getOrSet(e,t){if(this.has(e))return this.get(e);let n=t();return this.set(e,n),n}remove(e){return this.has(e)?(delete this.cache[e],this.removeCacheKey(e),!0):!1}invalidate(e,t,n=!1){let r=u(this.cachedkeys,this.cachedkeys),i=[];_(e,e=>{r[e]&&i.push(e);let t=new RegExp(e,`i`),n=l(r,e=>t.test(e));i.push(...n)}),i.length&&(i=s(i),_(i,e=>{delete this.cache[e],R(t)&&t(e)}),this.cachedkeys=c(this.cachedkeys,...i)),!(!this.store||!n)&&this.store.dispatch({type:yt.INVALIDATE,keys:e})}};function BF(e,t){pC.registerInstance(zF,{size:100}),t(e)}var VF=function(e){return 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}({}),HF={type:VF.Unknown,message:``,code:0},UF={parseErrorMessage(e,t,n){if(!n||!n.errorCode)return e[t];let r=`${n.errorCode}`;return n.errorSubCode&&(r+=`.${n.errorSubCode}`),e[r]||e[t]}};e();var WF=class extends _F.MnObject{constructor(e){super(e),tx.default.ajaxSetup({cache:e.cacheRequests??!1,contentType:`application/json; charset=utf-8`}),this.successMiddleware={},this.errorMiddleware={},this.dataServiceErrorMessageMappings=e.dataServiceErrorMessageMappings,this.defaultErrorMessageKey=e.defaultErrorMessageKey}get name(){return Fj.Ajax}parseUrl(e){let t=document.createElement(`a`);return t.href=e,t.host===``&&(t.href=t.href),t}makeHttps(e){let t=this.parseUrl(e);return t.protocol===`http:`&&(t.protocol=`https:`),t.href}base(e,t,n,r={}){n||=Mt.GET;let i=I.defaults(r,{forceHttps:!1}),a={url:e,method:n,type:n};t&&(a.data=n===Mt.POST||n===Mt.PUT?JSON.stringify(t):t),i.forceHttps&&(a.url=this.makeHttps(a.url)),i.traditional&&(a.traditional=i.traditional);let o=tx.default.ajax(a);return I.keys(this.successMiddleware).length&&o.done(I.values(this.successMiddleware)),I.keys(this.errorMiddleware).length&&o.fail(I.values(this.errorMiddleware)),o}create(e,t,n){let{channel:r,successEvent:i,errorEvent:a}=n;this.base(e,t,Mt.POST).done((e,t,n)=>r.trigger(i,e,t,n)).fail((e,t,n)=>r.trigger(a,e,t,n))}read(e,t){let{channel:n,successEvent:r,errorEvent:i}=t;this.base(e,null,Mt.GET).done((e,t,i)=>{n.trigger(r,e,t,i)}).fail((e,t,r)=>{n.trigger(i,e,t,r)})}update(e,t,n){let{channel:r,successEvent:i,errorEvent:a}=n;this.base(e,t,Mt.PUT).done((e,t,n)=>r.trigger(i,e,t,n)).fail((e,t,n)=>r.trigger(a,e,t,n))}delete(e,t){let{channel:n,successEvent:r,errorEvent:i}=t;this.base(e,null,Mt.DELETE).done((e,t,i)=>n.trigger(r,e,t,i)).fail((e,t,r)=>n.trigger(i,e,t,r))}useMiddleware(e,t){this.successMiddleware[e]||(this.successMiddleware[e]=t)}useErrorMiddleware(e,t){this.errorMiddleware[e]||(this.errorMiddleware[e]=t)}parseError(e){let t=e.responseJSON,n=HF;switch(n.code=e.status,n.message=UF.parseErrorMessage(this.dataServiceErrorMessageMappings,this.defaultErrorMessageKey,t),e.status){case 400:n.type=VF.BadRequest;break;case 401:n.type=VF.Unauthorized;break;case 403:n.type=VF.Forbidden;break;case 404:n.type=VF.NotFound;break;case 500:n.type=VF.InternalServer;break}return n}};function GF(e,t){pC.registerSingleton(new WF({dataServiceErrorMessageMappings:{temp:`Error`},defaultErrorMessageKey:`temp`,cacheRequests:!0})),t(e)}var KF=new S({region:`#app`,layoutService:new ae({})});KF.addInitializationStep(Mj).addInitializationStep(BF).addInitializationStep(GF).addInitializationStep(ON).addInitializationStep(RF).addInitializationStep(FM).addInitializationStep(FF).addInitializationStep(fA).addInitializationStep(lC).addInitializationStep(IF),KF.addStartUpStep(Nj),KF.start();export{VS as $,oA as A,wk as B,IA as C,DA as D,AA as E,Uk as F,SC as G,yk as H,Wk as I,uC as J,xC as K,Hk as L,Jk as M,Kk as N,TA as O,Gk as P,WS as Q,Nk as R,LA as S,ka as St,jA as T,EC as U,pk as V,wC as W,KS as X,dC as Y,GS as Z,ZA as _,Qc as _t,HP as a,Jb as at,BA as b,Za as bt,yN as c,Pp as ct,gM as d,Bd as dt,BS as et,Zj as f,Md as ft,xj as g,Ol as gt,bj as h,jl as ht,aF as i,Xb as it,aA as j,xA as k,fN as l,Np as lt,Sj as m,Uu as mt,AF as n,PS as nt,qN as o,Hb as ot,Yj as p,Od as pt,pC as q,mF as r,Yx as rt,bN as s,Bb as st,PF as t,LS as tt,EM as u,Ep as ut,GA as v,Ds as vt,PA as w,zA as x,za as xt,VA as y,co as yt,Pk as z};
14
- //# sourceMappingURL=app-DDrsm5nt.js.map
14
+ //# sourceMappingURL=app-CgkYY4K0.js.map