@abtnode/webapp 1.17.8-beta-20260108-021819-e099f0ca → 1.17.8-beta-20260108-224855-28496abb

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (191) hide show
  1. package/blocklet.js +1 -1
  2. package/blocklet.yml +1 -1
  3. package/dist/assets/{AdapterDayjs-Chnfr9fe.js → AdapterDayjs-CtD5my-S.js} +1 -1
  4. package/dist/assets/{Add-b-MNk7UB.js → Add-CVe35B9U.js} +1 -1
  5. package/dist/assets/ArrowDropDown-59b471Ns.js +1 -0
  6. package/dist/assets/{Autocomplete-79tADtg2.js → Autocomplete-CZdtlRmS.js} +1 -1
  7. package/dist/assets/{Breadcrumbs-Cqjt-kp8.js → Breadcrumbs-DOWk4s-Q.js} +1 -1
  8. package/dist/assets/{ButtonGroup-C_JbniJW.js → ButtonGroup-83J5hh2q.js} +1 -1
  9. package/dist/assets/{CSSTransition-DinXVMZy.js → CSSTransition-Dmpq-B51.js} +1 -1
  10. package/dist/assets/{CallMerge-CF5jo3Pw.js → CallMerge-CZNqia3S.js} +1 -1
  11. package/dist/assets/{CardContent-CYNmFsYJ.js → CardContent-DXDn75TD.js} +1 -1
  12. package/dist/assets/{ChevronLeft-Byy2_Dj8.js → ChevronLeft-B8v-crqw.js} +1 -1
  13. package/dist/assets/{ChevronRight-BKFXnJ7g.js → ChevronRight-DIxNh4jH.js} +1 -1
  14. package/dist/assets/{Clear-Chg9fOPG.js → Clear-kzRbvP4u.js} +1 -1
  15. package/dist/assets/{Delete-B306vkSB.js → Delete-Cw_Z_UMc.js} +1 -1
  16. package/dist/assets/{DeleteOutline-BjSm7PCr.js → DeleteOutline-D2i9YJBS.js} +1 -1
  17. package/dist/assets/{Done-Bh0vP7e6.js → Done-CmV6TZSG.js} +1 -1
  18. package/dist/assets/{Edit-DFmlgA7E.js → Edit-DDUKSYdb.js} +1 -1
  19. package/dist/assets/{EditOutlined-Qskj3-tY.js → EditOutlined-MUSbzQj_.js} +1 -1
  20. package/dist/assets/{ErrorOutline-CjKNiJFO.js → ErrorOutline-jxA-S5AH.js} +1 -1
  21. package/dist/assets/{FilterList-Dphn1UXx.js → FilterList-B8T7rkYs.js} +1 -1
  22. package/dist/assets/{Google-C0G3l0jL.js → Google-Bg8SlDZS.js} +1 -1
  23. package/dist/assets/{HelpOutline--A0maMxb.js → HelpOutline-BOrIHXkQ.js} +1 -1
  24. package/dist/assets/{KeyboardArrowDown-CD6n37Y9.js → KeyboardArrowDown-CE7zJDcv.js} +1 -1
  25. package/dist/assets/{Launch-Cor8d4pT.js → Launch-BHeCrhBj.js} +1 -1
  26. package/dist/assets/{Link-Mg5UlAaZ.js → Link-C39j8j-1.js} +1 -1
  27. package/dist/assets/{ListItemButton-C8XIzvy_.js → ListItemButton-DLzzgnWj.js} +1 -1
  28. package/dist/assets/{ListSubheader-CHT01bOG.js → ListSubheader-BgTycqrg.js} +1 -1
  29. package/dist/assets/{LoadingButton-DtnAWL1w.js → LoadingButton-OiBPqmL8.js} +1 -1
  30. package/dist/assets/{MoreVert-KNjOpSoE.js → MoreVert-DJQ3tC1s.js} +1 -1
  31. package/dist/assets/{OpenInNew-DGDd5qxt.js → OpenInNew-awII5Ys1.js} +1 -1
  32. package/dist/assets/{Refresh-B0_3c6OW.js → Refresh-BpllOjUS.js} +1 -1
  33. package/dist/assets/{Replay-BzP784vV.js → Replay-CMmg_T4k.js} +1 -1
  34. package/dist/assets/{Search-CUoYhy1v.js → Search-DobdZczv.js} +1 -1
  35. package/dist/assets/{Stepper-DfUO9buC.js → Stepper-DJ4LlLol.js} +1 -1
  36. package/dist/assets/{TableSearch-DxZYknBa.js → TableSearch-NL7mGzF6.js} +1 -1
  37. package/dist/assets/{ToggleButtonGroup-BwLu2zCu.js → ToggleButtonGroup-1ZqP29sD.js} +1 -1
  38. package/dist/assets/{UnfoldMore-DvSw9pGy.js → UnfoldMore-BNE7Q7I9.js} +1 -1
  39. package/dist/assets/{Verified-CfonAx-G.js → Verified-pVnWh8ct.js} +1 -1
  40. package/dist/assets/{VerifiedUser-wCwGdsz1.js → VerifiedUser-Bq5EjyL0.js} +1 -1
  41. package/dist/assets/{ViewList-DhdvL6AT.js → ViewList-DikGBOob.js} +1 -1
  42. package/dist/assets/{_createAggregator-BLxu5C4t.js → _createAggregator-xAuoCETp.js} +1 -1
  43. package/dist/assets/{actions-Wo9kGXdj.js → actions-BHqqnvHK.js} +1 -1
  44. package/dist/assets/{actions-D1YtdqKL.js → actions-QNxlOGpH.js} +1 -1
  45. package/dist/assets/{agreement-07HiBYSX.js → agreement-D-rCiZRR.js} +1 -1
  46. package/dist/assets/api-ZR56mSDv.js +1 -0
  47. package/dist/assets/{appearance-CKF7Bo6h.js → appearance-CL4dIHJL.js} +1 -1
  48. package/dist/assets/{audit-logs-CLt2l7-q.js → audit-logs-BHIFDkts.js} +1 -1
  49. package/dist/assets/{base-chart-_0APPWGp.js → base-chart-CbniXo_r.js} +1 -1
  50. package/dist/assets/{blocklet-ClPWX-SV.js → blocklet-e4asDkfP.js} +1 -1
  51. package/dist/assets/{chain-Bg9mny_E.js → chain-CADjEEjt.js} +1 -1
  52. package/dist/assets/{click-to-copy-BbJJzGI1.js → click-to-copy-D5SbepAS.js} +1 -1
  53. package/dist/assets/cloneDeep-ChH4oif_.js +1 -0
  54. package/dist/assets/{config-navigation-B-CtKO70.js → config-navigation-ySXIDWww.js} +3 -3
  55. package/dist/assets/{connect-2JDWTFDP.js → connect-CdvuGCCf.js} +1 -1
  56. package/dist/assets/{connect-to-CBEHT895.js → connect-to-98MGJ7Yl.js} +1 -1
  57. package/dist/assets/{cssMode-U7KzpQEJ.js → cssMode-C_dsdlzf.js} +1 -1
  58. package/dist/assets/{delete-confirm-Cx4JPY2I.js → delete-confirm-Dk2gUSc_.js} +1 -1
  59. package/dist/assets/depsEqual-D1oKMHHx.js +1 -0
  60. package/dist/assets/{detail-Cgws9Fjd.js → detail-BSLJegmW.js} +3 -3
  61. package/dist/assets/{domains-BJzrDugH.js → domains-DgPIevHh.js} +1 -1
  62. package/dist/assets/{download-Df1TrhTI.js → download-DjUrRSaE.js} +1 -1
  63. package/dist/assets/{edit.svg-833vjqGH.js → edit.svg-BGFHNdYl.js} +1 -1
  64. package/dist/assets/emotion-cache.browser.esm-CO4m2LjK.js +1 -0
  65. package/dist/assets/engine-AOyfq5pg.js +1 -0
  66. package/dist/assets/{freemarker2-J5nZkQuM.js → freemarker2-Ynl3hbRt.js} +1 -1
  67. package/dist/assets/{get-safe-url-QppwE77w.js → get-safe-url-D0pcxgUJ.js} +1 -1
  68. package/dist/assets/getValidReactChildren-BrnINUbd.js +1 -0
  69. package/dist/assets/{graphqlMode-5yY_akok.js → graphqlMode-D3ZzOvwh.js} +2 -2
  70. package/dist/assets/{handlebars-DfBT6Rl2.js → handlebars-BXtXOFnU.js} +1 -1
  71. package/dist/assets/{html-BBpT31Z8.js → html-68WkZj1H.js} +1 -1
  72. package/dist/assets/{html-title-BpNgi7iw.js → html-title-CT8s_pnR.js} +1 -1
  73. package/dist/assets/{htmlMode-CDF4YwlA.js → htmlMode-D6dQwFeL.js} +1 -1
  74. package/dist/assets/{iframe-CH8rbppJ.js → iframe-BzTEh7qO.js} +1 -1
  75. package/dist/assets/{index-jHF3D4cy.js → index-AoP-pJu3.js} +1 -1
  76. package/dist/assets/{index-B8qqbKQt.js → index-B-25u8Uu.js} +1 -1
  77. package/dist/assets/index-B1_4iuGC.js +782 -0
  78. package/dist/assets/{index-tNmk7CjJ.js → index-BAYzgNzt.js} +1 -1
  79. package/dist/assets/{index-BdVOugOI.js → index-BFzkIx2h.js} +1 -1
  80. package/dist/assets/index-BQ9Dluv4.js +1 -0
  81. package/dist/assets/{index-B3tcK3_z.js → index-BTw_aopw.js} +14 -14
  82. package/dist/assets/{index-Dr7VuVvC.js → index-BV0mjh6r.js} +1 -1
  83. package/dist/assets/{index-DSjaZAu3.js → index-BaJk36L1.js} +1 -1
  84. package/dist/assets/{index-BJVvRV0h.js → index-BazbEWXv.js} +1 -1
  85. package/dist/assets/{index-CsTd8Q4H.js → index-Bd2vWvMu.js} +1 -1
  86. package/dist/assets/{index-CbnvHmOA.js → index-Bmj3JRL8.js} +1 -1
  87. package/dist/assets/{index-DCHzmqFc.js → index-BspQeR3D.js} +1 -1
  88. package/dist/assets/{index-CKWS_NIP.js → index-Bwnzqjf1.js} +1 -1
  89. package/dist/assets/{index-B4fcaU-r.js → index-CB1i_uf2.js} +1 -1
  90. package/dist/assets/{index-DqkfLKvE.js → index-CIjzdo65.js} +1 -1
  91. package/dist/assets/{index-CDd3s2GI.js → index-CVfXb0nN.js} +1 -1
  92. package/dist/assets/{index-CaxsY_au.js → index-CmbSgUyL.js} +3 -3
  93. package/dist/assets/{index-BikUP_wv.js → index-Cmvy-qPR.js} +1 -1
  94. package/dist/assets/{index-BVJB29cJ.js → index-Cp8XtCdH.js} +1 -1
  95. package/dist/assets/{index-BSBkhGl0.js → index-Cq78KErH.js} +1 -1
  96. package/dist/assets/{index-WHQs_PkC.js → index-Cy488fNr.js} +1 -1
  97. package/dist/assets/{index-B6x6Mq9n.js → index-D2bmvDtL.js} +1 -1
  98. package/dist/assets/{index-Crqqt-AN.js → index-D33KlJUT.js} +1 -1
  99. package/dist/assets/{index-3MwDYHdN.js → index-DA7EVQ4v.js} +9 -9
  100. package/dist/assets/{index-DXfP6ckA.js → index-DDI8UY6T.js} +2 -2
  101. package/dist/assets/{index-BBe9oV9e.js → index-DLJTQrAL.js} +1 -1
  102. package/dist/assets/{index-Bek3Nxot.js → index-DQhyMeoV.js} +3 -3
  103. package/dist/assets/{index-D_L4A5jU.js → index-DVXDeiLF.js} +1 -1
  104. package/dist/assets/{index-m8sITmne.js → index-DXHVn7yq.js} +1 -1
  105. package/dist/assets/{index-BbND9whL.js → index-Da8PZ-lu.js} +1 -1
  106. package/dist/assets/{index-iqFfmV_z.js → index-DfDHgwS-.js} +1 -1
  107. package/dist/assets/{index-BqrWLXQw.js → index-Dpw7fQUd.js} +3 -3
  108. package/dist/assets/{index-DrsAyGr6.js → index-DuNah4NO.js} +1 -1
  109. package/dist/assets/{index-BHQcEGDq.js → index-DvMdH51T.js} +1 -1
  110. package/dist/assets/{index-CBHMH4Z7.js → index-DxFY8dMO.js} +1 -1
  111. package/dist/assets/{index-cZdqepfp.js → index-Dz1ZwZ8x.js} +1 -1
  112. package/dist/assets/{index-0NOALS_P.js → index-Fir5RRo8.js} +1 -1
  113. package/dist/assets/{index-FdUIQyuT.js → index-Fr0im6-l.js} +1 -1
  114. package/dist/assets/{index-DJfXtT-f.js → index-Jt9YjCeK.js} +1 -1
  115. package/dist/assets/{index-CHgpIuFF.js → index-Ltxc7YUP.js} +1 -1
  116. package/dist/assets/{index-BfTQCMKf.js → index-LvA6paIR.js} +1 -1
  117. package/dist/assets/{index-CbK68mel.js → index-ZuJcpT1T.js} +1 -1
  118. package/dist/assets/{index-BfnrUUfH.js → index-bAcW8HYF.js} +1 -1
  119. package/dist/assets/{index-BRSm_uSW.js → index-teas2Eib.js} +3 -3
  120. package/dist/assets/{index-CZX-K9Eg.js → index-yR3ovHMI.js} +1 -1
  121. package/dist/assets/{index.esm-WZ7Avw4n.js → index.esm-CL88L2RD.js} +1 -1
  122. package/dist/assets/{install-from-url-PuHPLadE.js → install-from-url-C9wGB_q1.js} +1 -1
  123. package/dist/assets/{invitation-Bi2QgUpB.js → invitation-DBHFAKTZ.js} +1 -1
  124. package/dist/assets/{is-path-prefix-equal-BAfeJQQq.js → is-path-prefix-equal-Df12gAPj.js} +1 -1
  125. package/dist/assets/{item-hbtsGcq0.js → item-D4OgvExU.js} +1 -1
  126. package/dist/assets/{javascript-CH6uPFyX.js → javascript-CY8tPfqG.js} +1 -1
  127. package/dist/assets/{jsonMode-B3mvgwT0.js → jsonMode-B1lllzUE.js} +1 -1
  128. package/dist/assets/{liquid-BoDus-ho.js → liquid-gpD4GU-k.js} +1 -1
  129. package/dist/assets/{list-header-C3SJDsfy.js → list-header-CjwjgfKp.js} +1 -1
  130. package/dist/assets/{lock.svg-CGmlgpmU.js → lock.svg-BmAm_LJl.js} +1 -1
  131. package/dist/assets/{log-D4BWVj7G.js → log-9z7r8Lwt.js} +1 -1
  132. package/dist/assets/{lottie-react.esm-ayFZjR4e.js → lottie-react.esm-C8kqAAU9.js} +1 -1
  133. package/dist/assets/{mdx-C33wkq6H.js → mdx-BwNO0Air.js} +1 -1
  134. package/dist/assets/{memory-lh5QZ4zg.js → memory-DO3ZqhrY.js} +1 -1
  135. package/dist/assets/{metric-chc-qmc8.js → metric-BcTiOrOk.js} +1 -1
  136. package/dist/assets/omit-jBEByUQC.js +1 -0
  137. package/dist/assets/{overview-DL-GP40o.js → overview-CikmJX9H.js} +1 -1
  138. package/dist/assets/{permission-D09K4EY6.js → permission-D1opDJhT.js} +1 -1
  139. package/dist/assets/{preference-iiwdIYk6.js → preference-Cs7lm-MF.js} +3 -3
  140. package/dist/assets/{provider-icon-Dm9XYo2I.js → provider-icon-CFKcu3V6.js} +1 -1
  141. package/dist/assets/{python-D_lYYAX1.js → python-CNXRlmYQ.js} +1 -1
  142. package/dist/assets/{raf-schd.esm-Bo9SYHL8.js → raf-schd.esm-D0EagQlv.js} +1 -1
  143. package/dist/assets/{razor-dpsmZHh4.js → razor-eMpDpC4X.js} +1 -1
  144. package/dist/assets/{rotate-session-key-Bfdv46s3.js → rotate-session-key-BiL0Bo_O.js} +1 -1
  145. package/dist/assets/{runtime-BUcScDcM.js → runtime-DUYT_SiT.js} +1 -1
  146. package/dist/assets/schema-iTOku2t8.js +1 -0
  147. package/dist/assets/sdk-B0lvz_Iz.js +1 -0
  148. package/dist/assets/{service-DCzLPjA3.js → service-BTdtH483.js} +1 -1
  149. package/dist/assets/{shorten-label-CN9pEyom.js → shorten-label-BNzeaF4J.js} +1 -1
  150. package/dist/assets/{simple-select-DxwJpURO.js → simple-select-BhAfKrhv.js} +1 -1
  151. package/dist/assets/{spaces-BrB8zqzV.js → spaces-OwZlXUZ4.js} +1 -1
  152. package/dist/assets/{status-BZx_J-ps.js → status-D6WlCP08.js} +1 -1
  153. package/dist/assets/{status-B-GGRrEB.js → status-cEVhL_8t.js} +1 -1
  154. package/dist/assets/{switch-control-X9WA2UjB.js → switch-control-DfH5Tjol.js} +1 -1
  155. package/dist/assets/{table-icons-Xs4hP9Pw.js → table-icons-CDTf0wL3.js} +1 -1
  156. package/dist/assets/{team-B9jB42uy.js → team-BGXKsY22.js} +1 -1
  157. package/dist/assets/{toLower-DwWNsNMJ.js → toLower-CSOmIMZJ.js} +1 -1
  158. package/dist/assets/toUpper-DnO1VFxi.js +1 -0
  159. package/dist/assets/{traffic-C_4zWOQM.js → traffic-DvCEQ5xd.js} +1 -1
  160. package/dist/assets/{tsMode-57DuREfP.js → tsMode-Let-Q8zu.js} +1 -1
  161. package/dist/assets/{typescript-BJp2b_J1.js → typescript-DyjM7FW9.js} +1 -1
  162. package/dist/assets/{url-evaluation-DetQFE_e.js → url-evaluation-Bukt7_Lj.js} +1 -1
  163. package/dist/assets/{url-join-rRKl4Ear.js → url-join-xsOaQKQ2.js} +1 -1
  164. package/dist/assets/{use-mobile-DOhPXmq7.js → use-mobile-BIQUR7Fz.js} +1 -1
  165. package/dist/assets/{use-mobile-BDRFDg8j.js → use-mobile-CFNU7YUg.js} +1 -1
  166. package/dist/assets/{useAsync-B59MJoKM.js → useAsync-tWL_hrVo.js} +1 -1
  167. package/dist/assets/{useAsyncRetry-CGp0YSlH.js → useAsyncRetry-CUFV5zTA.js} +1 -1
  168. package/dist/assets/{useLocalStorage-Dpl2DibN.js → useLocalStorage-MLO2O-Eu.js} +1 -1
  169. package/dist/assets/{useThemeProps-BS48y1B2.js → useThemeProps-C4X8Xuf-.js} +1 -1
  170. package/dist/assets/{util-DgOs7OwT.js → util-Byl4XHzq.js} +1 -1
  171. package/dist/assets/{wait-container-CxHAyAQN.js → wait-container-80uXorh3.js} +1 -1
  172. package/dist/assets/{without-wallet-qfmn1VhQ.js → without-wallet-U6nu7HMX.js} +1 -1
  173. package/dist/assets/wrap-locale-pkCcV7CX.js +1 -0
  174. package/dist/assets/{xml-BZRt8HAs.js → xml-CtKLgaY7.js} +1 -1
  175. package/dist/assets/{yaml-0X7rH3i7.js → yaml-CMyMNgnc.js} +1 -1
  176. package/dist/index.html +1 -1
  177. package/package.json +1 -1
  178. package/dist/assets/ArrowDropDown-lsZjWbH5.js +0 -1
  179. package/dist/assets/api-eF9wxSJp.js +0 -1
  180. package/dist/assets/cloneDeep-DNOsGRuG.js +0 -1
  181. package/dist/assets/depsEqual-Cvglsxh5.js +0 -1
  182. package/dist/assets/emotion-cache.browser.esm-Epiq9rij.js +0 -1
  183. package/dist/assets/engine-a9f8P0CB.js +0 -1
  184. package/dist/assets/getValidReactChildren-Cjo-LFyx.js +0 -1
  185. package/dist/assets/index-B31H3tAk.js +0 -1
  186. package/dist/assets/index-HqyXcG7M.js +0 -602
  187. package/dist/assets/omit-C11lcOpj.js +0 -1
  188. package/dist/assets/schema-DidDB4o0.js +0 -1
  189. package/dist/assets/sdk-l1r4MOQ_.js +0 -1
  190. package/dist/assets/toUpper-DXK6zXOf.js +0 -1
  191. package/dist/assets/wrap-locale-D8IL6u8L.js +0 -1
