@zeniai/web-app-ui 5.3.52-dev → 5.3.53-dev

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 (150) hide show
  1. package/dist/assets/{AccountMappingScreen-CfjKXYvl.js → AccountMappingScreen-h6RQnGUG.js} +2 -2
  2. package/dist/assets/{ActualMatchingMatchDetailScreen-Ctlw5YXu.js → ActualMatchingMatchDetailScreen-B7Vw_l4c.js} +1 -1
  3. package/dist/assets/AddressRoutes-w8tyo6J5.js +1 -0
  4. package/dist/assets/AddressScreen-DcUrSOsf.js +9 -0
  5. package/dist/assets/AiCfoScreen-CpQfUa4g.js +22 -0
  6. package/dist/assets/{AppDrawer-QudxLZqd.js → AppDrawer-DrLIFDtl.js} +1 -1
  7. package/dist/assets/{BillPayApprovalRoutes--p2o0UTq.js → BillPayApprovalRoutes-Cjvq2rbF.js} +1 -1
  8. package/dist/assets/BillPayRoutes-CPJm_O1t.js +119 -0
  9. package/dist/assets/{BusinessVerificationPageScreen-fABxFj6p.js → BusinessVerificationPageScreen-DJA0DrrC.js} +2 -2
  10. package/dist/assets/CardsAiCfoScreen-DDb2ZuZ_.js +14 -0
  11. package/dist/assets/{ChargeCardRoutes-8okIr07w.js → ChargeCardRoutes-CbSM_5m3.js} +8 -8
  12. package/dist/assets/CompanyPassportScreen-j_dRH50h.js +1 -0
  13. package/dist/assets/{ConnectionAuthScreen-BkpK3Q9m.js → ConnectionAuthScreen-DsPkAmru.js} +2 -2
  14. package/dist/assets/CustomerOnboardingAuthScreen-BNBLWcXr.js +1 -0
  15. package/dist/assets/{CustomerOnboardingRoutes-A9qZQBlL.js → CustomerOnboardingRoutes-ZSH-nufQ.js} +3 -3
  16. package/dist/assets/{DashboardRoutes-monhFGcO.js → DashboardRoutes-BtOqv-MN.js} +3 -3
  17. package/dist/assets/{DefaultTenantHome-B4aMzjG6.js → DefaultTenantHome-DToEgYOq.js} +1 -1
  18. package/dist/assets/{DomesticWireDetailScreen-DSnjP_Z5.js → DomesticWireDetailScreen-CVW4GyMY.js} +3 -3
  19. package/dist/assets/{DrawerScreen-C728nU-t.js → DrawerScreen-_ojy_hFg.js} +1 -1
  20. package/dist/assets/EntityDetailRoutes-CK-mH_-b.js +1 -0
  21. package/dist/assets/{ExpenseAutomationRoutes-lJCxAksc.js → ExpenseAutomationRoutes-b3yLxHwD.js} +7 -7
  22. package/dist/assets/FeaturePreviewScreen-BoONdT_D.js +1 -0
  23. package/dist/assets/HubSpotOAuthCallbackScreen-DndTTZ9T.js +1 -0
  24. package/dist/assets/{InboxNotificationsProvider-Bd8tLMl8.js → InboxNotificationsProvider-D6QvVVj8.js} +1 -1
  25. package/dist/assets/{InvoicingRoutes-BFDQ_AF7.js → InvoicingRoutes-DkUuCZTT.js} +2 -2
  26. package/dist/assets/MagicLinkRoutes-D3FD1AQ_.js +72 -0
  27. package/dist/assets/MagicLinkSignInScreen-xu1o-sOL.js +12 -0
  28. package/dist/assets/MobileAppDrawer-BnS3AEOn.js +1 -0
  29. package/dist/assets/NotFoundScreen-zRiKZg68.js +1 -0
  30. package/dist/assets/{NotificationRoutes-Dq1wMoB2.js → NotificationRoutes-BNeDbLRn.js} +1 -1
  31. package/dist/assets/{OAuthConsentScreen-QrzCNvCR.js → OAuthConsentScreen-CFGSPUJy.js} +1 -1
  32. package/dist/assets/PandLWithForecastRoutes-LfSp6i3w.js +1 -0
  33. package/dist/assets/{PaymentLinkScreen-BYkX6g2m.js → PaymentLinkScreen-DeBS8t6S.js} +4 -4
  34. package/dist/assets/{PeopleRoutes-BSwZbUJ-.js → PeopleRoutes-Dq1v6Pp-.js} +5 -5
  35. package/dist/assets/PerformanceRoutes-DIdRvtFD.js +1 -0
  36. package/dist/assets/{Preview-Bt5Z89U4.js → Preview-CDuSXomS.js} +1 -1
  37. package/dist/assets/QBOConnectionScreen-BnB1aZoV.js +100 -0
  38. package/dist/assets/ReimbursementApprovalRoutes-C1kq5riD.js +1 -0
  39. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-BqumfK_F.js → ReimbursementApprovalRuleDetailScreen-Cs7pkBs7.js} +1 -1
  40. package/dist/assets/ReimbursementRoutes-DnFb48rt.js +68 -0
  41. package/dist/assets/{ReportsRoutes-BbjIc2Jw.js → ReportsRoutes-CbRMfUn0.js} +1 -1
  42. package/dist/assets/RewardsRoutes-BS5WcL7W.js +1 -0
  43. package/dist/assets/{ScheduleDetailsPrepaidExpensesScreen-DETwY7pD.js → ScheduleDetailsPrepaidExpensesScreen-U50ydaXU.js} +5 -5
  44. package/dist/assets/ScreenRoutes-0QveS_Gw.js +2 -0
  45. package/dist/assets/{SettingsRoutes-DwAkdZyX.js → SettingsRoutes-DsqPy7ab.js} +6 -6
  46. package/dist/assets/{SetupPagesScreen-Y9SYCogP.js → SetupPagesScreen-DyVC5Tjr.js} +5 -5
  47. package/dist/assets/SignInScreen-0Mg5cQhJ.js +1 -0
  48. package/dist/assets/SignOutScreen-DXrcHbwR.js +9 -0
  49. package/dist/assets/TaskListScreen-D8nGyAze.js +9 -0
  50. package/dist/assets/TaskRoutes-CvGAs8TT.js +9 -0
  51. package/dist/assets/TransactionDetailRoutes-Bn3kvwnI.js +1 -0
  52. package/dist/assets/{TransactionDetailScreen-0HhiaPRe.js → TransactionDetailScreen-CpeLNLRs.js} +2 -2
  53. package/dist/assets/TransactionListRoutes-GwUAS2rg.js +1 -0
  54. package/dist/assets/{TreasuryRoutes-DKuwHbrg.js → TreasuryRoutes-DGbJojow.js} +3 -3
  55. package/dist/assets/{VendorsRoutes-DXw2vvr4.js → VendorsRoutes-D_uL1WqL.js} +12 -12
  56. package/dist/assets/WiseConfirmationScreen-BGmtQRG5.js +12 -0
  57. package/dist/assets/{ZeniAccountRoutes-BU1gb-LE.js → ZeniAccountRoutes-DnIPkvTG.js} +11 -11
  58. package/dist/assets/ZeniAccountStatementScreen-D1FrDKPz.js +9 -0
  59. package/dist/assets/{accountMappingHelper-DQktkWkn.js → accountMappingHelper-DNRaFM1C.js} +1 -1
  60. package/dist/assets/{analytics-GZ8dIY_c.js → analytics-Y9Rn1Gu7.js} +1 -1
  61. package/dist/assets/analyticsHelper-b_0JgbzW.js +1 -0
  62. package/dist/assets/{core-DOBELRta.js → core-Dh_SHcAD.js} +1 -1
  63. package/dist/assets/{decodeURIComponentSafe-DjVlhgki.js → decodeURIComponentSafe-B9wRnGXi.js} +1 -1
  64. package/dist/assets/{dnd-0MaFz9wL.js → dnd-CwwWYFuT.js} +1 -1
  65. package/dist/assets/{empty-DsXUnWhI.js → empty-BT_7GI6y.js} +1 -1
  66. package/dist/assets/{empty-C3pt8GU3.js → empty-XI8MiQF0.js} +1 -1
  67. package/dist/assets/{emptyVideoElement-DObxt-h2.js → emptyVideoElement-JNmKZqZz.js} +1 -1
  68. package/dist/assets/epic-COW9EFJg.js +2 -0
  69. package/dist/assets/expenseAutomationHelper-jy143DnO.js +1 -0
  70. package/dist/assets/{getLocaleForTenant-Dfv4vBw9.js → getLocaleForTenant-CCfef8lM.js} +1 -1
  71. package/dist/assets/{index-px1SxWJw.js → index-8Q8Cb_pA.js} +1 -1
  72. package/dist/assets/index-B23hmQHl.js +1 -0
  73. package/dist/assets/{index-CXbL8CxL.js → index-BeqOty_5.js} +12169 -12162
  74. package/dist/assets/{index-BmFszw0H.js → index-C4rZANm7.js} +1 -1
  75. package/dist/assets/{index-rIJ81ix1.js → index-D3h8toFn.js} +1 -1
  76. package/dist/assets/{index-1mAhqt2L.js → index-DOYaY83A.js} +1 -1
  77. package/dist/assets/{index-JlXkO7-y.js → index-DTprL6g9.js} +1 -1
  78. package/dist/assets/{index-F4l7OCjI.js → index-D_bKIveY.js} +2 -2
  79. package/dist/assets/{lexical-CAgOy6Q-.js → lexical-CaftfZ9D.js} +1 -1
  80. package/dist/assets/{liveblocks-BPL36a6x.js → liveblocks-DR8KfETq.js} +1 -1
  81. package/dist/assets/{lottie-38LSfraF.js → lottie-ODKvpFjz.js} +1 -1
  82. package/dist/assets/{mui-wO6EIETx.js → mui-BYn_Ugho.js} +1 -1
  83. package/dist/assets/{pathToGoBack-BTiQNxwp.js → pathToGoBack-BiqpVJeS.js} +1 -1
  84. package/dist/assets/{pdf-B2N0erO1.js → pdf-DnQo5-Qw.js} +3 -3
  85. package/dist/assets/{pdf-lib-Ct6vdrHd.js → pdf-lib-DdZd3IiB.js} +1 -1
  86. package/dist/assets/{plaid-C-eBmVPr.js → plaid-Dw8l1kdg.js} +1 -1
  87. package/dist/assets/{pusher-Qt-2jBy4.js → pusher-CewboUYG.js} +1 -1
  88. package/dist/assets/{react-D0sfM7Iy.js → react-8By583h-.js} +1 -1
  89. package/dist/assets/{react-DSWUEYTa.js → react-B8IvMjeE.js} +1 -1
  90. package/dist/assets/{react-BogDsHCA.js → react-BgmP_PBP.js} +1 -1
  91. package/dist/assets/{react-ByoUrZyD.js → react-CWd2ZkNi.js} +1 -1
  92. package/dist/assets/{react-9dynYr-j.js → react-gSPYEWZo.js} +1 -1
  93. package/dist/assets/{react-ofgvrscL.js → react-ygIo2ccY.js} +1 -1
  94. package/dist/assets/{recharts-Sp9X2zHo.js → recharts-BTL88W4R.js} +1 -1
  95. package/dist/assets/{routePaths-7schl7H2.js → routePaths-CN71IXC6.js} +1 -1
  96. package/dist/assets/{sentry-_x3Yh1Jc.js → sentry-FwaDhTzy.js} +1 -1
  97. package/dist/assets/{stripSplatSuffix-bz-VGo3l.js → stripSplatSuffix-CvpfThkG.js} +1 -1
  98. package/dist/assets/{url-DBFa8kl5.js → url-DHu7Ejzz.js} +1 -1
  99. package/dist/assets/{url-DW2CK7rX.js → url-DybJ-sxa.js} +1 -1
  100. package/dist/assets/useActualMatchingMatchDetail-CgMvOK9S.js +1 -0
  101. package/dist/assets/{useAiCfoDashboardSuggestedQuestionsChips-BdSnJq4D.js → useAiCfoDashboardSuggestedQuestionsChips-B5JNAQpD.js} +1 -1
  102. package/dist/assets/useAskAiCfoHostNavButtonProps-BnkkGFrU.js +1 -0
  103. package/dist/assets/{useChargeCardPusherEvents-BHookjIG.js → useChargeCardPusherEvents-D9DQtbnp.js} +1 -1
  104. package/dist/assets/{useDeviceId-EJu2KjP1.js → useDeviceId-CUJxM_KE.js} +1 -1
  105. package/dist/assets/useEmailConnectResultRefresh-DWvxRsrW.js +1 -0
  106. package/dist/assets/{useInitialThreadRequest-TFVuVZA_.js → useInitialThreadRequest-AIPuwXqX.js} +1 -1
  107. package/dist/assets/{useTaskManagerAccess-CiaMEBoG.js → useTaskManagerAccess-DJBrAqGh.js} +1 -1
  108. package/dist/assets/useTaskManagerPusherEvents-CWsImhYv.js +1 -0
  109. package/dist/assets/utils-DEAaFgLU.js +36 -0
  110. package/dist/assets/{withTransactionSidePanel-BR8uip_B.js → withTransactionSidePanel-BA2-aFQT.js} +6 -6
  111. package/dist/assets/{zeni-epic-state-DXFYDM66.js → zeni-epic-state-DJh0-ZeR.js} +5 -5
  112. package/dist/index.html +1 -1
  113. package/package.json +3 -3
  114. package/dist/assets/AddressRoutes-DakZpUxU.js +0 -1
  115. package/dist/assets/AddressScreen-dsCmoEfc.js +0 -9
  116. package/dist/assets/AiCfoScreen-1hhGcQPM.js +0 -22
  117. package/dist/assets/BillPayRoutes-BQ5naZy9.js +0 -119
  118. package/dist/assets/CardsAiCfoScreen-D7lfbMvU.js +0 -14
  119. package/dist/assets/CompanyPassportScreen-DGlmYKZ8.js +0 -1
  120. package/dist/assets/CustomerOnboardingAuthScreen-CUL244kC.js +0 -1
  121. package/dist/assets/EntityDetailRoutes-Bn5UTAGi.js +0 -1
  122. package/dist/assets/FeaturePreviewScreen-BTcHNbYq.js +0 -1
  123. package/dist/assets/HubSpotOAuthCallbackScreen-DeY4bk0n.js +0 -1
  124. package/dist/assets/MagicLinkRoutes-CDa3T_71.js +0 -72
  125. package/dist/assets/MagicLinkSignInScreen-DkY-AFQs.js +0 -12
  126. package/dist/assets/MobileAppDrawer-CZL1M8HC.js +0 -1
  127. package/dist/assets/NotFoundScreen-rNwJ2-Qg.js +0 -1
  128. package/dist/assets/PandLWithForecastRoutes-CGjGCsop.js +0 -1
  129. package/dist/assets/PerformanceRoutes-Cr1pAdV3.js +0 -1
  130. package/dist/assets/QBOConnectionScreen-TrNoYiXG.js +0 -100
  131. package/dist/assets/ReimbursementApprovalRoutes-C2OtR60a.js +0 -1
  132. package/dist/assets/ReimbursementRoutes-CPjQ0Aws.js +0 -68
  133. package/dist/assets/RewardsRoutes-Ca33Xd5P.js +0 -1
  134. package/dist/assets/ScreenRoutes-CiAckpHg.js +0 -2
  135. package/dist/assets/SignInScreen-McvwseEQ.js +0 -1
  136. package/dist/assets/SignOutScreen-lXmArlao.js +0 -9
  137. package/dist/assets/TaskListScreen-CZxRWWOz.js +0 -9
  138. package/dist/assets/TaskRoutes-q7JoPp0N.js +0 -9
  139. package/dist/assets/TransactionDetailRoutes-ZlWD_PWX.js +0 -1
  140. package/dist/assets/TransactionListRoutes-UQ_0OeeD.js +0 -1
  141. package/dist/assets/WiseConfirmationScreen-XQZz5N0L.js +0 -12
  142. package/dist/assets/ZeniAccountStatementScreen-CrkxN9K8.js +0 -9
  143. package/dist/assets/analyticsHelper-B9ZU7ow3.js +0 -1
  144. package/dist/assets/epic-BqUfEKD1.js +0 -2
  145. package/dist/assets/expenseAutomationHelper-CRKfrxDD.js +0 -1
  146. package/dist/assets/index-C_zqEcVM.js +0 -1
  147. package/dist/assets/useActualMatchingMatchDetail-BFtfLe4Y.js +0 -1
  148. package/dist/assets/useAskAiCfoHostNavButtonProps-gnFsttzV.js +0 -1
  149. package/dist/assets/useEmailConnectResultRefresh-bvDRvnqZ.js +0 -1
  150. package/dist/assets/utils-BU0XThgM.js +0 -36
@@ -1,36 +0,0 @@
1
- import{p as isSymbol,M as baseToString,D as toInteger,W as WeakMap$1,q as identity,N as baseCreate,c as isObject,r as root,O as noop,P as copyArray,a as isObjectLike,i as isArray,Q as shortOut,R as arrayEach,S as arrayIncludes,T as setToString,U as isIndex,V as apply,X as createAssigner,Y as isPrototype,Z as isArrayLike,$ as copyObject,a0 as keys,a1 as assignValue,a2 as keysIn,g as get$1,a3 as flatRest,b as baseGetTag,x as isPlainObject,k as baseRest,a4 as toKey,C as baseAssignValue,t as toString,o as toNumber,l as isIterateeCall,a5 as baseSlice,a6 as baseClone,a7 as arrayPush,n as baseFlatten,a8 as arrayMap,j as baseIteratee,z as baseEach,a9 as baseAssign,aa as eq,ab as isBuffer,ac as isTypedArray$2,ad as isArrayLikeObject,ae as cloneBuffer,af as cloneTypedArray,ag as isArguments$1,d as isFunction,ah as initCloneObject,ai as baseFor,aj as Stack,w as last,ak as baseDifference,al as createBaseFor,am as createBaseEach,an as getTag,ao as mapToArray,ap as arrayFilter,B as baseForOwn,aq as map,y as toFinite,ar as values,as as baseIndexOf,at as baseUnary,au as SetCache,av as cacheHas,aw as arrayIncludesWith,ax as constant,ay as castPath,az as parent,aA as nodeUtil,aB as baseIsEqual,aC as baseIsMatch,aD as getMatchData,aE as coreJsData,aF as stubFalse,aG as baseIsNative,E as baseFindIndex,aH as baseIsNaN,aI as baseMatches,aJ as baseMatchesProperty,s as stringToArray,aK as Symbol$1,aL as setToArray,aM as baseGet,aN as getAllKeysIn,A as arraySome,aO as baseProperty,h as hasUnicode,e as castSlice,aP as hasIn,aQ as baseUnset,aR as compareAscending,aS as baseKeys,aT as assignWith,aU as baseValues,aV as baseTimes,aW as stringToPath,aX as getPrototype,aY as baseTrim,aZ as charsEndIndex,f as baseUniq,a_ as difference,a$ as differenceBy,b0 as flatten,b1 as uniq,b2 as findLastIndex,u as flatMap,b3 as orderBy,b4 as findLast,G as memoize,b5 as cloneDeep,b6 as isEmpty,v as isEqual,b7 as isLength,b8 as isMap,b9 as isSet,ba as omit,bb as has,bc as trimEnd,bd as property,be as stubArray,L as Buffer}from"./zeni-epic-state-DXFYDM66.js";import{u as upperFirst,b as baseGt,e as isString,f as createCaseFirst,g as baseLt,h as baseSum,j as arrayEvery,k as createRange,l as uniqBy,m as findIndex,n as head,s as sortBy,o as every,p as find,q as some,r as now,d as debounce,t as throttle,v as isBoolean,w as isNaN$1,x as isNil,y as isNumber,z as max$1,A as maxBy,B as min$1,C as minBy,D as sumBy,E as mapValues,F as range$1}from"./recharts-Sp9X2zHo.js";import{d as commonjsGlobal,p as process$1}from"./sentry-_x3Yh1Jc.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="c12f03c8-4de4-4c79-b563-7391120e559f",e._sentryDebugIdIdentifier="sentry-dbid-c12f03c8-4de4-4c79-b563-7391120e559f")}catch{}})();var NAN$1=NaN;function baseToNumber(e){return typeof e=="number"?e:isSymbol(e)?NAN$1:+e}function createMathOperation(e,r){return function(u,t){var a;if(u===void 0&&t===void 0)return r;if(u!==void 0&&(a=u),t!==void 0){if(a===void 0)return t;typeof u=="string"||typeof t=="string"?(u=baseToString(u),t=baseToString(t)):(u=baseToNumber(u),t=baseToNumber(t)),a=e(u,t)}return a}}var add=createMathOperation((function(e,r){return e+r}),0),FUNC_ERROR_TEXT$8="Expected a function";function after(e,r){if(typeof r!="function")throw new TypeError(FUNC_ERROR_TEXT$8);return e=toInteger(e),function(){if(--e<1)return r.apply(this,arguments)}}var metaMap=WeakMap$1&&new WeakMap$1,baseSetData=metaMap?function(e,r){return metaMap.set(e,r),e}:identity;function createCtor(e){return function(){var r=arguments;switch(r.length){case 0:return new e;case 1:return new e(r[0]);case 2:return new e(r[0],r[1]);case 3:return new e(r[0],r[1],r[2]);case 4:return new e(r[0],r[1],r[2],r[3]);case 5:return new e(r[0],r[1],r[2],r[3],r[4]);case 6:return new e(r[0],r[1],r[2],r[3],r[4],r[5]);case 7:return new e(r[0],r[1],r[2],r[3],r[4],r[5],r[6])}var u=baseCreate(e.prototype),t=e.apply(u,r);return isObject(t)?t:u}}var WRAP_BIND_FLAG$7=1;function createBind(e,r,u){var t=r&WRAP_BIND_FLAG$7,a=createCtor(e);return function l(){return(this&&this!==root&&this instanceof l?a:e).apply(t?u:this,arguments)}}var nativeMax$b=Math.max;function composeArgs(e,r,u,t){for(var a=-1,l=e.length,d=u.length,o=-1,n=r.length,i=nativeMax$b(l-d,0),s=Array(n+i),f=!t;++o<n;)s[o]=r[o];for(;++a<d;)(f||a<l)&&(s[u[a]]=e[a]);for(;i--;)s[o++]=e[a++];return s}var nativeMax$a=Math.max;function composeArgsRight(e,r,u,t){for(var a=-1,l=e.length,d=-1,o=u.length,n=-1,i=r.length,s=nativeMax$a(l-o,0),f=Array(s+i),c=!t;++a<s;)f[a]=e[a];for(var h=a;++n<i;)f[h+n]=r[n];for(;++d<o;)(c||a<l)&&(f[h+u[d]]=e[a++]);return f}function countHolders(e,r){for(var u=e.length,t=0;u--;)e[u]===r&&++t;return t}function baseLodash(){}var MAX_ARRAY_LENGTH$6=4294967295;function LazyWrapper(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=MAX_ARRAY_LENGTH$6,this.__views__=[]}LazyWrapper.prototype=baseCreate(baseLodash.prototype),LazyWrapper.prototype.constructor=LazyWrapper;var getData=metaMap?function(e){return metaMap.get(e)}:noop,realNames={},objectProto$a=Object.prototype,hasOwnProperty$9=objectProto$a.hasOwnProperty;function getFuncName(e){for(var r=e.name+"",u=realNames[r],t=hasOwnProperty$9.call(realNames,r)?u.length:0;t--;){var a=u[t],l=a.func;if(l==null||l==e)return a.name}return r}function LodashWrapper(e,r){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!r,this.__index__=0,this.__values__=void 0}function wrapperClone(e){if(e instanceof LazyWrapper)return e.clone();var r=new LodashWrapper(e.__wrapped__,e.__chain__);return r.__actions__=copyArray(e.__actions__),r.__index__=e.__index__,r.__values__=e.__values__,r}LodashWrapper.prototype=baseCreate(baseLodash.prototype),LodashWrapper.prototype.constructor=LodashWrapper;var objectProto$9=Object.prototype,hasOwnProperty$8=objectProto$9.hasOwnProperty;function lodash$1(e){if(isObjectLike(e)&&!isArray(e)&&!(e instanceof LazyWrapper)){if(e instanceof LodashWrapper)return e;if(hasOwnProperty$8.call(e,"__wrapped__"))return wrapperClone(e)}return new LodashWrapper(e)}function isLaziable(e){var r=getFuncName(e),u=lodash$1[r];if(typeof u!="function"||!(r in LazyWrapper.prototype))return!1;if(e===u)return!0;var t=getData(u);return!!t&&e===t[0]}lodash$1.prototype=baseLodash.prototype,lodash$1.prototype.constructor=lodash$1;var setData=shortOut(baseSetData),reWrapDetails=/\{\n\/\* \[wrapped with (.+)\] \*/,reSplitDetails=/,? & /;function getWrapDetails(e){var r=e.match(reWrapDetails);return r?r[1].split(reSplitDetails):[]}var reWrapComment=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function insertWrapDetails(e,r){var u=r.length;if(!u)return e;var t=u-1;return r[t]=(u>1?"& ":"")+r[t],r=r.join(u>2?", ":" "),e.replace(reWrapComment,`{
2
- /* [wrapped with `+r+`] */
3
- `)}var WRAP_BIND_FLAG$6=1,WRAP_BIND_KEY_FLAG$5=2,WRAP_CURRY_FLAG$6=8,WRAP_CURRY_RIGHT_FLAG$3=16,WRAP_PARTIAL_FLAG$6=32,WRAP_PARTIAL_RIGHT_FLAG$3=64,WRAP_ARY_FLAG$4=128,WRAP_REARG_FLAG$3=256,WRAP_FLIP_FLAG$2=512,wrapFlags=[["ary",WRAP_ARY_FLAG$4],["bind",WRAP_BIND_FLAG$6],["bindKey",WRAP_BIND_KEY_FLAG$5],["curry",WRAP_CURRY_FLAG$6],["curryRight",WRAP_CURRY_RIGHT_FLAG$3],["flip",WRAP_FLIP_FLAG$2],["partial",WRAP_PARTIAL_FLAG$6],["partialRight",WRAP_PARTIAL_RIGHT_FLAG$3],["rearg",WRAP_REARG_FLAG$3]];function updateWrapDetails(e,r){return arrayEach(wrapFlags,(function(u){var t="_."+u[0];r&u[1]&&!arrayIncludes(e,t)&&e.push(t)})),e.sort()}function setWrapToString(e,r,u){var t=r+"";return setToString(e,insertWrapDetails(t,updateWrapDetails(getWrapDetails(t),u)))}var WRAP_CURRY_BOUND_FLAG$1=4,WRAP_CURRY_FLAG$5=8,WRAP_PARTIAL_FLAG$5=32,WRAP_PARTIAL_RIGHT_FLAG$2=64;function createRecurry(e,r,u,t,a,l,d,o,n,i){var s=r&WRAP_CURRY_FLAG$5;r|=s?WRAP_PARTIAL_FLAG$5:WRAP_PARTIAL_RIGHT_FLAG$2,(r&=~(s?WRAP_PARTIAL_RIGHT_FLAG$2:WRAP_PARTIAL_FLAG$5))&WRAP_CURRY_BOUND_FLAG$1||(r&=-4);var f=[e,r,a,s?l:void 0,s?d:void 0,s?void 0:l,s?void 0:d,o,n,i],c=u.apply(void 0,f);return isLaziable(e)&&setData(c,f),c.placeholder=t,setWrapToString(c,e,r)}function getHolder(e){return e.placeholder}var nativeMin$c=Math.min;function reorder(e,r){for(var u=e.length,t=nativeMin$c(r.length,u),a=copyArray(e);t--;){var l=r[t];e[t]=isIndex(l,u)?a[l]:void 0}return e}var PLACEHOLDER$1="__lodash_placeholder__";function replaceHolders(e,r){for(var u=-1,t=e.length,a=0,l=[];++u<t;){var d=e[u];d!==r&&d!==PLACEHOLDER$1||(e[u]=PLACEHOLDER$1,l[a++]=u)}return l}var WRAP_BIND_FLAG$5=1,WRAP_BIND_KEY_FLAG$4=2,WRAP_CURRY_FLAG$4=8,WRAP_CURRY_RIGHT_FLAG$2=16,WRAP_ARY_FLAG$3=128,WRAP_FLIP_FLAG$1=512;function createHybrid(e,r,u,t,a,l,d,o,n,i){var s=r&WRAP_ARY_FLAG$3,f=r&WRAP_BIND_FLAG$5,c=r&WRAP_BIND_KEY_FLAG$4,h=r&(WRAP_CURRY_FLAG$4|WRAP_CURRY_RIGHT_FLAG$2),p=r&WRAP_FLIP_FLAG$1,b=c?void 0:createCtor(e);return function y(){for(var g=arguments.length,_=Array(g),B=g;B--;)_[B]=arguments[B];if(h)var R=getHolder(y),A=countHolders(_,R);if(t&&(_=composeArgs(_,t,a,h)),l&&(_=composeArgsRight(_,l,d,h)),g-=A,h&&g<i){var P=replaceHolders(_,R);return createRecurry(e,r,createHybrid,y.placeholder,u,_,P,o,n,i-g)}var x=f?u:this,T=c?x[e]:e;return g=_.length,o?_=reorder(_,o):p&&g>1&&_.reverse(),s&&n<g&&(_.length=n),this&&this!==root&&this instanceof y&&(T=b||createCtor(T)),T.apply(x,_)}}function createCurry(e,r,u){var t=createCtor(e);return function a(){for(var l=arguments.length,d=Array(l),o=l,n=getHolder(a);o--;)d[o]=arguments[o];var i=l<3&&d[0]!==n&&d[l-1]!==n?[]:replaceHolders(d,n);return(l-=i.length)<u?createRecurry(e,r,createHybrid,a.placeholder,void 0,d,i,void 0,void 0,u-l):apply(this&&this!==root&&this instanceof a?t:e,this,d)}}var WRAP_BIND_FLAG$4=1;function createPartial(e,r,u,t){var a=r&WRAP_BIND_FLAG$4,l=createCtor(e);return function d(){for(var o=-1,n=arguments.length,i=-1,s=t.length,f=Array(s+n),c=this&&this!==root&&this instanceof d?l:e;++i<s;)f[i]=t[i];for(;n--;)f[i++]=arguments[++o];return apply(c,a?u:this,f)}}var PLACEHOLDER="__lodash_placeholder__",WRAP_BIND_FLAG$3=1,WRAP_BIND_KEY_FLAG$3=2,WRAP_CURRY_BOUND_FLAG=4,WRAP_CURRY_FLAG$3=8,WRAP_ARY_FLAG$2=128,WRAP_REARG_FLAG$2=256,nativeMin$b=Math.min;function mergeData(e,r){var u=e[1],t=r[1],a=u|t,l=a<(WRAP_BIND_FLAG$3|WRAP_BIND_KEY_FLAG$3|WRAP_ARY_FLAG$2),d=t==WRAP_ARY_FLAG$2&&u==WRAP_CURRY_FLAG$3||t==WRAP_ARY_FLAG$2&&u==WRAP_REARG_FLAG$2&&e[7].length<=r[8]||t==(WRAP_ARY_FLAG$2|WRAP_REARG_FLAG$2)&&r[7].length<=r[8]&&u==WRAP_CURRY_FLAG$3;if(!l&&!d)return e;t&WRAP_BIND_FLAG$3&&(e[2]=r[2],a|=u&WRAP_BIND_FLAG$3?0:WRAP_CURRY_BOUND_FLAG);var o=r[3];if(o){var n=e[3];e[3]=n?composeArgs(n,o,r[4]):o,e[4]=n?replaceHolders(e[3],PLACEHOLDER):r[4]}return(o=r[5])&&(n=e[5],e[5]=n?composeArgsRight(n,o,r[6]):o,e[6]=n?replaceHolders(e[5],PLACEHOLDER):r[6]),(o=r[7])&&(e[7]=o),t&WRAP_ARY_FLAG$2&&(e[8]=e[8]==null?r[8]:nativeMin$b(e[8],r[8])),e[9]==null&&(e[9]=r[9]),e[0]=r[0],e[1]=a,e}var FUNC_ERROR_TEXT$7="Expected a function",WRAP_BIND_FLAG$2=1,WRAP_BIND_KEY_FLAG$2=2,WRAP_CURRY_FLAG$2=8,WRAP_CURRY_RIGHT_FLAG$1=16,WRAP_PARTIAL_FLAG$4=32,WRAP_PARTIAL_RIGHT_FLAG$1=64,nativeMax$9=Math.max;function createWrap(e,r,u,t,a,l,d,o){var n=r&WRAP_BIND_KEY_FLAG$2;if(!n&&typeof e!="function")throw new TypeError(FUNC_ERROR_TEXT$7);var i=t?t.length:0;if(i||(r&=-97,t=a=void 0),d=d===void 0?d:nativeMax$9(toInteger(d),0),o=o===void 0?o:toInteger(o),i-=a?a.length:0,r&WRAP_PARTIAL_RIGHT_FLAG$1){var s=t,f=a;t=a=void 0}var c=n?void 0:getData(e),h=[e,r,u,t,a,s,f,l,d,o];if(c&&mergeData(h,c),e=h[0],r=h[1],u=h[2],t=h[3],a=h[4],!(o=h[9]=h[9]===void 0?n?0:e.length:nativeMax$9(h[9]-i,0))&&r&(WRAP_CURRY_FLAG$2|WRAP_CURRY_RIGHT_FLAG$1)&&(r&=-25),r&&r!=WRAP_BIND_FLAG$2)p=r==WRAP_CURRY_FLAG$2||r==WRAP_CURRY_RIGHT_FLAG$1?createCurry(e,r,o):r!=WRAP_PARTIAL_FLAG$4&&r!=(WRAP_BIND_FLAG$2|WRAP_PARTIAL_FLAG$4)||a.length?createHybrid.apply(void 0,h):createPartial(e,r,u,t);else var p=createBind(e,r,u);return setWrapToString((c?baseSetData:setData)(p,h),e,r)}var WRAP_ARY_FLAG$1=128;function ary(e,r,u){return r=u?void 0:r,r=e&&r==null?e.length:r,createWrap(e,WRAP_ARY_FLAG$1,void 0,void 0,void 0,void 0,r)}var objectProto$8=Object.prototype,hasOwnProperty$7=objectProto$8.hasOwnProperty,assign=createAssigner((function(e,r){if(isPrototype(r)||isArrayLike(r))copyObject(r,keys(r),e);else for(var u in r)hasOwnProperty$7.call(r,u)&&assignValue(e,u,r[u])})),assignIn=createAssigner((function(e,r){copyObject(r,keysIn(r),e)})),assignInWith=createAssigner((function(e,r,u,t){copyObject(r,keysIn(r),e,t)}));function baseAt(e,r){for(var u=-1,t=r.length,a=Array(t),l=e==null;++u<t;)a[u]=l?void 0:get$1(e,r[u]);return a}var at=flatRest(baseAt),domExcTag="[object DOMException]",errorTag="[object Error]";function isError(e){if(!isObjectLike(e))return!1;var r=baseGetTag(e);return r==errorTag||r==domExcTag||typeof e.message=="string"&&typeof e.name=="string"&&!isPlainObject(e)}var attempt=baseRest((function(e,r){try{return apply(e,void 0,r)}catch(u){return isError(u)?u:new Error(u)}})),FUNC_ERROR_TEXT$6="Expected a function";function before(e,r){var u;if(typeof r!="function")throw new TypeError(FUNC_ERROR_TEXT$6);return e=toInteger(e),function(){return--e>0&&(u=r.apply(this,arguments)),e<=1&&(r=void 0),u}}var WRAP_BIND_FLAG$1=1,WRAP_PARTIAL_FLAG$3=32,bind=baseRest((function(e,r,u){var t=WRAP_BIND_FLAG$1;if(u.length){var a=replaceHolders(u,getHolder(bind));t|=WRAP_PARTIAL_FLAG$3}return createWrap(e,t,r,u,a)}));bind.placeholder={};var bindAll=flatRest((function(e,r){return arrayEach(r,(function(u){u=toKey(u),baseAssignValue(e,u,bind(e[u],e))})),e})),WRAP_BIND_FLAG=1,WRAP_BIND_KEY_FLAG$1=2,WRAP_PARTIAL_FLAG$2=32,bindKey=baseRest((function(e,r,u){var t=WRAP_BIND_FLAG|WRAP_BIND_KEY_FLAG$1;if(u.length){var a=replaceHolders(u,getHolder(bindKey));t|=WRAP_PARTIAL_FLAG$2}return createWrap(r,t,e,u,a)}));function capitalize(e){return upperFirst(toString(e).toLowerCase())}function arrayReduce(e,r,u,t){var a=-1,l=e==null?0:e.length;for(t&&l&&(u=e[++a]);++a<l;)u=r(u,e[a],a,e);return u}function basePropertyOf(e){return function(r){return e?.[r]}}bindKey.placeholder={};var deburredLetters={À:"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"},deburrLetter=basePropertyOf(deburredLetters),reLatin=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,rsComboMarksRange$2="\\u0300-\\u036f",reComboHalfMarksRange$2="\\ufe20-\\ufe2f",rsComboSymbolsRange$2="\\u20d0-\\u20ff",rsComboRange$2=rsComboMarksRange$2+reComboHalfMarksRange$2+rsComboSymbolsRange$2,rsCombo$2="["+rsComboRange$2+"]",reComboMark=RegExp(rsCombo$2,"g");function deburr(e){return(e=toString(e))&&e.replace(reLatin,deburrLetter).replace(reComboMark,"")}var reAsciiWord=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function asciiWords(e){return e.match(reAsciiWord)||[]}var reHasUnicodeWord=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function hasUnicodeWord(e){return reHasUnicodeWord.test(e)}var rsAstralRange$1="\\ud800-\\udfff",rsComboMarksRange$1="\\u0300-\\u036f",reComboHalfMarksRange$1="\\ufe20-\\ufe2f",rsComboSymbolsRange$1="\\u20d0-\\u20ff",rsComboRange$1=rsComboMarksRange$1+reComboHalfMarksRange$1+rsComboSymbolsRange$1,rsDingbatRange="\\u2700-\\u27bf",rsLowerRange="a-z\\xdf-\\xf6\\xf8-\\xff",rsMathOpRange="\\xac\\xb1\\xd7\\xf7",rsNonCharRange="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",rsPunctuationRange="\\u2000-\\u206f",rsSpaceRange=" \\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",rsUpperRange="A-Z\\xc0-\\xd6\\xd8-\\xde",rsVarRange$1="\\ufe0e\\ufe0f",rsBreakRange=rsMathOpRange+rsNonCharRange+rsPunctuationRange+rsSpaceRange,rsApos$1="['’]",rsBreak="["+rsBreakRange+"]",rsCombo$1="["+rsComboRange$1+"]",rsDigits="\\d+",rsDingbat="["+rsDingbatRange+"]",rsLower="["+rsLowerRange+"]",rsMisc="[^"+rsAstralRange$1+rsBreakRange+rsDigits+rsDingbatRange+rsLowerRange+rsUpperRange+"]",rsFitz$1="\\ud83c[\\udffb-\\udfff]",rsModifier$1="(?:"+rsCombo$1+"|"+rsFitz$1+")",rsNonAstral$1="[^"+rsAstralRange$1+"]",rsRegional$1="(?:\\ud83c[\\udde6-\\uddff]){2}",rsSurrPair$1="[\\ud800-\\udbff][\\udc00-\\udfff]",rsUpper="["+rsUpperRange+"]",rsZWJ$1="\\u200d",rsMiscLower="(?:"+rsLower+"|"+rsMisc+")",rsMiscUpper="(?:"+rsUpper+"|"+rsMisc+")",rsOptContrLower="(?:"+rsApos$1+"(?:d|ll|m|re|s|t|ve))?",rsOptContrUpper="(?:"+rsApos$1+"(?:D|LL|M|RE|S|T|VE))?",reOptMod$1=rsModifier$1+"?",rsOptVar$1="["+rsVarRange$1+"]?",rsOptJoin$1="(?:"+rsZWJ$1+"(?:"+[rsNonAstral$1,rsRegional$1,rsSurrPair$1].join("|")+")"+rsOptVar$1+reOptMod$1+")*",rsOrdLower="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",rsOrdUpper="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",rsSeq$1=rsOptVar$1+reOptMod$1+rsOptJoin$1,rsEmoji="(?:"+[rsDingbat,rsRegional$1,rsSurrPair$1].join("|")+")"+rsSeq$1,reUnicodeWord=RegExp([rsUpper+"?"+rsLower+"+"+rsOptContrLower+"(?="+[rsBreak,rsUpper,"$"].join("|")+")",rsMiscUpper+"+"+rsOptContrUpper+"(?="+[rsBreak,rsUpper+rsMiscLower,"$"].join("|")+")",rsUpper+"?"+rsMiscLower+"+"+rsOptContrLower,rsUpper+"+"+rsOptContrUpper,rsOrdUpper,rsOrdLower,rsDigits,rsEmoji].join("|"),"g");function unicodeWords(e){return e.match(reUnicodeWord)||[]}function words(e,r,u){return e=toString(e),(r=u?void 0:r)===void 0?hasUnicodeWord(e)?unicodeWords(e):asciiWords(e):e.match(r)||[]}var rsApos="['’]",reApos=RegExp(rsApos,"g");function createCompounder(e){return function(r){return arrayReduce(words(deburr(r).replace(reApos,"")),e,"")}}var camelCase=createCompounder((function(e,r,u){return r=r.toLowerCase(),e+(u?capitalize(r):r)}));function castArray(){if(!arguments.length)return[];var e=arguments[0];return isArray(e)?e:[e]}var nativeIsFinite$1=root.isFinite,nativeMin$a=Math.min;function createRound(e){var r=Math[e];return function(u,t){if(u=toNumber(u),(t=t==null?0:nativeMin$a(toInteger(t),292))&&nativeIsFinite$1(u)){var a=(toString(u)+"e").split("e"),l=r(a[0]+"e"+(+a[1]+t));return+((a=(toString(l)+"e").split("e"))[0]+"e"+(+a[1]-t))}return r(u)}}var ceil=createRound("ceil");function chain(e){var r=lodash$1(e);return r.__chain__=!0,r}var nativeCeil$2=Math.ceil,nativeMax$8=Math.max;function chunk(e,r,u){r=(u?isIterateeCall(e,r,u):r===void 0)?1:nativeMax$8(toInteger(r),0);var t=e==null?0:e.length;if(!t||r<1)return[];for(var a=0,l=0,d=Array(nativeCeil$2(t/r));a<t;)d[l++]=baseSlice(e,a,a+=r);return d}function baseClamp(e,r,u){return e==e&&(u!==void 0&&(e=e<=u?e:u),r!==void 0&&(e=e>=r?e:r)),e}function clamp(e,r,u){return u===void 0&&(u=r,r=void 0),u!==void 0&&(u=(u=toNumber(u))==u?u:0),r!==void 0&&(r=(r=toNumber(r))==r?r:0),baseClamp(toNumber(e),r,u)}var CLONE_SYMBOLS_FLAG$2=4;function clone(e){return baseClone(e,CLONE_SYMBOLS_FLAG$2)}var CLONE_DEEP_FLAG$4=1,CLONE_SYMBOLS_FLAG$1=4;function cloneDeepWith(e,r){return baseClone(e,CLONE_DEEP_FLAG$4|CLONE_SYMBOLS_FLAG$1,r=typeof r=="function"?r:void 0)}var CLONE_SYMBOLS_FLAG=4;function cloneWith(e,r){return baseClone(e,CLONE_SYMBOLS_FLAG,r=typeof r=="function"?r:void 0)}function wrapperCommit(){return new LodashWrapper(this.value(),this.__chain__)}function compact(e){for(var r=-1,u=e==null?0:e.length,t=0,a=[];++r<u;){var l=e[r];l&&(a[t++]=l)}return a}function concat(){var e=arguments.length;if(!e)return[];for(var r=Array(e-1),u=arguments[0],t=e;t--;)r[t-1]=arguments[t];return arrayPush(isArray(u)?copyArray(u):[u],baseFlatten(r,1))}var FUNC_ERROR_TEXT$5="Expected a function";function cond(e){var r=e==null?0:e.length,u=baseIteratee;return e=r?arrayMap(e,(function(t){if(typeof t[1]!="function")throw new TypeError(FUNC_ERROR_TEXT$5);return[u(t[0]),t[1]]})):[],baseRest((function(t){for(var a=-1;++a<r;){var l=e[a];if(apply(l[0],this,t))return apply(l[1],this,t)}}))}function baseConformsTo(e,r,u){var t=u.length;if(e==null)return!t;for(e=Object(e);t--;){var a=u[t],l=r[a],d=e[a];if(d===void 0&&!(a in e)||!l(d))return!1}return!0}function baseConforms(e){var r=keys(e);return function(u){return baseConformsTo(u,e,r)}}var CLONE_DEEP_FLAG$3=1;function conforms(e){return baseConforms(baseClone(e,CLONE_DEEP_FLAG$3))}function conformsTo(e,r){return r==null||baseConformsTo(e,r,keys(r))}function arrayAggregator(e,r,u,t){for(var a=-1,l=e==null?0:e.length;++a<l;){var d=e[a];r(t,d,u(d),e)}return t}function baseAggregator(e,r,u,t){return baseEach(e,(function(a,l,d){r(t,a,u(a),d)})),t}function createAggregator(e,r){return function(u,t){var a=isArray(u)?arrayAggregator:baseAggregator,l=r?r():{};return a(u,e,baseIteratee(t),l)}}var objectProto$7=Object.prototype,hasOwnProperty$6=objectProto$7.hasOwnProperty,countBy=createAggregator((function(e,r,u){hasOwnProperty$6.call(e,u)?++e[u]:baseAssignValue(e,u,1)}));function create(e,r){var u=baseCreate(e);return r==null?u:baseAssign(u,r)}var WRAP_CURRY_FLAG$1=8;function curry(e,r,u){var t=createWrap(e,WRAP_CURRY_FLAG$1,void 0,void 0,void 0,void 0,void 0,r=u?void 0:r);return t.placeholder=curry.placeholder,t}curry.placeholder={};var WRAP_CURRY_RIGHT_FLAG=16;function curryRight(e,r,u){var t=createWrap(e,WRAP_CURRY_RIGHT_FLAG,void 0,void 0,void 0,void 0,void 0,r=u?void 0:r);return t.placeholder=curryRight.placeholder,t}function defaultTo(e,r){return e==null||e!=e?r:e}curryRight.placeholder={};var objectProto$6=Object.prototype,hasOwnProperty$5=objectProto$6.hasOwnProperty,defaults=baseRest((function(e,r){e=Object(e);var u=-1,t=r.length,a=t>2?r[2]:void 0;for(a&&isIterateeCall(r[0],r[1],a)&&(t=1);++u<t;)for(var l=r[u],d=keysIn(l),o=-1,n=d.length;++o<n;){var i=d[o],s=e[i];(s===void 0||eq(s,objectProto$6[i])&&!hasOwnProperty$5.call(e,i))&&(e[i]=l[i])}return e}));function assignMergeValue(e,r,u){(u!==void 0&&!eq(e[r],u)||u===void 0&&!(r in e))&&baseAssignValue(e,r,u)}function safeGet(e,r){if((r!=="constructor"||typeof e[r]!="function")&&r!="__proto__")return e[r]}function toPlainObject(e){return copyObject(e,keysIn(e))}function baseMergeDeep(e,r,u,t,a,l,d){var o=safeGet(e,u),n=safeGet(r,u),i=d.get(n);if(i)assignMergeValue(e,u,i);else{var s=l?l(o,n,u+"",e,r,d):void 0,f=s===void 0;if(f){var c=isArray(n),h=!c&&isBuffer(n),p=!c&&!h&&isTypedArray$2(n);s=n,c||h||p?isArray(o)?s=o:isArrayLikeObject(o)?s=copyArray(o):h?(f=!1,s=cloneBuffer(n,!0)):p?(f=!1,s=cloneTypedArray(n,!0)):s=[]:isPlainObject(n)||isArguments$1(n)?(s=o,isArguments$1(o)?s=toPlainObject(o):isObject(o)&&!isFunction(o)||(s=initCloneObject(n))):f=!1}f&&(d.set(n,s),a(s,n,t,l,d),d.delete(n)),assignMergeValue(e,u,s)}}function baseMerge(e,r,u,t,a){e!==r&&baseFor(r,(function(l,d){if(a||(a=new Stack),isObject(l))baseMergeDeep(e,r,d,u,baseMerge,t,a);else{var o=t?t(safeGet(e,d),l,d+"",e,r,a):void 0;o===void 0&&(o=l),assignMergeValue(e,d,o)}}),keysIn)}function customDefaultsMerge(e,r,u,t,a,l){return isObject(e)&&isObject(r)&&(l.set(r,e),baseMerge(e,r,void 0,customDefaultsMerge,l),l.delete(r)),e}var mergeWith=createAssigner((function(e,r,u,t){baseMerge(e,r,u,t)})),defaultsDeep=baseRest((function(e){return e.push(void 0,customDefaultsMerge),apply(mergeWith,void 0,e)})),FUNC_ERROR_TEXT$4="Expected a function";function baseDelay(e,r,u){if(typeof e!="function")throw new TypeError(FUNC_ERROR_TEXT$4);return setTimeout((function(){e.apply(void 0,u)}),r)}var defer=baseRest((function(e,r){return baseDelay(e,1,r)})),delay=baseRest((function(e,r,u){return baseDelay(e,toNumber(r)||0,u)})),differenceWith=baseRest((function(e,r){var u=last(r);return isArrayLikeObject(u)&&(u=void 0),isArrayLikeObject(e)?baseDifference(e,baseFlatten(r,1,isArrayLikeObject,!0),void 0,u):[]})),divide=createMathOperation((function(e,r){return e/r}),1);function drop(e,r,u){var t=e==null?0:e.length;return t?(r=u||r===void 0?1:toInteger(r),baseSlice(e,r<0?0:r,t)):[]}function dropRight(e,r,u){var t=e==null?0:e.length;return t?(r=u||r===void 0?1:toInteger(r),baseSlice(e,0,(r=t-r)<0?0:r)):[]}function baseWhile(e,r,u,t){for(var a=e.length,l=t?a:-1;(t?l--:++l<a)&&r(e[l],l,e););return u?baseSlice(e,t?0:l,t?l+1:a):baseSlice(e,t?l+1:0,t?a:l)}function dropRightWhile(e,r){return e&&e.length?baseWhile(e,baseIteratee(r),!0,!0):[]}function dropWhile(e,r){return e&&e.length?baseWhile(e,baseIteratee(r),!0):[]}function castFunction(e){return typeof e=="function"?e:identity}function forEach$1(e,r){return(isArray(e)?arrayEach:baseEach)(e,castFunction(r))}function arrayEachRight(e,r){for(var u=e==null?0:e.length;u--&&r(e[u],u,e)!==!1;);return e}var baseForRight=createBaseFor(!0);function baseForOwnRight(e,r){return e&&baseForRight(e,r,keys)}var baseEachRight=createBaseEach(baseForOwnRight,!0);function forEachRight(e,r){return(isArray(e)?arrayEachRight:baseEachRight)(e,castFunction(r))}function endsWith(e,r,u){e=toString(e),r=baseToString(r);var t=e.length,a=u=u===void 0?t:baseClamp(toInteger(u),0,t);return(u-=r.length)>=0&&e.slice(u,a)==r}function baseToPairs(e,r){return arrayMap(r,(function(u){return[u,e[u]]}))}function setToPairs(e){var r=-1,u=Array(e.size);return e.forEach((function(t){u[++r]=[t,t]})),u}var mapTag$2="[object Map]",setTag$2="[object Set]";function createToPairs(e){return function(r){var u=getTag(r);return u==mapTag$2?mapToArray(r):u==setTag$2?setToPairs(r):baseToPairs(r,e(r))}}var toPairs=createToPairs(keys),toPairsIn=createToPairs(keysIn),htmlEscapes={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},escapeHtmlChar=basePropertyOf(htmlEscapes),reUnescapedHtml=/[&<>"']/g,reHasUnescapedHtml=RegExp(reUnescapedHtml.source);function escape$1(e){return(e=toString(e))&&reHasUnescapedHtml.test(e)?e.replace(reUnescapedHtml,escapeHtmlChar):e}var reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reHasRegExpChar=RegExp(reRegExpChar.source);function escapeRegExp(e){return(e=toString(e))&&reHasRegExpChar.test(e)?e.replace(reRegExpChar,"\\$&"):e}var MAX_ARRAY_LENGTH$5=4294967295;function toLength(e){return e?baseClamp(toInteger(e),0,MAX_ARRAY_LENGTH$5):0}function baseFill(e,r,u,t){var a=e.length;for((u=toInteger(u))<0&&(u=-u>a?0:a+u),(t=t===void 0||t>a?a:toInteger(t))<0&&(t+=a),t=u>t?0:toLength(t);u<t;)e[u++]=r;return e}function fill(e,r,u,t){var a=e==null?0:e.length;return a?(u&&typeof u!="number"&&isIterateeCall(e,r,u)&&(u=0,t=a),baseFill(e,r,u,t)):[]}function baseFilter(e,r){var u=[];return baseEach(e,(function(t,a,l){r(t,a,l)&&u.push(t)})),u}function filter(e,r){return(isArray(e)?arrayFilter:baseFilter)(e,baseIteratee(r))}function baseFindKey(e,r,u){var t;return u(e,(function(a,l,d){if(r(a,l,d))return t=l,!1})),t}function findKey(e,r){return baseFindKey(e,baseIteratee(r),baseForOwn)}function findLastKey(e,r){return baseFindKey(e,baseIteratee(r),baseForOwnRight)}var INFINITY$1=1/0;function flatMapDeep(e,r){return baseFlatten(map(e,r),INFINITY$1)}function flatMapDepth(e,r,u){return u=u===void 0?1:toInteger(u),baseFlatten(map(e,r),u)}var INFINITY=1/0;function flattenDeep(e){return e!=null&&e.length?baseFlatten(e,INFINITY):[]}function flattenDepth(e,r){return e!=null&&e.length?(r=r===void 0?1:toInteger(r),baseFlatten(e,r)):[]}var WRAP_FLIP_FLAG=512;function flip(e){return createWrap(e,WRAP_FLIP_FLAG)}var floor$1=createRound("floor"),FUNC_ERROR_TEXT$3="Expected a function",WRAP_CURRY_FLAG=8,WRAP_PARTIAL_FLAG$1=32,WRAP_ARY_FLAG=128,WRAP_REARG_FLAG$1=256;function createFlow(e){return flatRest((function(r){var u=r.length,t=u,a=LodashWrapper.prototype.thru;for(e&&r.reverse();t--;){var l=r[t];if(typeof l!="function")throw new TypeError(FUNC_ERROR_TEXT$3);if(a&&!d&&getFuncName(l)=="wrapper")var d=new LodashWrapper([],!0)}for(t=d?t:u;++t<u;){var o=getFuncName(l=r[t]),n=o=="wrapper"?getData(l):void 0;d=n&&isLaziable(n[0])&&n[1]==(WRAP_ARY_FLAG|WRAP_CURRY_FLAG|WRAP_PARTIAL_FLAG$1|WRAP_REARG_FLAG$1)&&!n[4].length&&n[9]==1?d[getFuncName(n[0])].apply(d,n[3]):l.length==1&&isLaziable(l)?d[o]():d.thru(l)}return function(){var i=arguments,s=i[0];if(d&&i.length==1&&isArray(s))return d.plant(s).value();for(var f=0,c=u?r[f].apply(this,i):s;++f<u;)c=r[f].call(this,c);return c}}))}var flow=createFlow(),flowRight=createFlow(!0);function forIn(e,r){return e==null?e:baseFor(e,castFunction(r),keysIn)}function forInRight(e,r){return e==null?e:baseForRight(e,castFunction(r),keysIn)}function forOwn(e,r){return e&&baseForOwn(e,castFunction(r))}function forOwnRight(e,r){return e&&baseForOwnRight(e,castFunction(r))}function fromPairs(e){for(var r=-1,u=e==null?0:e.length,t={};++r<u;){var a=e[r];baseAssignValue(t,a[0],a[1])}return t}function baseFunctions(e,r){return arrayFilter(r,(function(u){return isFunction(e[u])}))}function functions(e){return e==null?[]:baseFunctions(e,keys(e))}function functionsIn(e){return e==null?[]:baseFunctions(e,keysIn(e))}var objectProto$5=Object.prototype,hasOwnProperty$4=objectProto$5.hasOwnProperty,groupBy=createAggregator((function(e,r,u){hasOwnProperty$4.call(e,u)?e[u].push(r):baseAssignValue(e,u,[r])}));function createRelationalOperation(e){return function(r,u){return typeof r=="string"&&typeof u=="string"||(r=toNumber(r),u=toNumber(u)),e(r,u)}}var gt=createRelationalOperation(baseGt),gte=createRelationalOperation((function(e,r){return e>=r})),nativeMax$7=Math.max,nativeMin$9=Math.min;function baseInRange(e,r,u){return e>=nativeMin$9(r,u)&&e<nativeMax$7(r,u)}function inRange(e,r,u){return r=toFinite(r),u===void 0?(u=r,r=0):u=toFinite(u),baseInRange(e=toNumber(e),r,u)}var nativeMax$6=Math.max;function includes(e,r,u,t){e=isArrayLike(e)?e:values(e),u=u&&!t?toInteger(u):0;var a=e.length;return u<0&&(u=nativeMax$6(a+u,0)),isString(e)?u<=a&&e.indexOf(r,u)>-1:!!a&&baseIndexOf(e,r,u)>-1}var nativeMax$5=Math.max;function indexOf(e,r,u){var t=e==null?0:e.length;if(!t)return-1;var a=u==null?0:toInteger(u);return a<0&&(a=nativeMax$5(t+a,0)),baseIndexOf(e,r,a)}function initial(e){return e!=null&&e.length?baseSlice(e,0,-1):[]}var nativeMin$8=Math.min;function baseIntersection(e,r,u){for(var t=u?arrayIncludesWith:arrayIncludes,a=e[0].length,l=e.length,d=l,o=Array(l),n=1/0,i=[];d--;){var s=e[d];d&&r&&(s=arrayMap(s,baseUnary(r))),n=nativeMin$8(s.length,n),o[d]=!u&&(r||a>=120&&s.length>=120)?new SetCache(d&&s):void 0}s=e[0];var f=-1,c=o[0];e:for(;++f<a&&i.length<n;){var h=s[f],p=r?r(h):h;if(h=u||h!==0?h:0,!(c?cacheHas(c,p):t(i,p,u))){for(d=l;--d;){var b=o[d];if(!(b?cacheHas(b,p):t(e[d],p,u)))continue e}c&&c.push(p),i.push(h)}}return i}function castArrayLikeObject(e){return isArrayLikeObject(e)?e:[]}var intersection=baseRest((function(e){var r=arrayMap(e,castArrayLikeObject);return r.length&&r[0]===e[0]?baseIntersection(r):[]})),intersectionBy=baseRest((function(e){var r=last(e),u=arrayMap(e,castArrayLikeObject);return r===last(u)?r=void 0:u.pop(),u.length&&u[0]===e[0]?baseIntersection(u,baseIteratee(r)):[]})),intersectionWith=baseRest((function(e){var r=last(e),u=arrayMap(e,castArrayLikeObject);return(r=typeof r=="function"?r:void 0)&&u.pop(),u.length&&u[0]===e[0]?baseIntersection(u,void 0,r):[]}));function baseInverter(e,r,u,t){return baseForOwn(e,(function(a,l,d){r(t,u(a),l,d)})),t}function createInverter(e,r){return function(u,t){return baseInverter(u,e,r(t),{})}}var objectProto$4=Object.prototype,nativeObjectToString$1=objectProto$4.toString,invert=createInverter((function(e,r,u){r!=null&&typeof r.toString!="function"&&(r=nativeObjectToString$1.call(r)),e[r]=u}),constant(identity)),objectProto$3=Object.prototype,hasOwnProperty$3=objectProto$3.hasOwnProperty,nativeObjectToString=objectProto$3.toString,invertBy=createInverter((function(e,r,u){r!=null&&typeof r.toString!="function"&&(r=nativeObjectToString.call(r)),hasOwnProperty$3.call(e,r)?e[r].push(u):e[r]=[u]}),baseIteratee);function baseInvoke(e,r,u){r=castPath(r,e);var t=(e=parent(e,r))==null?e:e[toKey(last(r))];return t==null?void 0:apply(t,e,u)}var invoke=baseRest(baseInvoke),invokeMap=baseRest((function(e,r,u){var t=-1,a=typeof r=="function",l=isArrayLike(e)?Array(e.length):[];return baseEach(e,(function(d){l[++t]=a?apply(r,d,u):baseInvoke(d,r,u)})),l})),arrayBufferTag="[object ArrayBuffer]";function baseIsArrayBuffer(e){return isObjectLike(e)&&baseGetTag(e)==arrayBufferTag}var nodeIsArrayBuffer=nodeUtil&&nodeUtil.isArrayBuffer,isArrayBuffer=nodeIsArrayBuffer?baseUnary(nodeIsArrayBuffer):baseIsArrayBuffer,dateTag="[object Date]";function baseIsDate(e){return isObjectLike(e)&&baseGetTag(e)==dateTag}var nodeIsDate=nodeUtil&&nodeUtil.isDate,isDate=nodeIsDate?baseUnary(nodeIsDate):baseIsDate;function isElement(e){return isObjectLike(e)&&e.nodeType===1&&!isPlainObject(e)}function isEqualWith(e,r,u){var t=(u=typeof u=="function"?u:void 0)?u(e,r):void 0;return t===void 0?baseIsEqual(e,r,void 0,u):!!t}var nativeIsFinite=root.isFinite;function isFinite$1(e){return typeof e=="number"&&nativeIsFinite(e)}function isInteger(e){return typeof e=="number"&&e==toInteger(e)}function isMatch(e,r){return e===r||baseIsMatch(e,r,getMatchData(r))}function isMatchWith(e,r,u){return u=typeof u=="function"?u:void 0,baseIsMatch(e,r,getMatchData(r),u)}var isMaskable=coreJsData?isFunction:stubFalse,CORE_ERROR_TEXT="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.";function isNative(e){if(isMaskable(e))throw new Error(CORE_ERROR_TEXT);return baseIsNative(e)}function isNull(e){return e===null}var regexpTag="[object RegExp]";function baseIsRegExp(e){return isObjectLike(e)&&baseGetTag(e)==regexpTag}var nodeIsRegExp=nodeUtil&&nodeUtil.isRegExp,isRegExp=nodeIsRegExp?baseUnary(nodeIsRegExp):baseIsRegExp,MAX_SAFE_INTEGER$3=9007199254740991;function isSafeInteger(e){return isInteger(e)&&e>=-MAX_SAFE_INTEGER$3&&e<=MAX_SAFE_INTEGER$3}function isUndefined(e){return e===void 0}var weakMapTag="[object WeakMap]";function isWeakMap(e){return isObjectLike(e)&&getTag(e)==weakMapTag}var weakSetTag="[object WeakSet]";function isWeakSet(e){return isObjectLike(e)&&baseGetTag(e)==weakSetTag}var CLONE_DEEP_FLAG$2=1;function iteratee(e){return baseIteratee(typeof e=="function"?e:baseClone(e,CLONE_DEEP_FLAG$2))}var arrayProto$4=Array.prototype,nativeJoin=arrayProto$4.join;function join(e,r){return e==null?"":nativeJoin.call(e,r)}var kebabCase=createCompounder((function(e,r,u){return e+(u?"-":"")+r.toLowerCase()})),keyBy=createAggregator((function(e,r,u){baseAssignValue(e,u,r)}));function strictLastIndexOf(e,r,u){for(var t=u+1;t--;)if(e[t]===r)return t;return t}var nativeMax$4=Math.max,nativeMin$7=Math.min;function lastIndexOf(e,r,u){var t=e==null?0:e.length;if(!t)return-1;var a=t;return u!==void 0&&(a=(a=toInteger(u))<0?nativeMax$4(t+a,0):nativeMin$7(a,t-1)),r==r?strictLastIndexOf(e,r,a):baseFindIndex(e,baseIsNaN,a,!0)}var lowerCase=createCompounder((function(e,r,u){return e+(u?" ":"")+r.toLowerCase()})),lowerFirst=createCaseFirst("toLowerCase"),lt=createRelationalOperation(baseLt),lte=createRelationalOperation((function(e,r){return e<=r}));function mapKeys(e,r){var u={};return r=baseIteratee(r),baseForOwn(e,(function(t,a,l){baseAssignValue(u,r(t,a,l),t)})),u}var CLONE_DEEP_FLAG$1=1;function matches(e){return baseMatches(baseClone(e,CLONE_DEEP_FLAG$1))}var CLONE_DEEP_FLAG=1;function matchesProperty(e,r){return baseMatchesProperty(e,baseClone(r,CLONE_DEEP_FLAG))}var NAN=NaN;function baseMean(e,r){var u=e==null?0:e.length;return u?baseSum(e,r)/u:NAN}function mean(e){return baseMean(e,identity)}function meanBy(e,r){return baseMean(e,baseIteratee(r))}var merge=createAssigner((function(e,r,u){baseMerge(e,r,u)})),method=baseRest((function(e,r){return function(u){return baseInvoke(u,e,r)}})),methodOf=baseRest((function(e,r){return function(u){return baseInvoke(e,u,r)}}));function mixin$1(e,r,u){var t=keys(r),a=baseFunctions(r,t),l=!(isObject(u)&&"chain"in u&&!u.chain),d=isFunction(e);return arrayEach(a,(function(o){var n=r[o];e[o]=n,d&&(e.prototype[o]=function(){var i=this.__chain__;if(l||i){var s=e(this.__wrapped__);return(s.__actions__=copyArray(this.__actions__)).push({func:n,args:arguments,thisArg:e}),s.__chain__=i,s}return n.apply(e,arrayPush([this.value()],arguments))})})),e}var multiply=createMathOperation((function(e,r){return e*r}),1),FUNC_ERROR_TEXT$2="Expected a function";function negate(e){if(typeof e!="function")throw new TypeError(FUNC_ERROR_TEXT$2);return function(){var r=arguments;switch(r.length){case 0:return!e.call(this);case 1:return!e.call(this,r[0]);case 2:return!e.call(this,r[0],r[1]);case 3:return!e.call(this,r[0],r[1],r[2])}return!e.apply(this,r)}}function iteratorToArray(e){for(var r,u=[];!(r=e.next()).done;)u.push(r.value);return u}var mapTag$1="[object Map]",setTag$1="[object Set]",symIterator$1=Symbol$1?Symbol$1.iterator:void 0;function toArray(e){if(!e)return[];if(isArrayLike(e))return isString(e)?stringToArray(e):copyArray(e);if(symIterator$1&&e[symIterator$1])return iteratorToArray(e[symIterator$1]());var r=getTag(e);return(r==mapTag$1?mapToArray:r==setTag$1?setToArray:values)(e)}function wrapperNext(){this.__values__===void 0&&(this.__values__=toArray(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?void 0:this.__values__[this.__index__++]}}function baseNth(e,r){var u=e.length;if(u)return isIndex(r+=r<0?u:0,u)?e[r]:void 0}function nth(e,r){return e&&e.length?baseNth(e,toInteger(r)):void 0}function nthArg(e){return e=toInteger(e),baseRest((function(r){return baseNth(r,e)}))}function baseSet(e,r,u,t){if(!isObject(e))return e;for(var a=-1,l=(r=castPath(r,e)).length,d=l-1,o=e;o!=null&&++a<l;){var n=toKey(r[a]),i=u;if(n==="__proto__"||n==="constructor"||n==="prototype")return e;if(a!=d){var s=o[n];(i=t?t(s,n,o):void 0)===void 0&&(i=isObject(s)?s:isIndex(r[a+1])?[]:{})}assignValue(o,n,i),o=o[n]}return e}function basePickBy(e,r,u){for(var t=-1,a=r.length,l={};++t<a;){var d=r[t],o=baseGet(e,d);u(o,d)&&baseSet(l,castPath(d,e),o)}return l}function pickBy(e,r){if(e==null)return{};var u=arrayMap(getAllKeysIn(e),(function(t){return[t]}));return r=baseIteratee(r),basePickBy(e,u,(function(t,a){return r(t,a[0])}))}function omitBy(e,r){return pickBy(e,negate(baseIteratee(r)))}function once(e){return before(2,e)}function createOver(e){return flatRest((function(r){return r=arrayMap(r,baseUnary(baseIteratee)),baseRest((function(u){var t=this;return e(r,(function(a){return apply(a,t,u)}))}))}))}var over=createOver(arrayMap),castRest=baseRest,nativeMin$6=Math.min,overArgs=castRest((function(e,r){var u=(r=r.length==1&&isArray(r[0])?arrayMap(r[0],baseUnary(baseIteratee)):arrayMap(baseFlatten(r,1),baseUnary(baseIteratee))).length;return baseRest((function(t){for(var a=-1,l=nativeMin$6(t.length,u);++a<l;)t[a]=r[a].call(this,t[a]);return apply(e,this,t)}))})),overEvery=createOver(arrayEvery),overSome=createOver(arraySome),MAX_SAFE_INTEGER$2=9007199254740991,nativeFloor$3=Math.floor;function baseRepeat(e,r){var u="";if(!e||r<1||r>MAX_SAFE_INTEGER$2)return u;do r%2&&(u+=e),(r=nativeFloor$3(r/2))&&(e+=e);while(r);return u}var asciiSize=baseProperty("length"),rsAstralRange="\\ud800-\\udfff",rsComboMarksRange="\\u0300-\\u036f",reComboHalfMarksRange="\\ufe20-\\ufe2f",rsComboSymbolsRange="\\u20d0-\\u20ff",rsComboRange=rsComboMarksRange+reComboHalfMarksRange+rsComboSymbolsRange,rsVarRange="\\ufe0e\\ufe0f",rsAstral="["+rsAstralRange+"]",rsCombo="["+rsComboRange+"]",rsFitz="\\ud83c[\\udffb-\\udfff]",rsModifier="(?:"+rsCombo+"|"+rsFitz+")",rsNonAstral="[^"+rsAstralRange+"]",rsRegional="(?:\\ud83c[\\udde6-\\uddff]){2}",rsSurrPair="[\\ud800-\\udbff][\\udc00-\\udfff]",rsZWJ="\\u200d",reOptMod=rsModifier+"?",rsOptVar="["+rsVarRange+"]?",rsOptJoin="(?:"+rsZWJ+"(?:"+[rsNonAstral,rsRegional,rsSurrPair].join("|")+")"+rsOptVar+reOptMod+")*",rsSeq=rsOptVar+reOptMod+rsOptJoin,rsSymbol="(?:"+[rsNonAstral+rsCombo+"?",rsCombo,rsRegional,rsSurrPair,rsAstral].join("|")+")",reUnicode=RegExp(rsFitz+"(?="+rsFitz+")|"+rsSymbol+rsSeq,"g");function unicodeSize(e){for(var r=reUnicode.lastIndex=0;reUnicode.test(e);)++r;return r}function stringSize(e){return hasUnicode(e)?unicodeSize(e):asciiSize(e)}var nativeCeil$1=Math.ceil;function createPadding(e,r){var u=(r=r===void 0?" ":baseToString(r)).length;if(u<2)return u?baseRepeat(r,e):r;var t=baseRepeat(r,nativeCeil$1(e/stringSize(r)));return hasUnicode(r)?castSlice(stringToArray(t),0,e).join(""):t.slice(0,e)}var nativeCeil=Math.ceil,nativeFloor$2=Math.floor;function pad(e,r,u){e=toString(e);var t=(r=toInteger(r))?stringSize(e):0;if(!r||t>=r)return e;var a=(r-t)/2;return createPadding(nativeFloor$2(a),u)+e+createPadding(nativeCeil(a),u)}function padEnd(e,r,u){e=toString(e);var t=(r=toInteger(r))?stringSize(e):0;return r&&t<r?e+createPadding(r-t,u):e}function padStart(e,r,u){e=toString(e);var t=(r=toInteger(r))?stringSize(e):0;return r&&t<r?createPadding(r-t,u)+e:e}var reTrimStart$1=/^\s+/,nativeParseInt=root.parseInt;function parseInt$1(e,r,u){return u||r==null?r=0:r&&(r=+r),nativeParseInt(toString(e).replace(reTrimStart$1,""),r||0)}var WRAP_PARTIAL_FLAG=32,partial=baseRest((function(e,r){var u=replaceHolders(r,getHolder(partial));return createWrap(e,WRAP_PARTIAL_FLAG,void 0,r,u)}));partial.placeholder={};var WRAP_PARTIAL_RIGHT_FLAG=64,partialRight=baseRest((function(e,r){var u=replaceHolders(r,getHolder(partialRight));return createWrap(e,WRAP_PARTIAL_RIGHT_FLAG,void 0,r,u)}));partialRight.placeholder={};var partition=createAggregator((function(e,r,u){e[u?0:1].push(r)}),(function(){return[[],[]]}));function basePick(e,r){return basePickBy(e,r,(function(u,t){return hasIn(e,t)}))}var pick=flatRest((function(e,r){return e==null?{}:basePick(e,r)}));function wrapperPlant(e){for(var r,u=this;u instanceof baseLodash;){var t=wrapperClone(u);t.__index__=0,t.__values__=void 0,r?a.__wrapped__=t:r=t;var a=t;u=u.__wrapped__}return a.__wrapped__=e,r}function propertyOf(e){return function(r){return e==null?void 0:baseGet(e,r)}}function baseIndexOfWith(e,r,u,t){for(var a=u-1,l=e.length;++a<l;)if(t(e[a],r))return a;return-1}var arrayProto$3=Array.prototype,splice$1=arrayProto$3.splice;function basePullAll(e,r,u,t){var a=t?baseIndexOfWith:baseIndexOf,l=-1,d=r.length,o=e;for(e===r&&(r=copyArray(r)),u&&(o=arrayMap(e,baseUnary(u)));++l<d;)for(var n=0,i=r[l],s=u?u(i):i;(n=a(o,s,n,t))>-1;)o!==e&&splice$1.call(o,n,1),splice$1.call(e,n,1);return e}function pullAll(e,r){return e&&e.length&&r&&r.length?basePullAll(e,r):e}var pull=baseRest(pullAll);function pullAllBy(e,r,u){return e&&e.length&&r&&r.length?basePullAll(e,r,baseIteratee(u)):e}function pullAllWith(e,r,u){return e&&e.length&&r&&r.length?basePullAll(e,r,void 0,u):e}var arrayProto$2=Array.prototype,splice=arrayProto$2.splice;function basePullAt(e,r){for(var u=e?r.length:0,t=u-1;u--;){var a=r[u];if(u==t||a!==l){var l=a;isIndex(a)?splice.call(e,a,1):baseUnset(e,a)}}return e}var pullAt=flatRest((function(e,r){var u=e==null?0:e.length,t=baseAt(e,r);return basePullAt(e,arrayMap(r,(function(a){return isIndex(a,u)?+a:a})).sort(compareAscending)),t})),nativeFloor$1=Math.floor,nativeRandom$1=Math.random;function baseRandom(e,r){return e+nativeFloor$1(nativeRandom$1()*(r-e+1))}var freeParseFloat=parseFloat,nativeMin$5=Math.min,nativeRandom=Math.random;function random(e,r,u){if(u&&typeof u!="boolean"&&isIterateeCall(e,r,u)&&(r=u=void 0),u===void 0&&(typeof r=="boolean"?(u=r,r=void 0):typeof e=="boolean"&&(u=e,e=void 0)),e===void 0&&r===void 0?(e=0,r=1):(e=toFinite(e),r===void 0?(r=e,e=0):r=toFinite(r)),e>r){var t=e;e=r,r=t}if(u||e%1||r%1){var a=nativeRandom();return nativeMin$5(e+a*(r-e+freeParseFloat("1e-"+((a+"").length-1))),r)}return baseRandom(e,r)}var rangeRight=createRange(!0),WRAP_REARG_FLAG=256,rearg=flatRest((function(e,r){return createWrap(e,WRAP_REARG_FLAG,void 0,void 0,void 0,r)}));function baseReduce(e,r,u,t,a){return a(e,(function(l,d,o){u=t?(t=!1,l):r(u,l,d,o)})),u}function reduce(e,r,u){var t=isArray(e)?arrayReduce:baseReduce,a=arguments.length<3;return t(e,baseIteratee(r),u,a,baseEach)}function arrayReduceRight(e,r,u,t){var a=e==null?0:e.length;for(t&&a&&(u=e[--a]);a--;)u=r(u,e[a],a,e);return u}function reduceRight(e,r,u){var t=isArray(e)?arrayReduceRight:baseReduce,a=arguments.length<3;return t(e,baseIteratee(r),u,a,baseEachRight)}function reject(e,r){return(isArray(e)?arrayFilter:baseFilter)(e,negate(baseIteratee(r)))}function remove(e,r){var u=[];if(!e||!e.length)return u;var t=-1,a=[],l=e.length;for(r=baseIteratee(r);++t<l;){var d=e[t];r(d,t,e)&&(u.push(d),a.push(t))}return basePullAt(e,a),u}function repeat(e,r,u){return r=(u?isIterateeCall(e,r,u):r===void 0)?1:toInteger(r),baseRepeat(toString(e),r)}function replace(){var e=arguments,r=toString(e[0]);return e.length<3?r:r.replace(e[1],e[2])}var FUNC_ERROR_TEXT$1="Expected a function";function rest(e,r){if(typeof e!="function")throw new TypeError(FUNC_ERROR_TEXT$1);return r=r===void 0?r:toInteger(r),baseRest(e,r)}function result(e,r,u){var t=-1,a=(r=castPath(r,e)).length;for(a||(a=1,e=void 0);++t<a;){var l=e?.[toKey(r[t])];l===void 0&&(t=a,l=u),e=isFunction(l)?l.call(e):l}return e}var arrayProto$1=Array.prototype,nativeReverse=arrayProto$1.reverse;function reverse(e){return e==null?e:nativeReverse.call(e)}var round$1=createRound("round");function arraySample(e){var r=e.length;return r?e[baseRandom(0,r-1)]:void 0}function baseSample(e){return arraySample(values(e))}function sample(e){return(isArray(e)?arraySample:baseSample)(e)}function shuffleSelf(e,r){var u=-1,t=e.length,a=t-1;for(r=r===void 0?t:r;++u<r;){var l=baseRandom(u,a),d=e[l];e[l]=e[u],e[u]=d}return e.length=r,e}function arraySampleSize(e,r){return shuffleSelf(copyArray(e),baseClamp(r,0,e.length))}function baseSampleSize(e,r){var u=values(e);return shuffleSelf(u,baseClamp(r,0,u.length))}function sampleSize(e,r,u){return r=(u?isIterateeCall(e,r,u):r===void 0)?1:toInteger(r),(isArray(e)?arraySampleSize:baseSampleSize)(e,r)}function set(e,r,u){return e==null?e:baseSet(e,r,u)}function setWith(e,r,u,t){return t=typeof t=="function"?t:void 0,e==null?e:baseSet(e,r,u,t)}function arrayShuffle(e){return shuffleSelf(copyArray(e))}function baseShuffle(e){return shuffleSelf(values(e))}function shuffle(e){return(isArray(e)?arrayShuffle:baseShuffle)(e)}var mapTag="[object Map]",setTag="[object Set]";function size(e){if(e==null)return 0;if(isArrayLike(e))return isString(e)?stringSize(e):e.length;var r=getTag(e);return r==mapTag||r==setTag?e.size:baseKeys(e).length}function slice(e,r,u){var t=e==null?0:e.length;return t?(u&&typeof u!="number"&&isIterateeCall(e,r,u)?(r=0,u=t):(r=r==null?0:toInteger(r),u=u===void 0?t:toInteger(u)),baseSlice(e,r,u)):[]}var snakeCase=createCompounder((function(e,r,u){return e+(u?"_":"")+r.toLowerCase()})),MAX_ARRAY_LENGTH$4=4294967295,MAX_ARRAY_INDEX=MAX_ARRAY_LENGTH$4-1,nativeFloor=Math.floor,nativeMin$4=Math.min;function baseSortedIndexBy(e,r,u,t){var a=0,l=e==null?0:e.length;if(l===0)return 0;for(var d=(r=u(r))!=r,o=r===null,n=isSymbol(r),i=r===void 0;a<l;){var s=nativeFloor((a+l)/2),f=u(e[s]),c=f!==void 0,h=f===null,p=f==f,b=isSymbol(f);if(d)var y=t||p;else y=i?p&&(t||c):o?p&&c&&(t||!h):n?p&&c&&!h&&(t||!b):!h&&!b&&(t?f<=r:f<r);y?a=s+1:l=s}return nativeMin$4(l,MAX_ARRAY_INDEX)}var MAX_ARRAY_LENGTH$3=4294967295,HALF_MAX_ARRAY_LENGTH=MAX_ARRAY_LENGTH$3>>>1;function baseSortedIndex(e,r,u){var t=0,a=e==null?t:e.length;if(typeof r=="number"&&r==r&&a<=HALF_MAX_ARRAY_LENGTH){for(;t<a;){var l=t+a>>>1,d=e[l];d!==null&&!isSymbol(d)&&(u?d<=r:d<r)?t=l+1:a=l}return a}return baseSortedIndexBy(e,r,identity,u)}function sortedIndex(e,r){return baseSortedIndex(e,r)}function sortedIndexBy(e,r,u){return baseSortedIndexBy(e,r,baseIteratee(u))}function sortedIndexOf(e,r){var u=e==null?0:e.length;if(u){var t=baseSortedIndex(e,r);if(t<u&&eq(e[t],r))return t}return-1}function sortedLastIndex(e,r){return baseSortedIndex(e,r,!0)}function sortedLastIndexBy(e,r,u){return baseSortedIndexBy(e,r,baseIteratee(u),!0)}function sortedLastIndexOf(e,r){if(e!=null&&e.length){var u=baseSortedIndex(e,r,!0)-1;if(eq(e[u],r))return u}return-1}function baseSortedUniq(e,r){for(var u=-1,t=e.length,a=0,l=[];++u<t;){var d=e[u],o=r?r(d):d;if(!u||!eq(o,n)){var n=o;l[a++]=d===0?0:d}}return l}function sortedUniq(e){return e&&e.length?baseSortedUniq(e):[]}function sortedUniqBy(e,r){return e&&e.length?baseSortedUniq(e,baseIteratee(r)):[]}var MAX_ARRAY_LENGTH$2=4294967295;function split(e,r,u){return u&&typeof u!="number"&&isIterateeCall(e,r,u)&&(r=u=void 0),(u=u===void 0?MAX_ARRAY_LENGTH$2:u>>>0)?(e=toString(e))&&(typeof r=="string"||r!=null&&!isRegExp(r))&&!(r=baseToString(r))&&hasUnicode(e)?castSlice(stringToArray(e),0,u):e.split(r,u):[]}var FUNC_ERROR_TEXT="Expected a function",nativeMax$3=Math.max;function spread(e,r){if(typeof e!="function")throw new TypeError(FUNC_ERROR_TEXT);return r=r==null?0:nativeMax$3(toInteger(r),0),baseRest((function(u){var t=u[r],a=castSlice(u,0,r);return t&&arrayPush(a,t),apply(e,this,a)}))}var startCase=createCompounder((function(e,r,u){return e+(u?" ":"")+upperFirst(r)}));function startsWith(e,r,u){return e=toString(e),u=u==null?0:baseClamp(toInteger(u),0,e.length),r=baseToString(r),e.slice(u,u+r.length)==r}function stubObject(){return{}}function stubString(){return""}function stubTrue(){return!0}var subtract=createMathOperation((function(e,r){return e-r}),0);function sum(e){return e&&e.length?baseSum(e,identity):0}function tail(e){var r=e==null?0:e.length;return r?baseSlice(e,1,r):[]}function take(e,r,u){return e&&e.length?(r=u||r===void 0?1:toInteger(r),baseSlice(e,0,r<0?0:r)):[]}function takeRight(e,r,u){var t=e==null?0:e.length;return t?(r=u||r===void 0?1:toInteger(r),baseSlice(e,(r=t-r)<0?0:r,t)):[]}function takeRightWhile(e,r){return e&&e.length?baseWhile(e,baseIteratee(r),!1,!0):[]}function takeWhile(e,r){return e&&e.length?baseWhile(e,baseIteratee(r)):[]}function tap(e,r){return r(e),e}var objectProto$2=Object.prototype,hasOwnProperty$2=objectProto$2.hasOwnProperty;function customDefaultsAssignIn(e,r,u,t){return e===void 0||eq(e,objectProto$2[u])&&!hasOwnProperty$2.call(t,u)?r:e}var stringEscapes={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function escapeStringChar(e){return"\\"+stringEscapes[e]}var reInterpolate=/<%=([\s\S]+?)%>/g,reEscape=/<%-([\s\S]+?)%>/g,reEvaluate=/<%([\s\S]+?)%>/g,templateSettings={escape:reEscape,evaluate:reEvaluate,interpolate:reInterpolate,variable:"",imports:{_:{escape:escape$1}}},INVALID_TEMPL_VAR_ERROR_TEXT="Invalid `variable` option passed into `_.template`",INVALID_TEMPL_IMPORTS_ERROR_TEXT="Invalid `imports` option passed into `_.template`",reEmptyStringLeading=/\b__p \+= '';/g,reEmptyStringMiddle=/\b(__p \+=) '' \+/g,reEmptyStringTrailing=/(__e\(.*?\)|\b__t\)) \+\n'';/g,reForbiddenIdentifierChars=/[()=,{}\[\]\/\s]/,reEsTemplate=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,reNoMatch=/($^)/,reUnescapedString=/['\n\r\u2028\u2029\\]/g,objectProto$1=Object.prototype,hasOwnProperty$1=objectProto$1.hasOwnProperty;function template(e,r,u){var t=templateSettings.imports._.templateSettings||templateSettings;u&&isIterateeCall(e,r,u)&&(r=void 0),e=toString(e),r=assignWith({},r,t,customDefaultsAssignIn);var a=assignWith({},r.imports,t.imports,customDefaultsAssignIn),l=keys(a),d=baseValues(a,l);arrayEach(l,(function(y){if(reForbiddenIdentifierChars.test(y))throw new Error(INVALID_TEMPL_IMPORTS_ERROR_TEXT)}));var o,n,i=0,s=r.interpolate||reNoMatch,f="__p += '",c=RegExp((r.escape||reNoMatch).source+"|"+s.source+"|"+(s===reInterpolate?reEsTemplate:reNoMatch).source+"|"+(r.evaluate||reNoMatch).source+"|$","g"),h=hasOwnProperty$1.call(r,"sourceURL")?"//# sourceURL="+(r.sourceURL+"").replace(/\s/g," ")+`
4
- `:"";e.replace(c,(function(y,g,_,B,R,A){return _||(_=B),f+=e.slice(i,A).replace(reUnescapedString,escapeStringChar),g&&(o=!0,f+=`' +
5
- __e(`+g+`) +
6
- '`),R&&(n=!0,f+=`';
7
- `+R+`;
8
- __p += '`),_&&(f+=`' +
9
- ((__t = (`+_+`)) == null ? '' : __t) +
10
- '`),i=A+y.length,y})),f+=`';
11
- `;var p=hasOwnProperty$1.call(r,"variable")&&r.variable;if(p){if(reForbiddenIdentifierChars.test(p))throw new Error(INVALID_TEMPL_VAR_ERROR_TEXT)}else f=`with (obj) {
12
- `+f+`
13
- }
14
- `;f=(n?f.replace(reEmptyStringLeading,""):f).replace(reEmptyStringMiddle,"$1").replace(reEmptyStringTrailing,"$1;"),f="function("+(p||"obj")+`) {
15
- `+(p?"":`obj || (obj = {});
16
- `)+"var __t, __p = ''"+(o?", __e = _.escape":"")+(n?`, __j = Array.prototype.join;
17
- function print() { __p += __j.call(arguments, '') }
18
- `:`;
19
- `)+f+`return __p
20
- }`;var b=attempt((function(){return Function(l,h+"return "+f).apply(void 0,d)}));if(b.source=f,isError(b))throw b;return b}function thru(e,r){return r(e)}var MAX_SAFE_INTEGER$1=9007199254740991,MAX_ARRAY_LENGTH$1=4294967295,nativeMin$3=Math.min;function times(e,r){if((e=toInteger(e))<1||e>MAX_SAFE_INTEGER$1)return[];var u=MAX_ARRAY_LENGTH$1,t=nativeMin$3(e,MAX_ARRAY_LENGTH$1);r=castFunction(r),e-=MAX_ARRAY_LENGTH$1;for(var a=baseTimes(t,r);++u<e;)r(u);return a}function wrapperToIterator(){return this}function baseWrapperValue(e,r){var u=e;return u instanceof LazyWrapper&&(u=u.value()),arrayReduce(r,(function(t,a){return a.func.apply(a.thisArg,arrayPush([t],a.args))}),u)}function wrapperValue(){return baseWrapperValue(this.__wrapped__,this.__actions__)}function toLower(e){return toString(e).toLowerCase()}function toPath(e){return isArray(e)?arrayMap(e,toKey):isSymbol(e)?[e]:copyArray(stringToPath(toString(e)))}var MAX_SAFE_INTEGER=9007199254740991;function toSafeInteger(e){return e?baseClamp(toInteger(e),-MAX_SAFE_INTEGER,MAX_SAFE_INTEGER):e===0?e:0}function toUpper(e){return toString(e).toUpperCase()}function transform(e,r,u){var t=isArray(e),a=t||isBuffer(e)||isTypedArray$2(e);if(r=baseIteratee(r),u==null){var l=e&&e.constructor;u=a?t?new l:[]:isObject(e)&&isFunction(l)?baseCreate(getPrototype(e)):{}}return(a?arrayEach:baseForOwn)(e,(function(d,o,n){return r(u,d,o,n)})),u}function charsStartIndex(e,r){for(var u=-1,t=e.length;++u<t&&baseIndexOf(r,e[u],0)>-1;);return u}function trim(e,r,u){if((e=toString(e))&&(u||r===void 0))return baseTrim(e);if(!e||!(r=baseToString(r)))return e;var t=stringToArray(e),a=stringToArray(r),l=charsStartIndex(t,a),d=charsEndIndex(t,a)+1;return castSlice(t,l,d).join("")}var reTrimStart=/^\s+/;function trimStart(e,r,u){if((e=toString(e))&&(u||r===void 0))return e.replace(reTrimStart,"");if(!e||!(r=baseToString(r)))return e;var t=stringToArray(e),a=charsStartIndex(t,stringToArray(r));return castSlice(t,a).join("")}var DEFAULT_TRUNC_LENGTH=30,DEFAULT_TRUNC_OMISSION="...",reFlags=/\w*$/;function truncate(e,r){var u=DEFAULT_TRUNC_LENGTH,t=DEFAULT_TRUNC_OMISSION;if(isObject(r)){var a="separator"in r?r.separator:a;u="length"in r?toInteger(r.length):u,t="omission"in r?baseToString(r.omission):t}var l=(e=toString(e)).length;if(hasUnicode(e)){var d=stringToArray(e);l=d.length}if(u>=l)return e;var o=u-stringSize(t);if(o<1)return t;var n=d?castSlice(d,0,o).join(""):e.slice(0,o);if(a===void 0)return n+t;if(d&&(o+=n.length-o),isRegExp(a)){if(e.slice(o).search(a)){var i,s=n;for(a.global||(a=RegExp(a.source,toString(reFlags.exec(a))+"g")),a.lastIndex=0;i=a.exec(s);)var f=i.index;n=n.slice(0,f===void 0?o:f)}}else if(e.indexOf(baseToString(a),o)!=o){var c=n.lastIndexOf(a);c>-1&&(n=n.slice(0,c))}return n+t}function unary(e){return ary(e,1)}var htmlUnescapes={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},unescapeHtmlChar=basePropertyOf(htmlUnescapes),reEscapedHtml=/&(?:amp|lt|gt|quot|#39);/g,reHasEscapedHtml=RegExp(reEscapedHtml.source);function unescape$1(e){return(e=toString(e))&&reHasEscapedHtml.test(e)?e.replace(reEscapedHtml,unescapeHtmlChar):e}var union=baseRest((function(e){return baseUniq(baseFlatten(e,1,isArrayLikeObject,!0))})),unionBy=baseRest((function(e){var r=last(e);return isArrayLikeObject(r)&&(r=void 0),baseUniq(baseFlatten(e,1,isArrayLikeObject,!0),baseIteratee(r))})),unionWith=baseRest((function(e){var r=last(e);return r=typeof r=="function"?r:void 0,baseUniq(baseFlatten(e,1,isArrayLikeObject,!0),void 0,r)}));function uniqWith(e,r){return r=typeof r=="function"?r:void 0,e&&e.length?baseUniq(e,void 0,r):[]}var idCounter=0;function uniqueId(e){var r=++idCounter;return toString(e)+r}function unset(e,r){return e==null||baseUnset(e,r)}var nativeMax$2=Math.max;function unzip(e){if(!e||!e.length)return[];var r=0;return e=arrayFilter(e,(function(u){if(isArrayLikeObject(u))return r=nativeMax$2(u.length,r),!0})),baseTimes(r,(function(u){return arrayMap(e,baseProperty(u))}))}function unzipWith(e,r){if(!e||!e.length)return[];var u=unzip(e);return r==null?u:arrayMap(u,(function(t){return apply(r,void 0,t)}))}function baseUpdate(e,r,u,t){return baseSet(e,r,u(baseGet(e,r)),t)}function update(e,r,u){return e==null?e:baseUpdate(e,r,castFunction(u))}function updateWith(e,r,u,t){return t=typeof t=="function"?t:void 0,e==null?e:baseUpdate(e,r,castFunction(u),t)}var upperCase=createCompounder((function(e,r,u){return e+(u?" ":"")+r.toUpperCase()}));function valuesIn(e){return e==null?[]:baseValues(e,keysIn(e))}var without=baseRest((function(e,r){return isArrayLikeObject(e)?baseDifference(e,r):[]}));function wrap(e,r){return partial(castFunction(r),e)}var wrapperAt=flatRest((function(e){var r=e.length,u=r?e[0]:0,t=this.__wrapped__,a=function(l){return baseAt(l,e)};return!(r>1||this.__actions__.length)&&t instanceof LazyWrapper&&isIndex(u)?((t=t.slice(u,+u+(r?1:0))).__actions__.push({func:thru,args:[a],thisArg:void 0}),new LodashWrapper(t,this.__chain__).thru((function(l){return r&&!l.length&&l.push(void 0),l}))):this.thru(a)}));function wrapperChain(){return chain(this)}function wrapperReverse(){var e=this.__wrapped__;if(e instanceof LazyWrapper){var r=e;return this.__actions__.length&&(r=new LazyWrapper(this)),(r=r.reverse()).__actions__.push({func:thru,args:[reverse],thisArg:void 0}),new LodashWrapper(r,this.__chain__)}return this.thru(reverse)}function baseXor(e,r,u){var t=e.length;if(t<2)return t?baseUniq(e[0]):[];for(var a=-1,l=Array(t);++a<t;)for(var d=e[a],o=-1;++o<t;)o!=a&&(l[a]=baseDifference(l[a]||d,e[o],r,u));return baseUniq(baseFlatten(l,1),r,u)}var xor$1=baseRest((function(e){return baseXor(arrayFilter(e,isArrayLikeObject))})),xorBy=baseRest((function(e){var r=last(e);return isArrayLikeObject(r)&&(r=void 0),baseXor(arrayFilter(e,isArrayLikeObject),baseIteratee(r))})),xorWith=baseRest((function(e){var r=last(e);return r=typeof r=="function"?r:void 0,baseXor(arrayFilter(e,isArrayLikeObject),void 0,r)})),zip=baseRest(unzip);function baseZipObject(e,r,u){for(var t=-1,a=e.length,l=r.length,d={};++t<a;){var o=t<l?r[t]:void 0;u(d,e[t],o)}return d}function zipObject(e,r){return baseZipObject(e||[],r||[],assignValue)}function zipObjectDeep(e,r){return baseZipObject(e||[],r||[],baseSet)}var zipWith=baseRest((function(e){var r=e.length,u=r>1?e[r-1]:void 0;return u=typeof u=="function"?(e.pop(),u):void 0,unzipWith(e,u)}));const array={chunk,compact,concat,difference,differenceBy,differenceWith,drop,dropRight,dropRightWhile,dropWhile,fill,findIndex,findLastIndex,flatten,flattenDeep,flattenDepth,fromPairs,head,indexOf,initial,intersection,intersectionBy,intersectionWith,join,lastIndexOf,nth,pull,pullAll,pullAllBy,pullAllWith,pullAt,remove,reverse,slice,sortedIndex,sortedIndexBy,sortedIndexOf,sortedLastIndex,sortedLastIndexBy,sortedLastIndexOf,sortedUniq,sortedUniqBy,tail,take,takeRight,takeRightWhile,takeWhile,union,unionBy,unionWith,uniq,uniqBy,uniqWith,unzip,unzipWith,without,xor:xor$1,xorBy,xorWith,zip,zipObject,zipObjectDeep,zipWith},collection={countBy,every,filter,find,findLast,flatMap,flatMapDeep,flatMapDepth,forEach:forEach$1,forEachRight,groupBy,includes,invokeMap,keyBy,map,orderBy,partition,reduce,reduceRight,reject,sample,sampleSize,shuffle,size,some,sortBy},date={now},func={after,ary,before,bind,bindKey,curry,curryRight,debounce,defer,delay,flip,memoize,once,overArgs,partial,partialRight,rearg,rest,spread,throttle,unary,wrap},lang={castArray,clone,cloneDeep,cloneDeepWith,cloneWith,conformsTo,eq,gt,gte,isArguments:isArguments$1,isArrayBuffer,isArrayLike,isArrayLikeObject,isBoolean,isBuffer,isDate,isElement,isEmpty,isEqual,isEqualWith,isError,isFinite:isFinite$1,isFunction,isInteger,isLength,isMap,isMatch,isMatchWith,isNaN:isNaN$1,isNative,isNil,isNull,isNumber,isObjectLike,isPlainObject,isRegExp,isSafeInteger,isSet,isString,isSymbol,isTypedArray:isTypedArray$2,isUndefined,isWeakMap,isWeakSet,lt,lte,toArray,toFinite,toLength,toNumber,toPlainObject,toSafeInteger,toString},math={add,ceil,divide,floor:floor$1,max:max$1,maxBy,mean,meanBy,min:min$1,minBy,multiply,round:round$1,subtract,sum,sumBy},number={clamp,inRange,random},object={assign,assignIn,assignInWith,assignWith,at,create,defaults,defaultsDeep,findKey,findLastKey,forIn,forInRight,forOwn,forOwnRight,functions,functionsIn,get:get$1,has,hasIn,invert,invertBy,invoke,keysIn,mapKeys,mapValues,merge,mergeWith,omit,omitBy,pick,pickBy,result,set,setWith,toPairs,toPairsIn,transform,unset,update,updateWith,values,valuesIn},seq={at:wrapperAt,chain,commit:wrapperCommit,next:wrapperNext,plant:wrapperPlant,reverse:wrapperReverse,tap,toIterator:wrapperToIterator,value:wrapperValue,wrapperChain},string={camelCase,capitalize,deburr,endsWith,escape:escape$1,escapeRegExp,kebabCase,lowerCase,lowerFirst,pad,padEnd,padStart,parseInt:parseInt$1,repeat,replace,snakeCase,split,startCase,startsWith,template,templateSettings,toLower,toUpper,trim,trimEnd,trimStart,truncate,unescape:unescape$1,upperCase,upperFirst,words},util$1={attempt,bindAll,cond,conforms,constant,defaultTo,flow,flowRight,iteratee,matches,matchesProperty,method,methodOf,noop,nthArg,over,overEvery,overSome,property,propertyOf,range:range$1,rangeRight,stubArray,stubFalse,stubObject,stubString,stubTrue,times,toPath,uniqueId};function lazyClone(){var e=new LazyWrapper(this.__wrapped__);return e.__actions__=copyArray(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=copyArray(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=copyArray(this.__views__),e}function lazyReverse(){if(this.__filtered__){var e=new LazyWrapper(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e}var nativeMax$1=Math.max,nativeMin$2=Math.min;function getView(e,r,u){for(var t=-1,a=u.length;++t<a;){var l=u[t],d=l.size;switch(l.type){case"drop":e+=d;break;case"dropRight":r-=d;break;case"take":r=nativeMin$2(r,e+d);break;case"takeRight":e=nativeMax$1(e,r-d)}}return{start:e,end:r}}var LAZY_FILTER_FLAG$1=1,LAZY_MAP_FLAG=2,nativeMin$1=Math.min;function lazyValue(){var e=this.__wrapped__.value(),r=this.__dir__,u=isArray(e),t=r<0,a=u?e.length:0,l=getView(0,a,this.__views__),d=l.start,o=l.end,n=o-d,i=t?o:d-1,s=this.__iteratees__,f=s.length,c=0,h=nativeMin$1(n,this.__takeCount__);if(!u||!t&&a==n&&h==n)return baseWrapperValue(e,this.__actions__);var p=[];e:for(;n--&&c<h;){for(var b=-1,y=e[i+=r];++b<f;){var g=s[b],_=g.iteratee,B=g.type,R=_(y);if(B==LAZY_MAP_FLAG)y=R;else if(!R){if(B==LAZY_FILTER_FLAG$1)continue e;break e}}p[c++]=y}return p}var VERSION="4.18.1",WRAP_BIND_KEY_FLAG=2,LAZY_FILTER_FLAG=1,LAZY_WHILE_FLAG=3,MAX_ARRAY_LENGTH=4294967295,arrayProto=Array.prototype,objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,symIterator=Symbol$1?Symbol$1.iterator:void 0,nativeMax=Math.max,nativeMin=Math.min,mixin=(function(e){return function(r,u,t){if(t==null){var a=isObject(u),l=a&&keys(u),d=l&&l.length&&baseFunctions(u,l);(d?d.length:a)||(t=u,u=r,r=this)}return e(r,u,t)}})(mixin$1),source;lodash$1.after=func.after,lodash$1.ary=func.ary,lodash$1.assign=object.assign,lodash$1.assignIn=object.assignIn,lodash$1.assignInWith=object.assignInWith,lodash$1.assignWith=object.assignWith,lodash$1.at=object.at,lodash$1.before=func.before,lodash$1.bind=func.bind,lodash$1.bindAll=util$1.bindAll,lodash$1.bindKey=func.bindKey,lodash$1.castArray=lang.castArray,lodash$1.chain=seq.chain,lodash$1.chunk=array.chunk,lodash$1.compact=array.compact,lodash$1.concat=array.concat,lodash$1.cond=util$1.cond,lodash$1.conforms=util$1.conforms,lodash$1.constant=util$1.constant,lodash$1.countBy=collection.countBy,lodash$1.create=object.create,lodash$1.curry=func.curry,lodash$1.curryRight=func.curryRight,lodash$1.debounce=func.debounce,lodash$1.defaults=object.defaults,lodash$1.defaultsDeep=object.defaultsDeep,lodash$1.defer=func.defer,lodash$1.delay=func.delay,lodash$1.difference=array.difference,lodash$1.differenceBy=array.differenceBy,lodash$1.differenceWith=array.differenceWith,lodash$1.drop=array.drop,lodash$1.dropRight=array.dropRight,lodash$1.dropRightWhile=array.dropRightWhile,lodash$1.dropWhile=array.dropWhile,lodash$1.fill=array.fill,lodash$1.filter=collection.filter,lodash$1.flatMap=collection.flatMap,lodash$1.flatMapDeep=collection.flatMapDeep,lodash$1.flatMapDepth=collection.flatMapDepth,lodash$1.flatten=array.flatten,lodash$1.flattenDeep=array.flattenDeep,lodash$1.flattenDepth=array.flattenDepth,lodash$1.flip=func.flip,lodash$1.flow=util$1.flow,lodash$1.flowRight=util$1.flowRight,lodash$1.fromPairs=array.fromPairs,lodash$1.functions=object.functions,lodash$1.functionsIn=object.functionsIn,lodash$1.groupBy=collection.groupBy,lodash$1.initial=array.initial,lodash$1.intersection=array.intersection,lodash$1.intersectionBy=array.intersectionBy,lodash$1.intersectionWith=array.intersectionWith,lodash$1.invert=object.invert,lodash$1.invertBy=object.invertBy,lodash$1.invokeMap=collection.invokeMap,lodash$1.iteratee=util$1.iteratee,lodash$1.keyBy=collection.keyBy,lodash$1.keys=keys,lodash$1.keysIn=object.keysIn,lodash$1.map=collection.map,lodash$1.mapKeys=object.mapKeys,lodash$1.mapValues=object.mapValues,lodash$1.matches=util$1.matches,lodash$1.matchesProperty=util$1.matchesProperty,lodash$1.memoize=func.memoize,lodash$1.merge=object.merge,lodash$1.mergeWith=object.mergeWith,lodash$1.method=util$1.method,lodash$1.methodOf=util$1.methodOf,lodash$1.mixin=mixin,lodash$1.negate=negate,lodash$1.nthArg=util$1.nthArg,lodash$1.omit=object.omit,lodash$1.omitBy=object.omitBy,lodash$1.once=func.once,lodash$1.orderBy=collection.orderBy,lodash$1.over=util$1.over,lodash$1.overArgs=func.overArgs,lodash$1.overEvery=util$1.overEvery,lodash$1.overSome=util$1.overSome,lodash$1.partial=func.partial,lodash$1.partialRight=func.partialRight,lodash$1.partition=collection.partition,lodash$1.pick=object.pick,lodash$1.pickBy=object.pickBy,lodash$1.property=util$1.property,lodash$1.propertyOf=util$1.propertyOf,lodash$1.pull=array.pull,lodash$1.pullAll=array.pullAll,lodash$1.pullAllBy=array.pullAllBy,lodash$1.pullAllWith=array.pullAllWith,lodash$1.pullAt=array.pullAt,lodash$1.range=util$1.range,lodash$1.rangeRight=util$1.rangeRight,lodash$1.rearg=func.rearg,lodash$1.reject=collection.reject,lodash$1.remove=array.remove,lodash$1.rest=func.rest,lodash$1.reverse=array.reverse,lodash$1.sampleSize=collection.sampleSize,lodash$1.set=object.set,lodash$1.setWith=object.setWith,lodash$1.shuffle=collection.shuffle,lodash$1.slice=array.slice,lodash$1.sortBy=collection.sortBy,lodash$1.sortedUniq=array.sortedUniq,lodash$1.sortedUniqBy=array.sortedUniqBy,lodash$1.split=string.split,lodash$1.spread=func.spread,lodash$1.tail=array.tail,lodash$1.take=array.take,lodash$1.takeRight=array.takeRight,lodash$1.takeRightWhile=array.takeRightWhile,lodash$1.takeWhile=array.takeWhile,lodash$1.tap=seq.tap,lodash$1.throttle=func.throttle,lodash$1.thru=thru,lodash$1.toArray=lang.toArray,lodash$1.toPairs=object.toPairs,lodash$1.toPairsIn=object.toPairsIn,lodash$1.toPath=util$1.toPath,lodash$1.toPlainObject=lang.toPlainObject,lodash$1.transform=object.transform,lodash$1.unary=func.unary,lodash$1.union=array.union,lodash$1.unionBy=array.unionBy,lodash$1.unionWith=array.unionWith,lodash$1.uniq=array.uniq,lodash$1.uniqBy=array.uniqBy,lodash$1.uniqWith=array.uniqWith,lodash$1.unset=object.unset,lodash$1.unzip=array.unzip,lodash$1.unzipWith=array.unzipWith,lodash$1.update=object.update,lodash$1.updateWith=object.updateWith,lodash$1.values=object.values,lodash$1.valuesIn=object.valuesIn,lodash$1.without=array.without,lodash$1.words=string.words,lodash$1.wrap=func.wrap,lodash$1.xor=array.xor,lodash$1.xorBy=array.xorBy,lodash$1.xorWith=array.xorWith,lodash$1.zip=array.zip,lodash$1.zipObject=array.zipObject,lodash$1.zipObjectDeep=array.zipObjectDeep,lodash$1.zipWith=array.zipWith,lodash$1.entries=object.toPairs,lodash$1.entriesIn=object.toPairsIn,lodash$1.extend=object.assignIn,lodash$1.extendWith=object.assignInWith,mixin(lodash$1,lodash$1),lodash$1.add=math.add,lodash$1.attempt=util$1.attempt,lodash$1.camelCase=string.camelCase,lodash$1.capitalize=string.capitalize,lodash$1.ceil=math.ceil,lodash$1.clamp=number.clamp,lodash$1.clone=lang.clone,lodash$1.cloneDeep=lang.cloneDeep,lodash$1.cloneDeepWith=lang.cloneDeepWith,lodash$1.cloneWith=lang.cloneWith,lodash$1.conformsTo=lang.conformsTo,lodash$1.deburr=string.deburr,lodash$1.defaultTo=util$1.defaultTo,lodash$1.divide=math.divide,lodash$1.endsWith=string.endsWith,lodash$1.eq=lang.eq,lodash$1.escape=string.escape,lodash$1.escapeRegExp=string.escapeRegExp,lodash$1.every=collection.every,lodash$1.find=collection.find,lodash$1.findIndex=array.findIndex,lodash$1.findKey=object.findKey,lodash$1.findLast=collection.findLast,lodash$1.findLastIndex=array.findLastIndex,lodash$1.findLastKey=object.findLastKey,lodash$1.floor=math.floor,lodash$1.forEach=collection.forEach,lodash$1.forEachRight=collection.forEachRight,lodash$1.forIn=object.forIn,lodash$1.forInRight=object.forInRight,lodash$1.forOwn=object.forOwn,lodash$1.forOwnRight=object.forOwnRight,lodash$1.get=object.get,lodash$1.gt=lang.gt,lodash$1.gte=lang.gte,lodash$1.has=object.has,lodash$1.hasIn=object.hasIn,lodash$1.head=array.head,lodash$1.identity=identity,lodash$1.includes=collection.includes,lodash$1.indexOf=array.indexOf,lodash$1.inRange=number.inRange,lodash$1.invoke=object.invoke,lodash$1.isArguments=lang.isArguments,lodash$1.isArray=isArray,lodash$1.isArrayBuffer=lang.isArrayBuffer,lodash$1.isArrayLike=lang.isArrayLike,lodash$1.isArrayLikeObject=lang.isArrayLikeObject,lodash$1.isBoolean=lang.isBoolean,lodash$1.isBuffer=lang.isBuffer,lodash$1.isDate=lang.isDate,lodash$1.isElement=lang.isElement,lodash$1.isEmpty=lang.isEmpty,lodash$1.isEqual=lang.isEqual,lodash$1.isEqualWith=lang.isEqualWith,lodash$1.isError=lang.isError,lodash$1.isFinite=lang.isFinite,lodash$1.isFunction=lang.isFunction,lodash$1.isInteger=lang.isInteger,lodash$1.isLength=lang.isLength,lodash$1.isMap=lang.isMap,lodash$1.isMatch=lang.isMatch,lodash$1.isMatchWith=lang.isMatchWith,lodash$1.isNaN=lang.isNaN,lodash$1.isNative=lang.isNative,lodash$1.isNil=lang.isNil,lodash$1.isNull=lang.isNull,lodash$1.isNumber=lang.isNumber,lodash$1.isObject=isObject,lodash$1.isObjectLike=lang.isObjectLike,lodash$1.isPlainObject=lang.isPlainObject,lodash$1.isRegExp=lang.isRegExp,lodash$1.isSafeInteger=lang.isSafeInteger,lodash$1.isSet=lang.isSet,lodash$1.isString=lang.isString,lodash$1.isSymbol=lang.isSymbol,lodash$1.isTypedArray=lang.isTypedArray,lodash$1.isUndefined=lang.isUndefined,lodash$1.isWeakMap=lang.isWeakMap,lodash$1.isWeakSet=lang.isWeakSet,lodash$1.join=array.join,lodash$1.kebabCase=string.kebabCase,lodash$1.last=last,lodash$1.lastIndexOf=array.lastIndexOf,lodash$1.lowerCase=string.lowerCase,lodash$1.lowerFirst=string.lowerFirst,lodash$1.lt=lang.lt,lodash$1.lte=lang.lte,lodash$1.max=math.max,lodash$1.maxBy=math.maxBy,lodash$1.mean=math.mean,lodash$1.meanBy=math.meanBy,lodash$1.min=math.min,lodash$1.minBy=math.minBy,lodash$1.stubArray=util$1.stubArray,lodash$1.stubFalse=util$1.stubFalse,lodash$1.stubObject=util$1.stubObject,lodash$1.stubString=util$1.stubString,lodash$1.stubTrue=util$1.stubTrue,lodash$1.multiply=math.multiply,lodash$1.nth=array.nth,lodash$1.noop=util$1.noop,lodash$1.now=date.now,lodash$1.pad=string.pad,lodash$1.padEnd=string.padEnd,lodash$1.padStart=string.padStart,lodash$1.parseInt=string.parseInt,lodash$1.random=number.random,lodash$1.reduce=collection.reduce,lodash$1.reduceRight=collection.reduceRight,lodash$1.repeat=string.repeat,lodash$1.replace=string.replace,lodash$1.result=object.result,lodash$1.round=math.round,lodash$1.sample=collection.sample,lodash$1.size=collection.size,lodash$1.snakeCase=string.snakeCase,lodash$1.some=collection.some,lodash$1.sortedIndex=array.sortedIndex,lodash$1.sortedIndexBy=array.sortedIndexBy,lodash$1.sortedIndexOf=array.sortedIndexOf,lodash$1.sortedLastIndex=array.sortedLastIndex,lodash$1.sortedLastIndexBy=array.sortedLastIndexBy,lodash$1.sortedLastIndexOf=array.sortedLastIndexOf,lodash$1.startCase=string.startCase,lodash$1.startsWith=string.startsWith,lodash$1.subtract=math.subtract,lodash$1.sum=math.sum,lodash$1.sumBy=math.sumBy,lodash$1.template=string.template,lodash$1.times=util$1.times,lodash$1.toFinite=lang.toFinite,lodash$1.toInteger=toInteger,lodash$1.toLength=lang.toLength,lodash$1.toLower=string.toLower,lodash$1.toNumber=lang.toNumber,lodash$1.toSafeInteger=lang.toSafeInteger,lodash$1.toString=lang.toString,lodash$1.toUpper=string.toUpper,lodash$1.trim=string.trim,lodash$1.trimEnd=string.trimEnd,lodash$1.trimStart=string.trimStart,lodash$1.truncate=string.truncate,lodash$1.unescape=string.unescape,lodash$1.uniqueId=util$1.uniqueId,lodash$1.upperCase=string.upperCase,lodash$1.upperFirst=string.upperFirst,lodash$1.each=collection.forEach,lodash$1.eachRight=collection.forEachRight,lodash$1.first=array.head,mixin(lodash$1,(source={},baseForOwn(lodash$1,(function(e,r){hasOwnProperty.call(lodash$1.prototype,r)||(source[r]=e)})),source),{chain:!1}),lodash$1.VERSION=VERSION,(lodash$1.templateSettings=string.templateSettings).imports._=lodash$1,arrayEach(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){lodash$1[e].placeholder=lodash$1})),arrayEach(["drop","take"],(function(e,r){LazyWrapper.prototype[e]=function(u){u=u===void 0?1:nativeMax(toInteger(u),0);var t=this.__filtered__&&!r?new LazyWrapper(this):this.clone();return t.__filtered__?t.__takeCount__=nativeMin(u,t.__takeCount__):t.__views__.push({size:nativeMin(u,MAX_ARRAY_LENGTH),type:e+(t.__dir__<0?"Right":"")}),t},LazyWrapper.prototype[e+"Right"]=function(u){return this.reverse()[e](u).reverse()}})),arrayEach(["filter","map","takeWhile"],(function(e,r){var u=r+1,t=u==LAZY_FILTER_FLAG||u==LAZY_WHILE_FLAG;LazyWrapper.prototype[e]=function(a){var l=this.clone();return l.__iteratees__.push({iteratee:baseIteratee(a),type:u}),l.__filtered__=l.__filtered__||t,l}})),arrayEach(["head","last"],(function(e,r){var u="take"+(r?"Right":"");LazyWrapper.prototype[e]=function(){return this[u](1).value()[0]}})),arrayEach(["initial","tail"],(function(e,r){var u="drop"+(r?"":"Right");LazyWrapper.prototype[e]=function(){return this.__filtered__?new LazyWrapper(this):this[u](1)}})),LazyWrapper.prototype.compact=function(){return this.filter(identity)},LazyWrapper.prototype.find=function(e){return this.filter(e).head()},LazyWrapper.prototype.findLast=function(e){return this.reverse().find(e)},LazyWrapper.prototype.invokeMap=baseRest((function(e,r){return typeof e=="function"?new LazyWrapper(this):this.map((function(u){return baseInvoke(u,e,r)}))})),LazyWrapper.prototype.reject=function(e){return this.filter(negate(baseIteratee(e)))},LazyWrapper.prototype.slice=function(e,r){e=toInteger(e);var u=this;return u.__filtered__&&(e>0||r<0)?new LazyWrapper(u):(e<0?u=u.takeRight(-e):e&&(u=u.drop(e)),r!==void 0&&(u=(r=toInteger(r))<0?u.dropRight(-r):u.take(r-e)),u)},LazyWrapper.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},LazyWrapper.prototype.toArray=function(){return this.take(MAX_ARRAY_LENGTH)},baseForOwn(LazyWrapper.prototype,(function(e,r){var u=/^(?:filter|find|map|reject)|While$/.test(r),t=/^(?:head|last)$/.test(r),a=lodash$1[t?"take"+(r=="last"?"Right":""):r],l=t||/^find/.test(r);a&&(lodash$1.prototype[r]=function(){var d=this.__wrapped__,o=t?[1]:arguments,n=d instanceof LazyWrapper,i=o[0],s=n||isArray(d),f=function(g){var _=a.apply(lodash$1,arrayPush([g],o));return t&&c?_[0]:_};s&&u&&typeof i=="function"&&i.length!=1&&(n=s=!1);var c=this.__chain__,h=!!this.__actions__.length,p=l&&!c,b=n&&!h;if(!l&&s){d=b?d:new LazyWrapper(this);var y=e.apply(d,o);return y.__actions__.push({func:thru,args:[f],thisArg:void 0}),new LodashWrapper(y,c)}return p&&b?e.apply(this,o):(y=this.thru(f),p?t?y.value()[0]:y.value():y)})})),arrayEach(["pop","push","shift","sort","splice","unshift"],(function(e){var r=arrayProto[e],u=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",t=/^(?:pop|shift)$/.test(e);lodash$1.prototype[e]=function(){var a=arguments;if(t&&!this.__chain__){var l=this.value();return r.apply(isArray(l)?l:[],a)}return this[u]((function(d){return r.apply(isArray(d)?d:[],a)}))}})),baseForOwn(LazyWrapper.prototype,(function(e,r){var u=lodash$1[r];if(u){var t=u.name+"";hasOwnProperty.call(realNames,t)||(realNames[t]=[]),realNames[t].push({name:r,func:u})}})),realNames[createHybrid(void 0,WRAP_BIND_KEY_FLAG).name]=[{name:"wrapper",func:void 0}],LazyWrapper.prototype.clone=lazyClone,LazyWrapper.prototype.reverse=lazyReverse,LazyWrapper.prototype.value=lazyValue,lodash$1.prototype.at=seq.at,lodash$1.prototype.chain=seq.wrapperChain,lodash$1.prototype.commit=seq.commit,lodash$1.prototype.next=seq.next,lodash$1.prototype.plant=seq.plant,lodash$1.prototype.reverse=seq.reverse,lodash$1.prototype.toJSON=lodash$1.prototype.valueOf=lodash$1.prototype.value=seq.value,lodash$1.prototype.first=lodash$1.prototype.head,symIterator&&(lodash$1.prototype[symIterator]=seq.toIterator);const lodash=Object.freeze(Object.defineProperty({__proto__:null,add,after,ary,assign,assignIn,assignInWith,assignWith,at,attempt,before,bind,bindAll,bindKey,camelCase,capitalize,castArray,ceil,chain,chunk,clamp,clone,cloneDeep,cloneDeepWith,cloneWith,commit:wrapperCommit,compact,concat,cond,conforms,conformsTo,constant,countBy,create,curry,curryRight,debounce,deburr,default:lodash$1,defaultTo,defaults,defaultsDeep,defer,delay,difference,differenceBy,differenceWith,divide,drop,dropRight,dropRightWhile,dropWhile,each:forEach$1,eachRight:forEachRight,endsWith,entries:toPairs,entriesIn:toPairsIn,eq,escape:escape$1,escapeRegExp,every,extend:assignIn,extendWith:assignInWith,fill,filter,find,findIndex,findKey,findLast,findLastIndex,findLastKey,first:head,flatMap,flatMapDeep,flatMapDepth,flatten,flattenDeep,flattenDepth,flip,floor:floor$1,flow,flowRight,forEach:forEach$1,forEachRight,forIn,forInRight,forOwn,forOwnRight,fromPairs,functions,functionsIn,get:get$1,groupBy,gt,gte,has,hasIn,head,identity,inRange,includes,indexOf,initial,intersection,intersectionBy,intersectionWith,invert,invertBy,invoke,invokeMap,isArguments:isArguments$1,isArray,isArrayBuffer,isArrayLike,isArrayLikeObject,isBoolean,isBuffer,isDate,isElement,isEmpty,isEqual,isEqualWith,isError,isFinite:isFinite$1,isFunction,isInteger,isLength,isMap,isMatch,isMatchWith,isNaN:isNaN$1,isNative,isNil,isNull,isNumber,isObject,isObjectLike,isPlainObject,isRegExp,isSafeInteger,isSet,isString,isSymbol,isTypedArray:isTypedArray$2,isUndefined,isWeakMap,isWeakSet,iteratee,join,kebabCase,keyBy,keys,keysIn,last,lastIndexOf,lodash:lodash$1,lowerCase,lowerFirst,lt,lte,map,mapKeys,mapValues,matches,matchesProperty,max:max$1,maxBy,mean,meanBy,memoize,merge,mergeWith,method,methodOf,min:min$1,minBy,mixin:mixin$1,multiply,negate,next:wrapperNext,noop,now,nth,nthArg,omit,omitBy,once,orderBy,over,overArgs,overEvery,overSome,pad,padEnd,padStart,parseInt:parseInt$1,partial,partialRight,partition,pick,pickBy,plant:wrapperPlant,property,propertyOf,pull,pullAll,pullAllBy,pullAllWith,pullAt,random,range:range$1,rangeRight,rearg,reduce,reduceRight,reject,remove,repeat,replace,rest,result,reverse,round:round$1,sample,sampleSize,set,setWith,shuffle,size,slice,snakeCase,some,sortBy,sortedIndex,sortedIndexBy,sortedIndexOf,sortedLastIndex,sortedLastIndexBy,sortedLastIndexOf,sortedUniq,sortedUniqBy,split,spread,startCase,startsWith,stubArray,stubFalse,stubObject,stubString,stubTrue,subtract,sum,sumBy,tail,take,takeRight,takeRightWhile,takeWhile,tap,template,templateSettings,throttle,thru,times,toArray,toFinite,toInteger,toIterator:wrapperToIterator,toJSON:wrapperValue,toLength,toLower,toNumber,toPairs,toPairsIn,toPath,toPlainObject,toSafeInteger,toString,toUpper,transform,trim,trimEnd,trimStart,truncate,unary,unescape:unescape$1,union,unionBy,unionWith,uniq,uniqBy,uniqWith,uniqueId,unset,unzip,unzipWith,update,updateWith,upperCase,upperFirst,value:wrapperValue,valueOf:wrapperValue,values,valuesIn,without,words,wrap,wrapperAt,wrapperChain,wrapperCommit,wrapperLodash:lodash$1,wrapperNext,wrapperPlant,wrapperReverse,wrapperToIterator,wrapperValue,xor:xor$1,xorBy,xorWith,zip,zipObject,zipObjectDeep,zipWith},Symbol.toStringTag,{value:"Module"}));var cryptoJs$1={exports:{}};function commonjsRequire(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var core$1={exports:{}},cryptoBrowserify={},browser$b={exports:{}},safeBuffer={exports:{}},dist={},hasRequiredDist,hasRequiredSafeBuffer,hasRequiredBrowser$b;function requireDist(){return hasRequiredDist||(hasRequiredDist=1,(function(e){Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});for(var r={},u={byteLength:function(c){var h=n(c),p=h[0],b=h[1];return 3*(p+b)/4-b},toByteArray:function(c){var h,p,b=n(c),y=b[0],g=b[1],_=new l((function(A,P,x){return 3*(P+x)/4-x})(0,y,g)),B=0,R=g>0?y-4:y;for(p=0;p<R;p+=4)h=a[c.charCodeAt(p)]<<18|a[c.charCodeAt(p+1)]<<12|a[c.charCodeAt(p+2)]<<6|a[c.charCodeAt(p+3)],_[B++]=h>>16&255,_[B++]=h>>8&255,_[B++]=255&h;return g===2&&(h=a[c.charCodeAt(p)]<<2|a[c.charCodeAt(p+1)]>>4,_[B++]=255&h),g===1&&(h=a[c.charCodeAt(p)]<<10|a[c.charCodeAt(p+1)]<<4|a[c.charCodeAt(p+2)]>>2,_[B++]=h>>8&255,_[B++]=255&h),_},fromByteArray:function(c){for(var h,p=c.length,b=p%3,y=[],g=16383,_=0,B=p-b;_<B;_+=g)y.push(i(c,_,_+g>B?B:_+g));return b===1?(h=c[p-1],y.push(t[h>>2]+t[h<<4&63]+"==")):b===2&&(h=(c[p-2]<<8)+c[p-1],y.push(t[h>>10]+t[h>>4&63]+t[h<<2&63]+"=")),y.join("")}},t=[],a=[],l=typeof Uint8Array<"u"?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0;o<64;++o)t[o]=d[o],a[d.charCodeAt(o)]=o;function n(c){var h=c.length;if(h%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var p=c.indexOf("=");return p===-1&&(p=h),[p,p===h?0:4-p%4]}function i(c,h,p){for(var b,y,g=[],_=h;_<p;_+=3)b=(c[_]<<16&16711680)+(c[_+1]<<8&65280)+(255&c[_+2]),g.push(t[(y=b)>>18&63]+t[y>>12&63]+t[y>>6&63]+t[63&y]);return g.join("")}a[45]=62,a[95]=63;var s={read:function(c,h,p,b,y){var g,_,B=8*y-b-1,R=(1<<B)-1,A=R>>1,P=-7,x=p?y-1:0,T=p?-1:1,z=c[h+x];for(x+=T,g=z&(1<<-P)-1,z>>=-P,P+=B;P>0;g=256*g+c[h+x],x+=T,P-=8);for(_=g&(1<<-P)-1,g>>=-P,P+=b;P>0;_=256*_+c[h+x],x+=T,P-=8);if(g===0)g=1-A;else{if(g===R)return _?NaN:1/0*(z?-1:1);_+=Math.pow(2,b),g-=A}return(z?-1:1)*_*Math.pow(2,g-b)},write:function(c,h,p,b,y,g){var _,B,R,A=8*g-y-1,P=(1<<A)-1,x=P>>1,T=y===23?Math.pow(2,-24)-Math.pow(2,-77):0,z=b?0:g-1,v=b?1:-1,E=h<0||h===0&&1/h<0?1:0;for(h=Math.abs(h),isNaN(h)||h===1/0?(B=isNaN(h)?1:0,_=P):(_=Math.floor(Math.log(h)/Math.LN2),h*(R=Math.pow(2,-_))<1&&(_--,R*=2),(h+=_+x>=1?T/R:T*Math.pow(2,1-x))*R>=2&&(_++,R/=2),_+x>=P?(B=0,_=P):_+x>=1?(B=(h*R-1)*Math.pow(2,y),_+=x):(B=h*Math.pow(2,x-1)*Math.pow(2,y),_=0));y>=8;c[p+z]=255&B,z+=v,B/=256,y-=8);for(_=_<<y|B,A+=y;A>0;c[p+z]=255&_,z+=v,_/=256,A-=8);c[p+z-v]|=128*E}};(function(c){const h=u,p=s,b=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;c.Buffer=A,c.SlowBuffer=function(S){return+S!=S&&(S=0),A.alloc(+S)},c.INSPECT_MAX_BYTES=50;const y=2147483647;c.kMaxLength=y;const{Uint8Array:g,ArrayBuffer:_,SharedArrayBuffer:B}=globalThis;function R(S){if(S>y)throw new RangeError('The value "'+S+'" is invalid for option "size"');const M=new g(S);return Object.setPrototypeOf(M,A.prototype),M}function A(S,M,k){if(typeof S=="number"){if(typeof M=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return T(S)}return P(S,M,k)}function P(S,M,k){if(typeof S=="string")return(function(H,K){if(typeof K=="string"&&K!==""||(K="utf8"),!A.isEncoding(K))throw new TypeError("Unknown encoding: "+K);const ee=0|$(H,K);let pe=R(ee);const ue=pe.write(H,K);return ue!==ee&&(pe=pe.slice(0,ue)),pe})(S,M);if(_.isView(S))return(function(H){if(de(H,g)){const K=new g(H);return v(K.buffer,K.byteOffset,K.byteLength)}return z(H)})(S);if(S==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof S);if(de(S,_)||S&&de(S.buffer,_)||B!==void 0&&(de(S,B)||S&&de(S.buffer,B)))return v(S,M,k);if(typeof S=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const F=S.valueOf&&S.valueOf();if(F!=null&&F!==S)return A.from(F,M,k);const W=(function(H){if(A.isBuffer(H)){const K=0|E(H.length),ee=R(K);return ee.length===0||H.copy(ee,0,0,K),ee}if(H.length!==void 0)return typeof H.length!="number"||Oe(H.length)?R(0):z(H);if(H.type==="Buffer"&&Array.isArray(H.data))return z(H.data)})(S);if(W)return W;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof S[Symbol.toPrimitive]=="function")return A.from(S[Symbol.toPrimitive]("string"),M,k);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof S)}function x(S){if(typeof S!="number")throw new TypeError('"size" argument must be of type number');if(S<0)throw new RangeError('The value "'+S+'" is invalid for option "size"')}function T(S){return x(S),R(S<0?0:0|E(S))}function z(S){const M=S.length<0?0:0|E(S.length),k=R(M);for(let F=0;F<M;F+=1)k[F]=255&S[F];return k}function v(S,M,k){if(M<0||S.byteLength<M)throw new RangeError('"offset" is outside of buffer bounds');if(S.byteLength<M+(k||0))throw new RangeError('"length" is outside of buffer bounds');let F;return F=M===void 0&&k===void 0?new g(S):k===void 0?new g(S,M):new g(S,M,k),Object.setPrototypeOf(F,A.prototype),F}function E(S){if(S>=y)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+y.toString(16)+" bytes");return 0|S}function $(S,M){if(A.isBuffer(S))return S.length;if(_.isView(S)||de(S,_))return S.byteLength;if(typeof S!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof S);const k=S.length,F=arguments.length>2&&arguments[2]===!0;if(!F&&k===0)return 0;let W=!1;for(;;)switch(M){case"ascii":case"latin1":case"binary":return k;case"utf8":case"utf-8":return he(S).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*k;case"hex":return k>>>1;case"base64":return Ee(S).length;default:if(W)return F?-1:he(S).length;M=(""+M).toLowerCase(),W=!0}}function q(S,M,k){let F=!1;if((M===void 0||M<0)&&(M=0),M>this.length||((k===void 0||k>this.length)&&(k=this.length),k<=0)||(k>>>=0)<=(M>>>=0))return"";for(S||(S="utf8");;)switch(S){case"hex":return Z(this,M,k);case"utf8":case"utf-8":return O(this,M,k);case"ascii":return X(this,M,k);case"latin1":case"binary":return te(this,M,k);case"base64":return I(this,M,k);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return V(this,M,k);default:if(F)throw new TypeError("Unknown encoding: "+S);S=(S+"").toLowerCase(),F=!0}}function m(S,M,k){const F=S[M];S[M]=S[k],S[k]=F}function w(S,M,k,F,W){if(S.length===0)return-1;if(typeof k=="string"?(F=k,k=0):k>2147483647?k=2147483647:k<-2147483648&&(k=-2147483648),Oe(k=+k)&&(k=W?0:S.length-1),k<0&&(k=S.length+k),k>=S.length){if(W)return-1;k=S.length-1}else if(k<0){if(!W)return-1;k=0}if(typeof M=="string"&&(M=A.from(M,F)),A.isBuffer(M))return M.length===0?-1:C(S,M,k,F,W);if(typeof M=="number")return M&=255,typeof g.prototype.indexOf=="function"?W?g.prototype.indexOf.call(S,M,k):g.prototype.lastIndexOf.call(S,M,k):C(S,[M],k,F,W);throw new TypeError("val must be string, number or Buffer")}function C(S,M,k,F,W){let H,K=1,ee=S.length,pe=M.length;if(F!==void 0&&((F=String(F).toLowerCase())==="ucs2"||F==="ucs-2"||F==="utf16le"||F==="utf-16le")){if(S.length<2||M.length<2)return-1;K=2,ee/=2,pe/=2,k/=2}function ue(ae,Re){return K===1?ae[Re]:ae.readUInt16BE(Re*K)}if(W){let ae=-1;for(H=k;H<ee;H++)if(ue(S,H)===ue(M,ae===-1?0:H-ae)){if(ae===-1&&(ae=H),H-ae+1===pe)return ae*K}else ae!==-1&&(H-=H-ae),ae=-1}else for(k+pe>ee&&(k=ee-pe),H=k;H>=0;H--){let ae=!0;for(let Re=0;Re<pe;Re++)if(ue(S,H+Re)!==ue(M,Re)){ae=!1;break}if(ae)return H}return-1}function j(S,M,k,F){k=Number(k)||0;const W=S.length-k;F?(F=Number(F))>W&&(F=W):F=W;const H=M.length;let K;for(F>H/2&&(F=H/2),K=0;K<F;++K){const ee=parseInt(M.substr(2*K,2),16);if(Oe(ee))return K;S[k+K]=ee}return K}function N(S,M,k,F){return ge(he(M,S.length-k),S,k,F)}function L(S,M,k,F){return ge((function(W){const H=[];for(let K=0;K<W.length;++K)H.push(255&W.charCodeAt(K));return H})(M),S,k,F)}function U(S,M,k,F){return ge(Ee(M),S,k,F)}function D(S,M,k,F){return ge((function(W,H){let K,ee,pe;const ue=[];for(let ae=0;ae<W.length&&!((H-=2)<0);++ae)K=W.charCodeAt(ae),ee=K>>8,pe=K%256,ue.push(pe),ue.push(ee);return ue})(M,S.length-k),S,k,F)}function I(S,M,k){return M===0&&k===S.length?h.fromByteArray(S):h.fromByteArray(S.slice(M,k))}function O(S,M,k){k=Math.min(S.length,k);const F=[];let W=M;for(;W<k;){const H=S[W];let K=null,ee=H>239?4:H>223?3:H>191?2:1;if(W+ee<=k){let pe,ue,ae,Re;switch(ee){case 1:H<128&&(K=H);break;case 2:pe=S[W+1],(192&pe)==128&&(Re=(31&H)<<6|63&pe,Re>127&&(K=Re));break;case 3:pe=S[W+1],ue=S[W+2],(192&pe)==128&&(192&ue)==128&&(Re=(15&H)<<12|(63&pe)<<6|63&ue,Re>2047&&(Re<55296||Re>57343)&&(K=Re));break;case 4:pe=S[W+1],ue=S[W+2],ae=S[W+3],(192&pe)==128&&(192&ue)==128&&(192&ae)==128&&(Re=(15&H)<<18|(63&pe)<<12|(63&ue)<<6|63&ae,Re>65535&&Re<1114112&&(K=Re))}}K===null?(K=65533,ee=1):K>65535&&(K-=65536,F.push(K>>>10&1023|55296),K=56320|1023&K),F.push(K),W+=ee}return(function(H){const K=H.length;if(K<=G)return String.fromCharCode.apply(String,H);let ee="",pe=0;for(;pe<K;)ee+=String.fromCharCode.apply(String,H.slice(pe,pe+=G));return ee})(F)}A.TYPED_ARRAY_SUPPORT=(function(){try{const S=new g(1),M={foo:function(){return 42}};return Object.setPrototypeOf(M,g.prototype),Object.setPrototypeOf(S,M),S.foo()===42}catch{return!1}})(),A.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."),Object.defineProperty(A.prototype,"parent",{enumerable:!0,get:function(){if(A.isBuffer(this))return this.buffer}}),Object.defineProperty(A.prototype,"offset",{enumerable:!0,get:function(){if(A.isBuffer(this))return this.byteOffset}}),A.poolSize=8192,A.from=function(S,M,k){return P(S,M,k)},Object.setPrototypeOf(A.prototype,g.prototype),Object.setPrototypeOf(A,g),A.alloc=function(S,M,k){return(function(F,W,H){return x(F),F<=0?R(F):W!==void 0?typeof H=="string"?R(F).fill(W,H):R(F).fill(W):R(F)})(S,M,k)},A.allocUnsafe=function(S){return T(S)},A.allocUnsafeSlow=function(S){return T(S)},A.isBuffer=function(S){return S!=null&&S._isBuffer===!0&&S!==A.prototype},A.compare=function(S,M){if(de(S,g)&&(S=A.from(S,S.offset,S.byteLength)),de(M,g)&&(M=A.from(M,M.offset,M.byteLength)),!A.isBuffer(S)||!A.isBuffer(M))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(S===M)return 0;let k=S.length,F=M.length;for(let W=0,H=Math.min(k,F);W<H;++W)if(S[W]!==M[W]){k=S[W],F=M[W];break}return k<F?-1:F<k?1:0},A.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}},A.concat=function(S,M){if(!Array.isArray(S))throw new TypeError('"list" argument must be an Array of Buffers');if(S.length===0)return A.alloc(0);let k;if(M===void 0)for(M=0,k=0;k<S.length;++k)M+=S[k].length;const F=A.allocUnsafe(M);let W=0;for(k=0;k<S.length;++k){let H=S[k];if(de(H,g))W+H.length>F.length?(A.isBuffer(H)||(H=A.from(H)),H.copy(F,W)):g.prototype.set.call(F,H,W);else{if(!A.isBuffer(H))throw new TypeError('"list" argument must be an Array of Buffers');H.copy(F,W)}W+=H.length}return F},A.byteLength=$,A.prototype._isBuffer=!0,A.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 M=0;M<S;M+=2)m(this,M,M+1);return this},A.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 M=0;M<S;M+=4)m(this,M,M+3),m(this,M+1,M+2);return this},A.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 M=0;M<S;M+=8)m(this,M,M+7),m(this,M+1,M+6),m(this,M+2,M+5),m(this,M+3,M+4);return this},A.prototype.toString=function(){const S=this.length;return S===0?"":arguments.length===0?O(this,0,S):q.apply(this,arguments)},A.prototype.toLocaleString=A.prototype.toString,A.prototype.equals=function(S){if(!A.isBuffer(S))throw new TypeError("Argument must be a Buffer");return this===S||A.compare(this,S)===0},A.prototype.inspect=function(){let S="";const M=c.INSPECT_MAX_BYTES;return S=this.toString("hex",0,M).replace(/(.{2})/g,"$1 ").trim(),this.length>M&&(S+=" ... "),"<Buffer "+S+">"},b&&(A.prototype[b]=A.prototype.inspect),A.prototype.compare=function(S,M,k,F,W){if(de(S,g)&&(S=A.from(S,S.offset,S.byteLength)),!A.isBuffer(S))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof S);if(M===void 0&&(M=0),k===void 0&&(k=S?S.length:0),F===void 0&&(F=0),W===void 0&&(W=this.length),M<0||k>S.length||F<0||W>this.length)throw new RangeError("out of range index");if(F>=W&&M>=k)return 0;if(F>=W)return-1;if(M>=k)return 1;if(this===S)return 0;let H=(W>>>=0)-(F>>>=0),K=(k>>>=0)-(M>>>=0);const ee=Math.min(H,K),pe=this.slice(F,W),ue=S.slice(M,k);for(let ae=0;ae<ee;++ae)if(pe[ae]!==ue[ae]){H=pe[ae],K=ue[ae];break}return H<K?-1:K<H?1:0},A.prototype.includes=function(S,M,k){return this.indexOf(S,M,k)!==-1},A.prototype.indexOf=function(S,M,k){return w(this,S,M,k,!0)},A.prototype.lastIndexOf=function(S,M,k){return w(this,S,M,k,!1)},A.prototype.write=function(S,M,k,F){if(M===void 0)F="utf8",k=this.length,M=0;else if(k===void 0&&typeof M=="string")F=M,k=this.length,M=0;else{if(!isFinite(M))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");M>>>=0,isFinite(k)?(k>>>=0,F===void 0&&(F="utf8")):(F=k,k=void 0)}const W=this.length-M;if((k===void 0||k>W)&&(k=W),S.length>0&&(k<0||M<0)||M>this.length)throw new RangeError("Attempt to write outside buffer bounds");F||(F="utf8");let H=!1;for(;;)switch(F){case"hex":return j(this,S,M,k);case"utf8":case"utf-8":return N(this,S,M,k);case"ascii":case"latin1":case"binary":return L(this,S,M,k);case"base64":return U(this,S,M,k);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D(this,S,M,k);default:if(H)throw new TypeError("Unknown encoding: "+F);F=(""+F).toLowerCase(),H=!0}},A.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const G=4096;function X(S,M,k){let F="";k=Math.min(S.length,k);for(let W=M;W<k;++W)F+=String.fromCharCode(127&S[W]);return F}function te(S,M,k){let F="";k=Math.min(S.length,k);for(let W=M;W<k;++W)F+=String.fromCharCode(S[W]);return F}function Z(S,M,k){const F=S.length;(!M||M<0)&&(M=0),(!k||k<0||k>F)&&(k=F);let W="";for(let H=M;H<k;++H)W+=ve[S[H]];return W}function V(S,M,k){const F=S.slice(M,k);let W="";for(let H=0;H<F.length-1;H+=2)W+=String.fromCharCode(F[H]+256*F[H+1]);return W}function Q(S,M,k){if(S%1!=0||S<0)throw new RangeError("offset is not uint");if(S+M>k)throw new RangeError("Trying to access beyond buffer length")}function Y(S,M,k,F,W,H){if(!A.isBuffer(S))throw new TypeError('"buffer" argument must be a Buffer instance');if(M>W||M<H)throw new RangeError('"value" argument is out of bounds');if(k+F>S.length)throw new RangeError("Index out of range")}function J(S,M,k,F,W){se(M,F,W,S,k,7);let H=Number(M&BigInt(4294967295));S[k++]=H,H>>=8,S[k++]=H,H>>=8,S[k++]=H,H>>=8,S[k++]=H;let K=Number(M>>BigInt(32)&BigInt(4294967295));return S[k++]=K,K>>=8,S[k++]=K,K>>=8,S[k++]=K,K>>=8,S[k++]=K,k}function ce(S,M,k,F,W){se(M,F,W,S,k,7);let H=Number(M&BigInt(4294967295));S[k+7]=H,H>>=8,S[k+6]=H,H>>=8,S[k+5]=H,H>>=8,S[k+4]=H;let K=Number(M>>BigInt(32)&BigInt(4294967295));return S[k+3]=K,K>>=8,S[k+2]=K,K>>=8,S[k+1]=K,K>>=8,S[k]=K,k+8}function oe(S,M,k,F,W,H){if(k+F>S.length)throw new RangeError("Index out of range");if(k<0)throw new RangeError("Index out of range")}function ne(S,M,k,F,W){return M=+M,k>>>=0,W||oe(S,0,k,4),p.write(S,M,k,F,23,4),k+4}function _e(S,M,k,F,W){return M=+M,k>>>=0,W||oe(S,0,k,8),p.write(S,M,k,F,52,8),k+8}A.prototype.slice=function(S,M){const k=this.length;(S=~~S)<0?(S+=k)<0&&(S=0):S>k&&(S=k),(M=M===void 0?k:~~M)<0?(M+=k)<0&&(M=0):M>k&&(M=k),M<S&&(M=S);const F=this.subarray(S,M);return Object.setPrototypeOf(F,A.prototype),F},A.prototype.readUintLE=A.prototype.readUIntLE=function(S,M,k){S>>>=0,M>>>=0,k||Q(S,M,this.length);let F=this[S],W=1,H=0;for(;++H<M&&(W*=256);)F+=this[S+H]*W;return F},A.prototype.readUintBE=A.prototype.readUIntBE=function(S,M,k){S>>>=0,M>>>=0,k||Q(S,M,this.length);let F=this[S+--M],W=1;for(;M>0&&(W*=256);)F+=this[S+--M]*W;return F},A.prototype.readUint8=A.prototype.readUInt8=function(S,M){return S>>>=0,M||Q(S,1,this.length),this[S]},A.prototype.readUint16LE=A.prototype.readUInt16LE=function(S,M){return S>>>=0,M||Q(S,2,this.length),this[S]|this[S+1]<<8},A.prototype.readUint16BE=A.prototype.readUInt16BE=function(S,M){return S>>>=0,M||Q(S,2,this.length),this[S]<<8|this[S+1]},A.prototype.readUint32LE=A.prototype.readUInt32LE=function(S,M){return S>>>=0,M||Q(S,4,this.length),(this[S]|this[S+1]<<8|this[S+2]<<16)+16777216*this[S+3]},A.prototype.readUint32BE=A.prototype.readUInt32BE=function(S,M){return S>>>=0,M||Q(S,4,this.length),16777216*this[S]+(this[S+1]<<16|this[S+2]<<8|this[S+3])},A.prototype.readBigUInt64LE=be((function(S){fe(S>>>=0,"offset");const M=this[S],k=this[S+7];M!==void 0&&k!==void 0||me(S,this.length-8);const F=M+256*this[++S]+65536*this[++S]+this[++S]*2**24,W=this[++S]+256*this[++S]+65536*this[++S]+k*2**24;return BigInt(F)+(BigInt(W)<<BigInt(32))})),A.prototype.readBigUInt64BE=be((function(S){fe(S>>>=0,"offset");const M=this[S],k=this[S+7];M!==void 0&&k!==void 0||me(S,this.length-8);const F=M*2**24+65536*this[++S]+256*this[++S]+this[++S],W=this[++S]*2**24+65536*this[++S]+256*this[++S]+k;return(BigInt(F)<<BigInt(32))+BigInt(W)})),A.prototype.readIntLE=function(S,M,k){S>>>=0,M>>>=0,k||Q(S,M,this.length);let F=this[S],W=1,H=0;for(;++H<M&&(W*=256);)F+=this[S+H]*W;return W*=128,F>=W&&(F-=Math.pow(2,8*M)),F},A.prototype.readIntBE=function(S,M,k){S>>>=0,M>>>=0,k||Q(S,M,this.length);let F=M,W=1,H=this[S+--F];for(;F>0&&(W*=256);)H+=this[S+--F]*W;return W*=128,H>=W&&(H-=Math.pow(2,8*M)),H},A.prototype.readInt8=function(S,M){return S>>>=0,M||Q(S,1,this.length),128&this[S]?-1*(255-this[S]+1):this[S]},A.prototype.readInt16LE=function(S,M){S>>>=0,M||Q(S,2,this.length);const k=this[S]|this[S+1]<<8;return 32768&k?4294901760|k:k},A.prototype.readInt16BE=function(S,M){S>>>=0,M||Q(S,2,this.length);const k=this[S+1]|this[S]<<8;return 32768&k?4294901760|k:k},A.prototype.readInt32LE=function(S,M){return S>>>=0,M||Q(S,4,this.length),this[S]|this[S+1]<<8|this[S+2]<<16|this[S+3]<<24},A.prototype.readInt32BE=function(S,M){return S>>>=0,M||Q(S,4,this.length),this[S]<<24|this[S+1]<<16|this[S+2]<<8|this[S+3]},A.prototype.readBigInt64LE=be((function(S){fe(S>>>=0,"offset");const M=this[S],k=this[S+7];M!==void 0&&k!==void 0||me(S,this.length-8);const F=this[S+4]+256*this[S+5]+65536*this[S+6]+(k<<24);return(BigInt(F)<<BigInt(32))+BigInt(M+256*this[++S]+65536*this[++S]+this[++S]*2**24)})),A.prototype.readBigInt64BE=be((function(S){fe(S>>>=0,"offset");const M=this[S],k=this[S+7];M!==void 0&&k!==void 0||me(S,this.length-8);const F=(M<<24)+65536*this[++S]+256*this[++S]+this[++S];return(BigInt(F)<<BigInt(32))+BigInt(this[++S]*2**24+65536*this[++S]+256*this[++S]+k)})),A.prototype.readFloatLE=function(S,M){return S>>>=0,M||Q(S,4,this.length),p.read(this,S,!0,23,4)},A.prototype.readFloatBE=function(S,M){return S>>>=0,M||Q(S,4,this.length),p.read(this,S,!1,23,4)},A.prototype.readDoubleLE=function(S,M){return S>>>=0,M||Q(S,8,this.length),p.read(this,S,!0,52,8)},A.prototype.readDoubleBE=function(S,M){return S>>>=0,M||Q(S,8,this.length),p.read(this,S,!1,52,8)},A.prototype.writeUintLE=A.prototype.writeUIntLE=function(S,M,k,F){S=+S,M>>>=0,k>>>=0,!F&&Y(this,S,M,k,Math.pow(2,8*k)-1,0);let W=1,H=0;for(this[M]=255&S;++H<k&&(W*=256);)this[M+H]=S/W&255;return M+k},A.prototype.writeUintBE=A.prototype.writeUIntBE=function(S,M,k,F){S=+S,M>>>=0,k>>>=0,!F&&Y(this,S,M,k,Math.pow(2,8*k)-1,0);let W=k-1,H=1;for(this[M+W]=255&S;--W>=0&&(H*=256);)this[M+W]=S/H&255;return M+k},A.prototype.writeUint8=A.prototype.writeUInt8=function(S,M,k){return S=+S,M>>>=0,k||Y(this,S,M,1,255,0),this[M]=255&S,M+1},A.prototype.writeUint16LE=A.prototype.writeUInt16LE=function(S,M,k){return S=+S,M>>>=0,k||Y(this,S,M,2,65535,0),this[M]=255&S,this[M+1]=S>>>8,M+2},A.prototype.writeUint16BE=A.prototype.writeUInt16BE=function(S,M,k){return S=+S,M>>>=0,k||Y(this,S,M,2,65535,0),this[M]=S>>>8,this[M+1]=255&S,M+2},A.prototype.writeUint32LE=A.prototype.writeUInt32LE=function(S,M,k){return S=+S,M>>>=0,k||Y(this,S,M,4,4294967295,0),this[M+3]=S>>>24,this[M+2]=S>>>16,this[M+1]=S>>>8,this[M]=255&S,M+4},A.prototype.writeUint32BE=A.prototype.writeUInt32BE=function(S,M,k){return S=+S,M>>>=0,k||Y(this,S,M,4,4294967295,0),this[M]=S>>>24,this[M+1]=S>>>16,this[M+2]=S>>>8,this[M+3]=255&S,M+4},A.prototype.writeBigUInt64LE=be((function(S,M=0){return J(this,S,M,BigInt(0),BigInt("0xffffffffffffffff"))})),A.prototype.writeBigUInt64BE=be((function(S,M=0){return ce(this,S,M,BigInt(0),BigInt("0xffffffffffffffff"))})),A.prototype.writeIntLE=function(S,M,k,F){if(S=+S,M>>>=0,!F){const ee=Math.pow(2,8*k-1);Y(this,S,M,k,ee-1,-ee)}let W=0,H=1,K=0;for(this[M]=255&S;++W<k&&(H*=256);)S<0&&K===0&&this[M+W-1]!==0&&(K=1),this[M+W]=(S/H|0)-K&255;return M+k},A.prototype.writeIntBE=function(S,M,k,F){if(S=+S,M>>>=0,!F){const ee=Math.pow(2,8*k-1);Y(this,S,M,k,ee-1,-ee)}let W=k-1,H=1,K=0;for(this[M+W]=255&S;--W>=0&&(H*=256);)S<0&&K===0&&this[M+W+1]!==0&&(K=1),this[M+W]=(S/H|0)-K&255;return M+k},A.prototype.writeInt8=function(S,M,k){return S=+S,M>>>=0,k||Y(this,S,M,1,127,-128),S<0&&(S=255+S+1),this[M]=255&S,M+1},A.prototype.writeInt16LE=function(S,M,k){return S=+S,M>>>=0,k||Y(this,S,M,2,32767,-32768),this[M]=255&S,this[M+1]=S>>>8,M+2},A.prototype.writeInt16BE=function(S,M,k){return S=+S,M>>>=0,k||Y(this,S,M,2,32767,-32768),this[M]=S>>>8,this[M+1]=255&S,M+2},A.prototype.writeInt32LE=function(S,M,k){return S=+S,M>>>=0,k||Y(this,S,M,4,2147483647,-2147483648),this[M]=255&S,this[M+1]=S>>>8,this[M+2]=S>>>16,this[M+3]=S>>>24,M+4},A.prototype.writeInt32BE=function(S,M,k){return S=+S,M>>>=0,k||Y(this,S,M,4,2147483647,-2147483648),S<0&&(S=4294967295+S+1),this[M]=S>>>24,this[M+1]=S>>>16,this[M+2]=S>>>8,this[M+3]=255&S,M+4},A.prototype.writeBigInt64LE=be((function(S,M=0){return J(this,S,M,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),A.prototype.writeBigInt64BE=be((function(S,M=0){return ce(this,S,M,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),A.prototype.writeFloatLE=function(S,M,k){return ne(this,S,M,!0,k)},A.prototype.writeFloatBE=function(S,M,k){return ne(this,S,M,!1,k)},A.prototype.writeDoubleLE=function(S,M,k){return _e(this,S,M,!0,k)},A.prototype.writeDoubleBE=function(S,M,k){return _e(this,S,M,!1,k)},A.prototype.copy=function(S,M,k,F){if(!A.isBuffer(S))throw new TypeError("argument should be a Buffer");if(k||(k=0),F||F===0||(F=this.length),M>=S.length&&(M=S.length),M||(M=0),F>0&&F<k&&(F=k),F===k||S.length===0||this.length===0)return 0;if(M<0)throw new RangeError("targetStart out of bounds");if(k<0||k>=this.length)throw new RangeError("Index out of range");if(F<0)throw new RangeError("sourceEnd out of bounds");F>this.length&&(F=this.length),S.length-M<F-k&&(F=S.length-M+k);const W=F-k;return this===S&&typeof g.prototype.copyWithin=="function"?this.copyWithin(M,k,F):g.prototype.set.call(S,this.subarray(k,F),M),W},A.prototype.fill=function(S,M,k,F){if(typeof S=="string"){if(typeof M=="string"?(F=M,M=0,k=this.length):typeof k=="string"&&(F=k,k=this.length),F!==void 0&&typeof F!="string")throw new TypeError("encoding must be a string");if(typeof F=="string"&&!A.isEncoding(F))throw new TypeError("Unknown encoding: "+F);if(S.length===1){const H=S.charCodeAt(0);(F==="utf8"&&H<128||F==="latin1")&&(S=H)}}else typeof S=="number"?S&=255:typeof S=="boolean"&&(S=Number(S));if(M<0||this.length<M||this.length<k)throw new RangeError("Out of range index");if(k<=M)return this;let W;if(M>>>=0,k=k===void 0?this.length:k>>>0,S||(S=0),typeof S=="number")for(W=M;W<k;++W)this[W]=S;else{const H=A.isBuffer(S)?S:A.from(S,F),K=H.length;if(K===0)throw new TypeError('The value "'+S+'" is invalid for argument "value"');for(W=0;W<k-M;++W)this[W+M]=H[W%K]}return this};const re={};function ie(S,M,k){re[S]=class extends k{constructor(){super(),Object.defineProperty(this,"message",{value:M.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${S}]`,this.stack,delete this.name}get code(){return S}set code(F){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:F,writable:!0})}toString(){return`${this.name} [${S}]: ${this.message}`}}}function ye(S){let M="",k=S.length;const F=S[0]==="-"?1:0;for(;k>=F+4;k-=3)M=`_${S.slice(k-3,k)}${M}`;return`${S.slice(0,k)}${M}`}function se(S,M,k,F,W,H){if(S>k||S<M){const K=typeof M=="bigint"?"n":"";let ee;throw ee=M===0||M===BigInt(0)?`>= 0${K} and < 2${K} ** ${8*(H+1)}${K}`:`>= -(2${K} ** ${8*(H+1)-1}${K}) and < 2 ** ${8*(H+1)-1}${K}`,new re.ERR_OUT_OF_RANGE("value",ee,S)}(function(K,ee,pe){fe(ee,"offset"),K[ee]!==void 0&&K[ee+pe]!==void 0||me(ee,K.length-(pe+1))})(F,W,H)}function fe(S,M){if(typeof S!="number")throw new re.ERR_INVALID_ARG_TYPE(M,"number",S)}function me(S,M,k){throw Math.floor(S)!==S?(fe(S,k),new re.ERR_OUT_OF_RANGE("offset","an integer",S)):M<0?new re.ERR_BUFFER_OUT_OF_BOUNDS:new re.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${M}`,S)}ie("ERR_BUFFER_OUT_OF_BOUNDS",(function(S){return S?`${S} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),ie("ERR_INVALID_ARG_TYPE",(function(S,M){return`The "${S}" argument must be of type number. Received type ${typeof M}`}),TypeError),ie("ERR_OUT_OF_RANGE",(function(S,M,k){let F=`The value of "${S}" is out of range.`,W=k;return Number.isInteger(k)&&Math.abs(k)>2**32?W=ye(String(k)):typeof k=="bigint"&&(W=String(k),(k>BigInt(2)**BigInt(32)||k<-(BigInt(2)**BigInt(32)))&&(W=ye(W)),W+="n"),F+=` It must be ${M}. Received ${W}`,F}),RangeError);const le=/[^+/0-9A-Za-z-_]/g;function he(S,M){let k;M=M||1/0;const F=S.length;let W=null;const H=[];for(let K=0;K<F;++K){if(k=S.charCodeAt(K),k>55295&&k<57344){if(!W){if(k>56319){(M-=3)>-1&&H.push(239,191,189);continue}if(K+1===F){(M-=3)>-1&&H.push(239,191,189);continue}W=k;continue}if(k<56320){(M-=3)>-1&&H.push(239,191,189),W=k;continue}k=65536+(W-55296<<10|k-56320)}else W&&(M-=3)>-1&&H.push(239,191,189);if(W=null,k<128){if((M-=1)<0)break;H.push(k)}else if(k<2048){if((M-=2)<0)break;H.push(k>>6|192,63&k|128)}else if(k<65536){if((M-=3)<0)break;H.push(k>>12|224,k>>6&63|128,63&k|128)}else{if(!(k<1114112))throw new Error("Invalid code point");if((M-=4)<0)break;H.push(k>>18|240,k>>12&63|128,k>>6&63|128,63&k|128)}}return H}function Ee(S){return h.toByteArray((function(M){if((M=(M=M.split("=")[0]).trim().replace(le,"")).length<2)return"";for(;M.length%4!=0;)M+="=";return M})(S))}function ge(S,M,k,F){let W;for(W=0;W<F&&!(W+k>=M.length||W>=S.length);++W)M[W+k]=S[W];return W}function de(S,M){return S instanceof M||S!=null&&S.constructor!=null&&S.constructor.name!=null&&S.constructor.name===M.name}function Oe(S){return S!=S}const ve=(function(){const S="0123456789abcdef",M=new Array(256);for(let k=0;k<16;++k){const F=16*k;for(let W=0;W<16;++W)M[F+W]=S[k]+S[W]}return M})();function be(S){return typeof BigInt>"u"?Le:S}function Le(){throw new Error("BigInt not supported")}})(r);const f=r.Buffer;e.Blob=r.Blob,e.BlobOptions=r.BlobOptions,e.Buffer=r.Buffer,e.File=r.File,e.FileOptions=r.FileOptions,e.INSPECT_MAX_BYTES=r.INSPECT_MAX_BYTES,e.SlowBuffer=r.SlowBuffer,e.TranscodeEncoding=r.TranscodeEncoding,e.atob=r.atob,e.btoa=r.btoa,e.constants=r.constants,e.default=f,e.isAscii=r.isAscii,e.isUtf8=r.isUtf8,e.kMaxLength=r.kMaxLength,e.kStringMaxLength=r.kStringMaxLength,e.resolveObjectURL=r.resolveObjectURL,e.transcode=r.transcode})(dist)),dist}function requireSafeBuffer(){return hasRequiredSafeBuffer||(hasRequiredSafeBuffer=1,(function(e,r){var u=requireDist(),t=u.Buffer;function a(d,o){for(var n in d)o[n]=d[n]}function l(d,o,n){return t(d,o,n)}t.from&&t.alloc&&t.allocUnsafe&&t.allocUnsafeSlow?e.exports=u:(a(u,r),r.Buffer=l),l.prototype=Object.create(t.prototype),a(t,l),l.from=function(d,o,n){if(typeof d=="number")throw new TypeError("Argument must not be a number");return t(d,o,n)},l.alloc=function(d,o,n){if(typeof d!="number")throw new TypeError("Argument must be a number");var i=t(d);return o!==void 0?typeof n=="string"?i.fill(o,n):i.fill(o):i.fill(0),i},l.allocUnsafe=function(d){if(typeof d!="number")throw new TypeError("Argument must be a number");return t(d)},l.allocUnsafeSlow=function(d){if(typeof d!="number")throw new TypeError("Argument must be a number");return u.SlowBuffer(d)}})(safeBuffer,safeBuffer.exports)),safeBuffer.exports}function requireBrowser$b(){if(hasRequiredBrowser$b)return browser$b.exports;hasRequiredBrowser$b=1;var e=65536,r=4294967295,u=requireSafeBuffer().Buffer,t=commonjsGlobal.crypto||commonjsGlobal.msCrypto;return t&&t.getRandomValues?browser$b.exports=function(a,l){if(a>r)throw new RangeError("requested too many random bytes");var d=u.allocUnsafe(a);if(a>0)if(a>e)for(var o=0;o<a;o+=e)t.getRandomValues(d.slice(o,o+e));else t.getRandomValues(d);return typeof l=="function"?process$1.nextTick((function(){l(null,d)})):d}:browser$b.exports=function(){throw new Error(`Secure random number generation is not supported by this browser.
21
- Use Chrome, Firefox or Internet Explorer 11`)},browser$b.exports}var inherits_browser={exports:{}},hasRequiredInherits_browser;function requireInherits_browser(){return hasRequiredInherits_browser||(hasRequiredInherits_browser=1,typeof Object.create=="function"?inherits_browser.exports=function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:inherits_browser.exports=function(e,r){if(r){e.super_=r;var u=function(){};u.prototype=r.prototype,e.prototype=new u,e.prototype.constructor=e}}),inherits_browser.exports}var events={exports:{}},hasRequiredEvents,streamBrowser,hasRequiredStreamBrowser;function requireEvents(){if(hasRequiredEvents)return events.exports;hasRequiredEvents=1;var e,r=typeof Reflect=="object"?Reflect:null,u=r&&typeof r.apply=="function"?r.apply:function(b,y,g){return Function.prototype.apply.call(b,y,g)};e=r&&typeof r.ownKeys=="function"?r.ownKeys:Object.getOwnPropertySymbols?function(b){return Object.getOwnPropertyNames(b).concat(Object.getOwnPropertySymbols(b))}:function(b){return Object.getOwnPropertyNames(b)};var t=Number.isNaN||function(b){return b!=b};function a(){a.init.call(this)}events.exports=a,events.exports.once=function(b,y){return new Promise((function(g,_){function B(A){b.removeListener(y,R),_(A)}function R(){typeof b.removeListener=="function"&&b.removeListener("error",B),g([].slice.call(arguments))}p(b,y,R,{once:!0}),y!=="error"&&(function(A,P,x){typeof A.on=="function"&&p(A,"error",P,x)})(b,B,{once:!0})}))},a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var l=10;function d(b){if(typeof b!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof b)}function o(b){return b._maxListeners===void 0?a.defaultMaxListeners:b._maxListeners}function n(b,y,g,_){var B,R,A,P;if(d(g),(R=b._events)===void 0?(R=b._events=Object.create(null),b._eventsCount=0):(R.newListener!==void 0&&(b.emit("newListener",y,g.listener?g.listener:g),R=b._events),A=R[y]),A===void 0)A=R[y]=g,++b._eventsCount;else if(typeof A=="function"?A=R[y]=_?[g,A]:[A,g]:_?A.unshift(g):A.push(g),(B=o(b))>0&&A.length>B&&!A.warned){A.warned=!0;var x=new Error("Possible EventEmitter memory leak detected. "+A.length+" "+String(y)+" listeners added. Use emitter.setMaxListeners() to increase limit");x.name="MaxListenersExceededWarning",x.emitter=b,x.type=y,x.count=A.length,P=x,console&&console.warn&&console.warn(P)}return b}function i(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function s(b,y,g){var _={fired:!1,wrapFn:void 0,target:b,type:y,listener:g},B=i.bind(_);return B.listener=g,_.wrapFn=B,B}function f(b,y,g){var _=b._events;if(_===void 0)return[];var B=_[y];return B===void 0?[]:typeof B=="function"?g?[B.listener||B]:[B]:g?(function(R){for(var A=new Array(R.length),P=0;P<A.length;++P)A[P]=R[P].listener||R[P];return A})(B):h(B,B.length)}function c(b){var y=this._events;if(y!==void 0){var g=y[b];if(typeof g=="function")return 1;if(g!==void 0)return g.length}return 0}function h(b,y){for(var g=new Array(y),_=0;_<y;++_)g[_]=b[_];return g}function p(b,y,g,_){if(typeof b.on=="function")_.once?b.once(y,g):b.on(y,g);else{if(typeof b.addEventListener!="function")throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof b);b.addEventListener(y,(function B(R){_.once&&b.removeEventListener(y,B),g(R)}))}}return Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function(b){if(typeof b!="number"||b<0||t(b))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+b+".");l=b}}),a.init=function(){this._events!==void 0&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},a.prototype.setMaxListeners=function(b){if(typeof b!="number"||b<0||t(b))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+b+".");return this._maxListeners=b,this},a.prototype.getMaxListeners=function(){return o(this)},a.prototype.emit=function(b){for(var y=[],g=1;g<arguments.length;g++)y.push(arguments[g]);var _=b==="error",B=this._events;if(B!==void 0)_=_&&B.error===void 0;else if(!_)return!1;if(_){var R;if(y.length>0&&(R=y[0]),R instanceof Error)throw R;var A=new Error("Unhandled error."+(R?" ("+R.message+")":""));throw A.context=R,A}var P=B[b];if(P===void 0)return!1;if(typeof P=="function")u(P,this,y);else{var x=P.length,T=h(P,x);for(g=0;g<x;++g)u(T[g],this,y)}return!0},a.prototype.addListener=function(b,y){return n(this,b,y,!1)},a.prototype.on=a.prototype.addListener,a.prototype.prependListener=function(b,y){return n(this,b,y,!0)},a.prototype.once=function(b,y){return d(y),this.on(b,s(this,b,y)),this},a.prototype.prependOnceListener=function(b,y){return d(y),this.prependListener(b,s(this,b,y)),this},a.prototype.removeListener=function(b,y){var g,_,B,R,A;if(d(y),(_=this._events)===void 0)return this;if((g=_[b])===void 0)return this;if(g===y||g.listener===y)--this._eventsCount==0?this._events=Object.create(null):(delete _[b],_.removeListener&&this.emit("removeListener",b,g.listener||y));else if(typeof g!="function"){for(B=-1,R=g.length-1;R>=0;R--)if(g[R]===y||g[R].listener===y){A=g[R].listener,B=R;break}if(B<0)return this;B===0?g.shift():(function(P,x){for(;x+1<P.length;x++)P[x]=P[x+1];P.pop()})(g,B),g.length===1&&(_[b]=g[0]),_.removeListener!==void 0&&this.emit("removeListener",b,A||y)}return this},a.prototype.off=a.prototype.removeListener,a.prototype.removeAllListeners=function(b){var y,g,_;if((g=this._events)===void 0)return this;if(g.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):g[b]!==void 0&&(--this._eventsCount==0?this._events=Object.create(null):delete g[b]),this;if(arguments.length===0){var B,R=Object.keys(g);for(_=0;_<R.length;++_)(B=R[_])!=="removeListener"&&this.removeAllListeners(B);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(typeof(y=g[b])=="function")this.removeListener(b,y);else if(y!==void 0)for(_=y.length-1;_>=0;_--)this.removeListener(b,y[_]);return this},a.prototype.listeners=function(b){return f(this,b,!0)},a.prototype.rawListeners=function(b){return f(this,b,!1)},a.listenerCount=function(b,y){return typeof b.listenerCount=="function"?b.listenerCount(y):c.call(b,y)},a.prototype.listenerCount=c,a.prototype.eventNames=function(){return this._eventsCount>0?e(this._events):[]},events.exports}function requireStreamBrowser(){return hasRequiredStreamBrowser?streamBrowser:(hasRequiredStreamBrowser=1,streamBrowser=requireEvents().EventEmitter)}var util={},types={},shams$2,hasRequiredShams$2,shams$1,hasRequiredShams$1,esObjectAtoms,hasRequiredEsObjectAtoms,esErrors,hasRequiredEsErrors,_eval,hasRequired_eval,range,hasRequiredRange,ref,hasRequiredRef,syntax,hasRequiredSyntax,type,hasRequiredType,uri,hasRequiredUri,abs,hasRequiredAbs,floor,hasRequiredFloor,max,hasRequiredMax,min,hasRequiredMin,pow,hasRequiredPow,round,hasRequiredRound,_isNaN,hasRequired_isNaN,sign$1,hasRequiredSign$1,gOPD,hasRequiredGOPD,gopd,hasRequiredGopd,esDefineProperty,hasRequiredEsDefineProperty,hasSymbols,hasRequiredHasSymbols,Reflect_getPrototypeOf,hasRequiredReflect_getPrototypeOf,Object_getPrototypeOf,hasRequiredObject_getPrototypeOf,implementation,hasRequiredImplementation,functionBind,hasRequiredFunctionBind,functionCall,hasRequiredFunctionCall,functionApply,hasRequiredFunctionApply,reflectApply,hasRequiredReflectApply,actualApply,hasRequiredActualApply,callBindApplyHelpers,hasRequiredCallBindApplyHelpers,get,hasRequiredGet,getProto,hasRequiredGetProto,hasown,hasRequiredHasown,getIntrinsic,hasRequiredGetIntrinsic;function requireShams$2(){return hasRequiredShams$2?shams$2:(hasRequiredShams$2=1,shams$2=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},r=Symbol("test"),u=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(u)!=="[object Symbol]")return!1;for(var t in e[r]=42,e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==r||!Object.prototype.propertyIsEnumerable.call(e,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var l=Object.getOwnPropertyDescriptor(e,r);if(l.value!==42||l.enumerable!==!0)return!1}return!0})}function requireShams$1(){if(hasRequiredShams$1)return shams$1;hasRequiredShams$1=1;var e=requireShams$2();return shams$1=function(){return e()&&!!Symbol.toStringTag}}function requireEsObjectAtoms(){return hasRequiredEsObjectAtoms?esObjectAtoms:(hasRequiredEsObjectAtoms=1,esObjectAtoms=Object)}function requireEsErrors(){return hasRequiredEsErrors?esErrors:(hasRequiredEsErrors=1,esErrors=Error)}function require_eval(){return hasRequired_eval?_eval:(hasRequired_eval=1,_eval=EvalError)}function requireRange(){return hasRequiredRange?range:(hasRequiredRange=1,range=RangeError)}function requireRef(){return hasRequiredRef?ref:(hasRequiredRef=1,ref=ReferenceError)}function requireSyntax(){return hasRequiredSyntax?syntax:(hasRequiredSyntax=1,syntax=SyntaxError)}function requireType(){return hasRequiredType?type:(hasRequiredType=1,type=TypeError)}function requireUri(){return hasRequiredUri?uri:(hasRequiredUri=1,uri=URIError)}function requireAbs(){return hasRequiredAbs?abs:(hasRequiredAbs=1,abs=Math.abs)}function requireFloor(){return hasRequiredFloor?floor:(hasRequiredFloor=1,floor=Math.floor)}function requireMax(){return hasRequiredMax?max:(hasRequiredMax=1,max=Math.max)}function requireMin(){return hasRequiredMin?min:(hasRequiredMin=1,min=Math.min)}function requirePow(){return hasRequiredPow?pow:(hasRequiredPow=1,pow=Math.pow)}function requireRound(){return hasRequiredRound?round:(hasRequiredRound=1,round=Math.round)}function require_isNaN(){return hasRequired_isNaN?_isNaN:(hasRequired_isNaN=1,_isNaN=Number.isNaN||function(e){return e!=e})}function requireSign$1(){if(hasRequiredSign$1)return sign$1;hasRequiredSign$1=1;var e=require_isNaN();return sign$1=function(r){return e(r)||r===0?r:r<0?-1:1},sign$1}function requireGOPD(){return hasRequiredGOPD?gOPD:(hasRequiredGOPD=1,gOPD=Object.getOwnPropertyDescriptor)}function requireGopd(){if(hasRequiredGopd)return gopd;hasRequiredGopd=1;var e=requireGOPD();if(e)try{e([],"length")}catch{e=null}return gopd=e}function requireEsDefineProperty(){if(hasRequiredEsDefineProperty)return esDefineProperty;hasRequiredEsDefineProperty=1;var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return esDefineProperty=e}function requireHasSymbols(){if(hasRequiredHasSymbols)return hasSymbols;hasRequiredHasSymbols=1;var e=typeof Symbol<"u"&&Symbol,r=requireShams$2();return hasSymbols=function(){return typeof e=="function"&&typeof Symbol=="function"&&typeof e("foo")=="symbol"&&typeof Symbol("bar")=="symbol"&&r()}}function requireReflect_getPrototypeOf(){return hasRequiredReflect_getPrototypeOf?Reflect_getPrototypeOf:(hasRequiredReflect_getPrototypeOf=1,Reflect_getPrototypeOf=typeof Reflect<"u"&&Reflect.getPrototypeOf||null)}function requireObject_getPrototypeOf(){return hasRequiredObject_getPrototypeOf?Object_getPrototypeOf:(hasRequiredObject_getPrototypeOf=1,Object_getPrototypeOf=requireEsObjectAtoms().getPrototypeOf||null)}function requireImplementation(){if(hasRequiredImplementation)return implementation;hasRequiredImplementation=1;var e=Object.prototype.toString,r=Math.max,u=function(t,a){for(var l=[],d=0;d<t.length;d+=1)l[d]=t[d];for(var o=0;o<a.length;o+=1)l[o+t.length]=a[o];return l};return implementation=function(t){var a=this;if(typeof a!="function"||e.apply(a)!=="[object Function]")throw new TypeError("Function.prototype.bind called on incompatible "+a);for(var l,d=(function(f,c){for(var h=[],p=c,b=0;p<f.length;p+=1,b+=1)h[b]=f[p];return h})(arguments,1),o=r(0,a.length-d.length),n=[],i=0;i<o;i++)n[i]="$"+i;if(l=Function("binder","return function ("+(function(f,c){for(var h="",p=0;p<f.length;p+=1)h+=f[p],p+1<f.length&&(h+=c);return h})(n,",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof l){var f=a.apply(this,u(d,arguments));return Object(f)===f?f:this}return a.apply(t,u(d,arguments))})),a.prototype){var s=function(){};s.prototype=a.prototype,l.prototype=new s,s.prototype=null}return l},implementation}function requireFunctionBind(){if(hasRequiredFunctionBind)return functionBind;hasRequiredFunctionBind=1;var e=requireImplementation();return functionBind=Function.prototype.bind||e}function requireFunctionCall(){return hasRequiredFunctionCall?functionCall:(hasRequiredFunctionCall=1,functionCall=Function.prototype.call)}function requireFunctionApply(){return hasRequiredFunctionApply?functionApply:(hasRequiredFunctionApply=1,functionApply=Function.prototype.apply)}function requireReflectApply(){return hasRequiredReflectApply?reflectApply:(hasRequiredReflectApply=1,reflectApply=typeof Reflect<"u"&&Reflect&&Reflect.apply)}function requireActualApply(){if(hasRequiredActualApply)return actualApply;hasRequiredActualApply=1;var e=requireFunctionBind(),r=requireFunctionApply(),u=requireFunctionCall(),t=requireReflectApply();return actualApply=t||e.call(u,r)}function requireCallBindApplyHelpers(){if(hasRequiredCallBindApplyHelpers)return callBindApplyHelpers;hasRequiredCallBindApplyHelpers=1;var e=requireFunctionBind(),r=requireType(),u=requireFunctionCall(),t=requireActualApply();return callBindApplyHelpers=function(a){if(a.length<1||typeof a[0]!="function")throw new r("a function is required");return t(e,u,a)}}function requireGet(){if(hasRequiredGet)return get;hasRequiredGet=1;var e,r=requireCallBindApplyHelpers(),u=requireGopd();try{e=[].__proto__===Array.prototype}catch(d){if(!d||typeof d!="object"||!("code"in d)||d.code!=="ERR_PROTO_ACCESS")throw d}var t=!!e&&u&&u(Object.prototype,"__proto__"),a=Object,l=a.getPrototypeOf;return get=t&&typeof t.get=="function"?r([t.get]):typeof l=="function"&&function(d){return l(d==null?d:a(d))}}function requireGetProto(){if(hasRequiredGetProto)return getProto;hasRequiredGetProto=1;var e=requireReflect_getPrototypeOf(),r=requireObject_getPrototypeOf(),u=requireGet();return getProto=e?function(t){return e(t)}:r?function(t){if(!t||typeof t!="object"&&typeof t!="function")throw new TypeError("getProto: not an object");return r(t)}:u?function(t){return u(t)}:null}function requireHasown(){if(hasRequiredHasown)return hasown;hasRequiredHasown=1;var e=Function.prototype.call,r=Object.prototype.hasOwnProperty,u=requireFunctionBind();return hasown=u.call(e,r)}function requireGetIntrinsic(){if(hasRequiredGetIntrinsic)return getIntrinsic;var e;hasRequiredGetIntrinsic=1;var r=requireEsObjectAtoms(),u=requireEsErrors(),t=require_eval(),a=requireRange(),l=requireRef(),d=requireSyntax(),o=requireType(),n=requireUri(),i=requireAbs(),s=requireFloor(),f=requireMax(),c=requireMin(),h=requirePow(),p=requireRound(),b=requireSign$1(),y=Function,g=function(V){try{return y('"use strict"; return ('+V+").constructor;")()}catch{}},_=requireGopd(),B=requireEsDefineProperty(),R=function(){throw new o},A=_?(function(){try{return R}catch{try{return _(arguments,"callee").get}catch{return R}}})():R,P=requireHasSymbols()(),x=requireGetProto(),T=requireObject_getPrototypeOf(),z=requireReflect_getPrototypeOf(),v=requireFunctionApply(),E=requireFunctionCall(),$={},q=typeof Uint8Array<"u"&&x?x(Uint8Array):e,m={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":P&&x?x([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":$,"%AsyncGenerator%":$,"%AsyncGeneratorFunction%":$,"%AsyncIteratorPrototype%":$,"%Atomics%":typeof Atomics>"u"?e:Atomics,"%BigInt%":typeof BigInt>"u"?e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":u,"%eval%":eval,"%EvalError%":t,"%Float16Array%":typeof Float16Array>"u"?e:Float16Array,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":y,"%GeneratorFunction%":$,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":P&&x?x(x([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map<"u"&&P&&x?x(new Map()[Symbol.iterator]()):e,"%Math%":Math,"%Number%":Number,"%Object%":r,"%Object.getOwnPropertyDescriptor%":_,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":a,"%ReferenceError%":l,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set<"u"&&P&&x?x(new Set()[Symbol.iterator]()):e,"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":P&&x?x(""[Symbol.iterator]()):e,"%Symbol%":P?Symbol:e,"%SyntaxError%":d,"%ThrowTypeError%":A,"%TypedArray%":q,"%TypeError%":o,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":n,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet,"%Function.prototype.call%":E,"%Function.prototype.apply%":v,"%Object.defineProperty%":B,"%Object.getPrototypeOf%":T,"%Math.abs%":i,"%Math.floor%":s,"%Math.max%":f,"%Math.min%":c,"%Math.pow%":h,"%Math.round%":p,"%Math.sign%":b,"%Reflect.getPrototypeOf%":z};if(x)try{null.error}catch(V){var w=x(x(V));m["%Error.prototype%"]=w}var C=function V(Q){var Y;if(Q==="%AsyncFunction%")Y=g("async function () {}");else if(Q==="%GeneratorFunction%")Y=g("function* () {}");else if(Q==="%AsyncGeneratorFunction%")Y=g("async function* () {}");else if(Q==="%AsyncGenerator%"){var J=V("%AsyncGeneratorFunction%");J&&(Y=J.prototype)}else if(Q==="%AsyncIteratorPrototype%"){var ce=V("%AsyncGenerator%");ce&&x&&(Y=x(ce.prototype))}return m[Q]=Y,Y},j={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},N=requireFunctionBind(),L=requireHasown(),U=N.call(E,Array.prototype.concat),D=N.call(v,Array.prototype.splice),I=N.call(E,String.prototype.replace),O=N.call(E,String.prototype.slice),G=N.call(E,RegExp.prototype.exec),X=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,te=/\\(\\)?/g,Z=function(V,Q){var Y,J=V;if(L(j,J)&&(J="%"+(Y=j[J])[0]+"%"),L(m,J)){var ce=m[J];if(ce===$&&(ce=C(J)),ce===void 0&&!Q)throw new o("intrinsic "+V+" exists, but is not available. Please file an issue!");return{alias:Y,name:J,value:ce}}throw new d("intrinsic "+V+" does not exist!")};return getIntrinsic=function(V,Q){if(typeof V!="string"||V.length===0)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Q!="boolean")throw new o('"allowMissing" argument must be a boolean');if(G(/^%?[^%]*%?$/,V)===null)throw new d("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Y=(function(he){var Ee=O(he,0,1),ge=O(he,-1);if(Ee==="%"&&ge!=="%")throw new d("invalid intrinsic syntax, expected closing `%`");if(ge==="%"&&Ee!=="%")throw new d("invalid intrinsic syntax, expected opening `%`");var de=[];return I(he,X,(function(Oe,ve,be,Le){de[de.length]=be?I(Le,te,"$1"):ve||Oe})),de})(V),J=Y.length>0?Y[0]:"",ce=Z("%"+J+"%",Q),oe=ce.name,ne=ce.value,_e=!1,re=ce.alias;re&&(J=re[0],D(Y,U([0,1],re)));for(var ie=1,ye=!0;ie<Y.length;ie+=1){var se=Y[ie],fe=O(se,0,1),me=O(se,-1);if((fe==='"'||fe==="'"||fe==="`"||me==='"'||me==="'"||me==="`")&&fe!==me)throw new d("property names with quotes must have matching quotes");if(se!=="constructor"&&ye||(_e=!0),L(m,oe="%"+(J+="."+se)+"%"))ne=m[oe];else if(ne!=null){if(!(se in ne)){if(!Q)throw new o("base intrinsic for "+V+" exists, but the property is not available.");return}if(_&&ie+1>=Y.length){var le=_(ne,se);ne=(ye=!!le)&&"get"in le&&!("originalValue"in le.get)?le.get:ne[se]}else ye=L(ne,se),ne=ne[se];ye&&!_e&&(m[oe]=ne)}}return ne},getIntrinsic}var callBind$1={exports:{}},hasRequiredCallBind$1,callBound$1,hasRequiredCallBound$1,isArguments,hasRequiredIsArguments,isGeneratorFunction,hasRequiredIsGeneratorFunction,isCallable,hasRequiredIsCallable,forEach_1,hasRequiredForEach$1,availableTypedArrays$1,hasRequiredAvailableTypedArrays$1,isTypedArray$1,hasRequiredIsTypedArray$1,whichTypedArray$1,hasRequiredWhichTypedArray$1,hasRequiredTypes,isBufferBrowser,hasRequiredIsBufferBrowser,hasRequiredUtil,buffer_list,hasRequiredBuffer_list,destroy_1,hasRequiredDestroy;function requireCallBind$1(){return hasRequiredCallBind$1||(hasRequiredCallBind$1=1,(function(e){var r=requireFunctionBind(),u=requireGetIntrinsic(),t=u("%Function.prototype.apply%"),a=u("%Function.prototype.call%"),l=u("%Reflect.apply%",!0)||r.call(a,t),d=u("%Object.getOwnPropertyDescriptor%",!0),o=u("%Object.defineProperty%",!0),n=u("%Math.max%");if(o)try{o({},"a",{value:1})}catch{o=null}e.exports=function(s){var f=l(r,a,arguments);return d&&o&&d(f,"length").configurable&&o(f,"length",{value:1+n(0,s.length-(arguments.length-1))}),f};var i=function(){return l(r,t,arguments)};o?o(e.exports,"apply",{value:i}):e.exports.apply=i})(callBind$1)),callBind$1.exports}function requireCallBound$1(){if(hasRequiredCallBound$1)return callBound$1;hasRequiredCallBound$1=1;var e=requireGetIntrinsic(),r=requireCallBind$1(),u=r(e("String.prototype.indexOf"));return callBound$1=function(t,a){var l=e(t,!!a);return typeof l=="function"&&u(t,".prototype.")>-1?r(l):l}}function requireIsArguments(){if(hasRequiredIsArguments)return isArguments;hasRequiredIsArguments=1;var e=requireShams$1()(),r=requireCallBound$1()("Object.prototype.toString"),u=function(l){return!(e&&l&&typeof l=="object"&&Symbol.toStringTag in l)&&r(l)==="[object Arguments]"},t=function(l){return!!u(l)||l!==null&&typeof l=="object"&&typeof l.length=="number"&&l.length>=0&&r(l)!=="[object Array]"&&r(l.callee)==="[object Function]"},a=(function(){return u(arguments)})();return u.isLegacyArguments=t,isArguments=a?u:t}function requireIsGeneratorFunction(){if(hasRequiredIsGeneratorFunction)return isGeneratorFunction;hasRequiredIsGeneratorFunction=1;var e,r=Object.prototype.toString,u=Function.prototype.toString,t=/^\s*(?:function)?\*/,a=requireShams$1()(),l=Object.getPrototypeOf;return isGeneratorFunction=function(d){if(typeof d!="function")return!1;if(t.test(u.call(d)))return!0;if(!a)return r.call(d)==="[object GeneratorFunction]";if(!l)return!1;if(e===void 0){var o=(function(){if(!a)return!1;try{return Function("return function*() {}")()}catch{}})();e=!!o&&l(o)}return l(d)===e}}function requireIsCallable(){if(hasRequiredIsCallable)return isCallable;hasRequiredIsCallable=1;var e,r,u=Function.prototype.toString,t=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply;if(typeof t=="function"&&typeof Object.defineProperty=="function")try{e=Object.defineProperty({},"length",{get:function(){throw r}}),r={},t((function(){throw 42}),null,e)}catch(c){c!==r&&(t=null)}else t=null;var a=/^\s*class\b/,l=function(c){try{var h=u.call(c);return a.test(h)}catch{return!1}},d=function(c){try{return!l(c)&&(u.call(c),!0)}catch{return!1}},o=Object.prototype.toString,n=typeof Symbol=="function"&&!!Symbol.toStringTag,i=!(0 in[,]),s=function(){return!1};if(typeof document=="object"){var f=document.all;o.call(f)===o.call(document.all)&&(s=function(c){if((i||!c)&&(c===void 0||typeof c=="object"))try{var h=o.call(c);return(h==="[object HTMLAllCollection]"||h==="[object HTML document.all class]"||h==="[object HTMLCollection]"||h==="[object Object]")&&c("")==null}catch{}return!1})}return isCallable=t?function(c){if(s(c))return!0;if(!c||typeof c!="function"&&typeof c!="object")return!1;try{t(c,null,e)}catch(h){if(h!==r)return!1}return!l(c)&&d(c)}:function(c){if(s(c))return!0;if(!c||typeof c!="function"&&typeof c!="object")return!1;if(n)return d(c);if(l(c))return!1;var h=o.call(c);return!(h!=="[object Function]"&&h!=="[object GeneratorFunction]"&&!/^\[object HTML/.test(h))&&d(c)}}function requireForEach$1(){if(hasRequiredForEach$1)return forEach_1;hasRequiredForEach$1=1;var e=requireIsCallable(),r=Object.prototype.toString,u=Object.prototype.hasOwnProperty;return forEach_1=function(t,a,l){if(!e(a))throw new TypeError("iterator must be a function");var d;arguments.length>=3&&(d=l),r.call(t)==="[object Array]"?(function(o,n,i){for(var s=0,f=o.length;s<f;s++)u.call(o,s)&&(i==null?n(o[s],s,o):n.call(i,o[s],s,o))})(t,a,d):typeof t=="string"?(function(o,n,i){for(var s=0,f=o.length;s<f;s++)i==null?n(o.charAt(s),s,o):n.call(i,o.charAt(s),s,o)})(t,a,d):(function(o,n,i){for(var s in o)u.call(o,s)&&(i==null?n(o[s],s,o):n.call(i,o[s],s,o))})(t,a,d)},forEach_1}function requireAvailableTypedArrays$1(){if(hasRequiredAvailableTypedArrays$1)return availableTypedArrays$1;hasRequiredAvailableTypedArrays$1=1;var e=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],r=typeof globalThis>"u"?commonjsGlobal:globalThis;return availableTypedArrays$1=function(){for(var u=[],t=0;t<e.length;t++)typeof r[e[t]]=="function"&&(u[u.length]=e[t]);return u}}function requireIsTypedArray$1(){if(hasRequiredIsTypedArray$1)return isTypedArray$1;hasRequiredIsTypedArray$1=1;var e=requireForEach$1(),r=requireAvailableTypedArrays$1(),u=requireCallBound$1(),t=u("Object.prototype.toString"),a=requireShams$1()(),l=requireGopd(),d=typeof globalThis>"u"?commonjsGlobal:globalThis,o=r(),n=u("Array.prototype.indexOf",!0)||function(c,h){for(var p=0;p<c.length;p+=1)if(c[p]===h)return p;return-1},i=u("String.prototype.slice"),s={},f=Object.getPrototypeOf;return a&&l&&f&&e(o,(function(c){var h=new d[c];if(Symbol.toStringTag in h){var p=f(h),b=l(p,Symbol.toStringTag);if(!b){var y=f(p);b=l(y,Symbol.toStringTag)}s[c]=b.get}})),isTypedArray$1=function(c){if(!c||typeof c!="object")return!1;if(!a||!(Symbol.toStringTag in c)){var h=i(t(c),8,-1);return n(o,h)>-1}return!!l&&(function(p){var b=!1;return e(s,(function(y,g){if(!b)try{b=y.call(p)===g}catch{}})),b})(c)}}function requireWhichTypedArray$1(){if(hasRequiredWhichTypedArray$1)return whichTypedArray$1;hasRequiredWhichTypedArray$1=1;var e=requireForEach$1(),r=requireAvailableTypedArrays$1(),u=requireCallBound$1(),t=requireGopd(),a=u("Object.prototype.toString"),l=requireShams$1()(),d=typeof globalThis>"u"?commonjsGlobal:globalThis,o=r(),n=u("String.prototype.slice"),i={},s=Object.getPrototypeOf;l&&t&&s&&e(o,(function(c){if(typeof d[c]=="function"){var h=new d[c];if(Symbol.toStringTag in h){var p=s(h),b=t(p,Symbol.toStringTag);if(!b){var y=s(p);b=t(y,Symbol.toStringTag)}i[c]=b.get}}}));var f=requireIsTypedArray$1();return whichTypedArray$1=function(c){return!!f(c)&&(l&&Symbol.toStringTag in c?(function(h){var p=!1;return e(i,(function(b,y){if(!p)try{var g=b.call(h);g===y&&(p=g)}catch{}})),p})(c):n(a(c),8,-1))}}function requireTypes(){return hasRequiredTypes||(hasRequiredTypes=1,(function(e){var r=requireIsArguments(),u=requireIsGeneratorFunction(),t=requireWhichTypedArray$1(),a=requireIsTypedArray$1();function l(w){return w.call.bind(w)}var d=typeof BigInt<"u",o=typeof Symbol<"u",n=l(Object.prototype.toString),i=l(Number.prototype.valueOf),s=l(String.prototype.valueOf),f=l(Boolean.prototype.valueOf);if(d)var c=l(BigInt.prototype.valueOf);if(o)var h=l(Symbol.prototype.valueOf);function p(w,C){if(typeof w!="object")return!1;try{return C(w),!0}catch{return!1}}function b(w){return n(w)==="[object Map]"}function y(w){return n(w)==="[object Set]"}function g(w){return n(w)==="[object WeakMap]"}function _(w){return n(w)==="[object WeakSet]"}function B(w){return n(w)==="[object ArrayBuffer]"}function R(w){return typeof ArrayBuffer<"u"&&(B.working?B(w):w instanceof ArrayBuffer)}function A(w){return n(w)==="[object DataView]"}function P(w){return typeof DataView<"u"&&(A.working?A(w):w instanceof DataView)}e.isArgumentsObject=r,e.isGeneratorFunction=u,e.isTypedArray=a,e.isPromise=function(w){return typeof Promise<"u"&&w instanceof Promise||w!==null&&typeof w=="object"&&typeof w.then=="function"&&typeof w.catch=="function"},e.isArrayBufferView=function(w){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(w):a(w)||P(w)},e.isUint8Array=function(w){return t(w)==="Uint8Array"},e.isUint8ClampedArray=function(w){return t(w)==="Uint8ClampedArray"},e.isUint16Array=function(w){return t(w)==="Uint16Array"},e.isUint32Array=function(w){return t(w)==="Uint32Array"},e.isInt8Array=function(w){return t(w)==="Int8Array"},e.isInt16Array=function(w){return t(w)==="Int16Array"},e.isInt32Array=function(w){return t(w)==="Int32Array"},e.isFloat32Array=function(w){return t(w)==="Float32Array"},e.isFloat64Array=function(w){return t(w)==="Float64Array"},e.isBigInt64Array=function(w){return t(w)==="BigInt64Array"},e.isBigUint64Array=function(w){return t(w)==="BigUint64Array"},b.working=typeof Map<"u"&&b(new Map),e.isMap=function(w){return typeof Map<"u"&&(b.working?b(w):w instanceof Map)},y.working=typeof Set<"u"&&y(new Set),e.isSet=function(w){return typeof Set<"u"&&(y.working?y(w):w instanceof Set)},g.working=typeof WeakMap<"u"&&g(new WeakMap),e.isWeakMap=function(w){return typeof WeakMap<"u"&&(g.working?g(w):w instanceof WeakMap)},_.working=typeof WeakSet<"u"&&_(new WeakSet),e.isWeakSet=function(w){return _(w)},B.working=typeof ArrayBuffer<"u"&&B(new ArrayBuffer),e.isArrayBuffer=R,A.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&A(new DataView(new ArrayBuffer(1),0,1)),e.isDataView=P;var x=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function T(w){return n(w)==="[object SharedArrayBuffer]"}function z(w){return x!==void 0&&(T.working===void 0&&(T.working=T(new x)),T.working?T(w):w instanceof x)}function v(w){return p(w,i)}function E(w){return p(w,s)}function $(w){return p(w,f)}function q(w){return d&&p(w,c)}function m(w){return o&&p(w,h)}e.isSharedArrayBuffer=z,e.isAsyncFunction=function(w){return n(w)==="[object AsyncFunction]"},e.isMapIterator=function(w){return n(w)==="[object Map Iterator]"},e.isSetIterator=function(w){return n(w)==="[object Set Iterator]"},e.isGeneratorObject=function(w){return n(w)==="[object Generator]"},e.isWebAssemblyCompiledModule=function(w){return n(w)==="[object WebAssembly.Module]"},e.isNumberObject=v,e.isStringObject=E,e.isBooleanObject=$,e.isBigIntObject=q,e.isSymbolObject=m,e.isBoxedPrimitive=function(w){return v(w)||E(w)||$(w)||q(w)||m(w)},e.isAnyArrayBuffer=function(w){return typeof Uint8Array<"u"&&(R(w)||z(w))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(w){Object.defineProperty(e,w,{enumerable:!1,value:function(){throw new Error(w+" is not supported in userland")}})}))})(types)),types}function requireIsBufferBrowser(){return hasRequiredIsBufferBrowser?isBufferBrowser:(hasRequiredIsBufferBrowser=1,isBufferBrowser=function(e){return e&&typeof e=="object"&&typeof e.copy=="function"&&typeof e.fill=="function"&&typeof e.readUInt8=="function"})}function requireUtil(){return hasRequiredUtil||(hasRequiredUtil=1,(function(e){var r={},u=Object.getOwnPropertyDescriptors||function(m){for(var w=Object.keys(m),C={},j=0;j<w.length;j++)C[w[j]]=Object.getOwnPropertyDescriptor(m,w[j]);return C},t=/%[sdj%]/g;e.format=function(m){if(!g(m)){for(var w=[],C=0;C<arguments.length;C++)w.push(o(arguments[C]));return w.join(" ")}C=1;for(var j=arguments,N=j.length,L=String(m).replace(t,(function(D){if(D==="%%")return"%";if(C>=N)return D;switch(D){case"%s":return String(j[C++]);case"%d":return Number(j[C++]);case"%j":try{return JSON.stringify(j[C++])}catch{return"[Circular]"}default:return D}})),U=j[C];C<N;U=j[++C])b(U)||!R(U)?L+=" "+U:L+=" "+o(U);return L},e.deprecate=function(m,w){if(process$1!==void 0&&process$1.noDeprecation===!0)return m;if(process$1===void 0)return function(){return e.deprecate(m,w).apply(this,arguments)};var C=!1;return function(){if(!C){if(process$1.throwDeprecation)throw new Error(w);process$1.traceDeprecation?console.trace(w):console.error(w),C=!0}return m.apply(this,arguments)}};var a={},l=/^$/;if(r.NODE_DEBUG){var d=r.NODE_DEBUG;d=d.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),l=new RegExp("^"+d+"$","i")}function o(m,w){var C={seen:[],stylize:i};return arguments.length>=3&&(C.depth=arguments[2]),arguments.length>=4&&(C.colors=arguments[3]),p(w)?C.showHidden=w:w&&e._extend(C,w),_(C.showHidden)&&(C.showHidden=!1),_(C.depth)&&(C.depth=2),_(C.colors)&&(C.colors=!1),_(C.customInspect)&&(C.customInspect=!0),C.colors&&(C.stylize=n),s(C,m,C.depth)}function n(m,w){var C=o.styles[w];return C?"\x1B["+o.colors[C][0]+"m"+m+"\x1B["+o.colors[C][1]+"m":m}function i(m,w){return m}function s(m,w,C){if(m.customInspect&&w&&x(w.inspect)&&w.inspect!==e.inspect&&(!w.constructor||w.constructor.prototype!==w)){var j=w.inspect(C,m);return g(j)||(j=s(m,j,C)),j}var N=(function(te,Z){if(_(Z))return te.stylize("undefined","undefined");if(g(Z)){var V="'"+JSON.stringify(Z).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return te.stylize(V,"string")}if(y(Z))return te.stylize(""+Z,"number");if(p(Z))return te.stylize(""+Z,"boolean");if(b(Z))return te.stylize("null","null")})(m,w);if(N)return N;var L=Object.keys(w),U=(function(te){var Z={};return te.forEach((function(V,Q){Z[V]=!0})),Z})(L);if(m.showHidden&&(L=Object.getOwnPropertyNames(w)),P(w)&&(L.indexOf("message")>=0||L.indexOf("description")>=0))return f(w);if(L.length===0){if(x(w)){var D=w.name?": "+w.name:"";return m.stylize("[Function"+D+"]","special")}if(B(w))return m.stylize(RegExp.prototype.toString.call(w),"regexp");if(A(w))return m.stylize(Date.prototype.toString.call(w),"date");if(P(w))return f(w)}var I,O="",G=!1,X=["{","}"];return h(w)&&(G=!0,X=["[","]"]),x(w)&&(O=" [Function"+(w.name?": "+w.name:"")+"]"),B(w)&&(O=" "+RegExp.prototype.toString.call(w)),A(w)&&(O=" "+Date.prototype.toUTCString.call(w)),P(w)&&(O=" "+f(w)),L.length!==0||G&&w.length!=0?C<0?B(w)?m.stylize(RegExp.prototype.toString.call(w),"regexp"):m.stylize("[Object]","special"):(m.seen.push(w),I=G?(function(te,Z,V,Q,Y){for(var J=[],ce=0,oe=Z.length;ce<oe;++ce)E(Z,String(ce))?J.push(c(te,Z,V,Q,String(ce),!0)):J.push("");return Y.forEach((function(ne){ne.match(/^\d+$/)||J.push(c(te,Z,V,Q,ne,!0))})),J})(m,w,C,U,L):L.map((function(te){return c(m,w,C,U,te,G)})),m.seen.pop(),(function(te,Z,V){var Q=te.reduce((function(Y,J){return J.indexOf(`
22
- `),Y+J.replace(/\u001b\[\d\d?m/g,"").length+1}),0);return Q>60?V[0]+(Z===""?"":Z+`
23
- `)+" "+te.join(`,
24
- `)+" "+V[1]:V[0]+Z+" "+te.join(", ")+" "+V[1]})(I,O,X)):X[0]+O+X[1]}function f(m){return"["+Error.prototype.toString.call(m)+"]"}function c(m,w,C,j,N,L){var U,D,I;if((I=Object.getOwnPropertyDescriptor(w,N)||{value:w[N]}).get?D=I.set?m.stylize("[Getter/Setter]","special"):m.stylize("[Getter]","special"):I.set&&(D=m.stylize("[Setter]","special")),E(j,N)||(U="["+N+"]"),D||(m.seen.indexOf(I.value)<0?(D=b(C)?s(m,I.value,null):s(m,I.value,C-1)).indexOf(`
25
- `)>-1&&(D=L?D.split(`
26
- `).map((function(O){return" "+O})).join(`
27
- `).slice(2):`
28
- `+D.split(`
29
- `).map((function(O){return" "+O})).join(`
30
- `)):D=m.stylize("[Circular]","special")),_(U)){if(L&&N.match(/^\d+$/))return D;(U=JSON.stringify(""+N)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(U=U.slice(1,-1),U=m.stylize(U,"name")):(U=U.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),U=m.stylize(U,"string"))}return U+": "+D}function h(m){return Array.isArray(m)}function p(m){return typeof m=="boolean"}function b(m){return m===null}function y(m){return typeof m=="number"}function g(m){return typeof m=="string"}function _(m){return m===void 0}function B(m){return R(m)&&T(m)==="[object RegExp]"}function R(m){return typeof m=="object"&&m!==null}function A(m){return R(m)&&T(m)==="[object Date]"}function P(m){return R(m)&&(T(m)==="[object Error]"||m instanceof Error)}function x(m){return typeof m=="function"}function T(m){return Object.prototype.toString.call(m)}function z(m){return m<10?"0"+m.toString(10):m.toString(10)}e.debuglog=function(m){if(m=m.toUpperCase(),!a[m])if(l.test(m)){var w=process$1.pid;a[m]=function(){var C=e.format.apply(e,arguments);console.error("%s %d: %s",m,w,C)}}else a[m]=function(){};return a[m]},e.inspect=o,o.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},o.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.types=requireTypes(),e.isArray=h,e.isBoolean=p,e.isNull=b,e.isNullOrUndefined=function(m){return m==null},e.isNumber=y,e.isString=g,e.isSymbol=function(m){return typeof m=="symbol"},e.isUndefined=_,e.isRegExp=B,e.types.isRegExp=B,e.isObject=R,e.isDate=A,e.types.isDate=A,e.isError=P,e.types.isNativeError=P,e.isFunction=x,e.isPrimitive=function(m){return m===null||typeof m=="boolean"||typeof m=="number"||typeof m=="string"||typeof m=="symbol"||m===void 0},e.isBuffer=requireIsBufferBrowser();var v=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function E(m,w){return Object.prototype.hasOwnProperty.call(m,w)}e.log=function(){var m,w;console.log("%s - %s",(w=[z((m=new Date).getHours()),z(m.getMinutes()),z(m.getSeconds())].join(":"),[m.getDate(),v[m.getMonth()],w].join(" ")),e.format.apply(e,arguments))},e.inherits=requireInherits_browser(),e._extend=function(m,w){if(!w||!R(w))return m;for(var C=Object.keys(w),j=C.length;j--;)m[C[j]]=w[C[j]];return m};var $=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;function q(m,w){if(!m){var C=new Error("Promise was rejected with a falsy value");C.reason=m,m=C}return w(m)}e.promisify=function(m){if(typeof m!="function")throw new TypeError('The "original" argument must be of type Function');if($&&m[$]){var w;if(typeof(w=m[$])!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(w,$,{value:w,enumerable:!1,writable:!1,configurable:!0}),w}function w(){for(var C,j,N=new Promise((function(D,I){C=D,j=I})),L=[],U=0;U<arguments.length;U++)L.push(arguments[U]);L.push((function(D,I){D?j(D):C(I)}));try{m.apply(this,L)}catch(D){j(D)}return N}return Object.setPrototypeOf(w,Object.getPrototypeOf(m)),$&&Object.defineProperty(w,$,{value:w,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(w,u(m))},e.promisify.custom=$,e.callbackify=function(m){if(typeof m!="function")throw new TypeError('The "original" argument must be of type Function');function w(){for(var C=[],j=0;j<arguments.length;j++)C.push(arguments[j]);var N=C.pop();if(typeof N!="function")throw new TypeError("The last argument must be of type Function");var L=this,U=function(){return N.apply(L,arguments)};m.apply(this,C).then((function(D){process$1.nextTick(U.bind(null,null,D))}),(function(D){process$1.nextTick(q.bind(null,D,U))}))}return Object.setPrototypeOf(w,Object.getPrototypeOf(m)),Object.defineProperties(w,u(m)),w}})(util)),util}function requireBuffer_list(){if(hasRequiredBuffer_list)return buffer_list;function e(n,i){var s=Object.keys(n);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(n);i&&(f=f.filter((function(c){return Object.getOwnPropertyDescriptor(n,c).enumerable}))),s.push.apply(s,f)}return s}function r(n){for(var i=1;i<arguments.length;i++){var s=arguments[i]!=null?arguments[i]:{};i%2?e(Object(s),!0).forEach((function(f){u(n,f,s[f])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(s)):e(Object(s)).forEach((function(f){Object.defineProperty(n,f,Object.getOwnPropertyDescriptor(s,f))}))}return n}function u(n,i,s){return(i=a(i))in n?Object.defineProperty(n,i,{value:s,enumerable:!0,configurable:!0,writable:!0}):n[i]=s,n}function t(n,i,s){return i&&(function(f,c){for(var h=0;h<c.length;h++){var p=c[h];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(f,a(p.key),p)}})(n.prototype,i),Object.defineProperty(n,"prototype",{writable:!1}),n}function a(n){var i=(function(s,f){if(typeof s!="object"||s===null)return s;var c=s[Symbol.toPrimitive];if(c!==void 0){var h=c.call(s,f);if(typeof h!="object")return h;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(s)})(n,"string");return typeof i=="symbol"?i:String(i)}hasRequiredBuffer_list=1;var l=requireDist().Buffer,d=requireUtil().inspect,o=d&&d.custom||"inspect";return buffer_list=(function(){function n(){(function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")})(this,n),this.head=null,this.tail=null,this.length=0}return t(n,[{key:"push",value:function(i){var s={data:i,next:null};this.length>0?this.tail.next=s:this.head=s,this.tail=s,++this.length}},{key:"unshift",value:function(i){var s={data:i,next:this.head};this.length===0&&(this.tail=s),this.head=s,++this.length}},{key:"shift",value:function(){if(this.length!==0){var i=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,i}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(i){if(this.length===0)return"";for(var s=this.head,f=""+s.data;s=s.next;)f+=i+s.data;return f}},{key:"concat",value:function(i){if(this.length===0)return l.alloc(0);for(var s,f,c,h=l.allocUnsafe(i>>>0),p=this.head,b=0;p;)s=p.data,f=h,c=b,l.prototype.copy.call(s,f,c),b+=p.data.length,p=p.next;return h}},{key:"consume",value:function(i,s){var f;return i<this.head.data.length?(f=this.head.data.slice(0,i),this.head.data=this.head.data.slice(i)):f=i===this.head.data.length?this.shift():s?this._getString(i):this._getBuffer(i),f}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(i){var s=this.head,f=1,c=s.data;for(i-=c.length;s=s.next;){var h=s.data,p=i>h.length?h.length:i;if(p===h.length?c+=h:c+=h.slice(0,i),(i-=p)===0){p===h.length?(++f,s.next?this.head=s.next:this.head=this.tail=null):(this.head=s,s.data=h.slice(p));break}++f}return this.length-=f,c}},{key:"_getBuffer",value:function(i){var s=l.allocUnsafe(i),f=this.head,c=1;for(f.data.copy(s),i-=f.data.length;f=f.next;){var h=f.data,p=i>h.length?h.length:i;if(h.copy(s,s.length-i,0,p),(i-=p)===0){p===h.length?(++c,f.next?this.head=f.next:this.head=this.tail=null):(this.head=f,f.data=h.slice(p));break}++c}return this.length-=c,s}},{key:o,value:function(i,s){return d(this,r(r({},s),{},{depth:0,customInspect:!1}))}}]),n})()}function requireDestroy(){if(hasRequiredDestroy)return destroy_1;function e(t,a){u(t,a),r(t)}function r(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function u(t,a){t.emit("error",a)}return hasRequiredDestroy=1,destroy_1={destroy:function(t,a){var l=this,d=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return d||o?(a?a(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process$1.nextTick(u,this,t)):process$1.nextTick(u,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(n){!a&&n?l._writableState?l._writableState.errorEmitted?process$1.nextTick(r,l):(l._writableState.errorEmitted=!0,process$1.nextTick(e,l,n)):process$1.nextTick(e,l,n):a?(process$1.nextTick(r,l),a(n)):process$1.nextTick(r,l)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(t,a){var l=t._readableState,d=t._writableState;l&&l.autoDestroy||d&&d.autoDestroy?t.destroy(a):t.emit("error",a)}}}var errorsBrowser={},hasRequiredErrorsBrowser,state,hasRequiredState,browser$a,hasRequiredBrowser$a,_stream_writable,hasRequired_stream_writable,_stream_duplex,hasRequired_stream_duplex;function requireErrorsBrowser(){if(hasRequiredErrorsBrowser)return errorsBrowser;hasRequiredErrorsBrowser=1;var e={};function r(t,a,l){l||(l=Error);var d=(function(o){var n,i;function s(f,c,h){return o.call(this,(function(p,b,y){return typeof a=="string"?a:a(p,b,y)})(f,c,h))||this}return i=o,(n=s).prototype=Object.create(i.prototype),n.prototype.constructor=n,n.__proto__=i,s})(l);d.prototype.name=l.name,d.prototype.code=t,e[t]=d}function u(t,a){if(Array.isArray(t)){var l=t.length;return t=t.map((function(d){return String(d)})),l>2?"one of ".concat(a," ").concat(t.slice(0,l-1).join(", "),", or ")+t[l-1]:l===2?"one of ".concat(a," ").concat(t[0]," or ").concat(t[1]):"of ".concat(a," ").concat(t[0])}return"of ".concat(a," ").concat(String(t))}return r("ERR_INVALID_OPT_VALUE",(function(t,a){return'The value "'+a+'" is invalid for option "'+t+'"'}),TypeError),r("ERR_INVALID_ARG_TYPE",(function(t,a,l){var d,o,n;if(typeof a=="string"&&(o="not ",a.substr(0,o.length)===o)?(d="must not be",a=a.replace(/^not /,"")):d="must be",(function(s,f,c){return(c===void 0||c>s.length)&&(c=s.length),s.substring(c-f.length,c)===f})(t," argument"))n="The ".concat(t," ").concat(d," ").concat(u(a,"type"));else{var i=(function(s,f,c){return typeof c!="number"&&(c=0),!(c+f.length>s.length)&&s.indexOf(f,c)!==-1})(t,".")?"property":"argument";n='The "'.concat(t,'" ').concat(i," ").concat(d," ").concat(u(a,"type"))}return n+=". Received type ".concat(typeof l)}),TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"})),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" after a stream was destroyed"})),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",(function(t){return"Unknown encoding: "+t}),TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),errorsBrowser.codes=e,errorsBrowser}function requireState(){if(hasRequiredState)return state;hasRequiredState=1;var e=requireErrorsBrowser().codes.ERR_INVALID_OPT_VALUE;return state={getHighWaterMark:function(r,u,t,a){var l=(function(d,o,n){return d.highWaterMark!=null?d.highWaterMark:o?d[n]:null})(u,a,t);if(l!=null){if(!isFinite(l)||Math.floor(l)!==l||l<0)throw new e(a?t:"highWaterMark",l);return Math.floor(l)}return r.objectMode?16:16384}}}function requireBrowser$a(){if(hasRequiredBrowser$a)return browser$a;function e(r){try{if(!commonjsGlobal.localStorage)return!1}catch{return!1}var u=commonjsGlobal.localStorage[r];return u!=null&&String(u).toLowerCase()==="true"}return hasRequiredBrowser$a=1,browser$a=function(r,u){if(e("noDeprecation"))return r;var t=!1;return function(){if(!t){if(e("throwDeprecation"))throw new Error(u);e("traceDeprecation")?console.trace(u):console.warn(u),t=!0}return r.apply(this,arguments)}},browser$a}function require_stream_writable(){if(hasRequired_stream_writable)return _stream_writable;function e($){var q=this;this.next=null,this.entry=null,this.finish=function(){(function(m,w,C){var j=m.entry;for(m.entry=null;j;){var N=j.callback;w.pendingcb--,N(C),j=j.next}w.corkedRequestsFree.next=m})(q,$)}}var r;hasRequired_stream_writable=1,_stream_writable=A,A.WritableState=R;var u={deprecate:requireBrowser$a()},t=requireStreamBrowser(),a=requireDist().Buffer,l=(commonjsGlobal!==void 0?commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},d,o=requireDestroy(),n=requireState().getHighWaterMark,i=requireErrorsBrowser().codes,s=i.ERR_INVALID_ARG_TYPE,f=i.ERR_METHOD_NOT_IMPLEMENTED,c=i.ERR_MULTIPLE_CALLBACK,h=i.ERR_STREAM_CANNOT_PIPE,p=i.ERR_STREAM_DESTROYED,b=i.ERR_STREAM_NULL_VALUES,y=i.ERR_STREAM_WRITE_AFTER_END,g=i.ERR_UNKNOWN_ENCODING,_=o.errorOrDestroy;function B(){}function R($,q,m){r=r||require_stream_duplex(),$=$||{},typeof m!="boolean"&&(m=q instanceof r),this.objectMode=!!$.objectMode,m&&(this.objectMode=this.objectMode||!!$.writableObjectMode),this.highWaterMark=n(this,$,"writableHighWaterMark",m),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var w=$.decodeStrings===!1;this.decodeStrings=!w,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(C){(function(j,N){var L=j._writableState,U=L.sync,D=L.writecb;if(typeof D!="function")throw new c;if((function(O){O.writing=!1,O.writecb=null,O.length-=O.writelen,O.writelen=0})(L),N)(function(O,G,X,te,Z){--G.pendingcb,X?(process$1.nextTick(Z,te),process$1.nextTick(E,O,G),O._writableState.errorEmitted=!0,_(O,te)):(Z(te),O._writableState.errorEmitted=!0,_(O,te),E(O,G))})(j,L,U,N,D);else{var I=z(L)||j.destroyed;I||L.corked||L.bufferProcessing||!L.bufferedRequest||T(j,L),U?process$1.nextTick(x,j,L,I,D):x(j,L,I,D)}})(q,C)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=$.emitClose!==!1,this.autoDestroy=!!$.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}function A($){var q=this instanceof(r=r||require_stream_duplex());if(!q&&!d.call(A,this))return new A($);this._writableState=new R($,this,q),this.writable=!0,$&&(typeof $.write=="function"&&(this._write=$.write),typeof $.writev=="function"&&(this._writev=$.writev),typeof $.destroy=="function"&&(this._destroy=$.destroy),typeof $.final=="function"&&(this._final=$.final)),t.call(this)}function P($,q,m,w,C,j,N){q.writelen=w,q.writecb=N,q.writing=!0,q.sync=!0,q.destroyed?q.onwrite(new p("write")):m?$._writev(C,q.onwrite):$._write(C,j,q.onwrite),q.sync=!1}function x($,q,m,w){m||(function(C,j){j.length===0&&j.needDrain&&(j.needDrain=!1,C.emit("drain"))})($,q),q.pendingcb--,w(),E($,q)}function T($,q){q.bufferProcessing=!0;var m=q.bufferedRequest;if($._writev&&m&&m.next){var w=q.bufferedRequestCount,C=new Array(w),j=q.corkedRequestsFree;j.entry=m;for(var N=0,L=!0;m;)C[N]=m,m.isBuf||(L=!1),m=m.next,N+=1;C.allBuffers=L,P($,q,!0,q.length,C,"",j.finish),q.pendingcb++,q.lastBufferedRequest=null,j.next?(q.corkedRequestsFree=j.next,j.next=null):q.corkedRequestsFree=new e(q),q.bufferedRequestCount=0}else{for(;m;){var U=m.chunk,D=m.encoding,I=m.callback;if(P($,q,!1,q.objectMode?1:U.length,U,D,I),m=m.next,q.bufferedRequestCount--,q.writing)break}m===null&&(q.lastBufferedRequest=null)}q.bufferedRequest=m,q.bufferProcessing=!1}function z($){return $.ending&&$.length===0&&$.bufferedRequest===null&&!$.finished&&!$.writing}function v($,q){$._final((function(m){q.pendingcb--,m&&_($,m),q.prefinished=!0,$.emit("prefinish"),E($,q)}))}function E($,q){var m=z(q);if(m&&((function(C,j){j.prefinished||j.finalCalled||(typeof C._final!="function"||j.destroyed?(j.prefinished=!0,C.emit("prefinish")):(j.pendingcb++,j.finalCalled=!0,process$1.nextTick(v,C,j)))})($,q),q.pendingcb===0&&(q.finished=!0,$.emit("finish"),q.autoDestroy))){var w=$._readableState;(!w||w.autoDestroy&&w.endEmitted)&&$.destroy()}return m}return requireInherits_browser()(A,t),R.prototype.getBuffer=function(){for(var $=this.bufferedRequest,q=[];$;)q.push($),$=$.next;return q},(function(){try{Object.defineProperty(R.prototype,"buffer",{get:u.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})(),typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(d=Function.prototype[Symbol.hasInstance],Object.defineProperty(A,Symbol.hasInstance,{value:function($){return!!d.call(this,$)||this===A&&$&&$._writableState instanceof R}})):d=function($){return $ instanceof this},A.prototype.pipe=function(){_(this,new h)},A.prototype.write=function($,q,m){var w,C=this._writableState,j=!1,N=!C.objectMode&&(w=$,a.isBuffer(w)||w instanceof l);return N&&!a.isBuffer($)&&($=(function(L){return a.from(L)})($)),typeof q=="function"&&(m=q,q=null),N?q="buffer":q||(q=C.defaultEncoding),typeof m!="function"&&(m=B),C.ending?(function(L,U){var D=new y;_(L,D),process$1.nextTick(U,D)})(this,m):(N||(function(L,U,D,I){var O;return D===null?O=new b:typeof D=="string"||U.objectMode||(O=new s("chunk",["string","Buffer"],D)),!O||(_(L,O),process$1.nextTick(I,O),!1)})(this,C,$,m))&&(C.pendingcb++,j=(function(L,U,D,I,O,G){if(!D){var X=(function(Q,Y,J){return Q.objectMode||Q.decodeStrings===!1||typeof Y!="string"||(Y=a.from(Y,J)),Y})(U,I,O);I!==X&&(D=!0,O="buffer",I=X)}var te=U.objectMode?1:I.length;U.length+=te;var Z=U.length<U.highWaterMark;if(Z||(U.needDrain=!0),U.writing||U.corked){var V=U.lastBufferedRequest;U.lastBufferedRequest={chunk:I,encoding:O,isBuf:D,callback:G,next:null},V?V.next=U.lastBufferedRequest:U.bufferedRequest=U.lastBufferedRequest,U.bufferedRequestCount+=1}else P(L,U,!1,te,I,O,G);return Z})(this,C,N,$,q,m)),j},A.prototype.cork=function(){this._writableState.corked++},A.prototype.uncork=function(){var $=this._writableState;$.corked&&($.corked--,$.writing||$.corked||$.bufferProcessing||!$.bufferedRequest||T(this,$))},A.prototype.setDefaultEncoding=function($){if(typeof $=="string"&&($=$.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf(($+"").toLowerCase())>-1))throw new g($);return this._writableState.defaultEncoding=$,this},Object.defineProperty(A.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(A.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),A.prototype._write=function($,q,m){m(new f("_write()"))},A.prototype._writev=null,A.prototype.end=function($,q,m){var w=this._writableState;return typeof $=="function"?(m=$,$=null,q=null):typeof q=="function"&&(m=q,q=null),$!=null&&this.write($,q),w.corked&&(w.corked=1,this.uncork()),w.ending||(function(C,j,N){j.ending=!0,E(C,j),N&&(j.finished?process$1.nextTick(N):C.once("finish",N)),j.ended=!0,C.writable=!1})(this,w,m),this},Object.defineProperty(A.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(A.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function($){this._writableState&&(this._writableState.destroyed=$)}}),A.prototype.destroy=o.destroy,A.prototype._undestroy=o.undestroy,A.prototype._destroy=function($,q){q($)},_stream_writable}function require_stream_duplex(){if(hasRequired_stream_duplex)return _stream_duplex;hasRequired_stream_duplex=1;var e=Object.keys||function(i){var s=[];for(var f in i)s.push(f);return s};_stream_duplex=d;var r=require_stream_readable(),u=require_stream_writable();requireInherits_browser()(d,r);for(var t=e(u.prototype),a=0;a<t.length;a++){var l=t[a];d.prototype[l]||(d.prototype[l]=u.prototype[l])}function d(i){if(!(this instanceof d))return new d(i);r.call(this,i),u.call(this,i),this.allowHalfOpen=!0,i&&(i.readable===!1&&(this.readable=!1),i.writable===!1&&(this.writable=!1),i.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",o)))}function o(){this._writableState.ended||process$1.nextTick(n,this)}function n(i){i.end()}return Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(d.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(d.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==void 0&&this._writableState!==void 0&&this._readableState.destroyed&&this._writableState.destroyed},set:function(i){this._readableState!==void 0&&this._writableState!==void 0&&(this._readableState.destroyed=i,this._writableState.destroyed=i)}}),_stream_duplex}var string_decoder={},hasRequiredString_decoder,endOfStream,hasRequiredEndOfStream,async_iterator,hasRequiredAsync_iterator,fromBrowser,hasRequiredFromBrowser,_stream_readable,hasRequired_stream_readable,_stream_transform,hasRequired_stream_transform,_stream_passthrough,hasRequired_stream_passthrough,pipeline_1,hasRequiredPipeline,streamBrowserify,hasRequiredStreamBrowserify,hashBase$1,hasRequiredHashBase$1,md5_js,hasRequiredMd5_js,ripemd160$3,hasRequiredRipemd160$2;function requireString_decoder(){if(hasRequiredString_decoder)return string_decoder;hasRequiredString_decoder=1;var e=requireSafeBuffer().Buffer,r=e.isEncoding||function(f){switch((f=""+f)&&f.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function u(f){var c;switch(this.encoding=(function(h){var p=(function(b){if(!b)return"utf8";for(var y;;)switch(b){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return b;default:if(y)return;b=(""+b).toLowerCase(),y=!0}})(h);if(typeof p!="string"&&(e.isEncoding===r||!r(h)))throw new Error("Unknown encoding: "+h);return p||h})(f),this.encoding){case"utf16le":this.text=l,this.end=d,c=4;break;case"utf8":this.fillLast=a,c=4;break;case"base64":this.text=o,this.end=n,c=3;break;default:return this.write=i,void(this.end=s)}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(c)}function t(f){return f<=127?0:f>>5==6?2:f>>4==14?3:f>>3==30?4:f>>6==2?-1:-2}function a(f){var c=this.lastTotal-this.lastNeed,h=(function(p,b){if((192&b[0])!=128)return p.lastNeed=0,"�";if(p.lastNeed>1&&b.length>1){if((192&b[1])!=128)return p.lastNeed=1,"�";if(p.lastNeed>2&&b.length>2&&(192&b[2])!=128)return p.lastNeed=2,"�"}})(this,f);return h!==void 0?h:this.lastNeed<=f.length?(f.copy(this.lastChar,c,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(f.copy(this.lastChar,c,0,f.length),void(this.lastNeed-=f.length))}function l(f,c){if((f.length-c)%2==0){var h=f.toString("utf16le",c);if(h){var p=h.charCodeAt(h.length-1);if(p>=55296&&p<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=f[f.length-2],this.lastChar[1]=f[f.length-1],h.slice(0,-1)}return h}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=f[f.length-1],f.toString("utf16le",c,f.length-1)}function d(f){var c=f&&f.length?this.write(f):"";if(this.lastNeed){var h=this.lastTotal-this.lastNeed;return c+this.lastChar.toString("utf16le",0,h)}return c}function o(f,c){var h=(f.length-c)%3;return h===0?f.toString("base64",c):(this.lastNeed=3-h,this.lastTotal=3,h===1?this.lastChar[0]=f[f.length-1]:(this.lastChar[0]=f[f.length-2],this.lastChar[1]=f[f.length-1]),f.toString("base64",c,f.length-h))}function n(f){var c=f&&f.length?this.write(f):"";return this.lastNeed?c+this.lastChar.toString("base64",0,3-this.lastNeed):c}function i(f){return f.toString(this.encoding)}function s(f){return f&&f.length?this.write(f):""}return string_decoder.StringDecoder=u,u.prototype.write=function(f){if(f.length===0)return"";var c,h;if(this.lastNeed){if((c=this.fillLast(f))===void 0)return"";h=this.lastNeed,this.lastNeed=0}else h=0;return h<f.length?c?c+this.text(f,h):this.text(f,h):c||""},u.prototype.end=function(f){var c=f&&f.length?this.write(f):"";return this.lastNeed?c+"�":c},u.prototype.text=function(f,c){var h=(function(b,y,g){var _=y.length-1;if(_<g)return 0;var B=t(y[_]);return B>=0?(B>0&&(b.lastNeed=B-1),B):--_<g||B===-2?0:(B=t(y[_]),B>=0?(B>0&&(b.lastNeed=B-2),B):--_<g||B===-2?0:(B=t(y[_]),B>=0?(B>0&&(B===2?B=0:b.lastNeed=B-3),B):0))})(this,f,c);if(!this.lastNeed)return f.toString("utf8",c);this.lastTotal=h;var p=f.length-(h-this.lastNeed);return f.copy(this.lastChar,0,p),f.toString("utf8",c,p)},u.prototype.fillLast=function(f){if(this.lastNeed<=f.length)return f.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);f.copy(this.lastChar,this.lastTotal-this.lastNeed,0,f.length),this.lastNeed-=f.length},string_decoder}function requireEndOfStream(){if(hasRequiredEndOfStream)return endOfStream;hasRequiredEndOfStream=1;var e=requireErrorsBrowser().codes.ERR_STREAM_PREMATURE_CLOSE;function r(){}return endOfStream=function u(t,a,l){if(typeof a=="function")return u(t,null,a);a||(a={}),l=(function(y){var g=!1;return function(){if(!g){g=!0;for(var _=arguments.length,B=new Array(_),R=0;R<_;R++)B[R]=arguments[R];y.apply(this,B)}}})(l||r);var d=a.readable||a.readable!==!1&&t.readable,o=a.writable||a.writable!==!1&&t.writable,n=function(){t.writable||s()},i=t._writableState&&t._writableState.finished,s=function(){o=!1,i=!0,d||l.call(t)},f=t._readableState&&t._readableState.endEmitted,c=function(){d=!1,f=!0,o||l.call(t)},h=function(y){l.call(t,y)},p=function(){var y;return d&&!f?(t._readableState&&t._readableState.ended||(y=new e),l.call(t,y)):o&&!i?(t._writableState&&t._writableState.ended||(y=new e),l.call(t,y)):void 0},b=function(){t.req.on("finish",s)};return(function(y){return y.setHeader&&typeof y.abort=="function"})(t)?(t.on("complete",s),t.on("abort",p),t.req?b():t.on("request",b)):o&&!t._writableState&&(t.on("end",n),t.on("close",n)),t.on("end",c),t.on("finish",s),a.error!==!1&&t.on("error",h),t.on("close",p),function(){t.removeListener("complete",s),t.removeListener("abort",p),t.removeListener("request",b),t.req&&t.req.removeListener("finish",s),t.removeListener("end",n),t.removeListener("close",n),t.removeListener("finish",s),t.removeListener("end",c),t.removeListener("error",h),t.removeListener("close",p)}},endOfStream}function requireAsync_iterator(){if(hasRequiredAsync_iterator)return async_iterator;var e;function r(b,y,g){return(y=(function(_){var B=(function(R,A){if(typeof R!="object"||R===null)return R;var P=R[Symbol.toPrimitive];if(P!==void 0){var x=P.call(R,A);if(typeof x!="object")return x;throw new TypeError("@@toPrimitive must return a primitive value.")}return(A==="string"?String:Number)(R)})(_,"string");return typeof B=="symbol"?B:String(B)})(y))in b?Object.defineProperty(b,y,{value:g,enumerable:!0,configurable:!0,writable:!0}):b[y]=g,b}hasRequiredAsync_iterator=1;var u=requireEndOfStream(),t=Symbol("lastResolve"),a=Symbol("lastReject"),l=Symbol("error"),d=Symbol("ended"),o=Symbol("lastPromise"),n=Symbol("handlePromise"),i=Symbol("stream");function s(b,y){return{value:b,done:y}}function f(b){var y=b[t];if(y!==null){var g=b[i].read();g!==null&&(b[o]=null,b[t]=null,b[a]=null,y(s(g,!1)))}}function c(b){process$1.nextTick(f,b)}var h=Object.getPrototypeOf((function(){})),p=Object.setPrototypeOf((e={get stream(){return this[i]},next:function(){var b=this,y=this[l];if(y!==null)return Promise.reject(y);if(this[d])return Promise.resolve(s(void 0,!0));if(this[i].destroyed)return new Promise((function(R,A){process$1.nextTick((function(){b[l]?A(b[l]):R(s(void 0,!0))}))}));var g,_=this[o];if(_)g=new Promise((function(R,A){return function(P,x){R.then((function(){A[d]?P(s(void 0,!0)):A[n](P,x)}),x)}})(_,this));else{var B=this[i].read();if(B!==null)return Promise.resolve(s(B,!1));g=new Promise(this[n])}return this[o]=g,g}},r(e,Symbol.asyncIterator,(function(){return this})),r(e,"return",(function(){var b=this;return new Promise((function(y,g){b[i].destroy(null,(function(_){_?g(_):y(s(void 0,!0))}))}))})),e),h);return async_iterator=function(b){var y,g=Object.create(p,(r(y={},i,{value:b,writable:!0}),r(y,t,{value:null,writable:!0}),r(y,a,{value:null,writable:!0}),r(y,l,{value:null,writable:!0}),r(y,d,{value:b._readableState.endEmitted,writable:!0}),r(y,n,{value:function(_,B){var R=g[i].read();R?(g[o]=null,g[t]=null,g[a]=null,_(s(R,!1))):(g[t]=_,g[a]=B)},writable:!0}),y));return g[o]=null,u(b,(function(_){if(_&&_.code!=="ERR_STREAM_PREMATURE_CLOSE"){var B=g[a];return B!==null&&(g[o]=null,g[t]=null,g[a]=null,B(_)),void(g[l]=_)}var R=g[t];R!==null&&(g[o]=null,g[t]=null,g[a]=null,R(s(void 0,!0))),g[d]=!0})),b.on("readable",c.bind(null,g)),g},async_iterator}function requireFromBrowser(){return hasRequiredFromBrowser?fromBrowser:(hasRequiredFromBrowser=1,fromBrowser=function(){throw new Error("Readable.from is not available in the browser")})}function require_stream_readable(){if(hasRequired_stream_readable)return _stream_readable;var e;hasRequired_stream_readable=1,_stream_readable=A,A.ReadableState=R,requireEvents().EventEmitter;var r=function(I,O){return I.listeners(O).length},u=requireStreamBrowser(),t=requireDist().Buffer,a=(commonjsGlobal!==void 0?commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},l,d=requireUtil();l=d&&d.debuglog?d.debuglog("stream"):function(){};var o,n,i,s=requireBuffer_list(),f=requireDestroy(),c=requireState().getHighWaterMark,h=requireErrorsBrowser().codes,p=h.ERR_INVALID_ARG_TYPE,b=h.ERR_STREAM_PUSH_AFTER_EOF,y=h.ERR_METHOD_NOT_IMPLEMENTED,g=h.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;requireInherits_browser()(A,u);var _=f.errorOrDestroy,B=["error","close","destroy","pause","resume"];function R(I,O,G){e=e||require_stream_duplex(),I=I||{},typeof G!="boolean"&&(G=O instanceof e),this.objectMode=!!I.objectMode,G&&(this.objectMode=this.objectMode||!!I.readableObjectMode),this.highWaterMark=c(this,I,"readableHighWaterMark",G),this.buffer=new s,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=I.emitClose!==!1,this.autoDestroy=!!I.autoDestroy,this.destroyed=!1,this.defaultEncoding=I.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,I.encoding&&(o||(o=requireString_decoder().StringDecoder),this.decoder=new o(I.encoding),this.encoding=I.encoding)}function A(I){if(e=e||require_stream_duplex(),!(this instanceof A))return new A(I);var O=this instanceof e;this._readableState=new R(I,this,O),this.readable=!0,I&&(typeof I.read=="function"&&(this._read=I.read),typeof I.destroy=="function"&&(this._destroy=I.destroy)),u.call(this)}function P(I,O,G,X,te){l("readableAddChunk",O);var Z,V=I._readableState;if(O===null)V.reading=!1,(function(Q,Y){if(l("onEofChunk"),!Y.ended){if(Y.decoder){var J=Y.decoder.end();J&&J.length&&(Y.buffer.push(J),Y.length+=Y.objectMode?1:J.length)}Y.ended=!0,Y.sync?v(Q):(Y.needReadable=!1,Y.emittedReadable||(Y.emittedReadable=!0,E(Q)))}})(I,V);else if(te||(Z=(function(Q,Y){var J;ce=Y,t.isBuffer(ce)||ce instanceof a||typeof Y=="string"||Y===void 0||Q.objectMode||(J=new p("chunk",["string","Buffer","Uint8Array"],Y));var ce;return J})(V,O)),Z)_(I,Z);else if(V.objectMode||O&&O.length>0)if(typeof O=="string"||V.objectMode||Object.getPrototypeOf(O)===t.prototype||(O=(function(Q){return t.from(Q)})(O)),X)V.endEmitted?_(I,new g):x(I,V,O,!0);else if(V.ended)_(I,new b);else{if(V.destroyed)return!1;V.reading=!1,V.decoder&&!G?(O=V.decoder.write(O),V.objectMode||O.length!==0?x(I,V,O,!1):$(I,V)):x(I,V,O,!1)}else X||(V.reading=!1,$(I,V));return!V.ended&&(V.length<V.highWaterMark||V.length===0)}function x(I,O,G,X){O.flowing&&O.length===0&&!O.sync?(O.awaitDrain=0,I.emit("data",G)):(O.length+=O.objectMode?1:G.length,X?O.buffer.unshift(G):O.buffer.push(G),O.needReadable&&v(I)),$(I,O)}Object.defineProperty(A.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==void 0&&this._readableState.destroyed},set:function(I){this._readableState&&(this._readableState.destroyed=I)}}),A.prototype.destroy=f.destroy,A.prototype._undestroy=f.undestroy,A.prototype._destroy=function(I,O){O(I)},A.prototype.push=function(I,O){var G,X=this._readableState;return X.objectMode?G=!0:typeof I=="string"&&((O=O||X.defaultEncoding)!==X.encoding&&(I=t.from(I,O),O=""),G=!0),P(this,I,O,!1,G)},A.prototype.unshift=function(I){return P(this,I,null,!0,!1)},A.prototype.isPaused=function(){return this._readableState.flowing===!1},A.prototype.setEncoding=function(I){o||(o=requireString_decoder().StringDecoder);var O=new o(I);this._readableState.decoder=O,this._readableState.encoding=this._readableState.decoder.encoding;for(var G=this._readableState.buffer.head,X="";G!==null;)X+=O.write(G.data),G=G.next;return this._readableState.buffer.clear(),X!==""&&this._readableState.buffer.push(X),this._readableState.length=X.length,this};var T=1073741824;function z(I,O){return I<=0||O.length===0&&O.ended?0:O.objectMode?1:I!=I?O.flowing&&O.length?O.buffer.head.data.length:O.length:(I>O.highWaterMark&&(O.highWaterMark=(function(G){return G>=T?G=T:(G--,G|=G>>>1,G|=G>>>2,G|=G>>>4,G|=G>>>8,G|=G>>>16,G++),G})(I)),I<=O.length?I:O.ended?O.length:(O.needReadable=!0,0))}function v(I){var O=I._readableState;l("emitReadable",O.needReadable,O.emittedReadable),O.needReadable=!1,O.emittedReadable||(l("emitReadable",O.flowing),O.emittedReadable=!0,process$1.nextTick(E,I))}function E(I){var O=I._readableState;l("emitReadable_",O.destroyed,O.length,O.ended),O.destroyed||!O.length&&!O.ended||(I.emit("readable"),O.emittedReadable=!1),O.needReadable=!O.flowing&&!O.ended&&O.length<=O.highWaterMark,j(I)}function $(I,O){O.readingMore||(O.readingMore=!0,process$1.nextTick(q,I,O))}function q(I,O){for(;!O.reading&&!O.ended&&(O.length<O.highWaterMark||O.flowing&&O.length===0);){var G=O.length;if(l("maybeReadMore read 0"),I.read(0),G===O.length)break}O.readingMore=!1}function m(I){var O=I._readableState;O.readableListening=I.listenerCount("readable")>0,O.resumeScheduled&&!O.paused?O.flowing=!0:I.listenerCount("data")>0&&I.resume()}function w(I){l("readable nexttick read 0"),I.read(0)}function C(I,O){l("resume",O.reading),O.reading||I.read(0),O.resumeScheduled=!1,I.emit("resume"),j(I),O.flowing&&!O.reading&&I.read(0)}function j(I){var O=I._readableState;for(l("flow",O.flowing);O.flowing&&I.read()!==null;);}function N(I,O){return O.length===0?null:(O.objectMode?G=O.buffer.shift():!I||I>=O.length?(G=O.decoder?O.buffer.join(""):O.buffer.length===1?O.buffer.first():O.buffer.concat(O.length),O.buffer.clear()):G=O.buffer.consume(I,O.decoder),G);var G}function L(I){var O=I._readableState;l("endReadable",O.endEmitted),O.endEmitted||(O.ended=!0,process$1.nextTick(U,O,I))}function U(I,O){if(l("endReadableNT",I.endEmitted,I.length),!I.endEmitted&&I.length===0&&(I.endEmitted=!0,O.readable=!1,O.emit("end"),I.autoDestroy)){var G=O._writableState;(!G||G.autoDestroy&&G.finished)&&O.destroy()}}function D(I,O){for(var G=0,X=I.length;G<X;G++)if(I[G]===O)return G;return-1}return A.prototype.read=function(I){l("read",I),I=parseInt(I,10);var O=this._readableState,G=I;if(I!==0&&(O.emittedReadable=!1),I===0&&O.needReadable&&((O.highWaterMark!==0?O.length>=O.highWaterMark:O.length>0)||O.ended))return l("read: emitReadable",O.length,O.ended),O.length===0&&O.ended?L(this):v(this),null;if((I=z(I,O))===0&&O.ended)return O.length===0&&L(this),null;var X,te=O.needReadable;return l("need readable",te),(O.length===0||O.length-I<O.highWaterMark)&&l("length less than watermark",te=!0),O.ended||O.reading?l("reading or ended",te=!1):te&&(l("do read"),O.reading=!0,O.sync=!0,O.length===0&&(O.needReadable=!0),this._read(O.highWaterMark),O.sync=!1,O.reading||(I=z(G,O))),(X=I>0?N(I,O):null)===null?(O.needReadable=O.length<=O.highWaterMark,I=0):(O.length-=I,O.awaitDrain=0),O.length===0&&(O.ended||(O.needReadable=!0),G!==I&&O.ended&&L(this)),X!==null&&this.emit("data",X),X},A.prototype._read=function(I){_(this,new y("_read()"))},A.prototype.pipe=function(I,O){var G=this,X=this._readableState;switch(X.pipesCount){case 0:X.pipes=I;break;case 1:X.pipes=[X.pipes,I];break;default:X.pipes.push(I)}X.pipesCount+=1,l("pipe count=%d opts=%j",X.pipesCount,O);var te=(!O||O.end!==!1)&&I!==process$1.stdout&&I!==process$1.stderr?V:_e;function Z(re,ie){l("onunpipe"),re===G&&ie&&ie.hasUnpiped===!1&&(ie.hasUnpiped=!0,l("cleanup"),I.removeListener("close",oe),I.removeListener("finish",ne),I.removeListener("drain",Q),I.removeListener("error",ce),I.removeListener("unpipe",Z),G.removeListener("end",V),G.removeListener("end",_e),G.removeListener("data",J),Y=!0,!X.awaitDrain||I._writableState&&!I._writableState.needDrain||Q())}function V(){l("onend"),I.end()}X.endEmitted?process$1.nextTick(te):G.once("end",te),I.on("unpipe",Z);var Q=(function(re){return function(){var ie=re._readableState;l("pipeOnDrain",ie.awaitDrain),ie.awaitDrain&&ie.awaitDrain--,ie.awaitDrain===0&&r(re,"data")&&(ie.flowing=!0,j(re))}})(G);I.on("drain",Q);var Y=!1;function J(re){l("ondata");var ie=I.write(re);l("dest.write",ie),ie===!1&&((X.pipesCount===1&&X.pipes===I||X.pipesCount>1&&D(X.pipes,I)!==-1)&&!Y&&(l("false write response, pause",X.awaitDrain),X.awaitDrain++),G.pause())}function ce(re){l("onerror",re),_e(),I.removeListener("error",ce),r(I,"error")===0&&_(I,re)}function oe(){I.removeListener("finish",ne),_e()}function ne(){l("onfinish"),I.removeListener("close",oe),_e()}function _e(){l("unpipe"),G.unpipe(I)}return G.on("data",J),(function(re,ie,ye){if(typeof re.prependListener=="function")return re.prependListener(ie,ye);re._events&&re._events[ie]?Array.isArray(re._events[ie])?re._events[ie].unshift(ye):re._events[ie]=[ye,re._events[ie]]:re.on(ie,ye)})(I,"error",ce),I.once("close",oe),I.once("finish",ne),I.emit("pipe",G),X.flowing||(l("pipe resume"),G.resume()),I},A.prototype.unpipe=function(I){var O=this._readableState,G={hasUnpiped:!1};if(O.pipesCount===0)return this;if(O.pipesCount===1)return I&&I!==O.pipes||(I||(I=O.pipes),O.pipes=null,O.pipesCount=0,O.flowing=!1,I&&I.emit("unpipe",this,G)),this;if(!I){var X=O.pipes,te=O.pipesCount;O.pipes=null,O.pipesCount=0,O.flowing=!1;for(var Z=0;Z<te;Z++)X[Z].emit("unpipe",this,{hasUnpiped:!1});return this}var V=D(O.pipes,I);return V===-1||(O.pipes.splice(V,1),O.pipesCount-=1,O.pipesCount===1&&(O.pipes=O.pipes[0]),I.emit("unpipe",this,G)),this},A.prototype.on=function(I,O){var G=u.prototype.on.call(this,I,O),X=this._readableState;return I==="data"?(X.readableListening=this.listenerCount("readable")>0,X.flowing!==!1&&this.resume()):I==="readable"&&(X.endEmitted||X.readableListening||(X.readableListening=X.needReadable=!0,X.flowing=!1,X.emittedReadable=!1,l("on readable",X.length,X.reading),X.length?v(this):X.reading||process$1.nextTick(w,this))),G},A.prototype.addListener=A.prototype.on,A.prototype.removeListener=function(I,O){var G=u.prototype.removeListener.call(this,I,O);return I==="readable"&&process$1.nextTick(m,this),G},A.prototype.removeAllListeners=function(I){var O=u.prototype.removeAllListeners.apply(this,arguments);return I!=="readable"&&I!==void 0||process$1.nextTick(m,this),O},A.prototype.resume=function(){var I=this._readableState;return I.flowing||(l("resume"),I.flowing=!I.readableListening,(function(O,G){G.resumeScheduled||(G.resumeScheduled=!0,process$1.nextTick(C,O,G))})(this,I)),I.paused=!1,this},A.prototype.pause=function(){return l("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(l("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},A.prototype.wrap=function(I){var O=this,G=this._readableState,X=!1;for(var te in I.on("end",(function(){if(l("wrapped end"),G.decoder&&!G.ended){var V=G.decoder.end();V&&V.length&&O.push(V)}O.push(null)})),I.on("data",(function(V){l("wrapped data"),G.decoder&&(V=G.decoder.write(V)),G.objectMode&&V==null||(G.objectMode||V&&V.length)&&(O.push(V)||(X=!0,I.pause()))})),I)this[te]===void 0&&typeof I[te]=="function"&&(this[te]=(function(V){return function(){return I[V].apply(I,arguments)}})(te));for(var Z=0;Z<B.length;Z++)I.on(B[Z],this.emit.bind(this,B[Z]));return this._read=function(V){l("wrapped _read",V),X&&(X=!1,I.resume())},this},typeof Symbol=="function"&&(A.prototype[Symbol.asyncIterator]=function(){return n===void 0&&(n=requireAsync_iterator()),n(this)}),Object.defineProperty(A.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(A.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(A.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(I){this._readableState&&(this._readableState.flowing=I)}}),A._fromList=N,Object.defineProperty(A.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),typeof Symbol=="function"&&(A.from=function(I,O){return i===void 0&&(i=requireFromBrowser()),i(A,I,O)}),_stream_readable}function require_stream_transform(){if(hasRequired_stream_transform)return _stream_transform;hasRequired_stream_transform=1,_stream_transform=o;var e=requireErrorsBrowser().codes,r=e.ERR_METHOD_NOT_IMPLEMENTED,u=e.ERR_MULTIPLE_CALLBACK,t=e.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=e.ERR_TRANSFORM_WITH_LENGTH_0,l=require_stream_duplex();function d(s,f){var c=this._transformState;c.transforming=!1;var h=c.writecb;if(h===null)return this.emit("error",new u);c.writechunk=null,c.writecb=null,f!=null&&this.push(f),h(s);var p=this._readableState;p.reading=!1,(p.needReadable||p.length<p.highWaterMark)&&this._read(p.highWaterMark)}function o(s){if(!(this instanceof o))return new o(s);l.call(this,s),this._transformState={afterTransform:d.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,s&&(typeof s.transform=="function"&&(this._transform=s.transform),typeof s.flush=="function"&&(this._flush=s.flush)),this.on("prefinish",n)}function n(){var s=this;typeof this._flush!="function"||this._readableState.destroyed?i(this,null,null):this._flush((function(f,c){i(s,f,c)}))}function i(s,f,c){if(f)return s.emit("error",f);if(c!=null&&s.push(c),s._writableState.length)throw new a;if(s._transformState.transforming)throw new t;return s.push(null)}return requireInherits_browser()(o,l),o.prototype.push=function(s,f){return this._transformState.needTransform=!1,l.prototype.push.call(this,s,f)},o.prototype._transform=function(s,f,c){c(new r("_transform()"))},o.prototype._write=function(s,f,c){var h=this._transformState;if(h.writecb=c,h.writechunk=s,h.writeencoding=f,!h.transforming){var p=this._readableState;(h.needTransform||p.needReadable||p.length<p.highWaterMark)&&this._read(p.highWaterMark)}},o.prototype._read=function(s){var f=this._transformState;f.writechunk===null||f.transforming?f.needTransform=!0:(f.transforming=!0,this._transform(f.writechunk,f.writeencoding,f.afterTransform))},o.prototype._destroy=function(s,f){l.prototype._destroy.call(this,s,(function(c){f(c)}))},_stream_transform}function require_stream_passthrough(){if(hasRequired_stream_passthrough)return _stream_passthrough;hasRequired_stream_passthrough=1,_stream_passthrough=r;var e=require_stream_transform();function r(u){if(!(this instanceof r))return new r(u);e.call(this,u)}return requireInherits_browser()(r,e),r.prototype._transform=function(u,t,a){a(null,u)},_stream_passthrough}function requirePipeline(){if(hasRequiredPipeline)return pipeline_1;var e;hasRequiredPipeline=1;var r=requireErrorsBrowser().codes,u=r.ERR_MISSING_ARGS,t=r.ERR_STREAM_DESTROYED;function a(o){if(o)throw o}function l(o){o()}function d(o,n){return o.pipe(n)}return pipeline_1=function(){for(var o=arguments.length,n=new Array(o),i=0;i<o;i++)n[i]=arguments[i];var s,f=(function(h){return h.length?typeof h[h.length-1]!="function"?a:h.pop():a})(n);if(Array.isArray(n[0])&&(n=n[0]),n.length<2)throw new u("streams");var c=n.map((function(h,p){var b=p<n.length-1;return(function(y,g,_,B){B=(function(P){var x=!1;return function(){x||(x=!0,P.apply(void 0,arguments))}})(B);var R=!1;y.on("close",(function(){R=!0})),e===void 0&&(e=requireEndOfStream()),e(y,{readable:g,writable:_},(function(P){if(P)return B(P);R=!0,B()}));var A=!1;return function(P){if(!R&&!A)return A=!0,(function(x){return x.setHeader&&typeof x.abort=="function"})(y)?y.abort():typeof y.destroy=="function"?y.destroy():void B(P||new t("pipe"))}})(h,b,p>0,(function(y){s||(s=y),y&&c.forEach(l),b||(c.forEach(l),f(s))}))}));return n.reduce(d)},pipeline_1}function requireStreamBrowserify(){if(hasRequiredStreamBrowserify)return streamBrowserify;hasRequiredStreamBrowserify=1,streamBrowserify=r;var e=requireEvents().EventEmitter;function r(){e.call(this)}return requireInherits_browser()(r,e),r.Readable=require_stream_readable(),r.Writable=require_stream_writable(),r.Duplex=require_stream_duplex(),r.Transform=require_stream_transform(),r.PassThrough=require_stream_passthrough(),r.finished=requireEndOfStream(),r.pipeline=requirePipeline(),r.Stream=r,r.prototype.pipe=function(u,t){var a=this;function l(c){u.writable&&u.write(c)===!1&&a.pause&&a.pause()}function d(){a.readable&&a.resume&&a.resume()}a.on("data",l),u.on("drain",d),u._isStdio||t&&t.end===!1||(a.on("end",n),a.on("close",i));var o=!1;function n(){o||(o=!0,u.end())}function i(){o||(o=!0,typeof u.destroy=="function"&&u.destroy())}function s(c){if(f(),e.listenerCount(this,"error")===0)throw c}function f(){a.removeListener("data",l),u.removeListener("drain",d),a.removeListener("end",n),a.removeListener("close",i),a.removeListener("error",s),u.removeListener("error",s),a.removeListener("end",f),a.removeListener("close",f),u.removeListener("close",f)}return a.on("error",s),u.on("error",s),a.on("end",f),a.on("close",f),u.on("close",f),u.emit("pipe",a),u},streamBrowserify}function requireHashBase$1(){if(hasRequiredHashBase$1)return hashBase$1;hasRequiredHashBase$1=1;var e=requireSafeBuffer().Buffer,r=requireStreamBrowserify().Transform;function u(l){r.call(this),this._block=e.allocUnsafe(l),this._blockSize=l,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}requireInherits_browser()(u,r),u.prototype._transform=function(l,d,o){var n=null;try{this.update(l,d)}catch(i){n=i}o(n)},u.prototype._flush=function(l){var d=null;try{this.push(this.digest())}catch(o){d=o}l(d)};var t=typeof Uint8Array<"u",a=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&ArrayBuffer.isView&&(e.prototype instanceof Uint8Array||e.TYPED_ARRAY_SUPPORT);return u.prototype.update=function(l,d){if(this._finalized)throw new Error("Digest already called");l=(function(c,h){if(c instanceof e)return c;if(typeof c=="string")return e.from(c,h);if(a&&ArrayBuffer.isView(c)){if(c.byteLength===0)return e.alloc(0);var p=e.from(c.buffer,c.byteOffset,c.byteLength);if(p.byteLength===c.byteLength)return p}if(t&&c instanceof Uint8Array||e.isBuffer(c)&&c.constructor&&typeof c.constructor.isBuffer=="function"&&c.constructor.isBuffer(c))return e.from(c);throw new TypeError('The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView.')})(l,d);for(var o=this._block,n=0;this._blockOffset+l.length-n>=this._blockSize;){for(var i=this._blockOffset;i<this._blockSize;)o[i++]=l[n++];this._update(),this._blockOffset=0}for(;n<l.length;)o[this._blockOffset++]=l[n++];for(var s=0,f=8*l.length;f>0;++s)this._length[s]+=f,(f=this._length[s]/4294967296|0)>0&&(this._length[s]-=4294967296*f);return this},u.prototype._update=function(){throw new Error("_update is not implemented")},u.prototype.digest=function(l){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var d=this._digest();l!==void 0&&(d=d.toString(l)),this._block.fill(0),this._blockOffset=0;for(var o=0;o<4;++o)this._length[o]=0;return d},u.prototype._digest=function(){throw new Error("_digest is not implemented")},hashBase$1=u}function requireMd5_js(){if(hasRequiredMd5_js)return md5_js;hasRequiredMd5_js=1;var e=requireInherits_browser(),r=requireHashBase$1(),u=requireSafeBuffer().Buffer,t=new Array(16);function a(){r.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function l(s,f){return s<<f|s>>>32-f}function d(s,f,c,h,p,b,y){return l(s+(f&c|~f&h)+p+b|0,y)+f|0}function o(s,f,c,h,p,b,y){return l(s+(f&h|c&~h)+p+b|0,y)+f|0}function n(s,f,c,h,p,b,y){return l(s+(f^c^h)+p+b|0,y)+f|0}function i(s,f,c,h,p,b,y){return l(s+(c^(f|~h))+p+b|0,y)+f|0}return e(a,r),a.prototype._update=function(){for(var s=t,f=0;f<16;++f)s[f]=this._block.readInt32LE(4*f);var c=this._a,h=this._b,p=this._c,b=this._d;c=d(c,h,p,b,s[0],3614090360,7),b=d(b,c,h,p,s[1],3905402710,12),p=d(p,b,c,h,s[2],606105819,17),h=d(h,p,b,c,s[3],3250441966,22),c=d(c,h,p,b,s[4],4118548399,7),b=d(b,c,h,p,s[5],1200080426,12),p=d(p,b,c,h,s[6],2821735955,17),h=d(h,p,b,c,s[7],4249261313,22),c=d(c,h,p,b,s[8],1770035416,7),b=d(b,c,h,p,s[9],2336552879,12),p=d(p,b,c,h,s[10],4294925233,17),h=d(h,p,b,c,s[11],2304563134,22),c=d(c,h,p,b,s[12],1804603682,7),b=d(b,c,h,p,s[13],4254626195,12),p=d(p,b,c,h,s[14],2792965006,17),c=o(c,h=d(h,p,b,c,s[15],1236535329,22),p,b,s[1],4129170786,5),b=o(b,c,h,p,s[6],3225465664,9),p=o(p,b,c,h,s[11],643717713,14),h=o(h,p,b,c,s[0],3921069994,20),c=o(c,h,p,b,s[5],3593408605,5),b=o(b,c,h,p,s[10],38016083,9),p=o(p,b,c,h,s[15],3634488961,14),h=o(h,p,b,c,s[4],3889429448,20),c=o(c,h,p,b,s[9],568446438,5),b=o(b,c,h,p,s[14],3275163606,9),p=o(p,b,c,h,s[3],4107603335,14),h=o(h,p,b,c,s[8],1163531501,20),c=o(c,h,p,b,s[13],2850285829,5),b=o(b,c,h,p,s[2],4243563512,9),p=o(p,b,c,h,s[7],1735328473,14),c=n(c,h=o(h,p,b,c,s[12],2368359562,20),p,b,s[5],4294588738,4),b=n(b,c,h,p,s[8],2272392833,11),p=n(p,b,c,h,s[11],1839030562,16),h=n(h,p,b,c,s[14],4259657740,23),c=n(c,h,p,b,s[1],2763975236,4),b=n(b,c,h,p,s[4],1272893353,11),p=n(p,b,c,h,s[7],4139469664,16),h=n(h,p,b,c,s[10],3200236656,23),c=n(c,h,p,b,s[13],681279174,4),b=n(b,c,h,p,s[0],3936430074,11),p=n(p,b,c,h,s[3],3572445317,16),h=n(h,p,b,c,s[6],76029189,23),c=n(c,h,p,b,s[9],3654602809,4),b=n(b,c,h,p,s[12],3873151461,11),p=n(p,b,c,h,s[15],530742520,16),c=i(c,h=n(h,p,b,c,s[2],3299628645,23),p,b,s[0],4096336452,6),b=i(b,c,h,p,s[7],1126891415,10),p=i(p,b,c,h,s[14],2878612391,15),h=i(h,p,b,c,s[5],4237533241,21),c=i(c,h,p,b,s[12],1700485571,6),b=i(b,c,h,p,s[3],2399980690,10),p=i(p,b,c,h,s[10],4293915773,15),h=i(h,p,b,c,s[1],2240044497,21),c=i(c,h,p,b,s[8],1873313359,6),b=i(b,c,h,p,s[15],4264355552,10),p=i(p,b,c,h,s[6],2734768916,15),h=i(h,p,b,c,s[13],1309151649,21),c=i(c,h,p,b,s[4],4149444226,6),b=i(b,c,h,p,s[11],3174756917,10),p=i(p,b,c,h,s[2],718787259,15),h=i(h,p,b,c,s[9],3951481745,21),this._a=this._a+c|0,this._b=this._b+h|0,this._c=this._c+p|0,this._d=this._d+b|0},a.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var s=u.allocUnsafe(16);return s.writeInt32LE(this._a,0),s.writeInt32LE(this._b,4),s.writeInt32LE(this._c,8),s.writeInt32LE(this._d,12),s},md5_js=a}function requireRipemd160$2(){if(hasRequiredRipemd160$2)return ripemd160$3;hasRequiredRipemd160$2=1;var e=requireDist().Buffer,r=requireInherits_browser(),u=requireHashBase$1(),t=new Array(16),a=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],l=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],d=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],o=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],n=[0,1518500249,1859775393,2400959708,2840853838],i=[1352829926,1548603684,1836072691,2053994217,0];function s(){u.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function f(g,_){return g<<_|g>>>32-_}function c(g,_,B,R,A,P,x,T){return f(g+(_^B^R)+P+x|0,T)+A|0}function h(g,_,B,R,A,P,x,T){return f(g+(_&B|~_&R)+P+x|0,T)+A|0}function p(g,_,B,R,A,P,x,T){return f(g+((_|~B)^R)+P+x|0,T)+A|0}function b(g,_,B,R,A,P,x,T){return f(g+(_&R|B&~R)+P+x|0,T)+A|0}function y(g,_,B,R,A,P,x,T){return f(g+(_^(B|~R))+P+x|0,T)+A|0}return r(s,u),s.prototype._update=function(){for(var g=t,_=0;_<16;++_)g[_]=this._block.readInt32LE(4*_);for(var B=0|this._a,R=0|this._b,A=0|this._c,P=0|this._d,x=0|this._e,T=0|this._a,z=0|this._b,v=0|this._c,E=0|this._d,$=0|this._e,q=0;q<80;q+=1){var m,w;q<16?(m=c(B,R,A,P,x,g[a[q]],n[0],d[q]),w=y(T,z,v,E,$,g[l[q]],i[0],o[q])):q<32?(m=h(B,R,A,P,x,g[a[q]],n[1],d[q]),w=b(T,z,v,E,$,g[l[q]],i[1],o[q])):q<48?(m=p(B,R,A,P,x,g[a[q]],n[2],d[q]),w=p(T,z,v,E,$,g[l[q]],i[2],o[q])):q<64?(m=b(B,R,A,P,x,g[a[q]],n[3],d[q]),w=h(T,z,v,E,$,g[l[q]],i[3],o[q])):(m=y(B,R,A,P,x,g[a[q]],n[4],d[q]),w=c(T,z,v,E,$,g[l[q]],i[4],o[q])),B=x,x=P,P=f(A,10),A=R,R=m,T=$,$=E,E=f(v,10),v=z,z=w}var C=this._b+A+E|0;this._b=this._c+P+$|0,this._c=this._d+x+T|0,this._d=this._e+B+z|0,this._e=this._a+R+v|0,this._a=C},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var g=e.alloc?e.alloc(20):new e(20);return g.writeInt32LE(this._a,0),g.writeInt32LE(this._b,4),g.writeInt32LE(this._c,8),g.writeInt32LE(this._d,12),g.writeInt32LE(this._e,16),g},ripemd160$3=s}var sha_js={exports:{}},isarray,hasRequiredIsarray,callBound,hasRequiredCallBound,forEach,hasRequiredForEach,possibleTypedArrayNames,hasRequiredPossibleTypedArrayNames,availableTypedArrays,hasRequiredAvailableTypedArrays;function requireIsarray(){if(hasRequiredIsarray)return isarray;hasRequiredIsarray=1;var e={}.toString;return isarray=Array.isArray||function(r){return e.call(r)=="[object Array]"}}function requireCallBound(){if(hasRequiredCallBound)return callBound;hasRequiredCallBound=1;var e=requireGetIntrinsic(),r=requireCallBindApplyHelpers(),u=r([e("%String.prototype.indexOf%")]);return callBound=function(t,a){var l=e(t,!!a);return typeof l=="function"&&u(t,".prototype.")>-1?r([l]):l}}function requireForEach(){if(hasRequiredForEach)return forEach;hasRequiredForEach=1;var e=requireIsCallable(),r=Object.prototype.toString,u=Object.prototype.hasOwnProperty;return forEach=function(t,a,l){if(!e(a))throw new TypeError("iterator must be a function");var d,o;arguments.length>=3&&(d=l),o=t,r.call(o)==="[object Array]"?(function(n,i,s){for(var f=0,c=n.length;f<c;f++)u.call(n,f)&&(s==null?i(n[f],f,n):i.call(s,n[f],f,n))})(t,a,d):typeof t=="string"?(function(n,i,s){for(var f=0,c=n.length;f<c;f++)s==null?i(n.charAt(f),f,n):i.call(s,n.charAt(f),f,n)})(t,a,d):(function(n,i,s){for(var f in n)u.call(n,f)&&(s==null?i(n[f],f,n):i.call(s,n[f],f,n))})(t,a,d)},forEach}function requirePossibleTypedArrayNames(){return hasRequiredPossibleTypedArrayNames?possibleTypedArrayNames:(hasRequiredPossibleTypedArrayNames=1,possibleTypedArrayNames=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"])}function requireAvailableTypedArrays(){if(hasRequiredAvailableTypedArrays)return availableTypedArrays;hasRequiredAvailableTypedArrays=1;var e=requirePossibleTypedArrayNames(),r=typeof globalThis>"u"?commonjsGlobal:globalThis;return availableTypedArrays=function(){for(var u=[],t=0;t<e.length;t++)typeof r[e[t]]=="function"&&(u[u.length]=e[t]);return u}}var callBind={exports:{}},defineDataProperty,hasRequiredDefineDataProperty,hasPropertyDescriptors_1,hasRequiredHasPropertyDescriptors,setFunctionLength,hasRequiredSetFunctionLength,applyBind,hasRequiredApplyBind,hasRequiredCallBind,shams,hasRequiredShams,whichTypedArray,hasRequiredWhichTypedArray,isTypedArray,hasRequiredIsTypedArray,typedArrayBuffer,hasRequiredTypedArrayBuffer,toBuffer,hasRequiredToBuffer$1,hash$1,hasRequiredHash$1,sha$1,hasRequiredSha$1,sha1$2,hasRequiredSha1$1,sha256$3,hasRequiredSha256$1,sha224$3,hasRequiredSha224$1,sha512$3,hasRequiredSha512$1,sha384$3,hasRequiredSha384$1,hasRequiredSha_js,cipherBase,hasRequiredCipherBase,browser$9,hasRequiredBrowser$9,legacy,hasRequiredLegacy,md5$3,hasRequiredMd5$2,browser$8,hasRequiredBrowser$8;function requireDefineDataProperty(){if(hasRequiredDefineDataProperty)return defineDataProperty;hasRequiredDefineDataProperty=1;var e=requireEsDefineProperty(),r=requireSyntax(),u=requireType(),t=requireGopd();return defineDataProperty=function(a,l,d){if(!a||typeof a!="object"&&typeof a!="function")throw new u("`obj` must be an object or a function`");if(typeof l!="string"&&typeof l!="symbol")throw new u("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new u("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new u("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new u("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new u("`loose`, if provided, must be a boolean");var o=arguments.length>3?arguments[3]:null,n=arguments.length>4?arguments[4]:null,i=arguments.length>5?arguments[5]:null,s=arguments.length>6&&arguments[6],f=!!t&&t(a,l);if(e)e(a,l,{configurable:i===null&&f?f.configurable:!i,enumerable:o===null&&f?f.enumerable:!o,value:d,writable:n===null&&f?f.writable:!n});else{if(!s&&(o||n||i))throw new r("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");a[l]=d}},defineDataProperty}function requireHasPropertyDescriptors(){if(hasRequiredHasPropertyDescriptors)return hasPropertyDescriptors_1;hasRequiredHasPropertyDescriptors=1;var e=requireEsDefineProperty(),r=function(){return!!e};return r.hasArrayLengthDefineBug=function(){if(!e)return null;try{return e([],"length",{value:1}).length!==1}catch{return!0}},hasPropertyDescriptors_1=r}function requireSetFunctionLength(){if(hasRequiredSetFunctionLength)return setFunctionLength;hasRequiredSetFunctionLength=1;var e=requireGetIntrinsic(),r=requireDefineDataProperty(),u=requireHasPropertyDescriptors()(),t=requireGopd(),a=requireType(),l=e("%Math.floor%");return setFunctionLength=function(d,o){if(typeof d!="function")throw new a("`fn` is not a function");if(typeof o!="number"||o<0||o>4294967295||l(o)!==o)throw new a("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,s=!0;if("length"in d&&t){var f=t(d,"length");f&&!f.configurable&&(i=!1),f&&!f.writable&&(s=!1)}return(i||s||!n)&&(u?r(d,"length",o,!0,!0):r(d,"length",o)),d},setFunctionLength}function requireApplyBind(){if(hasRequiredApplyBind)return applyBind;hasRequiredApplyBind=1;var e=requireFunctionBind(),r=requireFunctionApply(),u=requireActualApply();return applyBind=function(){return u(e,r,arguments)},applyBind}function requireCallBind(){return hasRequiredCallBind||(hasRequiredCallBind=1,(function(e){var r=requireSetFunctionLength(),u=requireEsDefineProperty(),t=requireCallBindApplyHelpers(),a=requireApplyBind();e.exports=function(l){var d=t(arguments),o=l.length-(arguments.length-1);return r(d,1+(o>0?o:0),!0)},u?u(e.exports,"apply",{value:a}):e.exports.apply=a})(callBind)),callBind.exports}function requireShams(){if(hasRequiredShams)return shams;hasRequiredShams=1;var e=requireShams$2();return shams=function(){return e()&&!!Symbol.toStringTag}}function requireWhichTypedArray(){if(hasRequiredWhichTypedArray)return whichTypedArray;hasRequiredWhichTypedArray=1;var e=requireForEach(),r=requireAvailableTypedArrays(),u=requireCallBind(),t=requireCallBound(),a=requireGopd(),l=requireGetProto(),d=t("Object.prototype.toString"),o=requireShams()(),n=typeof globalThis>"u"?commonjsGlobal:globalThis,i=r(),s=t("String.prototype.slice"),f=t("Array.prototype.indexOf",!0)||function(h,p){for(var b=0;b<h.length;b+=1)if(h[b]===p)return b;return-1},c={__proto__:null};return e(i,o&&a&&l?function(h){var p=new n[h];if(Symbol.toStringTag in p&&l){var b=l(p),y=a(b,Symbol.toStringTag);if(!y&&b){var g=l(b);y=a(g,Symbol.toStringTag)}c["$"+h]=u(y.get)}}:function(h){var p=new n[h],b=p.slice||p.set;b&&(c["$"+h]=u(b))}),whichTypedArray=function(h){if(!h||typeof h!="object")return!1;if(!o){var p=s(d(h),8,-1);return f(i,p)>-1?p:p==="Object"&&(function(b){var y=!1;return e(c,(function(g,_){if(!y)try{g(b),y=s(_,1)}catch{}})),y})(h)}return a?(function(b){var y=!1;return e(c,(function(g,_){if(!y)try{"$"+g(b)===_&&(y=s(_,1))}catch{}})),y})(h):null}}function requireIsTypedArray(){if(hasRequiredIsTypedArray)return isTypedArray;hasRequiredIsTypedArray=1;var e=requireWhichTypedArray();return isTypedArray=function(r){return!!e(r)}}function requireTypedArrayBuffer(){if(hasRequiredTypedArrayBuffer)return typedArrayBuffer;hasRequiredTypedArrayBuffer=1;var e=requireType(),r=requireCallBound()("TypedArray.prototype.buffer",!0),u=requireIsTypedArray();return typedArrayBuffer=r||function(t){if(!u(t))throw new e("Not a Typed Array");return t.buffer}}function requireToBuffer$1(){if(hasRequiredToBuffer$1)return toBuffer;hasRequiredToBuffer$1=1;var e=requireSafeBuffer().Buffer,r=requireIsarray(),u=requireTypedArrayBuffer(),t=ArrayBuffer.isView||function(o){try{return u(o),!0}catch{return!1}},a=typeof Uint8Array<"u",l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",d=l&&(e.prototype instanceof Uint8Array||e.TYPED_ARRAY_SUPPORT);return toBuffer=function(o,n){if(o instanceof e)return o;if(typeof o=="string")return e.from(o,n);if(l&&t(o)){if(o.byteLength===0)return e.alloc(0);if(d){var i=e.from(o.buffer,o.byteOffset,o.byteLength);if(i.byteLength===o.byteLength)return i}var s=o instanceof Uint8Array?o:new Uint8Array(o.buffer,o.byteOffset,o.byteLength),f=e.from(s);if(f.length===o.byteLength)return f}if(a&&o instanceof Uint8Array)return e.from(o);var c=r(o);if(c)for(var h=0;h<o.length;h+=1){var p=o[h];if(typeof p!="number"||p<0||p>255||~~p!==p)throw new RangeError("Array items must be numbers in the range 0-255.")}if(c||e.isBuffer(o)&&o.constructor&&typeof o.constructor.isBuffer=="function"&&o.constructor.isBuffer(o))return e.from(o);throw new TypeError('The "data" argument must be a string, an Array, a Buffer, a Uint8Array, or a DataView.')},toBuffer}function requireHash$1(){if(hasRequiredHash$1)return hash$1;hasRequiredHash$1=1;var e=requireSafeBuffer().Buffer,r=requireToBuffer$1();function u(t,a){this._block=e.alloc(t),this._finalSize=a,this._blockSize=t,this._len=0}return u.prototype.update=function(t,a){t=r(t,a||"utf8");for(var l=this._block,d=this._blockSize,o=t.length,n=this._len,i=0;i<o;){for(var s=n%d,f=Math.min(o-i,d-s),c=0;c<f;c++)l[s+c]=t[i+c];i+=f,(n+=f)%d==0&&this._update(l)}return this._len+=o,this},u.prototype.digest=function(t){var a=this._len%this._blockSize;this._block[a]=128,this._block.fill(0,a+1),a>=this._finalSize&&(this._update(this._block),this._block.fill(0));var l=8*this._len;if(l<=4294967295)this._block.writeUInt32BE(l,this._blockSize-4);else{var d=(4294967295&l)>>>0,o=(l-d)/4294967296;this._block.writeUInt32BE(o,this._blockSize-8),this._block.writeUInt32BE(d,this._blockSize-4)}this._update(this._block);var n=this._hash();return t?n.toString(t):n},u.prototype._update=function(){throw new Error("_update must be implemented by subclass")},hash$1=u}function requireSha$1(){if(hasRequiredSha$1)return sha$1;hasRequiredSha$1=1;var e=requireInherits_browser(),r=requireHash$1(),u=requireSafeBuffer().Buffer,t=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function l(){this.init(),this._w=a,r.call(this,64,56)}function d(n){return n<<30|n>>>2}function o(n,i,s,f){return n===0?i&s|~i&f:n===2?i&s|i&f|s&f:i^s^f}return e(l,r),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(n){for(var i,s=this._w,f=0|this._a,c=0|this._b,h=0|this._c,p=0|this._d,b=0|this._e,y=0;y<16;++y)s[y]=n.readInt32BE(4*y);for(;y<80;++y)s[y]=s[y-3]^s[y-8]^s[y-14]^s[y-16];for(var g=0;g<80;++g){var _=~~(g/20),B=0|((i=f)<<5|i>>>27)+o(_,c,h,p)+b+s[g]+t[_];b=p,p=h,h=d(c),c=f,f=B}this._a=f+this._a|0,this._b=c+this._b|0,this._c=h+this._c|0,this._d=p+this._d|0,this._e=b+this._e|0},l.prototype._hash=function(){var n=u.allocUnsafe(20);return n.writeInt32BE(0|this._a,0),n.writeInt32BE(0|this._b,4),n.writeInt32BE(0|this._c,8),n.writeInt32BE(0|this._d,12),n.writeInt32BE(0|this._e,16),n},sha$1=l}function requireSha1$1(){if(hasRequiredSha1$1)return sha1$2;hasRequiredSha1$1=1;var e=requireInherits_browser(),r=requireHash$1(),u=requireSafeBuffer().Buffer,t=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function l(){this.init(),this._w=a,r.call(this,64,56)}function d(i){return i<<5|i>>>27}function o(i){return i<<30|i>>>2}function n(i,s,f,c){return i===0?s&f|~s&c:i===2?s&f|s&c|f&c:s^f^c}return e(l,r),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(i){for(var s,f=this._w,c=0|this._a,h=0|this._b,p=0|this._c,b=0|this._d,y=0|this._e,g=0;g<16;++g)f[g]=i.readInt32BE(4*g);for(;g<80;++g)f[g]=(s=f[g-3]^f[g-8]^f[g-14]^f[g-16])<<1|s>>>31;for(var _=0;_<80;++_){var B=~~(_/20),R=d(c)+n(B,h,p,b)+y+f[_]+t[B]|0;y=b,b=p,p=o(h),h=c,c=R}this._a=c+this._a|0,this._b=h+this._b|0,this._c=p+this._c|0,this._d=b+this._d|0,this._e=y+this._e|0},l.prototype._hash=function(){var i=u.allocUnsafe(20);return i.writeInt32BE(0|this._a,0),i.writeInt32BE(0|this._b,4),i.writeInt32BE(0|this._c,8),i.writeInt32BE(0|this._d,12),i.writeInt32BE(0|this._e,16),i},sha1$2=l}function requireSha256$1(){if(hasRequiredSha256$1)return sha256$3;hasRequiredSha256$1=1;var e=requireInherits_browser(),r=requireHash$1(),u=requireSafeBuffer().Buffer,t=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],a=new Array(64);function l(){this.init(),this._w=a,r.call(this,64,56)}function d(f,c,h){return h^f&(c^h)}function o(f,c,h){return f&c|h&(f|c)}function n(f){return(f>>>2|f<<30)^(f>>>13|f<<19)^(f>>>22|f<<10)}function i(f){return(f>>>6|f<<26)^(f>>>11|f<<21)^(f>>>25|f<<7)}function s(f){return(f>>>7|f<<25)^(f>>>18|f<<14)^f>>>3}return e(l,r),l.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},l.prototype._update=function(f){for(var c,h=this._w,p=0|this._a,b=0|this._b,y=0|this._c,g=0|this._d,_=0|this._e,B=0|this._f,R=0|this._g,A=0|this._h,P=0;P<16;++P)h[P]=f.readInt32BE(4*P);for(;P<64;++P)h[P]=0|(((c=h[P-2])>>>17|c<<15)^(c>>>19|c<<13)^c>>>10)+h[P-7]+s(h[P-15])+h[P-16];for(var x=0;x<64;++x){var T=A+i(_)+d(_,B,R)+t[x]+h[x]|0,z=n(p)+o(p,b,y)|0;A=R,R=B,B=_,_=g+T|0,g=y,y=b,b=p,p=T+z|0}this._a=p+this._a|0,this._b=b+this._b|0,this._c=y+this._c|0,this._d=g+this._d|0,this._e=_+this._e|0,this._f=B+this._f|0,this._g=R+this._g|0,this._h=A+this._h|0},l.prototype._hash=function(){var f=u.allocUnsafe(32);return f.writeInt32BE(this._a,0),f.writeInt32BE(this._b,4),f.writeInt32BE(this._c,8),f.writeInt32BE(this._d,12),f.writeInt32BE(this._e,16),f.writeInt32BE(this._f,20),f.writeInt32BE(this._g,24),f.writeInt32BE(this._h,28),f},sha256$3=l}function requireSha224$1(){if(hasRequiredSha224$1)return sha224$3;hasRequiredSha224$1=1;var e=requireInherits_browser(),r=requireSha256$1(),u=requireHash$1(),t=requireSafeBuffer().Buffer,a=new Array(64);function l(){this.init(),this._w=a,u.call(this,64,56)}return e(l,r),l.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},l.prototype._hash=function(){var d=t.allocUnsafe(28);return d.writeInt32BE(this._a,0),d.writeInt32BE(this._b,4),d.writeInt32BE(this._c,8),d.writeInt32BE(this._d,12),d.writeInt32BE(this._e,16),d.writeInt32BE(this._f,20),d.writeInt32BE(this._g,24),d},sha224$3=l}function requireSha512$1(){if(hasRequiredSha512$1)return sha512$3;hasRequiredSha512$1=1;var e=requireInherits_browser(),r=requireHash$1(),u=requireSafeBuffer().Buffer,t=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],a=new Array(160);function l(){this.init(),this._w=a,r.call(this,128,112)}function d(b,y,g){return g^b&(y^g)}function o(b,y,g){return b&y|g&(b|y)}function n(b,y){return(b>>>28|y<<4)^(y>>>2|b<<30)^(y>>>7|b<<25)}function i(b,y){return(b>>>14|y<<18)^(b>>>18|y<<14)^(y>>>9|b<<23)}function s(b,y){return(b>>>1|y<<31)^(b>>>8|y<<24)^b>>>7}function f(b,y){return(b>>>1|y<<31)^(b>>>8|y<<24)^(b>>>7|y<<25)}function c(b,y){return(b>>>19|y<<13)^(y>>>29|b<<3)^b>>>6}function h(b,y){return(b>>>19|y<<13)^(y>>>29|b<<3)^(b>>>6|y<<26)}function p(b,y){return b>>>0<y>>>0?1:0}return e(l,r),l.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},l.prototype._update=function(b){for(var y=this._w,g=0|this._ah,_=0|this._bh,B=0|this._ch,R=0|this._dh,A=0|this._eh,P=0|this._fh,x=0|this._gh,T=0|this._hh,z=0|this._al,v=0|this._bl,E=0|this._cl,$=0|this._dl,q=0|this._el,m=0|this._fl,w=0|this._gl,C=0|this._hl,j=0;j<32;j+=2)y[j]=b.readInt32BE(4*j),y[j+1]=b.readInt32BE(4*j+4);for(;j<160;j+=2){var N=y[j-30],L=y[j-30+1],U=s(N,L),D=f(L,N),I=c(N=y[j-4],L=y[j-4+1]),O=h(L,N),G=y[j-14],X=y[j-14+1],te=y[j-32],Z=y[j-32+1],V=D+X|0,Q=U+G+p(V,D)|0;Q=(Q=Q+I+p(V=V+O|0,O)|0)+te+p(V=V+Z|0,Z)|0,y[j]=Q,y[j+1]=V}for(var Y=0;Y<160;Y+=2){Q=y[Y],V=y[Y+1];var J=o(g,_,B),ce=o(z,v,E),oe=n(g,z),ne=n(z,g),_e=i(A,q),re=i(q,A),ie=t[Y],ye=t[Y+1],se=d(A,P,x),fe=d(q,m,w),me=C+re|0,le=T+_e+p(me,C)|0;le=(le=(le=le+se+p(me=me+fe|0,fe)|0)+ie+p(me=me+ye|0,ye)|0)+Q+p(me=me+V|0,V)|0;var he=ne+ce|0,Ee=oe+J+p(he,ne)|0;T=x,C=w,x=P,w=m,P=A,m=q,A=R+le+p(q=$+me|0,$)|0,R=B,$=E,B=_,E=v,_=g,v=z,g=le+Ee+p(z=me+he|0,me)|0}this._al=this._al+z|0,this._bl=this._bl+v|0,this._cl=this._cl+E|0,this._dl=this._dl+$|0,this._el=this._el+q|0,this._fl=this._fl+m|0,this._gl=this._gl+w|0,this._hl=this._hl+C|0,this._ah=this._ah+g+p(this._al,z)|0,this._bh=this._bh+_+p(this._bl,v)|0,this._ch=this._ch+B+p(this._cl,E)|0,this._dh=this._dh+R+p(this._dl,$)|0,this._eh=this._eh+A+p(this._el,q)|0,this._fh=this._fh+P+p(this._fl,m)|0,this._gh=this._gh+x+p(this._gl,w)|0,this._hh=this._hh+T+p(this._hl,C)|0},l.prototype._hash=function(){var b=u.allocUnsafe(64);function y(g,_,B){b.writeInt32BE(g,B),b.writeInt32BE(_,B+4)}return y(this._ah,this._al,0),y(this._bh,this._bl,8),y(this._ch,this._cl,16),y(this._dh,this._dl,24),y(this._eh,this._el,32),y(this._fh,this._fl,40),y(this._gh,this._gl,48),y(this._hh,this._hl,56),b},sha512$3=l}function requireSha384$1(){if(hasRequiredSha384$1)return sha384$3;hasRequiredSha384$1=1;var e=requireInherits_browser(),r=requireSha512$1(),u=requireHash$1(),t=requireSafeBuffer().Buffer,a=new Array(160);function l(){this.init(),this._w=a,u.call(this,128,112)}return e(l,r),l.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},l.prototype._hash=function(){var d=t.allocUnsafe(48);function o(n,i,s){d.writeInt32BE(n,s),d.writeInt32BE(i,s+4)}return o(this._ah,this._al,0),o(this._bh,this._bl,8),o(this._ch,this._cl,16),o(this._dh,this._dl,24),o(this._eh,this._el,32),o(this._fh,this._fl,40),d},sha384$3=l}function requireSha_js(){return hasRequiredSha_js||(hasRequiredSha_js=1,(e=sha_js).exports=function(r){var u=r.toLowerCase(),t=e.exports[u];if(!t)throw new Error(u+" is not supported (we accept pull requests)");return new t},e.exports.sha=requireSha$1(),e.exports.sha1=requireSha1$1(),e.exports.sha224=requireSha224$1(),e.exports.sha256=requireSha256$1(),e.exports.sha384=requireSha384$1(),e.exports.sha512=requireSha512$1()),sha_js.exports;var e}function requireCipherBase(){if(hasRequiredCipherBase)return cipherBase;hasRequiredCipherBase=1;var e=requireSafeBuffer().Buffer,r=requireStreamBrowserify().Transform,u=requireString_decoder().StringDecoder;function t(d){r.call(this),this.hashMode=typeof d=="string",this.hashMode?this[d]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}requireInherits_browser()(t,r);var a=typeof Uint8Array<"u",l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&ArrayBuffer.isView&&(e.prototype instanceof Uint8Array||e.TYPED_ARRAY_SUPPORT);return t.prototype.update=function(d,o,n){var i=(function(f,c){if(f instanceof e)return f;if(typeof f=="string")return e.from(f,c);if(l&&ArrayBuffer.isView(f)){if(f.byteLength===0)return e.alloc(0);var h=e.from(f.buffer,f.byteOffset,f.byteLength);if(h.byteLength===f.byteLength)return h}if(a&&f instanceof Uint8Array||e.isBuffer(f)&&f.constructor&&typeof f.constructor.isBuffer=="function"&&f.constructor.isBuffer(f))return e.from(f);throw new TypeError('The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView.')})(d,o),s=this._update(i);return this.hashMode?this:(n&&(s=this._toString(s,n)),s)},t.prototype.setAutoPadding=function(){},t.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},t.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},t.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},t.prototype._transform=function(d,o,n){var i;try{this.hashMode?this._update(d):this.push(this._update(d))}catch(s){i=s}finally{n(i)}},t.prototype._flush=function(d){var o;try{this.push(this.__final())}catch(n){o=n}d(o)},t.prototype._finalOrDigest=function(d){var o=this.__final()||e.alloc(0);return d&&(o=this._toString(o,d,!0)),o},t.prototype._toString=function(d,o,n){if(this._decoder||(this._decoder=new u(o),this._encoding=o),this._encoding!==o)throw new Error("can’t switch encodings");var i=this._decoder.write(d);return n&&(i+=this._decoder.end()),i},cipherBase=t}function requireBrowser$9(){if(hasRequiredBrowser$9)return browser$9;hasRequiredBrowser$9=1;var e=requireInherits_browser(),r=requireMd5_js(),u=requireRipemd160$2(),t=requireSha_js(),a=requireCipherBase();function l(d){a.call(this,"digest"),this._hash=d}return e(l,a),l.prototype._update=function(d){this._hash.update(d)},l.prototype._final=function(){return this._hash.digest()},browser$9=function(d){return(d=d.toLowerCase())==="md5"?new r:d==="rmd160"||d==="ripemd160"?new u:new l(t(d))}}function requireLegacy(){if(hasRequiredLegacy)return legacy;hasRequiredLegacy=1;var e=requireInherits_browser(),r=requireSafeBuffer().Buffer,u=requireCipherBase(),t=r.alloc(128),a=64;function l(d,o){u.call(this,"digest"),typeof o=="string"&&(o=r.from(o)),this._alg=d,this._key=o,o.length>a?o=d(o):o.length<a&&(o=r.concat([o,t],a));for(var n=this._ipad=r.allocUnsafe(a),i=this._opad=r.allocUnsafe(a),s=0;s<a;s++)n[s]=54^o[s],i[s]=92^o[s];this._hash=[n]}return e(l,u),l.prototype._update=function(d){this._hash.push(d)},l.prototype._final=function(){var d=this._alg(r.concat(this._hash));return this._alg(r.concat([this._opad,d]))},legacy=l}function requireMd5$2(){if(hasRequiredMd5$2)return md5$3;hasRequiredMd5$2=1;var e=requireMd5_js();return md5$3=function(r){return new e().update(r).digest()},md5$3}function requireBrowser$8(){if(hasRequiredBrowser$8)return browser$8;hasRequiredBrowser$8=1;var e=requireInherits_browser(),r=requireLegacy(),u=requireCipherBase(),t=requireSafeBuffer().Buffer,a=requireMd5$2(),l=requireRipemd160$2(),d=requireSha_js(),o=t.alloc(128);function n(i,s){u.call(this,"digest"),typeof s=="string"&&(s=t.from(s));var f=i==="sha512"||i==="sha384"?128:64;this._alg=i,this._key=s,s.length>f?s=(i==="rmd160"?new l:d(i)).update(s).digest():s.length<f&&(s=t.concat([s,o],f));for(var c=this._ipad=t.allocUnsafe(f),h=this._opad=t.allocUnsafe(f),p=0;p<f;p++)c[p]=54^s[p],h[p]=92^s[p];this._hash=i==="rmd160"?new l:d(i),this._hash.update(c)}return e(n,u),n.prototype._update=function(i){this._hash.update(i)},n.prototype._final=function(){var i=this._hash.digest();return(this._alg==="rmd160"?new l:d(this._alg)).update(this._opad).update(i).digest()},browser$8=function(i,s){return(i=i.toLowerCase())==="rmd160"||i==="ripemd160"?new n("rmd160",s):i==="md5"?new r(a,s):new n(i,s)},browser$8}const sha224WithRSAEncryption={sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption={sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption={sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption={sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},sha256$2={sign:"ecdsa",hash:"sha256",id:""},sha224$2={sign:"ecdsa",hash:"sha224",id:""},sha384$2={sign:"ecdsa",hash:"sha384",id:""},sha512$2={sign:"ecdsa",hash:"sha512",id:""},DSA={sign:"dsa",hash:"sha1",id:""},ripemd160WithRSA={sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption={sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},require$$6={sha224WithRSAEncryption,"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption,"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption,"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption,"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:sha256$2,sha224:sha224$2,sha384:sha384$2,sha512:sha512$2,"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA,"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA,"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption,"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}};var algos,hasRequiredAlgos;function requireAlgos(){return hasRequiredAlgos?algos:(hasRequiredAlgos=1,algos=require$$6)}var browser$7={},precondition,hasRequiredPrecondition,defaultEncoding_1,hasRequiredDefaultEncoding,makeHash,hasRequiredMakeHash,md5$2,hasRequiredMd5$1,hashBase,hasRequiredHashBase,ripemd160$2,hasRequiredRipemd160$1,toBuffer_1,hasRequiredToBuffer,syncBrowser,hasRequiredSyncBrowser,async,hasRequiredAsync,hasRequiredBrowser$7;function requirePrecondition(){if(hasRequiredPrecondition)return precondition;hasRequiredPrecondition=1;var e=Math.pow(2,30)-1;return precondition=function(r,u){if(typeof r!="number")throw new TypeError("Iterations not a number");if(r<0)throw new TypeError("Bad iterations");if(typeof u!="number")throw new TypeError("Key length not a number");if(u<0||u>e||u!=u)throw new TypeError("Bad key length")}}function requireDefaultEncoding(){if(hasRequiredDefaultEncoding)return defaultEncoding_1;var e;return hasRequiredDefaultEncoding=1,commonjsGlobal.process&&commonjsGlobal.process.browser?e="utf-8":commonjsGlobal.process&&commonjsGlobal.process.version?e=parseInt(process$1.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary":e="utf-8",defaultEncoding_1=e}function requireMakeHash(){if(hasRequiredMakeHash)return makeHash;hasRequiredMakeHash=1;var e=new Buffer(4);return e.fill(0),makeHash=function(r,u){var t=u((function(l){if(l.length%4!=0){var d=l.length+(4-l.length%4);l=Buffer.concat([l,e],d)}for(var o=new Array(l.length>>>2),n=0,i=0;n<l.length;n+=4,i++)o[i]=l.readInt32LE(n);return o})(r),8*r.length);r=new Buffer(16);for(var a=0;a<t.length;a++)r.writeInt32LE(t[a],a<<2,!0);return r}}function requireMd5$1(){if(hasRequiredMd5$1)return md5$2;hasRequiredMd5$1=1;var e=requireMakeHash();function r(n,i){n[i>>5]|=128<<i%32,n[14+(i+64>>>9<<4)]=i;for(var s=1732584193,f=-271733879,c=-1732584194,h=271733878,p=0;p<n.length;p+=16){var b=s,y=f,g=c,_=h;s=t(s,f,c,h,n[p+0],7,-680876936),h=t(h,s,f,c,n[p+1],12,-389564586),c=t(c,h,s,f,n[p+2],17,606105819),f=t(f,c,h,s,n[p+3],22,-1044525330),s=t(s,f,c,h,n[p+4],7,-176418897),h=t(h,s,f,c,n[p+5],12,1200080426),c=t(c,h,s,f,n[p+6],17,-1473231341),f=t(f,c,h,s,n[p+7],22,-45705983),s=t(s,f,c,h,n[p+8],7,1770035416),h=t(h,s,f,c,n[p+9],12,-1958414417),c=t(c,h,s,f,n[p+10],17,-42063),f=t(f,c,h,s,n[p+11],22,-1990404162),s=t(s,f,c,h,n[p+12],7,1804603682),h=t(h,s,f,c,n[p+13],12,-40341101),c=t(c,h,s,f,n[p+14],17,-1502002290),s=a(s,f=t(f,c,h,s,n[p+15],22,1236535329),c,h,n[p+1],5,-165796510),h=a(h,s,f,c,n[p+6],9,-1069501632),c=a(c,h,s,f,n[p+11],14,643717713),f=a(f,c,h,s,n[p+0],20,-373897302),s=a(s,f,c,h,n[p+5],5,-701558691),h=a(h,s,f,c,n[p+10],9,38016083),c=a(c,h,s,f,n[p+15],14,-660478335),f=a(f,c,h,s,n[p+4],20,-405537848),s=a(s,f,c,h,n[p+9],5,568446438),h=a(h,s,f,c,n[p+14],9,-1019803690),c=a(c,h,s,f,n[p+3],14,-187363961),f=a(f,c,h,s,n[p+8],20,1163531501),s=a(s,f,c,h,n[p+13],5,-1444681467),h=a(h,s,f,c,n[p+2],9,-51403784),c=a(c,h,s,f,n[p+7],14,1735328473),s=l(s,f=a(f,c,h,s,n[p+12],20,-1926607734),c,h,n[p+5],4,-378558),h=l(h,s,f,c,n[p+8],11,-2022574463),c=l(c,h,s,f,n[p+11],16,1839030562),f=l(f,c,h,s,n[p+14],23,-35309556),s=l(s,f,c,h,n[p+1],4,-1530992060),h=l(h,s,f,c,n[p+4],11,1272893353),c=l(c,h,s,f,n[p+7],16,-155497632),f=l(f,c,h,s,n[p+10],23,-1094730640),s=l(s,f,c,h,n[p+13],4,681279174),h=l(h,s,f,c,n[p+0],11,-358537222),c=l(c,h,s,f,n[p+3],16,-722521979),f=l(f,c,h,s,n[p+6],23,76029189),s=l(s,f,c,h,n[p+9],4,-640364487),h=l(h,s,f,c,n[p+12],11,-421815835),c=l(c,h,s,f,n[p+15],16,530742520),s=d(s,f=l(f,c,h,s,n[p+2],23,-995338651),c,h,n[p+0],6,-198630844),h=d(h,s,f,c,n[p+7],10,1126891415),c=d(c,h,s,f,n[p+14],15,-1416354905),f=d(f,c,h,s,n[p+5],21,-57434055),s=d(s,f,c,h,n[p+12],6,1700485571),h=d(h,s,f,c,n[p+3],10,-1894986606),c=d(c,h,s,f,n[p+10],15,-1051523),f=d(f,c,h,s,n[p+1],21,-2054922799),s=d(s,f,c,h,n[p+8],6,1873313359),h=d(h,s,f,c,n[p+15],10,-30611744),c=d(c,h,s,f,n[p+6],15,-1560198380),f=d(f,c,h,s,n[p+13],21,1309151649),s=d(s,f,c,h,n[p+4],6,-145523070),h=d(h,s,f,c,n[p+11],10,-1120210379),c=d(c,h,s,f,n[p+2],15,718787259),f=d(f,c,h,s,n[p+9],21,-343485551),s=o(s,b),f=o(f,y),c=o(c,g),h=o(h,_)}return[s,f,c,h]}function u(n,i,s,f,c,h){return o((p=o(o(i,n),o(f,h)))<<(b=c)|p>>>32-b,s);var p,b}function t(n,i,s,f,c,h,p){return u(i&s|~i&f,n,i,c,h,p)}function a(n,i,s,f,c,h,p){return u(i&f|s&~f,n,i,c,h,p)}function l(n,i,s,f,c,h,p){return u(i^s^f,n,i,c,h,p)}function d(n,i,s,f,c,h,p){return u(s^(i|~f),n,i,c,h,p)}function o(n,i){var s=(65535&n)+(65535&i);return(n>>16)+(i>>16)+(s>>16)<<16|65535&s}return md5$2=function(n){return e(n,r)}}function requireHashBase(){if(hasRequiredHashBase)return hashBase;hasRequiredHashBase=1;var e=requireStreamBrowserify().Transform;function r(u){e.call(this),this._block=new Buffer(u),this._blockSize=u,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}return requireInherits_browser()(r,e),r.prototype._transform=function(u,t,a){var l=null;try{t!=="buffer"&&(u=new Buffer(u,t)),this.update(u)}catch(d){l=d}a(l)},r.prototype._flush=function(u){var t=null;try{this.push(this._digest())}catch(a){t=a}u(t)},r.prototype.update=function(u,t){if(!Buffer.isBuffer(u)&&typeof u!="string")throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Digest already called");Buffer.isBuffer(u)||(u=new Buffer(u,t||"binary"));for(var a=this._block,l=0;this._blockOffset+u.length-l>=this._blockSize;){for(var d=this._blockOffset;d<this._blockSize;)a[d++]=u[l++];this._update(),this._blockOffset=0}for(;l<u.length;)a[this._blockOffset++]=u[l++];for(var o=0,n=8*u.length;n>0;++o)this._length[o]+=n,(n=this._length[o]/4294967296|0)>0&&(this._length[o]-=4294967296*n);return this},r.prototype._update=function(u){throw new Error("_update is not implemented")},r.prototype.digest=function(u){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();return u!==void 0&&(t=t.toString(u)),t},r.prototype._digest=function(){throw new Error("_digest is not implemented")},hashBase=r}function requireRipemd160$1(){if(hasRequiredRipemd160$1)return ripemd160$2;hasRequiredRipemd160$1=1;var e=requireInherits_browser(),r=requireHashBase();function u(){r.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function t(i,s){return i<<s|i>>>32-s}function a(i,s,f,c,h,p,b,y){return t(i+(s^f^c)+p+b|0,y)+h|0}function l(i,s,f,c,h,p,b,y){return t(i+(s&f|~s&c)+p+b|0,y)+h|0}function d(i,s,f,c,h,p,b,y){return t(i+((s|~f)^c)+p+b|0,y)+h|0}function o(i,s,f,c,h,p,b,y){return t(i+(s&c|f&~c)+p+b|0,y)+h|0}function n(i,s,f,c,h,p,b,y){return t(i+(s^(f|~c))+p+b|0,y)+h|0}return e(u,r),u.prototype._update=function(){for(var i=new Array(16),s=0;s<16;++s)i[s]=this._block.readInt32LE(4*s);var f=this._a,c=this._b,h=this._c,p=this._d,b=this._e;f=a(f,c,h,p,b,i[0],0,11),b=a(b,f,c,h=t(h,10),p,i[1],0,14),p=a(p,b,f,c=t(c,10),h,i[2],0,15),h=a(h,p,b,f=t(f,10),c,i[3],0,12),c=a(c,h,p,b=t(b,10),f,i[4],0,5),f=a(f,c,h,p=t(p,10),b,i[5],0,8),b=a(b,f,c,h=t(h,10),p,i[6],0,7),p=a(p,b,f,c=t(c,10),h,i[7],0,9),h=a(h,p,b,f=t(f,10),c,i[8],0,11),c=a(c,h,p,b=t(b,10),f,i[9],0,13),f=a(f,c,h,p=t(p,10),b,i[10],0,14),b=a(b,f,c,h=t(h,10),p,i[11],0,15),p=a(p,b,f,c=t(c,10),h,i[12],0,6),h=a(h,p,b,f=t(f,10),c,i[13],0,7),c=a(c,h,p,b=t(b,10),f,i[14],0,9),b=l(b,f=a(f,c,h,p=t(p,10),b,i[15],0,8),c,h=t(h,10),p,i[7],1518500249,7),p=l(p,b,f,c=t(c,10),h,i[4],1518500249,6),h=l(h,p,b,f=t(f,10),c,i[13],1518500249,8),c=l(c,h,p,b=t(b,10),f,i[1],1518500249,13),f=l(f,c,h,p=t(p,10),b,i[10],1518500249,11),b=l(b,f,c,h=t(h,10),p,i[6],1518500249,9),p=l(p,b,f,c=t(c,10),h,i[15],1518500249,7),h=l(h,p,b,f=t(f,10),c,i[3],1518500249,15),c=l(c,h,p,b=t(b,10),f,i[12],1518500249,7),f=l(f,c,h,p=t(p,10),b,i[0],1518500249,12),b=l(b,f,c,h=t(h,10),p,i[9],1518500249,15),p=l(p,b,f,c=t(c,10),h,i[5],1518500249,9),h=l(h,p,b,f=t(f,10),c,i[2],1518500249,11),c=l(c,h,p,b=t(b,10),f,i[14],1518500249,7),f=l(f,c,h,p=t(p,10),b,i[11],1518500249,13),p=d(p,b=l(b,f,c,h=t(h,10),p,i[8],1518500249,12),f,c=t(c,10),h,i[3],1859775393,11),h=d(h,p,b,f=t(f,10),c,i[10],1859775393,13),c=d(c,h,p,b=t(b,10),f,i[14],1859775393,6),f=d(f,c,h,p=t(p,10),b,i[4],1859775393,7),b=d(b,f,c,h=t(h,10),p,i[9],1859775393,14),p=d(p,b,f,c=t(c,10),h,i[15],1859775393,9),h=d(h,p,b,f=t(f,10),c,i[8],1859775393,13),c=d(c,h,p,b=t(b,10),f,i[1],1859775393,15),f=d(f,c,h,p=t(p,10),b,i[2],1859775393,14),b=d(b,f,c,h=t(h,10),p,i[7],1859775393,8),p=d(p,b,f,c=t(c,10),h,i[0],1859775393,13),h=d(h,p,b,f=t(f,10),c,i[6],1859775393,6),c=d(c,h,p,b=t(b,10),f,i[13],1859775393,5),f=d(f,c,h,p=t(p,10),b,i[11],1859775393,12),b=d(b,f,c,h=t(h,10),p,i[5],1859775393,7),h=o(h,p=d(p,b,f,c=t(c,10),h,i[12],1859775393,5),b,f=t(f,10),c,i[1],2400959708,11),c=o(c,h,p,b=t(b,10),f,i[9],2400959708,12),f=o(f,c,h,p=t(p,10),b,i[11],2400959708,14),b=o(b,f,c,h=t(h,10),p,i[10],2400959708,15),p=o(p,b,f,c=t(c,10),h,i[0],2400959708,14),h=o(h,p,b,f=t(f,10),c,i[8],2400959708,15),c=o(c,h,p,b=t(b,10),f,i[12],2400959708,9),f=o(f,c,h,p=t(p,10),b,i[4],2400959708,8),b=o(b,f,c,h=t(h,10),p,i[13],2400959708,9),p=o(p,b,f,c=t(c,10),h,i[3],2400959708,14),h=o(h,p,b,f=t(f,10),c,i[7],2400959708,5),c=o(c,h,p,b=t(b,10),f,i[15],2400959708,6),f=o(f,c,h,p=t(p,10),b,i[14],2400959708,8),b=o(b,f,c,h=t(h,10),p,i[5],2400959708,6),p=o(p,b,f,c=t(c,10),h,i[6],2400959708,5),c=n(c,h=o(h,p,b,f=t(f,10),c,i[2],2400959708,12),p,b=t(b,10),f,i[4],2840853838,9),f=n(f,c,h,p=t(p,10),b,i[0],2840853838,15),b=n(b,f,c,h=t(h,10),p,i[5],2840853838,5),p=n(p,b,f,c=t(c,10),h,i[9],2840853838,11),h=n(h,p,b,f=t(f,10),c,i[7],2840853838,6),c=n(c,h,p,b=t(b,10),f,i[12],2840853838,8),f=n(f,c,h,p=t(p,10),b,i[2],2840853838,13),b=n(b,f,c,h=t(h,10),p,i[10],2840853838,12),p=n(p,b,f,c=t(c,10),h,i[14],2840853838,5),h=n(h,p,b,f=t(f,10),c,i[1],2840853838,12),c=n(c,h,p,b=t(b,10),f,i[3],2840853838,13),f=n(f,c,h,p=t(p,10),b,i[8],2840853838,14),b=n(b,f,c,h=t(h,10),p,i[11],2840853838,11),p=n(p,b,f,c=t(c,10),h,i[6],2840853838,8),h=n(h,p,b,f=t(f,10),c,i[15],2840853838,5),c=n(c,h,p,b=t(b,10),f,i[13],2840853838,6),p=t(p,10);var y=this._a,g=this._b,_=this._c,B=this._d,R=this._e;y=n(y,g,_,B,R,i[5],1352829926,8),R=n(R,y,g,_=t(_,10),B,i[14],1352829926,9),B=n(B,R,y,g=t(g,10),_,i[7],1352829926,9),_=n(_,B,R,y=t(y,10),g,i[0],1352829926,11),g=n(g,_,B,R=t(R,10),y,i[9],1352829926,13),y=n(y,g,_,B=t(B,10),R,i[2],1352829926,15),R=n(R,y,g,_=t(_,10),B,i[11],1352829926,15),B=n(B,R,y,g=t(g,10),_,i[4],1352829926,5),_=n(_,B,R,y=t(y,10),g,i[13],1352829926,7),g=n(g,_,B,R=t(R,10),y,i[6],1352829926,7),y=n(y,g,_,B=t(B,10),R,i[15],1352829926,8),R=n(R,y,g,_=t(_,10),B,i[8],1352829926,11),B=n(B,R,y,g=t(g,10),_,i[1],1352829926,14),_=n(_,B,R,y=t(y,10),g,i[10],1352829926,14),g=n(g,_,B,R=t(R,10),y,i[3],1352829926,12),R=o(R,y=n(y,g,_,B=t(B,10),R,i[12],1352829926,6),g,_=t(_,10),B,i[6],1548603684,9),B=o(B,R,y,g=t(g,10),_,i[11],1548603684,13),_=o(_,B,R,y=t(y,10),g,i[3],1548603684,15),g=o(g,_,B,R=t(R,10),y,i[7],1548603684,7),y=o(y,g,_,B=t(B,10),R,i[0],1548603684,12),R=o(R,y,g,_=t(_,10),B,i[13],1548603684,8),B=o(B,R,y,g=t(g,10),_,i[5],1548603684,9),_=o(_,B,R,y=t(y,10),g,i[10],1548603684,11),g=o(g,_,B,R=t(R,10),y,i[14],1548603684,7),y=o(y,g,_,B=t(B,10),R,i[15],1548603684,7),R=o(R,y,g,_=t(_,10),B,i[8],1548603684,12),B=o(B,R,y,g=t(g,10),_,i[12],1548603684,7),_=o(_,B,R,y=t(y,10),g,i[4],1548603684,6),g=o(g,_,B,R=t(R,10),y,i[9],1548603684,15),y=o(y,g,_,B=t(B,10),R,i[1],1548603684,13),B=d(B,R=o(R,y,g,_=t(_,10),B,i[2],1548603684,11),y,g=t(g,10),_,i[15],1836072691,9),_=d(_,B,R,y=t(y,10),g,i[5],1836072691,7),g=d(g,_,B,R=t(R,10),y,i[1],1836072691,15),y=d(y,g,_,B=t(B,10),R,i[3],1836072691,11),R=d(R,y,g,_=t(_,10),B,i[7],1836072691,8),B=d(B,R,y,g=t(g,10),_,i[14],1836072691,6),_=d(_,B,R,y=t(y,10),g,i[6],1836072691,6),g=d(g,_,B,R=t(R,10),y,i[9],1836072691,14),y=d(y,g,_,B=t(B,10),R,i[11],1836072691,12),R=d(R,y,g,_=t(_,10),B,i[8],1836072691,13),B=d(B,R,y,g=t(g,10),_,i[12],1836072691,5),_=d(_,B,R,y=t(y,10),g,i[2],1836072691,14),g=d(g,_,B,R=t(R,10),y,i[10],1836072691,13),y=d(y,g,_,B=t(B,10),R,i[0],1836072691,13),R=d(R,y,g,_=t(_,10),B,i[4],1836072691,7),_=l(_,B=d(B,R,y,g=t(g,10),_,i[13],1836072691,5),R,y=t(y,10),g,i[8],2053994217,15),g=l(g,_,B,R=t(R,10),y,i[6],2053994217,5),y=l(y,g,_,B=t(B,10),R,i[4],2053994217,8),R=l(R,y,g,_=t(_,10),B,i[1],2053994217,11),B=l(B,R,y,g=t(g,10),_,i[3],2053994217,14),_=l(_,B,R,y=t(y,10),g,i[11],2053994217,14),g=l(g,_,B,R=t(R,10),y,i[15],2053994217,6),y=l(y,g,_,B=t(B,10),R,i[0],2053994217,14),R=l(R,y,g,_=t(_,10),B,i[5],2053994217,6),B=l(B,R,y,g=t(g,10),_,i[12],2053994217,9),_=l(_,B,R,y=t(y,10),g,i[2],2053994217,12),g=l(g,_,B,R=t(R,10),y,i[13],2053994217,9),y=l(y,g,_,B=t(B,10),R,i[9],2053994217,12),R=l(R,y,g,_=t(_,10),B,i[7],2053994217,5),B=l(B,R,y,g=t(g,10),_,i[10],2053994217,15),g=a(g,_=l(_,B,R,y=t(y,10),g,i[14],2053994217,8),B,R=t(R,10),y,i[12],0,8),y=a(y,g,_,B=t(B,10),R,i[15],0,5),R=a(R,y,g,_=t(_,10),B,i[10],0,12),B=a(B,R,y,g=t(g,10),_,i[4],0,9),_=a(_,B,R,y=t(y,10),g,i[1],0,12),g=a(g,_,B,R=t(R,10),y,i[5],0,5),y=a(y,g,_,B=t(B,10),R,i[8],0,14),R=a(R,y,g,_=t(_,10),B,i[7],0,6),B=a(B,R,y,g=t(g,10),_,i[6],0,8),_=a(_,B,R,y=t(y,10),g,i[2],0,13),g=a(g,_,B,R=t(R,10),y,i[13],0,6),y=a(y,g,_,B=t(B,10),R,i[14],0,5),R=a(R,y,g,_=t(_,10),B,i[0],0,15),B=a(B,R,y,g=t(g,10),_,i[3],0,13),_=a(_,B,R,y=t(y,10),g,i[9],0,11),g=a(g,_,B,R=t(R,10),y,i[11],0,11),B=t(B,10);var A=this._b+h+B|0;this._b=this._c+p+R|0,this._c=this._d+b+y|0,this._d=this._e+f+g|0,this._e=this._a+c+_|0,this._a=A},u.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var i=new Buffer(20);return i.writeInt32LE(this._a,0),i.writeInt32LE(this._b,4),i.writeInt32LE(this._c,8),i.writeInt32LE(this._d,12),i.writeInt32LE(this._e,16),i},ripemd160$2=u}function requireToBuffer(){if(hasRequiredToBuffer)return toBuffer_1;hasRequiredToBuffer=1;var e=requireSafeBuffer().Buffer,r=requireToBuffer$1(),u=typeof Uint8Array<"u",t=u&&typeof ArrayBuffer<"u"&&ArrayBuffer.isView;return toBuffer_1=function(a,l,d){if(typeof a=="string"||e.isBuffer(a)||u&&a instanceof Uint8Array||t&&t(a))return r(a,l);throw new TypeError(d+" must be a string, a Buffer, a Uint8Array, or a DataView")}}function requireSyncBrowser(){if(hasRequiredSyncBrowser)return syncBrowser;hasRequiredSyncBrowser=1;var e=requireMd5$1(),r=requireRipemd160$1(),u=requireSha_js(),t=requireSafeBuffer().Buffer,a=requirePrecondition(),l=requireDefaultEncoding(),d=requireToBuffer(),o=t.alloc(128),n={__proto__:null,md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,"sha512-256":32,ripemd160:20,rmd160:20},i={__proto__:null,"sha-1":"sha1","sha-224":"sha224","sha-256":"sha256","sha-384":"sha384","sha-512":"sha512","ripemd-160":"ripemd160"};function s(c){return new r().update(c).digest()}function f(c,h,p){var b=(function(A){return A==="rmd160"||A==="ripemd160"?s:A==="md5"?e:function(P){return u(A).update(P).digest()}})(c),y=c==="sha512"||c==="sha384"?128:64;h.length>y?h=b(h):h.length<y&&(h=t.concat([h,o],y));for(var g=t.allocUnsafe(y+n[c]),_=t.allocUnsafe(y+n[c]),B=0;B<y;B++)g[B]=54^h[B],_[B]=92^h[B];var R=t.allocUnsafe(y+p+4);g.copy(R,0,0,y),this.ipad1=R,this.ipad2=g,this.opad=_,this.alg=c,this.blocksize=y,this.hash=b,this.size=n[c]}return f.prototype.run=function(c,h){return c.copy(h,this.blocksize),this.hash(h).copy(this.opad,this.blocksize),this.hash(this.opad)},syncBrowser=function(c,h,p,b,y){a(p,b),c=d(c,l,"Password"),h=d(h,l,"Salt");var g=(y||"sha1").toLowerCase(),_=i[g]||g,B=n[_];if(typeof B!="number"||!B)throw new TypeError("Digest algorithm not supported: "+y);var R=new f(_,c,h.length),A=t.allocUnsafe(b),P=t.allocUnsafe(h.length+4);h.copy(P,0,0,h.length);for(var x=0,T=B,z=Math.ceil(b/T),v=1;v<=z;v++){P.writeUInt32BE(v,h.length);for(var E=R.run(P,R.ipad1),$=E,q=1;q<p;q++){$=R.run($,R.ipad2);for(var m=0;m<T;m++)E[m]^=$[m]}E.copy(A,x),x+=T}return A},syncBrowser}function requireAsync(){if(hasRequiredAsync)return async;hasRequiredAsync=1;var e,r,u=requireSafeBuffer().Buffer,t=requirePrecondition(),a=requireDefaultEncoding(),l=requireSyncBrowser(),d=requireToBuffer(),o=commonjsGlobal.crypto&&commonjsGlobal.crypto.subtle,n={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},i=[];function s(){return r||(r=commonjsGlobal.process&&commonjsGlobal.process.nextTick?commonjsGlobal.process.nextTick:commonjsGlobal.queueMicrotask?commonjsGlobal.queueMicrotask:commonjsGlobal.setImmediate?commonjsGlobal.setImmediate:commonjsGlobal.setTimeout)}function f(c,h,p,b,y){return o.importKey("raw",c,{name:"PBKDF2"},!1,["deriveBits"]).then((function(g){return o.deriveBits({name:"PBKDF2",salt:h,iterations:p,hash:{name:y}},g,b<<3)})).then((function(g){return u.from(g)}))}return async=function(c,h,p,b,y,g){typeof y=="function"&&(g=y,y=void 0);var _=n[(y=y||"sha1").toLowerCase()];if(_&&typeof commonjsGlobal.Promise=="function"){if(t(p,b),c=d(c,a,"Password"),h=d(h,a,"Salt"),typeof g!="function")throw new Error("No callback provided to pbkdf2");(function(B,R){B.then((function(A){s()((function(){R(null,A)}))}),(function(A){s()((function(){R(A)}))}))})((function(B){if(commonjsGlobal.process&&!commonjsGlobal.process.browser||!o||!o.importKey||!o.deriveBits)return Promise.resolve(!1);if(i[B]!==void 0)return i[B];var R=f(e=e||u.alloc(8),e,10,128,B).then((function(){return!0}),(function(){return!1}));return i[B]=R,R})(_).then((function(B){return B?f(c,h,p,b,_):l(c,h,p,b,y)})),g)}else s()((function(){var B;try{B=l(c,h,p,b,y)}catch(R){return void g(R)}g(null,B)}))}}function requireBrowser$7(){return hasRequiredBrowser$7||(hasRequiredBrowser$7=1,browser$7.pbkdf2=requireAsync(),browser$7.pbkdf2Sync=requireSyncBrowser()),browser$7}var browser$6={},des$1={},utils$3={},hasRequiredUtils$3,minimalisticAssert,hasRequiredMinimalisticAssert,cipher,hasRequiredCipher,des,hasRequiredDes$1;function requireUtils$3(){if(hasRequiredUtils$3)return utils$3;hasRequiredUtils$3=1,utils$3.readUInt32BE=function(t,a){return(t[0+a]<<24|t[1+a]<<16|t[2+a]<<8|t[3+a])>>>0},utils$3.writeUInt32BE=function(t,a,l){t[0+l]=a>>>24,t[1+l]=a>>>16&255,t[2+l]=a>>>8&255,t[3+l]=255&a},utils$3.ip=function(t,a,l,d){for(var o=0,n=0,i=6;i>=0;i-=2){for(var s=0;s<=24;s+=8)o<<=1,o|=a>>>s+i&1;for(s=0;s<=24;s+=8)o<<=1,o|=t>>>s+i&1}for(i=6;i>=0;i-=2){for(s=1;s<=25;s+=8)n<<=1,n|=a>>>s+i&1;for(s=1;s<=25;s+=8)n<<=1,n|=t>>>s+i&1}l[d+0]=o>>>0,l[d+1]=n>>>0},utils$3.rip=function(t,a,l,d){for(var o=0,n=0,i=0;i<4;i++)for(var s=24;s>=0;s-=8)o<<=1,o|=a>>>s+i&1,o<<=1,o|=t>>>s+i&1;for(i=4;i<8;i++)for(s=24;s>=0;s-=8)n<<=1,n|=a>>>s+i&1,n<<=1,n|=t>>>s+i&1;l[d+0]=o>>>0,l[d+1]=n>>>0},utils$3.pc1=function(t,a,l,d){for(var o=0,n=0,i=7;i>=5;i--){for(var s=0;s<=24;s+=8)o<<=1,o|=a>>s+i&1;for(s=0;s<=24;s+=8)o<<=1,o|=t>>s+i&1}for(s=0;s<=24;s+=8)o<<=1,o|=a>>s+i&1;for(i=1;i<=3;i++){for(s=0;s<=24;s+=8)n<<=1,n|=a>>s+i&1;for(s=0;s<=24;s+=8)n<<=1,n|=t>>s+i&1}for(s=0;s<=24;s+=8)n<<=1,n|=t>>s+i&1;l[d+0]=o>>>0,l[d+1]=n>>>0},utils$3.r28shl=function(t,a){return t<<a&268435455|t>>>28-a};var e=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];utils$3.pc2=function(t,a,l,d){for(var o=0,n=0,i=e.length>>>1,s=0;s<i;s++)o<<=1,o|=t>>>e[s]&1;for(s=i;s<e.length;s++)n<<=1,n|=a>>>e[s]&1;l[d+0]=o>>>0,l[d+1]=n>>>0},utils$3.expand=function(t,a,l){var d=0,o=0;d=(1&t)<<5|t>>>27;for(var n=23;n>=15;n-=4)d<<=6,d|=t>>>n&63;for(n=11;n>=3;n-=4)o|=t>>>n&63,o<<=6;o|=(31&t)<<1|t>>>31,a[l+0]=d>>>0,a[l+1]=o>>>0};var r=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];utils$3.substitute=function(t,a){for(var l=0,d=0;d<4;d++)l<<=4,l|=r[64*d+(t>>>18-6*d&63)];for(d=0;d<4;d++)l<<=4,l|=r[256+64*d+(a>>>18-6*d&63)];return l>>>0};var u=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];return utils$3.permute=function(t){for(var a=0,l=0;l<u.length;l++)a<<=1,a|=t>>>u[l]&1;return a>>>0},utils$3.padSplit=function(t,a,l){for(var d=t.toString(2);d.length<a;)d="0"+d;for(var o=[],n=0;n<a;n+=l)o.push(d.slice(n,n+l));return o.join(" ")},utils$3}function requireMinimalisticAssert(){if(hasRequiredMinimalisticAssert)return minimalisticAssert;function e(r,u){if(!r)throw new Error(u||"Assertion failed")}return hasRequiredMinimalisticAssert=1,minimalisticAssert=e,e.equal=function(r,u,t){if(r!=u)throw new Error(t||"Assertion failed: "+r+" != "+u)},minimalisticAssert}function requireCipher(){if(hasRequiredCipher)return cipher;hasRequiredCipher=1;var e=requireMinimalisticAssert();function r(u){this.options=u,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=u.padding!==!1}return cipher=r,r.prototype._init=function(){},r.prototype.update=function(u){return u.length===0?[]:this.type==="decrypt"?this._updateDecrypt(u):this._updateEncrypt(u)},r.prototype._buffer=function(u,t){for(var a=Math.min(this.buffer.length-this.bufferOff,u.length-t),l=0;l<a;l++)this.buffer[this.bufferOff+l]=u[t+l];return this.bufferOff+=a,a},r.prototype._flushBuffer=function(u,t){return this._update(this.buffer,0,u,t),this.bufferOff=0,this.blockSize},r.prototype._updateEncrypt=function(u){var t=0,a=0,l=(this.bufferOff+u.length)/this.blockSize|0,d=new Array(l*this.blockSize);this.bufferOff!==0&&(t+=this._buffer(u,t),this.bufferOff===this.buffer.length&&(a+=this._flushBuffer(d,a)));for(var o=u.length-(u.length-t)%this.blockSize;t<o;t+=this.blockSize)this._update(u,t,d,a),a+=this.blockSize;for(;t<u.length;t++,this.bufferOff++)this.buffer[this.bufferOff]=u[t];return d},r.prototype._updateDecrypt=function(u){for(var t=0,a=0,l=Math.ceil((this.bufferOff+u.length)/this.blockSize)-1,d=new Array(l*this.blockSize);l>0;l--)t+=this._buffer(u,t),a+=this._flushBuffer(d,a);return t+=this._buffer(u,t),d},r.prototype.final=function(u){var t,a;return u&&(t=this.update(u)),a=this.type==="encrypt"?this._finalEncrypt():this._finalDecrypt(),t?t.concat(a):a},r.prototype._pad=function(u,t){if(t===0)return!1;for(;t<u.length;)u[t++]=0;return!0},r.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var u=new Array(this.blockSize);return this._update(this.buffer,0,u,0),u},r.prototype._unpad=function(u){return u},r.prototype._finalDecrypt=function(){e.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var u=new Array(this.blockSize);return this._flushBuffer(u,0),this._unpad(u)},cipher}function requireDes$1(){if(hasRequiredDes$1)return des;hasRequiredDes$1=1;var e=requireMinimalisticAssert(),r=requireInherits_browser(),u=requireUtils$3(),t=requireCipher();function a(){this.tmp=new Array(2),this.keys=null}function l(o){t.call(this,o);var n=new a;this._desState=n,this.deriveKeys(n,o.key)}r(l,t),des=l,l.create=function(o){return new l(o)};var d=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];return l.prototype.deriveKeys=function(o,n){o.keys=new Array(32),e.equal(n.length,this.blockSize,"Invalid key length");var i=u.readUInt32BE(n,0),s=u.readUInt32BE(n,4);u.pc1(i,s,o.tmp,0),i=o.tmp[0],s=o.tmp[1];for(var f=0;f<o.keys.length;f+=2){var c=d[f>>>1];i=u.r28shl(i,c),s=u.r28shl(s,c),u.pc2(i,s,o.keys,f)}},l.prototype._update=function(o,n,i,s){var f=this._desState,c=u.readUInt32BE(o,n),h=u.readUInt32BE(o,n+4);u.ip(c,h,f.tmp,0),c=f.tmp[0],h=f.tmp[1],this.type==="encrypt"?this._encrypt(f,c,h,f.tmp,0):this._decrypt(f,c,h,f.tmp,0),c=f.tmp[0],h=f.tmp[1],u.writeUInt32BE(i,c,s),u.writeUInt32BE(i,h,s+4)},l.prototype._pad=function(o,n){if(this.padding===!1)return!1;for(var i=o.length-n,s=n;s<o.length;s++)o[s]=i;return!0},l.prototype._unpad=function(o){if(this.padding===!1)return o;for(var n=o[o.length-1],i=o.length-n;i<o.length;i++)e.equal(o[i],n);return o.slice(0,o.length-n)},l.prototype._encrypt=function(o,n,i,s,f){for(var c=n,h=i,p=0;p<o.keys.length;p+=2){var b=o.keys[p],y=o.keys[p+1];u.expand(h,o.tmp,0),b^=o.tmp[0],y^=o.tmp[1];var g=u.substitute(b,y),_=h;h=(c^u.permute(g))>>>0,c=_}u.rip(h,c,s,f)},l.prototype._decrypt=function(o,n,i,s,f){for(var c=i,h=n,p=o.keys.length-2;p>=0;p-=2){var b=o.keys[p],y=o.keys[p+1];u.expand(c,o.tmp,0),b^=o.tmp[0],y^=o.tmp[1];var g=u.substitute(b,y),_=c;c=(h^u.permute(g))>>>0,h=_}u.rip(c,h,s,f)},des}var cbc$1={},hasRequiredCbc$1,ede,hasRequiredEde,hasRequiredDes,browserifyDes,hasRequiredBrowserifyDes;function requireCbc$1(){if(hasRequiredCbc$1)return cbc$1;hasRequiredCbc$1=1;var e=requireMinimalisticAssert(),r=requireInherits_browser(),u={};function t(a){e.equal(a.length,8,"Invalid IV length"),this.iv=new Array(8);for(var l=0;l<this.iv.length;l++)this.iv[l]=a[l]}return cbc$1.instantiate=function(a){function l(i){a.call(this,i),this._cbcInit()}r(l,a);for(var d=Object.keys(u),o=0;o<d.length;o++){var n=d[o];l.prototype[n]=u[n]}return l.create=function(i){return new l(i)},l},u._cbcInit=function(){var a=new t(this.options.iv);this._cbcState=a},u._update=function(a,l,d,o){var n=this._cbcState,i=this.constructor.super_.prototype,s=n.iv;if(this.type==="encrypt"){for(var f=0;f<this.blockSize;f++)s[f]^=a[l+f];for(i._update.call(this,s,0,d,o),f=0;f<this.blockSize;f++)s[f]=d[o+f]}else{for(i._update.call(this,a,l,d,o),f=0;f<this.blockSize;f++)d[o+f]^=s[f];for(f=0;f<this.blockSize;f++)s[f]=a[l+f]}},cbc$1}function requireEde(){if(hasRequiredEde)return ede;hasRequiredEde=1;var e=requireMinimalisticAssert(),r=requireInherits_browser(),u=requireCipher(),t=requireDes$1();function a(d,o){e.equal(o.length,24,"Invalid key length");var n=o.slice(0,8),i=o.slice(8,16),s=o.slice(16,24);this.ciphers=d==="encrypt"?[t.create({type:"encrypt",key:n}),t.create({type:"decrypt",key:i}),t.create({type:"encrypt",key:s})]:[t.create({type:"decrypt",key:s}),t.create({type:"encrypt",key:i}),t.create({type:"decrypt",key:n})]}function l(d){u.call(this,d);var o=new a(this.type,this.options.key);this._edeState=o}return r(l,u),ede=l,l.create=function(d){return new l(d)},l.prototype._update=function(d,o,n,i){var s=this._edeState;s.ciphers[0]._update(d,o,n,i),s.ciphers[1]._update(n,i,n,i),s.ciphers[2]._update(n,i,n,i)},l.prototype._pad=t.prototype._pad,l.prototype._unpad=t.prototype._unpad,ede}function requireDes(){return hasRequiredDes||(hasRequiredDes=1,des$1.utils=requireUtils$3(),des$1.Cipher=requireCipher(),des$1.DES=requireDes$1(),des$1.CBC=requireCbc$1(),des$1.EDE=requireEde()),des$1}function requireBrowserifyDes(){if(hasRequiredBrowserifyDes)return browserifyDes;hasRequiredBrowserifyDes=1;var e=requireCipherBase(),r=requireDes(),u=requireInherits_browser(),t=requireSafeBuffer().Buffer,a={"des-ede3-cbc":r.CBC.instantiate(r.EDE),"des-ede3":r.EDE,"des-ede-cbc":r.CBC.instantiate(r.EDE),"des-ede":r.EDE,"des-cbc":r.CBC.instantiate(r.DES),"des-ecb":r.DES};function l(d){e.call(this);var o,n=d.mode.toLowerCase(),i=a[n];o=d.decrypt?"decrypt":"encrypt";var s=d.key;t.isBuffer(s)||(s=t.from(s)),n!=="des-ede"&&n!=="des-ede-cbc"||(s=t.concat([s,s.slice(0,8)]));var f=d.iv;t.isBuffer(f)||(f=t.from(f)),this._des=i.create({key:s,iv:f,type:o})}return a.des=a["des-cbc"],a.des3=a["des-ede3-cbc"],browserifyDes=l,u(l,e),l.prototype._update=function(d){return t.from(this._des.update(d))},l.prototype._final=function(){return t.from(this._des.final())},browserifyDes}var browser$5={},encrypter={},ecb={},hasRequiredEcb;function requireEcb(){return hasRequiredEcb||(hasRequiredEcb=1,ecb.encrypt=function(e,r){return e._cipher.encryptBlock(r)},ecb.decrypt=function(e,r){return e._cipher.decryptBlock(r)}),ecb}var cbc={},bufferXor,hasRequiredBufferXor,hasRequiredCbc;function requireBufferXor(){return hasRequiredBufferXor||(hasRequiredBufferXor=1,bufferXor=function(e,r){for(var u=Math.min(e.length,r.length),t=new Buffer(u),a=0;a<u;++a)t[a]=e[a]^r[a];return t}),bufferXor}function requireCbc(){if(hasRequiredCbc)return cbc;hasRequiredCbc=1;var e=requireBufferXor();return cbc.encrypt=function(r,u){var t=e(u,r._prev);return r._prev=r._cipher.encryptBlock(t),r._prev},cbc.decrypt=function(r,u){var t=r._prev;r._prev=u;var a=r._cipher.decryptBlock(u);return e(a,t)},cbc}var cfb={},hasRequiredCfb;function requireCfb(){if(hasRequiredCfb)return cfb;hasRequiredCfb=1;var e=requireSafeBuffer().Buffer,r=requireBufferXor();function u(t,a,l){var d=a.length,o=r(a,t._cache);return t._cache=t._cache.slice(d),t._prev=e.concat([t._prev,l?a:o]),o}return cfb.encrypt=function(t,a,l){for(var d,o=e.allocUnsafe(0);a.length;){if(t._cache.length===0&&(t._cache=t._cipher.encryptBlock(t._prev),t._prev=e.allocUnsafe(0)),!(t._cache.length<=a.length)){o=e.concat([o,u(t,a,l)]);break}d=t._cache.length,o=e.concat([o,u(t,a.slice(0,d),l)]),a=a.slice(d)}return o},cfb}var cfb8={},hasRequiredCfb8;function requireCfb8(){if(hasRequiredCfb8)return cfb8;hasRequiredCfb8=1;var e=requireSafeBuffer().Buffer;function r(u,t,a){var l=u._cipher.encryptBlock(u._prev)[0]^t;return u._prev=e.concat([u._prev.slice(1),e.from([a?t:l])]),l}return cfb8.encrypt=function(u,t,a){for(var l=t.length,d=e.allocUnsafe(l),o=-1;++o<l;)d[o]=r(u,t[o],a);return d},cfb8}var cfb1={},hasRequiredCfb1;function requireCfb1(){if(hasRequiredCfb1)return cfb1;hasRequiredCfb1=1;var e=requireSafeBuffer().Buffer;function r(t,a,l){for(var d,o,n=-1,i=0;++n<8;)d=a&1<<7-n?128:0,i+=(128&(o=t._cipher.encryptBlock(t._prev)[0]^d))>>n%8,t._prev=u(t._prev,l?d:o);return i}function u(t,a){var l=t.length,d=-1,o=e.allocUnsafe(t.length);for(t=e.concat([t,e.from([a])]);++d<l;)o[d]=t[d]<<1|t[d+1]>>7;return o}return cfb1.encrypt=function(t,a,l){for(var d=a.length,o=e.allocUnsafe(d),n=-1;++n<d;)o[n]=r(t,a[n],l);return o},cfb1}var ofb={},hasRequiredOfb;function requireOfb(){if(hasRequiredOfb)return ofb;hasRequiredOfb=1;var e=requireBufferXor();function r(u){return u._prev=u._cipher.encryptBlock(u._prev),u._prev}return ofb.encrypt=function(u,t){for(;u._cache.length<t.length;)u._cache=Buffer.concat([u._cache,r(u)]);var a=u._cache.slice(0,t.length);return u._cache=u._cache.slice(t.length),e(t,a)},ofb}var ctr={},incr32_1,hasRequiredIncr32,hasRequiredCtr;function requireIncr32(){return hasRequiredIncr32?incr32_1:(hasRequiredIncr32=1,incr32_1=function(e){for(var r,u=e.length;u--;){if((r=e.readUInt8(u))!==255){r++,e.writeUInt8(r,u);break}e.writeUInt8(0,u)}})}function requireCtr(){if(hasRequiredCtr)return ctr;hasRequiredCtr=1;var e=requireBufferXor(),r=requireSafeBuffer().Buffer,u=requireIncr32();function t(a){var l=a._cipher.encryptBlockRaw(a._prev);return u(a._prev),l}return ctr.encrypt=function(a,l){var d=Math.ceil(l.length/16),o=a._cache.length;a._cache=r.concat([a._cache,r.allocUnsafe(16*d)]);for(var n=0;n<d;n++){var i=t(a),s=o+16*n;a._cache.writeUInt32BE(i[0],s+0),a._cache.writeUInt32BE(i[1],s+4),a._cache.writeUInt32BE(i[2],s+8),a._cache.writeUInt32BE(i[3],s+12)}var f=a._cache.slice(0,l.length);return a._cache=a._cache.slice(l.length),e(l,f)},ctr}const aes128={cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},aes192={cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},aes256={cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},require$$2={"aes-128-ecb":{cipher:"AES",key:128,iv:0,mode:"ECB",type:"block"},"aes-192-ecb":{cipher:"AES",key:192,iv:0,mode:"ECB",type:"block"},"aes-256-ecb":{cipher:"AES",key:256,iv:0,mode:"ECB",type:"block"},"aes-128-cbc":{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},"aes-192-cbc":{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},"aes-256-cbc":{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},aes128,aes192,aes256,"aes-128-cfb":{cipher:"AES",key:128,iv:16,mode:"CFB",type:"stream"},"aes-192-cfb":{cipher:"AES",key:192,iv:16,mode:"CFB",type:"stream"},"aes-256-cfb":{cipher:"AES",key:256,iv:16,mode:"CFB",type:"stream"},"aes-128-cfb8":{cipher:"AES",key:128,iv:16,mode:"CFB8",type:"stream"},"aes-192-cfb8":{cipher:"AES",key:192,iv:16,mode:"CFB8",type:"stream"},"aes-256-cfb8":{cipher:"AES",key:256,iv:16,mode:"CFB8",type:"stream"},"aes-128-cfb1":{cipher:"AES",key:128,iv:16,mode:"CFB1",type:"stream"},"aes-192-cfb1":{cipher:"AES",key:192,iv:16,mode:"CFB1",type:"stream"},"aes-256-cfb1":{cipher:"AES",key:256,iv:16,mode:"CFB1",type:"stream"},"aes-128-ofb":{cipher:"AES",key:128,iv:16,mode:"OFB",type:"stream"},"aes-192-ofb":{cipher:"AES",key:192,iv:16,mode:"OFB",type:"stream"},"aes-256-ofb":{cipher:"AES",key:256,iv:16,mode:"OFB",type:"stream"},"aes-128-ctr":{cipher:"AES",key:128,iv:16,mode:"CTR",type:"stream"},"aes-192-ctr":{cipher:"AES",key:192,iv:16,mode:"CTR",type:"stream"},"aes-256-ctr":{cipher:"AES",key:256,iv:16,mode:"CTR",type:"stream"},"aes-128-gcm":{cipher:"AES",key:128,iv:12,mode:"GCM",type:"auth"},"aes-192-gcm":{cipher:"AES",key:192,iv:12,mode:"GCM",type:"auth"},"aes-256-gcm":{cipher:"AES",key:256,iv:12,mode:"GCM",type:"auth"}};var modes_1,hasRequiredModes$1;function requireModes$1(){if(hasRequiredModes$1)return modes_1;hasRequiredModes$1=1;var e={ECB:requireEcb(),CBC:requireCbc(),CFB:requireCfb(),CFB8:requireCfb8(),CFB1:requireCfb1(),OFB:requireOfb(),CTR:requireCtr(),GCM:requireCtr()},r=require$$2;for(var u in r)r[u].module=e[r[u].mode];return modes_1=r}var aes$2={},hasRequiredAes$1,ghash,hasRequiredGhash,authCipher,hasRequiredAuthCipher,streamCipher,hasRequiredStreamCipher,evp_bytestokey,hasRequiredEvp_bytestokey,hasRequiredEncrypter;function requireAes$1(){if(hasRequiredAes$1)return aes$2;hasRequiredAes$1=1;var e=requireSafeBuffer().Buffer;function r(o){e.isBuffer(o)||(o=e.from(o));for(var n=o.length/4|0,i=new Array(n),s=0;s<n;s++)i[s]=o.readUInt32BE(4*s);return i}function u(o){for(;0<o.length;o++)o[0]=0}function t(o,n,i,s,f){for(var c,h,p,b,y=i[0],g=i[1],_=i[2],B=i[3],R=o[0]^n[0],A=o[1]^n[1],P=o[2]^n[2],x=o[3]^n[3],T=4,z=1;z<f;z++)c=y[R>>>24]^g[A>>>16&255]^_[P>>>8&255]^B[255&x]^n[T++],h=y[A>>>24]^g[P>>>16&255]^_[x>>>8&255]^B[255&R]^n[T++],p=y[P>>>24]^g[x>>>16&255]^_[R>>>8&255]^B[255&A]^n[T++],b=y[x>>>24]^g[R>>>16&255]^_[A>>>8&255]^B[255&P]^n[T++],R=c,A=h,P=p,x=b;return c=(s[R>>>24]<<24|s[A>>>16&255]<<16|s[P>>>8&255]<<8|s[255&x])^n[T++],h=(s[A>>>24]<<24|s[P>>>16&255]<<16|s[x>>>8&255]<<8|s[255&R])^n[T++],p=(s[P>>>24]<<24|s[x>>>16&255]<<16|s[R>>>8&255]<<8|s[255&A])^n[T++],b=(s[x>>>24]<<24|s[R>>>16&255]<<16|s[A>>>8&255]<<8|s[255&P])^n[T++],[c>>>=0,h>>>=0,p>>>=0,b>>>=0]}var a=[0,1,2,4,8,16,32,64,128,27,54],l=(function(){for(var o=new Array(256),n=0;n<256;n++)o[n]=n<128?n<<1:n<<1^283;for(var i=[],s=[],f=[[],[],[],[]],c=[[],[],[],[]],h=0,p=0,b=0;b<256;++b){var y=p^p<<1^p<<2^p<<3^p<<4;y=y>>>8^255&y^99,i[h]=y,s[y]=h;var g=o[h],_=o[g],B=o[_],R=257*o[y]^16843008*y;f[0][h]=R<<24|R>>>8,f[1][h]=R<<16|R>>>16,f[2][h]=R<<8|R>>>24,f[3][h]=R,R=16843009*B^65537*_^257*g^16843008*h,c[0][y]=R<<24|R>>>8,c[1][y]=R<<16|R>>>16,c[2][y]=R<<8|R>>>24,c[3][y]=R,h===0?h=p=1:(h=g^o[o[o[B^g]]],p^=o[o[p]])}return{SBOX:i,INV_SBOX:s,SUB_MIX:f,INV_SUB_MIX:c}})();function d(o){this._key=r(o),this._reset()}return d.blockSize=16,d.keySize=32,d.prototype.blockSize=d.blockSize,d.prototype.keySize=d.keySize,d.prototype._reset=function(){for(var o=this._key,n=o.length,i=n+6,s=4*(i+1),f=[],c=0;c<n;c++)f[c]=o[c];for(c=n;c<s;c++){var h=f[c-1];c%n==0?(h=h<<8|h>>>24,h=l.SBOX[h>>>24]<<24|l.SBOX[h>>>16&255]<<16|l.SBOX[h>>>8&255]<<8|l.SBOX[255&h],h^=a[c/n|0]<<24):n>6&&c%n==4&&(h=l.SBOX[h>>>24]<<24|l.SBOX[h>>>16&255]<<16|l.SBOX[h>>>8&255]<<8|l.SBOX[255&h]),f[c]=f[c-n]^h}for(var p=[],b=0;b<s;b++){var y=s-b,g=f[y-(b%4?0:4)];p[b]=b<4||y<=4?g:l.INV_SUB_MIX[0][l.SBOX[g>>>24]]^l.INV_SUB_MIX[1][l.SBOX[g>>>16&255]]^l.INV_SUB_MIX[2][l.SBOX[g>>>8&255]]^l.INV_SUB_MIX[3][l.SBOX[255&g]]}this._nRounds=i,this._keySchedule=f,this._invKeySchedule=p},d.prototype.encryptBlockRaw=function(o){return t(o=r(o),this._keySchedule,l.SUB_MIX,l.SBOX,this._nRounds)},d.prototype.encryptBlock=function(o){var n=this.encryptBlockRaw(o),i=e.allocUnsafe(16);return i.writeUInt32BE(n[0],0),i.writeUInt32BE(n[1],4),i.writeUInt32BE(n[2],8),i.writeUInt32BE(n[3],12),i},d.prototype.decryptBlock=function(o){var n=(o=r(o))[1];o[1]=o[3],o[3]=n;var i=t(o,this._invKeySchedule,l.INV_SUB_MIX,l.INV_SBOX,this._nRounds),s=e.allocUnsafe(16);return s.writeUInt32BE(i[0],0),s.writeUInt32BE(i[3],4),s.writeUInt32BE(i[2],8),s.writeUInt32BE(i[1],12),s},d.prototype.scrub=function(){u(this._keySchedule),u(this._invKeySchedule),u(this._key)},aes$2.AES=d,aes$2}function requireGhash(){if(hasRequiredGhash)return ghash;hasRequiredGhash=1;var e=requireSafeBuffer().Buffer,r=e.alloc(16,0);function u(a){var l=e.allocUnsafe(16);return l.writeUInt32BE(a[0]>>>0,0),l.writeUInt32BE(a[1]>>>0,4),l.writeUInt32BE(a[2]>>>0,8),l.writeUInt32BE(a[3]>>>0,12),l}function t(a){this.h=a,this.state=e.alloc(16,0),this.cache=e.allocUnsafe(0)}return t.prototype.ghash=function(a){for(var l=-1;++l<a.length;)this.state[l]^=a[l];this._multiply()},t.prototype._multiply=function(){for(var a,l,d,o=[(a=this.h).readUInt32BE(0),a.readUInt32BE(4),a.readUInt32BE(8),a.readUInt32BE(12)],n=[0,0,0,0],i=-1;++i<128;){for(this.state[~~(i/8)]&1<<7-i%8&&(n[0]^=o[0],n[1]^=o[1],n[2]^=o[2],n[3]^=o[3]),d=!!(1&o[3]),l=3;l>0;l--)o[l]=o[l]>>>1|(1&o[l-1])<<31;o[0]=o[0]>>>1,d&&(o[0]=o[0]^225<<24)}this.state=u(n)},t.prototype.update=function(a){var l;for(this.cache=e.concat([this.cache,a]);this.cache.length>=16;)l=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(l)},t.prototype.final=function(a,l){return this.cache.length&&this.ghash(e.concat([this.cache,r],16)),this.ghash(u([0,a,0,l])),this.state},ghash=t}function requireAuthCipher(){if(hasRequiredAuthCipher)return authCipher;hasRequiredAuthCipher=1;var e=requireAes$1(),r=requireSafeBuffer().Buffer,u=requireCipherBase(),t=requireInherits_browser(),a=requireGhash(),l=requireBufferXor(),d=requireIncr32();function o(n,i,s,f){u.call(this);var c=r.alloc(4,0);this._cipher=new e.AES(i);var h=this._cipher.encryptBlock(c);this._ghash=new a(h),s=(function(p,b,y){if(b.length===12)return p._finID=r.concat([b,r.from([0,0,0,1])]),r.concat([b,r.from([0,0,0,2])]);var g=new a(y),_=b.length,B=_%16;g.update(b),B&&(B=16-B,g.update(r.alloc(B,0))),g.update(r.alloc(8,0));var R=8*_,A=r.alloc(8);A.writeUIntBE(R,0,8),g.update(A),p._finID=g.state;var P=r.from(p._finID);return d(P),P})(this,s,h),this._prev=r.from(s),this._cache=r.allocUnsafe(0),this._secCache=r.allocUnsafe(0),this._decrypt=f,this._alen=0,this._len=0,this._mode=n,this._authTag=null,this._called=!1}return t(o,u),o.prototype._update=function(n){if(!this._called&&this._alen){var i=16-this._alen%16;i<16&&(i=r.alloc(i,0),this._ghash.update(i))}this._called=!0;var s=this._mode.encrypt(this,n);return this._decrypt?this._ghash.update(n):this._ghash.update(s),this._len+=n.length,s},o.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var n=l(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&(function(i,s){var f=0;i.length!==s.length&&f++;for(var c=Math.min(i.length,s.length),h=0;h<c;++h)f+=i[h]^s[h];return f})(n,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=n,this._cipher.scrub()},o.prototype.getAuthTag=function(){if(this._decrypt||!r.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},o.prototype.setAuthTag=function(n){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=n},o.prototype.setAAD=function(n){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(n),this._alen+=n.length},authCipher=o}function requireStreamCipher(){if(hasRequiredStreamCipher)return streamCipher;hasRequiredStreamCipher=1;var e=requireAes$1(),r=requireSafeBuffer().Buffer,u=requireCipherBase();function t(a,l,d,o){u.call(this),this._cipher=new e.AES(l),this._prev=r.from(d),this._cache=r.allocUnsafe(0),this._secCache=r.allocUnsafe(0),this._decrypt=o,this._mode=a}return requireInherits_browser()(t,u),t.prototype._update=function(a){return this._mode.encrypt(this,a,this._decrypt)},t.prototype._final=function(){this._cipher.scrub()},streamCipher=t}function requireEvp_bytestokey(){if(hasRequiredEvp_bytestokey)return evp_bytestokey;hasRequiredEvp_bytestokey=1;var e=requireSafeBuffer().Buffer,r=requireMd5_js();return evp_bytestokey=function(u,t,a,l){if(e.isBuffer(u)||(u=e.from(u,"binary")),t&&(e.isBuffer(t)||(t=e.from(t,"binary")),t.length!==8))throw new RangeError("salt should be Buffer with 8 byte length");for(var d=a/8,o=e.alloc(d),n=e.alloc(l||0),i=e.alloc(0);d>0||l>0;){var s=new r;s.update(i),s.update(u),t&&s.update(t),i=s.digest();var f=0;if(d>0){var c=o.length-d;f=Math.min(d,i.length),i.copy(o,c,0,f),d-=f}if(f<i.length&&l>0){var h=n.length-l,p=Math.min(l,i.length-f);i.copy(n,h,f,f+p),l-=p}}return i.fill(0),{key:o,iv:n}},evp_bytestokey}function requireEncrypter(){if(hasRequiredEncrypter)return encrypter;hasRequiredEncrypter=1;var e=requireModes$1(),r=requireAuthCipher(),u=requireSafeBuffer().Buffer,t=requireStreamCipher(),a=requireCipherBase(),l=requireAes$1(),d=requireEvp_bytestokey();function o(f,c,h){a.call(this),this._cache=new i,this._cipher=new l.AES(c),this._prev=u.from(h),this._mode=f,this._autopadding=!0}requireInherits_browser()(o,a),o.prototype._update=function(f){var c,h;this._cache.add(f);for(var p=[];c=this._cache.get();)h=this._mode.encrypt(this,c),p.push(h);return u.concat(p)};var n=u.alloc(16,16);function i(){this.cache=u.allocUnsafe(0)}function s(f,c,h){var p=e[f.toLowerCase()];if(!p)throw new TypeError("invalid suite type");if(typeof c=="string"&&(c=u.from(c)),c.length!==p.key/8)throw new TypeError("invalid key length "+c.length);if(typeof h=="string"&&(h=u.from(h)),p.mode!=="GCM"&&h.length!==p.iv)throw new TypeError("invalid iv length "+h.length);return p.type==="stream"?new t(p.module,c,h):p.type==="auth"?new r(p.module,c,h):new o(p.module,c,h)}return o.prototype._final=function(){var f=this._cache.flush();if(this._autopadding)return f=this._mode.encrypt(this,f),this._cipher.scrub(),f;if(!f.equals(n))throw this._cipher.scrub(),new Error("data not multiple of block length")},o.prototype.setAutoPadding=function(f){return this._autopadding=!!f,this},i.prototype.add=function(f){this.cache=u.concat([this.cache,f])},i.prototype.get=function(){if(this.cache.length>15){var f=this.cache.slice(0,16);return this.cache=this.cache.slice(16),f}return null},i.prototype.flush=function(){for(var f=16-this.cache.length,c=u.allocUnsafe(f),h=-1;++h<f;)c.writeUInt8(f,h);return u.concat([this.cache,c])},encrypter.createCipheriv=s,encrypter.createCipher=function(f,c){var h=e[f.toLowerCase()];if(!h)throw new TypeError("invalid suite type");var p=d(c,!1,h.key,h.iv);return s(f,p.key,p.iv)},encrypter}var decrypter={},hasRequiredDecrypter,hasRequiredBrowser$6;function requireDecrypter(){if(hasRequiredDecrypter)return decrypter;hasRequiredDecrypter=1;var e=requireAuthCipher(),r=requireSafeBuffer().Buffer,u=requireModes$1(),t=requireStreamCipher(),a=requireCipherBase(),l=requireAes$1(),d=requireEvp_bytestokey();function o(s,f,c){a.call(this),this._cache=new n,this._last=void 0,this._cipher=new l.AES(f),this._prev=r.from(c),this._mode=s,this._autopadding=!0}function n(){this.cache=r.allocUnsafe(0)}function i(s,f,c){var h=u[s.toLowerCase()];if(!h)throw new TypeError("invalid suite type");if(typeof c=="string"&&(c=r.from(c)),h.mode!=="GCM"&&c.length!==h.iv)throw new TypeError("invalid iv length "+c.length);if(typeof f=="string"&&(f=r.from(f)),f.length!==h.key/8)throw new TypeError("invalid key length "+f.length);return h.type==="stream"?new t(h.module,f,c,!0):h.type==="auth"?new e(h.module,f,c,!0):new o(h.module,f,c)}return requireInherits_browser()(o,a),o.prototype._update=function(s){var f,c;this._cache.add(s);for(var h=[];f=this._cache.get(this._autopadding);)c=this._mode.decrypt(this,f),h.push(c);return r.concat(h)},o.prototype._final=function(){var s=this._cache.flush();if(this._autopadding)return(function(f){var c=f[15];if(c<1||c>16)throw new Error("unable to decrypt data");for(var h=-1;++h<c;)if(f[h+(16-c)]!==c)throw new Error("unable to decrypt data");if(c!==16)return f.slice(0,16-c)})(this._mode.decrypt(this,s));if(s)throw new Error("data not multiple of block length")},o.prototype.setAutoPadding=function(s){return this._autopadding=!!s,this},n.prototype.add=function(s){this.cache=r.concat([this.cache,s])},n.prototype.get=function(s){var f;if(s){if(this.cache.length>16)return f=this.cache.slice(0,16),this.cache=this.cache.slice(16),f}else if(this.cache.length>=16)return f=this.cache.slice(0,16),this.cache=this.cache.slice(16),f;return null},n.prototype.flush=function(){if(this.cache.length)return this.cache},decrypter.createDecipher=function(s,f){var c=u[s.toLowerCase()];if(!c)throw new TypeError("invalid suite type");var h=d(f,!1,c.key,c.iv);return i(s,h.key,h.iv)},decrypter.createDecipheriv=i,decrypter}function requireBrowser$6(){if(hasRequiredBrowser$6)return browser$5;hasRequiredBrowser$6=1;var e=requireEncrypter(),r=requireDecrypter(),u=require$$2;return browser$5.createCipher=browser$5.Cipher=e.createCipher,browser$5.createCipheriv=browser$5.Cipheriv=e.createCipheriv,browser$5.createDecipher=browser$5.Decipher=r.createDecipher,browser$5.createDecipheriv=browser$5.Decipheriv=r.createDecipheriv,browser$5.listCiphers=browser$5.getCiphers=function(){return Object.keys(u)},browser$5}var modes={},hasRequiredModes,hasRequiredBrowser$5;function requireModes(){return hasRequiredModes||(hasRequiredModes=1,(e=modes)["des-ecb"]={key:8,iv:0},e["des-cbc"]=e.des={key:8,iv:8},e["des-ede3-cbc"]=e.des3={key:24,iv:8},e["des-ede3"]={key:24,iv:0},e["des-ede-cbc"]={key:16,iv:8},e["des-ede"]={key:16,iv:0}),modes;var e}function requireBrowser$5(){if(hasRequiredBrowser$5)return browser$6;hasRequiredBrowser$5=1;var e=requireBrowserifyDes(),r=requireBrowser$6(),u=requireModes$1(),t=requireModes(),a=requireEvp_bytestokey();function l(o,n,i){if(o=o.toLowerCase(),u[o])return r.createCipheriv(o,n,i);if(t[o])return new e({key:n,iv:i,mode:o});throw new TypeError("invalid suite type")}function d(o,n,i){if(o=o.toLowerCase(),u[o])return r.createDecipheriv(o,n,i);if(t[o])return new e({key:n,iv:i,mode:o,decrypt:!0});throw new TypeError("invalid suite type")}return browser$6.createCipher=browser$6.Cipher=function(o,n){var i,s;if(o=o.toLowerCase(),u[o])i=u[o].key,s=u[o].iv;else{if(!t[o])throw new TypeError("invalid suite type");i=8*t[o].key,s=t[o].iv}var f=a(n,!1,i,s);return l(o,f.key,f.iv)},browser$6.createCipheriv=browser$6.Cipheriv=l,browser$6.createDecipher=browser$6.Decipher=function(o,n){var i,s;if(o=o.toLowerCase(),u[o])i=u[o].key,s=u[o].iv;else{if(!t[o])throw new TypeError("invalid suite type");i=8*t[o].key,s=t[o].iv}var f=a(n,!1,i,s);return d(o,f.key,f.iv)},browser$6.createDecipheriv=browser$6.Decipheriv=d,browser$6.listCiphers=browser$6.getCiphers=function(){return Object.keys(t).concat(r.getCiphers())},browser$6}var browser$4={},bn$1={exports:{}},bn=bn$1.exports,hasRequiredBn;function requireBn(){return hasRequiredBn||(hasRequiredBn=1,(function(e,r){function u(v,E){if(!v)throw new Error(E||"Assertion failed")}function t(v,E){v.super_=E;var $=function(){};$.prototype=E.prototype,v.prototype=new $,v.prototype.constructor=v}function a(v,E,$){if(a.isBN(v))return v;this.negative=0,this.words=null,this.length=0,this.red=null,v!==null&&(E!=="le"&&E!=="be"||($=E,E=10),this._init(v||0,E||10,$||"be"))}var l;typeof e=="object"?e.exports=a:r.BN=a,a.BN=a,a.wordSize=26;try{l=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:requireDist().Buffer}catch{}function d(v,E){var $=v.charCodeAt(E);return $>=48&&$<=57?$-48:$>=65&&$<=70?$-55:$>=97&&$<=102?$-87:void u(!1,"Invalid character in "+v)}function o(v,E,$){var q=d(v,$);return $-1>=E&&(q|=d(v,$-1)<<4),q}function n(v,E,$,q){for(var m=0,w=0,C=Math.min(v.length,$),j=E;j<C;j++){var N=v.charCodeAt(j)-48;m*=q,w=N>=49?N-49+10:N>=17?N-17+10:N,u(N>=0&&w<q,"Invalid character"),m+=w}return m}function i(v,E){v.words=E.words,v.length=E.length,v.negative=E.negative,v.red=E.red}if(a.isBN=function(v){return v instanceof a||v!==null&&typeof v=="object"&&v.constructor.wordSize===a.wordSize&&Array.isArray(v.words)},a.max=function(v,E){return v.cmp(E)>0?v:E},a.min=function(v,E){return v.cmp(E)<0?v:E},a.prototype._init=function(v,E,$){if(typeof v=="number")return this._initNumber(v,E,$);if(typeof v=="object")return this._initArray(v,E,$);E==="hex"&&(E=16),u(E===(0|E)&&E>=2&&E<=36);var q=0;(v=v.toString().replace(/\s+/g,""))[0]==="-"&&(q++,this.negative=1),q<v.length&&(E===16?this._parseHex(v,q,$):(this._parseBase(v,E,q),$==="le"&&this._initArray(this.toArray(),E,$)))},a.prototype._initNumber=function(v,E,$){v<0&&(this.negative=1,v=-v),v<67108864?(this.words=[67108863&v],this.length=1):v<4503599627370496?(this.words=[67108863&v,v/67108864&67108863],this.length=2):(u(v<9007199254740992),this.words=[67108863&v,v/67108864&67108863,1],this.length=3),$==="le"&&this._initArray(this.toArray(),E,$)},a.prototype._initArray=function(v,E,$){if(u(typeof v.length=="number"),v.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(v.length/3),this.words=new Array(this.length);for(var q=0;q<this.length;q++)this.words[q]=0;var m,w,C=0;if($==="be")for(q=v.length-1,m=0;q>=0;q-=3)w=v[q]|v[q-1]<<8|v[q-2]<<16,this.words[m]|=w<<C&67108863,this.words[m+1]=w>>>26-C&67108863,(C+=24)>=26&&(C-=26,m++);else if($==="le")for(q=0,m=0;q<v.length;q+=3)w=v[q]|v[q+1]<<8|v[q+2]<<16,this.words[m]|=w<<C&67108863,this.words[m+1]=w>>>26-C&67108863,(C+=24)>=26&&(C-=26,m++);return this._strip()},a.prototype._parseHex=function(v,E,$){this.length=Math.ceil((v.length-E)/6),this.words=new Array(this.length);for(var q=0;q<this.length;q++)this.words[q]=0;var m,w=0,C=0;if($==="be")for(q=v.length-1;q>=E;q-=2)m=o(v,E,q)<<w,this.words[C]|=67108863&m,w>=18?(w-=18,C+=1,this.words[C]|=m>>>26):w+=8;else for(q=(v.length-E)%2==0?E+1:E;q<v.length;q+=2)m=o(v,E,q)<<w,this.words[C]|=67108863&m,w>=18?(w-=18,C+=1,this.words[C]|=m>>>26):w+=8;this._strip()},a.prototype._parseBase=function(v,E,$){this.words=[0],this.length=1;for(var q=0,m=1;m<=67108863;m*=E)q++;q--,m=m/E|0;for(var w=v.length-$,C=w%q,j=Math.min(w,w-C)+$,N=0,L=$;L<j;L+=q)N=n(v,L,L+q,E),this.imuln(m),this.words[0]+N<67108864?this.words[0]+=N:this._iaddn(N);if(C!==0){var U=1;for(N=n(v,L,v.length,E),L=0;L<C;L++)U*=E;this.imuln(U),this.words[0]+N<67108864?this.words[0]+=N:this._iaddn(N)}this._strip()},a.prototype.copy=function(v){v.words=new Array(this.length);for(var E=0;E<this.length;E++)v.words[E]=this.words[E];v.length=this.length,v.negative=this.negative,v.red=this.red},a.prototype._move=function(v){i(v,this)},a.prototype.clone=function(){var v=new a(null);return this.copy(v),v},a.prototype._expand=function(v){for(;this.length<v;)this.words[this.length++]=0;return this},a.prototype._strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},a.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{a.prototype[Symbol.for("nodejs.util.inspect.custom")]=s}catch{a.prototype.inspect=s}else a.prototype.inspect=s;function s(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var f=["","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"],c=[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],h=[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];function p(v,E,$){$.negative=E.negative^v.negative;var q=v.length+E.length|0;$.length=q,q=q-1|0;var m=0|v.words[0],w=0|E.words[0],C=m*w,j=67108863&C,N=C/67108864|0;$.words[0]=j;for(var L=1;L<q;L++){for(var U=N>>>26,D=67108863&N,I=Math.min(L,E.length-1),O=Math.max(0,L-v.length+1);O<=I;O++){var G=L-O|0;U+=(C=(m=0|v.words[G])*(w=0|E.words[O])+D)/67108864|0,D=67108863&C}$.words[L]=0|D,N=0|U}return N!==0?$.words[L]=0|N:$.length--,$._strip()}a.prototype.toString=function(v,E){var $;if(E=0|E||1,(v=v||10)===16||v==="hex"){$="";for(var q=0,m=0,w=0;w<this.length;w++){var C=this.words[w],j=(16777215&(C<<q|m)).toString(16);m=C>>>24-q&16777215,(q+=2)>=26&&(q-=26,w--),$=m!==0||w!==this.length-1?f[6-j.length]+j+$:j+$}for(m!==0&&($=m.toString(16)+$);$.length%E!=0;)$="0"+$;return this.negative!==0&&($="-"+$),$}if(v===(0|v)&&v>=2&&v<=36){var N=c[v],L=h[v];$="";var U=this.clone();for(U.negative=0;!U.isZero();){var D=U.modrn(L).toString(v);$=(U=U.idivn(L)).isZero()?D+$:f[N-D.length]+D+$}for(this.isZero()&&($="0"+$);$.length%E!=0;)$="0"+$;return this.negative!==0&&($="-"+$),$}u(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var v=this.words[0];return this.length===2?v+=67108864*this.words[1]:this.length===3&&this.words[2]===1?v+=4503599627370496+67108864*this.words[1]:this.length>2&&u(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-v:v},a.prototype.toJSON=function(){return this.toString(16,2)},l&&(a.prototype.toBuffer=function(v,E){return this.toArrayLike(l,v,E)}),a.prototype.toArray=function(v,E){return this.toArrayLike(Array,v,E)},a.prototype.toArrayLike=function(v,E,$){this._strip();var q=this.byteLength(),m=$||Math.max(1,q);u(q<=m,"byte array longer than desired length"),u(m>0,"Requested array length <= 0");var w=(function(C,j){return C.allocUnsafe?C.allocUnsafe(j):new C(j)})(v,m);return this["_toArrayLike"+(E==="le"?"LE":"BE")](w,q),w},a.prototype._toArrayLikeLE=function(v,E){for(var $=0,q=0,m=0,w=0;m<this.length;m++){var C=this.words[m]<<w|q;v[$++]=255&C,$<v.length&&(v[$++]=C>>8&255),$<v.length&&(v[$++]=C>>16&255),w===6?($<v.length&&(v[$++]=C>>24&255),q=0,w=0):(q=C>>>24,w+=2)}if($<v.length)for(v[$++]=q;$<v.length;)v[$++]=0},a.prototype._toArrayLikeBE=function(v,E){for(var $=v.length-1,q=0,m=0,w=0;m<this.length;m++){var C=this.words[m]<<w|q;v[$--]=255&C,$>=0&&(v[$--]=C>>8&255),$>=0&&(v[$--]=C>>16&255),w===6?($>=0&&(v[$--]=C>>24&255),q=0,w=0):(q=C>>>24,w+=2)}if($>=0)for(v[$--]=q;$>=0;)v[$--]=0},Math.clz32?a.prototype._countBits=function(v){return 32-Math.clz32(v)}:a.prototype._countBits=function(v){var E=v,$=0;return E>=4096&&($+=13,E>>>=13),E>=64&&($+=7,E>>>=7),E>=8&&($+=4,E>>>=4),E>=2&&($+=2,E>>>=2),$+E},a.prototype._zeroBits=function(v){if(v===0)return 26;var E=v,$=0;return 8191&E||($+=13,E>>>=13),127&E||($+=7,E>>>=7),15&E||($+=4,E>>>=4),3&E||($+=2,E>>>=2),1&E||$++,$},a.prototype.bitLength=function(){var v=this.words[this.length-1],E=this._countBits(v);return 26*(this.length-1)+E},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var v=0,E=0;E<this.length;E++){var $=this._zeroBits(this.words[E]);if(v+=$,$!==26)break}return v},a.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},a.prototype.toTwos=function(v){return this.negative!==0?this.abs().inotn(v).iaddn(1):this.clone()},a.prototype.fromTwos=function(v){return this.testn(v-1)?this.notn(v).iaddn(1).ineg():this.clone()},a.prototype.isNeg=function(){return this.negative!==0},a.prototype.neg=function(){return this.clone().ineg()},a.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},a.prototype.iuor=function(v){for(;this.length<v.length;)this.words[this.length++]=0;for(var E=0;E<v.length;E++)this.words[E]=this.words[E]|v.words[E];return this._strip()},a.prototype.ior=function(v){return u(!(this.negative|v.negative)),this.iuor(v)},a.prototype.or=function(v){return this.length>v.length?this.clone().ior(v):v.clone().ior(this)},a.prototype.uor=function(v){return this.length>v.length?this.clone().iuor(v):v.clone().iuor(this)},a.prototype.iuand=function(v){var E;E=this.length>v.length?v:this;for(var $=0;$<E.length;$++)this.words[$]=this.words[$]&v.words[$];return this.length=E.length,this._strip()},a.prototype.iand=function(v){return u(!(this.negative|v.negative)),this.iuand(v)},a.prototype.and=function(v){return this.length>v.length?this.clone().iand(v):v.clone().iand(this)},a.prototype.uand=function(v){return this.length>v.length?this.clone().iuand(v):v.clone().iuand(this)},a.prototype.iuxor=function(v){var E,$;this.length>v.length?(E=this,$=v):(E=v,$=this);for(var q=0;q<$.length;q++)this.words[q]=E.words[q]^$.words[q];if(this!==E)for(;q<E.length;q++)this.words[q]=E.words[q];return this.length=E.length,this._strip()},a.prototype.ixor=function(v){return u(!(this.negative|v.negative)),this.iuxor(v)},a.prototype.xor=function(v){return this.length>v.length?this.clone().ixor(v):v.clone().ixor(this)},a.prototype.uxor=function(v){return this.length>v.length?this.clone().iuxor(v):v.clone().iuxor(this)},a.prototype.inotn=function(v){u(typeof v=="number"&&v>=0);var E=0|Math.ceil(v/26),$=v%26;this._expand(E),$>0&&E--;for(var q=0;q<E;q++)this.words[q]=67108863&~this.words[q];return $>0&&(this.words[q]=~this.words[q]&67108863>>26-$),this._strip()},a.prototype.notn=function(v){return this.clone().inotn(v)},a.prototype.setn=function(v,E){u(typeof v=="number"&&v>=0);var $=v/26|0,q=v%26;return this._expand($+1),this.words[$]=E?this.words[$]|1<<q:this.words[$]&~(1<<q),this._strip()},a.prototype.iadd=function(v){var E,$,q;if(this.negative!==0&&v.negative===0)return this.negative=0,E=this.isub(v),this.negative^=1,this._normSign();if(this.negative===0&&v.negative!==0)return v.negative=0,E=this.isub(v),v.negative=1,E._normSign();this.length>v.length?($=this,q=v):($=v,q=this);for(var m=0,w=0;w<q.length;w++)E=(0|$.words[w])+(0|q.words[w])+m,this.words[w]=67108863&E,m=E>>>26;for(;m!==0&&w<$.length;w++)E=(0|$.words[w])+m,this.words[w]=67108863&E,m=E>>>26;if(this.length=$.length,m!==0)this.words[this.length]=m,this.length++;else if($!==this)for(;w<$.length;w++)this.words[w]=$.words[w];return this},a.prototype.add=function(v){var E;return v.negative!==0&&this.negative===0?(v.negative=0,E=this.sub(v),v.negative^=1,E):v.negative===0&&this.negative!==0?(this.negative=0,E=v.sub(this),this.negative=1,E):this.length>v.length?this.clone().iadd(v):v.clone().iadd(this)},a.prototype.isub=function(v){if(v.negative!==0){v.negative=0;var E=this.iadd(v);return v.negative=1,E._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(v),this.negative=1,this._normSign();var $,q,m=this.cmp(v);if(m===0)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?($=this,q=v):($=v,q=this);for(var w=0,C=0;C<q.length;C++)w=(E=(0|$.words[C])-(0|q.words[C])+w)>>26,this.words[C]=67108863&E;for(;w!==0&&C<$.length;C++)w=(E=(0|$.words[C])+w)>>26,this.words[C]=67108863&E;if(w===0&&C<$.length&&$!==this)for(;C<$.length;C++)this.words[C]=$.words[C];return this.length=Math.max(this.length,C),$!==this&&(this.negative=1),this._strip()},a.prototype.sub=function(v){return this.clone().isub(v)};var b=function(v,E,$){var q,m,w,C=v.words,j=E.words,N=$.words,L=0,U=0|C[0],D=8191&U,I=U>>>13,O=0|C[1],G=8191&O,X=O>>>13,te=0|C[2],Z=8191&te,V=te>>>13,Q=0|C[3],Y=8191&Q,J=Q>>>13,ce=0|C[4],oe=8191&ce,ne=ce>>>13,_e=0|C[5],re=8191&_e,ie=_e>>>13,ye=0|C[6],se=8191&ye,fe=ye>>>13,me=0|C[7],le=8191&me,he=me>>>13,Ee=0|C[8],ge=8191&Ee,de=Ee>>>13,Oe=0|C[9],ve=8191&Oe,be=Oe>>>13,Le=0|j[0],S=8191&Le,M=Le>>>13,k=0|j[1],F=8191&k,W=k>>>13,H=0|j[2],K=8191&H,ee=H>>>13,pe=0|j[3],ue=8191&pe,ae=pe>>>13,Re=0|j[4],Be=8191&Re,qe=Re>>>13,je=0|j[5],$e=8191&je,Ae=je>>>13,De=0|j[6],Se=8191&De,we=De>>>13,Te=0|j[7],Me=8191&Te,Ie=Te>>>13,ar=0|j[8],ke=8191&ar,xe=ar>>>13,or=0|j[9],Pe=8191&or,Ce=or>>>13;$.negative=v.negative^E.negative,$.length=19;var Fe=(L+(q=Math.imul(D,S))|0)+((8191&(m=(m=Math.imul(D,M))+Math.imul(I,S)|0))<<13)|0;L=((w=Math.imul(I,M))+(m>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,q=Math.imul(G,S),m=(m=Math.imul(G,M))+Math.imul(X,S)|0,w=Math.imul(X,M);var Ue=(L+(q=q+Math.imul(D,F)|0)|0)+((8191&(m=(m=m+Math.imul(D,W)|0)+Math.imul(I,F)|0))<<13)|0;L=((w=w+Math.imul(I,W)|0)+(m>>>13)|0)+(Ue>>>26)|0,Ue&=67108863,q=Math.imul(Z,S),m=(m=Math.imul(Z,M))+Math.imul(V,S)|0,w=Math.imul(V,M),q=q+Math.imul(G,F)|0,m=(m=m+Math.imul(G,W)|0)+Math.imul(X,F)|0,w=w+Math.imul(X,W)|0;var Ne=(L+(q=q+Math.imul(D,K)|0)|0)+((8191&(m=(m=m+Math.imul(D,ee)|0)+Math.imul(I,K)|0))<<13)|0;L=((w=w+Math.imul(I,ee)|0)+(m>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,q=Math.imul(Y,S),m=(m=Math.imul(Y,M))+Math.imul(J,S)|0,w=Math.imul(J,M),q=q+Math.imul(Z,F)|0,m=(m=m+Math.imul(Z,W)|0)+Math.imul(V,F)|0,w=w+Math.imul(V,W)|0,q=q+Math.imul(G,K)|0,m=(m=m+Math.imul(G,ee)|0)+Math.imul(X,K)|0,w=w+Math.imul(X,ee)|0;var We=(L+(q=q+Math.imul(D,ue)|0)|0)+((8191&(m=(m=m+Math.imul(D,ae)|0)+Math.imul(I,ue)|0))<<13)|0;L=((w=w+Math.imul(I,ae)|0)+(m>>>13)|0)+(We>>>26)|0,We&=67108863,q=Math.imul(oe,S),m=(m=Math.imul(oe,M))+Math.imul(ne,S)|0,w=Math.imul(ne,M),q=q+Math.imul(Y,F)|0,m=(m=m+Math.imul(Y,W)|0)+Math.imul(J,F)|0,w=w+Math.imul(J,W)|0,q=q+Math.imul(Z,K)|0,m=(m=m+Math.imul(Z,ee)|0)+Math.imul(V,K)|0,w=w+Math.imul(V,ee)|0,q=q+Math.imul(G,ue)|0,m=(m=m+Math.imul(G,ae)|0)+Math.imul(X,ue)|0,w=w+Math.imul(X,ae)|0;var ze=(L+(q=q+Math.imul(D,Be)|0)|0)+((8191&(m=(m=m+Math.imul(D,qe)|0)+Math.imul(I,Be)|0))<<13)|0;L=((w=w+Math.imul(I,qe)|0)+(m>>>13)|0)+(ze>>>26)|0,ze&=67108863,q=Math.imul(re,S),m=(m=Math.imul(re,M))+Math.imul(ie,S)|0,w=Math.imul(ie,M),q=q+Math.imul(oe,F)|0,m=(m=m+Math.imul(oe,W)|0)+Math.imul(ne,F)|0,w=w+Math.imul(ne,W)|0,q=q+Math.imul(Y,K)|0,m=(m=m+Math.imul(Y,ee)|0)+Math.imul(J,K)|0,w=w+Math.imul(J,ee)|0,q=q+Math.imul(Z,ue)|0,m=(m=m+Math.imul(Z,ae)|0)+Math.imul(V,ue)|0,w=w+Math.imul(V,ae)|0,q=q+Math.imul(G,Be)|0,m=(m=m+Math.imul(G,qe)|0)+Math.imul(X,Be)|0,w=w+Math.imul(X,qe)|0;var Ge=(L+(q=q+Math.imul(D,$e)|0)|0)+((8191&(m=(m=m+Math.imul(D,Ae)|0)+Math.imul(I,$e)|0))<<13)|0;L=((w=w+Math.imul(I,Ae)|0)+(m>>>13)|0)+(Ge>>>26)|0,Ge&=67108863,q=Math.imul(se,S),m=(m=Math.imul(se,M))+Math.imul(fe,S)|0,w=Math.imul(fe,M),q=q+Math.imul(re,F)|0,m=(m=m+Math.imul(re,W)|0)+Math.imul(ie,F)|0,w=w+Math.imul(ie,W)|0,q=q+Math.imul(oe,K)|0,m=(m=m+Math.imul(oe,ee)|0)+Math.imul(ne,K)|0,w=w+Math.imul(ne,ee)|0,q=q+Math.imul(Y,ue)|0,m=(m=m+Math.imul(Y,ae)|0)+Math.imul(J,ue)|0,w=w+Math.imul(J,ae)|0,q=q+Math.imul(Z,Be)|0,m=(m=m+Math.imul(Z,qe)|0)+Math.imul(V,Be)|0,w=w+Math.imul(V,qe)|0,q=q+Math.imul(G,$e)|0,m=(m=m+Math.imul(G,Ae)|0)+Math.imul(X,$e)|0,w=w+Math.imul(X,Ae)|0;var He=(L+(q=q+Math.imul(D,Se)|0)|0)+((8191&(m=(m=m+Math.imul(D,we)|0)+Math.imul(I,Se)|0))<<13)|0;L=((w=w+Math.imul(I,we)|0)+(m>>>13)|0)+(He>>>26)|0,He&=67108863,q=Math.imul(le,S),m=(m=Math.imul(le,M))+Math.imul(he,S)|0,w=Math.imul(he,M),q=q+Math.imul(se,F)|0,m=(m=m+Math.imul(se,W)|0)+Math.imul(fe,F)|0,w=w+Math.imul(fe,W)|0,q=q+Math.imul(re,K)|0,m=(m=m+Math.imul(re,ee)|0)+Math.imul(ie,K)|0,w=w+Math.imul(ie,ee)|0,q=q+Math.imul(oe,ue)|0,m=(m=m+Math.imul(oe,ae)|0)+Math.imul(ne,ue)|0,w=w+Math.imul(ne,ae)|0,q=q+Math.imul(Y,Be)|0,m=(m=m+Math.imul(Y,qe)|0)+Math.imul(J,Be)|0,w=w+Math.imul(J,qe)|0,q=q+Math.imul(Z,$e)|0,m=(m=m+Math.imul(Z,Ae)|0)+Math.imul(V,$e)|0,w=w+Math.imul(V,Ae)|0,q=q+Math.imul(G,Se)|0,m=(m=m+Math.imul(G,we)|0)+Math.imul(X,Se)|0,w=w+Math.imul(X,we)|0;var Ke=(L+(q=q+Math.imul(D,Me)|0)|0)+((8191&(m=(m=m+Math.imul(D,Ie)|0)+Math.imul(I,Me)|0))<<13)|0;L=((w=w+Math.imul(I,Ie)|0)+(m>>>13)|0)+(Ke>>>26)|0,Ke&=67108863,q=Math.imul(ge,S),m=(m=Math.imul(ge,M))+Math.imul(de,S)|0,w=Math.imul(de,M),q=q+Math.imul(le,F)|0,m=(m=m+Math.imul(le,W)|0)+Math.imul(he,F)|0,w=w+Math.imul(he,W)|0,q=q+Math.imul(se,K)|0,m=(m=m+Math.imul(se,ee)|0)+Math.imul(fe,K)|0,w=w+Math.imul(fe,ee)|0,q=q+Math.imul(re,ue)|0,m=(m=m+Math.imul(re,ae)|0)+Math.imul(ie,ue)|0,w=w+Math.imul(ie,ae)|0,q=q+Math.imul(oe,Be)|0,m=(m=m+Math.imul(oe,qe)|0)+Math.imul(ne,Be)|0,w=w+Math.imul(ne,qe)|0,q=q+Math.imul(Y,$e)|0,m=(m=m+Math.imul(Y,Ae)|0)+Math.imul(J,$e)|0,w=w+Math.imul(J,Ae)|0,q=q+Math.imul(Z,Se)|0,m=(m=m+Math.imul(Z,we)|0)+Math.imul(V,Se)|0,w=w+Math.imul(V,we)|0,q=q+Math.imul(G,Me)|0,m=(m=m+Math.imul(G,Ie)|0)+Math.imul(X,Me)|0,w=w+Math.imul(X,Ie)|0;var Ve=(L+(q=q+Math.imul(D,ke)|0)|0)+((8191&(m=(m=m+Math.imul(D,xe)|0)+Math.imul(I,ke)|0))<<13)|0;L=((w=w+Math.imul(I,xe)|0)+(m>>>13)|0)+(Ve>>>26)|0,Ve&=67108863,q=Math.imul(ve,S),m=(m=Math.imul(ve,M))+Math.imul(be,S)|0,w=Math.imul(be,M),q=q+Math.imul(ge,F)|0,m=(m=m+Math.imul(ge,W)|0)+Math.imul(de,F)|0,w=w+Math.imul(de,W)|0,q=q+Math.imul(le,K)|0,m=(m=m+Math.imul(le,ee)|0)+Math.imul(he,K)|0,w=w+Math.imul(he,ee)|0,q=q+Math.imul(se,ue)|0,m=(m=m+Math.imul(se,ae)|0)+Math.imul(fe,ue)|0,w=w+Math.imul(fe,ae)|0,q=q+Math.imul(re,Be)|0,m=(m=m+Math.imul(re,qe)|0)+Math.imul(ie,Be)|0,w=w+Math.imul(ie,qe)|0,q=q+Math.imul(oe,$e)|0,m=(m=m+Math.imul(oe,Ae)|0)+Math.imul(ne,$e)|0,w=w+Math.imul(ne,Ae)|0,q=q+Math.imul(Y,Se)|0,m=(m=m+Math.imul(Y,we)|0)+Math.imul(J,Se)|0,w=w+Math.imul(J,we)|0,q=q+Math.imul(Z,Me)|0,m=(m=m+Math.imul(Z,Ie)|0)+Math.imul(V,Me)|0,w=w+Math.imul(V,Ie)|0,q=q+Math.imul(G,ke)|0,m=(m=m+Math.imul(G,xe)|0)+Math.imul(X,ke)|0,w=w+Math.imul(X,xe)|0;var Xe=(L+(q=q+Math.imul(D,Pe)|0)|0)+((8191&(m=(m=m+Math.imul(D,Ce)|0)+Math.imul(I,Pe)|0))<<13)|0;L=((w=w+Math.imul(I,Ce)|0)+(m>>>13)|0)+(Xe>>>26)|0,Xe&=67108863,q=Math.imul(ve,F),m=(m=Math.imul(ve,W))+Math.imul(be,F)|0,w=Math.imul(be,W),q=q+Math.imul(ge,K)|0,m=(m=m+Math.imul(ge,ee)|0)+Math.imul(de,K)|0,w=w+Math.imul(de,ee)|0,q=q+Math.imul(le,ue)|0,m=(m=m+Math.imul(le,ae)|0)+Math.imul(he,ue)|0,w=w+Math.imul(he,ae)|0,q=q+Math.imul(se,Be)|0,m=(m=m+Math.imul(se,qe)|0)+Math.imul(fe,Be)|0,w=w+Math.imul(fe,qe)|0,q=q+Math.imul(re,$e)|0,m=(m=m+Math.imul(re,Ae)|0)+Math.imul(ie,$e)|0,w=w+Math.imul(ie,Ae)|0,q=q+Math.imul(oe,Se)|0,m=(m=m+Math.imul(oe,we)|0)+Math.imul(ne,Se)|0,w=w+Math.imul(ne,we)|0,q=q+Math.imul(Y,Me)|0,m=(m=m+Math.imul(Y,Ie)|0)+Math.imul(J,Me)|0,w=w+Math.imul(J,Ie)|0,q=q+Math.imul(Z,ke)|0,m=(m=m+Math.imul(Z,xe)|0)+Math.imul(V,ke)|0,w=w+Math.imul(V,xe)|0;var Ye=(L+(q=q+Math.imul(G,Pe)|0)|0)+((8191&(m=(m=m+Math.imul(G,Ce)|0)+Math.imul(X,Pe)|0))<<13)|0;L=((w=w+Math.imul(X,Ce)|0)+(m>>>13)|0)+(Ye>>>26)|0,Ye&=67108863,q=Math.imul(ve,K),m=(m=Math.imul(ve,ee))+Math.imul(be,K)|0,w=Math.imul(be,ee),q=q+Math.imul(ge,ue)|0,m=(m=m+Math.imul(ge,ae)|0)+Math.imul(de,ue)|0,w=w+Math.imul(de,ae)|0,q=q+Math.imul(le,Be)|0,m=(m=m+Math.imul(le,qe)|0)+Math.imul(he,Be)|0,w=w+Math.imul(he,qe)|0,q=q+Math.imul(se,$e)|0,m=(m=m+Math.imul(se,Ae)|0)+Math.imul(fe,$e)|0,w=w+Math.imul(fe,Ae)|0,q=q+Math.imul(re,Se)|0,m=(m=m+Math.imul(re,we)|0)+Math.imul(ie,Se)|0,w=w+Math.imul(ie,we)|0,q=q+Math.imul(oe,Me)|0,m=(m=m+Math.imul(oe,Ie)|0)+Math.imul(ne,Me)|0,w=w+Math.imul(ne,Ie)|0,q=q+Math.imul(Y,ke)|0,m=(m=m+Math.imul(Y,xe)|0)+Math.imul(J,ke)|0,w=w+Math.imul(J,xe)|0;var Ze=(L+(q=q+Math.imul(Z,Pe)|0)|0)+((8191&(m=(m=m+Math.imul(Z,Ce)|0)+Math.imul(V,Pe)|0))<<13)|0;L=((w=w+Math.imul(V,Ce)|0)+(m>>>13)|0)+(Ze>>>26)|0,Ze&=67108863,q=Math.imul(ve,ue),m=(m=Math.imul(ve,ae))+Math.imul(be,ue)|0,w=Math.imul(be,ae),q=q+Math.imul(ge,Be)|0,m=(m=m+Math.imul(ge,qe)|0)+Math.imul(de,Be)|0,w=w+Math.imul(de,qe)|0,q=q+Math.imul(le,$e)|0,m=(m=m+Math.imul(le,Ae)|0)+Math.imul(he,$e)|0,w=w+Math.imul(he,Ae)|0,q=q+Math.imul(se,Se)|0,m=(m=m+Math.imul(se,we)|0)+Math.imul(fe,Se)|0,w=w+Math.imul(fe,we)|0,q=q+Math.imul(re,Me)|0,m=(m=m+Math.imul(re,Ie)|0)+Math.imul(ie,Me)|0,w=w+Math.imul(ie,Ie)|0,q=q+Math.imul(oe,ke)|0,m=(m=m+Math.imul(oe,xe)|0)+Math.imul(ne,ke)|0,w=w+Math.imul(ne,xe)|0;var Je=(L+(q=q+Math.imul(Y,Pe)|0)|0)+((8191&(m=(m=m+Math.imul(Y,Ce)|0)+Math.imul(J,Pe)|0))<<13)|0;L=((w=w+Math.imul(J,Ce)|0)+(m>>>13)|0)+(Je>>>26)|0,Je&=67108863,q=Math.imul(ve,Be),m=(m=Math.imul(ve,qe))+Math.imul(be,Be)|0,w=Math.imul(be,qe),q=q+Math.imul(ge,$e)|0,m=(m=m+Math.imul(ge,Ae)|0)+Math.imul(de,$e)|0,w=w+Math.imul(de,Ae)|0,q=q+Math.imul(le,Se)|0,m=(m=m+Math.imul(le,we)|0)+Math.imul(he,Se)|0,w=w+Math.imul(he,we)|0,q=q+Math.imul(se,Me)|0,m=(m=m+Math.imul(se,Ie)|0)+Math.imul(fe,Me)|0,w=w+Math.imul(fe,Ie)|0,q=q+Math.imul(re,ke)|0,m=(m=m+Math.imul(re,xe)|0)+Math.imul(ie,ke)|0,w=w+Math.imul(ie,xe)|0;var Qe=(L+(q=q+Math.imul(oe,Pe)|0)|0)+((8191&(m=(m=m+Math.imul(oe,Ce)|0)+Math.imul(ne,Pe)|0))<<13)|0;L=((w=w+Math.imul(ne,Ce)|0)+(m>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,q=Math.imul(ve,$e),m=(m=Math.imul(ve,Ae))+Math.imul(be,$e)|0,w=Math.imul(be,Ae),q=q+Math.imul(ge,Se)|0,m=(m=m+Math.imul(ge,we)|0)+Math.imul(de,Se)|0,w=w+Math.imul(de,we)|0,q=q+Math.imul(le,Me)|0,m=(m=m+Math.imul(le,Ie)|0)+Math.imul(he,Me)|0,w=w+Math.imul(he,Ie)|0,q=q+Math.imul(se,ke)|0,m=(m=m+Math.imul(se,xe)|0)+Math.imul(fe,ke)|0,w=w+Math.imul(fe,xe)|0;var er=(L+(q=q+Math.imul(re,Pe)|0)|0)+((8191&(m=(m=m+Math.imul(re,Ce)|0)+Math.imul(ie,Pe)|0))<<13)|0;L=((w=w+Math.imul(ie,Ce)|0)+(m>>>13)|0)+(er>>>26)|0,er&=67108863,q=Math.imul(ve,Se),m=(m=Math.imul(ve,we))+Math.imul(be,Se)|0,w=Math.imul(be,we),q=q+Math.imul(ge,Me)|0,m=(m=m+Math.imul(ge,Ie)|0)+Math.imul(de,Me)|0,w=w+Math.imul(de,Ie)|0,q=q+Math.imul(le,ke)|0,m=(m=m+Math.imul(le,xe)|0)+Math.imul(he,ke)|0,w=w+Math.imul(he,xe)|0;var rr=(L+(q=q+Math.imul(se,Pe)|0)|0)+((8191&(m=(m=m+Math.imul(se,Ce)|0)+Math.imul(fe,Pe)|0))<<13)|0;L=((w=w+Math.imul(fe,Ce)|0)+(m>>>13)|0)+(rr>>>26)|0,rr&=67108863,q=Math.imul(ve,Me),m=(m=Math.imul(ve,Ie))+Math.imul(be,Me)|0,w=Math.imul(be,Ie),q=q+Math.imul(ge,ke)|0,m=(m=m+Math.imul(ge,xe)|0)+Math.imul(de,ke)|0,w=w+Math.imul(de,xe)|0;var tr=(L+(q=q+Math.imul(le,Pe)|0)|0)+((8191&(m=(m=m+Math.imul(le,Ce)|0)+Math.imul(he,Pe)|0))<<13)|0;L=((w=w+Math.imul(he,Ce)|0)+(m>>>13)|0)+(tr>>>26)|0,tr&=67108863,q=Math.imul(ve,ke),m=(m=Math.imul(ve,xe))+Math.imul(be,ke)|0,w=Math.imul(be,xe);var ir=(L+(q=q+Math.imul(ge,Pe)|0)|0)+((8191&(m=(m=m+Math.imul(ge,Ce)|0)+Math.imul(de,Pe)|0))<<13)|0;L=((w=w+Math.imul(de,Ce)|0)+(m>>>13)|0)+(ir>>>26)|0,ir&=67108863;var nr=(L+(q=Math.imul(ve,Pe))|0)+((8191&(m=(m=Math.imul(ve,Ce))+Math.imul(be,Pe)|0))<<13)|0;return L=((w=Math.imul(be,Ce))+(m>>>13)|0)+(nr>>>26)|0,nr&=67108863,N[0]=Fe,N[1]=Ue,N[2]=Ne,N[3]=We,N[4]=ze,N[5]=Ge,N[6]=He,N[7]=Ke,N[8]=Ve,N[9]=Xe,N[10]=Ye,N[11]=Ze,N[12]=Je,N[13]=Qe,N[14]=er,N[15]=rr,N[16]=tr,N[17]=ir,N[18]=nr,L!==0&&(N[19]=L,$.length++),$};function y(v,E,$){$.negative=E.negative^v.negative,$.length=v.length+E.length;for(var q=0,m=0,w=0;w<$.length-1;w++){var C=m;m=0;for(var j=67108863&q,N=Math.min(w,E.length-1),L=Math.max(0,w-v.length+1);L<=N;L++){var U=w-L,D=(0|v.words[U])*(0|E.words[L]),I=67108863&D;j=67108863&(I=I+j|0),m+=(C=(C=C+(D/67108864|0)|0)+(I>>>26)|0)>>>26,C&=67108863}$.words[w]=j,q=C,C=m}return q!==0?$.words[w]=q:$.length--,$._strip()}function g(v,E,$){return y(v,E,$)}Math.imul||(b=p),a.prototype.mulTo=function(v,E){var $=this.length+v.length;return this.length===10&&v.length===10?b(this,v,E):$<63?p(this,v,E):$<1024?y(this,v,E):g(this,v,E)},a.prototype.mul=function(v){var E=new a(null);return E.words=new Array(this.length+v.length),this.mulTo(v,E)},a.prototype.mulf=function(v){var E=new a(null);return E.words=new Array(this.length+v.length),g(this,v,E)},a.prototype.imul=function(v){return this.clone().mulTo(v,this)},a.prototype.imuln=function(v){var E=v<0;E&&(v=-v),u(typeof v=="number"),u(v<67108864);for(var $=0,q=0;q<this.length;q++){var m=(0|this.words[q])*v,w=(67108863&m)+(67108863&$);$>>=26,$+=m/67108864|0,$+=w>>>26,this.words[q]=67108863&w}return $!==0&&(this.words[q]=$,this.length++),this.length=v===0?1:this.length,E?this.ineg():this},a.prototype.muln=function(v){return this.clone().imuln(v)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(v){var E=(function(w){for(var C=new Array(w.bitLength()),j=0;j<C.length;j++){var N=j/26|0,L=j%26;C[j]=w.words[N]>>>L&1}return C})(v);if(E.length===0)return new a(1);for(var $=this,q=0;q<E.length&&E[q]===0;q++,$=$.sqr());if(++q<E.length)for(var m=$.sqr();q<E.length;q++,m=m.sqr())E[q]!==0&&($=$.mul(m));return $},a.prototype.iushln=function(v){u(typeof v=="number"&&v>=0);var E,$=v%26,q=(v-$)/26,m=67108863>>>26-$<<26-$;if($!==0){var w=0;for(E=0;E<this.length;E++){var C=this.words[E]&m,j=(0|this.words[E])-C<<$;this.words[E]=j|w,w=C>>>26-$}w&&(this.words[E]=w,this.length++)}if(q!==0){for(E=this.length-1;E>=0;E--)this.words[E+q]=this.words[E];for(E=0;E<q;E++)this.words[E]=0;this.length+=q}return this._strip()},a.prototype.ishln=function(v){return u(this.negative===0),this.iushln(v)},a.prototype.iushrn=function(v,E,$){var q;u(typeof v=="number"&&v>=0),q=E?(E-E%26)/26:0;var m=v%26,w=Math.min((v-m)/26,this.length),C=67108863^67108863>>>m<<m,j=$;if(q-=w,q=Math.max(0,q),j){for(var N=0;N<w;N++)j.words[N]=this.words[N];j.length=w}if(w!==0)if(this.length>w)for(this.length-=w,N=0;N<this.length;N++)this.words[N]=this.words[N+w];else this.words[0]=0,this.length=1;var L=0;for(N=this.length-1;N>=0&&(L!==0||N>=q);N--){var U=0|this.words[N];this.words[N]=L<<26-m|U>>>m,L=U&C}return j&&L!==0&&(j.words[j.length++]=L),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},a.prototype.ishrn=function(v,E,$){return u(this.negative===0),this.iushrn(v,E,$)},a.prototype.shln=function(v){return this.clone().ishln(v)},a.prototype.ushln=function(v){return this.clone().iushln(v)},a.prototype.shrn=function(v){return this.clone().ishrn(v)},a.prototype.ushrn=function(v){return this.clone().iushrn(v)},a.prototype.testn=function(v){u(typeof v=="number"&&v>=0);var E=v%26,$=(v-E)/26,q=1<<E;return!(this.length<=$||!(this.words[$]&q))},a.prototype.imaskn=function(v){u(typeof v=="number"&&v>=0);var E=v%26,$=(v-E)/26;if(u(this.negative===0,"imaskn works only with positive numbers"),this.length<=$)return this;if(E!==0&&$++,this.length=Math.min($,this.length),E!==0){var q=67108863^67108863>>>E<<E;this.words[this.length-1]&=q}return this.length===0&&(this.words[0]=0,this.length=1),this._strip()},a.prototype.maskn=function(v){return this.clone().imaskn(v)},a.prototype.iaddn=function(v){return u(typeof v=="number"),u(v<67108864),v<0?this.isubn(-v):this.negative!==0?this.length===1&&(0|this.words[0])<=v?(this.words[0]=v-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(v),this.negative=1,this):this._iaddn(v)},a.prototype._iaddn=function(v){this.words[0]+=v;for(var E=0;E<this.length&&this.words[E]>=67108864;E++)this.words[E]-=67108864,E===this.length-1?this.words[E+1]=1:this.words[E+1]++;return this.length=Math.max(this.length,E+1),this},a.prototype.isubn=function(v){if(u(typeof v=="number"),u(v<67108864),v<0)return this.iaddn(-v);if(this.negative!==0)return this.negative=0,this.iaddn(v),this.negative=1,this;if(this.words[0]-=v,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var E=0;E<this.length&&this.words[E]<0;E++)this.words[E]+=67108864,this.words[E+1]-=1;return this._strip()},a.prototype.addn=function(v){return this.clone().iaddn(v)},a.prototype.subn=function(v){return this.clone().isubn(v)},a.prototype.iabs=function(){return this.negative=0,this},a.prototype.abs=function(){return this.clone().iabs()},a.prototype._ishlnsubmul=function(v,E,$){var q,m,w=v.length+$;this._expand(w);var C=0;for(q=0;q<v.length;q++){m=(0|this.words[q+$])+C;var j=(0|v.words[q])*E;C=((m-=67108863&j)>>26)-(j/67108864|0),this.words[q+$]=67108863&m}for(;q<this.length-$;q++)C=(m=(0|this.words[q+$])+C)>>26,this.words[q+$]=67108863&m;if(C===0)return this._strip();for(u(C===-1),C=0,q=0;q<this.length;q++)C=(m=-(0|this.words[q])+C)>>26,this.words[q]=67108863&m;return this.negative=1,this._strip()},a.prototype._wordDiv=function(v,E){var $=(this.length,v.length),q=this.clone(),m=v,w=0|m.words[m.length-1];($=26-this._countBits(w))!=0&&(m=m.ushln($),q.iushln($),w=0|m.words[m.length-1]);var C,j=q.length-m.length;if(E!=="mod"){(C=new a(null)).length=j+1,C.words=new Array(C.length);for(var N=0;N<C.length;N++)C.words[N]=0}var L=q.clone()._ishlnsubmul(m,1,j);L.negative===0&&(q=L,C&&(C.words[j]=1));for(var U=j-1;U>=0;U--){var D=67108864*(0|q.words[m.length+U])+(0|q.words[m.length+U-1]);for(D=Math.min(D/w|0,67108863),q._ishlnsubmul(m,D,U);q.negative!==0;)D--,q.negative=0,q._ishlnsubmul(m,1,U),q.isZero()||(q.negative^=1);C&&(C.words[U]=D)}return C&&C._strip(),q._strip(),E!=="div"&&$!==0&&q.iushrn($),{div:C||null,mod:q}},a.prototype.divmod=function(v,E,$){return u(!v.isZero()),this.isZero()?{div:new a(0),mod:new a(0)}:this.negative!==0&&v.negative===0?(w=this.neg().divmod(v,E),E!=="mod"&&(q=w.div.neg()),E!=="div"&&(m=w.mod.neg(),$&&m.negative!==0&&m.iadd(v)),{div:q,mod:m}):this.negative===0&&v.negative!==0?(w=this.divmod(v.neg(),E),E!=="mod"&&(q=w.div.neg()),{div:q,mod:w.mod}):this.negative&v.negative?(w=this.neg().divmod(v.neg(),E),E!=="div"&&(m=w.mod.neg(),$&&m.negative!==0&&m.isub(v)),{div:w.div,mod:m}):v.length>this.length||this.cmp(v)<0?{div:new a(0),mod:this}:v.length===1?E==="div"?{div:this.divn(v.words[0]),mod:null}:E==="mod"?{div:null,mod:new a(this.modrn(v.words[0]))}:{div:this.divn(v.words[0]),mod:new a(this.modrn(v.words[0]))}:this._wordDiv(v,E);var q,m,w},a.prototype.div=function(v){return this.divmod(v,"div",!1).div},a.prototype.mod=function(v){return this.divmod(v,"mod",!1).mod},a.prototype.umod=function(v){return this.divmod(v,"mod",!0).mod},a.prototype.divRound=function(v){var E=this.divmod(v);if(E.mod.isZero())return E.div;var $=E.div.negative!==0?E.mod.isub(v):E.mod,q=v.ushrn(1),m=v.andln(1),w=$.cmp(q);return w<0||m===1&&w===0?E.div:E.div.negative!==0?E.div.isubn(1):E.div.iaddn(1)},a.prototype.modrn=function(v){var E=v<0;E&&(v=-v),u(v<=67108863);for(var $=(1<<26)%v,q=0,m=this.length-1;m>=0;m--)q=($*q+(0|this.words[m]))%v;return E?-q:q},a.prototype.modn=function(v){return this.modrn(v)},a.prototype.idivn=function(v){var E=v<0;E&&(v=-v),u(v<=67108863);for(var $=0,q=this.length-1;q>=0;q--){var m=(0|this.words[q])+67108864*$;this.words[q]=m/v|0,$=m%v}return this._strip(),E?this.ineg():this},a.prototype.divn=function(v){return this.clone().idivn(v)},a.prototype.egcd=function(v){u(v.negative===0),u(!v.isZero());var E=this,$=v.clone();E=E.negative!==0?E.umod(v):E.clone();for(var q=new a(1),m=new a(0),w=new a(0),C=new a(1),j=0;E.isEven()&&$.isEven();)E.iushrn(1),$.iushrn(1),++j;for(var N=$.clone(),L=E.clone();!E.isZero();){for(var U=0,D=1;!(E.words[0]&D)&&U<26;++U,D<<=1);if(U>0)for(E.iushrn(U);U-- >0;)(q.isOdd()||m.isOdd())&&(q.iadd(N),m.isub(L)),q.iushrn(1),m.iushrn(1);for(var I=0,O=1;!($.words[0]&O)&&I<26;++I,O<<=1);if(I>0)for($.iushrn(I);I-- >0;)(w.isOdd()||C.isOdd())&&(w.iadd(N),C.isub(L)),w.iushrn(1),C.iushrn(1);E.cmp($)>=0?(E.isub($),q.isub(w),m.isub(C)):($.isub(E),w.isub(q),C.isub(m))}return{a:w,b:C,gcd:$.iushln(j)}},a.prototype._invmp=function(v){u(v.negative===0),u(!v.isZero());var E=this,$=v.clone();E=E.negative!==0?E.umod(v):E.clone();for(var q,m=new a(1),w=new a(0),C=$.clone();E.cmpn(1)>0&&$.cmpn(1)>0;){for(var j=0,N=1;!(E.words[0]&N)&&j<26;++j,N<<=1);if(j>0)for(E.iushrn(j);j-- >0;)m.isOdd()&&m.iadd(C),m.iushrn(1);for(var L=0,U=1;!($.words[0]&U)&&L<26;++L,U<<=1);if(L>0)for($.iushrn(L);L-- >0;)w.isOdd()&&w.iadd(C),w.iushrn(1);E.cmp($)>=0?(E.isub($),m.isub(w)):($.isub(E),w.isub(m))}return(q=E.cmpn(1)===0?m:w).cmpn(0)<0&&q.iadd(v),q},a.prototype.gcd=function(v){if(this.isZero())return v.abs();if(v.isZero())return this.abs();var E=this.clone(),$=v.clone();E.negative=0,$.negative=0;for(var q=0;E.isEven()&&$.isEven();q++)E.iushrn(1),$.iushrn(1);for(;;){for(;E.isEven();)E.iushrn(1);for(;$.isEven();)$.iushrn(1);var m=E.cmp($);if(m<0){var w=E;E=$,$=w}else if(m===0||$.cmpn(1)===0)break;E.isub($)}return $.iushln(q)},a.prototype.invm=function(v){return this.egcd(v).a.umod(v)},a.prototype.isEven=function(){return!(1&this.words[0])},a.prototype.isOdd=function(){return!(1&~this.words[0])},a.prototype.andln=function(v){return this.words[0]&v},a.prototype.bincn=function(v){u(typeof v=="number");var E=v%26,$=(v-E)/26,q=1<<E;if(this.length<=$)return this._expand($+1),this.words[$]|=q,this;for(var m=q,w=$;m!==0&&w<this.length;w++){var C=0|this.words[w];m=(C+=m)>>>26,C&=67108863,this.words[w]=C}return m!==0&&(this.words[w]=m,this.length++),this},a.prototype.isZero=function(){return this.length===1&&this.words[0]===0},a.prototype.cmpn=function(v){var E,$=v<0;if(this.negative!==0&&!$)return-1;if(this.negative===0&&$)return 1;if(this._strip(),this.length>1)E=1;else{$&&(v=-v),u(v<=67108863,"Number is too big");var q=0|this.words[0];E=q===v?0:q<v?-1:1}return this.negative!==0?0|-E:E},a.prototype.cmp=function(v){if(this.negative!==0&&v.negative===0)return-1;if(this.negative===0&&v.negative!==0)return 1;var E=this.ucmp(v);return this.negative!==0?0|-E:E},a.prototype.ucmp=function(v){if(this.length>v.length)return 1;if(this.length<v.length)return-1;for(var E=0,$=this.length-1;$>=0;$--){var q=0|this.words[$],m=0|v.words[$];if(q!==m){q<m?E=-1:q>m&&(E=1);break}}return E},a.prototype.gtn=function(v){return this.cmpn(v)===1},a.prototype.gt=function(v){return this.cmp(v)===1},a.prototype.gten=function(v){return this.cmpn(v)>=0},a.prototype.gte=function(v){return this.cmp(v)>=0},a.prototype.ltn=function(v){return this.cmpn(v)===-1},a.prototype.lt=function(v){return this.cmp(v)===-1},a.prototype.lten=function(v){return this.cmpn(v)<=0},a.prototype.lte=function(v){return this.cmp(v)<=0},a.prototype.eqn=function(v){return this.cmpn(v)===0},a.prototype.eq=function(v){return this.cmp(v)===0},a.red=function(v){return new T(v)},a.prototype.toRed=function(v){return u(!this.red,"Already a number in reduction context"),u(this.negative===0,"red works only with positives"),v.convertTo(this)._forceRed(v)},a.prototype.fromRed=function(){return u(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(v){return this.red=v,this},a.prototype.forceRed=function(v){return u(!this.red,"Already a number in reduction context"),this._forceRed(v)},a.prototype.redAdd=function(v){return u(this.red,"redAdd works only with red numbers"),this.red.add(this,v)},a.prototype.redIAdd=function(v){return u(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,v)},a.prototype.redSub=function(v){return u(this.red,"redSub works only with red numbers"),this.red.sub(this,v)},a.prototype.redISub=function(v){return u(this.red,"redISub works only with red numbers"),this.red.isub(this,v)},a.prototype.redShl=function(v){return u(this.red,"redShl works only with red numbers"),this.red.shl(this,v)},a.prototype.redMul=function(v){return u(this.red,"redMul works only with red numbers"),this.red._verify2(this,v),this.red.mul(this,v)},a.prototype.redIMul=function(v){return u(this.red,"redMul works only with red numbers"),this.red._verify2(this,v),this.red.imul(this,v)},a.prototype.redSqr=function(){return u(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return u(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return u(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return u(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return u(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(v){return u(this.red&&!v.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,v)};var _={k256:null,p224:null,p192:null,p25519:null};function B(v,E){this.name=v,this.p=new a(E,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function R(){B.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function A(){B.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function P(){B.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function x(){B.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function T(v){if(typeof v=="string"){var E=a._prime(v);this.m=E.p,this.prime=E}else u(v.gtn(1),"modulus must be greater than 1"),this.m=v,this.prime=null}function z(v){T.call(this,v),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new a(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)}B.prototype._tmp=function(){var v=new a(null);return v.words=new Array(Math.ceil(this.n/13)),v},B.prototype.ireduce=function(v){var E,$=v;do this.split($,this.tmp),E=($=($=this.imulK($)).iadd(this.tmp)).bitLength();while(E>this.n);var q=E<this.n?-1:$.ucmp(this.p);return q===0?($.words[0]=0,$.length=1):q>0?$.isub(this.p):$.strip!==void 0?$.strip():$._strip(),$},B.prototype.split=function(v,E){v.iushrn(this.n,0,E)},B.prototype.imulK=function(v){return v.imul(this.k)},t(R,B),R.prototype.split=function(v,E){for(var $=4194303,q=Math.min(v.length,9),m=0;m<q;m++)E.words[m]=v.words[m];if(E.length=q,v.length<=9)return v.words[0]=0,void(v.length=1);var w=v.words[9];for(E.words[E.length++]=w&$,m=10;m<v.length;m++){var C=0|v.words[m];v.words[m-10]=(C&$)<<4|w>>>22,w=C}w>>>=22,v.words[m-10]=w,w===0&&v.length>10?v.length-=10:v.length-=9},R.prototype.imulK=function(v){v.words[v.length]=0,v.words[v.length+1]=0,v.length+=2;for(var E=0,$=0;$<v.length;$++){var q=0|v.words[$];E+=977*q,v.words[$]=67108863&E,E=64*q+(E/67108864|0)}return v.words[v.length-1]===0&&(v.length--,v.words[v.length-1]===0&&v.length--),v},t(A,B),t(P,B),t(x,B),x.prototype.imulK=function(v){for(var E=0,$=0;$<v.length;$++){var q=19*(0|v.words[$])+E,m=67108863&q;q>>>=26,v.words[$]=m,E=q}return E!==0&&(v.words[v.length++]=E),v},a._prime=function(v){if(_[v])return _[v];var E;if(v==="k256")E=new R;else if(v==="p224")E=new A;else if(v==="p192")E=new P;else{if(v!=="p25519")throw new Error("Unknown prime "+v);E=new x}return _[v]=E,E},T.prototype._verify1=function(v){u(v.negative===0,"red works only with positives"),u(v.red,"red works only with red numbers")},T.prototype._verify2=function(v,E){u(!(v.negative|E.negative),"red works only with positives"),u(v.red&&v.red===E.red,"red works only with red numbers")},T.prototype.imod=function(v){return this.prime?this.prime.ireduce(v)._forceRed(this):(i(v,v.umod(this.m)._forceRed(this)),v)},T.prototype.neg=function(v){return v.isZero()?v.clone():this.m.sub(v)._forceRed(this)},T.prototype.add=function(v,E){this._verify2(v,E);var $=v.add(E);return $.cmp(this.m)>=0&&$.isub(this.m),$._forceRed(this)},T.prototype.iadd=function(v,E){this._verify2(v,E);var $=v.iadd(E);return $.cmp(this.m)>=0&&$.isub(this.m),$},T.prototype.sub=function(v,E){this._verify2(v,E);var $=v.sub(E);return $.cmpn(0)<0&&$.iadd(this.m),$._forceRed(this)},T.prototype.isub=function(v,E){this._verify2(v,E);var $=v.isub(E);return $.cmpn(0)<0&&$.iadd(this.m),$},T.prototype.shl=function(v,E){return this._verify1(v),this.imod(v.ushln(E))},T.prototype.imul=function(v,E){return this._verify2(v,E),this.imod(v.imul(E))},T.prototype.mul=function(v,E){return this._verify2(v,E),this.imod(v.mul(E))},T.prototype.isqr=function(v){return this.imul(v,v.clone())},T.prototype.sqr=function(v){return this.mul(v,v)},T.prototype.sqrt=function(v){if(v.isZero())return v.clone();var E=this.m.andln(3);if(u(E%2==1),E===3){var $=this.m.add(new a(1)).iushrn(2);return this.pow(v,$)}for(var q=this.m.subn(1),m=0;!q.isZero()&&q.andln(1)===0;)m++,q.iushrn(1);u(!q.isZero());var w=new a(1).toRed(this),C=w.redNeg(),j=this.m.subn(1).iushrn(1),N=this.m.bitLength();for(N=new a(2*N*N).toRed(this);this.pow(N,j).cmp(C)!==0;)N.redIAdd(C);for(var L=this.pow(N,q),U=this.pow(v,q.addn(1).iushrn(1)),D=this.pow(v,q),I=m;D.cmp(w)!==0;){for(var O=D,G=0;O.cmp(w)!==0;G++)O=O.redSqr();u(G<I);var X=this.pow(L,new a(1).iushln(I-G-1));U=U.redMul(X),L=X.redSqr(),D=D.redMul(L),I=G}return U},T.prototype.invm=function(v){var E=v._invmp(this.m);return E.negative!==0?(E.negative=0,this.imod(E).redNeg()):this.imod(E)},T.prototype.pow=function(v,E){if(E.isZero())return new a(1).toRed(this);if(E.cmpn(1)===0)return v.clone();var $=new Array(16);$[0]=new a(1).toRed(this),$[1]=v;for(var q=2;q<$.length;q++)$[q]=this.mul($[q-1],v);var m=$[0],w=0,C=0,j=E.bitLength()%26;for(j===0&&(j=26),q=E.length-1;q>=0;q--){for(var N=E.words[q],L=j-1;L>=0;L--){var U=N>>L&1;m!==$[0]&&(m=this.sqr(m)),U!==0||w!==0?(w<<=1,w|=U,(++C==4||q===0&&L===0)&&(m=this.mul(m,$[w]),C=0,w=0)):C=0}j=26}return m},T.prototype.convertTo=function(v){var E=v.umod(this.m);return E===v?E.clone():E},T.prototype.convertFrom=function(v){var E=v.clone();return E.red=null,E},a.mont=function(v){return new z(v)},t(z,T),z.prototype.convertTo=function(v){return this.imod(v.ushln(this.shift))},z.prototype.convertFrom=function(v){var E=this.imod(v.mul(this.rinv));return E.red=null,E},z.prototype.imul=function(v,E){if(v.isZero()||E.isZero())return v.words[0]=0,v.length=1,v;var $=v.imul(E),q=$.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),m=$.isub(q).iushrn(this.shift),w=m;return m.cmp(this.m)>=0?w=m.isub(this.m):m.cmpn(0)<0&&(w=m.iadd(this.m)),w._forceRed(this)},z.prototype.mul=function(v,E){if(v.isZero()||E.isZero())return new a(0)._forceRed(this);var $=v.mul(E),q=$.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),m=$.isub(q).iushrn(this.shift),w=m;return m.cmp(this.m)>=0?w=m.isub(this.m):m.cmpn(0)<0&&(w=m.iadd(this.m)),w._forceRed(this)},z.prototype.invm=function(v){return this.imod(v._invmp(this.m).mul(this.r2))._forceRed(this)}})(bn$1,bn)),bn$1.exports}var brorand={exports:{}},hasRequiredBrorand,mr,hasRequiredMr,generatePrime,hasRequiredGeneratePrime;function requireBrorand(){if(hasRequiredBrorand)return brorand.exports;var e;function r(t){this.rand=t}if(hasRequiredBrorand=1,brorand.exports=function(t){return e||(e=new r(null)),e.generate(t)},brorand.exports.Rand=r,r.prototype.generate=function(t){return this._rand(t)},r.prototype._rand=function(t){if(this.rand.getBytes)return this.rand.getBytes(t);for(var a=new Uint8Array(t),l=0;l<a.length;l++)a[l]=this.rand.getByte();return a},typeof self=="object")self.crypto&&self.crypto.getRandomValues?r.prototype._rand=function(t){var a=new Uint8Array(t);return self.crypto.getRandomValues(a),a}:self.msCrypto&&self.msCrypto.getRandomValues?r.prototype._rand=function(t){var a=new Uint8Array(t);return self.msCrypto.getRandomValues(a),a}:typeof window=="object"&&(r.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var u=requireCryptoBrowserify();if(typeof u.randomBytes!="function")throw new Error("Not supported");r.prototype._rand=function(t){return u.randomBytes(t)}}catch{}return brorand.exports}function requireMr(){if(hasRequiredMr)return mr;hasRequiredMr=1;var e=requireBn(),r=requireBrorand();function u(t){this.rand=t||new r.Rand}return mr=u,u.create=function(t){return new u(t)},u.prototype._randbelow=function(t){var a=t.bitLength(),l=Math.ceil(a/8);do var d=new e(this.rand.generate(l));while(d.cmp(t)>=0);return d},u.prototype._randrange=function(t,a){var l=a.sub(t);return t.add(this._randbelow(l))},u.prototype.test=function(t,a,l){var d=t.bitLength(),o=e.mont(t),n=new e(1).toRed(o);a||(a=Math.max(1,d/48|0));for(var i=t.subn(1),s=0;!i.testn(s);s++);for(var f=t.shrn(s),c=i.toRed(o);a>0;a--){var h=this._randrange(new e(2),i);l&&l(h);var p=h.toRed(o).redPow(f);if(p.cmp(n)!==0&&p.cmp(c)!==0){for(var b=1;b<s;b++){if((p=p.redSqr()).cmp(n)===0)return!1;if(p.cmp(c)===0)break}if(b===s)return!1}}return!0},u.prototype.getDivisor=function(t,a){var l=t.bitLength(),d=e.mont(t),o=new e(1).toRed(d);a||(a=Math.max(1,l/48|0));for(var n=t.subn(1),i=0;!n.testn(i);i++);for(var s=t.shrn(i),f=n.toRed(d);a>0;a--){var c=this._randrange(new e(2),n),h=t.gcd(c);if(h.cmpn(1)!==0)return h;var p=c.toRed(d).redPow(s);if(p.cmp(o)!==0&&p.cmp(f)!==0){for(var b=1;b<i;b++){if((p=p.redSqr()).cmp(o)===0)return p.fromRed().subn(1).gcd(t);if(p.cmp(f)===0)break}if(b===i)return(p=p.redSqr()).fromRed().subn(1).gcd(t)}}return!1},mr}function requireGeneratePrime(){if(hasRequiredGeneratePrime)return generatePrime;hasRequiredGeneratePrime=1;var e=requireBrowser$b();generatePrime=b,b.simpleSieve=h,b.fermatTest=p;var r=requireBn(),u=new r(24),t=new(requireMr()),a=new r(1),l=new r(2),d=new r(5);new r(16),new r(8);var o=new r(10),n=new r(3);new r(7);var i=new r(11),s=new r(4);new r(12);var f=null;function c(){if(f!==null)return f;var y=[];y[0]=2;for(var g=1,_=3;_<1048576;_+=2){for(var B=Math.ceil(Math.sqrt(_)),R=0;R<g&&y[R]<=B&&_%y[R]!=0;R++);g!==R&&y[R]<=B||(y[g++]=_)}return f=y,y}function h(y){for(var g=c(),_=0;_<g.length;_++)if(y.modn(g[_])===0)return y.cmpn(g[_])===0;return!0}function p(y){var g=r.mont(y);return l.toRed(g).redPow(y.subn(1)).fromRed().cmpn(1)===0}function b(y,g){if(y<16)return new r(g===2||g===5?[140,123]:[140,39]);var _,B;for(g=new r(g);;){for(_=new r(e(Math.ceil(y/8)));_.bitLength()>y;)_.ishrn(1);if(_.isEven()&&_.iadd(a),_.testn(1)||_.iadd(l),g.cmp(l)){if(!g.cmp(d))for(;_.mod(o).cmp(n);)_.iadd(s)}else for(;_.mod(u).cmp(i);)_.iadd(s);if(h(B=_.shrn(1))&&h(_)&&p(B)&&p(_)&&t.test(B)&&t.test(_))return _}}return generatePrime}const modp1={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},modp5={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},modp14={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},modp15={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},modp16={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},modp17={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},modp18={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"},require$$1$1={modp1,modp2,modp5,modp14,modp15,modp16,modp17,modp18};var dh,hasRequiredDh,hasRequiredBrowser$4;function requireDh(){if(hasRequiredDh)return dh;hasRequiredDh=1;var e=requireBn(),r=new(requireMr()),u=new e(24),t=new e(11),a=new e(10),l=new e(3),d=new e(7),o=requireGeneratePrime(),n=requireBrowser$b();function i(p,b){return b=b||"utf8",Buffer.isBuffer(p)||(p=new Buffer(p,b)),this._pub=new e(p),this}function s(p,b){return b=b||"utf8",Buffer.isBuffer(p)||(p=new Buffer(p,b)),this._priv=new e(p),this}dh=c;var f={};function c(p,b,y){this.setGenerator(b),this.__prime=new e(p),this._prime=e.mont(this.__prime),this._primeLen=p.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,y?(this.setPublicKey=i,this.setPrivateKey=s):this._primeCode=8}function h(p,b){var y=new Buffer(p.toArray());return b?y.toString(b):y}return Object.defineProperty(c.prototype,"verifyError",{enumerable:!0,get:function(){return typeof this._primeCode!="number"&&(this._primeCode=(function(p,b){var y=b.toString("hex"),g=[y,p.toString(16)].join("_");if(g in f)return f[g];var _,B=0;if(p.isEven()||!o.simpleSieve||!o.fermatTest(p)||!r.test(p))return B+=1,B+=y==="02"||y==="05"?8:4,f[g]=B,B;switch(r.test(p.shrn(1))||(B+=2),y){case"02":p.mod(u).cmp(t)&&(B+=8);break;case"05":(_=p.mod(a)).cmp(l)&&_.cmp(d)&&(B+=8);break;default:B+=4}return f[g]=B,B})(this.__prime,this.__gen)),this._primeCode}}),c.prototype.generateKeys=function(){return this._priv||(this._priv=new e(n(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},c.prototype.computeSecret=function(p){var b=(p=(p=new e(p)).toRed(this._prime)).redPow(this._priv).fromRed(),y=new Buffer(b.toArray()),g=this.getPrime();if(y.length<g.length){var _=new Buffer(g.length-y.length);_.fill(0),y=Buffer.concat([_,y])}return y},c.prototype.getPublicKey=function(p){return h(this._pub,p)},c.prototype.getPrivateKey=function(p){return h(this._priv,p)},c.prototype.getPrime=function(p){return h(this.__prime,p)},c.prototype.getGenerator=function(p){return h(this._gen,p)},c.prototype.setGenerator=function(p,b){return b=b||"utf8",Buffer.isBuffer(p)||(p=new Buffer(p,b)),this.__gen=p,this._gen=new e(p),this},dh}function requireBrowser$4(){if(hasRequiredBrowser$4)return browser$4;hasRequiredBrowser$4=1;var e=requireGeneratePrime(),r=require$$1$1,u=requireDh(),t={binary:!0,hex:!0,base64:!0};return browser$4.DiffieHellmanGroup=browser$4.createDiffieHellmanGroup=browser$4.getDiffieHellman=function(a){var l=new Buffer(r[a].prime,"hex"),d=new Buffer(r[a].gen,"hex");return new u(l,d)},browser$4.createDiffieHellman=browser$4.DiffieHellman=function a(l,d,o,n){return Buffer.isBuffer(d)||t[d]===void 0?a(l,"binary",d,o):(d=d||"binary",n=n||"binary",o=o||new Buffer([2]),Buffer.isBuffer(o)||(o=new Buffer(o,n)),typeof l=="number"?new u(e(l,o),o,!0):(Buffer.isBuffer(l)||(l=new Buffer(l,d)),new u(l,o,!0)))},browser$4}var readableBrowser={exports:{}},hasRequiredReadableBrowser;function requireReadableBrowser(){return hasRequiredReadableBrowser||(hasRequiredReadableBrowser=1,e=readableBrowser,r=readableBrowser.exports,(r=e.exports=require_stream_readable()).Stream=r,r.Readable=r,r.Writable=require_stream_writable(),r.Duplex=require_stream_duplex(),r.Transform=require_stream_transform(),r.PassThrough=require_stream_passthrough(),r.finished=requireEndOfStream(),r.pipeline=requirePipeline()),readableBrowser.exports;var e,r}var sign={exports:{}},browserifyRsa,hasRequiredBrowserifyRsa;function requireBrowserifyRsa(){if(hasRequiredBrowserifyRsa)return browserifyRsa;hasRequiredBrowserifyRsa=1;var e=requireBn(),r=requireBrowser$b(),u=requireSafeBuffer().Buffer;function t(l){var d,o=l.modulus.byteLength();do d=new e(r(o));while(d.cmp(l.modulus)>=0||!d.umod(l.prime1)||!d.umod(l.prime2));return d}function a(l,d){var o=(function(_){var B=t(_);return{blinder:B.toRed(e.mont(_.modulus)).redPow(new e(_.publicExponent)).fromRed(),unblinder:B.invm(_.modulus)}})(d),n=d.modulus.byteLength(),i=new e(l).mul(o.blinder).umod(d.modulus),s=i.toRed(e.mont(d.prime1)),f=i.toRed(e.mont(d.prime2)),c=d.coefficient,h=d.prime1,p=d.prime2,b=s.redPow(d.exponent1).fromRed(),y=f.redPow(d.exponent2).fromRed(),g=b.isub(y).imul(c).umod(h).imul(p);return y.iadd(g).imul(o.unblinder).umod(d.modulus).toArrayLike(u,"be",n)}return a.getr=t,browserifyRsa=a}var elliptic={};const version="6.6.1",require$$0={version};var utils$2={},utils$1={},hasRequiredUtils$2,hasRequiredUtils$1;function requireUtils$2(){return hasRequiredUtils$2||(hasRequiredUtils$2=1,(function(){var e=utils$1;function r(t){return t.length===1?"0"+t:t}function u(t){for(var a="",l=0;l<t.length;l++)a+=r(t[l].toString(16));return a}e.toArray=function(t,a){if(Array.isArray(t))return t.slice();if(!t)return[];var l=[];if(typeof t!="string"){for(var d=0;d<t.length;d++)l[d]=0|t[d];return l}if(a==="hex")for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t),d=0;d<t.length;d+=2)l.push(parseInt(t[d]+t[d+1],16));else for(d=0;d<t.length;d++){var o=t.charCodeAt(d),n=o>>8,i=255&o;n?l.push(n,i):l.push(i)}return l},e.zero2=r,e.toHex=u,e.encode=function(t,a){return a==="hex"?u(t):t}})()),utils$1}function requireUtils$1(){return hasRequiredUtils$1||(hasRequiredUtils$1=1,(function(){var e=utils$2,r=requireBn(),u=requireMinimalisticAssert(),t=requireUtils$2();e.assert=u,e.toArray=t.toArray,e.zero2=t.zero2,e.toHex=t.toHex,e.encode=t.encode,e.getNAF=function(a,l,d){var o,n=new Array(Math.max(a.bitLength(),d)+1);for(o=0;o<n.length;o+=1)n[o]=0;var i=1<<l+1,s=a.clone();for(o=0;o<n.length;o++){var f,c=s.andln(i-1);s.isOdd()?(f=c>(i>>1)-1?(i>>1)-c:c,s.isubn(f)):f=0,n[o]=f,s.iushrn(1)}return n},e.getJSF=function(a,l){var d=[[],[]];a=a.clone(),l=l.clone();for(var o,n=0,i=0;a.cmpn(-n)>0||l.cmpn(-i)>0;){var s,f,c=a.andln(3)+n&3,h=l.andln(3)+i&3;c===3&&(c=-1),h===3&&(h=-1),s=1&c?(o=a.andln(7)+n&7)!==3&&o!==5||h!==2?c:-c:0,d[0].push(s),f=1&h?(o=l.andln(7)+i&7)!==3&&o!==5||c!==2?h:-h:0,d[1].push(f),2*n===s+1&&(n=1-n),2*i===f+1&&(i=1-i),a.iushrn(1),l.iushrn(1)}return d},e.cachedProperty=function(a,l,d){var o="_"+l;a.prototype[l]=function(){return this[o]!==void 0?this[o]:this[o]=d.call(this)}},e.parseBytes=function(a){return typeof a=="string"?e.toArray(a,"hex"):a},e.intFromLE=function(a){return new r(a,"hex","le")}})()),utils$2}var curve={},base$1,hasRequiredBase$1,short,hasRequiredShort,mont,hasRequiredMont,edwards,hasRequiredEdwards,hasRequiredCurve;function requireBase$1(){if(hasRequiredBase$1)return base$1;hasRequiredBase$1=1;var e=requireBn(),r=requireUtils$1(),u=r.getNAF,t=r.getJSF,a=r.assert;function l(o,n){this.type=o,this.p=new e(n.p,16),this.red=n.prime?e.red(n.prime):e.mont(this.p),this.zero=new e(0).toRed(this.red),this.one=new e(1).toRed(this.red),this.two=new e(2).toRed(this.red),this.n=n.n&&new e(n.n,16),this.g=n.g&&this.pointFromJSON(n.g,n.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var i=this.n&&this.p.div(this.n);!i||i.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function d(o,n){this.curve=o,this.type=n,this.precomputed=null}return base$1=l,l.prototype.point=function(){throw new Error("Not implemented")},l.prototype.validate=function(){throw new Error("Not implemented")},l.prototype._fixedNafMul=function(o,n){a(o.precomputed);var i=o._getDoubles(),s=u(n,1,this._bitLength),f=(1<<i.step+1)-(i.step%2==0?2:1);f/=3;var c,h,p=[];for(c=0;c<s.length;c+=i.step){h=0;for(var b=c+i.step-1;b>=c;b--)h=(h<<1)+s[b];p.push(h)}for(var y=this.jpoint(null,null,null),g=this.jpoint(null,null,null),_=f;_>0;_--){for(c=0;c<p.length;c++)(h=p[c])===_?g=g.mixedAdd(i.points[c]):h===-_&&(g=g.mixedAdd(i.points[c].neg()));y=y.add(g)}return y.toP()},l.prototype._wnafMul=function(o,n){var i=4,s=o._getNAFPoints(i);i=s.wnd;for(var f=s.points,c=u(n,i,this._bitLength),h=this.jpoint(null,null,null),p=c.length-1;p>=0;p--){for(var b=0;p>=0&&c[p]===0;p--)b++;if(p>=0&&b++,h=h.dblp(b),p<0)break;var y=c[p];a(y!==0),h=o.type==="affine"?y>0?h.mixedAdd(f[y-1>>1]):h.mixedAdd(f[-y-1>>1].neg()):y>0?h.add(f[y-1>>1]):h.add(f[-y-1>>1].neg())}return o.type==="affine"?h.toP():h},l.prototype._wnafMulAdd=function(o,n,i,s,f){var c,h,p,b=this._wnafT1,y=this._wnafT2,g=this._wnafT3,_=0;for(c=0;c<s;c++){var B=(p=n[c])._getNAFPoints(o);b[c]=B.wnd,y[c]=B.points}for(c=s-1;c>=1;c-=2){var R=c-1,A=c;if(b[R]===1&&b[A]===1){var P=[n[R],null,null,n[A]];n[R].y.cmp(n[A].y)===0?(P[1]=n[R].add(n[A]),P[2]=n[R].toJ().mixedAdd(n[A].neg())):n[R].y.cmp(n[A].y.redNeg())===0?(P[1]=n[R].toJ().mixedAdd(n[A]),P[2]=n[R].add(n[A].neg())):(P[1]=n[R].toJ().mixedAdd(n[A]),P[2]=n[R].toJ().mixedAdd(n[A].neg()));var x=[-3,-1,-5,-7,0,7,5,1,3],T=t(i[R],i[A]);for(_=Math.max(T[0].length,_),g[R]=new Array(_),g[A]=new Array(_),h=0;h<_;h++){var z=0|T[0][h],v=0|T[1][h];g[R][h]=x[3*(z+1)+(v+1)],g[A][h]=0,y[R]=P}}else g[R]=u(i[R],b[R],this._bitLength),g[A]=u(i[A],b[A],this._bitLength),_=Math.max(g[R].length,_),_=Math.max(g[A].length,_)}var E=this.jpoint(null,null,null),$=this._wnafT4;for(c=_;c>=0;c--){for(var q=0;c>=0;){var m=!0;for(h=0;h<s;h++)$[h]=0|g[h][c],$[h]!==0&&(m=!1);if(!m)break;q++,c--}if(c>=0&&q++,E=E.dblp(q),c<0)break;for(h=0;h<s;h++){var w=$[h];w!==0&&(w>0?p=y[h][w-1>>1]:w<0&&(p=y[h][-w-1>>1].neg()),E=p.type==="affine"?E.mixedAdd(p):E.add(p))}}for(c=0;c<s;c++)y[c]=null;return f?E:E.toP()},l.BasePoint=d,d.prototype.eq=function(){throw new Error("Not implemented")},d.prototype.validate=function(){return this.curve.validate(this)},l.prototype.decodePoint=function(o,n){o=r.toArray(o,n);var i=this.p.byteLength();if((o[0]===4||o[0]===6||o[0]===7)&&o.length-1==2*i)return o[0]===6?a(o[o.length-1]%2==0):o[0]===7&&a(o[o.length-1]%2==1),this.point(o.slice(1,1+i),o.slice(1+i,1+2*i));if((o[0]===2||o[0]===3)&&o.length-1===i)return this.pointFromX(o.slice(1,1+i),o[0]===3);throw new Error("Unknown point format")},d.prototype.encodeCompressed=function(o){return this.encode(o,!0)},d.prototype._encode=function(o){var n=this.curve.p.byteLength(),i=this.getX().toArray("be",n);return o?[this.getY().isEven()?2:3].concat(i):[4].concat(i,this.getY().toArray("be",n))},d.prototype.encode=function(o,n){return r.encode(this._encode(n),o)},d.prototype.precompute=function(o){if(this.precomputed)return this;var n={doubles:null,naf:null,beta:null};return n.naf=this._getNAFPoints(8),n.doubles=this._getDoubles(4,o),n.beta=this._getBeta(),this.precomputed=n,this},d.prototype._hasDoubles=function(o){if(!this.precomputed)return!1;var n=this.precomputed.doubles;return!!n&&n.points.length>=Math.ceil((o.bitLength()+1)/n.step)},d.prototype._getDoubles=function(o,n){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var i=[this],s=this,f=0;f<n;f+=o){for(var c=0;c<o;c++)s=s.dbl();i.push(s)}return{step:o,points:i}},d.prototype._getNAFPoints=function(o){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var n=[this],i=(1<<o)-1,s=i===1?null:this.dbl(),f=1;f<i;f++)n[f]=n[f-1].add(s);return{wnd:o,points:n}},d.prototype._getBeta=function(){return null},d.prototype.dblp=function(o){for(var n=this,i=0;i<o;i++)n=n.dbl();return n},base$1}function requireShort(){if(hasRequiredShort)return short;hasRequiredShort=1;var e=requireUtils$1(),r=requireBn(),u=requireInherits_browser(),t=requireBase$1(),a=e.assert;function l(n){t.call(this,"short",n),this.a=new r(n.a,16).toRed(this.red),this.b=new r(n.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(n),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function d(n,i,s,f){t.BasePoint.call(this,n,"affine"),i===null&&s===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new r(i,16),this.y=new r(s,16),f&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function o(n,i,s,f){t.BasePoint.call(this,n,"jacobian"),i===null&&s===null&&f===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new r(0)):(this.x=new r(i,16),this.y=new r(s,16),this.z=new r(f,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}return u(l,t),short=l,l.prototype._getEndomorphism=function(n){if(this.zeroA&&this.g&&this.n&&this.p.modn(3)===1){var i,s;if(n.beta)i=new r(n.beta,16).toRed(this.red);else{var f=this._getEndoRoots(this.p);i=(i=f[0].cmp(f[1])<0?f[0]:f[1]).toRed(this.red)}if(n.lambda)s=new r(n.lambda,16);else{var c=this._getEndoRoots(this.n);this.g.mul(c[0]).x.cmp(this.g.x.redMul(i))===0?s=c[0]:(s=c[1],a(this.g.mul(s).x.cmp(this.g.x.redMul(i))===0))}return{beta:i,lambda:s,basis:n.basis?n.basis.map((function(h){return{a:new r(h.a,16),b:new r(h.b,16)}})):this._getEndoBasis(s)}}},l.prototype._getEndoRoots=function(n){var i=n===this.p?this.red:r.mont(n),s=new r(2).toRed(i).redInvm(),f=s.redNeg(),c=new r(3).toRed(i).redNeg().redSqrt().redMul(s);return[f.redAdd(c).fromRed(),f.redSub(c).fromRed()]},l.prototype._getEndoBasis=function(n){for(var i,s,f,c,h,p,b,y,g,_=this.n.ushrn(Math.floor(this.n.bitLength()/2)),B=n,R=this.n.clone(),A=new r(1),P=new r(0),x=new r(0),T=new r(1),z=0;B.cmpn(0)!==0;){var v=R.div(B);y=R.sub(v.mul(B)),g=x.sub(v.mul(A));var E=T.sub(v.mul(P));if(!f&&y.cmp(_)<0)i=b.neg(),s=A,f=y.neg(),c=g;else if(f&&++z==2)break;b=y,R=B,B=y,x=A,A=g,T=P,P=E}h=y.neg(),p=g;var $=f.sqr().add(c.sqr());return h.sqr().add(p.sqr()).cmp($)>=0&&(h=i,p=s),f.negative&&(f=f.neg(),c=c.neg()),h.negative&&(h=h.neg(),p=p.neg()),[{a:f,b:c},{a:h,b:p}]},l.prototype._endoSplit=function(n){var i=this.endo.basis,s=i[0],f=i[1],c=f.b.mul(n).divRound(this.n),h=s.b.neg().mul(n).divRound(this.n),p=c.mul(s.a),b=h.mul(f.a),y=c.mul(s.b),g=h.mul(f.b);return{k1:n.sub(p).sub(b),k2:y.add(g).neg()}},l.prototype.pointFromX=function(n,i){(n=new r(n,16)).red||(n=n.toRed(this.red));var s=n.redSqr().redMul(n).redIAdd(n.redMul(this.a)).redIAdd(this.b),f=s.redSqrt();if(f.redSqr().redSub(s).cmp(this.zero)!==0)throw new Error("invalid point");var c=f.fromRed().isOdd();return(i&&!c||!i&&c)&&(f=f.redNeg()),this.point(n,f)},l.prototype.validate=function(n){if(n.inf)return!0;var i=n.x,s=n.y,f=this.a.redMul(i),c=i.redSqr().redMul(i).redIAdd(f).redIAdd(this.b);return s.redSqr().redISub(c).cmpn(0)===0},l.prototype._endoWnafMulAdd=function(n,i,s){for(var f=this._endoWnafT1,c=this._endoWnafT2,h=0;h<n.length;h++){var p=this._endoSplit(i[h]),b=n[h],y=b._getBeta();p.k1.negative&&(p.k1.ineg(),b=b.neg(!0)),p.k2.negative&&(p.k2.ineg(),y=y.neg(!0)),f[2*h]=b,f[2*h+1]=y,c[2*h]=p.k1,c[2*h+1]=p.k2}for(var g=this._wnafMulAdd(1,f,c,2*h,s),_=0;_<2*h;_++)f[_]=null,c[_]=null;return g},u(d,t.BasePoint),l.prototype.point=function(n,i,s){return new d(this,n,i,s)},l.prototype.pointFromJSON=function(n,i){return d.fromJSON(this,n,i)},d.prototype._getBeta=function(){if(this.curve.endo){var n=this.precomputed;if(n&&n.beta)return n.beta;var i=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(n){var s=this.curve,f=function(c){return s.point(c.x.redMul(s.endo.beta),c.y)};n.beta=i,i.precomputed={beta:null,naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(f)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(f)}}}return i}},d.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},d.fromJSON=function(n,i,s){typeof i=="string"&&(i=JSON.parse(i));var f=n.point(i[0],i[1],s);if(!i[2])return f;function c(p){return n.point(p[0],p[1],s)}var h=i[2];return f.precomputed={beta:null,doubles:h.doubles&&{step:h.doubles.step,points:[f].concat(h.doubles.points.map(c))},naf:h.naf&&{wnd:h.naf.wnd,points:[f].concat(h.naf.points.map(c))}},f},d.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},d.prototype.isInfinity=function(){return this.inf},d.prototype.add=function(n){if(this.inf)return n;if(n.inf)return this;if(this.eq(n))return this.dbl();if(this.neg().eq(n))return this.curve.point(null,null);if(this.x.cmp(n.x)===0)return this.curve.point(null,null);var i=this.y.redSub(n.y);i.cmpn(0)!==0&&(i=i.redMul(this.x.redSub(n.x).redInvm()));var s=i.redSqr().redISub(this.x).redISub(n.x),f=i.redMul(this.x.redSub(s)).redISub(this.y);return this.curve.point(s,f)},d.prototype.dbl=function(){if(this.inf)return this;var n=this.y.redAdd(this.y);if(n.cmpn(0)===0)return this.curve.point(null,null);var i=this.curve.a,s=this.x.redSqr(),f=n.redInvm(),c=s.redAdd(s).redIAdd(s).redIAdd(i).redMul(f),h=c.redSqr().redISub(this.x.redAdd(this.x)),p=c.redMul(this.x.redSub(h)).redISub(this.y);return this.curve.point(h,p)},d.prototype.getX=function(){return this.x.fromRed()},d.prototype.getY=function(){return this.y.fromRed()},d.prototype.mul=function(n){return n=new r(n,16),this.isInfinity()?this:this._hasDoubles(n)?this.curve._fixedNafMul(this,n):this.curve.endo?this.curve._endoWnafMulAdd([this],[n]):this.curve._wnafMul(this,n)},d.prototype.mulAdd=function(n,i,s){var f=[this,i],c=[n,s];return this.curve.endo?this.curve._endoWnafMulAdd(f,c):this.curve._wnafMulAdd(1,f,c,2)},d.prototype.jmulAdd=function(n,i,s){var f=[this,i],c=[n,s];return this.curve.endo?this.curve._endoWnafMulAdd(f,c,!0):this.curve._wnafMulAdd(1,f,c,2,!0)},d.prototype.eq=function(n){return this===n||this.inf===n.inf&&(this.inf||this.x.cmp(n.x)===0&&this.y.cmp(n.y)===0)},d.prototype.neg=function(n){if(this.inf)return this;var i=this.curve.point(this.x,this.y.redNeg());if(n&&this.precomputed){var s=this.precomputed,f=function(c){return c.neg()};i.precomputed={naf:s.naf&&{wnd:s.naf.wnd,points:s.naf.points.map(f)},doubles:s.doubles&&{step:s.doubles.step,points:s.doubles.points.map(f)}}}return i},d.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},u(o,t.BasePoint),l.prototype.jpoint=function(n,i,s){return new o(this,n,i,s)},o.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var n=this.z.redInvm(),i=n.redSqr(),s=this.x.redMul(i),f=this.y.redMul(i).redMul(n);return this.curve.point(s,f)},o.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},o.prototype.add=function(n){if(this.isInfinity())return n;if(n.isInfinity())return this;var i=n.z.redSqr(),s=this.z.redSqr(),f=this.x.redMul(i),c=n.x.redMul(s),h=this.y.redMul(i.redMul(n.z)),p=n.y.redMul(s.redMul(this.z)),b=f.redSub(c),y=h.redSub(p);if(b.cmpn(0)===0)return y.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var g=b.redSqr(),_=g.redMul(b),B=f.redMul(g),R=y.redSqr().redIAdd(_).redISub(B).redISub(B),A=y.redMul(B.redISub(R)).redISub(h.redMul(_)),P=this.z.redMul(n.z).redMul(b);return this.curve.jpoint(R,A,P)},o.prototype.mixedAdd=function(n){if(this.isInfinity())return n.toJ();if(n.isInfinity())return this;var i=this.z.redSqr(),s=this.x,f=n.x.redMul(i),c=this.y,h=n.y.redMul(i).redMul(this.z),p=s.redSub(f),b=c.redSub(h);if(p.cmpn(0)===0)return b.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var y=p.redSqr(),g=y.redMul(p),_=s.redMul(y),B=b.redSqr().redIAdd(g).redISub(_).redISub(_),R=b.redMul(_.redISub(B)).redISub(c.redMul(g)),A=this.z.redMul(p);return this.curve.jpoint(B,R,A)},o.prototype.dblp=function(n){if(n===0)return this;if(this.isInfinity())return this;if(!n)return this.dbl();var i;if(this.curve.zeroA||this.curve.threeA){var s=this;for(i=0;i<n;i++)s=s.dbl();return s}var f=this.curve.a,c=this.curve.tinv,h=this.x,p=this.y,b=this.z,y=b.redSqr().redSqr(),g=p.redAdd(p);for(i=0;i<n;i++){var _=h.redSqr(),B=g.redSqr(),R=B.redSqr(),A=_.redAdd(_).redIAdd(_).redIAdd(f.redMul(y)),P=h.redMul(B),x=A.redSqr().redISub(P.redAdd(P)),T=P.redISub(x),z=A.redMul(T);z=z.redIAdd(z).redISub(R);var v=g.redMul(b);i+1<n&&(y=y.redMul(R)),h=x,b=v,g=z}return this.curve.jpoint(h,g.redMul(c),b)},o.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},o.prototype._zeroDbl=function(){var n,i,s;if(this.zOne){var f=this.x.redSqr(),c=this.y.redSqr(),h=c.redSqr(),p=this.x.redAdd(c).redSqr().redISub(f).redISub(h);p=p.redIAdd(p);var b=f.redAdd(f).redIAdd(f),y=b.redSqr().redISub(p).redISub(p),g=h.redIAdd(h);g=(g=g.redIAdd(g)).redIAdd(g),n=y,i=b.redMul(p.redISub(y)).redISub(g),s=this.y.redAdd(this.y)}else{var _=this.x.redSqr(),B=this.y.redSqr(),R=B.redSqr(),A=this.x.redAdd(B).redSqr().redISub(_).redISub(R);A=A.redIAdd(A);var P=_.redAdd(_).redIAdd(_),x=P.redSqr(),T=R.redIAdd(R);T=(T=T.redIAdd(T)).redIAdd(T),n=x.redISub(A).redISub(A),i=P.redMul(A.redISub(n)).redISub(T),s=(s=this.y.redMul(this.z)).redIAdd(s)}return this.curve.jpoint(n,i,s)},o.prototype._threeDbl=function(){var n,i,s;if(this.zOne){var f=this.x.redSqr(),c=this.y.redSqr(),h=c.redSqr(),p=this.x.redAdd(c).redSqr().redISub(f).redISub(h);p=p.redIAdd(p);var b=f.redAdd(f).redIAdd(f).redIAdd(this.curve.a),y=b.redSqr().redISub(p).redISub(p);n=y;var g=h.redIAdd(h);g=(g=g.redIAdd(g)).redIAdd(g),i=b.redMul(p.redISub(y)).redISub(g),s=this.y.redAdd(this.y)}else{var _=this.z.redSqr(),B=this.y.redSqr(),R=this.x.redMul(B),A=this.x.redSub(_).redMul(this.x.redAdd(_));A=A.redAdd(A).redIAdd(A);var P=R.redIAdd(R),x=(P=P.redIAdd(P)).redAdd(P);n=A.redSqr().redISub(x),s=this.y.redAdd(this.z).redSqr().redISub(B).redISub(_);var T=B.redSqr();T=(T=(T=T.redIAdd(T)).redIAdd(T)).redIAdd(T),i=A.redMul(P.redISub(n)).redISub(T)}return this.curve.jpoint(n,i,s)},o.prototype._dbl=function(){var n=this.curve.a,i=this.x,s=this.y,f=this.z,c=f.redSqr().redSqr(),h=i.redSqr(),p=s.redSqr(),b=h.redAdd(h).redIAdd(h).redIAdd(n.redMul(c)),y=i.redAdd(i),g=(y=y.redIAdd(y)).redMul(p),_=b.redSqr().redISub(g.redAdd(g)),B=g.redISub(_),R=p.redSqr();R=(R=(R=R.redIAdd(R)).redIAdd(R)).redIAdd(R);var A=b.redMul(B).redISub(R),P=s.redAdd(s).redMul(f);return this.curve.jpoint(_,A,P)},o.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var n=this.x.redSqr(),i=this.y.redSqr(),s=this.z.redSqr(),f=i.redSqr(),c=n.redAdd(n).redIAdd(n),h=c.redSqr(),p=this.x.redAdd(i).redSqr().redISub(n).redISub(f),b=(p=(p=(p=p.redIAdd(p)).redAdd(p).redIAdd(p)).redISub(h)).redSqr(),y=f.redIAdd(f);y=(y=(y=y.redIAdd(y)).redIAdd(y)).redIAdd(y);var g=c.redIAdd(p).redSqr().redISub(h).redISub(b).redISub(y),_=i.redMul(g);_=(_=_.redIAdd(_)).redIAdd(_);var B=this.x.redMul(b).redISub(_);B=(B=B.redIAdd(B)).redIAdd(B);var R=this.y.redMul(g.redMul(y.redISub(g)).redISub(p.redMul(b)));R=(R=(R=R.redIAdd(R)).redIAdd(R)).redIAdd(R);var A=this.z.redAdd(p).redSqr().redISub(s).redISub(b);return this.curve.jpoint(B,R,A)},o.prototype.mul=function(n,i){return n=new r(n,i),this.curve._wnafMul(this,n)},o.prototype.eq=function(n){if(n.type==="affine")return this.eq(n.toJ());if(this===n)return!0;var i=this.z.redSqr(),s=n.z.redSqr();if(this.x.redMul(s).redISub(n.x.redMul(i)).cmpn(0)!==0)return!1;var f=i.redMul(this.z),c=s.redMul(n.z);return this.y.redMul(c).redISub(n.y.redMul(f)).cmpn(0)===0},o.prototype.eqXToP=function(n){var i=this.z.redSqr(),s=n.toRed(this.curve.red).redMul(i);if(this.x.cmp(s)===0)return!0;for(var f=n.clone(),c=this.curve.redN.redMul(i);;){if(f.iadd(this.curve.n),f.cmp(this.curve.p)>=0)return!1;if(s.redIAdd(c),this.x.cmp(s)===0)return!0}},o.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},o.prototype.isInfinity=function(){return this.z.cmpn(0)===0},short}function requireMont(){if(hasRequiredMont)return mont;hasRequiredMont=1;var e=requireBn(),r=requireInherits_browser(),u=requireBase$1(),t=requireUtils$1();function a(d){u.call(this,"mont",d),this.a=new e(d.a,16).toRed(this.red),this.b=new e(d.b,16).toRed(this.red),this.i4=new e(4).toRed(this.red).redInvm(),this.two=new e(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function l(d,o,n){u.BasePoint.call(this,d,"projective"),o===null&&n===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new e(o,16),this.z=new e(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}return r(a,u),mont=a,a.prototype.validate=function(d){var o=d.normalize().x,n=o.redSqr(),i=n.redMul(o).redAdd(n.redMul(this.a)).redAdd(o);return i.redSqrt().redSqr().cmp(i)===0},r(l,u.BasePoint),a.prototype.decodePoint=function(d,o){return this.point(t.toArray(d,o),1)},a.prototype.point=function(d,o){return new l(this,d,o)},a.prototype.pointFromJSON=function(d){return l.fromJSON(this,d)},l.prototype.precompute=function(){},l.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},l.fromJSON=function(d,o){return new l(d,o[0],o[1]||d.one)},l.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},l.prototype.isInfinity=function(){return this.z.cmpn(0)===0},l.prototype.dbl=function(){var d=this.x.redAdd(this.z).redSqr(),o=this.x.redSub(this.z).redSqr(),n=d.redSub(o),i=d.redMul(o),s=n.redMul(o.redAdd(this.curve.a24.redMul(n)));return this.curve.point(i,s)},l.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.diffAdd=function(d,o){var n=this.x.redAdd(this.z),i=this.x.redSub(this.z),s=d.x.redAdd(d.z),f=d.x.redSub(d.z).redMul(n),c=s.redMul(i),h=o.z.redMul(f.redAdd(c).redSqr()),p=o.x.redMul(f.redISub(c).redSqr());return this.curve.point(h,p)},l.prototype.mul=function(d){for(var o=d.clone(),n=this,i=this.curve.point(null,null),s=[];o.cmpn(0)!==0;o.iushrn(1))s.push(o.andln(1));for(var f=s.length-1;f>=0;f--)s[f]===0?(n=n.diffAdd(i,this),i=i.dbl()):(i=n.diffAdd(i,this),n=n.dbl());return i},l.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.eq=function(d){return this.getX().cmp(d.getX())===0},l.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},l.prototype.getX=function(){return this.normalize(),this.x.fromRed()},mont}function requireEdwards(){if(hasRequiredEdwards)return edwards;hasRequiredEdwards=1;var e=requireUtils$1(),r=requireBn(),u=requireInherits_browser(),t=requireBase$1(),a=e.assert;function l(o){this.twisted=(0|o.a)!=1,this.mOneA=this.twisted&&(0|o.a)==-1,this.extended=this.mOneA,t.call(this,"edwards",o),this.a=new r(o.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new r(o.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new r(o.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),a(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(0|o.c)==1}function d(o,n,i,s,f){t.BasePoint.call(this,o,"projective"),n===null&&i===null&&s===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new r(n,16),this.y=new r(i,16),this.z=s?new r(s,16):this.curve.one,this.t=f&&new r(f,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}return u(l,t),edwards=l,l.prototype._mulA=function(o){return this.mOneA?o.redNeg():this.a.redMul(o)},l.prototype._mulC=function(o){return this.oneC?o:this.c.redMul(o)},l.prototype.jpoint=function(o,n,i,s){return this.point(o,n,i,s)},l.prototype.pointFromX=function(o,n){(o=new r(o,16)).red||(o=o.toRed(this.red));var i=o.redSqr(),s=this.c2.redSub(this.a.redMul(i)),f=this.one.redSub(this.c2.redMul(this.d).redMul(i)),c=s.redMul(f.redInvm()),h=c.redSqrt();if(h.redSqr().redSub(c).cmp(this.zero)!==0)throw new Error("invalid point");var p=h.fromRed().isOdd();return(n&&!p||!n&&p)&&(h=h.redNeg()),this.point(o,h)},l.prototype.pointFromY=function(o,n){(o=new r(o,16)).red||(o=o.toRed(this.red));var i=o.redSqr(),s=i.redSub(this.c2),f=i.redMul(this.d).redMul(this.c2).redSub(this.a),c=s.redMul(f.redInvm());if(c.cmp(this.zero)===0){if(n)throw new Error("invalid point");return this.point(this.zero,o)}var h=c.redSqrt();if(h.redSqr().redSub(c).cmp(this.zero)!==0)throw new Error("invalid point");return h.fromRed().isOdd()!==n&&(h=h.redNeg()),this.point(h,o)},l.prototype.validate=function(o){if(o.isInfinity())return!0;o.normalize();var n=o.x.redSqr(),i=o.y.redSqr(),s=n.redMul(this.a).redAdd(i),f=this.c2.redMul(this.one.redAdd(this.d.redMul(n).redMul(i)));return s.cmp(f)===0},u(d,t.BasePoint),l.prototype.pointFromJSON=function(o){return d.fromJSON(this,o)},l.prototype.point=function(o,n,i,s){return new d(this,o,n,i,s)},d.fromJSON=function(o,n){return new d(o,n[0],n[1],n[2])},d.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},d.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)},d.prototype._extDbl=function(){var o=this.x.redSqr(),n=this.y.redSqr(),i=this.z.redSqr();i=i.redIAdd(i);var s=this.curve._mulA(o),f=this.x.redAdd(this.y).redSqr().redISub(o).redISub(n),c=s.redAdd(n),h=c.redSub(i),p=s.redSub(n),b=f.redMul(h),y=c.redMul(p),g=f.redMul(p),_=h.redMul(c);return this.curve.point(b,y,_,g)},d.prototype._projDbl=function(){var o,n,i,s,f,c,h=this.x.redAdd(this.y).redSqr(),p=this.x.redSqr(),b=this.y.redSqr();if(this.curve.twisted){var y=(s=this.curve._mulA(p)).redAdd(b);this.zOne?(o=h.redSub(p).redSub(b).redMul(y.redSub(this.curve.two)),n=y.redMul(s.redSub(b)),i=y.redSqr().redSub(y).redSub(y)):(f=this.z.redSqr(),c=y.redSub(f).redISub(f),o=h.redSub(p).redISub(b).redMul(c),n=y.redMul(s.redSub(b)),i=y.redMul(c))}else s=p.redAdd(b),f=this.curve._mulC(this.z).redSqr(),c=s.redSub(f).redSub(f),o=this.curve._mulC(h.redISub(s)).redMul(c),n=this.curve._mulC(s).redMul(p.redISub(b)),i=s.redMul(c);return this.curve.point(o,n,i)},d.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},d.prototype._extAdd=function(o){var n=this.y.redSub(this.x).redMul(o.y.redSub(o.x)),i=this.y.redAdd(this.x).redMul(o.y.redAdd(o.x)),s=this.t.redMul(this.curve.dd).redMul(o.t),f=this.z.redMul(o.z.redAdd(o.z)),c=i.redSub(n),h=f.redSub(s),p=f.redAdd(s),b=i.redAdd(n),y=c.redMul(h),g=p.redMul(b),_=c.redMul(b),B=h.redMul(p);return this.curve.point(y,g,B,_)},d.prototype._projAdd=function(o){var n,i,s=this.z.redMul(o.z),f=s.redSqr(),c=this.x.redMul(o.x),h=this.y.redMul(o.y),p=this.curve.d.redMul(c).redMul(h),b=f.redSub(p),y=f.redAdd(p),g=this.x.redAdd(this.y).redMul(o.x.redAdd(o.y)).redISub(c).redISub(h),_=s.redMul(b).redMul(g);return this.curve.twisted?(n=s.redMul(y).redMul(h.redSub(this.curve._mulA(c))),i=b.redMul(y)):(n=s.redMul(y).redMul(h.redSub(c)),i=this.curve._mulC(b).redMul(y)),this.curve.point(_,n,i)},d.prototype.add=function(o){return this.isInfinity()?o:o.isInfinity()?this:this.curve.extended?this._extAdd(o):this._projAdd(o)},d.prototype.mul=function(o){return this._hasDoubles(o)?this.curve._fixedNafMul(this,o):this.curve._wnafMul(this,o)},d.prototype.mulAdd=function(o,n,i){return this.curve._wnafMulAdd(1,[this,n],[o,i],2,!1)},d.prototype.jmulAdd=function(o,n,i){return this.curve._wnafMulAdd(1,[this,n],[o,i],2,!0)},d.prototype.normalize=function(){if(this.zOne)return this;var o=this.z.redInvm();return this.x=this.x.redMul(o),this.y=this.y.redMul(o),this.t&&(this.t=this.t.redMul(o)),this.z=this.curve.one,this.zOne=!0,this},d.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},d.prototype.getX=function(){return this.normalize(),this.x.fromRed()},d.prototype.getY=function(){return this.normalize(),this.y.fromRed()},d.prototype.eq=function(o){return this===o||this.getX().cmp(o.getX())===0&&this.getY().cmp(o.getY())===0},d.prototype.eqXToP=function(o){var n=o.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(n)===0)return!0;for(var i=o.clone(),s=this.curve.redN.redMul(this.z);;){if(i.iadd(this.curve.n),i.cmp(this.curve.p)>=0)return!1;if(n.redIAdd(s),this.x.cmp(n)===0)return!0}},d.prototype.toP=d.prototype.normalize,d.prototype.mixedAdd=d.prototype.add,edwards}function requireCurve(){return hasRequiredCurve||(hasRequiredCurve=1,(function(e){var r=e;r.base=requireBase$1(),r.short=requireShort(),r.mont=requireMont(),r.edwards=requireEdwards()})(curve)),curve}var curves={},hash={},utils={},hasRequiredUtils;function requireUtils(){if(hasRequiredUtils)return utils;hasRequiredUtils=1;var e=requireMinimalisticAssert(),r=requireInherits_browser();function u(d,o){return(64512&d.charCodeAt(o))==55296&&!(o<0||o+1>=d.length)&&(64512&d.charCodeAt(o+1))==56320}function t(d){return(d>>>24|d>>>8&65280|d<<8&16711680|(255&d)<<24)>>>0}function a(d){return d.length===1?"0"+d:d}function l(d){return d.length===7?"0"+d:d.length===6?"00"+d:d.length===5?"000"+d:d.length===4?"0000"+d:d.length===3?"00000"+d:d.length===2?"000000"+d:d.length===1?"0000000"+d:d}return utils.inherits=r,utils.toArray=function(d,o){if(Array.isArray(d))return d.slice();if(!d)return[];var n=[];if(typeof d=="string")if(o){if(o==="hex")for((d=d.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(d="0"+d),s=0;s<d.length;s+=2)n.push(parseInt(d[s]+d[s+1],16))}else for(var i=0,s=0;s<d.length;s++){var f=d.charCodeAt(s);f<128?n[i++]=f:f<2048?(n[i++]=f>>6|192,n[i++]=63&f|128):u(d,s)?(f=65536+((1023&f)<<10)+(1023&d.charCodeAt(++s)),n[i++]=f>>18|240,n[i++]=f>>12&63|128,n[i++]=f>>6&63|128,n[i++]=63&f|128):(n[i++]=f>>12|224,n[i++]=f>>6&63|128,n[i++]=63&f|128)}else for(s=0;s<d.length;s++)n[s]=0|d[s];return n},utils.toHex=function(d){for(var o="",n=0;n<d.length;n++)o+=a(d[n].toString(16));return o},utils.htonl=t,utils.toHex32=function(d,o){for(var n="",i=0;i<d.length;i++){var s=d[i];o==="little"&&(s=t(s)),n+=l(s.toString(16))}return n},utils.zero2=a,utils.zero8=l,utils.join32=function(d,o,n,i){var s=n-o;e(s%4==0);for(var f=new Array(s/4),c=0,h=o;c<f.length;c++,h+=4){var p;p=i==="big"?d[h]<<24|d[h+1]<<16|d[h+2]<<8|d[h+3]:d[h+3]<<24|d[h+2]<<16|d[h+1]<<8|d[h],f[c]=p>>>0}return f},utils.split32=function(d,o){for(var n=new Array(4*d.length),i=0,s=0;i<d.length;i++,s+=4){var f=d[i];o==="big"?(n[s]=f>>>24,n[s+1]=f>>>16&255,n[s+2]=f>>>8&255,n[s+3]=255&f):(n[s+3]=f>>>24,n[s+2]=f>>>16&255,n[s+1]=f>>>8&255,n[s]=255&f)}return n},utils.rotr32=function(d,o){return d>>>o|d<<32-o},utils.rotl32=function(d,o){return d<<o|d>>>32-o},utils.sum32=function(d,o){return d+o>>>0},utils.sum32_3=function(d,o,n){return d+o+n>>>0},utils.sum32_4=function(d,o,n,i){return d+o+n+i>>>0},utils.sum32_5=function(d,o,n,i,s){return d+o+n+i+s>>>0},utils.sum64=function(d,o,n,i){var s=d[o],f=i+d[o+1]>>>0,c=(f<i?1:0)+n+s;d[o]=c>>>0,d[o+1]=f},utils.sum64_hi=function(d,o,n,i){return(o+i>>>0<o?1:0)+d+n>>>0},utils.sum64_lo=function(d,o,n,i){return o+i>>>0},utils.sum64_4_hi=function(d,o,n,i,s,f,c,h){var p=0,b=o;return p+=(b=b+i>>>0)<o?1:0,p+=(b=b+f>>>0)<f?1:0,d+n+s+c+(p+=(b=b+h>>>0)<h?1:0)>>>0},utils.sum64_4_lo=function(d,o,n,i,s,f,c,h){return o+i+f+h>>>0},utils.sum64_5_hi=function(d,o,n,i,s,f,c,h,p,b){var y=0,g=o;return y+=(g=g+i>>>0)<o?1:0,y+=(g=g+f>>>0)<f?1:0,y+=(g=g+h>>>0)<h?1:0,d+n+s+c+p+(y+=(g=g+b>>>0)<b?1:0)>>>0},utils.sum64_5_lo=function(d,o,n,i,s,f,c,h,p,b){return o+i+f+h+b>>>0},utils.rotr64_hi=function(d,o,n){return(o<<32-n|d>>>n)>>>0},utils.rotr64_lo=function(d,o,n){return(d<<32-n|o>>>n)>>>0},utils.shr64_hi=function(d,o,n){return d>>>n},utils.shr64_lo=function(d,o,n){return(d<<32-n|o>>>n)>>>0},utils}var common$1={},hasRequiredCommon$1;function requireCommon$1(){if(hasRequiredCommon$1)return common$1;hasRequiredCommon$1=1;var e=requireUtils(),r=requireMinimalisticAssert();function u(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}return common$1.BlockHash=u,u.prototype.update=function(t,a){if(t=e.toArray(t,a),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){var l=(t=this.pending).length%this._delta8;this.pending=t.slice(t.length-l,t.length),this.pending.length===0&&(this.pending=null),t=e.join32(t,0,t.length-l,this.endian);for(var d=0;d<t.length;d+=this._delta32)this._update(t,d,d+this._delta32)}return this},u.prototype.digest=function(t){return this.update(this._pad()),r(this.pending===null),this._digest(t)},u.prototype._pad=function(){var t=this.pendingTotal,a=this._delta8,l=a-(t+this.padLength)%a,d=new Array(l+this.padLength);d[0]=128;for(var o=1;o<l;o++)d[o]=0;if(t<<=3,this.endian==="big"){for(var n=8;n<this.padLength;n++)d[o++]=0;d[o++]=0,d[o++]=0,d[o++]=0,d[o++]=0,d[o++]=t>>>24&255,d[o++]=t>>>16&255,d[o++]=t>>>8&255,d[o++]=255&t}else for(d[o++]=255&t,d[o++]=t>>>8&255,d[o++]=t>>>16&255,d[o++]=t>>>24&255,d[o++]=0,d[o++]=0,d[o++]=0,d[o++]=0,n=8;n<this.padLength;n++)d[o++]=0;return d},common$1}var sha={},common={},hasRequiredCommon,_1,hasRequired_1,_256,hasRequired_256,_224,hasRequired_224,_512,hasRequired_512,_384,hasRequired_384,hasRequiredSha;function requireCommon(){if(hasRequiredCommon)return common;hasRequiredCommon=1;var e=requireUtils().rotr32;function r(a,l,d){return a&l^~a&d}function u(a,l,d){return a&l^a&d^l&d}function t(a,l,d){return a^l^d}return common.ft_1=function(a,l,d,o){return a===0?r(l,d,o):a===1||a===3?t(l,d,o):a===2?u(l,d,o):void 0},common.ch32=r,common.maj32=u,common.p32=t,common.s0_256=function(a){return e(a,2)^e(a,13)^e(a,22)},common.s1_256=function(a){return e(a,6)^e(a,11)^e(a,25)},common.g0_256=function(a){return e(a,7)^e(a,18)^a>>>3},common.g1_256=function(a){return e(a,17)^e(a,19)^a>>>10},common}function require_1(){if(hasRequired_1)return _1;hasRequired_1=1;var e=requireUtils(),r=requireCommon$1(),u=requireCommon(),t=e.rotl32,a=e.sum32,l=e.sum32_5,d=u.ft_1,o=r.BlockHash,n=[1518500249,1859775393,2400959708,3395469782];function i(){if(!(this instanceof i))return new i;o.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}return e.inherits(i,o),_1=i,i.blockSize=512,i.outSize=160,i.hmacStrength=80,i.padLength=64,i.prototype._update=function(s,f){for(var c=this.W,h=0;h<16;h++)c[h]=s[f+h];for(;h<c.length;h++)c[h]=t(c[h-3]^c[h-8]^c[h-14]^c[h-16],1);var p=this.h[0],b=this.h[1],y=this.h[2],g=this.h[3],_=this.h[4];for(h=0;h<c.length;h++){var B=~~(h/20),R=l(t(p,5),d(B,b,y,g),_,c[h],n[B]);_=g,g=y,y=t(b,30),b=p,p=R}this.h[0]=a(this.h[0],p),this.h[1]=a(this.h[1],b),this.h[2]=a(this.h[2],y),this.h[3]=a(this.h[3],g),this.h[4]=a(this.h[4],_)},i.prototype._digest=function(s){return s==="hex"?e.toHex32(this.h,"big"):e.split32(this.h,"big")},_1}function require_256(){if(hasRequired_256)return _256;hasRequired_256=1;var e=requireUtils(),r=requireCommon$1(),u=requireCommon(),t=requireMinimalisticAssert(),a=e.sum32,l=e.sum32_4,d=e.sum32_5,o=u.ch32,n=u.maj32,i=u.s0_256,s=u.s1_256,f=u.g0_256,c=u.g1_256,h=r.BlockHash,p=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function b(){if(!(this instanceof b))return new b;h.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=p,this.W=new Array(64)}return e.inherits(b,h),_256=b,b.blockSize=512,b.outSize=256,b.hmacStrength=192,b.padLength=64,b.prototype._update=function(y,g){for(var _=this.W,B=0;B<16;B++)_[B]=y[g+B];for(;B<_.length;B++)_[B]=l(c(_[B-2]),_[B-7],f(_[B-15]),_[B-16]);var R=this.h[0],A=this.h[1],P=this.h[2],x=this.h[3],T=this.h[4],z=this.h[5],v=this.h[6],E=this.h[7];for(t(this.k.length===_.length),B=0;B<_.length;B++){var $=d(E,s(T),o(T,z,v),this.k[B],_[B]),q=a(i(R),n(R,A,P));E=v,v=z,z=T,T=a(x,$),x=P,P=A,A=R,R=a($,q)}this.h[0]=a(this.h[0],R),this.h[1]=a(this.h[1],A),this.h[2]=a(this.h[2],P),this.h[3]=a(this.h[3],x),this.h[4]=a(this.h[4],T),this.h[5]=a(this.h[5],z),this.h[6]=a(this.h[6],v),this.h[7]=a(this.h[7],E)},b.prototype._digest=function(y){return y==="hex"?e.toHex32(this.h,"big"):e.split32(this.h,"big")},_256}function require_224(){if(hasRequired_224)return _224;hasRequired_224=1;var e=requireUtils(),r=require_256();function u(){if(!(this instanceof u))return new u;r.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}return e.inherits(u,r),_224=u,u.blockSize=512,u.outSize=224,u.hmacStrength=192,u.padLength=64,u.prototype._digest=function(t){return t==="hex"?e.toHex32(this.h.slice(0,7),"big"):e.split32(this.h.slice(0,7),"big")},_224}function require_512(){if(hasRequired_512)return _512;hasRequired_512=1;var e=requireUtils(),r=requireCommon$1(),u=requireMinimalisticAssert(),t=e.rotr64_hi,a=e.rotr64_lo,l=e.shr64_hi,d=e.shr64_lo,o=e.sum64,n=e.sum64_hi,i=e.sum64_lo,s=e.sum64_4_hi,f=e.sum64_4_lo,c=e.sum64_5_hi,h=e.sum64_5_lo,p=r.BlockHash,b=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function y(){if(!(this instanceof y))return new y;p.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=b,this.W=new Array(160)}function g(q,m,w,C,j){var N=q&w^~q&j;return N<0&&(N+=4294967296),N}function _(q,m,w,C,j,N){var L=m&C^~m&N;return L<0&&(L+=4294967296),L}function B(q,m,w,C,j){var N=q&w^q&j^w&j;return N<0&&(N+=4294967296),N}function R(q,m,w,C,j,N){var L=m&C^m&N^C&N;return L<0&&(L+=4294967296),L}function A(q,m){var w=t(q,m,28)^t(m,q,2)^t(m,q,7);return w<0&&(w+=4294967296),w}function P(q,m){var w=a(q,m,28)^a(m,q,2)^a(m,q,7);return w<0&&(w+=4294967296),w}function x(q,m){var w=t(q,m,14)^t(q,m,18)^t(m,q,9);return w<0&&(w+=4294967296),w}function T(q,m){var w=a(q,m,14)^a(q,m,18)^a(m,q,9);return w<0&&(w+=4294967296),w}function z(q,m){var w=t(q,m,1)^t(q,m,8)^l(q,m,7);return w<0&&(w+=4294967296),w}function v(q,m){var w=a(q,m,1)^a(q,m,8)^d(q,m,7);return w<0&&(w+=4294967296),w}function E(q,m){var w=t(q,m,19)^t(m,q,29)^l(q,m,6);return w<0&&(w+=4294967296),w}function $(q,m){var w=a(q,m,19)^a(m,q,29)^d(q,m,6);return w<0&&(w+=4294967296),w}return e.inherits(y,p),_512=y,y.blockSize=1024,y.outSize=512,y.hmacStrength=192,y.padLength=128,y.prototype._prepareBlock=function(q,m){for(var w=this.W,C=0;C<32;C++)w[C]=q[m+C];for(;C<w.length;C+=2){var j=E(w[C-4],w[C-3]),N=$(w[C-4],w[C-3]),L=w[C-14],U=w[C-13],D=z(w[C-30],w[C-29]),I=v(w[C-30],w[C-29]),O=w[C-32],G=w[C-31];w[C]=s(j,N,L,U,D,I,O,G),w[C+1]=f(j,N,L,U,D,I,O,G)}},y.prototype._update=function(q,m){this._prepareBlock(q,m);var w=this.W,C=this.h[0],j=this.h[1],N=this.h[2],L=this.h[3],U=this.h[4],D=this.h[5],I=this.h[6],O=this.h[7],G=this.h[8],X=this.h[9],te=this.h[10],Z=this.h[11],V=this.h[12],Q=this.h[13],Y=this.h[14],J=this.h[15];u(this.k.length===w.length);for(var ce=0;ce<w.length;ce+=2){var oe=Y,ne=J,_e=x(G,X),re=T(G,X),ie=g(G,X,te,Z,V),ye=_(G,X,te,Z,V,Q),se=this.k[ce],fe=this.k[ce+1],me=w[ce],le=w[ce+1],he=c(oe,ne,_e,re,ie,ye,se,fe,me,le),Ee=h(oe,ne,_e,re,ie,ye,se,fe,me,le);oe=A(C,j),ne=P(C,j),_e=B(C,j,N,L,U),re=R(C,j,N,L,U,D);var ge=n(oe,ne,_e,re),de=i(oe,ne,_e,re);Y=V,J=Q,V=te,Q=Z,te=G,Z=X,G=n(I,O,he,Ee),X=i(O,O,he,Ee),I=U,O=D,U=N,D=L,N=C,L=j,C=n(he,Ee,ge,de),j=i(he,Ee,ge,de)}o(this.h,0,C,j),o(this.h,2,N,L),o(this.h,4,U,D),o(this.h,6,I,O),o(this.h,8,G,X),o(this.h,10,te,Z),o(this.h,12,V,Q),o(this.h,14,Y,J)},y.prototype._digest=function(q){return q==="hex"?e.toHex32(this.h,"big"):e.split32(this.h,"big")},_512}function require_384(){if(hasRequired_384)return _384;hasRequired_384=1;var e=requireUtils(),r=require_512();function u(){if(!(this instanceof u))return new u;r.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}return e.inherits(u,r),_384=u,u.blockSize=1024,u.outSize=384,u.hmacStrength=192,u.padLength=128,u.prototype._digest=function(t){return t==="hex"?e.toHex32(this.h.slice(0,12),"big"):e.split32(this.h.slice(0,12),"big")},_384}function requireSha(){return hasRequiredSha||(hasRequiredSha=1,sha.sha1=require_1(),sha.sha224=require_224(),sha.sha256=require_256(),sha.sha384=require_384(),sha.sha512=require_512()),sha}var ripemd={},hasRequiredRipemd,hmac$2,hasRequiredHmac$1,hasRequiredHash,secp256k1,hasRequiredSecp256k1,hasRequiredCurves,hmacDrbg,hasRequiredHmacDrbg,key$1,hasRequiredKey$1,signature$1,hasRequiredSignature$1,ec,hasRequiredEc,key,hasRequiredKey,signature,hasRequiredSignature,eddsa,hasRequiredEddsa,hasRequiredElliptic;function requireRipemd(){if(hasRequiredRipemd)return ripemd;hasRequiredRipemd=1;var e=requireUtils(),r=requireCommon$1(),u=e.rotl32,t=e.sum32,a=e.sum32_3,l=e.sum32_4,d=r.BlockHash;function o(){if(!(this instanceof o))return new o;d.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function n(b,y,g,_){return b<=15?y^g^_:b<=31?y&g|~y&_:b<=47?(y|~g)^_:b<=63?y&_|g&~_:y^(g|~_)}function i(b){return b<=15?0:b<=31?1518500249:b<=47?1859775393:b<=63?2400959708:2840853838}function s(b){return b<=15?1352829926:b<=31?1548603684:b<=47?1836072691:b<=63?2053994217:0}e.inherits(o,d),ripemd.ripemd160=o,o.blockSize=512,o.outSize=160,o.hmacStrength=192,o.padLength=64,o.prototype._update=function(b,y){for(var g=this.h[0],_=this.h[1],B=this.h[2],R=this.h[3],A=this.h[4],P=g,x=_,T=B,z=R,v=A,E=0;E<80;E++){var $=t(u(l(g,n(E,_,B,R),b[f[E]+y],i(E)),h[E]),A);g=A,A=R,R=u(B,10),B=_,_=$,$=t(u(l(P,n(79-E,x,T,z),b[c[E]+y],s(E)),p[E]),v),P=v,v=z,z=u(T,10),T=x,x=$}$=a(this.h[1],B,z),this.h[1]=a(this.h[2],R,v),this.h[2]=a(this.h[3],A,P),this.h[3]=a(this.h[4],g,x),this.h[4]=a(this.h[0],_,T),this.h[0]=$},o.prototype._digest=function(b){return b==="hex"?e.toHex32(this.h,"little"):e.split32(this.h,"little")};var f=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],c=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],h=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],p=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11];return ripemd}function requireHmac$1(){if(hasRequiredHmac$1)return hmac$2;hasRequiredHmac$1=1;var e=requireUtils(),r=requireMinimalisticAssert();function u(t,a,l){if(!(this instanceof u))return new u(t,a,l);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(e.toArray(a,l))}return hmac$2=u,u.prototype._init=function(t){t.length>this.blockSize&&(t=new this.Hash().update(t).digest()),r(t.length<=this.blockSize);for(var a=t.length;a<this.blockSize;a++)t.push(0);for(a=0;a<t.length;a++)t[a]^=54;for(this.inner=new this.Hash().update(t),a=0;a<t.length;a++)t[a]^=106;this.outer=new this.Hash().update(t)},u.prototype.update=function(t,a){return this.inner.update(t,a),this},u.prototype.digest=function(t){return this.outer.update(this.inner.digest()),this.outer.digest(t)},hmac$2}function requireHash(){return hasRequiredHash||(hasRequiredHash=1,(function(e){var r=e;r.utils=requireUtils(),r.common=requireCommon$1(),r.sha=requireSha(),r.ripemd=requireRipemd(),r.hmac=requireHmac$1(),r.sha1=r.sha.sha1,r.sha256=r.sha.sha256,r.sha224=r.sha.sha224,r.sha384=r.sha.sha384,r.sha512=r.sha.sha512,r.ripemd160=r.ripemd.ripemd160})(hash)),hash}function requireSecp256k1(){return hasRequiredSecp256k1?secp256k1:(hasRequiredSecp256k1=1,secp256k1={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}})}function requireCurves(){return hasRequiredCurves||(hasRequiredCurves=1,(function(e){var r,u=e,t=requireHash(),a=requireCurve(),l=requireUtils$1().assert;function d(n){n.type==="short"?this.curve=new a.short(n):n.type==="edwards"?this.curve=new a.edwards(n):this.curve=new a.mont(n),this.g=this.curve.g,this.n=this.curve.n,this.hash=n.hash,l(this.g.validate(),"Invalid curve"),l(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function o(n,i){Object.defineProperty(u,n,{configurable:!0,enumerable:!0,get:function(){var s=new d(i);return Object.defineProperty(u,n,{configurable:!0,enumerable:!0,value:s}),s}})}u.PresetCurve=d,o("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:t.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),o("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:t.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),o("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:t.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),o("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:t.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),o("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:t.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),o("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:t.sha256,gRed:!1,g:["9"]}),o("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:t.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=requireSecp256k1()}catch{r=void 0}o("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:t.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})})(curves)),curves}function requireHmacDrbg(){if(hasRequiredHmacDrbg)return hmacDrbg;hasRequiredHmacDrbg=1;var e=requireHash(),r=requireUtils$2(),u=requireMinimalisticAssert();function t(a){if(!(this instanceof t))return new t(a);this.hash=a.hash,this.predResist=!!a.predResist,this.outLen=this.hash.outSize,this.minEntropy=a.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var l=r.toArray(a.entropy,a.entropyEnc||"hex"),d=r.toArray(a.nonce,a.nonceEnc||"hex"),o=r.toArray(a.pers,a.persEnc||"hex");u(l.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(l,d,o)}return hmacDrbg=t,t.prototype._init=function(a,l,d){var o=a.concat(l).concat(d);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var n=0;n<this.V.length;n++)this.K[n]=0,this.V[n]=1;this._update(o),this._reseed=1,this.reseedInterval=281474976710656},t.prototype._hmac=function(){return new e.hmac(this.hash,this.K)},t.prototype._update=function(a){var l=this._hmac().update(this.V).update([0]);a&&(l=l.update(a)),this.K=l.digest(),this.V=this._hmac().update(this.V).digest(),a&&(this.K=this._hmac().update(this.V).update([1]).update(a).digest(),this.V=this._hmac().update(this.V).digest())},t.prototype.reseed=function(a,l,d,o){typeof l!="string"&&(o=d,d=l,l=null),a=r.toArray(a,l),d=r.toArray(d,o),u(a.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(a.concat(d||[])),this._reseed=1},t.prototype.generate=function(a,l,d,o){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof l!="string"&&(o=d,d=l,l=null),d&&(d=r.toArray(d,o||"hex"),this._update(d));for(var n=[];n.length<a;)this.V=this._hmac().update(this.V).digest(),n=n.concat(this.V);var i=n.slice(0,a);return this._update(d),this._reseed++,r.encode(i,l)},hmacDrbg}function requireKey$1(){if(hasRequiredKey$1)return key$1;hasRequiredKey$1=1;var e=requireBn(),r=requireUtils$1().assert;function u(t,a){this.ec=t,this.priv=null,this.pub=null,a.priv&&this._importPrivate(a.priv,a.privEnc),a.pub&&this._importPublic(a.pub,a.pubEnc)}return key$1=u,u.fromPublic=function(t,a,l){return a instanceof u?a:new u(t,{pub:a,pubEnc:l})},u.fromPrivate=function(t,a,l){return a instanceof u?a:new u(t,{priv:a,privEnc:l})},u.prototype.validate=function(){var t=this.getPublic();return t.isInfinity()?{result:!1,reason:"Invalid public key"}:t.validate()?t.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},u.prototype.getPublic=function(t,a){return typeof t=="string"&&(a=t,t=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),a?this.pub.encode(a,t):this.pub},u.prototype.getPrivate=function(t){return t==="hex"?this.priv.toString(16,2):this.priv},u.prototype._importPrivate=function(t,a){this.priv=new e(t,a||16),this.priv=this.priv.umod(this.ec.curve.n)},u.prototype._importPublic=function(t,a){if(t.x||t.y)return this.ec.curve.type==="mont"?r(t.x,"Need x coordinate"):this.ec.curve.type!=="short"&&this.ec.curve.type!=="edwards"||r(t.x&&t.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(t.x,t.y));this.pub=this.ec.curve.decodePoint(t,a)},u.prototype.derive=function(t){return t.validate()||r(t.validate(),"public point not validated"),t.mul(this.priv).getX()},u.prototype.sign=function(t,a,l){return this.ec.sign(t,this,a,l)},u.prototype.verify=function(t,a,l){return this.ec.verify(t,a,this,void 0,l)},u.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"},key$1}function requireSignature$1(){if(hasRequiredSignature$1)return signature$1;hasRequiredSignature$1=1;var e=requireBn(),r=requireUtils$1(),u=r.assert;function t(n,i){if(n instanceof t)return n;this._importDER(n,i)||(u(n.r&&n.s,"Signature without r or s"),this.r=new e(n.r,16),this.s=new e(n.s,16),n.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=n.recoveryParam)}function a(){this.place=0}function l(n,i){var s=n[i.place++];if(!(128&s))return s;var f=15&s;if(f===0||f>4||n[i.place]===0)return!1;for(var c=0,h=0,p=i.place;h<f;h++,p++)c<<=8,c|=n[p],c>>>=0;return!(c<=127)&&(i.place=p,c)}function d(n){for(var i=0,s=n.length-1;!n[i]&&!(128&n[i+1])&&i<s;)i++;return i===0?n:n.slice(i)}function o(n,i){if(i<128)n.push(i);else{var s=1+(Math.log(i)/Math.LN2>>>3);for(n.push(128|s);--s;)n.push(i>>>(s<<3)&255);n.push(i)}}return signature$1=t,t.prototype._importDER=function(n,i){n=r.toArray(n,i);var s=new a;if(n[s.place++]!==48)return!1;var f=l(n,s);if(f===!1||f+s.place!==n.length||n[s.place++]!==2)return!1;var c=l(n,s);if(c===!1||128&n[s.place])return!1;var h=n.slice(s.place,c+s.place);if(s.place+=c,n[s.place++]!==2)return!1;var p=l(n,s);if(p===!1||n.length!==p+s.place||128&n[s.place])return!1;var b=n.slice(s.place,p+s.place);if(h[0]===0){if(!(128&h[1]))return!1;h=h.slice(1)}if(b[0]===0){if(!(128&b[1]))return!1;b=b.slice(1)}return this.r=new e(h),this.s=new e(b),this.recoveryParam=null,!0},t.prototype.toDER=function(n){var i=this.r.toArray(),s=this.s.toArray();for(128&i[0]&&(i=[0].concat(i)),128&s[0]&&(s=[0].concat(s)),i=d(i),s=d(s);!(s[0]||128&s[1]);)s=s.slice(1);var f=[2];o(f,i.length),(f=f.concat(i)).push(2),o(f,s.length);var c=f.concat(s),h=[48];return o(h,c.length),h=h.concat(c),r.encode(h,n)},signature$1}function requireEc(){if(hasRequiredEc)return ec;hasRequiredEc=1;var e=requireBn(),r=requireHmacDrbg(),u=requireUtils$1(),t=requireCurves(),a=requireBrorand(),l=u.assert,d=requireKey$1(),o=requireSignature$1();function n(i){if(!(this instanceof n))return new n(i);typeof i=="string"&&(l(Object.prototype.hasOwnProperty.call(t,i),"Unknown curve "+i),i=t[i]),i instanceof t.PresetCurve&&(i={curve:i}),this.curve=i.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=i.curve.g,this.g.precompute(i.curve.n.bitLength()+1),this.hash=i.hash||i.curve.hash}return ec=n,n.prototype.keyPair=function(i){return new d(this,i)},n.prototype.keyFromPrivate=function(i,s){return d.fromPrivate(this,i,s)},n.prototype.keyFromPublic=function(i,s){return d.fromPublic(this,i,s)},n.prototype.genKeyPair=function(i){i||(i={});for(var s=new r({hash:this.hash,pers:i.pers,persEnc:i.persEnc||"utf8",entropy:i.entropy||a(this.hash.hmacStrength),entropyEnc:i.entropy&&i.entropyEnc||"utf8",nonce:this.n.toArray()}),f=this.n.byteLength(),c=this.n.sub(new e(2));;){var h=new e(s.generate(f));if(!(h.cmp(c)>0))return h.iaddn(1),this.keyFromPrivate(h)}},n.prototype._truncateToN=function(i,s,f){var c;if(e.isBN(i)||typeof i=="number")c=(i=new e(i,16)).byteLength();else if(typeof i=="object")c=i.length,i=new e(i,16);else{var h=i.toString();c=h.length+1>>>1,i=new e(h,16)}typeof f!="number"&&(f=8*c);var p=f-this.n.bitLength();return p>0&&(i=i.ushrn(p)),!s&&i.cmp(this.n)>=0?i.sub(this.n):i},n.prototype.sign=function(i,s,f,c){if(typeof f=="object"&&(c=f,f=null),c||(c={}),typeof i!="string"&&typeof i!="number"&&!e.isBN(i)){l(typeof i=="object"&&i&&typeof i.length=="number","Expected message to be an array-like, a hex string, or a BN instance"),l(i.length>>>0===i.length);for(var h=0;h<i.length;h++)l((255&i[h])===i[h])}s=this.keyFromPrivate(s,f),i=this._truncateToN(i,!1,c.msgBitLength),l(!i.isNeg(),"Can not sign a negative message");var p=this.n.byteLength(),b=s.getPrivate().toArray("be",p),y=i.toArray("be",p);l(new e(y).eq(i),"Can not sign message");for(var g=new r({hash:this.hash,entropy:b,nonce:y,pers:c.pers,persEnc:c.persEnc||"utf8"}),_=this.n.sub(new e(1)),B=0;;B++){var R=c.k?c.k(B):new e(g.generate(this.n.byteLength()));if(!((R=this._truncateToN(R,!0)).cmpn(1)<=0||R.cmp(_)>=0)){var A=this.g.mul(R);if(!A.isInfinity()){var P=A.getX(),x=P.umod(this.n);if(x.cmpn(0)!==0){var T=R.invm(this.n).mul(x.mul(s.getPrivate()).iadd(i));if((T=T.umod(this.n)).cmpn(0)!==0){var z=(A.getY().isOdd()?1:0)|(P.cmp(x)!==0?2:0);return c.canonical&&T.cmp(this.nh)>0&&(T=this.n.sub(T),z^=1),new o({r:x,s:T,recoveryParam:z})}}}}}},n.prototype.verify=function(i,s,f,c,h){h||(h={}),i=this._truncateToN(i,!1,h.msgBitLength),f=this.keyFromPublic(f,c);var p=(s=new o(s,"hex")).r,b=s.s;if(p.cmpn(1)<0||p.cmp(this.n)>=0||b.cmpn(1)<0||b.cmp(this.n)>=0)return!1;var y,g=b.invm(this.n),_=g.mul(i).umod(this.n),B=g.mul(p).umod(this.n);return this.curve._maxwellTrick?!(y=this.g.jmulAdd(_,f.getPublic(),B)).isInfinity()&&y.eqXToP(p):!(y=this.g.mulAdd(_,f.getPublic(),B)).isInfinity()&&y.getX().umod(this.n).cmp(p)===0},n.prototype.recoverPubKey=function(i,s,f,c){l((3&f)===f,"The recovery param is more than two bits"),s=new o(s,c);var h=this.n,p=new e(i),b=s.r,y=s.s,g=1&f,_=f>>1;if(b.cmp(this.curve.p.umod(this.curve.n))>=0&&_)throw new Error("Unable to find sencond key candinate");b=_?this.curve.pointFromX(b.add(this.curve.n),g):this.curve.pointFromX(b,g);var B=s.r.invm(h),R=h.sub(p).mul(B).umod(h),A=y.mul(B).umod(h);return this.g.mulAdd(R,b,A)},n.prototype.getKeyRecoveryParam=function(i,s,f,c){if((s=new o(s,c)).recoveryParam!==null)return s.recoveryParam;for(var h=0;h<4;h++){var p;try{p=this.recoverPubKey(i,s,h)}catch{continue}if(p.eq(f))return h}throw new Error("Unable to find valid recovery factor")},ec}function requireKey(){if(hasRequiredKey)return key;hasRequiredKey=1;var e=requireUtils$1(),r=e.assert,u=e.parseBytes,t=e.cachedProperty;function a(l,d){this.eddsa=l,this._secret=u(d.secret),l.isPoint(d.pub)?this._pub=d.pub:this._pubBytes=u(d.pub)}return a.fromPublic=function(l,d){return d instanceof a?d:new a(l,{pub:d})},a.fromSecret=function(l,d){return d instanceof a?d:new a(l,{secret:d})},a.prototype.secret=function(){return this._secret},t(a,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),t(a,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),t(a,"privBytes",(function(){var l=this.eddsa,d=this.hash(),o=l.encodingLength-1,n=d.slice(0,l.encodingLength);return n[0]&=248,n[o]&=127,n[o]|=64,n})),t(a,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),t(a,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),t(a,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),a.prototype.sign=function(l){return r(this._secret,"KeyPair can only verify"),this.eddsa.sign(l,this)},a.prototype.verify=function(l,d){return this.eddsa.verify(l,d,this)},a.prototype.getSecret=function(l){return r(this._secret,"KeyPair is public only"),e.encode(this.secret(),l)},a.prototype.getPublic=function(l){return e.encode(this.pubBytes(),l)},key=a}function requireSignature(){if(hasRequiredSignature)return signature;hasRequiredSignature=1;var e=requireBn(),r=requireUtils$1(),u=r.assert,t=r.cachedProperty,a=r.parseBytes;function l(d,o){this.eddsa=d,typeof o!="object"&&(o=a(o)),Array.isArray(o)&&(u(o.length===2*d.encodingLength,"Signature has invalid size"),o={R:o.slice(0,d.encodingLength),S:o.slice(d.encodingLength)}),u(o.R&&o.S,"Signature without R or S"),d.isPoint(o.R)&&(this._R=o.R),o.S instanceof e&&(this._S=o.S),this._Rencoded=Array.isArray(o.R)?o.R:o.Rencoded,this._Sencoded=Array.isArray(o.S)?o.S:o.Sencoded}return t(l,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),t(l,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),t(l,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),t(l,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),l.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},l.prototype.toHex=function(){return r.encode(this.toBytes(),"hex").toUpperCase()},signature=l}function requireEddsa(){if(hasRequiredEddsa)return eddsa;hasRequiredEddsa=1;var e=requireHash(),r=requireCurves(),u=requireUtils$1(),t=u.assert,a=u.parseBytes,l=requireKey(),d=requireSignature();function o(n){if(t(n==="ed25519","only tested with ed25519 so far"),!(this instanceof o))return new o(n);n=r[n].curve,this.curve=n,this.g=n.g,this.g.precompute(n.n.bitLength()+1),this.pointClass=n.point().constructor,this.encodingLength=Math.ceil(n.n.bitLength()/8),this.hash=e.sha512}return eddsa=o,o.prototype.sign=function(n,i){n=a(n);var s=this.keyFromSecret(i),f=this.hashInt(s.messagePrefix(),n),c=this.g.mul(f),h=this.encodePoint(c),p=this.hashInt(h,s.pubBytes(),n).mul(s.priv()),b=f.add(p).umod(this.curve.n);return this.makeSignature({R:c,S:b,Rencoded:h})},o.prototype.verify=function(n,i,s){if(n=a(n),(i=this.makeSignature(i)).S().gte(i.eddsa.curve.n)||i.S().isNeg())return!1;var f=this.keyFromPublic(s),c=this.hashInt(i.Rencoded(),f.pubBytes(),n),h=this.g.mul(i.S());return i.R().add(f.pub().mul(c)).eq(h)},o.prototype.hashInt=function(){for(var n=this.hash(),i=0;i<arguments.length;i++)n.update(arguments[i]);return u.intFromLE(n.digest()).umod(this.curve.n)},o.prototype.keyFromPublic=function(n){return l.fromPublic(this,n)},o.prototype.keyFromSecret=function(n){return l.fromSecret(this,n)},o.prototype.makeSignature=function(n){return n instanceof d?n:new d(this,n)},o.prototype.encodePoint=function(n){var i=n.getY().toArray("le",this.encodingLength);return i[this.encodingLength-1]|=n.getX().isOdd()?128:0,i},o.prototype.decodePoint=function(n){var i=(n=u.parseBytes(n)).length-1,s=n.slice(0,i).concat(-129&n[i]),f=!!(128&n[i]),c=u.intFromLE(s);return this.curve.pointFromY(c,f)},o.prototype.encodeInt=function(n){return n.toArray("le",this.encodingLength)},o.prototype.decodeInt=function(n){return u.intFromLE(n)},o.prototype.isPoint=function(n){return n instanceof this.pointClass},eddsa}function requireElliptic(){return hasRequiredElliptic||(hasRequiredElliptic=1,(function(e){var r=e;r.version=require$$0.version,r.utils=requireUtils$1(),r.rand=requireBrorand(),r.curve=requireCurve(),r.curves=requireCurves(),r.ec=requireEc(),r.eddsa=requireEddsa()})(elliptic)),elliptic}var asn1$1={},asn1={},api={},vmBrowserify={},hasRequiredVmBrowserify,hasRequiredApi;function requireVmBrowserify(){return hasRequiredVmBrowserify||(hasRequiredVmBrowserify=1,(function(exports$1){var indexOf=function(e,r){if(e.indexOf)return e.indexOf(r);for(var u=0;u<e.length;u++)if(e[u]===r)return u;return-1},Object_keys=function(e){if(Object.keys)return Object.keys(e);var r=[];for(var u in e)r.push(u);return r},forEach=function(e,r){if(e.forEach)return e.forEach(r);for(var u=0;u<e.length;u++)r(e[u],u,e)},defineProp=(function(){try{return Object.defineProperty({},"_",{}),function(e,r,u){Object.defineProperty(e,r,{writable:!0,enumerable:!1,configurable:!0,value:u})}}catch{return function(r,u,t){r[u]=t}}})(),globals=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];function Context(){}Context.prototype={};var Script=exports$1.Script=function(e){if(!(this instanceof Script))return new Script(e);this.code=e};Script.prototype.runInContext=function(e){if(!(e instanceof Context))throw new TypeError("needs a 'context' argument.");var r=document.createElement("iframe");r.style||(r.style={}),r.style.display="none",document.body.appendChild(r);var u=r.contentWindow,t=u.eval,a=u.execScript;!t&&a&&(a.call(u,"null"),t=u.eval),forEach(Object_keys(e),(function(o){u[o]=e[o]})),forEach(globals,(function(o){e[o]&&(u[o]=e[o])}));var l=Object_keys(u),d=t.call(u,this.code);return forEach(Object_keys(u),(function(o){(o in e||indexOf(l,o)===-1)&&(e[o]=u[o])})),forEach(globals,(function(o){o in e||defineProp(e,o,u[o])})),document.body.removeChild(r),d},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(e){var r=Script.createContext(e),u=this.runInContext(r);return e&&forEach(Object_keys(r),(function(t){e[t]=r[t]})),u},forEach(Object_keys(Script.prototype),(function(e){exports$1[e]=Script[e]=function(r){var u=Script(r);return u[e].apply(u,[].slice.call(arguments,1))}})),exports$1.isContext=function(e){return e instanceof Context},exports$1.createScript=function(e){return exports$1.Script(e)},exports$1.createContext=Script.createContext=function(e){var r=new Context;return typeof e=="object"&&forEach(Object_keys(e),(function(u){r[u]=e[u]})),r}})(vmBrowserify)),vmBrowserify}function requireApi(){return hasRequiredApi||(hasRequiredApi=1,(function(e){var r=requireAsn1$1(),u=requireInherits_browser();function t(a,l){this.name=a,this.body=l,this.decoders={},this.encoders={}}e.define=function(a,l){return new t(a,l)},t.prototype._createNamed=function(a){var l;try{l=requireVmBrowserify().runInThisContext("(function "+this.name+`(entity) {
31
- this._initNamed(entity);
32
- })`)}catch{l=function(o){this._initNamed(o)}}return u(l,a),l.prototype._initNamed=function(d){a.call(this,d)},new l(this)},t.prototype._getDecoder=function(a){return a=a||"der",this.decoders.hasOwnProperty(a)||(this.decoders[a]=this._createNamed(r.decoders[a])),this.decoders[a]},t.prototype.decode=function(a,l,d){return this._getDecoder(l).decode(a,d)},t.prototype._getEncoder=function(a){return a=a||"der",this.encoders.hasOwnProperty(a)||(this.encoders[a]=this._createNamed(r.encoders[a])),this.encoders[a]},t.prototype.encode=function(a,l,d){return this._getEncoder(l).encode(a,d)}})(api)),api}var base={},reporter={},hasRequiredReporter;function requireReporter(){if(hasRequiredReporter)return reporter;hasRequiredReporter=1;var e=requireInherits_browser();function r(t){this._reporterState={obj:null,path:[],options:t||{},errors:[]}}function u(t,a){this.path=t,this.rethrow(a)}return reporter.Reporter=r,r.prototype.isError=function(t){return t instanceof u},r.prototype.save=function(){var t=this._reporterState;return{obj:t.obj,pathLen:t.path.length}},r.prototype.restore=function(t){var a=this._reporterState;a.obj=t.obj,a.path=a.path.slice(0,t.pathLen)},r.prototype.enterKey=function(t){return this._reporterState.path.push(t)},r.prototype.exitKey=function(t){var a=this._reporterState;a.path=a.path.slice(0,t-1)},r.prototype.leaveKey=function(t,a,l){var d=this._reporterState;this.exitKey(t),d.obj!==null&&(d.obj[a]=l)},r.prototype.path=function(){return this._reporterState.path.join("/")},r.prototype.enterObject=function(){var t=this._reporterState,a=t.obj;return t.obj={},a},r.prototype.leaveObject=function(t){var a=this._reporterState,l=a.obj;return a.obj=t,l},r.prototype.error=function(t){var a,l=this._reporterState,d=t instanceof u;if(a=d?t:new u(l.path.map((function(o){return"["+JSON.stringify(o)+"]"})).join(""),t.message||t,t.stack),!l.options.partial)throw a;return d||l.errors.push(a),a},r.prototype.wrapResult=function(t){var a=this._reporterState;return a.options.partial?{result:this.isError(t)?null:t,errors:a.errors}:t},e(u,Error),u.prototype.rethrow=function(t){if(this.message=t+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,u),!this.stack)try{throw new Error(this.message)}catch(a){this.stack=a.stack}return this},reporter}var buffer={},hasRequiredBuffer,node,hasRequiredNode,hasRequiredBase;function requireBuffer(){if(hasRequiredBuffer)return buffer;hasRequiredBuffer=1;var e=requireInherits_browser(),r=requireBase().Reporter,u=requireDist().Buffer;function t(l,d){r.call(this,d),u.isBuffer(l)?(this.base=l,this.offset=0,this.length=l.length):this.error("Input not Buffer")}function a(l,d){if(Array.isArray(l))this.length=0,this.value=l.map((function(o){return o instanceof a||(o=new a(o,d)),this.length+=o.length,o}),this);else if(typeof l=="number"){if(!(0<=l&&l<=255))return d.error("non-byte EncoderBuffer value");this.value=l,this.length=1}else if(typeof l=="string")this.value=l,this.length=u.byteLength(l);else{if(!u.isBuffer(l))return d.error("Unsupported type: "+typeof l);this.value=l,this.length=l.length}}return e(t,r),buffer.DecoderBuffer=t,t.prototype.save=function(){return{offset:this.offset,reporter:r.prototype.save.call(this)}},t.prototype.restore=function(l){var d=new t(this.base);return d.offset=l.offset,d.length=this.offset,this.offset=l.offset,r.prototype.restore.call(this,l.reporter),d},t.prototype.isEmpty=function(){return this.offset===this.length},t.prototype.readUInt8=function(l){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(l||"DecoderBuffer overrun")},t.prototype.skip=function(l,d){if(!(this.offset+l<=this.length))return this.error(d||"DecoderBuffer overrun");var o=new t(this.base);return o._reporterState=this._reporterState,o.offset=this.offset,o.length=this.offset+l,this.offset+=l,o},t.prototype.raw=function(l){return this.base.slice(l?l.offset:this.offset,this.length)},buffer.EncoderBuffer=a,a.prototype.join=function(l,d){return l||(l=new u(this.length)),d||(d=0),this.length===0||(Array.isArray(this.value)?this.value.forEach((function(o){o.join(l,d),d+=o.length})):(typeof this.value=="number"?l[d]=this.value:typeof this.value=="string"?l.write(this.value,d):u.isBuffer(this.value)&&this.value.copy(l,d),d+=this.length)),l},buffer}function requireNode(){if(hasRequiredNode)return node;hasRequiredNode=1;var e=requireBase().Reporter,r=requireBase().EncoderBuffer,u=requireBase().DecoderBuffer,t=requireMinimalisticAssert(),a=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],l=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(a);function d(n,i){var s={};this._baseState=s,s.enc=n,s.parent=i||null,s.children=null,s.tag=null,s.args=null,s.reverseArgs=null,s.choice=null,s.optional=!1,s.any=!1,s.obj=!1,s.use=null,s.useDecoder=null,s.key=null,s.default=null,s.explicit=null,s.implicit=null,s.contains=null,s.parent||(s.children=[],this._wrap())}node=d;var o=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];return d.prototype.clone=function(){var n=this._baseState,i={};o.forEach((function(f){i[f]=n[f]}));var s=new this.constructor(i.parent);return s._baseState=i,s},d.prototype._wrap=function(){var n=this._baseState;l.forEach((function(i){this[i]=function(){var s=new this.constructor(this);return n.children.push(s),s[i].apply(s,arguments)}}),this)},d.prototype._init=function(n){var i=this._baseState;t(i.parent===null),n.call(this),i.children=i.children.filter((function(s){return s._baseState.parent===this}),this),t.equal(i.children.length,1,"Root node can have only one child")},d.prototype._useArgs=function(n){var i=this._baseState,s=n.filter((function(f){return f instanceof this.constructor}),this);n=n.filter((function(f){return!(f instanceof this.constructor)}),this),s.length!==0&&(t(i.children===null),i.children=s,s.forEach((function(f){f._baseState.parent=this}),this)),n.length!==0&&(t(i.args===null),i.args=n,i.reverseArgs=n.map((function(f){if(typeof f!="object"||f.constructor!==Object)return f;var c={};return Object.keys(f).forEach((function(h){h==(0|h)&&(h|=0);var p=f[h];c[p]=h})),c})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(n){d.prototype[n]=function(){var i=this._baseState;throw new Error(n+" not implemented for encoding: "+i.enc)}})),a.forEach((function(n){d.prototype[n]=function(){var i=this._baseState,s=Array.prototype.slice.call(arguments);return t(i.tag===null),i.tag=n,this._useArgs(s),this}})),d.prototype.use=function(n){t(n);var i=this._baseState;return t(i.use===null),i.use=n,this},d.prototype.optional=function(){return this._baseState.optional=!0,this},d.prototype.def=function(n){var i=this._baseState;return t(i.default===null),i.default=n,i.optional=!0,this},d.prototype.explicit=function(n){var i=this._baseState;return t(i.explicit===null&&i.implicit===null),i.explicit=n,this},d.prototype.implicit=function(n){var i=this._baseState;return t(i.explicit===null&&i.implicit===null),i.implicit=n,this},d.prototype.obj=function(){var n=this._baseState,i=Array.prototype.slice.call(arguments);return n.obj=!0,i.length!==0&&this._useArgs(i),this},d.prototype.key=function(n){var i=this._baseState;return t(i.key===null),i.key=n,this},d.prototype.any=function(){return this._baseState.any=!0,this},d.prototype.choice=function(n){var i=this._baseState;return t(i.choice===null),i.choice=n,this._useArgs(Object.keys(n).map((function(s){return n[s]}))),this},d.prototype.contains=function(n){var i=this._baseState;return t(i.use===null),i.contains=n,this},d.prototype._decode=function(n,i){var s=this._baseState;if(s.parent===null)return n.wrapResult(s.children[0]._decode(n,i));var f,c=s.default,h=!0,p=null;if(s.key!==null&&(p=n.enterKey(s.key)),s.optional){var b=null;if(s.explicit!==null?b=s.explicit:s.implicit!==null?b=s.implicit:s.tag!==null&&(b=s.tag),b!==null||s.any){if(h=this._peekTag(n,b,s.any),n.isError(h))return h}else{var y=n.save();try{s.choice===null?this._decodeGeneric(s.tag,n,i):this._decodeChoice(n,i),h=!0}catch{h=!1}n.restore(y)}}if(s.obj&&h&&(f=n.enterObject()),h){if(s.explicit!==null){var g=this._decodeTag(n,s.explicit);if(n.isError(g))return g;n=g}var _=n.offset;if(s.use===null&&s.choice===null){s.any&&(y=n.save());var B=this._decodeTag(n,s.implicit!==null?s.implicit:s.tag,s.any);if(n.isError(B))return B;s.any?c=n.raw(y):n=B}if(i&&i.track&&s.tag!==null&&i.track(n.path(),_,n.length,"tagged"),i&&i.track&&s.tag!==null&&i.track(n.path(),n.offset,n.length,"content"),s.any||(c=s.choice===null?this._decodeGeneric(s.tag,n,i):this._decodeChoice(n,i)),n.isError(c))return c;if(s.any||s.choice!==null||s.children===null||s.children.forEach((function(A){A._decode(n,i)})),s.contains&&(s.tag==="octstr"||s.tag==="bitstr")){var R=new u(c);c=this._getUse(s.contains,n._reporterState.obj)._decode(R,i)}}return s.obj&&h&&(c=n.leaveObject(f)),s.key===null||c===null&&h!==!0?p!==null&&n.exitKey(p):n.leaveKey(p,s.key,c),c},d.prototype._decodeGeneric=function(n,i,s){var f=this._baseState;return n==="seq"||n==="set"?null:n==="seqof"||n==="setof"?this._decodeList(i,n,f.args[0],s):/str$/.test(n)?this._decodeStr(i,n,s):n==="objid"&&f.args?this._decodeObjid(i,f.args[0],f.args[1],s):n==="objid"?this._decodeObjid(i,null,null,s):n==="gentime"||n==="utctime"?this._decodeTime(i,n,s):n==="null_"?this._decodeNull(i,s):n==="bool"?this._decodeBool(i,s):n==="objDesc"?this._decodeStr(i,n,s):n==="int"||n==="enum"?this._decodeInt(i,f.args&&f.args[0],s):f.use!==null?this._getUse(f.use,i._reporterState.obj)._decode(i,s):i.error("unknown tag: "+n)},d.prototype._getUse=function(n,i){var s=this._baseState;return s.useDecoder=this._use(n,i),t(s.useDecoder._baseState.parent===null),s.useDecoder=s.useDecoder._baseState.children[0],s.implicit!==s.useDecoder._baseState.implicit&&(s.useDecoder=s.useDecoder.clone(),s.useDecoder._baseState.implicit=s.implicit),s.useDecoder},d.prototype._decodeChoice=function(n,i){var s=this._baseState,f=null,c=!1;return Object.keys(s.choice).some((function(h){var p=n.save(),b=s.choice[h];try{var y=b._decode(n,i);if(n.isError(y))return!1;f={type:h,value:y},c=!0}catch{return n.restore(p),!1}return!0}),this),c?f:n.error("Choice not matched")},d.prototype._createEncoderBuffer=function(n){return new r(n,this.reporter)},d.prototype._encode=function(n,i,s){var f=this._baseState;if(f.default===null||f.default!==n){var c=this._encodeValue(n,i,s);if(c!==void 0&&!this._skipDefault(c,i,s))return c}},d.prototype._encodeValue=function(n,i,s){var f=this._baseState;if(f.parent===null)return f.children[0]._encode(n,i||new e);var c=null;if(this.reporter=i,f.optional&&n===void 0){if(f.default===null)return;n=f.default}var h=null,p=!1;if(f.any)c=this._createEncoderBuffer(n);else if(f.choice)c=this._encodeChoice(n,i);else if(f.contains)h=this._getUse(f.contains,s)._encode(n,i),p=!0;else if(f.children)h=f.children.map((function(_){if(_._baseState.tag==="null_")return _._encode(null,i,n);if(_._baseState.key===null)return i.error("Child should have a key");var B=i.enterKey(_._baseState.key);if(typeof n!="object")return i.error("Child expected, but input is not object");var R=_._encode(n[_._baseState.key],i,n);return i.leaveKey(B),R}),this).filter((function(_){return _})),h=this._createEncoderBuffer(h);else if(f.tag==="seqof"||f.tag==="setof"){if(!f.args||f.args.length!==1)return i.error("Too many args for : "+f.tag);if(!Array.isArray(n))return i.error("seqof/setof, but data is not Array");var b=this.clone();b._baseState.implicit=null,h=this._createEncoderBuffer(n.map((function(_){var B=this._baseState;return this._getUse(B.args[0],n)._encode(_,i)}),b))}else f.use!==null?c=this._getUse(f.use,s)._encode(n,i):(h=this._encodePrimitive(f.tag,n),p=!0);if(!f.any&&f.choice===null){var y=f.implicit!==null?f.implicit:f.tag,g=f.implicit===null?"universal":"context";y===null?f.use===null&&i.error("Tag could be omitted only for .use()"):f.use===null&&(c=this._encodeComposite(y,p,g,h))}return f.explicit!==null&&(c=this._encodeComposite(f.explicit,!1,"context",c)),c},d.prototype._encodeChoice=function(n,i){var s=this._baseState,f=s.choice[n.type];return f||t(!1,n.type+" not found in "+JSON.stringify(Object.keys(s.choice))),f._encode(n.value,i)},d.prototype._encodePrimitive=function(n,i){var s=this._baseState;if(/str$/.test(n))return this._encodeStr(i,n);if(n==="objid"&&s.args)return this._encodeObjid(i,s.reverseArgs[0],s.args[1]);if(n==="objid")return this._encodeObjid(i,null,null);if(n==="gentime"||n==="utctime")return this._encodeTime(i,n);if(n==="null_")return this._encodeNull();if(n==="int"||n==="enum")return this._encodeInt(i,s.args&&s.reverseArgs[0]);if(n==="bool")return this._encodeBool(i);if(n==="objDesc")return this._encodeStr(i,n);throw new Error("Unsupported tag: "+n)},d.prototype._isNumstr=function(n){return/^[0-9 ]*$/.test(n)},d.prototype._isPrintstr=function(n){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(n)},node}function requireBase(){return hasRequiredBase||(hasRequiredBase=1,(function(e){var r=e;r.Reporter=requireReporter().Reporter,r.DecoderBuffer=requireBuffer().DecoderBuffer,r.EncoderBuffer=requireBuffer().EncoderBuffer,r.Node=requireNode()})(base)),base}var constants={},der={},hasRequiredDer$2,hasRequiredConstants;function requireDer$2(){return hasRequiredDer$2||(hasRequiredDer$2=1,(function(e){var r=requireConstants();e.tagClass={0:"universal",1:"application",2:"context",3:"private"},e.tagClassByName=r._reverse(e.tagClass),e.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},e.tagByName=r._reverse(e.tag)})(der)),der}function requireConstants(){return hasRequiredConstants||(hasRequiredConstants=1,(function(e){var r=e;r._reverse=function(u){var t={};return Object.keys(u).forEach((function(a){(0|a)==a&&(a|=0);var l=u[a];t[l]=a})),t},r.der=requireDer$2()})(constants)),constants}var decoders={},der_1$1,hasRequiredDer$1,pem$1,hasRequiredPem$1,hasRequiredDecoders;function requireDer$1(){if(hasRequiredDer$1)return der_1$1;hasRequiredDer$1=1;var e=requireInherits_browser(),r=requireAsn1$1(),u=r.base,t=r.bignum,a=r.constants.der;function l(i){this.enc="der",this.name=i.name,this.entity=i,this.tree=new d,this.tree._init(i.body)}function d(i){u.Node.call(this,"der",i)}function o(i,s){var f=i.readUInt8(s);if(i.isError(f))return f;var c=a.tagClass[f>>6],h=!(32&f);if(31&~f)f&=31;else{var p=f;for(f=0;!(128&~p);){if(p=i.readUInt8(s),i.isError(p))return p;f<<=7,f|=127&p}}return{cls:c,primitive:h,tag:f,tagStr:a.tag[f]}}function n(i,s,f){var c=i.readUInt8(f);if(i.isError(c))return c;if(!s&&c===128)return null;if(!(128&c))return c;var h=127&c;if(h>4)return i.error("length octect is too long");c=0;for(var p=0;p<h;p++){c<<=8;var b=i.readUInt8(f);if(i.isError(b))return b;c|=b}return c}return der_1$1=l,l.prototype.decode=function(i,s){return i instanceof u.DecoderBuffer||(i=new u.DecoderBuffer(i,s)),this.tree._decode(i,s)},e(d,u.Node),d.prototype._peekTag=function(i,s,f){if(i.isEmpty())return!1;var c=i.save(),h=o(i,'Failed to peek tag: "'+s+'"');return i.isError(h)?h:(i.restore(c),h.tag===s||h.tagStr===s||h.tagStr+"of"===s||f)},d.prototype._decodeTag=function(i,s,f){var c=o(i,'Failed to decode tag of "'+s+'"');if(i.isError(c))return c;var h=n(i,c.primitive,'Failed to get length of "'+s+'"');if(i.isError(h))return h;if(!f&&c.tag!==s&&c.tagStr!==s&&c.tagStr+"of"!==s)return i.error('Failed to match tag: "'+s+'"');if(c.primitive||h!==null)return i.skip(h,'Failed to match body of: "'+s+'"');var p=i.save(),b=this._skipUntilEnd(i,'Failed to skip indefinite length body: "'+this.tag+'"');return i.isError(b)?b:(h=i.offset-p.offset,i.restore(p),i.skip(h,'Failed to match body of: "'+s+'"'))},d.prototype._skipUntilEnd=function(i,s){for(;;){var f=o(i,s);if(i.isError(f))return f;var c,h=n(i,f.primitive,s);if(i.isError(h))return h;if(c=f.primitive||h!==null?i.skip(h):this._skipUntilEnd(i,s),i.isError(c))return c;if(f.tagStr==="end")break}},d.prototype._decodeList=function(i,s,f,c){for(var h=[];!i.isEmpty();){var p=this._peekTag(i,"end");if(i.isError(p))return p;var b=f.decode(i,"der",c);if(i.isError(b)&&p)break;h.push(b)}return h},d.prototype._decodeStr=function(i,s){if(s==="bitstr"){var f=i.readUInt8();return i.isError(f)?f:{unused:f,data:i.raw()}}if(s==="bmpstr"){var c=i.raw();if(c.length%2==1)return i.error("Decoding of string type: bmpstr length mismatch");for(var h="",p=0;p<c.length/2;p++)h+=String.fromCharCode(c.readUInt16BE(2*p));return h}if(s==="numstr"){var b=i.raw().toString("ascii");return this._isNumstr(b)?b:i.error("Decoding of string type: numstr unsupported characters")}if(s==="octstr"||s==="objDesc")return i.raw();if(s==="printstr"){var y=i.raw().toString("ascii");return this._isPrintstr(y)?y:i.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(s)?i.raw().toString():i.error("Decoding of string type: "+s+" unsupported")},d.prototype._decodeObjid=function(i,s,f){for(var c,h=[],p=0;!i.isEmpty();){var b=i.readUInt8();p<<=7,p|=127&b,128&b||(h.push(p),p=0)}128&b&&h.push(p);var y=h[0]/40|0,g=h[0]%40;if(c=f?h:[y,g].concat(h.slice(1)),s){var _=s[c.join(" ")];_===void 0&&(_=s[c.join(".")]),_!==void 0&&(c=_)}return c},d.prototype._decodeTime=function(i,s){var f=i.raw().toString();if(s==="gentime")var c=0|f.slice(0,4),h=0|f.slice(4,6),p=0|f.slice(6,8),b=0|f.slice(8,10),y=0|f.slice(10,12),g=0|f.slice(12,14);else{if(s!=="utctime")return i.error("Decoding "+s+" time is not supported yet");c=0|f.slice(0,2),h=0|f.slice(2,4),p=0|f.slice(4,6),b=0|f.slice(6,8),y=0|f.slice(8,10),g=0|f.slice(10,12),c=c<70?2e3+c:1900+c}return Date.UTC(c,h-1,p,b,y,g,0)},d.prototype._decodeNull=function(i){return null},d.prototype._decodeBool=function(i){var s=i.readUInt8();return i.isError(s)?s:s!==0},d.prototype._decodeInt=function(i,s){var f=i.raw(),c=new t(f);return s&&(c=s[c.toString(10)]||c),c},d.prototype._use=function(i,s){return typeof i=="function"&&(i=i(s)),i._getDecoder("der").tree},der_1$1}function requirePem$1(){if(hasRequiredPem$1)return pem$1;hasRequiredPem$1=1;var e=requireInherits_browser(),r=requireDist().Buffer,u=requireDer$1();function t(a){u.call(this,a),this.enc="pem"}return e(t,u),pem$1=t,t.prototype.decode=function(a,l){for(var d=a.toString().split(/[\r\n]+/g),o=l.label.toUpperCase(),n=/^-----(BEGIN|END) ([^-]+)-----$/,i=-1,s=-1,f=0;f<d.length;f++){var c=d[f].match(n);if(c!==null&&c[2]===o){if(i!==-1){if(c[1]!=="END")break;s=f;break}if(c[1]!=="BEGIN")break;i=f}}if(i===-1||s===-1)throw new Error("PEM section not found for: "+o);var h=d.slice(i+1,s).join("");h.replace(/[^a-z0-9\+\/=]+/gi,"");var p=new r(h,"base64");return u.prototype.decode.call(this,p,l)},pem$1}function requireDecoders(){return hasRequiredDecoders||(hasRequiredDecoders=1,(function(e){var r=e;r.der=requireDer$1(),r.pem=requirePem$1()})(decoders)),decoders}var encoders={},der_1,hasRequiredDer,pem,hasRequiredPem,hasRequiredEncoders,hasRequiredAsn1$1,certificate,hasRequiredCertificate,hasRequiredAsn1;function requireDer(){if(hasRequiredDer)return der_1;hasRequiredDer=1;var e=requireInherits_browser(),r=requireDist().Buffer,u=requireAsn1$1(),t=u.base,a=u.constants.der;function l(n){this.enc="der",this.name=n.name,this.entity=n,this.tree=new d,this.tree._init(n.body)}function d(n){t.Node.call(this,"der",n)}function o(n){return n<10?"0"+n:n}return der_1=l,l.prototype.encode=function(n,i){return this.tree._encode(n,i).join()},e(d,t.Node),d.prototype._encodeComposite=function(n,i,s,f){var c,h=(function(g,_,B,R){var A;if(g==="seqof"?g="seq":g==="setof"&&(g="set"),a.tagByName.hasOwnProperty(g))A=a.tagByName[g];else{if(typeof g!="number"||(0|g)!==g)return R.error("Unknown tag: "+g);A=g}return A>=31?R.error("Multi-octet tag encoding unsupported"):(_||(A|=32),A|=a.tagClassByName[B||"universal"]<<6,A)})(n,i,s,this.reporter);if(f.length<128)return(c=new r(2))[0]=h,c[1]=f.length,this._createEncoderBuffer([c,f]);for(var p=1,b=f.length;b>=256;b>>=8)p++;(c=new r(2+p))[0]=h,c[1]=128|p,b=1+p;for(var y=f.length;y>0;b--,y>>=8)c[b]=255&y;return this._createEncoderBuffer([c,f])},d.prototype._encodeStr=function(n,i){if(i==="bitstr")return this._createEncoderBuffer([0|n.unused,n.data]);if(i==="bmpstr"){for(var s=new r(2*n.length),f=0;f<n.length;f++)s.writeUInt16BE(n.charCodeAt(f),2*f);return this._createEncoderBuffer(s)}return i==="numstr"?this._isNumstr(n)?this._createEncoderBuffer(n):this.reporter.error("Encoding of string type: numstr supports only digits and space"):i==="printstr"?this._isPrintstr(n)?this._createEncoderBuffer(n):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(i)||i==="objDesc"?this._createEncoderBuffer(n):this.reporter.error("Encoding of string type: "+i+" unsupported")},d.prototype._encodeObjid=function(n,i,s){if(typeof n=="string"){if(!i)return this.reporter.error("string objid given, but no values map found");if(!i.hasOwnProperty(n))return this.reporter.error("objid not found in values map");n=i[n].split(/[\s\.]+/g);for(var f=0;f<n.length;f++)n[f]|=0}else if(Array.isArray(n))for(n=n.slice(),f=0;f<n.length;f++)n[f]|=0;if(!Array.isArray(n))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(n));if(!s){if(n[1]>=40)return this.reporter.error("Second objid identifier OOB");n.splice(0,2,40*n[0]+n[1])}var c=0;for(f=0;f<n.length;f++){var h=n[f];for(c++;h>=128;h>>=7)c++}var p=new r(c),b=p.length-1;for(f=n.length-1;f>=0;f--)for(h=n[f],p[b--]=127&h;(h>>=7)>0;)p[b--]=128|127&h;return this._createEncoderBuffer(p)},d.prototype._encodeTime=function(n,i){var s,f=new Date(n);return i==="gentime"?s=[o(f.getFullYear()),o(f.getUTCMonth()+1),o(f.getUTCDate()),o(f.getUTCHours()),o(f.getUTCMinutes()),o(f.getUTCSeconds()),"Z"].join(""):i==="utctime"?s=[o(f.getFullYear()%100),o(f.getUTCMonth()+1),o(f.getUTCDate()),o(f.getUTCHours()),o(f.getUTCMinutes()),o(f.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+i+" time is not supported yet"),this._encodeStr(s,"octstr")},d.prototype._encodeNull=function(){return this._createEncoderBuffer("")},d.prototype._encodeInt=function(n,i){if(typeof n=="string"){if(!i)return this.reporter.error("String int or enum given, but no values map");if(!i.hasOwnProperty(n))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(n));n=i[n]}if(typeof n!="number"&&!r.isBuffer(n)){var s=n.toArray();!n.sign&&128&s[0]&&s.unshift(0),n=new r(s)}if(r.isBuffer(n)){var f=n.length;n.length===0&&f++;var c=new r(f);return n.copy(c),n.length===0&&(c[0]=0),this._createEncoderBuffer(c)}if(n<128)return this._createEncoderBuffer(n);if(n<256)return this._createEncoderBuffer([0,n]);f=1;for(var h=n;h>=256;h>>=8)f++;for(h=(c=new Array(f)).length-1;h>=0;h--)c[h]=255&n,n>>=8;return 128&c[0]&&c.unshift(0),this._createEncoderBuffer(new r(c))},d.prototype._encodeBool=function(n){return this._createEncoderBuffer(n?255:0)},d.prototype._use=function(n,i){return typeof n=="function"&&(n=n(i)),n._getEncoder("der").tree},d.prototype._skipDefault=function(n,i,s){var f,c=this._baseState;if(c.default===null)return!1;var h=n.join();if(c.defaultBuffer===void 0&&(c.defaultBuffer=this._encodeValue(c.default,i,s).join()),h.length!==c.defaultBuffer.length)return!1;for(f=0;f<h.length;f++)if(h[f]!==c.defaultBuffer[f])return!1;return!0},der_1}function requirePem(){if(hasRequiredPem)return pem;hasRequiredPem=1;var e=requireInherits_browser(),r=requireDer();function u(t){r.call(this,t),this.enc="pem"}return e(u,r),pem=u,u.prototype.encode=function(t,a){for(var l=r.prototype.encode.call(this,t).toString("base64"),d=["-----BEGIN "+a.label+"-----"],o=0;o<l.length;o+=64)d.push(l.slice(o,o+64));return d.push("-----END "+a.label+"-----"),d.join(`
33
- `)},pem}function requireEncoders(){return hasRequiredEncoders||(hasRequiredEncoders=1,(function(e){var r=e;r.der=requireDer(),r.pem=requirePem()})(encoders)),encoders}function requireAsn1$1(){return hasRequiredAsn1$1||(hasRequiredAsn1$1=1,(function(e){var r=e;r.bignum=requireBn(),r.define=requireApi().define,r.base=requireBase(),r.constants=requireConstants(),r.decoders=requireDecoders(),r.encoders=requireEncoders()})(asn1)),asn1}function requireCertificate(){if(hasRequiredCertificate)return certificate;hasRequiredCertificate=1;var e=requireAsn1$1(),r=e.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),u=e.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),t=e.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),a=e.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(t),this.key("subjectPublicKey").bitstr())})),l=e.define("RelativeDistinguishedName",(function(){this.setof(u)})),d=e.define("RDNSequence",(function(){this.seqof(l)})),o=e.define("Name",(function(){this.choice({rdnSequence:this.use(d)})})),n=e.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(r),this.key("notAfter").use(r))})),i=e.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),s=e.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(t),this.key("issuer").use(o),this.key("validity").use(n),this.key("subject").use(o),this.key("subjectPublicKeyInfo").use(a),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(i).optional())})),f=e.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(s),this.key("signatureAlgorithm").use(t),this.key("signatureValue").bitstr())}));return certificate=f}function requireAsn1(){if(hasRequiredAsn1)return asn1$1;hasRequiredAsn1=1;var e=requireAsn1$1();asn1$1.certificate=requireCertificate();var r=e.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}));asn1$1.RSAPrivateKey=r;var u=e.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));asn1$1.RSAPublicKey=u;var t=e.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())})),a=e.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(t),this.key("subjectPublicKey").bitstr())}));asn1$1.PublicKey=a;var l=e.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(t),this.key("subjectPrivateKey").octstr())}));asn1$1.PrivateKey=l;var d=e.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}));asn1$1.EncryptedPrivateKey=d;var o=e.define("DSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}));asn1$1.DSAPrivateKey=o,asn1$1.DSAparam=e.define("DSAparam",(function(){this.int()}));var n=e.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})})),i=e.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(n),this.key("publicKey").optional().explicit(1).bitstr())}));return asn1$1.ECPrivateKey=i,asn1$1.signature=e.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())})),asn1$1}const require$$1={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"};var fixProc,hasRequiredFixProc,parseAsn1,hasRequiredParseAsn1;function requireFixProc(){if(hasRequiredFixProc)return fixProc;hasRequiredFixProc=1;var e=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,r=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,u=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,t=requireEvp_bytestokey(),a=requireBrowser$6(),l=requireSafeBuffer().Buffer;return fixProc=function(d,o){var n,i=d.toString(),s=i.match(e);if(s){var f="aes"+s[1],c=l.from(s[2],"hex"),h=l.from(s[3].replace(/[\r\n]/g,""),"base64"),p=t(o,c.slice(0,8),parseInt(s[1],10)).key,b=[],y=a.createDecipheriv(f,p,c);b.push(y.update(h)),b.push(y.final()),n=l.concat(b)}else{var g=i.match(u);n=l.from(g[2].replace(/[\r\n]/g,""),"base64")}return{tag:i.match(r)[1],data:n}},fixProc}function requireParseAsn1(){if(hasRequiredParseAsn1)return parseAsn1;hasRequiredParseAsn1=1;var e=requireAsn1(),r=require$$1,u=requireFixProc(),t=requireBrowser$6(),a=requireBrowser$7(),l=requireSafeBuffer().Buffer;function d(o){var n;typeof o!="object"||l.isBuffer(o)||(n=o.passphrase,o=o.key),typeof o=="string"&&(o=l.from(o));var i,s,f=u(o,n),c=f.tag,h=f.data;switch(c){case"CERTIFICATE":s=e.certificate.decode(h,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(s||(s=e.PublicKey.decode(h,"der")),i=s.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return e.RSAPublicKey.decode(s.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return s.subjectPrivateKey=s.subjectPublicKey,{type:"ec",data:s};case"1.2.840.10040.4.1":return s.algorithm.params.pub_key=e.DSAparam.decode(s.subjectPublicKey.data,"der"),{type:"dsa",data:s.algorithm.params};default:throw new Error("unknown key id "+i)}case"ENCRYPTED PRIVATE KEY":h=(function(p,b){var y=p.algorithm.decrypt.kde.kdeparams.salt,g=parseInt(p.algorithm.decrypt.kde.kdeparams.iters.toString(),10),_=r[p.algorithm.decrypt.cipher.algo.join(".")],B=p.algorithm.decrypt.cipher.iv,R=p.subjectPrivateKey,A=parseInt(_.split("-")[1],10)/8,P=a.pbkdf2Sync(b,y,g,A,"sha1"),x=t.createDecipheriv(_,P,B),T=[];return T.push(x.update(R)),T.push(x.final()),l.concat(T)})(h=e.EncryptedPrivateKey.decode(h,"der"),n);case"PRIVATE KEY":switch(i=(s=e.PrivateKey.decode(h,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return e.RSAPrivateKey.decode(s.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:s.algorithm.curve,privateKey:e.ECPrivateKey.decode(s.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return s.algorithm.params.priv_key=e.DSAparam.decode(s.subjectPrivateKey,"der"),{type:"dsa",params:s.algorithm.params};default:throw new Error("unknown key id "+i)}case"RSA PUBLIC KEY":return e.RSAPublicKey.decode(h,"der");case"RSA PRIVATE KEY":return e.RSAPrivateKey.decode(h,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:e.DSAPrivateKey.decode(h,"der")};case"EC PRIVATE KEY":return{curve:(h=e.ECPrivateKey.decode(h,"der")).parameters.value,privateKey:h.privateKey};default:throw new Error("unknown key type "+c)}}return d.signature=e.signature,parseAsn1=d}const require$$4={"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"};var hasRequiredSign,verify_1,hasRequiredVerify,browser$3,hasRequiredBrowser$3,browser$2,hasRequiredBrowser$2;function requireSign(){if(hasRequiredSign)return sign.exports;hasRequiredSign=1;var e=requireSafeBuffer().Buffer,r=requireBrowser$8(),u=requireBrowserifyRsa(),t=requireElliptic().ec,a=requireBn(),l=requireParseAsn1(),d=require$$4;function o(f,c,h,p){if((f=e.from(f.toArray())).length<c.byteLength()){var b=e.alloc(c.byteLength()-f.length);f=e.concat([b,f])}var y=h.length,g=(function(R,A){R=n(R,A),R=R.mod(A);var P=e.from(R.toArray());if(P.length<A.byteLength()){var x=e.alloc(A.byteLength()-P.length);P=e.concat([x,P])}return P})(h,c),_=e.alloc(y);_.fill(1);var B=e.alloc(y);return B=r(p,B).update(_).update(e.from([0])).update(f).update(g).digest(),_=r(p,B).update(_).digest(),{k:B=r(p,B).update(_).update(e.from([1])).update(f).update(g).digest(),v:_=r(p,B).update(_).digest()}}function n(f,c){var h=new a(f),p=(f.length<<3)-c.bitLength();return p>0&&h.ishrn(p),h}function i(f,c,h){var p,b;do{for(p=e.alloc(0);8*p.length<f.bitLength();)c.v=r(h,c.k).update(c.v).digest(),p=e.concat([p,c.v]);b=n(p,f),c.k=r(h,c.k).update(c.v).update(e.from([0])).digest(),c.v=r(h,c.k).update(c.v).digest()}while(b.cmp(f)!==-1);return b}function s(f,c,h,p){return f.toRed(a.mont(h)).redPow(c).fromRed().mod(p)}return sign.exports=function(f,c,h,p,b){var y=l(c);if(y.curve){if(p!=="ecdsa"&&p!=="ecdsa/rsa")throw new Error("wrong private key type");return(function(R,A){var P=d[A.curve.join(".")];if(!P)throw new Error("unknown curve "+A.curve.join("."));var x=new t(P),T=x.keyFromPrivate(A.privateKey),z=T.sign(R);return e.from(z.toDER())})(f,y)}if(y.type==="dsa"){if(p!=="dsa")throw new Error("wrong private key type");return(function(R,A,P){for(var x,T=A.params.priv_key,z=A.params.p,v=A.params.q,E=A.params.g,$=new a(0),q=n(R,v).mod(v),m=!1,w=o(T,v,R,P);m===!1;)$=s(E,x=i(v,w,P),z,v),(m=x.invm(v).imul(q.add(T.mul($))).mod(v)).cmpn(0)===0&&(m=!1,$=new a(0));return(function(C,j){C=C.toArray(),j=j.toArray(),128&C[0]&&(C=[0].concat(C)),128&j[0]&&(j=[0].concat(j));var N=C.length+j.length+4,L=[48,N,2,C.length];return L=L.concat(C,[2,j.length],j),e.from(L)})($,m)})(f,y,h)}if(p!=="rsa"&&p!=="ecdsa/rsa")throw new Error("wrong private key type");if(c.padding!==void 0&&c.padding!==1)throw new Error("illegal or unsupported padding mode");f=e.concat([b,f]);for(var g=y.modulus.byteLength(),_=[0,1];f.length+_.length+1<g;)_.push(255);_.push(0);for(var B=-1;++B<f.length;)_.push(f[B]);return u(_,y)},sign.exports.getKey=o,sign.exports.makeKey=i,sign.exports}function requireVerify(){if(hasRequiredVerify)return verify_1;hasRequiredVerify=1;var e=requireSafeBuffer().Buffer,r=requireBn(),u=requireElliptic().ec,t=requireParseAsn1(),a=require$$4;function l(d,o){if(d.cmpn(0)<=0)throw new Error("invalid sig");if(d.cmp(o)>=0)throw new Error("invalid sig")}return verify_1=function(d,o,n,i,s){var f=t(n);if(f.type==="ec"){if(i!=="ecdsa"&&i!=="ecdsa/rsa")throw new Error("wrong public key type");return(function(_,B,R){var A=a[R.data.algorithm.curve.join(".")];if(!A)throw new Error("unknown curve "+R.data.algorithm.curve.join("."));var P=new u(A),x=R.data.subjectPrivateKey.data;return P.verify(B,_,x)})(d,o,f)}if(f.type==="dsa"){if(i!=="dsa")throw new Error("wrong public key type");return(function(_,B,R){var A=R.data.p,P=R.data.q,x=R.data.g,T=R.data.pub_key,z=t.signature.decode(_,"der"),v=z.s,E=z.r;l(v,P),l(E,P);var $=r.mont(A),q=v.invm(P),m=x.toRed($).redPow(new r(B).mul(q).mod(P)).fromRed().mul(T.toRed($).redPow(E.mul(q).mod(P)).fromRed()).mod(A).mod(P);return m.cmp(E)===0})(d,o,f)}if(i!=="rsa"&&i!=="ecdsa/rsa")throw new Error("wrong public key type");o=e.concat([s,o]);for(var c=f.modulus.byteLength(),h=[1],p=0;o.length+h.length+2<c;)h.push(255),p+=1;h.push(0);for(var b=-1;++b<o.length;)h.push(o[b]);h=e.from(h);var y=r.mont(f.modulus);d=(d=new r(d).toRed(y)).redPow(new r(f.publicExponent)),d=e.from(d.fromRed().toArray());var g=p<8?1:0;for(c=Math.min(d.length,h.length),d.length!==h.length&&(g=1),b=-1;++b<c;)g|=d[b]^h[b];return g===0},verify_1}function requireBrowser$3(){if(hasRequiredBrowser$3)return browser$3;hasRequiredBrowser$3=1;var e=requireSafeBuffer().Buffer,r=requireBrowser$9(),u=requireReadableBrowser(),t=requireInherits_browser(),a=requireSign(),l=requireVerify(),d=require$$6;function o(f){u.Writable.call(this);var c=d[f];if(!c)throw new Error("Unknown message digest");this._hashType=c.hash,this._hash=r(c.hash),this._tag=c.id,this._signType=c.sign}function n(f){u.Writable.call(this);var c=d[f];if(!c)throw new Error("Unknown message digest");this._hash=r(c.hash),this._tag=c.id,this._signType=c.sign}function i(f){return new o(f)}function s(f){return new n(f)}return Object.keys(d).forEach((function(f){d[f].id=e.from(d[f].id,"hex"),d[f.toLowerCase()]=d[f]})),t(o,u.Writable),o.prototype._write=function(f,c,h){this._hash.update(f),h()},o.prototype.update=function(f,c){return this._hash.update(typeof f=="string"?e.from(f,c):f),this},o.prototype.sign=function(f,c){this.end();var h=this._hash.digest(),p=a(h,f,this._hashType,this._signType,this._tag);return c?p.toString(c):p},t(n,u.Writable),n.prototype._write=function(f,c,h){this._hash.update(f),h()},n.prototype.update=function(f,c){return this._hash.update(typeof f=="string"?e.from(f,c):f),this},n.prototype.verify=function(f,c,h){var p=typeof c=="string"?e.from(c,h):c;this.end();var b=this._hash.digest();return l(p,b,f,this._signType,this._tag)},browser$3={Sign:i,Verify:s,createSign:i,createVerify:s}}function requireBrowser$2(){if(hasRequiredBrowser$2)return browser$2;hasRequiredBrowser$2=1;var e=requireElliptic(),r=requireBn();browser$2=function(l){return new t(l)};var u={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function t(l){this.curveType=u[l],this.curveType||(this.curveType={name:l}),this.curve=new e.ec(this.curveType.name),this.keys=void 0}function a(l,d,o){Array.isArray(l)||(l=l.toArray());var n=new Buffer(l);if(o&&n.length<o){var i=new Buffer(o-n.length);i.fill(0),n=Buffer.concat([i,n])}return d?n.toString(d):n}return u.p224=u.secp224r1,u.p256=u.secp256r1=u.prime256v1,u.p192=u.secp192r1=u.prime192v1,u.p384=u.secp384r1,u.p521=u.secp521r1,t.prototype.generateKeys=function(l,d){return this.keys=this.curve.genKeyPair(),this.getPublicKey(l,d)},t.prototype.computeSecret=function(l,d,o){return d=d||"utf8",Buffer.isBuffer(l)||(l=new Buffer(l,d)),a(this.curve.keyFromPublic(l).getPublic().mul(this.keys.getPrivate()).getX(),o,this.curveType.byteLength)},t.prototype.getPublicKey=function(l,d){var o=this.keys.getPublic(d==="compressed",!0);return d==="hybrid"&&(o[o.length-1]%2?o[0]=7:o[0]=6),a(o,l)},t.prototype.getPrivateKey=function(l){return a(this.keys.getPrivate(),l)},t.prototype.setPublicKey=function(l,d){return d=d||"utf8",Buffer.isBuffer(l)||(l=new Buffer(l,d)),this.keys._importPublic(l),this},t.prototype.setPrivateKey=function(l,d){d=d||"utf8",Buffer.isBuffer(l)||(l=new Buffer(l,d));var o=new r(l);return o=o.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(o),this},browser$2}var browser$1={},mgf,hasRequiredMgf,xor,hasRequiredXor,withPublic_1,hasRequiredWithPublic,publicEncrypt,hasRequiredPublicEncrypt,privateDecrypt,hasRequiredPrivateDecrypt,hasRequiredBrowser$1;function requireMgf(){if(hasRequiredMgf)return mgf;hasRequiredMgf=1;var e=requireBrowser$9(),r=requireSafeBuffer().Buffer;function u(t){var a=r.allocUnsafe(4);return a.writeUInt32BE(t,0),a}return mgf=function(t,a){for(var l,d=r.alloc(0),o=0;d.length<a;)l=u(o++),d=r.concat([d,e("sha1").update(t).update(l).digest()]);return d.slice(0,a)}}function requireXor(){return hasRequiredXor?xor:(hasRequiredXor=1,xor=function(e,r){for(var u=e.length,t=-1;++t<u;)e[t]^=r[t];return e})}function requireWithPublic(){if(hasRequiredWithPublic)return withPublic_1;hasRequiredWithPublic=1;var e=requireBn(),r=requireSafeBuffer().Buffer;return withPublic_1=function(u,t){return r.from(u.toRed(e.mont(t.modulus)).redPow(new e(t.publicExponent)).fromRed().toArray())},withPublic_1}function requirePublicEncrypt(){if(hasRequiredPublicEncrypt)return publicEncrypt;hasRequiredPublicEncrypt=1;var e=requireParseAsn1(),r=requireBrowser$b(),u=requireBrowser$9(),t=requireMgf(),a=requireXor(),l=requireBn(),d=requireWithPublic(),o=requireBrowserifyRsa(),n=requireSafeBuffer().Buffer;return publicEncrypt=function(i,s,f){var c;c=i.padding?i.padding:f?1:4;var h,p=e(i);if(c===4)h=(function(b,y){var g=b.modulus.byteLength(),_=y.length,B=u("sha1").update(n.alloc(0)).digest(),R=B.length,A=2*R;if(_>g-A-2)throw new Error("message too long");var P=n.alloc(g-_-A-2),x=g-R-1,T=r(R),z=a(n.concat([B,P,n.alloc(1,1),y],x),t(T,x)),v=a(T,t(z,R));return new l(n.concat([n.alloc(1),v,z],g))})(p,s);else if(c===1)h=(function(b,y,g){var _,B=y.length,R=b.modulus.byteLength();if(B>R-11)throw new Error("message too long");return _=g?n.alloc(R-B-3,255):(function(A){for(var P,x=n.allocUnsafe(A),T=0,z=r(2*A),v=0;T<A;)v===z.length&&(z=r(2*A),v=0),(P=z[v++])&&(x[T++]=P);return x})(R-B-3),new l(n.concat([n.from([0,g?1:2]),_,n.alloc(1),y],R))})(p,s,f);else{if(c!==3)throw new Error("unknown padding");if((h=new l(s)).cmp(p.modulus)>=0)throw new Error("data too long for modulus")}return f?o(h,p):d(h,p)},publicEncrypt}function requirePrivateDecrypt(){if(hasRequiredPrivateDecrypt)return privateDecrypt;hasRequiredPrivateDecrypt=1;var e=requireParseAsn1(),r=requireMgf(),u=requireXor(),t=requireBn(),a=requireBrowserifyRsa(),l=requireBrowser$9(),d=requireWithPublic(),o=requireSafeBuffer().Buffer;return privateDecrypt=function(n,i,s){var f;f=n.padding?n.padding:s?1:4;var c,h=e(n),p=h.modulus.byteLength();if(i.length>p||new t(i).cmp(h.modulus)>=0)throw new Error("decryption error");c=s?d(new t(i),h):a(i,h);var b=o.alloc(p-c.length);if(c=o.concat([b,c],p),f===4)return(function(y,g){var _=y.modulus.byteLength(),B=l("sha1").update(o.alloc(0)).digest(),R=B.length;if(g[0]!==0)throw new Error("decryption error");var A=g.slice(1,R+1),P=g.slice(R+1),x=u(A,r(P,R)),T=u(P,r(x,_-R-1));if((function(v,E){v=o.from(v),E=o.from(E);var $=0,q=v.length;v.length!==E.length&&($++,q=Math.min(v.length,E.length));for(var m=-1;++m<q;)$+=v[m]^E[m];return $})(B,T.slice(0,R)))throw new Error("decryption error");for(var z=R;T[z]===0;)z++;if(T[z++]!==1)throw new Error("decryption error");return T.slice(z)})(h,c);if(f===1)return(function(y,g,_){for(var B=g.slice(0,2),R=2,A=0;g[R++]!==0;)if(R>=g.length){A++;break}var P=g.slice(2,R-1);if((B.toString("hex")!=="0002"&&!_||B.toString("hex")!=="0001"&&_)&&A++,P.length<8&&A++,A)throw new Error("decryption error");return g.slice(R)})(0,c,s);if(f===3)return c;throw new Error("unknown padding")},privateDecrypt}function requireBrowser$1(){return hasRequiredBrowser$1||(hasRequiredBrowser$1=1,(e=browser$1).publicEncrypt=requirePublicEncrypt(),e.privateDecrypt=requirePrivateDecrypt(),e.privateEncrypt=function(r,u){return e.publicEncrypt(r,u,!0)},e.publicDecrypt=function(r,u){return e.privateDecrypt(r,u,!0)}),browser$1;var e}var browser={},hasRequiredBrowser,hasRequiredCryptoBrowserify;function requireBrowser(){if(hasRequiredBrowser)return browser;function e(){throw new Error(`secure random number generation not supported by this browser
34
- use chrome, FireFox or Internet Explorer 11`)}hasRequiredBrowser=1;var r=requireSafeBuffer(),u=requireBrowser$b(),t=r.Buffer,a=r.kMaxLength,l=commonjsGlobal.crypto||commonjsGlobal.msCrypto,d=Math.pow(2,32)-1;function o(s,f){if(typeof s!="number"||s!=s)throw new TypeError("offset must be a number");if(s>d||s<0)throw new TypeError("offset must be a uint32");if(s>a||s>f)throw new RangeError("offset out of range")}function n(s,f,c){if(typeof s!="number"||s!=s)throw new TypeError("size must be a number");if(s>d||s<0)throw new TypeError("size must be a uint32");if(s+f>c||s>a)throw new RangeError("buffer too small")}function i(s,f,c,h){if(process$1.browser){var p=s.buffer,b=new Uint8Array(p,f,c);return l.getRandomValues(b),h?void process$1.nextTick((function(){h(null,s)})):s}if(!h)return u(c).copy(s,f),s;u(c,(function(y,g){if(y)return h(y);g.copy(s,f),h(null,s)}))}return l&&l.getRandomValues||!process$1.browser?(browser.randomFill=function(s,f,c,h){if(!(t.isBuffer(s)||s instanceof commonjsGlobal.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if(typeof f=="function")h=f,f=0,c=s.length;else if(typeof c=="function")h=c,c=s.length-f;else if(typeof h!="function")throw new TypeError('"cb" argument must be a function');return o(f,s.length),n(c,f,s.length),i(s,f,c,h)},browser.randomFillSync=function(s,f,c){if(f===void 0&&(f=0),!(t.isBuffer(s)||s instanceof commonjsGlobal.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return o(f,s.length),c===void 0&&(c=s.length-f),n(c,f,s.length),i(s,f,c)}):(browser.randomFill=e,browser.randomFillSync=e),browser}function requireCryptoBrowserify(){if(hasRequiredCryptoBrowserify)return cryptoBrowserify;hasRequiredCryptoBrowserify=1,cryptoBrowserify.randomBytes=cryptoBrowserify.rng=cryptoBrowserify.pseudoRandomBytes=cryptoBrowserify.prng=requireBrowser$b(),cryptoBrowserify.createHash=cryptoBrowserify.Hash=requireBrowser$9(),cryptoBrowserify.createHmac=cryptoBrowserify.Hmac=requireBrowser$8();var e=requireAlgos(),r=Object.keys(e),u=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(r);cryptoBrowserify.getHashes=function(){return u};var t=requireBrowser$7();cryptoBrowserify.pbkdf2=t.pbkdf2,cryptoBrowserify.pbkdf2Sync=t.pbkdf2Sync;var a=requireBrowser$5();cryptoBrowserify.Cipher=a.Cipher,cryptoBrowserify.createCipher=a.createCipher,cryptoBrowserify.Cipheriv=a.Cipheriv,cryptoBrowserify.createCipheriv=a.createCipheriv,cryptoBrowserify.Decipher=a.Decipher,cryptoBrowserify.createDecipher=a.createDecipher,cryptoBrowserify.Decipheriv=a.Decipheriv,cryptoBrowserify.createDecipheriv=a.createDecipheriv,cryptoBrowserify.getCiphers=a.getCiphers,cryptoBrowserify.listCiphers=a.listCiphers;var l=requireBrowser$4();cryptoBrowserify.DiffieHellmanGroup=l.DiffieHellmanGroup,cryptoBrowserify.createDiffieHellmanGroup=l.createDiffieHellmanGroup,cryptoBrowserify.getDiffieHellman=l.getDiffieHellman,cryptoBrowserify.createDiffieHellman=l.createDiffieHellman,cryptoBrowserify.DiffieHellman=l.DiffieHellman;var d=requireBrowser$3();cryptoBrowserify.createSign=d.createSign,cryptoBrowserify.Sign=d.Sign,cryptoBrowserify.createVerify=d.createVerify,cryptoBrowserify.Verify=d.Verify,cryptoBrowserify.createECDH=requireBrowser$2();var o=requireBrowser$1();cryptoBrowserify.publicEncrypt=o.publicEncrypt,cryptoBrowserify.privateEncrypt=o.privateEncrypt,cryptoBrowserify.publicDecrypt=o.publicDecrypt,cryptoBrowserify.privateDecrypt=o.privateDecrypt;var n=requireBrowser();return cryptoBrowserify.randomFill=n.randomFill,cryptoBrowserify.randomFillSync=n.randomFillSync,cryptoBrowserify.createCredentials=function(){throw new Error(`sorry, createCredentials is not implemented yet
35
- we accept pull requests
36
- https://github.com/browserify/crypto-browserify`)},cryptoBrowserify.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6},cryptoBrowserify}var core=core$1.exports,hasRequiredCore;function requireCore(){return hasRequiredCore||(hasRequiredCore=1,core$1.exports=(e=e||(function(r,u){var t;if(typeof window<"u"&&window.crypto&&(t=window.crypto),typeof self<"u"&&self.crypto&&(t=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(t=globalThis.crypto),!t&&typeof window<"u"&&window.msCrypto&&(t=window.msCrypto),!t&&commonjsGlobal!==void 0&&commonjsGlobal.crypto&&(t=commonjsGlobal.crypto),!t&&typeof commonjsRequire=="function")try{t=requireCryptoBrowserify()}catch{}var a=function(){if(t){if(typeof t.getRandomValues=="function")try{return t.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof t.randomBytes=="function")try{return t.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},l=Object.create||(function(){function y(){}return function(g){var _;return y.prototype=g,_=new y,y.prototype=null,_}})(),d={},o=d.lib={},n=o.Base={extend:function(y){var g=l(this);return y&&g.mixIn(y),g.hasOwnProperty("init")&&this.init!==g.init||(g.init=function(){g.$super.init.apply(this,arguments)}),g.init.prototype=g,g.$super=this,g},create:function(){var y=this.extend();return y.init.apply(y,arguments),y},init:function(){},mixIn:function(y){for(var g in y)y.hasOwnProperty(g)&&(this[g]=y[g]);y.hasOwnProperty("toString")&&(this.toString=y.toString)},clone:function(){return this.init.prototype.extend(this)}},i=o.WordArray=n.extend({init:function(y,g){y=this.words=y||[],this.sigBytes=g!=u?g:4*y.length},toString:function(y){return(y||f).stringify(this)},concat:function(y){var g=this.words,_=y.words,B=this.sigBytes,R=y.sigBytes;if(this.clamp(),B%4)for(var A=0;A<R;A++){var P=_[A>>>2]>>>24-A%4*8&255;g[B+A>>>2]|=P<<24-(B+A)%4*8}else for(var x=0;x<R;x+=4)g[B+x>>>2]=_[x>>>2];return this.sigBytes+=R,this},clamp:function(){var y=this.words,g=this.sigBytes;y[g>>>2]&=4294967295<<32-g%4*8,y.length=r.ceil(g/4)},clone:function(){var y=n.clone.call(this);return y.words=this.words.slice(0),y},random:function(y){for(var g=[],_=0;_<y;_+=4)g.push(a());return new i.init(g,y)}}),s=d.enc={},f=s.Hex={stringify:function(y){for(var g=y.words,_=y.sigBytes,B=[],R=0;R<_;R++){var A=g[R>>>2]>>>24-R%4*8&255;B.push((A>>>4).toString(16)),B.push((15&A).toString(16))}return B.join("")},parse:function(y){for(var g=y.length,_=[],B=0;B<g;B+=2)_[B>>>3]|=parseInt(y.substr(B,2),16)<<24-B%8*4;return new i.init(_,g/2)}},c=s.Latin1={stringify:function(y){for(var g=y.words,_=y.sigBytes,B=[],R=0;R<_;R++){var A=g[R>>>2]>>>24-R%4*8&255;B.push(String.fromCharCode(A))}return B.join("")},parse:function(y){for(var g=y.length,_=[],B=0;B<g;B++)_[B>>>2]|=(255&y.charCodeAt(B))<<24-B%4*8;return new i.init(_,g)}},h=s.Utf8={stringify:function(y){try{return decodeURIComponent(escape(c.stringify(y)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(y){return c.parse(unescape(encodeURIComponent(y)))}},p=o.BufferedBlockAlgorithm=n.extend({reset:function(){this._data=new i.init,this._nDataBytes=0},_append:function(y){typeof y=="string"&&(y=h.parse(y)),this._data.concat(y),this._nDataBytes+=y.sigBytes},_process:function(y){var g,_=this._data,B=_.words,R=_.sigBytes,A=this.blockSize,P=R/(4*A),x=(P=y?r.ceil(P):r.max((0|P)-this._minBufferSize,0))*A,T=r.min(4*x,R);if(x){for(var z=0;z<x;z+=A)this._doProcessBlock(B,z);g=B.splice(0,x),_.sigBytes-=T}return new i.init(g,T)},clone:function(){var y=n.clone.call(this);return y._data=this._data.clone(),y},_minBufferSize:0});o.Hasher=p.extend({cfg:n.extend(),init:function(y){this.cfg=this.cfg.extend(y),this.reset()},reset:function(){p.reset.call(this),this._doReset()},update:function(y){return this._append(y),this._process(),this},finalize:function(y){return y&&this._append(y),this._doFinalize()},blockSize:16,_createHelper:function(y){return function(g,_){return new y.init(_).finalize(g)}},_createHmacHelper:function(y){return function(g,_){return new b.HMAC.init(y,_).finalize(g)}}});var b=d.algo={};return d})(Math),e)),core$1.exports;var e}var x64Core$1={exports:{}},x64Core=x64Core$1.exports,hasRequiredX64Core;function requireX64Core(){return hasRequiredX64Core||(hasRequiredX64Core=1,x64Core$1.exports=(d=requireCore(),u=(r=d).lib,t=u.Base,a=u.WordArray,(l=r.x64={}).Word=t.extend({init:function(o,n){this.high=o,this.low=n}}),l.WordArray=t.extend({init:function(o,n){o=this.words=o||[],this.sigBytes=n!=e?n:8*o.length},toX32:function(){for(var o=this.words,n=o.length,i=[],s=0;s<n;s++){var f=o[s];i.push(f.high),i.push(f.low)}return a.create(i,this.sigBytes)},clone:function(){for(var o=t.clone.call(this),n=o.words=this.words.slice(0),i=n.length,s=0;s<i;s++)n[s]=n[s].clone();return o}}),d)),x64Core$1.exports;var e,r,u,t,a,l,d}var libTypedarrays$1={exports:{}},libTypedarrays=libTypedarrays$1.exports,hasRequiredLibTypedarrays;function requireLibTypedarrays(){return hasRequiredLibTypedarrays||(hasRequiredLibTypedarrays=1,libTypedarrays$1.exports=(e=requireCore(),(function(){if(typeof ArrayBuffer=="function"){var r=e.lib.WordArray,u=r.init,t=r.init=function(a){if(a instanceof ArrayBuffer&&(a=new Uint8Array(a)),(a instanceof Int8Array||typeof Uint8ClampedArray<"u"&&a instanceof Uint8ClampedArray||a instanceof Int16Array||a instanceof Uint16Array||a instanceof Int32Array||a instanceof Uint32Array||a instanceof Float32Array||a instanceof Float64Array)&&(a=new Uint8Array(a.buffer,a.byteOffset,a.byteLength)),a instanceof Uint8Array){for(var l=a.byteLength,d=[],o=0;o<l;o++)d[o>>>2]|=a[o]<<24-o%4*8;u.call(this,d,l)}else u.apply(this,arguments)};t.prototype=r}})(),e.lib.WordArray)),libTypedarrays$1.exports;var e}var encUtf16$1={exports:{}},encUtf16=encUtf16$1.exports,hasRequiredEncUtf16;function requireEncUtf16(){return hasRequiredEncUtf16||(hasRequiredEncUtf16=1,encUtf16$1.exports=(e=requireCore(),(function(){var r=e,u=r.lib.WordArray,t=r.enc;function a(l){return l<<8&4278255360|l>>>8&16711935}t.Utf16=t.Utf16BE={stringify:function(l){for(var d=l.words,o=l.sigBytes,n=[],i=0;i<o;i+=2){var s=d[i>>>2]>>>16-i%4*8&65535;n.push(String.fromCharCode(s))}return n.join("")},parse:function(l){for(var d=l.length,o=[],n=0;n<d;n++)o[n>>>1]|=l.charCodeAt(n)<<16-n%2*16;return u.create(o,2*d)}},t.Utf16LE={stringify:function(l){for(var d=l.words,o=l.sigBytes,n=[],i=0;i<o;i+=2){var s=a(d[i>>>2]>>>16-i%4*8&65535);n.push(String.fromCharCode(s))}return n.join("")},parse:function(l){for(var d=l.length,o=[],n=0;n<d;n++)o[n>>>1]|=a(l.charCodeAt(n)<<16-n%2*16);return u.create(o,2*d)}}})(),e.enc.Utf16)),encUtf16$1.exports;var e}var encBase64$1={exports:{}},encBase64=encBase64$1.exports,hasRequiredEncBase64;function requireEncBase64(){return hasRequiredEncBase64||(hasRequiredEncBase64=1,encBase64$1.exports=(e=requireCore(),(function(){var r=e,u=r.lib.WordArray;function t(a,l,d){for(var o=[],n=0,i=0;i<l;i++)if(i%4){var s=d[a.charCodeAt(i-1)]<<i%4*2|d[a.charCodeAt(i)]>>>6-i%4*2;o[n>>>2]|=s<<24-n%4*8,n++}return u.create(o,n)}r.enc.Base64={stringify:function(a){var l=a.words,d=a.sigBytes,o=this._map;a.clamp();for(var n=[],i=0;i<d;i+=3)for(var s=(l[i>>>2]>>>24-i%4*8&255)<<16|(l[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|l[i+2>>>2]>>>24-(i+2)%4*8&255,f=0;f<4&&i+.75*f<d;f++)n.push(o.charAt(s>>>6*(3-f)&63));var c=o.charAt(64);if(c)for(;n.length%4;)n.push(c);return n.join("")},parse:function(a){var l=a.length,d=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var n=0;n<d.length;n++)o[d.charCodeAt(n)]=n}var i=d.charAt(64);if(i){var s=a.indexOf(i);s!==-1&&(l=s)}return t(a,l,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}})(),e.enc.Base64)),encBase64$1.exports;var e}var encBase64url$1={exports:{}},encBase64url=encBase64url$1.exports,hasRequiredEncBase64url;function requireEncBase64url(){return hasRequiredEncBase64url||(hasRequiredEncBase64url=1,encBase64url$1.exports=(e=requireCore(),(function(){var r=e,u=r.lib.WordArray;function t(a,l,d){for(var o=[],n=0,i=0;i<l;i++)if(i%4){var s=d[a.charCodeAt(i-1)]<<i%4*2|d[a.charCodeAt(i)]>>>6-i%4*2;o[n>>>2]|=s<<24-n%4*8,n++}return u.create(o,n)}r.enc.Base64url={stringify:function(a,l){l===void 0&&(l=!0);var d=a.words,o=a.sigBytes,n=l?this._safe_map:this._map;a.clamp();for(var i=[],s=0;s<o;s+=3)for(var f=(d[s>>>2]>>>24-s%4*8&255)<<16|(d[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|d[s+2>>>2]>>>24-(s+2)%4*8&255,c=0;c<4&&s+.75*c<o;c++)i.push(n.charAt(f>>>6*(3-c)&63));var h=n.charAt(64);if(h)for(;i.length%4;)i.push(h);return i.join("")},parse:function(a,l){l===void 0&&(l=!0);var d=a.length,o=l?this._safe_map:this._map,n=this._reverseMap;if(!n){n=this._reverseMap=[];for(var i=0;i<o.length;i++)n[o.charCodeAt(i)]=i}var s=o.charAt(64);if(s){var f=a.indexOf(s);f!==-1&&(d=f)}return t(a,d,n)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"}})(),e.enc.Base64url)),encBase64url$1.exports;var e}var md5$1={exports:{}},md5=md5$1.exports,hasRequiredMd5;function requireMd5(){return hasRequiredMd5||(hasRequiredMd5=1,md5$1.exports=(e=requireCore(),(function(r){var u=e,t=u.lib,a=t.WordArray,l=t.Hasher,d=u.algo,o=[];(function(){for(var h=0;h<64;h++)o[h]=4294967296*r.abs(r.sin(h+1))|0})();var n=d.MD5=l.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(h,p){for(var b=0;b<16;b++){var y=p+b,g=h[y];h[y]=16711935&(g<<8|g>>>24)|4278255360&(g<<24|g>>>8)}var _=this._hash.words,B=h[p+0],R=h[p+1],A=h[p+2],P=h[p+3],x=h[p+4],T=h[p+5],z=h[p+6],v=h[p+7],E=h[p+8],$=h[p+9],q=h[p+10],m=h[p+11],w=h[p+12],C=h[p+13],j=h[p+14],N=h[p+15],L=_[0],U=_[1],D=_[2],I=_[3];L=i(L,U,D,I,B,7,o[0]),I=i(I,L,U,D,R,12,o[1]),D=i(D,I,L,U,A,17,o[2]),U=i(U,D,I,L,P,22,o[3]),L=i(L,U,D,I,x,7,o[4]),I=i(I,L,U,D,T,12,o[5]),D=i(D,I,L,U,z,17,o[6]),U=i(U,D,I,L,v,22,o[7]),L=i(L,U,D,I,E,7,o[8]),I=i(I,L,U,D,$,12,o[9]),D=i(D,I,L,U,q,17,o[10]),U=i(U,D,I,L,m,22,o[11]),L=i(L,U,D,I,w,7,o[12]),I=i(I,L,U,D,C,12,o[13]),D=i(D,I,L,U,j,17,o[14]),L=s(L,U=i(U,D,I,L,N,22,o[15]),D,I,R,5,o[16]),I=s(I,L,U,D,z,9,o[17]),D=s(D,I,L,U,m,14,o[18]),U=s(U,D,I,L,B,20,o[19]),L=s(L,U,D,I,T,5,o[20]),I=s(I,L,U,D,q,9,o[21]),D=s(D,I,L,U,N,14,o[22]),U=s(U,D,I,L,x,20,o[23]),L=s(L,U,D,I,$,5,o[24]),I=s(I,L,U,D,j,9,o[25]),D=s(D,I,L,U,P,14,o[26]),U=s(U,D,I,L,E,20,o[27]),L=s(L,U,D,I,C,5,o[28]),I=s(I,L,U,D,A,9,o[29]),D=s(D,I,L,U,v,14,o[30]),L=f(L,U=s(U,D,I,L,w,20,o[31]),D,I,T,4,o[32]),I=f(I,L,U,D,E,11,o[33]),D=f(D,I,L,U,m,16,o[34]),U=f(U,D,I,L,j,23,o[35]),L=f(L,U,D,I,R,4,o[36]),I=f(I,L,U,D,x,11,o[37]),D=f(D,I,L,U,v,16,o[38]),U=f(U,D,I,L,q,23,o[39]),L=f(L,U,D,I,C,4,o[40]),I=f(I,L,U,D,B,11,o[41]),D=f(D,I,L,U,P,16,o[42]),U=f(U,D,I,L,z,23,o[43]),L=f(L,U,D,I,$,4,o[44]),I=f(I,L,U,D,w,11,o[45]),D=f(D,I,L,U,N,16,o[46]),L=c(L,U=f(U,D,I,L,A,23,o[47]),D,I,B,6,o[48]),I=c(I,L,U,D,v,10,o[49]),D=c(D,I,L,U,j,15,o[50]),U=c(U,D,I,L,T,21,o[51]),L=c(L,U,D,I,w,6,o[52]),I=c(I,L,U,D,P,10,o[53]),D=c(D,I,L,U,q,15,o[54]),U=c(U,D,I,L,R,21,o[55]),L=c(L,U,D,I,E,6,o[56]),I=c(I,L,U,D,N,10,o[57]),D=c(D,I,L,U,z,15,o[58]),U=c(U,D,I,L,C,21,o[59]),L=c(L,U,D,I,x,6,o[60]),I=c(I,L,U,D,m,10,o[61]),D=c(D,I,L,U,A,15,o[62]),U=c(U,D,I,L,$,21,o[63]),_[0]=_[0]+L|0,_[1]=_[1]+U|0,_[2]=_[2]+D|0,_[3]=_[3]+I|0},_doFinalize:function(){var h=this._data,p=h.words,b=8*this._nDataBytes,y=8*h.sigBytes;p[y>>>5]|=128<<24-y%32;var g=r.floor(b/4294967296),_=b;p[15+(y+64>>>9<<4)]=16711935&(g<<8|g>>>24)|4278255360&(g<<24|g>>>8),p[14+(y+64>>>9<<4)]=16711935&(_<<8|_>>>24)|4278255360&(_<<24|_>>>8),h.sigBytes=4*(p.length+1),this._process();for(var B=this._hash,R=B.words,A=0;A<4;A++){var P=R[A];R[A]=16711935&(P<<8|P>>>24)|4278255360&(P<<24|P>>>8)}return B},clone:function(){var h=l.clone.call(this);return h._hash=this._hash.clone(),h}});function i(h,p,b,y,g,_,B){var R=h+(p&b|~p&y)+g+B;return(R<<_|R>>>32-_)+p}function s(h,p,b,y,g,_,B){var R=h+(p&y|b&~y)+g+B;return(R<<_|R>>>32-_)+p}function f(h,p,b,y,g,_,B){var R=h+(p^b^y)+g+B;return(R<<_|R>>>32-_)+p}function c(h,p,b,y,g,_,B){var R=h+(b^(p|~y))+g+B;return(R<<_|R>>>32-_)+p}u.MD5=l._createHelper(n),u.HmacMD5=l._createHmacHelper(n)})(Math),e.MD5)),md5$1.exports;var e}var sha1$1={exports:{}},sha1=sha1$1.exports,hasRequiredSha1;function requireSha1(){return hasRequiredSha1||(hasRequiredSha1=1,sha1$1.exports=(o=requireCore(),r=(e=o).lib,u=r.WordArray,t=r.Hasher,a=e.algo,l=[],d=a.SHA1=t.extend({_doReset:function(){this._hash=new u.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(n,i){for(var s=this._hash.words,f=s[0],c=s[1],h=s[2],p=s[3],b=s[4],y=0;y<80;y++){if(y<16)l[y]=0|n[i+y];else{var g=l[y-3]^l[y-8]^l[y-14]^l[y-16];l[y]=g<<1|g>>>31}var _=(f<<5|f>>>27)+b+l[y];_+=y<20?1518500249+(c&h|~c&p):y<40?1859775393+(c^h^p):y<60?(c&h|c&p|h&p)-1894007588:(c^h^p)-899497514,b=p,p=h,h=c<<30|c>>>2,c=f,f=_}s[0]=s[0]+f|0,s[1]=s[1]+c|0,s[2]=s[2]+h|0,s[3]=s[3]+p|0,s[4]=s[4]+b|0},_doFinalize:function(){var n=this._data,i=n.words,s=8*this._nDataBytes,f=8*n.sigBytes;return i[f>>>5]|=128<<24-f%32,i[14+(f+64>>>9<<4)]=Math.floor(s/4294967296),i[15+(f+64>>>9<<4)]=s,n.sigBytes=4*i.length,this._process(),this._hash},clone:function(){var n=t.clone.call(this);return n._hash=this._hash.clone(),n}}),e.SHA1=t._createHelper(d),e.HmacSHA1=t._createHmacHelper(d),o.SHA1)),sha1$1.exports;var e,r,u,t,a,l,d,o}var sha256$1={exports:{}},sha256=sha256$1.exports,hasRequiredSha256;function requireSha256(){return hasRequiredSha256||(hasRequiredSha256=1,sha256$1.exports=(e=requireCore(),(function(r){var u=e,t=u.lib,a=t.WordArray,l=t.Hasher,d=u.algo,o=[],n=[];(function(){function f(b){for(var y=r.sqrt(b),g=2;g<=y;g++)if(!(b%g))return!1;return!0}function c(b){return 4294967296*(b-(0|b))|0}for(var h=2,p=0;p<64;)f(h)&&(p<8&&(o[p]=c(r.pow(h,.5))),n[p]=c(r.pow(h,1/3)),p++),h++})();var i=[],s=d.SHA256=l.extend({_doReset:function(){this._hash=new a.init(o.slice(0))},_doProcessBlock:function(f,c){for(var h=this._hash.words,p=h[0],b=h[1],y=h[2],g=h[3],_=h[4],B=h[5],R=h[6],A=h[7],P=0;P<64;P++){if(P<16)i[P]=0|f[c+P];else{var x=i[P-15],T=(x<<25|x>>>7)^(x<<14|x>>>18)^x>>>3,z=i[P-2],v=(z<<15|z>>>17)^(z<<13|z>>>19)^z>>>10;i[P]=T+i[P-7]+v+i[P-16]}var E=p&b^p&y^b&y,$=(p<<30|p>>>2)^(p<<19|p>>>13)^(p<<10|p>>>22),q=A+((_<<26|_>>>6)^(_<<21|_>>>11)^(_<<7|_>>>25))+(_&B^~_&R)+n[P]+i[P];A=R,R=B,B=_,_=g+q|0,g=y,y=b,b=p,p=q+($+E)|0}h[0]=h[0]+p|0,h[1]=h[1]+b|0,h[2]=h[2]+y|0,h[3]=h[3]+g|0,h[4]=h[4]+_|0,h[5]=h[5]+B|0,h[6]=h[6]+R|0,h[7]=h[7]+A|0},_doFinalize:function(){var f=this._data,c=f.words,h=8*this._nDataBytes,p=8*f.sigBytes;return c[p>>>5]|=128<<24-p%32,c[14+(p+64>>>9<<4)]=r.floor(h/4294967296),c[15+(p+64>>>9<<4)]=h,f.sigBytes=4*c.length,this._process(),this._hash},clone:function(){var f=l.clone.call(this);return f._hash=this._hash.clone(),f}});u.SHA256=l._createHelper(s),u.HmacSHA256=l._createHmacHelper(s)})(Math),e.SHA256)),sha256$1.exports;var e}var sha224$1={exports:{}},sha224=sha224$1.exports,hasRequiredSha224;function requireSha224(){return hasRequiredSha224||(hasRequiredSha224=1,sha224$1.exports=(l=requireCore(),requireSha256(),r=(e=l).lib.WordArray,u=e.algo,t=u.SHA256,a=u.SHA224=t.extend({_doReset:function(){this._hash=new r.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var d=t._doFinalize.call(this);return d.sigBytes-=4,d}}),e.SHA224=t._createHelper(a),e.HmacSHA224=t._createHmacHelper(a),l.SHA224)),sha224$1.exports;var e,r,u,t,a,l}var sha512$1={exports:{}},sha512=sha512$1.exports,hasRequiredSha512;function requireSha512(){return hasRequiredSha512||(hasRequiredSha512=1,sha512$1.exports=(e=requireCore(),requireX64Core(),(function(){var r=e,u=r.lib.Hasher,t=r.x64,a=t.Word,l=t.WordArray,d=r.algo;function o(){return a.create.apply(a,arguments)}var n=[o(1116352408,3609767458),o(1899447441,602891725),o(3049323471,3964484399),o(3921009573,2173295548),o(961987163,4081628472),o(1508970993,3053834265),o(2453635748,2937671579),o(2870763221,3664609560),o(3624381080,2734883394),o(310598401,1164996542),o(607225278,1323610764),o(1426881987,3590304994),o(1925078388,4068182383),o(2162078206,991336113),o(2614888103,633803317),o(3248222580,3479774868),o(3835390401,2666613458),o(4022224774,944711139),o(264347078,2341262773),o(604807628,2007800933),o(770255983,1495990901),o(1249150122,1856431235),o(1555081692,3175218132),o(1996064986,2198950837),o(2554220882,3999719339),o(2821834349,766784016),o(2952996808,2566594879),o(3210313671,3203337956),o(3336571891,1034457026),o(3584528711,2466948901),o(113926993,3758326383),o(338241895,168717936),o(666307205,1188179964),o(773529912,1546045734),o(1294757372,1522805485),o(1396182291,2643833823),o(1695183700,2343527390),o(1986661051,1014477480),o(2177026350,1206759142),o(2456956037,344077627),o(2730485921,1290863460),o(2820302411,3158454273),o(3259730800,3505952657),o(3345764771,106217008),o(3516065817,3606008344),o(3600352804,1432725776),o(4094571909,1467031594),o(275423344,851169720),o(430227734,3100823752),o(506948616,1363258195),o(659060556,3750685593),o(883997877,3785050280),o(958139571,3318307427),o(1322822218,3812723403),o(1537002063,2003034995),o(1747873779,3602036899),o(1955562222,1575990012),o(2024104815,1125592928),o(2227730452,2716904306),o(2361852424,442776044),o(2428436474,593698344),o(2756734187,3733110249),o(3204031479,2999351573),o(3329325298,3815920427),o(3391569614,3928383900),o(3515267271,566280711),o(3940187606,3454069534),o(4118630271,4000239992),o(116418474,1914138554),o(174292421,2731055270),o(289380356,3203993006),o(460393269,320620315),o(685471733,587496836),o(852142971,1086792851),o(1017036298,365543100),o(1126000580,2618297676),o(1288033470,3409855158),o(1501505948,4234509866),o(1607167915,987167468),o(1816402316,1246189591)],i=[];(function(){for(var f=0;f<80;f++)i[f]=o()})();var s=d.SHA512=u.extend({_doReset:function(){this._hash=new l.init([new a.init(1779033703,4089235720),new a.init(3144134277,2227873595),new a.init(1013904242,4271175723),new a.init(2773480762,1595750129),new a.init(1359893119,2917565137),new a.init(2600822924,725511199),new a.init(528734635,4215389547),new a.init(1541459225,327033209)])},_doProcessBlock:function(f,c){for(var h=this._hash.words,p=h[0],b=h[1],y=h[2],g=h[3],_=h[4],B=h[5],R=h[6],A=h[7],P=p.high,x=p.low,T=b.high,z=b.low,v=y.high,E=y.low,$=g.high,q=g.low,m=_.high,w=_.low,C=B.high,j=B.low,N=R.high,L=R.low,U=A.high,D=A.low,I=P,O=x,G=T,X=z,te=v,Z=E,V=$,Q=q,Y=m,J=w,ce=C,oe=j,ne=N,_e=L,re=U,ie=D,ye=0;ye<80;ye++){var se,fe,me=i[ye];if(ye<16)fe=me.high=0|f[c+2*ye],se=me.low=0|f[c+2*ye+1];else{var le=i[ye-15],he=le.high,Ee=le.low,ge=(he>>>1|Ee<<31)^(he>>>8|Ee<<24)^he>>>7,de=(Ee>>>1|he<<31)^(Ee>>>8|he<<24)^(Ee>>>7|he<<25),Oe=i[ye-2],ve=Oe.high,be=Oe.low,Le=(ve>>>19|be<<13)^(ve<<3|be>>>29)^ve>>>6,S=(be>>>19|ve<<13)^(be<<3|ve>>>29)^(be>>>6|ve<<26),M=i[ye-7],k=M.high,F=M.low,W=i[ye-16],H=W.high,K=W.low;fe=(fe=(fe=ge+k+((se=de+F)>>>0<de>>>0?1:0))+Le+((se+=S)>>>0<S>>>0?1:0))+H+((se+=K)>>>0<K>>>0?1:0),me.high=fe,me.low=se}var ee,pe=Y&ce^~Y&ne,ue=J&oe^~J&_e,ae=I&G^I&te^G&te,Re=O&X^O&Z^X&Z,Be=(I>>>28|O<<4)^(I<<30|O>>>2)^(I<<25|O>>>7),qe=(O>>>28|I<<4)^(O<<30|I>>>2)^(O<<25|I>>>7),je=(Y>>>14|J<<18)^(Y>>>18|J<<14)^(Y<<23|J>>>9),$e=(J>>>14|Y<<18)^(J>>>18|Y<<14)^(J<<23|Y>>>9),Ae=n[ye],De=Ae.high,Se=Ae.low,we=re+je+((ee=ie+$e)>>>0<ie>>>0?1:0),Te=qe+Re;re=ne,ie=_e,ne=ce,_e=oe,ce=Y,oe=J,Y=V+(we=(we=(we=we+pe+((ee+=ue)>>>0<ue>>>0?1:0))+De+((ee+=Se)>>>0<Se>>>0?1:0))+fe+((ee+=se)>>>0<se>>>0?1:0))+((J=Q+ee|0)>>>0<Q>>>0?1:0)|0,V=te,Q=Z,te=G,Z=X,G=I,X=O,I=we+(Be+ae+(Te>>>0<qe>>>0?1:0))+((O=ee+Te|0)>>>0<ee>>>0?1:0)|0}x=p.low=x+O,p.high=P+I+(x>>>0<O>>>0?1:0),z=b.low=z+X,b.high=T+G+(z>>>0<X>>>0?1:0),E=y.low=E+Z,y.high=v+te+(E>>>0<Z>>>0?1:0),q=g.low=q+Q,g.high=$+V+(q>>>0<Q>>>0?1:0),w=_.low=w+J,_.high=m+Y+(w>>>0<J>>>0?1:0),j=B.low=j+oe,B.high=C+ce+(j>>>0<oe>>>0?1:0),L=R.low=L+_e,R.high=N+ne+(L>>>0<_e>>>0?1:0),D=A.low=D+ie,A.high=U+re+(D>>>0<ie>>>0?1:0)},_doFinalize:function(){var f=this._data,c=f.words,h=8*this._nDataBytes,p=8*f.sigBytes;return c[p>>>5]|=128<<24-p%32,c[30+(p+128>>>10<<5)]=Math.floor(h/4294967296),c[31+(p+128>>>10<<5)]=h,f.sigBytes=4*c.length,this._process(),this._hash.toX32()},clone:function(){var f=u.clone.call(this);return f._hash=this._hash.clone(),f},blockSize:32});r.SHA512=u._createHelper(s),r.HmacSHA512=u._createHmacHelper(s)})(),e.SHA512)),sha512$1.exports;var e}var sha384$1={exports:{}},sha384=sha384$1.exports,hasRequiredSha384;function requireSha384(){return hasRequiredSha384||(hasRequiredSha384=1,sha384$1.exports=(o=requireCore(),requireX64Core(),requireSha512(),r=(e=o).x64,u=r.Word,t=r.WordArray,a=e.algo,l=a.SHA512,d=a.SHA384=l.extend({_doReset:function(){this._hash=new t.init([new u.init(3418070365,3238371032),new u.init(1654270250,914150663),new u.init(2438529370,812702999),new u.init(355462360,4144912697),new u.init(1731405415,4290775857),new u.init(2394180231,1750603025),new u.init(3675008525,1694076839),new u.init(1203062813,3204075428)])},_doFinalize:function(){var n=l._doFinalize.call(this);return n.sigBytes-=16,n}}),e.SHA384=l._createHelper(d),e.HmacSHA384=l._createHmacHelper(d),o.SHA384)),sha384$1.exports;var e,r,u,t,a,l,d,o}var sha3$1={exports:{}},sha3=sha3$1.exports,hasRequiredSha3;function requireSha3(){return hasRequiredSha3||(hasRequiredSha3=1,sha3$1.exports=(e=requireCore(),requireX64Core(),(function(r){var u=e,t=u.lib,a=t.WordArray,l=t.Hasher,d=u.x64.Word,o=u.algo,n=[],i=[],s=[];(function(){for(var h=1,p=0,b=0;b<24;b++){n[h+5*p]=(b+1)*(b+2)/2%64;var y=(2*h+3*p)%5;h=p%5,p=y}for(h=0;h<5;h++)for(p=0;p<5;p++)i[h+5*p]=p+(2*h+3*p)%5*5;for(var g=1,_=0;_<24;_++){for(var B=0,R=0,A=0;A<7;A++){if(1&g){var P=(1<<A)-1;P<32?R^=1<<P:B^=1<<P-32}128&g?g=g<<1^113:g<<=1}s[_]=d.create(B,R)}})();var f=[];(function(){for(var h=0;h<25;h++)f[h]=d.create()})();var c=o.SHA3=l.extend({cfg:l.cfg.extend({outputLength:512}),_doReset:function(){for(var h=this._state=[],p=0;p<25;p++)h[p]=new d.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(h,p){for(var b=this._state,y=this.blockSize/2,g=0;g<y;g++){var _=h[p+2*g],B=h[p+2*g+1];_=16711935&(_<<8|_>>>24)|4278255360&(_<<24|_>>>8),B=16711935&(B<<8|B>>>24)|4278255360&(B<<24|B>>>8),(D=b[g]).high^=B,D.low^=_}for(var R=0;R<24;R++){for(var A=0;A<5;A++){for(var P=0,x=0,T=0;T<5;T++)P^=(D=b[A+5*T]).high,x^=D.low;var z=f[A];z.high=P,z.low=x}for(A=0;A<5;A++){var v=f[(A+4)%5],E=f[(A+1)%5],$=E.high,q=E.low;for(P=v.high^($<<1|q>>>31),x=v.low^(q<<1|$>>>31),T=0;T<5;T++)(D=b[A+5*T]).high^=P,D.low^=x}for(var m=1;m<25;m++){var w=(D=b[m]).high,C=D.low,j=n[m];j<32?(P=w<<j|C>>>32-j,x=C<<j|w>>>32-j):(P=C<<j-32|w>>>64-j,x=w<<j-32|C>>>64-j);var N=f[i[m]];N.high=P,N.low=x}var L=f[0],U=b[0];for(L.high=U.high,L.low=U.low,A=0;A<5;A++)for(T=0;T<5;T++){var D=b[m=A+5*T],I=f[m],O=f[(A+1)%5+5*T],G=f[(A+2)%5+5*T];D.high=I.high^~O.high&G.high,D.low=I.low^~O.low&G.low}D=b[0];var X=s[R];D.high^=X.high,D.low^=X.low}},_doFinalize:function(){var h=this._data,p=h.words;this._nDataBytes;var b=8*h.sigBytes,y=32*this.blockSize;p[b>>>5]|=1<<24-b%32,p[(r.ceil((b+1)/y)*y>>>5)-1]|=128,h.sigBytes=4*p.length,this._process();for(var g=this._state,_=this.cfg.outputLength/8,B=_/8,R=[],A=0;A<B;A++){var P=g[A],x=P.high,T=P.low;x=16711935&(x<<8|x>>>24)|4278255360&(x<<24|x>>>8),T=16711935&(T<<8|T>>>24)|4278255360&(T<<24|T>>>8),R.push(T),R.push(x)}return new a.init(R,_)},clone:function(){for(var h=l.clone.call(this),p=h._state=this._state.slice(0),b=0;b<25;b++)p[b]=p[b].clone();return h}});u.SHA3=l._createHelper(c),u.HmacSHA3=l._createHmacHelper(c)})(Math),e.SHA3)),sha3$1.exports;var e}var ripemd160$1={exports:{}},ripemd160=ripemd160$1.exports,hasRequiredRipemd160;function requireRipemd160(){return hasRequiredRipemd160||(hasRequiredRipemd160=1,ripemd160$1.exports=(e=requireCore(),(function(){var r=e,u=r.lib,t=u.WordArray,a=u.Hasher,l=r.algo,d=t.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),o=t.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),n=t.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),i=t.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),s=t.create([0,1518500249,1859775393,2400959708,2840853838]),f=t.create([1352829926,1548603684,1836072691,2053994217,0]),c=l.RIPEMD160=a.extend({_doReset:function(){this._hash=t.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(B,R){for(var A=0;A<16;A++){var P=R+A,x=B[P];B[P]=16711935&(x<<8|x>>>24)|4278255360&(x<<24|x>>>8)}var T,z,v,E,$,q,m,w,C,j,N,L=this._hash.words,U=s.words,D=f.words,I=d.words,O=o.words,G=n.words,X=i.words;for(q=T=L[0],m=z=L[1],w=v=L[2],C=E=L[3],j=$=L[4],A=0;A<80;A+=1)N=T+B[R+I[A]]|0,N+=A<16?h(z,v,E)+U[0]:A<32?p(z,v,E)+U[1]:A<48?b(z,v,E)+U[2]:A<64?y(z,v,E)+U[3]:g(z,v,E)+U[4],N=(N=_(N|=0,G[A]))+$|0,T=$,$=E,E=_(v,10),v=z,z=N,N=q+B[R+O[A]]|0,N+=A<16?g(m,w,C)+D[0]:A<32?y(m,w,C)+D[1]:A<48?b(m,w,C)+D[2]:A<64?p(m,w,C)+D[3]:h(m,w,C)+D[4],N=(N=_(N|=0,X[A]))+j|0,q=j,j=C,C=_(w,10),w=m,m=N;N=L[1]+v+C|0,L[1]=L[2]+E+j|0,L[2]=L[3]+$+q|0,L[3]=L[4]+T+m|0,L[4]=L[0]+z+w|0,L[0]=N},_doFinalize:function(){var B=this._data,R=B.words,A=8*this._nDataBytes,P=8*B.sigBytes;R[P>>>5]|=128<<24-P%32,R[14+(P+64>>>9<<4)]=16711935&(A<<8|A>>>24)|4278255360&(A<<24|A>>>8),B.sigBytes=4*(R.length+1),this._process();for(var x=this._hash,T=x.words,z=0;z<5;z++){var v=T[z];T[z]=16711935&(v<<8|v>>>24)|4278255360&(v<<24|v>>>8)}return x},clone:function(){var B=a.clone.call(this);return B._hash=this._hash.clone(),B}});function h(B,R,A){return B^R^A}function p(B,R,A){return B&R|~B&A}function b(B,R,A){return(B|~R)^A}function y(B,R,A){return B&A|R&~A}function g(B,R,A){return B^(R|~A)}function _(B,R){return B<<R|B>>>32-R}r.RIPEMD160=a._createHelper(c),r.HmacRIPEMD160=a._createHmacHelper(c)})(),e.RIPEMD160)),ripemd160$1.exports;var e}var hmac$1={exports:{}},hmac=hmac$1.exports,hasRequiredHmac;function requireHmac(){return hasRequiredHmac||(hasRequiredHmac=1,hmac$1.exports=(e=requireCore(),u=(r=e).lib.Base,t=r.enc.Utf8,void(r.algo.HMAC=u.extend({init:function(a,l){a=this._hasher=new a.init,typeof l=="string"&&(l=t.parse(l));var d=a.blockSize,o=4*d;l.sigBytes>o&&(l=a.finalize(l)),l.clamp();for(var n=this._oKey=l.clone(),i=this._iKey=l.clone(),s=n.words,f=i.words,c=0;c<d;c++)s[c]^=1549556828,f[c]^=909522486;n.sigBytes=i.sigBytes=o,this.reset()},reset:function(){var a=this._hasher;a.reset(),a.update(this._iKey)},update:function(a){return this._hasher.update(a),this},finalize:function(a){var l=this._hasher,d=l.finalize(a);return l.reset(),l.finalize(this._oKey.clone().concat(d))}})))),hmac$1.exports;var e,r,u,t}var pbkdf2$1={exports:{}},pbkdf2=pbkdf2$1.exports,hasRequiredPbkdf2;function requirePbkdf2(){return hasRequiredPbkdf2||(hasRequiredPbkdf2=1,pbkdf2$1.exports=(n=requireCore(),requireSha256(),requireHmac(),r=(e=n).lib,u=r.Base,t=r.WordArray,a=e.algo,l=a.SHA256,d=a.HMAC,o=a.PBKDF2=u.extend({cfg:u.extend({keySize:4,hasher:l,iterations:25e4}),init:function(i){this.cfg=this.cfg.extend(i)},compute:function(i,s){for(var f=this.cfg,c=d.create(f.hasher,i),h=t.create(),p=t.create([1]),b=h.words,y=p.words,g=f.keySize,_=f.iterations;b.length<g;){var B=c.update(s).finalize(p);c.reset();for(var R=B.words,A=R.length,P=B,x=1;x<_;x++){P=c.finalize(P),c.reset();for(var T=P.words,z=0;z<A;z++)R[z]^=T[z]}h.concat(B),y[0]++}return h.sigBytes=4*g,h}}),e.PBKDF2=function(i,s,f){return o.create(f).compute(i,s)},n.PBKDF2)),pbkdf2$1.exports;var e,r,u,t,a,l,d,o,n}var evpkdf$1={exports:{}},evpkdf=evpkdf$1.exports,hasRequiredEvpkdf;function requireEvpkdf(){return hasRequiredEvpkdf||(hasRequiredEvpkdf=1,evpkdf$1.exports=(o=requireCore(),requireSha1(),requireHmac(),r=(e=o).lib,u=r.Base,t=r.WordArray,a=e.algo,l=a.MD5,d=a.EvpKDF=u.extend({cfg:u.extend({keySize:4,hasher:l,iterations:1}),init:function(n){this.cfg=this.cfg.extend(n)},compute:function(n,i){for(var s,f=this.cfg,c=f.hasher.create(),h=t.create(),p=h.words,b=f.keySize,y=f.iterations;p.length<b;){s&&c.update(s),s=c.update(n).finalize(i),c.reset();for(var g=1;g<y;g++)s=c.finalize(s),c.reset();h.concat(s)}return h.sigBytes=4*b,h}}),e.EvpKDF=function(n,i,s){return d.create(s).compute(n,i)},o.EvpKDF)),evpkdf$1.exports;var e,r,u,t,a,l,d,o}var cipherCore$1={exports:{}},cipherCore=cipherCore$1.exports,hasRequiredCipherCore;function requireCipherCore(){return hasRequiredCipherCore||(hasRequiredCipherCore=1,cipherCore$1.exports=(e=requireCore(),requireEvpkdf(),void(e.lib.Cipher||(function(r){var u=e,t=u.lib,a=t.Base,l=t.WordArray,d=t.BufferedBlockAlgorithm,o=u.enc;o.Utf8;var n=o.Base64,i=u.algo.EvpKDF,s=t.Cipher=d.extend({cfg:a.extend(),createEncryptor:function(R,A){return this.create(this._ENC_XFORM_MODE,R,A)},createDecryptor:function(R,A){return this.create(this._DEC_XFORM_MODE,R,A)},init:function(R,A,P){this.cfg=this.cfg.extend(P),this._xformMode=R,this._key=A,this.reset()},reset:function(){d.reset.call(this),this._doReset()},process:function(R){return this._append(R),this._process()},finalize:function(R){return R&&this._append(R),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:(function(){function R(A){return typeof A=="string"?B:g}return function(A){return{encrypt:function(P,x,T){return R(x).encrypt(A,P,x,T)},decrypt:function(P,x,T){return R(x).decrypt(A,P,x,T)}}}})()});t.StreamCipher=s.extend({_doFinalize:function(){return this._process(!0)},blockSize:1});var f=u.mode={},c=t.BlockCipherMode=a.extend({createEncryptor:function(R,A){return this.Encryptor.create(R,A)},createDecryptor:function(R,A){return this.Decryptor.create(R,A)},init:function(R,A){this._cipher=R,this._iv=A}}),h=f.CBC=(function(){var R=c.extend();function A(P,x,T){var z,v=this._iv;v?(z=v,this._iv=r):z=this._prevBlock;for(var E=0;E<T;E++)P[x+E]^=z[E]}return R.Encryptor=R.extend({processBlock:function(P,x){var T=this._cipher,z=T.blockSize;A.call(this,P,x,z),T.encryptBlock(P,x),this._prevBlock=P.slice(x,x+z)}}),R.Decryptor=R.extend({processBlock:function(P,x){var T=this._cipher,z=T.blockSize,v=P.slice(x,x+z);T.decryptBlock(P,x),A.call(this,P,x,z),this._prevBlock=v}}),R})(),p=(u.pad={}).Pkcs7={pad:function(R,A){for(var P=4*A,x=P-R.sigBytes%P,T=x<<24|x<<16|x<<8|x,z=[],v=0;v<x;v+=4)z.push(T);var E=l.create(z,x);R.concat(E)},unpad:function(R){var A=255&R.words[R.sigBytes-1>>>2];R.sigBytes-=A}};t.BlockCipher=s.extend({cfg:s.cfg.extend({mode:h,padding:p}),reset:function(){var R;s.reset.call(this);var A=this.cfg,P=A.iv,x=A.mode;this._xformMode==this._ENC_XFORM_MODE?R=x.createEncryptor:(R=x.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==R?this._mode.init(this,P&&P.words):(this._mode=R.call(x,this,P&&P.words),this._mode.__creator=R)},_doProcessBlock:function(R,A){this._mode.processBlock(R,A)},_doFinalize:function(){var R,A=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(A.pad(this._data,this.blockSize),R=this._process(!0)):(R=this._process(!0),A.unpad(R)),R},blockSize:4});var b=t.CipherParams=a.extend({init:function(R){this.mixIn(R)},toString:function(R){return(R||this.formatter).stringify(this)}}),y=(u.format={}).OpenSSL={stringify:function(R){var A=R.ciphertext,P=R.salt;return(P?l.create([1398893684,1701076831]).concat(P).concat(A):A).toString(n)},parse:function(R){var A,P=n.parse(R),x=P.words;return x[0]==1398893684&&x[1]==1701076831&&(A=l.create(x.slice(2,4)),x.splice(0,4),P.sigBytes-=16),b.create({ciphertext:P,salt:A})}},g=t.SerializableCipher=a.extend({cfg:a.extend({format:y}),encrypt:function(R,A,P,x){x=this.cfg.extend(x);var T=R.createEncryptor(P,x),z=T.finalize(A),v=T.cfg;return b.create({ciphertext:z,key:P,iv:v.iv,algorithm:R,mode:v.mode,padding:v.padding,blockSize:R.blockSize,formatter:x.format})},decrypt:function(R,A,P,x){return x=this.cfg.extend(x),A=this._parse(A,x.format),R.createDecryptor(P,x).finalize(A.ciphertext)},_parse:function(R,A){return typeof R=="string"?A.parse(R,this):R}}),_=(u.kdf={}).OpenSSL={execute:function(R,A,P,x,T){if(x||(x=l.random(8)),T)z=i.create({keySize:A+P,hasher:T}).compute(R,x);else var z=i.create({keySize:A+P}).compute(R,x);var v=l.create(z.words.slice(A),4*P);return z.sigBytes=4*A,b.create({key:z,iv:v,salt:x})}},B=t.PasswordBasedCipher=g.extend({cfg:g.cfg.extend({kdf:_}),encrypt:function(R,A,P,x){var T=(x=this.cfg.extend(x)).kdf.execute(P,R.keySize,R.ivSize,x.salt,x.hasher);x.iv=T.iv;var z=g.encrypt.call(this,R,A,T.key,x);return z.mixIn(T),z},decrypt:function(R,A,P,x){x=this.cfg.extend(x),A=this._parse(A,x.format);var T=x.kdf.execute(P,R.keySize,R.ivSize,A.salt,x.hasher);return x.iv=T.iv,g.decrypt.call(this,R,A,T.key,x)}})})()))),cipherCore$1.exports;var e}var modeCfb$1={exports:{}},modeCfb=modeCfb$1.exports,hasRequiredModeCfb;function requireModeCfb(){return hasRequiredModeCfb||(hasRequiredModeCfb=1,modeCfb$1.exports=(e=requireCore(),requireCipherCore(),e.mode.CFB=(function(){var r=e.lib.BlockCipherMode.extend();function u(t,a,l,d){var o,n=this._iv;n?(o=n.slice(0),this._iv=void 0):o=this._prevBlock,d.encryptBlock(o,0);for(var i=0;i<l;i++)t[a+i]^=o[i]}return r.Encryptor=r.extend({processBlock:function(t,a){var l=this._cipher,d=l.blockSize;u.call(this,t,a,d,l),this._prevBlock=t.slice(a,a+d)}}),r.Decryptor=r.extend({processBlock:function(t,a){var l=this._cipher,d=l.blockSize,o=t.slice(a,a+d);u.call(this,t,a,d,l),this._prevBlock=o}}),r})(),e.mode.CFB)),modeCfb$1.exports;var e}var modeCtr$1={exports:{}},modeCtr=modeCtr$1.exports,hasRequiredModeCtr;function requireModeCtr(){return hasRequiredModeCtr||(hasRequiredModeCtr=1,modeCtr$1.exports=(u=requireCore(),requireCipherCore(),u.mode.CTR=(e=u.lib.BlockCipherMode.extend(),r=e.Encryptor=e.extend({processBlock:function(t,a){var l=this._cipher,d=l.blockSize,o=this._iv,n=this._counter;o&&(n=this._counter=o.slice(0),this._iv=void 0);var i=n.slice(0);l.encryptBlock(i,0),n[d-1]=n[d-1]+1|0;for(var s=0;s<d;s++)t[a+s]^=i[s]}}),e.Decryptor=r,e),u.mode.CTR)),modeCtr$1.exports;var e,r,u}var modeCtrGladman$1={exports:{}},modeCtrGladman=modeCtrGladman$1.exports,hasRequiredModeCtrGladman;function requireModeCtrGladman(){return hasRequiredModeCtrGladman||(hasRequiredModeCtrGladman=1,modeCtrGladman$1.exports=(e=requireCore(),requireCipherCore(),e.mode.CTRGladman=(function(){var r=e.lib.BlockCipherMode.extend();function u(l){if(255&~(l>>24))l+=1<<24;else{var d=l>>16&255,o=l>>8&255,n=255&l;d===255?(d=0,o===255?(o=0,n===255?n=0:++n):++o):++d,l=0,l+=d<<16,l+=o<<8,l+=n}return l}function t(l){return(l[0]=u(l[0]))===0&&(l[1]=u(l[1])),l}var a=r.Encryptor=r.extend({processBlock:function(l,d){var o=this._cipher,n=o.blockSize,i=this._iv,s=this._counter;i&&(s=this._counter=i.slice(0),this._iv=void 0),t(s);var f=s.slice(0);o.encryptBlock(f,0);for(var c=0;c<n;c++)l[d+c]^=f[c]}});return r.Decryptor=a,r})(),e.mode.CTRGladman)),modeCtrGladman$1.exports;var e}var modeOfb$1={exports:{}},modeOfb=modeOfb$1.exports,hasRequiredModeOfb;function requireModeOfb(){return hasRequiredModeOfb||(hasRequiredModeOfb=1,modeOfb$1.exports=(u=requireCore(),requireCipherCore(),u.mode.OFB=(e=u.lib.BlockCipherMode.extend(),r=e.Encryptor=e.extend({processBlock:function(t,a){var l=this._cipher,d=l.blockSize,o=this._iv,n=this._keystream;o&&(n=this._keystream=o.slice(0),this._iv=void 0),l.encryptBlock(n,0);for(var i=0;i<d;i++)t[a+i]^=n[i]}}),e.Decryptor=r,e),u.mode.OFB)),modeOfb$1.exports;var e,r,u}var modeEcb$1={exports:{}},modeEcb=modeEcb$1.exports,hasRequiredModeEcb;function requireModeEcb(){return hasRequiredModeEcb||(hasRequiredModeEcb=1,modeEcb$1.exports=(r=requireCore(),requireCipherCore(),r.mode.ECB=((e=r.lib.BlockCipherMode.extend()).Encryptor=e.extend({processBlock:function(u,t){this._cipher.encryptBlock(u,t)}}),e.Decryptor=e.extend({processBlock:function(u,t){this._cipher.decryptBlock(u,t)}}),e),r.mode.ECB)),modeEcb$1.exports;var e,r}var padAnsix923$1={exports:{}},padAnsix923=padAnsix923$1.exports,hasRequiredPadAnsix923;function requirePadAnsix923(){return hasRequiredPadAnsix923||(hasRequiredPadAnsix923=1,padAnsix923$1.exports=(e=requireCore(),requireCipherCore(),e.pad.AnsiX923={pad:function(r,u){var t=r.sigBytes,a=4*u,l=a-t%a,d=t+l-1;r.clamp(),r.words[d>>>2]|=l<<24-d%4*8,r.sigBytes+=l},unpad:function(r){var u=255&r.words[r.sigBytes-1>>>2];r.sigBytes-=u}},e.pad.Ansix923)),padAnsix923$1.exports;var e}var padIso10126$1={exports:{}},padIso10126=padIso10126$1.exports,hasRequiredPadIso10126;function requirePadIso10126(){return hasRequiredPadIso10126||(hasRequiredPadIso10126=1,padIso10126$1.exports=(e=requireCore(),requireCipherCore(),e.pad.Iso10126={pad:function(r,u){var t=4*u,a=t-r.sigBytes%t;r.concat(e.lib.WordArray.random(a-1)).concat(e.lib.WordArray.create([a<<24],1))},unpad:function(r){var u=255&r.words[r.sigBytes-1>>>2];r.sigBytes-=u}},e.pad.Iso10126)),padIso10126$1.exports;var e}var padIso97971$1={exports:{}},padIso97971=padIso97971$1.exports,hasRequiredPadIso97971;function requirePadIso97971(){return hasRequiredPadIso97971||(hasRequiredPadIso97971=1,padIso97971$1.exports=(e=requireCore(),requireCipherCore(),e.pad.Iso97971={pad:function(r,u){r.concat(e.lib.WordArray.create([2147483648],1)),e.pad.ZeroPadding.pad(r,u)},unpad:function(r){e.pad.ZeroPadding.unpad(r),r.sigBytes--}},e.pad.Iso97971)),padIso97971$1.exports;var e}var padZeropadding$1={exports:{}},padZeropadding=padZeropadding$1.exports,hasRequiredPadZeropadding;function requirePadZeropadding(){return hasRequiredPadZeropadding||(hasRequiredPadZeropadding=1,padZeropadding$1.exports=(e=requireCore(),requireCipherCore(),e.pad.ZeroPadding={pad:function(r,u){var t=4*u;r.clamp(),r.sigBytes+=t-(r.sigBytes%t||t)},unpad:function(r){var u=r.words,t=r.sigBytes-1;for(t=r.sigBytes-1;t>=0;t--)if(u[t>>>2]>>>24-t%4*8&255){r.sigBytes=t+1;break}}},e.pad.ZeroPadding)),padZeropadding$1.exports;var e}var padNopadding$1={exports:{}},padNopadding=padNopadding$1.exports,hasRequiredPadNopadding;function requirePadNopadding(){return hasRequiredPadNopadding||(hasRequiredPadNopadding=1,padNopadding$1.exports=(e=requireCore(),requireCipherCore(),e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding)),padNopadding$1.exports;var e}var formatHex$1={exports:{}},formatHex=formatHex$1.exports,hasRequiredFormatHex;function requireFormatHex(){return hasRequiredFormatHex||(hasRequiredFormatHex=1,formatHex$1.exports=(t=requireCore(),requireCipherCore(),r=(e=t).lib.CipherParams,u=e.enc.Hex,e.format.Hex={stringify:function(a){return a.ciphertext.toString(u)},parse:function(a){var l=u.parse(a);return r.create({ciphertext:l})}},t.format.Hex)),formatHex$1.exports;var e,r,u,t}var aes$1={exports:{}},aes=aes$1.exports,hasRequiredAes;function requireAes(){return hasRequiredAes||(hasRequiredAes=1,aes$1.exports=(e=requireCore(),requireEncBase64(),requireMd5(),requireEvpkdf(),requireCipherCore(),(function(){var r=e,u=r.lib.BlockCipher,t=r.algo,a=[],l=[],d=[],o=[],n=[],i=[],s=[],f=[],c=[],h=[];(function(){for(var y=[],g=0;g<256;g++)y[g]=g<128?g<<1:g<<1^283;var _=0,B=0;for(g=0;g<256;g++){var R=B^B<<1^B<<2^B<<3^B<<4;R=R>>>8^255&R^99,a[_]=R,l[R]=_;var A=y[_],P=y[A],x=y[P],T=257*y[R]^16843008*R;d[_]=T<<24|T>>>8,o[_]=T<<16|T>>>16,n[_]=T<<8|T>>>24,i[_]=T,T=16843009*x^65537*P^257*A^16843008*_,s[R]=T<<24|T>>>8,f[R]=T<<16|T>>>16,c[R]=T<<8|T>>>24,h[R]=T,_?(_=A^y[y[y[x^A]]],B^=y[y[B]]):_=B=1}})();var p=[0,1,2,4,8,16,32,64,128,27,54],b=t.AES=u.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var y=this._keyPriorReset=this._key,g=y.words,_=y.sigBytes/4,B=4*((this._nRounds=_+6)+1),R=this._keySchedule=[],A=0;A<B;A++)A<_?R[A]=g[A]:(T=R[A-1],A%_?_>6&&A%_==4&&(T=a[T>>>24]<<24|a[T>>>16&255]<<16|a[T>>>8&255]<<8|a[255&T]):(T=a[(T=T<<8|T>>>24)>>>24]<<24|a[T>>>16&255]<<16|a[T>>>8&255]<<8|a[255&T],T^=p[A/_|0]<<24),R[A]=R[A-_]^T);for(var P=this._invKeySchedule=[],x=0;x<B;x++){if(A=B-x,x%4)var T=R[A];else T=R[A-4];P[x]=x<4||A<=4?T:s[a[T>>>24]]^f[a[T>>>16&255]]^c[a[T>>>8&255]]^h[a[255&T]]}}},encryptBlock:function(y,g){this._doCryptBlock(y,g,this._keySchedule,d,o,n,i,a)},decryptBlock:function(y,g){var _=y[g+1];y[g+1]=y[g+3],y[g+3]=_,this._doCryptBlock(y,g,this._invKeySchedule,s,f,c,h,l),_=y[g+1],y[g+1]=y[g+3],y[g+3]=_},_doCryptBlock:function(y,g,_,B,R,A,P,x){for(var T=this._nRounds,z=y[g]^_[0],v=y[g+1]^_[1],E=y[g+2]^_[2],$=y[g+3]^_[3],q=4,m=1;m<T;m++){var w=B[z>>>24]^R[v>>>16&255]^A[E>>>8&255]^P[255&$]^_[q++],C=B[v>>>24]^R[E>>>16&255]^A[$>>>8&255]^P[255&z]^_[q++],j=B[E>>>24]^R[$>>>16&255]^A[z>>>8&255]^P[255&v]^_[q++],N=B[$>>>24]^R[z>>>16&255]^A[v>>>8&255]^P[255&E]^_[q++];z=w,v=C,E=j,$=N}w=(x[z>>>24]<<24|x[v>>>16&255]<<16|x[E>>>8&255]<<8|x[255&$])^_[q++],C=(x[v>>>24]<<24|x[E>>>16&255]<<16|x[$>>>8&255]<<8|x[255&z])^_[q++],j=(x[E>>>24]<<24|x[$>>>16&255]<<16|x[z>>>8&255]<<8|x[255&v])^_[q++],N=(x[$>>>24]<<24|x[z>>>16&255]<<16|x[v>>>8&255]<<8|x[255&E])^_[q++],y[g]=w,y[g+1]=C,y[g+2]=j,y[g+3]=N},keySize:8});r.AES=u._createHelper(b)})(),e.AES)),aes$1.exports;var e}var tripledes$1={exports:{}},tripledes=tripledes$1.exports,hasRequiredTripledes;function requireTripledes(){return hasRequiredTripledes||(hasRequiredTripledes=1,tripledes$1.exports=(e=requireCore(),requireEncBase64(),requireMd5(),requireEvpkdf(),requireCipherCore(),(function(){var r=e,u=r.lib,t=u.WordArray,a=u.BlockCipher,l=r.algo,d=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],o=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],n=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],i=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],s=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],f=l.DES=a.extend({_doReset:function(){for(var b=this._key.words,y=[],g=0;g<56;g++){var _=d[g]-1;y[g]=b[_>>>5]>>>31-_%32&1}for(var B=this._subKeys=[],R=0;R<16;R++){var A=B[R]=[],P=n[R];for(g=0;g<24;g++)A[g/6|0]|=y[(o[g]-1+P)%28]<<31-g%6,A[4+(g/6|0)]|=y[28+(o[g+24]-1+P)%28]<<31-g%6;for(A[0]=A[0]<<1|A[0]>>>31,g=1;g<7;g++)A[g]=A[g]>>>4*(g-1)+3;A[7]=A[7]<<5|A[7]>>>27}var x=this._invSubKeys=[];for(g=0;g<16;g++)x[g]=B[15-g]},encryptBlock:function(b,y){this._doCryptBlock(b,y,this._subKeys)},decryptBlock:function(b,y){this._doCryptBlock(b,y,this._invSubKeys)},_doCryptBlock:function(b,y,g){this._lBlock=b[y],this._rBlock=b[y+1],c.call(this,4,252645135),c.call(this,16,65535),h.call(this,2,858993459),h.call(this,8,16711935),c.call(this,1,1431655765);for(var _=0;_<16;_++){for(var B=g[_],R=this._lBlock,A=this._rBlock,P=0,x=0;x<8;x++)P|=i[x][((A^B[x])&s[x])>>>0];this._lBlock=A,this._rBlock=R^P}var T=this._lBlock;this._lBlock=this._rBlock,this._rBlock=T,c.call(this,1,1431655765),h.call(this,8,16711935),h.call(this,2,858993459),c.call(this,16,65535),c.call(this,4,252645135),b[y]=this._lBlock,b[y+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function c(b,y){var g=(this._lBlock>>>b^this._rBlock)&y;this._rBlock^=g,this._lBlock^=g<<b}function h(b,y){var g=(this._rBlock>>>b^this._lBlock)&y;this._lBlock^=g,this._rBlock^=g<<b}r.DES=a._createHelper(f);var p=l.TripleDES=a.extend({_doReset:function(){var b=this._key.words;if(b.length!==2&&b.length!==4&&b.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var y=b.slice(0,2),g=b.length<4?b.slice(0,2):b.slice(2,4),_=b.length<6?b.slice(0,2):b.slice(4,6);this._des1=f.createEncryptor(t.create(y)),this._des2=f.createEncryptor(t.create(g)),this._des3=f.createEncryptor(t.create(_))},encryptBlock:function(b,y){this._des1.encryptBlock(b,y),this._des2.decryptBlock(b,y),this._des3.encryptBlock(b,y)},decryptBlock:function(b,y){this._des3.decryptBlock(b,y),this._des2.encryptBlock(b,y),this._des1.decryptBlock(b,y)},keySize:6,ivSize:2,blockSize:2});r.TripleDES=a._createHelper(p)})(),e.TripleDES)),tripledes$1.exports;var e}var rc4$1={exports:{}},rc4=rc4$1.exports,hasRequiredRc4;function requireRc4(){return hasRequiredRc4||(hasRequiredRc4=1,rc4$1.exports=(e=requireCore(),requireEncBase64(),requireMd5(),requireEvpkdf(),requireCipherCore(),(function(){var r=e,u=r.lib.StreamCipher,t=r.algo,a=t.RC4=u.extend({_doReset:function(){for(var o=this._key,n=o.words,i=o.sigBytes,s=this._S=[],f=0;f<256;f++)s[f]=f;f=0;for(var c=0;f<256;f++){var h=f%i,p=n[h>>>2]>>>24-h%4*8&255;c=(c+s[f]+p)%256;var b=s[f];s[f]=s[c],s[c]=b}this._i=this._j=0},_doProcessBlock:function(o,n){o[n]^=l.call(this)},keySize:8,ivSize:0});function l(){for(var o=this._S,n=this._i,i=this._j,s=0,f=0;f<4;f++){i=(i+o[n=(n+1)%256])%256;var c=o[n];o[n]=o[i],o[i]=c,s|=o[(o[n]+o[i])%256]<<24-8*f}return this._i=n,this._j=i,s}r.RC4=u._createHelper(a);var d=t.RC4Drop=a.extend({cfg:a.cfg.extend({drop:192}),_doReset:function(){a._doReset.call(this);for(var o=this.cfg.drop;o>0;o--)l.call(this)}});r.RC4Drop=u._createHelper(d)})(),e.RC4)),rc4$1.exports;var e}var rabbit$1={exports:{}},rabbit=rabbit$1.exports,hasRequiredRabbit;function requireRabbit(){return hasRequiredRabbit||(hasRequiredRabbit=1,rabbit$1.exports=(e=requireCore(),requireEncBase64(),requireMd5(),requireEvpkdf(),requireCipherCore(),(function(){var r=e,u=r.lib.StreamCipher,t=r.algo,a=[],l=[],d=[],o=t.Rabbit=u.extend({_doReset:function(){for(var i=this._key.words,s=this.cfg.iv,f=0;f<4;f++)i[f]=16711935&(i[f]<<8|i[f]>>>24)|4278255360&(i[f]<<24|i[f]>>>8);var c=this._X=[i[0],i[3]<<16|i[2]>>>16,i[1],i[0]<<16|i[3]>>>16,i[2],i[1]<<16|i[0]>>>16,i[3],i[2]<<16|i[1]>>>16],h=this._C=[i[2]<<16|i[2]>>>16,4294901760&i[0]|65535&i[1],i[3]<<16|i[3]>>>16,4294901760&i[1]|65535&i[2],i[0]<<16|i[0]>>>16,4294901760&i[2]|65535&i[3],i[1]<<16|i[1]>>>16,4294901760&i[3]|65535&i[0]];for(this._b=0,f=0;f<4;f++)n.call(this);for(f=0;f<8;f++)h[f]^=c[f+4&7];if(s){var p=s.words,b=p[0],y=p[1],g=16711935&(b<<8|b>>>24)|4278255360&(b<<24|b>>>8),_=16711935&(y<<8|y>>>24)|4278255360&(y<<24|y>>>8),B=g>>>16|4294901760&_,R=_<<16|65535&g;for(h[0]^=g,h[1]^=B,h[2]^=_,h[3]^=R,h[4]^=g,h[5]^=B,h[6]^=_,h[7]^=R,f=0;f<4;f++)n.call(this)}},_doProcessBlock:function(i,s){var f=this._X;n.call(this),a[0]=f[0]^f[5]>>>16^f[3]<<16,a[1]=f[2]^f[7]>>>16^f[5]<<16,a[2]=f[4]^f[1]>>>16^f[7]<<16,a[3]=f[6]^f[3]>>>16^f[1]<<16;for(var c=0;c<4;c++)a[c]=16711935&(a[c]<<8|a[c]>>>24)|4278255360&(a[c]<<24|a[c]>>>8),i[s+c]^=a[c]},blockSize:4,ivSize:2});function n(){for(var i=this._X,s=this._C,f=0;f<8;f++)l[f]=s[f];for(s[0]=s[0]+1295307597+this._b|0,s[1]=s[1]+3545052371+(s[0]>>>0<l[0]>>>0?1:0)|0,s[2]=s[2]+886263092+(s[1]>>>0<l[1]>>>0?1:0)|0,s[3]=s[3]+1295307597+(s[2]>>>0<l[2]>>>0?1:0)|0,s[4]=s[4]+3545052371+(s[3]>>>0<l[3]>>>0?1:0)|0,s[5]=s[5]+886263092+(s[4]>>>0<l[4]>>>0?1:0)|0,s[6]=s[6]+1295307597+(s[5]>>>0<l[5]>>>0?1:0)|0,s[7]=s[7]+3545052371+(s[6]>>>0<l[6]>>>0?1:0)|0,this._b=s[7]>>>0<l[7]>>>0?1:0,f=0;f<8;f++){var c=i[f]+s[f],h=65535&c,p=c>>>16,b=((h*h>>>17)+h*p>>>15)+p*p,y=((4294901760&c)*c|0)+((65535&c)*c|0);d[f]=b^y}i[0]=d[0]+(d[7]<<16|d[7]>>>16)+(d[6]<<16|d[6]>>>16)|0,i[1]=d[1]+(d[0]<<8|d[0]>>>24)+d[7]|0,i[2]=d[2]+(d[1]<<16|d[1]>>>16)+(d[0]<<16|d[0]>>>16)|0,i[3]=d[3]+(d[2]<<8|d[2]>>>24)+d[1]|0,i[4]=d[4]+(d[3]<<16|d[3]>>>16)+(d[2]<<16|d[2]>>>16)|0,i[5]=d[5]+(d[4]<<8|d[4]>>>24)+d[3]|0,i[6]=d[6]+(d[5]<<16|d[5]>>>16)+(d[4]<<16|d[4]>>>16)|0,i[7]=d[7]+(d[6]<<8|d[6]>>>24)+d[5]|0}r.Rabbit=u._createHelper(o)})(),e.Rabbit)),rabbit$1.exports;var e}var rabbitLegacy$1={exports:{}},rabbitLegacy=rabbitLegacy$1.exports,hasRequiredRabbitLegacy;function requireRabbitLegacy(){return hasRequiredRabbitLegacy||(hasRequiredRabbitLegacy=1,rabbitLegacy$1.exports=(e=requireCore(),requireEncBase64(),requireMd5(),requireEvpkdf(),requireCipherCore(),(function(){var r=e,u=r.lib.StreamCipher,t=r.algo,a=[],l=[],d=[],o=t.RabbitLegacy=u.extend({_doReset:function(){var i=this._key.words,s=this.cfg.iv,f=this._X=[i[0],i[3]<<16|i[2]>>>16,i[1],i[0]<<16|i[3]>>>16,i[2],i[1]<<16|i[0]>>>16,i[3],i[2]<<16|i[1]>>>16],c=this._C=[i[2]<<16|i[2]>>>16,4294901760&i[0]|65535&i[1],i[3]<<16|i[3]>>>16,4294901760&i[1]|65535&i[2],i[0]<<16|i[0]>>>16,4294901760&i[2]|65535&i[3],i[1]<<16|i[1]>>>16,4294901760&i[3]|65535&i[0]];this._b=0;for(var h=0;h<4;h++)n.call(this);for(h=0;h<8;h++)c[h]^=f[h+4&7];if(s){var p=s.words,b=p[0],y=p[1],g=16711935&(b<<8|b>>>24)|4278255360&(b<<24|b>>>8),_=16711935&(y<<8|y>>>24)|4278255360&(y<<24|y>>>8),B=g>>>16|4294901760&_,R=_<<16|65535&g;for(c[0]^=g,c[1]^=B,c[2]^=_,c[3]^=R,c[4]^=g,c[5]^=B,c[6]^=_,c[7]^=R,h=0;h<4;h++)n.call(this)}},_doProcessBlock:function(i,s){var f=this._X;n.call(this),a[0]=f[0]^f[5]>>>16^f[3]<<16,a[1]=f[2]^f[7]>>>16^f[5]<<16,a[2]=f[4]^f[1]>>>16^f[7]<<16,a[3]=f[6]^f[3]>>>16^f[1]<<16;for(var c=0;c<4;c++)a[c]=16711935&(a[c]<<8|a[c]>>>24)|4278255360&(a[c]<<24|a[c]>>>8),i[s+c]^=a[c]},blockSize:4,ivSize:2});function n(){for(var i=this._X,s=this._C,f=0;f<8;f++)l[f]=s[f];for(s[0]=s[0]+1295307597+this._b|0,s[1]=s[1]+3545052371+(s[0]>>>0<l[0]>>>0?1:0)|0,s[2]=s[2]+886263092+(s[1]>>>0<l[1]>>>0?1:0)|0,s[3]=s[3]+1295307597+(s[2]>>>0<l[2]>>>0?1:0)|0,s[4]=s[4]+3545052371+(s[3]>>>0<l[3]>>>0?1:0)|0,s[5]=s[5]+886263092+(s[4]>>>0<l[4]>>>0?1:0)|0,s[6]=s[6]+1295307597+(s[5]>>>0<l[5]>>>0?1:0)|0,s[7]=s[7]+3545052371+(s[6]>>>0<l[6]>>>0?1:0)|0,this._b=s[7]>>>0<l[7]>>>0?1:0,f=0;f<8;f++){var c=i[f]+s[f],h=65535&c,p=c>>>16,b=((h*h>>>17)+h*p>>>15)+p*p,y=((4294901760&c)*c|0)+((65535&c)*c|0);d[f]=b^y}i[0]=d[0]+(d[7]<<16|d[7]>>>16)+(d[6]<<16|d[6]>>>16)|0,i[1]=d[1]+(d[0]<<8|d[0]>>>24)+d[7]|0,i[2]=d[2]+(d[1]<<16|d[1]>>>16)+(d[0]<<16|d[0]>>>16)|0,i[3]=d[3]+(d[2]<<8|d[2]>>>24)+d[1]|0,i[4]=d[4]+(d[3]<<16|d[3]>>>16)+(d[2]<<16|d[2]>>>16)|0,i[5]=d[5]+(d[4]<<8|d[4]>>>24)+d[3]|0,i[6]=d[6]+(d[5]<<16|d[5]>>>16)+(d[4]<<16|d[4]>>>16)|0,i[7]=d[7]+(d[6]<<8|d[6]>>>24)+d[5]|0}r.RabbitLegacy=u._createHelper(o)})(),e.RabbitLegacy)),rabbitLegacy$1.exports;var e}var blowfish$1={exports:{}},blowfish=blowfish$1.exports,hasRequiredBlowfish;function requireBlowfish(){return hasRequiredBlowfish||(hasRequiredBlowfish=1,blowfish$1.exports=(e=requireCore(),requireEncBase64(),requireMd5(),requireEvpkdf(),requireCipherCore(),(function(){var r=e,u=r.lib.BlockCipher,t=r.algo;const a=16,l=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],d=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var o={pbox:[],sbox:[]};function n(h,p){let b=p>>24&255,y=p>>16&255,g=p>>8&255,_=255&p,B=h.sbox[0][b]+h.sbox[1][y];return B^=h.sbox[2][g],B+=h.sbox[3][_],B}function i(h,p,b){let y,g=p,_=b;for(let B=0;B<a;++B)g^=h.pbox[B],_=n(h,g)^_,y=g,g=_,_=y;return y=g,g=_,_=y,_^=h.pbox[a],g^=h.pbox[a+1],{left:g,right:_}}function s(h,p,b){let y,g=p,_=b;for(let B=a+1;B>1;--B)g^=h.pbox[B],_=n(h,g)^_,y=g,g=_,_=y;return y=g,g=_,_=y,_^=h.pbox[1],g^=h.pbox[0],{left:g,right:_}}function f(h,p,b){for(let R=0;R<4;R++){h.sbox[R]=[];for(let A=0;A<256;A++)h.sbox[R][A]=d[R][A]}let y=0;for(let R=0;R<a+2;R++)h.pbox[R]=l[R]^p[y],y++,y>=b&&(y=0);let g=0,_=0,B=0;for(let R=0;R<a+2;R+=2)B=i(h,g,_),g=B.left,_=B.right,h.pbox[R]=g,h.pbox[R+1]=_;for(let R=0;R<4;R++)for(let A=0;A<256;A+=2)B=i(h,g,_),g=B.left,_=B.right,h.sbox[R][A]=g,h.sbox[R][A+1]=_;return!0}var c=t.Blowfish=u.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var h=this._keyPriorReset=this._key,p=h.words,b=h.sigBytes/4;f(o,p,b)}},encryptBlock:function(h,p){var b=i(o,h[p],h[p+1]);h[p]=b.left,h[p+1]=b.right},decryptBlock:function(h,p){var b=s(o,h[p],h[p+1]);h[p]=b.left,h[p+1]=b.right},blockSize:2,keySize:4,ivSize:2});r.Blowfish=u._createHelper(c)})(),e.Blowfish)),blowfish$1.exports;var e}var cryptoJs=cryptoJs$1.exports,hasRequiredCryptoJs;function requireCryptoJs(){return hasRequiredCryptoJs||(hasRequiredCryptoJs=1,cryptoJs$1.exports=(e=requireCore(),requireX64Core(),requireLibTypedarrays(),requireEncUtf16(),requireEncBase64(),requireEncBase64url(),requireMd5(),requireSha1(),requireSha256(),requireSha224(),requireSha512(),requireSha384(),requireSha3(),requireRipemd160(),requireHmac(),requirePbkdf2(),requireEvpkdf(),requireCipherCore(),requireModeCfb(),requireModeCtr(),requireModeCtrGladman(),requireModeOfb(),requireModeEcb(),requirePadAnsix923(),requirePadIso10126(),requirePadIso97971(),requirePadZeropadding(),requirePadNopadding(),requireFormatHex(),requireAes(),requireTripledes(),requireRc4(),requireRabbit(),requireRabbitLegacy(),requireBlowfish(),e)),cryptoJs$1.exports;var e}let nanoid=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce(((r,u)=>r+=(u&=63)<36?u.toString(36):u<62?(u-26).toString(36).toUpperCase():u>62?"-":"_"),"");export{requireUtil as a,requireShams$2 as b,requireCallBound as c,requireEsObjectAtoms as d,requireCallBind as e,requireGetIntrinsic as f,requireHasPropertyDescriptors as g,requireDefineDataProperty as h,requireCryptoBrowserify as i,require_stream_writable as j,requireDist as k,requireStreamBrowserify as l,requireString_decoder as m,nanoid as n,requireReadableBrowser as o,requireSafeBuffer as p,lodash as q,requireCryptoJs as r,requireInherits_browser as s,requireType as t,requireEsDefineProperty as u,trimStart as v,camelCase as w};