@abtnode/blocklet-services 1.17.1 → 1.17.2-beta-20251111-010532-4bb3b162

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 (180) hide show
  1. package/api/routes/oauth/client.js +19 -3
  2. package/dist/assets/{AdapterDayjs-DS6RugP1.js → AdapterDayjs-Cf3ilEXQ.js} +1 -1
  3. package/dist/assets/{Google-DL2G-Im-.js → Google-CAi86Mf6.js} +1 -1
  4. package/dist/assets/{access-control-BcP45PDK.js → access-control-CtmOVtqN.js} +1 -1
  5. package/dist/assets/{add-component-core-CDw-LKTz.js → add-component-core-BmqcC6wx.js} +1 -1
  6. package/dist/assets/add-resource-Wd8eygtg.js +1 -0
  7. package/dist/assets/{addon-BNvN2vhl.js → addon-b88MM48E.js} +1 -1
  8. package/dist/assets/{advanced-C0Q1MXTZ.js → advanced-B3-RuDYH.js} +1 -1
  9. package/dist/assets/aigne-dOgJ2u-w.js +10 -0
  10. package/dist/assets/api-Btn0Tp3W.js +1 -0
  11. package/dist/assets/{appearance-Du24FS2u.js → appearance-BqBKdeI5.js} +1 -1
  12. package/dist/assets/{arrow-down.svg-BNc6qym0.js → arrow-down.svg-DeLZPBrE.js} +1 -1
  13. package/dist/assets/{audit-logs-CC69qHzz.js → audit-logs-DtLr59sc.js} +1 -1
  14. package/dist/assets/{authorize-R4UDUnLr.js → authorize-DwHmsRbR.js} +1 -1
  15. package/dist/assets/{base-chart-CPiuDOeg.js → base-chart-C-Raz4Q-.js} +1 -1
  16. package/dist/assets/{base32-DvFJDTUa.js → base32-MTP_2iYY.js} +1 -1
  17. package/dist/assets/{bind-account-BHDDyJhv.js → bind-account-kNuk8_sP.js} +1 -1
  18. package/dist/assets/branding-B5SFGC6H.js +1 -0
  19. package/dist/assets/{branding-JJOTrGtN.js → branding-BDl2jvZZ.js} +1 -1
  20. package/dist/assets/{branding-DtWd56Gj.js → branding-ZWV6HBf3.js} +1 -1
  21. package/dist/assets/{bundle-avatar-DKBZZwLh.js → bundle-avatar-CTtvmGO1.js} +1 -1
  22. package/dist/assets/{button-Cg6OrnF6.js → button-vwR-NYG5.js} +1 -1
  23. package/dist/assets/{click-to-copy-8VrSVycN.js → click-to-copy-BOJgIYli.js} +1 -1
  24. package/dist/assets/{cloneDeep-D_w1MBt4.js → cloneDeep-C6qewg0C.js} +1 -1
  25. package/dist/assets/{complete-DPUMGf1q.js → complete-Bkaq2hgz.js} +2 -2
  26. package/dist/assets/{component-BHy3j7aa.js → component-C45V1KlM.js} +2 -2
  27. package/dist/assets/{config-BaVMK6fr.js → config-BLLq9bPE.js} +1 -1
  28. package/dist/assets/config-Ceq_JEL5.js +53 -0
  29. package/dist/assets/{config-9XjBKwBj.js → config-gkybDvOM.js} +1 -1
  30. package/dist/assets/{config-navigation-CFyO-icX.js → config-navigation-D1-Loy5H.js} +2 -2
  31. package/dist/assets/{config-space-u-t0AaTk.js → config-space-zpk7zMxf.js} +1 -1
  32. package/dist/assets/{confirm-BCjJ3Xga.js → confirm-CR8be0u2.js} +1 -1
  33. package/dist/assets/{connect-DlGrdygd.js → connect-BXpb2qd7.js} +1 -1
  34. package/dist/assets/{connect-B6Xh5geZ.js → connect-DOJrWNED.js} +1 -1
  35. package/dist/assets/{connect-to-DcXC96wu.js → connect-to-CmnRyCBb.js} +1 -1
  36. package/dist/assets/{create-passport-svg-BYZ8eY0w.js → create-passport-svg-C7Utfs-J.js} +1 -1
  37. package/dist/assets/{createClass-BQSl7_FJ.js → createClass-C0dSRoDm.js} +1 -1
  38. package/dist/assets/{dashboard-CQ72RYH1.js → dashboard-Dw224r_Y.js} +2 -2
  39. package/dist/assets/{delete-confirm-D2vWlDhQ.js → delete-confirm-DhJd_sYk.js} +1 -1
  40. package/dist/assets/{did-address-BxZuOgUQ.js → did-address-QgOhyegQ.js} +1 -1
  41. package/dist/assets/{domain-DrZ8Lgz4.js → domain-Cp9UTLSk.js} +1 -1
  42. package/dist/assets/{domain-action-card-CjprVCsh.js → domain-action-card-ClQw061p.js} +2 -2
  43. package/dist/assets/domains-Bqr-LIHe.js +1 -0
  44. package/dist/assets/{email-BLnwK6WC.js → email-CyuoT9tq.js} +1 -1
  45. package/dist/assets/engine-DPn0LHHl.js +1 -0
  46. package/dist/assets/{exchange-passport-CNwWQumn.js → exchange-passport-BpZ027R8.js} +1 -1
  47. package/dist/assets/{form-BmYfNrVX.js → form-5lUoL51-.js} +1 -1
  48. package/dist/assets/{form-text-input-BZq_zjB8.js → form-text-input-Ce6g965V.js} +1 -1
  49. package/dist/assets/{fuel-UmS8I6V5.js → fuel-SLYYbiDW.js} +1 -1
  50. package/dist/assets/{gen-access-key-BG0P5o2E.js → gen-access-key-CXXIb3w7.js} +1 -1
  51. package/dist/assets/gen-simple-access-key-BHzLGV5y.js +1 -0
  52. package/dist/assets/get-safe-url-DpalOXcM.js +1 -0
  53. package/dist/assets/{home-DDCrDH3h.js → home-DIAEkSVB.js} +1 -1
  54. package/dist/assets/{iframe-UTQ_4DZf.js → iframe-BUJLmqjE.js} +1 -1
  55. package/dist/assets/index-40i6YjCX.js +6 -0
  56. package/dist/assets/{index-bAaF7GbQ.js → index-5h5rz7VN.js} +1 -1
  57. package/dist/assets/index-7L77Yf9w.js +120 -0
  58. package/dist/assets/{index-CFpcdpS5.js → index-BQF4zMs8.js} +3 -3
  59. package/dist/assets/{index-BCuYGA8L.js → index-BiE-bsm3.js} +1 -1
  60. package/dist/assets/{index-BCF14HSR.js → index-BiRWeiPY.js} +1 -1
  61. package/dist/assets/{index-Db6d_BmF.js → index-Bjj89nDJ.js} +1 -1
  62. package/dist/assets/{index-CYIpEo41.js → index-Bpiwm7Vd.js} +1 -1
  63. package/dist/assets/{index-DoyPDWTY.js → index-C-ToEbCG.js} +1 -1
  64. package/dist/assets/{index-CRlbskWD.js → index-C45ih46D.js} +11 -11
  65. package/dist/assets/{index-BydChKjR.js → index-COTazo1u.js} +2 -2
  66. package/dist/assets/{index-H8Dc7uuB.js → index-CkOr9jjZ.js} +1 -1
  67. package/dist/assets/{index-Ct7hdtD6.js → index-CsfqJ8ys.js} +1 -1
  68. package/dist/assets/{index-COj40KfT.js → index-CxfTwIi4.js} +1 -1
  69. package/dist/assets/{index-C2c32kYu.js → index-DBJMdrD8.js} +1 -1
  70. package/dist/assets/index-DZRxerxf.js +7 -0
  71. package/dist/assets/{index-Kwxwmog8.js → index-DZsn1cNa.js} +3 -3
  72. package/dist/assets/{index-CrRuO2BQ.js → index-DicW-7Bz.js} +1 -1
  73. package/dist/assets/{index-D-Y0UA7w.js → index-DoMhm8T2.js} +1 -1
  74. package/dist/assets/{index-CfVxzco9.js → index-DzmaBRJ8.js} +1 -1
  75. package/dist/assets/{index-DrTSvHzP.js → index-F1NFyTyg.js} +7 -7
  76. package/dist/assets/index-FV6qYjQd.js +62 -0
  77. package/dist/assets/{index-D2k5qLgT.js → index-FpxO_1p7.js} +1 -1
  78. package/dist/assets/{index-I8DDinX-.js → index-GExzZtCU.js} +1 -1
  79. package/dist/assets/{index-C_bSN26w.js → index-I2xk2ilS.js} +2 -2
  80. package/dist/assets/{index-BM4g9p9K.js → index-NomqB6Iy.js} +1 -1
  81. package/dist/assets/{index-ChcIPY6P.js → index-UR2bgVDi.js} +2 -2
  82. package/dist/assets/{index-CKPpLyCQ.js → index-gt5P4O5b.js} +1 -1
  83. package/dist/assets/{index-Ch4CmFJG.js → index-l32Mt1U_.js} +1 -1
  84. package/dist/assets/{index-CkTEzTCn.js → index-sNHCLgAE.js} +140 -142
  85. package/dist/assets/{index-BjsH7wg6.js → index-x4Yvq15-.js} +1 -1
  86. package/dist/assets/{invitation-PFI3mpiQ.js → invitation-Bu3ivg7N.js} +1 -1
  87. package/dist/assets/{invitations-DBukPMcf.js → invitations-o-DfaNhe.js} +1 -1
  88. package/dist/assets/{invite-Z_7oCnoB.js → invite-C_VhlmyZ.js} +1 -1
  89. package/dist/assets/{isURL-CyShrkvP.js → isURL-D_2bLHU_.js} +2 -2
  90. package/dist/assets/{issue-passport-BexF9o0Q.js → issue-passport-BQmXTz6k.js} +1 -1
  91. package/dist/assets/{item-CBDRQx8K.js → item-BnTXSpRf.js} +1 -1
  92. package/dist/assets/{landing-page-BBuNoMf2.js → landing-page-sUHYSREd.js} +1 -1
  93. package/dist/assets/{layout-DsLcTLhU.js → layout-Ccrs-yyw.js} +1 -1
  94. package/dist/assets/list-Bzvh-74X.js +2 -0
  95. package/dist/assets/list-DORIbGy_.js +103 -0
  96. package/dist/assets/localization-DDhbgRgn.js +1 -0
  97. package/dist/assets/{log-CQbIkXws.js → log-C34JsgaL.js} +1 -1
  98. package/dist/assets/logger-CLmQ42wa.js +1 -0
  99. package/dist/assets/{login-CvnRp8HX.js → login-DHfG4EkA.js} +1 -1
  100. package/dist/assets/{login-oauth-callback-LnLYjVIe.js → login-oauth-callback-B7KlB_uu.js} +1 -1
  101. package/dist/assets/{logo-uploader-DRaSgU8c.js → logo-uploader-D-JPEx8I.js} +1 -1
  102. package/dist/assets/{lost-passport-B5NjzFZd.js → lost-passport-BLFCoJdG.js} +1 -1
  103. package/dist/assets/{omit-CigYLGmT.js → omit-hhiOJGRf.js} +1 -1
  104. package/dist/assets/{open-window-B_B0pir6.js → open-window-Bcj__Y7L.js} +1 -1
  105. package/dist/assets/{over-due-invoice-payment-mGIRggXd.js → over-due-invoice-payment-DUg5ApsD.js} +1 -1
  106. package/dist/assets/{overview-DmcFvtLD.js → overview-B-nkIeNy.js} +2 -2
  107. package/dist/assets/passport-Y64u4kIS.js +1 -0
  108. package/dist/assets/passport-item-DvglsId-.js +1 -0
  109. package/dist/assets/{permission-COoKrWxk.js → permission-DhYNRf8T.js} +1 -1
  110. package/dist/assets/{preferences-CDP-HNka.js → preferences-C4h4Dsj9.js} +1 -1
  111. package/dist/assets/profile-embed-lrJQLQky.js +1 -0
  112. package/dist/assets/{publish-resource-BMF29YI2.js → publish-resource-YXu5vhjp.js} +1 -1
  113. package/dist/assets/{react-beautiful-dnd.esm-4ukAiqxb.js → react-beautiful-dnd.esm-Ci2FESra.js} +1 -1
  114. package/dist/assets/runtime-DK0VmoOa.js +1 -0
  115. package/dist/assets/{sanitize-Bib7lw-G.js → sanitize-BEqBHa8a.js} +1 -1
  116. package/dist/assets/sdk-DFkL0HsT.js +1 -0
  117. package/dist/assets/{security-BcRPxWAt.js → security-DrqBVw07.js} +3 -3
  118. package/dist/assets/{session-GdZETrt0.js → session-BAD0lxQk.js} +1 -1
  119. package/dist/assets/{setup-MQVteZIu.js → setup-Br2wkFI2.js} +1 -1
  120. package/dist/assets/{simple-select-K2bKpwDf.js → simple-select-CzvjrR9I.js} +1 -1
  121. package/dist/assets/{spaces-iPLS3X1a.js → spaces-B0p4-23K.js} +1 -1
  122. package/dist/assets/{start-DE38ex9f.js → start-CXoSJa5Y.js} +1 -1
  123. package/dist/assets/{starting-progress-BQjEEvIV.js → starting-progress-NSYAzE2f.js} +1 -1
  124. package/dist/assets/{status-B0TeD-D-.js → status-guZHdt1q.js} +1 -1
  125. package/dist/assets/{step-actions-DPFoKvBN.js → step-actions-thgNsMmu.js} +1 -1
  126. package/dist/assets/{studio-CEsaMQhd.js → studio-Ceq7d-nC.js} +1 -1
  127. package/dist/assets/{switch-control-BHqY-fHZ.js → switch-control-CHsjrwFX.js} +1 -1
  128. package/dist/assets/{table-tips-6mCQ469z.js → table-tips-cwfDerzR.js} +1 -1
  129. package/dist/assets/{team-aiCyLcOV.js → team-DQuySqMB.js} +1 -1
  130. package/dist/assets/{traffic-CPElxbIH.js → traffic-QKQkjau1.js} +1 -1
  131. package/dist/assets/{transfer-DvfbExaq.js → transfer-B2DeADo4.js} +1 -1
  132. package/dist/assets/{unsubscribe-BfZzYk0c.js → unsubscribe-CBCoBRAZ.js} +1 -1
  133. package/dist/assets/{use-app-logo-Duu7Oh3J.js → use-app-logo-BQTE7YvS.js} +1 -1
  134. package/dist/assets/{use-window-close-CmeMvKPG.js → use-window-close-BgT_dImc.js} +1 -1
  135. package/dist/assets/{useAsync-DouUkRB3.js → useAsync-BcVLpt2E.js} +1 -1
  136. package/dist/assets/{useAsync-BvASW8Y8.js → useAsync-cZ_FPf9k.js} +1 -1
  137. package/dist/assets/{useAsyncRetry-C8ETjgdm.js → useAsyncRetry-DwwEjrjs.js} +1 -1
  138. package/dist/assets/{useLocalStorage-DZQPax49.js → useLocalStorage-C9RLNbTa.js} +1 -1
  139. package/dist/assets/{user-center-BVnh5pB3.js → user-center-Cj7ClpAN.js} +2 -2
  140. package/dist/assets/user-follower-D2fRTkiD.js +32 -0
  141. package/dist/assets/{util-Cx4i9QNN.js → util-BEWQY3Rq.js} +1 -1
  142. package/dist/assets/{util-D4K1svNc.js → util-BsAmOTBh.js} +1 -1
  143. package/dist/assets/{vendor-arcblock-A4RQuZfN.js → vendor-arcblock-CuFtPveO.js} +1 -1
  144. package/dist/assets/{vendor-hooks-OpgB8gyY.js → vendor-hooks-CjESGRlR.js} +1 -1
  145. package/dist/assets/vendor-utils-cJEl_UEd.js +213 -0
  146. package/dist/assets/{vendor-ux-RIH1nUSh.js → vendor-ux-IiQnod3w.js} +7 -7
  147. package/dist/assets/{wait-connect-KtqPocoC.js → wait-connect-DiO80nu-.js} +1 -1
  148. package/dist/assets/{wizard-C9022r7q.js → wizard-Br7PYJDY.js} +1 -1
  149. package/dist/assets/{wizard-components-DboyJGog.js → wizard-components-BJpLH2_r.js} +1 -1
  150. package/dist/assets/wrap-locale-fIPwg8LW.js +1 -0
  151. package/dist/assets/{zh-BQQVY0SI.js → zh-EIKQ0AV8.js} +1 -1
  152. package/dist/index.html +1 -1
  153. package/dist/service-worker.js +1 -1
  154. package/package.json +48 -48
  155. package/dist/assets/add-resource-CcTb_2qn.js +0 -1
  156. package/dist/assets/aigne-CIAkCLWQ.js +0 -10
  157. package/dist/assets/api-BNrHV6cZ.js +0 -1
  158. package/dist/assets/branding-z2zNNpPB.js +0 -1
  159. package/dist/assets/config-zjFvoy0D.js +0 -57
  160. package/dist/assets/domains-Pt7MqfcA.js +0 -1
  161. package/dist/assets/engine-BkRDnUT9.js +0 -1
  162. package/dist/assets/gen-simple-access-key-BD4DDZLa.js +0 -1
  163. package/dist/assets/get-safe-url-Cgcqi5oF.js +0 -1
  164. package/dist/assets/index-C0w3lI6i.js +0 -120
  165. package/dist/assets/index-CpPbuWHL.js +0 -7
  166. package/dist/assets/index-CuFT_Y96.js +0 -6
  167. package/dist/assets/index-DBjdZ7k_.js +0 -63
  168. package/dist/assets/index-OYI_VqY3.js +0 -1
  169. package/dist/assets/list-BDeeBLEM.js +0 -103
  170. package/dist/assets/list-BZRp_F7-.js +0 -2
  171. package/dist/assets/localization-Dp6_R66r.js +0 -1
  172. package/dist/assets/logger-BI25CDXT.js +0 -1
  173. package/dist/assets/passport-CScachCU.js +0 -1
  174. package/dist/assets/passport-item-BefzYs0z.js +0 -1
  175. package/dist/assets/profile-embed-CfTauOJU.js +0 -1
  176. package/dist/assets/runtime-CC2luaxU.js +0 -1
  177. package/dist/assets/sdk-CkMqUWSI.js +0 -1
  178. package/dist/assets/user-follower-z3gqroPM.js +0 -32
  179. package/dist/assets/vendor-utils-ByKYcWuf.js +0 -213
  180. package/dist/assets/wrap-locale-Dkx98Pk6.js +0 -1
@@ -1,213 +0,0 @@
1
- import{p as Br}from"./vendor-react-Dvs43sk9.js";var Ka=9007199254740991,Ya=Math.floor;function Fi(t,e){var r="";if(!t||e<1||e>Ka)return r;do e%2&&(r+=t),e=Ya(e/2),e&&(t+=t);while(e);return r}const Be=globalThis||void 0||self;var Ho=typeof Be=="object"&&Be&&Be.Object===Object&&Be,Xa=typeof self=="object"&&self&&self.Object===Object&&self,ae=Ho||Xa||Function("return this")(),se=ae.Symbol;function we(t,e){for(var r=-1,n=t==null?0:t.length,u=Array(n);++r<n;)u[r]=e(t[r],r,t);return u}var Gt=Array.isArray,Go=Object.prototype,Qa=Go.hasOwnProperty,tu=Go.toString,Qe=se?se.toStringTag:void 0;function eu(t){var e=Qa.call(t,Qe),r=t[Qe];try{t[Qe]=void 0;var n=!0}catch{}var u=tu.call(t);return n&&(e?t[Qe]=r:delete t[Qe]),u}var ru=Object.prototype,nu=ru.toString;function iu(t){return nu.call(t)}var ou="[object Null]",su="[object Undefined]",Ri=se?se.toStringTag:void 0;function ce(t){return t==null?t===void 0?su:ou:Ri&&Ri in Object(t)?eu(t):iu(t)}function ee(t){return t!=null&&typeof t=="object"}var au="[object Symbol]";function je(t){return typeof t=="symbol"||ee(t)&&ce(t)==au}var Ii=se?se.prototype:void 0,Ni=Ii?Ii.toString:void 0;function ar(t){if(typeof t=="string")return t;if(Gt(t))return we(t,ar)+"";if(je(t))return Ni?Ni.call(t):"";var e=t+"";return e=="0"&&1/t==-1/0?"-0":e}function ti(t,e,r){var n=-1,u=t.length;e<0&&(e=-e>u?0:u+e),r=r>u?u:r,r<0&&(r+=u),u=e>r?0:r-e>>>0,e>>>=0;for(var o=Array(u);++n<u;)o[n]=t[n+e];return o}function Fr(t,e,r){var n=t.length;return r=r===void 0?n:r,!e&&r>=n?t:ti(t,e,r)}var uu="\\ud800-\\udfff",fu="\\u0300-\\u036f",lu="\\ufe20-\\ufe2f",cu="\\u20d0-\\u20ff",hu=fu+lu+cu,pu="\\ufe0e\\ufe0f",du="\\u200d",gu=RegExp("["+du+uu+hu+pu+"]");function Rr(t){return gu.test(t)}function Wo(t){return function(e){return e?.[t]}}var mu=Wo("length"),Zo="\\ud800-\\udfff",yu="\\u0300-\\u036f",wu="\\ufe20-\\ufe2f",xu="\\u20d0-\\u20ff",vu=yu+wu+xu,bu="\\ufe0e\\ufe0f",Eu="["+Zo+"]",Nn="["+vu+"]",Un="\\ud83c[\\udffb-\\udfff]",Mu="(?:"+Nn+"|"+Un+")",Jo="[^"+Zo+"]",Vo="(?:\\ud83c[\\udde6-\\uddff]){2}",Ko="[\\ud800-\\udbff][\\udc00-\\udfff]",_u="\\u200d",Yo=Mu+"?",Xo="["+bu+"]?",Su="(?:"+_u+"(?:"+[Jo,Vo,Ko].join("|")+")"+Xo+Yo+")*",Bu=Xo+Yo+Su,Au="(?:"+[Jo+Nn+"?",Nn,Vo,Ko,Eu].join("|")+")",Ui=RegExp(Un+"(?="+Un+")|"+Au+Bu,"g");function Ou(t){for(var e=Ui.lastIndex=0;Ui.test(t);)++e;return e}function ei(t){return Rr(t)?Ou(t):mu(t)}function Tu(t){return t.split("")}var Qo="\\ud800-\\udfff",Cu="\\u0300-\\u036f",$u="\\ufe20-\\ufe2f",Fu="\\u20d0-\\u20ff",Ru=Cu+$u+Fu,Iu="\\ufe0e\\ufe0f",Nu="["+Qo+"]",Ln="["+Ru+"]",Pn="\\ud83c[\\udffb-\\udfff]",Uu="(?:"+Ln+"|"+Pn+")",ts="[^"+Qo+"]",es="(?:\\ud83c[\\udde6-\\uddff]){2}",rs="[\\ud800-\\udbff][\\udc00-\\udfff]",Lu="\\u200d",ns=Uu+"?",is="["+Iu+"]?",Pu="(?:"+Lu+"(?:"+[ts,es,rs].join("|")+")"+is+ns+")*",Du=is+ns+Pu,ju="(?:"+[ts+Ln+"?",Ln,es,rs,Nu].join("|")+")",ku=RegExp(Pn+"(?="+Pn+")|"+ju+Du,"g");function qu(t){return t.match(ku)||[]}function ke(t){return Rr(t)?qu(t):Tu(t)}var zu=Math.ceil;function os(t,e){e=e===void 0?" ":ar(e);var r=e.length;if(r<2)return r?Fi(e,t):e;var n=Fi(e,zu(t/ei(e)));return Rr(e)?Fr(ke(n),0,t).join(""):n.slice(0,t)}var Hu=/\s/;function ss(t){for(var e=t.length;e--&&Hu.test(t.charAt(e)););return e}var Gu=/^\s+/;function as(t){return t&&t.slice(0,ss(t)+1).replace(Gu,"")}function Kt(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}const cy=Object.freeze(Object.defineProperty({__proto__:null,default:Kt},Symbol.toStringTag,{value:"Module"}));var Li=NaN,Wu=/^[-+]0x[0-9a-f]+$/i,Zu=/^0b[01]+$/i,Ju=/^0o[0-7]+$/i,Vu=parseInt;function Dn(t){if(typeof t=="number")return t;if(je(t))return Li;if(Kt(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=Kt(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=as(t);var r=Zu.test(t);return r||Ju.test(t)?Vu(t.slice(2),r?2:8):Wu.test(t)?Li:+t}var Pi=1/0,Ku=17976931348623157e292;function Yu(t){if(!t)return t===0?t:0;if(t=Dn(t),t===Pi||t===-Pi){var e=t<0?-1:1;return e*Ku}return t===t?t:0}function We(t){var e=Yu(t),r=e%1;return e===e?r?e-r:e:0}function ne(t){return t==null?"":ar(t)}function Xu(t,e,r){t=ne(t),e=We(e);var n=e?ei(t):0;return e&&n<e?os(e-n,r)+t:t}const hy=Object.freeze(Object.defineProperty({__proto__:null,default:Xu},Symbol.toStringTag,{value:"Module"}));function Qu(t){return t==null}const py=Object.freeze(Object.defineProperty({__proto__:null,default:Qu},Symbol.toStringTag,{value:"Module"}));function tf(){this.__data__=[],this.size=0}function Ze(t,e){return t===e||t!==t&&e!==e}function Ir(t,e){for(var r=t.length;r--;)if(Ze(t[r][0],e))return r;return-1}var ef=Array.prototype,rf=ef.splice;function nf(t){var e=this.__data__,r=Ir(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():rf.call(e,r,1),--this.size,!0}function of(t){var e=this.__data__,r=Ir(e,t);return r<0?void 0:e[r][1]}function sf(t){return Ir(this.__data__,t)>-1}function af(t,e){var r=this.__data__,n=Ir(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}function ve(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}ve.prototype.clear=tf;ve.prototype.delete=nf;ve.prototype.get=of;ve.prototype.has=sf;ve.prototype.set=af;function uf(){this.__data__=new ve,this.size=0}function ff(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}function lf(t){return this.__data__.get(t)}function cf(t){return this.__data__.has(t)}var hf="[object AsyncFunction]",pf="[object Function]",df="[object GeneratorFunction]",gf="[object Proxy]";function ri(t){if(!Kt(t))return!1;var e=ce(t);return e==pf||e==df||e==hf||e==gf}var xn=ae["__core-js_shared__"],Di=function(){var t=/[^.]+$/.exec(xn&&xn.keys&&xn.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function mf(t){return!!Di&&Di in t}var yf=Function.prototype,wf=yf.toString;function Re(t){if(t!=null){try{return wf.call(t)}catch{}try{return t+""}catch{}}return""}var xf=/[\\^$.*+?()[\]{}|]/g,vf=/^\[object .+?Constructor\]$/,bf=Function.prototype,Ef=Object.prototype,Mf=bf.toString,_f=Ef.hasOwnProperty,Sf=RegExp("^"+Mf.call(_f).replace(xf,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Bf(t){if(!Kt(t)||mf(t))return!1;var e=ri(t)?Sf:vf;return e.test(Re(t))}function Af(t,e){return t?.[e]}function Ie(t,e){var r=Af(t,e);return Bf(r)?r:void 0}var nr=Ie(ae,"Map"),ir=Ie(Object,"create");function Of(){this.__data__=ir?ir(null):{},this.size=0}function Tf(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var Cf="__lodash_hash_undefined__",$f=Object.prototype,Ff=$f.hasOwnProperty;function Rf(t){var e=this.__data__;if(ir){var r=e[t];return r===Cf?void 0:r}return Ff.call(e,t)?e[t]:void 0}var If=Object.prototype,Nf=If.hasOwnProperty;function Uf(t){var e=this.__data__;return ir?e[t]!==void 0:Nf.call(e,t)}var Lf="__lodash_hash_undefined__";function Pf(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=ir&&e===void 0?Lf:e,this}function Te(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Te.prototype.clear=Of;Te.prototype.delete=Tf;Te.prototype.get=Rf;Te.prototype.has=Uf;Te.prototype.set=Pf;function Df(){this.size=0,this.__data__={hash:new Te,map:new(nr||ve),string:new Te}}function jf(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function Nr(t,e){var r=t.__data__;return jf(e)?r[typeof e=="string"?"string":"hash"]:r.map}function kf(t){var e=Nr(this,t).delete(t);return this.size-=e?1:0,e}function qf(t){return Nr(this,t).get(t)}function zf(t){return Nr(this,t).has(t)}function Hf(t,e){var r=Nr(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this}function be(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}be.prototype.clear=Df;be.prototype.delete=kf;be.prototype.get=qf;be.prototype.has=zf;be.prototype.set=Hf;var Gf=200;function Wf(t,e){var r=this.__data__;if(r instanceof ve){var n=r.__data__;if(!nr||n.length<Gf-1)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new be(n)}return r.set(t,e),this.size=r.size,this}function le(t){var e=this.__data__=new ve(t);this.size=e.size}le.prototype.clear=uf;le.prototype.delete=ff;le.prototype.get=lf;le.prototype.has=cf;le.prototype.set=Wf;var Zf="__lodash_hash_undefined__";function Jf(t){return this.__data__.set(t,Zf),this}function Vf(t){return this.__data__.has(t)}function Ce(t){var e=-1,r=t==null?0:t.length;for(this.__data__=new be;++e<r;)this.add(t[e])}Ce.prototype.add=Ce.prototype.push=Jf;Ce.prototype.has=Vf;function Kf(t,e){for(var r=-1,n=t==null?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}function or(t,e){return t.has(e)}var Yf=1,Xf=2;function us(t,e,r,n,u,o){var p=r&Yf,w=t.length,_=e.length;if(w!=_&&!(p&&_>w))return!1;var x=o.get(t),d=o.get(e);if(x&&d)return x==e&&d==t;var C=-1,k=!0,K=r&Xf?new Ce:void 0;for(o.set(t,e),o.set(e,t);++C<w;){var tt=t[C],st=e[C];if(n)var V=p?n(st,tt,C,e,t,o):n(tt,st,C,t,e,o);if(V!==void 0){if(V)continue;k=!1;break}if(K){if(!Kf(e,function(lt,et){if(!or(K,et)&&(tt===lt||u(tt,lt,r,n,o)))return K.push(et)})){k=!1;break}}else if(!(tt===st||u(tt,st,r,n,o))){k=!1;break}}return o.delete(t),o.delete(e),k}var Ar=ae.Uint8Array;function Qf(t){var e=-1,r=Array(t.size);return t.forEach(function(n,u){r[++e]=[u,n]}),r}function ni(t){var e=-1,r=Array(t.size);return t.forEach(function(n){r[++e]=n}),r}var tl=1,el=2,rl="[object Boolean]",nl="[object Date]",il="[object Error]",ol="[object Map]",sl="[object Number]",al="[object RegExp]",ul="[object Set]",fl="[object String]",ll="[object Symbol]",cl="[object ArrayBuffer]",hl="[object DataView]",ji=se?se.prototype:void 0,vn=ji?ji.valueOf:void 0;function pl(t,e,r,n,u,o,p){switch(r){case hl:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case cl:return!(t.byteLength!=e.byteLength||!o(new Ar(t),new Ar(e)));case rl:case nl:case sl:return Ze(+t,+e);case il:return t.name==e.name&&t.message==e.message;case al:case fl:return t==e+"";case ol:var w=Qf;case ul:var _=n&tl;if(w||(w=ni),t.size!=e.size&&!_)return!1;var x=p.get(t);if(x)return x==e;n|=el,p.set(t,e);var d=us(w(t),w(e),n,u,o,p);return p.delete(t),d;case ll:if(vn)return vn.call(t)==vn.call(e)}return!1}function ii(t,e){for(var r=-1,n=e.length,u=t.length;++r<n;)t[u+r]=e[r];return t}function fs(t,e,r){var n=e(t);return Gt(t)?n:ii(n,r(t))}function ls(t,e){for(var r=-1,n=t==null?0:t.length,u=0,o=[];++r<n;){var p=t[r];e(p,r,t)&&(o[u++]=p)}return o}function cs(){return[]}var dl=Object.prototype,gl=dl.propertyIsEnumerable,ki=Object.getOwnPropertySymbols,oi=ki?function(t){return t==null?[]:(t=Object(t),ls(ki(t),function(e){return gl.call(t,e)}))}:cs;function ml(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}var yl="[object Arguments]";function qi(t){return ee(t)&&ce(t)==yl}var hs=Object.prototype,wl=hs.hasOwnProperty,xl=hs.propertyIsEnumerable,qe=qi(function(){return arguments}())?qi:function(t){return ee(t)&&wl.call(t,"callee")&&!xl.call(t,"callee")};function vl(){return!1}var ps=typeof exports=="object"&&exports&&!exports.nodeType&&exports,zi=ps&&typeof module=="object"&&module&&!module.nodeType&&module,bl=zi&&zi.exports===ps,Hi=bl?ae.Buffer:void 0,El=Hi?Hi.isBuffer:void 0,ze=El||vl,Ml=9007199254740991,_l=/^(?:0|[1-9]\d*)$/;function ur(t,e){var r=typeof t;return e=e??Ml,!!e&&(r=="number"||r!="symbol"&&_l.test(t))&&t>-1&&t%1==0&&t<e}var Sl=9007199254740991;function si(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=Sl}var Bl="[object Arguments]",Al="[object Array]",Ol="[object Boolean]",Tl="[object Date]",Cl="[object Error]",$l="[object Function]",Fl="[object Map]",Rl="[object Number]",Il="[object Object]",Nl="[object RegExp]",Ul="[object Set]",Ll="[object String]",Pl="[object WeakMap]",Dl="[object ArrayBuffer]",jl="[object DataView]",kl="[object Float32Array]",ql="[object Float64Array]",zl="[object Int8Array]",Hl="[object Int16Array]",Gl="[object Int32Array]",Wl="[object Uint8Array]",Zl="[object Uint8ClampedArray]",Jl="[object Uint16Array]",Vl="[object Uint32Array]",jt={};jt[kl]=jt[ql]=jt[zl]=jt[Hl]=jt[Gl]=jt[Wl]=jt[Zl]=jt[Jl]=jt[Vl]=!0;jt[Bl]=jt[Al]=jt[Dl]=jt[Ol]=jt[jl]=jt[Tl]=jt[Cl]=jt[$l]=jt[Fl]=jt[Rl]=jt[Il]=jt[Nl]=jt[Ul]=jt[Ll]=jt[Pl]=!1;function Kl(t){return ee(t)&&si(t.length)&&!!jt[ce(t)]}function Ur(t){return function(e){return t(e)}}var ds=typeof exports=="object"&&exports&&!exports.nodeType&&exports,er=ds&&typeof module=="object"&&module&&!module.nodeType&&module,Yl=er&&er.exports===ds,bn=Yl&&Ho.process,He=function(){try{var t=er&&er.require&&er.require("util").types;return t||bn&&bn.binding&&bn.binding("util")}catch{}}(),Gi=He&&He.isTypedArray,Lr=Gi?Ur(Gi):Kl,Xl=Object.prototype,Ql=Xl.hasOwnProperty;function gs(t,e){var r=Gt(t),n=!r&&qe(t),u=!r&&!n&&ze(t),o=!r&&!n&&!u&&Lr(t),p=r||n||u||o,w=p?ml(t.length,String):[],_=w.length;for(var x in t)(e||Ql.call(t,x))&&!(p&&(x=="length"||u&&(x=="offset"||x=="parent")||o&&(x=="buffer"||x=="byteLength"||x=="byteOffset")||ur(x,_)))&&w.push(x);return w}var tc=Object.prototype;function Pr(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||tc;return t===r}function ms(t,e){return function(r){return t(e(r))}}var ec=ms(Object.keys,Object),rc=Object.prototype,nc=rc.hasOwnProperty;function ys(t){if(!Pr(t))return ec(t);var e=[];for(var r in Object(t))nc.call(t,r)&&r!="constructor"&&e.push(r);return e}function Ee(t){return t!=null&&si(t.length)&&!ri(t)}function Me(t){return Ee(t)?gs(t):ys(t)}function jn(t){return fs(t,Me,oi)}var ic=1,oc=Object.prototype,sc=oc.hasOwnProperty;function ac(t,e,r,n,u,o){var p=r&ic,w=jn(t),_=w.length,x=jn(e),d=x.length;if(_!=d&&!p)return!1;for(var C=_;C--;){var k=w[C];if(!(p?k in e:sc.call(e,k)))return!1}var K=o.get(t),tt=o.get(e);if(K&&tt)return K==e&&tt==t;var st=!0;o.set(t,e),o.set(e,t);for(var V=p;++C<_;){k=w[C];var lt=t[k],et=e[k];if(n)var ut=p?n(et,lt,k,e,t,o):n(lt,et,k,t,e,o);if(!(ut===void 0?lt===et||u(lt,et,r,n,o):ut)){st=!1;break}V||(V=k=="constructor")}if(st&&!V){var dt=t.constructor,ft=e.constructor;dt!=ft&&"constructor"in t&&"constructor"in e&&!(typeof dt=="function"&&dt instanceof dt&&typeof ft=="function"&&ft instanceof ft)&&(st=!1)}return o.delete(t),o.delete(e),st}var kn=Ie(ae,"DataView"),qn=Ie(ae,"Promise"),De=Ie(ae,"Set"),zn=Ie(ae,"WeakMap"),Wi="[object Map]",uc="[object Object]",Zi="[object Promise]",Ji="[object Set]",Vi="[object WeakMap]",Ki="[object DataView]",fc=Re(kn),lc=Re(nr),cc=Re(qn),hc=Re(De),pc=Re(zn),oe=ce;(kn&&oe(new kn(new ArrayBuffer(1)))!=Ki||nr&&oe(new nr)!=Wi||qn&&oe(qn.resolve())!=Zi||De&&oe(new De)!=Ji||zn&&oe(new zn)!=Vi)&&(oe=function(t){var e=ce(t),r=e==uc?t.constructor:void 0,n=r?Re(r):"";if(n)switch(n){case fc:return Ki;case lc:return Wi;case cc:return Zi;case hc:return Ji;case pc:return Vi}return e});var dc=1,Yi="[object Arguments]",Xi="[object Array]",yr="[object Object]",gc=Object.prototype,Qi=gc.hasOwnProperty;function mc(t,e,r,n,u,o){var p=Gt(t),w=Gt(e),_=p?Xi:oe(t),x=w?Xi:oe(e);_=_==Yi?yr:_,x=x==Yi?yr:x;var d=_==yr,C=x==yr,k=_==x;if(k&&ze(t)){if(!ze(e))return!1;p=!0,d=!1}if(k&&!d)return o||(o=new le),p||Lr(t)?us(t,e,r,n,u,o):pl(t,e,_,r,n,u,o);if(!(r&dc)){var K=d&&Qi.call(t,"__wrapped__"),tt=C&&Qi.call(e,"__wrapped__");if(K||tt){var st=K?t.value():t,V=tt?e.value():e;return o||(o=new le),u(st,V,r,n,o)}}return k?(o||(o=new le),ac(t,e,r,n,u,o)):!1}function Dr(t,e,r,n,u){return t===e?!0:t==null||e==null||!ee(t)&&!ee(e)?t!==t&&e!==e:mc(t,e,r,n,Dr,u)}var yc=1,wc=2;function xc(t,e,r,n){var u=r.length,o=u;if(t==null)return!o;for(t=Object(t);u--;){var p=r[u];if(p[2]?p[1]!==t[p[0]]:!(p[0]in t))return!1}for(;++u<o;){p=r[u];var w=p[0],_=t[w],x=p[1];if(p[2]){if(_===void 0&&!(w in t))return!1}else{var d=new le,C;if(!(C===void 0?Dr(x,_,yc|wc,n,d):C))return!1}}return!0}function ws(t){return t===t&&!Kt(t)}function vc(t){for(var e=Me(t),r=e.length;r--;){var n=e[r],u=t[n];e[r]=[n,u,ws(u)]}return e}function xs(t,e){return function(r){return r==null?!1:r[t]===e&&(e!==void 0||t in Object(r))}}function bc(t){var e=vc(t);return e.length==1&&e[0][2]?xs(e[0][0],e[0][1]):function(r){return r===t||xc(r,t,e)}}var Ec=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Mc=/^\w*$/;function ai(t,e){if(Gt(t))return!1;var r=typeof t;return r=="number"||r=="symbol"||r=="boolean"||t==null||je(t)?!0:Mc.test(t)||!Ec.test(t)||e!=null&&t in Object(e)}var _c="Expected a function";function ui(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(_c);var r=function(){var n=arguments,u=e?e.apply(this,n):n[0],o=r.cache;if(o.has(u))return o.get(u);var p=t.apply(this,n);return r.cache=o.set(u,p)||o,p};return r.cache=new(ui.Cache||be),r}ui.Cache=be;var Sc=500;function Bc(t){var e=ui(t,function(n){return r.size===Sc&&r.clear(),n}),r=e.cache;return e}var Ac=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Oc=/\\(\\)?/g,Tc=Bc(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(Ac,function(r,n,u,o){e.push(u?o.replace(Oc,"$1"):n||r)}),e});function Je(t,e){return Gt(t)?t:ai(t,e)?[t]:Tc(ne(t))}function Ve(t){if(typeof t=="string"||je(t))return t;var e=t+"";return e=="0"&&1/t==-1/0?"-0":e}function fr(t,e){e=Je(e,t);for(var r=0,n=e.length;t!=null&&r<n;)t=t[Ve(e[r++])];return r&&r==n?t:void 0}function vs(t,e,r){var n=t==null?void 0:fr(t,e);return n===void 0?r:n}const dy=Object.freeze(Object.defineProperty({__proto__:null,default:vs},Symbol.toStringTag,{value:"Module"}));function Cc(t,e){return t!=null&&e in Object(t)}function $c(t,e,r){e=Je(e,t);for(var n=-1,u=e.length,o=!1;++n<u;){var p=Ve(e[n]);if(!(o=t!=null&&r(t,p)))break;t=t[p]}return o||++n!=u?o:(u=t==null?0:t.length,!!u&&si(u)&&ur(p,u)&&(Gt(t)||qe(t)))}function bs(t,e){return t!=null&&$c(t,e,Cc)}var Fc=1,Rc=2;function Ic(t,e){return ai(t)&&ws(e)?xs(Ve(t),e):function(r){var n=vs(r,t);return n===void 0&&n===e?bs(r,t):Dr(e,n,Fc|Rc)}}function lr(t){return t}function Nc(t){return function(e){return fr(e,t)}}function Uc(t){return ai(t)?Wo(Ve(t)):Nc(t)}function me(t){return typeof t=="function"?t:t==null?lr:typeof t=="object"?Gt(t)?Ic(t[0],t[1]):bc(t):Uc(t)}var Lc="Expected a function";function Pc(t){if(typeof t!="function")throw new TypeError(Lc);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}var Or=function(){try{var t=Ie(Object,"defineProperty");return t({},"",{}),t}catch{}}();function cr(t,e,r){e=="__proto__"&&Or?Or(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}var Dc=Object.prototype,jc=Dc.hasOwnProperty;function fi(t,e,r){var n=t[e];(!(jc.call(t,e)&&Ze(n,r))||r===void 0&&!(e in t))&&cr(t,e,r)}function Es(t,e,r,n){if(!Kt(t))return t;e=Je(e,t);for(var u=-1,o=e.length,p=o-1,w=t;w!=null&&++u<o;){var _=Ve(e[u]),x=r;if(_==="__proto__"||_==="constructor"||_==="prototype")return t;if(u!=p){var d=w[_];x=void 0,x===void 0&&(x=Kt(d)?d:ur(e[u+1])?[]:{})}fi(w,_,x),w=w[_]}return t}function Ms(t,e,r){for(var n=-1,u=e.length,o={};++n<u;){var p=e[n],w=fr(t,p);r(w,p)&&Es(o,Je(p,t),w)}return o}var li=ms(Object.getPrototypeOf,Object),kc=Object.getOwnPropertySymbols,_s=kc?function(t){for(var e=[];t;)ii(e,oi(t)),t=li(t);return e}:cs;function qc(t){var e=[];if(t!=null)for(var r in Object(t))e.push(r);return e}var zc=Object.prototype,Hc=zc.hasOwnProperty;function Gc(t){if(!Kt(t))return qc(t);var e=Pr(t),r=[];for(var n in t)n=="constructor"&&(e||!Hc.call(t,n))||r.push(n);return r}function Ke(t){return Ee(t)?gs(t,!0):Gc(t)}function ci(t){return fs(t,Ke,_s)}function Wc(t,e){if(t==null)return{};var r=we(ci(t),function(n){return[n]});return e=me(e),Ms(t,r,function(n,u){return e(n,u[0])})}function gy(t,e){return Wc(t,Pc(me(e)))}var br={exports:{}},Zc=br.exports,to;function my(){return to||(to=1,function(t,e){(function(r,n){t.exports=n()})(Zc,function(){var r=1e3,n=6e4,u=36e5,o="millisecond",p="second",w="minute",_="hour",x="day",d="week",C="month",k="quarter",K="year",tt="date",st="Invalid Date",V=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,lt=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,et={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(i){var h=["th","st","nd","rd"],g=i%100;return"["+i+(h[(g-20)%10]||h[g]||h[0])+"]"}},ut=function(i,h,g){var v=String(i);return!v||v.length>=h?i:""+Array(h+1-v.length).join(g)+i},dt={s:ut,z:function(i){var h=-i.utcOffset(),g=Math.abs(h),v=Math.floor(g/60),E=g%60;return(h<=0?"+":"-")+ut(v,2,"0")+":"+ut(E,2,"0")},m:function i(h,g){if(h.date()<g.date())return-i(g,h);var v=12*(g.year()-h.year())+(g.month()-h.month()),E=h.clone().add(v,C),F=g-E<0,I=h.clone().add(v+(F?-1:1),C);return+(-(v+(g-E)/(F?E-I:I-E))||0)},a:function(i){return i<0?Math.ceil(i)||0:Math.floor(i)},p:function(i){return{M:C,y:K,w:d,d:x,D:tt,h:_,m:w,s:p,ms:o,Q:k}[i]||String(i||"").toLowerCase().replace(/s$/,"")},u:function(i){return i===void 0}},ft="en",J={};J[ft]=et;var G="$isDayjsObject",at=function(i){return i instanceof j||!(!i||!i[G])},mt=function i(h,g,v){var E;if(!h)return ft;if(typeof h=="string"){var F=h.toLowerCase();J[F]&&(E=F),g&&(J[F]=g,E=F);var I=h.split("-");if(!E&&I.length>1)return i(I[0])}else{var B=h.name;J[B]=h,E=B}return!v&&E&&(ft=E),E||!v&&ft},ot=function(i,h){if(at(i))return i.clone();var g=typeof h=="object"?h:{};return g.date=i,g.args=arguments,new j(g)},ct=dt;ct.l=mt,ct.i=at,ct.w=function(i,h){return ot(i,{locale:h.$L,utc:h.$u,x:h.$x,$offset:h.$offset})};var j=function(){function i(g){this.$L=mt(g.locale,null,!0),this.parse(g),this.$x=this.$x||g.x||{},this[G]=!0}var h=i.prototype;return h.parse=function(g){this.$d=function(v){var E=v.date,F=v.utc;if(E===null)return new Date(NaN);if(ct.u(E))return new Date;if(E instanceof Date)return new Date(E);if(typeof E=="string"&&!/Z$/i.test(E)){var I=E.match(V);if(I){var B=I[2]-1||0,c=(I[7]||"0").substring(0,3);return F?new Date(Date.UTC(I[1],B,I[3]||1,I[4]||0,I[5]||0,I[6]||0,c)):new Date(I[1],B,I[3]||1,I[4]||0,I[5]||0,I[6]||0,c)}}return new Date(E)}(g),this.init()},h.init=function(){var g=this.$d;this.$y=g.getFullYear(),this.$M=g.getMonth(),this.$D=g.getDate(),this.$W=g.getDay(),this.$H=g.getHours(),this.$m=g.getMinutes(),this.$s=g.getSeconds(),this.$ms=g.getMilliseconds()},h.$utils=function(){return ct},h.isValid=function(){return this.$d.toString()!==st},h.isSame=function(g,v){var E=ot(g);return this.startOf(v)<=E&&E<=this.endOf(v)},h.isAfter=function(g,v){return ot(g)<this.startOf(v)},h.isBefore=function(g,v){return this.endOf(v)<ot(g)},h.$g=function(g,v,E){return ct.u(g)?this[v]:this.set(E,g)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(g,v){var E=this,F=!!ct.u(v)||v,I=ct.p(g),B=function(At,b){var A=ct.w(E.$u?Date.UTC(E.$y,b,At):new Date(E.$y,b,At),E);return F?A:A.endOf(x)},c=function(At,b){return ct.w(E.toDate()[At].apply(E.toDate("s"),(F?[0,0,0,0]:[23,59,59,999]).slice(b)),E)},O=this.$W,H=this.$M,pt=this.$D,yt="set"+(this.$u?"UTC":"");switch(I){case K:return F?B(1,0):B(31,11);case C:return F?B(1,H):B(0,H+1);case d:var Nt=this.$locale().weekStart||0,Et=(O<Nt?O+7:O)-Nt;return B(F?pt-Et:pt+(6-Et),H);case x:case tt:return c(yt+"Hours",0);case _:return c(yt+"Minutes",1);case w:return c(yt+"Seconds",2);case p:return c(yt+"Milliseconds",3);default:return this.clone()}},h.endOf=function(g){return this.startOf(g,!1)},h.$set=function(g,v){var E,F=ct.p(g),I="set"+(this.$u?"UTC":""),B=(E={},E[x]=I+"Date",E[tt]=I+"Date",E[C]=I+"Month",E[K]=I+"FullYear",E[_]=I+"Hours",E[w]=I+"Minutes",E[p]=I+"Seconds",E[o]=I+"Milliseconds",E)[F],c=F===x?this.$D+(v-this.$W):v;if(F===C||F===K){var O=this.clone().set(tt,1);O.$d[B](c),O.init(),this.$d=O.set(tt,Math.min(this.$D,O.daysInMonth())).$d}else B&&this.$d[B](c);return this.init(),this},h.set=function(g,v){return this.clone().$set(g,v)},h.get=function(g){return this[ct.p(g)]()},h.add=function(g,v){var E,F=this;g=Number(g);var I=ct.p(v),B=function(H){var pt=ot(F);return ct.w(pt.date(pt.date()+Math.round(H*g)),F)};if(I===C)return this.set(C,this.$M+g);if(I===K)return this.set(K,this.$y+g);if(I===x)return B(1);if(I===d)return B(7);var c=(E={},E[w]=n,E[_]=u,E[p]=r,E)[I]||1,O=this.$d.getTime()+g*c;return ct.w(O,this)},h.subtract=function(g,v){return this.add(-1*g,v)},h.format=function(g){var v=this,E=this.$locale();if(!this.isValid())return E.invalidDate||st;var F=g||"YYYY-MM-DDTHH:mm:ssZ",I=ct.z(this),B=this.$H,c=this.$m,O=this.$M,H=E.weekdays,pt=E.months,yt=E.meridiem,Nt=function(b,A,$,Z){return b&&(b[A]||b(v,F))||$[A].slice(0,Z)},Et=function(b){return ct.s(B%12||12,b,"0")},At=yt||function(b,A,$){var Z=b<12?"AM":"PM";return $?Z.toLowerCase():Z};return F.replace(lt,function(b,A){return A||function($){switch($){case"YY":return String(v.$y).slice(-2);case"YYYY":return ct.s(v.$y,4,"0");case"M":return O+1;case"MM":return ct.s(O+1,2,"0");case"MMM":return Nt(E.monthsShort,O,pt,3);case"MMMM":return Nt(pt,O);case"D":return v.$D;case"DD":return ct.s(v.$D,2,"0");case"d":return String(v.$W);case"dd":return Nt(E.weekdaysMin,v.$W,H,2);case"ddd":return Nt(E.weekdaysShort,v.$W,H,3);case"dddd":return H[v.$W];case"H":return String(B);case"HH":return ct.s(B,2,"0");case"h":return Et(1);case"hh":return Et(2);case"a":return At(B,c,!0);case"A":return At(B,c,!1);case"m":return String(c);case"mm":return ct.s(c,2,"0");case"s":return String(v.$s);case"ss":return ct.s(v.$s,2,"0");case"SSS":return ct.s(v.$ms,3,"0");case"Z":return I}return null}(b)||I.replace(":","")})},h.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},h.diff=function(g,v,E){var F,I=this,B=ct.p(v),c=ot(g),O=(c.utcOffset()-this.utcOffset())*n,H=this-c,pt=function(){return ct.m(I,c)};switch(B){case K:F=pt()/12;break;case C:F=pt();break;case k:F=pt()/3;break;case d:F=(H-O)/6048e5;break;case x:F=(H-O)/864e5;break;case _:F=H/u;break;case w:F=H/n;break;case p:F=H/r;break;default:F=H}return E?F:ct.a(F)},h.daysInMonth=function(){return this.endOf(C).$D},h.$locale=function(){return J[this.$L]},h.locale=function(g,v){if(!g)return this.$L;var E=this.clone(),F=mt(g,v,!0);return F&&(E.$L=F),E},h.clone=function(){return ct.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},i}(),T=j.prototype;return ot.prototype=T,[["$ms",o],["$s",p],["$m",w],["$H",_],["$W",x],["$M",C],["$y",K],["$D",tt]].forEach(function(i){T[i[1]]=function(h){return this.$g(h,i[0],i[1])}}),ot.extend=function(i,h){return i.$i||(i(h,j,ot),i.$i=!0),ot},ot.locale=mt,ot.isDayjs=at,ot.unix=function(i){return ot(1e3*i)},ot.en=J[ft],ot.Ls=J,ot.p={},ot})}(br)),br.exports}var Jc="[object Map]",Vc="[object Set]",Kc=Object.prototype,Yc=Kc.hasOwnProperty;function Xc(t){if(t==null)return!0;if(Ee(t)&&(Gt(t)||typeof t=="string"||typeof t.splice=="function"||ze(t)||Lr(t)||qe(t)))return!t.length;var e=oe(t);if(e==Jc||e==Vc)return!t.size;if(Pr(t))return!ys(t).length;for(var r in t)if(Yc.call(t,r))return!1;return!0}const yy=Object.freeze(Object.defineProperty({__proto__:null,default:Xc},Symbol.toStringTag,{value:"Module"}));function wy(t,e,r){return t==null?t:Es(t,e,r)}function xy(t){return t===void 0}var En=function(){return ae.Date.now()},Qc="Expected a function",t0=Math.max,e0=Math.min;function r0(t,e,r){var n,u,o,p,w,_,x=0,d=!1,C=!1,k=!0;if(typeof t!="function")throw new TypeError(Qc);e=Dn(e)||0,Kt(r)&&(d=!!r.leading,C="maxWait"in r,o=C?t0(Dn(r.maxWait)||0,e):o,k="trailing"in r?!!r.trailing:k);function K(J){var G=n,at=u;return n=u=void 0,x=J,p=t.apply(at,G),p}function tt(J){return x=J,w=setTimeout(lt,e),d?K(J):p}function st(J){var G=J-_,at=J-x,mt=e-G;return C?e0(mt,o-at):mt}function V(J){var G=J-_,at=J-x;return _===void 0||G>=e||G<0||C&&at>=o}function lt(){var J=En();if(V(J))return et(J);w=setTimeout(lt,st(J))}function et(J){return w=void 0,k&&n?K(J):(n=u=void 0,p)}function ut(){w!==void 0&&clearTimeout(w),x=0,n=_=u=w=void 0}function dt(){return w===void 0?p:et(En())}function ft(){var J=En(),G=V(J);if(n=arguments,u=this,_=J,G){if(w===void 0)return tt(_);if(C)return clearTimeout(w),w=setTimeout(lt,e),K(_)}return w===void 0&&(w=setTimeout(lt,e)),p}return ft.cancel=ut,ft.flush=dt,ft}var n0="Expected a function";function vy(t,e,r){var n=!0,u=!0;if(typeof t!="function")throw new TypeError(n0);return Kt(r)&&(n="leading"in r?!!r.leading:n,u="trailing"in r?!!r.trailing:u),r0(t,e,{leading:n,maxWait:e,trailing:u})}var i0="[object Object]",o0=Function.prototype,s0=Object.prototype,Ss=o0.toString,a0=s0.hasOwnProperty,u0=Ss.call(Object);function jr(t){if(!ee(t)||ce(t)!=i0)return!1;var e=li(t);if(e===null)return!0;var r=a0.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&Ss.call(r)==u0}const by=Object.freeze(Object.defineProperty({__proto__:null,default:jr},Symbol.toStringTag,{value:"Module"}));function f0(){}function Hn(t,e,r){(r!==void 0&&!Ze(t[e],r)||r===void 0&&!(e in t))&&cr(t,e,r)}function l0(t){return function(e,r,n){for(var u=-1,o=Object(e),p=n(e),w=p.length;w--;){var _=p[++u];if(r(o[_],_,o)===!1)break}return e}}var Bs=l0(),As=typeof exports=="object"&&exports&&!exports.nodeType&&exports,eo=As&&typeof module=="object"&&module&&!module.nodeType&&module,c0=eo&&eo.exports===As,ro=c0?ae.Buffer:void 0,no=ro?ro.allocUnsafe:void 0;function Os(t,e){if(e)return t.slice();var r=t.length,n=no?no(r):new t.constructor(r);return t.copy(n),n}function hi(t){var e=new t.constructor(t.byteLength);return new Ar(e).set(new Ar(t)),e}function Ts(t,e){var r=e?hi(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}function pi(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e}var io=Object.create,h0=function(){function t(){}return function(e){if(!Kt(e))return{};if(io)return io(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();function Cs(t){return typeof t.constructor=="function"&&!Pr(t)?h0(li(t)):{}}function $e(t){return ee(t)&&Ee(t)}function Gn(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]}function Ne(t,e,r,n){var u=!r;r||(r={});for(var o=-1,p=e.length;++o<p;){var w=e[o],_=n?n(r[w],t[w],w,r,t):void 0;_===void 0&&(_=t[w]),u?cr(r,w,_):fi(r,w,_)}return r}function p0(t){return Ne(t,Ke(t))}function d0(t,e,r,n,u,o,p){var w=Gn(t,r),_=Gn(e,r),x=p.get(_);if(x){Hn(t,r,x);return}var d=o?o(w,_,r+"",t,e,p):void 0,C=d===void 0;if(C){var k=Gt(_),K=!k&&ze(_),tt=!k&&!K&&Lr(_);d=_,k||K||tt?Gt(w)?d=w:$e(w)?d=pi(w):K?(C=!1,d=Os(_,!0)):tt?(C=!1,d=Ts(_,!0)):d=[]:jr(_)||qe(_)?(d=w,qe(w)?d=p0(w):(!Kt(w)||ri(w))&&(d=Cs(_))):C=!1}C&&(p.set(_,d),u(d,_,n,o,p),p.delete(_)),Hn(t,r,d)}function kr(t,e,r,n,u){t!==e&&Bs(e,function(o,p){if(u||(u=new le),Kt(o))d0(t,e,p,r,kr,n,u);else{var w=n?n(Gn(t,p),o,p+"",t,e,u):void 0;w===void 0&&(w=o),Hn(t,p,w)}},Ke)}function di(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}var oo=Math.max;function $s(t,e,r){return e=oo(e===void 0?t.length-1:e,0),function(){for(var n=arguments,u=-1,o=oo(n.length-e,0),p=Array(o);++u<o;)p[u]=n[e+u];u=-1;for(var w=Array(e+1);++u<e;)w[u]=n[u];return w[e]=r(p),di(t,this,w)}}function g0(t){return function(){return t}}var m0=Or?function(t,e){return Or(t,"toString",{configurable:!0,enumerable:!1,value:g0(e),writable:!0})}:lr,y0=800,w0=16,x0=Date.now;function v0(t){var e=0,r=0;return function(){var n=x0(),u=w0-(n-r);if(r=n,u>0){if(++e>=y0)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var Fs=v0(m0);function he(t,e){return Fs($s(t,e,lr),t+"")}function Wn(t,e,r){if(!Kt(r))return!1;var n=typeof e;return(n=="number"?Ee(r)&&ur(e,r.length):n=="string"&&e in r)?Ze(r[e],t):!1}function gi(t){return he(function(e,r){var n=-1,u=r.length,o=u>1?r[u-1]:void 0,p=u>2?r[2]:void 0;for(o=t.length>3&&typeof o=="function"?(u--,o):void 0,p&&Wn(r[0],r[1],p)&&(o=u<3?void 0:o,u=1),e=Object(e);++n<u;){var w=r[n];w&&t(e,w,n,o)}return e})}var Ey=gi(function(t,e,r){kr(t,e,r)});function Rs(t,e){for(var r=-1,n=t==null?0:t.length;++r<n&&e(t[r],r,t)!==!1;);return t}function b0(t,e){return t&&Ne(e,Me(e),t)}function E0(t,e){return t&&Ne(e,Ke(e),t)}function M0(t,e){return Ne(t,oi(t),e)}function _0(t,e){return Ne(t,_s(t),e)}var S0=Object.prototype,B0=S0.hasOwnProperty;function A0(t){var e=t.length,r=new t.constructor(e);return e&&typeof t[0]=="string"&&B0.call(t,"index")&&(r.index=t.index,r.input=t.input),r}function O0(t,e){var r=e?hi(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}var T0=/\w*$/;function C0(t){var e=new t.constructor(t.source,T0.exec(t));return e.lastIndex=t.lastIndex,e}var so=se?se.prototype:void 0,ao=so?so.valueOf:void 0;function $0(t){return ao?Object(ao.call(t)):{}}var F0="[object Boolean]",R0="[object Date]",I0="[object Map]",N0="[object Number]",U0="[object RegExp]",L0="[object Set]",P0="[object String]",D0="[object Symbol]",j0="[object ArrayBuffer]",k0="[object DataView]",q0="[object Float32Array]",z0="[object Float64Array]",H0="[object Int8Array]",G0="[object Int16Array]",W0="[object Int32Array]",Z0="[object Uint8Array]",J0="[object Uint8ClampedArray]",V0="[object Uint16Array]",K0="[object Uint32Array]";function Y0(t,e,r){var n=t.constructor;switch(e){case j0:return hi(t);case F0:case R0:return new n(+t);case k0:return O0(t,r);case q0:case z0:case H0:case G0:case W0:case Z0:case J0:case V0:case K0:return Ts(t,r);case I0:return new n;case N0:case P0:return new n(t);case U0:return C0(t);case L0:return new n;case D0:return $0(t)}}var X0="[object Map]";function Q0(t){return ee(t)&&oe(t)==X0}var uo=He&&He.isMap,th=uo?Ur(uo):Q0,eh="[object Set]";function rh(t){return ee(t)&&oe(t)==eh}var fo=He&&He.isSet,nh=fo?Ur(fo):rh,ih=1,oh=2,sh=4,Is="[object Arguments]",ah="[object Array]",uh="[object Boolean]",fh="[object Date]",lh="[object Error]",Ns="[object Function]",ch="[object GeneratorFunction]",hh="[object Map]",ph="[object Number]",Us="[object Object]",dh="[object RegExp]",gh="[object Set]",mh="[object String]",yh="[object Symbol]",wh="[object WeakMap]",xh="[object ArrayBuffer]",vh="[object DataView]",bh="[object Float32Array]",Eh="[object Float64Array]",Mh="[object Int8Array]",_h="[object Int16Array]",Sh="[object Int32Array]",Bh="[object Uint8Array]",Ah="[object Uint8ClampedArray]",Oh="[object Uint16Array]",Th="[object Uint32Array]",Lt={};Lt[Is]=Lt[ah]=Lt[xh]=Lt[vh]=Lt[uh]=Lt[fh]=Lt[bh]=Lt[Eh]=Lt[Mh]=Lt[_h]=Lt[Sh]=Lt[hh]=Lt[ph]=Lt[Us]=Lt[dh]=Lt[gh]=Lt[mh]=Lt[yh]=Lt[Bh]=Lt[Ah]=Lt[Oh]=Lt[Th]=!0;Lt[lh]=Lt[Ns]=Lt[wh]=!1;function rr(t,e,r,n,u,o){var p,w=e&ih,_=e&oh,x=e&sh;if(r&&(p=u?r(t,n,u,o):r(t)),p!==void 0)return p;if(!Kt(t))return t;var d=Gt(t);if(d){if(p=A0(t),!w)return pi(t,p)}else{var C=oe(t),k=C==Ns||C==ch;if(ze(t))return Os(t,w);if(C==Us||C==Is||k&&!u){if(p=_||k?{}:Cs(t),!w)return _?_0(t,E0(p,t)):M0(t,b0(p,t))}else{if(!Lt[C])return u?t:{};p=Y0(t,C,w)}}o||(o=new le);var K=o.get(t);if(K)return K;o.set(t,p),nh(t)?t.forEach(function(V){p.add(rr(V,e,r,V,t,o))}):th(t)&&t.forEach(function(V,lt){p.set(lt,rr(V,e,r,lt,t,o))});var tt=x?_?ci:jn:_?Ke:Me,st=d?void 0:tt(t);return Rs(st||t,function(V,lt){st&&(lt=V,V=t[lt]),fi(p,lt,rr(V,e,r,lt,t,o))}),p}function qr(t){var e=t==null?0:t.length;return e?t[e-1]:void 0}function Ch(t,e){return e.length<2?t:fr(t,ti(e,0,-1))}function $h(t,e){return e=Je(e,t),t=Ch(t,e),t==null||delete t[Ve(qr(e))]}function Fh(t){return jr(t)?void 0:t}var lo=se?se.isConcatSpreadable:void 0;function Rh(t){return Gt(t)||qe(t)||!!(lo&&t&&t[lo])}function hr(t,e,r,n,u){var o=-1,p=t.length;for(r||(r=Rh),u||(u=[]);++o<p;){var w=t[o];r(w)?ii(u,w):n||(u[u.length]=w)}return u}function Ih(t){var e=t==null?0:t.length;return e?hr(t):[]}function Ls(t){return Fs($s(t,void 0,Ih),t+"")}var Nh=1,Uh=2,Lh=4,Ph=Ls(function(t,e){var r={};if(t==null)return r;var n=!1;e=we(e,function(o){return o=Je(o,t),n||(n=o.length>1),o}),Ne(t,ci(t),r),n&&(r=rr(r,Nh|Uh|Lh,Fh));for(var u=e.length;u--;)$h(r,e[u]);return r});const My=Object.freeze(Object.defineProperty({__proto__:null,default:Ph},Symbol.toStringTag,{value:"Module"}));function Ps(t,e,r,n){for(var u=t.length,o=r+-1;++o<u;)if(e(t[o],o,t))return o;return-1}function Dh(t){return t!==t}function jh(t,e,r){for(var n=r-1,u=t.length;++n<u;)if(t[n]===e)return n;return-1}function zr(t,e,r){return e===e?jh(t,e,r):Ps(t,Dh,r)}function mi(t,e){var r=t==null?0:t.length;return!!r&&zr(t,e,0)>-1}function Ds(t,e,r){for(var n=-1,u=t==null?0:t.length;++n<u;)if(r(e,t[n]))return!0;return!1}var kh=1/0,qh=De&&1/ni(new De([,-0]))[1]==kh?function(t){return new De(t)}:f0,zh=200;function Ge(t,e,r){var n=-1,u=mi,o=t.length,p=!0,w=[],_=w;if(r)p=!1,u=Ds;else if(o>=zh){var x=e?null:qh(t);if(x)return ni(x);p=!1,u=or,_=new Ce}else _=e?[]:w;t:for(;++n<o;){var d=t[n],C=e?e(d):d;if(d=r||d!==0?d:0,p&&C===C){for(var k=_.length;k--;)if(_[k]===C)continue t;e&&_.push(C),w.push(d)}else u(_,C,r)||(_!==w&&_.push(C),w.push(d))}return w}function Hh(t,e){return t&&t.length?Ge(t,me(e)):[]}const _y=Object.freeze(Object.defineProperty({__proto__:null,default:Hh},Symbol.toStringTag,{value:"Module"})),Gh=/#/g,Wh=/&/g,Zh=/\//g,Jh=/=/g,yi=/\+/g,Vh=/%5e/gi,Kh=/%60/gi,Yh=/%7c/gi,Xh=/%20/gi;function Qh(t){return encodeURI(""+t).replace(Yh,"|")}function Zn(t){return Qh(typeof t=="string"?t:JSON.stringify(t)).replace(yi,"%2B").replace(Xh,"+").replace(Gh,"%23").replace(Wh,"%26").replace(Kh,"`").replace(Vh,"^").replace(Zh,"%2F")}function Mn(t){return Zn(t).replace(Jh,"%3D")}function js(t=""){try{return decodeURIComponent(""+t)}catch{return""+t}}function tp(t){return js(t.replace(yi," "))}function ep(t){return js(t.replace(yi," "))}function ks(t=""){const e=Object.create(null);t[0]==="?"&&(t=t.slice(1));for(const r of t.split("&")){const n=r.match(/([^=]+)=?(.*)/)||[];if(n.length<2)continue;const u=tp(n[1]);if(u==="__proto__"||u==="constructor")continue;const o=ep(n[2]||"");e[u]===void 0?e[u]=o:Array.isArray(e[u])?e[u].push(o):e[u]=[e[u],o]}return e}function rp(t,e){return(typeof e=="number"||typeof e=="boolean")&&(e=String(e)),e?Array.isArray(e)?e.map(r=>`${Mn(t)}=${Zn(r)}`).join("&"):`${Mn(t)}=${Zn(e)}`:Mn(t)}function np(t){return Object.keys(t).filter(e=>t[e]!==void 0).map(e=>rp(e,t[e])).filter(Boolean).join("&")}const ip=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,qs=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,op=/^([/\\]\s*){2,}[^/\\]/,sp=/^\.?\//;function ap(t,e={}){return typeof e=="boolean"&&(e={acceptRelative:e}),e.strict?ip.test(t):qs.test(t)||(e.acceptRelative?op.test(t):!1)}function up(t="",e){return t.endsWith("/")}function Sy(t="",e){return(up(t)?t.slice(0,-1):t)||"/"}function fp(t="",e){return t.endsWith("/")?t:t+"/"}function lp(t=""){return t.startsWith("/")}function By(t=""){return(lp(t)?t.slice(1):t)||"/"}function Ay(t,e){const r=xi(t),n={...ks(r.search),...e};return r.search=np(n),hp(r)}function Oy(t){return ks(xi(t).search)}function cp(t){return t&&t!=="/"}function Ty(t,...e){let r=t||"";for(const n of e.filter(u=>cp(u)))if(r){const u=n.replace(sp,"");r=fp(r)+u}else r=n;return r}function Cy(t){return wi(t,"http://")}function $y(t){return wi(t,"https://")}function Fy(t){return wi(t,"")}function wi(t,e){let r=t.match(qs);return r||(r=t.match(/^\/{2,}/)),r?e+t.slice(r[0].length):e+t}const zs=Symbol.for("ufo:protocolRelative");function xi(t="",e){const r=t.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(r){const[,C,k=""]=r;return{protocol:C.toLowerCase(),pathname:k,href:C+k,auth:"",host:"",search:"",hash:""}}if(!ap(t,{acceptRelative:!0}))return co(t);const[,n="",u,o=""]=t.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,p="",w=""]=o.match(/([^#/?]*)(.*)?/)||[];n==="file:"&&(w=w.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:_,search:x,hash:d}=co(w);return{protocol:n.toLowerCase(),auth:u?u.slice(0,Math.max(0,u.length-1)):"",host:p,pathname:_,search:x,hash:d,[zs]:!n}}function co(t=""){const[e="",r="",n=""]=(t.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:e,search:r,hash:n}}function hp(t){const e=t.pathname||"",r=t.search?(t.search.startsWith("?")?"":"?")+t.search:"",n=t.hash||"",u=t.auth?t.auth+"@":"",o=t.host||"";return(t.protocol||t[zs]?(t.protocol||"")+"//":"")+u+o+e+r+n}const pp=/\/([^/]+\.[^/]+)$/;function Ry(t="",e){const{pathname:r}=xi(t),n=r.match(pp);return n?n[1]:void 0}function Hs(t,e){return function(){return t.apply(e,arguments)}}const{toString:dp}=Object.prototype,{getPrototypeOf:vi}=Object,{iterator:Hr,toStringTag:Gs}=Symbol,Gr=(t=>e=>{const r=dp.call(e);return t[r]||(t[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),pe=t=>(t=t.toLowerCase(),e=>Gr(e)===t),Wr=t=>e=>typeof e===t,{isArray:Ye}=Array,sr=Wr("undefined");function gp(t){return t!==null&&!sr(t)&&t.constructor!==null&&!sr(t.constructor)&&Qt(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Ws=pe("ArrayBuffer");function mp(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Ws(t.buffer),e}const yp=Wr("string"),Qt=Wr("function"),Zs=Wr("number"),Zr=t=>t!==null&&typeof t=="object",wp=t=>t===!0||t===!1,Er=t=>{if(Gr(t)!=="object")return!1;const e=vi(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Gs in t)&&!(Hr in t)},xp=pe("Date"),vp=pe("File"),bp=pe("Blob"),Ep=pe("FileList"),Mp=t=>Zr(t)&&Qt(t.pipe),_p=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||Qt(t.append)&&((e=Gr(t))==="formdata"||e==="object"&&Qt(t.toString)&&t.toString()==="[object FormData]"))},Sp=pe("URLSearchParams"),[Bp,Ap,Op,Tp]=["ReadableStream","Request","Response","Headers"].map(pe),Cp=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function pr(t,e,{allOwnKeys:r=!1}={}){if(t===null||typeof t>"u")return;let n,u;if(typeof t!="object"&&(t=[t]),Ye(t))for(n=0,u=t.length;n<u;n++)e.call(null,t[n],n,t);else{const o=r?Object.getOwnPropertyNames(t):Object.keys(t),p=o.length;let w;for(n=0;n<p;n++)w=o[n],e.call(null,t[w],w,t)}}function Js(t,e){e=e.toLowerCase();const r=Object.keys(t);let n=r.length,u;for(;n-- >0;)if(u=r[n],e===u.toLowerCase())return u;return null}const Ae=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:Be,Vs=t=>!sr(t)&&t!==Ae;function Jn(){const{caseless:t}=Vs(this)&&this||{},e={},r=(n,u)=>{const o=t&&Js(e,u)||u;Er(e[o])&&Er(n)?e[o]=Jn(e[o],n):Er(n)?e[o]=Jn({},n):Ye(n)?e[o]=n.slice():e[o]=n};for(let n=0,u=arguments.length;n<u;n++)arguments[n]&&pr(arguments[n],r);return e}const $p=(t,e,r,{allOwnKeys:n}={})=>(pr(e,(u,o)=>{r&&Qt(u)?t[o]=Hs(u,r):t[o]=u},{allOwnKeys:n}),t),Fp=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Rp=(t,e,r,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},Ip=(t,e,r,n)=>{let u,o,p;const w={};if(e=e||{},t==null)return e;do{for(u=Object.getOwnPropertyNames(t),o=u.length;o-- >0;)p=u[o],(!n||n(p,t,e))&&!w[p]&&(e[p]=t[p],w[p]=!0);t=r!==!1&&vi(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},Np=(t,e,r)=>{t=String(t),(r===void 0||r>t.length)&&(r=t.length),r-=e.length;const n=t.indexOf(e,r);return n!==-1&&n===r},Up=t=>{if(!t)return null;if(Ye(t))return t;let e=t.length;if(!Zs(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=t[e];return r},Lp=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&vi(Uint8Array)),Pp=(t,e)=>{const n=(t&&t[Hr]).call(t);let u;for(;(u=n.next())&&!u.done;){const o=u.value;e.call(t,o[0],o[1])}},Dp=(t,e)=>{let r;const n=[];for(;(r=t.exec(e))!==null;)n.push(r);return n},jp=pe("HTMLFormElement"),kp=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,u){return n.toUpperCase()+u}),ho=(({hasOwnProperty:t})=>(e,r)=>t.call(e,r))(Object.prototype),qp=pe("RegExp"),Ks=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),n={};pr(r,(u,o)=>{let p;(p=e(u,o,t))!==!1&&(n[o]=p||u)}),Object.defineProperties(t,n)},zp=t=>{Ks(t,(e,r)=>{if(Qt(t)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=t[r];if(Qt(n)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},Hp=(t,e)=>{const r={},n=u=>{u.forEach(o=>{r[o]=!0})};return Ye(t)?n(t):n(String(t).split(e)),r},Gp=()=>{},Wp=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function Zp(t){return!!(t&&Qt(t.append)&&t[Gs]==="FormData"&&t[Hr])}const Jp=t=>{const e=new Array(10),r=(n,u)=>{if(Zr(n)){if(e.indexOf(n)>=0)return;if(!("toJSON"in n)){e[u]=n;const o=Ye(n)?[]:{};return pr(n,(p,w)=>{const _=r(p,u+1);!sr(_)&&(o[w]=_)}),e[u]=void 0,o}}return n};return r(t,0)},Vp=pe("AsyncFunction"),Kp=t=>t&&(Zr(t)||Qt(t))&&Qt(t.then)&&Qt(t.catch),Ys=((t,e)=>t?setImmediate:e?((r,n)=>(Ae.addEventListener("message",({source:u,data:o})=>{u===Ae&&o===r&&n.length&&n.shift()()},!1),u=>{n.push(u),Ae.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",Qt(Ae.postMessage)),Yp=typeof queueMicrotask<"u"?queueMicrotask.bind(Ae):typeof Br<"u"&&Br.nextTick||Ys,Xp=t=>t!=null&&Qt(t[Hr]),rt={isArray:Ye,isArrayBuffer:Ws,isBuffer:gp,isFormData:_p,isArrayBufferView:mp,isString:yp,isNumber:Zs,isBoolean:wp,isObject:Zr,isPlainObject:Er,isReadableStream:Bp,isRequest:Ap,isResponse:Op,isHeaders:Tp,isUndefined:sr,isDate:xp,isFile:vp,isBlob:bp,isRegExp:qp,isFunction:Qt,isStream:Mp,isURLSearchParams:Sp,isTypedArray:Lp,isFileList:Ep,forEach:pr,merge:Jn,extend:$p,trim:Cp,stripBOM:Fp,inherits:Rp,toFlatObject:Ip,kindOf:Gr,kindOfTest:pe,endsWith:Np,toArray:Up,forEachEntry:Pp,matchAll:Dp,isHTMLForm:jp,hasOwnProperty:ho,hasOwnProp:ho,reduceDescriptors:Ks,freezeMethods:zp,toObjectSet:Hp,toCamelCase:kp,noop:Gp,toFiniteNumber:Wp,findKey:Js,global:Ae,isContextDefined:Vs,isSpecCompliantForm:Zp,toJSONObject:Jp,isAsyncFn:Vp,isThenable:Kp,setImmediate:Ys,asap:Yp,isIterable:Xp};var bi={},Jr={};Jr.byteLength=ed;Jr.toByteArray=nd;Jr.fromByteArray=sd;var ge=[],ie=[],Qp=typeof Uint8Array<"u"?Uint8Array:Array,_n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Ue=0,td=_n.length;Ue<td;++Ue)ge[Ue]=_n[Ue],ie[_n.charCodeAt(Ue)]=Ue;ie[45]=62;ie[95]=63;function Xs(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function ed(t){var e=Xs(t),r=e[0],n=e[1];return(r+n)*3/4-n}function rd(t,e,r){return(e+r)*3/4-r}function nd(t){var e,r=Xs(t),n=r[0],u=r[1],o=new Qp(rd(t,n,u)),p=0,w=u>0?n-4:n,_;for(_=0;_<w;_+=4)e=ie[t.charCodeAt(_)]<<18|ie[t.charCodeAt(_+1)]<<12|ie[t.charCodeAt(_+2)]<<6|ie[t.charCodeAt(_+3)],o[p++]=e>>16&255,o[p++]=e>>8&255,o[p++]=e&255;return u===2&&(e=ie[t.charCodeAt(_)]<<2|ie[t.charCodeAt(_+1)]>>4,o[p++]=e&255),u===1&&(e=ie[t.charCodeAt(_)]<<10|ie[t.charCodeAt(_+1)]<<4|ie[t.charCodeAt(_+2)]>>2,o[p++]=e>>8&255,o[p++]=e&255),o}function id(t){return ge[t>>18&63]+ge[t>>12&63]+ge[t>>6&63]+ge[t&63]}function od(t,e,r){for(var n,u=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),u.push(id(n));return u.join("")}function sd(t){for(var e,r=t.length,n=r%3,u=[],o=16383,p=0,w=r-n;p<w;p+=o)u.push(od(t,p,p+o>w?w:p+o));return n===1?(e=t[r-1],u.push(ge[e>>2]+ge[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],u.push(ge[e>>10]+ge[e>>4&63]+ge[e<<2&63]+"=")),u.join("")}var Ei={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */Ei.read=function(t,e,r,n,u){var o,p,w=u*8-n-1,_=(1<<w)-1,x=_>>1,d=-7,C=r?u-1:0,k=r?-1:1,K=t[e+C];for(C+=k,o=K&(1<<-d)-1,K>>=-d,d+=w;d>0;o=o*256+t[e+C],C+=k,d-=8);for(p=o&(1<<-d)-1,o>>=-d,d+=n;d>0;p=p*256+t[e+C],C+=k,d-=8);if(o===0)o=1-x;else{if(o===_)return p?NaN:(K?-1:1)*(1/0);p=p+Math.pow(2,n),o=o-x}return(K?-1:1)*p*Math.pow(2,o-n)};Ei.write=function(t,e,r,n,u,o){var p,w,_,x=o*8-u-1,d=(1<<x)-1,C=d>>1,k=u===23?Math.pow(2,-24)-Math.pow(2,-77):0,K=n?0:o-1,tt=n?1:-1,st=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(w=isNaN(e)?1:0,p=d):(p=Math.floor(Math.log(e)/Math.LN2),e*(_=Math.pow(2,-p))<1&&(p--,_*=2),p+C>=1?e+=k/_:e+=k*Math.pow(2,1-C),e*_>=2&&(p++,_/=2),p+C>=d?(w=0,p=d):p+C>=1?(w=(e*_-1)*Math.pow(2,u),p=p+C):(w=e*Math.pow(2,C-1)*Math.pow(2,u),p=0));u>=8;t[r+K]=w&255,K+=tt,w/=256,u-=8);for(p=p<<u|w,x+=u;x>0;t[r+K]=p&255,K+=tt,p/=256,x-=8);t[r+K-tt]|=st*128};/*!
2
- * The buffer module from node.js, for the browser.
3
- *
4
- * @author Feross Aboukhadijeh <https://feross.org>
5
- * @license MIT
6
- */(function(t){const e=Jr,r=Ei,n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=d,t.SlowBuffer=ft,t.INSPECT_MAX_BYTES=50;const u=2147483647;t.kMaxLength=u;const{Uint8Array:o,ArrayBuffer:p,SharedArrayBuffer:w}=globalThis;d.TYPED_ARRAY_SUPPORT=_(),!d.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function _(){try{const m=new o(1),s={foo:function(){return 42}};return Object.setPrototypeOf(s,o.prototype),Object.setPrototypeOf(m,s),m.foo()===42}catch{return!1}}Object.defineProperty(d.prototype,"parent",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.buffer}}),Object.defineProperty(d.prototype,"offset",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.byteOffset}});function x(m){if(m>u)throw new RangeError('The value "'+m+'" is invalid for option "size"');const s=new o(m);return Object.setPrototypeOf(s,d.prototype),s}function d(m,s,f){if(typeof m=="number"){if(typeof s=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return tt(m)}return C(m,s,f)}d.poolSize=8192;function C(m,s,f){if(typeof m=="string")return st(m,s);if(p.isView(m))return lt(m);if(m==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof m);if(It(m,p)||m&&It(m.buffer,p)||typeof w<"u"&&(It(m,w)||m&&It(m.buffer,w)))return et(m,s,f);if(typeof m=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const M=m.valueOf&&m.valueOf();if(M!=null&&M!==m)return d.from(M,s,f);const N=ut(m);if(N)return N;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof m[Symbol.toPrimitive]=="function")return d.from(m[Symbol.toPrimitive]("string"),s,f);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof m)}d.from=function(m,s,f){return C(m,s,f)},Object.setPrototypeOf(d.prototype,o.prototype),Object.setPrototypeOf(d,o);function k(m){if(typeof m!="number")throw new TypeError('"size" argument must be of type number');if(m<0)throw new RangeError('The value "'+m+'" is invalid for option "size"')}function K(m,s,f){return k(m),m<=0?x(m):s!==void 0?typeof f=="string"?x(m).fill(s,f):x(m).fill(s):x(m)}d.alloc=function(m,s,f){return K(m,s,f)};function tt(m){return k(m),x(m<0?0:dt(m)|0)}d.allocUnsafe=function(m){return tt(m)},d.allocUnsafeSlow=function(m){return tt(m)};function st(m,s){if((typeof s!="string"||s==="")&&(s="utf8"),!d.isEncoding(s))throw new TypeError("Unknown encoding: "+s);const f=J(m,s)|0;let M=x(f);const N=M.write(m,s);return N!==f&&(M=M.slice(0,N)),M}function V(m){const s=m.length<0?0:dt(m.length)|0,f=x(s);for(let M=0;M<s;M+=1)f[M]=m[M]&255;return f}function lt(m){if(It(m,o)){const s=new o(m);return et(s.buffer,s.byteOffset,s.byteLength)}return V(m)}function et(m,s,f){if(s<0||m.byteLength<s)throw new RangeError('"offset" is outside of buffer bounds');if(m.byteLength<s+(f||0))throw new RangeError('"length" is outside of buffer bounds');let M;return s===void 0&&f===void 0?M=new o(m):f===void 0?M=new o(m,s):M=new o(m,s,f),Object.setPrototypeOf(M,d.prototype),M}function ut(m){if(d.isBuffer(m)){const s=dt(m.length)|0,f=x(s);return f.length===0||m.copy(f,0,0,s),f}if(m.length!==void 0)return typeof m.length!="number"||_t(m.length)?x(0):V(m);if(m.type==="Buffer"&&Array.isArray(m.data))return V(m.data)}function dt(m){if(m>=u)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+u.toString(16)+" bytes");return m|0}function ft(m){return+m!=m&&(m=0),d.alloc(+m)}d.isBuffer=function(s){return s!=null&&s._isBuffer===!0&&s!==d.prototype},d.compare=function(s,f){if(It(s,o)&&(s=d.from(s,s.offset,s.byteLength)),It(f,o)&&(f=d.from(f,f.offset,f.byteLength)),!d.isBuffer(s)||!d.isBuffer(f))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(s===f)return 0;let M=s.length,N=f.length;for(let q=0,Y=Math.min(M,N);q<Y;++q)if(s[q]!==f[q]){M=s[q],N=f[q];break}return M<N?-1:N<M?1:0},d.isEncoding=function(s){switch(String(s).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},d.concat=function(s,f){if(!Array.isArray(s))throw new TypeError('"list" argument must be an Array of Buffers');if(s.length===0)return d.alloc(0);let M;if(f===void 0)for(f=0,M=0;M<s.length;++M)f+=s[M].length;const N=d.allocUnsafe(f);let q=0;for(M=0;M<s.length;++M){let Y=s[M];if(It(Y,o))q+Y.length>N.length?(d.isBuffer(Y)||(Y=d.from(Y)),Y.copy(N,q)):o.prototype.set.call(N,Y,q);else if(d.isBuffer(Y))Y.copy(N,q);else throw new TypeError('"list" argument must be an Array of Buffers');q+=Y.length}return N};function J(m,s){if(d.isBuffer(m))return m.length;if(p.isView(m)||It(m,p))return m.byteLength;if(typeof m!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof m);const f=m.length,M=arguments.length>2&&arguments[2]===!0;if(!M&&f===0)return 0;let N=!1;for(;;)switch(s){case"ascii":case"latin1":case"binary":return f;case"utf8":case"utf-8":return z(m).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return f*2;case"hex":return f>>>1;case"base64":return ht(m).length;default:if(N)return M?-1:z(m).length;s=(""+s).toLowerCase(),N=!0}}d.byteLength=J;function G(m,s,f){let M=!1;if((s===void 0||s<0)&&(s=0),s>this.length||((f===void 0||f>this.length)&&(f=this.length),f<=0)||(f>>>=0,s>>>=0,f<=s))return"";for(m||(m="utf8");;)switch(m){case"hex":return c(this,s,f);case"utf8":case"utf-8":return v(this,s,f);case"ascii":return I(this,s,f);case"latin1":case"binary":return B(this,s,f);case"base64":return g(this,s,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,s,f);default:if(M)throw new TypeError("Unknown encoding: "+m);m=(m+"").toLowerCase(),M=!0}}d.prototype._isBuffer=!0;function at(m,s,f){const M=m[s];m[s]=m[f],m[f]=M}d.prototype.swap16=function(){const s=this.length;if(s%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let f=0;f<s;f+=2)at(this,f,f+1);return this},d.prototype.swap32=function(){const s=this.length;if(s%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let f=0;f<s;f+=4)at(this,f,f+3),at(this,f+1,f+2);return this},d.prototype.swap64=function(){const s=this.length;if(s%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let f=0;f<s;f+=8)at(this,f,f+7),at(this,f+1,f+6),at(this,f+2,f+5),at(this,f+3,f+4);return this},d.prototype.toString=function(){const s=this.length;return s===0?"":arguments.length===0?v(this,0,s):G.apply(this,arguments)},d.prototype.toLocaleString=d.prototype.toString,d.prototype.equals=function(s){if(!d.isBuffer(s))throw new TypeError("Argument must be a Buffer");return this===s?!0:d.compare(this,s)===0},d.prototype.inspect=function(){let s="";const f=t.INSPECT_MAX_BYTES;return s=this.toString("hex",0,f).replace(/(.{2})/g,"$1 ").trim(),this.length>f&&(s+=" ... "),"<Buffer "+s+">"},n&&(d.prototype[n]=d.prototype.inspect),d.prototype.compare=function(s,f,M,N,q){if(It(s,o)&&(s=d.from(s,s.offset,s.byteLength)),!d.isBuffer(s))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof s);if(f===void 0&&(f=0),M===void 0&&(M=s?s.length:0),N===void 0&&(N=0),q===void 0&&(q=this.length),f<0||M>s.length||N<0||q>this.length)throw new RangeError("out of range index");if(N>=q&&f>=M)return 0;if(N>=q)return-1;if(f>=M)return 1;if(f>>>=0,M>>>=0,N>>>=0,q>>>=0,this===s)return 0;let Y=q-N,wt=M-f;const St=Math.min(Y,wt),Bt=this.slice(N,q),Ut=s.slice(f,M);for(let bt=0;bt<St;++bt)if(Bt[bt]!==Ut[bt]){Y=Bt[bt],wt=Ut[bt];break}return Y<wt?-1:wt<Y?1:0};function mt(m,s,f,M,N){if(m.length===0)return-1;if(typeof f=="string"?(M=f,f=0):f>2147483647?f=2147483647:f<-2147483648&&(f=-2147483648),f=+f,_t(f)&&(f=N?0:m.length-1),f<0&&(f=m.length+f),f>=m.length){if(N)return-1;f=m.length-1}else if(f<0)if(N)f=0;else return-1;if(typeof s=="string"&&(s=d.from(s,M)),d.isBuffer(s))return s.length===0?-1:ot(m,s,f,M,N);if(typeof s=="number")return s=s&255,typeof o.prototype.indexOf=="function"?N?o.prototype.indexOf.call(m,s,f):o.prototype.lastIndexOf.call(m,s,f):ot(m,[s],f,M,N);throw new TypeError("val must be string, number or Buffer")}function ot(m,s,f,M,N){let q=1,Y=m.length,wt=s.length;if(M!==void 0&&(M=String(M).toLowerCase(),M==="ucs2"||M==="ucs-2"||M==="utf16le"||M==="utf-16le")){if(m.length<2||s.length<2)return-1;q=2,Y/=2,wt/=2,f/=2}function St(Ut,bt){return q===1?Ut[bt]:Ut.readUInt16BE(bt*q)}let Bt;if(N){let Ut=-1;for(Bt=f;Bt<Y;Bt++)if(St(m,Bt)===St(s,Ut===-1?0:Bt-Ut)){if(Ut===-1&&(Ut=Bt),Bt-Ut+1===wt)return Ut*q}else Ut!==-1&&(Bt-=Bt-Ut),Ut=-1}else for(f+wt>Y&&(f=Y-wt),Bt=f;Bt>=0;Bt--){let Ut=!0;for(let bt=0;bt<wt;bt++)if(St(m,Bt+bt)!==St(s,bt)){Ut=!1;break}if(Ut)return Bt}return-1}d.prototype.includes=function(s,f,M){return this.indexOf(s,f,M)!==-1},d.prototype.indexOf=function(s,f,M){return mt(this,s,f,M,!0)},d.prototype.lastIndexOf=function(s,f,M){return mt(this,s,f,M,!1)};function ct(m,s,f,M){f=Number(f)||0;const N=m.length-f;M?(M=Number(M),M>N&&(M=N)):M=N;const q=s.length;M>q/2&&(M=q/2);let Y;for(Y=0;Y<M;++Y){const wt=parseInt(s.substr(Y*2,2),16);if(_t(wt))return Y;m[f+Y]=wt}return Y}function j(m,s,f,M){return xt(z(s,m.length-f),m,f,M)}function T(m,s,f,M){return xt(it(s),m,f,M)}function i(m,s,f,M){return xt(ht(s),m,f,M)}function h(m,s,f,M){return xt(gt(s,m.length-f),m,f,M)}d.prototype.write=function(s,f,M,N){if(f===void 0)N="utf8",M=this.length,f=0;else if(M===void 0&&typeof f=="string")N=f,M=this.length,f=0;else if(isFinite(f))f=f>>>0,isFinite(M)?(M=M>>>0,N===void 0&&(N="utf8")):(N=M,M=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const q=this.length-f;if((M===void 0||M>q)&&(M=q),s.length>0&&(M<0||f<0)||f>this.length)throw new RangeError("Attempt to write outside buffer bounds");N||(N="utf8");let Y=!1;for(;;)switch(N){case"hex":return ct(this,s,f,M);case"utf8":case"utf-8":return j(this,s,f,M);case"ascii":case"latin1":case"binary":return T(this,s,f,M);case"base64":return i(this,s,f,M);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return h(this,s,f,M);default:if(Y)throw new TypeError("Unknown encoding: "+N);N=(""+N).toLowerCase(),Y=!0}},d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function g(m,s,f){return s===0&&f===m.length?e.fromByteArray(m):e.fromByteArray(m.slice(s,f))}function v(m,s,f){f=Math.min(m.length,f);const M=[];let N=s;for(;N<f;){const q=m[N];let Y=null,wt=q>239?4:q>223?3:q>191?2:1;if(N+wt<=f){let St,Bt,Ut,bt;switch(wt){case 1:q<128&&(Y=q);break;case 2:St=m[N+1],(St&192)===128&&(bt=(q&31)<<6|St&63,bt>127&&(Y=bt));break;case 3:St=m[N+1],Bt=m[N+2],(St&192)===128&&(Bt&192)===128&&(bt=(q&15)<<12|(St&63)<<6|Bt&63,bt>2047&&(bt<55296||bt>57343)&&(Y=bt));break;case 4:St=m[N+1],Bt=m[N+2],Ut=m[N+3],(St&192)===128&&(Bt&192)===128&&(Ut&192)===128&&(bt=(q&15)<<18|(St&63)<<12|(Bt&63)<<6|Ut&63,bt>65535&&bt<1114112&&(Y=bt))}}Y===null?(Y=65533,wt=1):Y>65535&&(Y-=65536,M.push(Y>>>10&1023|55296),Y=56320|Y&1023),M.push(Y),N+=wt}return F(M)}const E=4096;function F(m){const s=m.length;if(s<=E)return String.fromCharCode.apply(String,m);let f="",M=0;for(;M<s;)f+=String.fromCharCode.apply(String,m.slice(M,M+=E));return f}function I(m,s,f){let M="";f=Math.min(m.length,f);for(let N=s;N<f;++N)M+=String.fromCharCode(m[N]&127);return M}function B(m,s,f){let M="";f=Math.min(m.length,f);for(let N=s;N<f;++N)M+=String.fromCharCode(m[N]);return M}function c(m,s,f){const M=m.length;(!s||s<0)&&(s=0),(!f||f<0||f>M)&&(f=M);let N="";for(let q=s;q<f;++q)N+=vt[m[q]];return N}function O(m,s,f){const M=m.slice(s,f);let N="";for(let q=0;q<M.length-1;q+=2)N+=String.fromCharCode(M[q]+M[q+1]*256);return N}d.prototype.slice=function(s,f){const M=this.length;s=~~s,f=f===void 0?M:~~f,s<0?(s+=M,s<0&&(s=0)):s>M&&(s=M),f<0?(f+=M,f<0&&(f=0)):f>M&&(f=M),f<s&&(f=s);const N=this.subarray(s,f);return Object.setPrototypeOf(N,d.prototype),N};function H(m,s,f){if(m%1!==0||m<0)throw new RangeError("offset is not uint");if(m+s>f)throw new RangeError("Trying to access beyond buffer length")}d.prototype.readUintLE=d.prototype.readUIntLE=function(s,f,M){s=s>>>0,f=f>>>0,M||H(s,f,this.length);let N=this[s],q=1,Y=0;for(;++Y<f&&(q*=256);)N+=this[s+Y]*q;return N},d.prototype.readUintBE=d.prototype.readUIntBE=function(s,f,M){s=s>>>0,f=f>>>0,M||H(s,f,this.length);let N=this[s+--f],q=1;for(;f>0&&(q*=256);)N+=this[s+--f]*q;return N},d.prototype.readUint8=d.prototype.readUInt8=function(s,f){return s=s>>>0,f||H(s,1,this.length),this[s]},d.prototype.readUint16LE=d.prototype.readUInt16LE=function(s,f){return s=s>>>0,f||H(s,2,this.length),this[s]|this[s+1]<<8},d.prototype.readUint16BE=d.prototype.readUInt16BE=function(s,f){return s=s>>>0,f||H(s,2,this.length),this[s]<<8|this[s+1]},d.prototype.readUint32LE=d.prototype.readUInt32LE=function(s,f){return s=s>>>0,f||H(s,4,this.length),(this[s]|this[s+1]<<8|this[s+2]<<16)+this[s+3]*16777216},d.prototype.readUint32BE=d.prototype.readUInt32BE=function(s,f){return s=s>>>0,f||H(s,4,this.length),this[s]*16777216+(this[s+1]<<16|this[s+2]<<8|this[s+3])},d.prototype.readBigUInt64LE=Ct(function(s){s=s>>>0,Q(s,"offset");const f=this[s],M=this[s+7];(f===void 0||M===void 0)&&R(s,this.length-8);const N=f+this[++s]*2**8+this[++s]*2**16+this[++s]*2**24,q=this[++s]+this[++s]*2**8+this[++s]*2**16+M*2**24;return BigInt(N)+(BigInt(q)<<BigInt(32))}),d.prototype.readBigUInt64BE=Ct(function(s){s=s>>>0,Q(s,"offset");const f=this[s],M=this[s+7];(f===void 0||M===void 0)&&R(s,this.length-8);const N=f*2**24+this[++s]*2**16+this[++s]*2**8+this[++s],q=this[++s]*2**24+this[++s]*2**16+this[++s]*2**8+M;return(BigInt(N)<<BigInt(32))+BigInt(q)}),d.prototype.readIntLE=function(s,f,M){s=s>>>0,f=f>>>0,M||H(s,f,this.length);let N=this[s],q=1,Y=0;for(;++Y<f&&(q*=256);)N+=this[s+Y]*q;return q*=128,N>=q&&(N-=Math.pow(2,8*f)),N},d.prototype.readIntBE=function(s,f,M){s=s>>>0,f=f>>>0,M||H(s,f,this.length);let N=f,q=1,Y=this[s+--N];for(;N>0&&(q*=256);)Y+=this[s+--N]*q;return q*=128,Y>=q&&(Y-=Math.pow(2,8*f)),Y},d.prototype.readInt8=function(s,f){return s=s>>>0,f||H(s,1,this.length),this[s]&128?(255-this[s]+1)*-1:this[s]},d.prototype.readInt16LE=function(s,f){s=s>>>0,f||H(s,2,this.length);const M=this[s]|this[s+1]<<8;return M&32768?M|4294901760:M},d.prototype.readInt16BE=function(s,f){s=s>>>0,f||H(s,2,this.length);const M=this[s+1]|this[s]<<8;return M&32768?M|4294901760:M},d.prototype.readInt32LE=function(s,f){return s=s>>>0,f||H(s,4,this.length),this[s]|this[s+1]<<8|this[s+2]<<16|this[s+3]<<24},d.prototype.readInt32BE=function(s,f){return s=s>>>0,f||H(s,4,this.length),this[s]<<24|this[s+1]<<16|this[s+2]<<8|this[s+3]},d.prototype.readBigInt64LE=Ct(function(s){s=s>>>0,Q(s,"offset");const f=this[s],M=this[s+7];(f===void 0||M===void 0)&&R(s,this.length-8);const N=this[s+4]+this[s+5]*2**8+this[s+6]*2**16+(M<<24);return(BigInt(N)<<BigInt(32))+BigInt(f+this[++s]*2**8+this[++s]*2**16+this[++s]*2**24)}),d.prototype.readBigInt64BE=Ct(function(s){s=s>>>0,Q(s,"offset");const f=this[s],M=this[s+7];(f===void 0||M===void 0)&&R(s,this.length-8);const N=(f<<24)+this[++s]*2**16+this[++s]*2**8+this[++s];return(BigInt(N)<<BigInt(32))+BigInt(this[++s]*2**24+this[++s]*2**16+this[++s]*2**8+M)}),d.prototype.readFloatLE=function(s,f){return s=s>>>0,f||H(s,4,this.length),r.read(this,s,!0,23,4)},d.prototype.readFloatBE=function(s,f){return s=s>>>0,f||H(s,4,this.length),r.read(this,s,!1,23,4)},d.prototype.readDoubleLE=function(s,f){return s=s>>>0,f||H(s,8,this.length),r.read(this,s,!0,52,8)},d.prototype.readDoubleBE=function(s,f){return s=s>>>0,f||H(s,8,this.length),r.read(this,s,!1,52,8)};function pt(m,s,f,M,N,q){if(!d.isBuffer(m))throw new TypeError('"buffer" argument must be a Buffer instance');if(s>N||s<q)throw new RangeError('"value" argument is out of bounds');if(f+M>m.length)throw new RangeError("Index out of range")}d.prototype.writeUintLE=d.prototype.writeUIntLE=function(s,f,M,N){if(s=+s,f=f>>>0,M=M>>>0,!N){const wt=Math.pow(2,8*M)-1;pt(this,s,f,M,wt,0)}let q=1,Y=0;for(this[f]=s&255;++Y<M&&(q*=256);)this[f+Y]=s/q&255;return f+M},d.prototype.writeUintBE=d.prototype.writeUIntBE=function(s,f,M,N){if(s=+s,f=f>>>0,M=M>>>0,!N){const wt=Math.pow(2,8*M)-1;pt(this,s,f,M,wt,0)}let q=M-1,Y=1;for(this[f+q]=s&255;--q>=0&&(Y*=256);)this[f+q]=s/Y&255;return f+M},d.prototype.writeUint8=d.prototype.writeUInt8=function(s,f,M){return s=+s,f=f>>>0,M||pt(this,s,f,1,255,0),this[f]=s&255,f+1},d.prototype.writeUint16LE=d.prototype.writeUInt16LE=function(s,f,M){return s=+s,f=f>>>0,M||pt(this,s,f,2,65535,0),this[f]=s&255,this[f+1]=s>>>8,f+2},d.prototype.writeUint16BE=d.prototype.writeUInt16BE=function(s,f,M){return s=+s,f=f>>>0,M||pt(this,s,f,2,65535,0),this[f]=s>>>8,this[f+1]=s&255,f+2},d.prototype.writeUint32LE=d.prototype.writeUInt32LE=function(s,f,M){return s=+s,f=f>>>0,M||pt(this,s,f,4,4294967295,0),this[f+3]=s>>>24,this[f+2]=s>>>16,this[f+1]=s>>>8,this[f]=s&255,f+4},d.prototype.writeUint32BE=d.prototype.writeUInt32BE=function(s,f,M){return s=+s,f=f>>>0,M||pt(this,s,f,4,4294967295,0),this[f]=s>>>24,this[f+1]=s>>>16,this[f+2]=s>>>8,this[f+3]=s&255,f+4};function yt(m,s,f,M,N){D(s,M,N,m,f,7);let q=Number(s&BigInt(4294967295));m[f++]=q,q=q>>8,m[f++]=q,q=q>>8,m[f++]=q,q=q>>8,m[f++]=q;let Y=Number(s>>BigInt(32)&BigInt(4294967295));return m[f++]=Y,Y=Y>>8,m[f++]=Y,Y=Y>>8,m[f++]=Y,Y=Y>>8,m[f++]=Y,f}function Nt(m,s,f,M,N){D(s,M,N,m,f,7);let q=Number(s&BigInt(4294967295));m[f+7]=q,q=q>>8,m[f+6]=q,q=q>>8,m[f+5]=q,q=q>>8,m[f+4]=q;let Y=Number(s>>BigInt(32)&BigInt(4294967295));return m[f+3]=Y,Y=Y>>8,m[f+2]=Y,Y=Y>>8,m[f+1]=Y,Y=Y>>8,m[f]=Y,f+8}d.prototype.writeBigUInt64LE=Ct(function(s,f=0){return yt(this,s,f,BigInt(0),BigInt("0xffffffffffffffff"))}),d.prototype.writeBigUInt64BE=Ct(function(s,f=0){return Nt(this,s,f,BigInt(0),BigInt("0xffffffffffffffff"))}),d.prototype.writeIntLE=function(s,f,M,N){if(s=+s,f=f>>>0,!N){const St=Math.pow(2,8*M-1);pt(this,s,f,M,St-1,-St)}let q=0,Y=1,wt=0;for(this[f]=s&255;++q<M&&(Y*=256);)s<0&&wt===0&&this[f+q-1]!==0&&(wt=1),this[f+q]=(s/Y>>0)-wt&255;return f+M},d.prototype.writeIntBE=function(s,f,M,N){if(s=+s,f=f>>>0,!N){const St=Math.pow(2,8*M-1);pt(this,s,f,M,St-1,-St)}let q=M-1,Y=1,wt=0;for(this[f+q]=s&255;--q>=0&&(Y*=256);)s<0&&wt===0&&this[f+q+1]!==0&&(wt=1),this[f+q]=(s/Y>>0)-wt&255;return f+M},d.prototype.writeInt8=function(s,f,M){return s=+s,f=f>>>0,M||pt(this,s,f,1,127,-128),s<0&&(s=255+s+1),this[f]=s&255,f+1},d.prototype.writeInt16LE=function(s,f,M){return s=+s,f=f>>>0,M||pt(this,s,f,2,32767,-32768),this[f]=s&255,this[f+1]=s>>>8,f+2},d.prototype.writeInt16BE=function(s,f,M){return s=+s,f=f>>>0,M||pt(this,s,f,2,32767,-32768),this[f]=s>>>8,this[f+1]=s&255,f+2},d.prototype.writeInt32LE=function(s,f,M){return s=+s,f=f>>>0,M||pt(this,s,f,4,2147483647,-2147483648),this[f]=s&255,this[f+1]=s>>>8,this[f+2]=s>>>16,this[f+3]=s>>>24,f+4},d.prototype.writeInt32BE=function(s,f,M){return s=+s,f=f>>>0,M||pt(this,s,f,4,2147483647,-2147483648),s<0&&(s=4294967295+s+1),this[f]=s>>>24,this[f+1]=s>>>16,this[f+2]=s>>>8,this[f+3]=s&255,f+4},d.prototype.writeBigInt64LE=Ct(function(s,f=0){return yt(this,s,f,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),d.prototype.writeBigInt64BE=Ct(function(s,f=0){return Nt(this,s,f,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Et(m,s,f,M,N,q){if(f+M>m.length)throw new RangeError("Index out of range");if(f<0)throw new RangeError("Index out of range")}function At(m,s,f,M,N){return s=+s,f=f>>>0,N||Et(m,s,f,4),r.write(m,s,f,M,23,4),f+4}d.prototype.writeFloatLE=function(s,f,M){return At(this,s,f,!0,M)},d.prototype.writeFloatBE=function(s,f,M){return At(this,s,f,!1,M)};function b(m,s,f,M,N){return s=+s,f=f>>>0,N||Et(m,s,f,8),r.write(m,s,f,M,52,8),f+8}d.prototype.writeDoubleLE=function(s,f,M){return b(this,s,f,!0,M)},d.prototype.writeDoubleBE=function(s,f,M){return b(this,s,f,!1,M)},d.prototype.copy=function(s,f,M,N){if(!d.isBuffer(s))throw new TypeError("argument should be a Buffer");if(M||(M=0),!N&&N!==0&&(N=this.length),f>=s.length&&(f=s.length),f||(f=0),N>0&&N<M&&(N=M),N===M||s.length===0||this.length===0)return 0;if(f<0)throw new RangeError("targetStart out of bounds");if(M<0||M>=this.length)throw new RangeError("Index out of range");if(N<0)throw new RangeError("sourceEnd out of bounds");N>this.length&&(N=this.length),s.length-f<N-M&&(N=s.length-f+M);const q=N-M;return this===s&&typeof o.prototype.copyWithin=="function"?this.copyWithin(f,M,N):o.prototype.set.call(s,this.subarray(M,N),f),q},d.prototype.fill=function(s,f,M,N){if(typeof s=="string"){if(typeof f=="string"?(N=f,f=0,M=this.length):typeof M=="string"&&(N=M,M=this.length),N!==void 0&&typeof N!="string")throw new TypeError("encoding must be a string");if(typeof N=="string"&&!d.isEncoding(N))throw new TypeError("Unknown encoding: "+N);if(s.length===1){const Y=s.charCodeAt(0);(N==="utf8"&&Y<128||N==="latin1")&&(s=Y)}}else typeof s=="number"?s=s&255:typeof s=="boolean"&&(s=Number(s));if(f<0||this.length<f||this.length<M)throw new RangeError("Out of range index");if(M<=f)return this;f=f>>>0,M=M===void 0?this.length:M>>>0,s||(s=0);let q;if(typeof s=="number")for(q=f;q<M;++q)this[q]=s;else{const Y=d.isBuffer(s)?s:d.from(s,N),wt=Y.length;if(wt===0)throw new TypeError('The value "'+s+'" is invalid for argument "value"');for(q=0;q<M-f;++q)this[q+f]=Y[q%wt]}return this};const A={};function $(m,s,f){A[m]=class extends f{constructor(){super(),Object.defineProperty(this,"message",{value:s.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${m}]`,this.stack,delete this.name}get code(){return m}set code(N){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:N,writable:!0})}toString(){return`${this.name} [${m}]: ${this.message}`}}}$("ERR_BUFFER_OUT_OF_BOUNDS",function(m){return m?`${m} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),$("ERR_INVALID_ARG_TYPE",function(m,s){return`The "${m}" argument must be of type number. Received type ${typeof s}`},TypeError),$("ERR_OUT_OF_RANGE",function(m,s,f){let M=`The value of "${m}" is out of range.`,N=f;return Number.isInteger(f)&&Math.abs(f)>2**32?N=Z(String(f)):typeof f=="bigint"&&(N=String(f),(f>BigInt(2)**BigInt(32)||f<-(BigInt(2)**BigInt(32)))&&(N=Z(N)),N+="n"),M+=` It must be ${s}. Received ${N}`,M},RangeError);function Z(m){let s="",f=m.length;const M=m[0]==="-"?1:0;for(;f>=M+4;f-=3)s=`_${m.slice(f-3,f)}${s}`;return`${m.slice(0,f)}${s}`}function U(m,s,f){Q(s,"offset"),(m[s]===void 0||m[s+f]===void 0)&&R(s,m.length-(f+1))}function D(m,s,f,M,N,q){if(m>f||m<s){const Y=typeof s=="bigint"?"n":"";let wt;throw s===0||s===BigInt(0)?wt=`>= 0${Y} and < 2${Y} ** ${(q+1)*8}${Y}`:wt=`>= -(2${Y} ** ${(q+1)*8-1}${Y}) and < 2 ** ${(q+1)*8-1}${Y}`,new A.ERR_OUT_OF_RANGE("value",wt,m)}U(M,N,q)}function Q(m,s){if(typeof m!="number")throw new A.ERR_INVALID_ARG_TYPE(s,"number",m)}function R(m,s,f){throw Math.floor(m)!==m?(Q(m,f),new A.ERR_OUT_OF_RANGE("offset","an integer",m)):s<0?new A.ERR_BUFFER_OUT_OF_BOUNDS:new A.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${s}`,m)}const L=/[^+/0-9A-Za-z-_]/g;function X(m){if(m=m.split("=")[0],m=m.trim().replace(L,""),m.length<2)return"";for(;m.length%4!==0;)m=m+"=";return m}function z(m,s){s=s||1/0;let f;const M=m.length;let N=null;const q=[];for(let Y=0;Y<M;++Y){if(f=m.charCodeAt(Y),f>55295&&f<57344){if(!N){if(f>56319){(s-=3)>-1&&q.push(239,191,189);continue}else if(Y+1===M){(s-=3)>-1&&q.push(239,191,189);continue}N=f;continue}if(f<56320){(s-=3)>-1&&q.push(239,191,189),N=f;continue}f=(N-55296<<10|f-56320)+65536}else N&&(s-=3)>-1&&q.push(239,191,189);if(N=null,f<128){if((s-=1)<0)break;q.push(f)}else if(f<2048){if((s-=2)<0)break;q.push(f>>6|192,f&63|128)}else if(f<65536){if((s-=3)<0)break;q.push(f>>12|224,f>>6&63|128,f&63|128)}else if(f<1114112){if((s-=4)<0)break;q.push(f>>18|240,f>>12&63|128,f>>6&63|128,f&63|128)}else throw new Error("Invalid code point")}return q}function it(m){const s=[];for(let f=0;f<m.length;++f)s.push(m.charCodeAt(f)&255);return s}function gt(m,s){let f,M,N;const q=[];for(let Y=0;Y<m.length&&!((s-=2)<0);++Y)f=m.charCodeAt(Y),M=f>>8,N=f%256,q.push(N),q.push(M);return q}function ht(m){return e.toByteArray(X(m))}function xt(m,s,f,M){let N;for(N=0;N<M&&!(N+f>=s.length||N>=m.length);++N)s[N+f]=m[N];return N}function It(m,s){return m instanceof s||m!=null&&m.constructor!=null&&m.constructor.name!=null&&m.constructor.name===s.name}function _t(m){return m!==m}const vt=function(){const m="0123456789abcdef",s=new Array(256);for(let f=0;f<16;++f){const M=f*16;for(let N=0;N<16;++N)s[M+N]=m[f]+m[N]}return s}();function Ct(m){return typeof BigInt>"u"?Ot:m}function Ot(){throw new Error("BigInt not supported")}})(bi);const ad=bi.Buffer,Ny=bi.Buffer;function Ft(t,e,r,n,u){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),u&&(this.response=u,this.status=u.status?u.status:null)}rt.inherits(Ft,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:rt.toJSONObject(this.config),code:this.code,status:this.status}}});const Qs=Ft.prototype,ta={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{ta[t]={value:t}});Object.defineProperties(Ft,ta);Object.defineProperty(Qs,"isAxiosError",{value:!0});Ft.from=(t,e,r,n,u,o)=>{const p=Object.create(Qs);return rt.toFlatObject(t,p,function(_){return _!==Error.prototype},w=>w!=="isAxiosError"),Ft.call(p,t.message,e,r,n,u),p.cause=t,p.name=t.name,o&&Object.assign(p,o),p};const ud=null;function Vn(t){return rt.isPlainObject(t)||rt.isArray(t)}function ea(t){return rt.endsWith(t,"[]")?t.slice(0,-2):t}function po(t,e,r){return t?t.concat(e).map(function(u,o){return u=ea(u),!r&&o?"["+u+"]":u}).join(r?".":""):e}function fd(t){return rt.isArray(t)&&!t.some(Vn)}const ld=rt.toFlatObject(rt,{},null,function(e){return/^is[A-Z]/.test(e)});function Vr(t,e,r){if(!rt.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,r=rt.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(st,V){return!rt.isUndefined(V[st])});const n=r.metaTokens,u=r.visitor||d,o=r.dots,p=r.indexes,_=(r.Blob||typeof Blob<"u"&&Blob)&&rt.isSpecCompliantForm(e);if(!rt.isFunction(u))throw new TypeError("visitor must be a function");function x(tt){if(tt===null)return"";if(rt.isDate(tt))return tt.toISOString();if(!_&&rt.isBlob(tt))throw new Ft("Blob is not supported. Use a Buffer instead.");return rt.isArrayBuffer(tt)||rt.isTypedArray(tt)?_&&typeof Blob=="function"?new Blob([tt]):ad.from(tt):tt}function d(tt,st,V){let lt=tt;if(tt&&!V&&typeof tt=="object"){if(rt.endsWith(st,"{}"))st=n?st:st.slice(0,-2),tt=JSON.stringify(tt);else if(rt.isArray(tt)&&fd(tt)||(rt.isFileList(tt)||rt.endsWith(st,"[]"))&&(lt=rt.toArray(tt)))return st=ea(st),lt.forEach(function(ut,dt){!(rt.isUndefined(ut)||ut===null)&&e.append(p===!0?po([st],dt,o):p===null?st:st+"[]",x(ut))}),!1}return Vn(tt)?!0:(e.append(po(V,st,o),x(tt)),!1)}const C=[],k=Object.assign(ld,{defaultVisitor:d,convertValue:x,isVisitable:Vn});function K(tt,st){if(!rt.isUndefined(tt)){if(C.indexOf(tt)!==-1)throw Error("Circular reference detected in "+st.join("."));C.push(tt),rt.forEach(tt,function(lt,et){(!(rt.isUndefined(lt)||lt===null)&&u.call(e,lt,rt.isString(et)?et.trim():et,st,k))===!0&&K(lt,st?st.concat(et):[et])}),C.pop()}}if(!rt.isObject(t))throw new TypeError("data must be an object");return K(t),e}function go(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(n){return e[n]})}function Mi(t,e){this._pairs=[],t&&Vr(t,this,e)}const ra=Mi.prototype;ra.append=function(e,r){this._pairs.push([e,r])};ra.toString=function(e){const r=e?function(n){return e.call(this,n,go)}:go;return this._pairs.map(function(u){return r(u[0])+"="+r(u[1])},"").join("&")};function cd(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function na(t,e,r){if(!e)return t;const n=r&&r.encode||cd;rt.isFunction(r)&&(r={serialize:r});const u=r&&r.serialize;let o;if(u?o=u(e,r):o=rt.isURLSearchParams(e)?e.toString():new Mi(e,r).toString(n),o){const p=t.indexOf("#");p!==-1&&(t=t.slice(0,p)),t+=(t.indexOf("?")===-1?"?":"&")+o}return t}class mo{constructor(){this.handlers=[]}use(e,r,n){return this.handlers.push({fulfilled:e,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){rt.forEach(this.handlers,function(n){n!==null&&e(n)})}}const ia={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},hd=typeof URLSearchParams<"u"?URLSearchParams:Mi,pd=typeof FormData<"u"?FormData:null,dd=typeof Blob<"u"?Blob:null,gd={isBrowser:!0,classes:{URLSearchParams:hd,FormData:pd,Blob:dd},protocols:["http","https","file","blob","url","data"]},_i=typeof window<"u"&&typeof document<"u",Kn=typeof navigator=="object"&&navigator||void 0,md=_i&&(!Kn||["ReactNative","NativeScript","NS"].indexOf(Kn.product)<0),yd=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",wd=_i&&window.location.href||"http://localhost",xd=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:_i,hasStandardBrowserEnv:md,hasStandardBrowserWebWorkerEnv:yd,navigator:Kn,origin:wd},Symbol.toStringTag,{value:"Module"})),Xt={...xd,...gd};function vd(t,e){return Vr(t,new Xt.classes.URLSearchParams,Object.assign({visitor:function(r,n,u,o){return Xt.isNode&&rt.isBuffer(r)?(this.append(n,r.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},e))}function bd(t){return rt.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function Ed(t){const e={},r=Object.keys(t);let n;const u=r.length;let o;for(n=0;n<u;n++)o=r[n],e[o]=t[o];return e}function oa(t){function e(r,n,u,o){let p=r[o++];if(p==="__proto__")return!0;const w=Number.isFinite(+p),_=o>=r.length;return p=!p&&rt.isArray(u)?u.length:p,_?(rt.hasOwnProp(u,p)?u[p]=[u[p],n]:u[p]=n,!w):((!u[p]||!rt.isObject(u[p]))&&(u[p]=[]),e(r,n,u[p],o)&&rt.isArray(u[p])&&(u[p]=Ed(u[p])),!w)}if(rt.isFormData(t)&&rt.isFunction(t.entries)){const r={};return rt.forEachEntry(t,(n,u)=>{e(bd(n),u,r,0)}),r}return null}function Md(t,e,r){if(rt.isString(t))try{return(e||JSON.parse)(t),rt.trim(t)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(t)}const dr={transitional:ia,adapter:["xhr","http","fetch"],transformRequest:[function(e,r){const n=r.getContentType()||"",u=n.indexOf("application/json")>-1,o=rt.isObject(e);if(o&&rt.isHTMLForm(e)&&(e=new FormData(e)),rt.isFormData(e))return u?JSON.stringify(oa(e)):e;if(rt.isArrayBuffer(e)||rt.isBuffer(e)||rt.isStream(e)||rt.isFile(e)||rt.isBlob(e)||rt.isReadableStream(e))return e;if(rt.isArrayBufferView(e))return e.buffer;if(rt.isURLSearchParams(e))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let w;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return vd(e,this.formSerializer).toString();if((w=rt.isFileList(e))||n.indexOf("multipart/form-data")>-1){const _=this.env&&this.env.FormData;return Vr(w?{"files[]":e}:e,_&&new _,this.formSerializer)}}return o||u?(r.setContentType("application/json",!1),Md(e)):e}],transformResponse:[function(e){const r=this.transitional||dr.transitional,n=r&&r.forcedJSONParsing,u=this.responseType==="json";if(rt.isResponse(e)||rt.isReadableStream(e))return e;if(e&&rt.isString(e)&&(n&&!this.responseType||u)){const p=!(r&&r.silentJSONParsing)&&u;try{return JSON.parse(e)}catch(w){if(p)throw w.name==="SyntaxError"?Ft.from(w,Ft.ERR_BAD_RESPONSE,this,null,this.response):w}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Xt.classes.FormData,Blob:Xt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};rt.forEach(["delete","get","head","post","put","patch"],t=>{dr.headers[t]={}});const _d=rt.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Sd=t=>{const e={};let r,n,u;return t&&t.split(`
7
- `).forEach(function(p){u=p.indexOf(":"),r=p.substring(0,u).trim().toLowerCase(),n=p.substring(u+1).trim(),!(!r||e[r]&&_d[r])&&(r==="set-cookie"?e[r]?e[r].push(n):e[r]=[n]:e[r]=e[r]?e[r]+", "+n:n)}),e},yo=Symbol("internals");function tr(t){return t&&String(t).trim().toLowerCase()}function Mr(t){return t===!1||t==null?t:rt.isArray(t)?t.map(Mr):String(t)}function Bd(t){const e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(t);)e[n[1]]=n[2];return e}const Ad=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Sn(t,e,r,n,u){if(rt.isFunction(n))return n.call(this,e,r);if(u&&(e=r),!!rt.isString(e)){if(rt.isString(n))return e.indexOf(n)!==-1;if(rt.isRegExp(n))return n.test(e)}}function Od(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,r,n)=>r.toUpperCase()+n)}function Td(t,e){const r=rt.toCamelCase(" "+e);["get","set","has"].forEach(n=>{Object.defineProperty(t,n+r,{value:function(u,o,p){return this[n].call(this,e,u,o,p)},configurable:!0})})}let te=class{constructor(e){e&&this.set(e)}set(e,r,n){const u=this;function o(w,_,x){const d=tr(_);if(!d)throw new Error("header name must be a non-empty string");const C=rt.findKey(u,d);(!C||u[C]===void 0||x===!0||x===void 0&&u[C]!==!1)&&(u[C||_]=Mr(w))}const p=(w,_)=>rt.forEach(w,(x,d)=>o(x,d,_));if(rt.isPlainObject(e)||e instanceof this.constructor)p(e,r);else if(rt.isString(e)&&(e=e.trim())&&!Ad(e))p(Sd(e),r);else if(rt.isObject(e)&&rt.isIterable(e)){let w={},_,x;for(const d of e){if(!rt.isArray(d))throw TypeError("Object iterator must return a key-value pair");w[x=d[0]]=(_=w[x])?rt.isArray(_)?[..._,d[1]]:[_,d[1]]:d[1]}p(w,r)}else e!=null&&o(r,e,n);return this}get(e,r){if(e=tr(e),e){const n=rt.findKey(this,e);if(n){const u=this[n];if(!r)return u;if(r===!0)return Bd(u);if(rt.isFunction(r))return r.call(this,u,n);if(rt.isRegExp(r))return r.exec(u);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,r){if(e=tr(e),e){const n=rt.findKey(this,e);return!!(n&&this[n]!==void 0&&(!r||Sn(this,this[n],n,r)))}return!1}delete(e,r){const n=this;let u=!1;function o(p){if(p=tr(p),p){const w=rt.findKey(n,p);w&&(!r||Sn(n,n[w],w,r))&&(delete n[w],u=!0)}}return rt.isArray(e)?e.forEach(o):o(e),u}clear(e){const r=Object.keys(this);let n=r.length,u=!1;for(;n--;){const o=r[n];(!e||Sn(this,this[o],o,e,!0))&&(delete this[o],u=!0)}return u}normalize(e){const r=this,n={};return rt.forEach(this,(u,o)=>{const p=rt.findKey(n,o);if(p){r[p]=Mr(u),delete r[o];return}const w=e?Od(o):String(o).trim();w!==o&&delete r[o],r[w]=Mr(u),n[w]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const r=Object.create(null);return rt.forEach(this,(n,u)=>{n!=null&&n!==!1&&(r[u]=e&&rt.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,r])=>e+": "+r).join(`
8
- `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...r){const n=new this(e);return r.forEach(u=>n.set(u)),n}static accessor(e){const n=(this[yo]=this[yo]={accessors:{}}).accessors,u=this.prototype;function o(p){const w=tr(p);n[w]||(Td(u,p),n[w]=!0)}return rt.isArray(e)?e.forEach(o):o(e),this}};te.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);rt.reduceDescriptors(te.prototype,({value:t},e)=>{let r=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(n){this[r]=n}}});rt.freezeMethods(te);function Bn(t,e){const r=this||dr,n=e||r,u=te.from(n.headers);let o=n.data;return rt.forEach(t,function(w){o=w.call(r,o,u.normalize(),e?e.status:void 0)}),u.normalize(),o}function sa(t){return!!(t&&t.__CANCEL__)}function Xe(t,e,r){Ft.call(this,t??"canceled",Ft.ERR_CANCELED,e,r),this.name="CanceledError"}rt.inherits(Xe,Ft,{__CANCEL__:!0});function aa(t,e,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?t(r):e(new Ft("Request failed with status code "+r.status,[Ft.ERR_BAD_REQUEST,Ft.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function Cd(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function $d(t,e){t=t||10;const r=new Array(t),n=new Array(t);let u=0,o=0,p;return e=e!==void 0?e:1e3,function(_){const x=Date.now(),d=n[o];p||(p=x),r[u]=_,n[u]=x;let C=o,k=0;for(;C!==u;)k+=r[C++],C=C%t;if(u=(u+1)%t,u===o&&(o=(o+1)%t),x-p<e)return;const K=d&&x-d;return K?Math.round(k*1e3/K):void 0}}function Fd(t,e){let r=0,n=1e3/e,u,o;const p=(x,d=Date.now())=>{r=d,u=null,o&&(clearTimeout(o),o=null),t.apply(null,x)};return[(...x)=>{const d=Date.now(),C=d-r;C>=n?p(x,d):(u=x,o||(o=setTimeout(()=>{o=null,p(u)},n-C)))},()=>u&&p(u)]}const Tr=(t,e,r=3)=>{let n=0;const u=$d(50,250);return Fd(o=>{const p=o.loaded,w=o.lengthComputable?o.total:void 0,_=p-n,x=u(_),d=p<=w;n=p;const C={loaded:p,total:w,progress:w?p/w:void 0,bytes:_,rate:x||void 0,estimated:x&&w&&d?(w-p)/x:void 0,event:o,lengthComputable:w!=null,[e?"download":"upload"]:!0};t(C)},r)},wo=(t,e)=>{const r=t!=null;return[n=>e[0]({lengthComputable:r,total:t,loaded:n}),e[1]]},xo=t=>(...e)=>rt.asap(()=>t(...e)),Rd=Xt.hasStandardBrowserEnv?((t,e)=>r=>(r=new URL(r,Xt.origin),t.protocol===r.protocol&&t.host===r.host&&(e||t.port===r.port)))(new URL(Xt.origin),Xt.navigator&&/(msie|trident)/i.test(Xt.navigator.userAgent)):()=>!0,Id=Xt.hasStandardBrowserEnv?{write(t,e,r,n,u,o){const p=[t+"="+encodeURIComponent(e)];rt.isNumber(r)&&p.push("expires="+new Date(r).toGMTString()),rt.isString(n)&&p.push("path="+n),rt.isString(u)&&p.push("domain="+u),o===!0&&p.push("secure"),document.cookie=p.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Nd(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Ud(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function ua(t,e,r){let n=!Nd(e);return t&&(n||r==!1)?Ud(t,e):e}const vo=t=>t instanceof te?{...t}:t;function Fe(t,e){e=e||{};const r={};function n(x,d,C,k){return rt.isPlainObject(x)&&rt.isPlainObject(d)?rt.merge.call({caseless:k},x,d):rt.isPlainObject(d)?rt.merge({},d):rt.isArray(d)?d.slice():d}function u(x,d,C,k){if(rt.isUndefined(d)){if(!rt.isUndefined(x))return n(void 0,x,C,k)}else return n(x,d,C,k)}function o(x,d){if(!rt.isUndefined(d))return n(void 0,d)}function p(x,d){if(rt.isUndefined(d)){if(!rt.isUndefined(x))return n(void 0,x)}else return n(void 0,d)}function w(x,d,C){if(C in e)return n(x,d);if(C in t)return n(void 0,x)}const _={url:o,method:o,data:o,baseURL:p,transformRequest:p,transformResponse:p,paramsSerializer:p,timeout:p,timeoutMessage:p,withCredentials:p,withXSRFToken:p,adapter:p,responseType:p,xsrfCookieName:p,xsrfHeaderName:p,onUploadProgress:p,onDownloadProgress:p,decompress:p,maxContentLength:p,maxBodyLength:p,beforeRedirect:p,transport:p,httpAgent:p,httpsAgent:p,cancelToken:p,socketPath:p,responseEncoding:p,validateStatus:w,headers:(x,d,C)=>u(vo(x),vo(d),C,!0)};return rt.forEach(Object.keys(Object.assign({},t,e)),function(d){const C=_[d]||u,k=C(t[d],e[d],d);rt.isUndefined(k)&&C!==w||(r[d]=k)}),r}const fa=t=>{const e=Fe({},t);let{data:r,withXSRFToken:n,xsrfHeaderName:u,xsrfCookieName:o,headers:p,auth:w}=e;e.headers=p=te.from(p),e.url=na(ua(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),w&&p.set("Authorization","Basic "+btoa((w.username||"")+":"+(w.password?unescape(encodeURIComponent(w.password)):"")));let _;if(rt.isFormData(r)){if(Xt.hasStandardBrowserEnv||Xt.hasStandardBrowserWebWorkerEnv)p.setContentType(void 0);else if((_=p.getContentType())!==!1){const[x,...d]=_?_.split(";").map(C=>C.trim()).filter(Boolean):[];p.setContentType([x||"multipart/form-data",...d].join("; "))}}if(Xt.hasStandardBrowserEnv&&(n&&rt.isFunction(n)&&(n=n(e)),n||n!==!1&&Rd(e.url))){const x=u&&o&&Id.read(o);x&&p.set(u,x)}return e},Ld=typeof XMLHttpRequest<"u",Pd=Ld&&function(t){return new Promise(function(r,n){const u=fa(t);let o=u.data;const p=te.from(u.headers).normalize();let{responseType:w,onUploadProgress:_,onDownloadProgress:x}=u,d,C,k,K,tt;function st(){K&&K(),tt&&tt(),u.cancelToken&&u.cancelToken.unsubscribe(d),u.signal&&u.signal.removeEventListener("abort",d)}let V=new XMLHttpRequest;V.open(u.method.toUpperCase(),u.url,!0),V.timeout=u.timeout;function lt(){if(!V)return;const ut=te.from("getAllResponseHeaders"in V&&V.getAllResponseHeaders()),ft={data:!w||w==="text"||w==="json"?V.responseText:V.response,status:V.status,statusText:V.statusText,headers:ut,config:t,request:V};aa(function(G){r(G),st()},function(G){n(G),st()},ft),V=null}"onloadend"in V?V.onloadend=lt:V.onreadystatechange=function(){!V||V.readyState!==4||V.status===0&&!(V.responseURL&&V.responseURL.indexOf("file:")===0)||setTimeout(lt)},V.onabort=function(){V&&(n(new Ft("Request aborted",Ft.ECONNABORTED,t,V)),V=null)},V.onerror=function(){n(new Ft("Network Error",Ft.ERR_NETWORK,t,V)),V=null},V.ontimeout=function(){let dt=u.timeout?"timeout of "+u.timeout+"ms exceeded":"timeout exceeded";const ft=u.transitional||ia;u.timeoutErrorMessage&&(dt=u.timeoutErrorMessage),n(new Ft(dt,ft.clarifyTimeoutError?Ft.ETIMEDOUT:Ft.ECONNABORTED,t,V)),V=null},o===void 0&&p.setContentType(null),"setRequestHeader"in V&&rt.forEach(p.toJSON(),function(dt,ft){V.setRequestHeader(ft,dt)}),rt.isUndefined(u.withCredentials)||(V.withCredentials=!!u.withCredentials),w&&w!=="json"&&(V.responseType=u.responseType),x&&([k,tt]=Tr(x,!0),V.addEventListener("progress",k)),_&&V.upload&&([C,K]=Tr(_),V.upload.addEventListener("progress",C),V.upload.addEventListener("loadend",K)),(u.cancelToken||u.signal)&&(d=ut=>{V&&(n(!ut||ut.type?new Xe(null,t,V):ut),V.abort(),V=null)},u.cancelToken&&u.cancelToken.subscribe(d),u.signal&&(u.signal.aborted?d():u.signal.addEventListener("abort",d)));const et=Cd(u.url);if(et&&Xt.protocols.indexOf(et)===-1){n(new Ft("Unsupported protocol "+et+":",Ft.ERR_BAD_REQUEST,t));return}V.send(o||null)})},Dd=(t,e)=>{const{length:r}=t=t?t.filter(Boolean):[];if(e||r){let n=new AbortController,u;const o=function(x){if(!u){u=!0,w();const d=x instanceof Error?x:this.reason;n.abort(d instanceof Ft?d:new Xe(d instanceof Error?d.message:d))}};let p=e&&setTimeout(()=>{p=null,o(new Ft(`timeout ${e} of ms exceeded`,Ft.ETIMEDOUT))},e);const w=()=>{t&&(p&&clearTimeout(p),p=null,t.forEach(x=>{x.unsubscribe?x.unsubscribe(o):x.removeEventListener("abort",o)}),t=null)};t.forEach(x=>x.addEventListener("abort",o));const{signal:_}=n;return _.unsubscribe=()=>rt.asap(w),_}},jd=function*(t,e){let r=t.byteLength;if(r<e){yield t;return}let n=0,u;for(;n<r;)u=n+e,yield t.slice(n,u),n=u},kd=async function*(t,e){for await(const r of qd(t))yield*jd(r,e)},qd=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}const e=t.getReader();try{for(;;){const{done:r,value:n}=await e.read();if(r)break;yield n}}finally{await e.cancel()}},bo=(t,e,r,n)=>{const u=kd(t,e);let o=0,p,w=_=>{p||(p=!0,n&&n(_))};return new ReadableStream({async pull(_){try{const{done:x,value:d}=await u.next();if(x){w(),_.close();return}let C=d.byteLength;if(r){let k=o+=C;r(k)}_.enqueue(new Uint8Array(d))}catch(x){throw w(x),x}},cancel(_){return w(_),u.return()}},{highWaterMark:2})},Kr=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",la=Kr&&typeof ReadableStream=="function",zd=Kr&&(typeof TextEncoder=="function"?(t=>e=>t.encode(e))(new TextEncoder):async t=>new Uint8Array(await new Response(t).arrayBuffer())),ca=(t,...e)=>{try{return!!t(...e)}catch{return!1}},Hd=la&&ca(()=>{let t=!1;const e=new Request(Xt.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),Eo=64*1024,Yn=la&&ca(()=>rt.isReadableStream(new Response("").body)),Cr={stream:Yn&&(t=>t.body)};Kr&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!Cr[e]&&(Cr[e]=rt.isFunction(t[e])?r=>r[e]():(r,n)=>{throw new Ft(`Response type '${e}' is not supported`,Ft.ERR_NOT_SUPPORT,n)})})})(new Response);const Gd=async t=>{if(t==null)return 0;if(rt.isBlob(t))return t.size;if(rt.isSpecCompliantForm(t))return(await new Request(Xt.origin,{method:"POST",body:t}).arrayBuffer()).byteLength;if(rt.isArrayBufferView(t)||rt.isArrayBuffer(t))return t.byteLength;if(rt.isURLSearchParams(t)&&(t=t+""),rt.isString(t))return(await zd(t)).byteLength},Wd=async(t,e)=>{const r=rt.toFiniteNumber(t.getContentLength());return r??Gd(e)},Zd=Kr&&(async t=>{let{url:e,method:r,data:n,signal:u,cancelToken:o,timeout:p,onDownloadProgress:w,onUploadProgress:_,responseType:x,headers:d,withCredentials:C="same-origin",fetchOptions:k}=fa(t);x=x?(x+"").toLowerCase():"text";let K=Dd([u,o&&o.toAbortSignal()],p),tt;const st=K&&K.unsubscribe&&(()=>{K.unsubscribe()});let V;try{if(_&&Hd&&r!=="get"&&r!=="head"&&(V=await Wd(d,n))!==0){let ft=new Request(e,{method:"POST",body:n,duplex:"half"}),J;if(rt.isFormData(n)&&(J=ft.headers.get("content-type"))&&d.setContentType(J),ft.body){const[G,at]=wo(V,Tr(xo(_)));n=bo(ft.body,Eo,G,at)}}rt.isString(C)||(C=C?"include":"omit");const lt="credentials"in Request.prototype;tt=new Request(e,{...k,signal:K,method:r.toUpperCase(),headers:d.normalize().toJSON(),body:n,duplex:"half",credentials:lt?C:void 0});let et=await fetch(tt);const ut=Yn&&(x==="stream"||x==="response");if(Yn&&(w||ut&&st)){const ft={};["status","statusText","headers"].forEach(mt=>{ft[mt]=et[mt]});const J=rt.toFiniteNumber(et.headers.get("content-length")),[G,at]=w&&wo(J,Tr(xo(w),!0))||[];et=new Response(bo(et.body,Eo,G,()=>{at&&at(),st&&st()}),ft)}x=x||"text";let dt=await Cr[rt.findKey(Cr,x)||"text"](et,t);return!ut&&st&&st(),await new Promise((ft,J)=>{aa(ft,J,{data:dt,headers:te.from(et.headers),status:et.status,statusText:et.statusText,config:t,request:tt})})}catch(lt){throw st&&st(),lt&&lt.name==="TypeError"&&/Load failed|fetch/i.test(lt.message)?Object.assign(new Ft("Network Error",Ft.ERR_NETWORK,t,tt),{cause:lt.cause||lt}):Ft.from(lt,lt&&lt.code,t,tt)}}),Xn={http:ud,xhr:Pd,fetch:Zd};rt.forEach(Xn,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const Mo=t=>`- ${t}`,Jd=t=>rt.isFunction(t)||t===null||t===!1,ha={getAdapter:t=>{t=rt.isArray(t)?t:[t];const{length:e}=t;let r,n;const u={};for(let o=0;o<e;o++){r=t[o];let p;if(n=r,!Jd(r)&&(n=Xn[(p=String(r)).toLowerCase()],n===void 0))throw new Ft(`Unknown adapter '${p}'`);if(n)break;u[p||"#"+o]=n}if(!n){const o=Object.entries(u).map(([w,_])=>`adapter ${w} `+(_===!1?"is not supported by the environment":"is not available in the build"));let p=e?o.length>1?`since :
9
- `+o.map(Mo).join(`
10
- `):" "+Mo(o[0]):"as no adapter specified";throw new Ft("There is no suitable adapter to dispatch the request "+p,"ERR_NOT_SUPPORT")}return n},adapters:Xn};function An(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Xe(null,t)}function _o(t){return An(t),t.headers=te.from(t.headers),t.data=Bn.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),ha.getAdapter(t.adapter||dr.adapter)(t).then(function(n){return An(t),n.data=Bn.call(t,t.transformResponse,n),n.headers=te.from(n.headers),n},function(n){return sa(n)||(An(t),n&&n.response&&(n.response.data=Bn.call(t,t.transformResponse,n.response),n.response.headers=te.from(n.response.headers))),Promise.reject(n)})}const pa="1.9.0",Yr={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Yr[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});const So={};Yr.transitional=function(e,r,n){function u(o,p){return"[Axios v"+pa+"] Transitional option '"+o+"'"+p+(n?". "+n:"")}return(o,p,w)=>{if(e===!1)throw new Ft(u(p," has been removed"+(r?" in "+r:"")),Ft.ERR_DEPRECATED);return r&&!So[p]&&(So[p]=!0,console.warn(u(p," has been deprecated since v"+r+" and will be removed in the near future"))),e?e(o,p,w):!0}};Yr.spelling=function(e){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};function Vd(t,e,r){if(typeof t!="object")throw new Ft("options must be an object",Ft.ERR_BAD_OPTION_VALUE);const n=Object.keys(t);let u=n.length;for(;u-- >0;){const o=n[u],p=e[o];if(p){const w=t[o],_=w===void 0||p(w,o,t);if(_!==!0)throw new Ft("option "+o+" must be "+_,Ft.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Ft("Unknown option "+o,Ft.ERR_BAD_OPTION)}}const _r={assertOptions:Vd,validators:Yr},de=_r.validators;let Oe=class{constructor(e){this.defaults=e||{},this.interceptors={request:new mo,response:new mo}}async request(e,r){try{return await this._request(e,r)}catch(n){if(n instanceof Error){let u={};Error.captureStackTrace?Error.captureStackTrace(u):u=new Error;const o=u.stack?u.stack.replace(/^.+\n/,""):"";try{n.stack?o&&!String(n.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(n.stack+=`
11
- `+o):n.stack=o}catch{}}throw n}}_request(e,r){typeof e=="string"?(r=r||{},r.url=e):r=e||{},r=Fe(this.defaults,r);const{transitional:n,paramsSerializer:u,headers:o}=r;n!==void 0&&_r.assertOptions(n,{silentJSONParsing:de.transitional(de.boolean),forcedJSONParsing:de.transitional(de.boolean),clarifyTimeoutError:de.transitional(de.boolean)},!1),u!=null&&(rt.isFunction(u)?r.paramsSerializer={serialize:u}:_r.assertOptions(u,{encode:de.function,serialize:de.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),_r.assertOptions(r,{baseUrl:de.spelling("baseURL"),withXsrfToken:de.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let p=o&&rt.merge(o.common,o[r.method]);o&&rt.forEach(["delete","get","head","post","put","patch","common"],tt=>{delete o[tt]}),r.headers=te.concat(p,o);const w=[];let _=!0;this.interceptors.request.forEach(function(st){typeof st.runWhen=="function"&&st.runWhen(r)===!1||(_=_&&st.synchronous,w.unshift(st.fulfilled,st.rejected))});const x=[];this.interceptors.response.forEach(function(st){x.push(st.fulfilled,st.rejected)});let d,C=0,k;if(!_){const tt=[_o.bind(this),void 0];for(tt.unshift.apply(tt,w),tt.push.apply(tt,x),k=tt.length,d=Promise.resolve(r);C<k;)d=d.then(tt[C++],tt[C++]);return d}k=w.length;let K=r;for(C=0;C<k;){const tt=w[C++],st=w[C++];try{K=tt(K)}catch(V){st.call(this,V);break}}try{d=_o.call(this,K)}catch(tt){return Promise.reject(tt)}for(C=0,k=x.length;C<k;)d=d.then(x[C++],x[C++]);return d}getUri(e){e=Fe(this.defaults,e);const r=ua(e.baseURL,e.url,e.allowAbsoluteUrls);return na(r,e.params,e.paramsSerializer)}};rt.forEach(["delete","get","head","options"],function(e){Oe.prototype[e]=function(r,n){return this.request(Fe(n||{},{method:e,url:r,data:(n||{}).data}))}});rt.forEach(["post","put","patch"],function(e){function r(n){return function(o,p,w){return this.request(Fe(w||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:o,data:p}))}}Oe.prototype[e]=r(),Oe.prototype[e+"Form"]=r(!0)});let Kd=class da{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(o){r=o});const n=this;this.promise.then(u=>{if(!n._listeners)return;let o=n._listeners.length;for(;o-- >0;)n._listeners[o](u);n._listeners=null}),this.promise.then=u=>{let o;const p=new Promise(w=>{n.subscribe(w),o=w}).then(u);return p.cancel=function(){n.unsubscribe(o)},p},e(function(o,p,w){n.reason||(n.reason=new Xe(o,p,w),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const r=this._listeners.indexOf(e);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const e=new AbortController,r=n=>{e.abort(n)};return this.subscribe(r),e.signal.unsubscribe=()=>this.unsubscribe(r),e.signal}static source(){let e;return{token:new da(function(u){e=u}),cancel:e}}};function Yd(t){return function(r){return t.apply(null,r)}}function Xd(t){return rt.isObject(t)&&t.isAxiosError===!0}const Qn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Qn).forEach(([t,e])=>{Qn[e]=t});function ga(t){const e=new Oe(t),r=Hs(Oe.prototype.request,e);return rt.extend(r,Oe.prototype,e,{allOwnKeys:!0}),rt.extend(r,e,null,{allOwnKeys:!0}),r.create=function(u){return ga(Fe(t,u))},r}const Vt=ga(dr);Vt.Axios=Oe;Vt.CanceledError=Xe;Vt.CancelToken=Kd;Vt.isCancel=sa;Vt.VERSION=pa;Vt.toFormData=Vr;Vt.AxiosError=Ft;Vt.Cancel=Vt.CanceledError;Vt.all=function(e){return Promise.all(e)};Vt.spread=Yd;Vt.isAxiosError=Xd;Vt.mergeConfig=Fe;Vt.AxiosHeaders=te;Vt.formToJSON=t=>oa(rt.isHTMLForm(t)?new FormData(t):t);Vt.getAdapter=ha.getAdapter;Vt.HttpStatusCode=Qn;Vt.default=Vt;const{Axios:Py,AxiosError:Dy,CanceledError:jy,isCancel:ky,CancelToken:qy,VERSION:zy,all:Hy,Cancel:Gy,isAxiosError:Wy,spread:Zy,toFormData:Jy,AxiosHeaders:Vy,HttpStatusCode:Ky,formToJSON:Yy,getAdapter:Xy,mergeConfig:Qy}=Vt;var Qd="[object Boolean]";function tg(t){return t===!0||t===!1||ee(t)&&ce(t)==Qd}const tw=Object.freeze(Object.defineProperty({__proto__:null,default:tg},Symbol.toStringTag,{value:"Module"}));var eg="[object String]";function rg(t){return typeof t=="string"||!Gt(t)&&ee(t)&&ce(t)==eg}const ew=Object.freeze(Object.defineProperty({__proto__:null,default:rg},Symbol.toStringTag,{value:"Module"}));var ng="[object Number]";function ig(t){return typeof t=="number"||ee(t)&&ce(t)==ng}const rw=Object.freeze(Object.defineProperty({__proto__:null,default:ig},Symbol.toStringTag,{value:"Module"}));function og(t){return function(e){e=ne(e);var r=Rr(e)?ke(e):void 0,n=r?r[0]:e.charAt(0),u=r?Fr(r,1).join(""):e.slice(1);return n[t]()+u}}var ma=og("toUpperCase");const nw=Object.freeze(Object.defineProperty({__proto__:null,default:ma},Symbol.toStringTag,{value:"Module"}));function sg(t){return ma(ne(t).toLowerCase())}function ag(t,e,r,n){for(var u=-1,o=t==null?0:t.length;++u<o;)r=e(r,t[u],u,t);return r}function ya(t){return function(e){return t?.[e]}}var ug={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},fg=ya(ug),lg=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,cg="\\u0300-\\u036f",hg="\\ufe20-\\ufe2f",pg="\\u20d0-\\u20ff",dg=cg+hg+pg,gg="["+dg+"]",mg=RegExp(gg,"g");function yg(t){return t=ne(t),t&&t.replace(lg,fg).replace(mg,"")}var wg=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function xg(t){return t.match(wg)||[]}var vg=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function bg(t){return vg.test(t)}var wa="\\ud800-\\udfff",Eg="\\u0300-\\u036f",Mg="\\ufe20-\\ufe2f",_g="\\u20d0-\\u20ff",Sg=Eg+Mg+_g,xa="\\u2700-\\u27bf",va="a-z\\xdf-\\xf6\\xf8-\\xff",Bg="\\xac\\xb1\\xd7\\xf7",Ag="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Og="\\u2000-\\u206f",Tg=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ba="A-Z\\xc0-\\xd6\\xd8-\\xde",Cg="\\ufe0e\\ufe0f",Ea=Bg+Ag+Og+Tg,Ma="['’]",Bo="["+Ea+"]",$g="["+Sg+"]",_a="\\d+",Fg="["+xa+"]",Sa="["+va+"]",Ba="[^"+wa+Ea+_a+xa+va+ba+"]",Rg="\\ud83c[\\udffb-\\udfff]",Ig="(?:"+$g+"|"+Rg+")",Ng="[^"+wa+"]",Aa="(?:\\ud83c[\\udde6-\\uddff]){2}",Oa="[\\ud800-\\udbff][\\udc00-\\udfff]",Le="["+ba+"]",Ug="\\u200d",Ao="(?:"+Sa+"|"+Ba+")",Lg="(?:"+Le+"|"+Ba+")",Oo="(?:"+Ma+"(?:d|ll|m|re|s|t|ve))?",To="(?:"+Ma+"(?:D|LL|M|RE|S|T|VE))?",Ta=Ig+"?",Ca="["+Cg+"]?",Pg="(?:"+Ug+"(?:"+[Ng,Aa,Oa].join("|")+")"+Ca+Ta+")*",Dg="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",jg="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",kg=Ca+Ta+Pg,qg="(?:"+[Fg,Aa,Oa].join("|")+")"+kg,zg=RegExp([Le+"?"+Sa+"+"+Oo+"(?="+[Bo,Le,"$"].join("|")+")",Lg+"+"+To+"(?="+[Bo,Le+Ao,"$"].join("|")+")",Le+"?"+Ao+"+"+Oo,Le+"+"+To,jg,Dg,_a,qg].join("|"),"g");function Hg(t){return t.match(zg)||[]}function Gg(t,e,r){return t=ne(t),e=e,e===void 0?bg(t)?Hg(t):xg(t):t.match(e)||[]}var Wg="['’]",Zg=RegExp(Wg,"g");function Jg(t){return function(e){return ag(Gg(yg(e).replace(Zg,"")),t,"")}}var Vg=Jg(function(t,e,r){return e=e.toLowerCase(),t+(r?sg(e):e)});const iw=Object.freeze(Object.defineProperty({__proto__:null,default:Vg},Symbol.toStringTag,{value:"Module"}));function Kg(t){return t===null}const ow=Object.freeze(Object.defineProperty({__proto__:null,default:Kg},Symbol.toStringTag,{value:"Module"}));function Yg(t,e,r){t=ne(t),e=We(e);var n=e?ei(t):0;return e&&n<e?t+os(e-n,r):t}const sw=Object.freeze(Object.defineProperty({__proto__:null,default:Yg},Symbol.toStringTag,{value:"Module"}));var Sr={exports:{}},On={},Co;function Xg(){return Co||(Co=1,function(t){Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var e={},r={};r.byteLength=d,r.toByteArray=k,r.fromByteArray=st;for(var n=[],u=[],o=typeof Uint8Array<"u"?Uint8Array:Array,p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",w=0,_=p.length;w<_;++w)n[w]=p[w],u[p.charCodeAt(w)]=w;u[45]=62,u[95]=63;function x(et){var ut=et.length;if(ut%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var dt=et.indexOf("=");dt===-1&&(dt=ut);var ft=dt===ut?0:4-dt%4;return[dt,ft]}function d(et){var ut=x(et),dt=ut[0],ft=ut[1];return(dt+ft)*3/4-ft}function C(et,ut,dt){return(ut+dt)*3/4-dt}function k(et){var ut,dt=x(et),ft=dt[0],J=dt[1],G=new o(C(et,ft,J)),at=0,mt=J>0?ft-4:ft,ot;for(ot=0;ot<mt;ot+=4)ut=u[et.charCodeAt(ot)]<<18|u[et.charCodeAt(ot+1)]<<12|u[et.charCodeAt(ot+2)]<<6|u[et.charCodeAt(ot+3)],G[at++]=ut>>16&255,G[at++]=ut>>8&255,G[at++]=ut&255;return J===2&&(ut=u[et.charCodeAt(ot)]<<2|u[et.charCodeAt(ot+1)]>>4,G[at++]=ut&255),J===1&&(ut=u[et.charCodeAt(ot)]<<10|u[et.charCodeAt(ot+1)]<<4|u[et.charCodeAt(ot+2)]>>2,G[at++]=ut>>8&255,G[at++]=ut&255),G}function K(et){return n[et>>18&63]+n[et>>12&63]+n[et>>6&63]+n[et&63]}function tt(et,ut,dt){for(var ft,J=[],G=ut;G<dt;G+=3)ft=(et[G]<<16&16711680)+(et[G+1]<<8&65280)+(et[G+2]&255),J.push(K(ft));return J.join("")}function st(et){for(var ut,dt=et.length,ft=dt%3,J=[],G=16383,at=0,mt=dt-ft;at<mt;at+=G)J.push(tt(et,at,at+G>mt?mt:at+G));return ft===1?(ut=et[dt-1],J.push(n[ut>>2]+n[ut<<4&63]+"==")):ft===2&&(ut=(et[dt-2]<<8)+et[dt-1],J.push(n[ut>>10]+n[ut>>4&63]+n[ut<<2&63]+"=")),J.join("")}var V={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */V.read=function(et,ut,dt,ft,J){var G,at,mt=J*8-ft-1,ot=(1<<mt)-1,ct=ot>>1,j=-7,T=dt?J-1:0,i=dt?-1:1,h=et[ut+T];for(T+=i,G=h&(1<<-j)-1,h>>=-j,j+=mt;j>0;G=G*256+et[ut+T],T+=i,j-=8);for(at=G&(1<<-j)-1,G>>=-j,j+=ft;j>0;at=at*256+et[ut+T],T+=i,j-=8);if(G===0)G=1-ct;else{if(G===ot)return at?NaN:(h?-1:1)*(1/0);at=at+Math.pow(2,ft),G=G-ct}return(h?-1:1)*at*Math.pow(2,G-ft)},V.write=function(et,ut,dt,ft,J,G){var at,mt,ot,ct=G*8-J-1,j=(1<<ct)-1,T=j>>1,i=J===23?Math.pow(2,-24)-Math.pow(2,-77):0,h=ft?0:G-1,g=ft?1:-1,v=ut<0||ut===0&&1/ut<0?1:0;for(ut=Math.abs(ut),isNaN(ut)||ut===1/0?(mt=isNaN(ut)?1:0,at=j):(at=Math.floor(Math.log(ut)/Math.LN2),ut*(ot=Math.pow(2,-at))<1&&(at--,ot*=2),at+T>=1?ut+=i/ot:ut+=i*Math.pow(2,1-T),ut*ot>=2&&(at++,ot/=2),at+T>=j?(mt=0,at=j):at+T>=1?(mt=(ut*ot-1)*Math.pow(2,J),at=at+T):(mt=ut*Math.pow(2,T-1)*Math.pow(2,J),at=0));J>=8;et[dt+h]=mt&255,h+=g,mt/=256,J-=8);for(at=at<<J|mt,ct+=J;ct>0;et[dt+h]=at&255,h+=g,at/=256,ct-=8);et[dt+h-g]|=v*128};/*!
12
- * The buffer module from node.js, for the browser.
13
- *
14
- * @author Feross Aboukhadijeh <https://feross.org>
15
- * @license MIT
16
- */(function(et){const ut=r,dt=V,ft=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;et.Buffer=j,et.SlowBuffer=O,et.INSPECT_MAX_BYTES=50;const J=2147483647;et.kMaxLength=J;const{Uint8Array:G,ArrayBuffer:at,SharedArrayBuffer:mt}=globalThis;j.TYPED_ARRAY_SUPPORT=ot(),!j.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ot(){try{const y=new G(1),a={foo:function(){return 42}};return Object.setPrototypeOf(a,G.prototype),Object.setPrototypeOf(y,a),y.foo()===42}catch{return!1}}Object.defineProperty(j.prototype,"parent",{enumerable:!0,get:function(){if(j.isBuffer(this))return this.buffer}}),Object.defineProperty(j.prototype,"offset",{enumerable:!0,get:function(){if(j.isBuffer(this))return this.byteOffset}});function ct(y){if(y>J)throw new RangeError('The value "'+y+'" is invalid for option "size"');const a=new G(y);return Object.setPrototypeOf(a,j.prototype),a}function j(y,a,l){if(typeof y=="number"){if(typeof a=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return g(y)}return T(y,a,l)}j.poolSize=8192;function T(y,a,l){if(typeof y=="string")return v(y,a);if(at.isView(y))return F(y);if(y==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof y);if(re(y,at)||y&&re(y.buffer,at)||typeof mt<"u"&&(re(y,mt)||y&&re(y.buffer,mt)))return I(y,a,l);if(typeof y=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const S=y.valueOf&&y.valueOf();if(S!=null&&S!==y)return j.from(S,a,l);const P=B(y);if(P)return P;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof y[Symbol.toPrimitive]=="function")return j.from(y[Symbol.toPrimitive]("string"),a,l);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof y)}j.from=function(y,a,l){return T(y,a,l)},Object.setPrototypeOf(j.prototype,G.prototype),Object.setPrototypeOf(j,G);function i(y){if(typeof y!="number")throw new TypeError('"size" argument must be of type number');if(y<0)throw new RangeError('The value "'+y+'" is invalid for option "size"')}function h(y,a,l){return i(y),y<=0?ct(y):a!==void 0?typeof l=="string"?ct(y).fill(a,l):ct(y).fill(a):ct(y)}j.alloc=function(y,a,l){return h(y,a,l)};function g(y){return i(y),ct(y<0?0:c(y)|0)}j.allocUnsafe=function(y){return g(y)},j.allocUnsafeSlow=function(y){return g(y)};function v(y,a){if((typeof a!="string"||a==="")&&(a="utf8"),!j.isEncoding(a))throw new TypeError("Unknown encoding: "+a);const l=H(y,a)|0;let S=ct(l);const P=S.write(y,a);return P!==l&&(S=S.slice(0,P)),S}function E(y){const a=y.length<0?0:c(y.length)|0,l=ct(a);for(let S=0;S<a;S+=1)l[S]=y[S]&255;return l}function F(y){if(re(y,G)){const a=new G(y);return I(a.buffer,a.byteOffset,a.byteLength)}return E(y)}function I(y,a,l){if(a<0||y.byteLength<a)throw new RangeError('"offset" is outside of buffer bounds');if(y.byteLength<a+(l||0))throw new RangeError('"length" is outside of buffer bounds');let S;return a===void 0&&l===void 0?S=new G(y):l===void 0?S=new G(y,a):S=new G(y,a,l),Object.setPrototypeOf(S,j.prototype),S}function B(y){if(j.isBuffer(y)){const a=c(y.length)|0,l=ct(a);return l.length===0||y.copy(l,0,0,a),l}if(y.length!==void 0)return typeof y.length!="number"||kt(y.length)?ct(0):E(y);if(y.type==="Buffer"&&Array.isArray(y.data))return E(y.data)}function c(y){if(y>=J)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+J.toString(16)+" bytes");return y|0}function O(y){return+y!=y&&(y=0),j.alloc(+y)}j.isBuffer=function(a){return a!=null&&a._isBuffer===!0&&a!==j.prototype},j.compare=function(a,l){if(re(a,G)&&(a=j.from(a,a.offset,a.byteLength)),re(l,G)&&(l=j.from(l,l.offset,l.byteLength)),!j.isBuffer(a)||!j.isBuffer(l))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(a===l)return 0;let S=a.length,P=l.length;for(let W=0,nt=Math.min(S,P);W<nt;++W)if(a[W]!==l[W]){S=a[W],P=l[W];break}return S<P?-1:P<S?1:0},j.isEncoding=function(a){switch(String(a).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},j.concat=function(a,l){if(!Array.isArray(a))throw new TypeError('"list" argument must be an Array of Buffers');if(a.length===0)return j.alloc(0);let S;if(l===void 0)for(l=0,S=0;S<a.length;++S)l+=a[S].length;const P=j.allocUnsafe(l);let W=0;for(S=0;S<a.length;++S){let nt=a[S];if(re(nt,G))W+nt.length>P.length?(j.isBuffer(nt)||(nt=j.from(nt)),nt.copy(P,W)):G.prototype.set.call(P,nt,W);else if(j.isBuffer(nt))nt.copy(P,W);else throw new TypeError('"list" argument must be an Array of Buffers');W+=nt.length}return P};function H(y,a){if(j.isBuffer(y))return y.length;if(at.isView(y)||re(y,at))return y.byteLength;if(typeof y!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof y);const l=y.length,S=arguments.length>2&&arguments[2]===!0;if(!S&&l===0)return 0;let P=!1;for(;;)switch(a){case"ascii":case"latin1":case"binary":return l;case"utf8":case"utf-8":return St(y).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return l*2;case"hex":return l>>>1;case"base64":return bt(y).length;default:if(P)return S?-1:St(y).length;a=(""+a).toLowerCase(),P=!0}}j.byteLength=H;function pt(y,a,l){let S=!1;if((a===void 0||a<0)&&(a=0),a>this.length||((l===void 0||l>this.length)&&(l=this.length),l<=0)||(l>>>=0,a>>>=0,l<=a))return"";for(y||(y="utf8");;)switch(y){case"hex":return z(this,a,l);case"utf8":case"utf-8":return D(this,a,l);case"ascii":return L(this,a,l);case"latin1":case"binary":return X(this,a,l);case"base64":return U(this,a,l);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return it(this,a,l);default:if(S)throw new TypeError("Unknown encoding: "+y);y=(y+"").toLowerCase(),S=!0}}j.prototype._isBuffer=!0;function yt(y,a,l){const S=y[a];y[a]=y[l],y[l]=S}j.prototype.swap16=function(){const a=this.length;if(a%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let l=0;l<a;l+=2)yt(this,l,l+1);return this},j.prototype.swap32=function(){const a=this.length;if(a%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let l=0;l<a;l+=4)yt(this,l,l+3),yt(this,l+1,l+2);return this},j.prototype.swap64=function(){const a=this.length;if(a%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let l=0;l<a;l+=8)yt(this,l,l+7),yt(this,l+1,l+6),yt(this,l+2,l+5),yt(this,l+3,l+4);return this},j.prototype.toString=function(){const a=this.length;return a===0?"":arguments.length===0?D(this,0,a):pt.apply(this,arguments)},j.prototype.toLocaleString=j.prototype.toString,j.prototype.equals=function(a){if(!j.isBuffer(a))throw new TypeError("Argument must be a Buffer");return this===a?!0:j.compare(this,a)===0},j.prototype.inspect=function(){let a="";const l=et.INSPECT_MAX_BYTES;return a=this.toString("hex",0,l).replace(/(.{2})/g,"$1 ").trim(),this.length>l&&(a+=" ... "),"<Buffer "+a+">"},ft&&(j.prototype[ft]=j.prototype.inspect),j.prototype.compare=function(a,l,S,P,W){if(re(a,G)&&(a=j.from(a,a.offset,a.byteLength)),!j.isBuffer(a))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof a);if(l===void 0&&(l=0),S===void 0&&(S=a?a.length:0),P===void 0&&(P=0),W===void 0&&(W=this.length),l<0||S>a.length||P<0||W>this.length)throw new RangeError("out of range index");if(P>=W&&l>=S)return 0;if(P>=W)return-1;if(l>=S)return 1;if(l>>>=0,S>>>=0,P>>>=0,W>>>=0,this===a)return 0;let nt=W-P,Rt=S-l;const $t=Math.min(nt,Rt),Tt=this.slice(P,W),Dt=a.slice(l,S);for(let Mt=0;Mt<$t;++Mt)if(Tt[Mt]!==Dt[Mt]){nt=Tt[Mt],Rt=Dt[Mt];break}return nt<Rt?-1:Rt<nt?1:0};function Nt(y,a,l,S,P){if(y.length===0)return-1;if(typeof l=="string"?(S=l,l=0):l>2147483647?l=2147483647:l<-2147483648&&(l=-2147483648),l=+l,kt(l)&&(l=P?0:y.length-1),l<0&&(l=y.length+l),l>=y.length){if(P)return-1;l=y.length-1}else if(l<0)if(P)l=0;else return-1;if(typeof a=="string"&&(a=j.from(a,S)),j.isBuffer(a))return a.length===0?-1:Et(y,a,l,S,P);if(typeof a=="number")return a=a&255,typeof G.prototype.indexOf=="function"?P?G.prototype.indexOf.call(y,a,l):G.prototype.lastIndexOf.call(y,a,l):Et(y,[a],l,S,P);throw new TypeError("val must be string, number or Buffer")}function Et(y,a,l,S,P){let W=1,nt=y.length,Rt=a.length;if(S!==void 0&&(S=String(S).toLowerCase(),S==="ucs2"||S==="ucs-2"||S==="utf16le"||S==="utf-16le")){if(y.length<2||a.length<2)return-1;W=2,nt/=2,Rt/=2,l/=2}function $t(Dt,Mt){return W===1?Dt[Mt]:Dt.readUInt16BE(Mt*W)}let Tt;if(P){let Dt=-1;for(Tt=l;Tt<nt;Tt++)if($t(y,Tt)===$t(a,Dt===-1?0:Tt-Dt)){if(Dt===-1&&(Dt=Tt),Tt-Dt+1===Rt)return Dt*W}else Dt!==-1&&(Tt-=Tt-Dt),Dt=-1}else for(l+Rt>nt&&(l=nt-Rt),Tt=l;Tt>=0;Tt--){let Dt=!0;for(let Mt=0;Mt<Rt;Mt++)if($t(y,Tt+Mt)!==$t(a,Mt)){Dt=!1;break}if(Dt)return Tt}return-1}j.prototype.includes=function(a,l,S){return this.indexOf(a,l,S)!==-1},j.prototype.indexOf=function(a,l,S){return Nt(this,a,l,S,!0)},j.prototype.lastIndexOf=function(a,l,S){return Nt(this,a,l,S,!1)};function At(y,a,l,S){l=Number(l)||0;const P=y.length-l;S?(S=Number(S),S>P&&(S=P)):S=P;const W=a.length;S>W/2&&(S=W/2);let nt;for(nt=0;nt<S;++nt){const Rt=parseInt(a.substr(nt*2,2),16);if(kt(Rt))return nt;y[l+nt]=Rt}return nt}function b(y,a,l,S){return Pt(St(a,y.length-l),y,l,S)}function A(y,a,l,S){return Pt(Bt(a),y,l,S)}function $(y,a,l,S){return Pt(bt(a),y,l,S)}function Z(y,a,l,S){return Pt(Ut(a,y.length-l),y,l,S)}j.prototype.write=function(a,l,S,P){if(l===void 0)P="utf8",S=this.length,l=0;else if(S===void 0&&typeof l=="string")P=l,S=this.length,l=0;else if(isFinite(l))l=l>>>0,isFinite(S)?(S=S>>>0,P===void 0&&(P="utf8")):(P=S,S=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const W=this.length-l;if((S===void 0||S>W)&&(S=W),a.length>0&&(S<0||l<0)||l>this.length)throw new RangeError("Attempt to write outside buffer bounds");P||(P="utf8");let nt=!1;for(;;)switch(P){case"hex":return At(this,a,l,S);case"utf8":case"utf-8":return b(this,a,l,S);case"ascii":case"latin1":case"binary":return A(this,a,l,S);case"base64":return $(this,a,l,S);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Z(this,a,l,S);default:if(nt)throw new TypeError("Unknown encoding: "+P);P=(""+P).toLowerCase(),nt=!0}},j.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function U(y,a,l){return a===0&&l===y.length?ut.fromByteArray(y):ut.fromByteArray(y.slice(a,l))}function D(y,a,l){l=Math.min(y.length,l);const S=[];let P=a;for(;P<l;){const W=y[P];let nt=null,Rt=W>239?4:W>223?3:W>191?2:1;if(P+Rt<=l){let $t,Tt,Dt,Mt;switch(Rt){case 1:W<128&&(nt=W);break;case 2:$t=y[P+1],($t&192)===128&&(Mt=(W&31)<<6|$t&63,Mt>127&&(nt=Mt));break;case 3:$t=y[P+1],Tt=y[P+2],($t&192)===128&&(Tt&192)===128&&(Mt=(W&15)<<12|($t&63)<<6|Tt&63,Mt>2047&&(Mt<55296||Mt>57343)&&(nt=Mt));break;case 4:$t=y[P+1],Tt=y[P+2],Dt=y[P+3],($t&192)===128&&(Tt&192)===128&&(Dt&192)===128&&(Mt=(W&15)<<18|($t&63)<<12|(Tt&63)<<6|Dt&63,Mt>65535&&Mt<1114112&&(nt=Mt))}}nt===null?(nt=65533,Rt=1):nt>65535&&(nt-=65536,S.push(nt>>>10&1023|55296),nt=56320|nt&1023),S.push(nt),P+=Rt}return R(S)}const Q=4096;function R(y){const a=y.length;if(a<=Q)return String.fromCharCode.apply(String,y);let l="",S=0;for(;S<a;)l+=String.fromCharCode.apply(String,y.slice(S,S+=Q));return l}function L(y,a,l){let S="";l=Math.min(y.length,l);for(let P=a;P<l;++P)S+=String.fromCharCode(y[P]&127);return S}function X(y,a,l){let S="";l=Math.min(y.length,l);for(let P=a;P<l;++P)S+=String.fromCharCode(y[P]);return S}function z(y,a,l){const S=y.length;(!a||a<0)&&(a=0),(!l||l<0||l>S)&&(l=S);let P="";for(let W=a;W<l;++W)P+=qt[y[W]];return P}function it(y,a,l){const S=y.slice(a,l);let P="";for(let W=0;W<S.length-1;W+=2)P+=String.fromCharCode(S[W]+S[W+1]*256);return P}j.prototype.slice=function(a,l){const S=this.length;a=~~a,l=l===void 0?S:~~l,a<0?(a+=S,a<0&&(a=0)):a>S&&(a=S),l<0?(l+=S,l<0&&(l=0)):l>S&&(l=S),l<a&&(l=a);const P=this.subarray(a,l);return Object.setPrototypeOf(P,j.prototype),P};function gt(y,a,l){if(y%1!==0||y<0)throw new RangeError("offset is not uint");if(y+a>l)throw new RangeError("Trying to access beyond buffer length")}j.prototype.readUintLE=j.prototype.readUIntLE=function(a,l,S){a=a>>>0,l=l>>>0,S||gt(a,l,this.length);let P=this[a],W=1,nt=0;for(;++nt<l&&(W*=256);)P+=this[a+nt]*W;return P},j.prototype.readUintBE=j.prototype.readUIntBE=function(a,l,S){a=a>>>0,l=l>>>0,S||gt(a,l,this.length);let P=this[a+--l],W=1;for(;l>0&&(W*=256);)P+=this[a+--l]*W;return P},j.prototype.readUint8=j.prototype.readUInt8=function(a,l){return a=a>>>0,l||gt(a,1,this.length),this[a]},j.prototype.readUint16LE=j.prototype.readUInt16LE=function(a,l){return a=a>>>0,l||gt(a,2,this.length),this[a]|this[a+1]<<8},j.prototype.readUint16BE=j.prototype.readUInt16BE=function(a,l){return a=a>>>0,l||gt(a,2,this.length),this[a]<<8|this[a+1]},j.prototype.readUint32LE=j.prototype.readUInt32LE=function(a,l){return a=a>>>0,l||gt(a,4,this.length),(this[a]|this[a+1]<<8|this[a+2]<<16)+this[a+3]*16777216},j.prototype.readUint32BE=j.prototype.readUInt32BE=function(a,l){return a=a>>>0,l||gt(a,4,this.length),this[a]*16777216+(this[a+1]<<16|this[a+2]<<8|this[a+3])},j.prototype.readBigUInt64LE=ue(function(a){a=a>>>0,N(a,"offset");const l=this[a],S=this[a+7];(l===void 0||S===void 0)&&q(a,this.length-8);const P=l+this[++a]*2**8+this[++a]*2**16+this[++a]*2**24,W=this[++a]+this[++a]*2**8+this[++a]*2**16+S*2**24;return BigInt(P)+(BigInt(W)<<BigInt(32))}),j.prototype.readBigUInt64BE=ue(function(a){a=a>>>0,N(a,"offset");const l=this[a],S=this[a+7];(l===void 0||S===void 0)&&q(a,this.length-8);const P=l*2**24+this[++a]*2**16+this[++a]*2**8+this[++a],W=this[++a]*2**24+this[++a]*2**16+this[++a]*2**8+S;return(BigInt(P)<<BigInt(32))+BigInt(W)}),j.prototype.readIntLE=function(a,l,S){a=a>>>0,l=l>>>0,S||gt(a,l,this.length);let P=this[a],W=1,nt=0;for(;++nt<l&&(W*=256);)P+=this[a+nt]*W;return W*=128,P>=W&&(P-=Math.pow(2,8*l)),P},j.prototype.readIntBE=function(a,l,S){a=a>>>0,l=l>>>0,S||gt(a,l,this.length);let P=l,W=1,nt=this[a+--P];for(;P>0&&(W*=256);)nt+=this[a+--P]*W;return W*=128,nt>=W&&(nt-=Math.pow(2,8*l)),nt},j.prototype.readInt8=function(a,l){return a=a>>>0,l||gt(a,1,this.length),this[a]&128?(255-this[a]+1)*-1:this[a]},j.prototype.readInt16LE=function(a,l){a=a>>>0,l||gt(a,2,this.length);const S=this[a]|this[a+1]<<8;return S&32768?S|4294901760:S},j.prototype.readInt16BE=function(a,l){a=a>>>0,l||gt(a,2,this.length);const S=this[a+1]|this[a]<<8;return S&32768?S|4294901760:S},j.prototype.readInt32LE=function(a,l){return a=a>>>0,l||gt(a,4,this.length),this[a]|this[a+1]<<8|this[a+2]<<16|this[a+3]<<24},j.prototype.readInt32BE=function(a,l){return a=a>>>0,l||gt(a,4,this.length),this[a]<<24|this[a+1]<<16|this[a+2]<<8|this[a+3]},j.prototype.readBigInt64LE=ue(function(a){a=a>>>0,N(a,"offset");const l=this[a],S=this[a+7];(l===void 0||S===void 0)&&q(a,this.length-8);const P=this[a+4]+this[a+5]*2**8+this[a+6]*2**16+(S<<24);return(BigInt(P)<<BigInt(32))+BigInt(l+this[++a]*2**8+this[++a]*2**16+this[++a]*2**24)}),j.prototype.readBigInt64BE=ue(function(a){a=a>>>0,N(a,"offset");const l=this[a],S=this[a+7];(l===void 0||S===void 0)&&q(a,this.length-8);const P=(l<<24)+this[++a]*2**16+this[++a]*2**8+this[++a];return(BigInt(P)<<BigInt(32))+BigInt(this[++a]*2**24+this[++a]*2**16+this[++a]*2**8+S)}),j.prototype.readFloatLE=function(a,l){return a=a>>>0,l||gt(a,4,this.length),dt.read(this,a,!0,23,4)},j.prototype.readFloatBE=function(a,l){return a=a>>>0,l||gt(a,4,this.length),dt.read(this,a,!1,23,4)},j.prototype.readDoubleLE=function(a,l){return a=a>>>0,l||gt(a,8,this.length),dt.read(this,a,!0,52,8)},j.prototype.readDoubleBE=function(a,l){return a=a>>>0,l||gt(a,8,this.length),dt.read(this,a,!1,52,8)};function ht(y,a,l,S,P,W){if(!j.isBuffer(y))throw new TypeError('"buffer" argument must be a Buffer instance');if(a>P||a<W)throw new RangeError('"value" argument is out of bounds');if(l+S>y.length)throw new RangeError("Index out of range")}j.prototype.writeUintLE=j.prototype.writeUIntLE=function(a,l,S,P){if(a=+a,l=l>>>0,S=S>>>0,!P){const Rt=Math.pow(2,8*S)-1;ht(this,a,l,S,Rt,0)}let W=1,nt=0;for(this[l]=a&255;++nt<S&&(W*=256);)this[l+nt]=a/W&255;return l+S},j.prototype.writeUintBE=j.prototype.writeUIntBE=function(a,l,S,P){if(a=+a,l=l>>>0,S=S>>>0,!P){const Rt=Math.pow(2,8*S)-1;ht(this,a,l,S,Rt,0)}let W=S-1,nt=1;for(this[l+W]=a&255;--W>=0&&(nt*=256);)this[l+W]=a/nt&255;return l+S},j.prototype.writeUint8=j.prototype.writeUInt8=function(a,l,S){return a=+a,l=l>>>0,S||ht(this,a,l,1,255,0),this[l]=a&255,l+1},j.prototype.writeUint16LE=j.prototype.writeUInt16LE=function(a,l,S){return a=+a,l=l>>>0,S||ht(this,a,l,2,65535,0),this[l]=a&255,this[l+1]=a>>>8,l+2},j.prototype.writeUint16BE=j.prototype.writeUInt16BE=function(a,l,S){return a=+a,l=l>>>0,S||ht(this,a,l,2,65535,0),this[l]=a>>>8,this[l+1]=a&255,l+2},j.prototype.writeUint32LE=j.prototype.writeUInt32LE=function(a,l,S){return a=+a,l=l>>>0,S||ht(this,a,l,4,4294967295,0),this[l+3]=a>>>24,this[l+2]=a>>>16,this[l+1]=a>>>8,this[l]=a&255,l+4},j.prototype.writeUint32BE=j.prototype.writeUInt32BE=function(a,l,S){return a=+a,l=l>>>0,S||ht(this,a,l,4,4294967295,0),this[l]=a>>>24,this[l+1]=a>>>16,this[l+2]=a>>>8,this[l+3]=a&255,l+4};function xt(y,a,l,S,P){M(a,S,P,y,l,7);let W=Number(a&BigInt(4294967295));y[l++]=W,W=W>>8,y[l++]=W,W=W>>8,y[l++]=W,W=W>>8,y[l++]=W;let nt=Number(a>>BigInt(32)&BigInt(4294967295));return y[l++]=nt,nt=nt>>8,y[l++]=nt,nt=nt>>8,y[l++]=nt,nt=nt>>8,y[l++]=nt,l}function It(y,a,l,S,P){M(a,S,P,y,l,7);let W=Number(a&BigInt(4294967295));y[l+7]=W,W=W>>8,y[l+6]=W,W=W>>8,y[l+5]=W,W=W>>8,y[l+4]=W;let nt=Number(a>>BigInt(32)&BigInt(4294967295));return y[l+3]=nt,nt=nt>>8,y[l+2]=nt,nt=nt>>8,y[l+1]=nt,nt=nt>>8,y[l]=nt,l+8}j.prototype.writeBigUInt64LE=ue(function(a,l=0){return xt(this,a,l,BigInt(0),BigInt("0xffffffffffffffff"))}),j.prototype.writeBigUInt64BE=ue(function(a,l=0){return It(this,a,l,BigInt(0),BigInt("0xffffffffffffffff"))}),j.prototype.writeIntLE=function(a,l,S,P){if(a=+a,l=l>>>0,!P){const $t=Math.pow(2,8*S-1);ht(this,a,l,S,$t-1,-$t)}let W=0,nt=1,Rt=0;for(this[l]=a&255;++W<S&&(nt*=256);)a<0&&Rt===0&&this[l+W-1]!==0&&(Rt=1),this[l+W]=(a/nt>>0)-Rt&255;return l+S},j.prototype.writeIntBE=function(a,l,S,P){if(a=+a,l=l>>>0,!P){const $t=Math.pow(2,8*S-1);ht(this,a,l,S,$t-1,-$t)}let W=S-1,nt=1,Rt=0;for(this[l+W]=a&255;--W>=0&&(nt*=256);)a<0&&Rt===0&&this[l+W+1]!==0&&(Rt=1),this[l+W]=(a/nt>>0)-Rt&255;return l+S},j.prototype.writeInt8=function(a,l,S){return a=+a,l=l>>>0,S||ht(this,a,l,1,127,-128),a<0&&(a=255+a+1),this[l]=a&255,l+1},j.prototype.writeInt16LE=function(a,l,S){return a=+a,l=l>>>0,S||ht(this,a,l,2,32767,-32768),this[l]=a&255,this[l+1]=a>>>8,l+2},j.prototype.writeInt16BE=function(a,l,S){return a=+a,l=l>>>0,S||ht(this,a,l,2,32767,-32768),this[l]=a>>>8,this[l+1]=a&255,l+2},j.prototype.writeInt32LE=function(a,l,S){return a=+a,l=l>>>0,S||ht(this,a,l,4,2147483647,-2147483648),this[l]=a&255,this[l+1]=a>>>8,this[l+2]=a>>>16,this[l+3]=a>>>24,l+4},j.prototype.writeInt32BE=function(a,l,S){return a=+a,l=l>>>0,S||ht(this,a,l,4,2147483647,-2147483648),a<0&&(a=4294967295+a+1),this[l]=a>>>24,this[l+1]=a>>>16,this[l+2]=a>>>8,this[l+3]=a&255,l+4},j.prototype.writeBigInt64LE=ue(function(a,l=0){return xt(this,a,l,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),j.prototype.writeBigInt64BE=ue(function(a,l=0){return It(this,a,l,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function _t(y,a,l,S,P,W){if(l+S>y.length)throw new RangeError("Index out of range");if(l<0)throw new RangeError("Index out of range")}function vt(y,a,l,S,P){return a=+a,l=l>>>0,P||_t(y,a,l,4),dt.write(y,a,l,S,23,4),l+4}j.prototype.writeFloatLE=function(a,l,S){return vt(this,a,l,!0,S)},j.prototype.writeFloatBE=function(a,l,S){return vt(this,a,l,!1,S)};function Ct(y,a,l,S,P){return a=+a,l=l>>>0,P||_t(y,a,l,8),dt.write(y,a,l,S,52,8),l+8}j.prototype.writeDoubleLE=function(a,l,S){return Ct(this,a,l,!0,S)},j.prototype.writeDoubleBE=function(a,l,S){return Ct(this,a,l,!1,S)},j.prototype.copy=function(a,l,S,P){if(!j.isBuffer(a))throw new TypeError("argument should be a Buffer");if(S||(S=0),!P&&P!==0&&(P=this.length),l>=a.length&&(l=a.length),l||(l=0),P>0&&P<S&&(P=S),P===S||a.length===0||this.length===0)return 0;if(l<0)throw new RangeError("targetStart out of bounds");if(S<0||S>=this.length)throw new RangeError("Index out of range");if(P<0)throw new RangeError("sourceEnd out of bounds");P>this.length&&(P=this.length),a.length-l<P-S&&(P=a.length-l+S);const W=P-S;return this===a&&typeof G.prototype.copyWithin=="function"?this.copyWithin(l,S,P):G.prototype.set.call(a,this.subarray(S,P),l),W},j.prototype.fill=function(a,l,S,P){if(typeof a=="string"){if(typeof l=="string"?(P=l,l=0,S=this.length):typeof S=="string"&&(P=S,S=this.length),P!==void 0&&typeof P!="string")throw new TypeError("encoding must be a string");if(typeof P=="string"&&!j.isEncoding(P))throw new TypeError("Unknown encoding: "+P);if(a.length===1){const nt=a.charCodeAt(0);(P==="utf8"&&nt<128||P==="latin1")&&(a=nt)}}else typeof a=="number"?a=a&255:typeof a=="boolean"&&(a=Number(a));if(l<0||this.length<l||this.length<S)throw new RangeError("Out of range index");if(S<=l)return this;l=l>>>0,S=S===void 0?this.length:S>>>0,a||(a=0);let W;if(typeof a=="number")for(W=l;W<S;++W)this[W]=a;else{const nt=j.isBuffer(a)?a:j.from(a,P),Rt=nt.length;if(Rt===0)throw new TypeError('The value "'+a+'" is invalid for argument "value"');for(W=0;W<S-l;++W)this[W+l]=nt[W%Rt]}return this};const Ot={};function m(y,a,l){Ot[y]=class extends l{constructor(){super(),Object.defineProperty(this,"message",{value:a.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${y}]`,this.stack,delete this.name}get code(){return y}set code(P){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:P,writable:!0})}toString(){return`${this.name} [${y}]: ${this.message}`}}}m("ERR_BUFFER_OUT_OF_BOUNDS",function(y){return y?`${y} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),m("ERR_INVALID_ARG_TYPE",function(y,a){return`The "${y}" argument must be of type number. Received type ${typeof a}`},TypeError),m("ERR_OUT_OF_RANGE",function(y,a,l){let S=`The value of "${y}" is out of range.`,P=l;return Number.isInteger(l)&&Math.abs(l)>2**32?P=s(String(l)):typeof l=="bigint"&&(P=String(l),(l>BigInt(2)**BigInt(32)||l<-(BigInt(2)**BigInt(32)))&&(P=s(P)),P+="n"),S+=` It must be ${a}. Received ${P}`,S},RangeError);function s(y){let a="",l=y.length;const S=y[0]==="-"?1:0;for(;l>=S+4;l-=3)a=`_${y.slice(l-3,l)}${a}`;return`${y.slice(0,l)}${a}`}function f(y,a,l){N(a,"offset"),(y[a]===void 0||y[a+l]===void 0)&&q(a,y.length-(l+1))}function M(y,a,l,S,P,W){if(y>l||y<a){const nt=typeof a=="bigint"?"n":"";let Rt;throw a===0||a===BigInt(0)?Rt=`>= 0${nt} and < 2${nt} ** ${(W+1)*8}${nt}`:Rt=`>= -(2${nt} ** ${(W+1)*8-1}${nt}) and < 2 ** ${(W+1)*8-1}${nt}`,new Ot.ERR_OUT_OF_RANGE("value",Rt,y)}f(S,P,W)}function N(y,a){if(typeof y!="number")throw new Ot.ERR_INVALID_ARG_TYPE(a,"number",y)}function q(y,a,l){throw Math.floor(y)!==y?(N(y,l),new Ot.ERR_OUT_OF_RANGE("offset","an integer",y)):a<0?new Ot.ERR_BUFFER_OUT_OF_BOUNDS:new Ot.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${a}`,y)}const Y=/[^+/0-9A-Za-z-_]/g;function wt(y){if(y=y.split("=")[0],y=y.trim().replace(Y,""),y.length<2)return"";for(;y.length%4!==0;)y=y+"=";return y}function St(y,a){a=a||1/0;let l;const S=y.length;let P=null;const W=[];for(let nt=0;nt<S;++nt){if(l=y.charCodeAt(nt),l>55295&&l<57344){if(!P){if(l>56319){(a-=3)>-1&&W.push(239,191,189);continue}else if(nt+1===S){(a-=3)>-1&&W.push(239,191,189);continue}P=l;continue}if(l<56320){(a-=3)>-1&&W.push(239,191,189),P=l;continue}l=(P-55296<<10|l-56320)+65536}else P&&(a-=3)>-1&&W.push(239,191,189);if(P=null,l<128){if((a-=1)<0)break;W.push(l)}else if(l<2048){if((a-=2)<0)break;W.push(l>>6|192,l&63|128)}else if(l<65536){if((a-=3)<0)break;W.push(l>>12|224,l>>6&63|128,l&63|128)}else if(l<1114112){if((a-=4)<0)break;W.push(l>>18|240,l>>12&63|128,l>>6&63|128,l&63|128)}else throw new Error("Invalid code point")}return W}function Bt(y){const a=[];for(let l=0;l<y.length;++l)a.push(y.charCodeAt(l)&255);return a}function Ut(y,a){let l,S,P;const W=[];for(let nt=0;nt<y.length&&!((a-=2)<0);++nt)l=y.charCodeAt(nt),S=l>>8,P=l%256,W.push(P),W.push(S);return W}function bt(y){return ut.toByteArray(wt(y))}function Pt(y,a,l,S){let P;for(P=0;P<S&&!(P+l>=a.length||P>=y.length);++P)a[P+l]=y[P];return P}function re(y,a){return y instanceof a||y!=null&&y.constructor!=null&&y.constructor.name!=null&&y.constructor.name===a.name}function kt(y){return y!==y}const qt=function(){const y="0123456789abcdef",a=new Array(256);for(let l=0;l<16;++l){const S=l*16;for(let P=0;P<16;++P)a[S+P]=y[l]+y[P]}return a}();function ue(y){return typeof BigInt>"u"?zt:y}function zt(){throw new Error("BigInt not supported")}})(e);const lt=e.Buffer;t.Blob=e.Blob,t.BlobOptions=e.BlobOptions,t.Buffer=e.Buffer,t.File=e.File,t.FileOptions=e.FileOptions,t.INSPECT_MAX_BYTES=e.INSPECT_MAX_BYTES,t.SlowBuffer=e.SlowBuffer,t.TranscodeEncoding=e.TranscodeEncoding,t.atob=e.atob,t.btoa=e.btoa,t.constants=e.constants,t.default=lt,t.isAscii=e.isAscii,t.isUtf8=e.isUtf8,t.kMaxLength=e.kMaxLength,t.kStringMaxLength=e.kStringMaxLength,t.resolveObjectURL=e.resolveObjectURL,t.transcode=e.transcode}(On)),On}var Qg=Sr.exports,$o;function uw(){return $o||($o=1,function(t){(function(e,r){function n(T,i){if(!T)throw new Error(i||"Assertion failed")}function u(T,i){T.super_=i;var h=function(){};h.prototype=i.prototype,T.prototype=new h,T.prototype.constructor=T}function o(T,i,h){if(o.isBN(T))return T;this.negative=0,this.words=null,this.length=0,this.red=null,T!==null&&((i==="le"||i==="be")&&(h=i,i=10),this._init(T||0,i||10,h||"be"))}typeof e=="object"?e.exports=o:r.BN=o,o.BN=o,o.wordSize=26;var p;try{typeof window<"u"&&typeof window.Buffer<"u"?p=window.Buffer:p=Xg().Buffer}catch{}o.isBN=function(i){return i instanceof o?!0:i!==null&&typeof i=="object"&&i.constructor.wordSize===o.wordSize&&Array.isArray(i.words)},o.max=function(i,h){return i.cmp(h)>0?i:h},o.min=function(i,h){return i.cmp(h)<0?i:h},o.prototype._init=function(i,h,g){if(typeof i=="number")return this._initNumber(i,h,g);if(typeof i=="object")return this._initArray(i,h,g);h==="hex"&&(h=16),n(h===(h|0)&&h>=2&&h<=36),i=i.toString().replace(/\s+/g,"");var v=0;i[0]==="-"&&(v++,this.negative=1),v<i.length&&(h===16?this._parseHex(i,v,g):(this._parseBase(i,h,v),g==="le"&&this._initArray(this.toArray(),h,g)))},o.prototype._initNumber=function(i,h,g){i<0&&(this.negative=1,i=-i),i<67108864?(this.words=[i&67108863],this.length=1):i<4503599627370496?(this.words=[i&67108863,i/67108864&67108863],this.length=2):(n(i<9007199254740992),this.words=[i&67108863,i/67108864&67108863,1],this.length=3),g==="le"&&this._initArray(this.toArray(),h,g)},o.prototype._initArray=function(i,h,g){if(n(typeof i.length=="number"),i.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(i.length/3),this.words=new Array(this.length);for(var v=0;v<this.length;v++)this.words[v]=0;var E,F,I=0;if(g==="be")for(v=i.length-1,E=0;v>=0;v-=3)F=i[v]|i[v-1]<<8|i[v-2]<<16,this.words[E]|=F<<I&67108863,this.words[E+1]=F>>>26-I&67108863,I+=24,I>=26&&(I-=26,E++);else if(g==="le")for(v=0,E=0;v<i.length;v+=3)F=i[v]|i[v+1]<<8|i[v+2]<<16,this.words[E]|=F<<I&67108863,this.words[E+1]=F>>>26-I&67108863,I+=24,I>=26&&(I-=26,E++);return this._strip()};function w(T,i){var h=T.charCodeAt(i);if(h>=48&&h<=57)return h-48;if(h>=65&&h<=70)return h-55;if(h>=97&&h<=102)return h-87;n(!1,"Invalid character in "+T)}function _(T,i,h){var g=w(T,h);return h-1>=i&&(g|=w(T,h-1)<<4),g}o.prototype._parseHex=function(i,h,g){this.length=Math.ceil((i.length-h)/6),this.words=new Array(this.length);for(var v=0;v<this.length;v++)this.words[v]=0;var E=0,F=0,I;if(g==="be")for(v=i.length-1;v>=h;v-=2)I=_(i,h,v)<<E,this.words[F]|=I&67108863,E>=18?(E-=18,F+=1,this.words[F]|=I>>>26):E+=8;else{var B=i.length-h;for(v=B%2===0?h+1:h;v<i.length;v+=2)I=_(i,h,v)<<E,this.words[F]|=I&67108863,E>=18?(E-=18,F+=1,this.words[F]|=I>>>26):E+=8}this._strip()};function x(T,i,h,g){for(var v=0,E=0,F=Math.min(T.length,h),I=i;I<F;I++){var B=T.charCodeAt(I)-48;v*=g,B>=49?E=B-49+10:B>=17?E=B-17+10:E=B,n(B>=0&&E<g,"Invalid character"),v+=E}return v}o.prototype._parseBase=function(i,h,g){this.words=[0],this.length=1;for(var v=0,E=1;E<=67108863;E*=h)v++;v--,E=E/h|0;for(var F=i.length-g,I=F%v,B=Math.min(F,F-I)+g,c=0,O=g;O<B;O+=v)c=x(i,O,O+v,h),this.imuln(E),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(I!==0){var H=1;for(c=x(i,O,i.length,h),O=0;O<I;O++)H*=h;this.imuln(H),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}this._strip()},o.prototype.copy=function(i){i.words=new Array(this.length);for(var h=0;h<this.length;h++)i.words[h]=this.words[h];i.length=this.length,i.negative=this.negative,i.red=this.red};function d(T,i){T.words=i.words,T.length=i.length,T.negative=i.negative,T.red=i.red}if(o.prototype._move=function(i){d(i,this)},o.prototype.clone=function(){var i=new o(null);return this.copy(i),i},o.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},o.prototype._strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},o.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=C}catch{o.prototype.inspect=C}else o.prototype.inspect=C;function C(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var k=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],K=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],tt=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(i,h){i=i||10,h=h|0||1;var g;if(i===16||i==="hex"){g="";for(var v=0,E=0,F=0;F<this.length;F++){var I=this.words[F],B=((I<<v|E)&16777215).toString(16);E=I>>>24-v&16777215,v+=2,v>=26&&(v-=26,F--),E!==0||F!==this.length-1?g=k[6-B.length]+B+g:g=B+g}for(E!==0&&(g=E.toString(16)+g);g.length%h!==0;)g="0"+g;return this.negative!==0&&(g="-"+g),g}if(i===(i|0)&&i>=2&&i<=36){var c=K[i],O=tt[i];g="";var H=this.clone();for(H.negative=0;!H.isZero();){var pt=H.modrn(O).toString(i);H=H.idivn(O),H.isZero()?g=pt+g:g=k[c-pt.length]+pt+g}for(this.isZero()&&(g="0"+g);g.length%h!==0;)g="0"+g;return this.negative!==0&&(g="-"+g),g}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var i=this.words[0];return this.length===2?i+=this.words[1]*67108864:this.length===3&&this.words[2]===1?i+=4503599627370496+this.words[1]*67108864:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-i:i},o.prototype.toJSON=function(){return this.toString(16,2)},p&&(o.prototype.toBuffer=function(i,h){return this.toArrayLike(p,i,h)}),o.prototype.toArray=function(i,h){return this.toArrayLike(Array,i,h)};var st=function(i,h){return i.allocUnsafe?i.allocUnsafe(h):new i(h)};o.prototype.toArrayLike=function(i,h,g){this._strip();var v=this.byteLength(),E=g||Math.max(1,v);n(v<=E,"byte array longer than desired length"),n(E>0,"Requested array length <= 0");var F=st(i,E),I=h==="le"?"LE":"BE";return this["_toArrayLike"+I](F,v),F},o.prototype._toArrayLikeLE=function(i,h){for(var g=0,v=0,E=0,F=0;E<this.length;E++){var I=this.words[E]<<F|v;i[g++]=I&255,g<i.length&&(i[g++]=I>>8&255),g<i.length&&(i[g++]=I>>16&255),F===6?(g<i.length&&(i[g++]=I>>24&255),v=0,F=0):(v=I>>>24,F+=2)}if(g<i.length)for(i[g++]=v;g<i.length;)i[g++]=0},o.prototype._toArrayLikeBE=function(i,h){for(var g=i.length-1,v=0,E=0,F=0;E<this.length;E++){var I=this.words[E]<<F|v;i[g--]=I&255,g>=0&&(i[g--]=I>>8&255),g>=0&&(i[g--]=I>>16&255),F===6?(g>=0&&(i[g--]=I>>24&255),v=0,F=0):(v=I>>>24,F+=2)}if(g>=0)for(i[g--]=v;g>=0;)i[g--]=0},Math.clz32?o.prototype._countBits=function(i){return 32-Math.clz32(i)}:o.prototype._countBits=function(i){var h=i,g=0;return h>=4096&&(g+=13,h>>>=13),h>=64&&(g+=7,h>>>=7),h>=8&&(g+=4,h>>>=4),h>=2&&(g+=2,h>>>=2),g+h},o.prototype._zeroBits=function(i){if(i===0)return 26;var h=i,g=0;return(h&8191)===0&&(g+=13,h>>>=13),(h&127)===0&&(g+=7,h>>>=7),(h&15)===0&&(g+=4,h>>>=4),(h&3)===0&&(g+=2,h>>>=2),(h&1)===0&&g++,g},o.prototype.bitLength=function(){var i=this.words[this.length-1],h=this._countBits(i);return(this.length-1)*26+h};function V(T){for(var i=new Array(T.bitLength()),h=0;h<i.length;h++){var g=h/26|0,v=h%26;i[h]=T.words[g]>>>v&1}return i}o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var i=0,h=0;h<this.length;h++){var g=this._zeroBits(this.words[h]);if(i+=g,g!==26)break}return i},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(i){return this.negative!==0?this.abs().inotn(i).iaddn(1):this.clone()},o.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return this.negative!==0},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(i){for(;this.length<i.length;)this.words[this.length++]=0;for(var h=0;h<i.length;h++)this.words[h]=this.words[h]|i.words[h];return this._strip()},o.prototype.ior=function(i){return n((this.negative|i.negative)===0),this.iuor(i)},o.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},o.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},o.prototype.iuand=function(i){var h;this.length>i.length?h=i:h=this;for(var g=0;g<h.length;g++)this.words[g]=this.words[g]&i.words[g];return this.length=h.length,this._strip()},o.prototype.iand=function(i){return n((this.negative|i.negative)===0),this.iuand(i)},o.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},o.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},o.prototype.iuxor=function(i){var h,g;this.length>i.length?(h=this,g=i):(h=i,g=this);for(var v=0;v<g.length;v++)this.words[v]=h.words[v]^g.words[v];if(this!==h)for(;v<h.length;v++)this.words[v]=h.words[v];return this.length=h.length,this._strip()},o.prototype.ixor=function(i){return n((this.negative|i.negative)===0),this.iuxor(i)},o.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},o.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},o.prototype.inotn=function(i){n(typeof i=="number"&&i>=0);var h=Math.ceil(i/26)|0,g=i%26;this._expand(h),g>0&&h--;for(var v=0;v<h;v++)this.words[v]=~this.words[v]&67108863;return g>0&&(this.words[v]=~this.words[v]&67108863>>26-g),this._strip()},o.prototype.notn=function(i){return this.clone().inotn(i)},o.prototype.setn=function(i,h){n(typeof i=="number"&&i>=0);var g=i/26|0,v=i%26;return this._expand(g+1),h?this.words[g]=this.words[g]|1<<v:this.words[g]=this.words[g]&~(1<<v),this._strip()},o.prototype.iadd=function(i){var h;if(this.negative!==0&&i.negative===0)return this.negative=0,h=this.isub(i),this.negative^=1,this._normSign();if(this.negative===0&&i.negative!==0)return i.negative=0,h=this.isub(i),i.negative=1,h._normSign();var g,v;this.length>i.length?(g=this,v=i):(g=i,v=this);for(var E=0,F=0;F<v.length;F++)h=(g.words[F]|0)+(v.words[F]|0)+E,this.words[F]=h&67108863,E=h>>>26;for(;E!==0&&F<g.length;F++)h=(g.words[F]|0)+E,this.words[F]=h&67108863,E=h>>>26;if(this.length=g.length,E!==0)this.words[this.length]=E,this.length++;else if(g!==this)for(;F<g.length;F++)this.words[F]=g.words[F];return this},o.prototype.add=function(i){var h;return i.negative!==0&&this.negative===0?(i.negative=0,h=this.sub(i),i.negative^=1,h):i.negative===0&&this.negative!==0?(this.negative=0,h=i.sub(this),this.negative=1,h):this.length>i.length?this.clone().iadd(i):i.clone().iadd(this)},o.prototype.isub=function(i){if(i.negative!==0){i.negative=0;var h=this.iadd(i);return i.negative=1,h._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(i),this.negative=1,this._normSign();var g=this.cmp(i);if(g===0)return this.negative=0,this.length=1,this.words[0]=0,this;var v,E;g>0?(v=this,E=i):(v=i,E=this);for(var F=0,I=0;I<E.length;I++)h=(v.words[I]|0)-(E.words[I]|0)+F,F=h>>26,this.words[I]=h&67108863;for(;F!==0&&I<v.length;I++)h=(v.words[I]|0)+F,F=h>>26,this.words[I]=h&67108863;if(F===0&&I<v.length&&v!==this)for(;I<v.length;I++)this.words[I]=v.words[I];return this.length=Math.max(this.length,I),v!==this&&(this.negative=1),this._strip()},o.prototype.sub=function(i){return this.clone().isub(i)};function lt(T,i,h){h.negative=i.negative^T.negative;var g=T.length+i.length|0;h.length=g,g=g-1|0;var v=T.words[0]|0,E=i.words[0]|0,F=v*E,I=F&67108863,B=F/67108864|0;h.words[0]=I;for(var c=1;c<g;c++){for(var O=B>>>26,H=B&67108863,pt=Math.min(c,i.length-1),yt=Math.max(0,c-T.length+1);yt<=pt;yt++){var Nt=c-yt|0;v=T.words[Nt]|0,E=i.words[yt]|0,F=v*E+H,O+=F/67108864|0,H=F&67108863}h.words[c]=H|0,B=O|0}return B!==0?h.words[c]=B|0:h.length--,h._strip()}var et=function(i,h,g){var v=i.words,E=h.words,F=g.words,I=0,B,c,O,H=v[0]|0,pt=H&8191,yt=H>>>13,Nt=v[1]|0,Et=Nt&8191,At=Nt>>>13,b=v[2]|0,A=b&8191,$=b>>>13,Z=v[3]|0,U=Z&8191,D=Z>>>13,Q=v[4]|0,R=Q&8191,L=Q>>>13,X=v[5]|0,z=X&8191,it=X>>>13,gt=v[6]|0,ht=gt&8191,xt=gt>>>13,It=v[7]|0,_t=It&8191,vt=It>>>13,Ct=v[8]|0,Ot=Ct&8191,m=Ct>>>13,s=v[9]|0,f=s&8191,M=s>>>13,N=E[0]|0,q=N&8191,Y=N>>>13,wt=E[1]|0,St=wt&8191,Bt=wt>>>13,Ut=E[2]|0,bt=Ut&8191,Pt=Ut>>>13,re=E[3]|0,kt=re&8191,qt=re>>>13,ue=E[4]|0,zt=ue&8191,y=ue>>>13,a=E[5]|0,l=a&8191,S=a>>>13,P=E[6]|0,W=P&8191,nt=P>>>13,Rt=E[7]|0,$t=Rt&8191,Tt=Rt>>>13,Dt=E[8]|0,Mt=Dt&8191,Wt=Dt>>>13,$i=E[9]|0,Zt=$i&8191,Jt=$i>>>13;g.negative=i.negative^h.negative,g.length=19,B=Math.imul(pt,q),c=Math.imul(pt,Y),c=c+Math.imul(yt,q)|0,O=Math.imul(yt,Y);var Qr=(I+B|0)+((c&8191)<<13)|0;I=(O+(c>>>13)|0)+(Qr>>>26)|0,Qr&=67108863,B=Math.imul(Et,q),c=Math.imul(Et,Y),c=c+Math.imul(At,q)|0,O=Math.imul(At,Y),B=B+Math.imul(pt,St)|0,c=c+Math.imul(pt,Bt)|0,c=c+Math.imul(yt,St)|0,O=O+Math.imul(yt,Bt)|0;var tn=(I+B|0)+((c&8191)<<13)|0;I=(O+(c>>>13)|0)+(tn>>>26)|0,tn&=67108863,B=Math.imul(A,q),c=Math.imul(A,Y),c=c+Math.imul($,q)|0,O=Math.imul($,Y),B=B+Math.imul(Et,St)|0,c=c+Math.imul(Et,Bt)|0,c=c+Math.imul(At,St)|0,O=O+Math.imul(At,Bt)|0,B=B+Math.imul(pt,bt)|0,c=c+Math.imul(pt,Pt)|0,c=c+Math.imul(yt,bt)|0,O=O+Math.imul(yt,Pt)|0;var en=(I+B|0)+((c&8191)<<13)|0;I=(O+(c>>>13)|0)+(en>>>26)|0,en&=67108863,B=Math.imul(U,q),c=Math.imul(U,Y),c=c+Math.imul(D,q)|0,O=Math.imul(D,Y),B=B+Math.imul(A,St)|0,c=c+Math.imul(A,Bt)|0,c=c+Math.imul($,St)|0,O=O+Math.imul($,Bt)|0,B=B+Math.imul(Et,bt)|0,c=c+Math.imul(Et,Pt)|0,c=c+Math.imul(At,bt)|0,O=O+Math.imul(At,Pt)|0,B=B+Math.imul(pt,kt)|0,c=c+Math.imul(pt,qt)|0,c=c+Math.imul(yt,kt)|0,O=O+Math.imul(yt,qt)|0;var rn=(I+B|0)+((c&8191)<<13)|0;I=(O+(c>>>13)|0)+(rn>>>26)|0,rn&=67108863,B=Math.imul(R,q),c=Math.imul(R,Y),c=c+Math.imul(L,q)|0,O=Math.imul(L,Y),B=B+Math.imul(U,St)|0,c=c+Math.imul(U,Bt)|0,c=c+Math.imul(D,St)|0,O=O+Math.imul(D,Bt)|0,B=B+Math.imul(A,bt)|0,c=c+Math.imul(A,Pt)|0,c=c+Math.imul($,bt)|0,O=O+Math.imul($,Pt)|0,B=B+Math.imul(Et,kt)|0,c=c+Math.imul(Et,qt)|0,c=c+Math.imul(At,kt)|0,O=O+Math.imul(At,qt)|0,B=B+Math.imul(pt,zt)|0,c=c+Math.imul(pt,y)|0,c=c+Math.imul(yt,zt)|0,O=O+Math.imul(yt,y)|0;var nn=(I+B|0)+((c&8191)<<13)|0;I=(O+(c>>>13)|0)+(nn>>>26)|0,nn&=67108863,B=Math.imul(z,q),c=Math.imul(z,Y),c=c+Math.imul(it,q)|0,O=Math.imul(it,Y),B=B+Math.imul(R,St)|0,c=c+Math.imul(R,Bt)|0,c=c+Math.imul(L,St)|0,O=O+Math.imul(L,Bt)|0,B=B+Math.imul(U,bt)|0,c=c+Math.imul(U,Pt)|0,c=c+Math.imul(D,bt)|0,O=O+Math.imul(D,Pt)|0,B=B+Math.imul(A,kt)|0,c=c+Math.imul(A,qt)|0,c=c+Math.imul($,kt)|0,O=O+Math.imul($,qt)|0,B=B+Math.imul(Et,zt)|0,c=c+Math.imul(Et,y)|0,c=c+Math.imul(At,zt)|0,O=O+Math.imul(At,y)|0,B=B+Math.imul(pt,l)|0,c=c+Math.imul(pt,S)|0,c=c+Math.imul(yt,l)|0,O=O+Math.imul(yt,S)|0;var on=(I+B|0)+((c&8191)<<13)|0;I=(O+(c>>>13)|0)+(on>>>26)|0,on&=67108863,B=Math.imul(ht,q),c=Math.imul(ht,Y),c=c+Math.imul(xt,q)|0,O=Math.imul(xt,Y),B=B+Math.imul(z,St)|0,c=c+Math.imul(z,Bt)|0,c=c+Math.imul(it,St)|0,O=O+Math.imul(it,Bt)|0,B=B+Math.imul(R,bt)|0,c=c+Math.imul(R,Pt)|0,c=c+Math.imul(L,bt)|0,O=O+Math.imul(L,Pt)|0,B=B+Math.imul(U,kt)|0,c=c+Math.imul(U,qt)|0,c=c+Math.imul(D,kt)|0,O=O+Math.imul(D,qt)|0,B=B+Math.imul(A,zt)|0,c=c+Math.imul(A,y)|0,c=c+Math.imul($,zt)|0,O=O+Math.imul($,y)|0,B=B+Math.imul(Et,l)|0,c=c+Math.imul(Et,S)|0,c=c+Math.imul(At,l)|0,O=O+Math.imul(At,S)|0,B=B+Math.imul(pt,W)|0,c=c+Math.imul(pt,nt)|0,c=c+Math.imul(yt,W)|0,O=O+Math.imul(yt,nt)|0;var sn=(I+B|0)+((c&8191)<<13)|0;I=(O+(c>>>13)|0)+(sn>>>26)|0,sn&=67108863,B=Math.imul(_t,q),c=Math.imul(_t,Y),c=c+Math.imul(vt,q)|0,O=Math.imul(vt,Y),B=B+Math.imul(ht,St)|0,c=c+Math.imul(ht,Bt)|0,c=c+Math.imul(xt,St)|0,O=O+Math.imul(xt,Bt)|0,B=B+Math.imul(z,bt)|0,c=c+Math.imul(z,Pt)|0,c=c+Math.imul(it,bt)|0,O=O+Math.imul(it,Pt)|0,B=B+Math.imul(R,kt)|0,c=c+Math.imul(R,qt)|0,c=c+Math.imul(L,kt)|0,O=O+Math.imul(L,qt)|0,B=B+Math.imul(U,zt)|0,c=c+Math.imul(U,y)|0,c=c+Math.imul(D,zt)|0,O=O+Math.imul(D,y)|0,B=B+Math.imul(A,l)|0,c=c+Math.imul(A,S)|0,c=c+Math.imul($,l)|0,O=O+Math.imul($,S)|0,B=B+Math.imul(Et,W)|0,c=c+Math.imul(Et,nt)|0,c=c+Math.imul(At,W)|0,O=O+Math.imul(At,nt)|0,B=B+Math.imul(pt,$t)|0,c=c+Math.imul(pt,Tt)|0,c=c+Math.imul(yt,$t)|0,O=O+Math.imul(yt,Tt)|0;var an=(I+B|0)+((c&8191)<<13)|0;I=(O+(c>>>13)|0)+(an>>>26)|0,an&=67108863,B=Math.imul(Ot,q),c=Math.imul(Ot,Y),c=c+Math.imul(m,q)|0,O=Math.imul(m,Y),B=B+Math.imul(_t,St)|0,c=c+Math.imul(_t,Bt)|0,c=c+Math.imul(vt,St)|0,O=O+Math.imul(vt,Bt)|0,B=B+Math.imul(ht,bt)|0,c=c+Math.imul(ht,Pt)|0,c=c+Math.imul(xt,bt)|0,O=O+Math.imul(xt,Pt)|0,B=B+Math.imul(z,kt)|0,c=c+Math.imul(z,qt)|0,c=c+Math.imul(it,kt)|0,O=O+Math.imul(it,qt)|0,B=B+Math.imul(R,zt)|0,c=c+Math.imul(R,y)|0,c=c+Math.imul(L,zt)|0,O=O+Math.imul(L,y)|0,B=B+Math.imul(U,l)|0,c=c+Math.imul(U,S)|0,c=c+Math.imul(D,l)|0,O=O+Math.imul(D,S)|0,B=B+Math.imul(A,W)|0,c=c+Math.imul(A,nt)|0,c=c+Math.imul($,W)|0,O=O+Math.imul($,nt)|0,B=B+Math.imul(Et,$t)|0,c=c+Math.imul(Et,Tt)|0,c=c+Math.imul(At,$t)|0,O=O+Math.imul(At,Tt)|0,B=B+Math.imul(pt,Mt)|0,c=c+Math.imul(pt,Wt)|0,c=c+Math.imul(yt,Mt)|0,O=O+Math.imul(yt,Wt)|0;var un=(I+B|0)+((c&8191)<<13)|0;I=(O+(c>>>13)|0)+(un>>>26)|0,un&=67108863,B=Math.imul(f,q),c=Math.imul(f,Y),c=c+Math.imul(M,q)|0,O=Math.imul(M,Y),B=B+Math.imul(Ot,St)|0,c=c+Math.imul(Ot,Bt)|0,c=c+Math.imul(m,St)|0,O=O+Math.imul(m,Bt)|0,B=B+Math.imul(_t,bt)|0,c=c+Math.imul(_t,Pt)|0,c=c+Math.imul(vt,bt)|0,O=O+Math.imul(vt,Pt)|0,B=B+Math.imul(ht,kt)|0,c=c+Math.imul(ht,qt)|0,c=c+Math.imul(xt,kt)|0,O=O+Math.imul(xt,qt)|0,B=B+Math.imul(z,zt)|0,c=c+Math.imul(z,y)|0,c=c+Math.imul(it,zt)|0,O=O+Math.imul(it,y)|0,B=B+Math.imul(R,l)|0,c=c+Math.imul(R,S)|0,c=c+Math.imul(L,l)|0,O=O+Math.imul(L,S)|0,B=B+Math.imul(U,W)|0,c=c+Math.imul(U,nt)|0,c=c+Math.imul(D,W)|0,O=O+Math.imul(D,nt)|0,B=B+Math.imul(A,$t)|0,c=c+Math.imul(A,Tt)|0,c=c+Math.imul($,$t)|0,O=O+Math.imul($,Tt)|0,B=B+Math.imul(Et,Mt)|0,c=c+Math.imul(Et,Wt)|0,c=c+Math.imul(At,Mt)|0,O=O+Math.imul(At,Wt)|0,B=B+Math.imul(pt,Zt)|0,c=c+Math.imul(pt,Jt)|0,c=c+Math.imul(yt,Zt)|0,O=O+Math.imul(yt,Jt)|0;var fn=(I+B|0)+((c&8191)<<13)|0;I=(O+(c>>>13)|0)+(fn>>>26)|0,fn&=67108863,B=Math.imul(f,St),c=Math.imul(f,Bt),c=c+Math.imul(M,St)|0,O=Math.imul(M,Bt),B=B+Math.imul(Ot,bt)|0,c=c+Math.imul(Ot,Pt)|0,c=c+Math.imul(m,bt)|0,O=O+Math.imul(m,Pt)|0,B=B+Math.imul(_t,kt)|0,c=c+Math.imul(_t,qt)|0,c=c+Math.imul(vt,kt)|0,O=O+Math.imul(vt,qt)|0,B=B+Math.imul(ht,zt)|0,c=c+Math.imul(ht,y)|0,c=c+Math.imul(xt,zt)|0,O=O+Math.imul(xt,y)|0,B=B+Math.imul(z,l)|0,c=c+Math.imul(z,S)|0,c=c+Math.imul(it,l)|0,O=O+Math.imul(it,S)|0,B=B+Math.imul(R,W)|0,c=c+Math.imul(R,nt)|0,c=c+Math.imul(L,W)|0,O=O+Math.imul(L,nt)|0,B=B+Math.imul(U,$t)|0,c=c+Math.imul(U,Tt)|0,c=c+Math.imul(D,$t)|0,O=O+Math.imul(D,Tt)|0,B=B+Math.imul(A,Mt)|0,c=c+Math.imul(A,Wt)|0,c=c+Math.imul($,Mt)|0,O=O+Math.imul($,Wt)|0,B=B+Math.imul(Et,Zt)|0,c=c+Math.imul(Et,Jt)|0,c=c+Math.imul(At,Zt)|0,O=O+Math.imul(At,Jt)|0;var ln=(I+B|0)+((c&8191)<<13)|0;I=(O+(c>>>13)|0)+(ln>>>26)|0,ln&=67108863,B=Math.imul(f,bt),c=Math.imul(f,Pt),c=c+Math.imul(M,bt)|0,O=Math.imul(M,Pt),B=B+Math.imul(Ot,kt)|0,c=c+Math.imul(Ot,qt)|0,c=c+Math.imul(m,kt)|0,O=O+Math.imul(m,qt)|0,B=B+Math.imul(_t,zt)|0,c=c+Math.imul(_t,y)|0,c=c+Math.imul(vt,zt)|0,O=O+Math.imul(vt,y)|0,B=B+Math.imul(ht,l)|0,c=c+Math.imul(ht,S)|0,c=c+Math.imul(xt,l)|0,O=O+Math.imul(xt,S)|0,B=B+Math.imul(z,W)|0,c=c+Math.imul(z,nt)|0,c=c+Math.imul(it,W)|0,O=O+Math.imul(it,nt)|0,B=B+Math.imul(R,$t)|0,c=c+Math.imul(R,Tt)|0,c=c+Math.imul(L,$t)|0,O=O+Math.imul(L,Tt)|0,B=B+Math.imul(U,Mt)|0,c=c+Math.imul(U,Wt)|0,c=c+Math.imul(D,Mt)|0,O=O+Math.imul(D,Wt)|0,B=B+Math.imul(A,Zt)|0,c=c+Math.imul(A,Jt)|0,c=c+Math.imul($,Zt)|0,O=O+Math.imul($,Jt)|0;var cn=(I+B|0)+((c&8191)<<13)|0;I=(O+(c>>>13)|0)+(cn>>>26)|0,cn&=67108863,B=Math.imul(f,kt),c=Math.imul(f,qt),c=c+Math.imul(M,kt)|0,O=Math.imul(M,qt),B=B+Math.imul(Ot,zt)|0,c=c+Math.imul(Ot,y)|0,c=c+Math.imul(m,zt)|0,O=O+Math.imul(m,y)|0,B=B+Math.imul(_t,l)|0,c=c+Math.imul(_t,S)|0,c=c+Math.imul(vt,l)|0,O=O+Math.imul(vt,S)|0,B=B+Math.imul(ht,W)|0,c=c+Math.imul(ht,nt)|0,c=c+Math.imul(xt,W)|0,O=O+Math.imul(xt,nt)|0,B=B+Math.imul(z,$t)|0,c=c+Math.imul(z,Tt)|0,c=c+Math.imul(it,$t)|0,O=O+Math.imul(it,Tt)|0,B=B+Math.imul(R,Mt)|0,c=c+Math.imul(R,Wt)|0,c=c+Math.imul(L,Mt)|0,O=O+Math.imul(L,Wt)|0,B=B+Math.imul(U,Zt)|0,c=c+Math.imul(U,Jt)|0,c=c+Math.imul(D,Zt)|0,O=O+Math.imul(D,Jt)|0;var hn=(I+B|0)+((c&8191)<<13)|0;I=(O+(c>>>13)|0)+(hn>>>26)|0,hn&=67108863,B=Math.imul(f,zt),c=Math.imul(f,y),c=c+Math.imul(M,zt)|0,O=Math.imul(M,y),B=B+Math.imul(Ot,l)|0,c=c+Math.imul(Ot,S)|0,c=c+Math.imul(m,l)|0,O=O+Math.imul(m,S)|0,B=B+Math.imul(_t,W)|0,c=c+Math.imul(_t,nt)|0,c=c+Math.imul(vt,W)|0,O=O+Math.imul(vt,nt)|0,B=B+Math.imul(ht,$t)|0,c=c+Math.imul(ht,Tt)|0,c=c+Math.imul(xt,$t)|0,O=O+Math.imul(xt,Tt)|0,B=B+Math.imul(z,Mt)|0,c=c+Math.imul(z,Wt)|0,c=c+Math.imul(it,Mt)|0,O=O+Math.imul(it,Wt)|0,B=B+Math.imul(R,Zt)|0,c=c+Math.imul(R,Jt)|0,c=c+Math.imul(L,Zt)|0,O=O+Math.imul(L,Jt)|0;var pn=(I+B|0)+((c&8191)<<13)|0;I=(O+(c>>>13)|0)+(pn>>>26)|0,pn&=67108863,B=Math.imul(f,l),c=Math.imul(f,S),c=c+Math.imul(M,l)|0,O=Math.imul(M,S),B=B+Math.imul(Ot,W)|0,c=c+Math.imul(Ot,nt)|0,c=c+Math.imul(m,W)|0,O=O+Math.imul(m,nt)|0,B=B+Math.imul(_t,$t)|0,c=c+Math.imul(_t,Tt)|0,c=c+Math.imul(vt,$t)|0,O=O+Math.imul(vt,Tt)|0,B=B+Math.imul(ht,Mt)|0,c=c+Math.imul(ht,Wt)|0,c=c+Math.imul(xt,Mt)|0,O=O+Math.imul(xt,Wt)|0,B=B+Math.imul(z,Zt)|0,c=c+Math.imul(z,Jt)|0,c=c+Math.imul(it,Zt)|0,O=O+Math.imul(it,Jt)|0;var dn=(I+B|0)+((c&8191)<<13)|0;I=(O+(c>>>13)|0)+(dn>>>26)|0,dn&=67108863,B=Math.imul(f,W),c=Math.imul(f,nt),c=c+Math.imul(M,W)|0,O=Math.imul(M,nt),B=B+Math.imul(Ot,$t)|0,c=c+Math.imul(Ot,Tt)|0,c=c+Math.imul(m,$t)|0,O=O+Math.imul(m,Tt)|0,B=B+Math.imul(_t,Mt)|0,c=c+Math.imul(_t,Wt)|0,c=c+Math.imul(vt,Mt)|0,O=O+Math.imul(vt,Wt)|0,B=B+Math.imul(ht,Zt)|0,c=c+Math.imul(ht,Jt)|0,c=c+Math.imul(xt,Zt)|0,O=O+Math.imul(xt,Jt)|0;var gn=(I+B|0)+((c&8191)<<13)|0;I=(O+(c>>>13)|0)+(gn>>>26)|0,gn&=67108863,B=Math.imul(f,$t),c=Math.imul(f,Tt),c=c+Math.imul(M,$t)|0,O=Math.imul(M,Tt),B=B+Math.imul(Ot,Mt)|0,c=c+Math.imul(Ot,Wt)|0,c=c+Math.imul(m,Mt)|0,O=O+Math.imul(m,Wt)|0,B=B+Math.imul(_t,Zt)|0,c=c+Math.imul(_t,Jt)|0,c=c+Math.imul(vt,Zt)|0,O=O+Math.imul(vt,Jt)|0;var mn=(I+B|0)+((c&8191)<<13)|0;I=(O+(c>>>13)|0)+(mn>>>26)|0,mn&=67108863,B=Math.imul(f,Mt),c=Math.imul(f,Wt),c=c+Math.imul(M,Mt)|0,O=Math.imul(M,Wt),B=B+Math.imul(Ot,Zt)|0,c=c+Math.imul(Ot,Jt)|0,c=c+Math.imul(m,Zt)|0,O=O+Math.imul(m,Jt)|0;var yn=(I+B|0)+((c&8191)<<13)|0;I=(O+(c>>>13)|0)+(yn>>>26)|0,yn&=67108863,B=Math.imul(f,Zt),c=Math.imul(f,Jt),c=c+Math.imul(M,Zt)|0,O=Math.imul(M,Jt);var wn=(I+B|0)+((c&8191)<<13)|0;return I=(O+(c>>>13)|0)+(wn>>>26)|0,wn&=67108863,F[0]=Qr,F[1]=tn,F[2]=en,F[3]=rn,F[4]=nn,F[5]=on,F[6]=sn,F[7]=an,F[8]=un,F[9]=fn,F[10]=ln,F[11]=cn,F[12]=hn,F[13]=pn,F[14]=dn,F[15]=gn,F[16]=mn,F[17]=yn,F[18]=wn,I!==0&&(F[19]=I,g.length++),g};Math.imul||(et=lt);function ut(T,i,h){h.negative=i.negative^T.negative,h.length=T.length+i.length;for(var g=0,v=0,E=0;E<h.length-1;E++){var F=v;v=0;for(var I=g&67108863,B=Math.min(E,i.length-1),c=Math.max(0,E-T.length+1);c<=B;c++){var O=E-c,H=T.words[O]|0,pt=i.words[c]|0,yt=H*pt,Nt=yt&67108863;F=F+(yt/67108864|0)|0,Nt=Nt+I|0,I=Nt&67108863,F=F+(Nt>>>26)|0,v+=F>>>26,F&=67108863}h.words[E]=I,g=F,F=v}return g!==0?h.words[E]=g:h.length--,h._strip()}function dt(T,i,h){return ut(T,i,h)}o.prototype.mulTo=function(i,h){var g,v=this.length+i.length;return this.length===10&&i.length===10?g=et(this,i,h):v<63?g=lt(this,i,h):v<1024?g=ut(this,i,h):g=dt(this,i,h),g},o.prototype.mul=function(i){var h=new o(null);return h.words=new Array(this.length+i.length),this.mulTo(i,h)},o.prototype.mulf=function(i){var h=new o(null);return h.words=new Array(this.length+i.length),dt(this,i,h)},o.prototype.imul=function(i){return this.clone().mulTo(i,this)},o.prototype.imuln=function(i){var h=i<0;h&&(i=-i),n(typeof i=="number"),n(i<67108864);for(var g=0,v=0;v<this.length;v++){var E=(this.words[v]|0)*i,F=(E&67108863)+(g&67108863);g>>=26,g+=E/67108864|0,g+=F>>>26,this.words[v]=F&67108863}return g!==0&&(this.words[v]=g,this.length++),this.length=i===0?1:this.length,h?this.ineg():this},o.prototype.muln=function(i){return this.clone().imuln(i)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(i){var h=V(i);if(h.length===0)return new o(1);for(var g=this,v=0;v<h.length&&h[v]===0;v++,g=g.sqr());if(++v<h.length)for(var E=g.sqr();v<h.length;v++,E=E.sqr())h[v]!==0&&(g=g.mul(E));return g},o.prototype.iushln=function(i){n(typeof i=="number"&&i>=0);var h=i%26,g=(i-h)/26,v=67108863>>>26-h<<26-h,E;if(h!==0){var F=0;for(E=0;E<this.length;E++){var I=this.words[E]&v,B=(this.words[E]|0)-I<<h;this.words[E]=B|F,F=I>>>26-h}F&&(this.words[E]=F,this.length++)}if(g!==0){for(E=this.length-1;E>=0;E--)this.words[E+g]=this.words[E];for(E=0;E<g;E++)this.words[E]=0;this.length+=g}return this._strip()},o.prototype.ishln=function(i){return n(this.negative===0),this.iushln(i)},o.prototype.iushrn=function(i,h,g){n(typeof i=="number"&&i>=0);var v;h?v=(h-h%26)/26:v=0;var E=i%26,F=Math.min((i-E)/26,this.length),I=67108863^67108863>>>E<<E,B=g;if(v-=F,v=Math.max(0,v),B){for(var c=0;c<F;c++)B.words[c]=this.words[c];B.length=F}if(F!==0)if(this.length>F)for(this.length-=F,c=0;c<this.length;c++)this.words[c]=this.words[c+F];else this.words[0]=0,this.length=1;var O=0;for(c=this.length-1;c>=0&&(O!==0||c>=v);c--){var H=this.words[c]|0;this.words[c]=O<<26-E|H>>>E,O=H&I}return B&&O!==0&&(B.words[B.length++]=O),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(i,h,g){return n(this.negative===0),this.iushrn(i,h,g)},o.prototype.shln=function(i){return this.clone().ishln(i)},o.prototype.ushln=function(i){return this.clone().iushln(i)},o.prototype.shrn=function(i){return this.clone().ishrn(i)},o.prototype.ushrn=function(i){return this.clone().iushrn(i)},o.prototype.testn=function(i){n(typeof i=="number"&&i>=0);var h=i%26,g=(i-h)/26,v=1<<h;if(this.length<=g)return!1;var E=this.words[g];return!!(E&v)},o.prototype.imaskn=function(i){n(typeof i=="number"&&i>=0);var h=i%26,g=(i-h)/26;if(n(this.negative===0,"imaskn works only with positive numbers"),this.length<=g)return this;if(h!==0&&g++,this.length=Math.min(g,this.length),h!==0){var v=67108863^67108863>>>h<<h;this.words[this.length-1]&=v}return this._strip()},o.prototype.maskn=function(i){return this.clone().imaskn(i)},o.prototype.iaddn=function(i){return n(typeof i=="number"),n(i<67108864),i<0?this.isubn(-i):this.negative!==0?this.length===1&&(this.words[0]|0)<=i?(this.words[0]=i-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(i),this.negative=1,this):this._iaddn(i)},o.prototype._iaddn=function(i){this.words[0]+=i;for(var h=0;h<this.length&&this.words[h]>=67108864;h++)this.words[h]-=67108864,h===this.length-1?this.words[h+1]=1:this.words[h+1]++;return this.length=Math.max(this.length,h+1),this},o.prototype.isubn=function(i){if(n(typeof i=="number"),n(i<67108864),i<0)return this.iaddn(-i);if(this.negative!==0)return this.negative=0,this.iaddn(i),this.negative=1,this;if(this.words[0]-=i,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var h=0;h<this.length&&this.words[h]<0;h++)this.words[h]+=67108864,this.words[h+1]-=1;return this._strip()},o.prototype.addn=function(i){return this.clone().iaddn(i)},o.prototype.subn=function(i){return this.clone().isubn(i)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(i,h,g){var v=i.length+g,E;this._expand(v);var F,I=0;for(E=0;E<i.length;E++){F=(this.words[E+g]|0)+I;var B=(i.words[E]|0)*h;F-=B&67108863,I=(F>>26)-(B/67108864|0),this.words[E+g]=F&67108863}for(;E<this.length-g;E++)F=(this.words[E+g]|0)+I,I=F>>26,this.words[E+g]=F&67108863;if(I===0)return this._strip();for(n(I===-1),I=0,E=0;E<this.length;E++)F=-(this.words[E]|0)+I,I=F>>26,this.words[E]=F&67108863;return this.negative=1,this._strip()},o.prototype._wordDiv=function(i,h){var g=this.length-i.length,v=this.clone(),E=i,F=E.words[E.length-1]|0,I=this._countBits(F);g=26-I,g!==0&&(E=E.ushln(g),v.iushln(g),F=E.words[E.length-1]|0);var B=v.length-E.length,c;if(h!=="mod"){c=new o(null),c.length=B+1,c.words=new Array(c.length);for(var O=0;O<c.length;O++)c.words[O]=0}var H=v.clone()._ishlnsubmul(E,1,B);H.negative===0&&(v=H,c&&(c.words[B]=1));for(var pt=B-1;pt>=0;pt--){var yt=(v.words[E.length+pt]|0)*67108864+(v.words[E.length+pt-1]|0);for(yt=Math.min(yt/F|0,67108863),v._ishlnsubmul(E,yt,pt);v.negative!==0;)yt--,v.negative=0,v._ishlnsubmul(E,1,pt),v.isZero()||(v.negative^=1);c&&(c.words[pt]=yt)}return c&&c._strip(),v._strip(),h!=="div"&&g!==0&&v.iushrn(g),{div:c||null,mod:v}},o.prototype.divmod=function(i,h,g){if(n(!i.isZero()),this.isZero())return{div:new o(0),mod:new o(0)};var v,E,F;return this.negative!==0&&i.negative===0?(F=this.neg().divmod(i,h),h!=="mod"&&(v=F.div.neg()),h!=="div"&&(E=F.mod.neg(),g&&E.negative!==0&&E.iadd(i)),{div:v,mod:E}):this.negative===0&&i.negative!==0?(F=this.divmod(i.neg(),h),h!=="mod"&&(v=F.div.neg()),{div:v,mod:F.mod}):(this.negative&i.negative)!==0?(F=this.neg().divmod(i.neg(),h),h!=="div"&&(E=F.mod.neg(),g&&E.negative!==0&&E.isub(i)),{div:F.div,mod:E}):i.length>this.length||this.cmp(i)<0?{div:new o(0),mod:this}:i.length===1?h==="div"?{div:this.divn(i.words[0]),mod:null}:h==="mod"?{div:null,mod:new o(this.modrn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new o(this.modrn(i.words[0]))}:this._wordDiv(i,h)},o.prototype.div=function(i){return this.divmod(i,"div",!1).div},o.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},o.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},o.prototype.divRound=function(i){var h=this.divmod(i);if(h.mod.isZero())return h.div;var g=h.div.negative!==0?h.mod.isub(i):h.mod,v=i.ushrn(1),E=i.andln(1),F=g.cmp(v);return F<0||E===1&&F===0?h.div:h.div.negative!==0?h.div.isubn(1):h.div.iaddn(1)},o.prototype.modrn=function(i){var h=i<0;h&&(i=-i),n(i<=67108863);for(var g=(1<<26)%i,v=0,E=this.length-1;E>=0;E--)v=(g*v+(this.words[E]|0))%i;return h?-v:v},o.prototype.modn=function(i){return this.modrn(i)},o.prototype.idivn=function(i){var h=i<0;h&&(i=-i),n(i<=67108863);for(var g=0,v=this.length-1;v>=0;v--){var E=(this.words[v]|0)+g*67108864;this.words[v]=E/i|0,g=E%i}return this._strip(),h?this.ineg():this},o.prototype.divn=function(i){return this.clone().idivn(i)},o.prototype.egcd=function(i){n(i.negative===0),n(!i.isZero());var h=this,g=i.clone();h.negative!==0?h=h.umod(i):h=h.clone();for(var v=new o(1),E=new o(0),F=new o(0),I=new o(1),B=0;h.isEven()&&g.isEven();)h.iushrn(1),g.iushrn(1),++B;for(var c=g.clone(),O=h.clone();!h.isZero();){for(var H=0,pt=1;(h.words[0]&pt)===0&&H<26;++H,pt<<=1);if(H>0)for(h.iushrn(H);H-- >0;)(v.isOdd()||E.isOdd())&&(v.iadd(c),E.isub(O)),v.iushrn(1),E.iushrn(1);for(var yt=0,Nt=1;(g.words[0]&Nt)===0&&yt<26;++yt,Nt<<=1);if(yt>0)for(g.iushrn(yt);yt-- >0;)(F.isOdd()||I.isOdd())&&(F.iadd(c),I.isub(O)),F.iushrn(1),I.iushrn(1);h.cmp(g)>=0?(h.isub(g),v.isub(F),E.isub(I)):(g.isub(h),F.isub(v),I.isub(E))}return{a:F,b:I,gcd:g.iushln(B)}},o.prototype._invmp=function(i){n(i.negative===0),n(!i.isZero());var h=this,g=i.clone();h.negative!==0?h=h.umod(i):h=h.clone();for(var v=new o(1),E=new o(0),F=g.clone();h.cmpn(1)>0&&g.cmpn(1)>0;){for(var I=0,B=1;(h.words[0]&B)===0&&I<26;++I,B<<=1);if(I>0)for(h.iushrn(I);I-- >0;)v.isOdd()&&v.iadd(F),v.iushrn(1);for(var c=0,O=1;(g.words[0]&O)===0&&c<26;++c,O<<=1);if(c>0)for(g.iushrn(c);c-- >0;)E.isOdd()&&E.iadd(F),E.iushrn(1);h.cmp(g)>=0?(h.isub(g),v.isub(E)):(g.isub(h),E.isub(v))}var H;return h.cmpn(1)===0?H=v:H=E,H.cmpn(0)<0&&H.iadd(i),H},o.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var h=this.clone(),g=i.clone();h.negative=0,g.negative=0;for(var v=0;h.isEven()&&g.isEven();v++)h.iushrn(1),g.iushrn(1);do{for(;h.isEven();)h.iushrn(1);for(;g.isEven();)g.iushrn(1);var E=h.cmp(g);if(E<0){var F=h;h=g,g=F}else if(E===0||g.cmpn(1)===0)break;h.isub(g)}while(!0);return g.iushln(v)},o.prototype.invm=function(i){return this.egcd(i).a.umod(i)},o.prototype.isEven=function(){return(this.words[0]&1)===0},o.prototype.isOdd=function(){return(this.words[0]&1)===1},o.prototype.andln=function(i){return this.words[0]&i},o.prototype.bincn=function(i){n(typeof i=="number");var h=i%26,g=(i-h)/26,v=1<<h;if(this.length<=g)return this._expand(g+1),this.words[g]|=v,this;for(var E=v,F=g;E!==0&&F<this.length;F++){var I=this.words[F]|0;I+=E,E=I>>>26,I&=67108863,this.words[F]=I}return E!==0&&(this.words[F]=E,this.length++),this},o.prototype.isZero=function(){return this.length===1&&this.words[0]===0},o.prototype.cmpn=function(i){var h=i<0;if(this.negative!==0&&!h)return-1;if(this.negative===0&&h)return 1;this._strip();var g;if(this.length>1)g=1;else{h&&(i=-i),n(i<=67108863,"Number is too big");var v=this.words[0]|0;g=v===i?0:v<i?-1:1}return this.negative!==0?-g|0:g},o.prototype.cmp=function(i){if(this.negative!==0&&i.negative===0)return-1;if(this.negative===0&&i.negative!==0)return 1;var h=this.ucmp(i);return this.negative!==0?-h|0:h},o.prototype.ucmp=function(i){if(this.length>i.length)return 1;if(this.length<i.length)return-1;for(var h=0,g=this.length-1;g>=0;g--){var v=this.words[g]|0,E=i.words[g]|0;if(v!==E){v<E?h=-1:v>E&&(h=1);break}}return h},o.prototype.gtn=function(i){return this.cmpn(i)===1},o.prototype.gt=function(i){return this.cmp(i)===1},o.prototype.gten=function(i){return this.cmpn(i)>=0},o.prototype.gte=function(i){return this.cmp(i)>=0},o.prototype.ltn=function(i){return this.cmpn(i)===-1},o.prototype.lt=function(i){return this.cmp(i)===-1},o.prototype.lten=function(i){return this.cmpn(i)<=0},o.prototype.lte=function(i){return this.cmp(i)<=0},o.prototype.eqn=function(i){return this.cmpn(i)===0},o.prototype.eq=function(i){return this.cmp(i)===0},o.red=function(i){return new ct(i)},o.prototype.toRed=function(i){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),i.convertTo(this)._forceRed(i)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(i){return this.red=i,this},o.prototype.forceRed=function(i){return n(!this.red,"Already a number in reduction context"),this._forceRed(i)},o.prototype.redAdd=function(i){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},o.prototype.redIAdd=function(i){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},o.prototype.redSub=function(i){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},o.prototype.redISub=function(i){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},o.prototype.redShl=function(i){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},o.prototype.redMul=function(i){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},o.prototype.redIMul=function(i){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(i){return n(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var ft={k256:null,p224:null,p192:null,p25519:null};function J(T,i){this.name=T,this.p=new o(i,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}J.prototype._tmp=function(){var i=new o(null);return i.words=new Array(Math.ceil(this.n/13)),i},J.prototype.ireduce=function(i){var h=i,g;do this.split(h,this.tmp),h=this.imulK(h),h=h.iadd(this.tmp),g=h.bitLength();while(g>this.n);var v=g<this.n?-1:h.ucmp(this.p);return v===0?(h.words[0]=0,h.length=1):v>0?h.isub(this.p):h.strip!==void 0?h.strip():h._strip(),h},J.prototype.split=function(i,h){i.iushrn(this.n,0,h)},J.prototype.imulK=function(i){return i.imul(this.k)};function G(){J.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}u(G,J),G.prototype.split=function(i,h){for(var g=4194303,v=Math.min(i.length,9),E=0;E<v;E++)h.words[E]=i.words[E];if(h.length=v,i.length<=9){i.words[0]=0,i.length=1;return}var F=i.words[9];for(h.words[h.length++]=F&g,E=10;E<i.length;E++){var I=i.words[E]|0;i.words[E-10]=(I&g)<<4|F>>>22,F=I}F>>>=22,i.words[E-10]=F,F===0&&i.length>10?i.length-=10:i.length-=9},G.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var h=0,g=0;g<i.length;g++){var v=i.words[g]|0;h+=v*977,i.words[g]=h&67108863,h=v*64+(h/67108864|0)}return i.words[i.length-1]===0&&(i.length--,i.words[i.length-1]===0&&i.length--),i};function at(){J.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}u(at,J);function mt(){J.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}u(mt,J);function ot(){J.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}u(ot,J),ot.prototype.imulK=function(i){for(var h=0,g=0;g<i.length;g++){var v=(i.words[g]|0)*19+h,E=v&67108863;v>>>=26,i.words[g]=E,h=v}return h!==0&&(i.words[i.length++]=h),i},o._prime=function(i){if(ft[i])return ft[i];var h;if(i==="k256")h=new G;else if(i==="p224")h=new at;else if(i==="p192")h=new mt;else if(i==="p25519")h=new ot;else throw new Error("Unknown prime "+i);return ft[i]=h,h};function ct(T){if(typeof T=="string"){var i=o._prime(T);this.m=i.p,this.prime=i}else n(T.gtn(1),"modulus must be greater than 1"),this.m=T,this.prime=null}ct.prototype._verify1=function(i){n(i.negative===0,"red works only with positives"),n(i.red,"red works only with red numbers")},ct.prototype._verify2=function(i,h){n((i.negative|h.negative)===0,"red works only with positives"),n(i.red&&i.red===h.red,"red works only with red numbers")},ct.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):(d(i,i.umod(this.m)._forceRed(this)),i)},ct.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},ct.prototype.add=function(i,h){this._verify2(i,h);var g=i.add(h);return g.cmp(this.m)>=0&&g.isub(this.m),g._forceRed(this)},ct.prototype.iadd=function(i,h){this._verify2(i,h);var g=i.iadd(h);return g.cmp(this.m)>=0&&g.isub(this.m),g},ct.prototype.sub=function(i,h){this._verify2(i,h);var g=i.sub(h);return g.cmpn(0)<0&&g.iadd(this.m),g._forceRed(this)},ct.prototype.isub=function(i,h){this._verify2(i,h);var g=i.isub(h);return g.cmpn(0)<0&&g.iadd(this.m),g},ct.prototype.shl=function(i,h){return this._verify1(i),this.imod(i.ushln(h))},ct.prototype.imul=function(i,h){return this._verify2(i,h),this.imod(i.imul(h))},ct.prototype.mul=function(i,h){return this._verify2(i,h),this.imod(i.mul(h))},ct.prototype.isqr=function(i){return this.imul(i,i.clone())},ct.prototype.sqr=function(i){return this.mul(i,i)},ct.prototype.sqrt=function(i){if(i.isZero())return i.clone();var h=this.m.andln(3);if(n(h%2===1),h===3){var g=this.m.add(new o(1)).iushrn(2);return this.pow(i,g)}for(var v=this.m.subn(1),E=0;!v.isZero()&&v.andln(1)===0;)E++,v.iushrn(1);n(!v.isZero());var F=new o(1).toRed(this),I=F.redNeg(),B=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new o(2*c*c).toRed(this);this.pow(c,B).cmp(I)!==0;)c.redIAdd(I);for(var O=this.pow(c,v),H=this.pow(i,v.addn(1).iushrn(1)),pt=this.pow(i,v),yt=E;pt.cmp(F)!==0;){for(var Nt=pt,Et=0;Nt.cmp(F)!==0;Et++)Nt=Nt.redSqr();n(Et<yt);var At=this.pow(O,new o(1).iushln(yt-Et-1));H=H.redMul(At),O=At.redSqr(),pt=pt.redMul(O),yt=Et}return H},ct.prototype.invm=function(i){var h=i._invmp(this.m);return h.negative!==0?(h.negative=0,this.imod(h).redNeg()):this.imod(h)},ct.prototype.pow=function(i,h){if(h.isZero())return new o(1).toRed(this);if(h.cmpn(1)===0)return i.clone();var g=4,v=new Array(1<<g);v[0]=new o(1).toRed(this),v[1]=i;for(var E=2;E<v.length;E++)v[E]=this.mul(v[E-1],i);var F=v[0],I=0,B=0,c=h.bitLength()%26;for(c===0&&(c=26),E=h.length-1;E>=0;E--){for(var O=h.words[E],H=c-1;H>=0;H--){var pt=O>>H&1;if(F!==v[0]&&(F=this.sqr(F)),pt===0&&I===0){B=0;continue}I<<=1,I|=pt,B++,!(B!==g&&(E!==0||H!==0))&&(F=this.mul(F,v[I]),B=0,I=0)}c=26}return F},ct.prototype.convertTo=function(i){var h=i.umod(this.m);return h===i?h.clone():h},ct.prototype.convertFrom=function(i){var h=i.clone();return h.red=null,h},o.mont=function(i){return new j(i)};function j(T){ct.call(this,T),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}u(j,ct),j.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},j.prototype.convertFrom=function(i){var h=this.imod(i.mul(this.rinv));return h.red=null,h},j.prototype.imul=function(i,h){if(i.isZero()||h.isZero())return i.words[0]=0,i.length=1,i;var g=i.imul(h),v=g.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),E=g.isub(v).iushrn(this.shift),F=E;return E.cmp(this.m)>=0?F=E.isub(this.m):E.cmpn(0)<0&&(F=E.iadd(this.m)),F._forceRed(this)},j.prototype.mul=function(i,h){if(i.isZero()||h.isZero())return new o(0)._forceRed(this);var g=i.mul(h),v=g.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),E=g.isub(v).iushrn(this.shift),F=E;return E.cmp(this.m)>=0?F=E.isub(this.m):E.cmpn(0)<0&&(F=E.iadd(this.m)),F._forceRed(this)},j.prototype.invm=function(i){var h=this.imod(i._invmp(this.m).mul(this.r2));return h._forceRed(this)}})(t,Qg)}(Sr)),Sr.exports}function t1(t,e){return Dr(t,e)}const fw=Object.freeze(Object.defineProperty({__proto__:null,default:t1},Symbol.toStringTag,{value:"Module"}));function e1(t,e){return Ms(t,e,function(r,n){return bs(t,n)})}var r1=Ls(function(t,e){return t==null?{}:e1(t,e)});const lw=Object.freeze(Object.defineProperty({__proto__:null,default:r1},Symbol.toStringTag,{value:"Module"}));var wr={exports:{}},Tn,Fo;function n1(){if(Fo)return Tn;Fo=1;var t=1e3,e=t*60,r=e*60,n=r*24,u=n*7,o=n*365.25;Tn=function(d,C){C=C||{};var k=typeof d;if(k==="string"&&d.length>0)return p(d);if(k==="number"&&isFinite(d))return C.long?_(d):w(d);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(d))};function p(d){if(d=String(d),!(d.length>100)){var C=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(d);if(C){var k=parseFloat(C[1]),K=(C[2]||"ms").toLowerCase();switch(K){case"years":case"year":case"yrs":case"yr":case"y":return k*o;case"weeks":case"week":case"w":return k*u;case"days":case"day":case"d":return k*n;case"hours":case"hour":case"hrs":case"hr":case"h":return k*r;case"minutes":case"minute":case"mins":case"min":case"m":return k*e;case"seconds":case"second":case"secs":case"sec":case"s":return k*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return k;default:return}}}}function w(d){var C=Math.abs(d);return C>=n?Math.round(d/n)+"d":C>=r?Math.round(d/r)+"h":C>=e?Math.round(d/e)+"m":C>=t?Math.round(d/t)+"s":d+"ms"}function _(d){var C=Math.abs(d);return C>=n?x(d,C,n,"day"):C>=r?x(d,C,r,"hour"):C>=e?x(d,C,e,"minute"):C>=t?x(d,C,t,"second"):d+" ms"}function x(d,C,k,K){var tt=C>=k*1.5;return Math.round(d/k)+" "+K+(tt?"s":"")}return Tn}var Cn,Ro;function i1(){if(Ro)return Cn;Ro=1;function t(e){n.debug=n,n.default=n,n.coerce=x,n.disable=w,n.enable=o,n.enabled=_,n.humanize=n1(),n.destroy=d,Object.keys(e).forEach(C=>{n[C]=e[C]}),n.names=[],n.skips=[],n.formatters={};function r(C){let k=0;for(let K=0;K<C.length;K++)k=(k<<5)-k+C.charCodeAt(K),k|=0;return n.colors[Math.abs(k)%n.colors.length]}n.selectColor=r;function n(C){let k,K=null,tt,st;function V(...lt){if(!V.enabled)return;const et=V,ut=Number(new Date),dt=ut-(k||ut);et.diff=dt,et.prev=k,et.curr=ut,k=ut,lt[0]=n.coerce(lt[0]),typeof lt[0]!="string"&&lt.unshift("%O");let ft=0;lt[0]=lt[0].replace(/%([a-zA-Z%])/g,(G,at)=>{if(G==="%%")return"%";ft++;const mt=n.formatters[at];if(typeof mt=="function"){const ot=lt[ft];G=mt.call(et,ot),lt.splice(ft,1),ft--}return G}),n.formatArgs.call(et,lt),(et.log||n.log).apply(et,lt)}return V.namespace=C,V.useColors=n.useColors(),V.color=n.selectColor(C),V.extend=u,V.destroy=n.destroy,Object.defineProperty(V,"enabled",{enumerable:!0,configurable:!1,get:()=>K!==null?K:(tt!==n.namespaces&&(tt=n.namespaces,st=n.enabled(C)),st),set:lt=>{K=lt}}),typeof n.init=="function"&&n.init(V),V}function u(C,k){const K=n(this.namespace+(typeof k>"u"?":":k)+C);return K.log=this.log,K}function o(C){n.save(C),n.namespaces=C,n.names=[],n.skips=[];const k=(typeof C=="string"?C:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const K of k)K[0]==="-"?n.skips.push(K.slice(1)):n.names.push(K)}function p(C,k){let K=0,tt=0,st=-1,V=0;for(;K<C.length;)if(tt<k.length&&(k[tt]===C[K]||k[tt]==="*"))k[tt]==="*"?(st=tt,V=K,tt++):(K++,tt++);else if(st!==-1)tt=st+1,V++,K=V;else return!1;for(;tt<k.length&&k[tt]==="*";)tt++;return tt===k.length}function w(){const C=[...n.names,...n.skips.map(k=>"-"+k)].join(",");return n.enable(""),C}function _(C){for(const k of n.skips)if(p(C,k))return!1;for(const k of n.names)if(p(C,k))return!0;return!1}function x(C){return C instanceof Error?C.stack||C.message:C}function d(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return n.enable(n.load()),n}return Cn=t,Cn}var Io;function cw(){return Io||(Io=1,function(t,e){var r={};e.formatArgs=u,e.save=o,e.load=p,e.useColors=n,e.storage=w(),e.destroy=(()=>{let x=!1;return()=>{x||(x=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function n(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let x;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(x=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(x[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function u(x){if(x[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+x[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const d="color: "+this.color;x.splice(1,0,d,"color: inherit");let C=0,k=0;x[0].replace(/%[a-zA-Z%]/g,K=>{K!=="%%"&&(C++,K==="%c"&&(k=C))}),x.splice(k,0,d)}e.log=console.debug||console.log||(()=>{});function o(x){try{x?e.storage.setItem("debug",x):e.storage.removeItem("debug")}catch{}}function p(){let x;try{x=e.storage.getItem("debug")||e.storage.getItem("DEBUG")}catch{}return!x&&typeof Br<"u"&&"env"in Br&&(x=r.DEBUG),x}function w(){try{return localStorage}catch{}}t.exports=i1()(e);const{formatters:_}=t.exports;_.j=function(x){try{return JSON.stringify(x)}catch(d){return"[UnexpectedJSONParseError]: "+d.message}}}(wr,wr.exports)),wr.exports}function $a(t,e){for(var r=t.length;r--&&zr(e,t[r],0)>-1;);return r}function hw(t,e,r){if(t=ne(t),t&&e===void 0)return t.slice(0,ss(t)+1);if(!t||!(e=ar(e)))return t;var n=ke(t),u=$a(n,ke(e))+1;return Fr(n,0,u).join("")}var o1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Be<"u"?Be:typeof self<"u"?self:{};function s1(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}/*!
17
- * Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
18
- *
19
- * Permission is hereby granted, free of charge, to any person obtaining a copy
20
- * of this software and associated documentation files (the "Software"), to deal
21
- * in the Software without restriction, including without limitation the rights
22
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
23
- * copies of the Software, and to permit persons to whom the Software is
24
- * furnished to do so, subject to the following conditions:
25
- *
26
- * The above copyright notice and this permission notice shall be included in
27
- * all copies or substantial portions of the Software.
28
- *
29
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
30
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
31
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
32
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
33
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
34
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
35
- * SOFTWARE.
36
- */var $n,No;function a1(){return No||(No=1,$n={languageTag:"en-US",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},spaceSeparated:!1,ordinal:function(t){let e=t%10;return~~(t%100/10)===1?"th":e===1?"st":e===2?"nd":e===3?"rd":"th"},bytes:{binarySuffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],decimalSuffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},currency:{symbol:"$",position:"prefix",code:"USD"},currencyFormat:{thousandSeparated:!0,totalLength:4,spaceSeparated:!0,spaceSeparatedCurrency:!0},formats:{fourDigits:{totalLength:4,spaceSeparated:!0},fullWithTwoDecimals:{output:"currency",thousandSeparated:!0,mantissa:2},fullWithTwoDecimalsNoCurrency:{thousandSeparated:!0,mantissa:2},fullWithNoDecimals:{output:"currency",thousandSeparated:!0,mantissa:0}}}),$n}/*!
37
- * Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
38
- *
39
- * Permission is hereby granted, free of charge, to any person obtaining a copy
40
- * of this software and associated documentation files (the "Software"), to deal
41
- * in the Software without restriction, including without limitation the rights
42
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
43
- * copies of the Software, and to permit persons to whom the Software is
44
- * furnished to do so, subject to the following conditions:
45
- *
46
- * The above copyright notice and this permission notice shall be included in
47
- * all copies or substantial portions of the Software.
48
- *
49
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
50
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
51
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
52
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
53
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
54
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
55
- * SOFTWARE.
56
- */var Fn,Uo;function Fa(){if(Uo)return Fn;Uo=1;const t=[{key:"ZiB",factor:Math.pow(1024,7)},{key:"ZB",factor:Math.pow(1e3,7)},{key:"YiB",factor:Math.pow(1024,8)},{key:"YB",factor:Math.pow(1e3,8)},{key:"TiB",factor:Math.pow(1024,4)},{key:"TB",factor:Math.pow(1e3,4)},{key:"PiB",factor:Math.pow(1024,5)},{key:"PB",factor:Math.pow(1e3,5)},{key:"MiB",factor:Math.pow(1024,2)},{key:"MB",factor:Math.pow(1e3,2)},{key:"KiB",factor:Math.pow(1024,1)},{key:"KB",factor:Math.pow(1e3,1)},{key:"GiB",factor:Math.pow(1024,3)},{key:"GB",factor:Math.pow(1e3,3)},{key:"EiB",factor:Math.pow(1024,6)},{key:"EB",factor:Math.pow(1e3,6)},{key:"B",factor:1}];function e(_){return _.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}function r(_,x,d,C,k,K,tt){if(!isNaN(+_))return+_;let st="",V=_.replace(/(^[^(]*)\((.*)\)([^)]*$)/,"$1$2$3");if(V!==_)return-1*r(V,x,d,C,k,K);for(let J=0;J<t.length;J++){let G=t[J];if(st=_.replace(RegExp(`([0-9 ])(${G.key})$`),"$1"),st!==_)return r(st,x,d,C,k,K)*G.factor}if(st=_.replace("%",""),st!==_)return r(st,x,d,C,k,K)/100;let lt=parseFloat(_);if(isNaN(lt))return;let et=C(lt);if(et&&et!=="."&&(st=_.replace(new RegExp(`${e(et)}$`),""),st!==_))return r(st,x,d,C,k,K);let ut={};Object.keys(K).forEach(J=>{ut[K[J]]=J});let dt=Object.keys(ut).sort().reverse(),ft=dt.length;for(let J=0;J<ft;J++){let G=dt[J],at=ut[G];if(st=_.replace(G,""),st!==_){let mt;switch(at){case"thousand":mt=Math.pow(10,3);break;case"million":mt=Math.pow(10,6);break;case"billion":mt=Math.pow(10,9);break;case"trillion":mt=Math.pow(10,12);break}return r(st,x,d,C,k,K)*mt}}}function n(_,x,d){let C=_.replace(d,"");return C=C.replace(new RegExp(`([0-9])${e(x.thousands)}([0-9])`,"g"),"$1$2"),C=C.replace(x.decimal,"."),C}function u(_,x,d="",C,k,K,tt){if(_==="")return;if(_===k)return 0;let st=n(_,x,d);return r(st,x,d,C,k,K)}function o(_,x){if(!(_.indexOf(":")&&x.thousands!==":"))return!1;let C=_.split(":");if(C.length!==3)return!1;let k=+C[0],K=+C[1],tt=+C[2];return!isNaN(k)&&!isNaN(K)&&!isNaN(tt)}function p(_){let x=_.split(":"),d=+x[0],C=+x[1];return+x[2]+60*C+3600*d}function w(_,x){const d=Ai();let C=d.currentDelimiters(),k=d.currentCurrency().symbol,K=d.currentOrdinal(),tt=d.getZeroFormat(),st=d.currentAbbreviations(),V;if(typeof _=="string")o(_,C)?V=p(_):V=u(_,C,k,K,tt,st);else if(typeof _=="number")V=_;else return;if(V!==void 0)return V}return Fn={unformat:w},Fn}/*!
57
- * Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
58
- *
59
- * Permission is hereby granted, free of charge, to any person obtaining a copy
60
- * of this software and associated documentation files (the "Software"), to deal
61
- * in the Software without restriction, including without limitation the rights
62
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
63
- * copies of the Software, and to permit persons to whom the Software is
64
- * furnished to do so, subject to the following conditions:
65
- *
66
- * The above copyright notice and this permission notice shall be included in
67
- * all copies or substantial portions of the Software.
68
- *
69
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
70
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
71
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
72
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
73
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
74
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
75
- * SOFTWARE.
76
- */var Rn,Lo;function Si(){if(Lo)return Rn;Lo=1;let t=Fa();const e=/^[a-z]{2,3}(-[a-zA-Z]{4})?(-([A-Z]{2}|[0-9]{3}))?$/,r=["currency","percent","byte","time","ordinal","number"],n=["trillion","billion","million","thousand"],u=["prefix","infix","postfix"],o=["sign","parenthesis"],p={type:"object",children:{thousand:{type:"string",mandatory:!0},million:{type:"string",mandatory:!0},billion:{type:"string",mandatory:!0},trillion:{type:"string",mandatory:!0}},mandatory:!0},x={output:{type:"string",validValues:r},base:{type:"string",validValues:["decimal","binary","general"],restriction:(V,lt)=>lt.output==="byte",message:"`base` must be provided only when the output is `byte`",mandatory:V=>V.output==="byte"},characteristic:{type:"number",restriction:V=>V>=0,message:"value must be positive"},prefix:"string",postfix:"string",forceAverage:{type:"string",validValues:n},average:"boolean",lowPrecision:{type:"boolean",restriction:(V,lt)=>lt.average===!0,message:"`lowPrecision` must be provided only when the option `average` is set"},currencyPosition:{type:"string",validValues:u},currencySymbol:"string",totalLength:{type:"number",restrictions:[{restriction:V=>V>=0,message:"value must be positive"},{restriction:(V,lt)=>!lt.exponential,message:"`totalLength` is incompatible with `exponential`"}]},mantissa:{type:"number",restriction:V=>V>=0,message:"value must be positive"},optionalMantissa:"boolean",trimMantissa:"boolean",roundingFunction:"function",optionalCharacteristic:"boolean",thousandSeparated:"boolean",spaceSeparated:"boolean",spaceSeparatedCurrency:"boolean",spaceSeparatedAbbreviation:"boolean",abbreviations:{type:"object",children:{thousand:"string",million:"string",billion:"string",trillion:"string"}},negative:{type:"string",validValues:o},forceSign:"boolean",exponential:{type:"boolean"},prefixSymbol:{type:"boolean",restriction:(V,lt)=>lt.output==="percent",message:"`prefixSymbol` can be provided only when the output is `percent`"}},d={languageTag:{type:"string",mandatory:!0,restriction:V=>V.match(e),message:"the language tag must follow the BCP 47 specification (see https://tools.ieft.org/html/bcp47)"},delimiters:{type:"object",children:{thousands:"string",decimal:"string",thousandsSize:"number"},mandatory:!0},abbreviations:p,spaceSeparated:"boolean",spaceSeparatedCurrency:"boolean",ordinal:{type:"function",mandatory:!0},bytes:{type:"object",children:{binarySuffixes:"object",decimalSuffixes:"object"}},currency:{type:"object",children:{symbol:"string",position:"string",code:"string"},mandatory:!0},defaults:"format",ordinalFormat:"format",byteFormat:"format",percentageFormat:"format",currencyFormat:"format",timeDefaults:"format",formats:{type:"object",children:{fourDigits:{type:"format",mandatory:!0},fullWithTwoDecimals:{type:"format",mandatory:!0},fullWithTwoDecimalsNoCurrency:{type:"format",mandatory:!0},fullWithNoDecimals:{type:"format",mandatory:!0}}}};function C(V,lt){let et=k(V),ut=tt(lt);return et&&ut}function k(V){return t.unformat(V)!==void 0}function K(V,lt,et,ut=!1){let dt=Object.keys(V).map(ft=>{if(!lt[ft])return console.error(`${et} Invalid key: ${ft}`),!1;let J=V[ft],G=lt[ft];if(typeof G=="string"&&(G={type:G}),G.type==="format"){if(!K(J,x,`[Validate ${ft}]`,!0))return!1}else if(typeof J!==G.type)return console.error(`${et} ${ft} type mismatched: "${G.type}" expected, "${typeof J}" provided`),!1;if(G.restrictions&&G.restrictions.length){let at=G.restrictions.length;for(let mt=0;mt<at;mt++){let{restriction:ot,message:ct}=G.restrictions[mt];if(!ot(J,V))return console.error(`${et} ${ft} invalid value: ${ct}`),!1}}return G.restriction&&!G.restriction(J,V)?(console.error(`${et} ${ft} invalid value: ${G.message}`),!1):G.validValues&&G.validValues.indexOf(J)===-1?(console.error(`${et} ${ft} invalid value: must be among ${JSON.stringify(G.validValues)}, "${J}" provided`),!1):!(G.children&&!K(J,G.children,`[Validate ${ft}]`))});return ut||dt.push(...Object.keys(lt).map(ft=>{let J=lt[ft];if(typeof J=="string"&&(J={type:J}),J.mandatory){let G=J.mandatory;if(typeof G=="function"&&(G=G(V)),G&&V[ft]===void 0)return console.error(`${et} Missing mandatory key "${ft}"`),!1}return!0})),dt.reduce((ft,J)=>ft&&J,!0)}function tt(V){return K(V,x,"[Validate format]")}function st(V){return K(V,d,"[Validate language]")}return Rn={validate:C,validateFormat:tt,validateInput:k,validateLanguage:st},Rn}/*!
77
- * Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
78
- *
79
- * Permission is hereby granted, free of charge, to any person obtaining a copy
80
- * of this software and associated documentation files (the "Software"), to deal
81
- * in the Software without restriction, including without limitation the rights
82
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
83
- * copies of the Software, and to permit persons to whom the Software is
84
- * furnished to do so, subject to the following conditions:
85
- *
86
- * The above copyright notice and this permission notice shall be included in
87
- * all copies or substantial portions of the Software.
88
- *
89
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
90
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
91
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
92
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
93
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
94
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
95
- * SOFTWARE.
96
- */function u1(t,e){let r=t.match(/^{([^}]*)}/);return r?(e.prefix=r[1],t.slice(r[0].length)):t}function f1(t,e){let r=t.match(/{([^}]*)}$/);return r?(e.postfix=r[1],t.slice(0,-r[0].length)):t}function l1(t,e){if(t.indexOf("$")!==-1){e.output="currency";return}if(t.indexOf("%")!==-1){e.output="percent";return}if(t.indexOf("bd")!==-1){e.output="byte",e.base="general";return}if(t.indexOf("b")!==-1){e.output="byte",e.base="binary";return}if(t.indexOf("d")!==-1){e.output="byte",e.base="decimal";return}if(t.indexOf(":")!==-1){e.output="time";return}t.indexOf("o")!==-1&&(e.output="ordinal")}function c1(t,e){t.indexOf(",")!==-1&&(e.thousandSeparated=!0)}function h1(t,e){t.indexOf(" ")!==-1&&(e.spaceSeparated=!0,e.spaceSeparatedCurrency=!0,(e.average||e.forceAverage)&&(e.spaceSeparatedAbbreviation=!0))}function p1(t,e){let r=t.match(/[1-9]+[0-9]*/);r&&(e.totalLength=+r[0])}function d1(t,e){let n=t.split(".")[0].match(/0+/);n&&(e.characteristic=n[0].length)}function g1(t,e){let r=t.split(".")[1];if(r){let n=r.match(/0+/);n&&(e.mantissa=n[0].length)}}function m1(t,e){const r=t.split(".")[1];r&&(e.trimMantissa=r.indexOf("[")!==-1)}function y1(t,e){t.indexOf("a")!==-1&&(e.average=!0)}function w1(t,e){t.indexOf("K")!==-1?e.forceAverage="thousand":t.indexOf("M")!==-1?e.forceAverage="million":t.indexOf("B")!==-1?e.forceAverage="billion":t.indexOf("T")!==-1&&(e.forceAverage="trillion")}function x1(t,e){t.match(/\[\.]/)?e.optionalMantissa=!0:t.match(/\./)&&(e.optionalMantissa=!1)}function v1(t,e){if(t.indexOf(".")!==-1){let r=t.split(".")[0];e.optionalCharacteristic=r.indexOf("0")===-1}}function b1(t,e){t.match(/^\+?\([^)]*\)$/)&&(e.negative="parenthesis"),t.match(/^\+?-/)&&(e.negative="sign")}function E1(t,e){t.match(/^\+/)&&(e.forceSign=!0)}function M1(t,e={}){return typeof t!="string"?t:(t=u1(t,e),t=f1(t,e),l1(t,e),p1(t,e),d1(t,e),v1(t,e),y1(t,e),w1(t,e),g1(t,e),x1(t,e),m1(t,e),c1(t,e),h1(t,e),b1(t,e),E1(t,e),e)}var Bi={parseFormat:M1};/*!
97
- * Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
98
- *
99
- * Permission is hereby granted, free of charge, to any person obtaining a copy
100
- * of this software and associated documentation files (the "Software"), to deal
101
- * in the Software without restriction, including without limitation the rights
102
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
103
- * copies of the Software, and to permit persons to whom the Software is
104
- * furnished to do so, subject to the following conditions:
105
- *
106
- * The above copyright notice and this permission notice shall be included in
107
- * all copies or substantial portions of the Software.
108
- *
109
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
110
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
111
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
112
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
113
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
114
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
115
- * SOFTWARE.
116
- */var In,Po;function Ai(){if(Po)return In;Po=1;const t=a1(),e=Si(),r=Bi;let n={},u,o={},p=null,w={};function _(d){u=d}function x(){return o[u]}return n.languages=()=>Object.assign({},o),n.currentLanguage=()=>u,n.currentBytes=()=>x().bytes||{},n.currentCurrency=()=>x().currency,n.currentAbbreviations=()=>x().abbreviations,n.currentDelimiters=()=>x().delimiters,n.currentOrdinal=()=>x().ordinal,n.currentDefaults=()=>Object.assign({},x().defaults,w),n.currentOrdinalDefaultFormat=()=>Object.assign({},n.currentDefaults(),x().ordinalFormat),n.currentByteDefaultFormat=()=>Object.assign({},n.currentDefaults(),x().byteFormat),n.currentPercentageDefaultFormat=()=>Object.assign({},n.currentDefaults(),x().percentageFormat),n.currentCurrencyDefaultFormat=()=>Object.assign({},n.currentDefaults(),x().currencyFormat),n.currentTimeDefaultFormat=()=>Object.assign({},n.currentDefaults(),x().timeFormat),n.setDefaults=d=>{d=r.parseFormat(d),e.validateFormat(d)&&(w=d)},n.getZeroFormat=()=>p,n.setZeroFormat=d=>p=typeof d=="string"?d:null,n.hasZeroFormat=()=>p!==null,n.languageData=d=>{if(d){if(o[d])return o[d];throw new Error(`Unknown tag "${d}"`)}return x()},n.registerLanguage=(d,C=!1)=>{if(!e.validateLanguage(d))throw new Error("Invalid language data");o[d.languageTag]=d,C&&_(d.languageTag)},n.setLanguage=(d,C=t.languageTag)=>{if(!o[d]){let k=d.split("-")[0],K=Object.keys(o).find(tt=>tt.split("-")[0]===k);if(!o[K]){_(C);return}_(K);return}_(d)},n.registerLanguage(t),u=t.languageTag,In=n,In}function _1(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}/*!
117
- * Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
118
- *
119
- * Permission is hereby granted, free of charge, to any person obtaining a copy
120
- * of this software and associated documentation files (the "Software"), to deal
121
- * in the Software without restriction, including without limitation the rights
122
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
123
- * copies of the Software, and to permit persons to whom the Software is
124
- * furnished to do so, subject to the following conditions:
125
- *
126
- * The above copyright notice and this permission notice shall be included in
127
- * all copies or substantial portions of the Software.
128
- *
129
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
130
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
131
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
132
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
133
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
134
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
135
- * SOFTWARE.
136
- */function S1(t,e){t.forEach(r=>{let n;try{n=_1(`../languages/${r}`)}catch{console.error(`Unable to load "${r}". No matching language file found.`)}n&&e.registerLanguage(n)})}var B1=t=>({loadLanguagesInNode:e=>S1(e,t)}),Ra={exports:{}};(function(t){(function(e){var r,n=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,u=Math.ceil,o=Math.floor,p="[BigNumber Error] ",w=p+"Number primitive has more than 15 significant digits: ",_=1e14,x=14,d=9007199254740991,C=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],k=1e7,K=1e9;function tt(J){var G,at,mt,ot=H.prototype={constructor:H,toString:null,valueOf:null},ct=new H(1),j=20,T=4,i=-7,h=21,g=-1e7,v=1e7,E=!1,F=1,I=0,B={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},c="0123456789abcdefghijklmnopqrstuvwxyz",O=!0;function H(b,A){var $,Z,U,D,Q,R,L,X,z=this;if(!(z instanceof H))return new H(b,A);if(A==null){if(b&&b._isBigNumber===!0){z.s=b.s,!b.c||b.e>v?z.c=z.e=null:b.e<g?z.c=[z.e=0]:(z.e=b.e,z.c=b.c.slice());return}if((R=typeof b=="number")&&b*0==0){if(z.s=1/b<0?(b=-b,-1):1,b===~~b){for(D=0,Q=b;Q>=10;Q/=10,D++);D>v?z.c=z.e=null:(z.e=D,z.c=[b]);return}X=String(b)}else{if(!n.test(X=String(b)))return mt(z,X,R);z.s=X.charCodeAt(0)==45?(X=X.slice(1),-1):1}(D=X.indexOf("."))>-1&&(X=X.replace(".","")),(Q=X.search(/e/i))>0?(D<0&&(D=Q),D+=+X.slice(Q+1),X=X.substring(0,Q)):D<0&&(D=X.length)}else{if(et(A,2,c.length,"Base"),A==10&&O)return z=new H(b),Et(z,j+z.e+1,T);if(X=String(b),R=typeof b=="number"){if(b*0!=0)return mt(z,X,R,A);if(z.s=1/b<0?(X=X.slice(1),-1):1,H.DEBUG&&X.replace(/^0\.0*|\./,"").length>15)throw Error(w+b)}else z.s=X.charCodeAt(0)===45?(X=X.slice(1),-1):1;for($=c.slice(0,A),D=Q=0,L=X.length;Q<L;Q++)if($.indexOf(Z=X.charAt(Q))<0){if(Z=="."){if(Q>D){D=L;continue}}else if(!U&&(X==X.toUpperCase()&&(X=X.toLowerCase())||X==X.toLowerCase()&&(X=X.toUpperCase()))){U=!0,Q=-1,D=0;continue}return mt(z,String(b),R,A)}R=!1,X=at(X,A,10,z.s),(D=X.indexOf("."))>-1?X=X.replace(".",""):D=X.length}for(Q=0;X.charCodeAt(Q)===48;Q++);for(L=X.length;X.charCodeAt(--L)===48;);if(X=X.slice(Q,++L)){if(L-=Q,R&&H.DEBUG&&L>15&&(b>d||b!==o(b)))throw Error(w+z.s*b);if((D=D-Q-1)>v)z.c=z.e=null;else if(D<g)z.c=[z.e=0];else{if(z.e=D,z.c=[],Q=(D+1)%x,D<0&&(Q+=x),Q<L){for(Q&&z.c.push(+X.slice(0,Q)),L-=x;Q<L;)z.c.push(+X.slice(Q,Q+=x));Q=x-(X=X.slice(Q)).length}else Q-=L;for(;Q--;X+="0");z.c.push(+X)}}else z.c=[z.e=0]}H.clone=tt,H.ROUND_UP=0,H.ROUND_DOWN=1,H.ROUND_CEIL=2,H.ROUND_FLOOR=3,H.ROUND_HALF_UP=4,H.ROUND_HALF_DOWN=5,H.ROUND_HALF_EVEN=6,H.ROUND_HALF_CEIL=7,H.ROUND_HALF_FLOOR=8,H.EUCLID=9,H.config=H.set=function(b){var A,$;if(b!=null)if(typeof b=="object"){if(b.hasOwnProperty(A="DECIMAL_PLACES")&&($=b[A],et($,0,K,A),j=$),b.hasOwnProperty(A="ROUNDING_MODE")&&($=b[A],et($,0,8,A),T=$),b.hasOwnProperty(A="EXPONENTIAL_AT")&&($=b[A],$&&$.pop?(et($[0],-K,0,A),et($[1],0,K,A),i=$[0],h=$[1]):(et($,-K,K,A),i=-(h=$<0?-$:$))),b.hasOwnProperty(A="RANGE"))if($=b[A],$&&$.pop)et($[0],-K,-1,A),et($[1],1,K,A),g=$[0],v=$[1];else if(et($,-K,K,A),$)g=-(v=$<0?-$:$);else throw Error(p+A+" cannot be zero: "+$);if(b.hasOwnProperty(A="CRYPTO"))if($=b[A],$===!!$)if($)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))E=$;else throw E=!$,Error(p+"crypto unavailable");else E=$;else throw Error(p+A+" not true or false: "+$);if(b.hasOwnProperty(A="MODULO_MODE")&&($=b[A],et($,0,9,A),F=$),b.hasOwnProperty(A="POW_PRECISION")&&($=b[A],et($,0,K,A),I=$),b.hasOwnProperty(A="FORMAT"))if($=b[A],typeof $=="object")B=$;else throw Error(p+A+" not an object: "+$);if(b.hasOwnProperty(A="ALPHABET"))if($=b[A],typeof $=="string"&&!/^.?$|[+\-.\s]|(.).*\1/.test($))O=$.slice(0,10)=="0123456789",c=$;else throw Error(p+A+" invalid: "+$)}else throw Error(p+"Object expected: "+b);return{DECIMAL_PLACES:j,ROUNDING_MODE:T,EXPONENTIAL_AT:[i,h],RANGE:[g,v],CRYPTO:E,MODULO_MODE:F,POW_PRECISION:I,FORMAT:B,ALPHABET:c}},H.isBigNumber=function(b){if(!b||b._isBigNumber!==!0)return!1;if(!H.DEBUG)return!0;var A,$,Z=b.c,U=b.e,D=b.s;t:if({}.toString.call(Z)=="[object Array]"){if((D===1||D===-1)&&U>=-K&&U<=K&&U===o(U)){if(Z[0]===0){if(U===0&&Z.length===1)return!0;break t}if(A=(U+1)%x,A<1&&(A+=x),String(Z[0]).length==A){for(A=0;A<Z.length;A++)if($=Z[A],$<0||$>=_||$!==o($))break t;if($!==0)return!0}}}else if(Z===null&&U===null&&(D===null||D===1||D===-1))return!0;throw Error(p+"Invalid BigNumber: "+b)},H.maximum=H.max=function(){return yt(arguments,-1)},H.minimum=H.min=function(){return yt(arguments,1)},H.random=function(){var b=9007199254740992,A=Math.random()*b&2097151?function(){return o(Math.random()*b)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function($){var Z,U,D,Q,R,L=0,X=[],z=new H(ct);if($==null?$=j:et($,0,K),Q=u($/x),E)if(crypto.getRandomValues){for(Z=crypto.getRandomValues(new Uint32Array(Q*=2));L<Q;)R=Z[L]*131072+(Z[L+1]>>>11),R>=9e15?(U=crypto.getRandomValues(new Uint32Array(2)),Z[L]=U[0],Z[L+1]=U[1]):(X.push(R%1e14),L+=2);L=Q/2}else if(crypto.randomBytes){for(Z=crypto.randomBytes(Q*=7);L<Q;)R=(Z[L]&31)*281474976710656+Z[L+1]*1099511627776+Z[L+2]*4294967296+Z[L+3]*16777216+(Z[L+4]<<16)+(Z[L+5]<<8)+Z[L+6],R>=9e15?crypto.randomBytes(7).copy(Z,L):(X.push(R%1e14),L+=7);L=Q/7}else throw E=!1,Error(p+"crypto unavailable");if(!E)for(;L<Q;)R=A(),R<9e15&&(X[L++]=R%1e14);for(Q=X[--L],$%=x,Q&&$&&(R=C[x-$],X[L]=o(Q/R)*R);X[L]===0;X.pop(),L--);if(L<0)X=[D=0];else{for(D=-1;X[0]===0;X.splice(0,1),D-=x);for(L=1,R=X[0];R>=10;R/=10,L++);L<x&&(D-=x-L)}return z.e=D,z.c=X,z}}(),H.sum=function(){for(var b=1,A=arguments,$=new H(A[0]);b<A.length;)$=$.plus(A[b++]);return $},at=function(){var b="0123456789";function A($,Z,U,D){for(var Q,R=[0],L,X=0,z=$.length;X<z;){for(L=R.length;L--;R[L]*=Z);for(R[0]+=D.indexOf($.charAt(X++)),Q=0;Q<R.length;Q++)R[Q]>U-1&&(R[Q+1]==null&&(R[Q+1]=0),R[Q+1]+=R[Q]/U|0,R[Q]%=U)}return R.reverse()}return function($,Z,U,D,Q){var R,L,X,z,it,gt,ht,xt,It=$.indexOf("."),_t=j,vt=T;for(It>=0&&(z=I,I=0,$=$.replace(".",""),xt=new H(Z),gt=xt.pow($.length-It),I=z,xt.c=A(ft(V(gt.c),gt.e,"0"),10,U,b),xt.e=xt.c.length),ht=A($,Z,U,Q?(R=c,b):(R=b,c)),X=z=ht.length;ht[--z]==0;ht.pop());if(!ht[0])return R.charAt(0);if(It<0?--X:(gt.c=ht,gt.e=X,gt.s=D,gt=G(gt,xt,_t,vt,U),ht=gt.c,it=gt.r,X=gt.e),L=X+_t+1,It=ht[L],z=U/2,it=it||L<0||ht[L+1]!=null,it=vt<4?(It!=null||it)&&(vt==0||vt==(gt.s<0?3:2)):It>z||It==z&&(vt==4||it||vt==6&&ht[L-1]&1||vt==(gt.s<0?8:7)),L<1||!ht[0])$=it?ft(R.charAt(1),-_t,R.charAt(0)):R.charAt(0);else{if(ht.length=L,it)for(--U;++ht[--L]>U;)ht[L]=0,L||(++X,ht=[1].concat(ht));for(z=ht.length;!ht[--z];);for(It=0,$="";It<=z;$+=R.charAt(ht[It++]));$=ft($,X,R.charAt(0))}return $}}(),G=function(){function b(Z,U,D){var Q,R,L,X,z=0,it=Z.length,gt=U%k,ht=U/k|0;for(Z=Z.slice();it--;)L=Z[it]%k,X=Z[it]/k|0,Q=ht*L+X*gt,R=gt*L+Q%k*k+z,z=(R/D|0)+(Q/k|0)+ht*X,Z[it]=R%D;return z&&(Z=[z].concat(Z)),Z}function A(Z,U,D,Q){var R,L;if(D!=Q)L=D>Q?1:-1;else for(R=L=0;R<D;R++)if(Z[R]!=U[R]){L=Z[R]>U[R]?1:-1;break}return L}function $(Z,U,D,Q){for(var R=0;D--;)Z[D]-=R,R=Z[D]<U[D]?1:0,Z[D]=R*Q+Z[D]-U[D];for(;!Z[0]&&Z.length>1;Z.splice(0,1));}return function(Z,U,D,Q,R){var L,X,z,it,gt,ht,xt,It,_t,vt,Ct,Ot,m,s,f,M,N,q=Z.s==U.s?1:-1,Y=Z.c,wt=U.c;if(!Y||!Y[0]||!wt||!wt[0])return new H(!Z.s||!U.s||(Y?wt&&Y[0]==wt[0]:!wt)?NaN:Y&&Y[0]==0||!wt?q*0:q/0);for(It=new H(q),_t=It.c=[],X=Z.e-U.e,q=D+X+1,R||(R=_,X=st(Z.e/x)-st(U.e/x),q=q/x|0),z=0;wt[z]==(Y[z]||0);z++);if(wt[z]>(Y[z]||0)&&X--,q<0)_t.push(1),it=!0;else{for(s=Y.length,M=wt.length,z=0,q+=2,gt=o(R/(wt[0]+1)),gt>1&&(wt=b(wt,gt,R),Y=b(Y,gt,R),M=wt.length,s=Y.length),m=M,vt=Y.slice(0,M),Ct=vt.length;Ct<M;vt[Ct++]=0);N=wt.slice(),N=[0].concat(N),f=wt[0],wt[1]>=R/2&&f++;do{if(gt=0,L=A(wt,vt,M,Ct),L<0){if(Ot=vt[0],M!=Ct&&(Ot=Ot*R+(vt[1]||0)),gt=o(Ot/f),gt>1)for(gt>=R&&(gt=R-1),ht=b(wt,gt,R),xt=ht.length,Ct=vt.length;A(ht,vt,xt,Ct)==1;)gt--,$(ht,M<xt?N:wt,xt,R),xt=ht.length,L=1;else gt==0&&(L=gt=1),ht=wt.slice(),xt=ht.length;if(xt<Ct&&(ht=[0].concat(ht)),$(vt,ht,Ct,R),Ct=vt.length,L==-1)for(;A(wt,vt,M,Ct)<1;)gt++,$(vt,M<Ct?N:wt,Ct,R),Ct=vt.length}else L===0&&(gt++,vt=[0]);_t[z++]=gt,vt[0]?vt[Ct++]=Y[m]||0:(vt=[Y[m]],Ct=1)}while((m++<s||vt[0]!=null)&&q--);it=vt[0]!=null,_t[0]||_t.splice(0,1)}if(R==_){for(z=1,q=_t[0];q>=10;q/=10,z++);Et(It,D+(It.e=z+X*x-1)+1,Q,it)}else It.e=X,It.r=+it;return It}}();function pt(b,A,$,Z){var U,D,Q,R,L;if($==null?$=T:et($,0,8),!b.c)return b.toString();if(U=b.c[0],Q=b.e,A==null)L=V(b.c),L=Z==1||Z==2&&(Q<=i||Q>=h)?dt(L,Q):ft(L,Q,"0");else if(b=Et(new H(b),A,$),D=b.e,L=V(b.c),R=L.length,Z==1||Z==2&&(A<=D||D<=i)){for(;R<A;L+="0",R++);L=dt(L,D)}else if(A-=Q,L=ft(L,D,"0"),D+1>R){if(--A>0)for(L+=".";A--;L+="0");}else if(A+=D-R,A>0)for(D+1==R&&(L+=".");A--;L+="0");return b.s<0&&U?"-"+L:L}function yt(b,A){for(var $,Z,U=1,D=new H(b[0]);U<b.length;U++)Z=new H(b[U]),(!Z.s||($=lt(D,Z))===A||$===0&&D.s===A)&&(D=Z);return D}function Nt(b,A,$){for(var Z=1,U=A.length;!A[--U];A.pop());for(U=A[0];U>=10;U/=10,Z++);return($=Z+$*x-1)>v?b.c=b.e=null:$<g?b.c=[b.e=0]:(b.e=$,b.c=A),b}mt=function(){var b=/^(-?)0([xbo])(?=\w[\w.]*$)/i,A=/^([^.]+)\.$/,$=/^\.([^.]+)$/,Z=/^-?(Infinity|NaN)$/,U=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(D,Q,R,L){var X,z=R?Q:Q.replace(U,"");if(Z.test(z))D.s=isNaN(z)?null:z<0?-1:1;else{if(!R&&(z=z.replace(b,function(it,gt,ht){return X=(ht=ht.toLowerCase())=="x"?16:ht=="b"?2:8,!L||L==X?gt:it}),L&&(X=L,z=z.replace(A,"$1").replace($,"0.$1")),Q!=z))return new H(z,X);if(H.DEBUG)throw Error(p+"Not a"+(L?" base "+L:"")+" number: "+Q);D.s=null}D.c=D.e=null}}();function Et(b,A,$,Z){var U,D,Q,R,L,X,z,it=b.c,gt=C;if(it){t:{for(U=1,R=it[0];R>=10;R/=10,U++);if(D=A-U,D<0)D+=x,Q=A,L=it[X=0],z=o(L/gt[U-Q-1]%10);else if(X=u((D+1)/x),X>=it.length)if(Z){for(;it.length<=X;it.push(0));L=z=0,U=1,D%=x,Q=D-x+1}else break t;else{for(L=R=it[X],U=1;R>=10;R/=10,U++);D%=x,Q=D-x+U,z=Q<0?0:o(L/gt[U-Q-1]%10)}if(Z=Z||A<0||it[X+1]!=null||(Q<0?L:L%gt[U-Q-1]),Z=$<4?(z||Z)&&($==0||$==(b.s<0?3:2)):z>5||z==5&&($==4||Z||$==6&&(D>0?Q>0?L/gt[U-Q]:0:it[X-1])%10&1||$==(b.s<0?8:7)),A<1||!it[0])return it.length=0,Z?(A-=b.e+1,it[0]=gt[(x-A%x)%x],b.e=-A||0):it[0]=b.e=0,b;if(D==0?(it.length=X,R=1,X--):(it.length=X+1,R=gt[x-D],it[X]=Q>0?o(L/gt[U-Q]%gt[Q])*R:0),Z)for(;;)if(X==0){for(D=1,Q=it[0];Q>=10;Q/=10,D++);for(Q=it[0]+=R,R=1;Q>=10;Q/=10,R++);D!=R&&(b.e++,it[0]==_&&(it[0]=1));break}else{if(it[X]+=R,it[X]!=_)break;it[X--]=0,R=1}for(D=it.length;it[--D]===0;it.pop());}b.e>v?b.c=b.e=null:b.e<g&&(b.c=[b.e=0])}return b}function At(b){var A,$=b.e;return $===null?b.toString():(A=V(b.c),A=$<=i||$>=h?dt(A,$):ft(A,$,"0"),b.s<0?"-"+A:A)}return ot.absoluteValue=ot.abs=function(){var b=new H(this);return b.s<0&&(b.s=1),b},ot.comparedTo=function(b,A){return lt(this,new H(b,A))},ot.decimalPlaces=ot.dp=function(b,A){var $,Z,U,D=this;if(b!=null)return et(b,0,K),A==null?A=T:et(A,0,8),Et(new H(D),b+D.e+1,A);if(!($=D.c))return null;if(Z=((U=$.length-1)-st(this.e/x))*x,U=$[U])for(;U%10==0;U/=10,Z--);return Z<0&&(Z=0),Z},ot.dividedBy=ot.div=function(b,A){return G(this,new H(b,A),j,T)},ot.dividedToIntegerBy=ot.idiv=function(b,A){return G(this,new H(b,A),0,1)},ot.exponentiatedBy=ot.pow=function(b,A){var $,Z,U,D,Q,R,L,X,z,it=this;if(b=new H(b),b.c&&!b.isInteger())throw Error(p+"Exponent not an integer: "+At(b));if(A!=null&&(A=new H(A)),R=b.e>14,!it.c||!it.c[0]||it.c[0]==1&&!it.e&&it.c.length==1||!b.c||!b.c[0])return z=new H(Math.pow(+At(it),R?b.s*(2-ut(b)):+At(b))),A?z.mod(A):z;if(L=b.s<0,A){if(A.c?!A.c[0]:!A.s)return new H(NaN);Z=!L&&it.isInteger()&&A.isInteger(),Z&&(it=it.mod(A))}else{if(b.e>9&&(it.e>0||it.e<-1||(it.e==0?it.c[0]>1||R&&it.c[1]>=24e7:it.c[0]<8e13||R&&it.c[0]<=9999975e7)))return D=it.s<0&&ut(b)?-0:0,it.e>-1&&(D=1/D),new H(L?1/D:D);I&&(D=u(I/x+2))}for(R?($=new H(.5),L&&(b.s=1),X=ut(b)):(U=Math.abs(+At(b)),X=U%2),z=new H(ct);;){if(X){if(z=z.times(it),!z.c)break;D?z.c.length>D&&(z.c.length=D):Z&&(z=z.mod(A))}if(U){if(U=o(U/2),U===0)break;X=U%2}else if(b=b.times($),Et(b,b.e+1,1),b.e>14)X=ut(b);else{if(U=+At(b),U===0)break;X=U%2}it=it.times(it),D?it.c&&it.c.length>D&&(it.c.length=D):Z&&(it=it.mod(A))}return Z?z:(L&&(z=ct.div(z)),A?z.mod(A):D?Et(z,I,T,Q):z)},ot.integerValue=function(b){var A=new H(this);return b==null?b=T:et(b,0,8),Et(A,A.e+1,b)},ot.isEqualTo=ot.eq=function(b,A){return lt(this,new H(b,A))===0},ot.isFinite=function(){return!!this.c},ot.isGreaterThan=ot.gt=function(b,A){return lt(this,new H(b,A))>0},ot.isGreaterThanOrEqualTo=ot.gte=function(b,A){return(A=lt(this,new H(b,A)))===1||A===0},ot.isInteger=function(){return!!this.c&&st(this.e/x)>this.c.length-2},ot.isLessThan=ot.lt=function(b,A){return lt(this,new H(b,A))<0},ot.isLessThanOrEqualTo=ot.lte=function(b,A){return(A=lt(this,new H(b,A)))===-1||A===0},ot.isNaN=function(){return!this.s},ot.isNegative=function(){return this.s<0},ot.isPositive=function(){return this.s>0},ot.isZero=function(){return!!this.c&&this.c[0]==0},ot.minus=function(b,A){var $,Z,U,D,Q=this,R=Q.s;if(b=new H(b,A),A=b.s,!R||!A)return new H(NaN);if(R!=A)return b.s=-A,Q.plus(b);var L=Q.e/x,X=b.e/x,z=Q.c,it=b.c;if(!L||!X){if(!z||!it)return z?(b.s=-A,b):new H(it?Q:NaN);if(!z[0]||!it[0])return it[0]?(b.s=-A,b):new H(z[0]?Q:T==3?-0:0)}if(L=st(L),X=st(X),z=z.slice(),R=L-X){for((D=R<0)?(R=-R,U=z):(X=L,U=it),U.reverse(),A=R;A--;U.push(0));U.reverse()}else for(Z=(D=(R=z.length)<(A=it.length))?R:A,R=A=0;A<Z;A++)if(z[A]!=it[A]){D=z[A]<it[A];break}if(D&&(U=z,z=it,it=U,b.s=-b.s),A=(Z=it.length)-($=z.length),A>0)for(;A--;z[$++]=0);for(A=_-1;Z>R;){if(z[--Z]<it[Z]){for($=Z;$&&!z[--$];z[$]=A);--z[$],z[Z]+=_}z[Z]-=it[Z]}for(;z[0]==0;z.splice(0,1),--X);return z[0]?Nt(b,z,X):(b.s=T==3?-1:1,b.c=[b.e=0],b)},ot.modulo=ot.mod=function(b,A){var $,Z,U=this;return b=new H(b,A),!U.c||!b.s||b.c&&!b.c[0]?new H(NaN):!b.c||U.c&&!U.c[0]?new H(U):(F==9?(Z=b.s,b.s=1,$=G(U,b,0,3),b.s=Z,$.s*=Z):$=G(U,b,0,F),b=U.minus($.times(b)),!b.c[0]&&F==1&&(b.s=U.s),b)},ot.multipliedBy=ot.times=function(b,A){var $,Z,U,D,Q,R,L,X,z,it,gt,ht,xt,It,_t,vt=this,Ct=vt.c,Ot=(b=new H(b,A)).c;if(!Ct||!Ot||!Ct[0]||!Ot[0])return!vt.s||!b.s||Ct&&!Ct[0]&&!Ot||Ot&&!Ot[0]&&!Ct?b.c=b.e=b.s=null:(b.s*=vt.s,!Ct||!Ot?b.c=b.e=null:(b.c=[0],b.e=0)),b;for(Z=st(vt.e/x)+st(b.e/x),b.s*=vt.s,L=Ct.length,it=Ot.length,L<it&&(xt=Ct,Ct=Ot,Ot=xt,U=L,L=it,it=U),U=L+it,xt=[];U--;xt.push(0));for(It=_,_t=k,U=it;--U>=0;){for($=0,gt=Ot[U]%_t,ht=Ot[U]/_t|0,Q=L,D=U+Q;D>U;)X=Ct[--Q]%_t,z=Ct[Q]/_t|0,R=ht*X+z*gt,X=gt*X+R%_t*_t+xt[D]+$,$=(X/It|0)+(R/_t|0)+ht*z,xt[D--]=X%It;xt[D]=$}return $?++Z:xt.splice(0,1),Nt(b,xt,Z)},ot.negated=function(){var b=new H(this);return b.s=-b.s||null,b},ot.plus=function(b,A){var $,Z=this,U=Z.s;if(b=new H(b,A),A=b.s,!U||!A)return new H(NaN);if(U!=A)return b.s=-A,Z.minus(b);var D=Z.e/x,Q=b.e/x,R=Z.c,L=b.c;if(!D||!Q){if(!R||!L)return new H(U/0);if(!R[0]||!L[0])return L[0]?b:new H(R[0]?Z:U*0)}if(D=st(D),Q=st(Q),R=R.slice(),U=D-Q){for(U>0?(Q=D,$=L):(U=-U,$=R),$.reverse();U--;$.push(0));$.reverse()}for(U=R.length,A=L.length,U-A<0&&($=L,L=R,R=$,A=U),U=0;A;)U=(R[--A]=R[A]+L[A]+U)/_|0,R[A]=_===R[A]?0:R[A]%_;return U&&(R=[U].concat(R),++Q),Nt(b,R,Q)},ot.precision=ot.sd=function(b,A){var $,Z,U,D=this;if(b!=null&&b!==!!b)return et(b,1,K),A==null?A=T:et(A,0,8),Et(new H(D),b,A);if(!($=D.c))return null;if(U=$.length-1,Z=U*x+1,U=$[U]){for(;U%10==0;U/=10,Z--);for(U=$[0];U>=10;U/=10,Z++);}return b&&D.e+1>Z&&(Z=D.e+1),Z},ot.shiftedBy=function(b){return et(b,-d,d),this.times("1e"+b)},ot.squareRoot=ot.sqrt=function(){var b,A,$,Z,U,D=this,Q=D.c,R=D.s,L=D.e,X=j+4,z=new H("0.5");if(R!==1||!Q||!Q[0])return new H(!R||R<0&&(!Q||Q[0])?NaN:Q?D:1/0);if(R=Math.sqrt(+At(D)),R==0||R==1/0?(A=V(Q),(A.length+L)%2==0&&(A+="0"),R=Math.sqrt(+A),L=st((L+1)/2)-(L<0||L%2),R==1/0?A="5e"+L:(A=R.toExponential(),A=A.slice(0,A.indexOf("e")+1)+L),$=new H(A)):$=new H(R+""),$.c[0]){for(L=$.e,R=L+X,R<3&&(R=0);;)if(U=$,$=z.times(U.plus(G(D,U,X,1))),V(U.c).slice(0,R)===(A=V($.c)).slice(0,R))if($.e<L&&--R,A=A.slice(R-3,R+1),A=="9999"||!Z&&A=="4999"){if(!Z&&(Et(U,U.e+j+2,0),U.times(U).eq(D))){$=U;break}X+=4,R+=4,Z=1}else{(!+A||!+A.slice(1)&&A.charAt(0)=="5")&&(Et($,$.e+j+2,1),b=!$.times($).eq(D));break}}return Et($,$.e+j+1,T,b)},ot.toExponential=function(b,A){return b!=null&&(et(b,0,K),b++),pt(this,b,A,1)},ot.toFixed=function(b,A){return b!=null&&(et(b,0,K),b=b+this.e+1),pt(this,b,A)},ot.toFormat=function(b,A,$){var Z,U=this;if($==null)b!=null&&A&&typeof A=="object"?($=A,A=null):b&&typeof b=="object"?($=b,b=A=null):$=B;else if(typeof $!="object")throw Error(p+"Argument not an object: "+$);if(Z=U.toFixed(b,A),U.c){var D,Q=Z.split("."),R=+$.groupSize,L=+$.secondaryGroupSize,X=$.groupSeparator||"",z=Q[0],it=Q[1],gt=U.s<0,ht=gt?z.slice(1):z,xt=ht.length;if(L&&(D=R,R=L,L=D,xt-=D),R>0&&xt>0){for(D=xt%R||R,z=ht.substr(0,D);D<xt;D+=R)z+=X+ht.substr(D,R);L>0&&(z+=X+ht.slice(D)),gt&&(z="-"+z)}Z=it?z+($.decimalSeparator||"")+((L=+$.fractionGroupSize)?it.replace(new RegExp("\\d{"+L+"}\\B","g"),"$&"+($.fractionGroupSeparator||"")):it):z}return($.prefix||"")+Z+($.suffix||"")},ot.toFraction=function(b){var A,$,Z,U,D,Q,R,L,X,z,it,gt,ht=this,xt=ht.c;if(b!=null&&(R=new H(b),!R.isInteger()&&(R.c||R.s!==1)||R.lt(ct)))throw Error(p+"Argument "+(R.isInteger()?"out of range: ":"not an integer: ")+At(R));if(!xt)return new H(ht);for(A=new H(ct),X=$=new H(ct),Z=L=new H(ct),gt=V(xt),D=A.e=gt.length-ht.e-1,A.c[0]=C[(Q=D%x)<0?x+Q:Q],b=!b||R.comparedTo(A)>0?D>0?A:X:R,Q=v,v=1/0,R=new H(gt),L.c[0]=0;z=G(R,A,0,1),U=$.plus(z.times(Z)),U.comparedTo(b)!=1;)$=Z,Z=U,X=L.plus(z.times(U=X)),L=U,A=R.minus(z.times(U=A)),R=U;return U=G(b.minus($),Z,0,1),L=L.plus(U.times(X)),$=$.plus(U.times(Z)),L.s=X.s=ht.s,D=D*2,it=G(X,Z,D,T).minus(ht).abs().comparedTo(G(L,$,D,T).minus(ht).abs())<1?[X,Z]:[L,$],v=Q,it},ot.toNumber=function(){return+At(this)},ot.toPrecision=function(b,A){return b!=null&&et(b,1,K),pt(this,b,A,2)},ot.toString=function(b){var A,$=this,Z=$.s,U=$.e;return U===null?Z?(A="Infinity",Z<0&&(A="-"+A)):A="NaN":(b==null?A=U<=i||U>=h?dt(V($.c),U):ft(V($.c),U,"0"):b===10&&O?($=Et(new H($),j+U+1,T),A=ft(V($.c),$.e,"0")):(et(b,2,c.length,"Base"),A=at(ft(V($.c),U,"0"),10,b,Z,!0)),Z<0&&$.c[0]&&(A="-"+A)),A},ot.valueOf=ot.toJSON=function(){return At(this)},ot._isBigNumber=!0,J!=null&&H.set(J),H}function st(J){var G=J|0;return J>0||J===G?G:G-1}function V(J){for(var G,at,mt=1,ot=J.length,ct=J[0]+"";mt<ot;){for(G=J[mt++]+"",at=x-G.length;at--;G="0"+G);ct+=G}for(ot=ct.length;ct.charCodeAt(--ot)===48;);return ct.slice(0,ot+1||1)}function lt(J,G){var at,mt,ot=J.c,ct=G.c,j=J.s,T=G.s,i=J.e,h=G.e;if(!j||!T)return null;if(at=ot&&!ot[0],mt=ct&&!ct[0],at||mt)return at?mt?0:-T:j;if(j!=T)return j;if(at=j<0,mt=i==h,!ot||!ct)return mt?0:!ot^at?1:-1;if(!mt)return i>h^at?1:-1;for(T=(i=ot.length)<(h=ct.length)?i:h,j=0;j<T;j++)if(ot[j]!=ct[j])return ot[j]>ct[j]^at?1:-1;return i==h?0:i>h^at?1:-1}function et(J,G,at,mt){if(J<G||J>at||J!==o(J))throw Error(p+(mt||"Argument")+(typeof J=="number"?J<G||J>at?" out of range: ":" not an integer: ":" not a primitive number: ")+String(J))}function ut(J){var G=J.c.length-1;return st(J.e/x)==G&&J.c[G]%2!=0}function dt(J,G){return(J.length>1?J.charAt(0)+"."+J.slice(1):J)+(G<0?"e":"e+")+G}function ft(J,G,at){var mt,ot;if(G<0){for(ot=at+".";++G;ot+=at);J=ot+J}else if(mt=J.length,++G>mt){for(ot=at,G-=mt;--G;ot+=at);J+=ot}else G<mt&&(J=J.slice(0,G)+"."+J.slice(G));return J}r=tt(),r.default=r.BigNumber=r,t.exports?t.exports=r:(e||(e=typeof self<"u"&&self?self:window),e.BigNumber=r)})(o1)})(Ra);var Ia=Ra.exports;/*!
137
- * Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
138
- *
139
- * Permission is hereby granted, free of charge, to any person obtaining a copy
140
- * of this software and associated documentation files (the "Software"), to deal
141
- * in the Software without restriction, including without limitation the rights
142
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
143
- * copies of the Software, and to permit persons to whom the Software is
144
- * furnished to do so, subject to the following conditions:
145
- *
146
- * The above copyright notice and this permission notice shall be included in
147
- * all copies or substantial portions of the Software.
148
- *
149
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
150
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
151
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
152
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
153
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
154
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
155
- * SOFTWARE.
156
- */const fe=Ai(),A1=Si(),O1=Bi,T1=Ia,Yt={trillion:Math.pow(10,12),billion:Math.pow(10,9),million:Math.pow(10,6),thousand:Math.pow(10,3)},gr={totalLength:0,characteristic:0,forceAverage:!1,average:!1,mantissa:-1,optionalMantissa:!0,thousandSeparated:!1,spaceSeparated:!1,negative:"sign",forceSign:!1,roundingFunction:Math.round,spaceSeparatedAbbreviation:!1},{binarySuffixes:Na,decimalSuffixes:$r}=fe.currentBytes(),Oi={general:{scale:1024,suffixes:$r},binary:{scale:1024,suffixes:Na},decimal:{scale:1e3,suffixes:$r}};function C1(t,e={},r){if(typeof e=="string"&&(e=O1.parseFormat(e)),!A1.validateFormat(e))return"ERROR: invalid format";let u=e.prefix||"",o=e.postfix||"",p=$1(t,e,r);return p=K1(p,u),p=Y1(p,o),p}function $1(t,e,r){switch(e.output){case"currency":return e=Pe(e,fe.currentCurrencyDefaultFormat()),D1(t,e,fe);case"percent":return e=Pe(e,fe.currentPercentageDefaultFormat()),P1(t,e,fe,r);case"byte":return e=Pe(e,fe.currentByteDefaultFormat()),N1(t,e,fe,r);case"time":return e=Pe(e,fe.currentTimeDefaultFormat()),L1(t);case"ordinal":return e=Pe(e,fe.currentOrdinalDefaultFormat()),U1(t,e,fe);case"number":default:return mr({instance:t,providedFormat:e})}}function F1(t){let e=Oi.decimal;return Xr(t._value,e.suffixes,e.scale).suffix}function R1(t){let e=Oi.binary;return Xr(t._value,e.suffixes,e.scale).suffix}function I1(t){let e=Oi.general;return Xr(t._value,e.suffixes,e.scale).suffix}function Xr(t,e,r){let n=e[0],u=Math.abs(t);if(u>=r){for(let o=1;o<e.length;++o){let p=Math.pow(r,o),w=Math.pow(r,o+1);if(u>=p&&u<w){n=e[o],t=t/p;break}}n===e[0]&&(t=t/Math.pow(r,e.length-1),n=e[e.length-1])}return{value:t,suffix:n}}function N1(t,e,r,n){let u=e.base||"binary",o=Object.assign({},gr,e);const{binarySuffixes:p,decimalSuffixes:w}=r.currentBytes();let x={general:{scale:1024,suffixes:w||$r,marker:"bd"},binary:{scale:1024,suffixes:p||Na,marker:"b"},decimal:{scale:1e3,suffixes:w||$r,marker:"d"}}[u],{value:d,suffix:C}=Xr(t._value,x.suffixes,x.scale);return`${mr({instance:n(d),providedFormat:e,state:r,defaults:r.currentByteDefaultFormat()})}${o.spaceSeparated?" ":""}${C}`}function U1(t,e,r){let n=r.currentOrdinal(),u=Object.assign({},gr,e),o=mr({instance:t,providedFormat:e,state:r}),p=n(t._value);return`${o}${u.spaceSeparated?" ":""}${p}`}function L1(t){let e=Math.floor(t._value/60/60),r=Math.floor((t._value-e*60*60)/60),n=Math.round(t._value-e*60*60-r*60);return`${e}:${r<10?"0":""}${r}:${n<10?"0":""}${n}`}function P1(t,e,r,n){let u=e.prefixSymbol,o=mr({instance:n(t._value*100),providedFormat:e,state:r}),p=Object.assign({},gr,e);return u?`%${p.spaceSeparated?" ":""}${o}`:`${o}${p.spaceSeparated?" ":""}%`}function D1(t,e,r){const n=r.currentCurrency();let u=Object.assign({},e),o=Object.assign({},gr,u),p,w="",_=!!o.totalLength||!!o.forceAverage||o.average,x=u.currencyPosition||n.position,d=u.currencySymbol||n.symbol;const C=o.spaceSeparatedCurrency!==void 0?o.spaceSeparatedCurrency:o.spaceSeparated;u.lowPrecision===void 0&&(u.lowPrecision=!1),C&&(w=" "),x==="infix"&&(p=w+d+w);let k=mr({instance:t,providedFormat:u,state:r,decimalSeparator:p});return x==="prefix"&&(t._value<0&&o.negative==="sign"?k=`-${w}${d}${k.slice(1)}`:t._value>0&&o.forceSign?k=`+${w}${d}${k.slice(1)}`:k=d+w+k),(!x||x==="postfix")&&(w=!o.spaceSeparatedAbbreviation&&_?"":w,k=k+w+d),k}function j1({value:t,forceAverage:e,lowPrecision:r=!0,abbreviations:n,spaceSeparated:u=!1,totalLength:o=0,roundingFunction:p=Math.round}){let w="",_=Math.abs(t),x=-1;if(e&&n[e]&&Yt[e]?(w=n[e],t=t/Yt[e]):_>=Yt.trillion||r&&p(_/Yt.trillion)===1?(w=n.trillion,t=t/Yt.trillion):_<Yt.trillion&&_>=Yt.billion||r&&p(_/Yt.billion)===1?(w=n.billion,t=t/Yt.billion):_<Yt.billion&&_>=Yt.million||r&&p(_/Yt.million)===1?(w=n.million,t=t/Yt.million):(_<Yt.million&&_>=Yt.thousand||r&&p(_/Yt.thousand)===1)&&(w=n.thousand,t=t/Yt.thousand),w&&(w=(u?" ":"")+w),o){let C=t<0,k=t.toString().split(".")[0],K=C?k.length-1:k.length;x=Math.max(o-K,0)}return{value:t,abbreviation:w,mantissaPrecision:x}}function k1({value:t,characteristicPrecision:e}){let[r,n]=t.toExponential().split("e"),u=+r;if(!e)return{value:u,abbreviation:`e${n}`};let o=1;return o<e&&(u=u*Math.pow(10,e-o),n=+n-(e-o),n=n>=0?`+${n}`:n),{value:u,abbreviation:`e${n}`}}function xr(t){let e="";for(let r=0;r<t;r++)e+="0";return e}function q1(t,e){let r=t.toString(),[n,u]=r.split("e"),[o,p=""]=n.split(".");if(+u>0)r=o+p+xr(u-p.length);else{let w=".";+o<0?w=`-0${w}`:w=`0${w}`;let _=(xr(-u-1)+Math.abs(o)+p).substr(0,e);_.length<e&&(_+=xr(e-_.length)),r=w+_}return+u>0&&e>0&&(r+=`.${xr(e)}`),r}function z1(t,e,r=Math.round){return t.toString().indexOf("e")!==-1?q1(t,e):new T1(r(+`${t}e+${e}`)/Math.pow(10,e)).toFixed(e)}function H1(t,e,r,n,u,o){if(n===-1)return t;let p=z1(e,n,o),[w,_=""]=p.toString().split(".");if(_.match(/^0+$/)&&(r||u))return w;let x=_.match(/0+$/);return u&&x?`${w}.${_.toString().slice(0,x.index)}`:p.toString()}function G1(t,e,r,n){let u=t,[o,p]=u.toString().split(".");if(o.match(/^-?0$/)&&r)return p?`${o.replace("0","")}.${p}`:o.replace("0","");const w=e<0&&o.indexOf("-")===0;if(w&&(o=o.slice(1),u=u.slice(1)),o.length<n){let _=n-o.length;for(let x=0;x<_;x++)u=`0${u}`}return w&&(u=`-${u}`),u.toString()}function W1(t,e){let r=[],n=0;for(let u=t;u>0;u--)n===e&&(r.unshift(u),n=0),n++;return r}function Z1(t,e,r,n,u){let o=n.currentDelimiters(),p=o.thousands;u=u||o.decimal;let w=o.thousandsSize||3,_=t.toString(),x=_.split(".")[0],d=_.split(".")[1];const C=e<0&&x.indexOf("-")===0;return r&&(C&&(x=x.slice(1)),W1(x.length,w).forEach((K,tt)=>{x=x.slice(0,K+tt)+p+x.slice(K+tt)}),C&&(x=`-${x}`)),d?_=x+u+d:_=x,_}function J1(t,e){return t+e}function V1(t,e,r){return e===0?t:+t==0?t.replace("-",""):e>0?`+${t}`:r==="sign"?t:`(${t.replace("-","")})`}function K1(t,e){return e+t}function Y1(t,e){return t+e}function mr({instance:t,providedFormat:e,state:r=fe,decimalSeparator:n,defaults:u=r.currentDefaults()}){let o=t._value;if(o===0&&r.hasZeroFormat())return r.getZeroFormat();if(!isFinite(o))return o.toString();let p=Object.assign({},gr,u,e),w=p.totalLength,_=w?0:p.characteristic,x=p.optionalCharacteristic,d=p.forceAverage,C=p.lowPrecision,k=!!w||!!d||p.average,K=w?-1:k&&e.mantissa===void 0?0:p.mantissa,tt=w?!1:e.optionalMantissa===void 0?K===-1:p.optionalMantissa,st=p.trimMantissa,V=p.thousandSeparated,lt=p.spaceSeparated,et=p.negative,ut=p.forceSign,dt=p.exponential,ft=p.roundingFunction,J="";if(k){let at=j1({value:o,forceAverage:d,lowPrecision:C,abbreviations:r.currentAbbreviations(),spaceSeparated:lt,roundingFunction:ft,totalLength:w});o=at.value,J+=at.abbreviation,w&&(K=at.mantissaPrecision)}if(dt){let at=k1({value:o,characteristicPrecision:_});o=at.value,J=at.abbreviation+J}let G=H1(o.toString(),o,tt,K,st,ft);return G=G1(G,o,x,_),G=Z1(G,o,V,r,n),(k||dt)&&(G=J1(G,J)),(ut||o<0)&&(G=V1(G,o,et)),G}function Pe(t,e){if(!t)return e;let r=Object.keys(t);return r.length===1&&r[0]==="output"?e:t}var X1=t=>({format:(...e)=>C1(...e,t),getByteUnit:(...e)=>I1(...e,t),getBinaryByteUnit:(...e)=>R1(...e,t),getDecimalByteUnit:(...e)=>F1(...e,t),formatOrDefault:Pe});/*!
157
- * Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
158
- *
159
- * Permission is hereby granted, free of charge, to any person obtaining a copy
160
- * of this software and associated documentation files (the "Software"), to deal
161
- * in the Software without restriction, including without limitation the rights
162
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
163
- * copies of the Software, and to permit persons to whom the Software is
164
- * furnished to do so, subject to the following conditions:
165
- *
166
- * The above copyright notice and this permission notice shall be included in
167
- * all copies or substantial portions of the Software.
168
- *
169
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
170
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
171
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
172
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
173
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
174
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
175
- * SOFTWARE.
176
- */const xe=Ia;function Q1(t,e,r){let n=new xe(t._value),u=e;return r.isNumbro(e)&&(u=e._value),u=new xe(u),t._value=n.plus(u).toNumber(),t}function Ua(t,e,r){let n=new xe(t._value),u=e;return r.isNumbro(e)&&(u=e._value),u=new xe(u),t._value=n.minus(u).toNumber(),t}function tm(t,e,r){let n=new xe(t._value),u=e;return r.isNumbro(e)&&(u=e._value),u=new xe(u),t._value=n.times(u).toNumber(),t}function em(t,e,r){let n=new xe(t._value),u=e;return r.isNumbro(e)&&(u=e._value),u=new xe(u),t._value=n.dividedBy(u).toNumber(),t}function rm(t,e,r){let n=e;return r.isNumbro(e)&&(n=e._value),t._value=n,t}function nm(t,e,r){let n=r(t._value);return Ua(n,e,r),Math.abs(n._value)}var im=t=>({add:(e,r)=>Q1(e,r,t),subtract:(e,r)=>Ua(e,r,t),multiply:(e,r)=>tm(e,r,t),divide:(e,r)=>em(e,r,t),set:(e,r)=>rm(e,r,t),difference:(e,r)=>nm(e,r,t),BigNumber:xe});/*!
177
- * Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
178
- *
179
- * Permission is hereby granted, free of charge, to any person obtaining a copy
180
- * of this software and associated documentation files (the "Software"), to deal
181
- * in the Software without restriction, including without limitation the rights
182
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
183
- * copies of the Software, and to permit persons to whom the Software is
184
- * furnished to do so, subject to the following conditions:
185
- *
186
- * The above copyright notice and this permission notice shall be included in
187
- * all copies or substantial portions of the Software.
188
- *
189
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
190
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
191
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
192
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
193
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
194
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
195
- * SOFTWARE.
196
- */const om="2.5.0",ye=Ai(),sm=Si(),am=B1(Ht),um=Fa();let _e=X1(Ht),Se=im(Ht);const fm=Bi;class La{constructor(e){this._value=e}clone(){return Ht(this._value)}format(e={}){return _e.format(this,e)}formatCurrency(e){return typeof e=="string"&&(e=fm.parseFormat(e)),e=_e.formatOrDefault(e,ye.currentCurrencyDefaultFormat()),e.output="currency",_e.format(this,e)}formatTime(e={}){return e.output="time",_e.format(this,e)}binaryByteUnits(){return _e.getBinaryByteUnit(this)}decimalByteUnits(){return _e.getDecimalByteUnit(this)}byteUnits(){return _e.getByteUnit(this)}difference(e){return Se.difference(this,e)}add(e){return Se.add(this,e)}subtract(e){return Se.subtract(this,e)}multiply(e){return Se.multiply(this,e)}divide(e){return Se.divide(this,e)}set(e){return Se.set(this,Pa(e))}value(){return this._value}valueOf(){return this._value}}function Pa(t){let e=t;return Ht.isNumbro(t)?e=t._value:typeof t=="string"?e=Ht.unformat(t):isNaN(t)&&(e=NaN),e}function Ht(t){return new La(Pa(t))}Ht.version=om;Ht.isNumbro=function(t){return t instanceof La};Ht.language=ye.currentLanguage;Ht.registerLanguage=ye.registerLanguage;Ht.setLanguage=ye.setLanguage;Ht.languages=ye.languages;Ht.languageData=ye.languageData;Ht.zeroFormat=ye.setZeroFormat;Ht.defaultFormat=ye.currentDefaults;Ht.setDefaults=ye.setDefaults;Ht.defaultCurrencyFormat=ye.currentCurrencyDefaultFormat;Ht.validate=sm.validate;Ht.loadLanguagesInNode=am.loadLanguagesInNode;Ht.unformat=um.unformat;Ht.BigNumber=Se.BigNumber;var lm=Ht,pw=s1(lm),Do=gi(function(t,e,r,n){Ne(e,Ke(e),t,n)}),cm="[object DOMException]",hm="[object Error]";function Da(t){if(!ee(t))return!1;var e=ce(t);return e==hm||e==cm||typeof t.message=="string"&&typeof t.name=="string"&&!jr(t)}var pm=he(function(t,e){try{return di(t,void 0,e)}catch(r){return Da(r)?r:new Error(r)}});function ja(t,e){return we(e,function(r){return t[r]})}var ka=Object.prototype,dm=ka.hasOwnProperty;function jo(t,e,r,n){return t===void 0||Ze(t,ka[r])&&!dm.call(n,r)?e:t}var gm={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function mm(t){return"\\"+gm[t]}var qa=/<%=([\s\S]+?)%>/g,ym={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},wm=ya(ym),za=/[&<>"']/g,xm=RegExp(za.source);function vm(t){return t=ne(t),t&&xm.test(t)?t.replace(za,wm):t}var bm=/<%-([\s\S]+?)%>/g,Em=/<%([\s\S]+?)%>/g,ko={escape:bm,evaluate:Em,interpolate:qa,variable:"",imports:{_:{escape:vm}}},Mm="Invalid `variable` option passed into `_.template`",_m=/\b__p \+= '';/g,Sm=/\b(__p \+=) '' \+/g,Bm=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Am=/[()=,{}\[\]\/\s]/,Om=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,vr=/($^)/,Tm=/['\n\r\u2028\u2029\\]/g,Cm=Object.prototype,qo=Cm.hasOwnProperty;function dw(t,e,r){var n=ko.imports._.templateSettings||ko;t=ne(t),e=Do({},e,n,jo);var u=Do({},e.imports,n.imports,jo),o=Me(u),p=ja(u,o),w,_,x=0,d=e.interpolate||vr,C="__p += '",k=RegExp((e.escape||vr).source+"|"+d.source+"|"+(d===qa?Om:vr).source+"|"+(e.evaluate||vr).source+"|$","g"),K=qo.call(e,"sourceURL")?"//# sourceURL="+(e.sourceURL+"").replace(/\s/g," ")+`
197
- `:"";t.replace(k,function(V,lt,et,ut,dt,ft){return et||(et=ut),C+=t.slice(x,ft).replace(Tm,mm),lt&&(w=!0,C+=`' +
198
- __e(`+lt+`) +
199
- '`),dt&&(_=!0,C+=`';
200
- `+dt+`;
201
- __p += '`),et&&(C+=`' +
202
- ((__t = (`+et+`)) == null ? '' : __t) +
203
- '`),x=ft+V.length,V}),C+=`';
204
- `;var tt=qo.call(e,"variable")&&e.variable;if(!tt)C=`with (obj) {
205
- `+C+`
206
- }
207
- `;else if(Am.test(tt))throw new Error(Mm);C=(_?C.replace(_m,""):C).replace(Sm,"$1").replace(Bm,"$1;"),C="function("+(tt||"obj")+`) {
208
- `+(tt?"":`obj || (obj = {});
209
- `)+"var __t, __p = ''"+(w?", __e = _.escape":"")+(_?`, __j = Array.prototype.join;
210
- function print() { __p += __j.call(arguments, '') }
211
- `:`;
212
- `)+C+`return __p
213
- }`;var st=pm(function(){return Function(o,K+"return "+C).apply(void 0,p)});if(st.source=C,Da(st))throw st;return st}var $m=ae.isFinite;function gw(t){return typeof t=="number"&&$m(t)}var Fm=1,Rm=4;function Im(t){return rr(t,Fm|Rm)}const mw=Object.freeze(Object.defineProperty({__proto__:null,default:Im},Symbol.toStringTag,{value:"Module"}));function Ha(t,e,r,n,u,o){return Kt(t)&&Kt(e)&&(o.set(e,t),kr(t,e,void 0,Ha,o),o.delete(e)),t}var Nm=gi(function(t,e,r,n){kr(t,e,r,n)}),yw=he(function(t){return t.push(void 0,Ha),di(Nm,void 0,t)});function Um(t,e){for(var r=-1,n=t.length;++r<n&&zr(e,t[r],0)>-1;);return r}function Lm(t,e,r){if(t=ne(t),t&&(r||e===void 0))return as(t);if(!t||!(e=ar(e)))return t;var n=ke(t),u=ke(e),o=Um(n,u),p=$a(n,u)+1;return Fr(n,o,p).join("")}const ww=Object.freeze(Object.defineProperty({__proto__:null,default:Lm},Symbol.toStringTag,{value:"Module"}));var Pm=Math.min;function Dm(t,e,r){for(var n=mi,u=t[0].length,o=t.length,p=o,w=Array(o),_=1/0,x=[];p--;){var d=t[p];_=Pm(d.length,_),w[p]=u>=120&&d.length>=120?new Ce(p&&d):void 0}d=t[0];var C=-1,k=w[0];t:for(;++C<u&&x.length<_;){var K=d[C],tt=K;if(K=K!==0?K:0,!(k?or(k,tt):n(x,tt))){for(p=o;--p;){var st=w[p];if(!(st?or(st,tt):n(t[p],tt)))continue t}k&&k.push(tt),x.push(K)}}return x}function jm(t){return $e(t)?t:[]}var xw=he(function(t){var e=we(t,jm);return e.length&&e[0]===t[0]?Dm(e):[]}),vw=he(function(t){var e=qr(t);return $e(e)&&(e=void 0),Ge(hr(t,1,$e,!0),me(e))});function Ti(t,e){return t&&Bs(t,e,Me)}function km(t,e){return function(r,n){if(r==null)return r;if(!Ee(r))return t(r,n);for(var u=r.length,o=-1,p=Object(r);++o<u&&n(p[o],o,p)!==!1;);return r}}var Ci=km(Ti);function Ga(t,e){var r=-1,n=Ee(t)?Array(t.length):[];return Ci(t,function(u,o,p){n[++r]=e(u,o,p)}),n}function qm(t,e){var r=t.length;for(t.sort(e);r--;)t[r]=t[r].value;return t}function zm(t,e){if(t!==e){var r=t!==void 0,n=t===null,u=t===t,o=je(t),p=e!==void 0,w=e===null,_=e===e,x=je(e);if(!w&&!x&&!o&&t>e||o&&p&&_&&!w&&!x||n&&p&&_||!r&&_||!u)return 1;if(!n&&!o&&!x&&t<e||x&&r&&u&&!n&&!o||w&&r&&u||!p&&u||!_)return-1}return 0}function Hm(t,e,r){for(var n=-1,u=t.criteria,o=e.criteria,p=u.length,w=r.length;++n<p;){var _=zm(u[n],o[n]);if(_){if(n>=w)return _;var x=r[n];return _*(x=="desc"?-1:1)}}return t.index-e.index}function Wa(t,e,r){e.length?e=we(e,function(o){return Gt(o)?function(p){return fr(p,o.length===1?o[0]:o)}:o}):e=[lr];var n=-1;e=we(e,Ur(me));var u=Ga(t,function(o,p,w){var _=we(e,function(x){return x(o)});return{criteria:_,index:++n,value:o}});return qm(u,function(o,p){return Hm(o,p,r)})}var bw=he(function(t,e){if(t==null)return[];var r=e.length;return r>1&&Wn(t,e[0],e[1])?e=[]:r>2&&Wn(e[0],e[1],e[2])&&(e=[e[0]]),Wa(t,hr(e),[])});function Gm(t){return function(e,r,n){var u=Object(e);if(!Ee(e)){var o=me(r);e=Me(e),r=function(w){return o(u[w],w,u)}}var p=t(e,r,n);return p>-1?u[o?e[p]:p]:void 0}}var Wm=Math.max;function Zm(t,e,r){var n=t==null?0:t.length;if(!n)return-1;var u=r==null?0:We(r);return u<0&&(u=Wm(n+u,0)),Ps(t,me(e),u)}var Ew=Gm(Zm);function Jm(t){return t&&t.length?Ge(t):[]}const Mw=Object.freeze(Object.defineProperty({__proto__:null,default:Jm},Symbol.toStringTag,{value:"Module"}));var Vm=Math.ceil,Km=Math.max;function _w(t,e,r){e===void 0?e=1:e=Km(We(e),0);var n=t==null?0:t.length;if(!n||e<1)return[];for(var u=0,o=0,p=Array(Vm(n/e));u<n;)p[o++]=ti(t,u,u+=e);return p}function Ym(t,e,r,n){for(var u=-1,o=t==null?0:t.length;++u<o;){var p=t[u];e(n,p,r(p),t)}return n}function Xm(t,e,r,n){return Ci(t,function(u,o,p){e(n,u,r(u),p)}),n}function Za(t,e){return function(r,n){var u=Gt(r)?Ym:Xm,o=e?e():{};return u(r,t,me(n),o)}}var Qm=200;function Ja(t,e,r,n){var u=-1,o=mi,p=!0,w=t.length,_=[],x=e.length;if(!w)return _;n?(o=Ds,p=!1):e.length>=Qm&&(o=or,p=!1,e=new Ce(e));t:for(;++u<w;){var d=t[u],C=d;if(d=n||d!==0?d:0,p&&C===C){for(var k=x;k--;)if(e[k]===C)continue t;_.push(d)}else o(e,C,n)||_.push(d)}return _}function Va(t){return typeof t=="function"?t:lr}function Sw(t,e){var r=Gt(t)?Rs:Ci;return r(t,Va(e))}function ty(t,e){var r=Gt(t)?we:Ga;return r(t,me(e))}const Bw=Object.freeze(Object.defineProperty({__proto__:null,default:ty},Symbol.toStringTag,{value:"Module"}));function ey(t,e){return t&&Ti(t,Va(e))}const Aw=Object.freeze(Object.defineProperty({__proto__:null,default:ey},Symbol.toStringTag,{value:"Module"}));function Ow(t){return t==null?[]:ja(t,Me(t))}function Tw(t){return typeof t=="number"&&t==We(t)}var Cw=Za(function(t,e,r){cr(t,r,e)});function $w(t,e){var r={};return e=me(e),Ti(t,function(n,u,o){cr(r,u,e(n,u,o))}),r}function ry(t,e){var r=t.length;if(r)return e+=e<0?r:0,ur(e,r)?t[e]:void 0}function Fw(t){return t=We(t),he(function(e){return ry(e,t)})}function Rw(t,e,r,n){return t==null?[]:(Gt(e)||(e=e==null?[]:[e]),r=r,Gt(r)||(r=r==null?[]:[r]),Wa(t,e,r))}var ny=Za(function(t,e,r){t[r?0:1].push(e)},function(){return[[],[]]});const Iw=Object.freeze(Object.defineProperty({__proto__:null,default:ny},Symbol.toStringTag,{value:"Module"}));var iy=Array.prototype,zo=iy.splice;function oy(t,e,r,n){var u=zr,o=-1,p=e.length,w=t;for(t===e&&(e=pi(e));++o<p;)for(var _=0,x=e[o],d=x;(_=u(w,d,_))>-1;)w!==t&&zo.call(w,_,1),zo.call(t,_,1);return t}function sy(t,e){return t&&t.length&&e&&e.length?oy(t,e):t}var Nw=he(sy);function ay(t){return ne(t).toLowerCase()}const Uw=Object.freeze(Object.defineProperty({__proto__:null,default:ay},Symbol.toStringTag,{value:"Module"}));function Lw(t){return ne(t).toUpperCase()}var uy=he(function(t){var e=qr(t);return e=typeof e=="function"?e:void 0,Ge(hr(t,1,$e,!0),void 0,e)});const Pw=Object.freeze(Object.defineProperty({__proto__:null,default:uy},Symbol.toStringTag,{value:"Module"}));var Dw=he(function(t,e){return $e(t)?Ja(t,e):[]});function fy(t,e,r){var n=t.length;if(n<2)return n?Ge(t[0]):[];for(var u=-1,o=Array(n);++u<n;)for(var p=t[u],w=-1;++w<n;)w!=u&&(o[u]=Ja(o[u]||p,t[w],e,r));return Ge(hr(o),e,r)}var jw=he(function(t){var e=qr(t);return e=typeof e=="function"?e:void 0,fy(ls(t,$e),void 0,e)});export{Nw as $,r1 as A,ad as B,Ty as C,Vt as D,Ew as E,Kt as F,Im as G,Lm as H,rg as I,Ay as J,ma as K,Vg as L,mw as M,My as N,$y as O,Cy as P,Ey as Q,Hh as R,Ih as S,ri as T,Jm as U,xi as V,ig as W,Fw as X,Tw as Y,Ph as Z,n1 as _,Xc as a,Kg as a0,bw as a1,fp as a2,t1 as a3,Oy as a4,Uw as a5,ww as a6,_w as a7,Rw as a8,Dy as a9,pw as aA,Gt as aB,xw as aC,vw as aD,yw as aE,yy as aF,gw as aG,dy as aH,Mw as aI,ui as aJ,jw as aa,Pd as ab,Ny as ac,Cw as ad,Fy as ae,Sy as af,Aw as ag,by as ah,Bw as ai,Sw as aj,ty as ak,ks as al,Ry as am,hp as an,Pw as ao,py as ap,Iw as aq,Dw as ar,By as as,Ow as at,Wc as au,_y as av,Lw as aw,$w as ax,hw as ay,dw as az,Qu as b,xy as c,r0 as d,vs as e,tw as f,Be as g,ew as h,jr as i,rw as j,cy as k,iw as l,ow as m,f0 as n,gy as o,sw as p,hy as q,my as r,wy as s,vy as t,nw as u,uw as v,Xg as w,fw as x,lw as y,cw as z};