@@ -1,4 +1,4 @@
1
- import{bd as bi,j as U,br as Ie,di as rr,eD as ar,ey as un,eC as sr,r as L,J as en,ax as wi,hC as or,aQ as lr,hD as fr,h as cr,dv as dr,hE as yi,hF as ur,c3 as hr}from"./index-Bek3Nxot.js";import{a as _r,r as pr}from"./emotion-cache.browser.esm-Epiq9rij.js";/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */const gr=4,hn=0,_n=1,br=2;function Re(e){let n=e.length;for(;--n>=0;)e[n]=0}const wr=0,xi=1,yr=2,xr=3,mr=258,tn=29,We=256,je=We+1+tn,Se=30,nn=19,mi=2*je+1,be=15,yt=16,Er=7,rn=256,Ei=16,vi=17,Ni=18,Xt=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),ct=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),vr=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),ki=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Nr=512,le=new Array((je+2)*2);Re(le);const Be=new Array(Se*2);Re(Be);const He=new Array(Nr);Re(He);const Ve=new Array(mr-xr+1);Re(Ve);const an=new Array(tn);Re(an);const dt=new Array(Se);Re(dt);function xt(e,n,t,i,l){this.static_tree=e,this.extra_bits=n,this.extra_base=t,this.elems=i,this.max_length=l,this.has_stree=e&&e.length}let Ti,Ai,Si;function mt(e,n){this.dyn_tree=e,this.max_code=0,this.stat_desc=n}const Oi=e=>e<256?He[e]:He[256+(e>>>7)],Xe=(e,n)=>{e.pending_buf[e.pending++]=n&255,e.pending_buf[e.pending++]=n>>>8&255},K=(e,n,t)=>{e.bi_valid>yt-t?(e.bi_buf|=n<<e.bi_valid&65535,Xe(e,e.bi_buf),e.bi_buf=n>>yt-e.bi_valid,e.bi_valid+=t-yt):(e.bi_buf|=n<<e.bi_valid&65535,e.bi_valid+=t)},ne=(e,n,t)=>{K(e,t[n*2],t[n*2+1])},Fi=(e,n)=>{let t=0;do t|=e&1,e>>>=1,t<<=1;while(--n>0);return t>>>1},kr=e=>{e.bi_valid===16?(Xe(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)},Tr=(e,n)=>{const t=n.dyn_tree,i=n.max_code,l=n.stat_desc.static_tree,a=n.stat_desc.has_stree,f=n.stat_desc.extra_bits,s=n.stat_desc.extra_base,c=n.stat_desc.max_length;let r,o,E,_,h,v,T=0;for(_=0;_<=be;_++)e.bl_count[_]=0;for(t[e.heap[e.heap_max]*2+1]=0,r=e.heap_max+1;r<mi;r++)o=e.heap[r],_=t[t[o*2+1]*2+1]+1,_>c&&(_=c,T++),t[o*2+1]=_,!(o>i)&&(e.bl_count[_]++,h=0,o>=s&&(h=f[o-s]),v=t[o*2],e.opt_len+=v*(_+h),a&&(e.static_len+=v*(l[o*2+1]+h)));if(T!==0){do{for(_=c-1;e.bl_count[_]===0;)_--;e.bl_count[_]--,e.bl_count[_+1]+=2,e.bl_count[c]--,T-=2}while(T>0);for(_=c;_!==0;_--)for(o=e.bl_count[_];o!==0;)E=e.heap[--r],!(E>i)&&(t[E*2+1]!==_&&(e.opt_len+=(_-t[E*2+1])*t[E*2],t[E*2+1]=_),o--)}},Ii=(e,n,t)=>{const i=new Array(be+1);let l=0,a,f;for(a=1;a<=be;a++)l=l+t[a-1]<<1,i[a]=l;for(f=0;f<=n;f++){let s=e[f*2+1];s!==0&&(e[f*2]=Fi(i[s]++,s))}},Ar=()=>{let e,n,t,i,l;const a=new Array(be+1);for(t=0,i=0;i<tn-1;i++)for(an[i]=t,e=0;e<1<<Xt[i];e++)Ve[t++]=i;for(Ve[t-1]=i,l=0,i=0;i<16;i++)for(dt[i]=l,e=0;e<1<<ct[i];e++)He[l++]=i;for(l>>=7;i<Se;i++)for(dt[i]=l<<7,e=0;e<1<<ct[i]-7;e++)He[256+l++]=i;for(n=0;n<=be;n++)a[n]=0;for(e=0;e<=143;)le[e*2+1]=8,e++,a[8]++;for(;e<=255;)le[e*2+1]=9,e++,a[9]++;for(;e<=279;)le[e*2+1]=7,e++,a[7]++;for(;e<=287;)le[e*2+1]=8,e++,a[8]++;for(Ii(le,je+1,a),e=0;e<Se;e++)Be[e*2+1]=5,Be[e*2]=Fi(e,5);Ti=new xt(le,Xt,We+1,je,be),Ai=new xt(Be,ct,0,Se,be),Si=new xt(new Array(0),vr,0,nn,Er)},Ri=e=>{let n;for(n=0;n<je;n++)e.dyn_ltree[n*2]=0;for(n=0;n<Se;n++)e.dyn_dtree[n*2]=0;for(n=0;n<nn;n++)e.bl_tree[n*2]=0;e.dyn_ltree[rn*2]=1,e.opt_len=e.static_len=0,e.sym_next=e.matches=0},zi=e=>{e.bi_valid>8?Xe(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},pn=(e,n,t,i)=>{const l=n*2,a=t*2;return e[l]<e[a]||e[l]===e[a]&&i[n]<=i[t]},Et=(e,n,t)=>{const i=e.heap[t];let l=t<<1;for(;l<=e.heap_len&&(l<e.heap_len&&pn(n,e.heap[l+1],e.heap[l],e.depth)&&l++,!pn(n,i,e.heap[l],e.depth));)e.heap[t]=e.heap[l],t=l,l<<=1;e.heap[t]=i},gn=(e,n,t)=>{let i,l,a=0,f,s;if(e.sym_next!==0)do i=e.pending_buf[e.sym_buf+a++]&255,i+=(e.pending_buf[e.sym_buf+a++]&255)<<8,l=e.pending_buf[e.sym_buf+a++],i===0?ne(e,l,n):(f=Ve[l],ne(e,f+We+1,n),s=Xt[f],s!==0&&(l-=an[f],K(e,l,s)),i--,f=Oi(i),ne(e,f,t),s=ct[f],s!==0&&(i-=dt[f],K(e,i,s)));while(a<e.sym_next);ne(e,rn,n)},qt=(e,n)=>{const t=n.dyn_tree,i=n.stat_desc.static_tree,l=n.stat_desc.has_stree,a=n.stat_desc.elems;let f,s,c=-1,r;for(e.heap_len=0,e.heap_max=mi,f=0;f<a;f++)t[f*2]!==0?(e.heap[++e.heap_len]=c=f,e.depth[f]=0):t[f*2+1]=0;for(;e.heap_len<2;)r=e.heap[++e.heap_len]=c<2?++c:0,t[r*2]=1,e.depth[r]=0,e.opt_len--,l&&(e.static_len-=i[r*2+1]);for(n.max_code=c,f=e.heap_len>>1;f>=1;f--)Et(e,t,f);r=a;do f=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Et(e,t,1),s=e.heap[1],e.heap[--e.heap_max]=f,e.heap[--e.heap_max]=s,t[r*2]=t[f*2]+t[s*2],e.depth[r]=(e.depth[f]>=e.depth[s]?e.depth[f]:e.depth[s])+1,t[f*2+1]=t[s*2+1]=r,e.heap[1]=r++,Et(e,t,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],Tr(e,n),Ii(t,c,e.bl_count)},bn=(e,n,t)=>{let i,l=-1,a,f=n[0*2+1],s=0,c=7,r=4;for(f===0&&(c=138,r=3),n[(t+1)*2+1]=65535,i=0;i<=t;i++)a=f,f=n[(i+1)*2+1],!(++s<c&&a===f)&&(s<r?e.bl_tree[a*2]+=s:a!==0?(a!==l&&e.bl_tree[a*2]++,e.bl_tree[Ei*2]++):s<=10?e.bl_tree[vi*2]++:e.bl_tree[Ni*2]++,s=0,l=a,f===0?(c=138,r=3):a===f?(c=6,r=3):(c=7,r=4))},wn=(e,n,t)=>{let i,l=-1,a,f=n[0*2+1],s=0,c=7,r=4;for(f===0&&(c=138,r=3),i=0;i<=t;i++)if(a=f,f=n[(i+1)*2+1],!(++s<c&&a===f)){if(s<r)do ne(e,a,e.bl_tree);while(--s!==0);else a!==0?(a!==l&&(ne(e,a,e.bl_tree),s--),ne(e,Ei,e.bl_tree),K(e,s-3,2)):s<=10?(ne(e,vi,e.bl_tree),K(e,s-3,3)):(ne(e,Ni,e.bl_tree),K(e,s-11,7));s=0,l=a,f===0?(c=138,r=3):a===f?(c=6,r=3):(c=7,r=4)}},Sr=e=>{let n;for(bn(e,e.dyn_ltree,e.l_desc.max_code),bn(e,e.dyn_dtree,e.d_desc.max_code),qt(e,e.bl_desc),n=nn-1;n>=3&&e.bl_tree[ki[n]*2+1]===0;n--);return e.opt_len+=3*(n+1)+5+5+4,n},Or=(e,n,t,i)=>{let l;for(K(e,n-257,5),K(e,t-1,5),K(e,i-4,4),l=0;l<i;l++)K(e,e.bl_tree[ki[l]*2+1],3);wn(e,e.dyn_ltree,n-1),wn(e,e.dyn_dtree,t-1)},Fr=e=>{let n=4093624447,t;for(t=0;t<=31;t++,n>>>=1)if(n&1&&e.dyn_ltree[t*2]!==0)return hn;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return _n;for(t=32;t<We;t++)if(e.dyn_ltree[t*2]!==0)return _n;return hn};let yn=!1;const Ir=e=>{yn||(Ar(),yn=!0),e.l_desc=new mt(e.dyn_ltree,Ti),e.d_desc=new mt(e.dyn_dtree,Ai),e.bl_desc=new mt(e.bl_tree,Si),e.bi_buf=0,e.bi_valid=0,Ri(e)},Ci=(e,n,t,i)=>{K(e,(wr<<1)+(i?1:0),3),zi(e),Xe(e,t),Xe(e,~t),t&&e.pending_buf.set(e.window.subarray(n,n+t),e.pending),e.pending+=t},Rr=e=>{K(e,xi<<1,3),ne(e,rn,le),kr(e)},zr=(e,n,t,i)=>{let l,a,f=0;e.level>0?(e.strm.data_type===br&&(e.strm.data_type=Fr(e)),qt(e,e.l_desc),qt(e,e.d_desc),f=Sr(e),l=e.opt_len+3+7>>>3,a=e.static_len+3+7>>>3,a<=l&&(l=a)):l=a=t+5,t+4<=l&&n!==-1?Ci(e,n,t,i):e.strategy===gr||a===l?(K(e,(xi<<1)+(i?1:0),3),gn(e,le,Be)):(K(e,(yr<<1)+(i?1:0),3),Or(e,e.l_desc.max_code+1,e.d_desc.max_code+1,f+1),gn(e,e.dyn_ltree,e.dyn_dtree)),Ri(e),i&&zi(e)},Cr=(e,n,t)=>(e.pending_buf[e.sym_buf+e.sym_next++]=n,e.pending_buf[e.sym_buf+e.sym_next++]=n>>8,e.pending_buf[e.sym_buf+e.sym_next++]=t,n===0?e.dyn_ltree[t*2]++:(e.matches++,n--,e.dyn_ltree[(Ve[t]+We+1)*2]++,e.dyn_dtree[Oi(n)*2]++),e.sym_next===e.sym_end);var Lr=Ir,Pr=Ci,$r=zr,Zr=Cr,Br=Rr,Ur={_tr_init:Lr,_tr_stored_block:Pr,_tr_flush_block:$r,_tr_tally:Zr,_tr_align:Br};const Mr=(e,n,t,i)=>{let l=e&65535|0,a=e>>>16&65535|0,f=0;for(;t!==0;){f=t>2e3?2e3:t,t-=f;do l=l+n[i++]|0,a=a+l|0;while(--f);l%=65521,a%=65521}return l|a<<16|0};var qe=Mr;const jr=()=>{let e,n=[];for(var t=0;t<256;t++){e=t;for(var i=0;i<8;i++)e=e&1?3988292384^e>>>1:e>>>1;n[t]=e}return n},Hr=new Uint32Array(jr()),Vr=(e,n,t,i)=>{const l=Hr,a=i+t;e^=-1;for(let f=i;f<a;f++)e=e>>>8^l[(e^n[f])&255];return e^-1};var H=Vr,xe={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Je={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:Xr,_tr_stored_block:Gt,_tr_flush_block:qr,_tr_tally:_e,_tr_align:Gr}=Ur,{Z_NO_FLUSH:pe,Z_PARTIAL_FLUSH:Kr,Z_FULL_FLUSH:Yr,Z_FINISH:Q,Z_BLOCK:xn,Z_OK:V,Z_STREAM_END:mn,Z_STREAM_ERROR:ie,Z_DATA_ERROR:Wr,Z_BUF_ERROR:vt,Z_DEFAULT_COMPRESSION:Jr,Z_FILTERED:Qr,Z_HUFFMAN_ONLY:nt,Z_RLE:Dr,Z_FIXED:ea,Z_DEFAULT_STRATEGY:ta,Z_UNKNOWN:na,Z_DEFLATED:_t}=Je,ia=9,ra=15,aa=8,sa=29,oa=256,Kt=oa+1+sa,la=30,fa=19,ca=2*Kt+1,da=15,P=3,he=258,re=he+P+1,ua=32,Oe=42,sn=57,Yt=69,Wt=73,Jt=91,Qt=103,we=113,$e=666,X=1,ze=2,me=3,Ce=4,ha=3,ye=(e,n)=>(e.msg=xe[n],n),En=e=>e*2-(e>4?9:0),ue=e=>{let n=e.length;for(;--n>=0;)e[n]=0},_a=e=>{let n,t,i,l=e.w_size;n=e.hash_size,i=n;do t=e.head[--i],e.head[i]=t>=l?t-l:0;while(--n);n=l,i=n;do t=e.prev[--i],e.prev[i]=t>=l?t-l:0;while(--n)};let pa=(e,n,t)=>(n<<e.hash_shift^t)&e.hash_mask,ge=pa;const W=e=>{const n=e.state;let t=n.pending;t>e.avail_out&&(t=e.avail_out),t!==0&&(e.output.set(n.pending_buf.subarray(n.pending_out,n.pending_out+t),e.next_out),e.next_out+=t,n.pending_out+=t,e.total_out+=t,e.avail_out-=t,n.pending-=t,n.pending===0&&(n.pending_out=0))},J=(e,n)=>{qr(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,n),e.block_start=e.strstart,W(e.strm)},B=(e,n)=>{e.pending_buf[e.pending++]=n},Le=(e,n)=>{e.pending_buf[e.pending++]=n>>>8&255,e.pending_buf[e.pending++]=n&255},Dt=(e,n,t,i)=>{let l=e.avail_in;return l>i&&(l=i),l===0?0:(e.avail_in-=l,n.set(e.input.subarray(e.next_in,e.next_in+l),t),e.state.wrap===1?e.adler=qe(e.adler,n,l,t):e.state.wrap===2&&(e.adler=H(e.adler,n,l,t)),e.next_in+=l,e.total_in+=l,l)},Li=(e,n)=>{let t=e.max_chain_length,i=e.strstart,l,a,f=e.prev_length,s=e.nice_match;const c=e.strstart>e.w_size-re?e.strstart-(e.w_size-re):0,r=e.window,o=e.w_mask,E=e.prev,_=e.strstart+he;let h=r[i+f-1],v=r[i+f];e.prev_length>=e.good_match&&(t>>=2),s>e.lookahead&&(s=e.lookahead);do if(l=n,!(r[l+f]!==v||r[l+f-1]!==h||r[l]!==r[i]||r[++l]!==r[i+1])){i+=2,l++;do;while(r[++i]===r[++l]&&r[++i]===r[++l]&&r[++i]===r[++l]&&r[++i]===r[++l]&&r[++i]===r[++l]&&r[++i]===r[++l]&&r[++i]===r[++l]&&r[++i]===r[++l]&&i<_);if(a=he-(_-i),i=_-he,a>f){if(e.match_start=n,f=a,a>=s)break;h=r[i+f-1],v=r[i+f]}}while((n=E[n&o])>c&&--t!==0);return f<=e.lookahead?f:e.lookahead},Fe=e=>{const n=e.w_size;let t,i,l;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=n+(n-re)&&(e.window.set(e.window.subarray(n,n+n-i),0),e.match_start-=n,e.strstart-=n,e.block_start-=n,e.insert>e.strstart&&(e.insert=e.strstart),_a(e),i+=n),e.strm.avail_in===0)break;if(t=Dt(e.strm,e.window,e.strstart+e.lookahead,i),e.lookahead+=t,e.lookahead+e.insert>=P)for(l=e.strstart-e.insert,e.ins_h=e.window[l],e.ins_h=ge(e,e.ins_h,e.window[l+1]);e.insert&&(e.ins_h=ge(e,e.ins_h,e.window[l+P-1]),e.prev[l&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=l,l++,e.insert--,!(e.lookahead+e.insert<P)););}while(e.lookahead<re&&e.strm.avail_in!==0)},Pi=(e,n)=>{let t=e.pending_buf_size-5>e.w_size?e.w_size:e.pending_buf_size-5,i,l,a,f=0,s=e.strm.avail_in;do{if(i=65535,a=e.bi_valid+42>>3,e.strm.avail_out<a||(a=e.strm.avail_out-a,l=e.strstart-e.block_start,i>l+e.strm.avail_in&&(i=l+e.strm.avail_in),i>a&&(i=a),i<t&&(i===0&&n!==Q||n===pe||i!==l+e.strm.avail_in)))break;f=n===Q&&i===l+e.strm.avail_in?1:0,Gt(e,0,0,f),e.pending_buf[e.pending-4]=i,e.pending_buf[e.pending-3]=i>>8,e.pending_buf[e.pending-2]=~i,e.pending_buf[e.pending-1]=~i>>8,W(e.strm),l&&(l>i&&(l=i),e.strm.output.set(e.window.subarray(e.block_start,e.block_start+l),e.strm.next_out),e.strm.next_out+=l,e.strm.avail_out-=l,e.strm.total_out+=l,e.block_start+=l,i-=l),i&&(Dt(e.strm,e.strm.output,e.strm.next_out,i),e.strm.next_out+=i,e.strm.avail_out-=i,e.strm.total_out+=i)}while(f===0);return s-=e.strm.avail_in,s&&(s>=e.w_size?(e.matches=2,e.window.set(e.strm.input.subarray(e.strm.next_in-e.w_size,e.strm.next_in),0),e.strstart=e.w_size,e.insert=e.strstart):(e.window_size-e.strstart<=s&&(e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,e.insert>e.strstart&&(e.insert=e.strstart)),e.window.set(e.strm.input.subarray(e.strm.next_in-s,e.strm.next_in),e.strstart),e.strstart+=s,e.insert+=s>e.w_size-e.insert?e.w_size-e.insert:s),e.block_start=e.strstart),e.high_water<e.strstart&&(e.high_water=e.strstart),f?Ce:n!==pe&&n!==Q&&e.strm.avail_in===0&&e.strstart===e.block_start?ze:(a=e.window_size-e.strstart,e.strm.avail_in>a&&e.block_start>=e.w_size&&(e.block_start-=e.w_size,e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,a+=e.w_size,e.insert>e.strstart&&(e.insert=e.strstart)),a>e.strm.avail_in&&(a=e.strm.avail_in),a&&(Dt(e.strm,e.window,e.strstart,a),e.strstart+=a,e.insert+=a>e.w_size-e.insert?e.w_size-e.insert:a),e.high_water<e.strstart&&(e.high_water=e.strstart),a=e.bi_valid+42>>3,a=e.pending_buf_size-a>65535?65535:e.pending_buf_size-a,t=a>e.w_size?e.w_size:a,l=e.strstart-e.block_start,(l>=t||(l||n===Q)&&n!==pe&&e.strm.avail_in===0&&l<=a)&&(i=l>a?a:l,f=n===Q&&e.strm.avail_in===0&&i===l?1:0,Gt(e,e.block_start,i,f),e.block_start+=i,W(e.strm)),f?me:X)},Nt=(e,n)=>{let t,i;for(;;){if(e.lookahead<re){if(Fe(e),e.lookahead<re&&n===pe)return X;if(e.lookahead===0)break}if(t=0,e.lookahead>=P&&(e.ins_h=ge(e,e.ins_h,e.window[e.strstart+P-1]),t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),t!==0&&e.strstart-t<=e.w_size-re&&(e.match_length=Li(e,t)),e.match_length>=P)if(i=_e(e,e.strstart-e.match_start,e.match_length-P),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=P){e.match_length--;do e.strstart++,e.ins_h=ge(e,e.ins_h,e.window[e.strstart+P-1]),t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=ge(e,e.ins_h,e.window[e.strstart+1]);else i=_e(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(i&&(J(e,!1),e.strm.avail_out===0))return X}return e.insert=e.strstart<P-1?e.strstart:P-1,n===Q?(J(e,!0),e.strm.avail_out===0?me:Ce):e.sym_next&&(J(e,!1),e.strm.avail_out===0)?X:ze},Te=(e,n)=>{let t,i,l;for(;;){if(e.lookahead<re){if(Fe(e),e.lookahead<re&&n===pe)return X;if(e.lookahead===0)break}if(t=0,e.lookahead>=P&&(e.ins_h=ge(e,e.ins_h,e.window[e.strstart+P-1]),t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=P-1,t!==0&&e.prev_length<e.max_lazy_match&&e.strstart-t<=e.w_size-re&&(e.match_length=Li(e,t),e.match_length<=5&&(e.strategy===Qr||e.match_length===P&&e.strstart-e.match_start>4096)&&(e.match_length=P-1)),e.prev_length>=P&&e.match_length<=e.prev_length){l=e.strstart+e.lookahead-P,i=_e(e,e.strstart-1-e.prev_match,e.prev_length-P),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=l&&(e.ins_h=ge(e,e.ins_h,e.window[e.strstart+P-1]),t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=P-1,e.strstart++,i&&(J(e,!1),e.strm.avail_out===0))return X}else if(e.match_available){if(i=_e(e,0,e.window[e.strstart-1]),i&&J(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return X}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(i=_e(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<P-1?e.strstart:P-1,n===Q?(J(e,!0),e.strm.avail_out===0?me:Ce):e.sym_next&&(J(e,!1),e.strm.avail_out===0)?X:ze},ga=(e,n)=>{let t,i,l,a;const f=e.window;for(;;){if(e.lookahead<=he){if(Fe(e),e.lookahead<=he&&n===pe)return X;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=P&&e.strstart>0&&(l=e.strstart-1,i=f[l],i===f[++l]&&i===f[++l]&&i===f[++l])){a=e.strstart+he;do;while(i===f[++l]&&i===f[++l]&&i===f[++l]&&i===f[++l]&&i===f[++l]&&i===f[++l]&&i===f[++l]&&i===f[++l]&&l<a);e.match_length=he-(a-l),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=P?(t=_e(e,1,e.match_length-P),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(t=_e(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),t&&(J(e,!1),e.strm.avail_out===0))return X}return e.insert=0,n===Q?(J(e,!0),e.strm.avail_out===0?me:Ce):e.sym_next&&(J(e,!1),e.strm.avail_out===0)?X:ze},ba=(e,n)=>{let t;for(;;){if(e.lookahead===0&&(Fe(e),e.lookahead===0)){if(n===pe)return X;break}if(e.match_length=0,t=_e(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,t&&(J(e,!1),e.strm.avail_out===0))return X}return e.insert=0,n===Q?(J(e,!0),e.strm.avail_out===0?me:Ce):e.sym_next&&(J(e,!1),e.strm.avail_out===0)?X:ze};function te(e,n,t,i,l){this.good_length=e,this.max_lazy=n,this.nice_length=t,this.max_chain=i,this.func=l}const Ze=[new te(0,0,0,0,Pi),new te(4,4,8,4,Nt),new te(4,5,16,8,Nt),new te(4,6,32,32,Nt),new te(4,4,16,16,Te),new te(8,16,32,32,Te),new te(8,16,128,128,Te),new te(8,32,128,256,Te),new te(32,128,258,1024,Te),new te(32,258,258,4096,Te)],wa=e=>{e.window_size=2*e.w_size,ue(e.head),e.max_lazy_match=Ze[e.level].max_lazy,e.good_match=Ze[e.level].good_length,e.nice_match=Ze[e.level].nice_length,e.max_chain_length=Ze[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=P-1,e.match_available=0,e.ins_h=0};function ya(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=_t,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(ca*2),this.dyn_dtree=new Uint16Array((2*la+1)*2),this.bl_tree=new Uint16Array((2*fa+1)*2),ue(this.dyn_ltree),ue(this.dyn_dtree),ue(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(da+1),this.heap=new Uint16Array(2*Kt+1),ue(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*Kt+1),ue(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Qe=e=>{if(!e)return 1;const n=e.state;return!n||n.strm!==e||n.status!==Oe&&n.status!==sn&&n.status!==Yt&&n.status!==Wt&&n.status!==Jt&&n.status!==Qt&&n.status!==we&&n.status!==$e?1:0},$i=e=>{if(Qe(e))return ye(e,ie);e.total_in=e.total_out=0,e.data_type=na;const n=e.state;return n.pending=0,n.pending_out=0,n.wrap<0&&(n.wrap=-n.wrap),n.status=n.wrap===2?sn:n.wrap?Oe:we,e.adler=n.wrap===2?0:1,n.last_flush=-2,Xr(n),V},Zi=e=>{const n=$i(e);return n===V&&wa(e.state),n},xa=(e,n)=>Qe(e)||e.state.wrap!==2?ie:(e.state.gzhead=n,V),Bi=(e,n,t,i,l,a)=>{if(!e)return ie;let f=1;if(n===Jr&&(n=6),i<0?(f=0,i=-i):i>15&&(f=2,i-=16),l<1||l>ia||t!==_t||i<8||i>15||n<0||n>9||a<0||a>ea||i===8&&f!==1)return ye(e,ie);i===8&&(i=9);const s=new ya;return e.state=s,s.strm=e,s.status=Oe,s.wrap=f,s.gzhead=null,s.w_bits=i,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=l+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+P-1)/P),s.window=new Uint8Array(s.w_size*2),s.head=new Uint16Array(s.hash_size),s.prev=new Uint16Array(s.w_size),s.lit_bufsize=1<<l+6,s.pending_buf_size=s.lit_bufsize*4,s.pending_buf=new Uint8Array(s.pending_buf_size),s.sym_buf=s.lit_bufsize,s.sym_end=(s.lit_bufsize-1)*3,s.level=n,s.strategy=a,s.method=t,Zi(e)},ma=(e,n)=>Bi(e,n,_t,ra,aa,ta),Ea=(e,n)=>{if(Qe(e)||n>xn||n<0)return e?ye(e,ie):ie;const t=e.state;if(!e.output||e.avail_in!==0&&!e.input||t.status===$e&&n!==Q)return ye(e,e.avail_out===0?vt:ie);const i=t.last_flush;if(t.last_flush=n,t.pending!==0){if(W(e),e.avail_out===0)return t.last_flush=-1,V}else if(e.avail_in===0&&En(n)<=En(i)&&n!==Q)return ye(e,vt);if(t.status===$e&&e.avail_in!==0)return ye(e,vt);if(t.status===Oe&&t.wrap===0&&(t.status=we),t.status===Oe){let l=_t+(t.w_bits-8<<4)<<8,a=-1;if(t.strategy>=nt||t.level<2?a=0:t.level<6?a=1:t.level===6?a=2:a=3,l|=a<<6,t.strstart!==0&&(l|=ua),l+=31-l%31,Le(t,l),t.strstart!==0&&(Le(t,e.adler>>>16),Le(t,e.adler&65535)),e.adler=1,t.status=we,W(e),t.pending!==0)return t.last_flush=-1,V}if(t.status===sn){if(e.adler=0,B(t,31),B(t,139),B(t,8),t.gzhead)B(t,(t.gzhead.text?1:0)+(t.gzhead.hcrc?2:0)+(t.gzhead.extra?4:0)+(t.gzhead.name?8:0)+(t.gzhead.comment?16:0)),B(t,t.gzhead.time&255),B(t,t.gzhead.time>>8&255),B(t,t.gzhead.time>>16&255),B(t,t.gzhead.time>>24&255),B(t,t.level===9?2:t.strategy>=nt||t.level<2?4:0),B(t,t.gzhead.os&255),t.gzhead.extra&&t.gzhead.extra.length&&(B(t,t.gzhead.extra.length&255),B(t,t.gzhead.extra.length>>8&255)),t.gzhead.hcrc&&(e.adler=H(e.adler,t.pending_buf,t.pending,0)),t.gzindex=0,t.status=Yt;else if(B(t,0),B(t,0),B(t,0),B(t,0),B(t,0),B(t,t.level===9?2:t.strategy>=nt||t.level<2?4:0),B(t,ha),t.status=we,W(e),t.pending!==0)return t.last_flush=-1,V}if(t.status===Yt){if(t.gzhead.extra){let l=t.pending,a=(t.gzhead.extra.length&65535)-t.gzindex;for(;t.pending+a>t.pending_buf_size;){let s=t.pending_buf_size-t.pending;if(t.pending_buf.set(t.gzhead.extra.subarray(t.gzindex,t.gzindex+s),t.pending),t.pending=t.pending_buf_size,t.gzhead.hcrc&&t.pending>l&&(e.adler=H(e.adler,t.pending_buf,t.pending-l,l)),t.gzindex+=s,W(e),t.pending!==0)return t.last_flush=-1,V;l=0,a-=s}let f=new Uint8Array(t.gzhead.extra);t.pending_buf.set(f.subarray(t.gzindex,t.gzindex+a),t.pending),t.pending+=a,t.gzhead.hcrc&&t.pending>l&&(e.adler=H(e.adler,t.pending_buf,t.pending-l,l)),t.gzindex=0}t.status=Wt}if(t.status===Wt){if(t.gzhead.name){let l=t.pending,a;do{if(t.pending===t.pending_buf_size){if(t.gzhead.hcrc&&t.pending>l&&(e.adler=H(e.adler,t.pending_buf,t.pending-l,l)),W(e),t.pending!==0)return t.last_flush=-1,V;l=0}t.gzindex<t.gzhead.name.length?a=t.gzhead.name.charCodeAt(t.gzindex++)&255:a=0,B(t,a)}while(a!==0);t.gzhead.hcrc&&t.pending>l&&(e.adler=H(e.adler,t.pending_buf,t.pending-l,l)),t.gzindex=0}t.status=Jt}if(t.status===Jt){if(t.gzhead.comment){let l=t.pending,a;do{if(t.pending===t.pending_buf_size){if(t.gzhead.hcrc&&t.pending>l&&(e.adler=H(e.adler,t.pending_buf,t.pending-l,l)),W(e),t.pending!==0)return t.last_flush=-1,V;l=0}t.gzindex<t.gzhead.comment.length?a=t.gzhead.comment.charCodeAt(t.gzindex++)&255:a=0,B(t,a)}while(a!==0);t.gzhead.hcrc&&t.pending>l&&(e.adler=H(e.adler,t.pending_buf,t.pending-l,l))}t.status=Qt}if(t.status===Qt){if(t.gzhead.hcrc){if(t.pending+2>t.pending_buf_size&&(W(e),t.pending!==0))return t.last_flush=-1,V;B(t,e.adler&255),B(t,e.adler>>8&255),e.adler=0}if(t.status=we,W(e),t.pending!==0)return t.last_flush=-1,V}if(e.avail_in!==0||t.lookahead!==0||n!==pe&&t.status!==$e){let l=t.level===0?Pi(t,n):t.strategy===nt?ba(t,n):t.strategy===Dr?ga(t,n):Ze[t.level].func(t,n);if((l===me||l===Ce)&&(t.status=$e),l===X||l===me)return e.avail_out===0&&(t.last_flush=-1),V;if(l===ze&&(n===Kr?Gr(t):n!==xn&&(Gt(t,0,0,!1),n===Yr&&(ue(t.head),t.lookahead===0&&(t.strstart=0,t.block_start=0,t.insert=0))),W(e),e.avail_out===0))return t.last_flush=-1,V}return n!==Q?V:t.wrap<=0?mn:(t.wrap===2?(B(t,e.adler&255),B(t,e.adler>>8&255),B(t,e.adler>>16&255),B(t,e.adler>>24&255),B(t,e.total_in&255),B(t,e.total_in>>8&255),B(t,e.total_in>>16&255),B(t,e.total_in>>24&255)):(Le(t,e.adler>>>16),Le(t,e.adler&65535)),W(e),t.wrap>0&&(t.wrap=-t.wrap),t.pending!==0?V:mn)},va=e=>{if(Qe(e))return ie;const n=e.state.status;return e.state=null,n===we?ye(e,Wr):V},Na=(e,n)=>{let t=n.length;if(Qe(e))return ie;const i=e.state,l=i.wrap;if(l===2||l===1&&i.status!==Oe||i.lookahead)return ie;if(l===1&&(e.adler=qe(e.adler,n,t,0)),i.wrap=0,t>=i.w_size){l===0&&(ue(i.head),i.strstart=0,i.block_start=0,i.insert=0);let c=new Uint8Array(i.w_size);c.set(n.subarray(t-i.w_size,t),0),n=c,t=i.w_size}const a=e.avail_in,f=e.next_in,s=e.input;for(e.avail_in=t,e.next_in=0,e.input=n,Fe(i);i.lookahead>=P;){let c=i.strstart,r=i.lookahead-(P-1);do i.ins_h=ge(i,i.ins_h,i.window[c+P-1]),i.prev[c&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=c,c++;while(--r);i.strstart=c,i.lookahead=P-1,Fe(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=P-1,i.match_available=0,e.next_in=f,e.input=s,e.avail_in=a,i.wrap=l,V};var ka=ma,Ta=Bi,Aa=Zi,Sa=$i,Oa=xa,Fa=Ea,Ia=va,Ra=Na,za="pako deflate (from Nodeca project)",Ue={deflateInit:ka,deflateInit2:Ta,deflateReset:Aa,deflateResetKeep:Sa,deflateSetHeader:Oa,deflate:Fa,deflateEnd:Ia,deflateSetDictionary:Ra,deflateInfo:za};const Ca=(e,n)=>Object.prototype.hasOwnProperty.call(e,n);var La=function(e){const n=Array.prototype.slice.call(arguments,1);for(;n.length;){const t=n.shift();if(t){if(typeof t!="object")throw new TypeError(t+"must be non-object");for(const i in t)Ca(t,i)&&(e[i]=t[i])}}return e},Pa=e=>{let n=0;for(let i=0,l=e.length;i<l;i++)n+=e[i].length;const t=new Uint8Array(n);for(let i=0,l=0,a=e.length;i<a;i++){let f=e[i];t.set(f,l),l+=f.length}return t},pt={assign:La,flattenChunks:Pa};let Ui=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{Ui=!1}const Ge=new Uint8Array(256);for(let e=0;e<256;e++)Ge[e]=e>=252?6:e>=248?5:e>=240?4:e>=224?3:e>=192?2:1;Ge[254]=Ge[254]=1;var $a=e=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(e);let n,t,i,l,a,f=e.length,s=0;for(l=0;l<f;l++)t=e.charCodeAt(l),(t&64512)===55296&&l+1<f&&(i=e.charCodeAt(l+1),(i&64512)===56320&&(t=65536+(t-55296<<10)+(i-56320),l++)),s+=t<128?1:t<2048?2:t<65536?3:4;for(n=new Uint8Array(s),a=0,l=0;a<s;l++)t=e.charCodeAt(l),(t&64512)===55296&&l+1<f&&(i=e.charCodeAt(l+1),(i&64512)===56320&&(t=65536+(t-55296<<10)+(i-56320),l++)),t<128?n[a++]=t:t<2048?(n[a++]=192|t>>>6,n[a++]=128|t&63):t<65536?(n[a++]=224|t>>>12,n[a++]=128|t>>>6&63,n[a++]=128|t&63):(n[a++]=240|t>>>18,n[a++]=128|t>>>12&63,n[a++]=128|t>>>6&63,n[a++]=128|t&63);return n};const Za=(e,n)=>{if(n<65534&&e.subarray&&Ui)return String.fromCharCode.apply(null,e.length===n?e:e.subarray(0,n));let t="";for(let i=0;i<n;i++)t+=String.fromCharCode(e[i]);return t};var Ba=(e,n)=>{const t=n||e.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(e.subarray(0,n));let i,l;const a=new Array(t*2);for(l=0,i=0;i<t;){let f=e[i++];if(f<128){a[l++]=f;continue}let s=Ge[f];if(s>4){a[l++]=65533,i+=s-1;continue}for(f&=s===2?31:s===3?15:7;s>1&&i<t;)f=f<<6|e[i++]&63,s--;if(s>1){a[l++]=65533;continue}f<65536?a[l++]=f:(f-=65536,a[l++]=55296|f>>10&1023,a[l++]=56320|f&1023)}return Za(a,l)},Ua=(e,n)=>{n=n||e.length,n>e.length&&(n=e.length);let t=n-1;for(;t>=0&&(e[t]&192)===128;)t--;return t<0||t===0?n:t+Ge[e[t]]>n?t:n},Ke={string2buf:$a,buf2string:Ba,utf8border:Ua};function Ma(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var Mi=Ma;const ji=Object.prototype.toString,{Z_NO_FLUSH:ja,Z_SYNC_FLUSH:Ha,Z_FULL_FLUSH:Va,Z_FINISH:Xa,Z_OK:ut,Z_STREAM_END:qa,Z_DEFAULT_COMPRESSION:Ga,Z_DEFAULT_STRATEGY:Ka,Z_DEFLATED:Ya}=Je;function De(e){this.options=pt.assign({level:Ga,method:Ya,chunkSize:16384,windowBits:15,memLevel:8,strategy:Ka},e||{});let n=this.options;n.raw&&n.windowBits>0?n.windowBits=-n.windowBits:n.gzip&&n.windowBits>0&&n.windowBits<16&&(n.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Mi,this.strm.avail_out=0;let t=Ue.deflateInit2(this.strm,n.level,n.method,n.windowBits,n.memLevel,n.strategy);if(t!==ut)throw new Error(xe[t]);if(n.header&&Ue.deflateSetHeader(this.strm,n.header),n.dictionary){let i;if(typeof n.dictionary=="string"?i=Ke.string2buf(n.dictionary):ji.call(n.dictionary)==="[object ArrayBuffer]"?i=new Uint8Array(n.dictionary):i=n.dictionary,t=Ue.deflateSetDictionary(this.strm,i),t!==ut)throw new Error(xe[t]);this._dict_set=!0}}De.prototype.push=function(e,n){const t=this.strm,i=this.options.chunkSize;let l,a;if(this.ended)return!1;for(n===~~n?a=n:a=n===!0?Xa:ja,typeof e=="string"?t.input=Ke.string2buf(e):ji.call(e)==="[object ArrayBuffer]"?t.input=new Uint8Array(e):t.input=e,t.next_in=0,t.avail_in=t.input.length;;){if(t.avail_out===0&&(t.output=new Uint8Array(i),t.next_out=0,t.avail_out=i),(a===Ha||a===Va)&&t.avail_out<=6){this.onData(t.output.subarray(0,t.next_out)),t.avail_out=0;continue}if(l=Ue.deflate(t,a),l===qa)return t.next_out>0&&this.onData(t.output.subarray(0,t.next_out)),l=Ue.deflateEnd(this.strm),this.onEnd(l),this.ended=!0,l===ut;if(t.avail_out===0){this.onData(t.output);continue}if(a>0&&t.next_out>0){this.onData(t.output.subarray(0,t.next_out)),t.avail_out=0;continue}if(t.avail_in===0)break}return!0};De.prototype.onData=function(e){this.chunks.push(e)};De.prototype.onEnd=function(e){e===ut&&(this.result=pt.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function on(e,n){const t=new De(n);if(t.push(e,!0),t.err)throw t.msg||xe[t.err];return t.result}function Wa(e,n){return n=n||{},n.raw=!0,on(e,n)}function Ja(e,n){return n=n||{},n.gzip=!0,on(e,n)}var Qa=De,Da=on,es=Wa,ts=Ja,ns={Deflate:Qa,deflate:Da,deflateRaw:es,gzip:ts};const it=16209,is=16191;var rs=function(n,t){let i,l,a,f,s,c,r,o,E,_,h,v,T,I,d,g,N,k,u,p,b,A,y,m;const O=n.state;i=n.next_in,y=n.input,l=i+(n.avail_in-5),a=n.next_out,m=n.output,f=a-(t-n.avail_out),s=a+(n.avail_out-257),c=O.dmax,r=O.wsize,o=O.whave,E=O.wnext,_=O.window,h=O.hold,v=O.bits,T=O.lencode,I=O.distcode,d=(1<<O.lenbits)-1,g=(1<<O.distbits)-1;e:do{v<15&&(h+=y[i++]<<v,v+=8,h+=y[i++]<<v,v+=8),N=T[h&d];t:for(;;){if(k=N>>>24,h>>>=k,v-=k,k=N>>>16&255,k===0)m[a++]=N&65535;else if(k&16){u=N&65535,k&=15,k&&(v<k&&(h+=y[i++]<<v,v+=8),u+=h&(1<<k)-1,h>>>=k,v-=k),v<15&&(h+=y[i++]<<v,v+=8,h+=y[i++]<<v,v+=8),N=I[h&g];n:for(;;){if(k=N>>>24,h>>>=k,v-=k,k=N>>>16&255,k&16){if(p=N&65535,k&=15,v<k&&(h+=y[i++]<<v,v+=8,v<k&&(h+=y[i++]<<v,v+=8)),p+=h&(1<<k)-1,p>c){n.msg="invalid distance too far back",O.mode=it;break e}if(h>>>=k,v-=k,k=a-f,p>k){if(k=p-k,k>o&&O.sane){n.msg="invalid distance too far back",O.mode=it;break e}if(b=0,A=_,E===0){if(b+=r-k,k<u){u-=k;do m[a++]=_[b++];while(--k);b=a-p,A=m}}else if(E<k){if(b+=r+E-k,k-=E,k<u){u-=k;do m[a++]=_[b++];while(--k);if(b=0,E<u){k=E,u-=k;do m[a++]=_[b++];while(--k);b=a-p,A=m}}}else if(b+=E-k,k<u){u-=k;do m[a++]=_[b++];while(--k);b=a-p,A=m}for(;u>2;)m[a++]=A[b++],m[a++]=A[b++],m[a++]=A[b++],u-=3;u&&(m[a++]=A[b++],u>1&&(m[a++]=A[b++]))}else{b=a-p;do m[a++]=m[b++],m[a++]=m[b++],m[a++]=m[b++],u-=3;while(u>2);u&&(m[a++]=m[b++],u>1&&(m[a++]=m[b++]))}}else if((k&64)===0){N=I[(N&65535)+(h&(1<<k)-1)];continue n}else{n.msg="invalid distance code",O.mode=it;break e}break}}else if((k&64)===0){N=T[(N&65535)+(h&(1<<k)-1)];continue t}else if(k&32){O.mode=is;break e}else{n.msg="invalid literal/length code",O.mode=it;break e}break}}while(i<l&&a<s);u=v>>3,i-=u,v-=u<<3,h&=(1<<v)-1,n.next_in=i,n.next_out=a,n.avail_in=i<l?5+(l-i):5-(i-l),n.avail_out=a<s?257+(s-a):257-(a-s),O.hold=h,O.bits=v};const Ae=15,vn=852,Nn=592,kn=0,kt=1,Tn=2,as=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),ss=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),os=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),ls=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]),fs=(e,n,t,i,l,a,f,s)=>{const c=s.bits;let r=0,o=0,E=0,_=0,h=0,v=0,T=0,I=0,d=0,g=0,N,k,u,p,b,A=null,y;const m=new Uint16Array(Ae+1),O=new Uint16Array(Ae+1);let w=null,x,S,F;for(r=0;r<=Ae;r++)m[r]=0;for(o=0;o<i;o++)m[n[t+o]]++;for(h=c,_=Ae;_>=1&&m[_]===0;_--);if(h>_&&(h=_),_===0)return l[a++]=1<<24|64<<16|0,l[a++]=1<<24|64<<16|0,s.bits=1,0;for(E=1;E<_&&m[E]===0;E++);for(h<E&&(h=E),I=1,r=1;r<=Ae;r++)if(I<<=1,I-=m[r],I<0)return-1;if(I>0&&(e===kn||_!==1))return-1;for(O[1]=0,r=1;r<Ae;r++)O[r+1]=O[r]+m[r];for(o=0;o<i;o++)n[t+o]!==0&&(f[O[n[t+o]]++]=o);if(e===kn?(A=w=f,y=20):e===kt?(A=as,w=ss,y=257):(A=os,w=ls,y=0),g=0,o=0,r=E,b=a,v=h,T=0,u=-1,d=1<<h,p=d-1,e===kt&&d>vn||e===Tn&&d>Nn)return 1;for(;;){x=r-T,f[o]+1<y?(S=0,F=f[o]):f[o]>=y?(S=w[f[o]-y],F=A[f[o]-y]):(S=96,F=0),N=1<<r-T,k=1<<v,E=k;do k-=N,l[b+(g>>T)+k]=x<<24|S<<16|F|0;while(k!==0);for(N=1<<r-1;g&N;)N>>=1;if(N!==0?(g&=N-1,g+=N):g=0,o++,--m[r]===0){if(r===_)break;r=n[t+f[o]]}if(r>h&&(g&p)!==u){for(T===0&&(T=h),b+=E,v=r-T,I=1<<v;v+T<_&&(I-=m[v+T],!(I<=0));)v++,I<<=1;if(d+=1<<v,e===kt&&d>vn||e===Tn&&d>Nn)return 1;u=g&p,l[u]=h<<24|v<<16|b-a|0}}return g!==0&&(l[b+g]=r-T<<24|64<<16|0),s.bits=h,0};var Me=fs;const cs=0,Hi=1,Vi=2,{Z_FINISH:An,Z_BLOCK:ds,Z_TREES:rt,Z_OK:Ee,Z_STREAM_END:us,Z_NEED_DICT:hs,Z_STREAM_ERROR:D,Z_DATA_ERROR:Xi,Z_MEM_ERROR:qi,Z_BUF_ERROR:_s,Z_DEFLATED:Sn}=Je,gt=16180,On=16181,Fn=16182,In=16183,Rn=16184,zn=16185,Cn=16186,Ln=16187,Pn=16188,$n=16189,ht=16190,oe=16191,Tt=16192,Zn=16193,At=16194,Bn=16195,Un=16196,Mn=16197,jn=16198,at=16199,st=16200,Hn=16201,Vn=16202,Xn=16203,qn=16204,Gn=16205,St=16206,Kn=16207,Yn=16208,j=16209,Gi=16210,Ki=16211,ps=852,gs=592,bs=15,ws=bs,Wn=e=>(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24);function ys(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const ve=e=>{if(!e)return 1;const n=e.state;return!n||n.strm!==e||n.mode<gt||n.mode>Ki?1:0},Yi=e=>{if(ve(e))return D;const n=e.state;return e.total_in=e.total_out=n.total=0,e.msg="",n.wrap&&(e.adler=n.wrap&1),n.mode=gt,n.last=0,n.havedict=0,n.flags=-1,n.dmax=32768,n.head=null,n.hold=0,n.bits=0,n.lencode=n.lendyn=new Int32Array(ps),n.distcode=n.distdyn=new Int32Array(gs),n.sane=1,n.back=-1,Ee},Wi=e=>{if(ve(e))return D;const n=e.state;return n.wsize=0,n.whave=0,n.wnext=0,Yi(e)},Ji=(e,n)=>{let t;if(ve(e))return D;const i=e.state;return n<0?(t=0,n=-n):(t=(n>>4)+5,n<48&&(n&=15)),n&&(n<8||n>15)?D:(i.window!==null&&i.wbits!==n&&(i.window=null),i.wrap=t,i.wbits=n,Wi(e))},Qi=(e,n)=>{if(!e)return D;const t=new ys;e.state=t,t.strm=e,t.window=null,t.mode=gt;const i=Ji(e,n);return i!==Ee&&(e.state=null),i},xs=e=>Qi(e,ws);let Jn=!0,Ot,Ft;const ms=e=>{if(Jn){Ot=new Int32Array(512),Ft=new Int32Array(32);let n=0;for(;n<144;)e.lens[n++]=8;for(;n<256;)e.lens[n++]=9;for(;n<280;)e.lens[n++]=7;for(;n<288;)e.lens[n++]=8;for(Me(Hi,e.lens,0,288,Ot,0,e.work,{bits:9}),n=0;n<32;)e.lens[n++]=5;Me(Vi,e.lens,0,32,Ft,0,e.work,{bits:5}),Jn=!1}e.lencode=Ot,e.lenbits=9,e.distcode=Ft,e.distbits=5},Di=(e,n,t,i)=>{let l;const a=e.state;return a.window===null&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new Uint8Array(a.wsize)),i>=a.wsize?(a.window.set(n.subarray(t-a.wsize,t),0),a.wnext=0,a.whave=a.wsize):(l=a.wsize-a.wnext,l>i&&(l=i),a.window.set(n.subarray(t-i,t-i+l),a.wnext),i-=l,i?(a.window.set(n.subarray(t-i,t),0),a.wnext=i,a.whave=a.wsize):(a.wnext+=l,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=l))),0},Es=(e,n)=>{let t,i,l,a,f,s,c,r,o,E,_,h,v,T,I=0,d,g,N,k,u,p,b,A;const y=new Uint8Array(4);let m,O;const w=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(ve(e)||!e.output||!e.input&&e.avail_in!==0)return D;t=e.state,t.mode===oe&&(t.mode=Tt),f=e.next_out,l=e.output,c=e.avail_out,a=e.next_in,i=e.input,s=e.avail_in,r=t.hold,o=t.bits,E=s,_=c,A=Ee;e:for(;;)switch(t.mode){case gt:if(t.wrap===0){t.mode=Tt;break}for(;o<16;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if(t.wrap&2&&r===35615){t.wbits===0&&(t.wbits=15),t.check=0,y[0]=r&255,y[1]=r>>>8&255,t.check=H(t.check,y,2,0),r=0,o=0,t.mode=On;break}if(t.head&&(t.head.done=!1),!(t.wrap&1)||(((r&255)<<8)+(r>>8))%31){e.msg="incorrect header check",t.mode=j;break}if((r&15)!==Sn){e.msg="unknown compression method",t.mode=j;break}if(r>>>=4,o-=4,b=(r&15)+8,t.wbits===0&&(t.wbits=b),b>15||b>t.wbits){e.msg="invalid window size",t.mode=j;break}t.dmax=1<<t.wbits,t.flags=0,e.adler=t.check=1,t.mode=r&512?$n:oe,r=0,o=0;break;case On:for(;o<16;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if(t.flags=r,(t.flags&255)!==Sn){e.msg="unknown compression method",t.mode=j;break}if(t.flags&57344){e.msg="unknown header flags set",t.mode=j;break}t.head&&(t.head.text=r>>8&1),t.flags&512&&t.wrap&4&&(y[0]=r&255,y[1]=r>>>8&255,t.check=H(t.check,y,2,0)),r=0,o=0,t.mode=Fn;case Fn:for(;o<32;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}t.head&&(t.head.time=r),t.flags&512&&t.wrap&4&&(y[0]=r&255,y[1]=r>>>8&255,y[2]=r>>>16&255,y[3]=r>>>24&255,t.check=H(t.check,y,4,0)),r=0,o=0,t.mode=In;case In:for(;o<16;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}t.head&&(t.head.xflags=r&255,t.head.os=r>>8),t.flags&512&&t.wrap&4&&(y[0]=r&255,y[1]=r>>>8&255,t.check=H(t.check,y,2,0)),r=0,o=0,t.mode=Rn;case Rn:if(t.flags&1024){for(;o<16;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}t.length=r,t.head&&(t.head.extra_len=r),t.flags&512&&t.wrap&4&&(y[0]=r&255,y[1]=r>>>8&255,t.check=H(t.check,y,2,0)),r=0,o=0}else t.head&&(t.head.extra=null);t.mode=zn;case zn:if(t.flags&1024&&(h=t.length,h>s&&(h=s),h&&(t.head&&(b=t.head.extra_len-t.length,t.head.extra||(t.head.extra=new Uint8Array(t.head.extra_len)),t.head.extra.set(i.subarray(a,a+h),b)),t.flags&512&&t.wrap&4&&(t.check=H(t.check,i,h,a)),s-=h,a+=h,t.length-=h),t.length))break e;t.length=0,t.mode=Cn;case Cn:if(t.flags&2048){if(s===0)break e;h=0;do b=i[a+h++],t.head&&b&&t.length<65536&&(t.head.name+=String.fromCharCode(b));while(b&&h<s);if(t.flags&512&&t.wrap&4&&(t.check=H(t.check,i,h,a)),s-=h,a+=h,b)break e}else t.head&&(t.head.name=null);t.length=0,t.mode=Ln;case Ln:if(t.flags&4096){if(s===0)break e;h=0;do b=i[a+h++],t.head&&b&&t.length<65536&&(t.head.comment+=String.fromCharCode(b));while(b&&h<s);if(t.flags&512&&t.wrap&4&&(t.check=H(t.check,i,h,a)),s-=h,a+=h,b)break e}else t.head&&(t.head.comment=null);t.mode=Pn;case Pn:if(t.flags&512){for(;o<16;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if(t.wrap&4&&r!==(t.check&65535)){e.msg="header crc mismatch",t.mode=j;break}r=0,o=0}t.head&&(t.head.hcrc=t.flags>>9&1,t.head.done=!0),e.adler=t.check=0,t.mode=oe;break;case $n:for(;o<32;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}e.adler=t.check=Wn(r),r=0,o=0,t.mode=ht;case ht:if(t.havedict===0)return e.next_out=f,e.avail_out=c,e.next_in=a,e.avail_in=s,t.hold=r,t.bits=o,hs;e.adler=t.check=1,t.mode=oe;case oe:if(n===ds||n===rt)break e;case Tt:if(t.last){r>>>=o&7,o-=o&7,t.mode=St;break}for(;o<3;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}switch(t.last=r&1,r>>>=1,o-=1,r&3){case 0:t.mode=Zn;break;case 1:if(ms(t),t.mode=at,n===rt){r>>>=2,o-=2;break e}break;case 2:t.mode=Un;break;case 3:e.msg="invalid block type",t.mode=j}r>>>=2,o-=2;break;case Zn:for(r>>>=o&7,o-=o&7;o<32;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if((r&65535)!==(r>>>16^65535)){e.msg="invalid stored block lengths",t.mode=j;break}if(t.length=r&65535,r=0,o=0,t.mode=At,n===rt)break e;case At:t.mode=Bn;case Bn:if(h=t.length,h){if(h>s&&(h=s),h>c&&(h=c),h===0)break e;l.set(i.subarray(a,a+h),f),s-=h,a+=h,c-=h,f+=h,t.length-=h;break}t.mode=oe;break;case Un:for(;o<14;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if(t.nlen=(r&31)+257,r>>>=5,o-=5,t.ndist=(r&31)+1,r>>>=5,o-=5,t.ncode=(r&15)+4,r>>>=4,o-=4,t.nlen>286||t.ndist>30){e.msg="too many length or distance symbols",t.mode=j;break}t.have=0,t.mode=Mn;case Mn:for(;t.have<t.ncode;){for(;o<3;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}t.lens[w[t.have++]]=r&7,r>>>=3,o-=3}for(;t.have<19;)t.lens[w[t.have++]]=0;if(t.lencode=t.lendyn,t.lenbits=7,m={bits:t.lenbits},A=Me(cs,t.lens,0,19,t.lencode,0,t.work,m),t.lenbits=m.bits,A){e.msg="invalid code lengths set",t.mode=j;break}t.have=0,t.mode=jn;case jn:for(;t.have<t.nlen+t.ndist;){for(;I=t.lencode[r&(1<<t.lenbits)-1],d=I>>>24,g=I>>>16&255,N=I&65535,!(d<=o);){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if(N<16)r>>>=d,o-=d,t.lens[t.have++]=N;else{if(N===16){for(O=d+2;o<O;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if(r>>>=d,o-=d,t.have===0){e.msg="invalid bit length repeat",t.mode=j;break}b=t.lens[t.have-1],h=3+(r&3),r>>>=2,o-=2}else if(N===17){for(O=d+3;o<O;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}r>>>=d,o-=d,b=0,h=3+(r&7),r>>>=3,o-=3}else{for(O=d+7;o<O;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}r>>>=d,o-=d,b=0,h=11+(r&127),r>>>=7,o-=7}if(t.have+h>t.nlen+t.ndist){e.msg="invalid bit length repeat",t.mode=j;break}for(;h--;)t.lens[t.have++]=b}}if(t.mode===j)break;if(t.lens[256]===0){e.msg="invalid code -- missing end-of-block",t.mode=j;break}if(t.lenbits=9,m={bits:t.lenbits},A=Me(Hi,t.lens,0,t.nlen,t.lencode,0,t.work,m),t.lenbits=m.bits,A){e.msg="invalid literal/lengths set",t.mode=j;break}if(t.distbits=6,t.distcode=t.distdyn,m={bits:t.distbits},A=Me(Vi,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,m),t.distbits=m.bits,A){e.msg="invalid distances set",t.mode=j;break}if(t.mode=at,n===rt)break e;case at:t.mode=st;case st:if(s>=6&&c>=258){e.next_out=f,e.avail_out=c,e.next_in=a,e.avail_in=s,t.hold=r,t.bits=o,rs(e,_),f=e.next_out,l=e.output,c=e.avail_out,a=e.next_in,i=e.input,s=e.avail_in,r=t.hold,o=t.bits,t.mode===oe&&(t.back=-1);break}for(t.back=0;I=t.lencode[r&(1<<t.lenbits)-1],d=I>>>24,g=I>>>16&255,N=I&65535,!(d<=o);){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if(g&&(g&240)===0){for(k=d,u=g,p=N;I=t.lencode[p+((r&(1<<k+u)-1)>>k)],d=I>>>24,g=I>>>16&255,N=I&65535,!(k+d<=o);){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}r>>>=k,o-=k,t.back+=k}if(r>>>=d,o-=d,t.back+=d,t.length=N,g===0){t.mode=Gn;break}if(g&32){t.back=-1,t.mode=oe;break}if(g&64){e.msg="invalid literal/length code",t.mode=j;break}t.extra=g&15,t.mode=Hn;case Hn:if(t.extra){for(O=t.extra;o<O;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}t.length+=r&(1<<t.extra)-1,r>>>=t.extra,o-=t.extra,t.back+=t.extra}t.was=t.length,t.mode=Vn;case Vn:for(;I=t.distcode[r&(1<<t.distbits)-1],d=I>>>24,g=I>>>16&255,N=I&65535,!(d<=o);){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if((g&240)===0){for(k=d,u=g,p=N;I=t.distcode[p+((r&(1<<k+u)-1)>>k)],d=I>>>24,g=I>>>16&255,N=I&65535,!(k+d<=o);){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}r>>>=k,o-=k,t.back+=k}if(r>>>=d,o-=d,t.back+=d,g&64){e.msg="invalid distance code",t.mode=j;break}t.offset=N,t.extra=g&15,t.mode=Xn;case Xn:if(t.extra){for(O=t.extra;o<O;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}t.offset+=r&(1<<t.extra)-1,r>>>=t.extra,o-=t.extra,t.back+=t.extra}if(t.offset>t.dmax){e.msg="invalid distance too far back",t.mode=j;break}t.mode=qn;case qn:if(c===0)break e;if(h=_-c,t.offset>h){if(h=t.offset-h,h>t.whave&&t.sane){e.msg="invalid distance too far back",t.mode=j;break}h>t.wnext?(h-=t.wnext,v=t.wsize-h):v=t.wnext-h,h>t.length&&(h=t.length),T=t.window}else T=l,v=f-t.offset,h=t.length;h>c&&(h=c),c-=h,t.length-=h;do l[f++]=T[v++];while(--h);t.length===0&&(t.mode=st);break;case Gn:if(c===0)break e;l[f++]=t.length,c--,t.mode=st;break;case St:if(t.wrap){for(;o<32;){if(s===0)break e;s--,r|=i[a++]<<o,o+=8}if(_-=c,e.total_out+=_,t.total+=_,t.wrap&4&&_&&(e.adler=t.check=t.flags?H(t.check,l,_,f-_):qe(t.check,l,_,f-_)),_=c,t.wrap&4&&(t.flags?r:Wn(r))!==t.check){e.msg="incorrect data check",t.mode=j;break}r=0,o=0}t.mode=Kn;case Kn:if(t.wrap&&t.flags){for(;o<32;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if(t.wrap&4&&r!==(t.total&4294967295)){e.msg="incorrect length check",t.mode=j;break}r=0,o=0}t.mode=Yn;case Yn:A=us;break e;case j:A=Xi;break e;case Gi:return qi;case Ki:default:return D}return e.next_out=f,e.avail_out=c,e.next_in=a,e.avail_in=s,t.hold=r,t.bits=o,(t.wsize||_!==e.avail_out&&t.mode<j&&(t.mode<St||n!==An))&&Di(e,e.output,e.next_out,_-e.avail_out),E-=e.avail_in,_-=e.avail_out,e.total_in+=E,e.total_out+=_,t.total+=_,t.wrap&4&&_&&(e.adler=t.check=t.flags?H(t.check,l,_,e.next_out-_):qe(t.check,l,_,e.next_out-_)),e.data_type=t.bits+(t.last?64:0)+(t.mode===oe?128:0)+(t.mode===at||t.mode===At?256:0),(E===0&&_===0||n===An)&&A===Ee&&(A=_s),A},vs=e=>{if(ve(e))return D;let n=e.state;return n.window&&(n.window=null),e.state=null,Ee},Ns=(e,n)=>{if(ve(e))return D;const t=e.state;return(t.wrap&2)===0?D:(t.head=n,n.done=!1,Ee)},ks=(e,n)=>{const t=n.length;let i,l,a;return ve(e)||(i=e.state,i.wrap!==0&&i.mode!==ht)?D:i.mode===ht&&(l=1,l=qe(l,n,t,0),l!==i.check)?Xi:(a=Di(e,n,t,t),a?(i.mode=Gi,qi):(i.havedict=1,Ee))};var Ts=Wi,As=Ji,Ss=Yi,Os=xs,Fs=Qi,Is=Es,Rs=vs,zs=Ns,Cs=ks,Ls="pako inflate (from Nodeca project)",fe={inflateReset:Ts,inflateReset2:As,inflateResetKeep:Ss,inflateInit:Os,inflateInit2:Fs,inflate:Is,inflateEnd:Rs,inflateGetHeader:zs,inflateSetDictionary:Cs,inflateInfo:Ls};function Ps(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var $s=Ps;const er=Object.prototype.toString,{Z_NO_FLUSH:Zs,Z_FINISH:Bs,Z_OK:Ye,Z_STREAM_END:It,Z_NEED_DICT:Rt,Z_STREAM_ERROR:Us,Z_DATA_ERROR:Qn,Z_MEM_ERROR:Ms}=Je;function et(e){this.options=pt.assign({chunkSize:1024*64,windowBits:15,to:""},e||{});const n=this.options;n.raw&&n.windowBits>=0&&n.windowBits<16&&(n.windowBits=-n.windowBits,n.windowBits===0&&(n.windowBits=-15)),n.windowBits>=0&&n.windowBits<16&&!(e&&e.windowBits)&&(n.windowBits+=32),n.windowBits>15&&n.windowBits<48&&(n.windowBits&15)===0&&(n.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Mi,this.strm.avail_out=0;let t=fe.inflateInit2(this.strm,n.windowBits);if(t!==Ye)throw new Error(xe[t]);if(this.header=new $s,fe.inflateGetHeader(this.strm,this.header),n.dictionary&&(typeof n.dictionary=="string"?n.dictionary=Ke.string2buf(n.dictionary):er.call(n.dictionary)==="[object ArrayBuffer]"&&(n.dictionary=new Uint8Array(n.dictionary)),n.raw&&(t=fe.inflateSetDictionary(this.strm,n.dictionary),t!==Ye)))throw new Error(xe[t])}et.prototype.push=function(e,n){const t=this.strm,i=this.options.chunkSize,l=this.options.dictionary;let a,f,s;if(this.ended)return!1;for(n===~~n?f=n:f=n===!0?Bs:Zs,er.call(e)==="[object ArrayBuffer]"?t.input=new Uint8Array(e):t.input=e,t.next_in=0,t.avail_in=t.input.length;;){for(t.avail_out===0&&(t.output=new Uint8Array(i),t.next_out=0,t.avail_out=i),a=fe.inflate(t,f),a===Rt&&l&&(a=fe.inflateSetDictionary(t,l),a===Ye?a=fe.inflate(t,f):a===Qn&&(a=Rt));t.avail_in>0&&a===It&&t.state.wrap>0&&e[t.next_in]!==0;)fe.inflateReset(t),a=fe.inflate(t,f);switch(a){case Us:case Qn:case Rt:case Ms:return this.onEnd(a),this.ended=!0,!1}if(s=t.avail_out,t.next_out&&(t.avail_out===0||a===It))if(this.options.to==="string"){let c=Ke.utf8border(t.output,t.next_out),r=t.next_out-c,o=Ke.buf2string(t.output,c);t.next_out=r,t.avail_out=i-r,r&&t.output.set(t.output.subarray(c,c+r),0),this.onData(o)}else this.onData(t.output.length===t.next_out?t.output:t.output.subarray(0,t.next_out));if(!(a===Ye&&s===0)){if(a===It)return a=fe.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,!0;if(t.avail_in===0)break}}return!0};et.prototype.onData=function(e){this.chunks.push(e)};et.prototype.onEnd=function(e){e===Ye&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=pt.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function ln(e,n){const t=new et(n);if(t.push(e),t.err)throw t.msg||xe[t.err];return t.result}function js(e,n){return n=n||{},n.raw=!0,ln(e,n)}var Hs=et,Vs=ln,Xs=js,qs=ln,Gs={Inflate:Hs,inflate:Vs,inflateRaw:Xs,ungzip:qs};const{Deflate:Ks,deflate:Ys,deflateRaw:Ws,gzip:Js}=ns,{Inflate:Qs,inflate:Ds,inflateRaw:eo,ungzip:to}=Gs;var no=Ks,io=Ys,ro=Ws,ao=Js,so=Qs,oo=Ds,lo=eo,fo=to,co=Je,uo={Deflate:no,deflate:io,deflateRaw:ro,gzip:ao,Inflate:so,inflate:oo,inflateRaw:lo,ungzip:fo,constants:co},ot={exports:{}},zt={},Ct={},Dn;function fn(){return Dn||(Dn=1,function(e){const n=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",t=n+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",i="["+n+"]["+t+"]*",l=new RegExp("^"+i+"$"),a=function(s,c){const r=[];let o=c.exec(s);for(;o;){const E=[];E.startIndex=c.lastIndex-o[0].length;const _=o.length;for(let h=0;h<_;h++)E.push(o[h]);r.push(E),o=c.exec(s)}return r},f=function(s){const c=l.exec(s);return!(c===null||typeof c>"u")};e.isExist=function(s){return typeof s<"u"},e.isEmptyObject=function(s){return Object.keys(s).length===0},e.merge=function(s,c,r){if(c){const o=Object.keys(c),E=o.length;for(let _=0;_<E;_++)r==="strict"?s[o[_]]=[c[o[_]]]:s[o[_]]=c[o[_]]}},e.getValue=function(s){return e.isExist(s)?s:""},e.isName=f,e.getAllMatches=a,e.nameRegexp=i}(Ct)),Ct}var ei;function tr(){if(ei)return zt;ei=1;const e=fn(),n={allowBooleanAttributes:!1,unpairedTags:[]};zt.validate=function(d,g){g=Object.assign({},n,g);const N=[];let k=!1,u=!1;d[0]==="\uFEFF"&&(d=d.substr(1));for(let p=0;p<d.length;p++)if(d[p]==="<"&&d[p+1]==="?"){if(p+=2,p=i(d,p),p.err)return p}else if(d[p]==="<"){let b=p;if(p++,d[p]==="!"){p=l(d,p);continue}else{let A=!1;d[p]==="/"&&(A=!0,p++);let y="";for(;p<d.length&&d[p]!==">"&&d[p]!==" "&&d[p]!==" "&&d[p]!==`
1
+ import{bd as bi,j as U,br as Ie,di as rr,eD as ar,ey as un,eC as sr,r as L,J as en,ax as wi,hC as or,aQ as lr,hD as fr,h as cr,dv as dr,hE as yi,hF as ur,c3 as hr}from"./index-DQhyMeoV.js";import{a as _r,r as pr}from"./emotion-cache.browser.esm-CO4m2LjK.js";/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */const gr=4,hn=0,_n=1,br=2;function Re(e){let n=e.length;for(;--n>=0;)e[n]=0}const wr=0,xi=1,yr=2,xr=3,mr=258,tn=29,We=256,je=We+1+tn,Se=30,nn=19,mi=2*je+1,be=15,yt=16,Er=7,rn=256,Ei=16,vi=17,Ni=18,Xt=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),ct=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),vr=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),ki=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Nr=512,le=new Array((je+2)*2);Re(le);const Be=new Array(Se*2);Re(Be);const He=new Array(Nr);Re(He);const Ve=new Array(mr-xr+1);Re(Ve);const an=new Array(tn);Re(an);const dt=new Array(Se);Re(dt);function xt(e,n,t,i,l){this.static_tree=e,this.extra_bits=n,this.extra_base=t,this.elems=i,this.max_length=l,this.has_stree=e&&e.length}let Ti,Ai,Si;function mt(e,n){this.dyn_tree=e,this.max_code=0,this.stat_desc=n}const Oi=e=>e<256?He[e]:He[256+(e>>>7)],Xe=(e,n)=>{e.pending_buf[e.pending++]=n&255,e.pending_buf[e.pending++]=n>>>8&255},K=(e,n,t)=>{e.bi_valid>yt-t?(e.bi_buf|=n<<e.bi_valid&65535,Xe(e,e.bi_buf),e.bi_buf=n>>yt-e.bi_valid,e.bi_valid+=t-yt):(e.bi_buf|=n<<e.bi_valid&65535,e.bi_valid+=t)},ne=(e,n,t)=>{K(e,t[n*2],t[n*2+1])},Fi=(e,n)=>{let t=0;do t|=e&1,e>>>=1,t<<=1;while(--n>0);return t>>>1},kr=e=>{e.bi_valid===16?(Xe(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)},Tr=(e,n)=>{const t=n.dyn_tree,i=n.max_code,l=n.stat_desc.static_tree,a=n.stat_desc.has_stree,f=n.stat_desc.extra_bits,s=n.stat_desc.extra_base,c=n.stat_desc.max_length;let r,o,E,_,h,v,T=0;for(_=0;_<=be;_++)e.bl_count[_]=0;for(t[e.heap[e.heap_max]*2+1]=0,r=e.heap_max+1;r<mi;r++)o=e.heap[r],_=t[t[o*2+1]*2+1]+1,_>c&&(_=c,T++),t[o*2+1]=_,!(o>i)&&(e.bl_count[_]++,h=0,o>=s&&(h=f[o-s]),v=t[o*2],e.opt_len+=v*(_+h),a&&(e.static_len+=v*(l[o*2+1]+h)));if(T!==0){do{for(_=c-1;e.bl_count[_]===0;)_--;e.bl_count[_]--,e.bl_count[_+1]+=2,e.bl_count[c]--,T-=2}while(T>0);for(_=c;_!==0;_--)for(o=e.bl_count[_];o!==0;)E=e.heap[--r],!(E>i)&&(t[E*2+1]!==_&&(e.opt_len+=(_-t[E*2+1])*t[E*2],t[E*2+1]=_),o--)}},Ii=(e,n,t)=>{const i=new Array(be+1);let l=0,a,f;for(a=1;a<=be;a++)l=l+t[a-1]<<1,i[a]=l;for(f=0;f<=n;f++){let s=e[f*2+1];s!==0&&(e[f*2]=Fi(i[s]++,s))}},Ar=()=>{let e,n,t,i,l;const a=new Array(be+1);for(t=0,i=0;i<tn-1;i++)for(an[i]=t,e=0;e<1<<Xt[i];e++)Ve[t++]=i;for(Ve[t-1]=i,l=0,i=0;i<16;i++)for(dt[i]=l,e=0;e<1<<ct[i];e++)He[l++]=i;for(l>>=7;i<Se;i++)for(dt[i]=l<<7,e=0;e<1<<ct[i]-7;e++)He[256+l++]=i;for(n=0;n<=be;n++)a[n]=0;for(e=0;e<=143;)le[e*2+1]=8,e++,a[8]++;for(;e<=255;)le[e*2+1]=9,e++,a[9]++;for(;e<=279;)le[e*2+1]=7,e++,a[7]++;for(;e<=287;)le[e*2+1]=8,e++,a[8]++;for(Ii(le,je+1,a),e=0;e<Se;e++)Be[e*2+1]=5,Be[e*2]=Fi(e,5);Ti=new xt(le,Xt,We+1,je,be),Ai=new xt(Be,ct,0,Se,be),Si=new xt(new Array(0),vr,0,nn,Er)},Ri=e=>{let n;for(n=0;n<je;n++)e.dyn_ltree[n*2]=0;for(n=0;n<Se;n++)e.dyn_dtree[n*2]=0;for(n=0;n<nn;n++)e.bl_tree[n*2]=0;e.dyn_ltree[rn*2]=1,e.opt_len=e.static_len=0,e.sym_next=e.matches=0},zi=e=>{e.bi_valid>8?Xe(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},pn=(e,n,t,i)=>{const l=n*2,a=t*2;return e[l]<e[a]||e[l]===e[a]&&i[n]<=i[t]},Et=(e,n,t)=>{const i=e.heap[t];let l=t<<1;for(;l<=e.heap_len&&(l<e.heap_len&&pn(n,e.heap[l+1],e.heap[l],e.depth)&&l++,!pn(n,i,e.heap[l],e.depth));)e.heap[t]=e.heap[l],t=l,l<<=1;e.heap[t]=i},gn=(e,n,t)=>{let i,l,a=0,f,s;if(e.sym_next!==0)do i=e.pending_buf[e.sym_buf+a++]&255,i+=(e.pending_buf[e.sym_buf+a++]&255)<<8,l=e.pending_buf[e.sym_buf+a++],i===0?ne(e,l,n):(f=Ve[l],ne(e,f+We+1,n),s=Xt[f],s!==0&&(l-=an[f],K(e,l,s)),i--,f=Oi(i),ne(e,f,t),s=ct[f],s!==0&&(i-=dt[f],K(e,i,s)));while(a<e.sym_next);ne(e,rn,n)},qt=(e,n)=>{const t=n.dyn_tree,i=n.stat_desc.static_tree,l=n.stat_desc.has_stree,a=n.stat_desc.elems;let f,s,c=-1,r;for(e.heap_len=0,e.heap_max=mi,f=0;f<a;f++)t[f*2]!==0?(e.heap[++e.heap_len]=c=f,e.depth[f]=0):t[f*2+1]=0;for(;e.heap_len<2;)r=e.heap[++e.heap_len]=c<2?++c:0,t[r*2]=1,e.depth[r]=0,e.opt_len--,l&&(e.static_len-=i[r*2+1]);for(n.max_code=c,f=e.heap_len>>1;f>=1;f--)Et(e,t,f);r=a;do f=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Et(e,t,1),s=e.heap[1],e.heap[--e.heap_max]=f,e.heap[--e.heap_max]=s,t[r*2]=t[f*2]+t[s*2],e.depth[r]=(e.depth[f]>=e.depth[s]?e.depth[f]:e.depth[s])+1,t[f*2+1]=t[s*2+1]=r,e.heap[1]=r++,Et(e,t,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],Tr(e,n),Ii(t,c,e.bl_count)},bn=(e,n,t)=>{let i,l=-1,a,f=n[0*2+1],s=0,c=7,r=4;for(f===0&&(c=138,r=3),n[(t+1)*2+1]=65535,i=0;i<=t;i++)a=f,f=n[(i+1)*2+1],!(++s<c&&a===f)&&(s<r?e.bl_tree[a*2]+=s:a!==0?(a!==l&&e.bl_tree[a*2]++,e.bl_tree[Ei*2]++):s<=10?e.bl_tree[vi*2]++:e.bl_tree[Ni*2]++,s=0,l=a,f===0?(c=138,r=3):a===f?(c=6,r=3):(c=7,r=4))},wn=(e,n,t)=>{let i,l=-1,a,f=n[0*2+1],s=0,c=7,r=4;for(f===0&&(c=138,r=3),i=0;i<=t;i++)if(a=f,f=n[(i+1)*2+1],!(++s<c&&a===f)){if(s<r)do ne(e,a,e.bl_tree);while(--s!==0);else a!==0?(a!==l&&(ne(e,a,e.bl_tree),s--),ne(e,Ei,e.bl_tree),K(e,s-3,2)):s<=10?(ne(e,vi,e.bl_tree),K(e,s-3,3)):(ne(e,Ni,e.bl_tree),K(e,s-11,7));s=0,l=a,f===0?(c=138,r=3):a===f?(c=6,r=3):(c=7,r=4)}},Sr=e=>{let n;for(bn(e,e.dyn_ltree,e.l_desc.max_code),bn(e,e.dyn_dtree,e.d_desc.max_code),qt(e,e.bl_desc),n=nn-1;n>=3&&e.bl_tree[ki[n]*2+1]===0;n--);return e.opt_len+=3*(n+1)+5+5+4,n},Or=(e,n,t,i)=>{let l;for(K(e,n-257,5),K(e,t-1,5),K(e,i-4,4),l=0;l<i;l++)K(e,e.bl_tree[ki[l]*2+1],3);wn(e,e.dyn_ltree,n-1),wn(e,e.dyn_dtree,t-1)},Fr=e=>{let n=4093624447,t;for(t=0;t<=31;t++,n>>>=1)if(n&1&&e.dyn_ltree[t*2]!==0)return hn;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return _n;for(t=32;t<We;t++)if(e.dyn_ltree[t*2]!==0)return _n;return hn};let yn=!1;const Ir=e=>{yn||(Ar(),yn=!0),e.l_desc=new mt(e.dyn_ltree,Ti),e.d_desc=new mt(e.dyn_dtree,Ai),e.bl_desc=new mt(e.bl_tree,Si),e.bi_buf=0,e.bi_valid=0,Ri(e)},Ci=(e,n,t,i)=>{K(e,(wr<<1)+(i?1:0),3),zi(e),Xe(e,t),Xe(e,~t),t&&e.pending_buf.set(e.window.subarray(n,n+t),e.pending),e.pending+=t},Rr=e=>{K(e,xi<<1,3),ne(e,rn,le),kr(e)},zr=(e,n,t,i)=>{let l,a,f=0;e.level>0?(e.strm.data_type===br&&(e.strm.data_type=Fr(e)),qt(e,e.l_desc),qt(e,e.d_desc),f=Sr(e),l=e.opt_len+3+7>>>3,a=e.static_len+3+7>>>3,a<=l&&(l=a)):l=a=t+5,t+4<=l&&n!==-1?Ci(e,n,t,i):e.strategy===gr||a===l?(K(e,(xi<<1)+(i?1:0),3),gn(e,le,Be)):(K(e,(yr<<1)+(i?1:0),3),Or(e,e.l_desc.max_code+1,e.d_desc.max_code+1,f+1),gn(e,e.dyn_ltree,e.dyn_dtree)),Ri(e),i&&zi(e)},Cr=(e,n,t)=>(e.pending_buf[e.sym_buf+e.sym_next++]=n,e.pending_buf[e.sym_buf+e.sym_next++]=n>>8,e.pending_buf[e.sym_buf+e.sym_next++]=t,n===0?e.dyn_ltree[t*2]++:(e.matches++,n--,e.dyn_ltree[(Ve[t]+We+1)*2]++,e.dyn_dtree[Oi(n)*2]++),e.sym_next===e.sym_end);var Lr=Ir,Pr=Ci,$r=zr,Zr=Cr,Br=Rr,Ur={_tr_init:Lr,_tr_stored_block:Pr,_tr_flush_block:$r,_tr_tally:Zr,_tr_align:Br};const Mr=(e,n,t,i)=>{let l=e&65535|0,a=e>>>16&65535|0,f=0;for(;t!==0;){f=t>2e3?2e3:t,t-=f;do l=l+n[i++]|0,a=a+l|0;while(--f);l%=65521,a%=65521}return l|a<<16|0};var qe=Mr;const jr=()=>{let e,n=[];for(var t=0;t<256;t++){e=t;for(var i=0;i<8;i++)e=e&1?3988292384^e>>>1:e>>>1;n[t]=e}return n},Hr=new Uint32Array(jr()),Vr=(e,n,t,i)=>{const l=Hr,a=i+t;e^=-1;for(let f=i;f<a;f++)e=e>>>8^l[(e^n[f])&255];return e^-1};var H=Vr,xe={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Je={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:Xr,_tr_stored_block:Gt,_tr_flush_block:qr,_tr_tally:_e,_tr_align:Gr}=Ur,{Z_NO_FLUSH:pe,Z_PARTIAL_FLUSH:Kr,Z_FULL_FLUSH:Yr,Z_FINISH:Q,Z_BLOCK:xn,Z_OK:V,Z_STREAM_END:mn,Z_STREAM_ERROR:ie,Z_DATA_ERROR:Wr,Z_BUF_ERROR:vt,Z_DEFAULT_COMPRESSION:Jr,Z_FILTERED:Qr,Z_HUFFMAN_ONLY:nt,Z_RLE:Dr,Z_FIXED:ea,Z_DEFAULT_STRATEGY:ta,Z_UNKNOWN:na,Z_DEFLATED:_t}=Je,ia=9,ra=15,aa=8,sa=29,oa=256,Kt=oa+1+sa,la=30,fa=19,ca=2*Kt+1,da=15,P=3,he=258,re=he+P+1,ua=32,Oe=42,sn=57,Yt=69,Wt=73,Jt=91,Qt=103,we=113,$e=666,X=1,ze=2,me=3,Ce=4,ha=3,ye=(e,n)=>(e.msg=xe[n],n),En=e=>e*2-(e>4?9:0),ue=e=>{let n=e.length;for(;--n>=0;)e[n]=0},_a=e=>{let n,t,i,l=e.w_size;n=e.hash_size,i=n;do t=e.head[--i],e.head[i]=t>=l?t-l:0;while(--n);n=l,i=n;do t=e.prev[--i],e.prev[i]=t>=l?t-l:0;while(--n)};let pa=(e,n,t)=>(n<<e.hash_shift^t)&e.hash_mask,ge=pa;const W=e=>{const n=e.state;let t=n.pending;t>e.avail_out&&(t=e.avail_out),t!==0&&(e.output.set(n.pending_buf.subarray(n.pending_out,n.pending_out+t),e.next_out),e.next_out+=t,n.pending_out+=t,e.total_out+=t,e.avail_out-=t,n.pending-=t,n.pending===0&&(n.pending_out=0))},J=(e,n)=>{qr(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,n),e.block_start=e.strstart,W(e.strm)},B=(e,n)=>{e.pending_buf[e.pending++]=n},Le=(e,n)=>{e.pending_buf[e.pending++]=n>>>8&255,e.pending_buf[e.pending++]=n&255},Dt=(e,n,t,i)=>{let l=e.avail_in;return l>i&&(l=i),l===0?0:(e.avail_in-=l,n.set(e.input.subarray(e.next_in,e.next_in+l),t),e.state.wrap===1?e.adler=qe(e.adler,n,l,t):e.state.wrap===2&&(e.adler=H(e.adler,n,l,t)),e.next_in+=l,e.total_in+=l,l)},Li=(e,n)=>{let t=e.max_chain_length,i=e.strstart,l,a,f=e.prev_length,s=e.nice_match;const c=e.strstart>e.w_size-re?e.strstart-(e.w_size-re):0,r=e.window,o=e.w_mask,E=e.prev,_=e.strstart+he;let h=r[i+f-1],v=r[i+f];e.prev_length>=e.good_match&&(t>>=2),s>e.lookahead&&(s=e.lookahead);do if(l=n,!(r[l+f]!==v||r[l+f-1]!==h||r[l]!==r[i]||r[++l]!==r[i+1])){i+=2,l++;do;while(r[++i]===r[++l]&&r[++i]===r[++l]&&r[++i]===r[++l]&&r[++i]===r[++l]&&r[++i]===r[++l]&&r[++i]===r[++l]&&r[++i]===r[++l]&&r[++i]===r[++l]&&i<_);if(a=he-(_-i),i=_-he,a>f){if(e.match_start=n,f=a,a>=s)break;h=r[i+f-1],v=r[i+f]}}while((n=E[n&o])>c&&--t!==0);return f<=e.lookahead?f:e.lookahead},Fe=e=>{const n=e.w_size;let t,i,l;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=n+(n-re)&&(e.window.set(e.window.subarray(n,n+n-i),0),e.match_start-=n,e.strstart-=n,e.block_start-=n,e.insert>e.strstart&&(e.insert=e.strstart),_a(e),i+=n),e.strm.avail_in===0)break;if(t=Dt(e.strm,e.window,e.strstart+e.lookahead,i),e.lookahead+=t,e.lookahead+e.insert>=P)for(l=e.strstart-e.insert,e.ins_h=e.window[l],e.ins_h=ge(e,e.ins_h,e.window[l+1]);e.insert&&(e.ins_h=ge(e,e.ins_h,e.window[l+P-1]),e.prev[l&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=l,l++,e.insert--,!(e.lookahead+e.insert<P)););}while(e.lookahead<re&&e.strm.avail_in!==0)},Pi=(e,n)=>{let t=e.pending_buf_size-5>e.w_size?e.w_size:e.pending_buf_size-5,i,l,a,f=0,s=e.strm.avail_in;do{if(i=65535,a=e.bi_valid+42>>3,e.strm.avail_out<a||(a=e.strm.avail_out-a,l=e.strstart-e.block_start,i>l+e.strm.avail_in&&(i=l+e.strm.avail_in),i>a&&(i=a),i<t&&(i===0&&n!==Q||n===pe||i!==l+e.strm.avail_in)))break;f=n===Q&&i===l+e.strm.avail_in?1:0,Gt(e,0,0,f),e.pending_buf[e.pending-4]=i,e.pending_buf[e.pending-3]=i>>8,e.pending_buf[e.pending-2]=~i,e.pending_buf[e.pending-1]=~i>>8,W(e.strm),l&&(l>i&&(l=i),e.strm.output.set(e.window.subarray(e.block_start,e.block_start+l),e.strm.next_out),e.strm.next_out+=l,e.strm.avail_out-=l,e.strm.total_out+=l,e.block_start+=l,i-=l),i&&(Dt(e.strm,e.strm.output,e.strm.next_out,i),e.strm.next_out+=i,e.strm.avail_out-=i,e.strm.total_out+=i)}while(f===0);return s-=e.strm.avail_in,s&&(s>=e.w_size?(e.matches=2,e.window.set(e.strm.input.subarray(e.strm.next_in-e.w_size,e.strm.next_in),0),e.strstart=e.w_size,e.insert=e.strstart):(e.window_size-e.strstart<=s&&(e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,e.insert>e.strstart&&(e.insert=e.strstart)),e.window.set(e.strm.input.subarray(e.strm.next_in-s,e.strm.next_in),e.strstart),e.strstart+=s,e.insert+=s>e.w_size-e.insert?e.w_size-e.insert:s),e.block_start=e.strstart),e.high_water<e.strstart&&(e.high_water=e.strstart),f?Ce:n!==pe&&n!==Q&&e.strm.avail_in===0&&e.strstart===e.block_start?ze:(a=e.window_size-e.strstart,e.strm.avail_in>a&&e.block_start>=e.w_size&&(e.block_start-=e.w_size,e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,a+=e.w_size,e.insert>e.strstart&&(e.insert=e.strstart)),a>e.strm.avail_in&&(a=e.strm.avail_in),a&&(Dt(e.strm,e.window,e.strstart,a),e.strstart+=a,e.insert+=a>e.w_size-e.insert?e.w_size-e.insert:a),e.high_water<e.strstart&&(e.high_water=e.strstart),a=e.bi_valid+42>>3,a=e.pending_buf_size-a>65535?65535:e.pending_buf_size-a,t=a>e.w_size?e.w_size:a,l=e.strstart-e.block_start,(l>=t||(l||n===Q)&&n!==pe&&e.strm.avail_in===0&&l<=a)&&(i=l>a?a:l,f=n===Q&&e.strm.avail_in===0&&i===l?1:0,Gt(e,e.block_start,i,f),e.block_start+=i,W(e.strm)),f?me:X)},Nt=(e,n)=>{let t,i;for(;;){if(e.lookahead<re){if(Fe(e),e.lookahead<re&&n===pe)return X;if(e.lookahead===0)break}if(t=0,e.lookahead>=P&&(e.ins_h=ge(e,e.ins_h,e.window[e.strstart+P-1]),t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),t!==0&&e.strstart-t<=e.w_size-re&&(e.match_length=Li(e,t)),e.match_length>=P)if(i=_e(e,e.strstart-e.match_start,e.match_length-P),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=P){e.match_length--;do e.strstart++,e.ins_h=ge(e,e.ins_h,e.window[e.strstart+P-1]),t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=ge(e,e.ins_h,e.window[e.strstart+1]);else i=_e(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(i&&(J(e,!1),e.strm.avail_out===0))return X}return e.insert=e.strstart<P-1?e.strstart:P-1,n===Q?(J(e,!0),e.strm.avail_out===0?me:Ce):e.sym_next&&(J(e,!1),e.strm.avail_out===0)?X:ze},Te=(e,n)=>{let t,i,l;for(;;){if(e.lookahead<re){if(Fe(e),e.lookahead<re&&n===pe)return X;if(e.lookahead===0)break}if(t=0,e.lookahead>=P&&(e.ins_h=ge(e,e.ins_h,e.window[e.strstart+P-1]),t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=P-1,t!==0&&e.prev_length<e.max_lazy_match&&e.strstart-t<=e.w_size-re&&(e.match_length=Li(e,t),e.match_length<=5&&(e.strategy===Qr||e.match_length===P&&e.strstart-e.match_start>4096)&&(e.match_length=P-1)),e.prev_length>=P&&e.match_length<=e.prev_length){l=e.strstart+e.lookahead-P,i=_e(e,e.strstart-1-e.prev_match,e.prev_length-P),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=l&&(e.ins_h=ge(e,e.ins_h,e.window[e.strstart+P-1]),t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=P-1,e.strstart++,i&&(J(e,!1),e.strm.avail_out===0))return X}else if(e.match_available){if(i=_e(e,0,e.window[e.strstart-1]),i&&J(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return X}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(i=_e(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<P-1?e.strstart:P-1,n===Q?(J(e,!0),e.strm.avail_out===0?me:Ce):e.sym_next&&(J(e,!1),e.strm.avail_out===0)?X:ze},ga=(e,n)=>{let t,i,l,a;const f=e.window;for(;;){if(e.lookahead<=he){if(Fe(e),e.lookahead<=he&&n===pe)return X;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=P&&e.strstart>0&&(l=e.strstart-1,i=f[l],i===f[++l]&&i===f[++l]&&i===f[++l])){a=e.strstart+he;do;while(i===f[++l]&&i===f[++l]&&i===f[++l]&&i===f[++l]&&i===f[++l]&&i===f[++l]&&i===f[++l]&&i===f[++l]&&l<a);e.match_length=he-(a-l),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=P?(t=_e(e,1,e.match_length-P),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(t=_e(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),t&&(J(e,!1),e.strm.avail_out===0))return X}return e.insert=0,n===Q?(J(e,!0),e.strm.avail_out===0?me:Ce):e.sym_next&&(J(e,!1),e.strm.avail_out===0)?X:ze},ba=(e,n)=>{let t;for(;;){if(e.lookahead===0&&(Fe(e),e.lookahead===0)){if(n===pe)return X;break}if(e.match_length=0,t=_e(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,t&&(J(e,!1),e.strm.avail_out===0))return X}return e.insert=0,n===Q?(J(e,!0),e.strm.avail_out===0?me:Ce):e.sym_next&&(J(e,!1),e.strm.avail_out===0)?X:ze};function te(e,n,t,i,l){this.good_length=e,this.max_lazy=n,this.nice_length=t,this.max_chain=i,this.func=l}const Ze=[new te(0,0,0,0,Pi),new te(4,4,8,4,Nt),new te(4,5,16,8,Nt),new te(4,6,32,32,Nt),new te(4,4,16,16,Te),new te(8,16,32,32,Te),new te(8,16,128,128,Te),new te(8,32,128,256,Te),new te(32,128,258,1024,Te),new te(32,258,258,4096,Te)],wa=e=>{e.window_size=2*e.w_size,ue(e.head),e.max_lazy_match=Ze[e.level].max_lazy,e.good_match=Ze[e.level].good_length,e.nice_match=Ze[e.level].nice_length,e.max_chain_length=Ze[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=P-1,e.match_available=0,e.ins_h=0};function ya(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=_t,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(ca*2),this.dyn_dtree=new Uint16Array((2*la+1)*2),this.bl_tree=new Uint16Array((2*fa+1)*2),ue(this.dyn_ltree),ue(this.dyn_dtree),ue(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(da+1),this.heap=new Uint16Array(2*Kt+1),ue(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*Kt+1),ue(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Qe=e=>{if(!e)return 1;const n=e.state;return!n||n.strm!==e||n.status!==Oe&&n.status!==sn&&n.status!==Yt&&n.status!==Wt&&n.status!==Jt&&n.status!==Qt&&n.status!==we&&n.status!==$e?1:0},$i=e=>{if(Qe(e))return ye(e,ie);e.total_in=e.total_out=0,e.data_type=na;const n=e.state;return n.pending=0,n.pending_out=0,n.wrap<0&&(n.wrap=-n.wrap),n.status=n.wrap===2?sn:n.wrap?Oe:we,e.adler=n.wrap===2?0:1,n.last_flush=-2,Xr(n),V},Zi=e=>{const n=$i(e);return n===V&&wa(e.state),n},xa=(e,n)=>Qe(e)||e.state.wrap!==2?ie:(e.state.gzhead=n,V),Bi=(e,n,t,i,l,a)=>{if(!e)return ie;let f=1;if(n===Jr&&(n=6),i<0?(f=0,i=-i):i>15&&(f=2,i-=16),l<1||l>ia||t!==_t||i<8||i>15||n<0||n>9||a<0||a>ea||i===8&&f!==1)return ye(e,ie);i===8&&(i=9);const s=new ya;return e.state=s,s.strm=e,s.status=Oe,s.wrap=f,s.gzhead=null,s.w_bits=i,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=l+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+P-1)/P),s.window=new Uint8Array(s.w_size*2),s.head=new Uint16Array(s.hash_size),s.prev=new Uint16Array(s.w_size),s.lit_bufsize=1<<l+6,s.pending_buf_size=s.lit_bufsize*4,s.pending_buf=new Uint8Array(s.pending_buf_size),s.sym_buf=s.lit_bufsize,s.sym_end=(s.lit_bufsize-1)*3,s.level=n,s.strategy=a,s.method=t,Zi(e)},ma=(e,n)=>Bi(e,n,_t,ra,aa,ta),Ea=(e,n)=>{if(Qe(e)||n>xn||n<0)return e?ye(e,ie):ie;const t=e.state;if(!e.output||e.avail_in!==0&&!e.input||t.status===$e&&n!==Q)return ye(e,e.avail_out===0?vt:ie);const i=t.last_flush;if(t.last_flush=n,t.pending!==0){if(W(e),e.avail_out===0)return t.last_flush=-1,V}else if(e.avail_in===0&&En(n)<=En(i)&&n!==Q)return ye(e,vt);if(t.status===$e&&e.avail_in!==0)return ye(e,vt);if(t.status===Oe&&t.wrap===0&&(t.status=we),t.status===Oe){let l=_t+(t.w_bits-8<<4)<<8,a=-1;if(t.strategy>=nt||t.level<2?a=0:t.level<6?a=1:t.level===6?a=2:a=3,l|=a<<6,t.strstart!==0&&(l|=ua),l+=31-l%31,Le(t,l),t.strstart!==0&&(Le(t,e.adler>>>16),Le(t,e.adler&65535)),e.adler=1,t.status=we,W(e),t.pending!==0)return t.last_flush=-1,V}if(t.status===sn){if(e.adler=0,B(t,31),B(t,139),B(t,8),t.gzhead)B(t,(t.gzhead.text?1:0)+(t.gzhead.hcrc?2:0)+(t.gzhead.extra?4:0)+(t.gzhead.name?8:0)+(t.gzhead.comment?16:0)),B(t,t.gzhead.time&255),B(t,t.gzhead.time>>8&255),B(t,t.gzhead.time>>16&255),B(t,t.gzhead.time>>24&255),B(t,t.level===9?2:t.strategy>=nt||t.level<2?4:0),B(t,t.gzhead.os&255),t.gzhead.extra&&t.gzhead.extra.length&&(B(t,t.gzhead.extra.length&255),B(t,t.gzhead.extra.length>>8&255)),t.gzhead.hcrc&&(e.adler=H(e.adler,t.pending_buf,t.pending,0)),t.gzindex=0,t.status=Yt;else if(B(t,0),B(t,0),B(t,0),B(t,0),B(t,0),B(t,t.level===9?2:t.strategy>=nt||t.level<2?4:0),B(t,ha),t.status=we,W(e),t.pending!==0)return t.last_flush=-1,V}if(t.status===Yt){if(t.gzhead.extra){let l=t.pending,a=(t.gzhead.extra.length&65535)-t.gzindex;for(;t.pending+a>t.pending_buf_size;){let s=t.pending_buf_size-t.pending;if(t.pending_buf.set(t.gzhead.extra.subarray(t.gzindex,t.gzindex+s),t.pending),t.pending=t.pending_buf_size,t.gzhead.hcrc&&t.pending>l&&(e.adler=H(e.adler,t.pending_buf,t.pending-l,l)),t.gzindex+=s,W(e),t.pending!==0)return t.last_flush=-1,V;l=0,a-=s}let f=new Uint8Array(t.gzhead.extra);t.pending_buf.set(f.subarray(t.gzindex,t.gzindex+a),t.pending),t.pending+=a,t.gzhead.hcrc&&t.pending>l&&(e.adler=H(e.adler,t.pending_buf,t.pending-l,l)),t.gzindex=0}t.status=Wt}if(t.status===Wt){if(t.gzhead.name){let l=t.pending,a;do{if(t.pending===t.pending_buf_size){if(t.gzhead.hcrc&&t.pending>l&&(e.adler=H(e.adler,t.pending_buf,t.pending-l,l)),W(e),t.pending!==0)return t.last_flush=-1,V;l=0}t.gzindex<t.gzhead.name.length?a=t.gzhead.name.charCodeAt(t.gzindex++)&255:a=0,B(t,a)}while(a!==0);t.gzhead.hcrc&&t.pending>l&&(e.adler=H(e.adler,t.pending_buf,t.pending-l,l)),t.gzindex=0}t.status=Jt}if(t.status===Jt){if(t.gzhead.comment){let l=t.pending,a;do{if(t.pending===t.pending_buf_size){if(t.gzhead.hcrc&&t.pending>l&&(e.adler=H(e.adler,t.pending_buf,t.pending-l,l)),W(e),t.pending!==0)return t.last_flush=-1,V;l=0}t.gzindex<t.gzhead.comment.length?a=t.gzhead.comment.charCodeAt(t.gzindex++)&255:a=0,B(t,a)}while(a!==0);t.gzhead.hcrc&&t.pending>l&&(e.adler=H(e.adler,t.pending_buf,t.pending-l,l))}t.status=Qt}if(t.status===Qt){if(t.gzhead.hcrc){if(t.pending+2>t.pending_buf_size&&(W(e),t.pending!==0))return t.last_flush=-1,V;B(t,e.adler&255),B(t,e.adler>>8&255),e.adler=0}if(t.status=we,W(e),t.pending!==0)return t.last_flush=-1,V}if(e.avail_in!==0||t.lookahead!==0||n!==pe&&t.status!==$e){let l=t.level===0?Pi(t,n):t.strategy===nt?ba(t,n):t.strategy===Dr?ga(t,n):Ze[t.level].func(t,n);if((l===me||l===Ce)&&(t.status=$e),l===X||l===me)return e.avail_out===0&&(t.last_flush=-1),V;if(l===ze&&(n===Kr?Gr(t):n!==xn&&(Gt(t,0,0,!1),n===Yr&&(ue(t.head),t.lookahead===0&&(t.strstart=0,t.block_start=0,t.insert=0))),W(e),e.avail_out===0))return t.last_flush=-1,V}return n!==Q?V:t.wrap<=0?mn:(t.wrap===2?(B(t,e.adler&255),B(t,e.adler>>8&255),B(t,e.adler>>16&255),B(t,e.adler>>24&255),B(t,e.total_in&255),B(t,e.total_in>>8&255),B(t,e.total_in>>16&255),B(t,e.total_in>>24&255)):(Le(t,e.adler>>>16),Le(t,e.adler&65535)),W(e),t.wrap>0&&(t.wrap=-t.wrap),t.pending!==0?V:mn)},va=e=>{if(Qe(e))return ie;const n=e.state.status;return e.state=null,n===we?ye(e,Wr):V},Na=(e,n)=>{let t=n.length;if(Qe(e))return ie;const i=e.state,l=i.wrap;if(l===2||l===1&&i.status!==Oe||i.lookahead)return ie;if(l===1&&(e.adler=qe(e.adler,n,t,0)),i.wrap=0,t>=i.w_size){l===0&&(ue(i.head),i.strstart=0,i.block_start=0,i.insert=0);let c=new Uint8Array(i.w_size);c.set(n.subarray(t-i.w_size,t),0),n=c,t=i.w_size}const a=e.avail_in,f=e.next_in,s=e.input;for(e.avail_in=t,e.next_in=0,e.input=n,Fe(i);i.lookahead>=P;){let c=i.strstart,r=i.lookahead-(P-1);do i.ins_h=ge(i,i.ins_h,i.window[c+P-1]),i.prev[c&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=c,c++;while(--r);i.strstart=c,i.lookahead=P-1,Fe(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=P-1,i.match_available=0,e.next_in=f,e.input=s,e.avail_in=a,i.wrap=l,V};var ka=ma,Ta=Bi,Aa=Zi,Sa=$i,Oa=xa,Fa=Ea,Ia=va,Ra=Na,za="pako deflate (from Nodeca project)",Ue={deflateInit:ka,deflateInit2:Ta,deflateReset:Aa,deflateResetKeep:Sa,deflateSetHeader:Oa,deflate:Fa,deflateEnd:Ia,deflateSetDictionary:Ra,deflateInfo:za};const Ca=(e,n)=>Object.prototype.hasOwnProperty.call(e,n);var La=function(e){const n=Array.prototype.slice.call(arguments,1);for(;n.length;){const t=n.shift();if(t){if(typeof t!="object")throw new TypeError(t+"must be non-object");for(const i in t)Ca(t,i)&&(e[i]=t[i])}}return e},Pa=e=>{let n=0;for(let i=0,l=e.length;i<l;i++)n+=e[i].length;const t=new Uint8Array(n);for(let i=0,l=0,a=e.length;i<a;i++){let f=e[i];t.set(f,l),l+=f.length}return t},pt={assign:La,flattenChunks:Pa};let Ui=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{Ui=!1}const Ge=new Uint8Array(256);for(let e=0;e<256;e++)Ge[e]=e>=252?6:e>=248?5:e>=240?4:e>=224?3:e>=192?2:1;Ge[254]=Ge[254]=1;var $a=e=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(e);let n,t,i,l,a,f=e.length,s=0;for(l=0;l<f;l++)t=e.charCodeAt(l),(t&64512)===55296&&l+1<f&&(i=e.charCodeAt(l+1),(i&64512)===56320&&(t=65536+(t-55296<<10)+(i-56320),l++)),s+=t<128?1:t<2048?2:t<65536?3:4;for(n=new Uint8Array(s),a=0,l=0;a<s;l++)t=e.charCodeAt(l),(t&64512)===55296&&l+1<f&&(i=e.charCodeAt(l+1),(i&64512)===56320&&(t=65536+(t-55296<<10)+(i-56320),l++)),t<128?n[a++]=t:t<2048?(n[a++]=192|t>>>6,n[a++]=128|t&63):t<65536?(n[a++]=224|t>>>12,n[a++]=128|t>>>6&63,n[a++]=128|t&63):(n[a++]=240|t>>>18,n[a++]=128|t>>>12&63,n[a++]=128|t>>>6&63,n[a++]=128|t&63);return n};const Za=(e,n)=>{if(n<65534&&e.subarray&&Ui)return String.fromCharCode.apply(null,e.length===n?e:e.subarray(0,n));let t="";for(let i=0;i<n;i++)t+=String.fromCharCode(e[i]);return t};var Ba=(e,n)=>{const t=n||e.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(e.subarray(0,n));let i,l;const a=new Array(t*2);for(l=0,i=0;i<t;){let f=e[i++];if(f<128){a[l++]=f;continue}let s=Ge[f];if(s>4){a[l++]=65533,i+=s-1;continue}for(f&=s===2?31:s===3?15:7;s>1&&i<t;)f=f<<6|e[i++]&63,s--;if(s>1){a[l++]=65533;continue}f<65536?a[l++]=f:(f-=65536,a[l++]=55296|f>>10&1023,a[l++]=56320|f&1023)}return Za(a,l)},Ua=(e,n)=>{n=n||e.length,n>e.length&&(n=e.length);let t=n-1;for(;t>=0&&(e[t]&192)===128;)t--;return t<0||t===0?n:t+Ge[e[t]]>n?t:n},Ke={string2buf:$a,buf2string:Ba,utf8border:Ua};function Ma(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var Mi=Ma;const ji=Object.prototype.toString,{Z_NO_FLUSH:ja,Z_SYNC_FLUSH:Ha,Z_FULL_FLUSH:Va,Z_FINISH:Xa,Z_OK:ut,Z_STREAM_END:qa,Z_DEFAULT_COMPRESSION:Ga,Z_DEFAULT_STRATEGY:Ka,Z_DEFLATED:Ya}=Je;function De(e){this.options=pt.assign({level:Ga,method:Ya,chunkSize:16384,windowBits:15,memLevel:8,strategy:Ka},e||{});let n=this.options;n.raw&&n.windowBits>0?n.windowBits=-n.windowBits:n.gzip&&n.windowBits>0&&n.windowBits<16&&(n.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Mi,this.strm.avail_out=0;let t=Ue.deflateInit2(this.strm,n.level,n.method,n.windowBits,n.memLevel,n.strategy);if(t!==ut)throw new Error(xe[t]);if(n.header&&Ue.deflateSetHeader(this.strm,n.header),n.dictionary){let i;if(typeof n.dictionary=="string"?i=Ke.string2buf(n.dictionary):ji.call(n.dictionary)==="[object ArrayBuffer]"?i=new Uint8Array(n.dictionary):i=n.dictionary,t=Ue.deflateSetDictionary(this.strm,i),t!==ut)throw new Error(xe[t]);this._dict_set=!0}}De.prototype.push=function(e,n){const t=this.strm,i=this.options.chunkSize;let l,a;if(this.ended)return!1;for(n===~~n?a=n:a=n===!0?Xa:ja,typeof e=="string"?t.input=Ke.string2buf(e):ji.call(e)==="[object ArrayBuffer]"?t.input=new Uint8Array(e):t.input=e,t.next_in=0,t.avail_in=t.input.length;;){if(t.avail_out===0&&(t.output=new Uint8Array(i),t.next_out=0,t.avail_out=i),(a===Ha||a===Va)&&t.avail_out<=6){this.onData(t.output.subarray(0,t.next_out)),t.avail_out=0;continue}if(l=Ue.deflate(t,a),l===qa)return t.next_out>0&&this.onData(t.output.subarray(0,t.next_out)),l=Ue.deflateEnd(this.strm),this.onEnd(l),this.ended=!0,l===ut;if(t.avail_out===0){this.onData(t.output);continue}if(a>0&&t.next_out>0){this.onData(t.output.subarray(0,t.next_out)),t.avail_out=0;continue}if(t.avail_in===0)break}return!0};De.prototype.onData=function(e){this.chunks.push(e)};De.prototype.onEnd=function(e){e===ut&&(this.result=pt.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function on(e,n){const t=new De(n);if(t.push(e,!0),t.err)throw t.msg||xe[t.err];return t.result}function Wa(e,n){return n=n||{},n.raw=!0,on(e,n)}function Ja(e,n){return n=n||{},n.gzip=!0,on(e,n)}var Qa=De,Da=on,es=Wa,ts=Ja,ns={Deflate:Qa,deflate:Da,deflateRaw:es,gzip:ts};const it=16209,is=16191;var rs=function(n,t){let i,l,a,f,s,c,r,o,E,_,h,v,T,I,d,g,N,k,u,p,b,A,y,m;const O=n.state;i=n.next_in,y=n.input,l=i+(n.avail_in-5),a=n.next_out,m=n.output,f=a-(t-n.avail_out),s=a+(n.avail_out-257),c=O.dmax,r=O.wsize,o=O.whave,E=O.wnext,_=O.window,h=O.hold,v=O.bits,T=O.lencode,I=O.distcode,d=(1<<O.lenbits)-1,g=(1<<O.distbits)-1;e:do{v<15&&(h+=y[i++]<<v,v+=8,h+=y[i++]<<v,v+=8),N=T[h&d];t:for(;;){if(k=N>>>24,h>>>=k,v-=k,k=N>>>16&255,k===0)m[a++]=N&65535;else if(k&16){u=N&65535,k&=15,k&&(v<k&&(h+=y[i++]<<v,v+=8),u+=h&(1<<k)-1,h>>>=k,v-=k),v<15&&(h+=y[i++]<<v,v+=8,h+=y[i++]<<v,v+=8),N=I[h&g];n:for(;;){if(k=N>>>24,h>>>=k,v-=k,k=N>>>16&255,k&16){if(p=N&65535,k&=15,v<k&&(h+=y[i++]<<v,v+=8,v<k&&(h+=y[i++]<<v,v+=8)),p+=h&(1<<k)-1,p>c){n.msg="invalid distance too far back",O.mode=it;break e}if(h>>>=k,v-=k,k=a-f,p>k){if(k=p-k,k>o&&O.sane){n.msg="invalid distance too far back",O.mode=it;break e}if(b=0,A=_,E===0){if(b+=r-k,k<u){u-=k;do m[a++]=_[b++];while(--k);b=a-p,A=m}}else if(E<k){if(b+=r+E-k,k-=E,k<u){u-=k;do m[a++]=_[b++];while(--k);if(b=0,E<u){k=E,u-=k;do m[a++]=_[b++];while(--k);b=a-p,A=m}}}else if(b+=E-k,k<u){u-=k;do m[a++]=_[b++];while(--k);b=a-p,A=m}for(;u>2;)m[a++]=A[b++],m[a++]=A[b++],m[a++]=A[b++],u-=3;u&&(m[a++]=A[b++],u>1&&(m[a++]=A[b++]))}else{b=a-p;do m[a++]=m[b++],m[a++]=m[b++],m[a++]=m[b++],u-=3;while(u>2);u&&(m[a++]=m[b++],u>1&&(m[a++]=m[b++]))}}else if((k&64)===0){N=I[(N&65535)+(h&(1<<k)-1)];continue n}else{n.msg="invalid distance code",O.mode=it;break e}break}}else if((k&64)===0){N=T[(N&65535)+(h&(1<<k)-1)];continue t}else if(k&32){O.mode=is;break e}else{n.msg="invalid literal/length code",O.mode=it;break e}break}}while(i<l&&a<s);u=v>>3,i-=u,v-=u<<3,h&=(1<<v)-1,n.next_in=i,n.next_out=a,n.avail_in=i<l?5+(l-i):5-(i-l),n.avail_out=a<s?257+(s-a):257-(a-s),O.hold=h,O.bits=v};const Ae=15,vn=852,Nn=592,kn=0,kt=1,Tn=2,as=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),ss=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),os=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),ls=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]),fs=(e,n,t,i,l,a,f,s)=>{const c=s.bits;let r=0,o=0,E=0,_=0,h=0,v=0,T=0,I=0,d=0,g=0,N,k,u,p,b,A=null,y;const m=new Uint16Array(Ae+1),O=new Uint16Array(Ae+1);let w=null,x,S,F;for(r=0;r<=Ae;r++)m[r]=0;for(o=0;o<i;o++)m[n[t+o]]++;for(h=c,_=Ae;_>=1&&m[_]===0;_--);if(h>_&&(h=_),_===0)return l[a++]=1<<24|64<<16|0,l[a++]=1<<24|64<<16|0,s.bits=1,0;for(E=1;E<_&&m[E]===0;E++);for(h<E&&(h=E),I=1,r=1;r<=Ae;r++)if(I<<=1,I-=m[r],I<0)return-1;if(I>0&&(e===kn||_!==1))return-1;for(O[1]=0,r=1;r<Ae;r++)O[r+1]=O[r]+m[r];for(o=0;o<i;o++)n[t+o]!==0&&(f[O[n[t+o]]++]=o);if(e===kn?(A=w=f,y=20):e===kt?(A=as,w=ss,y=257):(A=os,w=ls,y=0),g=0,o=0,r=E,b=a,v=h,T=0,u=-1,d=1<<h,p=d-1,e===kt&&d>vn||e===Tn&&d>Nn)return 1;for(;;){x=r-T,f[o]+1<y?(S=0,F=f[o]):f[o]>=y?(S=w[f[o]-y],F=A[f[o]-y]):(S=96,F=0),N=1<<r-T,k=1<<v,E=k;do k-=N,l[b+(g>>T)+k]=x<<24|S<<16|F|0;while(k!==0);for(N=1<<r-1;g&N;)N>>=1;if(N!==0?(g&=N-1,g+=N):g=0,o++,--m[r]===0){if(r===_)break;r=n[t+f[o]]}if(r>h&&(g&p)!==u){for(T===0&&(T=h),b+=E,v=r-T,I=1<<v;v+T<_&&(I-=m[v+T],!(I<=0));)v++,I<<=1;if(d+=1<<v,e===kt&&d>vn||e===Tn&&d>Nn)return 1;u=g&p,l[u]=h<<24|v<<16|b-a|0}}return g!==0&&(l[b+g]=r-T<<24|64<<16|0),s.bits=h,0};var Me=fs;const cs=0,Hi=1,Vi=2,{Z_FINISH:An,Z_BLOCK:ds,Z_TREES:rt,Z_OK:Ee,Z_STREAM_END:us,Z_NEED_DICT:hs,Z_STREAM_ERROR:D,Z_DATA_ERROR:Xi,Z_MEM_ERROR:qi,Z_BUF_ERROR:_s,Z_DEFLATED:Sn}=Je,gt=16180,On=16181,Fn=16182,In=16183,Rn=16184,zn=16185,Cn=16186,Ln=16187,Pn=16188,$n=16189,ht=16190,oe=16191,Tt=16192,Zn=16193,At=16194,Bn=16195,Un=16196,Mn=16197,jn=16198,at=16199,st=16200,Hn=16201,Vn=16202,Xn=16203,qn=16204,Gn=16205,St=16206,Kn=16207,Yn=16208,j=16209,Gi=16210,Ki=16211,ps=852,gs=592,bs=15,ws=bs,Wn=e=>(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24);function ys(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const ve=e=>{if(!e)return 1;const n=e.state;return!n||n.strm!==e||n.mode<gt||n.mode>Ki?1:0},Yi=e=>{if(ve(e))return D;const n=e.state;return e.total_in=e.total_out=n.total=0,e.msg="",n.wrap&&(e.adler=n.wrap&1),n.mode=gt,n.last=0,n.havedict=0,n.flags=-1,n.dmax=32768,n.head=null,n.hold=0,n.bits=0,n.lencode=n.lendyn=new Int32Array(ps),n.distcode=n.distdyn=new Int32Array(gs),n.sane=1,n.back=-1,Ee},Wi=e=>{if(ve(e))return D;const n=e.state;return n.wsize=0,n.whave=0,n.wnext=0,Yi(e)},Ji=(e,n)=>{let t;if(ve(e))return D;const i=e.state;return n<0?(t=0,n=-n):(t=(n>>4)+5,n<48&&(n&=15)),n&&(n<8||n>15)?D:(i.window!==null&&i.wbits!==n&&(i.window=null),i.wrap=t,i.wbits=n,Wi(e))},Qi=(e,n)=>{if(!e)return D;const t=new ys;e.state=t,t.strm=e,t.window=null,t.mode=gt;const i=Ji(e,n);return i!==Ee&&(e.state=null),i},xs=e=>Qi(e,ws);let Jn=!0,Ot,Ft;const ms=e=>{if(Jn){Ot=new Int32Array(512),Ft=new Int32Array(32);let n=0;for(;n<144;)e.lens[n++]=8;for(;n<256;)e.lens[n++]=9;for(;n<280;)e.lens[n++]=7;for(;n<288;)e.lens[n++]=8;for(Me(Hi,e.lens,0,288,Ot,0,e.work,{bits:9}),n=0;n<32;)e.lens[n++]=5;Me(Vi,e.lens,0,32,Ft,0,e.work,{bits:5}),Jn=!1}e.lencode=Ot,e.lenbits=9,e.distcode=Ft,e.distbits=5},Di=(e,n,t,i)=>{let l;const a=e.state;return a.window===null&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new Uint8Array(a.wsize)),i>=a.wsize?(a.window.set(n.subarray(t-a.wsize,t),0),a.wnext=0,a.whave=a.wsize):(l=a.wsize-a.wnext,l>i&&(l=i),a.window.set(n.subarray(t-i,t-i+l),a.wnext),i-=l,i?(a.window.set(n.subarray(t-i,t),0),a.wnext=i,a.whave=a.wsize):(a.wnext+=l,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=l))),0},Es=(e,n)=>{let t,i,l,a,f,s,c,r,o,E,_,h,v,T,I=0,d,g,N,k,u,p,b,A;const y=new Uint8Array(4);let m,O;const w=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(ve(e)||!e.output||!e.input&&e.avail_in!==0)return D;t=e.state,t.mode===oe&&(t.mode=Tt),f=e.next_out,l=e.output,c=e.avail_out,a=e.next_in,i=e.input,s=e.avail_in,r=t.hold,o=t.bits,E=s,_=c,A=Ee;e:for(;;)switch(t.mode){case gt:if(t.wrap===0){t.mode=Tt;break}for(;o<16;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if(t.wrap&2&&r===35615){t.wbits===0&&(t.wbits=15),t.check=0,y[0]=r&255,y[1]=r>>>8&255,t.check=H(t.check,y,2,0),r=0,o=0,t.mode=On;break}if(t.head&&(t.head.done=!1),!(t.wrap&1)||(((r&255)<<8)+(r>>8))%31){e.msg="incorrect header check",t.mode=j;break}if((r&15)!==Sn){e.msg="unknown compression method",t.mode=j;break}if(r>>>=4,o-=4,b=(r&15)+8,t.wbits===0&&(t.wbits=b),b>15||b>t.wbits){e.msg="invalid window size",t.mode=j;break}t.dmax=1<<t.wbits,t.flags=0,e.adler=t.check=1,t.mode=r&512?$n:oe,r=0,o=0;break;case On:for(;o<16;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if(t.flags=r,(t.flags&255)!==Sn){e.msg="unknown compression method",t.mode=j;break}if(t.flags&57344){e.msg="unknown header flags set",t.mode=j;break}t.head&&(t.head.text=r>>8&1),t.flags&512&&t.wrap&4&&(y[0]=r&255,y[1]=r>>>8&255,t.check=H(t.check,y,2,0)),r=0,o=0,t.mode=Fn;case Fn:for(;o<32;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}t.head&&(t.head.time=r),t.flags&512&&t.wrap&4&&(y[0]=r&255,y[1]=r>>>8&255,y[2]=r>>>16&255,y[3]=r>>>24&255,t.check=H(t.check,y,4,0)),r=0,o=0,t.mode=In;case In:for(;o<16;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}t.head&&(t.head.xflags=r&255,t.head.os=r>>8),t.flags&512&&t.wrap&4&&(y[0]=r&255,y[1]=r>>>8&255,t.check=H(t.check,y,2,0)),r=0,o=0,t.mode=Rn;case Rn:if(t.flags&1024){for(;o<16;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}t.length=r,t.head&&(t.head.extra_len=r),t.flags&512&&t.wrap&4&&(y[0]=r&255,y[1]=r>>>8&255,t.check=H(t.check,y,2,0)),r=0,o=0}else t.head&&(t.head.extra=null);t.mode=zn;case zn:if(t.flags&1024&&(h=t.length,h>s&&(h=s),h&&(t.head&&(b=t.head.extra_len-t.length,t.head.extra||(t.head.extra=new Uint8Array(t.head.extra_len)),t.head.extra.set(i.subarray(a,a+h),b)),t.flags&512&&t.wrap&4&&(t.check=H(t.check,i,h,a)),s-=h,a+=h,t.length-=h),t.length))break e;t.length=0,t.mode=Cn;case Cn:if(t.flags&2048){if(s===0)break e;h=0;do b=i[a+h++],t.head&&b&&t.length<65536&&(t.head.name+=String.fromCharCode(b));while(b&&h<s);if(t.flags&512&&t.wrap&4&&(t.check=H(t.check,i,h,a)),s-=h,a+=h,b)break e}else t.head&&(t.head.name=null);t.length=0,t.mode=Ln;case Ln:if(t.flags&4096){if(s===0)break e;h=0;do b=i[a+h++],t.head&&b&&t.length<65536&&(t.head.comment+=String.fromCharCode(b));while(b&&h<s);if(t.flags&512&&t.wrap&4&&(t.check=H(t.check,i,h,a)),s-=h,a+=h,b)break e}else t.head&&(t.head.comment=null);t.mode=Pn;case Pn:if(t.flags&512){for(;o<16;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if(t.wrap&4&&r!==(t.check&65535)){e.msg="header crc mismatch",t.mode=j;break}r=0,o=0}t.head&&(t.head.hcrc=t.flags>>9&1,t.head.done=!0),e.adler=t.check=0,t.mode=oe;break;case $n:for(;o<32;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}e.adler=t.check=Wn(r),r=0,o=0,t.mode=ht;case ht:if(t.havedict===0)return e.next_out=f,e.avail_out=c,e.next_in=a,e.avail_in=s,t.hold=r,t.bits=o,hs;e.adler=t.check=1,t.mode=oe;case oe:if(n===ds||n===rt)break e;case Tt:if(t.last){r>>>=o&7,o-=o&7,t.mode=St;break}for(;o<3;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}switch(t.last=r&1,r>>>=1,o-=1,r&3){case 0:t.mode=Zn;break;case 1:if(ms(t),t.mode=at,n===rt){r>>>=2,o-=2;break e}break;case 2:t.mode=Un;break;case 3:e.msg="invalid block type",t.mode=j}r>>>=2,o-=2;break;case Zn:for(r>>>=o&7,o-=o&7;o<32;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if((r&65535)!==(r>>>16^65535)){e.msg="invalid stored block lengths",t.mode=j;break}if(t.length=r&65535,r=0,o=0,t.mode=At,n===rt)break e;case At:t.mode=Bn;case Bn:if(h=t.length,h){if(h>s&&(h=s),h>c&&(h=c),h===0)break e;l.set(i.subarray(a,a+h),f),s-=h,a+=h,c-=h,f+=h,t.length-=h;break}t.mode=oe;break;case Un:for(;o<14;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if(t.nlen=(r&31)+257,r>>>=5,o-=5,t.ndist=(r&31)+1,r>>>=5,o-=5,t.ncode=(r&15)+4,r>>>=4,o-=4,t.nlen>286||t.ndist>30){e.msg="too many length or distance symbols",t.mode=j;break}t.have=0,t.mode=Mn;case Mn:for(;t.have<t.ncode;){for(;o<3;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}t.lens[w[t.have++]]=r&7,r>>>=3,o-=3}for(;t.have<19;)t.lens[w[t.have++]]=0;if(t.lencode=t.lendyn,t.lenbits=7,m={bits:t.lenbits},A=Me(cs,t.lens,0,19,t.lencode,0,t.work,m),t.lenbits=m.bits,A){e.msg="invalid code lengths set",t.mode=j;break}t.have=0,t.mode=jn;case jn:for(;t.have<t.nlen+t.ndist;){for(;I=t.lencode[r&(1<<t.lenbits)-1],d=I>>>24,g=I>>>16&255,N=I&65535,!(d<=o);){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if(N<16)r>>>=d,o-=d,t.lens[t.have++]=N;else{if(N===16){for(O=d+2;o<O;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if(r>>>=d,o-=d,t.have===0){e.msg="invalid bit length repeat",t.mode=j;break}b=t.lens[t.have-1],h=3+(r&3),r>>>=2,o-=2}else if(N===17){for(O=d+3;o<O;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}r>>>=d,o-=d,b=0,h=3+(r&7),r>>>=3,o-=3}else{for(O=d+7;o<O;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}r>>>=d,o-=d,b=0,h=11+(r&127),r>>>=7,o-=7}if(t.have+h>t.nlen+t.ndist){e.msg="invalid bit length repeat",t.mode=j;break}for(;h--;)t.lens[t.have++]=b}}if(t.mode===j)break;if(t.lens[256]===0){e.msg="invalid code -- missing end-of-block",t.mode=j;break}if(t.lenbits=9,m={bits:t.lenbits},A=Me(Hi,t.lens,0,t.nlen,t.lencode,0,t.work,m),t.lenbits=m.bits,A){e.msg="invalid literal/lengths set",t.mode=j;break}if(t.distbits=6,t.distcode=t.distdyn,m={bits:t.distbits},A=Me(Vi,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,m),t.distbits=m.bits,A){e.msg="invalid distances set",t.mode=j;break}if(t.mode=at,n===rt)break e;case at:t.mode=st;case st:if(s>=6&&c>=258){e.next_out=f,e.avail_out=c,e.next_in=a,e.avail_in=s,t.hold=r,t.bits=o,rs(e,_),f=e.next_out,l=e.output,c=e.avail_out,a=e.next_in,i=e.input,s=e.avail_in,r=t.hold,o=t.bits,t.mode===oe&&(t.back=-1);break}for(t.back=0;I=t.lencode[r&(1<<t.lenbits)-1],d=I>>>24,g=I>>>16&255,N=I&65535,!(d<=o);){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if(g&&(g&240)===0){for(k=d,u=g,p=N;I=t.lencode[p+((r&(1<<k+u)-1)>>k)],d=I>>>24,g=I>>>16&255,N=I&65535,!(k+d<=o);){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}r>>>=k,o-=k,t.back+=k}if(r>>>=d,o-=d,t.back+=d,t.length=N,g===0){t.mode=Gn;break}if(g&32){t.back=-1,t.mode=oe;break}if(g&64){e.msg="invalid literal/length code",t.mode=j;break}t.extra=g&15,t.mode=Hn;case Hn:if(t.extra){for(O=t.extra;o<O;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}t.length+=r&(1<<t.extra)-1,r>>>=t.extra,o-=t.extra,t.back+=t.extra}t.was=t.length,t.mode=Vn;case Vn:for(;I=t.distcode[r&(1<<t.distbits)-1],d=I>>>24,g=I>>>16&255,N=I&65535,!(d<=o);){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if((g&240)===0){for(k=d,u=g,p=N;I=t.distcode[p+((r&(1<<k+u)-1)>>k)],d=I>>>24,g=I>>>16&255,N=I&65535,!(k+d<=o);){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}r>>>=k,o-=k,t.back+=k}if(r>>>=d,o-=d,t.back+=d,g&64){e.msg="invalid distance code",t.mode=j;break}t.offset=N,t.extra=g&15,t.mode=Xn;case Xn:if(t.extra){for(O=t.extra;o<O;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}t.offset+=r&(1<<t.extra)-1,r>>>=t.extra,o-=t.extra,t.back+=t.extra}if(t.offset>t.dmax){e.msg="invalid distance too far back",t.mode=j;break}t.mode=qn;case qn:if(c===0)break e;if(h=_-c,t.offset>h){if(h=t.offset-h,h>t.whave&&t.sane){e.msg="invalid distance too far back",t.mode=j;break}h>t.wnext?(h-=t.wnext,v=t.wsize-h):v=t.wnext-h,h>t.length&&(h=t.length),T=t.window}else T=l,v=f-t.offset,h=t.length;h>c&&(h=c),c-=h,t.length-=h;do l[f++]=T[v++];while(--h);t.length===0&&(t.mode=st);break;case Gn:if(c===0)break e;l[f++]=t.length,c--,t.mode=st;break;case St:if(t.wrap){for(;o<32;){if(s===0)break e;s--,r|=i[a++]<<o,o+=8}if(_-=c,e.total_out+=_,t.total+=_,t.wrap&4&&_&&(e.adler=t.check=t.flags?H(t.check,l,_,f-_):qe(t.check,l,_,f-_)),_=c,t.wrap&4&&(t.flags?r:Wn(r))!==t.check){e.msg="incorrect data check",t.mode=j;break}r=0,o=0}t.mode=Kn;case Kn:if(t.wrap&&t.flags){for(;o<32;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if(t.wrap&4&&r!==(t.total&4294967295)){e.msg="incorrect length check",t.mode=j;break}r=0,o=0}t.mode=Yn;case Yn:A=us;break e;case j:A=Xi;break e;case Gi:return qi;case Ki:default:return D}return e.next_out=f,e.avail_out=c,e.next_in=a,e.avail_in=s,t.hold=r,t.bits=o,(t.wsize||_!==e.avail_out&&t.mode<j&&(t.mode<St||n!==An))&&Di(e,e.output,e.next_out,_-e.avail_out),E-=e.avail_in,_-=e.avail_out,e.total_in+=E,e.total_out+=_,t.total+=_,t.wrap&4&&_&&(e.adler=t.check=t.flags?H(t.check,l,_,e.next_out-_):qe(t.check,l,_,e.next_out-_)),e.data_type=t.bits+(t.last?64:0)+(t.mode===oe?128:0)+(t.mode===at||t.mode===At?256:0),(E===0&&_===0||n===An)&&A===Ee&&(A=_s),A},vs=e=>{if(ve(e))return D;let n=e.state;return n.window&&(n.window=null),e.state=null,Ee},Ns=(e,n)=>{if(ve(e))return D;const t=e.state;return(t.wrap&2)===0?D:(t.head=n,n.done=!1,Ee)},ks=(e,n)=>{const t=n.length;let i,l,a;return ve(e)||(i=e.state,i.wrap!==0&&i.mode!==ht)?D:i.mode===ht&&(l=1,l=qe(l,n,t,0),l!==i.check)?Xi:(a=Di(e,n,t,t),a?(i.mode=Gi,qi):(i.havedict=1,Ee))};var Ts=Wi,As=Ji,Ss=Yi,Os=xs,Fs=Qi,Is=Es,Rs=vs,zs=Ns,Cs=ks,Ls="pako inflate (from Nodeca project)",fe={inflateReset:Ts,inflateReset2:As,inflateResetKeep:Ss,inflateInit:Os,inflateInit2:Fs,inflate:Is,inflateEnd:Rs,inflateGetHeader:zs,inflateSetDictionary:Cs,inflateInfo:Ls};function Ps(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var $s=Ps;const er=Object.prototype.toString,{Z_NO_FLUSH:Zs,Z_FINISH:Bs,Z_OK:Ye,Z_STREAM_END:It,Z_NEED_DICT:Rt,Z_STREAM_ERROR:Us,Z_DATA_ERROR:Qn,Z_MEM_ERROR:Ms}=Je;function et(e){this.options=pt.assign({chunkSize:1024*64,windowBits:15,to:""},e||{});const n=this.options;n.raw&&n.windowBits>=0&&n.windowBits<16&&(n.windowBits=-n.windowBits,n.windowBits===0&&(n.windowBits=-15)),n.windowBits>=0&&n.windowBits<16&&!(e&&e.windowBits)&&(n.windowBits+=32),n.windowBits>15&&n.windowBits<48&&(n.windowBits&15)===0&&(n.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Mi,this.strm.avail_out=0;let t=fe.inflateInit2(this.strm,n.windowBits);if(t!==Ye)throw new Error(xe[t]);if(this.header=new $s,fe.inflateGetHeader(this.strm,this.header),n.dictionary&&(typeof n.dictionary=="string"?n.dictionary=Ke.string2buf(n.dictionary):er.call(n.dictionary)==="[object ArrayBuffer]"&&(n.dictionary=new Uint8Array(n.dictionary)),n.raw&&(t=fe.inflateSetDictionary(this.strm,n.dictionary),t!==Ye)))throw new Error(xe[t])}et.prototype.push=function(e,n){const t=this.strm,i=this.options.chunkSize,l=this.options.dictionary;let a,f,s;if(this.ended)return!1;for(n===~~n?f=n:f=n===!0?Bs:Zs,er.call(e)==="[object ArrayBuffer]"?t.input=new Uint8Array(e):t.input=e,t.next_in=0,t.avail_in=t.input.length;;){for(t.avail_out===0&&(t.output=new Uint8Array(i),t.next_out=0,t.avail_out=i),a=fe.inflate(t,f),a===Rt&&l&&(a=fe.inflateSetDictionary(t,l),a===Ye?a=fe.inflate(t,f):a===Qn&&(a=Rt));t.avail_in>0&&a===It&&t.state.wrap>0&&e[t.next_in]!==0;)fe.inflateReset(t),a=fe.inflate(t,f);switch(a){case Us:case Qn:case Rt:case Ms:return this.onEnd(a),this.ended=!0,!1}if(s=t.avail_out,t.next_out&&(t.avail_out===0||a===It))if(this.options.to==="string"){let c=Ke.utf8border(t.output,t.next_out),r=t.next_out-c,o=Ke.buf2string(t.output,c);t.next_out=r,t.avail_out=i-r,r&&t.output.set(t.output.subarray(c,c+r),0),this.onData(o)}else this.onData(t.output.length===t.next_out?t.output:t.output.subarray(0,t.next_out));if(!(a===Ye&&s===0)){if(a===It)return a=fe.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,!0;if(t.avail_in===0)break}}return!0};et.prototype.onData=function(e){this.chunks.push(e)};et.prototype.onEnd=function(e){e===Ye&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=pt.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function ln(e,n){const t=new et(n);if(t.push(e),t.err)throw t.msg||xe[t.err];return t.result}function js(e,n){return n=n||{},n.raw=!0,ln(e,n)}var Hs=et,Vs=ln,Xs=js,qs=ln,Gs={Inflate:Hs,inflate:Vs,inflateRaw:Xs,ungzip:qs};const{Deflate:Ks,deflate:Ys,deflateRaw:Ws,gzip:Js}=ns,{Inflate:Qs,inflate:Ds,inflateRaw:eo,ungzip:to}=Gs;var no=Ks,io=Ys,ro=Ws,ao=Js,so=Qs,oo=Ds,lo=eo,fo=to,co=Je,uo={Deflate:no,deflate:io,deflateRaw:ro,gzip:ao,Inflate:so,inflate:oo,inflateRaw:lo,ungzip:fo,constants:co},ot={exports:{}},zt={},Ct={},Dn;function fn(){return Dn||(Dn=1,function(e){const n=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",t=n+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",i="["+n+"]["+t+"]*",l=new RegExp("^"+i+"$"),a=function(s,c){const r=[];let o=c.exec(s);for(;o;){const E=[];E.startIndex=c.lastIndex-o[0].length;const _=o.length;for(let h=0;h<_;h++)E.push(o[h]);r.push(E),o=c.exec(s)}return r},f=function(s){const c=l.exec(s);return!(c===null||typeof c>"u")};e.isExist=function(s){return typeof s<"u"},e.isEmptyObject=function(s){return Object.keys(s).length===0},e.merge=function(s,c,r){if(c){const o=Object.keys(c),E=o.length;for(let _=0;_<E;_++)r==="strict"?s[o[_]]=[c[o[_]]]:s[o[_]]=c[o[_]]}},e.getValue=function(s){return e.isExist(s)?s:""},e.isName=f,e.getAllMatches=a,e.nameRegexp=i}(Ct)),Ct}var ei;function tr(){if(ei)return zt;ei=1;const e=fn(),n={allowBooleanAttributes:!1,unpairedTags:[]};zt.validate=function(d,g){g=Object.assign({},n,g);const N=[];let k=!1,u=!1;d[0]==="\uFEFF"&&(d=d.substr(1));for(let p=0;p<d.length;p++)if(d[p]==="<"&&d[p+1]==="?"){if(p+=2,p=i(d,p),p.err)return p}else if(d[p]==="<"){let b=p;if(p++,d[p]==="!"){p=l(d,p);continue}else{let A=!1;d[p]==="/"&&(A=!0,p++);let y="";for(;p<d.length&&d[p]!==">"&&d[p]!==" "&&d[p]!==" "&&d[p]!==`
2
2
  `&&d[p]!=="\r";p++)y+=d[p];if(y=y.trim(),y[y.length-1]==="/"&&(y=y.substring(0,y.length-1),p--),!v(y)){let w;return y.trim().length===0?w="Invalid space after '<'.":w="Tag '"+y+"' is an invalid name.",_("InvalidTag",w,T(d,p))}const m=s(d,p);if(m===!1)return _("InvalidAttr","Attributes for '"+y+"' have open quote.",T(d,p));let O=m.value;if(p=m.index,O[O.length-1]==="/"){const w=p-O.length;O=O.substring(0,O.length-1);const x=r(O,g);if(x===!0)k=!0;else return _(x.err.code,x.err.msg,T(d,w+x.err.line))}else if(A)if(m.tagClosed){if(O.trim().length>0)return _("InvalidTag","Closing tag '"+y+"' can't have attributes or invalid starting.",T(d,b));if(N.length===0)return _("InvalidTag","Closing tag '"+y+"' has not been opened.",T(d,b));{const w=N.pop();if(y!==w.tagName){let x=T(d,w.tagStartPos);return _("InvalidTag","Expected closing tag '"+w.tagName+"' (opened in line "+x.line+", col "+x.col+") instead of closing tag '"+y+"'.",T(d,b))}N.length==0&&(u=!0)}}else return _("InvalidTag","Closing tag '"+y+"' doesn't have proper closing.",T(d,p));else{const w=r(O,g);if(w!==!0)return _(w.err.code,w.err.msg,T(d,p-O.length+w.err.line));if(u===!0)return _("InvalidXml","Multiple possible root nodes found.",T(d,p));g.unpairedTags.indexOf(y)!==-1||N.push({tagName:y,tagStartPos:b}),k=!0}for(p++;p<d.length;p++)if(d[p]==="<")if(d[p+1]==="!"){p++,p=l(d,p);continue}else if(d[p+1]==="?"){if(p=i(d,++p),p.err)return p}else break;else if(d[p]==="&"){const w=E(d,p);if(w==-1)return _("InvalidChar","char '&' is not expected.",T(d,p));p=w}else if(u===!0&&!t(d[p]))return _("InvalidXml","Extra text at the end",T(d,p));d[p]==="<"&&p--}}else{if(t(d[p]))continue;return _("InvalidChar","char '"+d[p]+"' is not expected.",T(d,p))}if(k){if(N.length==1)return _("InvalidTag","Unclosed tag '"+N[0].tagName+"'.",T(d,N[0].tagStartPos));if(N.length>0)return _("InvalidXml","Invalid '"+JSON.stringify(N.map(p=>p.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return _("InvalidXml","Start tag expected.",1);return!0};function t(d){return d===" "||d===" "||d===`
3
3
  `||d==="\r"}function i(d,g){const N=g;for(;g<d.length;g++)if(d[g]=="?"||d[g]==" "){const k=d.substr(N,g-N);if(g>5&&k==="xml")return _("InvalidXml","XML declaration allowed only at the start of the document.",T(d,g));if(d[g]=="?"&&d[g+1]==">"){g++;break}else continue}return g}function l(d,g){if(d.length>g+5&&d[g+1]==="-"&&d[g+2]==="-"){for(g+=3;g<d.length;g++)if(d[g]==="-"&&d[g+1]==="-"&&d[g+2]===">"){g+=2;break}}else if(d.length>g+8&&d[g+1]==="D"&&d[g+2]==="O"&&d[g+3]==="C"&&d[g+4]==="T"&&d[g+5]==="Y"&&d[g+6]==="P"&&d[g+7]==="E"){let N=1;for(g+=8;g<d.length;g++)if(d[g]==="<")N++;else if(d[g]===">"&&(N--,N===0))break}else if(d.length>g+9&&d[g+1]==="["&&d[g+2]==="C"&&d[g+3]==="D"&&d[g+4]==="A"&&d[g+5]==="T"&&d[g+6]==="A"&&d[g+7]==="["){for(g+=8;g<d.length;g++)if(d[g]==="]"&&d[g+1]==="]"&&d[g+2]===">"){g+=2;break}}return g}const a='"',f="'";function s(d,g){let N="",k="",u=!1;for(;g<d.length;g++){if(d[g]===a||d[g]===f)k===""?k=d[g]:k!==d[g]||(k="");else if(d[g]===">"&&k===""){u=!0;break}N+=d[g]}return k!==""?!1:{value:N,index:g,tagClosed:u}}const c=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function r(d,g){const N=e.getAllMatches(d,c),k={};for(let u=0;u<N.length;u++){if(N[u][1].length===0)return _("InvalidAttr","Attribute '"+N[u][2]+"' has no space in starting.",I(N[u]));if(N[u][3]!==void 0&&N[u][4]===void 0)return _("InvalidAttr","Attribute '"+N[u][2]+"' is without value.",I(N[u]));if(N[u][3]===void 0&&!g.allowBooleanAttributes)return _("InvalidAttr","boolean attribute '"+N[u][2]+"' is not allowed.",I(N[u]));const p=N[u][2];if(!h(p))return _("InvalidAttr","Attribute '"+p+"' is an invalid name.",I(N[u]));if(!k.hasOwnProperty(p))k[p]=1;else return _("InvalidAttr","Attribute '"+p+"' is repeated.",I(N[u]))}return!0}function o(d,g){let N=/\d/;for(d[g]==="x"&&(g++,N=/[\da-fA-F]/);g<d.length;g++){if(d[g]===";")return g;if(!d[g].match(N))break}return-1}function E(d,g){if(g++,d[g]===";")return-1;if(d[g]==="#")return g++,o(d,g);let N=0;for(;g<d.length;g++,N++)if(!(d[g].match(/\w/)&&N<20)){if(d[g]===";")break;return-1}return g}function _(d,g,N){return{err:{code:d,msg:g,line:N.line||N,col:N.col}}}function h(d){return e.isName(d)}function v(d){return e.isName(d)}function T(d,g){const N=d.substring(0,g).split(/\r?\n/);return{line:N.length,col:N[N.length-1].length+1}}function I(d){return d.startIndex+d[1].length}return zt}var lt={},ti;function ho(){if(ti)return lt;ti=1;const e={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(t,i){return i},attributeValueProcessor:function(t,i){return i},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(t,i,l){return t}},n=function(t){return Object.assign({},e,t)};return lt.buildOptions=n,lt.defaultOptions=e,lt}var Lt,ni;function _o(){if(ni)return Lt;ni=1;class e{constructor(t){this.tagname=t,this.child=[],this[":@"]={}}add(t,i){t==="__proto__"&&(t="#__proto__"),this.child.push({[t]:i})}addChild(t){t.tagname==="__proto__"&&(t.tagname="#__proto__"),t[":@"]&&Object.keys(t[":@"]).length>0?this.child.push({[t.tagname]:t.child,":@":t[":@"]}):this.child.push({[t.tagname]:t.child})}}return Lt=e,Lt}var Pt,ii;function po(){if(ii)return Pt;ii=1;const e=fn();function n(r,o){const E={};if(r[o+3]==="O"&&r[o+4]==="C"&&r[o+5]==="T"&&r[o+6]==="Y"&&r[o+7]==="P"&&r[o+8]==="E"){o=o+9;let _=1,h=!1,v=!1,T="";for(;o<r.length;o++)if(r[o]==="<"&&!v){if(h&&l(r,o))o+=7,[entityName,val,o]=t(r,o+1),val.indexOf("&")===-1&&(E[c(entityName)]={regx:RegExp(`&${entityName};`,"g"),val});else if(h&&a(r,o))o+=8;else if(h&&f(r,o))o+=8;else if(h&&s(r,o))o+=9;else if(i)v=!0;else throw new Error("Invalid DOCTYPE");_++,T=""}else if(r[o]===">"){if(v?r[o-1]==="-"&&r[o-2]==="-"&&(v=!1,_--):_--,_===0)break}else r[o]==="["?h=!0:T+=r[o];if(_!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:E,i:o}}function t(r,o){let E="";for(;o<r.length&&r[o]!=="'"&&r[o]!=='"';o++)E+=r[o];if(E=E.trim(),E.indexOf(" ")!==-1)throw new Error("External entites are not supported");const _=r[o++];let h="";for(;o<r.length&&r[o]!==_;o++)h+=r[o];return[E,h,o]}function i(r,o){return r[o+1]==="!"&&r[o+2]==="-"&&r[o+3]==="-"}function l(r,o){return r[o+1]==="!"&&r[o+2]==="E"&&r[o+3]==="N"&&r[o+4]==="T"&&r[o+5]==="I"&&r[o+6]==="T"&&r[o+7]==="Y"}function a(r,o){return r[o+1]==="!"&&r[o+2]==="E"&&r[o+3]==="L"&&r[o+4]==="E"&&r[o+5]==="M"&&r[o+6]==="E"&&r[o+7]==="N"&&r[o+8]==="T"}function f(r,o){return r[o+1]==="!"&&r[o+2]==="A"&&r[o+3]==="T"&&r[o+4]==="T"&&r[o+5]==="L"&&r[o+6]==="I"&&r[o+7]==="S"&&r[o+8]==="T"}function s(r,o){return r[o+1]==="!"&&r[o+2]==="N"&&r[o+3]==="O"&&r[o+4]==="T"&&r[o+5]==="A"&&r[o+6]==="T"&&r[o+7]==="I"&&r[o+8]==="O"&&r[o+9]==="N"}function c(r){if(e.isName(r))return r;throw new Error(`Invalid entity name ${r}`)}return Pt=n,Pt}var $t,ri;function go(){if(ri)return $t;ri=1;const e=/^[-+]?0x[a-fA-F0-9]+$/,n=/^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/;!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt),!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);const t={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};function i(a,f={}){if(f=Object.assign({},t,f),!a||typeof a!="string")return a;let s=a.trim();if(f.skipLike!==void 0&&f.skipLike.test(s))return a;if(f.hex&&e.test(s))return Number.parseInt(s,16);{const c=n.exec(s);if(c){const r=c[1],o=c[2];let E=l(c[3]);const _=c[4]||c[6];if(!f.leadingZeros&&o.length>0&&r&&s[2]!==".")return a;if(!f.leadingZeros&&o.length>0&&!r&&s[1]!==".")return a;{const h=Number(s),v=""+h;return v.search(/[eE]/)!==-1||_?f.eNotation?h:a:s.indexOf(".")!==-1?v==="0"&&E===""||v===E||r&&v==="-"+E?h:a:o?E===v||r+E===v?h:a:s===v||s===r+v?h:a}}else return a}}function l(a){return a&&a.indexOf(".")!==-1&&(a=a.replace(/0+$/,""),a==="."?a="0":a[0]==="."?a="0"+a:a[a.length-1]==="."&&(a=a.substr(0,a.length-1))),a}return $t=i,$t}var Zt,ai;function nr(){if(ai)return Zt;ai=1;function e(n){return typeof n=="function"?n:Array.isArray(n)?t=>{for(const i of n)if(typeof i=="string"&&t===i||i instanceof RegExp&&i.test(t))return!0}:()=>!1}return Zt=e,Zt}var Bt,si;function bo(){if(si)return Bt;si=1;const e=fn(),n=_o(),t=po(),i=go(),l=nr();class a{constructor(p){this.options=p,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(b,A)=>String.fromCharCode(Number.parseInt(A,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(b,A)=>String.fromCharCode(Number.parseInt(A,16))}},this.addExternalEntities=f,this.parseXml=E,this.parseTextData=s,this.resolveNameSpace=c,this.buildAttributesMap=o,this.isItStopNode=T,this.replaceEntitiesValue=h,this.readStopNodeData=N,this.saveTextToParentTag=v,this.addChild=_,this.ignoreAttributesFn=l(this.options.ignoreAttributes)}}function f(u){const p=Object.keys(u);for(let b=0;b<p.length;b++){const A=p[b];this.lastEntities[A]={regex:new RegExp("&"+A+";","g"),val:u[A]}}}function s(u,p,b,A,y,m,O){if(u!==void 0&&(this.options.trimValues&&!A&&(u=u.trim()),u.length>0)){O||(u=this.replaceEntitiesValue(u));const w=this.options.tagValueProcessor(p,u,b,y,m);return w==null?u:typeof w!=typeof u||w!==u?w:this.options.trimValues?k(u,this.options.parseTagValue,this.options.numberParseOptions):u.trim()===u?k(u,this.options.parseTagValue,this.options.numberParseOptions):u}}function c(u){if(this.options.removeNSPrefix){const p=u.split(":"),b=u.charAt(0)==="/"?"/":"";if(p[0]==="xmlns")return"";p.length===2&&(u=b+p[1])}return u}const r=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function o(u,p,b){if(this.options.ignoreAttributes!==!0&&typeof u=="string"){const A=e.getAllMatches(u,r),y=A.length,m={};for(let O=0;O<y;O++){const w=this.resolveNameSpace(A[O][1]);if(this.ignoreAttributesFn(w,p))continue;let x=A[O][4],S=this.options.attributeNamePrefix+w;if(w.length)if(this.options.transformAttributeName&&(S=this.options.transformAttributeName(S)),S==="__proto__"&&(S="#__proto__"),x!==void 0){this.options.trimValues&&(x=x.trim()),x=this.replaceEntitiesValue(x);const F=this.options.attributeValueProcessor(w,x,p);F==null?m[S]=x:typeof F!=typeof x||F!==x?m[S]=F:m[S]=k(x,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(m[S]=!0)}if(!Object.keys(m).length)return;if(this.options.attributesGroupName){const O={};return O[this.options.attributesGroupName]=m,O}return m}}const E=function(u){u=u.replace(/\r\n?/g,`
4
4
  `);const p=new n("!xml");let b=p,A="",y="";for(let m=0;m<u.length;m++)if(u[m]==="<")if(u[m+1]==="/"){const w=d(u,">",m,"Closing Tag is not closed.");let x=u.substring(m+2,w).trim();if(this.options.removeNSPrefix){const R=x.indexOf(":");R!==-1&&(x=x.substr(R+1))}this.options.transformTagName&&(x=this.options.transformTagName(x)),b&&(A=this.saveTextToParentTag(A,b,y));const S=y.substring(y.lastIndexOf(".")+1);if(x&&this.options.unpairedTags.indexOf(x)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: </${x}>`);let F=0;S&&this.options.unpairedTags.indexOf(S)!==-1?(F=y.lastIndexOf(".",y.lastIndexOf(".")-1),this.tagsNodeStack.pop()):F=y.lastIndexOf("."),y=y.substring(0,F),b=this.tagsNodeStack.pop(),A="",m=w}else if(u[m+1]==="?"){let w=g(u,m,!1,"?>");if(!w)throw new Error("Pi Tag is not closed.");if(A=this.saveTextToParentTag(A,b,y),!(this.options.ignoreDeclaration&&w.tagName==="?xml"||this.options.ignorePiTags)){const x=new n(w.tagName);x.add(this.options.textNodeName,""),w.tagName!==w.tagExp&&w.attrExpPresent&&(x[":@"]=this.buildAttributesMap(w.tagExp,y,w.tagName)),this.addChild(b,x,y)}m=w.closeIndex+1}else if(u.substr(m+1,3)==="!--"){const w=d(u,"-->",m+4,"Comment is not closed.");if(this.options.commentPropName){const x=u.substring(m+4,w-2);A=this.saveTextToParentTag(A,b,y),b.add(this.options.commentPropName,[{[this.options.textNodeName]:x}])}m=w}else if(u.substr(m+1,2)==="!D"){const w=t(u,m);this.docTypeEntities=w.entities,m=w.i}else if(u.substr(m+1,2)==="!["){const w=d(u,"]]>",m,"CDATA is not closed.")-2,x=u.substring(m+9,w);A=this.saveTextToParentTag(A,b,y);let S=this.parseTextData(x,b.tagname,y,!0,!1,!0,!0);S==null&&(S=""),this.options.cdataPropName?b.add(this.options.cdataPropName,[{[this.options.textNodeName]:x}]):b.add(this.options.textNodeName,S),m=w+2}else{let w=g(u,m,this.options.removeNSPrefix),x=w.tagName;const S=w.rawTagName;let F=w.tagExp,R=w.attrExpPresent,C=w.closeIndex;this.options.transformTagName&&(x=this.options.transformTagName(x)),b&&A&&b.tagname!=="!xml"&&(A=this.saveTextToParentTag(A,b,y,!1));const Z=b;if(Z&&this.options.unpairedTags.indexOf(Z.tagname)!==-1&&(b=this.tagsNodeStack.pop(),y=y.substring(0,y.lastIndexOf("."))),x!==p.tagname&&(y+=y?"."+x:x),this.isItStopNode(this.options.stopNodes,y,x)){let M="";if(F.length>0&&F.lastIndexOf("/")===F.length-1)x[x.length-1]==="/"?(x=x.substr(0,x.length-1),y=y.substr(0,y.length-1),F=x):F=F.substr(0,F.length-1),m=w.closeIndex;else if(this.options.unpairedTags.indexOf(x)!==-1)m=w.closeIndex;else{const ee=this.readStopNodeData(u,S,C+1);if(!ee)throw new Error(`Unexpected end of ${S}`);m=ee.i,M=ee.tagContent}const q=new n(x);x!==F&&R&&(q[":@"]=this.buildAttributesMap(F,y,x)),M&&(M=this.parseTextData(M,x,y,!0,R,!0,!0)),y=y.substr(0,y.lastIndexOf(".")),q.add(this.options.textNodeName,M),this.addChild(b,q,y)}else{if(F.length>0&&F.lastIndexOf("/")===F.length-1){x[x.length-1]==="/"?(x=x.substr(0,x.length-1),y=y.substr(0,y.length-1),F=x):F=F.substr(0,F.length-1),this.options.transformTagName&&(x=this.options.transformTagName(x));const M=new n(x);x!==F&&R&&(M[":@"]=this.buildAttributesMap(F,y,x)),this.addChild(b,M,y),y=y.substr(0,y.lastIndexOf("."))}else{const M=new n(x);this.tagsNodeStack.push(b),x!==F&&R&&(M[":@"]=this.buildAttributesMap(F,y,x)),this.addChild(b,M,y),b=M}A="",m=C}}else A+=u[m];return p.child};function _(u,p,b){const A=this.options.updateTag(p.tagname,b,p[":@"]);A===!1||(typeof A=="string"&&(p.tagname=A),u.addChild(p))}const h=function(u){if(this.options.processEntities){for(let p in this.docTypeEntities){const b=this.docTypeEntities[p];u=u.replace(b.regx,b.val)}for(let p in this.lastEntities){const b=this.lastEntities[p];u=u.replace(b.regex,b.val)}if(this.options.htmlEntities)for(let p in this.htmlEntities){const b=this.htmlEntities[p];u=u.replace(b.regex,b.val)}u=u.replace(this.ampEntity.regex,this.ampEntity.val)}return u};function v(u,p,b,A){return u&&(A===void 0&&(A=Object.keys(p.child).length===0),u=this.parseTextData(u,p.tagname,b,!1,p[":@"]?Object.keys(p[":@"]).length!==0:!1,A),u!==void 0&&u!==""&&p.add(this.options.textNodeName,u),u=""),u}function T(u,p,b){const A="*."+b;for(const y in u){const m=u[y];if(A===m||p===m)return!0}return!1}function I(u,p,b=">"){let A,y="";for(let m=p;m<u.length;m++){let O=u[m];if(A)O===A&&(A="");else if(O==='"'||O==="'")A=O;else if(O===b[0])if(b[1]){if(u[m+1]===b[1])return{data:y,index:m}}else return{data:y,index:m};else O===" "&&(O=" ");y+=O}}function d(u,p,b,A){const y=u.indexOf(p,b);if(y===-1)throw new Error(A);return y+p.length-1}function g(u,p,b,A=">"){const y=I(u,p+1,A);if(!y)return;let m=y.data;const O=y.index,w=m.search(/\s/);let x=m,S=!0;w!==-1&&(x=m.substring(0,w),m=m.substring(w+1).trimStart());const F=x;if(b){const R=x.indexOf(":");R!==-1&&(x=x.substr(R+1),S=x!==y.data.substr(R+1))}return{tagName:x,tagExp:m,closeIndex:O,attrExpPresent:S,rawTagName:F}}function N(u,p,b){const A=b;let y=1;for(;b<u.length;b++)if(u[b]==="<")if(u[b+1]==="/"){const m=d(u,">",b,`${p} is not closed`);if(u.substring(b+2,m).trim()===p&&(y--,y===0))return{tagContent:u.substring(A,b),i:m};b=m}else if(u[b+1]==="?")b=d(u,"?>",b+1,"StopNode is not closed.");else if(u.substr(b+1,3)==="!--")b=d(u,"-->",b+3,"StopNode is not closed.");else if(u.substr(b+1,2)==="![")b=d(u,"]]>",b,"StopNode is not closed.")-2;else{const m=g(u,b,">");m&&((m&&m.tagName)===p&&m.tagExp[m.tagExp.length-1]!=="/"&&y++,b=m.closeIndex)}}function k(u,p,b){if(p&&typeof u=="string"){const A=u.trim();return A==="true"?!0:A==="false"?!1:i(u,b)}else return e.isExist(u)?u:""}return Bt=a,Bt}var Ut={},oi;function wo(){if(oi)return Ut;oi=1;function e(a,f){return n(a,f)}function n(a,f,s){let c;const r={};for(let o=0;o<a.length;o++){const E=a[o],_=t(E);let h="";if(s===void 0?h=_:h=s+"."+_,_===f.textNodeName)c===void 0?c=E[_]:c+=""+E[_];else{if(_===void 0)continue;if(E[_]){let v=n(E[_],f,h);const T=l(v,f);E[":@"]?i(v,E[":@"],h,f):Object.keys(v).length===1&&v[f.textNodeName]!==void 0&&!f.alwaysCreateTextNode?v=v[f.textNodeName]:Object.keys(v).length===0&&(f.alwaysCreateTextNode?v[f.textNodeName]="":v=""),r[_]!==void 0&&r.hasOwnProperty(_)?(Array.isArray(r[_])||(r[_]=[r[_]]),r[_].push(v)):f.isArray(_,h,T)?r[_]=[v]:r[_]=v}}}return typeof c=="string"?c.length>0&&(r[f.textNodeName]=c):c!==void 0&&(r[f.textNodeName]=c),r}function t(a){const f=Object.keys(a);for(let s=0;s<f.length;s++){const c=f[s];if(c!==":@")return c}}function i(a,f,s,c){if(f){const r=Object.keys(f),o=r.length;for(let E=0;E<o;E++){const _=r[E];c.isArray(_,s+"."+_,!0,!0)?a[_]=[f[_]]:a[_]=f[_]}}}function l(a,f){const{textNodeName:s}=f,c=Object.keys(a).length;return!!(c===0||c===1&&(a[s]||typeof a[s]=="boolean"||a[s]===0))}return Ut.prettify=e,Ut}var Mt,li;function yo(){if(li)return Mt;li=1;const{buildOptions:e}=ho(),n=bo(),{prettify:t}=wo(),i=tr();class l{constructor(f){this.externalEntities={},this.options=e(f)}parse(f,s){if(typeof f!="string")if(f.toString)f=f.toString();else throw new Error("XML data is accepted in String or Bytes[] form.");if(s){s===!0&&(s={});const o=i.validate(f,s);if(o!==!0)throw Error(`${o.err.msg}:${o.err.line}:${o.err.col}`)}const c=new n(this.options);c.addExternalEntities(this.externalEntities);const r=c.parseXml(f);return this.options.preserveOrder||r===void 0?r:t(r,this.options)}addEntity(f,s){if(s.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");if(f.indexOf("&")!==-1||f.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");if(s==="&")throw new Error("An entity with value '&' is not permitted");this.externalEntities[f]=s}}return Mt=l,Mt}var jt,fi;function xo(){if(fi)return jt;fi=1;const e=`
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./lottie-react.esm-ayFZjR4e.js","./index-Bek3Nxot.js","./index-DUrTVFR9.css"])))=>i.map(i=>d[i]);
2
- import{c5 as ht,r as se,cx as dt,aF as Ze,j as B,ib as Ct,aP as De,eg as xt,J as K,T as pe,t as Et,Q as Rt,S as mt,U as yt,bA as We,s as ce,ek as ct,a4 as bt,es as wt,bJ as he,f as vt,aQ as St,G as le,g4 as It,gK as ft,fz as Fe,bd as Lt,dx as Bt,cv as Tt,C as _t}from"./index-Bek3Nxot.js";import{D as Ht}from"./Delete-B306vkSB.js";import{k as Ot,m as Nt}from"./index-CaxsY_au.js";import{r as je}from"./index-BdVOugOI.js";import"./url-join-rRKl4Ear.js";import"./_createAggregator-BLxu5C4t.js";import"./depsEqual-Cvglsxh5.js";import"./index-cZdqepfp.js";import"./index-DRYJ0xIl.js";import"./toUpper-DXK6zXOf.js";function Qt(g){var u=ht(se.useState(g),2),y=u[0],R=u[1],x=dt(y),b=se.useCallback(function(){return x.current},[]);return[y,R,b]}const qt=Ze([B.jsx("path",{d:"M12 4c-4.41 0-8 3.59-8 8s3.59 8 8 8 8-3.59 8-8-3.59-8-8-8m-2 13-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9z",opacity:".3"},"0"),B.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m4.59-12.42L10 14.17l-2.59-2.58L6 13l4 4 8-8z"},"1")]),Mt=Ze(B.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"})),Wt=Ze(B.jsx("path",{d:"M7 20h4c0 1.1-.9 2-2 2s-2-.9-2-2m-2-1h8v-2H5zm11.5-9.5c0 3.82-2.66 5.86-3.77 6.5H5.27c-1.11-.64-3.77-2.68-3.77-6.5C1.5 5.36 4.86 2 9 2s7.5 3.36 7.5 7.5m4.87-2.13L20 8l1.37.63L22 10l.63-1.37L24 8l-1.37-.63L22 6zM19 6l.94-2.06L22 3l-2.06-.94L19 0l-.94 2.06L16 3l2.06.94z"})),pt=se.createContext({}),At=()=>se.useContext(pt);function Zt({children:g,restrictions:u,i18n:y,theme:R}){const[x,b]=Qt({loading:!1}),n=t=>b(a=>({...a,loading:t})),e=se.useMemo(()=>({...x,onLoading:n,restrictions:u,i18n:y}),[x]);return B.jsx(Ct,{theme:R,children:B.jsx(pt.Provider,{value:e,children:g})})}const Dt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAskSURBVHgB7d3RcdTIGoZhcSJYMoAMIAIgAiACIALIwBCBIQIgA4jAkAEZQAYmAx+6iqnjM+vxjD3qX/qk56niYm92wYve6W790ty5+GMACPCfASCEYAExBAuIIVhADMECYggWEEOwgBiCBcQQLCCGYAExBAuIIVhADMECYggWEEOwgBiCBcQQLCCGYAExBAuIIVhADMECYggWEEOwgBiCBcQQLCCGYAExBAuIIVhADMECYggWEEOwgBiCBcQQLCCGYAExBAuIIVhADMECYggWEEOwgBiCBcQQLCCGYAExBAuIIVhADMECYggWEEOwgBiCBcQQLCCGYAExBAuIIVhADMECYggWEEOwgBiCBcQQLCCGYAExBAuIIVhADMECYggWEEOwgBiCBcQQLCCGYAExBAuIIVhADMECYggWEEOwgBiCBcQQLCCGYAExBAuIIVhADMECYggWEEOwgBiCBcQQLCCGYAExBAuIIVhADMECYghWsG/fvg137twp+/X8+fOhh9+/f5f9GdrPjFyCFezz589DpXaxt7iM7Z9//hkeP348VPj69etALsEK9uXLl6FSi1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WLfuAAAAABJRU5ErkJggg==",jt=""+new URL("bedrock-yFRPpe__.png",import.meta.url).href,Gt=""+new URL("deepseek-C3x42pq3.png",import.meta.url).href,Vt=""+new URL("doubao-yPqHSkLx.png",import.meta.url).href,Ft=""+new URL("gemini-DffKpc81.png",import.meta.url).href,kt=""+new URL("google-DT1VSJ0m.png",import.meta.url).href,Yt=""+new URL("ideogram-REIjy0Er.png",import.meta.url).href,Pt=""+new URL("ollama-C7MZn2d_.png",import.meta.url).href,Ut=""+new URL("openai-DlpqJdrb.png",import.meta.url).href,zt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA0dSURBVHgB7d1Nb1XXucDxlahAogQUUi6VSG+iQCT7CmJyS0FB5WYQRreT209wP1w7yqhpB3QSKrUgEYWQFkIlLCW4aTASxrGRbRryIqX7OXBSILzY2Od4P2v9ftIRBKkDv5x/13r23us89V2nACTwdAFIQrCANAQLSEOwgDQEC0hDsIA0BAtIQ7CANAQLSEOwgDQEC0hDsIA0BAtIQ7CANAQLSEOwgDQEC0hDsIA0BAtIQ7CANAQLSEOwgDQEC0hDsIA0BAtIQ7CANAQLSEOwgDQEC0hDsIA0BAtIQ7CANAQLSEOwgDQEC0hDsIA0BAtIQ7CANAQLSEOwgDQEC0hDsIA0BAtIQ7CANAQLSEOwgDQEC0hDsIA0BAtIQ7CANAQLSEOwgDQEC0hDsIA0BAtIQ7CANAQLSEOwgDQEC0hDsIA0BAtIQ7CANAQLSEOwgDQEC0hDsIA0BAtIQ7CANAQLSEOwgDQEC0hDsIA0BAtIQ7CANAQLSEOwqM7J9y+Wy1fmCvURLKqzvHKr/OHPfx2Ea2nly0I9flSgUpcuXx28jry+r0y8uqfseP7ZQm5WWFTvg48/Le+e/HAQL3ITLJqwfPPLwRbx1787ZZuYmGDRlAjXb35/ynwrKcGiSbE9jHC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Xt},ke={width:16,height:16,borderRadius:"2px",objectFit:"contain",backgroundColor:"transparent"};function $t({onSubmit:g,models:u}){const{loading:y,i18n:R}=At(),x=De({model:"",prompt:"",number:1}),b=()=>{const t=JSON.parse(JSON.stringify(x));Object.values(x).every(E=>!!E)&&g(t)},{run:n}=xt(b,{wait:500}),e=se.useMemo(()=>{const t=JSON.parse(JSON.stringify(x));return Object.values(t).some(a=>!a)},[JSON.stringify(x)]);return B.jsxs(Jt,{onSubmit:t=>t.preventDefault(),children:[B.jsxs(K,{sx:{flex:1,height:"100%",overflow:"hidden",flexDirection:"column",display:"flex",mt:2,gap:2},children:[B.jsxs(K,{sx:{mx:2,display:"flex",flexDirection:"column",gap:1},children:[B.jsx(pe,{gutterBottom:!0,className:"title label",sx:{color:"text.primary"},children:R("aiImagePrompt")}),B.jsx(Et,{sx:{width:1},size:"small",type:"text",required:!0,placeholder:R("aiImagePromptTip"),multiline:!0,minRows:5,maxRows:6,value:x.prompt??"",onChange:t=>{t.stopPropagation(),x.prompt=t.target.value},slotProps:{htmlInput:{maxLength:1e3}}})]}),B.jsxs(K,{sx:{px:2,display:"flex",flexDirection:"column",gap:1},children:[B.jsx(pe,{gutterBottom:!0,className:"title label",sx:{color:"text.primary"},children:`${R("aiImageModel")}`}),B.jsx(Rt,{fullWidth:!0,size:"small",children:B.jsx(mt,{sx:{width:1},value:x.model,onChange:t=>{x.number=1,x.model=t.target.value},MenuProps:{disablePortal:!0},renderValue:t=>{const a=u.find(i=>`${i.provider}/${i.model}`===t);return a?B.jsxs(K,{sx:{display:"flex",alignItems:"center",gap:1},children:[ge[a.provider]&&B.jsx(K,{component:"img",src:ge[a.provider],alt:a.provider,style:ke}),B.jsx(pe,{variant:"body2",children:a.model})]}):t},children:u.map(t=>B.jsx(yt,{value:`${t.provider}/${t.model}`,children:B.jsxs(K,{sx:{display:"flex",alignItems:"center",gap:1,width:"100%"},children:[ge[t.provider]&&B.jsx(K,{component:"img",src:ge[t.provider],alt:t.provider,style:ke}),B.jsx(pe,{variant:"body2",sx:{flex:1},children:t.model})]})},`${t.provider}/${t.model}`))})})]})]}),B.jsx(We,{sx:{m:2,transition:"all 0.3s"},className:"submit-ai",variant:"contained",onClick:n,disabled:y||e,children:R(y?"aiImageGenerating":"aiImageGenerate")},y?"loading-submit":"submit")]})}const Jt=ce(K)`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./lottie-react.esm-C8kqAAU9.js","./index-DQhyMeoV.js","./index-DUrTVFR9.css"])))=>i.map(i=>d[i]);
2
+ import{c5 as ht,r as se,cx as dt,aF as Ze,j as B,ib as Ct,aP as De,eg as xt,J as K,T as pe,t as Et,Q as Rt,S as mt,U as yt,bA as We,s as ce,ek as ct,a4 as bt,es as wt,bJ as he,f as vt,aQ as St,G as le,g4 as It,gK as ft,fz as Fe,bd as Lt,dx as Bt,cv as Tt,C as _t}from"./index-DQhyMeoV.js";import{D as Ht}from"./Delete-Cw_Z_UMc.js";import{k as Ot,m as Nt}from"./index-CmbSgUyL.js";import{r as je}from"./index-BFzkIx2h.js";import"./url-join-xsOaQKQ2.js";import"./_createAggregator-xAuoCETp.js";import"./depsEqual-D1oKMHHx.js";import"./index-Dz1ZwZ8x.js";import"./index-DRYJ0xIl.js";import"./toUpper-DnO1VFxi.js";function Qt(g){var u=ht(se.useState(g),2),y=u[0],R=u[1],x=dt(y),b=se.useCallback(function(){return x.current},[]);return[y,R,b]}const qt=Ze([B.jsx("path",{d:"M12 4c-4.41 0-8 3.59-8 8s3.59 8 8 8 8-3.59 8-8-3.59-8-8-8m-2 13-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9z",opacity:".3"},"0"),B.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m4.59-12.42L10 14.17l-2.59-2.58L6 13l4 4 8-8z"},"1")]),Mt=Ze(B.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"})),Wt=Ze(B.jsx("path",{d:"M7 20h4c0 1.1-.9 2-2 2s-2-.9-2-2m-2-1h8v-2H5zm11.5-9.5c0 3.82-2.66 5.86-3.77 6.5H5.27c-1.11-.64-3.77-2.68-3.77-6.5C1.5 5.36 4.86 2 9 2s7.5 3.36 7.5 7.5m4.87-2.13L20 8l1.37.63L22 10l.63-1.37L24 8l-1.37-.63L22 6zM19 6l.94-2.06L22 3l-2.06-.94L19 0l-.94 2.06L16 3l2.06.94z"})),pt=se.createContext({}),At=()=>se.useContext(pt);function Zt({children:g,restrictions:u,i18n:y,theme:R}){const[x,b]=Qt({loading:!1}),n=t=>b(a=>({...a,loading:t})),e=se.useMemo(()=>({...x,onLoading:n,restrictions:u,i18n:y}),[x]);return B.jsx(Ct,{theme:R,children:B.jsx(pt.Provider,{value:e,children:g})})}const Dt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAskSURBVHgB7d3RcdTIGoZhcSJYMoAMIAIgAiACIALIwBCBIQIgA4jAkAEZQAYmAx+6iqnjM+vxjD3qX/qk56niYm92wYve6W790ty5+GMACPCfASCEYAExBAuIIVhADMECYggWEEOwgBiCBcQQLCCGYAExBAuIIVhADMECYggWEEOwgBiCBcQQLCCGYAExBAuIIVhADMECYggWEEOwgBiCBcQQLCCGYAExBAuIIVhADMECYggWEEOwgBiCBcQQLCCGYAExBAuIIVhADMECYggWEEOwgBiCBcQQLCCGYAExBAuIIVhADMECYggWEEOwgBiCBcQQLCCGYAExBAuIIVhADMECYggWEEOwgBiCBcQQLCCGYAExBAuIIVhADMECYggWEEOwgBiCBcQQLCCGYAExB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JiCBYQQ7CAGIIFxBAsIIZgATEEC4ghWEAMwQJiCBYQQ7CAGIIFxBAsIIZgATEEC4ghWEAMwQJiCBYQQ7CAGIIFxBAsIIZgATEEC4ghWEAMwQJiCBYQQ7CAGIIFxBAsIIZgATEEC4ghWECM/wKc/Y0zpWLfuAAAAABJRU5ErkJggg==",jt=""+new URL("bedrock-yFRPpe__.png",import.meta.url).href,Gt=""+new URL("deepseek-C3x42pq3.png",import.meta.url).href,Vt=""+new URL("doubao-yPqHSkLx.png",import.meta.url).href,Ft=""+new URL("gemini-DffKpc81.png",import.meta.url).href,kt=""+new URL("google-DT1VSJ0m.png",import.meta.url).href,Yt=""+new URL("ideogram-REIjy0Er.png",import.meta.url).href,Pt=""+new URL("ollama-C7MZn2d_.png",import.meta.url).href,Ut=""+new URL("openai-DlpqJdrb.png",import.meta.url).href,zt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA0dSURBVHgB7d1Nb1XXucDxlahAogQUUi6VSG+iQCT7CmJyS0FB5WYQRreT209wP1w7yqhpB3QSKrUgEYWQFkIlLCW4aTASxrGRbRryIqX7OXBSILzY2Od4P2v9ftIRBKkDv5x/13r23us89V2nACTwdAFIQrCANAQLSEOwgDQEC0hDsIA0BAtIQ7CANAQLSEOwgDQEC0hDsIA0BAtIQ7CANAQLSEOwgDQEC0hDsIA0BAtIQ7CANAQLSEOwgDQEC0hDsIA0BAtIQ7CANAQLSEOwgDQEC0hDsIA0BAtIQ7CANAQLSEOwgDQEC0hDsIA0BAtIQ7CANAQLSEOwgDQEC0hDsIA0BAtIQ7CANAQLSEOwgDQEC0hDsIA0BAtIQ7CANAQLSEOwgDQEC0hDsIA0BAtIQ7CANAQLSEOwgDQEC0hDsIA0BAtIQ7CANAQLSEOwgDQEC0hDsIA0BAtIQ7CANAQLSEOwgDQEC0hDsI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WUIbAAsoQWEAZAgsoQ2ABZQgsoIz/AWP7oZ6cDDZCAAAAAElFTkSuQmCC",ge={anthropic:Dt,bedrock:jt,deepseek:Gt,doubao:Vt,gemini:Ft,google:kt,ideogram:Yt,ollama:Pt,openai:Ut,openrouter:zt,poe:Kt,xai:Xt},ke={width:16,height:16,borderRadius:"2px",objectFit:"contain",backgroundColor:"transparent"};function $t({onSubmit:g,models:u}){const{loading:y,i18n:R}=At(),x=De({model:"",prompt:"",number:1}),b=()=>{const t=JSON.parse(JSON.stringify(x));Object.values(x).every(E=>!!E)&&g(t)},{run:n}=xt(b,{wait:500}),e=se.useMemo(()=>{const t=JSON.parse(JSON.stringify(x));return Object.values(t).some(a=>!a)},[JSON.stringify(x)]);return B.jsxs(Jt,{onSubmit:t=>t.preventDefault(),children:[B.jsxs(K,{sx:{flex:1,height:"100%",overflow:"hidden",flexDirection:"column",display:"flex",mt:2,gap:2},children:[B.jsxs(K,{sx:{mx:2,display:"flex",flexDirection:"column",gap:1},children:[B.jsx(pe,{gutterBottom:!0,className:"title label",sx:{color:"text.primary"},children:R("aiImagePrompt")}),B.jsx(Et,{sx:{width:1},size:"small",type:"text",required:!0,placeholder:R("aiImagePromptTip"),multiline:!0,minRows:5,maxRows:6,value:x.prompt??"",onChange:t=>{t.stopPropagation(),x.prompt=t.target.value},slotProps:{htmlInput:{maxLength:1e3}}})]}),B.jsxs(K,{sx:{px:2,display:"flex",flexDirection:"column",gap:1},children:[B.jsx(pe,{gutterBottom:!0,className:"title label",sx:{color:"text.primary"},children:`${R("aiImageModel")}`}),B.jsx(Rt,{fullWidth:!0,size:"small",children:B.jsx(mt,{sx:{width:1},value:x.model,onChange:t=>{x.number=1,x.model=t.target.value},MenuProps:{disablePortal:!0},renderValue:t=>{const a=u.find(i=>`${i.provider}/${i.model}`===t);return a?B.jsxs(K,{sx:{display:"flex",alignItems:"center",gap:1},children:[ge[a.provider]&&B.jsx(K,{component:"img",src:ge[a.provider],alt:a.provider,style:ke}),B.jsx(pe,{variant:"body2",children:a.model})]}):t},children:u.map(t=>B.jsx(yt,{value:`${t.provider}/${t.model}`,children:B.jsxs(K,{sx:{display:"flex",alignItems:"center",gap:1,width:"100%"},children:[ge[t.provider]&&B.jsx(K,{component:"img",src:ge[t.provider],alt:t.provider,style:ke}),B.jsx(pe,{variant:"body2",sx:{flex:1},children:t.model})]})},`${t.provider}/${t.model}`))})})]})]}),B.jsx(We,{sx:{m:2,transition:"all 0.3s"},className:"submit-ai",variant:"contained",onClick:n,disabled:y||e,children:R(y?"aiImageGenerating":"aiImageGenerate")},y?"loading-submit":"submit")]})}const Jt=ce(K)`
3
3
  display: flex;
4
4
  flex-direction: column;
5
5
  height: 100%;
@@ -93,7 +93,7 @@ import{c5 as ht,r as se,cx as dt,aF as Ze,j as B,ib as Ct,aP as De,eg as xt,J as
93
93
  & path:last-child {
94
94
  fill: white;
95
95
  }
96
- `,sr=se.lazy(()=>he(()=>import("./lottie-react.esm-ayFZjR4e.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(g=>({default:g.Player})));function Re({src:g}){return B.jsx(sr,{src:g,loop:!0,autoplay:!0})}function ar({options:g,handleApi:u,onSelect:y,onFinish:R,onClose:x,isMobile:b}){const{loading:n,onLoading:e,restrictions:t,i18n:a}=At(),[i,E]=se.useState([]),[s,_]=se.useState(),T=vt(),M=t?.maxNumberOfFiles,[d,A]=se.useState({}),w=De({}),r=Object.keys(w).filter(h=>w[h]);se.useEffect(()=>{s&&!d.error&&he(()=>import("./lottie-error-DeJ4jU66.js"),[],import.meta.url).then(h=>{A(I=>({...I,error:h.default}))}),g&&!i.length&&!d.loading&&he(()=>import("./lottie-loading-Npqo86wA.js"),[],import.meta.url).then(h=>{A(I=>({...I,loading:h.default}))}),!g&&!d.welcome&&he(()=>import("./lottie-welcome-oyMgXGo-.js"),[],import.meta.url).then(h=>{A(I=>({...I,welcome:h.default}))})},[s,g,i.length,d]),St(async()=>{if(g){_(void 0),e(!0);try{const h=await u({...g,outputFileType:"file"});if(h.images){const H=(h.images||[]).map(N=>({src:`data:image/png;base64,${N.data}`,alt:g.prompt}));E(i?[...H,...i]:H)}else _(h)}catch(h){console.error("AIImage generate error: ",h),_(h?.response?.data||h)}finally{e(!1),R()}}},[g?.number,g?.prompt]);const C=h=>{const I=Object.keys(w).filter(N=>w[N]);if(M?I.length<M:!0)w[h]?w[h]=!1:w[h]=!0;else{const N=I.pop();N!==h&&(w[N]=!1),w[h]=!w[h]}},l=h=>{if(i){const I=i.findIndex(H=>H.src===h);I>-1&&(w[h]=!1,i.splice(I,1),E([...i]))}},v=()=>{const h={width:document.querySelector(".photo-item img")?.offsetWidth||0,height:document.querySelector(".photo-item img")?.offsetHeight||0};return B.jsx(B.Fragment,{children:Array.from({length:g?.number||1}).map((I,H)=>B.jsx(le,{children:B.jsx(ct,{className:"lazy-image-skeleton",animation:"wave",variant:"rectangular",style:{borderRadius:"12px",...h}})},H))})},p=()=>s?B.jsxs(K,{sx:{width:300,height:300,m:"auto"},children:[d.error&&B.jsx(Re,{src:d.error},"error"),B.jsx(K,{sx:{textAlign:"center",color:"#25292F",wordBreak:"break-all"},children:s?.message})]}):i&&Array.isArray(i)&&i.length>0?B.jsxs(B.Fragment,{children:[B.jsx(K,{sx:{flexGrow:1,height:0,overflowX:"hidden",overflowY:"auto"},children:B.jsx(or,{sx:b?{p:0,border:"none !important"}:{p:2},children:B.jsxs(le,{spacing:2,container:!0,className:"photo-wrapper",children:[n&&B.jsx(v,{}),i.map((h,I)=>B.jsx(le,{className:"photo-item",children:B.jsx(er,{...h,selected:w[h.src],style:{objectFit:"cover",cursor:"pointer",transition:"all 0.3s",border:w[h.src]?`2px solid ${T.palette.primary.main}`:"2px solid transparent",WebkitUserDrag:"none",width:"100%",height:"100%"},onClick:()=>{C(h.src)},onDelete:()=>{l(h.src)}})},h.src))]})})}),B.jsxs(K,{sx:{mt:2,display:"flex",justifyContent:x?"space-between":"flex-end",button:{borderRadius:"30px",height:40,textTransform:"none"}},children:[x&&typeof x=="function"&&B.jsx(We,{color:"primary",variant:"outlined",onClick:x,children:B.jsx(It,{})}),B.jsx(We,{color:"primary",variant:"contained",disabled:!r.length||n,onClick:()=>{const h=Ot(i,"src");y(r.map(I=>h[I]))},children:r.length?a("aiImageSelectedUse"):a("aiImageSelectedTip")})]})]}):g?B.jsx(K,{sx:{width:220,height:220,m:"auto"},children:d.loading&&B.jsx(Re,{src:d.loading},"loading")}):B.jsx(K,{sx:{width:300,height:300,m:"auto"},children:d.welcome&&B.jsx(Re,{src:d.welcome},"welcome")});return B.jsx(ir,{children:p()})}const ir=ce(K)`
96
+ `,sr=se.lazy(()=>he(()=>import("./lottie-react.esm-C8kqAAU9.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(g=>({default:g.Player})));function Re({src:g}){return B.jsx(sr,{src:g,loop:!0,autoplay:!0})}function ar({options:g,handleApi:u,onSelect:y,onFinish:R,onClose:x,isMobile:b}){const{loading:n,onLoading:e,restrictions:t,i18n:a}=At(),[i,E]=se.useState([]),[s,_]=se.useState(),T=vt(),M=t?.maxNumberOfFiles,[d,A]=se.useState({}),w=De({}),r=Object.keys(w).filter(h=>w[h]);se.useEffect(()=>{s&&!d.error&&he(()=>import("./lottie-error-DeJ4jU66.js"),[],import.meta.url).then(h=>{A(I=>({...I,error:h.default}))}),g&&!i.length&&!d.loading&&he(()=>import("./lottie-loading-Npqo86wA.js"),[],import.meta.url).then(h=>{A(I=>({...I,loading:h.default}))}),!g&&!d.welcome&&he(()=>import("./lottie-welcome-oyMgXGo-.js"),[],import.meta.url).then(h=>{A(I=>({...I,welcome:h.default}))})},[s,g,i.length,d]),St(async()=>{if(g){_(void 0),e(!0);try{const h=await u({...g,outputFileType:"file"});if(h.images){const H=(h.images||[]).map(N=>({src:`data:image/png;base64,${N.data}`,alt:g.prompt}));E(i?[...H,...i]:H)}else _(h)}catch(h){console.error("AIImage generate error: ",h),_(h?.response?.data||h)}finally{e(!1),R()}}},[g?.number,g?.prompt]);const C=h=>{const I=Object.keys(w).filter(N=>w[N]);if(M?I.length<M:!0)w[h]?w[h]=!1:w[h]=!0;else{const N=I.pop();N!==h&&(w[N]=!1),w[h]=!w[h]}},l=h=>{if(i){const I=i.findIndex(H=>H.src===h);I>-1&&(w[h]=!1,i.splice(I,1),E([...i]))}},v=()=>{const h={width:document.querySelector(".photo-item img")?.offsetWidth||0,height:document.querySelector(".photo-item img")?.offsetHeight||0};return B.jsx(B.Fragment,{children:Array.from({length:g?.number||1}).map((I,H)=>B.jsx(le,{children:B.jsx(ct,{className:"lazy-image-skeleton",animation:"wave",variant:"rectangular",style:{borderRadius:"12px",...h}})},H))})},p=()=>s?B.jsxs(K,{sx:{width:300,height:300,m:"auto"},children:[d.error&&B.jsx(Re,{src:d.error},"error"),B.jsx(K,{sx:{textAlign:"center",color:"#25292F",wordBreak:"break-all"},children:s?.message})]}):i&&Array.isArray(i)&&i.length>0?B.jsxs(B.Fragment,{children:[B.jsx(K,{sx:{flexGrow:1,height:0,overflowX:"hidden",overflowY:"auto"},children:B.jsx(or,{sx:b?{p:0,border:"none !important"}:{p:2},children:B.jsxs(le,{spacing:2,container:!0,className:"photo-wrapper",children:[n&&B.jsx(v,{}),i.map((h,I)=>B.jsx(le,{className:"photo-item",children:B.jsx(er,{...h,selected:w[h.src],style:{objectFit:"cover",cursor:"pointer",transition:"all 0.3s",border:w[h.src]?`2px solid ${T.palette.primary.main}`:"2px solid transparent",WebkitUserDrag:"none",width:"100%",height:"100%"},onClick:()=>{C(h.src)},onDelete:()=>{l(h.src)}})},h.src))]})})}),B.jsxs(K,{sx:{mt:2,display:"flex",justifyContent:x?"space-between":"flex-end",button:{borderRadius:"30px",height:40,textTransform:"none"}},children:[x&&typeof x=="function"&&B.jsx(We,{color:"primary",variant:"outlined",onClick:x,children:B.jsx(It,{})}),B.jsx(We,{color:"primary",variant:"contained",disabled:!r.length||n,onClick:()=>{const h=Ot(i,"src");y(r.map(I=>h[I]))},children:r.length?a("aiImageSelectedUse"):a("aiImageSelectedTip")})]})]}):g?B.jsx(K,{sx:{width:220,height:220,m:"auto"},children:d.loading&&B.jsx(Re,{src:d.loading},"loading")}):B.jsx(K,{sx:{width:300,height:300,m:"auto"},children:d.welcome&&B.jsx(Re,{src:d.welcome},"welcome")});return B.jsx(ir,{children:p()})}const ir=ce(K)`
97
97
  min-height: 100%;
98
98
  display: flex;
99
99
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{j as e,aH as r,r as n,p as o,T as i,s as a}from"./index-Bek3Nxot.js";const s=({...t})=>e.jsxs("div",{...t,children:[e.jsx("h3",{children:"End User License Agreement for Blocklet Server"}),e.jsxs("p",{children:["Blocklet Server License Agreement ",r.COPYRIGHT_OWNER," version 2020-08-28"]}),e.jsx("p",{children:"Blocklet Server LICENSE AGREEMENT"}),e.jsxs("p",{children:["PLEASE READ THIS END USER LICENCE AGREEMENT CAREFULLY. This Blocklet Server License Agreement ('Agreement') is a legal agreement between you (the 'End User') and ",r.COPYRIGHT_OWNER," (ARCBLOCK) for the Blocklet Server software (the 'Software') licensed to End User hereunder and supplied to End User. The term Software includes any APIs, software modules, and any associated materials and 'online' or electronic documentation. This Agreement applies to End User's use of the Software but it shall be superseded by any signed agreement between End User and ARCBLOCK concerning the Software."]}),e.jsx("p",{children:"By installing or using the Software, You agree to accept and to be bound by this Agreement at all times. If You do not agree with one of these, please do not install or use the Software."}),e.jsx("h4",{children:"1. Software license"}),e.jsx("p",{children:"Notwithstanding any reference to 'sale' or 'purchase', the Software is licensed, not sold. Subject to the terms and conditions of this Agreement, ARCBLOCK grants End User a non-exclusive, non-transferable right to access and use the Software as part of the services for End User's use ('Authorized Use') in object form in the products, versions, and number of installed instances as purchased from ARCBLOCK."}),e.jsx("h4",{children:"2. Limitations"}),e.jsx("p",{children:"2.1. Restrictions. End User shall not itself, or through any parent, subsidiary, affiliate, agent or other third party: (a) sell, lease, license, distribute, sublicense or otherwise transfer in whole or in part, the Software to a third party; (b) decompile, disassemble, translate, reverse engineer or otherwise attempt to derive source code from the Software except to the limited extent, if any, that applicable law permits such acts notwithstanding any contractual prohibitions, provided, however, before End User exercises any rights that End User believes to be entitled to based on mandatory law, End User shall provide ARCBLOCK with thirty (30) days prior written notice and provide all reasonably requested information to allow ARCBLOCK to assess End User's claim and, at ARCBLOCK sole discretion, to provide alternatives that reduce any adverse impact on ARCBLOCK's intellectual property or other rights; (c) allow access or permit use of the Software by any third party except authorized third party contractors solely to provide services to End User, provided that End User shall be liable for all acts and omissions of such authorized third party contractors; (d) modify or create derivative works based upon the Software; (e) disclose the results of any benchmark test of the Software to any third party; (f) change any proprietary rights notices which appear in the Software; or (g) circumvent the license keys embedded within the Software."}),e.jsx("p",{children:"2.2. Software Transfer. Upon written consent from ARCBLOCK, which will not be unreasonably withheld, End User may permanently transfer all of its rights under this Agreement; provided that the recipient agrees to the terms of this Agreement."}),e.jsx("p",{children:"2.3. High Risk Activities. The Software is not intended for use in hazardous environments requiring fail safe performance (such as, without limitation, the planning, construction, maintenance, control, or direct operation of nuclear facilities, aircraft navigation or communication systems, air traffic control, medical device and life support machines, or weapon systems) in which the failure of the Software could lead to death, personal injury or physical and environmental damage ('High Risk Activities'). Accordingly, this Agreement excludes any High Risk Activities and End User agrees not to use the Software in connection with High Risk Activities."}),e.jsx("h4",{children:"3. Ownership"}),e.jsx("p",{children:"The Software is protected by copyright laws and international copyright treaties, as well as other intellectual property laws and treaties. ARCBLOCK owns all rights, title and interest in the copyrights, patents and all other intellectual property rights in and to the Software and any accompanying printed materials, and all derivative works thereof."}),e.jsx("h4",{children:"4. Open source programs"}),e.jsx("p",{children:"The Software may include individual open source software components, each of which has its own copyright and its own applicable license conditions. The open source software components are licensed to End User under the terms of the applicable open source license conditions and/or copyright notices that can be found in the licenses file, the related documentation or other materials accompanying the Software."}),e.jsx("h4",{children:"5. Trademarks"}),e.jsx("p",{children:"The marks 'ARCBLOCK', ‘BLOCKLETS’ and ‘Blocklet Server’ are trademarks of ARCBLOCK. ARCBLOCK's failure to list a trademark in this Section shall not constitute a waiver of any trademark rights. All other trademarks in the Software not owned by ARCBLOCK are the property of their respective owners."}),e.jsx("h4",{children:"6. Disclaimer and Warranty"}),e.jsx("p",{children:"6.1. DISCLAIMER OF WARRANTIES. THE SOFTWARE IS PROVIDED 'AS IS' WITHOUT WARRANTY OF ANY KIND AND ARCBLOCK EXPRESSLY DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED OR ARISING OUT OF A COURSE OF CONDUCT OR COURSE OF DEALING, INCLUDING ALL WARRANTIES OF TITLE, PERFORMANCE, USE, MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON INFRINGEMENT AND THE ABSENCE OF LATENT OR OTHER DEFECTS, WHETHER OR NOT DISCOVERABLE. ARCBLOCK MAKES NO WARRANTY REGARDING NON INTERRUPTION OF USE. NO ORAL OR WRITTEN STATEMENT PROVIDED BY ARCBLOCK SHALL CREATE ANY WARRANTY."}),e.jsx("p",{children:"6.2. LIMITATION OF LIABILITY. THE ENTIRE RISK AS TO THE RESULTS AND PERFORMANCE OF THE SOFTWARE IS ASSUMED BY END USER. ARCBLOCK SHALL NOT HAVE ANY LIABILITY TO END USER OR ANY OTHER PARTY FOR ANY INDIRECT, INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES WHATSOEVER, INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUE, PROFIT OR OPPORTUNITY, LOST OR DAMAGED DATA OR OTHER COMMERCIAL OR ECONOMIC LOSS, EVEN IF ARCBLOCK HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, OR THEY ARE FORESEEABLE. ARCBLOCK'S MAXIMUM AGGREGATE LIABILITY RELATING TO THIS AGREEMENT OR THE SOFTWARE SHALL NOT EXCEED THE AMOUNT PAID BY END USER FOR THE SOFTWARE."}),e.jsx("p",{children:"6.3. ALLOCATION. THE PROVISIONS OF THIS SECTION ALLOCATE RISKS UNDER THIS AGREEMENT BETWEEN ARCBLOCK AND END USER. ARCBLOCK'S LICENSING FEES FOR THE SOFTWARE REFLECT THIS ALLOCATION OF RISKS AND LIMITATION OF LIABILITY. THE FOREGOING LIMITATIONS, EXCLUSIONS AND DISCLAIMERS APPLY TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, EVEN IF ANY REMEDY FAILS IN ITS ESSENTIAL PURPOSE."}),e.jsx("p",{children:"6.4. Limitation. Because some jurisdictions do not allow certain disclaimers, exclusions or limitations of warranties, damages or liability, the above disclaimers, exclusions or limitations may not apply to End User and, therefore, shall apply only to the maximum extent allowed under applicable law."}),e.jsx("h4",{children:"7. Term"}),e.jsx("p",{children:"This Agreement is effective until terminated. End Users may terminate the Agreement at any time by returning or destroying all copies of the Software and related documentation. End User's rights under this Agreement will terminate automatically if End User fails to comply with the Agreement."}),e.jsx("h4",{children:"8. Miscellaneous"}),e.jsx("p",{children:"8.1. Governing Law. This Agreement shall be governed by the laws of the State of Washington, without reference to the principles of conflicts of law. The provisions of the Uniform Computerized Information Transaction Act and United Nations Convention on Contracts for the International Sale of Goods shall not apply to this Agreement. Any litigation related to this Agreement shall be brought in the state or federal courts located in Washington, and only in those courts and each party irrevocably waives any objections to such venue. Notwithstanding anything to the contrary herein, ARCBLOCK shall be entitled to seek injunctive or other equitable relief, wherever ARCBLOCK deems appropriate in any jurisdiction, in order to preserve or enforce ARCBLOCK's rights for any breach or threatened breach of this Agreement."}),e.jsx("p",{children:"8.2. Severability. Every term, condition or provision of this Agreement is severable from the others. If a court or an arbitrator of competent jurisdiction holds any term, condition or provision of this Agreement to be invalid, unenforceable or illegal in whole or in part for any reason, the validity and enforceability of the remaining terms, conditions or provisions, or portions of them, will not be affected."}),e.jsx("p",{children:"8.3. Confidentiality. Except as expressly allowed by this Agreement, End User will not use or disclose any Software or related technology, idea, algorithm or information ('Confidential Information') except to the extent End User can document that it is generally available for use and disclosure by the public without charge or license. End User shall hold the Confidential Information in trust and confidence and avoid the disclosure or release thereof to any other person or entity by using the same degree of care as it uses to avoid unauthorized use, disclosure, or dissemination of its own Confidential Information of a similar nature, but not less than reasonable care. End User may disclose Confidential Information as required to comply with binding orders of governmental entities that have jurisdiction over it; provided that End User gives ARCBLOCK reasonable written notice to allow ARCBLOCK to seek a protective order or other appropriate remedy, discloses only such Confidential Information as is required by the governmental entity, and uses commercially reasonable efforts to obtain confidential treatment for any Confidential Information disclosed. End User recognizes and agrees that there is no adequate remedy at law for a breach of this Section, that such a breach would irreparably harm ARCBLOCK and that ARCBLOCK is entitled to equitable relief (without need to post a bond) with respect to any such breach or potential breach in addition to any other remedies."}),e.jsx("p",{children:"8.4. Indemnity. End User shall defend, indemnify and hold harmless ARCBLOCK, and its officers, directors, employees and agents (the ARCBLOCK indemnities’), from and against all suits, claims, demands, losses, liabilities, damages and expenses (including reasonable attorneys' fees and costs) that the ARCBLOCK Indemnities may suffer or incur in connection with: (i) any third party claim arising from End User's breach of this Agreement; and (ii) any infringement by End User of ARCBLOCK's intellectual property rights in the Software."}),e.jsx("p",{children:"8.5. Entire Agreement and Waiver. The Agreement is the sole, final and entire agreement between the parties with respect to the subject matter hereof, may only be amended in writing signed by both ARCBLOCK License parties. A failure or delay in enforcing any provisions, exercising any option or requiring performance, be construed to be a waiver by ARCBLOCK."}),e.jsx("p",{children:"8.6. Marketing. ARCBLOCK may use End User's name and company logo on its customer list and web site, and link to End User's web site."}),e.jsx("p",{children:"8.7. Independent Contractor. The relationship of the parties is that of independent contractors. Neither party will be deemed to be the legal representative of the other nor will it have any right to bind the other party to any contract or commitment. This Agreement does not, and will not, be construed to create an employer employee, agency, joint venture or partnership relationship between the parties. Each party agrees to assume complete responsibility for its own employees regarding federal or state laws, including employers' liability and tax withholding, worker's compensation, social security, unemployment insurance, and OSHA requirements."}),e.jsx("p",{children:"8.8. Notices. All notices must be in writing and will be effective three (3) days after the date sent to each party's corporate headquarters."}),e.jsx("p",{children:"8.9. Audit. During the term of this Agreement and for one (1) year following termination or expiration (but no more than once in a calendar year), ARCBLOCK and its auditors may inspect End User's records relating to its reproduction and use of the Software for the purposes of verifying End User's compliance with this Agreement. End User shall cooperate fully with ARCBLOCK and its auditors in conducting audits and provide reasonable assistance. If an underpayment is discovered, End User shall promptly pay such amount and End User shall reimburse ARCBLOCK for the cost of the audit."}),e.jsx("p",{children:`8.10. Government Regulation. End User acknowledges that the Software is subject to export restrictions by the U.S. government and import restrictions by certain foreign governments. End User may not export or re-export the Software except in compliance with the U.S. Export Administration Act and the related rules and regulations and similar non-U.S. government restrictions, if applicable. End User shall not and shall not allow any third party to remove or export from the United States or allow the export or re export of any part of the Software or any direct product thereof: (i) into (or to a national or resident of) any embargoed or terrorist supporting country; (ii) to anyone on the U.S. Commerce Department's Table of Denial Orders or U.S. Treasury Department's list of Specially Designated Nationals; (iii) to any country to which such export or re export is restricted or prohibited, or as to which the U.S. government or any agency thereof requires an export license or other governmental approval at the time of export or re export without first obtaining such license or approval; or (iv) otherwise in violation of any export or import restrictions, laws or regulations of any United States or foreign agency or authority. End User agrees to the foregoing and warrants that it is not located in, under the control of, or a national or resident of any such prohibited country or on any such prohibited party list. The Software is further restricted from being used for terrorist activity, or for the design or development of nuclear, chemical, or biological weapons or missile technology without the prior permission of the U.S. government. The Software and accompanying documentation are deemed to be "commercial computer software" and "commercial computer software documentation", respectively, pursuant to DFAR Section 227.7202 and FAR Section 12.212(b), as applicable. Any use, modification, reproduction, release, performing, displaying or disclosing of the Software and related documentation by the U.S. Government shall be governed solely by the terms of this Agreement.`})]});function h(){const{t}=n.useContext(o);return e.jsxs(l,{children:[e.jsx(i,{component:"h2",variant:"h4",className:"page-header",color:"textPrimary",children:t("setup.steps.eula")}),e.jsx(s,{})]})}const l=a.main`
1
+ import{j as e,aH as r,r as n,p as o,T as i,s as a}from"./index-DQhyMeoV.js";const s=({...t})=>e.jsxs("div",{...t,children:[e.jsx("h3",{children:"End User License Agreement for Blocklet Server"}),e.jsxs("p",{children:["Blocklet Server License Agreement ",r.COPYRIGHT_OWNER," version 2020-08-28"]}),e.jsx("p",{children:"Blocklet Server LICENSE AGREEMENT"}),e.jsxs("p",{children:["PLEASE READ THIS END USER LICENCE AGREEMENT CAREFULLY. This Blocklet Server License Agreement ('Agreement') is a legal agreement between you (the 'End User') and ",r.COPYRIGHT_OWNER," (ARCBLOCK) for the Blocklet Server software (the 'Software') licensed to End User hereunder and supplied to End User. The term Software includes any APIs, software modules, and any associated materials and 'online' or electronic documentation. This Agreement applies to End User's use of the Software but it shall be superseded by any signed agreement between End User and ARCBLOCK concerning the Software."]}),e.jsx("p",{children:"By installing or using the Software, You agree to accept and to be bound by this Agreement at all times. If You do not agree with one of these, please do not install or use the Software."}),e.jsx("h4",{children:"1. Software license"}),e.jsx("p",{children:"Notwithstanding any reference to 'sale' or 'purchase', the Software is licensed, not sold. Subject to the terms and conditions of this Agreement, ARCBLOCK grants End User a non-exclusive, non-transferable right to access and use the Software as part of the services for End User's use ('Authorized Use') in object form in the products, versions, and number of installed instances as purchased from ARCBLOCK."}),e.jsx("h4",{children:"2. Limitations"}),e.jsx("p",{children:"2.1. Restrictions. End User shall not itself, or through any parent, subsidiary, affiliate, agent or other third party: (a) sell, lease, license, distribute, sublicense or otherwise transfer in whole or in part, the Software to a third party; (b) decompile, disassemble, translate, reverse engineer or otherwise attempt to derive source code from the Software except to the limited extent, if any, that applicable law permits such acts notwithstanding any contractual prohibitions, provided, however, before End User exercises any rights that End User believes to be entitled to based on mandatory law, End User shall provide ARCBLOCK with thirty (30) days prior written notice and provide all reasonably requested information to allow ARCBLOCK to assess End User's claim and, at ARCBLOCK sole discretion, to provide alternatives that reduce any adverse impact on ARCBLOCK's intellectual property or other rights; (c) allow access or permit use of the Software by any third party except authorized third party contractors solely to provide services to End User, provided that End User shall be liable for all acts and omissions of such authorized third party contractors; (d) modify or create derivative works based upon the Software; (e) disclose the results of any benchmark test of the Software to any third party; (f) change any proprietary rights notices which appear in the Software; or (g) circumvent the license keys embedded within the Software."}),e.jsx("p",{children:"2.2. Software Transfer. Upon written consent from ARCBLOCK, which will not be unreasonably withheld, End User may permanently transfer all of its rights under this Agreement; provided that the recipient agrees to the terms of this Agreement."}),e.jsx("p",{children:"2.3. High Risk Activities. The Software is not intended for use in hazardous environments requiring fail safe performance (such as, without limitation, the planning, construction, maintenance, control, or direct operation of nuclear facilities, aircraft navigation or communication systems, air traffic control, medical device and life support machines, or weapon systems) in which the failure of the Software could lead to death, personal injury or physical and environmental damage ('High Risk Activities'). Accordingly, this Agreement excludes any High Risk Activities and End User agrees not to use the Software in connection with High Risk Activities."}),e.jsx("h4",{children:"3. Ownership"}),e.jsx("p",{children:"The Software is protected by copyright laws and international copyright treaties, as well as other intellectual property laws and treaties. ARCBLOCK owns all rights, title and interest in the copyrights, patents and all other intellectual property rights in and to the Software and any accompanying printed materials, and all derivative works thereof."}),e.jsx("h4",{children:"4. Open source programs"}),e.jsx("p",{children:"The Software may include individual open source software components, each of which has its own copyright and its own applicable license conditions. The open source software components are licensed to End User under the terms of the applicable open source license conditions and/or copyright notices that can be found in the licenses file, the related documentation or other materials accompanying the Software."}),e.jsx("h4",{children:"5. Trademarks"}),e.jsx("p",{children:"The marks 'ARCBLOCK', ‘BLOCKLETS’ and ‘Blocklet Server’ are trademarks of ARCBLOCK. ARCBLOCK's failure to list a trademark in this Section shall not constitute a waiver of any trademark rights. All other trademarks in the Software not owned by ARCBLOCK are the property of their respective owners."}),e.jsx("h4",{children:"6. Disclaimer and Warranty"}),e.jsx("p",{children:"6.1. DISCLAIMER OF WARRANTIES. THE SOFTWARE IS PROVIDED 'AS IS' WITHOUT WARRANTY OF ANY KIND AND ARCBLOCK EXPRESSLY DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED OR ARISING OUT OF A COURSE OF CONDUCT OR COURSE OF DEALING, INCLUDING ALL WARRANTIES OF TITLE, PERFORMANCE, USE, MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON INFRINGEMENT AND THE ABSENCE OF LATENT OR OTHER DEFECTS, WHETHER OR NOT DISCOVERABLE. ARCBLOCK MAKES NO WARRANTY REGARDING NON INTERRUPTION OF USE. NO ORAL OR WRITTEN STATEMENT PROVIDED BY ARCBLOCK SHALL CREATE ANY WARRANTY."}),e.jsx("p",{children:"6.2. LIMITATION OF LIABILITY. THE ENTIRE RISK AS TO THE RESULTS AND PERFORMANCE OF THE SOFTWARE IS ASSUMED BY END USER. ARCBLOCK SHALL NOT HAVE ANY LIABILITY TO END USER OR ANY OTHER PARTY FOR ANY INDIRECT, INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES WHATSOEVER, INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUE, PROFIT OR OPPORTUNITY, LOST OR DAMAGED DATA OR OTHER COMMERCIAL OR ECONOMIC LOSS, EVEN IF ARCBLOCK HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, OR THEY ARE FORESEEABLE. ARCBLOCK'S MAXIMUM AGGREGATE LIABILITY RELATING TO THIS AGREEMENT OR THE SOFTWARE SHALL NOT EXCEED THE AMOUNT PAID BY END USER FOR THE SOFTWARE."}),e.jsx("p",{children:"6.3. ALLOCATION. THE PROVISIONS OF THIS SECTION ALLOCATE RISKS UNDER THIS AGREEMENT BETWEEN ARCBLOCK AND END USER. ARCBLOCK'S LICENSING FEES FOR THE SOFTWARE REFLECT THIS ALLOCATION OF RISKS AND LIMITATION OF LIABILITY. THE FOREGOING LIMITATIONS, EXCLUSIONS AND DISCLAIMERS APPLY TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, EVEN IF ANY REMEDY FAILS IN ITS ESSENTIAL PURPOSE."}),e.jsx("p",{children:"6.4. Limitation. Because some jurisdictions do not allow certain disclaimers, exclusions or limitations of warranties, damages or liability, the above disclaimers, exclusions or limitations may not apply to End User and, therefore, shall apply only to the maximum extent allowed under applicable law."}),e.jsx("h4",{children:"7. Term"}),e.jsx("p",{children:"This Agreement is effective until terminated. End Users may terminate the Agreement at any time by returning or destroying all copies of the Software and related documentation. End User's rights under this Agreement will terminate automatically if End User fails to comply with the Agreement."}),e.jsx("h4",{children:"8. Miscellaneous"}),e.jsx("p",{children:"8.1. Governing Law. This Agreement shall be governed by the laws of the State of Washington, without reference to the principles of conflicts of law. The provisions of the Uniform Computerized Information Transaction Act and United Nations Convention on Contracts for the International Sale of Goods shall not apply to this Agreement. Any litigation related to this Agreement shall be brought in the state or federal courts located in Washington, and only in those courts and each party irrevocably waives any objections to such venue. Notwithstanding anything to the contrary herein, ARCBLOCK shall be entitled to seek injunctive or other equitable relief, wherever ARCBLOCK deems appropriate in any jurisdiction, in order to preserve or enforce ARCBLOCK's rights for any breach or threatened breach of this Agreement."}),e.jsx("p",{children:"8.2. Severability. Every term, condition or provision of this Agreement is severable from the others. If a court or an arbitrator of competent jurisdiction holds any term, condition or provision of this Agreement to be invalid, unenforceable or illegal in whole or in part for any reason, the validity and enforceability of the remaining terms, conditions or provisions, or portions of them, will not be affected."}),e.jsx("p",{children:"8.3. Confidentiality. Except as expressly allowed by this Agreement, End User will not use or disclose any Software or related technology, idea, algorithm or information ('Confidential Information') except to the extent End User can document that it is generally available for use and disclosure by the public without charge or license. End User shall hold the Confidential Information in trust and confidence and avoid the disclosure or release thereof to any other person or entity by using the same degree of care as it uses to avoid unauthorized use, disclosure, or dissemination of its own Confidential Information of a similar nature, but not less than reasonable care. End User may disclose Confidential Information as required to comply with binding orders of governmental entities that have jurisdiction over it; provided that End User gives ARCBLOCK reasonable written notice to allow ARCBLOCK to seek a protective order or other appropriate remedy, discloses only such Confidential Information as is required by the governmental entity, and uses commercially reasonable efforts to obtain confidential treatment for any Confidential Information disclosed. End User recognizes and agrees that there is no adequate remedy at law for a breach of this Section, that such a breach would irreparably harm ARCBLOCK and that ARCBLOCK is entitled to equitable relief (without need to post a bond) with respect to any such breach or potential breach in addition to any other remedies."}),e.jsx("p",{children:"8.4. Indemnity. End User shall defend, indemnify and hold harmless ARCBLOCK, and its officers, directors, employees and agents (the ARCBLOCK indemnities’), from and against all suits, claims, demands, losses, liabilities, damages and expenses (including reasonable attorneys' fees and costs) that the ARCBLOCK Indemnities may suffer or incur in connection with: (i) any third party claim arising from End User's breach of this Agreement; and (ii) any infringement by End User of ARCBLOCK's intellectual property rights in the Software."}),e.jsx("p",{children:"8.5. Entire Agreement and Waiver. The Agreement is the sole, final and entire agreement between the parties with respect to the subject matter hereof, may only be amended in writing signed by both ARCBLOCK License parties. A failure or delay in enforcing any provisions, exercising any option or requiring performance, be construed to be a waiver by ARCBLOCK."}),e.jsx("p",{children:"8.6. Marketing. ARCBLOCK may use End User's name and company logo on its customer list and web site, and link to End User's web site."}),e.jsx("p",{children:"8.7. Independent Contractor. The relationship of the parties is that of independent contractors. Neither party will be deemed to be the legal representative of the other nor will it have any right to bind the other party to any contract or commitment. This Agreement does not, and will not, be construed to create an employer employee, agency, joint venture or partnership relationship between the parties. Each party agrees to assume complete responsibility for its own employees regarding federal or state laws, including employers' liability and tax withholding, worker's compensation, social security, unemployment insurance, and OSHA requirements."}),e.jsx("p",{children:"8.8. Notices. All notices must be in writing and will be effective three (3) days after the date sent to each party's corporate headquarters."}),e.jsx("p",{children:"8.9. Audit. During the term of this Agreement and for one (1) year following termination or expiration (but no more than once in a calendar year), ARCBLOCK and its auditors may inspect End User's records relating to its reproduction and use of the Software for the purposes of verifying End User's compliance with this Agreement. End User shall cooperate fully with ARCBLOCK and its auditors in conducting audits and provide reasonable assistance. If an underpayment is discovered, End User shall promptly pay such amount and End User shall reimburse ARCBLOCK for the cost of the audit."}),e.jsx("p",{children:`8.10. Government Regulation. End User acknowledges that the Software is subject to export restrictions by the U.S. government and import restrictions by certain foreign governments. End User may not export or re-export the Software except in compliance with the U.S. Export Administration Act and the related rules and regulations and similar non-U.S. government restrictions, if applicable. End User shall not and shall not allow any third party to remove or export from the United States or allow the export or re export of any part of the Software or any direct product thereof: (i) into (or to a national or resident of) any embargoed or terrorist supporting country; (ii) to anyone on the U.S. Commerce Department's Table of Denial Orders or U.S. Treasury Department's list of Specially Designated Nationals; (iii) to any country to which such export or re export is restricted or prohibited, or as to which the U.S. government or any agency thereof requires an export license or other governmental approval at the time of export or re export without first obtaining such license or approval; or (iv) otherwise in violation of any export or import restrictions, laws or regulations of any United States or foreign agency or authority. End User agrees to the foregoing and warrants that it is not located in, under the control of, or a national or resident of any such prohibited country or on any such prohibited party list. The Software is further restricted from being used for terrorist activity, or for the design or development of nuclear, chemical, or biological weapons or missile technology without the prior permission of the U.S. government. The Software and accompanying documentation are deemed to be "commercial computer software" and "commercial computer software documentation", respectively, pursuant to DFAR Section 227.7202 and FAR Section 12.212(b), as applicable. Any use, modification, reproduction, release, performing, displaying or disclosing of the Software and related documentation by the U.S. Government shall be governed solely by the terms of this Agreement.`})]});function h(){const{t}=n.useContext(o);return e.jsxs(l,{children:[e.jsx(i,{component:"h2",variant:"h4",className:"page-header",color:"textPrimary",children:t("setup.steps.eula")}),e.jsx(s,{})]})}const l=a.main`
2
2
  .page-header {
3
3
  display: flex;
4
4
  justify-content: space-between;