@zeniai/web-app-ui 5.4.12-dev → 5.4.13-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.
- package/dist/assets/{AccountMappingScreen-CtnQtVOI.js → AccountMappingScreen-BRzigj9b.js} +2 -2
- package/dist/assets/ActualMatchingMatchDetailScreen-BAnhij0b.js +1 -0
- package/dist/assets/AddressRoutes-CENGCuuf.js +1 -0
- package/dist/assets/{AddressScreen-CiPLLpNX.js → AddressScreen-B1WKzTxJ.js} +2 -2
- package/dist/assets/AiCfoScreen-C-9SCmEd.js +22 -0
- package/dist/assets/{AppDrawer-Bxmzf_KR.js → AppDrawer-BMUNiLoq.js} +1 -1
- package/dist/assets/{BillPayApprovalRoutes-Bhwrq5tr.js → BillPayApprovalRoutes-DKLoOuwS.js} +1 -1
- package/dist/assets/{BillPayRoutes-CQCAwPWX.js → BillPayRoutes-VPiZq7wX.js} +8 -8
- package/dist/assets/{BusinessVerificationPageScreen-71JxUYXB.js → BusinessVerificationPageScreen-BBfkNXWr.js} +2 -2
- package/dist/assets/CardsAiCfoScreen-DvGNnU6w.js +14 -0
- package/dist/assets/{ChargeCardRoutes-CvC_JvPH.js → ChargeCardRoutes-CulF2JvM.js} +9 -9
- package/dist/assets/CompanyPassportScreen-CO0hs3h5.js +1 -0
- package/dist/assets/ConnectionAuthScreen-BEy82Ssf.js +11 -0
- package/dist/assets/CustomerOnboardingAuthScreen-BMc4DHei.js +1 -0
- package/dist/assets/{CustomerOnboardingRoutes-BMrjyYZ8.js → CustomerOnboardingRoutes-rnOyKIiB.js} +3 -3
- package/dist/assets/{DashboardRoutes-DYfRGtw5.js → DashboardRoutes-Cu8fYKAV.js} +4 -4
- package/dist/assets/{DefaultTenantHome-DmRqFqlc.js → DefaultTenantHome-CVMojLIT.js} +1 -1
- package/dist/assets/DomesticWireDetailScreen-DvqNzOqw.js +18 -0
- package/dist/assets/DrawerScreen-DcCH_0uM.js +1 -0
- package/dist/assets/EntityDetailRoutes-CU_8Y8KV.js +1 -0
- package/dist/assets/{ExpenseAutomationRoutes-Bks-mNnn.js → ExpenseAutomationRoutes-BDWC6-9s.js} +6 -6
- package/dist/assets/FeaturePreviewScreen-BNMkwdyk.js +1 -0
- package/dist/assets/HubSpotOAuthCallbackScreen-BCwidLV1.js +1 -0
- package/dist/assets/InboxNotificationsProvider-dYyDAGLI.js +1 -0
- package/dist/assets/InvoicingRoutes-92Lk9pMJ.js +3 -0
- package/dist/assets/{MagicLinkRoutes-BQns5k2S.js → MagicLinkRoutes-qLj928yC.js} +9 -9
- package/dist/assets/MagicLinkSignInScreen-B5rANZEW.js +12 -0
- package/dist/assets/MobileAppDrawer-DfwkluKE.js +1 -0
- package/dist/assets/NotFoundScreen-QNLsV8PR.js +1 -0
- package/dist/assets/NotificationRoutes-ByCMeGhn.js +1 -0
- package/dist/assets/OAuthConsentScreen-DvZbWzs6.js +1 -0
- package/dist/assets/PandLWithForecastRoutes-CddU1LvP.js +1 -0
- package/dist/assets/{PaymentLinkScreen-BADSNyXp.js → PaymentLinkScreen-DJv-jPN7.js} +2 -2
- package/dist/assets/PeopleRoutes-seHwQw6o.js +22 -0
- package/dist/assets/PerformanceRoutes-DNmhsmNx.js +1 -0
- package/dist/assets/{Preview-DGZHmpgt.js → Preview-DYy1N-vn.js} +1 -1
- package/dist/assets/QBOConnectionScreen-BnjbZJvL.js +100 -0
- package/dist/assets/{ReimbursementApprovalRoutes-CsG7QtOs.js → ReimbursementApprovalRoutes-DUvLzvwu.js} +1 -1
- package/dist/assets/ReimbursementApprovalRuleDetailScreen-BliFeglB.js +1 -0
- package/dist/assets/ReimbursementRoutes-uqQhXzD_.js +68 -0
- package/dist/assets/ReportsRoutes-Ty52_HTE.js +1 -0
- package/dist/assets/RewardsRoutes-DLgsJCTB.js +1 -0
- package/dist/assets/{ScheduleDetailsPrepaidExpensesScreen-v3zw3e0R.js → ScheduleDetailsPrepaidExpensesScreen-DW_6SN7k.js} +5 -5
- package/dist/assets/ScreenRoutes-DJPFTJup.js +2 -0
- package/dist/assets/{SettingsRoutes-CwW3Kcyz.js → SettingsRoutes-DucmuzJP.js} +6 -6
- package/dist/assets/{SetupPagesScreen-DPnnq4jj.js → SetupPagesScreen-DK6Wiu69.js} +5 -5
- package/dist/assets/SignInScreen-DaPgU2Nl.js +1 -0
- package/dist/assets/SignOutScreen-B59RCl56.js +9 -0
- package/dist/assets/TaskListScreen-Cvt-fENk.js +9 -0
- package/dist/assets/TaskRoutes-D2FIt6Mv.js +9 -0
- package/dist/assets/TransactionDetailRoutes-tbHHbIBD.js +1 -0
- package/dist/assets/TransactionDetailScreen-Ch0LCj8G.js +5 -0
- package/dist/assets/{TransactionListRoutes-aYhnWH8H.js → TransactionListRoutes-C3bzQYFS.js} +1 -1
- package/dist/assets/TreasuryRoutes-DDeLTUpi.js +37 -0
- package/dist/assets/{VendorsRoutes-QudM99vQ.js → VendorsRoutes-DJp9Lw7q.js} +11 -11
- package/dist/assets/WiseConfirmationScreen-CLvpbPdm.js +12 -0
- package/dist/assets/{ZeniAccountRoutes-DeSodvmm.js → ZeniAccountRoutes-DaY0WnU3.js} +11 -11
- package/dist/assets/ZeniAccountStatementScreen-iiLi8G_s.js +9 -0
- package/dist/assets/{accountMappingHelper-7kGWRPlV.js → accountMappingHelper-Bhr6esKF.js} +1 -1
- package/dist/assets/{analytics-BfKlFVdJ.js → analytics-DQKmqYV4.js} +4 -4
- package/dist/assets/{analyticsHelper-Cn2rORl_.js → analyticsHelper-BwgoMQXe.js} +1 -1
- package/dist/assets/{core-BWRpGVdr.js → core--MkqccHv.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-DN9u1X8y.js → decodeURIComponentSafe-BEyzjo_o.js} +1 -1
- package/dist/assets/{dnd-wLfPcqQ_.js → dnd-CP4whtxN.js} +1 -1
- package/dist/assets/{empty-CKwCpajm.js → empty-BNS5Y1pB.js} +1 -1
- package/dist/assets/{empty-BxjviaN4.js → empty-ClM8DHuA.js} +1 -1
- package/dist/assets/{emptyVideoElement-BURd-WPn.js → emptyVideoElement-fa_uGl7-.js} +1 -1
- package/dist/assets/epic-D_XIiCBV.js +2 -0
- package/dist/assets/expenseAutomationHelper-Dgshk1zd.js +1 -0
- package/dist/assets/getLocaleForTenant-GT2HpY4t.js +1 -0
- package/dist/assets/{index-9pdMsp-M.js → index-B3QEycF9.js} +14277 -14277
- package/dist/assets/{index-DwbDgvVM.js → index-BF_3R8uL.js} +1 -1
- package/dist/assets/{index-DYK9WSJX.js → index-BeoiOG5z.js} +1 -1
- package/dist/assets/{index-BtcZVjM1.js → index-CgMPBz0t.js} +1 -1
- package/dist/assets/{index-CcNUb4uI.js → index-D6eGMXVa.js} +2 -2
- package/dist/assets/index-eDdhdaqL.js +1 -0
- package/dist/assets/{index-D6O1UsWW.js → index-unoqrRj0.js} +1 -1
- package/dist/assets/index-yOyvZ3iU.js +1 -0
- package/dist/assets/{lexical-ljfsYSTd.js → lexical-BSiUIp1H.js} +1 -1
- package/dist/assets/liveblocks-DxRiM6VH.js +59 -0
- package/dist/assets/{lottie-ByqRhfis.js → lottie-ixiiUTSF.js} +1 -1
- package/dist/assets/{mui-BmHHlwSU.js → mui-kCJnrqYM.js} +1 -1
- package/dist/assets/{pathToGoBack-Dr_s0YFt.js → pathToGoBack-bat7ZlX9.js} +1 -1
- package/dist/assets/{pdf-C42gprG9.js → pdf-CRxQY5HT.js} +5 -5
- package/dist/assets/{pdf-lib-D4o6Nk27.js → pdf-lib-CHqQ3Ry3.js} +1 -1
- package/dist/assets/{plaid-CNV6JDhi.js → plaid-D94Y0H1P.js} +1 -1
- package/dist/assets/{pusher-DvjXiGU0.js → pusher-D0JY_FIf.js} +1 -1
- package/dist/assets/{react-DJxNpxcE.js → react-BBat2v6H.js} +1 -1
- package/dist/assets/{react-CdlDO5TG.js → react-BMVWGyVG.js} +1 -1
- package/dist/assets/{react-s5yBxYCg.js → react-Bv8sZiPk.js} +1 -1
- package/dist/assets/{react-CFwPpD-1.js → react-CiS3ccRD.js} +1 -1
- package/dist/assets/{react-Ct2ZzE_U.js → react-DTdBaAd3.js} +1 -1
- package/dist/assets/{react-CFX1RFZH.js → react-ltAkcaDC.js} +1 -1
- package/dist/assets/{recharts-BXLxGQ-T.js → recharts-EjKi4hbc.js} +1 -1
- package/dist/assets/{reportTimeframe-tJTkNTvP.js → reportTimeframe-DQT7aPWx.js} +1 -1
- package/dist/assets/{routePaths--TXDBUUo.js → routePaths-33YxbFc-.js} +1 -1
- package/dist/assets/{sentry-bpmZUW7k.js → sentry-B-dIf5xz.js} +1 -1
- package/dist/assets/{stripSplatSuffix-Bizh1-Tx.js → stripSplatSuffix-xBjFkZSJ.js} +1 -1
- package/dist/assets/{url-Cc_9bwX-.js → url-Bs4Dq0vG.js} +1 -1
- package/dist/assets/{url-8ONn8gmN.js → url-hbMZAh9y.js} +1 -1
- package/dist/assets/useActualMatchingMatchDetail-CAIVsCJG.js +1 -0
- package/dist/assets/useAiCfoDashboardSuggestedQuestionsChips-BTEnEWTt.js +1 -0
- package/dist/assets/useAskAiCfoHostNavButtonProps-BZFKDw3z.js +1 -0
- package/dist/assets/useChargeCardPusherEvents-DG1lA66n.js +1 -0
- package/dist/assets/{useDeviceId-3o80RPjJ.js → useDeviceId-8baAH1vH.js} +1 -1
- package/dist/assets/useEmailConnectResultRefresh-BEw2d8Jv.js +1 -0
- package/dist/assets/useEnsureVendorListLoaded-IzkQpfDE.js +1 -0
- package/dist/assets/useInitialThreadRequest-D8OFP51H.js +1 -0
- package/dist/assets/useTaskManagerAccess-ULuU1uGf.js +1 -0
- package/dist/assets/useTaskManagerPusherEvents-WPqjoQIF.js +1 -0
- package/dist/assets/utils-BPWa_pEs.js +36 -0
- package/dist/assets/withTransactionSidePanel-RKi7LGHx.js +25 -0
- package/dist/assets/{zeni-epic-state-BlWDBO75.js → zeni-epic-state-Dg1W8Zu5.js} +4 -4
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ActualMatchingMatchDetailScreen-COb45lJn.js +0 -1
- package/dist/assets/AddressRoutes-CXRpuLt0.js +0 -1
- package/dist/assets/AiCfoScreen-DPuJRDN-.js +0 -22
- package/dist/assets/CardsAiCfoScreen-Dze-_SQs.js +0 -14
- package/dist/assets/CompanyPassportScreen-dRN2jnGn.js +0 -1
- package/dist/assets/ConnectionAuthScreen-CrQ3LZFB.js +0 -11
- package/dist/assets/CustomerOnboardingAuthScreen-BUiUC1A4.js +0 -1
- package/dist/assets/DomesticWireDetailScreen-YfGiQgSo.js +0 -18
- package/dist/assets/DrawerScreen-DH40ycW6.js +0 -1
- package/dist/assets/EntityDetailRoutes-BgqO6DqU.js +0 -1
- package/dist/assets/FeaturePreviewScreen-B9UACzAC.js +0 -1
- package/dist/assets/HubSpotOAuthCallbackScreen-BjEMURaY.js +0 -1
- package/dist/assets/InboxNotificationsProvider-Cd4NxEtR.js +0 -1
- package/dist/assets/InvoicingRoutes-UHPes0q9.js +0 -3
- package/dist/assets/MagicLinkSignInScreen-IXnuvHt3.js +0 -12
- package/dist/assets/MobileAppDrawer-rCVKr3J3.js +0 -1
- package/dist/assets/NotFoundScreen-C94S-cmy.js +0 -1
- package/dist/assets/NotificationRoutes-h53g4kBO.js +0 -1
- package/dist/assets/OAuthConsentScreen-35XPz7Vp.js +0 -1
- package/dist/assets/PandLWithForecastRoutes-OnVWoGgX.js +0 -1
- package/dist/assets/PeopleRoutes-CnmV1pW5.js +0 -22
- package/dist/assets/PerformanceRoutes-MYTxvcMA.js +0 -1
- package/dist/assets/QBOConnectionScreen-C1Kn9y8q.js +0 -101
- package/dist/assets/ReimbursementApprovalRuleDetailScreen-BzhkgPjS.js +0 -1
- package/dist/assets/ReimbursementRoutes-BcjYsUHB.js +0 -68
- package/dist/assets/ReportsRoutes-Bcm2EvxJ.js +0 -1
- package/dist/assets/RewardsRoutes-Do7moyFI.js +0 -1
- package/dist/assets/ScreenRoutes-vTLuTGuW.js +0 -2
- package/dist/assets/SignInScreen-ColMnPgQ.js +0 -1
- package/dist/assets/SignOutScreen-DILD5ueP.js +0 -9
- package/dist/assets/TaskListScreen-aizYXFWj.js +0 -9
- package/dist/assets/TaskRoutes-CWWa57kf.js +0 -9
- package/dist/assets/TransactionDetailRoutes-DWXM95sG.js +0 -1
- package/dist/assets/TransactionDetailScreen-CNMo1Iyr.js +0 -5
- package/dist/assets/TreasuryRoutes-DnAsQTrn.js +0 -37
- package/dist/assets/WiseConfirmationScreen-CkFHmO99.js +0 -12
- package/dist/assets/ZeniAccountStatementScreen-DKVtRt3N.js +0 -9
- package/dist/assets/epic-Nc2-Ka61.js +0 -2
- package/dist/assets/expenseAutomationHelper-Dr99xbt1.js +0 -1
- package/dist/assets/getLocaleForTenant-BNAJG7gN.js +0 -1
- package/dist/assets/index-BXpurrfG.js +0 -1
- package/dist/assets/index-mJCZBkgN.js +0 -1
- package/dist/assets/liveblocks-V5YQZeeY.js +0 -59
- package/dist/assets/useActualMatchingMatchDetail-Mft821vz.js +0 -1
- package/dist/assets/useAiCfoDashboardSuggestedQuestionsChips-3ayut61P.js +0 -1
- package/dist/assets/useAskAiCfoHostNavButtonProps-E2UGdnp9.js +0 -1
- package/dist/assets/useChargeCardPusherEvents-DVeqwUB9.js +0 -1
- package/dist/assets/useEmailConnectResultRefresh-F8OBO8EU.js +0 -1
- package/dist/assets/useEnsureVendorListLoaded-CKZrwkQQ.js +0 -1
- package/dist/assets/useInitialThreadRequest-Df-inltN.js +0 -1
- package/dist/assets/useTaskManagerAccess-Bq9TDvwr.js +0 -1
- package/dist/assets/useTaskManagerPusherEvents-Ctn5L7kn.js +0 -1
- package/dist/assets/utils-CXFQdt3d.js +0 -36
- package/dist/assets/withTransactionSidePanel-DOV8YzFf.js +0 -25
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import{p as isSymbol,I as baseToString,D as toInteger,W as WeakMap$1,q as identity,J as baseCreate,c as isObject,r as root,K as noop,L as copyArray,a as isObjectLike,i as isArray,M as shortOut,N as arrayEach,O as arrayIncludes,P as setToString,Q as isIndex,R as apply,S as createAssigner,T as isPrototype,U as isArrayLike,V as copyObject,X as keys,Y as assignValue,Z as keysIn,g as get$1,$ as flatRest,b as baseGetTag,x as isPlainObject,k as baseRest,a0 as toKey,C as baseAssignValue,t as toString,o as toNumber,l as isIterateeCall,a1 as baseSlice,a2 as baseClone,a3 as arrayPush,n as baseFlatten,a4 as arrayMap,j as baseIteratee,z as baseEach,a5 as baseAssign,a6 as eq,a7 as isBuffer,a8 as isTypedArray$2,a9 as isArrayLikeObject,aa as cloneBuffer,ab as cloneTypedArray,ac as isArguments$1,d as isFunction,ad as initCloneObject,ae as baseFor,af as Stack,w as last,ag as baseDifference,ah as createBaseFor,ai as createBaseEach,aj as getTag,ak as mapToArray,al as arrayFilter,B as baseForOwn,am as map,y as toFinite,an as values,ao as baseIndexOf,ap as baseUnary,aq as SetCache,ar as cacheHas,as as arrayIncludesWith,at as constant,au as castPath,av as parent,aw as nodeUtil,ax as baseIsEqual,ay as baseIsMatch,az as getMatchData,aA as coreJsData,aB as stubFalse,aC as baseIsNative,E as baseFindIndex,aD as baseIsNaN,aE as baseMatches,aF as baseMatchesProperty,s as stringToArray,aG as Symbol$1,aH as setToArray,aI as baseGet,aJ as getAllKeysIn,A as arraySome,aK as baseProperty,h as hasUnicode,e as castSlice,aL as hasIn,aM as baseUnset,aN as compareAscending,aO as baseKeys,aP as assignWith,aQ as baseValues,aR as baseTimes,aS as stringToPath,aT as getPrototype,aU as baseTrim,aV as charsEndIndex,f as baseUniq,aW as difference,aX as differenceBy,aY as flatten,aZ as uniq,a_ as findLastIndex,u as flatMap,a$ as orderBy,b0 as findLast,G as memoize,b1 as cloneDeep,b2 as isEmpty,v as isEqual,b3 as isLength,b4 as isMap,b5 as isSet,b6 as omit,b7 as has,b8 as trimEnd,b9 as property,ba as stubArray,H as Buffer}from"./zeni-epic-state-BlWDBO75.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-BXLxGQ-T.js";import{d as commonjsGlobal,p as process$1}from"./sentry-bpmZUW7k.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="93b31e6f-bfad-4c9d-a546-08002fcf5f9e",e._sentryDebugIdIdentifier="sentry-dbid-93b31e6f-bfad-4c9d-a546-08002fcf5f9e")}catch{}})();var NAN$1=NaN;function baseToNumber(e){return typeof e=="number"?e:isSymbol(e)?NAN$1:+e}function createMathOperation(e,t){return function(i,a){var r;if(i===void 0&&a===void 0)return t;if(i!==void 0&&(r=i),a!==void 0){if(r===void 0)return a;typeof i=="string"||typeof a=="string"?(i=baseToString(i),a=baseToString(a)):(i=baseToNumber(i),a=baseToNumber(a)),r=e(i,a)}return r}}var add=createMathOperation((function(e,t){return e+t}),0),FUNC_ERROR_TEXT$8="Expected a function";function after(e,t){if(typeof t!="function")throw new TypeError(FUNC_ERROR_TEXT$8);return e=toInteger(e),function(){if(--e<1)return t.apply(this,arguments)}}var metaMap=WeakMap$1&&new WeakMap$1,baseSetData=metaMap?function(e,t){return metaMap.set(e,t),e}:identity;function createCtor(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var i=baseCreate(e.prototype),a=e.apply(i,t);return isObject(a)?a:i}}var WRAP_BIND_FLAG$7=1;function createBind(e,t,i){var a=t&WRAP_BIND_FLAG$7,r=createCtor(e);return function c(){return(this&&this!==root&&this instanceof c?r:e).apply(a?i:this,arguments)}}var nativeMax$b=Math.max;function composeArgs(e,t,i,a){for(var r=-1,c=e.length,f=i.length,n=-1,o=t.length,s=nativeMax$b(c-f,0),u=Array(o+s),h=!a;++n<o;)u[n]=t[n];for(;++r<f;)(h||r<c)&&(u[i[r]]=e[r]);for(;s--;)u[n++]=e[r++];return u}var nativeMax$a=Math.max;function composeArgsRight(e,t,i,a){for(var r=-1,c=e.length,f=-1,n=i.length,o=-1,s=t.length,u=nativeMax$a(c-n,0),h=Array(u+s),l=!a;++r<u;)h[r]=e[r];for(var d=r;++o<s;)h[d+o]=t[o];for(;++f<n;)(l||r<c)&&(h[d+i[f]]=e[r++]);return h}function countHolders(e,t){for(var i=e.length,a=0;i--;)e[i]===t&&++a;return a}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 t=e.name+"",i=realNames[t],a=hasOwnProperty$9.call(realNames,t)?i.length:0;a--;){var r=i[a],c=r.func;if(c==null||c==e)return r.name}return t}function LodashWrapper(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}function wrapperClone(e){if(e instanceof LazyWrapper)return e.clone();var t=new LodashWrapper(e.__wrapped__,e.__chain__);return t.__actions__=copyArray(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}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 t=getFuncName(e),i=lodash$1[t];if(typeof i!="function"||!(t in LazyWrapper.prototype))return!1;if(e===i)return!0;var a=getData(i);return!!a&&e===a[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 t=e.match(reWrapDetails);return t?t[1].split(reSplitDetails):[]}var reWrapComment=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function insertWrapDetails(e,t){var i=t.length;if(!i)return e;var a=i-1;return t[a]=(i>1?"& ":"")+t[a],t=t.join(i>2?", ":" "),e.replace(reWrapComment,`{
|
|
2
|
-
/* [wrapped with `+t+`] */
|
|
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,t){return arrayEach(wrapFlags,(function(i){var a="_."+i[0];t&i[1]&&!arrayIncludes(e,a)&&e.push(a)})),e.sort()}function setWrapToString(e,t,i){var a=t+"";return setToString(e,insertWrapDetails(a,updateWrapDetails(getWrapDetails(a),i)))}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,t,i,a,r,c,f,n,o,s){var u=t&WRAP_CURRY_FLAG$5;t|=u?WRAP_PARTIAL_FLAG$5:WRAP_PARTIAL_RIGHT_FLAG$2,(t&=~(u?WRAP_PARTIAL_RIGHT_FLAG$2:WRAP_PARTIAL_FLAG$5))&WRAP_CURRY_BOUND_FLAG$1||(t&=-4);var h=[e,t,r,u?c:void 0,u?f:void 0,u?void 0:c,u?void 0:f,n,o,s],l=i.apply(void 0,h);return isLaziable(e)&&setData(l,h),l.placeholder=a,setWrapToString(l,e,t)}function getHolder(e){return e.placeholder}var nativeMin$c=Math.min;function reorder(e,t){for(var i=e.length,a=nativeMin$c(t.length,i),r=copyArray(e);a--;){var c=t[a];e[a]=isIndex(c,i)?r[c]:void 0}return e}var PLACEHOLDER$1="__lodash_placeholder__";function replaceHolders(e,t){for(var i=-1,a=e.length,r=0,c=[];++i<a;){var f=e[i];f!==t&&f!==PLACEHOLDER$1||(e[i]=PLACEHOLDER$1,c[r++]=i)}return c}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,t,i,a,r,c,f,n,o,s){var u=t&WRAP_ARY_FLAG$3,h=t&WRAP_BIND_FLAG$5,l=t&WRAP_BIND_KEY_FLAG$4,d=t&(WRAP_CURRY_FLAG$4|WRAP_CURRY_RIGHT_FLAG$2),w=t&WRAP_FLIP_FLAG$1,R=l?void 0:createCtor(e);return function q(){for(var A=arguments.length,M=Array(A),I=A;I--;)M[I]=arguments[I];if(d)var $=getHolder(q),S=countHolders(M,$);if(a&&(M=composeArgs(M,a,r,d)),c&&(M=composeArgsRight(M,c,f,d)),A-=S,d&&A<s){var C=replaceHolders(M,$);return createRecurry(e,t,createHybrid,q.placeholder,i,M,C,n,o,s-A)}var T=h?i:this,v=l?T[e]:e;return A=M.length,n?M=reorder(M,n):w&&A>1&&M.reverse(),u&&o<A&&(M.length=o),this&&this!==root&&this instanceof q&&(v=R||createCtor(v)),v.apply(T,M)}}function createCurry(e,t,i){var a=createCtor(e);return function r(){for(var c=arguments.length,f=Array(c),n=c,o=getHolder(r);n--;)f[n]=arguments[n];var s=c<3&&f[0]!==o&&f[c-1]!==o?[]:replaceHolders(f,o);return(c-=s.length)<i?createRecurry(e,t,createHybrid,r.placeholder,void 0,f,s,void 0,void 0,i-c):apply(this&&this!==root&&this instanceof r?a:e,this,f)}}var WRAP_BIND_FLAG$4=1;function createPartial(e,t,i,a){var r=t&WRAP_BIND_FLAG$4,c=createCtor(e);return function f(){for(var n=-1,o=arguments.length,s=-1,u=a.length,h=Array(u+o),l=this&&this!==root&&this instanceof f?c:e;++s<u;)h[s]=a[s];for(;o--;)h[s++]=arguments[++n];return apply(l,r?i:this,h)}}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,t){var i=e[1],a=t[1],r=i|a,c=r<(WRAP_BIND_FLAG$3|WRAP_BIND_KEY_FLAG$3|WRAP_ARY_FLAG$2),f=a==WRAP_ARY_FLAG$2&&i==WRAP_CURRY_FLAG$3||a==WRAP_ARY_FLAG$2&&i==WRAP_REARG_FLAG$2&&e[7].length<=t[8]||a==(WRAP_ARY_FLAG$2|WRAP_REARG_FLAG$2)&&t[7].length<=t[8]&&i==WRAP_CURRY_FLAG$3;if(!c&&!f)return e;a&WRAP_BIND_FLAG$3&&(e[2]=t[2],r|=i&WRAP_BIND_FLAG$3?0:WRAP_CURRY_BOUND_FLAG);var n=t[3];if(n){var o=e[3];e[3]=o?composeArgs(o,n,t[4]):n,e[4]=o?replaceHolders(e[3],PLACEHOLDER):t[4]}return(n=t[5])&&(o=e[5],e[5]=o?composeArgsRight(o,n,t[6]):n,e[6]=o?replaceHolders(e[5],PLACEHOLDER):t[6]),(n=t[7])&&(e[7]=n),a&WRAP_ARY_FLAG$2&&(e[8]=e[8]==null?t[8]:nativeMin$b(e[8],t[8])),e[9]==null&&(e[9]=t[9]),e[0]=t[0],e[1]=r,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,t,i,a,r,c,f,n){var o=t&WRAP_BIND_KEY_FLAG$2;if(!o&&typeof e!="function")throw new TypeError(FUNC_ERROR_TEXT$7);var s=a?a.length:0;if(s||(t&=-97,a=r=void 0),f=f===void 0?f:nativeMax$9(toInteger(f),0),n=n===void 0?n:toInteger(n),s-=r?r.length:0,t&WRAP_PARTIAL_RIGHT_FLAG$1){var u=a,h=r;a=r=void 0}var l=o?void 0:getData(e),d=[e,t,i,a,r,u,h,c,f,n];if(l&&mergeData(d,l),e=d[0],t=d[1],i=d[2],a=d[3],r=d[4],!(n=d[9]=d[9]===void 0?o?0:e.length:nativeMax$9(d[9]-s,0))&&t&(WRAP_CURRY_FLAG$2|WRAP_CURRY_RIGHT_FLAG$1)&&(t&=-25),t&&t!=WRAP_BIND_FLAG$2)w=t==WRAP_CURRY_FLAG$2||t==WRAP_CURRY_RIGHT_FLAG$1?createCurry(e,t,n):t!=WRAP_PARTIAL_FLAG$4&&t!=(WRAP_BIND_FLAG$2|WRAP_PARTIAL_FLAG$4)||r.length?createHybrid.apply(void 0,d):createPartial(e,t,i,a);else var w=createBind(e,t,i);return setWrapToString((l?baseSetData:setData)(w,d),e,t)}var WRAP_ARY_FLAG$1=128;function ary(e,t,i){return t=i?void 0:t,t=e&&t==null?e.length:t,createWrap(e,WRAP_ARY_FLAG$1,void 0,void 0,void 0,void 0,t)}var objectProto$8=Object.prototype,hasOwnProperty$7=objectProto$8.hasOwnProperty,assign=createAssigner((function(e,t){if(isPrototype(t)||isArrayLike(t))copyObject(t,keys(t),e);else for(var i in t)hasOwnProperty$7.call(t,i)&&assignValue(e,i,t[i])})),assignIn=createAssigner((function(e,t){copyObject(t,keysIn(t),e)})),assignInWith=createAssigner((function(e,t,i,a){copyObject(t,keysIn(t),e,a)}));function baseAt(e,t){for(var i=-1,a=t.length,r=Array(a),c=e==null;++i<a;)r[i]=c?void 0:get$1(e,t[i]);return r}var at=flatRest(baseAt),domExcTag="[object DOMException]",errorTag="[object Error]";function isError(e){if(!isObjectLike(e))return!1;var t=baseGetTag(e);return t==errorTag||t==domExcTag||typeof e.message=="string"&&typeof e.name=="string"&&!isPlainObject(e)}var attempt=baseRest((function(e,t){try{return apply(e,void 0,t)}catch(i){return isError(i)?i:new Error(i)}})),FUNC_ERROR_TEXT$6="Expected a function";function before(e,t){var i;if(typeof t!="function")throw new TypeError(FUNC_ERROR_TEXT$6);return e=toInteger(e),function(){return--e>0&&(i=t.apply(this,arguments)),e<=1&&(t=void 0),i}}var WRAP_BIND_FLAG$1=1,WRAP_PARTIAL_FLAG$3=32,bind=baseRest((function(e,t,i){var a=WRAP_BIND_FLAG$1;if(i.length){var r=replaceHolders(i,getHolder(bind));a|=WRAP_PARTIAL_FLAG$3}return createWrap(e,a,t,i,r)}));bind.placeholder={};var bindAll=flatRest((function(e,t){return arrayEach(t,(function(i){i=toKey(i),baseAssignValue(e,i,bind(e[i],e))})),e})),WRAP_BIND_FLAG=1,WRAP_BIND_KEY_FLAG$1=2,WRAP_PARTIAL_FLAG$2=32,bindKey=baseRest((function(e,t,i){var a=WRAP_BIND_FLAG|WRAP_BIND_KEY_FLAG$1;if(i.length){var r=replaceHolders(i,getHolder(bindKey));a|=WRAP_PARTIAL_FLAG$2}return createWrap(t,a,e,i,r)}));function capitalize(e){return upperFirst(toString(e).toLowerCase())}function arrayReduce(e,t,i,a){var r=-1,c=e==null?0:e.length;for(a&&c&&(i=e[++r]);++r<c;)i=t(i,e[r],r,e);return i}function basePropertyOf(e){return function(t){return e?.[t]}}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,t,i){return e=toString(e),(t=i?void 0:t)===void 0?hasUnicodeWord(e)?unicodeWords(e):asciiWords(e):e.match(t)||[]}var rsApos="['’]",reApos=RegExp(rsApos,"g");function createCompounder(e){return function(t){return arrayReduce(words(deburr(t).replace(reApos,"")),e,"")}}var camelCase=createCompounder((function(e,t,i){return t=t.toLowerCase(),e+(i?capitalize(t):t)}));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 t=Math[e];return function(i,a){if(i=toNumber(i),(a=a==null?0:nativeMin$a(toInteger(a),292))&&nativeIsFinite$1(i)){var r=(toString(i)+"e").split("e"),c=t(r[0]+"e"+(+r[1]+a));return+((r=(toString(c)+"e").split("e"))[0]+"e"+(+r[1]-a))}return t(i)}}var ceil=createRound("ceil");function chain(e){var t=lodash$1(e);return t.__chain__=!0,t}var nativeCeil$2=Math.ceil,nativeMax$8=Math.max;function chunk(e,t,i){t=(i?isIterateeCall(e,t,i):t===void 0)?1:nativeMax$8(toInteger(t),0);var a=e==null?0:e.length;if(!a||t<1)return[];for(var r=0,c=0,f=Array(nativeCeil$2(a/t));r<a;)f[c++]=baseSlice(e,r,r+=t);return f}function baseClamp(e,t,i){return e==e&&(i!==void 0&&(e=e<=i?e:i),t!==void 0&&(e=e>=t?e:t)),e}function clamp(e,t,i){return i===void 0&&(i=t,t=void 0),i!==void 0&&(i=(i=toNumber(i))==i?i:0),t!==void 0&&(t=(t=toNumber(t))==t?t:0),baseClamp(toNumber(e),t,i)}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,t){return baseClone(e,CLONE_DEEP_FLAG$4|CLONE_SYMBOLS_FLAG$1,t=typeof t=="function"?t:void 0)}var CLONE_SYMBOLS_FLAG=4;function cloneWith(e,t){return baseClone(e,CLONE_SYMBOLS_FLAG,t=typeof t=="function"?t:void 0)}function wrapperCommit(){return new LodashWrapper(this.value(),this.__chain__)}function compact(e){for(var t=-1,i=e==null?0:e.length,a=0,r=[];++t<i;){var c=e[t];c&&(r[a++]=c)}return r}function concat(){var e=arguments.length;if(!e)return[];for(var t=Array(e-1),i=arguments[0],a=e;a--;)t[a-1]=arguments[a];return arrayPush(isArray(i)?copyArray(i):[i],baseFlatten(t,1))}var FUNC_ERROR_TEXT$5="Expected a function";function cond(e){var t=e==null?0:e.length,i=baseIteratee;return e=t?arrayMap(e,(function(a){if(typeof a[1]!="function")throw new TypeError(FUNC_ERROR_TEXT$5);return[i(a[0]),a[1]]})):[],baseRest((function(a){for(var r=-1;++r<t;){var c=e[r];if(apply(c[0],this,a))return apply(c[1],this,a)}}))}function baseConformsTo(e,t,i){var a=i.length;if(e==null)return!a;for(e=Object(e);a--;){var r=i[a],c=t[r],f=e[r];if(f===void 0&&!(r in e)||!c(f))return!1}return!0}function baseConforms(e){var t=keys(e);return function(i){return baseConformsTo(i,e,t)}}var CLONE_DEEP_FLAG$3=1;function conforms(e){return baseConforms(baseClone(e,CLONE_DEEP_FLAG$3))}function conformsTo(e,t){return t==null||baseConformsTo(e,t,keys(t))}function arrayAggregator(e,t,i,a){for(var r=-1,c=e==null?0:e.length;++r<c;){var f=e[r];t(a,f,i(f),e)}return a}function baseAggregator(e,t,i,a){return baseEach(e,(function(r,c,f){t(a,r,i(r),f)})),a}function createAggregator(e,t){return function(i,a){var r=isArray(i)?arrayAggregator:baseAggregator,c=t?t():{};return r(i,e,baseIteratee(a),c)}}var objectProto$7=Object.prototype,hasOwnProperty$6=objectProto$7.hasOwnProperty,countBy=createAggregator((function(e,t,i){hasOwnProperty$6.call(e,i)?++e[i]:baseAssignValue(e,i,1)}));function create(e,t){var i=baseCreate(e);return t==null?i:baseAssign(i,t)}var WRAP_CURRY_FLAG$1=8;function curry(e,t,i){var a=createWrap(e,WRAP_CURRY_FLAG$1,void 0,void 0,void 0,void 0,void 0,t=i?void 0:t);return a.placeholder=curry.placeholder,a}curry.placeholder={};var WRAP_CURRY_RIGHT_FLAG=16;function curryRight(e,t,i){var a=createWrap(e,WRAP_CURRY_RIGHT_FLAG,void 0,void 0,void 0,void 0,void 0,t=i?void 0:t);return a.placeholder=curryRight.placeholder,a}function defaultTo(e,t){return e==null||e!=e?t:e}curryRight.placeholder={};var objectProto$6=Object.prototype,hasOwnProperty$5=objectProto$6.hasOwnProperty,defaults=baseRest((function(e,t){e=Object(e);var i=-1,a=t.length,r=a>2?t[2]:void 0;for(r&&isIterateeCall(t[0],t[1],r)&&(a=1);++i<a;)for(var c=t[i],f=keysIn(c),n=-1,o=f.length;++n<o;){var s=f[n],u=e[s];(u===void 0||eq(u,objectProto$6[s])&&!hasOwnProperty$5.call(e,s))&&(e[s]=c[s])}return e}));function assignMergeValue(e,t,i){(i!==void 0&&!eq(e[t],i)||i===void 0&&!(t in e))&&baseAssignValue(e,t,i)}function safeGet(e,t){if((t!=="constructor"||typeof e[t]!="function")&&t!="__proto__")return e[t]}function toPlainObject(e){return copyObject(e,keysIn(e))}function baseMergeDeep(e,t,i,a,r,c,f){var n=safeGet(e,i),o=safeGet(t,i),s=f.get(o);if(s)assignMergeValue(e,i,s);else{var u=c?c(n,o,i+"",e,t,f):void 0,h=u===void 0;if(h){var l=isArray(o),d=!l&&isBuffer(o),w=!l&&!d&&isTypedArray$2(o);u=o,l||d||w?isArray(n)?u=n:isArrayLikeObject(n)?u=copyArray(n):d?(h=!1,u=cloneBuffer(o,!0)):w?(h=!1,u=cloneTypedArray(o,!0)):u=[]:isPlainObject(o)||isArguments$1(o)?(u=n,isArguments$1(n)?u=toPlainObject(n):isObject(n)&&!isFunction(n)||(u=initCloneObject(o))):h=!1}h&&(f.set(o,u),r(u,o,a,c,f),f.delete(o)),assignMergeValue(e,i,u)}}function baseMerge(e,t,i,a,r){e!==t&&baseFor(t,(function(c,f){if(r||(r=new Stack),isObject(c))baseMergeDeep(e,t,f,i,baseMerge,a,r);else{var n=a?a(safeGet(e,f),c,f+"",e,t,r):void 0;n===void 0&&(n=c),assignMergeValue(e,f,n)}}),keysIn)}function customDefaultsMerge(e,t,i,a,r,c){return isObject(e)&&isObject(t)&&(c.set(t,e),baseMerge(e,t,void 0,customDefaultsMerge,c),c.delete(t)),e}var mergeWith=createAssigner((function(e,t,i,a){baseMerge(e,t,i,a)})),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,t,i){if(typeof e!="function")throw new TypeError(FUNC_ERROR_TEXT$4);return setTimeout((function(){e.apply(void 0,i)}),t)}var defer=baseRest((function(e,t){return baseDelay(e,1,t)})),delay=baseRest((function(e,t,i){return baseDelay(e,toNumber(t)||0,i)})),differenceWith=baseRest((function(e,t){var i=last(t);return isArrayLikeObject(i)&&(i=void 0),isArrayLikeObject(e)?baseDifference(e,baseFlatten(t,1,isArrayLikeObject,!0),void 0,i):[]})),divide=createMathOperation((function(e,t){return e/t}),1);function drop(e,t,i){var a=e==null?0:e.length;return a?(t=i||t===void 0?1:toInteger(t),baseSlice(e,t<0?0:t,a)):[]}function dropRight(e,t,i){var a=e==null?0:e.length;return a?(t=i||t===void 0?1:toInteger(t),baseSlice(e,0,(t=a-t)<0?0:t)):[]}function baseWhile(e,t,i,a){for(var r=e.length,c=a?r:-1;(a?c--:++c<r)&&t(e[c],c,e););return i?baseSlice(e,a?0:c,a?c+1:r):baseSlice(e,a?c+1:0,a?r:c)}function dropRightWhile(e,t){return e&&e.length?baseWhile(e,baseIteratee(t),!0,!0):[]}function dropWhile(e,t){return e&&e.length?baseWhile(e,baseIteratee(t),!0):[]}function castFunction(e){return typeof e=="function"?e:identity}function forEach$1(e,t){return(isArray(e)?arrayEach:baseEach)(e,castFunction(t))}function arrayEachRight(e,t){for(var i=e==null?0:e.length;i--&&t(e[i],i,e)!==!1;);return e}var baseForRight=createBaseFor(!0);function baseForOwnRight(e,t){return e&&baseForRight(e,t,keys)}var baseEachRight=createBaseEach(baseForOwnRight,!0);function forEachRight(e,t){return(isArray(e)?arrayEachRight:baseEachRight)(e,castFunction(t))}function endsWith(e,t,i){e=toString(e),t=baseToString(t);var a=e.length,r=i=i===void 0?a:baseClamp(toInteger(i),0,a);return(i-=t.length)>=0&&e.slice(i,r)==t}function baseToPairs(e,t){return arrayMap(t,(function(i){return[i,e[i]]}))}function setToPairs(e){var t=-1,i=Array(e.size);return e.forEach((function(a){i[++t]=[a,a]})),i}var mapTag$2="[object Map]",setTag$2="[object Set]";function createToPairs(e){return function(t){var i=getTag(t);return i==mapTag$2?mapToArray(t):i==setTag$2?setToPairs(t):baseToPairs(t,e(t))}}var toPairs=createToPairs(keys),toPairsIn=createToPairs(keysIn),htmlEscapes={"&":"&","<":"<",">":">",'"':""","'":"'"},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,t,i,a){var r=e.length;for((i=toInteger(i))<0&&(i=-i>r?0:r+i),(a=a===void 0||a>r?r:toInteger(a))<0&&(a+=r),a=i>a?0:toLength(a);i<a;)e[i++]=t;return e}function fill(e,t,i,a){var r=e==null?0:e.length;return r?(i&&typeof i!="number"&&isIterateeCall(e,t,i)&&(i=0,a=r),baseFill(e,t,i,a)):[]}function baseFilter(e,t){var i=[];return baseEach(e,(function(a,r,c){t(a,r,c)&&i.push(a)})),i}function filter(e,t){return(isArray(e)?arrayFilter:baseFilter)(e,baseIteratee(t))}function baseFindKey(e,t,i){var a;return i(e,(function(r,c,f){if(t(r,c,f))return a=c,!1})),a}function findKey(e,t){return baseFindKey(e,baseIteratee(t),baseForOwn)}function findLastKey(e,t){return baseFindKey(e,baseIteratee(t),baseForOwnRight)}var INFINITY$1=1/0;function flatMapDeep(e,t){return baseFlatten(map(e,t),INFINITY$1)}function flatMapDepth(e,t,i){return i=i===void 0?1:toInteger(i),baseFlatten(map(e,t),i)}var INFINITY=1/0;function flattenDeep(e){return e!=null&&e.length?baseFlatten(e,INFINITY):[]}function flattenDepth(e,t){return e!=null&&e.length?(t=t===void 0?1:toInteger(t),baseFlatten(e,t)):[]}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(t){var i=t.length,a=i,r=LodashWrapper.prototype.thru;for(e&&t.reverse();a--;){var c=t[a];if(typeof c!="function")throw new TypeError(FUNC_ERROR_TEXT$3);if(r&&!f&&getFuncName(c)=="wrapper")var f=new LodashWrapper([],!0)}for(a=f?a:i;++a<i;){var n=getFuncName(c=t[a]),o=n=="wrapper"?getData(c):void 0;f=o&&isLaziable(o[0])&&o[1]==(WRAP_ARY_FLAG|WRAP_CURRY_FLAG|WRAP_PARTIAL_FLAG$1|WRAP_REARG_FLAG$1)&&!o[4].length&&o[9]==1?f[getFuncName(o[0])].apply(f,o[3]):c.length==1&&isLaziable(c)?f[n]():f.thru(c)}return function(){var s=arguments,u=s[0];if(f&&s.length==1&&isArray(u))return f.plant(u).value();for(var h=0,l=i?t[h].apply(this,s):u;++h<i;)l=t[h].call(this,l);return l}}))}var flow=createFlow(),flowRight=createFlow(!0);function forIn(e,t){return e==null?e:baseFor(e,castFunction(t),keysIn)}function forInRight(e,t){return e==null?e:baseForRight(e,castFunction(t),keysIn)}function forOwn(e,t){return e&&baseForOwn(e,castFunction(t))}function forOwnRight(e,t){return e&&baseForOwnRight(e,castFunction(t))}function fromPairs(e){for(var t=-1,i=e==null?0:e.length,a={};++t<i;){var r=e[t];baseAssignValue(a,r[0],r[1])}return a}function baseFunctions(e,t){return arrayFilter(t,(function(i){return isFunction(e[i])}))}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,t,i){hasOwnProperty$4.call(e,i)?e[i].push(t):baseAssignValue(e,i,[t])}));function createRelationalOperation(e){return function(t,i){return typeof t=="string"&&typeof i=="string"||(t=toNumber(t),i=toNumber(i)),e(t,i)}}var gt=createRelationalOperation(baseGt),gte=createRelationalOperation((function(e,t){return e>=t})),nativeMax$7=Math.max,nativeMin$9=Math.min;function baseInRange(e,t,i){return e>=nativeMin$9(t,i)&&e<nativeMax$7(t,i)}function inRange(e,t,i){return t=toFinite(t),i===void 0?(i=t,t=0):i=toFinite(i),baseInRange(e=toNumber(e),t,i)}var nativeMax$6=Math.max;function includes(e,t,i,a){e=isArrayLike(e)?e:values(e),i=i&&!a?toInteger(i):0;var r=e.length;return i<0&&(i=nativeMax$6(r+i,0)),isString(e)?i<=r&&e.indexOf(t,i)>-1:!!r&&baseIndexOf(e,t,i)>-1}var nativeMax$5=Math.max;function indexOf(e,t,i){var a=e==null?0:e.length;if(!a)return-1;var r=i==null?0:toInteger(i);return r<0&&(r=nativeMax$5(a+r,0)),baseIndexOf(e,t,r)}function initial(e){return e!=null&&e.length?baseSlice(e,0,-1):[]}var nativeMin$8=Math.min;function baseIntersection(e,t,i){for(var a=i?arrayIncludesWith:arrayIncludes,r=e[0].length,c=e.length,f=c,n=Array(c),o=1/0,s=[];f--;){var u=e[f];f&&t&&(u=arrayMap(u,baseUnary(t))),o=nativeMin$8(u.length,o),n[f]=!i&&(t||r>=120&&u.length>=120)?new SetCache(f&&u):void 0}u=e[0];var h=-1,l=n[0];e:for(;++h<r&&s.length<o;){var d=u[h],w=t?t(d):d;if(d=i||d!==0?d:0,!(l?cacheHas(l,w):a(s,w,i))){for(f=c;--f;){var R=n[f];if(!(R?cacheHas(R,w):a(e[f],w,i)))continue e}l&&l.push(w),s.push(d)}}return s}function castArrayLikeObject(e){return isArrayLikeObject(e)?e:[]}var intersection=baseRest((function(e){var t=arrayMap(e,castArrayLikeObject);return t.length&&t[0]===e[0]?baseIntersection(t):[]})),intersectionBy=baseRest((function(e){var t=last(e),i=arrayMap(e,castArrayLikeObject);return t===last(i)?t=void 0:i.pop(),i.length&&i[0]===e[0]?baseIntersection(i,baseIteratee(t)):[]})),intersectionWith=baseRest((function(e){var t=last(e),i=arrayMap(e,castArrayLikeObject);return(t=typeof t=="function"?t:void 0)&&i.pop(),i.length&&i[0]===e[0]?baseIntersection(i,void 0,t):[]}));function baseInverter(e,t,i,a){return baseForOwn(e,(function(r,c,f){t(a,i(r),c,f)})),a}function createInverter(e,t){return function(i,a){return baseInverter(i,e,t(a),{})}}var objectProto$4=Object.prototype,nativeObjectToString$1=objectProto$4.toString,invert=createInverter((function(e,t,i){t!=null&&typeof t.toString!="function"&&(t=nativeObjectToString$1.call(t)),e[t]=i}),constant(identity)),objectProto$3=Object.prototype,hasOwnProperty$3=objectProto$3.hasOwnProperty,nativeObjectToString=objectProto$3.toString,invertBy=createInverter((function(e,t,i){t!=null&&typeof t.toString!="function"&&(t=nativeObjectToString.call(t)),hasOwnProperty$3.call(e,t)?e[t].push(i):e[t]=[i]}),baseIteratee);function baseInvoke(e,t,i){t=castPath(t,e);var a=(e=parent(e,t))==null?e:e[toKey(last(t))];return a==null?void 0:apply(a,e,i)}var invoke=baseRest(baseInvoke),invokeMap=baseRest((function(e,t,i){var a=-1,r=typeof t=="function",c=isArrayLike(e)?Array(e.length):[];return baseEach(e,(function(f){c[++a]=r?apply(t,f,i):baseInvoke(f,t,i)})),c})),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,t,i){var a=(i=typeof i=="function"?i:void 0)?i(e,t):void 0;return a===void 0?baseIsEqual(e,t,void 0,i):!!a}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,t){return e===t||baseIsMatch(e,t,getMatchData(t))}function isMatchWith(e,t,i){return i=typeof i=="function"?i:void 0,baseIsMatch(e,t,getMatchData(t),i)}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,t){return e==null?"":nativeJoin.call(e,t)}var kebabCase=createCompounder((function(e,t,i){return e+(i?"-":"")+t.toLowerCase()})),keyBy=createAggregator((function(e,t,i){baseAssignValue(e,i,t)}));function strictLastIndexOf(e,t,i){for(var a=i+1;a--;)if(e[a]===t)return a;return a}var nativeMax$4=Math.max,nativeMin$7=Math.min;function lastIndexOf(e,t,i){var a=e==null?0:e.length;if(!a)return-1;var r=a;return i!==void 0&&(r=(r=toInteger(i))<0?nativeMax$4(a+r,0):nativeMin$7(r,a-1)),t==t?strictLastIndexOf(e,t,r):baseFindIndex(e,baseIsNaN,r,!0)}var lowerCase=createCompounder((function(e,t,i){return e+(i?" ":"")+t.toLowerCase()})),lowerFirst=createCaseFirst("toLowerCase"),lt=createRelationalOperation(baseLt),lte=createRelationalOperation((function(e,t){return e<=t}));function mapKeys(e,t){var i={};return t=baseIteratee(t),baseForOwn(e,(function(a,r,c){baseAssignValue(i,t(a,r,c),a)})),i}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,t){return baseMatchesProperty(e,baseClone(t,CLONE_DEEP_FLAG))}var NAN=NaN;function baseMean(e,t){var i=e==null?0:e.length;return i?baseSum(e,t)/i:NAN}function mean(e){return baseMean(e,identity)}function meanBy(e,t){return baseMean(e,baseIteratee(t))}var merge=createAssigner((function(e,t,i){baseMerge(e,t,i)})),method=baseRest((function(e,t){return function(i){return baseInvoke(i,e,t)}})),methodOf=baseRest((function(e,t){return function(i){return baseInvoke(e,i,t)}}));function mixin$1(e,t,i){var a=keys(t),r=baseFunctions(t,a),c=!(isObject(i)&&"chain"in i&&!i.chain),f=isFunction(e);return arrayEach(r,(function(n){var o=t[n];e[n]=o,f&&(e.prototype[n]=function(){var s=this.__chain__;if(c||s){var u=e(this.__wrapped__);return(u.__actions__=copyArray(this.__actions__)).push({func:o,args:arguments,thisArg:e}),u.__chain__=s,u}return o.apply(e,arrayPush([this.value()],arguments))})})),e}var multiply=createMathOperation((function(e,t){return e*t}),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 t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function iteratorToArray(e){for(var t,i=[];!(t=e.next()).done;)i.push(t.value);return i}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 t=getTag(e);return(t==mapTag$1?mapToArray:t==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,t){var i=e.length;if(i)return isIndex(t+=t<0?i:0,i)?e[t]:void 0}function nth(e,t){return e&&e.length?baseNth(e,toInteger(t)):void 0}function nthArg(e){return e=toInteger(e),baseRest((function(t){return baseNth(t,e)}))}function baseSet(e,t,i,a){if(!isObject(e))return e;for(var r=-1,c=(t=castPath(t,e)).length,f=c-1,n=e;n!=null&&++r<c;){var o=toKey(t[r]),s=i;if(o==="__proto__"||o==="constructor"||o==="prototype")return e;if(r!=f){var u=n[o];(s=a?a(u,o,n):void 0)===void 0&&(s=isObject(u)?u:isIndex(t[r+1])?[]:{})}assignValue(n,o,s),n=n[o]}return e}function basePickBy(e,t,i){for(var a=-1,r=t.length,c={};++a<r;){var f=t[a],n=baseGet(e,f);i(n,f)&&baseSet(c,castPath(f,e),n)}return c}function pickBy(e,t){if(e==null)return{};var i=arrayMap(getAllKeysIn(e),(function(a){return[a]}));return t=baseIteratee(t),basePickBy(e,i,(function(a,r){return t(a,r[0])}))}function omitBy(e,t){return pickBy(e,negate(baseIteratee(t)))}function once(e){return before(2,e)}function createOver(e){return flatRest((function(t){return t=arrayMap(t,baseUnary(baseIteratee)),baseRest((function(i){var a=this;return e(t,(function(r){return apply(r,a,i)}))}))}))}var over=createOver(arrayMap),castRest=baseRest,nativeMin$6=Math.min,overArgs=castRest((function(e,t){var i=(t=t.length==1&&isArray(t[0])?arrayMap(t[0],baseUnary(baseIteratee)):arrayMap(baseFlatten(t,1),baseUnary(baseIteratee))).length;return baseRest((function(a){for(var r=-1,c=nativeMin$6(a.length,i);++r<c;)a[r]=t[r].call(this,a[r]);return apply(e,this,a)}))})),overEvery=createOver(arrayEvery),overSome=createOver(arraySome),MAX_SAFE_INTEGER$2=9007199254740991,nativeFloor$3=Math.floor;function baseRepeat(e,t){var i="";if(!e||t<1||t>MAX_SAFE_INTEGER$2)return i;do t%2&&(i+=e),(t=nativeFloor$3(t/2))&&(e+=e);while(t);return i}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 t=reUnicode.lastIndex=0;reUnicode.test(e);)++t;return t}function stringSize(e){return hasUnicode(e)?unicodeSize(e):asciiSize(e)}var nativeCeil$1=Math.ceil;function createPadding(e,t){var i=(t=t===void 0?" ":baseToString(t)).length;if(i<2)return i?baseRepeat(t,e):t;var a=baseRepeat(t,nativeCeil$1(e/stringSize(t)));return hasUnicode(t)?castSlice(stringToArray(a),0,e).join(""):a.slice(0,e)}var nativeCeil=Math.ceil,nativeFloor$2=Math.floor;function pad(e,t,i){e=toString(e);var a=(t=toInteger(t))?stringSize(e):0;if(!t||a>=t)return e;var r=(t-a)/2;return createPadding(nativeFloor$2(r),i)+e+createPadding(nativeCeil(r),i)}function padEnd(e,t,i){e=toString(e);var a=(t=toInteger(t))?stringSize(e):0;return t&&a<t?e+createPadding(t-a,i):e}function padStart(e,t,i){e=toString(e);var a=(t=toInteger(t))?stringSize(e):0;return t&&a<t?createPadding(t-a,i)+e:e}var reTrimStart$1=/^\s+/,nativeParseInt=root.parseInt;function parseInt$1(e,t,i){return i||t==null?t=0:t&&(t=+t),nativeParseInt(toString(e).replace(reTrimStart$1,""),t||0)}var WRAP_PARTIAL_FLAG=32,partial=baseRest((function(e,t){var i=replaceHolders(t,getHolder(partial));return createWrap(e,WRAP_PARTIAL_FLAG,void 0,t,i)}));partial.placeholder={};var WRAP_PARTIAL_RIGHT_FLAG=64,partialRight=baseRest((function(e,t){var i=replaceHolders(t,getHolder(partialRight));return createWrap(e,WRAP_PARTIAL_RIGHT_FLAG,void 0,t,i)}));partialRight.placeholder={};var partition=createAggregator((function(e,t,i){e[i?0:1].push(t)}),(function(){return[[],[]]}));function basePick(e,t){return basePickBy(e,t,(function(i,a){return hasIn(e,a)}))}var pick=flatRest((function(e,t){return e==null?{}:basePick(e,t)}));function wrapperPlant(e){for(var t,i=this;i instanceof baseLodash;){var a=wrapperClone(i);a.__index__=0,a.__values__=void 0,t?r.__wrapped__=a:t=a;var r=a;i=i.__wrapped__}return r.__wrapped__=e,t}function propertyOf(e){return function(t){return e==null?void 0:baseGet(e,t)}}function baseIndexOfWith(e,t,i,a){for(var r=i-1,c=e.length;++r<c;)if(a(e[r],t))return r;return-1}var arrayProto$3=Array.prototype,splice$1=arrayProto$3.splice;function basePullAll(e,t,i,a){var r=a?baseIndexOfWith:baseIndexOf,c=-1,f=t.length,n=e;for(e===t&&(t=copyArray(t)),i&&(n=arrayMap(e,baseUnary(i)));++c<f;)for(var o=0,s=t[c],u=i?i(s):s;(o=r(n,u,o,a))>-1;)n!==e&&splice$1.call(n,o,1),splice$1.call(e,o,1);return e}function pullAll(e,t){return e&&e.length&&t&&t.length?basePullAll(e,t):e}var pull=baseRest(pullAll);function pullAllBy(e,t,i){return e&&e.length&&t&&t.length?basePullAll(e,t,baseIteratee(i)):e}function pullAllWith(e,t,i){return e&&e.length&&t&&t.length?basePullAll(e,t,void 0,i):e}var arrayProto$2=Array.prototype,splice=arrayProto$2.splice;function basePullAt(e,t){for(var i=e?t.length:0,a=i-1;i--;){var r=t[i];if(i==a||r!==c){var c=r;isIndex(r)?splice.call(e,r,1):baseUnset(e,r)}}return e}var pullAt=flatRest((function(e,t){var i=e==null?0:e.length,a=baseAt(e,t);return basePullAt(e,arrayMap(t,(function(r){return isIndex(r,i)?+r:r})).sort(compareAscending)),a})),nativeFloor$1=Math.floor,nativeRandom$1=Math.random;function baseRandom(e,t){return e+nativeFloor$1(nativeRandom$1()*(t-e+1))}var freeParseFloat=parseFloat,nativeMin$5=Math.min,nativeRandom=Math.random;function random(e,t,i){if(i&&typeof i!="boolean"&&isIterateeCall(e,t,i)&&(t=i=void 0),i===void 0&&(typeof t=="boolean"?(i=t,t=void 0):typeof e=="boolean"&&(i=e,e=void 0)),e===void 0&&t===void 0?(e=0,t=1):(e=toFinite(e),t===void 0?(t=e,e=0):t=toFinite(t)),e>t){var a=e;e=t,t=a}if(i||e%1||t%1){var r=nativeRandom();return nativeMin$5(e+r*(t-e+freeParseFloat("1e-"+((r+"").length-1))),t)}return baseRandom(e,t)}var rangeRight=createRange(!0),WRAP_REARG_FLAG=256,rearg=flatRest((function(e,t){return createWrap(e,WRAP_REARG_FLAG,void 0,void 0,void 0,t)}));function baseReduce(e,t,i,a,r){return r(e,(function(c,f,n){i=a?(a=!1,c):t(i,c,f,n)})),i}function reduce(e,t,i){var a=isArray(e)?arrayReduce:baseReduce,r=arguments.length<3;return a(e,baseIteratee(t),i,r,baseEach)}function arrayReduceRight(e,t,i,a){var r=e==null?0:e.length;for(a&&r&&(i=e[--r]);r--;)i=t(i,e[r],r,e);return i}function reduceRight(e,t,i){var a=isArray(e)?arrayReduceRight:baseReduce,r=arguments.length<3;return a(e,baseIteratee(t),i,r,baseEachRight)}function reject(e,t){return(isArray(e)?arrayFilter:baseFilter)(e,negate(baseIteratee(t)))}function remove(e,t){var i=[];if(!e||!e.length)return i;var a=-1,r=[],c=e.length;for(t=baseIteratee(t);++a<c;){var f=e[a];t(f,a,e)&&(i.push(f),r.push(a))}return basePullAt(e,r),i}function repeat(e,t,i){return t=(i?isIterateeCall(e,t,i):t===void 0)?1:toInteger(t),baseRepeat(toString(e),t)}function replace(){var e=arguments,t=toString(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var FUNC_ERROR_TEXT$1="Expected a function";function rest(e,t){if(typeof e!="function")throw new TypeError(FUNC_ERROR_TEXT$1);return t=t===void 0?t:toInteger(t),baseRest(e,t)}function result(e,t,i){var a=-1,r=(t=castPath(t,e)).length;for(r||(r=1,e=void 0);++a<r;){var c=e?.[toKey(t[a])];c===void 0&&(a=r,c=i),e=isFunction(c)?c.call(e):c}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 t=e.length;return t?e[baseRandom(0,t-1)]:void 0}function baseSample(e){return arraySample(values(e))}function sample(e){return(isArray(e)?arraySample:baseSample)(e)}function shuffleSelf(e,t){var i=-1,a=e.length,r=a-1;for(t=t===void 0?a:t;++i<t;){var c=baseRandom(i,r),f=e[c];e[c]=e[i],e[i]=f}return e.length=t,e}function arraySampleSize(e,t){return shuffleSelf(copyArray(e),baseClamp(t,0,e.length))}function baseSampleSize(e,t){var i=values(e);return shuffleSelf(i,baseClamp(t,0,i.length))}function sampleSize(e,t,i){return t=(i?isIterateeCall(e,t,i):t===void 0)?1:toInteger(t),(isArray(e)?arraySampleSize:baseSampleSize)(e,t)}function set(e,t,i){return e==null?e:baseSet(e,t,i)}function setWith(e,t,i,a){return a=typeof a=="function"?a:void 0,e==null?e:baseSet(e,t,i,a)}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 t=getTag(e);return t==mapTag||t==setTag?e.size:baseKeys(e).length}function slice(e,t,i){var a=e==null?0:e.length;return a?(i&&typeof i!="number"&&isIterateeCall(e,t,i)?(t=0,i=a):(t=t==null?0:toInteger(t),i=i===void 0?a:toInteger(i)),baseSlice(e,t,i)):[]}var snakeCase=createCompounder((function(e,t,i){return e+(i?"_":"")+t.toLowerCase()})),MAX_ARRAY_LENGTH$4=4294967295,MAX_ARRAY_INDEX=MAX_ARRAY_LENGTH$4-1,nativeFloor=Math.floor,nativeMin$4=Math.min;function baseSortedIndexBy(e,t,i,a){var r=0,c=e==null?0:e.length;if(c===0)return 0;for(var f=(t=i(t))!=t,n=t===null,o=isSymbol(t),s=t===void 0;r<c;){var u=nativeFloor((r+c)/2),h=i(e[u]),l=h!==void 0,d=h===null,w=h==h,R=isSymbol(h);if(f)var q=a||w;else q=s?w&&(a||l):n?w&&l&&(a||!d):o?w&&l&&!d&&(a||!R):!d&&!R&&(a?h<=t:h<t);q?r=u+1:c=u}return nativeMin$4(c,MAX_ARRAY_INDEX)}var MAX_ARRAY_LENGTH$3=4294967295,HALF_MAX_ARRAY_LENGTH=MAX_ARRAY_LENGTH$3>>>1;function baseSortedIndex(e,t,i){var a=0,r=e==null?a:e.length;if(typeof t=="number"&&t==t&&r<=HALF_MAX_ARRAY_LENGTH){for(;a<r;){var c=a+r>>>1,f=e[c];f!==null&&!isSymbol(f)&&(i?f<=t:f<t)?a=c+1:r=c}return r}return baseSortedIndexBy(e,t,identity,i)}function sortedIndex(e,t){return baseSortedIndex(e,t)}function sortedIndexBy(e,t,i){return baseSortedIndexBy(e,t,baseIteratee(i))}function sortedIndexOf(e,t){var i=e==null?0:e.length;if(i){var a=baseSortedIndex(e,t);if(a<i&&eq(e[a],t))return a}return-1}function sortedLastIndex(e,t){return baseSortedIndex(e,t,!0)}function sortedLastIndexBy(e,t,i){return baseSortedIndexBy(e,t,baseIteratee(i),!0)}function sortedLastIndexOf(e,t){if(e!=null&&e.length){var i=baseSortedIndex(e,t,!0)-1;if(eq(e[i],t))return i}return-1}function baseSortedUniq(e,t){for(var i=-1,a=e.length,r=0,c=[];++i<a;){var f=e[i],n=t?t(f):f;if(!i||!eq(n,o)){var o=n;c[r++]=f===0?0:f}}return c}function sortedUniq(e){return e&&e.length?baseSortedUniq(e):[]}function sortedUniqBy(e,t){return e&&e.length?baseSortedUniq(e,baseIteratee(t)):[]}var MAX_ARRAY_LENGTH$2=4294967295;function split(e,t,i){return i&&typeof i!="number"&&isIterateeCall(e,t,i)&&(t=i=void 0),(i=i===void 0?MAX_ARRAY_LENGTH$2:i>>>0)?(e=toString(e))&&(typeof t=="string"||t!=null&&!isRegExp(t))&&!(t=baseToString(t))&&hasUnicode(e)?castSlice(stringToArray(e),0,i):e.split(t,i):[]}var FUNC_ERROR_TEXT="Expected a function",nativeMax$3=Math.max;function spread(e,t){if(typeof e!="function")throw new TypeError(FUNC_ERROR_TEXT);return t=t==null?0:nativeMax$3(toInteger(t),0),baseRest((function(i){var a=i[t],r=castSlice(i,0,t);return a&&arrayPush(r,a),apply(e,this,r)}))}var startCase=createCompounder((function(e,t,i){return e+(i?" ":"")+upperFirst(t)}));function startsWith(e,t,i){return e=toString(e),i=i==null?0:baseClamp(toInteger(i),0,e.length),t=baseToString(t),e.slice(i,i+t.length)==t}function stubObject(){return{}}function stubString(){return""}function stubTrue(){return!0}var subtract=createMathOperation((function(e,t){return e-t}),0);function sum(e){return e&&e.length?baseSum(e,identity):0}function tail(e){var t=e==null?0:e.length;return t?baseSlice(e,1,t):[]}function take(e,t,i){return e&&e.length?(t=i||t===void 0?1:toInteger(t),baseSlice(e,0,t<0?0:t)):[]}function takeRight(e,t,i){var a=e==null?0:e.length;return a?(t=i||t===void 0?1:toInteger(t),baseSlice(e,(t=a-t)<0?0:t,a)):[]}function takeRightWhile(e,t){return e&&e.length?baseWhile(e,baseIteratee(t),!1,!0):[]}function takeWhile(e,t){return e&&e.length?baseWhile(e,baseIteratee(t)):[]}function tap(e,t){return t(e),e}var objectProto$2=Object.prototype,hasOwnProperty$2=objectProto$2.hasOwnProperty;function customDefaultsAssignIn(e,t,i,a){return e===void 0||eq(e,objectProto$2[i])&&!hasOwnProperty$2.call(a,i)?t: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,t,i){var a=templateSettings.imports._.templateSettings||templateSettings;i&&isIterateeCall(e,t,i)&&(t=void 0),e=toString(e),t=assignWith({},t,a,customDefaultsAssignIn);var r=assignWith({},t.imports,a.imports,customDefaultsAssignIn),c=keys(r),f=baseValues(r,c);arrayEach(c,(function(q){if(reForbiddenIdentifierChars.test(q))throw new Error(INVALID_TEMPL_IMPORTS_ERROR_TEXT)}));var n,o,s=0,u=t.interpolate||reNoMatch,h="__p += '",l=RegExp((t.escape||reNoMatch).source+"|"+u.source+"|"+(u===reInterpolate?reEsTemplate:reNoMatch).source+"|"+(t.evaluate||reNoMatch).source+"|$","g"),d=hasOwnProperty$1.call(t,"sourceURL")?"//# sourceURL="+(t.sourceURL+"").replace(/\s/g," ")+`
|
|
4
|
-
`:"";e.replace(l,(function(q,A,M,I,$,S){return M||(M=I),h+=e.slice(s,S).replace(reUnescapedString,escapeStringChar),A&&(n=!0,h+=`' +
|
|
5
|
-
__e(`+A+`) +
|
|
6
|
-
'`),$&&(o=!0,h+=`';
|
|
7
|
-
`+$+`;
|
|
8
|
-
__p += '`),M&&(h+=`' +
|
|
9
|
-
((__t = (`+M+`)) == null ? '' : __t) +
|
|
10
|
-
'`),s=S+q.length,q})),h+=`';
|
|
11
|
-
`;var w=hasOwnProperty$1.call(t,"variable")&&t.variable;if(w){if(reForbiddenIdentifierChars.test(w))throw new Error(INVALID_TEMPL_VAR_ERROR_TEXT)}else h=`with (obj) {
|
|
12
|
-
`+h+`
|
|
13
|
-
}
|
|
14
|
-
`;h=(o?h.replace(reEmptyStringLeading,""):h).replace(reEmptyStringMiddle,"$1").replace(reEmptyStringTrailing,"$1;"),h="function("+(w||"obj")+`) {
|
|
15
|
-
`+(w?"":`obj || (obj = {});
|
|
16
|
-
`)+"var __t, __p = ''"+(n?", __e = _.escape":"")+(o?`, __j = Array.prototype.join;
|
|
17
|
-
function print() { __p += __j.call(arguments, '') }
|
|
18
|
-
`:`;
|
|
19
|
-
`)+h+`return __p
|
|
20
|
-
}`;var R=attempt((function(){return Function(c,d+"return "+h).apply(void 0,f)}));if(R.source=h,isError(R))throw R;return R}function thru(e,t){return t(e)}var MAX_SAFE_INTEGER$1=9007199254740991,MAX_ARRAY_LENGTH$1=4294967295,nativeMin$3=Math.min;function times(e,t){if((e=toInteger(e))<1||e>MAX_SAFE_INTEGER$1)return[];var i=MAX_ARRAY_LENGTH$1,a=nativeMin$3(e,MAX_ARRAY_LENGTH$1);t=castFunction(t),e-=MAX_ARRAY_LENGTH$1;for(var r=baseTimes(a,t);++i<e;)t(i);return r}function wrapperToIterator(){return this}function baseWrapperValue(e,t){var i=e;return i instanceof LazyWrapper&&(i=i.value()),arrayReduce(t,(function(a,r){return r.func.apply(r.thisArg,arrayPush([a],r.args))}),i)}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,t,i){var a=isArray(e),r=a||isBuffer(e)||isTypedArray$2(e);if(t=baseIteratee(t),i==null){var c=e&&e.constructor;i=r?a?new c:[]:isObject(e)&&isFunction(c)?baseCreate(getPrototype(e)):{}}return(r?arrayEach:baseForOwn)(e,(function(f,n,o){return t(i,f,n,o)})),i}function charsStartIndex(e,t){for(var i=-1,a=e.length;++i<a&&baseIndexOf(t,e[i],0)>-1;);return i}function trim(e,t,i){if((e=toString(e))&&(i||t===void 0))return baseTrim(e);if(!e||!(t=baseToString(t)))return e;var a=stringToArray(e),r=stringToArray(t),c=charsStartIndex(a,r),f=charsEndIndex(a,r)+1;return castSlice(a,c,f).join("")}var reTrimStart=/^\s+/;function trimStart(e,t,i){if((e=toString(e))&&(i||t===void 0))return e.replace(reTrimStart,"");if(!e||!(t=baseToString(t)))return e;var a=stringToArray(e),r=charsStartIndex(a,stringToArray(t));return castSlice(a,r).join("")}var DEFAULT_TRUNC_LENGTH=30,DEFAULT_TRUNC_OMISSION="...",reFlags=/\w*$/;function truncate(e,t){var i=DEFAULT_TRUNC_LENGTH,a=DEFAULT_TRUNC_OMISSION;if(isObject(t)){var r="separator"in t?t.separator:r;i="length"in t?toInteger(t.length):i,a="omission"in t?baseToString(t.omission):a}var c=(e=toString(e)).length;if(hasUnicode(e)){var f=stringToArray(e);c=f.length}if(i>=c)return e;var n=i-stringSize(a);if(n<1)return a;var o=f?castSlice(f,0,n).join(""):e.slice(0,n);if(r===void 0)return o+a;if(f&&(n+=o.length-n),isRegExp(r)){if(e.slice(n).search(r)){var s,u=o;for(r.global||(r=RegExp(r.source,toString(reFlags.exec(r))+"g")),r.lastIndex=0;s=r.exec(u);)var h=s.index;o=o.slice(0,h===void 0?n:h)}}else if(e.indexOf(baseToString(r),n)!=n){var l=o.lastIndexOf(r);l>-1&&(o=o.slice(0,l))}return o+a}function unary(e){return ary(e,1)}var htmlUnescapes={"&":"&","<":"<",">":">",""":'"',"'":"'"},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 t=last(e);return isArrayLikeObject(t)&&(t=void 0),baseUniq(baseFlatten(e,1,isArrayLikeObject,!0),baseIteratee(t))})),unionWith=baseRest((function(e){var t=last(e);return t=typeof t=="function"?t:void 0,baseUniq(baseFlatten(e,1,isArrayLikeObject,!0),void 0,t)}));function uniqWith(e,t){return t=typeof t=="function"?t:void 0,e&&e.length?baseUniq(e,void 0,t):[]}var idCounter=0;function uniqueId(e){var t=++idCounter;return toString(e)+t}function unset(e,t){return e==null||baseUnset(e,t)}var nativeMax$2=Math.max;function unzip(e){if(!e||!e.length)return[];var t=0;return e=arrayFilter(e,(function(i){if(isArrayLikeObject(i))return t=nativeMax$2(i.length,t),!0})),baseTimes(t,(function(i){return arrayMap(e,baseProperty(i))}))}function unzipWith(e,t){if(!e||!e.length)return[];var i=unzip(e);return t==null?i:arrayMap(i,(function(a){return apply(t,void 0,a)}))}function baseUpdate(e,t,i,a){return baseSet(e,t,i(baseGet(e,t)),a)}function update(e,t,i){return e==null?e:baseUpdate(e,t,castFunction(i))}function updateWith(e,t,i,a){return a=typeof a=="function"?a:void 0,e==null?e:baseUpdate(e,t,castFunction(i),a)}var upperCase=createCompounder((function(e,t,i){return e+(i?" ":"")+t.toUpperCase()}));function valuesIn(e){return e==null?[]:baseValues(e,keysIn(e))}var without=baseRest((function(e,t){return isArrayLikeObject(e)?baseDifference(e,t):[]}));function wrap(e,t){return partial(castFunction(t),e)}var wrapperAt=flatRest((function(e){var t=e.length,i=t?e[0]:0,a=this.__wrapped__,r=function(c){return baseAt(c,e)};return!(t>1||this.__actions__.length)&&a instanceof LazyWrapper&&isIndex(i)?((a=a.slice(i,+i+(t?1:0))).__actions__.push({func:thru,args:[r],thisArg:void 0}),new LodashWrapper(a,this.__chain__).thru((function(c){return t&&!c.length&&c.push(void 0),c}))):this.thru(r)}));function wrapperChain(){return chain(this)}function wrapperReverse(){var e=this.__wrapped__;if(e instanceof LazyWrapper){var t=e;return this.__actions__.length&&(t=new LazyWrapper(this)),(t=t.reverse()).__actions__.push({func:thru,args:[reverse],thisArg:void 0}),new LodashWrapper(t,this.__chain__)}return this.thru(reverse)}function baseXor(e,t,i){var a=e.length;if(a<2)return a?baseUniq(e[0]):[];for(var r=-1,c=Array(a);++r<a;)for(var f=e[r],n=-1;++n<a;)n!=r&&(c[r]=baseDifference(c[r]||f,e[n],t,i));return baseUniq(baseFlatten(c,1),t,i)}var xor$1=baseRest((function(e){return baseXor(arrayFilter(e,isArrayLikeObject))})),xorBy=baseRest((function(e){var t=last(e);return isArrayLikeObject(t)&&(t=void 0),baseXor(arrayFilter(e,isArrayLikeObject),baseIteratee(t))})),xorWith=baseRest((function(e){var t=last(e);return t=typeof t=="function"?t:void 0,baseXor(arrayFilter(e,isArrayLikeObject),void 0,t)})),zip=baseRest(unzip);function baseZipObject(e,t,i){for(var a=-1,r=e.length,c=t.length,f={};++a<r;){var n=a<c?t[a]:void 0;i(f,e[a],n)}return f}function zipObject(e,t){return baseZipObject(e||[],t||[],assignValue)}function zipObjectDeep(e,t){return baseZipObject(e||[],t||[],baseSet)}var zipWith=baseRest((function(e){var t=e.length,i=t>1?e[t-1]:void 0;return i=typeof i=="function"?(e.pop(),i):void 0,unzipWith(e,i)}));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$2={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,t,i){for(var a=-1,r=i.length;++a<r;){var c=i[a],f=c.size;switch(c.type){case"drop":e+=f;break;case"dropRight":t-=f;break;case"take":t=nativeMin$2(t,e+f);break;case"takeRight":e=nativeMax$1(e,t-f)}}return{start:e,end:t}}var LAZY_FILTER_FLAG$1=1,LAZY_MAP_FLAG=2,nativeMin$1=Math.min;function lazyValue(){var e=this.__wrapped__.value(),t=this.__dir__,i=isArray(e),a=t<0,r=i?e.length:0,c=getView(0,r,this.__views__),f=c.start,n=c.end,o=n-f,s=a?n:f-1,u=this.__iteratees__,h=u.length,l=0,d=nativeMin$1(o,this.__takeCount__);if(!i||!a&&r==o&&d==o)return baseWrapperValue(e,this.__actions__);var w=[];e:for(;o--&&l<d;){for(var R=-1,q=e[s+=t];++R<h;){var A=u[R],M=A.iteratee,I=A.type,$=M(q);if(I==LAZY_MAP_FLAG)q=$;else if(!$){if(I==LAZY_FILTER_FLAG$1)continue e;break e}}w[l++]=q}return w}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(t,i,a){if(a==null){var r=isObject(i),c=r&&keys(i),f=c&&c.length&&baseFunctions(i,c);(f?f.length:r)||(a=i,i=t,t=this)}return e(t,i,a)}})(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$2.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$2.cond,lodash$1.conforms=util$2.conforms,lodash$1.constant=util$2.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$2.flow,lodash$1.flowRight=util$2.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$2.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$2.matches,lodash$1.matchesProperty=util$2.matchesProperty,lodash$1.memoize=func.memoize,lodash$1.merge=object.merge,lodash$1.mergeWith=object.mergeWith,lodash$1.method=util$2.method,lodash$1.methodOf=util$2.methodOf,lodash$1.mixin=mixin,lodash$1.negate=negate,lodash$1.nthArg=util$2.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$2.over,lodash$1.overArgs=func.overArgs,lodash$1.overEvery=util$2.overEvery,lodash$1.overSome=util$2.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$2.property,lodash$1.propertyOf=util$2.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$2.range,lodash$1.rangeRight=util$2.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$2.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$2.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$2.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$2.stubArray,lodash$1.stubFalse=util$2.stubFalse,lodash$1.stubObject=util$2.stubObject,lodash$1.stubString=util$2.stubString,lodash$1.stubTrue=util$2.stubTrue,lodash$1.multiply=math.multiply,lodash$1.nth=array.nth,lodash$1.noop=util$2.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$2.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$2.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,t){hasOwnProperty.call(lodash$1.prototype,t)||(source[t]=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,t){LazyWrapper.prototype[e]=function(i){i=i===void 0?1:nativeMax(toInteger(i),0);var a=this.__filtered__&&!t?new LazyWrapper(this):this.clone();return a.__filtered__?a.__takeCount__=nativeMin(i,a.__takeCount__):a.__views__.push({size:nativeMin(i,MAX_ARRAY_LENGTH),type:e+(a.__dir__<0?"Right":"")}),a},LazyWrapper.prototype[e+"Right"]=function(i){return this.reverse()[e](i).reverse()}})),arrayEach(["filter","map","takeWhile"],(function(e,t){var i=t+1,a=i==LAZY_FILTER_FLAG||i==LAZY_WHILE_FLAG;LazyWrapper.prototype[e]=function(r){var c=this.clone();return c.__iteratees__.push({iteratee:baseIteratee(r),type:i}),c.__filtered__=c.__filtered__||a,c}})),arrayEach(["head","last"],(function(e,t){var i="take"+(t?"Right":"");LazyWrapper.prototype[e]=function(){return this[i](1).value()[0]}})),arrayEach(["initial","tail"],(function(e,t){var i="drop"+(t?"":"Right");LazyWrapper.prototype[e]=function(){return this.__filtered__?new LazyWrapper(this):this[i](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,t){return typeof e=="function"?new LazyWrapper(this):this.map((function(i){return baseInvoke(i,e,t)}))})),LazyWrapper.prototype.reject=function(e){return this.filter(negate(baseIteratee(e)))},LazyWrapper.prototype.slice=function(e,t){e=toInteger(e);var i=this;return i.__filtered__&&(e>0||t<0)?new LazyWrapper(i):(e<0?i=i.takeRight(-e):e&&(i=i.drop(e)),t!==void 0&&(i=(t=toInteger(t))<0?i.dropRight(-t):i.take(t-e)),i)},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,t){var i=/^(?:filter|find|map|reject)|While$/.test(t),a=/^(?:head|last)$/.test(t),r=lodash$1[a?"take"+(t=="last"?"Right":""):t],c=a||/^find/.test(t);r&&(lodash$1.prototype[t]=function(){var f=this.__wrapped__,n=a?[1]:arguments,o=f instanceof LazyWrapper,s=n[0],u=o||isArray(f),h=function(A){var M=r.apply(lodash$1,arrayPush([A],n));return a&&l?M[0]:M};u&&i&&typeof s=="function"&&s.length!=1&&(o=u=!1);var l=this.__chain__,d=!!this.__actions__.length,w=c&&!l,R=o&&!d;if(!c&&u){f=R?f:new LazyWrapper(this);var q=e.apply(f,n);return q.__actions__.push({func:thru,args:[h],thisArg:void 0}),new LodashWrapper(q,l)}return w&&R?e.apply(this,n):(q=this.thru(h),w?a?q.value()[0]:q.value():q)})})),arrayEach(["pop","push","shift","sort","splice","unshift"],(function(e){var t=arrayProto[e],i=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",a=/^(?:pop|shift)$/.test(e);lodash$1.prototype[e]=function(){var r=arguments;if(a&&!this.__chain__){var c=this.value();return t.apply(isArray(c)?c:[],r)}return this[i]((function(f){return t.apply(isArray(f)?f:[],r)}))}})),baseForOwn(LazyWrapper.prototype,(function(e,t){var i=lodash$1[t];if(i){var a=i.name+"";hasOwnProperty.call(realNames,a)||(realNames[a]=[]),realNames[a].push({name:t,func:i})}})),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$1={exports:{}},dist={},hasRequiredDist,hasRequiredSafeBuffer$1,hasRequiredBrowser$b;function requireDist(){return hasRequiredDist||(hasRequiredDist=1,(function(e){Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});for(var t={},i={byteLength:function(l){var d=o(l),w=d[0],R=d[1];return 3*(w+R)/4-R},toByteArray:function(l){var d,w,R=o(l),q=R[0],A=R[1],M=new c((function(S,C,T){return 3*(C+T)/4-T})(0,q,A)),I=0,$=A>0?q-4:q;for(w=0;w<$;w+=4)d=r[l.charCodeAt(w)]<<18|r[l.charCodeAt(w+1)]<<12|r[l.charCodeAt(w+2)]<<6|r[l.charCodeAt(w+3)],M[I++]=d>>16&255,M[I++]=d>>8&255,M[I++]=255&d;return A===2&&(d=r[l.charCodeAt(w)]<<2|r[l.charCodeAt(w+1)]>>4,M[I++]=255&d),A===1&&(d=r[l.charCodeAt(w)]<<10|r[l.charCodeAt(w+1)]<<4|r[l.charCodeAt(w+2)]>>2,M[I++]=d>>8&255,M[I++]=255&d),M},fromByteArray:function(l){for(var d,w=l.length,R=w%3,q=[],A=16383,M=0,I=w-R;M<I;M+=A)q.push(s(l,M,M+A>I?I:M+A));return R===1?(d=l[w-1],q.push(a[d>>2]+a[d<<4&63]+"==")):R===2&&(d=(l[w-2]<<8)+l[w-1],q.push(a[d>>10]+a[d>>4&63]+a[d<<2&63]+"=")),q.join("")}},a=[],r=[],c=typeof Uint8Array<"u"?Uint8Array:Array,f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=0;n<64;++n)a[n]=f[n],r[f.charCodeAt(n)]=n;function o(l){var d=l.length;if(d%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var w=l.indexOf("=");return w===-1&&(w=d),[w,w===d?0:4-w%4]}function s(l,d,w){for(var R,q,A=[],M=d;M<w;M+=3)R=(l[M]<<16&16711680)+(l[M+1]<<8&65280)+(255&l[M+2]),A.push(a[(q=R)>>18&63]+a[q>>12&63]+a[q>>6&63]+a[63&q]);return A.join("")}r[45]=62,r[95]=63;var u={read:function(l,d,w,R,q){var A,M,I=8*q-R-1,$=(1<<I)-1,S=$>>1,C=-7,T=w?q-1:0,v=w?-1:1,B=l[d+T];for(T+=v,A=B&(1<<-C)-1,B>>=-C,C+=I;C>0;A=256*A+l[d+T],T+=v,C-=8);for(M=A&(1<<-C)-1,A>>=-C,C+=R;C>0;M=256*M+l[d+T],T+=v,C-=8);if(A===0)A=1-S;else{if(A===$)return M?NaN:1/0*(B?-1:1);M+=Math.pow(2,R),A-=S}return(B?-1:1)*M*Math.pow(2,A-R)},write:function(l,d,w,R,q,A){var M,I,$,S=8*A-q-1,C=(1<<S)-1,T=C>>1,v=q===23?Math.pow(2,-24)-Math.pow(2,-77):0,B=R?0:A-1,p=R?1:-1,g=d<0||d===0&&1/d<0?1:0;for(d=Math.abs(d),isNaN(d)||d===1/0?(I=isNaN(d)?1:0,M=C):(M=Math.floor(Math.log(d)/Math.LN2),d*($=Math.pow(2,-M))<1&&(M--,$*=2),(d+=M+T>=1?v/$:v*Math.pow(2,1-T))*$>=2&&(M++,$/=2),M+T>=C?(I=0,M=C):M+T>=1?(I=(d*$-1)*Math.pow(2,q),M+=T):(I=d*Math.pow(2,T-1)*Math.pow(2,q),M=0));q>=8;l[w+B]=255&I,B+=p,I/=256,q-=8);for(M=M<<q|I,S+=q;S>0;l[w+B]=255&M,B+=p,M/=256,S-=8);l[w+B-p]|=128*g}};(function(l){const d=i,w=u,R=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;l.Buffer=S,l.SlowBuffer=function(E){return+E!=E&&(E=0),S.alloc(+E)},l.INSPECT_MAX_BYTES=50;const q=2147483647;l.kMaxLength=q;const{Uint8Array:A,ArrayBuffer:M,SharedArrayBuffer:I}=globalThis;function $(E){if(E>q)throw new RangeError('The value "'+E+'" is invalid for option "size"');const x=new A(E);return Object.setPrototypeOf(x,S.prototype),x}function S(E,x,L){if(typeof E=="number"){if(typeof x=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return v(E)}return C(E,x,L)}function C(E,x,L){if(typeof E=="string")return(function(H,Y){if(typeof Y=="string"&&Y!==""||(Y="utf8"),!S.isEncoding(Y))throw new TypeError("Unknown encoding: "+Y);const te=0|b(H,Y);let he=$(te);const ge=he.write(H,Y);return ge!==te&&(he=he.slice(0,ge)),he})(E,x);if(M.isView(E))return(function(H){if(fe(H,A)){const Y=new A(H);return p(Y.buffer,Y.byteOffset,Y.byteLength)}return B(H)})(E);if(E==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof E);if(fe(E,M)||E&&fe(E.buffer,M)||I!==void 0&&(fe(E,I)||E&&fe(E.buffer,I)))return p(E,x,L);if(typeof E=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const W=E.valueOf&&E.valueOf();if(W!=null&&W!==E)return S.from(W,x,L);const z=(function(H){if(S.isBuffer(H)){const Y=0|g(H.length),te=$(Y);return te.length===0||H.copy(te,0,0,Y),te}if(H.length!==void 0)return typeof H.length!="number"||Be(H.length)?$(0):B(H);if(H.type==="Buffer"&&Array.isArray(H.data))return B(H.data)})(E);if(z)return z;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof E[Symbol.toPrimitive]=="function")return S.from(E[Symbol.toPrimitive]("string"),x,L);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof E)}function T(E){if(typeof E!="number")throw new TypeError('"size" argument must be of type number');if(E<0)throw new RangeError('The value "'+E+'" is invalid for option "size"')}function v(E){return T(E),$(E<0?0:0|g(E))}function B(E){const x=E.length<0?0:0|g(E.length),L=$(x);for(let W=0;W<x;W+=1)L[W]=255&E[W];return L}function p(E,x,L){if(x<0||E.byteLength<x)throw new RangeError('"offset" is outside of buffer bounds');if(E.byteLength<x+(L||0))throw new RangeError('"length" is outside of buffer bounds');let W;return W=x===void 0&&L===void 0?new A(E):L===void 0?new A(E,x):new A(E,x,L),Object.setPrototypeOf(W,S.prototype),W}function g(E){if(E>=q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+q.toString(16)+" bytes");return 0|E}function b(E,x){if(S.isBuffer(E))return E.length;if(M.isView(E)||fe(E,M))return E.byteLength;if(typeof E!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof E);const L=E.length,W=arguments.length>2&&arguments[2]===!0;if(!W&&L===0)return 0;let z=!1;for(;;)switch(x){case"ascii":case"latin1":case"binary":return L;case"utf8":case"utf-8":return ue(E).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*L;case"hex":return L>>>1;case"base64":return qe(E).length;default:if(z)return W?-1:ue(E).length;x=(""+x).toLowerCase(),z=!0}}function y(E,x,L){let W=!1;if((x===void 0||x<0)&&(x=0),x>this.length||((L===void 0||L>this.length)&&(L=this.length),L<=0)||(L>>>=0)<=(x>>>=0))return"";for(E||(E="utf8");;)switch(E){case"hex":return J(this,x,L);case"utf8":case"utf-8":return D(this,x,L);case"ascii":return K(this,x,L);case"latin1":case"binary":return ee(this,x,L);case"base64":return P(this,x,L);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return V(this,x,L);default:if(W)throw new TypeError("Unknown encoding: "+E);E=(E+"").toLowerCase(),W=!0}}function m(E,x,L){const W=E[x];E[x]=E[L],E[L]=W}function _(E,x,L,W,z){if(E.length===0)return-1;if(typeof L=="string"?(W=L,L=0):L>2147483647?L=2147483647:L<-2147483648&&(L=-2147483648),Be(L=+L)&&(L=z?0:E.length-1),L<0&&(L=E.length+L),L>=E.length){if(z)return-1;L=E.length-1}else if(L<0){if(!z)return-1;L=0}if(typeof x=="string"&&(x=S.from(x,W)),S.isBuffer(x))return x.length===0?-1:k(E,x,L,W,z);if(typeof x=="number")return x&=255,typeof A.prototype.indexOf=="function"?z?A.prototype.indexOf.call(E,x,L):A.prototype.lastIndexOf.call(E,x,L):k(E,[x],L,W,z);throw new TypeError("val must be string, number or Buffer")}function k(E,x,L,W,z){let H,Y=1,te=E.length,he=x.length;if(W!==void 0&&((W=String(W).toLowerCase())==="ucs2"||W==="ucs-2"||W==="utf16le"||W==="utf-16le")){if(E.length<2||x.length<2)return-1;Y=2,te/=2,he/=2,L/=2}function ge(ne,ve){return Y===1?ne[ve]:ne.readUInt16BE(ve*Y)}if(z){let ne=-1;for(H=L;H<te;H++)if(ge(E,H)===ge(x,ne===-1?0:H-ne)){if(ne===-1&&(ne=H),H-ne+1===he)return ne*Y}else ne!==-1&&(H-=H-ne),ne=-1}else for(L+he>te&&(L=te-he),H=L;H>=0;H--){let ne=!0;for(let ve=0;ve<he;ve++)if(ge(E,H+ve)!==ge(x,ve)){ne=!1;break}if(ne)return H}return-1}function O(E,x,L,W){L=Number(L)||0;const z=E.length-L;W?(W=Number(W))>z&&(W=z):W=z;const H=x.length;let Y;for(W>H/2&&(W=H/2),Y=0;Y<W;++Y){const te=parseInt(x.substr(2*Y,2),16);if(Be(te))return Y;E[L+Y]=te}return Y}function F(E,x,L,W){return $e(ue(x,E.length-L),E,L,W)}function j(E,x,L,W){return $e((function(z){const H=[];for(let Y=0;Y<z.length;++Y)H.push(255&z.charCodeAt(Y));return H})(x),E,L,W)}function N(E,x,L,W){return $e(qe(x),E,L,W)}function U(E,x,L,W){return $e((function(z,H){let Y,te,he;const ge=[];for(let ne=0;ne<z.length&&!((H-=2)<0);++ne)Y=z.charCodeAt(ne),te=Y>>8,he=Y%256,ge.push(he),ge.push(te);return ge})(x,E.length-L),E,L,W)}function P(E,x,L){return x===0&&L===E.length?d.fromByteArray(E):d.fromByteArray(E.slice(x,L))}function D(E,x,L){L=Math.min(E.length,L);const W=[];let z=x;for(;z<L;){const H=E[z];let Y=null,te=H>239?4:H>223?3:H>191?2:1;if(z+te<=L){let he,ge,ne,ve;switch(te){case 1:H<128&&(Y=H);break;case 2:he=E[z+1],(192&he)==128&&(ve=(31&H)<<6|63&he,ve>127&&(Y=ve));break;case 3:he=E[z+1],ge=E[z+2],(192&he)==128&&(192&ge)==128&&(ve=(15&H)<<12|(63&he)<<6|63&ge,ve>2047&&(ve<55296||ve>57343)&&(Y=ve));break;case 4:he=E[z+1],ge=E[z+2],ne=E[z+3],(192&he)==128&&(192&ge)==128&&(192&ne)==128&&(ve=(15&H)<<18|(63&he)<<12|(63&ge)<<6|63&ne,ve>65535&&ve<1114112&&(Y=ve))}}Y===null?(Y=65533,te=1):Y>65535&&(Y-=65536,W.push(Y>>>10&1023|55296),Y=56320|1023&Y),W.push(Y),z+=te}return(function(H){const Y=H.length;if(Y<=G)return String.fromCharCode.apply(String,H);let te="",he=0;for(;he<Y;)te+=String.fromCharCode.apply(String,H.slice(he,he+=G));return te})(W)}S.TYPED_ARRAY_SUPPORT=(function(){try{const E=new A(1),x={foo:function(){return 42}};return Object.setPrototypeOf(x,A.prototype),Object.setPrototypeOf(E,x),E.foo()===42}catch{return!1}})(),S.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(S.prototype,"parent",{enumerable:!0,get:function(){if(S.isBuffer(this))return this.buffer}}),Object.defineProperty(S.prototype,"offset",{enumerable:!0,get:function(){if(S.isBuffer(this))return this.byteOffset}}),S.poolSize=8192,S.from=function(E,x,L){return C(E,x,L)},Object.setPrototypeOf(S.prototype,A.prototype),Object.setPrototypeOf(S,A),S.alloc=function(E,x,L){return(function(W,z,H){return T(W),W<=0?$(W):z!==void 0?typeof H=="string"?$(W).fill(z,H):$(W).fill(z):$(W)})(E,x,L)},S.allocUnsafe=function(E){return v(E)},S.allocUnsafeSlow=function(E){return v(E)},S.isBuffer=function(E){return E!=null&&E._isBuffer===!0&&E!==S.prototype},S.compare=function(E,x){if(fe(E,A)&&(E=S.from(E,E.offset,E.byteLength)),fe(x,A)&&(x=S.from(x,x.offset,x.byteLength)),!S.isBuffer(E)||!S.isBuffer(x))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(E===x)return 0;let L=E.length,W=x.length;for(let z=0,H=Math.min(L,W);z<H;++z)if(E[z]!==x[z]){L=E[z],W=x[z];break}return L<W?-1:W<L?1:0},S.isEncoding=function(E){switch(String(E).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}},S.concat=function(E,x){if(!Array.isArray(E))throw new TypeError('"list" argument must be an Array of Buffers');if(E.length===0)return S.alloc(0);let L;if(x===void 0)for(x=0,L=0;L<E.length;++L)x+=E[L].length;const W=S.allocUnsafe(x);let z=0;for(L=0;L<E.length;++L){let H=E[L];if(fe(H,A))z+H.length>W.length?(S.isBuffer(H)||(H=S.from(H)),H.copy(W,z)):A.prototype.set.call(W,H,z);else{if(!S.isBuffer(H))throw new TypeError('"list" argument must be an Array of Buffers');H.copy(W,z)}z+=H.length}return W},S.byteLength=b,S.prototype._isBuffer=!0,S.prototype.swap16=function(){const E=this.length;if(E%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let x=0;x<E;x+=2)m(this,x,x+1);return this},S.prototype.swap32=function(){const E=this.length;if(E%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let x=0;x<E;x+=4)m(this,x,x+3),m(this,x+1,x+2);return this},S.prototype.swap64=function(){const E=this.length;if(E%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let x=0;x<E;x+=8)m(this,x,x+7),m(this,x+1,x+6),m(this,x+2,x+5),m(this,x+3,x+4);return this},S.prototype.toString=function(){const E=this.length;return E===0?"":arguments.length===0?D(this,0,E):y.apply(this,arguments)},S.prototype.toLocaleString=S.prototype.toString,S.prototype.equals=function(E){if(!S.isBuffer(E))throw new TypeError("Argument must be a Buffer");return this===E||S.compare(this,E)===0},S.prototype.inspect=function(){let E="";const x=l.INSPECT_MAX_BYTES;return E=this.toString("hex",0,x).replace(/(.{2})/g,"$1 ").trim(),this.length>x&&(E+=" ... "),"<Buffer "+E+">"},R&&(S.prototype[R]=S.prototype.inspect),S.prototype.compare=function(E,x,L,W,z){if(fe(E,A)&&(E=S.from(E,E.offset,E.byteLength)),!S.isBuffer(E))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof E);if(x===void 0&&(x=0),L===void 0&&(L=E?E.length:0),W===void 0&&(W=0),z===void 0&&(z=this.length),x<0||L>E.length||W<0||z>this.length)throw new RangeError("out of range index");if(W>=z&&x>=L)return 0;if(W>=z)return-1;if(x>=L)return 1;if(this===E)return 0;let H=(z>>>=0)-(W>>>=0),Y=(L>>>=0)-(x>>>=0);const te=Math.min(H,Y),he=this.slice(W,z),ge=E.slice(x,L);for(let ne=0;ne<te;++ne)if(he[ne]!==ge[ne]){H=he[ne],Y=ge[ne];break}return H<Y?-1:Y<H?1:0},S.prototype.includes=function(E,x,L){return this.indexOf(E,x,L)!==-1},S.prototype.indexOf=function(E,x,L){return _(this,E,x,L,!0)},S.prototype.lastIndexOf=function(E,x,L){return _(this,E,x,L,!1)},S.prototype.write=function(E,x,L,W){if(x===void 0)W="utf8",L=this.length,x=0;else if(L===void 0&&typeof x=="string")W=x,L=this.length,x=0;else{if(!isFinite(x))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");x>>>=0,isFinite(L)?(L>>>=0,W===void 0&&(W="utf8")):(W=L,L=void 0)}const z=this.length-x;if((L===void 0||L>z)&&(L=z),E.length>0&&(L<0||x<0)||x>this.length)throw new RangeError("Attempt to write outside buffer bounds");W||(W="utf8");let H=!1;for(;;)switch(W){case"hex":return O(this,E,x,L);case"utf8":case"utf-8":return F(this,E,x,L);case"ascii":case"latin1":case"binary":return j(this,E,x,L);case"base64":return N(this,E,x,L);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return U(this,E,x,L);default:if(H)throw new TypeError("Unknown encoding: "+W);W=(""+W).toLowerCase(),H=!0}},S.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const G=4096;function K(E,x,L){let W="";L=Math.min(E.length,L);for(let z=x;z<L;++z)W+=String.fromCharCode(127&E[z]);return W}function ee(E,x,L){let W="";L=Math.min(E.length,L);for(let z=x;z<L;++z)W+=String.fromCharCode(E[z]);return W}function J(E,x,L){const W=E.length;(!x||x<0)&&(x=0),(!L||L<0||L>W)&&(L=W);let z="";for(let H=x;H<L;++H)z+=Me[E[H]];return z}function V(E,x,L){const W=E.slice(x,L);let z="";for(let H=0;H<W.length-1;H+=2)z+=String.fromCharCode(W[H]+256*W[H+1]);return z}function Q(E,x,L){if(E%1!=0||E<0)throw new RangeError("offset is not uint");if(E+x>L)throw new RangeError("Trying to access beyond buffer length")}function X(E,x,L,W,z,H){if(!S.isBuffer(E))throw new TypeError('"buffer" argument must be a Buffer instance');if(x>z||x<H)throw new RangeError('"value" argument is out of bounds');if(L+W>E.length)throw new RangeError("Index out of range")}function Z(E,x,L,W,z){ye(x,W,z,E,L,7);let H=Number(x&BigInt(4294967295));E[L++]=H,H>>=8,E[L++]=H,H>>=8,E[L++]=H,H>>=8,E[L++]=H;let Y=Number(x>>BigInt(32)&BigInt(4294967295));return E[L++]=Y,Y>>=8,E[L++]=Y,Y>>=8,E[L++]=Y,Y>>=8,E[L++]=Y,L}function ae(E,x,L,W,z){ye(x,W,z,E,L,7);let H=Number(x&BigInt(4294967295));E[L+7]=H,H>>=8,E[L+6]=H,H>>=8,E[L+5]=H,H>>=8,E[L+4]=H;let Y=Number(x>>BigInt(32)&BigInt(4294967295));return E[L+3]=Y,Y>>=8,E[L+2]=Y,Y>>=8,E[L+1]=Y,Y>>=8,E[L]=Y,L+8}function pe(E,x,L,W,z,H){if(L+W>E.length)throw new RangeError("Index out of range");if(L<0)throw new RangeError("Index out of range")}function ie(E,x,L,W,z){return x=+x,L>>>=0,z||pe(E,0,L,4),w.write(E,x,L,W,23,4),L+4}function be(E,x,L,W,z){return x=+x,L>>>=0,z||pe(E,0,L,8),w.write(E,x,L,W,52,8),L+8}S.prototype.slice=function(E,x){const L=this.length;(E=~~E)<0?(E+=L)<0&&(E=0):E>L&&(E=L),(x=x===void 0?L:~~x)<0?(x+=L)<0&&(x=0):x>L&&(x=L),x<E&&(x=E);const W=this.subarray(E,x);return Object.setPrototypeOf(W,S.prototype),W},S.prototype.readUintLE=S.prototype.readUIntLE=function(E,x,L){E>>>=0,x>>>=0,L||Q(E,x,this.length);let W=this[E],z=1,H=0;for(;++H<x&&(z*=256);)W+=this[E+H]*z;return W},S.prototype.readUintBE=S.prototype.readUIntBE=function(E,x,L){E>>>=0,x>>>=0,L||Q(E,x,this.length);let W=this[E+--x],z=1;for(;x>0&&(z*=256);)W+=this[E+--x]*z;return W},S.prototype.readUint8=S.prototype.readUInt8=function(E,x){return E>>>=0,x||Q(E,1,this.length),this[E]},S.prototype.readUint16LE=S.prototype.readUInt16LE=function(E,x){return E>>>=0,x||Q(E,2,this.length),this[E]|this[E+1]<<8},S.prototype.readUint16BE=S.prototype.readUInt16BE=function(E,x){return E>>>=0,x||Q(E,2,this.length),this[E]<<8|this[E+1]},S.prototype.readUint32LE=S.prototype.readUInt32LE=function(E,x){return E>>>=0,x||Q(E,4,this.length),(this[E]|this[E+1]<<8|this[E+2]<<16)+16777216*this[E+3]},S.prototype.readUint32BE=S.prototype.readUInt32BE=function(E,x){return E>>>=0,x||Q(E,4,this.length),16777216*this[E]+(this[E+1]<<16|this[E+2]<<8|this[E+3])},S.prototype.readBigUInt64LE=ce((function(E){se(E>>>=0,"offset");const x=this[E],L=this[E+7];x!==void 0&&L!==void 0||le(E,this.length-8);const W=x+256*this[++E]+65536*this[++E]+this[++E]*2**24,z=this[++E]+256*this[++E]+65536*this[++E]+L*2**24;return BigInt(W)+(BigInt(z)<<BigInt(32))})),S.prototype.readBigUInt64BE=ce((function(E){se(E>>>=0,"offset");const x=this[E],L=this[E+7];x!==void 0&&L!==void 0||le(E,this.length-8);const W=x*2**24+65536*this[++E]+256*this[++E]+this[++E],z=this[++E]*2**24+65536*this[++E]+256*this[++E]+L;return(BigInt(W)<<BigInt(32))+BigInt(z)})),S.prototype.readIntLE=function(E,x,L){E>>>=0,x>>>=0,L||Q(E,x,this.length);let W=this[E],z=1,H=0;for(;++H<x&&(z*=256);)W+=this[E+H]*z;return z*=128,W>=z&&(W-=Math.pow(2,8*x)),W},S.prototype.readIntBE=function(E,x,L){E>>>=0,x>>>=0,L||Q(E,x,this.length);let W=x,z=1,H=this[E+--W];for(;W>0&&(z*=256);)H+=this[E+--W]*z;return z*=128,H>=z&&(H-=Math.pow(2,8*x)),H},S.prototype.readInt8=function(E,x){return E>>>=0,x||Q(E,1,this.length),128&this[E]?-1*(255-this[E]+1):this[E]},S.prototype.readInt16LE=function(E,x){E>>>=0,x||Q(E,2,this.length);const L=this[E]|this[E+1]<<8;return 32768&L?4294901760|L:L},S.prototype.readInt16BE=function(E,x){E>>>=0,x||Q(E,2,this.length);const L=this[E+1]|this[E]<<8;return 32768&L?4294901760|L:L},S.prototype.readInt32LE=function(E,x){return E>>>=0,x||Q(E,4,this.length),this[E]|this[E+1]<<8|this[E+2]<<16|this[E+3]<<24},S.prototype.readInt32BE=function(E,x){return E>>>=0,x||Q(E,4,this.length),this[E]<<24|this[E+1]<<16|this[E+2]<<8|this[E+3]},S.prototype.readBigInt64LE=ce((function(E){se(E>>>=0,"offset");const x=this[E],L=this[E+7];x!==void 0&&L!==void 0||le(E,this.length-8);const W=this[E+4]+256*this[E+5]+65536*this[E+6]+(L<<24);return(BigInt(W)<<BigInt(32))+BigInt(x+256*this[++E]+65536*this[++E]+this[++E]*2**24)})),S.prototype.readBigInt64BE=ce((function(E){se(E>>>=0,"offset");const x=this[E],L=this[E+7];x!==void 0&&L!==void 0||le(E,this.length-8);const W=(x<<24)+65536*this[++E]+256*this[++E]+this[++E];return(BigInt(W)<<BigInt(32))+BigInt(this[++E]*2**24+65536*this[++E]+256*this[++E]+L)})),S.prototype.readFloatLE=function(E,x){return E>>>=0,x||Q(E,4,this.length),w.read(this,E,!0,23,4)},S.prototype.readFloatBE=function(E,x){return E>>>=0,x||Q(E,4,this.length),w.read(this,E,!1,23,4)},S.prototype.readDoubleLE=function(E,x){return E>>>=0,x||Q(E,8,this.length),w.read(this,E,!0,52,8)},S.prototype.readDoubleBE=function(E,x){return E>>>=0,x||Q(E,8,this.length),w.read(this,E,!1,52,8)},S.prototype.writeUintLE=S.prototype.writeUIntLE=function(E,x,L,W){E=+E,x>>>=0,L>>>=0,!W&&X(this,E,x,L,Math.pow(2,8*L)-1,0);let z=1,H=0;for(this[x]=255&E;++H<L&&(z*=256);)this[x+H]=E/z&255;return x+L},S.prototype.writeUintBE=S.prototype.writeUIntBE=function(E,x,L,W){E=+E,x>>>=0,L>>>=0,!W&&X(this,E,x,L,Math.pow(2,8*L)-1,0);let z=L-1,H=1;for(this[x+z]=255&E;--z>=0&&(H*=256);)this[x+z]=E/H&255;return x+L},S.prototype.writeUint8=S.prototype.writeUInt8=function(E,x,L){return E=+E,x>>>=0,L||X(this,E,x,1,255,0),this[x]=255&E,x+1},S.prototype.writeUint16LE=S.prototype.writeUInt16LE=function(E,x,L){return E=+E,x>>>=0,L||X(this,E,x,2,65535,0),this[x]=255&E,this[x+1]=E>>>8,x+2},S.prototype.writeUint16BE=S.prototype.writeUInt16BE=function(E,x,L){return E=+E,x>>>=0,L||X(this,E,x,2,65535,0),this[x]=E>>>8,this[x+1]=255&E,x+2},S.prototype.writeUint32LE=S.prototype.writeUInt32LE=function(E,x,L){return E=+E,x>>>=0,L||X(this,E,x,4,4294967295,0),this[x+3]=E>>>24,this[x+2]=E>>>16,this[x+1]=E>>>8,this[x]=255&E,x+4},S.prototype.writeUint32BE=S.prototype.writeUInt32BE=function(E,x,L){return E=+E,x>>>=0,L||X(this,E,x,4,4294967295,0),this[x]=E>>>24,this[x+1]=E>>>16,this[x+2]=E>>>8,this[x+3]=255&E,x+4},S.prototype.writeBigUInt64LE=ce((function(E,x=0){return Z(this,E,x,BigInt(0),BigInt("0xffffffffffffffff"))})),S.prototype.writeBigUInt64BE=ce((function(E,x=0){return ae(this,E,x,BigInt(0),BigInt("0xffffffffffffffff"))})),S.prototype.writeIntLE=function(E,x,L,W){if(E=+E,x>>>=0,!W){const te=Math.pow(2,8*L-1);X(this,E,x,L,te-1,-te)}let z=0,H=1,Y=0;for(this[x]=255&E;++z<L&&(H*=256);)E<0&&Y===0&&this[x+z-1]!==0&&(Y=1),this[x+z]=(E/H|0)-Y&255;return x+L},S.prototype.writeIntBE=function(E,x,L,W){if(E=+E,x>>>=0,!W){const te=Math.pow(2,8*L-1);X(this,E,x,L,te-1,-te)}let z=L-1,H=1,Y=0;for(this[x+z]=255&E;--z>=0&&(H*=256);)E<0&&Y===0&&this[x+z+1]!==0&&(Y=1),this[x+z]=(E/H|0)-Y&255;return x+L},S.prototype.writeInt8=function(E,x,L){return E=+E,x>>>=0,L||X(this,E,x,1,127,-128),E<0&&(E=255+E+1),this[x]=255&E,x+1},S.prototype.writeInt16LE=function(E,x,L){return E=+E,x>>>=0,L||X(this,E,x,2,32767,-32768),this[x]=255&E,this[x+1]=E>>>8,x+2},S.prototype.writeInt16BE=function(E,x,L){return E=+E,x>>>=0,L||X(this,E,x,2,32767,-32768),this[x]=E>>>8,this[x+1]=255&E,x+2},S.prototype.writeInt32LE=function(E,x,L){return E=+E,x>>>=0,L||X(this,E,x,4,2147483647,-2147483648),this[x]=255&E,this[x+1]=E>>>8,this[x+2]=E>>>16,this[x+3]=E>>>24,x+4},S.prototype.writeInt32BE=function(E,x,L){return E=+E,x>>>=0,L||X(this,E,x,4,2147483647,-2147483648),E<0&&(E=4294967295+E+1),this[x]=E>>>24,this[x+1]=E>>>16,this[x+2]=E>>>8,this[x+3]=255&E,x+4},S.prototype.writeBigInt64LE=ce((function(E,x=0){return Z(this,E,x,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),S.prototype.writeBigInt64BE=ce((function(E,x=0){return ae(this,E,x,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),S.prototype.writeFloatLE=function(E,x,L){return ie(this,E,x,!0,L)},S.prototype.writeFloatBE=function(E,x,L){return ie(this,E,x,!1,L)},S.prototype.writeDoubleLE=function(E,x,L){return be(this,E,x,!0,L)},S.prototype.writeDoubleBE=function(E,x,L){return be(this,E,x,!1,L)},S.prototype.copy=function(E,x,L,W){if(!S.isBuffer(E))throw new TypeError("argument should be a Buffer");if(L||(L=0),W||W===0||(W=this.length),x>=E.length&&(x=E.length),x||(x=0),W>0&&W<L&&(W=L),W===L||E.length===0||this.length===0)return 0;if(x<0)throw new RangeError("targetStart out of bounds");if(L<0||L>=this.length)throw new RangeError("Index out of range");if(W<0)throw new RangeError("sourceEnd out of bounds");W>this.length&&(W=this.length),E.length-x<W-L&&(W=E.length-x+L);const z=W-L;return this===E&&typeof A.prototype.copyWithin=="function"?this.copyWithin(x,L,W):A.prototype.set.call(E,this.subarray(L,W),x),z},S.prototype.fill=function(E,x,L,W){if(typeof E=="string"){if(typeof x=="string"?(W=x,x=0,L=this.length):typeof L=="string"&&(W=L,L=this.length),W!==void 0&&typeof W!="string")throw new TypeError("encoding must be a string");if(typeof W=="string"&&!S.isEncoding(W))throw new TypeError("Unknown encoding: "+W);if(E.length===1){const H=E.charCodeAt(0);(W==="utf8"&&H<128||W==="latin1")&&(E=H)}}else typeof E=="number"?E&=255:typeof E=="boolean"&&(E=Number(E));if(x<0||this.length<x||this.length<L)throw new RangeError("Out of range index");if(L<=x)return this;let z;if(x>>>=0,L=L===void 0?this.length:L>>>0,E||(E=0),typeof E=="number")for(z=x;z<L;++z)this[z]=E;else{const H=S.isBuffer(E)?E:S.from(E,W),Y=H.length;if(Y===0)throw new TypeError('The value "'+E+'" is invalid for argument "value"');for(z=0;z<L-x;++z)this[z+x]=H[z%Y]}return this};const oe={};function re(E,x,L){oe[E]=class extends L{constructor(){super(),Object.defineProperty(this,"message",{value:x.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${E}]`,this.stack,delete this.name}get code(){return E}set code(W){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:W,writable:!0})}toString(){return`${this.name} [${E}]: ${this.message}`}}}function de(E){let x="",L=E.length;const W=E[0]==="-"?1:0;for(;L>=W+4;L-=3)x=`_${E.slice(L-3,L)}${x}`;return`${E.slice(0,L)}${x}`}function ye(E,x,L,W,z,H){if(E>L||E<x){const Y=typeof x=="bigint"?"n":"";let te;throw te=x===0||x===BigInt(0)?`>= 0${Y} and < 2${Y} ** ${8*(H+1)}${Y}`:`>= -(2${Y} ** ${8*(H+1)-1}${Y}) and < 2 ** ${8*(H+1)-1}${Y}`,new oe.ERR_OUT_OF_RANGE("value",te,E)}(function(Y,te,he){se(te,"offset"),Y[te]!==void 0&&Y[te+he]!==void 0||le(te,Y.length-(he+1))})(W,z,H)}function se(E,x){if(typeof E!="number")throw new oe.ERR_INVALID_ARG_TYPE(x,"number",E)}function le(E,x,L){throw Math.floor(E)!==E?(se(E,L),new oe.ERR_OUT_OF_RANGE("offset","an integer",E)):x<0?new oe.ERR_BUFFER_OUT_OF_BOUNDS:new oe.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${x}`,E)}re("ERR_BUFFER_OUT_OF_BOUNDS",(function(E){return E?`${E} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),re("ERR_INVALID_ARG_TYPE",(function(E,x){return`The "${E}" argument must be of type number. Received type ${typeof x}`}),TypeError),re("ERR_OUT_OF_RANGE",(function(E,x,L){let W=`The value of "${E}" is out of range.`,z=L;return Number.isInteger(L)&&Math.abs(L)>2**32?z=de(String(L)):typeof L=="bigint"&&(z=String(L),(L>BigInt(2)**BigInt(32)||L<-(BigInt(2)**BigInt(32)))&&(z=de(z)),z+="n"),W+=` It must be ${x}. Received ${z}`,W}),RangeError);const Re=/[^+/0-9A-Za-z-_]/g;function ue(E,x){let L;x=x||1/0;const W=E.length;let z=null;const H=[];for(let Y=0;Y<W;++Y){if(L=E.charCodeAt(Y),L>55295&&L<57344){if(!z){if(L>56319){(x-=3)>-1&&H.push(239,191,189);continue}if(Y+1===W){(x-=3)>-1&&H.push(239,191,189);continue}z=L;continue}if(L<56320){(x-=3)>-1&&H.push(239,191,189),z=L;continue}L=65536+(z-55296<<10|L-56320)}else z&&(x-=3)>-1&&H.push(239,191,189);if(z=null,L<128){if((x-=1)<0)break;H.push(L)}else if(L<2048){if((x-=2)<0)break;H.push(L>>6|192,63&L|128)}else if(L<65536){if((x-=3)<0)break;H.push(L>>12|224,L>>6&63|128,63&L|128)}else{if(!(L<1114112))throw new Error("Invalid code point");if((x-=4)<0)break;H.push(L>>18|240,L>>12&63|128,L>>6&63|128,63&L|128)}}return H}function qe(E){return d.toByteArray((function(x){if((x=(x=x.split("=")[0]).trim().replace(Re,"")).length<2)return"";for(;x.length%4!=0;)x+="=";return x})(E))}function $e(E,x,L,W){let z;for(z=0;z<W&&!(z+L>=x.length||z>=E.length);++z)x[z+L]=E[z];return z}function fe(E,x){return E instanceof x||E!=null&&E.constructor!=null&&E.constructor.name!=null&&E.constructor.name===x.name}function Be(E){return E!=E}const Me=(function(){const E="0123456789abcdef",x=new Array(256);for(let L=0;L<16;++L){const W=16*L;for(let z=0;z<16;++z)x[W+z]=E[L]+E[z]}return x})();function ce(E){return typeof BigInt>"u"?Ee:E}function Ee(){throw new Error("BigInt not supported")}})(t);const h=t.Buffer;e.Blob=t.Blob,e.BlobOptions=t.BlobOptions,e.Buffer=t.Buffer,e.File=t.File,e.FileOptions=t.FileOptions,e.INSPECT_MAX_BYTES=t.INSPECT_MAX_BYTES,e.SlowBuffer=t.SlowBuffer,e.TranscodeEncoding=t.TranscodeEncoding,e.atob=t.atob,e.btoa=t.btoa,e.constants=t.constants,e.default=h,e.isAscii=t.isAscii,e.isUtf8=t.isUtf8,e.kMaxLength=t.kMaxLength,e.kStringMaxLength=t.kStringMaxLength,e.resolveObjectURL=t.resolveObjectURL,e.transcode=t.transcode})(dist)),dist}function requireSafeBuffer$1(){return hasRequiredSafeBuffer$1||(hasRequiredSafeBuffer$1=1,(function(e,t){var i=requireDist(),a=i.Buffer;function r(f,n){for(var o in f)n[o]=f[o]}function c(f,n,o){return a(f,n,o)}a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow?e.exports=i:(r(i,t),t.Buffer=c),c.prototype=Object.create(a.prototype),r(a,c),c.from=function(f,n,o){if(typeof f=="number")throw new TypeError("Argument must not be a number");return a(f,n,o)},c.alloc=function(f,n,o){if(typeof f!="number")throw new TypeError("Argument must be a number");var s=a(f);return n!==void 0?typeof o=="string"?s.fill(n,o):s.fill(n):s.fill(0),s},c.allocUnsafe=function(f){if(typeof f!="number")throw new TypeError("Argument must be a number");return a(f)},c.allocUnsafeSlow=function(f){if(typeof f!="number")throw new TypeError("Argument must be a number");return i.SlowBuffer(f)}})(safeBuffer$1,safeBuffer$1.exports)),safeBuffer$1.exports}function requireBrowser$b(){if(hasRequiredBrowser$b)return browser$b.exports;hasRequiredBrowser$b=1;var e=65536,t=4294967295,i=requireSafeBuffer$1().Buffer,a=commonjsGlobal.crypto||commonjsGlobal.msCrypto;return a&&a.getRandomValues?browser$b.exports=function(r,c){if(r>t)throw new RangeError("requested too many random bytes");var f=i.allocUnsafe(r);if(r>0)if(r>e)for(var n=0;n<r;n+=e)a.getRandomValues(f.slice(n,n+e));else a.getRandomValues(f);return typeof c=="function"?process$1.nextTick((function(){c(null,f)})):f}: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,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:inherits_browser.exports=function(e,t){if(t){e.super_=t;var i=function(){};i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e}}),inherits_browser.exports}var events={exports:{}},hasRequiredEvents,streamBrowser$1,hasRequiredStreamBrowser$1;function requireEvents(){if(hasRequiredEvents)return events.exports;hasRequiredEvents=1;var e,t=typeof Reflect=="object"?Reflect:null,i=t&&typeof t.apply=="function"?t.apply:function(R,q,A){return Function.prototype.apply.call(R,q,A)};e=t&&typeof t.ownKeys=="function"?t.ownKeys:Object.getOwnPropertySymbols?function(R){return Object.getOwnPropertyNames(R).concat(Object.getOwnPropertySymbols(R))}:function(R){return Object.getOwnPropertyNames(R)};var a=Number.isNaN||function(R){return R!=R};function r(){r.init.call(this)}events.exports=r,events.exports.once=function(R,q){return new Promise((function(A,M){function I(S){R.removeListener(q,$),M(S)}function $(){typeof R.removeListener=="function"&&R.removeListener("error",I),A([].slice.call(arguments))}w(R,q,$,{once:!0}),q!=="error"&&(function(S,C,T){typeof S.on=="function"&&w(S,"error",C,T)})(R,I,{once:!0})}))},r.EventEmitter=r,r.prototype._events=void 0,r.prototype._eventsCount=0,r.prototype._maxListeners=void 0;var c=10;function f(R){if(typeof R!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof R)}function n(R){return R._maxListeners===void 0?r.defaultMaxListeners:R._maxListeners}function o(R,q,A,M){var I,$,S,C;if(f(A),($=R._events)===void 0?($=R._events=Object.create(null),R._eventsCount=0):($.newListener!==void 0&&(R.emit("newListener",q,A.listener?A.listener:A),$=R._events),S=$[q]),S===void 0)S=$[q]=A,++R._eventsCount;else if(typeof S=="function"?S=$[q]=M?[A,S]:[S,A]:M?S.unshift(A):S.push(A),(I=n(R))>0&&S.length>I&&!S.warned){S.warned=!0;var T=new Error("Possible EventEmitter memory leak detected. "+S.length+" "+String(q)+" listeners added. Use emitter.setMaxListeners() to increase limit");T.name="MaxListenersExceededWarning",T.emitter=R,T.type=q,T.count=S.length,C=T,console&&console.warn&&console.warn(C)}return R}function s(){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 u(R,q,A){var M={fired:!1,wrapFn:void 0,target:R,type:q,listener:A},I=s.bind(M);return I.listener=A,M.wrapFn=I,I}function h(R,q,A){var M=R._events;if(M===void 0)return[];var I=M[q];return I===void 0?[]:typeof I=="function"?A?[I.listener||I]:[I]:A?(function($){for(var S=new Array($.length),C=0;C<S.length;++C)S[C]=$[C].listener||$[C];return S})(I):d(I,I.length)}function l(R){var q=this._events;if(q!==void 0){var A=q[R];if(typeof A=="function")return 1;if(A!==void 0)return A.length}return 0}function d(R,q){for(var A=new Array(q),M=0;M<q;++M)A[M]=R[M];return A}function w(R,q,A,M){if(typeof R.on=="function")M.once?R.once(q,A):R.on(q,A);else{if(typeof R.addEventListener!="function")throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof R);R.addEventListener(q,(function I($){M.once&&R.removeEventListener(q,I),A($)}))}}return Object.defineProperty(r,"defaultMaxListeners",{enumerable:!0,get:function(){return c},set:function(R){if(typeof R!="number"||R<0||a(R))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+R+".");c=R}}),r.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},r.prototype.setMaxListeners=function(R){if(typeof R!="number"||R<0||a(R))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+R+".");return this._maxListeners=R,this},r.prototype.getMaxListeners=function(){return n(this)},r.prototype.emit=function(R){for(var q=[],A=1;A<arguments.length;A++)q.push(arguments[A]);var M=R==="error",I=this._events;if(I!==void 0)M=M&&I.error===void 0;else if(!M)return!1;if(M){var $;if(q.length>0&&($=q[0]),$ instanceof Error)throw $;var S=new Error("Unhandled error."+($?" ("+$.message+")":""));throw S.context=$,S}var C=I[R];if(C===void 0)return!1;if(typeof C=="function")i(C,this,q);else{var T=C.length,v=d(C,T);for(A=0;A<T;++A)i(v[A],this,q)}return!0},r.prototype.addListener=function(R,q){return o(this,R,q,!1)},r.prototype.on=r.prototype.addListener,r.prototype.prependListener=function(R,q){return o(this,R,q,!0)},r.prototype.once=function(R,q){return f(q),this.on(R,u(this,R,q)),this},r.prototype.prependOnceListener=function(R,q){return f(q),this.prependListener(R,u(this,R,q)),this},r.prototype.removeListener=function(R,q){var A,M,I,$,S;if(f(q),(M=this._events)===void 0)return this;if((A=M[R])===void 0)return this;if(A===q||A.listener===q)--this._eventsCount==0?this._events=Object.create(null):(delete M[R],M.removeListener&&this.emit("removeListener",R,A.listener||q));else if(typeof A!="function"){for(I=-1,$=A.length-1;$>=0;$--)if(A[$]===q||A[$].listener===q){S=A[$].listener,I=$;break}if(I<0)return this;I===0?A.shift():(function(C,T){for(;T+1<C.length;T++)C[T]=C[T+1];C.pop()})(A,I),A.length===1&&(M[R]=A[0]),M.removeListener!==void 0&&this.emit("removeListener",R,S||q)}return this},r.prototype.off=r.prototype.removeListener,r.prototype.removeAllListeners=function(R){var q,A,M;if((A=this._events)===void 0)return this;if(A.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):A[R]!==void 0&&(--this._eventsCount==0?this._events=Object.create(null):delete A[R]),this;if(arguments.length===0){var I,$=Object.keys(A);for(M=0;M<$.length;++M)(I=$[M])!=="removeListener"&&this.removeAllListeners(I);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(typeof(q=A[R])=="function")this.removeListener(R,q);else if(q!==void 0)for(M=q.length-1;M>=0;M--)this.removeListener(R,q[M]);return this},r.prototype.listeners=function(R){return h(this,R,!0)},r.prototype.rawListeners=function(R){return h(this,R,!1)},r.listenerCount=function(R,q){return typeof R.listenerCount=="function"?R.listenerCount(q):l.call(R,q)},r.prototype.listenerCount=l,r.prototype.eventNames=function(){return this._eventsCount>0?e(this._events):[]},events.exports}function requireStreamBrowser$1(){return hasRequiredStreamBrowser$1?streamBrowser$1:(hasRequiredStreamBrowser$1=1,streamBrowser$1=requireEvents().EventEmitter)}var util$1={},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={},t=Symbol("test"),i=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(i)!=="[object Symbol]")return!1;for(var a in e[t]=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 r=Object.getOwnPropertySymbols(e);if(r.length!==1||r[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var c=Object.getOwnPropertyDescriptor(e,t);if(c.value!==42||c.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(t){return e(t)||t===0?t:t<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,t=requireShams$2();return hasSymbols=function(){return typeof e=="function"&&typeof Symbol=="function"&&typeof e("foo")=="symbol"&&typeof Symbol("bar")=="symbol"&&t()}}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,t=Math.max,i=function(a,r){for(var c=[],f=0;f<a.length;f+=1)c[f]=a[f];for(var n=0;n<r.length;n+=1)c[n+a.length]=r[n];return c};return implementation=function(a){var r=this;if(typeof r!="function"||e.apply(r)!=="[object Function]")throw new TypeError("Function.prototype.bind called on incompatible "+r);for(var c,f=(function(h,l){for(var d=[],w=l,R=0;w<h.length;w+=1,R+=1)d[R]=h[w];return d})(arguments,1),n=t(0,r.length-f.length),o=[],s=0;s<n;s++)o[s]="$"+s;if(c=Function("binder","return function ("+(function(h,l){for(var d="",w=0;w<h.length;w+=1)d+=h[w],w+1<h.length&&(d+=l);return d})(o,",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof c){var h=r.apply(this,i(f,arguments));return Object(h)===h?h:this}return r.apply(a,i(f,arguments))})),r.prototype){var u=function(){};u.prototype=r.prototype,c.prototype=new u,u.prototype=null}return c},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(),t=requireFunctionApply(),i=requireFunctionCall(),a=requireReflectApply();return actualApply=a||e.call(i,t)}function requireCallBindApplyHelpers(){if(hasRequiredCallBindApplyHelpers)return callBindApplyHelpers;hasRequiredCallBindApplyHelpers=1;var e=requireFunctionBind(),t=requireType(),i=requireFunctionCall(),a=requireActualApply();return callBindApplyHelpers=function(r){if(r.length<1||typeof r[0]!="function")throw new t("a function is required");return a(e,i,r)}}function requireGet(){if(hasRequiredGet)return get;hasRequiredGet=1;var e,t=requireCallBindApplyHelpers(),i=requireGopd();try{e=[].__proto__===Array.prototype}catch(f){if(!f||typeof f!="object"||!("code"in f)||f.code!=="ERR_PROTO_ACCESS")throw f}var a=!!e&&i&&i(Object.prototype,"__proto__"),r=Object,c=r.getPrototypeOf;return get=a&&typeof a.get=="function"?t([a.get]):typeof c=="function"&&function(f){return c(f==null?f:r(f))}}function requireGetProto(){if(hasRequiredGetProto)return getProto;hasRequiredGetProto=1;var e=requireReflect_getPrototypeOf(),t=requireObject_getPrototypeOf(),i=requireGet();return getProto=e?function(a){return e(a)}:t?function(a){if(!a||typeof a!="object"&&typeof a!="function")throw new TypeError("getProto: not an object");return t(a)}:i?function(a){return i(a)}:null}function requireHasown(){if(hasRequiredHasown)return hasown;hasRequiredHasown=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,i=requireFunctionBind();return hasown=i.call(e,t)}function requireGetIntrinsic(){if(hasRequiredGetIntrinsic)return getIntrinsic;var e;hasRequiredGetIntrinsic=1;var t=requireEsObjectAtoms(),i=requireEsErrors(),a=require_eval(),r=requireRange(),c=requireRef(),f=requireSyntax(),n=requireType(),o=requireUri(),s=requireAbs(),u=requireFloor(),h=requireMax(),l=requireMin(),d=requirePow(),w=requireRound(),R=requireSign$1(),q=Function,A=function(V){try{return q('"use strict"; return ('+V+").constructor;")()}catch{}},M=requireGopd(),I=requireEsDefineProperty(),$=function(){throw new n},S=M?(function(){try{return $}catch{try{return M(arguments,"callee").get}catch{return $}}})():$,C=requireHasSymbols()(),T=requireGetProto(),v=requireObject_getPrototypeOf(),B=requireReflect_getPrototypeOf(),p=requireFunctionApply(),g=requireFunctionCall(),b={},y=typeof Uint8Array<"u"&&T?T(Uint8Array):e,m={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":C&&T?T([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":b,"%AsyncGenerator%":b,"%AsyncGeneratorFunction%":b,"%AsyncIteratorPrototype%":b,"%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%":i,"%eval%":eval,"%EvalError%":a,"%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%":q,"%GeneratorFunction%":b,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":C&&T?T(T([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map<"u"&&C&&T?T(new Map()[Symbol.iterator]()):e,"%Math%":Math,"%Number%":Number,"%Object%":t,"%Object.getOwnPropertyDescriptor%":M,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":r,"%ReferenceError%":c,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set<"u"&&C&&T?T(new Set()[Symbol.iterator]()):e,"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":C&&T?T(""[Symbol.iterator]()):e,"%Symbol%":C?Symbol:e,"%SyntaxError%":f,"%ThrowTypeError%":S,"%TypedArray%":y,"%TypeError%":n,"%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%":o,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet,"%Function.prototype.call%":g,"%Function.prototype.apply%":p,"%Object.defineProperty%":I,"%Object.getPrototypeOf%":v,"%Math.abs%":s,"%Math.floor%":u,"%Math.max%":h,"%Math.min%":l,"%Math.pow%":d,"%Math.round%":w,"%Math.sign%":R,"%Reflect.getPrototypeOf%":B};if(T)try{null.error}catch(V){var _=T(T(V));m["%Error.prototype%"]=_}var k=function V(Q){var X;if(Q==="%AsyncFunction%")X=A("async function () {}");else if(Q==="%GeneratorFunction%")X=A("function* () {}");else if(Q==="%AsyncGeneratorFunction%")X=A("async function* () {}");else if(Q==="%AsyncGenerator%"){var Z=V("%AsyncGeneratorFunction%");Z&&(X=Z.prototype)}else if(Q==="%AsyncIteratorPrototype%"){var ae=V("%AsyncGenerator%");ae&&T&&(X=T(ae.prototype))}return m[Q]=X,X},O={__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"]},F=requireFunctionBind(),j=requireHasown(),N=F.call(g,Array.prototype.concat),U=F.call(p,Array.prototype.splice),P=F.call(g,String.prototype.replace),D=F.call(g,String.prototype.slice),G=F.call(g,RegExp.prototype.exec),K=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ee=/\\(\\)?/g,J=function(V,Q){var X,Z=V;if(j(O,Z)&&(Z="%"+(X=O[Z])[0]+"%"),j(m,Z)){var ae=m[Z];if(ae===b&&(ae=k(Z)),ae===void 0&&!Q)throw new n("intrinsic "+V+" exists, but is not available. Please file an issue!");return{alias:X,name:Z,value:ae}}throw new f("intrinsic "+V+" does not exist!")};return getIntrinsic=function(V,Q){if(typeof V!="string"||V.length===0)throw new n("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Q!="boolean")throw new n('"allowMissing" argument must be a boolean');if(G(/^%?[^%]*%?$/,V)===null)throw new f("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var X=(function(ue){var qe=D(ue,0,1),$e=D(ue,-1);if(qe==="%"&&$e!=="%")throw new f("invalid intrinsic syntax, expected closing `%`");if($e==="%"&&qe!=="%")throw new f("invalid intrinsic syntax, expected opening `%`");var fe=[];return P(ue,K,(function(Be,Me,ce,Ee){fe[fe.length]=ce?P(Ee,ee,"$1"):Me||Be})),fe})(V),Z=X.length>0?X[0]:"",ae=J("%"+Z+"%",Q),pe=ae.name,ie=ae.value,be=!1,oe=ae.alias;oe&&(Z=oe[0],U(X,N([0,1],oe)));for(var re=1,de=!0;re<X.length;re+=1){var ye=X[re],se=D(ye,0,1),le=D(ye,-1);if((se==='"'||se==="'"||se==="`"||le==='"'||le==="'"||le==="`")&&se!==le)throw new f("property names with quotes must have matching quotes");if(ye!=="constructor"&&de||(be=!0),j(m,pe="%"+(Z+="."+ye)+"%"))ie=m[pe];else if(ie!=null){if(!(ye in ie)){if(!Q)throw new n("base intrinsic for "+V+" exists, but the property is not available.");return}if(M&&re+1>=X.length){var Re=M(ie,ye);ie=(de=!!Re)&&"get"in Re&&!("originalValue"in Re.get)?Re.get:ie[ye]}else de=j(ie,ye),ie=ie[ye];de&&!be&&(m[pe]=ie)}}return ie},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$1,buffer_list,hasRequiredBuffer_list,destroy_1$1,hasRequiredDestroy$1;function requireCallBind$1(){return hasRequiredCallBind$1||(hasRequiredCallBind$1=1,(function(e){var t=requireFunctionBind(),i=requireGetIntrinsic(),a=i("%Function.prototype.apply%"),r=i("%Function.prototype.call%"),c=i("%Reflect.apply%",!0)||t.call(r,a),f=i("%Object.getOwnPropertyDescriptor%",!0),n=i("%Object.defineProperty%",!0),o=i("%Math.max%");if(n)try{n({},"a",{value:1})}catch{n=null}e.exports=function(u){var h=c(t,r,arguments);return f&&n&&f(h,"length").configurable&&n(h,"length",{value:1+o(0,u.length-(arguments.length-1))}),h};var s=function(){return c(t,a,arguments)};n?n(e.exports,"apply",{value:s}):e.exports.apply=s})(callBind$1)),callBind$1.exports}function requireCallBound$1(){if(hasRequiredCallBound$1)return callBound$1;hasRequiredCallBound$1=1;var e=requireGetIntrinsic(),t=requireCallBind$1(),i=t(e("String.prototype.indexOf"));return callBound$1=function(a,r){var c=e(a,!!r);return typeof c=="function"&&i(a,".prototype.")>-1?t(c):c}}function requireIsArguments(){if(hasRequiredIsArguments)return isArguments;hasRequiredIsArguments=1;var e=requireShams$1()(),t=requireCallBound$1()("Object.prototype.toString"),i=function(c){return!(e&&c&&typeof c=="object"&&Symbol.toStringTag in c)&&t(c)==="[object Arguments]"},a=function(c){return!!i(c)||c!==null&&typeof c=="object"&&typeof c.length=="number"&&c.length>=0&&t(c)!=="[object Array]"&&t(c.callee)==="[object Function]"},r=(function(){return i(arguments)})();return i.isLegacyArguments=a,isArguments=r?i:a}function requireIsGeneratorFunction(){if(hasRequiredIsGeneratorFunction)return isGeneratorFunction;hasRequiredIsGeneratorFunction=1;var e,t=Object.prototype.toString,i=Function.prototype.toString,a=/^\s*(?:function)?\*/,r=requireShams$1()(),c=Object.getPrototypeOf;return isGeneratorFunction=function(f){if(typeof f!="function")return!1;if(a.test(i.call(f)))return!0;if(!r)return t.call(f)==="[object GeneratorFunction]";if(!c)return!1;if(e===void 0){var n=(function(){if(!r)return!1;try{return Function("return function*() {}")()}catch{}})();e=!!n&&c(n)}return c(f)===e}}function requireIsCallable(){if(hasRequiredIsCallable)return isCallable;hasRequiredIsCallable=1;var e,t,i=Function.prototype.toString,a=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply;if(typeof a=="function"&&typeof Object.defineProperty=="function")try{e=Object.defineProperty({},"length",{get:function(){throw t}}),t={},a((function(){throw 42}),null,e)}catch(l){l!==t&&(a=null)}else a=null;var r=/^\s*class\b/,c=function(l){try{var d=i.call(l);return r.test(d)}catch{return!1}},f=function(l){try{return!c(l)&&(i.call(l),!0)}catch{return!1}},n=Object.prototype.toString,o=typeof Symbol=="function"&&!!Symbol.toStringTag,s=!(0 in[,]),u=function(){return!1};if(typeof document=="object"){var h=document.all;n.call(h)===n.call(document.all)&&(u=function(l){if((s||!l)&&(l===void 0||typeof l=="object"))try{var d=n.call(l);return(d==="[object HTMLAllCollection]"||d==="[object HTML document.all class]"||d==="[object HTMLCollection]"||d==="[object Object]")&&l("")==null}catch{}return!1})}return isCallable=a?function(l){if(u(l))return!0;if(!l||typeof l!="function"&&typeof l!="object")return!1;try{a(l,null,e)}catch(d){if(d!==t)return!1}return!c(l)&&f(l)}:function(l){if(u(l))return!0;if(!l||typeof l!="function"&&typeof l!="object")return!1;if(o)return f(l);if(c(l))return!1;var d=n.call(l);return!(d!=="[object Function]"&&d!=="[object GeneratorFunction]"&&!/^\[object HTML/.test(d))&&f(l)}}function requireForEach$1(){if(hasRequiredForEach$1)return forEach_1;hasRequiredForEach$1=1;var e=requireIsCallable(),t=Object.prototype.toString,i=Object.prototype.hasOwnProperty;return forEach_1=function(a,r,c){if(!e(r))throw new TypeError("iterator must be a function");var f;arguments.length>=3&&(f=c),t.call(a)==="[object Array]"?(function(n,o,s){for(var u=0,h=n.length;u<h;u++)i.call(n,u)&&(s==null?o(n[u],u,n):o.call(s,n[u],u,n))})(a,r,f):typeof a=="string"?(function(n,o,s){for(var u=0,h=n.length;u<h;u++)s==null?o(n.charAt(u),u,n):o.call(s,n.charAt(u),u,n)})(a,r,f):(function(n,o,s){for(var u in n)i.call(n,u)&&(s==null?o(n[u],u,n):o.call(s,n[u],u,n))})(a,r,f)},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"],t=typeof globalThis>"u"?commonjsGlobal:globalThis;return availableTypedArrays$1=function(){for(var i=[],a=0;a<e.length;a++)typeof t[e[a]]=="function"&&(i[i.length]=e[a]);return i}}function requireIsTypedArray$1(){if(hasRequiredIsTypedArray$1)return isTypedArray$1;hasRequiredIsTypedArray$1=1;var e=requireForEach$1(),t=requireAvailableTypedArrays$1(),i=requireCallBound$1(),a=i("Object.prototype.toString"),r=requireShams$1()(),c=requireGopd(),f=typeof globalThis>"u"?commonjsGlobal:globalThis,n=t(),o=i("Array.prototype.indexOf",!0)||function(l,d){for(var w=0;w<l.length;w+=1)if(l[w]===d)return w;return-1},s=i("String.prototype.slice"),u={},h=Object.getPrototypeOf;return r&&c&&h&&e(n,(function(l){var d=new f[l];if(Symbol.toStringTag in d){var w=h(d),R=c(w,Symbol.toStringTag);if(!R){var q=h(w);R=c(q,Symbol.toStringTag)}u[l]=R.get}})),isTypedArray$1=function(l){if(!l||typeof l!="object")return!1;if(!r||!(Symbol.toStringTag in l)){var d=s(a(l),8,-1);return o(n,d)>-1}return!!c&&(function(w){var R=!1;return e(u,(function(q,A){if(!R)try{R=q.call(w)===A}catch{}})),R})(l)}}function requireWhichTypedArray$1(){if(hasRequiredWhichTypedArray$1)return whichTypedArray$1;hasRequiredWhichTypedArray$1=1;var e=requireForEach$1(),t=requireAvailableTypedArrays$1(),i=requireCallBound$1(),a=requireGopd(),r=i("Object.prototype.toString"),c=requireShams$1()(),f=typeof globalThis>"u"?commonjsGlobal:globalThis,n=t(),o=i("String.prototype.slice"),s={},u=Object.getPrototypeOf;c&&a&&u&&e(n,(function(l){if(typeof f[l]=="function"){var d=new f[l];if(Symbol.toStringTag in d){var w=u(d),R=a(w,Symbol.toStringTag);if(!R){var q=u(w);R=a(q,Symbol.toStringTag)}s[l]=R.get}}}));var h=requireIsTypedArray$1();return whichTypedArray$1=function(l){return!!h(l)&&(c&&Symbol.toStringTag in l?(function(d){var w=!1;return e(s,(function(R,q){if(!w)try{var A=R.call(d);A===q&&(w=A)}catch{}})),w})(l):o(r(l),8,-1))}}function requireTypes(){return hasRequiredTypes||(hasRequiredTypes=1,(function(e){var t=requireIsArguments(),i=requireIsGeneratorFunction(),a=requireWhichTypedArray$1(),r=requireIsTypedArray$1();function c(_){return _.call.bind(_)}var f=typeof BigInt<"u",n=typeof Symbol<"u",o=c(Object.prototype.toString),s=c(Number.prototype.valueOf),u=c(String.prototype.valueOf),h=c(Boolean.prototype.valueOf);if(f)var l=c(BigInt.prototype.valueOf);if(n)var d=c(Symbol.prototype.valueOf);function w(_,k){if(typeof _!="object")return!1;try{return k(_),!0}catch{return!1}}function R(_){return o(_)==="[object Map]"}function q(_){return o(_)==="[object Set]"}function A(_){return o(_)==="[object WeakMap]"}function M(_){return o(_)==="[object WeakSet]"}function I(_){return o(_)==="[object ArrayBuffer]"}function $(_){return typeof ArrayBuffer<"u"&&(I.working?I(_):_ instanceof ArrayBuffer)}function S(_){return o(_)==="[object DataView]"}function C(_){return typeof DataView<"u"&&(S.working?S(_):_ instanceof DataView)}e.isArgumentsObject=t,e.isGeneratorFunction=i,e.isTypedArray=r,e.isPromise=function(_){return typeof Promise<"u"&&_ instanceof Promise||_!==null&&typeof _=="object"&&typeof _.then=="function"&&typeof _.catch=="function"},e.isArrayBufferView=function(_){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(_):r(_)||C(_)},e.isUint8Array=function(_){return a(_)==="Uint8Array"},e.isUint8ClampedArray=function(_){return a(_)==="Uint8ClampedArray"},e.isUint16Array=function(_){return a(_)==="Uint16Array"},e.isUint32Array=function(_){return a(_)==="Uint32Array"},e.isInt8Array=function(_){return a(_)==="Int8Array"},e.isInt16Array=function(_){return a(_)==="Int16Array"},e.isInt32Array=function(_){return a(_)==="Int32Array"},e.isFloat32Array=function(_){return a(_)==="Float32Array"},e.isFloat64Array=function(_){return a(_)==="Float64Array"},e.isBigInt64Array=function(_){return a(_)==="BigInt64Array"},e.isBigUint64Array=function(_){return a(_)==="BigUint64Array"},R.working=typeof Map<"u"&&R(new Map),e.isMap=function(_){return typeof Map<"u"&&(R.working?R(_):_ instanceof Map)},q.working=typeof Set<"u"&&q(new Set),e.isSet=function(_){return typeof Set<"u"&&(q.working?q(_):_ instanceof Set)},A.working=typeof WeakMap<"u"&&A(new WeakMap),e.isWeakMap=function(_){return typeof WeakMap<"u"&&(A.working?A(_):_ instanceof WeakMap)},M.working=typeof WeakSet<"u"&&M(new WeakSet),e.isWeakSet=function(_){return M(_)},I.working=typeof ArrayBuffer<"u"&&I(new ArrayBuffer),e.isArrayBuffer=$,S.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&S(new DataView(new ArrayBuffer(1),0,1)),e.isDataView=C;var T=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function v(_){return o(_)==="[object SharedArrayBuffer]"}function B(_){return T!==void 0&&(v.working===void 0&&(v.working=v(new T)),v.working?v(_):_ instanceof T)}function p(_){return w(_,s)}function g(_){return w(_,u)}function b(_){return w(_,h)}function y(_){return f&&w(_,l)}function m(_){return n&&w(_,d)}e.isSharedArrayBuffer=B,e.isAsyncFunction=function(_){return o(_)==="[object AsyncFunction]"},e.isMapIterator=function(_){return o(_)==="[object Map Iterator]"},e.isSetIterator=function(_){return o(_)==="[object Set Iterator]"},e.isGeneratorObject=function(_){return o(_)==="[object Generator]"},e.isWebAssemblyCompiledModule=function(_){return o(_)==="[object WebAssembly.Module]"},e.isNumberObject=p,e.isStringObject=g,e.isBooleanObject=b,e.isBigIntObject=y,e.isSymbolObject=m,e.isBoxedPrimitive=function(_){return p(_)||g(_)||b(_)||y(_)||m(_)},e.isAnyArrayBuffer=function(_){return typeof Uint8Array<"u"&&($(_)||B(_))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(_){Object.defineProperty(e,_,{enumerable:!1,value:function(){throw new Error(_+" 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$1(){return hasRequiredUtil$1||(hasRequiredUtil$1=1,(function(e){var t={},i=Object.getOwnPropertyDescriptors||function(m){for(var _=Object.keys(m),k={},O=0;O<_.length;O++)k[_[O]]=Object.getOwnPropertyDescriptor(m,_[O]);return k},a=/%[sdj%]/g;e.format=function(m){if(!A(m)){for(var _=[],k=0;k<arguments.length;k++)_.push(n(arguments[k]));return _.join(" ")}k=1;for(var O=arguments,F=O.length,j=String(m).replace(a,(function(U){if(U==="%%")return"%";if(k>=F)return U;switch(U){case"%s":return String(O[k++]);case"%d":return Number(O[k++]);case"%j":try{return JSON.stringify(O[k++])}catch{return"[Circular]"}default:return U}})),N=O[k];k<F;N=O[++k])R(N)||!$(N)?j+=" "+N:j+=" "+n(N);return j},e.deprecate=function(m,_){if(process$1!==void 0&&process$1.noDeprecation===!0)return m;if(process$1===void 0)return function(){return e.deprecate(m,_).apply(this,arguments)};var k=!1;return function(){if(!k){if(process$1.throwDeprecation)throw new Error(_);process$1.traceDeprecation?console.trace(_):console.error(_),k=!0}return m.apply(this,arguments)}};var r={},c=/^$/;if(t.NODE_DEBUG){var f=t.NODE_DEBUG;f=f.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),c=new RegExp("^"+f+"$","i")}function n(m,_){var k={seen:[],stylize:s};return arguments.length>=3&&(k.depth=arguments[2]),arguments.length>=4&&(k.colors=arguments[3]),w(_)?k.showHidden=_:_&&e._extend(k,_),M(k.showHidden)&&(k.showHidden=!1),M(k.depth)&&(k.depth=2),M(k.colors)&&(k.colors=!1),M(k.customInspect)&&(k.customInspect=!0),k.colors&&(k.stylize=o),u(k,m,k.depth)}function o(m,_){var k=n.styles[_];return k?"\x1B["+n.colors[k][0]+"m"+m+"\x1B["+n.colors[k][1]+"m":m}function s(m,_){return m}function u(m,_,k){if(m.customInspect&&_&&T(_.inspect)&&_.inspect!==e.inspect&&(!_.constructor||_.constructor.prototype!==_)){var O=_.inspect(k,m);return A(O)||(O=u(m,O,k)),O}var F=(function(ee,J){if(M(J))return ee.stylize("undefined","undefined");if(A(J)){var V="'"+JSON.stringify(J).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return ee.stylize(V,"string")}if(q(J))return ee.stylize(""+J,"number");if(w(J))return ee.stylize(""+J,"boolean");if(R(J))return ee.stylize("null","null")})(m,_);if(F)return F;var j=Object.keys(_),N=(function(ee){var J={};return ee.forEach((function(V,Q){J[V]=!0})),J})(j);if(m.showHidden&&(j=Object.getOwnPropertyNames(_)),C(_)&&(j.indexOf("message")>=0||j.indexOf("description")>=0))return h(_);if(j.length===0){if(T(_)){var U=_.name?": "+_.name:"";return m.stylize("[Function"+U+"]","special")}if(I(_))return m.stylize(RegExp.prototype.toString.call(_),"regexp");if(S(_))return m.stylize(Date.prototype.toString.call(_),"date");if(C(_))return h(_)}var P,D="",G=!1,K=["{","}"];return d(_)&&(G=!0,K=["[","]"]),T(_)&&(D=" [Function"+(_.name?": "+_.name:"")+"]"),I(_)&&(D=" "+RegExp.prototype.toString.call(_)),S(_)&&(D=" "+Date.prototype.toUTCString.call(_)),C(_)&&(D=" "+h(_)),j.length!==0||G&&_.length!=0?k<0?I(_)?m.stylize(RegExp.prototype.toString.call(_),"regexp"):m.stylize("[Object]","special"):(m.seen.push(_),P=G?(function(ee,J,V,Q,X){for(var Z=[],ae=0,pe=J.length;ae<pe;++ae)g(J,String(ae))?Z.push(l(ee,J,V,Q,String(ae),!0)):Z.push("");return X.forEach((function(ie){ie.match(/^\d+$/)||Z.push(l(ee,J,V,Q,ie,!0))})),Z})(m,_,k,N,j):j.map((function(ee){return l(m,_,k,N,ee,G)})),m.seen.pop(),(function(ee,J,V){var Q=ee.reduce((function(X,Z){return Z.indexOf(`
|
|
22
|
-
`),X+Z.replace(/\u001b\[\d\d?m/g,"").length+1}),0);return Q>60?V[0]+(J===""?"":J+`
|
|
23
|
-
`)+" "+ee.join(`,
|
|
24
|
-
`)+" "+V[1]:V[0]+J+" "+ee.join(", ")+" "+V[1]})(P,D,K)):K[0]+D+K[1]}function h(m){return"["+Error.prototype.toString.call(m)+"]"}function l(m,_,k,O,F,j){var N,U,P;if((P=Object.getOwnPropertyDescriptor(_,F)||{value:_[F]}).get?U=P.set?m.stylize("[Getter/Setter]","special"):m.stylize("[Getter]","special"):P.set&&(U=m.stylize("[Setter]","special")),g(O,F)||(N="["+F+"]"),U||(m.seen.indexOf(P.value)<0?(U=R(k)?u(m,P.value,null):u(m,P.value,k-1)).indexOf(`
|
|
25
|
-
`)>-1&&(U=j?U.split(`
|
|
26
|
-
`).map((function(D){return" "+D})).join(`
|
|
27
|
-
`).slice(2):`
|
|
28
|
-
`+U.split(`
|
|
29
|
-
`).map((function(D){return" "+D})).join(`
|
|
30
|
-
`)):U=m.stylize("[Circular]","special")),M(N)){if(j&&F.match(/^\d+$/))return U;(N=JSON.stringify(""+F)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(N=N.slice(1,-1),N=m.stylize(N,"name")):(N=N.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),N=m.stylize(N,"string"))}return N+": "+U}function d(m){return Array.isArray(m)}function w(m){return typeof m=="boolean"}function R(m){return m===null}function q(m){return typeof m=="number"}function A(m){return typeof m=="string"}function M(m){return m===void 0}function I(m){return $(m)&&v(m)==="[object RegExp]"}function $(m){return typeof m=="object"&&m!==null}function S(m){return $(m)&&v(m)==="[object Date]"}function C(m){return $(m)&&(v(m)==="[object Error]"||m instanceof Error)}function T(m){return typeof m=="function"}function v(m){return Object.prototype.toString.call(m)}function B(m){return m<10?"0"+m.toString(10):m.toString(10)}e.debuglog=function(m){if(m=m.toUpperCase(),!r[m])if(c.test(m)){var _=process$1.pid;r[m]=function(){var k=e.format.apply(e,arguments);console.error("%s %d: %s",m,_,k)}}else r[m]=function(){};return r[m]},e.inspect=n,n.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]},n.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.types=requireTypes(),e.isArray=d,e.isBoolean=w,e.isNull=R,e.isNullOrUndefined=function(m){return m==null},e.isNumber=q,e.isString=A,e.isSymbol=function(m){return typeof m=="symbol"},e.isUndefined=M,e.isRegExp=I,e.types.isRegExp=I,e.isObject=$,e.isDate=S,e.types.isDate=S,e.isError=C,e.types.isNativeError=C,e.isFunction=T,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 p=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function g(m,_){return Object.prototype.hasOwnProperty.call(m,_)}e.log=function(){var m,_;console.log("%s - %s",(_=[B((m=new Date).getHours()),B(m.getMinutes()),B(m.getSeconds())].join(":"),[m.getDate(),p[m.getMonth()],_].join(" ")),e.format.apply(e,arguments))},e.inherits=requireInherits_browser(),e._extend=function(m,_){if(!_||!$(_))return m;for(var k=Object.keys(_),O=k.length;O--;)m[k[O]]=_[k[O]];return m};var b=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;function y(m,_){if(!m){var k=new Error("Promise was rejected with a falsy value");k.reason=m,m=k}return _(m)}e.promisify=function(m){if(typeof m!="function")throw new TypeError('The "original" argument must be of type Function');if(b&&m[b]){var _;if(typeof(_=m[b])!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(_,b,{value:_,enumerable:!1,writable:!1,configurable:!0}),_}function _(){for(var k,O,F=new Promise((function(U,P){k=U,O=P})),j=[],N=0;N<arguments.length;N++)j.push(arguments[N]);j.push((function(U,P){U?O(U):k(P)}));try{m.apply(this,j)}catch(U){O(U)}return F}return Object.setPrototypeOf(_,Object.getPrototypeOf(m)),b&&Object.defineProperty(_,b,{value:_,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(_,i(m))},e.promisify.custom=b,e.callbackify=function(m){if(typeof m!="function")throw new TypeError('The "original" argument must be of type Function');function _(){for(var k=[],O=0;O<arguments.length;O++)k.push(arguments[O]);var F=k.pop();if(typeof F!="function")throw new TypeError("The last argument must be of type Function");var j=this,N=function(){return F.apply(j,arguments)};m.apply(this,k).then((function(U){process$1.nextTick(N.bind(null,null,U))}),(function(U){process$1.nextTick(y.bind(null,U,N))}))}return Object.setPrototypeOf(_,Object.getPrototypeOf(m)),Object.defineProperties(_,i(m)),_}})(util$1)),util$1}function requireBuffer_list(){if(hasRequiredBuffer_list)return buffer_list;function e(o,s){var u=Object.keys(o);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(o);s&&(h=h.filter((function(l){return Object.getOwnPropertyDescriptor(o,l).enumerable}))),u.push.apply(u,h)}return u}function t(o){for(var s=1;s<arguments.length;s++){var u=arguments[s]!=null?arguments[s]:{};s%2?e(Object(u),!0).forEach((function(h){i(o,h,u[h])})):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(u)):e(Object(u)).forEach((function(h){Object.defineProperty(o,h,Object.getOwnPropertyDescriptor(u,h))}))}return o}function i(o,s,u){return(s=r(s))in o?Object.defineProperty(o,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):o[s]=u,o}function a(o,s,u){return s&&(function(h,l){for(var d=0;d<l.length;d++){var w=l[d];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(h,r(w.key),w)}})(o.prototype,s),Object.defineProperty(o,"prototype",{writable:!1}),o}function r(o){var s=(function(u,h){if(typeof u!="object"||u===null)return u;var l=u[Symbol.toPrimitive];if(l!==void 0){var d=l.call(u,h);if(typeof d!="object")return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(u)})(o,"string");return typeof s=="symbol"?s:String(s)}hasRequiredBuffer_list=1;var c=requireDist().Buffer,f=requireUtil$1().inspect,n=f&&f.custom||"inspect";return buffer_list=(function(){function o(){(function(s,u){if(!(s instanceof u))throw new TypeError("Cannot call a class as a function")})(this,o),this.head=null,this.tail=null,this.length=0}return a(o,[{key:"push",value:function(s){var u={data:s,next:null};this.length>0?this.tail.next=u:this.head=u,this.tail=u,++this.length}},{key:"unshift",value:function(s){var u={data:s,next:this.head};this.length===0&&(this.tail=u),this.head=u,++this.length}},{key:"shift",value:function(){if(this.length!==0){var s=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,s}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(s){if(this.length===0)return"";for(var u=this.head,h=""+u.data;u=u.next;)h+=s+u.data;return h}},{key:"concat",value:function(s){if(this.length===0)return c.alloc(0);for(var u,h,l,d=c.allocUnsafe(s>>>0),w=this.head,R=0;w;)u=w.data,h=d,l=R,c.prototype.copy.call(u,h,l),R+=w.data.length,w=w.next;return d}},{key:"consume",value:function(s,u){var h;return s<this.head.data.length?(h=this.head.data.slice(0,s),this.head.data=this.head.data.slice(s)):h=s===this.head.data.length?this.shift():u?this._getString(s):this._getBuffer(s),h}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(s){var u=this.head,h=1,l=u.data;for(s-=l.length;u=u.next;){var d=u.data,w=s>d.length?d.length:s;if(w===d.length?l+=d:l+=d.slice(0,s),(s-=w)===0){w===d.length?(++h,u.next?this.head=u.next:this.head=this.tail=null):(this.head=u,u.data=d.slice(w));break}++h}return this.length-=h,l}},{key:"_getBuffer",value:function(s){var u=c.allocUnsafe(s),h=this.head,l=1;for(h.data.copy(u),s-=h.data.length;h=h.next;){var d=h.data,w=s>d.length?d.length:s;if(d.copy(u,u.length-s,0,w),(s-=w)===0){w===d.length?(++l,h.next?this.head=h.next:this.head=this.tail=null):(this.head=h,h.data=d.slice(w));break}++l}return this.length-=l,u}},{key:n,value:function(s,u){return f(this,t(t({},u),{},{depth:0,customInspect:!1}))}}]),o})(),buffer_list}function requireDestroy$1(){if(hasRequiredDestroy$1)return destroy_1$1;function e(a,r){i(a,r),t(a)}function t(a){a._writableState&&!a._writableState.emitClose||a._readableState&&!a._readableState.emitClose||a.emit("close")}function i(a,r){a.emit("error",r)}return hasRequiredDestroy$1=1,destroy_1$1={destroy:function(a,r){var c=this,f=this._readableState&&this._readableState.destroyed,n=this._writableState&&this._writableState.destroyed;return f||n?(r?r(a):a&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process$1.nextTick(i,this,a)):process$1.nextTick(i,this,a)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(a||null,(function(o){!r&&o?c._writableState?c._writableState.errorEmitted?process$1.nextTick(t,c):(c._writableState.errorEmitted=!0,process$1.nextTick(e,c,o)):process$1.nextTick(e,c,o):r?(process$1.nextTick(t,c),r(o)):process$1.nextTick(t,c)})),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(a,r){var c=a._readableState,f=a._writableState;c&&c.autoDestroy||f&&f.autoDestroy?a.destroy(r):a.emit("error",r)}}}var errorsBrowser={},hasRequiredErrorsBrowser,state,hasRequiredState,browser$a,hasRequiredBrowser$a,_stream_writable$1,hasRequired_stream_writable$1,_stream_duplex$1,hasRequired_stream_duplex$1;function requireErrorsBrowser(){if(hasRequiredErrorsBrowser)return errorsBrowser;hasRequiredErrorsBrowser=1;var e={};function t(a,r,c){c||(c=Error);var f=(function(n){var o,s;function u(h,l,d){return n.call(this,(function(w,R,q){return typeof r=="string"?r:r(w,R,q)})(h,l,d))||this}return s=n,(o=u).prototype=Object.create(s.prototype),o.prototype.constructor=o,o.__proto__=s,u})(c);f.prototype.name=c.name,f.prototype.code=a,e[a]=f}function i(a,r){if(Array.isArray(a)){var c=a.length;return a=a.map((function(f){return String(f)})),c>2?"one of ".concat(r," ").concat(a.slice(0,c-1).join(", "),", or ")+a[c-1]:c===2?"one of ".concat(r," ").concat(a[0]," or ").concat(a[1]):"of ".concat(r," ").concat(a[0])}return"of ".concat(r," ").concat(String(a))}return t("ERR_INVALID_OPT_VALUE",(function(a,r){return'The value "'+r+'" is invalid for option "'+a+'"'}),TypeError),t("ERR_INVALID_ARG_TYPE",(function(a,r,c){var f,n,o;if(typeof r=="string"&&(n="not ",r.substr(0,n.length)===n)?(f="must not be",r=r.replace(/^not /,"")):f="must be",(function(u,h,l){return(l===void 0||l>u.length)&&(l=u.length),u.substring(l-h.length,l)===h})(a," argument"))o="The ".concat(a," ").concat(f," ").concat(i(r,"type"));else{var s=(function(u,h,l){return typeof l!="number"&&(l=0),!(l+h.length>u.length)&&u.indexOf(h,l)!==-1})(a,".")?"property":"argument";o='The "'.concat(a,'" ').concat(s," ").concat(f," ").concat(i(r,"type"))}return o+=". Received type ".concat(typeof c)}),TypeError),t("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),t("ERR_METHOD_NOT_IMPLEMENTED",(function(a){return"The "+a+" method is not implemented"})),t("ERR_STREAM_PREMATURE_CLOSE","Premature close"),t("ERR_STREAM_DESTROYED",(function(a){return"Cannot call "+a+" after a stream was destroyed"})),t("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),t("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),t("ERR_STREAM_WRITE_AFTER_END","write after end"),t("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),t("ERR_UNKNOWN_ENCODING",(function(a){return"Unknown encoding: "+a}),TypeError),t("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(t,i,a,r){var c=(function(f,n,o){return f.highWaterMark!=null?f.highWaterMark:n?f[o]:null})(i,r,a);if(c!=null){if(!isFinite(c)||Math.floor(c)!==c||c<0)throw new e(r?a:"highWaterMark",c);return Math.floor(c)}return t.objectMode?16:16384}}}function requireBrowser$a(){if(hasRequiredBrowser$a)return browser$a;function e(t){try{if(!commonjsGlobal.localStorage)return!1}catch{return!1}var i=commonjsGlobal.localStorage[t];return i!=null&&String(i).toLowerCase()==="true"}return hasRequiredBrowser$a=1,browser$a=function(t,i){if(e("noDeprecation"))return t;var a=!1;return function(){if(!a){if(e("throwDeprecation"))throw new Error(i);e("traceDeprecation")?console.trace(i):console.warn(i),a=!0}return t.apply(this,arguments)}},browser$a}function require_stream_writable$1(){if(hasRequired_stream_writable$1)return _stream_writable$1;function e(b){var y=this;this.next=null,this.entry=null,this.finish=function(){(function(m,_,k){var O=m.entry;for(m.entry=null;O;){var F=O.callback;_.pendingcb--,F(k),O=O.next}_.corkedRequestsFree.next=m})(y,b)}}var t;hasRequired_stream_writable$1=1,_stream_writable$1=S,S.WritableState=$;var i={deprecate:requireBrowser$a()},a=requireStreamBrowser$1(),r=requireDist().Buffer,c=(commonjsGlobal!==void 0?commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},f,n=requireDestroy$1(),o=requireState().getHighWaterMark,s=requireErrorsBrowser().codes,u=s.ERR_INVALID_ARG_TYPE,h=s.ERR_METHOD_NOT_IMPLEMENTED,l=s.ERR_MULTIPLE_CALLBACK,d=s.ERR_STREAM_CANNOT_PIPE,w=s.ERR_STREAM_DESTROYED,R=s.ERR_STREAM_NULL_VALUES,q=s.ERR_STREAM_WRITE_AFTER_END,A=s.ERR_UNKNOWN_ENCODING,M=n.errorOrDestroy;function I(){}function $(b,y,m){t=t||require_stream_duplex$1(),b=b||{},typeof m!="boolean"&&(m=y instanceof t),this.objectMode=!!b.objectMode,m&&(this.objectMode=this.objectMode||!!b.writableObjectMode),this.highWaterMark=o(this,b,"writableHighWaterMark",m),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var _=b.decodeStrings===!1;this.decodeStrings=!_,this.defaultEncoding=b.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(k){(function(O,F){var j=O._writableState,N=j.sync,U=j.writecb;if(typeof U!="function")throw new l;if((function(D){D.writing=!1,D.writecb=null,D.length-=D.writelen,D.writelen=0})(j),F)(function(D,G,K,ee,J){--G.pendingcb,K?(process$1.nextTick(J,ee),process$1.nextTick(g,D,G),D._writableState.errorEmitted=!0,M(D,ee)):(J(ee),D._writableState.errorEmitted=!0,M(D,ee),g(D,G))})(O,j,N,F,U);else{var P=B(j)||O.destroyed;P||j.corked||j.bufferProcessing||!j.bufferedRequest||v(O,j),N?process$1.nextTick(T,O,j,P,U):T(O,j,P,U)}})(y,k)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=b.emitClose!==!1,this.autoDestroy=!!b.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}function S(b){var y=this instanceof(t=t||require_stream_duplex$1());if(!y&&!f.call(S,this))return new S(b);this._writableState=new $(b,this,y),this.writable=!0,b&&(typeof b.write=="function"&&(this._write=b.write),typeof b.writev=="function"&&(this._writev=b.writev),typeof b.destroy=="function"&&(this._destroy=b.destroy),typeof b.final=="function"&&(this._final=b.final)),a.call(this)}function C(b,y,m,_,k,O,F){y.writelen=_,y.writecb=F,y.writing=!0,y.sync=!0,y.destroyed?y.onwrite(new w("write")):m?b._writev(k,y.onwrite):b._write(k,O,y.onwrite),y.sync=!1}function T(b,y,m,_){m||(function(k,O){O.length===0&&O.needDrain&&(O.needDrain=!1,k.emit("drain"))})(b,y),y.pendingcb--,_(),g(b,y)}function v(b,y){y.bufferProcessing=!0;var m=y.bufferedRequest;if(b._writev&&m&&m.next){var _=y.bufferedRequestCount,k=new Array(_),O=y.corkedRequestsFree;O.entry=m;for(var F=0,j=!0;m;)k[F]=m,m.isBuf||(j=!1),m=m.next,F+=1;k.allBuffers=j,C(b,y,!0,y.length,k,"",O.finish),y.pendingcb++,y.lastBufferedRequest=null,O.next?(y.corkedRequestsFree=O.next,O.next=null):y.corkedRequestsFree=new e(y),y.bufferedRequestCount=0}else{for(;m;){var N=m.chunk,U=m.encoding,P=m.callback;if(C(b,y,!1,y.objectMode?1:N.length,N,U,P),m=m.next,y.bufferedRequestCount--,y.writing)break}m===null&&(y.lastBufferedRequest=null)}y.bufferedRequest=m,y.bufferProcessing=!1}function B(b){return b.ending&&b.length===0&&b.bufferedRequest===null&&!b.finished&&!b.writing}function p(b,y){b._final((function(m){y.pendingcb--,m&&M(b,m),y.prefinished=!0,b.emit("prefinish"),g(b,y)}))}function g(b,y){var m=B(y);if(m&&((function(k,O){O.prefinished||O.finalCalled||(typeof k._final!="function"||O.destroyed?(O.prefinished=!0,k.emit("prefinish")):(O.pendingcb++,O.finalCalled=!0,process$1.nextTick(p,k,O)))})(b,y),y.pendingcb===0&&(y.finished=!0,b.emit("finish"),y.autoDestroy))){var _=b._readableState;(!_||_.autoDestroy&&_.endEmitted)&&b.destroy()}return m}return requireInherits_browser()(S,a),$.prototype.getBuffer=function(){for(var b=this.bufferedRequest,y=[];b;)y.push(b),b=b.next;return y},(function(){try{Object.defineProperty($.prototype,"buffer",{get:i.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"?(f=Function.prototype[Symbol.hasInstance],Object.defineProperty(S,Symbol.hasInstance,{value:function(b){return!!f.call(this,b)||this===S&&b&&b._writableState instanceof $}})):f=function(b){return b instanceof this},S.prototype.pipe=function(){M(this,new d)},S.prototype.write=function(b,y,m){var _,k=this._writableState,O=!1,F=!k.objectMode&&(_=b,r.isBuffer(_)||_ instanceof c);return F&&!r.isBuffer(b)&&(b=(function(j){return r.from(j)})(b)),typeof y=="function"&&(m=y,y=null),F?y="buffer":y||(y=k.defaultEncoding),typeof m!="function"&&(m=I),k.ending?(function(j,N){var U=new q;M(j,U),process$1.nextTick(N,U)})(this,m):(F||(function(j,N,U,P){var D;return U===null?D=new R:typeof U=="string"||N.objectMode||(D=new u("chunk",["string","Buffer"],U)),!D||(M(j,D),process$1.nextTick(P,D),!1)})(this,k,b,m))&&(k.pendingcb++,O=(function(j,N,U,P,D,G){if(!U){var K=(function(Q,X,Z){return Q.objectMode||Q.decodeStrings===!1||typeof X!="string"||(X=r.from(X,Z)),X})(N,P,D);P!==K&&(U=!0,D="buffer",P=K)}var ee=N.objectMode?1:P.length;N.length+=ee;var J=N.length<N.highWaterMark;if(J||(N.needDrain=!0),N.writing||N.corked){var V=N.lastBufferedRequest;N.lastBufferedRequest={chunk:P,encoding:D,isBuf:U,callback:G,next:null},V?V.next=N.lastBufferedRequest:N.bufferedRequest=N.lastBufferedRequest,N.bufferedRequestCount+=1}else C(j,N,!1,ee,P,D,G);return J})(this,k,F,b,y,m)),O},S.prototype.cork=function(){this._writableState.corked++},S.prototype.uncork=function(){var b=this._writableState;b.corked&&(b.corked--,b.writing||b.corked||b.bufferProcessing||!b.bufferedRequest||v(this,b))},S.prototype.setDefaultEncoding=function(b){if(typeof b=="string"&&(b=b.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((b+"").toLowerCase())>-1))throw new A(b);return this._writableState.defaultEncoding=b,this},Object.defineProperty(S.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(S.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),S.prototype._write=function(b,y,m){m(new h("_write()"))},S.prototype._writev=null,S.prototype.end=function(b,y,m){var _=this._writableState;return typeof b=="function"?(m=b,b=null,y=null):typeof y=="function"&&(m=y,y=null),b!=null&&this.write(b,y),_.corked&&(_.corked=1,this.uncork()),_.ending||(function(k,O,F){O.ending=!0,g(k,O),F&&(O.finished?process$1.nextTick(F):k.once("finish",F)),O.ended=!0,k.writable=!1})(this,_,m),this},Object.defineProperty(S.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(S.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(b){this._writableState&&(this._writableState.destroyed=b)}}),S.prototype.destroy=n.destroy,S.prototype._undestroy=n.undestroy,S.prototype._destroy=function(b,y){y(b)},_stream_writable$1}function require_stream_duplex$1(){if(hasRequired_stream_duplex$1)return _stream_duplex$1;hasRequired_stream_duplex$1=1;var e=Object.keys||function(s){var u=[];for(var h in s)u.push(h);return u};_stream_duplex$1=f;var t=require_stream_readable$1(),i=require_stream_writable$1();requireInherits_browser()(f,t);for(var a=e(i.prototype),r=0;r<a.length;r++){var c=a[r];f.prototype[c]||(f.prototype[c]=i.prototype[c])}function f(s){if(!(this instanceof f))return new f(s);t.call(this,s),i.call(this,s),this.allowHalfOpen=!0,s&&(s.readable===!1&&(this.readable=!1),s.writable===!1&&(this.writable=!1),s.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",n)))}function n(){this._writableState.ended||process$1.nextTick(o,this)}function o(s){s.end()}return Object.defineProperty(f.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(f.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(f.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(f.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==void 0&&this._writableState!==void 0&&this._readableState.destroyed&&this._writableState.destroyed},set:function(s){this._readableState!==void 0&&this._writableState!==void 0&&(this._readableState.destroyed=s,this._writableState.destroyed=s)}}),_stream_duplex$1}var string_decoder={},hasRequiredString_decoder,endOfStream,hasRequiredEndOfStream,async_iterator,hasRequiredAsync_iterator,fromBrowser,hasRequiredFromBrowser,_stream_readable$1,hasRequired_stream_readable$1,_stream_transform$1,hasRequired_stream_transform$1,_stream_passthrough$1,hasRequired_stream_passthrough$1,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$1().Buffer,t=e.isEncoding||function(h){switch((h=""+h)&&h.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 i(h){var l;switch(this.encoding=(function(d){var w=(function(R){if(!R)return"utf8";for(var q;;)switch(R){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 R;default:if(q)return;R=(""+R).toLowerCase(),q=!0}})(d);if(typeof w!="string"&&(e.isEncoding===t||!t(d)))throw new Error("Unknown encoding: "+d);return w||d})(h),this.encoding){case"utf16le":this.text=c,this.end=f,l=4;break;case"utf8":this.fillLast=r,l=4;break;case"base64":this.text=n,this.end=o,l=3;break;default:return this.write=s,void(this.end=u)}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(l)}function a(h){return h<=127?0:h>>5==6?2:h>>4==14?3:h>>3==30?4:h>>6==2?-1:-2}function r(h){var l=this.lastTotal-this.lastNeed,d=(function(w,R){if((192&R[0])!=128)return w.lastNeed=0,"�";if(w.lastNeed>1&&R.length>1){if((192&R[1])!=128)return w.lastNeed=1,"�";if(w.lastNeed>2&&R.length>2&&(192&R[2])!=128)return w.lastNeed=2,"�"}})(this,h);return d!==void 0?d:this.lastNeed<=h.length?(h.copy(this.lastChar,l,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(h.copy(this.lastChar,l,0,h.length),void(this.lastNeed-=h.length))}function c(h,l){if((h.length-l)%2==0){var d=h.toString("utf16le",l);if(d){var w=d.charCodeAt(d.length-1);if(w>=55296&&w<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=h[h.length-2],this.lastChar[1]=h[h.length-1],d.slice(0,-1)}return d}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=h[h.length-1],h.toString("utf16le",l,h.length-1)}function f(h){var l=h&&h.length?this.write(h):"";if(this.lastNeed){var d=this.lastTotal-this.lastNeed;return l+this.lastChar.toString("utf16le",0,d)}return l}function n(h,l){var d=(h.length-l)%3;return d===0?h.toString("base64",l):(this.lastNeed=3-d,this.lastTotal=3,d===1?this.lastChar[0]=h[h.length-1]:(this.lastChar[0]=h[h.length-2],this.lastChar[1]=h[h.length-1]),h.toString("base64",l,h.length-d))}function o(h){var l=h&&h.length?this.write(h):"";return this.lastNeed?l+this.lastChar.toString("base64",0,3-this.lastNeed):l}function s(h){return h.toString(this.encoding)}function u(h){return h&&h.length?this.write(h):""}return string_decoder.StringDecoder=i,i.prototype.write=function(h){if(h.length===0)return"";var l,d;if(this.lastNeed){if((l=this.fillLast(h))===void 0)return"";d=this.lastNeed,this.lastNeed=0}else d=0;return d<h.length?l?l+this.text(h,d):this.text(h,d):l||""},i.prototype.end=function(h){var l=h&&h.length?this.write(h):"";return this.lastNeed?l+"�":l},i.prototype.text=function(h,l){var d=(function(R,q,A){var M=q.length-1;if(M<A)return 0;var I=a(q[M]);return I>=0?(I>0&&(R.lastNeed=I-1),I):--M<A||I===-2?0:(I=a(q[M]),I>=0?(I>0&&(R.lastNeed=I-2),I):--M<A||I===-2?0:(I=a(q[M]),I>=0?(I>0&&(I===2?I=0:R.lastNeed=I-3),I):0))})(this,h,l);if(!this.lastNeed)return h.toString("utf8",l);this.lastTotal=d;var w=h.length-(d-this.lastNeed);return h.copy(this.lastChar,0,w),h.toString("utf8",l,w)},i.prototype.fillLast=function(h){if(this.lastNeed<=h.length)return h.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);h.copy(this.lastChar,this.lastTotal-this.lastNeed,0,h.length),this.lastNeed-=h.length},string_decoder}function requireEndOfStream(){if(hasRequiredEndOfStream)return endOfStream;hasRequiredEndOfStream=1;var e=requireErrorsBrowser().codes.ERR_STREAM_PREMATURE_CLOSE;function t(){}return endOfStream=function i(a,r,c){if(typeof r=="function")return i(a,null,r);r||(r={}),c=(function(q){var A=!1;return function(){if(!A){A=!0;for(var M=arguments.length,I=new Array(M),$=0;$<M;$++)I[$]=arguments[$];q.apply(this,I)}}})(c||t);var f=r.readable||r.readable!==!1&&a.readable,n=r.writable||r.writable!==!1&&a.writable,o=function(){a.writable||u()},s=a._writableState&&a._writableState.finished,u=function(){n=!1,s=!0,f||c.call(a)},h=a._readableState&&a._readableState.endEmitted,l=function(){f=!1,h=!0,n||c.call(a)},d=function(q){c.call(a,q)},w=function(){var q;return f&&!h?(a._readableState&&a._readableState.ended||(q=new e),c.call(a,q)):n&&!s?(a._writableState&&a._writableState.ended||(q=new e),c.call(a,q)):void 0},R=function(){a.req.on("finish",u)};return(function(q){return q.setHeader&&typeof q.abort=="function"})(a)?(a.on("complete",u),a.on("abort",w),a.req?R():a.on("request",R)):n&&!a._writableState&&(a.on("end",o),a.on("close",o)),a.on("end",l),a.on("finish",u),r.error!==!1&&a.on("error",d),a.on("close",w),function(){a.removeListener("complete",u),a.removeListener("abort",w),a.removeListener("request",R),a.req&&a.req.removeListener("finish",u),a.removeListener("end",o),a.removeListener("close",o),a.removeListener("finish",u),a.removeListener("end",l),a.removeListener("error",d),a.removeListener("close",w)}},endOfStream}function requireAsync_iterator(){if(hasRequiredAsync_iterator)return async_iterator;var e;function t(R,q,A){return(q=(function(M){var I=(function($,S){if(typeof $!="object"||$===null)return $;var C=$[Symbol.toPrimitive];if(C!==void 0){var T=C.call($,S);if(typeof T!="object")return T;throw new TypeError("@@toPrimitive must return a primitive value.")}return(S==="string"?String:Number)($)})(M,"string");return typeof I=="symbol"?I:String(I)})(q))in R?Object.defineProperty(R,q,{value:A,enumerable:!0,configurable:!0,writable:!0}):R[q]=A,R}hasRequiredAsync_iterator=1;var i=requireEndOfStream(),a=Symbol("lastResolve"),r=Symbol("lastReject"),c=Symbol("error"),f=Symbol("ended"),n=Symbol("lastPromise"),o=Symbol("handlePromise"),s=Symbol("stream");function u(R,q){return{value:R,done:q}}function h(R){var q=R[a];if(q!==null){var A=R[s].read();A!==null&&(R[n]=null,R[a]=null,R[r]=null,q(u(A,!1)))}}function l(R){process$1.nextTick(h,R)}var d=Object.getPrototypeOf((function(){})),w=Object.setPrototypeOf((e={get stream(){return this[s]},next:function(){var R=this,q=this[c];if(q!==null)return Promise.reject(q);if(this[f])return Promise.resolve(u(void 0,!0));if(this[s].destroyed)return new Promise((function($,S){process$1.nextTick((function(){R[c]?S(R[c]):$(u(void 0,!0))}))}));var A,M=this[n];if(M)A=new Promise((function($,S){return function(C,T){$.then((function(){S[f]?C(u(void 0,!0)):S[o](C,T)}),T)}})(M,this));else{var I=this[s].read();if(I!==null)return Promise.resolve(u(I,!1));A=new Promise(this[o])}return this[n]=A,A}},t(e,Symbol.asyncIterator,(function(){return this})),t(e,"return",(function(){var R=this;return new Promise((function(q,A){R[s].destroy(null,(function(M){M?A(M):q(u(void 0,!0))}))}))})),e),d);return async_iterator=function(R){var q,A=Object.create(w,(t(q={},s,{value:R,writable:!0}),t(q,a,{value:null,writable:!0}),t(q,r,{value:null,writable:!0}),t(q,c,{value:null,writable:!0}),t(q,f,{value:R._readableState.endEmitted,writable:!0}),t(q,o,{value:function(M,I){var $=A[s].read();$?(A[n]=null,A[a]=null,A[r]=null,M(u($,!1))):(A[a]=M,A[r]=I)},writable:!0}),q));return A[n]=null,i(R,(function(M){if(M&&M.code!=="ERR_STREAM_PREMATURE_CLOSE"){var I=A[r];return I!==null&&(A[n]=null,A[a]=null,A[r]=null,I(M)),void(A[c]=M)}var $=A[a];$!==null&&(A[n]=null,A[a]=null,A[r]=null,$(u(void 0,!0))),A[f]=!0})),R.on("readable",l.bind(null,A)),A},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$1(){if(hasRequired_stream_readable$1)return _stream_readable$1;var e;hasRequired_stream_readable$1=1,_stream_readable$1=S,S.ReadableState=$,requireEvents().EventEmitter;var t=function(P,D){return P.listeners(D).length},i=requireStreamBrowser$1(),a=requireDist().Buffer,r=(commonjsGlobal!==void 0?commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},c,f=requireUtil$1();c=f&&f.debuglog?f.debuglog("stream"):function(){};var n,o,s,u=requireBuffer_list(),h=requireDestroy$1(),l=requireState().getHighWaterMark,d=requireErrorsBrowser().codes,w=d.ERR_INVALID_ARG_TYPE,R=d.ERR_STREAM_PUSH_AFTER_EOF,q=d.ERR_METHOD_NOT_IMPLEMENTED,A=d.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;requireInherits_browser()(S,i);var M=h.errorOrDestroy,I=["error","close","destroy","pause","resume"];function $(P,D,G){e=e||require_stream_duplex$1(),P=P||{},typeof G!="boolean"&&(G=D instanceof e),this.objectMode=!!P.objectMode,G&&(this.objectMode=this.objectMode||!!P.readableObjectMode),this.highWaterMark=l(this,P,"readableHighWaterMark",G),this.buffer=new u,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=P.emitClose!==!1,this.autoDestroy=!!P.autoDestroy,this.destroyed=!1,this.defaultEncoding=P.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,P.encoding&&(n||(n=requireString_decoder().StringDecoder),this.decoder=new n(P.encoding),this.encoding=P.encoding)}function S(P){if(e=e||require_stream_duplex$1(),!(this instanceof S))return new S(P);var D=this instanceof e;this._readableState=new $(P,this,D),this.readable=!0,P&&(typeof P.read=="function"&&(this._read=P.read),typeof P.destroy=="function"&&(this._destroy=P.destroy)),i.call(this)}function C(P,D,G,K,ee){c("readableAddChunk",D);var J,V=P._readableState;if(D===null)V.reading=!1,(function(Q,X){if(c("onEofChunk"),!X.ended){if(X.decoder){var Z=X.decoder.end();Z&&Z.length&&(X.buffer.push(Z),X.length+=X.objectMode?1:Z.length)}X.ended=!0,X.sync?p(Q):(X.needReadable=!1,X.emittedReadable||(X.emittedReadable=!0,g(Q)))}})(P,V);else if(ee||(J=(function(Q,X){var Z;ae=X,a.isBuffer(ae)||ae instanceof r||typeof X=="string"||X===void 0||Q.objectMode||(Z=new w("chunk",["string","Buffer","Uint8Array"],X));var ae;return Z})(V,D)),J)M(P,J);else if(V.objectMode||D&&D.length>0)if(typeof D=="string"||V.objectMode||Object.getPrototypeOf(D)===a.prototype||(D=(function(Q){return a.from(Q)})(D)),K)V.endEmitted?M(P,new A):T(P,V,D,!0);else if(V.ended)M(P,new R);else{if(V.destroyed)return!1;V.reading=!1,V.decoder&&!G?(D=V.decoder.write(D),V.objectMode||D.length!==0?T(P,V,D,!1):b(P,V)):T(P,V,D,!1)}else K||(V.reading=!1,b(P,V));return!V.ended&&(V.length<V.highWaterMark||V.length===0)}function T(P,D,G,K){D.flowing&&D.length===0&&!D.sync?(D.awaitDrain=0,P.emit("data",G)):(D.length+=D.objectMode?1:G.length,K?D.buffer.unshift(G):D.buffer.push(G),D.needReadable&&p(P)),b(P,D)}Object.defineProperty(S.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==void 0&&this._readableState.destroyed},set:function(P){this._readableState&&(this._readableState.destroyed=P)}}),S.prototype.destroy=h.destroy,S.prototype._undestroy=h.undestroy,S.prototype._destroy=function(P,D){D(P)},S.prototype.push=function(P,D){var G,K=this._readableState;return K.objectMode?G=!0:typeof P=="string"&&((D=D||K.defaultEncoding)!==K.encoding&&(P=a.from(P,D),D=""),G=!0),C(this,P,D,!1,G)},S.prototype.unshift=function(P){return C(this,P,null,!0,!1)},S.prototype.isPaused=function(){return this._readableState.flowing===!1},S.prototype.setEncoding=function(P){n||(n=requireString_decoder().StringDecoder);var D=new n(P);this._readableState.decoder=D,this._readableState.encoding=this._readableState.decoder.encoding;for(var G=this._readableState.buffer.head,K="";G!==null;)K+=D.write(G.data),G=G.next;return this._readableState.buffer.clear(),K!==""&&this._readableState.buffer.push(K),this._readableState.length=K.length,this};var v=1073741824;function B(P,D){return P<=0||D.length===0&&D.ended?0:D.objectMode?1:P!=P?D.flowing&&D.length?D.buffer.head.data.length:D.length:(P>D.highWaterMark&&(D.highWaterMark=(function(G){return G>=v?G=v:(G--,G|=G>>>1,G|=G>>>2,G|=G>>>4,G|=G>>>8,G|=G>>>16,G++),G})(P)),P<=D.length?P:D.ended?D.length:(D.needReadable=!0,0))}function p(P){var D=P._readableState;c("emitReadable",D.needReadable,D.emittedReadable),D.needReadable=!1,D.emittedReadable||(c("emitReadable",D.flowing),D.emittedReadable=!0,process$1.nextTick(g,P))}function g(P){var D=P._readableState;c("emitReadable_",D.destroyed,D.length,D.ended),D.destroyed||!D.length&&!D.ended||(P.emit("readable"),D.emittedReadable=!1),D.needReadable=!D.flowing&&!D.ended&&D.length<=D.highWaterMark,O(P)}function b(P,D){D.readingMore||(D.readingMore=!0,process$1.nextTick(y,P,D))}function y(P,D){for(;!D.reading&&!D.ended&&(D.length<D.highWaterMark||D.flowing&&D.length===0);){var G=D.length;if(c("maybeReadMore read 0"),P.read(0),G===D.length)break}D.readingMore=!1}function m(P){var D=P._readableState;D.readableListening=P.listenerCount("readable")>0,D.resumeScheduled&&!D.paused?D.flowing=!0:P.listenerCount("data")>0&&P.resume()}function _(P){c("readable nexttick read 0"),P.read(0)}function k(P,D){c("resume",D.reading),D.reading||P.read(0),D.resumeScheduled=!1,P.emit("resume"),O(P),D.flowing&&!D.reading&&P.read(0)}function O(P){var D=P._readableState;for(c("flow",D.flowing);D.flowing&&P.read()!==null;);}function F(P,D){return D.length===0?null:(D.objectMode?G=D.buffer.shift():!P||P>=D.length?(G=D.decoder?D.buffer.join(""):D.buffer.length===1?D.buffer.first():D.buffer.concat(D.length),D.buffer.clear()):G=D.buffer.consume(P,D.decoder),G);var G}function j(P){var D=P._readableState;c("endReadable",D.endEmitted),D.endEmitted||(D.ended=!0,process$1.nextTick(N,D,P))}function N(P,D){if(c("endReadableNT",P.endEmitted,P.length),!P.endEmitted&&P.length===0&&(P.endEmitted=!0,D.readable=!1,D.emit("end"),P.autoDestroy)){var G=D._writableState;(!G||G.autoDestroy&&G.finished)&&D.destroy()}}function U(P,D){for(var G=0,K=P.length;G<K;G++)if(P[G]===D)return G;return-1}return S.prototype.read=function(P){c("read",P),P=parseInt(P,10);var D=this._readableState,G=P;if(P!==0&&(D.emittedReadable=!1),P===0&&D.needReadable&&((D.highWaterMark!==0?D.length>=D.highWaterMark:D.length>0)||D.ended))return c("read: emitReadable",D.length,D.ended),D.length===0&&D.ended?j(this):p(this),null;if((P=B(P,D))===0&&D.ended)return D.length===0&&j(this),null;var K,ee=D.needReadable;return c("need readable",ee),(D.length===0||D.length-P<D.highWaterMark)&&c("length less than watermark",ee=!0),D.ended||D.reading?c("reading or ended",ee=!1):ee&&(c("do read"),D.reading=!0,D.sync=!0,D.length===0&&(D.needReadable=!0),this._read(D.highWaterMark),D.sync=!1,D.reading||(P=B(G,D))),(K=P>0?F(P,D):null)===null?(D.needReadable=D.length<=D.highWaterMark,P=0):(D.length-=P,D.awaitDrain=0),D.length===0&&(D.ended||(D.needReadable=!0),G!==P&&D.ended&&j(this)),K!==null&&this.emit("data",K),K},S.prototype._read=function(P){M(this,new q("_read()"))},S.prototype.pipe=function(P,D){var G=this,K=this._readableState;switch(K.pipesCount){case 0:K.pipes=P;break;case 1:K.pipes=[K.pipes,P];break;default:K.pipes.push(P)}K.pipesCount+=1,c("pipe count=%d opts=%j",K.pipesCount,D);var ee=(!D||D.end!==!1)&&P!==process$1.stdout&&P!==process$1.stderr?V:be;function J(oe,re){c("onunpipe"),oe===G&&re&&re.hasUnpiped===!1&&(re.hasUnpiped=!0,c("cleanup"),P.removeListener("close",pe),P.removeListener("finish",ie),P.removeListener("drain",Q),P.removeListener("error",ae),P.removeListener("unpipe",J),G.removeListener("end",V),G.removeListener("end",be),G.removeListener("data",Z),X=!0,!K.awaitDrain||P._writableState&&!P._writableState.needDrain||Q())}function V(){c("onend"),P.end()}K.endEmitted?process$1.nextTick(ee):G.once("end",ee),P.on("unpipe",J);var Q=(function(oe){return function(){var re=oe._readableState;c("pipeOnDrain",re.awaitDrain),re.awaitDrain&&re.awaitDrain--,re.awaitDrain===0&&t(oe,"data")&&(re.flowing=!0,O(oe))}})(G);P.on("drain",Q);var X=!1;function Z(oe){c("ondata");var re=P.write(oe);c("dest.write",re),re===!1&&((K.pipesCount===1&&K.pipes===P||K.pipesCount>1&&U(K.pipes,P)!==-1)&&!X&&(c("false write response, pause",K.awaitDrain),K.awaitDrain++),G.pause())}function ae(oe){c("onerror",oe),be(),P.removeListener("error",ae),t(P,"error")===0&&M(P,oe)}function pe(){P.removeListener("finish",ie),be()}function ie(){c("onfinish"),P.removeListener("close",pe),be()}function be(){c("unpipe"),G.unpipe(P)}return G.on("data",Z),(function(oe,re,de){if(typeof oe.prependListener=="function")return oe.prependListener(re,de);oe._events&&oe._events[re]?Array.isArray(oe._events[re])?oe._events[re].unshift(de):oe._events[re]=[de,oe._events[re]]:oe.on(re,de)})(P,"error",ae),P.once("close",pe),P.once("finish",ie),P.emit("pipe",G),K.flowing||(c("pipe resume"),G.resume()),P},S.prototype.unpipe=function(P){var D=this._readableState,G={hasUnpiped:!1};if(D.pipesCount===0)return this;if(D.pipesCount===1)return P&&P!==D.pipes||(P||(P=D.pipes),D.pipes=null,D.pipesCount=0,D.flowing=!1,P&&P.emit("unpipe",this,G)),this;if(!P){var K=D.pipes,ee=D.pipesCount;D.pipes=null,D.pipesCount=0,D.flowing=!1;for(var J=0;J<ee;J++)K[J].emit("unpipe",this,{hasUnpiped:!1});return this}var V=U(D.pipes,P);return V===-1||(D.pipes.splice(V,1),D.pipesCount-=1,D.pipesCount===1&&(D.pipes=D.pipes[0]),P.emit("unpipe",this,G)),this},S.prototype.on=function(P,D){var G=i.prototype.on.call(this,P,D),K=this._readableState;return P==="data"?(K.readableListening=this.listenerCount("readable")>0,K.flowing!==!1&&this.resume()):P==="readable"&&(K.endEmitted||K.readableListening||(K.readableListening=K.needReadable=!0,K.flowing=!1,K.emittedReadable=!1,c("on readable",K.length,K.reading),K.length?p(this):K.reading||process$1.nextTick(_,this))),G},S.prototype.addListener=S.prototype.on,S.prototype.removeListener=function(P,D){var G=i.prototype.removeListener.call(this,P,D);return P==="readable"&&process$1.nextTick(m,this),G},S.prototype.removeAllListeners=function(P){var D=i.prototype.removeAllListeners.apply(this,arguments);return P!=="readable"&&P!==void 0||process$1.nextTick(m,this),D},S.prototype.resume=function(){var P=this._readableState;return P.flowing||(c("resume"),P.flowing=!P.readableListening,(function(D,G){G.resumeScheduled||(G.resumeScheduled=!0,process$1.nextTick(k,D,G))})(this,P)),P.paused=!1,this},S.prototype.pause=function(){return c("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(c("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},S.prototype.wrap=function(P){var D=this,G=this._readableState,K=!1;for(var ee in P.on("end",(function(){if(c("wrapped end"),G.decoder&&!G.ended){var V=G.decoder.end();V&&V.length&&D.push(V)}D.push(null)})),P.on("data",(function(V){c("wrapped data"),G.decoder&&(V=G.decoder.write(V)),G.objectMode&&V==null||(G.objectMode||V&&V.length)&&(D.push(V)||(K=!0,P.pause()))})),P)this[ee]===void 0&&typeof P[ee]=="function"&&(this[ee]=(function(V){return function(){return P[V].apply(P,arguments)}})(ee));for(var J=0;J<I.length;J++)P.on(I[J],this.emit.bind(this,I[J]));return this._read=function(V){c("wrapped _read",V),K&&(K=!1,P.resume())},this},typeof Symbol=="function"&&(S.prototype[Symbol.asyncIterator]=function(){return o===void 0&&(o=requireAsync_iterator()),o(this)}),Object.defineProperty(S.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(S.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(S.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(P){this._readableState&&(this._readableState.flowing=P)}}),S._fromList=F,Object.defineProperty(S.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),typeof Symbol=="function"&&(S.from=function(P,D){return s===void 0&&(s=requireFromBrowser()),s(S,P,D)}),_stream_readable$1}function require_stream_transform$1(){if(hasRequired_stream_transform$1)return _stream_transform$1;hasRequired_stream_transform$1=1,_stream_transform$1=n;var e=requireErrorsBrowser().codes,t=e.ERR_METHOD_NOT_IMPLEMENTED,i=e.ERR_MULTIPLE_CALLBACK,a=e.ERR_TRANSFORM_ALREADY_TRANSFORMING,r=e.ERR_TRANSFORM_WITH_LENGTH_0,c=require_stream_duplex$1();function f(u,h){var l=this._transformState;l.transforming=!1;var d=l.writecb;if(d===null)return this.emit("error",new i);l.writechunk=null,l.writecb=null,h!=null&&this.push(h),d(u);var w=this._readableState;w.reading=!1,(w.needReadable||w.length<w.highWaterMark)&&this._read(w.highWaterMark)}function n(u){if(!(this instanceof n))return new n(u);c.call(this,u),this._transformState={afterTransform:f.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,u&&(typeof u.transform=="function"&&(this._transform=u.transform),typeof u.flush=="function"&&(this._flush=u.flush)),this.on("prefinish",o)}function o(){var u=this;typeof this._flush!="function"||this._readableState.destroyed?s(this,null,null):this._flush((function(h,l){s(u,h,l)}))}function s(u,h,l){if(h)return u.emit("error",h);if(l!=null&&u.push(l),u._writableState.length)throw new r;if(u._transformState.transforming)throw new a;return u.push(null)}return requireInherits_browser()(n,c),n.prototype.push=function(u,h){return this._transformState.needTransform=!1,c.prototype.push.call(this,u,h)},n.prototype._transform=function(u,h,l){l(new t("_transform()"))},n.prototype._write=function(u,h,l){var d=this._transformState;if(d.writecb=l,d.writechunk=u,d.writeencoding=h,!d.transforming){var w=this._readableState;(d.needTransform||w.needReadable||w.length<w.highWaterMark)&&this._read(w.highWaterMark)}},n.prototype._read=function(u){var h=this._transformState;h.writechunk===null||h.transforming?h.needTransform=!0:(h.transforming=!0,this._transform(h.writechunk,h.writeencoding,h.afterTransform))},n.prototype._destroy=function(u,h){c.prototype._destroy.call(this,u,(function(l){h(l)}))},_stream_transform$1}function require_stream_passthrough$1(){if(hasRequired_stream_passthrough$1)return _stream_passthrough$1;hasRequired_stream_passthrough$1=1,_stream_passthrough$1=t;var e=require_stream_transform$1();function t(i){if(!(this instanceof t))return new t(i);e.call(this,i)}return requireInherits_browser()(t,e),t.prototype._transform=function(i,a,r){r(null,i)},_stream_passthrough$1}function requirePipeline(){if(hasRequiredPipeline)return pipeline_1;var e;hasRequiredPipeline=1;var t=requireErrorsBrowser().codes,i=t.ERR_MISSING_ARGS,a=t.ERR_STREAM_DESTROYED;function r(n){if(n)throw n}function c(n){n()}function f(n,o){return n.pipe(o)}return pipeline_1=function(){for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];var u,h=(function(d){return d.length?typeof d[d.length-1]!="function"?r:d.pop():r})(o);if(Array.isArray(o[0])&&(o=o[0]),o.length<2)throw new i("streams");var l=o.map((function(d,w){var R=w<o.length-1;return(function(q,A,M,I){I=(function(C){var T=!1;return function(){T||(T=!0,C.apply(void 0,arguments))}})(I);var $=!1;q.on("close",(function(){$=!0})),e===void 0&&(e=requireEndOfStream()),e(q,{readable:A,writable:M},(function(C){if(C)return I(C);$=!0,I()}));var S=!1;return function(C){if(!$&&!S)return S=!0,(function(T){return T.setHeader&&typeof T.abort=="function"})(q)?q.abort():typeof q.destroy=="function"?q.destroy():void I(C||new a("pipe"))}})(d,R,w>0,(function(q){u||(u=q),q&&l.forEach(c),R||(l.forEach(c),h(u))}))}));return o.reduce(f)},pipeline_1}function requireStreamBrowserify(){if(hasRequiredStreamBrowserify)return streamBrowserify;hasRequiredStreamBrowserify=1,streamBrowserify=t;var e=requireEvents().EventEmitter;function t(){e.call(this)}return requireInherits_browser()(t,e),t.Readable=require_stream_readable$1(),t.Writable=require_stream_writable$1(),t.Duplex=require_stream_duplex$1(),t.Transform=require_stream_transform$1(),t.PassThrough=require_stream_passthrough$1(),t.finished=requireEndOfStream(),t.pipeline=requirePipeline(),t.Stream=t,t.prototype.pipe=function(i,a){var r=this;function c(l){i.writable&&i.write(l)===!1&&r.pause&&r.pause()}function f(){r.readable&&r.resume&&r.resume()}r.on("data",c),i.on("drain",f),i._isStdio||a&&a.end===!1||(r.on("end",o),r.on("close",s));var n=!1;function o(){n||(n=!0,i.end())}function s(){n||(n=!0,typeof i.destroy=="function"&&i.destroy())}function u(l){if(h(),e.listenerCount(this,"error")===0)throw l}function h(){r.removeListener("data",c),i.removeListener("drain",f),r.removeListener("end",o),r.removeListener("close",s),r.removeListener("error",u),i.removeListener("error",u),r.removeListener("end",h),r.removeListener("close",h),i.removeListener("close",h)}return r.on("error",u),i.on("error",u),r.on("end",h),r.on("close",h),i.on("close",h),i.emit("pipe",r),i},streamBrowserify}function requireHashBase$1(){if(hasRequiredHashBase$1)return hashBase$1;hasRequiredHashBase$1=1;var e=requireSafeBuffer$1().Buffer,t=requireStreamBrowserify().Transform;function i(c){t.call(this),this._block=e.allocUnsafe(c),this._blockSize=c,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}requireInherits_browser()(i,t),i.prototype._transform=function(c,f,n){var o=null;try{this.update(c,f)}catch(s){o=s}n(o)},i.prototype._flush=function(c){var f=null;try{this.push(this.digest())}catch(n){f=n}c(f)};var a=typeof Uint8Array<"u",r=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&ArrayBuffer.isView&&(e.prototype instanceof Uint8Array||e.TYPED_ARRAY_SUPPORT);return i.prototype.update=function(c,f){if(this._finalized)throw new Error("Digest already called");c=(function(l,d){if(l instanceof e)return l;if(typeof l=="string")return e.from(l,d);if(r&&ArrayBuffer.isView(l)){if(l.byteLength===0)return e.alloc(0);var w=e.from(l.buffer,l.byteOffset,l.byteLength);if(w.byteLength===l.byteLength)return w}if(a&&l instanceof Uint8Array||e.isBuffer(l)&&l.constructor&&typeof l.constructor.isBuffer=="function"&&l.constructor.isBuffer(l))return e.from(l);throw new TypeError('The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView.')})(c,f);for(var n=this._block,o=0;this._blockOffset+c.length-o>=this._blockSize;){for(var s=this._blockOffset;s<this._blockSize;)n[s++]=c[o++];this._update(),this._blockOffset=0}for(;o<c.length;)n[this._blockOffset++]=c[o++];for(var u=0,h=8*c.length;h>0;++u)this._length[u]+=h,(h=this._length[u]/4294967296|0)>0&&(this._length[u]-=4294967296*h);return this},i.prototype._update=function(){throw new Error("_update is not implemented")},i.prototype.digest=function(c){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var f=this._digest();c!==void 0&&(f=f.toString(c)),this._block.fill(0),this._blockOffset=0;for(var n=0;n<4;++n)this._length[n]=0;return f},i.prototype._digest=function(){throw new Error("_digest is not implemented")},hashBase$1=i}function requireMd5_js(){if(hasRequiredMd5_js)return md5_js;hasRequiredMd5_js=1;var e=requireInherits_browser(),t=requireHashBase$1(),i=requireSafeBuffer$1().Buffer,a=new Array(16);function r(){t.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function c(u,h){return u<<h|u>>>32-h}function f(u,h,l,d,w,R,q){return c(u+(h&l|~h&d)+w+R|0,q)+h|0}function n(u,h,l,d,w,R,q){return c(u+(h&d|l&~d)+w+R|0,q)+h|0}function o(u,h,l,d,w,R,q){return c(u+(h^l^d)+w+R|0,q)+h|0}function s(u,h,l,d,w,R,q){return c(u+(l^(h|~d))+w+R|0,q)+h|0}return e(r,t),r.prototype._update=function(){for(var u=a,h=0;h<16;++h)u[h]=this._block.readInt32LE(4*h);var l=this._a,d=this._b,w=this._c,R=this._d;l=f(l,d,w,R,u[0],3614090360,7),R=f(R,l,d,w,u[1],3905402710,12),w=f(w,R,l,d,u[2],606105819,17),d=f(d,w,R,l,u[3],3250441966,22),l=f(l,d,w,R,u[4],4118548399,7),R=f(R,l,d,w,u[5],1200080426,12),w=f(w,R,l,d,u[6],2821735955,17),d=f(d,w,R,l,u[7],4249261313,22),l=f(l,d,w,R,u[8],1770035416,7),R=f(R,l,d,w,u[9],2336552879,12),w=f(w,R,l,d,u[10],4294925233,17),d=f(d,w,R,l,u[11],2304563134,22),l=f(l,d,w,R,u[12],1804603682,7),R=f(R,l,d,w,u[13],4254626195,12),w=f(w,R,l,d,u[14],2792965006,17),l=n(l,d=f(d,w,R,l,u[15],1236535329,22),w,R,u[1],4129170786,5),R=n(R,l,d,w,u[6],3225465664,9),w=n(w,R,l,d,u[11],643717713,14),d=n(d,w,R,l,u[0],3921069994,20),l=n(l,d,w,R,u[5],3593408605,5),R=n(R,l,d,w,u[10],38016083,9),w=n(w,R,l,d,u[15],3634488961,14),d=n(d,w,R,l,u[4],3889429448,20),l=n(l,d,w,R,u[9],568446438,5),R=n(R,l,d,w,u[14],3275163606,9),w=n(w,R,l,d,u[3],4107603335,14),d=n(d,w,R,l,u[8],1163531501,20),l=n(l,d,w,R,u[13],2850285829,5),R=n(R,l,d,w,u[2],4243563512,9),w=n(w,R,l,d,u[7],1735328473,14),l=o(l,d=n(d,w,R,l,u[12],2368359562,20),w,R,u[5],4294588738,4),R=o(R,l,d,w,u[8],2272392833,11),w=o(w,R,l,d,u[11],1839030562,16),d=o(d,w,R,l,u[14],4259657740,23),l=o(l,d,w,R,u[1],2763975236,4),R=o(R,l,d,w,u[4],1272893353,11),w=o(w,R,l,d,u[7],4139469664,16),d=o(d,w,R,l,u[10],3200236656,23),l=o(l,d,w,R,u[13],681279174,4),R=o(R,l,d,w,u[0],3936430074,11),w=o(w,R,l,d,u[3],3572445317,16),d=o(d,w,R,l,u[6],76029189,23),l=o(l,d,w,R,u[9],3654602809,4),R=o(R,l,d,w,u[12],3873151461,11),w=o(w,R,l,d,u[15],530742520,16),l=s(l,d=o(d,w,R,l,u[2],3299628645,23),w,R,u[0],4096336452,6),R=s(R,l,d,w,u[7],1126891415,10),w=s(w,R,l,d,u[14],2878612391,15),d=s(d,w,R,l,u[5],4237533241,21),l=s(l,d,w,R,u[12],1700485571,6),R=s(R,l,d,w,u[3],2399980690,10),w=s(w,R,l,d,u[10],4293915773,15),d=s(d,w,R,l,u[1],2240044497,21),l=s(l,d,w,R,u[8],1873313359,6),R=s(R,l,d,w,u[15],4264355552,10),w=s(w,R,l,d,u[6],2734768916,15),d=s(d,w,R,l,u[13],1309151649,21),l=s(l,d,w,R,u[4],4149444226,6),R=s(R,l,d,w,u[11],3174756917,10),w=s(w,R,l,d,u[2],718787259,15),d=s(d,w,R,l,u[9],3951481745,21),this._a=this._a+l|0,this._b=this._b+d|0,this._c=this._c+w|0,this._d=this._d+R|0},r.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 u=i.allocUnsafe(16);return u.writeInt32LE(this._a,0),u.writeInt32LE(this._b,4),u.writeInt32LE(this._c,8),u.writeInt32LE(this._d,12),u},md5_js=r}function requireRipemd160$2(){if(hasRequiredRipemd160$2)return ripemd160$3;hasRequiredRipemd160$2=1;var e=requireDist().Buffer,t=requireInherits_browser(),i=requireHashBase$1(),a=new Array(16),r=[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],f=[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],n=[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],o=[0,1518500249,1859775393,2400959708,2840853838],s=[1352829926,1548603684,1836072691,2053994217,0];function u(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function h(A,M){return A<<M|A>>>32-M}function l(A,M,I,$,S,C,T,v){return h(A+(M^I^$)+C+T|0,v)+S|0}function d(A,M,I,$,S,C,T,v){return h(A+(M&I|~M&$)+C+T|0,v)+S|0}function w(A,M,I,$,S,C,T,v){return h(A+((M|~I)^$)+C+T|0,v)+S|0}function R(A,M,I,$,S,C,T,v){return h(A+(M&$|I&~$)+C+T|0,v)+S|0}function q(A,M,I,$,S,C,T,v){return h(A+(M^(I|~$))+C+T|0,v)+S|0}return t(u,i),u.prototype._update=function(){for(var A=a,M=0;M<16;++M)A[M]=this._block.readInt32LE(4*M);for(var I=0|this._a,$=0|this._b,S=0|this._c,C=0|this._d,T=0|this._e,v=0|this._a,B=0|this._b,p=0|this._c,g=0|this._d,b=0|this._e,y=0;y<80;y+=1){var m,_;y<16?(m=l(I,$,S,C,T,A[r[y]],o[0],f[y]),_=q(v,B,p,g,b,A[c[y]],s[0],n[y])):y<32?(m=d(I,$,S,C,T,A[r[y]],o[1],f[y]),_=R(v,B,p,g,b,A[c[y]],s[1],n[y])):y<48?(m=w(I,$,S,C,T,A[r[y]],o[2],f[y]),_=w(v,B,p,g,b,A[c[y]],s[2],n[y])):y<64?(m=R(I,$,S,C,T,A[r[y]],o[3],f[y]),_=d(v,B,p,g,b,A[c[y]],s[3],n[y])):(m=q(I,$,S,C,T,A[r[y]],o[4],f[y]),_=l(v,B,p,g,b,A[c[y]],s[4],n[y])),I=T,T=C,C=h(S,10),S=$,$=m,v=b,b=g,g=h(p,10),p=B,B=_}var k=this._b+S+g|0;this._b=this._c+C+b|0,this._c=this._d+T+v|0,this._d=this._e+I+B|0,this._e=this._a+$+p|0,this._a=k},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 A=e.alloc?e.alloc(20):new e(20);return A.writeInt32LE(this._a,0),A.writeInt32LE(this._b,4),A.writeInt32LE(this._c,8),A.writeInt32LE(this._d,12),A.writeInt32LE(this._e,16),A},ripemd160$3=u}var sha_js={exports:{}},isarray$1,hasRequiredIsarray$1,callBound,hasRequiredCallBound,forEach,hasRequiredForEach,possibleTypedArrayNames,hasRequiredPossibleTypedArrayNames,availableTypedArrays,hasRequiredAvailableTypedArrays;function requireIsarray$1(){if(hasRequiredIsarray$1)return isarray$1;hasRequiredIsarray$1=1;var e={}.toString;return isarray$1=Array.isArray||function(t){return e.call(t)=="[object Array]"}}function requireCallBound(){if(hasRequiredCallBound)return callBound;hasRequiredCallBound=1;var e=requireGetIntrinsic(),t=requireCallBindApplyHelpers(),i=t([e("%String.prototype.indexOf%")]);return callBound=function(a,r){var c=e(a,!!r);return typeof c=="function"&&i(a,".prototype.")>-1?t([c]):c}}function requireForEach(){if(hasRequiredForEach)return forEach;hasRequiredForEach=1;var e=requireIsCallable(),t=Object.prototype.toString,i=Object.prototype.hasOwnProperty;return forEach=function(a,r,c){if(!e(r))throw new TypeError("iterator must be a function");var f,n;arguments.length>=3&&(f=c),n=a,t.call(n)==="[object Array]"?(function(o,s,u){for(var h=0,l=o.length;h<l;h++)i.call(o,h)&&(u==null?s(o[h],h,o):s.call(u,o[h],h,o))})(a,r,f):typeof a=="string"?(function(o,s,u){for(var h=0,l=o.length;h<l;h++)u==null?s(o.charAt(h),h,o):s.call(u,o.charAt(h),h,o)})(a,r,f):(function(o,s,u){for(var h in o)i.call(o,h)&&(u==null?s(o[h],h,o):s.call(u,o[h],h,o))})(a,r,f)},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(),t=typeof globalThis>"u"?commonjsGlobal:globalThis;return availableTypedArrays=function(){for(var i=[],a=0;a<e.length;a++)typeof t[e[a]]=="function"&&(i[i.length]=e[a]);return i}}var callBind={exports:{}},defineDataProperty,hasRequiredDefineDataProperty,hasPropertyDescriptors_1,hasRequiredHasPropertyDescriptors,setFunctionLength,hasRequiredSetFunctionLength,applyBind,hasRequiredApplyBind,hasRequiredCallBind,shams,hasRequiredShams,whichTypedArray,hasRequiredWhichTypedArray,isTypedArray,hasRequiredIsTypedArray,typedArrayBuffer,hasRequiredTypedArrayBuffer,toBuffer,hasRequiredToBuffer$2,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$2,hasRequiredMd5$1,browser$8,hasRequiredBrowser$8;function requireDefineDataProperty(){if(hasRequiredDefineDataProperty)return defineDataProperty;hasRequiredDefineDataProperty=1;var e=requireEsDefineProperty(),t=requireSyntax(),i=requireType(),a=requireGopd();return defineDataProperty=function(r,c,f){if(!r||typeof r!="object"&&typeof r!="function")throw new i("`obj` must be an object or a function`");if(typeof c!="string"&&typeof c!="symbol")throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new i("`loose`, if provided, must be a boolean");var n=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,s=arguments.length>5?arguments[5]:null,u=arguments.length>6&&arguments[6],h=!!a&&a(r,c);if(e)e(r,c,{configurable:s===null&&h?h.configurable:!s,enumerable:n===null&&h?h.enumerable:!n,value:f,writable:o===null&&h?h.writable:!o});else{if(!u&&(n||o||s))throw new t("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");r[c]=f}},defineDataProperty}function requireHasPropertyDescriptors(){if(hasRequiredHasPropertyDescriptors)return hasPropertyDescriptors_1;hasRequiredHasPropertyDescriptors=1;var e=requireEsDefineProperty(),t=function(){return!!e};return t.hasArrayLengthDefineBug=function(){if(!e)return null;try{return e([],"length",{value:1}).length!==1}catch{return!0}},hasPropertyDescriptors_1=t}function requireSetFunctionLength(){if(hasRequiredSetFunctionLength)return setFunctionLength;hasRequiredSetFunctionLength=1;var e=requireGetIntrinsic(),t=requireDefineDataProperty(),i=requireHasPropertyDescriptors()(),a=requireGopd(),r=requireType(),c=e("%Math.floor%");return setFunctionLength=function(f,n){if(typeof f!="function")throw new r("`fn` is not a function");if(typeof n!="number"||n<0||n>4294967295||c(n)!==n)throw new r("`length` must be a positive 32-bit integer");var o=arguments.length>2&&!!arguments[2],s=!0,u=!0;if("length"in f&&a){var h=a(f,"length");h&&!h.configurable&&(s=!1),h&&!h.writable&&(u=!1)}return(s||u||!o)&&(i?t(f,"length",n,!0,!0):t(f,"length",n)),f},setFunctionLength}function requireApplyBind(){if(hasRequiredApplyBind)return applyBind;hasRequiredApplyBind=1;var e=requireFunctionBind(),t=requireFunctionApply(),i=requireActualApply();return applyBind=function(){return i(e,t,arguments)},applyBind}function requireCallBind(){return hasRequiredCallBind||(hasRequiredCallBind=1,(function(e){var t=requireSetFunctionLength(),i=requireEsDefineProperty(),a=requireCallBindApplyHelpers(),r=requireApplyBind();e.exports=function(c){var f=a(arguments),n=c.length-(arguments.length-1);return t(f,1+(n>0?n:0),!0)},i?i(e.exports,"apply",{value:r}):e.exports.apply=r})(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(),t=requireAvailableTypedArrays(),i=requireCallBind(),a=requireCallBound(),r=requireGopd(),c=requireGetProto(),f=a("Object.prototype.toString"),n=requireShams()(),o=typeof globalThis>"u"?commonjsGlobal:globalThis,s=t(),u=a("String.prototype.slice"),h=a("Array.prototype.indexOf",!0)||function(d,w){for(var R=0;R<d.length;R+=1)if(d[R]===w)return R;return-1},l={__proto__:null};return e(s,n&&r&&c?function(d){var w=new o[d];if(Symbol.toStringTag in w&&c){var R=c(w),q=r(R,Symbol.toStringTag);if(!q&&R){var A=c(R);q=r(A,Symbol.toStringTag)}l["$"+d]=i(q.get)}}:function(d){var w=new o[d],R=w.slice||w.set;R&&(l["$"+d]=i(R))}),whichTypedArray=function(d){if(!d||typeof d!="object")return!1;if(!n){var w=u(f(d),8,-1);return h(s,w)>-1?w:w==="Object"&&(function(R){var q=!1;return e(l,(function(A,M){if(!q)try{A(R),q=u(M,1)}catch{}})),q})(d)}return r?(function(R){var q=!1;return e(l,(function(A,M){if(!q)try{"$"+A(R)===M&&(q=u(M,1))}catch{}})),q})(d):null}}function requireIsTypedArray(){if(hasRequiredIsTypedArray)return isTypedArray;hasRequiredIsTypedArray=1;var e=requireWhichTypedArray();return isTypedArray=function(t){return!!e(t)}}function requireTypedArrayBuffer(){if(hasRequiredTypedArrayBuffer)return typedArrayBuffer;hasRequiredTypedArrayBuffer=1;var e=requireType(),t=requireCallBound()("TypedArray.prototype.buffer",!0),i=requireIsTypedArray();return typedArrayBuffer=t||function(a){if(!i(a))throw new e("Not a Typed Array");return a.buffer}}function requireToBuffer$2(){if(hasRequiredToBuffer$2)return toBuffer;hasRequiredToBuffer$2=1;var e=requireSafeBuffer$1().Buffer,t=requireIsarray$1(),i=requireTypedArrayBuffer(),a=ArrayBuffer.isView||function(n){try{return i(n),!0}catch{return!1}},r=typeof Uint8Array<"u",c=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",f=c&&(e.prototype instanceof Uint8Array||e.TYPED_ARRAY_SUPPORT);return toBuffer=function(n,o){if(e.isBuffer(n))return n.constructor&&!("isBuffer"in n)?e.from(n):n;if(typeof n=="string")return e.from(n,o);if(c&&a(n)){if(n.byteLength===0)return e.alloc(0);if(f){var s=e.from(n.buffer,n.byteOffset,n.byteLength);if(s.byteLength===n.byteLength)return s}var u=n instanceof Uint8Array?n:new Uint8Array(n.buffer,n.byteOffset,n.byteLength),h=e.from(u);if(h.length===n.byteLength)return h}if(r&&n instanceof Uint8Array)return e.from(n);var l=t(n);if(l)for(var d=0;d<n.length;d+=1){var w=n[d];if(typeof w!="number"||w<0||w>255||~~w!==w)throw new RangeError("Array items must be numbers in the range 0-255.")}if(l||e.isBuffer(n)&&n.constructor&&typeof n.constructor.isBuffer=="function"&&n.constructor.isBuffer(n))return e.from(n);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$1().Buffer,t=requireToBuffer$2();function i(a,r){this._block=e.alloc(a),this._finalSize=r,this._blockSize=a,this._len=0}return i.prototype.update=function(a,r){a=t(a,r||"utf8");for(var c=this._block,f=this._blockSize,n=a.length,o=this._len,s=0;s<n;){for(var u=o%f,h=Math.min(n-s,f-u),l=0;l<h;l++)c[u+l]=a[s+l];s+=h,(o+=h)%f==0&&this._update(c)}return this._len+=n,this},i.prototype.digest=function(a){var r=this._len%this._blockSize;this._block[r]=128,this._block.fill(0,r+1),r>=this._finalSize&&(this._update(this._block),this._block.fill(0));var c=8*this._len;if(c<=4294967295)this._block.writeUInt32BE(c,this._blockSize-4);else{var f=(4294967295&c)>>>0,n=(c-f)/4294967296;this._block.writeUInt32BE(n,this._blockSize-8),this._block.writeUInt32BE(f,this._blockSize-4)}this._update(this._block);var o=this._hash();return a?o.toString(a):o},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},hash$1=i}function requireSha$1(){if(hasRequiredSha$1)return sha$1;hasRequiredSha$1=1;var e=requireInherits_browser(),t=requireHash$1(),i=requireSafeBuffer$1().Buffer,a=[1518500249,1859775393,-1894007588,-899497514],r=new Array(80);function c(){this.init(),this._w=r,t.call(this,64,56)}function f(o){return o<<30|o>>>2}function n(o,s,u,h){return o===0?s&u|~s&h:o===2?s&u|s&h|u&h:s^u^h}return e(c,t),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(o){for(var s,u=this._w,h=0|this._a,l=0|this._b,d=0|this._c,w=0|this._d,R=0|this._e,q=0;q<16;++q)u[q]=o.readInt32BE(4*q);for(;q<80;++q)u[q]=u[q-3]^u[q-8]^u[q-14]^u[q-16];for(var A=0;A<80;++A){var M=~~(A/20),I=0|((s=h)<<5|s>>>27)+n(M,l,d,w)+R+u[A]+a[M];R=w,w=d,d=f(l),l=h,h=I}this._a=h+this._a|0,this._b=l+this._b|0,this._c=d+this._c|0,this._d=w+this._d|0,this._e=R+this._e|0},c.prototype._hash=function(){var o=i.allocUnsafe(20);return o.writeInt32BE(0|this._a,0),o.writeInt32BE(0|this._b,4),o.writeInt32BE(0|this._c,8),o.writeInt32BE(0|this._d,12),o.writeInt32BE(0|this._e,16),o},sha$1=c}function requireSha1$1(){if(hasRequiredSha1$1)return sha1$2;hasRequiredSha1$1=1;var e=requireInherits_browser(),t=requireHash$1(),i=requireSafeBuffer$1().Buffer,a=[1518500249,1859775393,-1894007588,-899497514],r=new Array(80);function c(){this.init(),this._w=r,t.call(this,64,56)}function f(s){return s<<5|s>>>27}function n(s){return s<<30|s>>>2}function o(s,u,h,l){return s===0?u&h|~u&l:s===2?u&h|u&l|h&l:u^h^l}return e(c,t),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(s){for(var u,h=this._w,l=0|this._a,d=0|this._b,w=0|this._c,R=0|this._d,q=0|this._e,A=0;A<16;++A)h[A]=s.readInt32BE(4*A);for(;A<80;++A)h[A]=(u=h[A-3]^h[A-8]^h[A-14]^h[A-16])<<1|u>>>31;for(var M=0;M<80;++M){var I=~~(M/20),$=f(l)+o(I,d,w,R)+q+h[M]+a[I]|0;q=R,R=w,w=n(d),d=l,l=$}this._a=l+this._a|0,this._b=d+this._b|0,this._c=w+this._c|0,this._d=R+this._d|0,this._e=q+this._e|0},c.prototype._hash=function(){var s=i.allocUnsafe(20);return s.writeInt32BE(0|this._a,0),s.writeInt32BE(0|this._b,4),s.writeInt32BE(0|this._c,8),s.writeInt32BE(0|this._d,12),s.writeInt32BE(0|this._e,16),s},sha1$2=c}function requireSha256$1(){if(hasRequiredSha256$1)return sha256$3;hasRequiredSha256$1=1;var e=requireInherits_browser(),t=requireHash$1(),i=requireSafeBuffer$1().Buffer,a=[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],r=new Array(64);function c(){this.init(),this._w=r,t.call(this,64,56)}function f(h,l,d){return d^h&(l^d)}function n(h,l,d){return h&l|d&(h|l)}function o(h){return(h>>>2|h<<30)^(h>>>13|h<<19)^(h>>>22|h<<10)}function s(h){return(h>>>6|h<<26)^(h>>>11|h<<21)^(h>>>25|h<<7)}function u(h){return(h>>>7|h<<25)^(h>>>18|h<<14)^h>>>3}return e(c,t),c.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},c.prototype._update=function(h){for(var l,d=this._w,w=0|this._a,R=0|this._b,q=0|this._c,A=0|this._d,M=0|this._e,I=0|this._f,$=0|this._g,S=0|this._h,C=0;C<16;++C)d[C]=h.readInt32BE(4*C);for(;C<64;++C)d[C]=0|(((l=d[C-2])>>>17|l<<15)^(l>>>19|l<<13)^l>>>10)+d[C-7]+u(d[C-15])+d[C-16];for(var T=0;T<64;++T){var v=S+s(M)+f(M,I,$)+a[T]+d[T]|0,B=o(w)+n(w,R,q)|0;S=$,$=I,I=M,M=A+v|0,A=q,q=R,R=w,w=v+B|0}this._a=w+this._a|0,this._b=R+this._b|0,this._c=q+this._c|0,this._d=A+this._d|0,this._e=M+this._e|0,this._f=I+this._f|0,this._g=$+this._g|0,this._h=S+this._h|0},c.prototype._hash=function(){var h=i.allocUnsafe(32);return h.writeInt32BE(this._a,0),h.writeInt32BE(this._b,4),h.writeInt32BE(this._c,8),h.writeInt32BE(this._d,12),h.writeInt32BE(this._e,16),h.writeInt32BE(this._f,20),h.writeInt32BE(this._g,24),h.writeInt32BE(this._h,28),h},sha256$3=c}function requireSha224$1(){if(hasRequiredSha224$1)return sha224$3;hasRequiredSha224$1=1;var e=requireInherits_browser(),t=requireSha256$1(),i=requireHash$1(),a=requireSafeBuffer$1().Buffer,r=new Array(64);function c(){this.init(),this._w=r,i.call(this,64,56)}return e(c,t),c.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},c.prototype._hash=function(){var f=a.allocUnsafe(28);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},sha224$3=c}function requireSha512$1(){if(hasRequiredSha512$1)return sha512$3;hasRequiredSha512$1=1;var e=requireInherits_browser(),t=requireHash$1(),i=requireSafeBuffer$1().Buffer,a=[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],r=new Array(160);function c(){this.init(),this._w=r,t.call(this,128,112)}function f(R,q,A){return A^R&(q^A)}function n(R,q,A){return R&q|A&(R|q)}function o(R,q){return(R>>>28|q<<4)^(q>>>2|R<<30)^(q>>>7|R<<25)}function s(R,q){return(R>>>14|q<<18)^(R>>>18|q<<14)^(q>>>9|R<<23)}function u(R,q){return(R>>>1|q<<31)^(R>>>8|q<<24)^R>>>7}function h(R,q){return(R>>>1|q<<31)^(R>>>8|q<<24)^(R>>>7|q<<25)}function l(R,q){return(R>>>19|q<<13)^(q>>>29|R<<3)^R>>>6}function d(R,q){return(R>>>19|q<<13)^(q>>>29|R<<3)^(R>>>6|q<<26)}function w(R,q){return R>>>0<q>>>0?1:0}return e(c,t),c.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},c.prototype._update=function(R){for(var q=this._w,A=0|this._ah,M=0|this._bh,I=0|this._ch,$=0|this._dh,S=0|this._eh,C=0|this._fh,T=0|this._gh,v=0|this._hh,B=0|this._al,p=0|this._bl,g=0|this._cl,b=0|this._dl,y=0|this._el,m=0|this._fl,_=0|this._gl,k=0|this._hl,O=0;O<32;O+=2)q[O]=R.readInt32BE(4*O),q[O+1]=R.readInt32BE(4*O+4);for(;O<160;O+=2){var F=q[O-30],j=q[O-30+1],N=u(F,j),U=h(j,F),P=l(F=q[O-4],j=q[O-4+1]),D=d(j,F),G=q[O-14],K=q[O-14+1],ee=q[O-32],J=q[O-32+1],V=U+K|0,Q=N+G+w(V,U)|0;Q=(Q=Q+P+w(V=V+D|0,D)|0)+ee+w(V=V+J|0,J)|0,q[O]=Q,q[O+1]=V}for(var X=0;X<160;X+=2){Q=q[X],V=q[X+1];var Z=n(A,M,I),ae=n(B,p,g),pe=o(A,B),ie=o(B,A),be=s(S,y),oe=s(y,S),re=a[X],de=a[X+1],ye=f(S,C,T),se=f(y,m,_),le=k+oe|0,Re=v+be+w(le,k)|0;Re=(Re=(Re=Re+ye+w(le=le+se|0,se)|0)+re+w(le=le+de|0,de)|0)+Q+w(le=le+V|0,V)|0;var ue=ie+ae|0,qe=pe+Z+w(ue,ie)|0;v=T,k=_,T=C,_=m,C=S,m=y,S=$+Re+w(y=b+le|0,b)|0,$=I,b=g,I=M,g=p,M=A,p=B,A=Re+qe+w(B=le+ue|0,le)|0}this._al=this._al+B|0,this._bl=this._bl+p|0,this._cl=this._cl+g|0,this._dl=this._dl+b|0,this._el=this._el+y|0,this._fl=this._fl+m|0,this._gl=this._gl+_|0,this._hl=this._hl+k|0,this._ah=this._ah+A+w(this._al,B)|0,this._bh=this._bh+M+w(this._bl,p)|0,this._ch=this._ch+I+w(this._cl,g)|0,this._dh=this._dh+$+w(this._dl,b)|0,this._eh=this._eh+S+w(this._el,y)|0,this._fh=this._fh+C+w(this._fl,m)|0,this._gh=this._gh+T+w(this._gl,_)|0,this._hh=this._hh+v+w(this._hl,k)|0},c.prototype._hash=function(){var R=i.allocUnsafe(64);function q(A,M,I){R.writeInt32BE(A,I),R.writeInt32BE(M,I+4)}return q(this._ah,this._al,0),q(this._bh,this._bl,8),q(this._ch,this._cl,16),q(this._dh,this._dl,24),q(this._eh,this._el,32),q(this._fh,this._fl,40),q(this._gh,this._gl,48),q(this._hh,this._hl,56),R},sha512$3=c}function requireSha384$1(){if(hasRequiredSha384$1)return sha384$3;hasRequiredSha384$1=1;var e=requireInherits_browser(),t=requireSha512$1(),i=requireHash$1(),a=requireSafeBuffer$1().Buffer,r=new Array(160);function c(){this.init(),this._w=r,i.call(this,128,112)}return e(c,t),c.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},c.prototype._hash=function(){var f=a.allocUnsafe(48);function n(o,s,u){f.writeInt32BE(o,u),f.writeInt32BE(s,u+4)}return n(this._ah,this._al,0),n(this._bh,this._bl,8),n(this._ch,this._cl,16),n(this._dh,this._dl,24),n(this._eh,this._el,32),n(this._fh,this._fl,40),f},sha384$3=c}function requireSha_js(){return hasRequiredSha_js||(hasRequiredSha_js=1,(e=sha_js).exports=function(t){var i=t.toLowerCase(),a=e.exports[i];if(!a)throw new Error(i+" is not supported (we accept pull requests)");return new a},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$1().Buffer,t=requireStreamBrowserify().Transform,i=requireString_decoder().StringDecoder;function a(f){t.call(this),this.hashMode=typeof f=="string",this.hashMode?this[f]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}requireInherits_browser()(a,t);var r=typeof Uint8Array<"u",c=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&ArrayBuffer.isView&&(e.prototype instanceof Uint8Array||e.TYPED_ARRAY_SUPPORT);return a.prototype.update=function(f,n,o){var s=(function(h,l){if(h instanceof e)return h;if(typeof h=="string")return e.from(h,l);if(c&&ArrayBuffer.isView(h)){if(h.byteLength===0)return e.alloc(0);var d=e.from(h.buffer,h.byteOffset,h.byteLength);if(d.byteLength===h.byteLength)return d}if(r&&h instanceof Uint8Array||e.isBuffer(h)&&h.constructor&&typeof h.constructor.isBuffer=="function"&&h.constructor.isBuffer(h))return e.from(h);throw new TypeError('The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView.')})(f,n),u=this._update(s);return this.hashMode?this:(o&&(u=this._toString(u,o)),u)},a.prototype.setAutoPadding=function(){},a.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},a.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},a.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},a.prototype._transform=function(f,n,o){var s;try{this.hashMode?this._update(f):this.push(this._update(f))}catch(u){s=u}finally{o(s)}},a.prototype._flush=function(f){var n;try{this.push(this.__final())}catch(o){n=o}f(n)},a.prototype._finalOrDigest=function(f){var n=this.__final()||e.alloc(0);return f&&(n=this._toString(n,f,!0)),n},a.prototype._toString=function(f,n,o){if(this._decoder||(this._decoder=new i(n),this._encoding=n),this._encoding!==n)throw new Error("can’t switch encodings");var s=this._decoder.write(f);return o&&(s+=this._decoder.end()),s},cipherBase=a}function requireBrowser$9(){if(hasRequiredBrowser$9)return browser$9;hasRequiredBrowser$9=1;var e=requireInherits_browser(),t=requireMd5_js(),i=requireRipemd160$2(),a=requireSha_js(),r=requireCipherBase();function c(f){r.call(this,"digest"),this._hash=f}return e(c,r),c.prototype._update=function(f){this._hash.update(f)},c.prototype._final=function(){return this._hash.digest()},browser$9=function(f){return(f=f.toLowerCase())==="md5"?new t:f==="rmd160"||f==="ripemd160"?new i:new c(a(f))}}function requireLegacy(){if(hasRequiredLegacy)return legacy;hasRequiredLegacy=1;var e=requireInherits_browser(),t=requireSafeBuffer$1().Buffer,i=requireCipherBase(),a=t.alloc(128),r=64;function c(f,n){i.call(this,"digest"),typeof n=="string"&&(n=t.from(n)),this._alg=f,this._key=n,n.length>r?n=f(n):n.length<r&&(n=t.concat([n,a],r));for(var o=this._ipad=t.allocUnsafe(r),s=this._opad=t.allocUnsafe(r),u=0;u<r;u++)o[u]=54^n[u],s[u]=92^n[u];this._hash=[o]}return e(c,i),c.prototype._update=function(f){this._hash.push(f)},c.prototype._final=function(){var f=this._alg(t.concat(this._hash));return this._alg(t.concat([this._opad,f]))},legacy=c}function requireMd5$1(){if(hasRequiredMd5$1)return md5$2;hasRequiredMd5$1=1;var e=requireMd5_js();return md5$2=function(t){return new e().update(t).digest()},md5$2}function requireBrowser$8(){if(hasRequiredBrowser$8)return browser$8;hasRequiredBrowser$8=1;var e=requireInherits_browser(),t=requireLegacy(),i=requireCipherBase(),a=requireSafeBuffer$1().Buffer,r=requireMd5$1(),c=requireRipemd160$2(),f=requireSha_js(),n=a.alloc(128);function o(s,u){i.call(this,"digest"),typeof u=="string"&&(u=a.from(u));var h=s==="sha512"||s==="sha384"?128:64;this._alg=s,this._key=u,u.length>h?u=(s==="rmd160"?new c:f(s)).update(u).digest():u.length<h&&(u=a.concat([u,n],h));for(var l=this._ipad=a.allocUnsafe(h),d=this._opad=a.allocUnsafe(h),w=0;w<h;w++)l[w]=54^u[w],d[w]=92^u[w];this._hash=s==="rmd160"?new c:f(s),this._hash.update(l)}return e(o,i),o.prototype._update=function(s){this._hash.update(s)},o.prototype._final=function(){var s=this._hash.digest();return(this._alg==="rmd160"?new c:f(this._alg)).update(this._opad).update(s).digest()},browser$8=function(s,u){return(s=s.toLowerCase())==="rmd160"||s==="ripemd160"?new o("rmd160",u):s==="md5"?new t(r,u):new o(s,u)},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/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha224$2={sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha384$2={sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512$2={sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},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,toBuffer_1$1,hasRequiredToBuffer$1;function requirePrecondition(){if(hasRequiredPrecondition)return precondition;hasRequiredPrecondition=1;var e=isFinite,t=Math.pow(2,30)-1;return precondition=function(i,a){if(typeof i!="number")throw new TypeError("Iterations not a number");if(i<0||!e(i))throw new TypeError("Bad iterations");if(typeof a!="number")throw new TypeError("Key length not a number");if(a<0||a>t||a!=a)throw new TypeError("Bad key length");return a+0}}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 requireToBuffer$1(){if(hasRequiredToBuffer$1)return toBuffer_1$1;hasRequiredToBuffer$1=1;var e=requireSafeBuffer$1().Buffer,t=requireToBuffer$2(),i=typeof Uint8Array<"u",a=i&&typeof ArrayBuffer<"u"&&ArrayBuffer.isView;return toBuffer_1$1=function(r,c){if(typeof r=="string"||e.isBuffer(r)||i&&r instanceof Uint8Array||a&&a(r))return t(r,c);throw new TypeError('The "data" argument must be a string, a Buffer, a Uint8Array, or a DataView')}}var readableBrowser={exports:{}},processNextickArgs={exports:{}},hasRequiredProcessNextickArgs,isarray,hasRequiredIsarray,streamBrowser,hasRequiredStreamBrowser;function requireProcessNextickArgs(){return hasRequiredProcessNextickArgs||(hasRequiredProcessNextickArgs=1,process$1===void 0||!process$1.version||process$1.version.indexOf("v0.")===0||process$1.version.indexOf("v1.")===0&&process$1.version.indexOf("v1.8.")!==0?processNextickArgs.exports={nextTick:function(e,t,i,a){if(typeof e!="function")throw new TypeError('"callback" argument must be a function');var r,c,f=arguments.length;switch(f){case 0:case 1:return process$1.nextTick(e);case 2:return process$1.nextTick((function(){e.call(null,t)}));case 3:return process$1.nextTick((function(){e.call(null,t,i)}));case 4:return process$1.nextTick((function(){e.call(null,t,i,a)}));default:for(r=new Array(f-1),c=0;c<r.length;)r[c++]=arguments[c];return process$1.nextTick((function(){e.apply(null,r)}))}}}:processNextickArgs.exports=process$1),processNextickArgs.exports}function requireIsarray(){if(hasRequiredIsarray)return isarray;hasRequiredIsarray=1;var e={}.toString;return isarray=Array.isArray||function(t){return e.call(t)=="[object Array]"}}function requireStreamBrowser(){return hasRequiredStreamBrowser?streamBrowser:(hasRequiredStreamBrowser=1,streamBrowser=requireEvents().EventEmitter)}var safeBuffer={exports:{}},hasRequiredSafeBuffer;function requireSafeBuffer(){return hasRequiredSafeBuffer||(hasRequiredSafeBuffer=1,(function(e,t){var i=requireDist(),a=i.Buffer;function r(f,n){for(var o in f)n[o]=f[o]}function c(f,n,o){return a(f,n,o)}a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow?e.exports=i:(r(i,t),t.Buffer=c),r(a,c),c.from=function(f,n,o){if(typeof f=="number")throw new TypeError("Argument must not be a number");return a(f,n,o)},c.alloc=function(f,n,o){if(typeof f!="number")throw new TypeError("Argument must be a number");var s=a(f);return n!==void 0?typeof o=="string"?s.fill(n,o):s.fill(n):s.fill(0),s},c.allocUnsafe=function(f){if(typeof f!="number")throw new TypeError("Argument must be a number");return a(f)},c.allocUnsafeSlow=function(f){if(typeof f!="number")throw new TypeError("Argument must be a number");return i.SlowBuffer(f)}})(safeBuffer,safeBuffer.exports)),safeBuffer.exports}var util={},hasRequiredUtil;function requireUtil(){if(hasRequiredUtil)return util;function e(t){return Object.prototype.toString.call(t)}return hasRequiredUtil=1,util.isArray=function(t){return Array.isArray?Array.isArray(t):e(t)==="[object Array]"},util.isBoolean=function(t){return typeof t=="boolean"},util.isNull=function(t){return t===null},util.isNullOrUndefined=function(t){return t==null},util.isNumber=function(t){return typeof t=="number"},util.isString=function(t){return typeof t=="string"},util.isSymbol=function(t){return typeof t=="symbol"},util.isUndefined=function(t){return t===void 0},util.isRegExp=function(t){return e(t)==="[object RegExp]"},util.isObject=function(t){return typeof t=="object"&&t!==null},util.isDate=function(t){return e(t)==="[object Date]"},util.isError=function(t){return e(t)==="[object Error]"||t instanceof Error},util.isFunction=function(t){return typeof t=="function"},util.isPrimitive=function(t){return t===null||typeof t=="boolean"||typeof t=="number"||typeof t=="string"||typeof t=="symbol"||t===void 0},util.isBuffer=requireDist().Buffer.isBuffer,util}var BufferList={exports:{}},hasRequiredBufferList,destroy_1,hasRequiredDestroy,_stream_writable,hasRequired_stream_writable,_stream_duplex,hasRequired_stream_duplex,_stream_readable,hasRequired_stream_readable,_stream_transform,hasRequired_stream_transform,_stream_passthrough,hasRequired_stream_passthrough,hasRequiredReadableBrowser,hashBase,hasRequiredHashBase,ripemd160$2,hasRequiredRipemd160$1,toBuffer_1,hasRequiredToBuffer,syncBrowser,hasRequiredSyncBrowser,async,hasRequiredAsync,hasRequiredBrowser$7;function requireBufferList(){return hasRequiredBufferList||(hasRequiredBufferList=1,(function(e){var t=requireSafeBuffer().Buffer,i=requireUtil$1();e.exports=(function(){function a(){(function(r,c){if(!(r instanceof c))throw new TypeError("Cannot call a class as a function")})(this,a),this.head=null,this.tail=null,this.length=0}return a.prototype.push=function(r){var c={data:r,next:null};this.length>0?this.tail.next=c:this.head=c,this.tail=c,++this.length},a.prototype.unshift=function(r){var c={data:r,next:this.head};this.length===0&&(this.tail=c),this.head=c,++this.length},a.prototype.shift=function(){if(this.length!==0){var r=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,r}},a.prototype.clear=function(){this.head=this.tail=null,this.length=0},a.prototype.join=function(r){if(this.length===0)return"";for(var c=this.head,f=""+c.data;c=c.next;)f+=r+c.data;return f},a.prototype.concat=function(r){if(this.length===0)return t.alloc(0);for(var c,f,n,o=t.allocUnsafe(r>>>0),s=this.head,u=0;s;)c=s.data,f=o,n=u,c.copy(f,n),u+=s.data.length,s=s.next;return o},a})(),i&&i.inspect&&i.inspect.custom&&(e.exports.prototype[i.inspect.custom]=function(){var a=i.inspect({length:this.length});return this.constructor.name+" "+a})})(BufferList)),BufferList.exports}function requireDestroy(){if(hasRequiredDestroy)return destroy_1;hasRequiredDestroy=1;var e=requireProcessNextickArgs();function t(i,a){i.emit("error",a)}return destroy_1={destroy:function(i,a){var r=this,c=this._readableState&&this._readableState.destroyed,f=this._writableState&&this._writableState.destroyed;return c||f?(a?a(i):i&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(t,this,i)):e.nextTick(t,this,i)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(i||null,(function(n){!a&&n?r._writableState?r._writableState.errorEmitted||(r._writableState.errorEmitted=!0,e.nextTick(t,r,n)):e.nextTick(t,r,n):a&&a(n)})),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)}}}function require_stream_writable(){if(hasRequired_stream_writable)return _stream_writable;hasRequired_stream_writable=1;var e=requireProcessNextickArgs();function t($){var S=this;this.next=null,this.entry=null,this.finish=function(){(function(C,T,v){var B=C.entry;for(C.entry=null;B;){var p=B.callback;T.pendingcb--,p(v),B=B.next}T.corkedRequestsFree.next=C})(S,$)}}_stream_writable=d;var i,a=!process$1.browser&&["v0.10","v0.9."].indexOf(process$1.version.slice(0,5))>-1?setImmediate:e.nextTick;d.WritableState=l;var r=Object.create(requireUtil());r.inherits=requireInherits_browser();var c={deprecate:requireBrowser$a()},f=requireStreamBrowser(),n=requireSafeBuffer().Buffer,o=(commonjsGlobal!==void 0?commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},s,u=requireDestroy();function h(){}function l($,S){i=i||require_stream_duplex(),$=$||{};var C=S instanceof i;this.objectMode=!!$.objectMode,C&&(this.objectMode=this.objectMode||!!$.writableObjectMode);var T=$.highWaterMark,v=$.writableHighWaterMark,B=this.objectMode?16:16384;this.highWaterMark=T||T===0?T:C&&(v||v===0)?v:B,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var p=$.decodeStrings===!1;this.decodeStrings=!p,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(g){(function(b,y){var m=b._writableState,_=m.sync,k=m.writecb;if((function(F){F.writing=!1,F.writecb=null,F.length-=F.writelen,F.writelen=0})(m),y)(function(F,j,N,U,P){--j.pendingcb,N?(e.nextTick(P,U),e.nextTick(I,F,j),F._writableState.errorEmitted=!0,F.emit("error",U)):(P(U),F._writableState.errorEmitted=!0,F.emit("error",U),I(F,j))})(b,m,_,y,k);else{var O=A(m);O||m.corked||m.bufferProcessing||!m.bufferedRequest||q(b,m),_?a(R,b,m,O,k):R(b,m,O,k)}})(S,g)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new t(this)}function d($){if(i=i||require_stream_duplex(),!(s.call(d,this)||this instanceof i))return new d($);this._writableState=new l($,this),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)),f.call(this)}function w($,S,C,T,v,B,p){S.writelen=T,S.writecb=p,S.writing=!0,S.sync=!0,C?$._writev(v,S.onwrite):$._write(v,B,S.onwrite),S.sync=!1}function R($,S,C,T){C||(function(v,B){B.length===0&&B.needDrain&&(B.needDrain=!1,v.emit("drain"))})($,S),S.pendingcb--,T(),I($,S)}function q($,S){S.bufferProcessing=!0;var C=S.bufferedRequest;if($._writev&&C&&C.next){var T=S.bufferedRequestCount,v=new Array(T),B=S.corkedRequestsFree;B.entry=C;for(var p=0,g=!0;C;)v[p]=C,C.isBuf||(g=!1),C=C.next,p+=1;v.allBuffers=g,w($,S,!0,S.length,v,"",B.finish),S.pendingcb++,S.lastBufferedRequest=null,B.next?(S.corkedRequestsFree=B.next,B.next=null):S.corkedRequestsFree=new t(S),S.bufferedRequestCount=0}else{for(;C;){var b=C.chunk,y=C.encoding,m=C.callback;if(w($,S,!1,S.objectMode?1:b.length,b,y,m),C=C.next,S.bufferedRequestCount--,S.writing)break}C===null&&(S.lastBufferedRequest=null)}S.bufferedRequest=C,S.bufferProcessing=!1}function A($){return $.ending&&$.length===0&&$.bufferedRequest===null&&!$.finished&&!$.writing}function M($,S){$._final((function(C){S.pendingcb--,C&&$.emit("error",C),S.prefinished=!0,$.emit("prefinish"),I($,S)}))}function I($,S){var C=A(S);return C&&((function(T,v){v.prefinished||v.finalCalled||(typeof T._final=="function"?(v.pendingcb++,v.finalCalled=!0,e.nextTick(M,T,v)):(v.prefinished=!0,T.emit("prefinish")))})($,S),S.pendingcb===0&&(S.finished=!0,$.emit("finish"))),C}return r.inherits(d,f),l.prototype.getBuffer=function(){for(var $=this.bufferedRequest,S=[];$;)S.push($),$=$.next;return S},(function(){try{Object.defineProperty(l.prototype,"buffer",{get:c.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"?(s=Function.prototype[Symbol.hasInstance],Object.defineProperty(d,Symbol.hasInstance,{value:function($){return!!s.call(this,$)||this===d&&$&&$._writableState instanceof l}})):s=function($){return $ instanceof this},d.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},d.prototype.write=function($,S,C){var T,v=this._writableState,B=!1,p=!v.objectMode&&(T=$,n.isBuffer(T)||T instanceof o);return p&&!n.isBuffer($)&&($=(function(g){return n.from(g)})($)),typeof S=="function"&&(C=S,S=null),p?S="buffer":S||(S=v.defaultEncoding),typeof C!="function"&&(C=h),v.ended?(function(g,b){var y=new Error("write after end");g.emit("error",y),e.nextTick(b,y)})(this,C):(p||(function(g,b,y,m){var _=!0,k=!1;return y===null?k=new TypeError("May not write null values to stream"):typeof y=="string"||y===void 0||b.objectMode||(k=new TypeError("Invalid non-string/buffer chunk")),k&&(g.emit("error",k),e.nextTick(m,k),_=!1),_})(this,v,$,C))&&(v.pendingcb++,B=(function(g,b,y,m,_,k){if(!y){var O=(function(U,P,D){return U.objectMode||U.decodeStrings===!1||typeof P!="string"||(P=n.from(P,D)),P})(b,m,_);m!==O&&(y=!0,_="buffer",m=O)}var F=b.objectMode?1:m.length;b.length+=F;var j=b.length<b.highWaterMark;if(j||(b.needDrain=!0),b.writing||b.corked){var N=b.lastBufferedRequest;b.lastBufferedRequest={chunk:m,encoding:_,isBuf:y,callback:k,next:null},N?N.next=b.lastBufferedRequest:b.bufferedRequest=b.lastBufferedRequest,b.bufferedRequestCount+=1}else w(g,b,!1,F,m,_,k);return j})(this,v,p,$,S,C)),B},d.prototype.cork=function(){this._writableState.corked++},d.prototype.uncork=function(){var $=this._writableState;$.corked&&($.corked--,$.writing||$.corked||$.bufferProcessing||!$.bufferedRequest||q(this,$))},d.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 TypeError("Unknown encoding: "+$);return this._writableState.defaultEncoding=$,this},Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),d.prototype._write=function($,S,C){C(new Error("_write() is not implemented"))},d.prototype._writev=null,d.prototype.end=function($,S,C){var T=this._writableState;typeof $=="function"?(C=$,$=null,S=null):typeof S=="function"&&(C=S,S=null),$!=null&&this.write($,S),T.corked&&(T.corked=1,this.uncork()),T.ending||(function(v,B,p){B.ending=!0,I(v,B),p&&(B.finished?e.nextTick(p):v.once("finish",p)),B.ended=!0,v.writable=!1})(this,T,C)},Object.defineProperty(d.prototype,"destroyed",{get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function($){this._writableState&&(this._writableState.destroyed=$)}}),d.prototype.destroy=u.destroy,d.prototype._undestroy=u.undestroy,d.prototype._destroy=function($,S){this.end(),S($)},_stream_writable}function require_stream_duplex(){if(hasRequired_stream_duplex)return _stream_duplex;hasRequired_stream_duplex=1;var e=requireProcessNextickArgs(),t=Object.keys||function(h){var l=[];for(var d in h)l.push(d);return l};_stream_duplex=o;var i=Object.create(requireUtil());i.inherits=requireInherits_browser();var a=require_stream_readable(),r=require_stream_writable();i.inherits(o,a);for(var c=t(r.prototype),f=0;f<c.length;f++){var n=c[f];o.prototype[n]||(o.prototype[n]=r.prototype[n])}function o(h){if(!(this instanceof o))return new o(h);a.call(this,h),r.call(this,h),h&&h.readable===!1&&(this.readable=!1),h&&h.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,h&&h.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",s)}function s(){this.allowHalfOpen||this._writableState.ended||e.nextTick(u,this)}function u(h){h.end()}return Object.defineProperty(o.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(o.prototype,"destroyed",{get:function(){return this._readableState!==void 0&&this._writableState!==void 0&&this._readableState.destroyed&&this._writableState.destroyed},set:function(h){this._readableState!==void 0&&this._writableState!==void 0&&(this._readableState.destroyed=h,this._writableState.destroyed=h)}}),o.prototype._destroy=function(h,l){this.push(null),this.end(),e.nextTick(l,h)},_stream_duplex}function require_stream_readable(){if(hasRequired_stream_readable)return _stream_readable;hasRequired_stream_readable=1;var e=requireProcessNextickArgs();_stream_readable=R;var t,i=requireIsarray();R.ReadableState=w,requireEvents().EventEmitter;var a=function(_,k){return _.listeners(k).length},r=requireStreamBrowser(),c=requireSafeBuffer().Buffer,f=(commonjsGlobal!==void 0?commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},n=Object.create(requireUtil());n.inherits=requireInherits_browser();var o=requireUtil$1(),s=void 0;s=o&&o.debuglog?o.debuglog("stream"):function(){};var u,h=requireBufferList(),l=requireDestroy();n.inherits(R,r);var d=["error","close","destroy","pause","resume"];function w(_,k){_=_||{};var O=k instanceof(t=t||require_stream_duplex());this.objectMode=!!_.objectMode,O&&(this.objectMode=this.objectMode||!!_.readableObjectMode);var F=_.highWaterMark,j=_.readableHighWaterMark,N=this.objectMode?16:16384;this.highWaterMark=F||F===0?F:O&&(j||j===0)?j:N,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new h,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.destroyed=!1,this.defaultEncoding=_.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,_.encoding&&(u||(u=requireString_decoder().StringDecoder),this.decoder=new u(_.encoding),this.encoding=_.encoding)}function R(_){if(t=t||require_stream_duplex(),!(this instanceof R))return new R(_);this._readableState=new w(_,this),this.readable=!0,_&&(typeof _.read=="function"&&(this._read=_.read),typeof _.destroy=="function"&&(this._destroy=_.destroy)),r.call(this)}function q(_,k,O,F,j){var N,U=_._readableState;return k===null?(U.reading=!1,(function(P,D){if(!D.ended){if(D.decoder){var G=D.decoder.end();G&&G.length&&(D.buffer.push(G),D.length+=D.objectMode?1:G.length)}D.ended=!0,$(P)}})(_,U)):(j||(N=(function(P,D){var G;K=D,c.isBuffer(K)||K instanceof f||typeof D=="string"||D===void 0||P.objectMode||(G=new TypeError("Invalid non-string/buffer chunk"));var K;return G})(U,k)),N?_.emit("error",N):U.objectMode||k&&k.length>0?(typeof k=="string"||U.objectMode||Object.getPrototypeOf(k)===c.prototype||(k=(function(P){return c.from(P)})(k)),F?U.endEmitted?_.emit("error",new Error("stream.unshift() after end event")):A(_,U,k,!0):U.ended?_.emit("error",new Error("stream.push() after EOF")):(U.reading=!1,U.decoder&&!O?(k=U.decoder.write(k),U.objectMode||k.length!==0?A(_,U,k,!1):C(_,U)):A(_,U,k,!1))):F||(U.reading=!1)),(function(P){return!P.ended&&(P.needReadable||P.length<P.highWaterMark||P.length===0)})(U)}function A(_,k,O,F){k.flowing&&k.length===0&&!k.sync?(_.emit("data",O),_.read(0)):(k.length+=k.objectMode?1:O.length,F?k.buffer.unshift(O):k.buffer.push(O),k.needReadable&&$(_)),C(_,k)}Object.defineProperty(R.prototype,"destroyed",{get:function(){return this._readableState!==void 0&&this._readableState.destroyed},set:function(_){this._readableState&&(this._readableState.destroyed=_)}}),R.prototype.destroy=l.destroy,R.prototype._undestroy=l.undestroy,R.prototype._destroy=function(_,k){this.push(null),k(_)},R.prototype.push=function(_,k){var O,F=this._readableState;return F.objectMode?O=!0:typeof _=="string"&&((k=k||F.defaultEncoding)!==F.encoding&&(_=c.from(_,k),k=""),O=!0),q(this,_,k,!1,O)},R.prototype.unshift=function(_){return q(this,_,null,!0,!1)},R.prototype.isPaused=function(){return this._readableState.flowing===!1},R.prototype.setEncoding=function(_){return u||(u=requireString_decoder().StringDecoder),this._readableState.decoder=new u(_),this._readableState.encoding=_,this};var M=8388608;function I(_,k){return _<=0||k.length===0&&k.ended?0:k.objectMode?1:_!=_?k.flowing&&k.length?k.buffer.head.data.length:k.length:(_>k.highWaterMark&&(k.highWaterMark=(function(O){return O>=M?O=M:(O--,O|=O>>>1,O|=O>>>2,O|=O>>>4,O|=O>>>8,O|=O>>>16,O++),O})(_)),_<=k.length?_:k.ended?k.length:(k.needReadable=!0,0))}function $(_){var k=_._readableState;k.needReadable=!1,k.emittedReadable||(s("emitReadable",k.flowing),k.emittedReadable=!0,k.sync?e.nextTick(S,_):S(_))}function S(_){s("emit readable"),_.emit("readable"),p(_)}function C(_,k){k.readingMore||(k.readingMore=!0,e.nextTick(T,_,k))}function T(_,k){for(var O=k.length;!k.reading&&!k.flowing&&!k.ended&&k.length<k.highWaterMark&&(s("maybeReadMore read 0"),_.read(0),O!==k.length);)O=k.length;k.readingMore=!1}function v(_){s("readable nexttick read 0"),_.read(0)}function B(_,k){k.reading||(s("resume read 0"),_.read(0)),k.resumeScheduled=!1,k.awaitDrain=0,_.emit("resume"),p(_),k.flowing&&!k.reading&&_.read(0)}function p(_){var k=_._readableState;for(s("flow",k.flowing);k.flowing&&_.read()!==null;);}function g(_,k){return k.length===0?null:(k.objectMode?O=k.buffer.shift():!_||_>=k.length?(O=k.decoder?k.buffer.join(""):k.buffer.length===1?k.buffer.head.data:k.buffer.concat(k.length),k.buffer.clear()):O=(function(F,j,N){var U;return F<j.head.data.length?(U=j.head.data.slice(0,F),j.head.data=j.head.data.slice(F)):U=F===j.head.data.length?j.shift():N?(function(P,D){var G=D.head,K=1,ee=G.data;for(P-=ee.length;G=G.next;){var J=G.data,V=P>J.length?J.length:P;if(V===J.length?ee+=J:ee+=J.slice(0,P),(P-=V)===0){V===J.length?(++K,G.next?D.head=G.next:D.head=D.tail=null):(D.head=G,G.data=J.slice(V));break}++K}return D.length-=K,ee})(F,j):(function(P,D){var G=c.allocUnsafe(P),K=D.head,ee=1;for(K.data.copy(G),P-=K.data.length;K=K.next;){var J=K.data,V=P>J.length?J.length:P;if(J.copy(G,G.length-P,0,V),(P-=V)===0){V===J.length?(++ee,K.next?D.head=K.next:D.head=D.tail=null):(D.head=K,K.data=J.slice(V));break}++ee}return D.length-=ee,G})(F,j),U})(_,k.buffer,k.decoder),O);var O}function b(_){var k=_._readableState;if(k.length>0)throw new Error('"endReadable()" called on non-empty stream');k.endEmitted||(k.ended=!0,e.nextTick(y,k,_))}function y(_,k){_.endEmitted||_.length!==0||(_.endEmitted=!0,k.readable=!1,k.emit("end"))}function m(_,k){for(var O=0,F=_.length;O<F;O++)if(_[O]===k)return O;return-1}return R.prototype.read=function(_){s("read",_),_=parseInt(_,10);var k=this._readableState,O=_;if(_!==0&&(k.emittedReadable=!1),_===0&&k.needReadable&&(k.length>=k.highWaterMark||k.ended))return s("read: emitReadable",k.length,k.ended),k.length===0&&k.ended?b(this):$(this),null;if((_=I(_,k))===0&&k.ended)return k.length===0&&b(this),null;var F,j=k.needReadable;return s("need readable",j),(k.length===0||k.length-_<k.highWaterMark)&&s("length less than watermark",j=!0),k.ended||k.reading?s("reading or ended",j=!1):j&&(s("do read"),k.reading=!0,k.sync=!0,k.length===0&&(k.needReadable=!0),this._read(k.highWaterMark),k.sync=!1,k.reading||(_=I(O,k))),(F=_>0?g(_,k):null)===null?(k.needReadable=!0,_=0):k.length-=_,k.length===0&&(k.ended||(k.needReadable=!0),O!==_&&k.ended&&b(this)),F!==null&&this.emit("data",F),F},R.prototype._read=function(_){this.emit("error",new Error("_read() is not implemented"))},R.prototype.pipe=function(_,k){var O=this,F=this._readableState;switch(F.pipesCount){case 0:F.pipes=_;break;case 1:F.pipes=[F.pipes,_];break;default:F.pipes.push(_)}F.pipesCount+=1,s("pipe count=%d opts=%j",F.pipesCount,k);var j=(!k||k.end!==!1)&&_!==process$1.stdout&&_!==process$1.stderr?U:Q;function N(X,Z){s("onunpipe"),X===O&&Z&&Z.hasUnpiped===!1&&(Z.hasUnpiped=!0,s("cleanup"),_.removeListener("close",J),_.removeListener("finish",V),_.removeListener("drain",P),_.removeListener("error",ee),_.removeListener("unpipe",N),O.removeListener("end",U),O.removeListener("end",Q),O.removeListener("data",K),D=!0,!F.awaitDrain||_._writableState&&!_._writableState.needDrain||P())}function U(){s("onend"),_.end()}F.endEmitted?e.nextTick(j):O.once("end",j),_.on("unpipe",N);var P=(function(X){return function(){var Z=X._readableState;s("pipeOnDrain",Z.awaitDrain),Z.awaitDrain&&Z.awaitDrain--,Z.awaitDrain===0&&a(X,"data")&&(Z.flowing=!0,p(X))}})(O);_.on("drain",P);var D=!1,G=!1;function K(X){s("ondata"),G=!1,_.write(X)!==!1||G||((F.pipesCount===1&&F.pipes===_||F.pipesCount>1&&m(F.pipes,_)!==-1)&&!D&&(s("false write response, pause",F.awaitDrain),F.awaitDrain++,G=!0),O.pause())}function ee(X){s("onerror",X),Q(),_.removeListener("error",ee),a(_,"error")===0&&_.emit("error",X)}function J(){_.removeListener("finish",V),Q()}function V(){s("onfinish"),_.removeListener("close",J),Q()}function Q(){s("unpipe"),O.unpipe(_)}return O.on("data",K),(function(X,Z,ae){if(typeof X.prependListener=="function")return X.prependListener(Z,ae);X._events&&X._events[Z]?i(X._events[Z])?X._events[Z].unshift(ae):X._events[Z]=[ae,X._events[Z]]:X.on(Z,ae)})(_,"error",ee),_.once("close",J),_.once("finish",V),_.emit("pipe",O),F.flowing||(s("pipe resume"),O.resume()),_},R.prototype.unpipe=function(_){var k=this._readableState,O={hasUnpiped:!1};if(k.pipesCount===0)return this;if(k.pipesCount===1)return _&&_!==k.pipes||(_||(_=k.pipes),k.pipes=null,k.pipesCount=0,k.flowing=!1,_&&_.emit("unpipe",this,O)),this;if(!_){var F=k.pipes,j=k.pipesCount;k.pipes=null,k.pipesCount=0,k.flowing=!1;for(var N=0;N<j;N++)F[N].emit("unpipe",this,{hasUnpiped:!1});return this}var U=m(k.pipes,_);return U===-1||(k.pipes.splice(U,1),k.pipesCount-=1,k.pipesCount===1&&(k.pipes=k.pipes[0]),_.emit("unpipe",this,O)),this},R.prototype.on=function(_,k){var O=r.prototype.on.call(this,_,k);if(_==="data")this._readableState.flowing!==!1&&this.resume();else if(_==="readable"){var F=this._readableState;F.endEmitted||F.readableListening||(F.readableListening=F.needReadable=!0,F.emittedReadable=!1,F.reading?F.length&&$(this):e.nextTick(v,this))}return O},R.prototype.addListener=R.prototype.on,R.prototype.resume=function(){var _=this._readableState;return _.flowing||(s("resume"),_.flowing=!0,(function(k,O){O.resumeScheduled||(O.resumeScheduled=!0,e.nextTick(B,k,O))})(this,_)),this},R.prototype.pause=function(){return s("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(s("pause"),this._readableState.flowing=!1,this.emit("pause")),this},R.prototype.wrap=function(_){var k=this,O=this._readableState,F=!1;for(var j in _.on("end",(function(){if(s("wrapped end"),O.decoder&&!O.ended){var U=O.decoder.end();U&&U.length&&k.push(U)}k.push(null)})),_.on("data",(function(U){s("wrapped data"),O.decoder&&(U=O.decoder.write(U)),O.objectMode&&U==null||(O.objectMode||U&&U.length)&&(k.push(U)||(F=!0,_.pause()))})),_)this[j]===void 0&&typeof _[j]=="function"&&(this[j]=(function(U){return function(){return _[U].apply(_,arguments)}})(j));for(var N=0;N<d.length;N++)_.on(d[N],this.emit.bind(this,d[N]));return this._read=function(U){s("wrapped _read",U),F&&(F=!1,_.resume())},this},Object.defineProperty(R.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),R._fromList=g,_stream_readable}function require_stream_transform(){if(hasRequired_stream_transform)return _stream_transform;hasRequired_stream_transform=1,_stream_transform=a;var e=require_stream_duplex(),t=Object.create(requireUtil());function i(f,n){var o=this._transformState;o.transforming=!1;var s=o.writecb;if(!s)return this.emit("error",new Error("write callback called multiple times"));o.writechunk=null,o.writecb=null,n!=null&&this.push(n),s(f);var u=this._readableState;u.reading=!1,(u.needReadable||u.length<u.highWaterMark)&&this._read(u.highWaterMark)}function a(f){if(!(this instanceof a))return new a(f);e.call(this,f),this._transformState={afterTransform:i.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,f&&(typeof f.transform=="function"&&(this._transform=f.transform),typeof f.flush=="function"&&(this._flush=f.flush)),this.on("prefinish",r)}function r(){var f=this;typeof this._flush=="function"?this._flush((function(n,o){c(f,n,o)})):c(this,null,null)}function c(f,n,o){if(n)return f.emit("error",n);if(o!=null&&f.push(o),f._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(f._transformState.transforming)throw new Error("Calling transform done when still transforming");return f.push(null)}return t.inherits=requireInherits_browser(),t.inherits(a,e),a.prototype.push=function(f,n){return this._transformState.needTransform=!1,e.prototype.push.call(this,f,n)},a.prototype._transform=function(f,n,o){throw new Error("_transform() is not implemented")},a.prototype._write=function(f,n,o){var s=this._transformState;if(s.writecb=o,s.writechunk=f,s.writeencoding=n,!s.transforming){var u=this._readableState;(s.needTransform||u.needReadable||u.length<u.highWaterMark)&&this._read(u.highWaterMark)}},a.prototype._read=function(f){var n=this._transformState;n.writechunk!==null&&n.writecb&&!n.transforming?(n.transforming=!0,this._transform(n.writechunk,n.writeencoding,n.afterTransform)):n.needTransform=!0},a.prototype._destroy=function(f,n){var o=this;e.prototype._destroy.call(this,f,(function(s){n(s),o.emit("close")}))},_stream_transform}function require_stream_passthrough(){if(hasRequired_stream_passthrough)return _stream_passthrough;hasRequired_stream_passthrough=1,_stream_passthrough=i;var e=require_stream_transform(),t=Object.create(requireUtil());function i(a){if(!(this instanceof i))return new i(a);e.call(this,a)}return t.inherits=requireInherits_browser(),t.inherits(i,e),i.prototype._transform=function(a,r,c){c(null,a)},_stream_passthrough}function requireReadableBrowser(){return hasRequiredReadableBrowser||(hasRequiredReadableBrowser=1,e=readableBrowser,t=readableBrowser.exports,(t=e.exports=require_stream_readable()).Stream=t,t.Readable=t,t.Writable=require_stream_writable(),t.Duplex=require_stream_duplex(),t.Transform=require_stream_transform(),t.PassThrough=require_stream_passthrough()),readableBrowser.exports;var e,t}function requireHashBase(){if(hasRequiredHashBase)return hashBase;hasRequiredHashBase=1;var e=requireSafeBuffer$1().Buffer,t=requireToBuffer$1(),i=requireReadableBrowser().Transform;function a(r){i.call(this),this._block=e.allocUnsafe(r),this._blockSize=r,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}return requireInherits_browser()(a,i),a.prototype._transform=function(r,c,f){var n=null;try{this.update(r,c)}catch(o){n=o}f(n)},a.prototype._flush=function(r){var c=null;try{this.push(this.digest())}catch(f){c=f}r(c)},a.prototype.update=function(r,c){if(this._finalized)throw new Error("Digest already called");for(var f=t(r,c),n=this._block,o=0;this._blockOffset+f.length-o>=this._blockSize;){for(var s=this._blockOffset;s<this._blockSize;)n[s]=f[o],s+=1,o+=1;this._update(),this._blockOffset=0}for(;o<f.length;)n[this._blockOffset]=f[o],this._blockOffset+=1,o+=1;for(var u=0,h=8*f.length;h>0;++u)this._length[u]+=h,(h=this._length[u]/4294967296|0)>0&&(this._length[u]-=4294967296*h);return this},a.prototype._update=function(){throw new Error("_update is not implemented")},a.prototype.digest=function(r){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var c=this._digest();r!==void 0&&(c=c.toString(r)),this._block.fill(0),this._blockOffset=0;for(var f=0;f<4;++f)this._length[f]=0;return c},a.prototype._digest=function(){throw new Error("_digest is not implemented")},hashBase=a}function requireRipemd160$1(){if(hasRequiredRipemd160$1)return ripemd160$2;hasRequiredRipemd160$1=1;var e=requireDist().Buffer,t=requireInherits_browser(),i=requireHashBase(),a=new Array(16),r=[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],f=[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],n=[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],o=[0,1518500249,1859775393,2400959708,2840853838],s=[1352829926,1548603684,1836072691,2053994217,0];function u(A,M){return A<<M|A>>>32-M}function h(A,M,I,$,S,C,T,v){return u(A+(M^I^$)+C+T|0,v)+S|0}function l(A,M,I,$,S,C,T,v){return u(A+(M&I|~M&$)+C+T|0,v)+S|0}function d(A,M,I,$,S,C,T,v){return u(A+((M|~I)^$)+C+T|0,v)+S|0}function w(A,M,I,$,S,C,T,v){return u(A+(M&$|I&~$)+C+T|0,v)+S|0}function R(A,M,I,$,S,C,T,v){return u(A+(M^(I|~$))+C+T|0,v)+S|0}function q(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}return t(q,i),q.prototype._update=function(){for(var A=a,M=0;M<16;++M)A[M]=this._block.readInt32LE(4*M);for(var I=0|this._a,$=0|this._b,S=0|this._c,C=0|this._d,T=0|this._e,v=0|this._a,B=0|this._b,p=0|this._c,g=0|this._d,b=0|this._e,y=0;y<80;y+=1){var m,_;y<16?(m=h(I,$,S,C,T,A[r[y]],o[0],f[y]),_=R(v,B,p,g,b,A[c[y]],s[0],n[y])):y<32?(m=l(I,$,S,C,T,A[r[y]],o[1],f[y]),_=w(v,B,p,g,b,A[c[y]],s[1],n[y])):y<48?(m=d(I,$,S,C,T,A[r[y]],o[2],f[y]),_=d(v,B,p,g,b,A[c[y]],s[2],n[y])):y<64?(m=w(I,$,S,C,T,A[r[y]],o[3],f[y]),_=l(v,B,p,g,b,A[c[y]],s[3],n[y])):(m=R(I,$,S,C,T,A[r[y]],o[4],f[y]),_=h(v,B,p,g,b,A[c[y]],s[4],n[y])),I=T,T=C,C=u(S,10),S=$,$=m,v=b,b=g,g=u(p,10),p=B,B=_}var k=this._b+S+g|0;this._b=this._c+C+b|0,this._c=this._d+T+v|0,this._d=this._e+I+B|0,this._e=this._a+$+p|0,this._a=k},q.prototype._digest=function(){this._block[this._blockOffset]=128,this._blockOffset+=1,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 A=e.alloc?e.alloc(20):new e(20);return A.writeInt32LE(this._a,0),A.writeInt32LE(this._b,4),A.writeInt32LE(this._c,8),A.writeInt32LE(this._d,12),A.writeInt32LE(this._e,16),A},ripemd160$2=q}function requireToBuffer(){if(hasRequiredToBuffer)return toBuffer_1;hasRequiredToBuffer=1;var e=requireSafeBuffer$1().Buffer,t=requireToBuffer$2(),i=typeof Uint8Array<"u",a=i&&typeof ArrayBuffer<"u"&&ArrayBuffer.isView;return toBuffer_1=function(r,c,f){if(typeof r=="string"||e.isBuffer(r)||i&&r instanceof Uint8Array||a&&a(r))return t(r,c);throw new TypeError(f+" must be a string, a Buffer, a Uint8Array, or a DataView")}}function requireSyncBrowser(){if(hasRequiredSyncBrowser)return syncBrowser;hasRequiredSyncBrowser=1;var e=requireMd5$1(),t=requireRipemd160$1(),i=requireSha_js(),a=requireSafeBuffer$1().Buffer,r=requirePrecondition(),c=requireDefaultEncoding(),f=requireToBuffer(),n=a.alloc(128),o={__proto__:null,md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,"sha512-256":32,ripemd160:20,rmd160:20},s={__proto__:null,"sha-1":"sha1","sha-224":"sha224","sha-256":"sha256","sha-384":"sha384","sha-512":"sha512","ripemd-160":"ripemd160"};function u(l){return new t().update(l).digest()}function h(l,d,w){var R=(function(S){return S==="rmd160"||S==="ripemd160"?u:S==="md5"?e:function(C){return i(S).update(C).digest()}})(l),q=l==="sha512"||l==="sha384"?128:64;d.length>q?d=R(d):d.length<q&&(d=a.concat([d,n],q));for(var A=a.allocUnsafe(q+o[l]),M=a.allocUnsafe(q+o[l]),I=0;I<q;I++)A[I]=54^d[I],M[I]=92^d[I];var $=a.allocUnsafe(q+w+4);A.copy($,0,0,q),this.ipad1=$,this.ipad2=A,this.opad=M,this.alg=l,this.blocksize=q,this.hash=R,this.size=o[l]}return h.prototype.run=function(l,d){return l.copy(d,this.blocksize),this.hash(d).copy(this.opad,this.blocksize),this.hash(this.opad)},syncBrowser=function(l,d,w,R,q){R=r(w,R),l=f(l,c,"Password"),d=f(d,c,"Salt");var A=(q||"sha1").toLowerCase(),M=s[A]||A,I=o[M];if(typeof I!="number"||!I)throw new TypeError("Digest algorithm not supported: "+q);var $=new h(M,l,d.length),S=a.allocUnsafe(R),C=a.allocUnsafe(d.length+4);d.copy(C,0,0,d.length);for(var T=0,v=I,B=Math.ceil(R/v),p=1;p<=B;p++){C.writeUInt32BE(p,d.length);for(var g=$.run(C,$.ipad1),b=g,y=1;y<w;y++){b=$.run(b,$.ipad2);for(var m=0;m<v;m++)g[m]^=b[m]}g.copy(S,T),T+=v}return S},syncBrowser}function requireAsync(){if(hasRequiredAsync)return async;hasRequiredAsync=1;var e,t,i=requireSafeBuffer$1().Buffer,a=requirePrecondition(),r=requireDefaultEncoding(),c=requireSyncBrowser(),f=requireToBuffer(),n=commonjsGlobal.crypto&&commonjsGlobal.crypto.subtle,o={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"},s=[];function u(){return t||(t=commonjsGlobal.process&&commonjsGlobal.process.nextTick?commonjsGlobal.process.nextTick:commonjsGlobal.queueMicrotask?commonjsGlobal.queueMicrotask:commonjsGlobal.setImmediate?commonjsGlobal.setImmediate:commonjsGlobal.setTimeout)}function h(l,d,w,R,q){return n.importKey("raw",l,{name:"PBKDF2"},!1,["deriveBits"]).then((function(A){return n.deriveBits({name:"PBKDF2",salt:d,iterations:w,hash:{name:q}},A,R<<3)})).then((function(A){return i.from(A)}))}return async=function(l,d,w,R,q,A){if(typeof q=="function"&&(A=q,q=void 0),R=a(w,R),l=f(l,r,"Password"),d=f(d,r,"Salt"),typeof A!="function")throw new Error("No callback provided to pbkdf2");var M=o[(q=q||"sha1").toLowerCase()];M&&typeof commonjsGlobal.Promise=="function"?(function(I,$){I.then((function(S){u()((function(){$(null,S)}))}),(function(S){u()((function(){$(S)}))}))})((function(I){if(commonjsGlobal.process&&!commonjsGlobal.process.browser||!n||!n.importKey||!n.deriveBits)return Promise.resolve(!1);if(s[I]!==void 0)return s[I];var $=h(e=e||i.alloc(8),e,10,128,I).then((function(){return!0}),(function(){return!1}));return s[I]=$,$})(M).then((function(I){return I?h(l,d,w,R,M):c(l,d,w,R,q)})),A):u()((function(){var I;try{I=c(l,d,w,R,q)}catch($){return void A($)}A(null,I)}))}}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(a,r){return(a[0+r]<<24|a[1+r]<<16|a[2+r]<<8|a[3+r])>>>0},utils$3.writeUInt32BE=function(a,r,c){a[0+c]=r>>>24,a[1+c]=r>>>16&255,a[2+c]=r>>>8&255,a[3+c]=255&r},utils$3.ip=function(a,r,c,f){for(var n=0,o=0,s=6;s>=0;s-=2){for(var u=0;u<=24;u+=8)n<<=1,n|=r>>>u+s&1;for(u=0;u<=24;u+=8)n<<=1,n|=a>>>u+s&1}for(s=6;s>=0;s-=2){for(u=1;u<=25;u+=8)o<<=1,o|=r>>>u+s&1;for(u=1;u<=25;u+=8)o<<=1,o|=a>>>u+s&1}c[f+0]=n>>>0,c[f+1]=o>>>0},utils$3.rip=function(a,r,c,f){for(var n=0,o=0,s=0;s<4;s++)for(var u=24;u>=0;u-=8)n<<=1,n|=r>>>u+s&1,n<<=1,n|=a>>>u+s&1;for(s=4;s<8;s++)for(u=24;u>=0;u-=8)o<<=1,o|=r>>>u+s&1,o<<=1,o|=a>>>u+s&1;c[f+0]=n>>>0,c[f+1]=o>>>0},utils$3.pc1=function(a,r,c,f){for(var n=0,o=0,s=7;s>=5;s--){for(var u=0;u<=24;u+=8)n<<=1,n|=r>>u+s&1;for(u=0;u<=24;u+=8)n<<=1,n|=a>>u+s&1}for(u=0;u<=24;u+=8)n<<=1,n|=r>>u+s&1;for(s=1;s<=3;s++){for(u=0;u<=24;u+=8)o<<=1,o|=r>>u+s&1;for(u=0;u<=24;u+=8)o<<=1,o|=a>>u+s&1}for(u=0;u<=24;u+=8)o<<=1,o|=a>>u+s&1;c[f+0]=n>>>0,c[f+1]=o>>>0},utils$3.r28shl=function(a,r){return a<<r&268435455|a>>>28-r};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(a,r,c,f){for(var n=0,o=0,s=e.length>>>1,u=0;u<s;u++)n<<=1,n|=a>>>e[u]&1;for(u=s;u<e.length;u++)o<<=1,o|=r>>>e[u]&1;c[f+0]=n>>>0,c[f+1]=o>>>0},utils$3.expand=function(a,r,c){var f=0,n=0;f=(1&a)<<5|a>>>27;for(var o=23;o>=15;o-=4)f<<=6,f|=a>>>o&63;for(o=11;o>=3;o-=4)n|=a>>>o&63,n<<=6;n|=(31&a)<<1|a>>>31,r[c+0]=f>>>0,r[c+1]=n>>>0};var t=[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(a,r){for(var c=0,f=0;f<4;f++)c<<=4,c|=t[64*f+(a>>>18-6*f&63)];for(f=0;f<4;f++)c<<=4,c|=t[256+64*f+(r>>>18-6*f&63)];return c>>>0};var i=[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(a){for(var r=0,c=0;c<i.length;c++)r<<=1,r|=a>>>i[c]&1;return r>>>0},utils$3.padSplit=function(a,r,c){for(var f=a.toString(2);f.length<r;)f="0"+f;for(var n=[],o=0;o<r;o+=c)n.push(f.slice(o,o+c));return n.join(" ")},utils$3}function requireMinimalisticAssert(){if(hasRequiredMinimalisticAssert)return minimalisticAssert;function e(t,i){if(!t)throw new Error(i||"Assertion failed")}return hasRequiredMinimalisticAssert=1,minimalisticAssert=e,e.equal=function(t,i,a){if(t!=i)throw new Error(a||"Assertion failed: "+t+" != "+i)},minimalisticAssert}function requireCipher(){if(hasRequiredCipher)return cipher;hasRequiredCipher=1;var e=requireMinimalisticAssert();function t(i){this.options=i,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=i.padding!==!1}return cipher=t,t.prototype._init=function(){},t.prototype.update=function(i){return i.length===0?[]:this.type==="decrypt"?this._updateDecrypt(i):this._updateEncrypt(i)},t.prototype._buffer=function(i,a){for(var r=Math.min(this.buffer.length-this.bufferOff,i.length-a),c=0;c<r;c++)this.buffer[this.bufferOff+c]=i[a+c];return this.bufferOff+=r,r},t.prototype._flushBuffer=function(i,a){return this._update(this.buffer,0,i,a),this.bufferOff=0,this.blockSize},t.prototype._updateEncrypt=function(i){var a=0,r=0,c=(this.bufferOff+i.length)/this.blockSize|0,f=new Array(c*this.blockSize);this.bufferOff!==0&&(a+=this._buffer(i,a),this.bufferOff===this.buffer.length&&(r+=this._flushBuffer(f,r)));for(var n=i.length-(i.length-a)%this.blockSize;a<n;a+=this.blockSize)this._update(i,a,f,r),r+=this.blockSize;for(;a<i.length;a++,this.bufferOff++)this.buffer[this.bufferOff]=i[a];return f},t.prototype._updateDecrypt=function(i){for(var a=0,r=0,c=Math.ceil((this.bufferOff+i.length)/this.blockSize)-1,f=new Array(c*this.blockSize);c>0;c--)a+=this._buffer(i,a),r+=this._flushBuffer(f,r);return a+=this._buffer(i,a),f},t.prototype.final=function(i){var a,r;return i&&(a=this.update(i)),r=this.type==="encrypt"?this._finalEncrypt():this._finalDecrypt(),a?a.concat(r):r},t.prototype._pad=function(i,a){if(a===0)return!1;for(;a<i.length;)i[a++]=0;return!0},t.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var i=new Array(this.blockSize);return this._update(this.buffer,0,i,0),i},t.prototype._unpad=function(i){return i},t.prototype._finalDecrypt=function(){e.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var i=new Array(this.blockSize);return this._flushBuffer(i,0),this._unpad(i)},cipher}function requireDes$1(){if(hasRequiredDes$1)return des;hasRequiredDes$1=1;var e=requireMinimalisticAssert(),t=requireInherits_browser(),i=requireUtils$3(),a=requireCipher();function r(){this.tmp=new Array(2),this.keys=null}function c(n){a.call(this,n);var o=new r;this._desState=o,this.deriveKeys(o,n.key)}t(c,a),des=c,c.create=function(n){return new c(n)};var f=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];return c.prototype.deriveKeys=function(n,o){n.keys=new Array(32),e.equal(o.length,this.blockSize,"Invalid key length");var s=i.readUInt32BE(o,0),u=i.readUInt32BE(o,4);i.pc1(s,u,n.tmp,0),s=n.tmp[0],u=n.tmp[1];for(var h=0;h<n.keys.length;h+=2){var l=f[h>>>1];s=i.r28shl(s,l),u=i.r28shl(u,l),i.pc2(s,u,n.keys,h)}},c.prototype._update=function(n,o,s,u){var h=this._desState,l=i.readUInt32BE(n,o),d=i.readUInt32BE(n,o+4);i.ip(l,d,h.tmp,0),l=h.tmp[0],d=h.tmp[1],this.type==="encrypt"?this._encrypt(h,l,d,h.tmp,0):this._decrypt(h,l,d,h.tmp,0),l=h.tmp[0],d=h.tmp[1],i.writeUInt32BE(s,l,u),i.writeUInt32BE(s,d,u+4)},c.prototype._pad=function(n,o){if(this.padding===!1)return!1;for(var s=n.length-o,u=o;u<n.length;u++)n[u]=s;return!0},c.prototype._unpad=function(n){if(this.padding===!1)return n;for(var o=n[n.length-1],s=n.length-o;s<n.length;s++)e.equal(n[s],o);return n.slice(0,n.length-o)},c.prototype._encrypt=function(n,o,s,u,h){for(var l=o,d=s,w=0;w<n.keys.length;w+=2){var R=n.keys[w],q=n.keys[w+1];i.expand(d,n.tmp,0),R^=n.tmp[0],q^=n.tmp[1];var A=i.substitute(R,q),M=d;d=(l^i.permute(A))>>>0,l=M}i.rip(d,l,u,h)},c.prototype._decrypt=function(n,o,s,u,h){for(var l=s,d=o,w=n.keys.length-2;w>=0;w-=2){var R=n.keys[w],q=n.keys[w+1];i.expand(l,n.tmp,0),R^=n.tmp[0],q^=n.tmp[1];var A=i.substitute(R,q),M=l;l=(d^i.permute(A))>>>0,d=M}i.rip(l,d,u,h)},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(),t=requireInherits_browser(),i={};function a(r){e.equal(r.length,8,"Invalid IV length"),this.iv=new Array(8);for(var c=0;c<this.iv.length;c++)this.iv[c]=r[c]}return cbc$1.instantiate=function(r){function c(s){r.call(this,s),this._cbcInit()}t(c,r);for(var f=Object.keys(i),n=0;n<f.length;n++){var o=f[n];c.prototype[o]=i[o]}return c.create=function(s){return new c(s)},c},i._cbcInit=function(){var r=new a(this.options.iv);this._cbcState=r},i._update=function(r,c,f,n){var o=this._cbcState,s=this.constructor.super_.prototype,u=o.iv;if(this.type==="encrypt"){for(var h=0;h<this.blockSize;h++)u[h]^=r[c+h];for(s._update.call(this,u,0,f,n),h=0;h<this.blockSize;h++)u[h]=f[n+h]}else{for(s._update.call(this,r,c,f,n),h=0;h<this.blockSize;h++)f[n+h]^=u[h];for(h=0;h<this.blockSize;h++)u[h]=r[c+h]}},cbc$1}function requireEde(){if(hasRequiredEde)return ede;hasRequiredEde=1;var e=requireMinimalisticAssert(),t=requireInherits_browser(),i=requireCipher(),a=requireDes$1();function r(f,n){e.equal(n.length,24,"Invalid key length");var o=n.slice(0,8),s=n.slice(8,16),u=n.slice(16,24);this.ciphers=f==="encrypt"?[a.create({type:"encrypt",key:o}),a.create({type:"decrypt",key:s}),a.create({type:"encrypt",key:u})]:[a.create({type:"decrypt",key:u}),a.create({type:"encrypt",key:s}),a.create({type:"decrypt",key:o})]}function c(f){i.call(this,f);var n=new r(this.type,this.options.key);this._edeState=n}return t(c,i),ede=c,c.create=function(f){return new c(f)},c.prototype._update=function(f,n,o,s){var u=this._edeState;u.ciphers[0]._update(f,n,o,s),u.ciphers[1]._update(o,s,o,s),u.ciphers[2]._update(o,s,o,s)},c.prototype._pad=a.prototype._pad,c.prototype._unpad=a.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(),t=requireDes(),i=requireInherits_browser(),a=requireSafeBuffer$1().Buffer,r={"des-ede3-cbc":t.CBC.instantiate(t.EDE),"des-ede3":t.EDE,"des-ede-cbc":t.CBC.instantiate(t.EDE),"des-ede":t.EDE,"des-cbc":t.CBC.instantiate(t.DES),"des-ecb":t.DES};function c(f){e.call(this);var n,o=f.mode.toLowerCase(),s=r[o];n=f.decrypt?"decrypt":"encrypt";var u=f.key;a.isBuffer(u)||(u=a.from(u)),o!=="des-ede"&&o!=="des-ede-cbc"||(u=a.concat([u,u.slice(0,8)]));var h=f.iv;a.isBuffer(h)||(h=a.from(h)),this._des=s.create({key:u,iv:h,type:n})}return r.des=r["des-cbc"],r.des3=r["des-ede3-cbc"],browserifyDes=c,i(c,e),c.prototype._update=function(f){return a.from(this._des.update(f))},c.prototype._final=function(){return a.from(this._des.final())},browserifyDes}var browser$5={},encrypter={},ecb={},hasRequiredEcb;function requireEcb(){return hasRequiredEcb||(hasRequiredEcb=1,ecb.encrypt=function(e,t){return e._cipher.encryptBlock(t)},ecb.decrypt=function(e,t){return e._cipher.decryptBlock(t)}),ecb}var cbc={},bufferXor,hasRequiredBufferXor,hasRequiredCbc;function requireBufferXor(){return hasRequiredBufferXor||(hasRequiredBufferXor=1,bufferXor=function(e,t){for(var i=Math.min(e.length,t.length),a=new Buffer(i),r=0;r<i;++r)a[r]=e[r]^t[r];return a}),bufferXor}function requireCbc(){if(hasRequiredCbc)return cbc;hasRequiredCbc=1;var e=requireBufferXor();return cbc.encrypt=function(t,i){var a=e(i,t._prev);return t._prev=t._cipher.encryptBlock(a),t._prev},cbc.decrypt=function(t,i){var a=t._prev;t._prev=i;var r=t._cipher.decryptBlock(i);return e(r,a)},cbc}var cfb={},hasRequiredCfb;function requireCfb(){if(hasRequiredCfb)return cfb;hasRequiredCfb=1;var e=requireSafeBuffer$1().Buffer,t=requireBufferXor();function i(a,r,c){var f=r.length,n=t(r,a._cache);return a._cache=a._cache.slice(f),a._prev=e.concat([a._prev,c?r:n]),n}return cfb.encrypt=function(a,r,c){for(var f,n=e.allocUnsafe(0);r.length;){if(a._cache.length===0&&(a._cache=a._cipher.encryptBlock(a._prev),a._prev=e.allocUnsafe(0)),!(a._cache.length<=r.length)){n=e.concat([n,i(a,r,c)]);break}f=a._cache.length,n=e.concat([n,i(a,r.slice(0,f),c)]),r=r.slice(f)}return n},cfb}var cfb8={},hasRequiredCfb8;function requireCfb8(){if(hasRequiredCfb8)return cfb8;hasRequiredCfb8=1;var e=requireSafeBuffer$1().Buffer;function t(i,a,r){var c=i._cipher.encryptBlock(i._prev)[0]^a;return i._prev=e.concat([i._prev.slice(1),e.from([r?a:c])]),c}return cfb8.encrypt=function(i,a,r){for(var c=a.length,f=e.allocUnsafe(c),n=-1;++n<c;)f[n]=t(i,a[n],r);return f},cfb8}var cfb1={},hasRequiredCfb1;function requireCfb1(){if(hasRequiredCfb1)return cfb1;hasRequiredCfb1=1;var e=requireSafeBuffer$1().Buffer;function t(a,r,c){for(var f,n,o=-1,s=0;++o<8;)f=r&1<<7-o?128:0,s+=(128&(n=a._cipher.encryptBlock(a._prev)[0]^f))>>o%8,a._prev=i(a._prev,c?f:n);return s}function i(a,r){var c=a.length,f=-1,n=e.allocUnsafe(a.length);for(a=e.concat([a,e.from([r])]);++f<c;)n[f]=a[f]<<1|a[f+1]>>7;return n}return cfb1.encrypt=function(a,r,c){for(var f=r.length,n=e.allocUnsafe(f),o=-1;++o<f;)n[o]=t(a,r[o],c);return n},cfb1}var ofb={},hasRequiredOfb;function requireOfb(){if(hasRequiredOfb)return ofb;hasRequiredOfb=1;var e=requireBufferXor();function t(i){return i._prev=i._cipher.encryptBlock(i._prev),i._prev}return ofb.encrypt=function(i,a){for(;i._cache.length<a.length;)i._cache=Buffer.concat([i._cache,t(i)]);var r=i._cache.slice(0,a.length);return i._cache=i._cache.slice(a.length),e(a,r)},ofb}var ctr={},incr32_1,hasRequiredIncr32,hasRequiredCtr;function requireIncr32(){return hasRequiredIncr32?incr32_1:(hasRequiredIncr32=1,incr32_1=function(e){for(var t,i=e.length;i--;){if((t=e.readUInt8(i))!==255){t++,e.writeUInt8(t,i);break}e.writeUInt8(0,i)}})}function requireCtr(){if(hasRequiredCtr)return ctr;hasRequiredCtr=1;var e=requireBufferXor(),t=requireSafeBuffer$1().Buffer,i=requireIncr32();function a(r){var c=r._cipher.encryptBlockRaw(r._prev);return i(r._prev),c}return ctr.encrypt=function(r,c){var f=Math.ceil(c.length/16),n=r._cache.length;r._cache=t.concat([r._cache,t.allocUnsafe(16*f)]);for(var o=0;o<f;o++){var s=a(r),u=n+16*o;r._cache.writeUInt32BE(s[0],u+0),r._cache.writeUInt32BE(s[1],u+4),r._cache.writeUInt32BE(s[2],u+8),r._cache.writeUInt32BE(s[3],u+12)}var h=r._cache.slice(0,c.length);return r._cache=r._cache.slice(c.length),e(c,h)},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()},t=require$$2;for(var i in t)t[i].module=e[t[i].mode];return modes_1=t}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$1().Buffer;function t(n){e.isBuffer(n)||(n=e.from(n));for(var o=n.length/4|0,s=new Array(o),u=0;u<o;u++)s[u]=n.readUInt32BE(4*u);return s}function i(n){for(;0<n.length;n++)n[0]=0}function a(n,o,s,u,h){for(var l,d,w,R,q=s[0],A=s[1],M=s[2],I=s[3],$=n[0]^o[0],S=n[1]^o[1],C=n[2]^o[2],T=n[3]^o[3],v=4,B=1;B<h;B++)l=q[$>>>24]^A[S>>>16&255]^M[C>>>8&255]^I[255&T]^o[v++],d=q[S>>>24]^A[C>>>16&255]^M[T>>>8&255]^I[255&$]^o[v++],w=q[C>>>24]^A[T>>>16&255]^M[$>>>8&255]^I[255&S]^o[v++],R=q[T>>>24]^A[$>>>16&255]^M[S>>>8&255]^I[255&C]^o[v++],$=l,S=d,C=w,T=R;return l=(u[$>>>24]<<24|u[S>>>16&255]<<16|u[C>>>8&255]<<8|u[255&T])^o[v++],d=(u[S>>>24]<<24|u[C>>>16&255]<<16|u[T>>>8&255]<<8|u[255&$])^o[v++],w=(u[C>>>24]<<24|u[T>>>16&255]<<16|u[$>>>8&255]<<8|u[255&S])^o[v++],R=(u[T>>>24]<<24|u[$>>>16&255]<<16|u[S>>>8&255]<<8|u[255&C])^o[v++],[l>>>=0,d>>>=0,w>>>=0,R>>>=0]}var r=[0,1,2,4,8,16,32,64,128,27,54],c=(function(){for(var n=new Array(256),o=0;o<256;o++)n[o]=o<128?o<<1:o<<1^283;for(var s=[],u=[],h=[[],[],[],[]],l=[[],[],[],[]],d=0,w=0,R=0;R<256;++R){var q=w^w<<1^w<<2^w<<3^w<<4;q=q>>>8^255&q^99,s[d]=q,u[q]=d;var A=n[d],M=n[A],I=n[M],$=257*n[q]^16843008*q;h[0][d]=$<<24|$>>>8,h[1][d]=$<<16|$>>>16,h[2][d]=$<<8|$>>>24,h[3][d]=$,$=16843009*I^65537*M^257*A^16843008*d,l[0][q]=$<<24|$>>>8,l[1][q]=$<<16|$>>>16,l[2][q]=$<<8|$>>>24,l[3][q]=$,d===0?d=w=1:(d=A^n[n[n[I^A]]],w^=n[n[w]])}return{SBOX:s,INV_SBOX:u,SUB_MIX:h,INV_SUB_MIX:l}})();function f(n){this._key=t(n),this._reset()}return f.blockSize=16,f.keySize=32,f.prototype.blockSize=f.blockSize,f.prototype.keySize=f.keySize,f.prototype._reset=function(){for(var n=this._key,o=n.length,s=o+6,u=4*(s+1),h=[],l=0;l<o;l++)h[l]=n[l];for(l=o;l<u;l++){var d=h[l-1];l%o==0?(d=d<<8|d>>>24,d=c.SBOX[d>>>24]<<24|c.SBOX[d>>>16&255]<<16|c.SBOX[d>>>8&255]<<8|c.SBOX[255&d],d^=r[l/o|0]<<24):o>6&&l%o==4&&(d=c.SBOX[d>>>24]<<24|c.SBOX[d>>>16&255]<<16|c.SBOX[d>>>8&255]<<8|c.SBOX[255&d]),h[l]=h[l-o]^d}for(var w=[],R=0;R<u;R++){var q=u-R,A=h[q-(R%4?0:4)];w[R]=R<4||q<=4?A:c.INV_SUB_MIX[0][c.SBOX[A>>>24]]^c.INV_SUB_MIX[1][c.SBOX[A>>>16&255]]^c.INV_SUB_MIX[2][c.SBOX[A>>>8&255]]^c.INV_SUB_MIX[3][c.SBOX[255&A]]}this._nRounds=s,this._keySchedule=h,this._invKeySchedule=w},f.prototype.encryptBlockRaw=function(n){return a(n=t(n),this._keySchedule,c.SUB_MIX,c.SBOX,this._nRounds)},f.prototype.encryptBlock=function(n){var o=this.encryptBlockRaw(n),s=e.allocUnsafe(16);return s.writeUInt32BE(o[0],0),s.writeUInt32BE(o[1],4),s.writeUInt32BE(o[2],8),s.writeUInt32BE(o[3],12),s},f.prototype.decryptBlock=function(n){var o=(n=t(n))[1];n[1]=n[3],n[3]=o;var s=a(n,this._invKeySchedule,c.INV_SUB_MIX,c.INV_SBOX,this._nRounds),u=e.allocUnsafe(16);return u.writeUInt32BE(s[0],0),u.writeUInt32BE(s[3],4),u.writeUInt32BE(s[2],8),u.writeUInt32BE(s[1],12),u},f.prototype.scrub=function(){i(this._keySchedule),i(this._invKeySchedule),i(this._key)},aes$2.AES=f,aes$2}function requireGhash(){if(hasRequiredGhash)return ghash;hasRequiredGhash=1;var e=requireSafeBuffer$1().Buffer,t=e.alloc(16,0);function i(r){var c=e.allocUnsafe(16);return c.writeUInt32BE(r[0]>>>0,0),c.writeUInt32BE(r[1]>>>0,4),c.writeUInt32BE(r[2]>>>0,8),c.writeUInt32BE(r[3]>>>0,12),c}function a(r){this.h=r,this.state=e.alloc(16,0),this.cache=e.allocUnsafe(0)}return a.prototype.ghash=function(r){for(var c=-1;++c<r.length;)this.state[c]^=r[c];this._multiply()},a.prototype._multiply=function(){for(var r,c,f,n=[(r=this.h).readUInt32BE(0),r.readUInt32BE(4),r.readUInt32BE(8),r.readUInt32BE(12)],o=[0,0,0,0],s=-1;++s<128;){for(this.state[~~(s/8)]&1<<7-s%8&&(o[0]^=n[0],o[1]^=n[1],o[2]^=n[2],o[3]^=n[3]),f=!!(1&n[3]),c=3;c>0;c--)n[c]=n[c]>>>1|(1&n[c-1])<<31;n[0]=n[0]>>>1,f&&(n[0]=n[0]^225<<24)}this.state=i(o)},a.prototype.update=function(r){var c;for(this.cache=e.concat([this.cache,r]);this.cache.length>=16;)c=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(c)},a.prototype.final=function(r,c){return this.cache.length&&this.ghash(e.concat([this.cache,t],16)),this.ghash(i([0,r,0,c])),this.state},ghash=a}function requireAuthCipher(){if(hasRequiredAuthCipher)return authCipher;hasRequiredAuthCipher=1;var e=requireAes$1(),t=requireSafeBuffer$1().Buffer,i=requireCipherBase(),a=requireInherits_browser(),r=requireGhash(),c=requireBufferXor(),f=requireIncr32();function n(o,s,u,h){i.call(this);var l=t.alloc(4,0);this._cipher=new e.AES(s);var d=this._cipher.encryptBlock(l);this._ghash=new r(d),u=(function(w,R,q){if(R.length===12)return w._finID=t.concat([R,t.from([0,0,0,1])]),t.concat([R,t.from([0,0,0,2])]);var A=new r(q),M=R.length,I=M%16;A.update(R),I&&(I=16-I,A.update(t.alloc(I,0))),A.update(t.alloc(8,0));var $=8*M,S=t.alloc(8);S.writeUIntBE($,0,8),A.update(S),w._finID=A.state;var C=t.from(w._finID);return f(C),C})(this,u,d),this._prev=t.from(u),this._cache=t.allocUnsafe(0),this._secCache=t.allocUnsafe(0),this._decrypt=h,this._alen=0,this._len=0,this._mode=o,this._authTag=null,this._called=!1}return a(n,i),n.prototype._update=function(o){if(!this._called&&this._alen){var s=16-this._alen%16;s<16&&(s=t.alloc(s,0),this._ghash.update(s))}this._called=!0;var u=this._mode.encrypt(this,o);return this._decrypt?this._ghash.update(o):this._ghash.update(u),this._len+=o.length,u},n.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var o=c(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&(function(s,u){var h=0;s.length!==u.length&&h++;for(var l=Math.min(s.length,u.length),d=0;d<l;++d)h+=s[d]^u[d];return h})(o,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=o,this._cipher.scrub()},n.prototype.getAuthTag=function(){if(this._decrypt||!t.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},n.prototype.setAuthTag=function(o){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=o},n.prototype.setAAD=function(o){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(o),this._alen+=o.length},authCipher=n}function requireStreamCipher(){if(hasRequiredStreamCipher)return streamCipher;hasRequiredStreamCipher=1;var e=requireAes$1(),t=requireSafeBuffer$1().Buffer,i=requireCipherBase();function a(r,c,f,n){i.call(this),this._cipher=new e.AES(c),this._prev=t.from(f),this._cache=t.allocUnsafe(0),this._secCache=t.allocUnsafe(0),this._decrypt=n,this._mode=r}return requireInherits_browser()(a,i),a.prototype._update=function(r){return this._mode.encrypt(this,r,this._decrypt)},a.prototype._final=function(){this._cipher.scrub()},streamCipher=a}function requireEvp_bytestokey(){if(hasRequiredEvp_bytestokey)return evp_bytestokey;hasRequiredEvp_bytestokey=1;var e=requireSafeBuffer$1().Buffer,t=requireMd5_js();return evp_bytestokey=function(i,a,r,c){if(e.isBuffer(i)||(i=e.from(i,"binary")),a&&(e.isBuffer(a)||(a=e.from(a,"binary")),a.length!==8))throw new RangeError("salt should be Buffer with 8 byte length");for(var f=r/8,n=e.alloc(f),o=e.alloc(c||0),s=e.alloc(0);f>0||c>0;){var u=new t;u.update(s),u.update(i),a&&u.update(a),s=u.digest();var h=0;if(f>0){var l=n.length-f;h=Math.min(f,s.length),s.copy(n,l,0,h),f-=h}if(h<s.length&&c>0){var d=o.length-c,w=Math.min(c,s.length-h);s.copy(o,d,h,h+w),c-=w}}return s.fill(0),{key:n,iv:o}},evp_bytestokey}function requireEncrypter(){if(hasRequiredEncrypter)return encrypter;hasRequiredEncrypter=1;var e=requireModes$1(),t=requireAuthCipher(),i=requireSafeBuffer$1().Buffer,a=requireStreamCipher(),r=requireCipherBase(),c=requireAes$1(),f=requireEvp_bytestokey();function n(h,l,d){r.call(this),this._cache=new s,this._cipher=new c.AES(l),this._prev=i.from(d),this._mode=h,this._autopadding=!0}requireInherits_browser()(n,r),n.prototype._update=function(h){var l,d;this._cache.add(h);for(var w=[];l=this._cache.get();)d=this._mode.encrypt(this,l),w.push(d);return i.concat(w)};var o=i.alloc(16,16);function s(){this.cache=i.allocUnsafe(0)}function u(h,l,d){var w=e[h.toLowerCase()];if(!w)throw new TypeError("invalid suite type");if(typeof l=="string"&&(l=i.from(l)),l.length!==w.key/8)throw new TypeError("invalid key length "+l.length);if(typeof d=="string"&&(d=i.from(d)),w.mode!=="GCM"&&d.length!==w.iv)throw new TypeError("invalid iv length "+d.length);return w.type==="stream"?new a(w.module,l,d):w.type==="auth"?new t(w.module,l,d):new n(w.module,l,d)}return n.prototype._final=function(){var h=this._cache.flush();if(this._autopadding)return h=this._mode.encrypt(this,h),this._cipher.scrub(),h;if(!h.equals(o))throw this._cipher.scrub(),new Error("data not multiple of block length")},n.prototype.setAutoPadding=function(h){return this._autopadding=!!h,this},s.prototype.add=function(h){this.cache=i.concat([this.cache,h])},s.prototype.get=function(){if(this.cache.length>15){var h=this.cache.slice(0,16);return this.cache=this.cache.slice(16),h}return null},s.prototype.flush=function(){for(var h=16-this.cache.length,l=i.allocUnsafe(h),d=-1;++d<h;)l.writeUInt8(h,d);return i.concat([this.cache,l])},encrypter.createCipheriv=u,encrypter.createCipher=function(h,l){var d=e[h.toLowerCase()];if(!d)throw new TypeError("invalid suite type");var w=f(l,!1,d.key,d.iv);return u(h,w.key,w.iv)},encrypter}var decrypter={},hasRequiredDecrypter,hasRequiredBrowser$6;function requireDecrypter(){if(hasRequiredDecrypter)return decrypter;hasRequiredDecrypter=1;var e=requireAuthCipher(),t=requireSafeBuffer$1().Buffer,i=requireModes$1(),a=requireStreamCipher(),r=requireCipherBase(),c=requireAes$1(),f=requireEvp_bytestokey();function n(u,h,l){r.call(this),this._cache=new o,this._last=void 0,this._cipher=new c.AES(h),this._prev=t.from(l),this._mode=u,this._autopadding=!0}function o(){this.cache=t.allocUnsafe(0)}function s(u,h,l){var d=i[u.toLowerCase()];if(!d)throw new TypeError("invalid suite type");if(typeof l=="string"&&(l=t.from(l)),d.mode!=="GCM"&&l.length!==d.iv)throw new TypeError("invalid iv length "+l.length);if(typeof h=="string"&&(h=t.from(h)),h.length!==d.key/8)throw new TypeError("invalid key length "+h.length);return d.type==="stream"?new a(d.module,h,l,!0):d.type==="auth"?new e(d.module,h,l,!0):new n(d.module,h,l)}return requireInherits_browser()(n,r),n.prototype._update=function(u){var h,l;this._cache.add(u);for(var d=[];h=this._cache.get(this._autopadding);)l=this._mode.decrypt(this,h),d.push(l);return t.concat(d)},n.prototype._final=function(){var u=this._cache.flush();if(this._autopadding)return(function(h){var l=h[15];if(l<1||l>16)throw new Error("unable to decrypt data");for(var d=-1;++d<l;)if(h[d+(16-l)]!==l)throw new Error("unable to decrypt data");if(l!==16)return h.slice(0,16-l)})(this._mode.decrypt(this,u));if(u)throw new Error("data not multiple of block length")},n.prototype.setAutoPadding=function(u){return this._autopadding=!!u,this},o.prototype.add=function(u){this.cache=t.concat([this.cache,u])},o.prototype.get=function(u){var h;if(u){if(this.cache.length>16)return h=this.cache.slice(0,16),this.cache=this.cache.slice(16),h}else if(this.cache.length>=16)return h=this.cache.slice(0,16),this.cache=this.cache.slice(16),h;return null},o.prototype.flush=function(){if(this.cache.length)return this.cache},decrypter.createDecipher=function(u,h){var l=i[u.toLowerCase()];if(!l)throw new TypeError("invalid suite type");var d=f(h,!1,l.key,l.iv);return s(u,d.key,d.iv)},decrypter.createDecipheriv=s,decrypter}function requireBrowser$6(){if(hasRequiredBrowser$6)return browser$5;hasRequiredBrowser$6=1;var e=requireEncrypter(),t=requireDecrypter(),i=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=t.createDecipher,browser$5.createDecipheriv=browser$5.Decipheriv=t.createDecipheriv,browser$5.listCiphers=browser$5.getCiphers=function(){return Object.keys(i)},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(),t=requireBrowser$6(),i=requireModes$1(),a=requireModes(),r=requireEvp_bytestokey();function c(n,o,s){if(n=n.toLowerCase(),i[n])return t.createCipheriv(n,o,s);if(a[n])return new e({key:o,iv:s,mode:n});throw new TypeError("invalid suite type")}function f(n,o,s){if(n=n.toLowerCase(),i[n])return t.createDecipheriv(n,o,s);if(a[n])return new e({key:o,iv:s,mode:n,decrypt:!0});throw new TypeError("invalid suite type")}return browser$6.createCipher=browser$6.Cipher=function(n,o){var s,u;if(n=n.toLowerCase(),i[n])s=i[n].key,u=i[n].iv;else{if(!a[n])throw new TypeError("invalid suite type");s=8*a[n].key,u=a[n].iv}var h=r(o,!1,s,u);return c(n,h.key,h.iv)},browser$6.createCipheriv=browser$6.Cipheriv=c,browser$6.createDecipher=browser$6.Decipher=function(n,o){var s,u;if(n=n.toLowerCase(),i[n])s=i[n].key,u=i[n].iv;else{if(!a[n])throw new TypeError("invalid suite type");s=8*a[n].key,u=a[n].iv}var h=r(o,!1,s,u);return f(n,h.key,h.iv)},browser$6.createDecipheriv=browser$6.Decipheriv=f,browser$6.listCiphers=browser$6.getCiphers=function(){return Object.keys(a).concat(t.getCiphers())},browser$6}var browser$4={},bn$3={exports:{}},bn$2=bn$3.exports,hasRequiredBn$1;function requireBn$1(){return hasRequiredBn$1||(hasRequiredBn$1=1,(function(e,t){function i(v,B){if(!v)throw new Error(B||"Assertion failed")}function a(v,B){v.super_=B;var p=function(){};p.prototype=B.prototype,v.prototype=new p,v.prototype.constructor=v}function r(v,B,p){if(r.isBN(v))return v;this.negative=0,this.words=null,this.length=0,this.red=null,v!==null&&(B!=="le"&&B!=="be"||(p=B,B=10),this._init(v||0,B||10,p||"be"))}var c;typeof e=="object"?e.exports=r:t.BN=r,r.BN=r,r.wordSize=26;try{c=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:requireDist().Buffer}catch{}function f(v,B){var p=v.charCodeAt(B);return p>=65&&p<=70?p-55:p>=97&&p<=102?p-87:p-48&15}function n(v,B,p){var g=f(v,p);return p-1>=B&&(g|=f(v,p-1)<<4),g}function o(v,B,p,g){for(var b=0,y=Math.min(v.length,p),m=B;m<y;m++){var _=v.charCodeAt(m)-48;b*=g,b+=_>=49?_-49+10:_>=17?_-17+10:_}return b}r.isBN=function(v){return v instanceof r||v!==null&&typeof v=="object"&&v.constructor.wordSize===r.wordSize&&Array.isArray(v.words)},r.max=function(v,B){return v.cmp(B)>0?v:B},r.min=function(v,B){return v.cmp(B)<0?v:B},r.prototype._init=function(v,B,p){if(typeof v=="number")return this._initNumber(v,B,p);if(typeof v=="object")return this._initArray(v,B,p);B==="hex"&&(B=16),i(B===(0|B)&&B>=2&&B<=36);var g=0;(v=v.toString().replace(/\s+/g,""))[0]==="-"&&(g++,this.negative=1),g<v.length&&(B===16?this._parseHex(v,g,p):(this._parseBase(v,B,g),p==="le"&&this._initArray(this.toArray(),B,p)))},r.prototype._initNumber=function(v,B,p){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):(i(v<9007199254740992),this.words=[67108863&v,v/67108864&67108863,1],this.length=3),p==="le"&&this._initArray(this.toArray(),B,p)},r.prototype._initArray=function(v,B,p){if(i(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 g=0;g<this.length;g++)this.words[g]=0;var b,y,m=0;if(p==="be")for(g=v.length-1,b=0;g>=0;g-=3)y=v[g]|v[g-1]<<8|v[g-2]<<16,this.words[b]|=y<<m&67108863,this.words[b+1]=y>>>26-m&67108863,(m+=24)>=26&&(m-=26,b++);else if(p==="le")for(g=0,b=0;g<v.length;g+=3)y=v[g]|v[g+1]<<8|v[g+2]<<16,this.words[b]|=y<<m&67108863,this.words[b+1]=y>>>26-m&67108863,(m+=24)>=26&&(m-=26,b++);return this.strip()},r.prototype._parseHex=function(v,B,p){this.length=Math.ceil((v.length-B)/6),this.words=new Array(this.length);for(var g=0;g<this.length;g++)this.words[g]=0;var b,y=0,m=0;if(p==="be")for(g=v.length-1;g>=B;g-=2)b=n(v,B,g)<<y,this.words[m]|=67108863&b,y>=18?(y-=18,m+=1,this.words[m]|=b>>>26):y+=8;else for(g=(v.length-B)%2==0?B+1:B;g<v.length;g+=2)b=n(v,B,g)<<y,this.words[m]|=67108863&b,y>=18?(y-=18,m+=1,this.words[m]|=b>>>26):y+=8;this.strip()},r.prototype._parseBase=function(v,B,p){this.words=[0],this.length=1;for(var g=0,b=1;b<=67108863;b*=B)g++;g--,b=b/B|0;for(var y=v.length-p,m=y%g,_=Math.min(y,y-m)+p,k=0,O=p;O<_;O+=g)k=o(v,O,O+g,B),this.imuln(b),this.words[0]+k<67108864?this.words[0]+=k:this._iaddn(k);if(m!==0){var F=1;for(k=o(v,O,v.length,B),O=0;O<m;O++)F*=B;this.imuln(F),this.words[0]+k<67108864?this.words[0]+=k:this._iaddn(k)}this.strip()},r.prototype.copy=function(v){v.words=new Array(this.length);for(var B=0;B<this.length;B++)v.words[B]=this.words[B];v.length=this.length,v.negative=this.negative,v.red=this.red},r.prototype.clone=function(){var v=new r(null);return this.copy(v),v},r.prototype._expand=function(v){for(;this.length<v;)this.words[this.length++]=0;return this},r.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},r.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},r.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var s=["","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"],u=[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 l(v,B,p){p.negative=B.negative^v.negative;var g=v.length+B.length|0;p.length=g,g=g-1|0;var b=0|v.words[0],y=0|B.words[0],m=b*y,_=67108863&m,k=m/67108864|0;p.words[0]=_;for(var O=1;O<g;O++){for(var F=k>>>26,j=67108863&k,N=Math.min(O,B.length-1),U=Math.max(0,O-v.length+1);U<=N;U++){var P=O-U|0;F+=(m=(b=0|v.words[P])*(y=0|B.words[U])+j)/67108864|0,j=67108863&m}p.words[O]=0|j,k=0|F}return k!==0?p.words[O]=0|k:p.length--,p.strip()}r.prototype.toString=function(v,B){var p;if(B=0|B||1,(v=v||10)===16||v==="hex"){p="";for(var g=0,b=0,y=0;y<this.length;y++){var m=this.words[y],_=(16777215&(m<<g|b)).toString(16);b=m>>>24-g&16777215,(g+=2)>=26&&(g-=26,y--),p=b!==0||y!==this.length-1?s[6-_.length]+_+p:_+p}for(b!==0&&(p=b.toString(16)+p);p.length%B!=0;)p="0"+p;return this.negative!==0&&(p="-"+p),p}if(v===(0|v)&&v>=2&&v<=36){var k=u[v],O=h[v];p="";var F=this.clone();for(F.negative=0;!F.isZero();){var j=F.modn(O).toString(v);p=(F=F.idivn(O)).isZero()?j+p:s[k-j.length]+j+p}for(this.isZero()&&(p="0"+p);p.length%B!=0;)p="0"+p;return this.negative!==0&&(p="-"+p),p}i(!1,"Base should be between 2 and 36")},r.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&&i(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-v:v},r.prototype.toJSON=function(){return this.toString(16)},r.prototype.toBuffer=function(v,B){return i(c!==void 0),this.toArrayLike(c,v,B)},r.prototype.toArray=function(v,B){return this.toArrayLike(Array,v,B)},r.prototype.toArrayLike=function(v,B,p){var g=this.byteLength(),b=p||Math.max(1,g);i(g<=b,"byte array longer than desired length"),i(b>0,"Requested array length <= 0"),this.strip();var y,m,_=B==="le",k=new v(b),O=this.clone();if(_){for(m=0;!O.isZero();m++)y=O.andln(255),O.iushrn(8),k[m]=y;for(;m<b;m++)k[m]=0}else{for(m=0;m<b-g;m++)k[m]=0;for(m=0;!O.isZero();m++)y=O.andln(255),O.iushrn(8),k[b-m-1]=y}return k},Math.clz32?r.prototype._countBits=function(v){return 32-Math.clz32(v)}:r.prototype._countBits=function(v){var B=v,p=0;return B>=4096&&(p+=13,B>>>=13),B>=64&&(p+=7,B>>>=7),B>=8&&(p+=4,B>>>=4),B>=2&&(p+=2,B>>>=2),p+B},r.prototype._zeroBits=function(v){if(v===0)return 26;var B=v,p=0;return 8191&B||(p+=13,B>>>=13),127&B||(p+=7,B>>>=7),15&B||(p+=4,B>>>=4),3&B||(p+=2,B>>>=2),1&B||p++,p},r.prototype.bitLength=function(){var v=this.words[this.length-1],B=this._countBits(v);return 26*(this.length-1)+B},r.prototype.zeroBits=function(){if(this.isZero())return 0;for(var v=0,B=0;B<this.length;B++){var p=this._zeroBits(this.words[B]);if(v+=p,p!==26)break}return v},r.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},r.prototype.toTwos=function(v){return this.negative!==0?this.abs().inotn(v).iaddn(1):this.clone()},r.prototype.fromTwos=function(v){return this.testn(v-1)?this.notn(v).iaddn(1).ineg():this.clone()},r.prototype.isNeg=function(){return this.negative!==0},r.prototype.neg=function(){return this.clone().ineg()},r.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},r.prototype.iuor=function(v){for(;this.length<v.length;)this.words[this.length++]=0;for(var B=0;B<v.length;B++)this.words[B]=this.words[B]|v.words[B];return this.strip()},r.prototype.ior=function(v){return i(!(this.negative|v.negative)),this.iuor(v)},r.prototype.or=function(v){return this.length>v.length?this.clone().ior(v):v.clone().ior(this)},r.prototype.uor=function(v){return this.length>v.length?this.clone().iuor(v):v.clone().iuor(this)},r.prototype.iuand=function(v){var B;B=this.length>v.length?v:this;for(var p=0;p<B.length;p++)this.words[p]=this.words[p]&v.words[p];return this.length=B.length,this.strip()},r.prototype.iand=function(v){return i(!(this.negative|v.negative)),this.iuand(v)},r.prototype.and=function(v){return this.length>v.length?this.clone().iand(v):v.clone().iand(this)},r.prototype.uand=function(v){return this.length>v.length?this.clone().iuand(v):v.clone().iuand(this)},r.prototype.iuxor=function(v){var B,p;this.length>v.length?(B=this,p=v):(B=v,p=this);for(var g=0;g<p.length;g++)this.words[g]=B.words[g]^p.words[g];if(this!==B)for(;g<B.length;g++)this.words[g]=B.words[g];return this.length=B.length,this.strip()},r.prototype.ixor=function(v){return i(!(this.negative|v.negative)),this.iuxor(v)},r.prototype.xor=function(v){return this.length>v.length?this.clone().ixor(v):v.clone().ixor(this)},r.prototype.uxor=function(v){return this.length>v.length?this.clone().iuxor(v):v.clone().iuxor(this)},r.prototype.inotn=function(v){i(typeof v=="number"&&v>=0);var B=0|Math.ceil(v/26),p=v%26;this._expand(B),p>0&&B--;for(var g=0;g<B;g++)this.words[g]=67108863&~this.words[g];for(p>0&&(this.words[g]=~this.words[g]&67108863>>26-p,g++);g<this.length;g++)this.words[g]=0;return this.strip()},r.prototype.notn=function(v){return this.clone().inotn(v)},r.prototype.setn=function(v,B){i(typeof v=="number"&&v>=0);var p=v/26|0,g=v%26;return this._expand(p+1),this.words[p]=B?this.words[p]|1<<g:this.words[p]&~(1<<g),this.strip()},r.prototype.iadd=function(v){var B,p,g;if(this.negative!==0&&v.negative===0)return this.negative=0,B=this.isub(v),this.negative^=1,this._normSign();if(this.negative===0&&v.negative!==0)return v.negative=0,B=this.isub(v),v.negative=1,B._normSign();this.length>v.length?(p=this,g=v):(p=v,g=this);for(var b=0,y=0;y<g.length;y++)B=(0|p.words[y])+(0|g.words[y])+b,this.words[y]=67108863&B,b=B>>>26;for(;b!==0&&y<p.length;y++)B=(0|p.words[y])+b,this.words[y]=67108863&B,b=B>>>26;if(this.length=p.length,b!==0)this.words[this.length]=b,this.length++;else if(p!==this)for(;y<p.length;y++)this.words[y]=p.words[y];return this},r.prototype.add=function(v){var B;return v.negative!==0&&this.negative===0?(v.negative=0,B=this.sub(v),v.negative^=1,B):v.negative===0&&this.negative!==0?(this.negative=0,B=v.sub(this),this.negative=1,B):this.length>v.length?this.clone().iadd(v):v.clone().iadd(this)},r.prototype.isub=function(v){if(v.negative!==0){v.negative=0;var B=this.iadd(v);return v.negative=1,B._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(v),this.negative=1,this._normSign();var p,g,b=this.cmp(v);if(b===0)return this.negative=0,this.length=1,this.words[0]=0,this;b>0?(p=this,g=v):(p=v,g=this);for(var y=0,m=0;m<g.length;m++)y=(B=(0|p.words[m])-(0|g.words[m])+y)>>26,this.words[m]=67108863&B;for(;y!==0&&m<p.length;m++)y=(B=(0|p.words[m])+y)>>26,this.words[m]=67108863&B;if(y===0&&m<p.length&&p!==this)for(;m<p.length;m++)this.words[m]=p.words[m];return this.length=Math.max(this.length,m),p!==this&&(this.negative=1),this.strip()},r.prototype.sub=function(v){return this.clone().isub(v)};var d=function(v,B,p){var g,b,y,m=v.words,_=B.words,k=p.words,O=0,F=0|m[0],j=8191&F,N=F>>>13,U=0|m[1],P=8191&U,D=U>>>13,G=0|m[2],K=8191&G,ee=G>>>13,J=0|m[3],V=8191&J,Q=J>>>13,X=0|m[4],Z=8191&X,ae=X>>>13,pe=0|m[5],ie=8191&pe,be=pe>>>13,oe=0|m[6],re=8191&oe,de=oe>>>13,ye=0|m[7],se=8191&ye,le=ye>>>13,Re=0|m[8],ue=8191&Re,qe=Re>>>13,$e=0|m[9],fe=8191&$e,Be=$e>>>13,Me=0|_[0],ce=8191&Me,Ee=Me>>>13,E=0|_[1],x=8191&E,L=E>>>13,W=0|_[2],z=8191&W,H=W>>>13,Y=0|_[3],te=8191&Y,he=Y>>>13,ge=0|_[4],ne=8191&ge,ve=ge>>>13,xe=0|_[5],_e=8191&xe,Pe=xe>>>13,Ce=0|_[6],we=8191&Ce,Oe=Ce>>>13,ke=0|_[7],me=8191&ke,Ie=ke>>>13,je=0|_[8],Ae=8191&je,De=je>>>13,Fe=0|_[9],Se=8191&Fe,Ue=Fe>>>13;p.negative=v.negative^B.negative,p.length=19;var Te=(O+(g=Math.imul(j,ce))|0)+((8191&(b=(b=Math.imul(j,Ee))+Math.imul(N,ce)|0))<<13)|0;O=((y=Math.imul(N,Ee))+(b>>>13)|0)+(Te>>>26)|0,Te&=67108863,g=Math.imul(P,ce),b=(b=Math.imul(P,Ee))+Math.imul(D,ce)|0,y=Math.imul(D,Ee);var Le=(O+(g=g+Math.imul(j,x)|0)|0)+((8191&(b=(b=b+Math.imul(j,L)|0)+Math.imul(N,x)|0))<<13)|0;O=((y=y+Math.imul(N,L)|0)+(b>>>13)|0)+(Le>>>26)|0,Le&=67108863,g=Math.imul(K,ce),b=(b=Math.imul(K,Ee))+Math.imul(ee,ce)|0,y=Math.imul(ee,Ee),g=g+Math.imul(P,x)|0,b=(b=b+Math.imul(P,L)|0)+Math.imul(D,x)|0,y=y+Math.imul(D,L)|0;var Ne=(O+(g=g+Math.imul(j,z)|0)|0)+((8191&(b=(b=b+Math.imul(j,H)|0)+Math.imul(N,z)|0))<<13)|0;O=((y=y+Math.imul(N,H)|0)+(b>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,g=Math.imul(V,ce),b=(b=Math.imul(V,Ee))+Math.imul(Q,ce)|0,y=Math.imul(Q,Ee),g=g+Math.imul(K,x)|0,b=(b=b+Math.imul(K,L)|0)+Math.imul(ee,x)|0,y=y+Math.imul(ee,L)|0,g=g+Math.imul(P,z)|0,b=(b=b+Math.imul(P,H)|0)+Math.imul(D,z)|0,y=y+Math.imul(D,H)|0;var We=(O+(g=g+Math.imul(j,te)|0)|0)+((8191&(b=(b=b+Math.imul(j,he)|0)+Math.imul(N,te)|0))<<13)|0;O=((y=y+Math.imul(N,he)|0)+(b>>>13)|0)+(We>>>26)|0,We&=67108863,g=Math.imul(Z,ce),b=(b=Math.imul(Z,Ee))+Math.imul(ae,ce)|0,y=Math.imul(ae,Ee),g=g+Math.imul(V,x)|0,b=(b=b+Math.imul(V,L)|0)+Math.imul(Q,x)|0,y=y+Math.imul(Q,L)|0,g=g+Math.imul(K,z)|0,b=(b=b+Math.imul(K,H)|0)+Math.imul(ee,z)|0,y=y+Math.imul(ee,H)|0,g=g+Math.imul(P,te)|0,b=(b=b+Math.imul(P,he)|0)+Math.imul(D,te)|0,y=y+Math.imul(D,he)|0;var ze=(O+(g=g+Math.imul(j,ne)|0)|0)+((8191&(b=(b=b+Math.imul(j,ve)|0)+Math.imul(N,ne)|0))<<13)|0;O=((y=y+Math.imul(N,ve)|0)+(b>>>13)|0)+(ze>>>26)|0,ze&=67108863,g=Math.imul(ie,ce),b=(b=Math.imul(ie,Ee))+Math.imul(be,ce)|0,y=Math.imul(be,Ee),g=g+Math.imul(Z,x)|0,b=(b=b+Math.imul(Z,L)|0)+Math.imul(ae,x)|0,y=y+Math.imul(ae,L)|0,g=g+Math.imul(V,z)|0,b=(b=b+Math.imul(V,H)|0)+Math.imul(Q,z)|0,y=y+Math.imul(Q,H)|0,g=g+Math.imul(K,te)|0,b=(b=b+Math.imul(K,he)|0)+Math.imul(ee,te)|0,y=y+Math.imul(ee,he)|0,g=g+Math.imul(P,ne)|0,b=(b=b+Math.imul(P,ve)|0)+Math.imul(D,ne)|0,y=y+Math.imul(D,ve)|0;var Ge=(O+(g=g+Math.imul(j,_e)|0)|0)+((8191&(b=(b=b+Math.imul(j,Pe)|0)+Math.imul(N,_e)|0))<<13)|0;O=((y=y+Math.imul(N,Pe)|0)+(b>>>13)|0)+(Ge>>>26)|0,Ge&=67108863,g=Math.imul(re,ce),b=(b=Math.imul(re,Ee))+Math.imul(de,ce)|0,y=Math.imul(de,Ee),g=g+Math.imul(ie,x)|0,b=(b=b+Math.imul(ie,L)|0)+Math.imul(be,x)|0,y=y+Math.imul(be,L)|0,g=g+Math.imul(Z,z)|0,b=(b=b+Math.imul(Z,H)|0)+Math.imul(ae,z)|0,y=y+Math.imul(ae,H)|0,g=g+Math.imul(V,te)|0,b=(b=b+Math.imul(V,he)|0)+Math.imul(Q,te)|0,y=y+Math.imul(Q,he)|0,g=g+Math.imul(K,ne)|0,b=(b=b+Math.imul(K,ve)|0)+Math.imul(ee,ne)|0,y=y+Math.imul(ee,ve)|0,g=g+Math.imul(P,_e)|0,b=(b=b+Math.imul(P,Pe)|0)+Math.imul(D,_e)|0,y=y+Math.imul(D,Pe)|0;var He=(O+(g=g+Math.imul(j,we)|0)|0)+((8191&(b=(b=b+Math.imul(j,Oe)|0)+Math.imul(N,we)|0))<<13)|0;O=((y=y+Math.imul(N,Oe)|0)+(b>>>13)|0)+(He>>>26)|0,He&=67108863,g=Math.imul(se,ce),b=(b=Math.imul(se,Ee))+Math.imul(le,ce)|0,y=Math.imul(le,Ee),g=g+Math.imul(re,x)|0,b=(b=b+Math.imul(re,L)|0)+Math.imul(de,x)|0,y=y+Math.imul(de,L)|0,g=g+Math.imul(ie,z)|0,b=(b=b+Math.imul(ie,H)|0)+Math.imul(be,z)|0,y=y+Math.imul(be,H)|0,g=g+Math.imul(Z,te)|0,b=(b=b+Math.imul(Z,he)|0)+Math.imul(ae,te)|0,y=y+Math.imul(ae,he)|0,g=g+Math.imul(V,ne)|0,b=(b=b+Math.imul(V,ve)|0)+Math.imul(Q,ne)|0,y=y+Math.imul(Q,ve)|0,g=g+Math.imul(K,_e)|0,b=(b=b+Math.imul(K,Pe)|0)+Math.imul(ee,_e)|0,y=y+Math.imul(ee,Pe)|0,g=g+Math.imul(P,we)|0,b=(b=b+Math.imul(P,Oe)|0)+Math.imul(D,we)|0,y=y+Math.imul(D,Oe)|0;var Ke=(O+(g=g+Math.imul(j,me)|0)|0)+((8191&(b=(b=b+Math.imul(j,Ie)|0)+Math.imul(N,me)|0))<<13)|0;O=((y=y+Math.imul(N,Ie)|0)+(b>>>13)|0)+(Ke>>>26)|0,Ke&=67108863,g=Math.imul(ue,ce),b=(b=Math.imul(ue,Ee))+Math.imul(qe,ce)|0,y=Math.imul(qe,Ee),g=g+Math.imul(se,x)|0,b=(b=b+Math.imul(se,L)|0)+Math.imul(le,x)|0,y=y+Math.imul(le,L)|0,g=g+Math.imul(re,z)|0,b=(b=b+Math.imul(re,H)|0)+Math.imul(de,z)|0,y=y+Math.imul(de,H)|0,g=g+Math.imul(ie,te)|0,b=(b=b+Math.imul(ie,he)|0)+Math.imul(be,te)|0,y=y+Math.imul(be,he)|0,g=g+Math.imul(Z,ne)|0,b=(b=b+Math.imul(Z,ve)|0)+Math.imul(ae,ne)|0,y=y+Math.imul(ae,ve)|0,g=g+Math.imul(V,_e)|0,b=(b=b+Math.imul(V,Pe)|0)+Math.imul(Q,_e)|0,y=y+Math.imul(Q,Pe)|0,g=g+Math.imul(K,we)|0,b=(b=b+Math.imul(K,Oe)|0)+Math.imul(ee,we)|0,y=y+Math.imul(ee,Oe)|0,g=g+Math.imul(P,me)|0,b=(b=b+Math.imul(P,Ie)|0)+Math.imul(D,me)|0,y=y+Math.imul(D,Ie)|0;var Ve=(O+(g=g+Math.imul(j,Ae)|0)|0)+((8191&(b=(b=b+Math.imul(j,De)|0)+Math.imul(N,Ae)|0))<<13)|0;O=((y=y+Math.imul(N,De)|0)+(b>>>13)|0)+(Ve>>>26)|0,Ve&=67108863,g=Math.imul(fe,ce),b=(b=Math.imul(fe,Ee))+Math.imul(Be,ce)|0,y=Math.imul(Be,Ee),g=g+Math.imul(ue,x)|0,b=(b=b+Math.imul(ue,L)|0)+Math.imul(qe,x)|0,y=y+Math.imul(qe,L)|0,g=g+Math.imul(se,z)|0,b=(b=b+Math.imul(se,H)|0)+Math.imul(le,z)|0,y=y+Math.imul(le,H)|0,g=g+Math.imul(re,te)|0,b=(b=b+Math.imul(re,he)|0)+Math.imul(de,te)|0,y=y+Math.imul(de,he)|0,g=g+Math.imul(ie,ne)|0,b=(b=b+Math.imul(ie,ve)|0)+Math.imul(be,ne)|0,y=y+Math.imul(be,ve)|0,g=g+Math.imul(Z,_e)|0,b=(b=b+Math.imul(Z,Pe)|0)+Math.imul(ae,_e)|0,y=y+Math.imul(ae,Pe)|0,g=g+Math.imul(V,we)|0,b=(b=b+Math.imul(V,Oe)|0)+Math.imul(Q,we)|0,y=y+Math.imul(Q,Oe)|0,g=g+Math.imul(K,me)|0,b=(b=b+Math.imul(K,Ie)|0)+Math.imul(ee,me)|0,y=y+Math.imul(ee,Ie)|0,g=g+Math.imul(P,Ae)|0,b=(b=b+Math.imul(P,De)|0)+Math.imul(D,Ae)|0,y=y+Math.imul(D,De)|0;var Xe=(O+(g=g+Math.imul(j,Se)|0)|0)+((8191&(b=(b=b+Math.imul(j,Ue)|0)+Math.imul(N,Se)|0))<<13)|0;O=((y=y+Math.imul(N,Ue)|0)+(b>>>13)|0)+(Xe>>>26)|0,Xe&=67108863,g=Math.imul(fe,x),b=(b=Math.imul(fe,L))+Math.imul(Be,x)|0,y=Math.imul(Be,L),g=g+Math.imul(ue,z)|0,b=(b=b+Math.imul(ue,H)|0)+Math.imul(qe,z)|0,y=y+Math.imul(qe,H)|0,g=g+Math.imul(se,te)|0,b=(b=b+Math.imul(se,he)|0)+Math.imul(le,te)|0,y=y+Math.imul(le,he)|0,g=g+Math.imul(re,ne)|0,b=(b=b+Math.imul(re,ve)|0)+Math.imul(de,ne)|0,y=y+Math.imul(de,ve)|0,g=g+Math.imul(ie,_e)|0,b=(b=b+Math.imul(ie,Pe)|0)+Math.imul(be,_e)|0,y=y+Math.imul(be,Pe)|0,g=g+Math.imul(Z,we)|0,b=(b=b+Math.imul(Z,Oe)|0)+Math.imul(ae,we)|0,y=y+Math.imul(ae,Oe)|0,g=g+Math.imul(V,me)|0,b=(b=b+Math.imul(V,Ie)|0)+Math.imul(Q,me)|0,y=y+Math.imul(Q,Ie)|0,g=g+Math.imul(K,Ae)|0,b=(b=b+Math.imul(K,De)|0)+Math.imul(ee,Ae)|0,y=y+Math.imul(ee,De)|0;var Ye=(O+(g=g+Math.imul(P,Se)|0)|0)+((8191&(b=(b=b+Math.imul(P,Ue)|0)+Math.imul(D,Se)|0))<<13)|0;O=((y=y+Math.imul(D,Ue)|0)+(b>>>13)|0)+(Ye>>>26)|0,Ye&=67108863,g=Math.imul(fe,z),b=(b=Math.imul(fe,H))+Math.imul(Be,z)|0,y=Math.imul(Be,H),g=g+Math.imul(ue,te)|0,b=(b=b+Math.imul(ue,he)|0)+Math.imul(qe,te)|0,y=y+Math.imul(qe,he)|0,g=g+Math.imul(se,ne)|0,b=(b=b+Math.imul(se,ve)|0)+Math.imul(le,ne)|0,y=y+Math.imul(le,ve)|0,g=g+Math.imul(re,_e)|0,b=(b=b+Math.imul(re,Pe)|0)+Math.imul(de,_e)|0,y=y+Math.imul(de,Pe)|0,g=g+Math.imul(ie,we)|0,b=(b=b+Math.imul(ie,Oe)|0)+Math.imul(be,we)|0,y=y+Math.imul(be,Oe)|0,g=g+Math.imul(Z,me)|0,b=(b=b+Math.imul(Z,Ie)|0)+Math.imul(ae,me)|0,y=y+Math.imul(ae,Ie)|0,g=g+Math.imul(V,Ae)|0,b=(b=b+Math.imul(V,De)|0)+Math.imul(Q,Ae)|0,y=y+Math.imul(Q,De)|0;var Ze=(O+(g=g+Math.imul(K,Se)|0)|0)+((8191&(b=(b=b+Math.imul(K,Ue)|0)+Math.imul(ee,Se)|0))<<13)|0;O=((y=y+Math.imul(ee,Ue)|0)+(b>>>13)|0)+(Ze>>>26)|0,Ze&=67108863,g=Math.imul(fe,te),b=(b=Math.imul(fe,he))+Math.imul(Be,te)|0,y=Math.imul(Be,he),g=g+Math.imul(ue,ne)|0,b=(b=b+Math.imul(ue,ve)|0)+Math.imul(qe,ne)|0,y=y+Math.imul(qe,ve)|0,g=g+Math.imul(se,_e)|0,b=(b=b+Math.imul(se,Pe)|0)+Math.imul(le,_e)|0,y=y+Math.imul(le,Pe)|0,g=g+Math.imul(re,we)|0,b=(b=b+Math.imul(re,Oe)|0)+Math.imul(de,we)|0,y=y+Math.imul(de,Oe)|0,g=g+Math.imul(ie,me)|0,b=(b=b+Math.imul(ie,Ie)|0)+Math.imul(be,me)|0,y=y+Math.imul(be,Ie)|0,g=g+Math.imul(Z,Ae)|0,b=(b=b+Math.imul(Z,De)|0)+Math.imul(ae,Ae)|0,y=y+Math.imul(ae,De)|0;var Je=(O+(g=g+Math.imul(V,Se)|0)|0)+((8191&(b=(b=b+Math.imul(V,Ue)|0)+Math.imul(Q,Se)|0))<<13)|0;O=((y=y+Math.imul(Q,Ue)|0)+(b>>>13)|0)+(Je>>>26)|0,Je&=67108863,g=Math.imul(fe,ne),b=(b=Math.imul(fe,ve))+Math.imul(Be,ne)|0,y=Math.imul(Be,ve),g=g+Math.imul(ue,_e)|0,b=(b=b+Math.imul(ue,Pe)|0)+Math.imul(qe,_e)|0,y=y+Math.imul(qe,Pe)|0,g=g+Math.imul(se,we)|0,b=(b=b+Math.imul(se,Oe)|0)+Math.imul(le,we)|0,y=y+Math.imul(le,Oe)|0,g=g+Math.imul(re,me)|0,b=(b=b+Math.imul(re,Ie)|0)+Math.imul(de,me)|0,y=y+Math.imul(de,Ie)|0,g=g+Math.imul(ie,Ae)|0,b=(b=b+Math.imul(ie,De)|0)+Math.imul(be,Ae)|0,y=y+Math.imul(be,De)|0;var Qe=(O+(g=g+Math.imul(Z,Se)|0)|0)+((8191&(b=(b=b+Math.imul(Z,Ue)|0)+Math.imul(ae,Se)|0))<<13)|0;O=((y=y+Math.imul(ae,Ue)|0)+(b>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,g=Math.imul(fe,_e),b=(b=Math.imul(fe,Pe))+Math.imul(Be,_e)|0,y=Math.imul(Be,Pe),g=g+Math.imul(ue,we)|0,b=(b=b+Math.imul(ue,Oe)|0)+Math.imul(qe,we)|0,y=y+Math.imul(qe,Oe)|0,g=g+Math.imul(se,me)|0,b=(b=b+Math.imul(se,Ie)|0)+Math.imul(le,me)|0,y=y+Math.imul(le,Ie)|0,g=g+Math.imul(re,Ae)|0,b=(b=b+Math.imul(re,De)|0)+Math.imul(de,Ae)|0,y=y+Math.imul(de,De)|0;var et=(O+(g=g+Math.imul(ie,Se)|0)|0)+((8191&(b=(b=b+Math.imul(ie,Ue)|0)+Math.imul(be,Se)|0))<<13)|0;O=((y=y+Math.imul(be,Ue)|0)+(b>>>13)|0)+(et>>>26)|0,et&=67108863,g=Math.imul(fe,we),b=(b=Math.imul(fe,Oe))+Math.imul(Be,we)|0,y=Math.imul(Be,Oe),g=g+Math.imul(ue,me)|0,b=(b=b+Math.imul(ue,Ie)|0)+Math.imul(qe,me)|0,y=y+Math.imul(qe,Ie)|0,g=g+Math.imul(se,Ae)|0,b=(b=b+Math.imul(se,De)|0)+Math.imul(le,Ae)|0,y=y+Math.imul(le,De)|0;var tt=(O+(g=g+Math.imul(re,Se)|0)|0)+((8191&(b=(b=b+Math.imul(re,Ue)|0)+Math.imul(de,Se)|0))<<13)|0;O=((y=y+Math.imul(de,Ue)|0)+(b>>>13)|0)+(tt>>>26)|0,tt&=67108863,g=Math.imul(fe,me),b=(b=Math.imul(fe,Ie))+Math.imul(Be,me)|0,y=Math.imul(Be,Ie),g=g+Math.imul(ue,Ae)|0,b=(b=b+Math.imul(ue,De)|0)+Math.imul(qe,Ae)|0,y=y+Math.imul(qe,De)|0;var rt=(O+(g=g+Math.imul(se,Se)|0)|0)+((8191&(b=(b=b+Math.imul(se,Ue)|0)+Math.imul(le,Se)|0))<<13)|0;O=((y=y+Math.imul(le,Ue)|0)+(b>>>13)|0)+(rt>>>26)|0,rt&=67108863,g=Math.imul(fe,Ae),b=(b=Math.imul(fe,De))+Math.imul(Be,Ae)|0,y=Math.imul(Be,De);var it=(O+(g=g+Math.imul(ue,Se)|0)|0)+((8191&(b=(b=b+Math.imul(ue,Ue)|0)+Math.imul(qe,Se)|0))<<13)|0;O=((y=y+Math.imul(qe,Ue)|0)+(b>>>13)|0)+(it>>>26)|0,it&=67108863;var nt=(O+(g=Math.imul(fe,Se))|0)+((8191&(b=(b=Math.imul(fe,Ue))+Math.imul(Be,Se)|0))<<13)|0;return O=((y=Math.imul(Be,Ue))+(b>>>13)|0)+(nt>>>26)|0,nt&=67108863,k[0]=Te,k[1]=Le,k[2]=Ne,k[3]=We,k[4]=ze,k[5]=Ge,k[6]=He,k[7]=Ke,k[8]=Ve,k[9]=Xe,k[10]=Ye,k[11]=Ze,k[12]=Je,k[13]=Qe,k[14]=et,k[15]=tt,k[16]=rt,k[17]=it,k[18]=nt,O!==0&&(k[19]=O,p.length++),p};function w(v,B,p){return new R().mulp(v,B,p)}function R(v,B){this.x=v,this.y=B}Math.imul||(d=l),r.prototype.mulTo=function(v,B){var p,g=this.length+v.length;return p=this.length===10&&v.length===10?d(this,v,B):g<63?l(this,v,B):g<1024?(function(b,y,m){m.negative=y.negative^b.negative,m.length=b.length+y.length;for(var _=0,k=0,O=0;O<m.length-1;O++){var F=k;k=0;for(var j=67108863&_,N=Math.min(O,y.length-1),U=Math.max(0,O-b.length+1);U<=N;U++){var P=O-U,D=(0|b.words[P])*(0|y.words[U]),G=67108863&D;j=67108863&(G=G+j|0),k+=(F=(F=F+(D/67108864|0)|0)+(G>>>26)|0)>>>26,F&=67108863}m.words[O]=j,_=F,F=k}return _!==0?m.words[O]=_:m.length--,m.strip()})(this,v,B):w(this,v,B),p},R.prototype.makeRBT=function(v){for(var B=new Array(v),p=r.prototype._countBits(v)-1,g=0;g<v;g++)B[g]=this.revBin(g,p,v);return B},R.prototype.revBin=function(v,B,p){if(v===0||v===p-1)return v;for(var g=0,b=0;b<B;b++)g|=(1&v)<<B-b-1,v>>=1;return g},R.prototype.permute=function(v,B,p,g,b,y){for(var m=0;m<y;m++)g[m]=B[v[m]],b[m]=p[v[m]]},R.prototype.transform=function(v,B,p,g,b,y){this.permute(y,v,B,p,g,b);for(var m=1;m<b;m<<=1)for(var _=m<<1,k=Math.cos(2*Math.PI/_),O=Math.sin(2*Math.PI/_),F=0;F<b;F+=_)for(var j=k,N=O,U=0;U<m;U++){var P=p[F+U],D=g[F+U],G=p[F+U+m],K=g[F+U+m],ee=j*G-N*K;K=j*K+N*G,G=ee,p[F+U]=P+G,g[F+U]=D+K,p[F+U+m]=P-G,g[F+U+m]=D-K,U!==_&&(ee=k*j-O*N,N=k*N+O*j,j=ee)}},R.prototype.guessLen13b=function(v,B){var p=1|Math.max(B,v),g=1&p,b=0;for(p=p/2|0;p;p>>>=1)b++;return 1<<b+1+g},R.prototype.conjugate=function(v,B,p){if(!(p<=1))for(var g=0;g<p/2;g++){var b=v[g];v[g]=v[p-g-1],v[p-g-1]=b,b=B[g],B[g]=-B[p-g-1],B[p-g-1]=-b}},R.prototype.normalize13b=function(v,B){for(var p=0,g=0;g<B/2;g++){var b=8192*Math.round(v[2*g+1]/B)+Math.round(v[2*g]/B)+p;v[g]=67108863&b,p=b<67108864?0:b/67108864|0}return v},R.prototype.convert13b=function(v,B,p,g){for(var b=0,y=0;y<B;y++)b+=0|v[y],p[2*y]=8191&b,b>>>=13,p[2*y+1]=8191&b,b>>>=13;for(y=2*B;y<g;++y)p[y]=0;i(b===0),i(!(-8192&b))},R.prototype.stub=function(v){for(var B=new Array(v),p=0;p<v;p++)B[p]=0;return B},R.prototype.mulp=function(v,B,p){var g=2*this.guessLen13b(v.length,B.length),b=this.makeRBT(g),y=this.stub(g),m=new Array(g),_=new Array(g),k=new Array(g),O=new Array(g),F=new Array(g),j=new Array(g),N=p.words;N.length=g,this.convert13b(v.words,v.length,m,g),this.convert13b(B.words,B.length,O,g),this.transform(m,y,_,k,g,b),this.transform(O,y,F,j,g,b);for(var U=0;U<g;U++){var P=_[U]*F[U]-k[U]*j[U];k[U]=_[U]*j[U]+k[U]*F[U],_[U]=P}return this.conjugate(_,k,g),this.transform(_,k,N,y,g,b),this.conjugate(N,y,g),this.normalize13b(N,g),p.negative=v.negative^B.negative,p.length=v.length+B.length,p.strip()},r.prototype.mul=function(v){var B=new r(null);return B.words=new Array(this.length+v.length),this.mulTo(v,B)},r.prototype.mulf=function(v){var B=new r(null);return B.words=new Array(this.length+v.length),w(this,v,B)},r.prototype.imul=function(v){return this.clone().mulTo(v,this)},r.prototype.imuln=function(v){i(typeof v=="number"),i(v<67108864);for(var B=0,p=0;p<this.length;p++){var g=(0|this.words[p])*v,b=(67108863&g)+(67108863&B);B>>=26,B+=g/67108864|0,B+=b>>>26,this.words[p]=67108863&b}return B!==0&&(this.words[p]=B,this.length++),v===0&&(this.length=1,this._normSign()),this},r.prototype.muln=function(v){return this.clone().imuln(v)},r.prototype.sqr=function(){return this.mul(this)},r.prototype.isqr=function(){return this.imul(this.clone())},r.prototype.pow=function(v){var B=(function(y){for(var m=new Array(y.bitLength()),_=0;_<m.length;_++){var k=_/26|0,O=_%26;m[_]=(y.words[k]&1<<O)>>>O}return m})(v);if(B.length===0)return new r(1);for(var p=this,g=0;g<B.length&&B[g]===0;g++,p=p.sqr());if(++g<B.length)for(var b=p.sqr();g<B.length;g++,b=b.sqr())B[g]!==0&&(p=p.mul(b));return p},r.prototype.iushln=function(v){i(typeof v=="number"&&v>=0);var B,p=v%26,g=(v-p)/26,b=67108863>>>26-p<<26-p;if(p!==0){var y=0;for(B=0;B<this.length;B++){var m=this.words[B]&b,_=(0|this.words[B])-m<<p;this.words[B]=_|y,y=m>>>26-p}y&&(this.words[B]=y,this.length++)}if(g!==0){for(B=this.length-1;B>=0;B--)this.words[B+g]=this.words[B];for(B=0;B<g;B++)this.words[B]=0;this.length+=g}return this.strip()},r.prototype.ishln=function(v){return i(this.negative===0),this.iushln(v)},r.prototype.iushrn=function(v,B,p){var g;i(typeof v=="number"&&v>=0),g=B?(B-B%26)/26:0;var b=v%26,y=Math.min((v-b)/26,this.length),m=67108863^67108863>>>b<<b,_=p;if(g-=y,g=Math.max(0,g),_){for(var k=0;k<y;k++)_.words[k]=this.words[k];_.length=y}if(y!==0)if(this.length>y)for(this.length-=y,k=0;k<this.length;k++)this.words[k]=this.words[k+y];else this.words[0]=0,this.length=1;var O=0;for(k=this.length-1;k>=0&&(O!==0||k>=g);k--){var F=0|this.words[k];this.words[k]=O<<26-b|F>>>b,O=F&m}return _&&O!==0&&(_.words[_.length++]=O),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},r.prototype.ishrn=function(v,B,p){return i(this.negative===0),this.iushrn(v,B,p)},r.prototype.shln=function(v){return this.clone().ishln(v)},r.prototype.ushln=function(v){return this.clone().iushln(v)},r.prototype.shrn=function(v){return this.clone().ishrn(v)},r.prototype.ushrn=function(v){return this.clone().iushrn(v)},r.prototype.testn=function(v){i(typeof v=="number"&&v>=0);var B=v%26,p=(v-B)/26,g=1<<B;return!(this.length<=p||!(this.words[p]&g))},r.prototype.imaskn=function(v){i(typeof v=="number"&&v>=0);var B=v%26,p=(v-B)/26;if(i(this.negative===0,"imaskn works only with positive numbers"),this.length<=p)return this;if(B!==0&&p++,this.length=Math.min(p,this.length),B!==0){var g=67108863^67108863>>>B<<B;this.words[this.length-1]&=g}return this.length===0&&(this.words[0]=0,this.length=1),this.strip()},r.prototype.maskn=function(v){return this.clone().imaskn(v)},r.prototype.iaddn=function(v){return i(typeof v=="number"),i(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)},r.prototype._iaddn=function(v){this.words[0]+=v;for(var B=0;B<this.length&&this.words[B]>=67108864;B++)this.words[B]-=67108864,B===this.length-1?this.words[B+1]=1:this.words[B+1]++;return this.length=Math.max(this.length,B+1),this},r.prototype.isubn=function(v){if(i(typeof v=="number"),i(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 B=0;B<this.length&&this.words[B]<0;B++)this.words[B]+=67108864,this.words[B+1]-=1;return this.strip()},r.prototype.addn=function(v){return this.clone().iaddn(v)},r.prototype.subn=function(v){return this.clone().isubn(v)},r.prototype.iabs=function(){return this.negative=0,this},r.prototype.abs=function(){return this.clone().iabs()},r.prototype._ishlnsubmul=function(v,B,p){var g,b,y=v.length+p;this._expand(y);var m=0;for(g=0;g<v.length;g++){b=(0|this.words[g+p])+m;var _=(0|v.words[g])*B;m=((b-=67108863&_)>>26)-(_/67108864|0),this.words[g+p]=67108863&b}for(;g<this.length-p;g++)m=(b=(0|this.words[g+p])+m)>>26,this.words[g+p]=67108863&b;if(m===0)return this.strip();for(i(m===-1),m=0,g=0;g<this.length;g++)m=(b=-(0|this.words[g])+m)>>26,this.words[g]=67108863&b;return this.negative=1,this.strip()},r.prototype._wordDiv=function(v,B){var p=(this.length,v.length),g=this.clone(),b=v,y=0|b.words[b.length-1];(p=26-this._countBits(y))!=0&&(b=b.ushln(p),g.iushln(p),y=0|b.words[b.length-1]);var m,_=g.length-b.length;if(B!=="mod"){(m=new r(null)).length=_+1,m.words=new Array(m.length);for(var k=0;k<m.length;k++)m.words[k]=0}var O=g.clone()._ishlnsubmul(b,1,_);O.negative===0&&(g=O,m&&(m.words[_]=1));for(var F=_-1;F>=0;F--){var j=67108864*(0|g.words[b.length+F])+(0|g.words[b.length+F-1]);for(j=Math.min(j/y|0,67108863),g._ishlnsubmul(b,j,F);g.negative!==0;)j--,g.negative=0,g._ishlnsubmul(b,1,F),g.isZero()||(g.negative^=1);m&&(m.words[F]=j)}return m&&m.strip(),g.strip(),B!=="div"&&p!==0&&g.iushrn(p),{div:m||null,mod:g}},r.prototype.divmod=function(v,B,p){return i(!v.isZero()),this.isZero()?{div:new r(0),mod:new r(0)}:this.negative!==0&&v.negative===0?(y=this.neg().divmod(v,B),B!=="mod"&&(g=y.div.neg()),B!=="div"&&(b=y.mod.neg(),p&&b.negative!==0&&b.iadd(v)),{div:g,mod:b}):this.negative===0&&v.negative!==0?(y=this.divmod(v.neg(),B),B!=="mod"&&(g=y.div.neg()),{div:g,mod:y.mod}):this.negative&v.negative?(y=this.neg().divmod(v.neg(),B),B!=="div"&&(b=y.mod.neg(),p&&b.negative!==0&&b.isub(v)),{div:y.div,mod:b}):v.length>this.length||this.cmp(v)<0?{div:new r(0),mod:this}:v.length===1?B==="div"?{div:this.divn(v.words[0]),mod:null}:B==="mod"?{div:null,mod:new r(this.modn(v.words[0]))}:{div:this.divn(v.words[0]),mod:new r(this.modn(v.words[0]))}:this._wordDiv(v,B);var g,b,y},r.prototype.div=function(v){return this.divmod(v,"div",!1).div},r.prototype.mod=function(v){return this.divmod(v,"mod",!1).mod},r.prototype.umod=function(v){return this.divmod(v,"mod",!0).mod},r.prototype.divRound=function(v){var B=this.divmod(v);if(B.mod.isZero())return B.div;var p=B.mod.abs(),g=v.abs().iushrn(1),b=1&v.words[0],y=p.cmp(g);if(y<0||b===1&&y===0)return B.div;var m=new r(1);return m.negative=this.negative^v.negative,B.div.iadd(m)},r.prototype.modn=function(v){i(v<=67108863);for(var B=(1<<26)%v,p=0,g=this.length-1;g>=0;g--)p=(B*p+(0|this.words[g]))%v;return p},r.prototype.idivn=function(v){i(v<=67108863);for(var B=0,p=this.length-1;p>=0;p--){var g=(0|this.words[p])+67108864*B;this.words[p]=g/v|0,B=g%v}return this.strip()},r.prototype.divn=function(v){return this.clone().idivn(v)},r.prototype.egcd=function(v){i(v.negative===0),i(!v.isZero());var B=this,p=v.clone();B=B.negative!==0?B.umod(v):B.clone();for(var g=new r(1),b=new r(0),y=new r(0),m=new r(1),_=0;B.isEven()&&p.isEven();)B.iushrn(1),p.iushrn(1),++_;for(var k=p.clone(),O=B.clone();!B.isZero();){for(var F=0,j=1;!(B.words[0]&j)&&F<26;++F,j<<=1);if(F>0)for(B.iushrn(F);F-- >0;)(g.isOdd()||b.isOdd())&&(g.iadd(k),b.isub(O)),g.iushrn(1),b.iushrn(1);for(var N=0,U=1;!(p.words[0]&U)&&N<26;++N,U<<=1);if(N>0)for(p.iushrn(N);N-- >0;)(y.isOdd()||m.isOdd())&&(y.iadd(k),m.isub(O)),y.iushrn(1),m.iushrn(1);B.cmp(p)>=0?(B.isub(p),g.isub(y),b.isub(m)):(p.isub(B),y.isub(g),m.isub(b))}return{a:y,b:m,gcd:p.iushln(_)}},r.prototype._invmp=function(v){i(v.negative===0),i(!v.isZero());var B=this,p=v.clone();B=B.negative!==0?B.umod(v):B.clone();for(var g,b=new r(1),y=new r(0),m=p.clone();B.cmpn(1)>0&&p.cmpn(1)>0;){for(var _=0,k=1;!(B.words[0]&k)&&_<26;++_,k<<=1);if(_>0)for(B.iushrn(_);_-- >0;)b.isOdd()&&b.iadd(m),b.iushrn(1);for(var O=0,F=1;!(p.words[0]&F)&&O<26;++O,F<<=1);if(O>0)for(p.iushrn(O);O-- >0;)y.isOdd()&&y.iadd(m),y.iushrn(1);B.cmp(p)>=0?(B.isub(p),b.isub(y)):(p.isub(B),y.isub(b))}return(g=B.cmpn(1)===0?b:y).cmpn(0)<0&&g.iadd(v),g},r.prototype.gcd=function(v){if(this.isZero())return v.abs();if(v.isZero())return this.abs();var B=this.clone(),p=v.clone();B.negative=0,p.negative=0;for(var g=0;B.isEven()&&p.isEven();g++)B.iushrn(1),p.iushrn(1);for(;;){for(;B.isEven();)B.iushrn(1);for(;p.isEven();)p.iushrn(1);var b=B.cmp(p);if(b<0){var y=B;B=p,p=y}else if(b===0||p.cmpn(1)===0)break;B.isub(p)}return p.iushln(g)},r.prototype.invm=function(v){return this.egcd(v).a.umod(v)},r.prototype.isEven=function(){return!(1&this.words[0])},r.prototype.isOdd=function(){return!(1&~this.words[0])},r.prototype.andln=function(v){return this.words[0]&v},r.prototype.bincn=function(v){i(typeof v=="number");var B=v%26,p=(v-B)/26,g=1<<B;if(this.length<=p)return this._expand(p+1),this.words[p]|=g,this;for(var b=g,y=p;b!==0&&y<this.length;y++){var m=0|this.words[y];b=(m+=b)>>>26,m&=67108863,this.words[y]=m}return b!==0&&(this.words[y]=b,this.length++),this},r.prototype.isZero=function(){return this.length===1&&this.words[0]===0},r.prototype.cmpn=function(v){var B,p=v<0;if(this.negative!==0&&!p)return-1;if(this.negative===0&&p)return 1;if(this.strip(),this.length>1)B=1;else{p&&(v=-v),i(v<=67108863,"Number is too big");var g=0|this.words[0];B=g===v?0:g<v?-1:1}return this.negative!==0?0|-B:B},r.prototype.cmp=function(v){if(this.negative!==0&&v.negative===0)return-1;if(this.negative===0&&v.negative!==0)return 1;var B=this.ucmp(v);return this.negative!==0?0|-B:B},r.prototype.ucmp=function(v){if(this.length>v.length)return 1;if(this.length<v.length)return-1;for(var B=0,p=this.length-1;p>=0;p--){var g=0|this.words[p],b=0|v.words[p];if(g!==b){g<b?B=-1:g>b&&(B=1);break}}return B},r.prototype.gtn=function(v){return this.cmpn(v)===1},r.prototype.gt=function(v){return this.cmp(v)===1},r.prototype.gten=function(v){return this.cmpn(v)>=0},r.prototype.gte=function(v){return this.cmp(v)>=0},r.prototype.ltn=function(v){return this.cmpn(v)===-1},r.prototype.lt=function(v){return this.cmp(v)===-1},r.prototype.lten=function(v){return this.cmpn(v)<=0},r.prototype.lte=function(v){return this.cmp(v)<=0},r.prototype.eqn=function(v){return this.cmpn(v)===0},r.prototype.eq=function(v){return this.cmp(v)===0},r.red=function(v){return new C(v)},r.prototype.toRed=function(v){return i(!this.red,"Already a number in reduction context"),i(this.negative===0,"red works only with positives"),v.convertTo(this)._forceRed(v)},r.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},r.prototype._forceRed=function(v){return this.red=v,this},r.prototype.forceRed=function(v){return i(!this.red,"Already a number in reduction context"),this._forceRed(v)},r.prototype.redAdd=function(v){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,v)},r.prototype.redIAdd=function(v){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,v)},r.prototype.redSub=function(v){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,v)},r.prototype.redISub=function(v){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,v)},r.prototype.redShl=function(v){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,v)},r.prototype.redMul=function(v){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,v),this.red.mul(this,v)},r.prototype.redIMul=function(v){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,v),this.red.imul(this,v)},r.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},r.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},r.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},r.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},r.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},r.prototype.redPow=function(v){return i(this.red&&!v.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,v)};var q={k256:null,p224:null,p192:null,p25519:null};function A(v,B){this.name=v,this.p=new r(B,16),this.n=this.p.bitLength(),this.k=new r(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function M(){A.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function I(){A.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function $(){A.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function S(){A.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function C(v){if(typeof v=="string"){var B=r._prime(v);this.m=B.p,this.prime=B}else i(v.gtn(1),"modulus must be greater than 1"),this.m=v,this.prime=null}function T(v){C.call(this,v),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new r(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)}A.prototype._tmp=function(){var v=new r(null);return v.words=new Array(Math.ceil(this.n/13)),v},A.prototype.ireduce=function(v){var B,p=v;do this.split(p,this.tmp),B=(p=(p=this.imulK(p)).iadd(this.tmp)).bitLength();while(B>this.n);var g=B<this.n?-1:p.ucmp(this.p);return g===0?(p.words[0]=0,p.length=1):g>0?p.isub(this.p):p.strip!==void 0?p.strip():p._strip(),p},A.prototype.split=function(v,B){v.iushrn(this.n,0,B)},A.prototype.imulK=function(v){return v.imul(this.k)},a(M,A),M.prototype.split=function(v,B){for(var p=4194303,g=Math.min(v.length,9),b=0;b<g;b++)B.words[b]=v.words[b];if(B.length=g,v.length<=9)return v.words[0]=0,void(v.length=1);var y=v.words[9];for(B.words[B.length++]=y&p,b=10;b<v.length;b++){var m=0|v.words[b];v.words[b-10]=(m&p)<<4|y>>>22,y=m}y>>>=22,v.words[b-10]=y,y===0&&v.length>10?v.length-=10:v.length-=9},M.prototype.imulK=function(v){v.words[v.length]=0,v.words[v.length+1]=0,v.length+=2;for(var B=0,p=0;p<v.length;p++){var g=0|v.words[p];B+=977*g,v.words[p]=67108863&B,B=64*g+(B/67108864|0)}return v.words[v.length-1]===0&&(v.length--,v.words[v.length-1]===0&&v.length--),v},a(I,A),a($,A),a(S,A),S.prototype.imulK=function(v){for(var B=0,p=0;p<v.length;p++){var g=19*(0|v.words[p])+B,b=67108863&g;g>>>=26,v.words[p]=b,B=g}return B!==0&&(v.words[v.length++]=B),v},r._prime=function(v){if(q[v])return q[v];var B;if(v==="k256")B=new M;else if(v==="p224")B=new I;else if(v==="p192")B=new $;else{if(v!=="p25519")throw new Error("Unknown prime "+v);B=new S}return q[v]=B,B},C.prototype._verify1=function(v){i(v.negative===0,"red works only with positives"),i(v.red,"red works only with red numbers")},C.prototype._verify2=function(v,B){i(!(v.negative|B.negative),"red works only with positives"),i(v.red&&v.red===B.red,"red works only with red numbers")},C.prototype.imod=function(v){return this.prime?this.prime.ireduce(v)._forceRed(this):v.umod(this.m)._forceRed(this)},C.prototype.neg=function(v){return v.isZero()?v.clone():this.m.sub(v)._forceRed(this)},C.prototype.add=function(v,B){this._verify2(v,B);var p=v.add(B);return p.cmp(this.m)>=0&&p.isub(this.m),p._forceRed(this)},C.prototype.iadd=function(v,B){this._verify2(v,B);var p=v.iadd(B);return p.cmp(this.m)>=0&&p.isub(this.m),p},C.prototype.sub=function(v,B){this._verify2(v,B);var p=v.sub(B);return p.cmpn(0)<0&&p.iadd(this.m),p._forceRed(this)},C.prototype.isub=function(v,B){this._verify2(v,B);var p=v.isub(B);return p.cmpn(0)<0&&p.iadd(this.m),p},C.prototype.shl=function(v,B){return this._verify1(v),this.imod(v.ushln(B))},C.prototype.imul=function(v,B){return this._verify2(v,B),this.imod(v.imul(B))},C.prototype.mul=function(v,B){return this._verify2(v,B),this.imod(v.mul(B))},C.prototype.isqr=function(v){return this.imul(v,v.clone())},C.prototype.sqr=function(v){return this.mul(v,v)},C.prototype.sqrt=function(v){if(v.isZero())return v.clone();var B=this.m.andln(3);if(i(B%2==1),B===3){var p=this.m.add(new r(1)).iushrn(2);return this.pow(v,p)}for(var g=this.m.subn(1),b=0;!g.isZero()&&g.andln(1)===0;)b++,g.iushrn(1);i(!g.isZero());var y=new r(1).toRed(this),m=y.redNeg(),_=this.m.subn(1).iushrn(1),k=this.m.bitLength();for(k=new r(2*k*k).toRed(this);this.pow(k,_).cmp(m)!==0;)k.redIAdd(m);for(var O=this.pow(k,g),F=this.pow(v,g.addn(1).iushrn(1)),j=this.pow(v,g),N=b;j.cmp(y)!==0;){for(var U=j,P=0;U.cmp(y)!==0;P++)U=U.redSqr();i(P<N);var D=this.pow(O,new r(1).iushln(N-P-1));F=F.redMul(D),O=D.redSqr(),j=j.redMul(O),N=P}return F},C.prototype.invm=function(v){var B=v._invmp(this.m);return B.negative!==0?(B.negative=0,this.imod(B).redNeg()):this.imod(B)},C.prototype.pow=function(v,B){if(B.isZero())return new r(1).toRed(this);if(B.cmpn(1)===0)return v.clone();var p=new Array(16);p[0]=new r(1).toRed(this),p[1]=v;for(var g=2;g<p.length;g++)p[g]=this.mul(p[g-1],v);var b=p[0],y=0,m=0,_=B.bitLength()%26;for(_===0&&(_=26),g=B.length-1;g>=0;g--){for(var k=B.words[g],O=_-1;O>=0;O--){var F=k>>O&1;b!==p[0]&&(b=this.sqr(b)),F!==0||y!==0?(y<<=1,y|=F,(++m==4||g===0&&O===0)&&(b=this.mul(b,p[y]),m=0,y=0)):m=0}_=26}return b},C.prototype.convertTo=function(v){var B=v.umod(this.m);return B===v?B.clone():B},C.prototype.convertFrom=function(v){var B=v.clone();return B.red=null,B},r.mont=function(v){return new T(v)},a(T,C),T.prototype.convertTo=function(v){return this.imod(v.ushln(this.shift))},T.prototype.convertFrom=function(v){var B=this.imod(v.mul(this.rinv));return B.red=null,B},T.prototype.imul=function(v,B){if(v.isZero()||B.isZero())return v.words[0]=0,v.length=1,v;var p=v.imul(B),g=p.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=p.isub(g).iushrn(this.shift),y=b;return b.cmp(this.m)>=0?y=b.isub(this.m):b.cmpn(0)<0&&(y=b.iadd(this.m)),y._forceRed(this)},T.prototype.mul=function(v,B){if(v.isZero()||B.isZero())return new r(0)._forceRed(this);var p=v.mul(B),g=p.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=p.isub(g).iushrn(this.shift),y=b;return b.cmp(this.m)>=0?y=b.isub(this.m):b.cmpn(0)<0&&(y=b.iadd(this.m)),y._forceRed(this)},T.prototype.invm=function(v){return this.imod(v._invmp(this.m).mul(this.r2))._forceRed(this)}})(bn$3,bn$2)),bn$3.exports}var brorand={exports:{}},hasRequiredBrorand,mr,hasRequiredMr,generatePrime,hasRequiredGeneratePrime;function requireBrorand(){if(hasRequiredBrorand)return brorand.exports;var e;function t(a){this.rand=a}if(hasRequiredBrorand=1,brorand.exports=function(a){return e||(e=new t(null)),e.generate(a)},brorand.exports.Rand=t,t.prototype.generate=function(a){return this._rand(a)},t.prototype._rand=function(a){if(this.rand.getBytes)return this.rand.getBytes(a);for(var r=new Uint8Array(a),c=0;c<r.length;c++)r[c]=this.rand.getByte();return r},typeof self=="object")self.crypto&&self.crypto.getRandomValues?t.prototype._rand=function(a){var r=new Uint8Array(a);return self.crypto.getRandomValues(r),r}:self.msCrypto&&self.msCrypto.getRandomValues?t.prototype._rand=function(a){var r=new Uint8Array(a);return self.msCrypto.getRandomValues(r),r}:typeof window=="object"&&(t.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var i=requireCryptoBrowserify();if(typeof i.randomBytes!="function")throw new Error("Not supported");t.prototype._rand=function(a){return i.randomBytes(a)}}catch{}return brorand.exports}function requireMr(){if(hasRequiredMr)return mr;hasRequiredMr=1;var e=requireBn$1(),t=requireBrorand();function i(a){this.rand=a||new t.Rand}return mr=i,i.create=function(a){return new i(a)},i.prototype._randbelow=function(a){var r=a.bitLength(),c=Math.ceil(r/8);do var f=new e(this.rand.generate(c));while(f.cmp(a)>=0);return f},i.prototype._randrange=function(a,r){var c=r.sub(a);return a.add(this._randbelow(c))},i.prototype.test=function(a,r,c){var f=a.bitLength(),n=e.mont(a),o=new e(1).toRed(n);r||(r=Math.max(1,f/48|0));for(var s=a.subn(1),u=0;!s.testn(u);u++);for(var h=a.shrn(u),l=s.toRed(n);r>0;r--){var d=this._randrange(new e(2),s);c&&c(d);var w=d.toRed(n).redPow(h);if(w.cmp(o)!==0&&w.cmp(l)!==0){for(var R=1;R<u;R++){if((w=w.redSqr()).cmp(o)===0)return!1;if(w.cmp(l)===0)break}if(R===u)return!1}}return!0},i.prototype.getDivisor=function(a,r){var c=a.bitLength(),f=e.mont(a),n=new e(1).toRed(f);r||(r=Math.max(1,c/48|0));for(var o=a.subn(1),s=0;!o.testn(s);s++);for(var u=a.shrn(s),h=o.toRed(f);r>0;r--){var l=this._randrange(new e(2),o),d=a.gcd(l);if(d.cmpn(1)!==0)return d;var w=l.toRed(f).redPow(u);if(w.cmp(n)!==0&&w.cmp(h)!==0){for(var R=1;R<s;R++){if((w=w.redSqr()).cmp(n)===0)return w.fromRed().subn(1).gcd(a);if(w.cmp(h)===0)break}if(R===s)return(w=w.redSqr()).fromRed().subn(1).gcd(a)}}return!1},mr}function requireGeneratePrime(){if(hasRequiredGeneratePrime)return generatePrime;hasRequiredGeneratePrime=1;var e=requireBrowser$b();generatePrime=R,R.simpleSieve=d,R.fermatTest=w;var t=requireBn$1(),i=new t(24),a=new(requireMr()),r=new t(1),c=new t(2),f=new t(5);new t(16),new t(8);var n=new t(10),o=new t(3);new t(7);var s=new t(11),u=new t(4);new t(12);var h=null;function l(){if(h!==null)return h;var q=[];q[0]=2;for(var A=1,M=3;M<1048576;M+=2){for(var I=Math.ceil(Math.sqrt(M)),$=0;$<A&&q[$]<=I&&M%q[$]!=0;$++);A!==$&&q[$]<=I||(q[A++]=M)}return h=q,q}function d(q){for(var A=l(),M=0;M<A.length;M++)if(q.modn(A[M])===0)return q.cmpn(A[M])===0;return!0}function w(q){var A=t.mont(q);return c.toRed(A).redPow(q.subn(1)).fromRed().cmpn(1)===0}function R(q,A){if(q<16)return new t(A===2||A===5?[140,123]:[140,39]);var M,I;for(A=new t(A);;){for(M=new t(e(Math.ceil(q/8)));M.bitLength()>q;)M.ishrn(1);if(M.isEven()&&M.iadd(r),M.testn(1)||M.iadd(c),A.cmp(c)){if(!A.cmp(f))for(;M.mod(n).cmp(o);)M.iadd(u)}else for(;M.mod(i).cmp(s);)M.iadd(u);if(d(I=M.shrn(1))&&d(M)&&w(I)&&w(M)&&a.test(I)&&a.test(M))return M}}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$2={modp1,modp2,modp5,modp14,modp15,modp16,modp17,modp18};var dh,hasRequiredDh,hasRequiredBrowser$4;function requireDh(){if(hasRequiredDh)return dh;hasRequiredDh=1;var e=requireBn$1(),t=new(requireMr()),i=new e(24),a=new e(11),r=new e(10),c=new e(3),f=new e(7),n=requireGeneratePrime(),o=requireBrowser$b();function s(w,R){return R=R||"utf8",Buffer.isBuffer(w)||(w=new Buffer(w,R)),this._pub=new e(w),this}function u(w,R){return R=R||"utf8",Buffer.isBuffer(w)||(w=new Buffer(w,R)),this._priv=new e(w),this}dh=l;var h={};function l(w,R,q){this.setGenerator(R),this.__prime=new e(w),this._prime=e.mont(this.__prime),this._primeLen=w.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,q?(this.setPublicKey=s,this.setPrivateKey=u):this._primeCode=8}function d(w,R){var q=new Buffer(w.toArray());return R?q.toString(R):q}return Object.defineProperty(l.prototype,"verifyError",{enumerable:!0,get:function(){return typeof this._primeCode!="number"&&(this._primeCode=(function(w,R){var q=R.toString("hex"),A=[q,w.toString(16)].join("_");if(A in h)return h[A];var M,I=0;if(w.isEven()||!n.simpleSieve||!n.fermatTest(w)||!t.test(w))return I+=1,I+=q==="02"||q==="05"?8:4,h[A]=I,I;switch(t.test(w.shrn(1))||(I+=2),q){case"02":w.mod(i).cmp(a)&&(I+=8);break;case"05":(M=w.mod(r)).cmp(c)&&M.cmp(f)&&(I+=8);break;default:I+=4}return h[A]=I,I})(this.__prime,this.__gen)),this._primeCode}}),l.prototype.generateKeys=function(){return this._priv||(this._priv=new e(o(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},l.prototype.computeSecret=function(w){var R=(w=(w=new e(w)).toRed(this._prime)).redPow(this._priv).fromRed(),q=new Buffer(R.toArray()),A=this.getPrime();if(q.length<A.length){var M=new Buffer(A.length-q.length);M.fill(0),q=Buffer.concat([M,q])}return q},l.prototype.getPublicKey=function(w){return d(this._pub,w)},l.prototype.getPrivateKey=function(w){return d(this._priv,w)},l.prototype.getPrime=function(w){return d(this.__prime,w)},l.prototype.getGenerator=function(w){return d(this._gen,w)},l.prototype.setGenerator=function(w,R){return R=R||"utf8",Buffer.isBuffer(w)||(w=new Buffer(w,R)),this.__gen=w,this._gen=new e(w),this},dh}function requireBrowser$4(){if(hasRequiredBrowser$4)return browser$4;hasRequiredBrowser$4=1;var e=requireGeneratePrime(),t=require$$1$2,i=requireDh(),a={binary:!0,hex:!0,base64:!0};return browser$4.DiffieHellmanGroup=browser$4.createDiffieHellmanGroup=browser$4.getDiffieHellman=function(r){var c=new Buffer(t[r].prime,"hex"),f=new Buffer(t[r].gen,"hex");return new i(c,f)},browser$4.createDiffieHellman=browser$4.DiffieHellman=function r(c,f,n,o){return Buffer.isBuffer(f)||a[f]===void 0?r(c,"binary",f,n):(f=f||"binary",o=o||"binary",n=n||new Buffer([2]),Buffer.isBuffer(n)||(n=new Buffer(n,o)),typeof c=="number"?new i(e(c,n),n,!0):(Buffer.isBuffer(c)||(c=new Buffer(c,f)),new i(c,n,!0)))},browser$4}var sign={exports:{}},bn$1={exports:{}},bn=bn$1.exports,hasRequiredBn,browserifyRsa,hasRequiredBrowserifyRsa;function requireBn(){return hasRequiredBn||(hasRequiredBn=1,(function(e,t){function i(p,g){if(!p)throw new Error(g||"Assertion failed")}function a(p,g){p.super_=g;var b=function(){};b.prototype=g.prototype,p.prototype=new b,p.prototype.constructor=p}function r(p,g,b){if(r.isBN(p))return p;this.negative=0,this.words=null,this.length=0,this.red=null,p!==null&&(g!=="le"&&g!=="be"||(b=g,g=10),this._init(p||0,g||10,b||"be"))}var c;typeof e=="object"?e.exports=r:t.BN=r,r.BN=r,r.wordSize=26;try{c=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:requireDist().Buffer}catch{}function f(p,g){var b=p.charCodeAt(g);return b>=48&&b<=57?b-48:b>=65&&b<=70?b-55:b>=97&&b<=102?b-87:void i(!1,"Invalid character in "+p)}function n(p,g,b){var y=f(p,b);return b-1>=g&&(y|=f(p,b-1)<<4),y}function o(p,g,b,y){for(var m=0,_=0,k=Math.min(p.length,b),O=g;O<k;O++){var F=p.charCodeAt(O)-48;m*=y,_=F>=49?F-49+10:F>=17?F-17+10:F,i(F>=0&&_<y,"Invalid character"),m+=_}return m}function s(p,g){p.words=g.words,p.length=g.length,p.negative=g.negative,p.red=g.red}if(r.isBN=function(p){return p instanceof r||p!==null&&typeof p=="object"&&p.constructor.wordSize===r.wordSize&&Array.isArray(p.words)},r.max=function(p,g){return p.cmp(g)>0?p:g},r.min=function(p,g){return p.cmp(g)<0?p:g},r.prototype._init=function(p,g,b){if(typeof p=="number")return this._initNumber(p,g,b);if(typeof p=="object")return this._initArray(p,g,b);g==="hex"&&(g=16),i(g===(0|g)&&g>=2&&g<=36);var y=0;(p=p.toString().replace(/\s+/g,""))[0]==="-"&&(y++,this.negative=1),y<p.length&&(g===16?this._parseHex(p,y,b):(this._parseBase(p,g,y),b==="le"&&this._initArray(this.toArray(),g,b)))},r.prototype._initNumber=function(p,g,b){p<0&&(this.negative=1,p=-p),p<67108864?(this.words=[67108863&p],this.length=1):p<4503599627370496?(this.words=[67108863&p,p/67108864&67108863],this.length=2):(i(p<9007199254740992),this.words=[67108863&p,p/67108864&67108863,1],this.length=3),b==="le"&&this._initArray(this.toArray(),g,b)},r.prototype._initArray=function(p,g,b){if(i(typeof p.length=="number"),p.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(p.length/3),this.words=new Array(this.length);for(var y=0;y<this.length;y++)this.words[y]=0;var m,_,k=0;if(b==="be")for(y=p.length-1,m=0;y>=0;y-=3)_=p[y]|p[y-1]<<8|p[y-2]<<16,this.words[m]|=_<<k&67108863,this.words[m+1]=_>>>26-k&67108863,(k+=24)>=26&&(k-=26,m++);else if(b==="le")for(y=0,m=0;y<p.length;y+=3)_=p[y]|p[y+1]<<8|p[y+2]<<16,this.words[m]|=_<<k&67108863,this.words[m+1]=_>>>26-k&67108863,(k+=24)>=26&&(k-=26,m++);return this._strip()},r.prototype._parseHex=function(p,g,b){this.length=Math.ceil((p.length-g)/6),this.words=new Array(this.length);for(var y=0;y<this.length;y++)this.words[y]=0;var m,_=0,k=0;if(b==="be")for(y=p.length-1;y>=g;y-=2)m=n(p,g,y)<<_,this.words[k]|=67108863&m,_>=18?(_-=18,k+=1,this.words[k]|=m>>>26):_+=8;else for(y=(p.length-g)%2==0?g+1:g;y<p.length;y+=2)m=n(p,g,y)<<_,this.words[k]|=67108863&m,_>=18?(_-=18,k+=1,this.words[k]|=m>>>26):_+=8;this._strip()},r.prototype._parseBase=function(p,g,b){this.words=[0],this.length=1;for(var y=0,m=1;m<=67108863;m*=g)y++;y--,m=m/g|0;for(var _=p.length-b,k=_%y,O=Math.min(_,_-k)+b,F=0,j=b;j<O;j+=y)F=o(p,j,j+y,g),this.imuln(m),this.words[0]+F<67108864?this.words[0]+=F:this._iaddn(F);if(k!==0){var N=1;for(F=o(p,j,p.length,g),j=0;j<k;j++)N*=g;this.imuln(N),this.words[0]+F<67108864?this.words[0]+=F:this._iaddn(F)}this._strip()},r.prototype.copy=function(p){p.words=new Array(this.length);for(var g=0;g<this.length;g++)p.words[g]=this.words[g];p.length=this.length,p.negative=this.negative,p.red=this.red},r.prototype._move=function(p){s(p,this)},r.prototype.clone=function(){var p=new r(null);return this.copy(p),p},r.prototype._expand=function(p){for(;this.length<p;)this.words[this.length++]=0;return this},r.prototype._strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},r.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{r.prototype[Symbol.for("nodejs.util.inspect.custom")]=u}catch{r.prototype.inspect=u}else r.prototype.inspect=u;function u(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var h=["","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"],l=[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],d=[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 w(p,g,b){b.negative=g.negative^p.negative;var y=p.length+g.length|0;b.length=y,y=y-1|0;var m=0|p.words[0],_=0|g.words[0],k=m*_,O=67108863&k,F=k/67108864|0;b.words[0]=O;for(var j=1;j<y;j++){for(var N=F>>>26,U=67108863&F,P=Math.min(j,g.length-1),D=Math.max(0,j-p.length+1);D<=P;D++){var G=j-D|0;N+=(k=(m=0|p.words[G])*(_=0|g.words[D])+U)/67108864|0,U=67108863&k}b.words[j]=0|U,F=0|N}return F!==0?b.words[j]=0|F:b.length--,b._strip()}r.prototype.toString=function(p,g){var b;if(g=0|g||1,(p=p||10)===16||p==="hex"){b="";for(var y=0,m=0,_=0;_<this.length;_++){var k=this.words[_],O=(16777215&(k<<y|m)).toString(16);m=k>>>24-y&16777215,(y+=2)>=26&&(y-=26,_--),b=m!==0||_!==this.length-1?h[6-O.length]+O+b:O+b}for(m!==0&&(b=m.toString(16)+b);b.length%g!=0;)b="0"+b;return this.negative!==0&&(b="-"+b),b}if(p===(0|p)&&p>=2&&p<=36){var F=l[p],j=d[p];b="";var N=this.clone();for(N.negative=0;!N.isZero();){var U=N.modrn(j).toString(p);b=(N=N.idivn(j)).isZero()?U+b:h[F-U.length]+U+b}for(this.isZero()&&(b="0"+b);b.length%g!=0;)b="0"+b;return this.negative!==0&&(b="-"+b),b}i(!1,"Base should be between 2 and 36")},r.prototype.toNumber=function(){var p=this.words[0];return this.length===2?p+=67108864*this.words[1]:this.length===3&&this.words[2]===1?p+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-p:p},r.prototype.toJSON=function(){return this.toString(16,2)},c&&(r.prototype.toBuffer=function(p,g){return this.toArrayLike(c,p,g)}),r.prototype.toArray=function(p,g){return this.toArrayLike(Array,p,g)},r.prototype.toArrayLike=function(p,g,b){this._strip();var y=this.byteLength(),m=b||Math.max(1,y);i(y<=m,"byte array longer than desired length"),i(m>0,"Requested array length <= 0");var _=(function(k,O){return k.allocUnsafe?k.allocUnsafe(O):new k(O)})(p,m);return this["_toArrayLike"+(g==="le"?"LE":"BE")](_,y),_},r.prototype._toArrayLikeLE=function(p,g){for(var b=0,y=0,m=0,_=0;m<this.length;m++){var k=this.words[m]<<_|y;p[b++]=255&k,b<p.length&&(p[b++]=k>>8&255),b<p.length&&(p[b++]=k>>16&255),_===6?(b<p.length&&(p[b++]=k>>24&255),y=0,_=0):(y=k>>>24,_+=2)}if(b<p.length)for(p[b++]=y;b<p.length;)p[b++]=0},r.prototype._toArrayLikeBE=function(p,g){for(var b=p.length-1,y=0,m=0,_=0;m<this.length;m++){var k=this.words[m]<<_|y;p[b--]=255&k,b>=0&&(p[b--]=k>>8&255),b>=0&&(p[b--]=k>>16&255),_===6?(b>=0&&(p[b--]=k>>24&255),y=0,_=0):(y=k>>>24,_+=2)}if(b>=0)for(p[b--]=y;b>=0;)p[b--]=0},Math.clz32?r.prototype._countBits=function(p){return 32-Math.clz32(p)}:r.prototype._countBits=function(p){var g=p,b=0;return g>=4096&&(b+=13,g>>>=13),g>=64&&(b+=7,g>>>=7),g>=8&&(b+=4,g>>>=4),g>=2&&(b+=2,g>>>=2),b+g},r.prototype._zeroBits=function(p){if(p===0)return 26;var g=p,b=0;return 8191&g||(b+=13,g>>>=13),127&g||(b+=7,g>>>=7),15&g||(b+=4,g>>>=4),3&g||(b+=2,g>>>=2),1&g||b++,b},r.prototype.bitLength=function(){var p=this.words[this.length-1],g=this._countBits(p);return 26*(this.length-1)+g},r.prototype.zeroBits=function(){if(this.isZero())return 0;for(var p=0,g=0;g<this.length;g++){var b=this._zeroBits(this.words[g]);if(p+=b,b!==26)break}return p},r.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},r.prototype.toTwos=function(p){return this.negative!==0?this.abs().inotn(p).iaddn(1):this.clone()},r.prototype.fromTwos=function(p){return this.testn(p-1)?this.notn(p).iaddn(1).ineg():this.clone()},r.prototype.isNeg=function(){return this.negative!==0},r.prototype.neg=function(){return this.clone().ineg()},r.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},r.prototype.iuor=function(p){for(;this.length<p.length;)this.words[this.length++]=0;for(var g=0;g<p.length;g++)this.words[g]=this.words[g]|p.words[g];return this._strip()},r.prototype.ior=function(p){return i(!(this.negative|p.negative)),this.iuor(p)},r.prototype.or=function(p){return this.length>p.length?this.clone().ior(p):p.clone().ior(this)},r.prototype.uor=function(p){return this.length>p.length?this.clone().iuor(p):p.clone().iuor(this)},r.prototype.iuand=function(p){var g;g=this.length>p.length?p:this;for(var b=0;b<g.length;b++)this.words[b]=this.words[b]&p.words[b];return this.length=g.length,this._strip()},r.prototype.iand=function(p){return i(!(this.negative|p.negative)),this.iuand(p)},r.prototype.and=function(p){return this.length>p.length?this.clone().iand(p):p.clone().iand(this)},r.prototype.uand=function(p){return this.length>p.length?this.clone().iuand(p):p.clone().iuand(this)},r.prototype.iuxor=function(p){var g,b;this.length>p.length?(g=this,b=p):(g=p,b=this);for(var y=0;y<b.length;y++)this.words[y]=g.words[y]^b.words[y];if(this!==g)for(;y<g.length;y++)this.words[y]=g.words[y];return this.length=g.length,this._strip()},r.prototype.ixor=function(p){return i(!(this.negative|p.negative)),this.iuxor(p)},r.prototype.xor=function(p){return this.length>p.length?this.clone().ixor(p):p.clone().ixor(this)},r.prototype.uxor=function(p){return this.length>p.length?this.clone().iuxor(p):p.clone().iuxor(this)},r.prototype.inotn=function(p){i(typeof p=="number"&&p>=0);var g=0|Math.ceil(p/26),b=p%26;this._expand(g),b>0&&g--;for(var y=0;y<g;y++)this.words[y]=67108863&~this.words[y];return b>0&&(this.words[y]=~this.words[y]&67108863>>26-b),this._strip()},r.prototype.notn=function(p){return this.clone().inotn(p)},r.prototype.setn=function(p,g){i(typeof p=="number"&&p>=0);var b=p/26|0,y=p%26;return this._expand(b+1),this.words[b]=g?this.words[b]|1<<y:this.words[b]&~(1<<y),this._strip()},r.prototype.iadd=function(p){var g,b,y;if(this.negative!==0&&p.negative===0)return this.negative=0,g=this.isub(p),this.negative^=1,this._normSign();if(this.negative===0&&p.negative!==0)return p.negative=0,g=this.isub(p),p.negative=1,g._normSign();this.length>p.length?(b=this,y=p):(b=p,y=this);for(var m=0,_=0;_<y.length;_++)g=(0|b.words[_])+(0|y.words[_])+m,this.words[_]=67108863&g,m=g>>>26;for(;m!==0&&_<b.length;_++)g=(0|b.words[_])+m,this.words[_]=67108863&g,m=g>>>26;if(this.length=b.length,m!==0)this.words[this.length]=m,this.length++;else if(b!==this)for(;_<b.length;_++)this.words[_]=b.words[_];return this},r.prototype.add=function(p){var g;return p.negative!==0&&this.negative===0?(p.negative=0,g=this.sub(p),p.negative^=1,g):p.negative===0&&this.negative!==0?(this.negative=0,g=p.sub(this),this.negative=1,g):this.length>p.length?this.clone().iadd(p):p.clone().iadd(this)},r.prototype.isub=function(p){if(p.negative!==0){p.negative=0;var g=this.iadd(p);return p.negative=1,g._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(p),this.negative=1,this._normSign();var b,y,m=this.cmp(p);if(m===0)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?(b=this,y=p):(b=p,y=this);for(var _=0,k=0;k<y.length;k++)_=(g=(0|b.words[k])-(0|y.words[k])+_)>>26,this.words[k]=67108863&g;for(;_!==0&&k<b.length;k++)_=(g=(0|b.words[k])+_)>>26,this.words[k]=67108863&g;if(_===0&&k<b.length&&b!==this)for(;k<b.length;k++)this.words[k]=b.words[k];return this.length=Math.max(this.length,k),b!==this&&(this.negative=1),this._strip()},r.prototype.sub=function(p){return this.clone().isub(p)};var R=function(p,g,b){var y,m,_,k=p.words,O=g.words,F=b.words,j=0,N=0|k[0],U=8191&N,P=N>>>13,D=0|k[1],G=8191&D,K=D>>>13,ee=0|k[2],J=8191&ee,V=ee>>>13,Q=0|k[3],X=8191&Q,Z=Q>>>13,ae=0|k[4],pe=8191&ae,ie=ae>>>13,be=0|k[5],oe=8191&be,re=be>>>13,de=0|k[6],ye=8191&de,se=de>>>13,le=0|k[7],Re=8191&le,ue=le>>>13,qe=0|k[8],$e=8191&qe,fe=qe>>>13,Be=0|k[9],Me=8191&Be,ce=Be>>>13,Ee=0|O[0],E=8191&Ee,x=Ee>>>13,L=0|O[1],W=8191&L,z=L>>>13,H=0|O[2],Y=8191&H,te=H>>>13,he=0|O[3],ge=8191&he,ne=he>>>13,ve=0|O[4],xe=8191&ve,_e=ve>>>13,Pe=0|O[5],Ce=8191&Pe,we=Pe>>>13,Oe=0|O[6],ke=8191&Oe,me=Oe>>>13,Ie=0|O[7],je=8191&Ie,Ae=Ie>>>13,De=0|O[8],Fe=8191&De,Se=De>>>13,Ue=0|O[9],Te=8191&Ue,Le=Ue>>>13;b.negative=p.negative^g.negative,b.length=19;var Ne=(j+(y=Math.imul(U,E))|0)+((8191&(m=(m=Math.imul(U,x))+Math.imul(P,E)|0))<<13)|0;j=((_=Math.imul(P,x))+(m>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,y=Math.imul(G,E),m=(m=Math.imul(G,x))+Math.imul(K,E)|0,_=Math.imul(K,x);var We=(j+(y=y+Math.imul(U,W)|0)|0)+((8191&(m=(m=m+Math.imul(U,z)|0)+Math.imul(P,W)|0))<<13)|0;j=((_=_+Math.imul(P,z)|0)+(m>>>13)|0)+(We>>>26)|0,We&=67108863,y=Math.imul(J,E),m=(m=Math.imul(J,x))+Math.imul(V,E)|0,_=Math.imul(V,x),y=y+Math.imul(G,W)|0,m=(m=m+Math.imul(G,z)|0)+Math.imul(K,W)|0,_=_+Math.imul(K,z)|0;var ze=(j+(y=y+Math.imul(U,Y)|0)|0)+((8191&(m=(m=m+Math.imul(U,te)|0)+Math.imul(P,Y)|0))<<13)|0;j=((_=_+Math.imul(P,te)|0)+(m>>>13)|0)+(ze>>>26)|0,ze&=67108863,y=Math.imul(X,E),m=(m=Math.imul(X,x))+Math.imul(Z,E)|0,_=Math.imul(Z,x),y=y+Math.imul(J,W)|0,m=(m=m+Math.imul(J,z)|0)+Math.imul(V,W)|0,_=_+Math.imul(V,z)|0,y=y+Math.imul(G,Y)|0,m=(m=m+Math.imul(G,te)|0)+Math.imul(K,Y)|0,_=_+Math.imul(K,te)|0;var Ge=(j+(y=y+Math.imul(U,ge)|0)|0)+((8191&(m=(m=m+Math.imul(U,ne)|0)+Math.imul(P,ge)|0))<<13)|0;j=((_=_+Math.imul(P,ne)|0)+(m>>>13)|0)+(Ge>>>26)|0,Ge&=67108863,y=Math.imul(pe,E),m=(m=Math.imul(pe,x))+Math.imul(ie,E)|0,_=Math.imul(ie,x),y=y+Math.imul(X,W)|0,m=(m=m+Math.imul(X,z)|0)+Math.imul(Z,W)|0,_=_+Math.imul(Z,z)|0,y=y+Math.imul(J,Y)|0,m=(m=m+Math.imul(J,te)|0)+Math.imul(V,Y)|0,_=_+Math.imul(V,te)|0,y=y+Math.imul(G,ge)|0,m=(m=m+Math.imul(G,ne)|0)+Math.imul(K,ge)|0,_=_+Math.imul(K,ne)|0;var He=(j+(y=y+Math.imul(U,xe)|0)|0)+((8191&(m=(m=m+Math.imul(U,_e)|0)+Math.imul(P,xe)|0))<<13)|0;j=((_=_+Math.imul(P,_e)|0)+(m>>>13)|0)+(He>>>26)|0,He&=67108863,y=Math.imul(oe,E),m=(m=Math.imul(oe,x))+Math.imul(re,E)|0,_=Math.imul(re,x),y=y+Math.imul(pe,W)|0,m=(m=m+Math.imul(pe,z)|0)+Math.imul(ie,W)|0,_=_+Math.imul(ie,z)|0,y=y+Math.imul(X,Y)|0,m=(m=m+Math.imul(X,te)|0)+Math.imul(Z,Y)|0,_=_+Math.imul(Z,te)|0,y=y+Math.imul(J,ge)|0,m=(m=m+Math.imul(J,ne)|0)+Math.imul(V,ge)|0,_=_+Math.imul(V,ne)|0,y=y+Math.imul(G,xe)|0,m=(m=m+Math.imul(G,_e)|0)+Math.imul(K,xe)|0,_=_+Math.imul(K,_e)|0;var Ke=(j+(y=y+Math.imul(U,Ce)|0)|0)+((8191&(m=(m=m+Math.imul(U,we)|0)+Math.imul(P,Ce)|0))<<13)|0;j=((_=_+Math.imul(P,we)|0)+(m>>>13)|0)+(Ke>>>26)|0,Ke&=67108863,y=Math.imul(ye,E),m=(m=Math.imul(ye,x))+Math.imul(se,E)|0,_=Math.imul(se,x),y=y+Math.imul(oe,W)|0,m=(m=m+Math.imul(oe,z)|0)+Math.imul(re,W)|0,_=_+Math.imul(re,z)|0,y=y+Math.imul(pe,Y)|0,m=(m=m+Math.imul(pe,te)|0)+Math.imul(ie,Y)|0,_=_+Math.imul(ie,te)|0,y=y+Math.imul(X,ge)|0,m=(m=m+Math.imul(X,ne)|0)+Math.imul(Z,ge)|0,_=_+Math.imul(Z,ne)|0,y=y+Math.imul(J,xe)|0,m=(m=m+Math.imul(J,_e)|0)+Math.imul(V,xe)|0,_=_+Math.imul(V,_e)|0,y=y+Math.imul(G,Ce)|0,m=(m=m+Math.imul(G,we)|0)+Math.imul(K,Ce)|0,_=_+Math.imul(K,we)|0;var Ve=(j+(y=y+Math.imul(U,ke)|0)|0)+((8191&(m=(m=m+Math.imul(U,me)|0)+Math.imul(P,ke)|0))<<13)|0;j=((_=_+Math.imul(P,me)|0)+(m>>>13)|0)+(Ve>>>26)|0,Ve&=67108863,y=Math.imul(Re,E),m=(m=Math.imul(Re,x))+Math.imul(ue,E)|0,_=Math.imul(ue,x),y=y+Math.imul(ye,W)|0,m=(m=m+Math.imul(ye,z)|0)+Math.imul(se,W)|0,_=_+Math.imul(se,z)|0,y=y+Math.imul(oe,Y)|0,m=(m=m+Math.imul(oe,te)|0)+Math.imul(re,Y)|0,_=_+Math.imul(re,te)|0,y=y+Math.imul(pe,ge)|0,m=(m=m+Math.imul(pe,ne)|0)+Math.imul(ie,ge)|0,_=_+Math.imul(ie,ne)|0,y=y+Math.imul(X,xe)|0,m=(m=m+Math.imul(X,_e)|0)+Math.imul(Z,xe)|0,_=_+Math.imul(Z,_e)|0,y=y+Math.imul(J,Ce)|0,m=(m=m+Math.imul(J,we)|0)+Math.imul(V,Ce)|0,_=_+Math.imul(V,we)|0,y=y+Math.imul(G,ke)|0,m=(m=m+Math.imul(G,me)|0)+Math.imul(K,ke)|0,_=_+Math.imul(K,me)|0;var Xe=(j+(y=y+Math.imul(U,je)|0)|0)+((8191&(m=(m=m+Math.imul(U,Ae)|0)+Math.imul(P,je)|0))<<13)|0;j=((_=_+Math.imul(P,Ae)|0)+(m>>>13)|0)+(Xe>>>26)|0,Xe&=67108863,y=Math.imul($e,E),m=(m=Math.imul($e,x))+Math.imul(fe,E)|0,_=Math.imul(fe,x),y=y+Math.imul(Re,W)|0,m=(m=m+Math.imul(Re,z)|0)+Math.imul(ue,W)|0,_=_+Math.imul(ue,z)|0,y=y+Math.imul(ye,Y)|0,m=(m=m+Math.imul(ye,te)|0)+Math.imul(se,Y)|0,_=_+Math.imul(se,te)|0,y=y+Math.imul(oe,ge)|0,m=(m=m+Math.imul(oe,ne)|0)+Math.imul(re,ge)|0,_=_+Math.imul(re,ne)|0,y=y+Math.imul(pe,xe)|0,m=(m=m+Math.imul(pe,_e)|0)+Math.imul(ie,xe)|0,_=_+Math.imul(ie,_e)|0,y=y+Math.imul(X,Ce)|0,m=(m=m+Math.imul(X,we)|0)+Math.imul(Z,Ce)|0,_=_+Math.imul(Z,we)|0,y=y+Math.imul(J,ke)|0,m=(m=m+Math.imul(J,me)|0)+Math.imul(V,ke)|0,_=_+Math.imul(V,me)|0,y=y+Math.imul(G,je)|0,m=(m=m+Math.imul(G,Ae)|0)+Math.imul(K,je)|0,_=_+Math.imul(K,Ae)|0;var Ye=(j+(y=y+Math.imul(U,Fe)|0)|0)+((8191&(m=(m=m+Math.imul(U,Se)|0)+Math.imul(P,Fe)|0))<<13)|0;j=((_=_+Math.imul(P,Se)|0)+(m>>>13)|0)+(Ye>>>26)|0,Ye&=67108863,y=Math.imul(Me,E),m=(m=Math.imul(Me,x))+Math.imul(ce,E)|0,_=Math.imul(ce,x),y=y+Math.imul($e,W)|0,m=(m=m+Math.imul($e,z)|0)+Math.imul(fe,W)|0,_=_+Math.imul(fe,z)|0,y=y+Math.imul(Re,Y)|0,m=(m=m+Math.imul(Re,te)|0)+Math.imul(ue,Y)|0,_=_+Math.imul(ue,te)|0,y=y+Math.imul(ye,ge)|0,m=(m=m+Math.imul(ye,ne)|0)+Math.imul(se,ge)|0,_=_+Math.imul(se,ne)|0,y=y+Math.imul(oe,xe)|0,m=(m=m+Math.imul(oe,_e)|0)+Math.imul(re,xe)|0,_=_+Math.imul(re,_e)|0,y=y+Math.imul(pe,Ce)|0,m=(m=m+Math.imul(pe,we)|0)+Math.imul(ie,Ce)|0,_=_+Math.imul(ie,we)|0,y=y+Math.imul(X,ke)|0,m=(m=m+Math.imul(X,me)|0)+Math.imul(Z,ke)|0,_=_+Math.imul(Z,me)|0,y=y+Math.imul(J,je)|0,m=(m=m+Math.imul(J,Ae)|0)+Math.imul(V,je)|0,_=_+Math.imul(V,Ae)|0,y=y+Math.imul(G,Fe)|0,m=(m=m+Math.imul(G,Se)|0)+Math.imul(K,Fe)|0,_=_+Math.imul(K,Se)|0;var Ze=(j+(y=y+Math.imul(U,Te)|0)|0)+((8191&(m=(m=m+Math.imul(U,Le)|0)+Math.imul(P,Te)|0))<<13)|0;j=((_=_+Math.imul(P,Le)|0)+(m>>>13)|0)+(Ze>>>26)|0,Ze&=67108863,y=Math.imul(Me,W),m=(m=Math.imul(Me,z))+Math.imul(ce,W)|0,_=Math.imul(ce,z),y=y+Math.imul($e,Y)|0,m=(m=m+Math.imul($e,te)|0)+Math.imul(fe,Y)|0,_=_+Math.imul(fe,te)|0,y=y+Math.imul(Re,ge)|0,m=(m=m+Math.imul(Re,ne)|0)+Math.imul(ue,ge)|0,_=_+Math.imul(ue,ne)|0,y=y+Math.imul(ye,xe)|0,m=(m=m+Math.imul(ye,_e)|0)+Math.imul(se,xe)|0,_=_+Math.imul(se,_e)|0,y=y+Math.imul(oe,Ce)|0,m=(m=m+Math.imul(oe,we)|0)+Math.imul(re,Ce)|0,_=_+Math.imul(re,we)|0,y=y+Math.imul(pe,ke)|0,m=(m=m+Math.imul(pe,me)|0)+Math.imul(ie,ke)|0,_=_+Math.imul(ie,me)|0,y=y+Math.imul(X,je)|0,m=(m=m+Math.imul(X,Ae)|0)+Math.imul(Z,je)|0,_=_+Math.imul(Z,Ae)|0,y=y+Math.imul(J,Fe)|0,m=(m=m+Math.imul(J,Se)|0)+Math.imul(V,Fe)|0,_=_+Math.imul(V,Se)|0;var Je=(j+(y=y+Math.imul(G,Te)|0)|0)+((8191&(m=(m=m+Math.imul(G,Le)|0)+Math.imul(K,Te)|0))<<13)|0;j=((_=_+Math.imul(K,Le)|0)+(m>>>13)|0)+(Je>>>26)|0,Je&=67108863,y=Math.imul(Me,Y),m=(m=Math.imul(Me,te))+Math.imul(ce,Y)|0,_=Math.imul(ce,te),y=y+Math.imul($e,ge)|0,m=(m=m+Math.imul($e,ne)|0)+Math.imul(fe,ge)|0,_=_+Math.imul(fe,ne)|0,y=y+Math.imul(Re,xe)|0,m=(m=m+Math.imul(Re,_e)|0)+Math.imul(ue,xe)|0,_=_+Math.imul(ue,_e)|0,y=y+Math.imul(ye,Ce)|0,m=(m=m+Math.imul(ye,we)|0)+Math.imul(se,Ce)|0,_=_+Math.imul(se,we)|0,y=y+Math.imul(oe,ke)|0,m=(m=m+Math.imul(oe,me)|0)+Math.imul(re,ke)|0,_=_+Math.imul(re,me)|0,y=y+Math.imul(pe,je)|0,m=(m=m+Math.imul(pe,Ae)|0)+Math.imul(ie,je)|0,_=_+Math.imul(ie,Ae)|0,y=y+Math.imul(X,Fe)|0,m=(m=m+Math.imul(X,Se)|0)+Math.imul(Z,Fe)|0,_=_+Math.imul(Z,Se)|0;var Qe=(j+(y=y+Math.imul(J,Te)|0)|0)+((8191&(m=(m=m+Math.imul(J,Le)|0)+Math.imul(V,Te)|0))<<13)|0;j=((_=_+Math.imul(V,Le)|0)+(m>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,y=Math.imul(Me,ge),m=(m=Math.imul(Me,ne))+Math.imul(ce,ge)|0,_=Math.imul(ce,ne),y=y+Math.imul($e,xe)|0,m=(m=m+Math.imul($e,_e)|0)+Math.imul(fe,xe)|0,_=_+Math.imul(fe,_e)|0,y=y+Math.imul(Re,Ce)|0,m=(m=m+Math.imul(Re,we)|0)+Math.imul(ue,Ce)|0,_=_+Math.imul(ue,we)|0,y=y+Math.imul(ye,ke)|0,m=(m=m+Math.imul(ye,me)|0)+Math.imul(se,ke)|0,_=_+Math.imul(se,me)|0,y=y+Math.imul(oe,je)|0,m=(m=m+Math.imul(oe,Ae)|0)+Math.imul(re,je)|0,_=_+Math.imul(re,Ae)|0,y=y+Math.imul(pe,Fe)|0,m=(m=m+Math.imul(pe,Se)|0)+Math.imul(ie,Fe)|0,_=_+Math.imul(ie,Se)|0;var et=(j+(y=y+Math.imul(X,Te)|0)|0)+((8191&(m=(m=m+Math.imul(X,Le)|0)+Math.imul(Z,Te)|0))<<13)|0;j=((_=_+Math.imul(Z,Le)|0)+(m>>>13)|0)+(et>>>26)|0,et&=67108863,y=Math.imul(Me,xe),m=(m=Math.imul(Me,_e))+Math.imul(ce,xe)|0,_=Math.imul(ce,_e),y=y+Math.imul($e,Ce)|0,m=(m=m+Math.imul($e,we)|0)+Math.imul(fe,Ce)|0,_=_+Math.imul(fe,we)|0,y=y+Math.imul(Re,ke)|0,m=(m=m+Math.imul(Re,me)|0)+Math.imul(ue,ke)|0,_=_+Math.imul(ue,me)|0,y=y+Math.imul(ye,je)|0,m=(m=m+Math.imul(ye,Ae)|0)+Math.imul(se,je)|0,_=_+Math.imul(se,Ae)|0,y=y+Math.imul(oe,Fe)|0,m=(m=m+Math.imul(oe,Se)|0)+Math.imul(re,Fe)|0,_=_+Math.imul(re,Se)|0;var tt=(j+(y=y+Math.imul(pe,Te)|0)|0)+((8191&(m=(m=m+Math.imul(pe,Le)|0)+Math.imul(ie,Te)|0))<<13)|0;j=((_=_+Math.imul(ie,Le)|0)+(m>>>13)|0)+(tt>>>26)|0,tt&=67108863,y=Math.imul(Me,Ce),m=(m=Math.imul(Me,we))+Math.imul(ce,Ce)|0,_=Math.imul(ce,we),y=y+Math.imul($e,ke)|0,m=(m=m+Math.imul($e,me)|0)+Math.imul(fe,ke)|0,_=_+Math.imul(fe,me)|0,y=y+Math.imul(Re,je)|0,m=(m=m+Math.imul(Re,Ae)|0)+Math.imul(ue,je)|0,_=_+Math.imul(ue,Ae)|0,y=y+Math.imul(ye,Fe)|0,m=(m=m+Math.imul(ye,Se)|0)+Math.imul(se,Fe)|0,_=_+Math.imul(se,Se)|0;var rt=(j+(y=y+Math.imul(oe,Te)|0)|0)+((8191&(m=(m=m+Math.imul(oe,Le)|0)+Math.imul(re,Te)|0))<<13)|0;j=((_=_+Math.imul(re,Le)|0)+(m>>>13)|0)+(rt>>>26)|0,rt&=67108863,y=Math.imul(Me,ke),m=(m=Math.imul(Me,me))+Math.imul(ce,ke)|0,_=Math.imul(ce,me),y=y+Math.imul($e,je)|0,m=(m=m+Math.imul($e,Ae)|0)+Math.imul(fe,je)|0,_=_+Math.imul(fe,Ae)|0,y=y+Math.imul(Re,Fe)|0,m=(m=m+Math.imul(Re,Se)|0)+Math.imul(ue,Fe)|0,_=_+Math.imul(ue,Se)|0;var it=(j+(y=y+Math.imul(ye,Te)|0)|0)+((8191&(m=(m=m+Math.imul(ye,Le)|0)+Math.imul(se,Te)|0))<<13)|0;j=((_=_+Math.imul(se,Le)|0)+(m>>>13)|0)+(it>>>26)|0,it&=67108863,y=Math.imul(Me,je),m=(m=Math.imul(Me,Ae))+Math.imul(ce,je)|0,_=Math.imul(ce,Ae),y=y+Math.imul($e,Fe)|0,m=(m=m+Math.imul($e,Se)|0)+Math.imul(fe,Fe)|0,_=_+Math.imul(fe,Se)|0;var nt=(j+(y=y+Math.imul(Re,Te)|0)|0)+((8191&(m=(m=m+Math.imul(Re,Le)|0)+Math.imul(ue,Te)|0))<<13)|0;j=((_=_+Math.imul(ue,Le)|0)+(m>>>13)|0)+(nt>>>26)|0,nt&=67108863,y=Math.imul(Me,Fe),m=(m=Math.imul(Me,Se))+Math.imul(ce,Fe)|0,_=Math.imul(ce,Se);var ot=(j+(y=y+Math.imul($e,Te)|0)|0)+((8191&(m=(m=m+Math.imul($e,Le)|0)+Math.imul(fe,Te)|0))<<13)|0;j=((_=_+Math.imul(fe,Le)|0)+(m>>>13)|0)+(ot>>>26)|0,ot&=67108863;var st=(j+(y=Math.imul(Me,Te))|0)+((8191&(m=(m=Math.imul(Me,Le))+Math.imul(ce,Te)|0))<<13)|0;return j=((_=Math.imul(ce,Le))+(m>>>13)|0)+(st>>>26)|0,st&=67108863,F[0]=Ne,F[1]=We,F[2]=ze,F[3]=Ge,F[4]=He,F[5]=Ke,F[6]=Ve,F[7]=Xe,F[8]=Ye,F[9]=Ze,F[10]=Je,F[11]=Qe,F[12]=et,F[13]=tt,F[14]=rt,F[15]=it,F[16]=nt,F[17]=ot,F[18]=st,j!==0&&(F[19]=j,b.length++),b};function q(p,g,b){b.negative=g.negative^p.negative,b.length=p.length+g.length;for(var y=0,m=0,_=0;_<b.length-1;_++){var k=m;m=0;for(var O=67108863&y,F=Math.min(_,g.length-1),j=Math.max(0,_-p.length+1);j<=F;j++){var N=_-j,U=(0|p.words[N])*(0|g.words[j]),P=67108863&U;O=67108863&(P=P+O|0),m+=(k=(k=k+(U/67108864|0)|0)+(P>>>26)|0)>>>26,k&=67108863}b.words[_]=O,y=k,k=m}return y!==0?b.words[_]=y:b.length--,b._strip()}function A(p,g,b){return q(p,g,b)}Math.imul||(R=w),r.prototype.mulTo=function(p,g){var b=this.length+p.length;return this.length===10&&p.length===10?R(this,p,g):b<63?w(this,p,g):b<1024?q(this,p,g):A(this,p,g)},r.prototype.mul=function(p){var g=new r(null);return g.words=new Array(this.length+p.length),this.mulTo(p,g)},r.prototype.mulf=function(p){var g=new r(null);return g.words=new Array(this.length+p.length),A(this,p,g)},r.prototype.imul=function(p){return this.clone().mulTo(p,this)},r.prototype.imuln=function(p){var g=p<0;g&&(p=-p),i(typeof p=="number"),i(p<67108864);for(var b=0,y=0;y<this.length;y++){var m=(0|this.words[y])*p,_=(67108863&m)+(67108863&b);b>>=26,b+=m/67108864|0,b+=_>>>26,this.words[y]=67108863&_}return b!==0&&(this.words[y]=b,this.length++),this.length=p===0?1:this.length,g?this.ineg():this},r.prototype.muln=function(p){return this.clone().imuln(p)},r.prototype.sqr=function(){return this.mul(this)},r.prototype.isqr=function(){return this.imul(this.clone())},r.prototype.pow=function(p){var g=(function(_){for(var k=new Array(_.bitLength()),O=0;O<k.length;O++){var F=O/26|0,j=O%26;k[O]=_.words[F]>>>j&1}return k})(p);if(g.length===0)return new r(1);for(var b=this,y=0;y<g.length&&g[y]===0;y++,b=b.sqr());if(++y<g.length)for(var m=b.sqr();y<g.length;y++,m=m.sqr())g[y]!==0&&(b=b.mul(m));return b},r.prototype.iushln=function(p){i(typeof p=="number"&&p>=0);var g,b=p%26,y=(p-b)/26,m=67108863>>>26-b<<26-b;if(b!==0){var _=0;for(g=0;g<this.length;g++){var k=this.words[g]&m,O=(0|this.words[g])-k<<b;this.words[g]=O|_,_=k>>>26-b}_&&(this.words[g]=_,this.length++)}if(y!==0){for(g=this.length-1;g>=0;g--)this.words[g+y]=this.words[g];for(g=0;g<y;g++)this.words[g]=0;this.length+=y}return this._strip()},r.prototype.ishln=function(p){return i(this.negative===0),this.iushln(p)},r.prototype.iushrn=function(p,g,b){var y;i(typeof p=="number"&&p>=0),y=g?(g-g%26)/26:0;var m=p%26,_=Math.min((p-m)/26,this.length),k=67108863^67108863>>>m<<m,O=b;if(y-=_,y=Math.max(0,y),O){for(var F=0;F<_;F++)O.words[F]=this.words[F];O.length=_}if(_!==0)if(this.length>_)for(this.length-=_,F=0;F<this.length;F++)this.words[F]=this.words[F+_];else this.words[0]=0,this.length=1;var j=0;for(F=this.length-1;F>=0&&(j!==0||F>=y);F--){var N=0|this.words[F];this.words[F]=j<<26-m|N>>>m,j=N&k}return O&&j!==0&&(O.words[O.length++]=j),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},r.prototype.ishrn=function(p,g,b){return i(this.negative===0),this.iushrn(p,g,b)},r.prototype.shln=function(p){return this.clone().ishln(p)},r.prototype.ushln=function(p){return this.clone().iushln(p)},r.prototype.shrn=function(p){return this.clone().ishrn(p)},r.prototype.ushrn=function(p){return this.clone().iushrn(p)},r.prototype.testn=function(p){i(typeof p=="number"&&p>=0);var g=p%26,b=(p-g)/26,y=1<<g;return!(this.length<=b||!(this.words[b]&y))},r.prototype.imaskn=function(p){i(typeof p=="number"&&p>=0);var g=p%26,b=(p-g)/26;if(i(this.negative===0,"imaskn works only with positive numbers"),this.length<=b)return this;if(g!==0&&b++,this.length=Math.min(b,this.length),g!==0){var y=67108863^67108863>>>g<<g;this.words[this.length-1]&=y}return this.length===0&&(this.words[0]=0,this.length=1),this._strip()},r.prototype.maskn=function(p){return this.clone().imaskn(p)},r.prototype.iaddn=function(p){return i(typeof p=="number"),i(p<67108864),p<0?this.isubn(-p):this.negative!==0?this.length===1&&(0|this.words[0])<=p?(this.words[0]=p-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(p),this.negative=1,this):this._iaddn(p)},r.prototype._iaddn=function(p){this.words[0]+=p;for(var g=0;g<this.length&&this.words[g]>=67108864;g++)this.words[g]-=67108864,g===this.length-1?this.words[g+1]=1:this.words[g+1]++;return this.length=Math.max(this.length,g+1),this},r.prototype.isubn=function(p){if(i(typeof p=="number"),i(p<67108864),p<0)return this.iaddn(-p);if(this.negative!==0)return this.negative=0,this.iaddn(p),this.negative=1,this;if(this.words[0]-=p,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var g=0;g<this.length&&this.words[g]<0;g++)this.words[g]+=67108864,this.words[g+1]-=1;return this._strip()},r.prototype.addn=function(p){return this.clone().iaddn(p)},r.prototype.subn=function(p){return this.clone().isubn(p)},r.prototype.iabs=function(){return this.negative=0,this},r.prototype.abs=function(){return this.clone().iabs()},r.prototype._ishlnsubmul=function(p,g,b){var y,m,_=p.length+b;this._expand(_);var k=0;for(y=0;y<p.length;y++){m=(0|this.words[y+b])+k;var O=(0|p.words[y])*g;k=((m-=67108863&O)>>26)-(O/67108864|0),this.words[y+b]=67108863&m}for(;y<this.length-b;y++)k=(m=(0|this.words[y+b])+k)>>26,this.words[y+b]=67108863&m;if(k===0)return this._strip();for(i(k===-1),k=0,y=0;y<this.length;y++)k=(m=-(0|this.words[y])+k)>>26,this.words[y]=67108863&m;return this.negative=1,this._strip()},r.prototype._wordDiv=function(p,g){var b=(this.length,p.length),y=this.clone(),m=p,_=0|m.words[m.length-1];(b=26-this._countBits(_))!=0&&(m=m.ushln(b),y.iushln(b),_=0|m.words[m.length-1]);var k,O=y.length-m.length;if(g!=="mod"){(k=new r(null)).length=O+1,k.words=new Array(k.length);for(var F=0;F<k.length;F++)k.words[F]=0}var j=y.clone()._ishlnsubmul(m,1,O);j.negative===0&&(y=j,k&&(k.words[O]=1));for(var N=O-1;N>=0;N--){var U=67108864*(0|y.words[m.length+N])+(0|y.words[m.length+N-1]);for(U=Math.min(U/_|0,67108863),y._ishlnsubmul(m,U,N);y.negative!==0;)U--,y.negative=0,y._ishlnsubmul(m,1,N),y.isZero()||(y.negative^=1);k&&(k.words[N]=U)}return k&&k._strip(),y._strip(),g!=="div"&&b!==0&&y.iushrn(b),{div:k||null,mod:y}},r.prototype.divmod=function(p,g,b){return i(!p.isZero()),this.isZero()?{div:new r(0),mod:new r(0)}:this.negative!==0&&p.negative===0?(_=this.neg().divmod(p,g),g!=="mod"&&(y=_.div.neg()),g!=="div"&&(m=_.mod.neg(),b&&m.negative!==0&&m.iadd(p)),{div:y,mod:m}):this.negative===0&&p.negative!==0?(_=this.divmod(p.neg(),g),g!=="mod"&&(y=_.div.neg()),{div:y,mod:_.mod}):this.negative&p.negative?(_=this.neg().divmod(p.neg(),g),g!=="div"&&(m=_.mod.neg(),b&&m.negative!==0&&m.isub(p)),{div:_.div,mod:m}):p.length>this.length||this.cmp(p)<0?{div:new r(0),mod:this}:p.length===1?g==="div"?{div:this.divn(p.words[0]),mod:null}:g==="mod"?{div:null,mod:new r(this.modrn(p.words[0]))}:{div:this.divn(p.words[0]),mod:new r(this.modrn(p.words[0]))}:this._wordDiv(p,g);var y,m,_},r.prototype.div=function(p){return this.divmod(p,"div",!1).div},r.prototype.mod=function(p){return this.divmod(p,"mod",!1).mod},r.prototype.umod=function(p){return this.divmod(p,"mod",!0).mod},r.prototype.divRound=function(p){var g=this.divmod(p);if(g.mod.isZero())return g.div;var b=g.div.negative!==0?g.mod.isub(p):g.mod,y=p.ushrn(1),m=p.andln(1),_=b.cmp(y);return _<0||m===1&&_===0?g.div:g.div.negative!==0?g.div.isubn(1):g.div.iaddn(1)},r.prototype.modrn=function(p){var g=p<0;g&&(p=-p),i(p<=67108863);for(var b=(1<<26)%p,y=0,m=this.length-1;m>=0;m--)y=(b*y+(0|this.words[m]))%p;return g?-y:y},r.prototype.modn=function(p){return this.modrn(p)},r.prototype.idivn=function(p){var g=p<0;g&&(p=-p),i(p<=67108863);for(var b=0,y=this.length-1;y>=0;y--){var m=(0|this.words[y])+67108864*b;this.words[y]=m/p|0,b=m%p}return this._strip(),g?this.ineg():this},r.prototype.divn=function(p){return this.clone().idivn(p)},r.prototype.egcd=function(p){i(p.negative===0),i(!p.isZero());var g=this,b=p.clone();g=g.negative!==0?g.umod(p):g.clone();for(var y=new r(1),m=new r(0),_=new r(0),k=new r(1),O=0;g.isEven()&&b.isEven();)g.iushrn(1),b.iushrn(1),++O;for(var F=b.clone(),j=g.clone();!g.isZero();){for(var N=0,U=1;!(g.words[0]&U)&&N<26;++N,U<<=1);if(N>0)for(g.iushrn(N);N-- >0;)(y.isOdd()||m.isOdd())&&(y.iadd(F),m.isub(j)),y.iushrn(1),m.iushrn(1);for(var P=0,D=1;!(b.words[0]&D)&&P<26;++P,D<<=1);if(P>0)for(b.iushrn(P);P-- >0;)(_.isOdd()||k.isOdd())&&(_.iadd(F),k.isub(j)),_.iushrn(1),k.iushrn(1);g.cmp(b)>=0?(g.isub(b),y.isub(_),m.isub(k)):(b.isub(g),_.isub(y),k.isub(m))}return{a:_,b:k,gcd:b.iushln(O)}},r.prototype._invmp=function(p){i(p.negative===0),i(!p.isZero());var g=this,b=p.clone();g=g.negative!==0?g.umod(p):g.clone();for(var y,m=new r(1),_=new r(0),k=b.clone();g.cmpn(1)>0&&b.cmpn(1)>0;){for(var O=0,F=1;!(g.words[0]&F)&&O<26;++O,F<<=1);if(O>0)for(g.iushrn(O);O-- >0;)m.isOdd()&&m.iadd(k),m.iushrn(1);for(var j=0,N=1;!(b.words[0]&N)&&j<26;++j,N<<=1);if(j>0)for(b.iushrn(j);j-- >0;)_.isOdd()&&_.iadd(k),_.iushrn(1);g.cmp(b)>=0?(g.isub(b),m.isub(_)):(b.isub(g),_.isub(m))}return(y=g.cmpn(1)===0?m:_).cmpn(0)<0&&y.iadd(p),y},r.prototype.gcd=function(p){if(this.isZero())return p.abs();if(p.isZero())return this.abs();var g=this.clone(),b=p.clone();g.negative=0,b.negative=0;for(var y=0;g.isEven()&&b.isEven();y++)g.iushrn(1),b.iushrn(1);for(;;){for(;g.isEven();)g.iushrn(1);for(;b.isEven();)b.iushrn(1);var m=g.cmp(b);if(m<0){var _=g;g=b,b=_}else if(m===0||b.cmpn(1)===0)break;g.isub(b)}return b.iushln(y)},r.prototype.invm=function(p){return this.egcd(p).a.umod(p)},r.prototype.isEven=function(){return!(1&this.words[0])},r.prototype.isOdd=function(){return!(1&~this.words[0])},r.prototype.andln=function(p){return this.words[0]&p},r.prototype.bincn=function(p){i(typeof p=="number");var g=p%26,b=(p-g)/26,y=1<<g;if(this.length<=b)return this._expand(b+1),this.words[b]|=y,this;for(var m=y,_=b;m!==0&&_<this.length;_++){var k=0|this.words[_];m=(k+=m)>>>26,k&=67108863,this.words[_]=k}return m!==0&&(this.words[_]=m,this.length++),this},r.prototype.isZero=function(){return this.length===1&&this.words[0]===0},r.prototype.cmpn=function(p){var g,b=p<0;if(this.negative!==0&&!b)return-1;if(this.negative===0&&b)return 1;if(this._strip(),this.length>1)g=1;else{b&&(p=-p),i(p<=67108863,"Number is too big");var y=0|this.words[0];g=y===p?0:y<p?-1:1}return this.negative!==0?0|-g:g},r.prototype.cmp=function(p){if(this.negative!==0&&p.negative===0)return-1;if(this.negative===0&&p.negative!==0)return 1;var g=this.ucmp(p);return this.negative!==0?0|-g:g},r.prototype.ucmp=function(p){if(this.length>p.length)return 1;if(this.length<p.length)return-1;for(var g=0,b=this.length-1;b>=0;b--){var y=0|this.words[b],m=0|p.words[b];if(y!==m){y<m?g=-1:y>m&&(g=1);break}}return g},r.prototype.gtn=function(p){return this.cmpn(p)===1},r.prototype.gt=function(p){return this.cmp(p)===1},r.prototype.gten=function(p){return this.cmpn(p)>=0},r.prototype.gte=function(p){return this.cmp(p)>=0},r.prototype.ltn=function(p){return this.cmpn(p)===-1},r.prototype.lt=function(p){return this.cmp(p)===-1},r.prototype.lten=function(p){return this.cmpn(p)<=0},r.prototype.lte=function(p){return this.cmp(p)<=0},r.prototype.eqn=function(p){return this.cmpn(p)===0},r.prototype.eq=function(p){return this.cmp(p)===0},r.red=function(p){return new v(p)},r.prototype.toRed=function(p){return i(!this.red,"Already a number in reduction context"),i(this.negative===0,"red works only with positives"),p.convertTo(this)._forceRed(p)},r.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},r.prototype._forceRed=function(p){return this.red=p,this},r.prototype.forceRed=function(p){return i(!this.red,"Already a number in reduction context"),this._forceRed(p)},r.prototype.redAdd=function(p){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,p)},r.prototype.redIAdd=function(p){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,p)},r.prototype.redSub=function(p){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,p)},r.prototype.redISub=function(p){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,p)},r.prototype.redShl=function(p){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,p)},r.prototype.redMul=function(p){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,p),this.red.mul(this,p)},r.prototype.redIMul=function(p){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,p),this.red.imul(this,p)},r.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},r.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},r.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},r.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},r.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},r.prototype.redPow=function(p){return i(this.red&&!p.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,p)};var M={k256:null,p224:null,p192:null,p25519:null};function I(p,g){this.name=p,this.p=new r(g,16),this.n=this.p.bitLength(),this.k=new r(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function $(){I.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function S(){I.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function C(){I.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function T(){I.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function v(p){if(typeof p=="string"){var g=r._prime(p);this.m=g.p,this.prime=g}else i(p.gtn(1),"modulus must be greater than 1"),this.m=p,this.prime=null}function B(p){v.call(this,p),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new r(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)}I.prototype._tmp=function(){var p=new r(null);return p.words=new Array(Math.ceil(this.n/13)),p},I.prototype.ireduce=function(p){var g,b=p;do this.split(b,this.tmp),g=(b=(b=this.imulK(b)).iadd(this.tmp)).bitLength();while(g>this.n);var y=g<this.n?-1:b.ucmp(this.p);return y===0?(b.words[0]=0,b.length=1):y>0?b.isub(this.p):b.strip!==void 0?b.strip():b._strip(),b},I.prototype.split=function(p,g){p.iushrn(this.n,0,g)},I.prototype.imulK=function(p){return p.imul(this.k)},a($,I),$.prototype.split=function(p,g){for(var b=4194303,y=Math.min(p.length,9),m=0;m<y;m++)g.words[m]=p.words[m];if(g.length=y,p.length<=9)return p.words[0]=0,void(p.length=1);var _=p.words[9];for(g.words[g.length++]=_&b,m=10;m<p.length;m++){var k=0|p.words[m];p.words[m-10]=(k&b)<<4|_>>>22,_=k}_>>>=22,p.words[m-10]=_,_===0&&p.length>10?p.length-=10:p.length-=9},$.prototype.imulK=function(p){p.words[p.length]=0,p.words[p.length+1]=0,p.length+=2;for(var g=0,b=0;b<p.length;b++){var y=0|p.words[b];g+=977*y,p.words[b]=67108863&g,g=64*y+(g/67108864|0)}return p.words[p.length-1]===0&&(p.length--,p.words[p.length-1]===0&&p.length--),p},a(S,I),a(C,I),a(T,I),T.prototype.imulK=function(p){for(var g=0,b=0;b<p.length;b++){var y=19*(0|p.words[b])+g,m=67108863&y;y>>>=26,p.words[b]=m,g=y}return g!==0&&(p.words[p.length++]=g),p},r._prime=function(p){if(M[p])return M[p];var g;if(p==="k256")g=new $;else if(p==="p224")g=new S;else if(p==="p192")g=new C;else{if(p!=="p25519")throw new Error("Unknown prime "+p);g=new T}return M[p]=g,g},v.prototype._verify1=function(p){i(p.negative===0,"red works only with positives"),i(p.red,"red works only with red numbers")},v.prototype._verify2=function(p,g){i(!(p.negative|g.negative),"red works only with positives"),i(p.red&&p.red===g.red,"red works only with red numbers")},v.prototype.imod=function(p){return this.prime?this.prime.ireduce(p)._forceRed(this):(s(p,p.umod(this.m)._forceRed(this)),p)},v.prototype.neg=function(p){return p.isZero()?p.clone():this.m.sub(p)._forceRed(this)},v.prototype.add=function(p,g){this._verify2(p,g);var b=p.add(g);return b.cmp(this.m)>=0&&b.isub(this.m),b._forceRed(this)},v.prototype.iadd=function(p,g){this._verify2(p,g);var b=p.iadd(g);return b.cmp(this.m)>=0&&b.isub(this.m),b},v.prototype.sub=function(p,g){this._verify2(p,g);var b=p.sub(g);return b.cmpn(0)<0&&b.iadd(this.m),b._forceRed(this)},v.prototype.isub=function(p,g){this._verify2(p,g);var b=p.isub(g);return b.cmpn(0)<0&&b.iadd(this.m),b},v.prototype.shl=function(p,g){return this._verify1(p),this.imod(p.ushln(g))},v.prototype.imul=function(p,g){return this._verify2(p,g),this.imod(p.imul(g))},v.prototype.mul=function(p,g){return this._verify2(p,g),this.imod(p.mul(g))},v.prototype.isqr=function(p){return this.imul(p,p.clone())},v.prototype.sqr=function(p){return this.mul(p,p)},v.prototype.sqrt=function(p){if(p.isZero())return p.clone();var g=this.m.andln(3);if(i(g%2==1),g===3){var b=this.m.add(new r(1)).iushrn(2);return this.pow(p,b)}for(var y=this.m.subn(1),m=0;!y.isZero()&&y.andln(1)===0;)m++,y.iushrn(1);i(!y.isZero());var _=new r(1).toRed(this),k=_.redNeg(),O=this.m.subn(1).iushrn(1),F=this.m.bitLength();for(F=new r(2*F*F).toRed(this);this.pow(F,O).cmp(k)!==0;)F.redIAdd(k);for(var j=this.pow(F,y),N=this.pow(p,y.addn(1).iushrn(1)),U=this.pow(p,y),P=m;U.cmp(_)!==0;){for(var D=U,G=0;D.cmp(_)!==0;G++)D=D.redSqr();i(G<P);var K=this.pow(j,new r(1).iushln(P-G-1));N=N.redMul(K),j=K.redSqr(),U=U.redMul(j),P=G}return N},v.prototype.invm=function(p){var g=p._invmp(this.m);return g.negative!==0?(g.negative=0,this.imod(g).redNeg()):this.imod(g)},v.prototype.pow=function(p,g){if(g.isZero())return new r(1).toRed(this);if(g.cmpn(1)===0)return p.clone();var b=new Array(16);b[0]=new r(1).toRed(this),b[1]=p;for(var y=2;y<b.length;y++)b[y]=this.mul(b[y-1],p);var m=b[0],_=0,k=0,O=g.bitLength()%26;for(O===0&&(O=26),y=g.length-1;y>=0;y--){for(var F=g.words[y],j=O-1;j>=0;j--){var N=F>>j&1;m!==b[0]&&(m=this.sqr(m)),N!==0||_!==0?(_<<=1,_|=N,(++k==4||y===0&&j===0)&&(m=this.mul(m,b[_]),k=0,_=0)):k=0}O=26}return m},v.prototype.convertTo=function(p){var g=p.umod(this.m);return g===p?g.clone():g},v.prototype.convertFrom=function(p){var g=p.clone();return g.red=null,g},r.mont=function(p){return new B(p)},a(B,v),B.prototype.convertTo=function(p){return this.imod(p.ushln(this.shift))},B.prototype.convertFrom=function(p){var g=this.imod(p.mul(this.rinv));return g.red=null,g},B.prototype.imul=function(p,g){if(p.isZero()||g.isZero())return p.words[0]=0,p.length=1,p;var b=p.imul(g),y=b.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),m=b.isub(y).iushrn(this.shift),_=m;return m.cmp(this.m)>=0?_=m.isub(this.m):m.cmpn(0)<0&&(_=m.iadd(this.m)),_._forceRed(this)},B.prototype.mul=function(p,g){if(p.isZero()||g.isZero())return new r(0)._forceRed(this);var b=p.mul(g),y=b.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),m=b.isub(y).iushrn(this.shift),_=m;return m.cmp(this.m)>=0?_=m.isub(this.m):m.cmpn(0)<0&&(_=m.iadd(this.m)),_._forceRed(this)},B.prototype.invm=function(p){return this.imod(p._invmp(this.m).mul(this.r2))._forceRed(this)}})(bn$1,bn)),bn$1.exports}function requireBrowserifyRsa(){if(hasRequiredBrowserifyRsa)return browserifyRsa;hasRequiredBrowserifyRsa=1;var e=requireBn(),t=requireBrowser$b(),i=requireSafeBuffer$1().Buffer;function a(c){var f,n=c.modulus.byteLength();do f=new e(t(n));while(f.cmp(c.modulus)>=0||!f.umod(c.prime1)||!f.umod(c.prime2));return f}function r(c,f){var n=(function(M){var I=a(M);return{blinder:I.toRed(e.mont(M.modulus)).redPow(new e(M.publicExponent)).fromRed(),unblinder:I.invm(M.modulus)}})(f),o=f.modulus.byteLength(),s=new e(c).mul(n.blinder).umod(f.modulus),u=s.toRed(e.mont(f.prime1)),h=s.toRed(e.mont(f.prime2)),l=f.coefficient,d=f.prime1,w=f.prime2,R=u.redPow(f.exponent1).fromRed(),q=h.redPow(f.exponent2).fromRed(),A=R.isub(q).imul(l).umod(d).imul(w);return q.iadd(A).imul(n.unblinder).umod(f.modulus).toArrayLike(i,"be",o)}return r.getr=a,browserifyRsa=r}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 t(a){return a.length===1?"0"+a:a}function i(a){for(var r="",c=0;c<a.length;c++)r+=t(a[c].toString(16));return r}e.toArray=function(a,r){if(Array.isArray(a))return a.slice();if(!a)return[];var c=[];if(typeof a!="string"){for(var f=0;f<a.length;f++)c[f]=0|a[f];return c}if(r==="hex")for((a=a.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(a="0"+a),f=0;f<a.length;f+=2)c.push(parseInt(a[f]+a[f+1],16));else for(f=0;f<a.length;f++){var n=a.charCodeAt(f),o=n>>8,s=255&n;o?c.push(o,s):c.push(s)}return c},e.zero2=t,e.toHex=i,e.encode=function(a,r){return r==="hex"?i(a):a}})()),utils$1}function requireUtils$1(){return hasRequiredUtils$1||(hasRequiredUtils$1=1,(function(){var e=utils$2,t=requireBn$1(),i=requireMinimalisticAssert(),a=requireUtils$2();e.assert=i,e.toArray=a.toArray,e.zero2=a.zero2,e.toHex=a.toHex,e.encode=a.encode,e.getNAF=function(r,c,f){var n,o=new Array(Math.max(r.bitLength(),f)+1);for(n=0;n<o.length;n+=1)o[n]=0;var s=1<<c+1,u=r.clone();for(n=0;n<o.length;n++){var h,l=u.andln(s-1);u.isOdd()?(h=l>(s>>1)-1?(s>>1)-l:l,u.isubn(h)):h=0,o[n]=h,u.iushrn(1)}return o},e.getJSF=function(r,c){var f=[[],[]];r=r.clone(),c=c.clone();for(var n,o=0,s=0;r.cmpn(-o)>0||c.cmpn(-s)>0;){var u,h,l=r.andln(3)+o&3,d=c.andln(3)+s&3;l===3&&(l=-1),d===3&&(d=-1),u=1&l?(n=r.andln(7)+o&7)!==3&&n!==5||d!==2?l:-l:0,f[0].push(u),h=1&d?(n=c.andln(7)+s&7)!==3&&n!==5||l!==2?d:-d:0,f[1].push(h),2*o===u+1&&(o=1-o),2*s===h+1&&(s=1-s),r.iushrn(1),c.iushrn(1)}return f},e.cachedProperty=function(r,c,f){var n="_"+c;r.prototype[c]=function(){return this[n]!==void 0?this[n]:this[n]=f.call(this)}},e.parseBytes=function(r){return typeof r=="string"?e.toArray(r,"hex"):r},e.intFromLE=function(r){return new t(r,"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$1(),t=requireUtils$1(),i=t.getNAF,a=t.getJSF,r=t.assert;function c(n,o){this.type=n,this.p=new e(o.p,16),this.red=o.prime?e.red(o.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=o.n&&new e(o.n,16),this.g=o.g&&this.pointFromJSON(o.g,o.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 s=this.n&&this.p.div(this.n);!s||s.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function f(n,o){this.curve=n,this.type=o,this.precomputed=null}return base$1=c,c.prototype.point=function(){throw new Error("Not implemented")},c.prototype.validate=function(){throw new Error("Not implemented")},c.prototype._fixedNafMul=function(n,o){r(n.precomputed);var s=n._getDoubles(),u=i(o,1,this._bitLength),h=(1<<s.step+1)-(s.step%2==0?2:1);h/=3;var l,d,w=[];for(l=0;l<u.length;l+=s.step){d=0;for(var R=l+s.step-1;R>=l;R--)d=(d<<1)+u[R];w.push(d)}for(var q=this.jpoint(null,null,null),A=this.jpoint(null,null,null),M=h;M>0;M--){for(l=0;l<w.length;l++)(d=w[l])===M?A=A.mixedAdd(s.points[l]):d===-M&&(A=A.mixedAdd(s.points[l].neg()));q=q.add(A)}return q.toP()},c.prototype._wnafMul=function(n,o){var s=4,u=n._getNAFPoints(s);s=u.wnd;for(var h=u.points,l=i(o,s,this._bitLength),d=this.jpoint(null,null,null),w=l.length-1;w>=0;w--){for(var R=0;w>=0&&l[w]===0;w--)R++;if(w>=0&&R++,d=d.dblp(R),w<0)break;var q=l[w];r(q!==0),d=n.type==="affine"?q>0?d.mixedAdd(h[q-1>>1]):d.mixedAdd(h[-q-1>>1].neg()):q>0?d.add(h[q-1>>1]):d.add(h[-q-1>>1].neg())}return n.type==="affine"?d.toP():d},c.prototype._wnafMulAdd=function(n,o,s,u,h){var l,d,w,R=this._wnafT1,q=this._wnafT2,A=this._wnafT3,M=0;for(l=0;l<u;l++){var I=(w=o[l])._getNAFPoints(n);R[l]=I.wnd,q[l]=I.points}for(l=u-1;l>=1;l-=2){var $=l-1,S=l;if(R[$]===1&&R[S]===1){var C=[o[$],null,null,o[S]];o[$].y.cmp(o[S].y)===0?(C[1]=o[$].add(o[S]),C[2]=o[$].toJ().mixedAdd(o[S].neg())):o[$].y.cmp(o[S].y.redNeg())===0?(C[1]=o[$].toJ().mixedAdd(o[S]),C[2]=o[$].add(o[S].neg())):(C[1]=o[$].toJ().mixedAdd(o[S]),C[2]=o[$].toJ().mixedAdd(o[S].neg()));var T=[-3,-1,-5,-7,0,7,5,1,3],v=a(s[$],s[S]);for(M=Math.max(v[0].length,M),A[$]=new Array(M),A[S]=new Array(M),d=0;d<M;d++){var B=0|v[0][d],p=0|v[1][d];A[$][d]=T[3*(B+1)+(p+1)],A[S][d]=0,q[$]=C}}else A[$]=i(s[$],R[$],this._bitLength),A[S]=i(s[S],R[S],this._bitLength),M=Math.max(A[$].length,M),M=Math.max(A[S].length,M)}var g=this.jpoint(null,null,null),b=this._wnafT4;for(l=M;l>=0;l--){for(var y=0;l>=0;){var m=!0;for(d=0;d<u;d++)b[d]=0|A[d][l],b[d]!==0&&(m=!1);if(!m)break;y++,l--}if(l>=0&&y++,g=g.dblp(y),l<0)break;for(d=0;d<u;d++){var _=b[d];_!==0&&(_>0?w=q[d][_-1>>1]:_<0&&(w=q[d][-_-1>>1].neg()),g=w.type==="affine"?g.mixedAdd(w):g.add(w))}}for(l=0;l<u;l++)q[l]=null;return h?g:g.toP()},c.BasePoint=f,f.prototype.eq=function(){throw new Error("Not implemented")},f.prototype.validate=function(){return this.curve.validate(this)},c.prototype.decodePoint=function(n,o){n=t.toArray(n,o);var s=this.p.byteLength();if((n[0]===4||n[0]===6||n[0]===7)&&n.length-1==2*s)return n[0]===6?r(n[n.length-1]%2==0):n[0]===7&&r(n[n.length-1]%2==1),this.point(n.slice(1,1+s),n.slice(1+s,1+2*s));if((n[0]===2||n[0]===3)&&n.length-1===s)return this.pointFromX(n.slice(1,1+s),n[0]===3);throw new Error("Unknown point format")},f.prototype.encodeCompressed=function(n){return this.encode(n,!0)},f.prototype._encode=function(n){var o=this.curve.p.byteLength(),s=this.getX().toArray("be",o);return n?[this.getY().isEven()?2:3].concat(s):[4].concat(s,this.getY().toArray("be",o))},f.prototype.encode=function(n,o){return t.encode(this._encode(o),n)},f.prototype.precompute=function(n){if(this.precomputed)return this;var o={doubles:null,naf:null,beta:null};return o.naf=this._getNAFPoints(8),o.doubles=this._getDoubles(4,n),o.beta=this._getBeta(),this.precomputed=o,this},f.prototype._hasDoubles=function(n){if(!this.precomputed)return!1;var o=this.precomputed.doubles;return!!o&&o.points.length>=Math.ceil((n.bitLength()+1)/o.step)},f.prototype._getDoubles=function(n,o){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var s=[this],u=this,h=0;h<o;h+=n){for(var l=0;l<n;l++)u=u.dbl();s.push(u)}return{step:n,points:s}},f.prototype._getNAFPoints=function(n){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var o=[this],s=(1<<n)-1,u=s===1?null:this.dbl(),h=1;h<s;h++)o[h]=o[h-1].add(u);return{wnd:n,points:o}},f.prototype._getBeta=function(){return null},f.prototype.dblp=function(n){for(var o=this,s=0;s<n;s++)o=o.dbl();return o},base$1}function requireShort(){if(hasRequiredShort)return short;hasRequiredShort=1;var e=requireUtils$1(),t=requireBn$1(),i=requireInherits_browser(),a=requireBase$1(),r=e.assert;function c(o){a.call(this,"short",o),this.a=new t(o.a,16).toRed(this.red),this.b=new t(o.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(o),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function f(o,s,u,h){a.BasePoint.call(this,o,"affine"),s===null&&u===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new t(s,16),this.y=new t(u,16),h&&(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 n(o,s,u,h){a.BasePoint.call(this,o,"jacobian"),s===null&&u===null&&h===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new t(0)):(this.x=new t(s,16),this.y=new t(u,16),this.z=new t(h,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 i(c,a),short=c,c.prototype._getEndomorphism=function(o){if(this.zeroA&&this.g&&this.n&&this.p.modn(3)===1){var s,u;if(o.beta)s=new t(o.beta,16).toRed(this.red);else{var h=this._getEndoRoots(this.p);s=(s=h[0].cmp(h[1])<0?h[0]:h[1]).toRed(this.red)}if(o.lambda)u=new t(o.lambda,16);else{var l=this._getEndoRoots(this.n);this.g.mul(l[0]).x.cmp(this.g.x.redMul(s))===0?u=l[0]:(u=l[1],r(this.g.mul(u).x.cmp(this.g.x.redMul(s))===0))}return{beta:s,lambda:u,basis:o.basis?o.basis.map((function(d){return{a:new t(d.a,16),b:new t(d.b,16)}})):this._getEndoBasis(u)}}},c.prototype._getEndoRoots=function(o){var s=o===this.p?this.red:t.mont(o),u=new t(2).toRed(s).redInvm(),h=u.redNeg(),l=new t(3).toRed(s).redNeg().redSqrt().redMul(u);return[h.redAdd(l).fromRed(),h.redSub(l).fromRed()]},c.prototype._getEndoBasis=function(o){for(var s,u,h,l,d,w,R,q,A,M=this.n.ushrn(Math.floor(this.n.bitLength()/2)),I=o,$=this.n.clone(),S=new t(1),C=new t(0),T=new t(0),v=new t(1),B=0;I.cmpn(0)!==0;){var p=$.div(I);q=$.sub(p.mul(I)),A=T.sub(p.mul(S));var g=v.sub(p.mul(C));if(!h&&q.cmp(M)<0)s=R.neg(),u=S,h=q.neg(),l=A;else if(h&&++B==2)break;R=q,$=I,I=q,T=S,S=A,v=C,C=g}d=q.neg(),w=A;var b=h.sqr().add(l.sqr());return d.sqr().add(w.sqr()).cmp(b)>=0&&(d=s,w=u),h.negative&&(h=h.neg(),l=l.neg()),d.negative&&(d=d.neg(),w=w.neg()),[{a:h,b:l},{a:d,b:w}]},c.prototype._endoSplit=function(o){var s=this.endo.basis,u=s[0],h=s[1],l=h.b.mul(o).divRound(this.n),d=u.b.neg().mul(o).divRound(this.n),w=l.mul(u.a),R=d.mul(h.a),q=l.mul(u.b),A=d.mul(h.b);return{k1:o.sub(w).sub(R),k2:q.add(A).neg()}},c.prototype.pointFromX=function(o,s){(o=new t(o,16)).red||(o=o.toRed(this.red));var u=o.redSqr().redMul(o).redIAdd(o.redMul(this.a)).redIAdd(this.b),h=u.redSqrt();if(h.redSqr().redSub(u).cmp(this.zero)!==0)throw new Error("invalid point");var l=h.fromRed().isOdd();return(s&&!l||!s&&l)&&(h=h.redNeg()),this.point(o,h)},c.prototype.validate=function(o){if(o.inf)return!0;var s=o.x,u=o.y,h=this.a.redMul(s),l=s.redSqr().redMul(s).redIAdd(h).redIAdd(this.b);return u.redSqr().redISub(l).cmpn(0)===0},c.prototype._endoWnafMulAdd=function(o,s,u){for(var h=this._endoWnafT1,l=this._endoWnafT2,d=0;d<o.length;d++){var w=this._endoSplit(s[d]),R=o[d],q=R._getBeta();w.k1.negative&&(w.k1.ineg(),R=R.neg(!0)),w.k2.negative&&(w.k2.ineg(),q=q.neg(!0)),h[2*d]=R,h[2*d+1]=q,l[2*d]=w.k1,l[2*d+1]=w.k2}for(var A=this._wnafMulAdd(1,h,l,2*d,u),M=0;M<2*d;M++)h[M]=null,l[M]=null;return A},i(f,a.BasePoint),c.prototype.point=function(o,s,u){return new f(this,o,s,u)},c.prototype.pointFromJSON=function(o,s){return f.fromJSON(this,o,s)},f.prototype._getBeta=function(){if(this.curve.endo){var o=this.precomputed;if(o&&o.beta)return o.beta;var s=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(o){var u=this.curve,h=function(l){return u.point(l.x.redMul(u.endo.beta),l.y)};o.beta=s,s.precomputed={beta:null,naf:o.naf&&{wnd:o.naf.wnd,points:o.naf.points.map(h)},doubles:o.doubles&&{step:o.doubles.step,points:o.doubles.points.map(h)}}}return s}},f.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]},f.fromJSON=function(o,s,u){typeof s=="string"&&(s=JSON.parse(s));var h=o.point(s[0],s[1],u);if(!s[2])return h;function l(w){return o.point(w[0],w[1],u)}var d=s[2];return h.precomputed={beta:null,doubles:d.doubles&&{step:d.doubles.step,points:[h].concat(d.doubles.points.map(l))},naf:d.naf&&{wnd:d.naf.wnd,points:[h].concat(d.naf.points.map(l))}},h},f.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)+">"},f.prototype.isInfinity=function(){return this.inf},f.prototype.add=function(o){if(this.inf)return o;if(o.inf)return this;if(this.eq(o))return this.dbl();if(this.neg().eq(o))return this.curve.point(null,null);if(this.x.cmp(o.x)===0)return this.curve.point(null,null);var s=this.y.redSub(o.y);s.cmpn(0)!==0&&(s=s.redMul(this.x.redSub(o.x).redInvm()));var u=s.redSqr().redISub(this.x).redISub(o.x),h=s.redMul(this.x.redSub(u)).redISub(this.y);return this.curve.point(u,h)},f.prototype.dbl=function(){if(this.inf)return this;var o=this.y.redAdd(this.y);if(o.cmpn(0)===0)return this.curve.point(null,null);var s=this.curve.a,u=this.x.redSqr(),h=o.redInvm(),l=u.redAdd(u).redIAdd(u).redIAdd(s).redMul(h),d=l.redSqr().redISub(this.x.redAdd(this.x)),w=l.redMul(this.x.redSub(d)).redISub(this.y);return this.curve.point(d,w)},f.prototype.getX=function(){return this.x.fromRed()},f.prototype.getY=function(){return this.y.fromRed()},f.prototype.mul=function(o){return o=new t(o,16),this.isInfinity()?this:this._hasDoubles(o)?this.curve._fixedNafMul(this,o):this.curve.endo?this.curve._endoWnafMulAdd([this],[o]):this.curve._wnafMul(this,o)},f.prototype.mulAdd=function(o,s,u){var h=[this,s],l=[o,u];return this.curve.endo?this.curve._endoWnafMulAdd(h,l):this.curve._wnafMulAdd(1,h,l,2)},f.prototype.jmulAdd=function(o,s,u){var h=[this,s],l=[o,u];return this.curve.endo?this.curve._endoWnafMulAdd(h,l,!0):this.curve._wnafMulAdd(1,h,l,2,!0)},f.prototype.eq=function(o){return this===o||this.inf===o.inf&&(this.inf||this.x.cmp(o.x)===0&&this.y.cmp(o.y)===0)},f.prototype.neg=function(o){if(this.inf)return this;var s=this.curve.point(this.x,this.y.redNeg());if(o&&this.precomputed){var u=this.precomputed,h=function(l){return l.neg()};s.precomputed={naf:u.naf&&{wnd:u.naf.wnd,points:u.naf.points.map(h)},doubles:u.doubles&&{step:u.doubles.step,points:u.doubles.points.map(h)}}}return s},f.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},i(n,a.BasePoint),c.prototype.jpoint=function(o,s,u){return new n(this,o,s,u)},n.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var o=this.z.redInvm(),s=o.redSqr(),u=this.x.redMul(s),h=this.y.redMul(s).redMul(o);return this.curve.point(u,h)},n.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},n.prototype.add=function(o){if(this.isInfinity())return o;if(o.isInfinity())return this;var s=o.z.redSqr(),u=this.z.redSqr(),h=this.x.redMul(s),l=o.x.redMul(u),d=this.y.redMul(s.redMul(o.z)),w=o.y.redMul(u.redMul(this.z)),R=h.redSub(l),q=d.redSub(w);if(R.cmpn(0)===0)return q.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var A=R.redSqr(),M=A.redMul(R),I=h.redMul(A),$=q.redSqr().redIAdd(M).redISub(I).redISub(I),S=q.redMul(I.redISub($)).redISub(d.redMul(M)),C=this.z.redMul(o.z).redMul(R);return this.curve.jpoint($,S,C)},n.prototype.mixedAdd=function(o){if(this.isInfinity())return o.toJ();if(o.isInfinity())return this;var s=this.z.redSqr(),u=this.x,h=o.x.redMul(s),l=this.y,d=o.y.redMul(s).redMul(this.z),w=u.redSub(h),R=l.redSub(d);if(w.cmpn(0)===0)return R.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var q=w.redSqr(),A=q.redMul(w),M=u.redMul(q),I=R.redSqr().redIAdd(A).redISub(M).redISub(M),$=R.redMul(M.redISub(I)).redISub(l.redMul(A)),S=this.z.redMul(w);return this.curve.jpoint(I,$,S)},n.prototype.dblp=function(o){if(o===0)return this;if(this.isInfinity())return this;if(!o)return this.dbl();var s;if(this.curve.zeroA||this.curve.threeA){var u=this;for(s=0;s<o;s++)u=u.dbl();return u}var h=this.curve.a,l=this.curve.tinv,d=this.x,w=this.y,R=this.z,q=R.redSqr().redSqr(),A=w.redAdd(w);for(s=0;s<o;s++){var M=d.redSqr(),I=A.redSqr(),$=I.redSqr(),S=M.redAdd(M).redIAdd(M).redIAdd(h.redMul(q)),C=d.redMul(I),T=S.redSqr().redISub(C.redAdd(C)),v=C.redISub(T),B=S.redMul(v);B=B.redIAdd(B).redISub($);var p=A.redMul(R);s+1<o&&(q=q.redMul($)),d=T,R=p,A=B}return this.curve.jpoint(d,A.redMul(l),R)},n.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},n.prototype._zeroDbl=function(){var o,s,u;if(this.zOne){var h=this.x.redSqr(),l=this.y.redSqr(),d=l.redSqr(),w=this.x.redAdd(l).redSqr().redISub(h).redISub(d);w=w.redIAdd(w);var R=h.redAdd(h).redIAdd(h),q=R.redSqr().redISub(w).redISub(w),A=d.redIAdd(d);A=(A=A.redIAdd(A)).redIAdd(A),o=q,s=R.redMul(w.redISub(q)).redISub(A),u=this.y.redAdd(this.y)}else{var M=this.x.redSqr(),I=this.y.redSqr(),$=I.redSqr(),S=this.x.redAdd(I).redSqr().redISub(M).redISub($);S=S.redIAdd(S);var C=M.redAdd(M).redIAdd(M),T=C.redSqr(),v=$.redIAdd($);v=(v=v.redIAdd(v)).redIAdd(v),o=T.redISub(S).redISub(S),s=C.redMul(S.redISub(o)).redISub(v),u=(u=this.y.redMul(this.z)).redIAdd(u)}return this.curve.jpoint(o,s,u)},n.prototype._threeDbl=function(){var o,s,u;if(this.zOne){var h=this.x.redSqr(),l=this.y.redSqr(),d=l.redSqr(),w=this.x.redAdd(l).redSqr().redISub(h).redISub(d);w=w.redIAdd(w);var R=h.redAdd(h).redIAdd(h).redIAdd(this.curve.a),q=R.redSqr().redISub(w).redISub(w);o=q;var A=d.redIAdd(d);A=(A=A.redIAdd(A)).redIAdd(A),s=R.redMul(w.redISub(q)).redISub(A),u=this.y.redAdd(this.y)}else{var M=this.z.redSqr(),I=this.y.redSqr(),$=this.x.redMul(I),S=this.x.redSub(M).redMul(this.x.redAdd(M));S=S.redAdd(S).redIAdd(S);var C=$.redIAdd($),T=(C=C.redIAdd(C)).redAdd(C);o=S.redSqr().redISub(T),u=this.y.redAdd(this.z).redSqr().redISub(I).redISub(M);var v=I.redSqr();v=(v=(v=v.redIAdd(v)).redIAdd(v)).redIAdd(v),s=S.redMul(C.redISub(o)).redISub(v)}return this.curve.jpoint(o,s,u)},n.prototype._dbl=function(){var o=this.curve.a,s=this.x,u=this.y,h=this.z,l=h.redSqr().redSqr(),d=s.redSqr(),w=u.redSqr(),R=d.redAdd(d).redIAdd(d).redIAdd(o.redMul(l)),q=s.redAdd(s),A=(q=q.redIAdd(q)).redMul(w),M=R.redSqr().redISub(A.redAdd(A)),I=A.redISub(M),$=w.redSqr();$=($=($=$.redIAdd($)).redIAdd($)).redIAdd($);var S=R.redMul(I).redISub($),C=u.redAdd(u).redMul(h);return this.curve.jpoint(M,S,C)},n.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var o=this.x.redSqr(),s=this.y.redSqr(),u=this.z.redSqr(),h=s.redSqr(),l=o.redAdd(o).redIAdd(o),d=l.redSqr(),w=this.x.redAdd(s).redSqr().redISub(o).redISub(h),R=(w=(w=(w=w.redIAdd(w)).redAdd(w).redIAdd(w)).redISub(d)).redSqr(),q=h.redIAdd(h);q=(q=(q=q.redIAdd(q)).redIAdd(q)).redIAdd(q);var A=l.redIAdd(w).redSqr().redISub(d).redISub(R).redISub(q),M=s.redMul(A);M=(M=M.redIAdd(M)).redIAdd(M);var I=this.x.redMul(R).redISub(M);I=(I=I.redIAdd(I)).redIAdd(I);var $=this.y.redMul(A.redMul(q.redISub(A)).redISub(w.redMul(R)));$=($=($=$.redIAdd($)).redIAdd($)).redIAdd($);var S=this.z.redAdd(w).redSqr().redISub(u).redISub(R);return this.curve.jpoint(I,$,S)},n.prototype.mul=function(o,s){return o=new t(o,s),this.curve._wnafMul(this,o)},n.prototype.eq=function(o){if(o.type==="affine")return this.eq(o.toJ());if(this===o)return!0;var s=this.z.redSqr(),u=o.z.redSqr();if(this.x.redMul(u).redISub(o.x.redMul(s)).cmpn(0)!==0)return!1;var h=s.redMul(this.z),l=u.redMul(o.z);return this.y.redMul(l).redISub(o.y.redMul(h)).cmpn(0)===0},n.prototype.eqXToP=function(o){var s=this.z.redSqr(),u=o.toRed(this.curve.red).redMul(s);if(this.x.cmp(u)===0)return!0;for(var h=o.clone(),l=this.curve.redN.redMul(s);;){if(h.iadd(this.curve.n),h.cmp(this.curve.p)>=0)return!1;if(u.redIAdd(l),this.x.cmp(u)===0)return!0}},n.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)+">"},n.prototype.isInfinity=function(){return this.z.cmpn(0)===0},short}function requireMont(){if(hasRequiredMont)return mont;hasRequiredMont=1;var e=requireBn$1(),t=requireInherits_browser(),i=requireBase$1(),a=requireUtils$1();function r(f){i.call(this,"mont",f),this.a=new e(f.a,16).toRed(this.red),this.b=new e(f.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 c(f,n,o){i.BasePoint.call(this,f,"projective"),n===null&&o===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new e(n,16),this.z=new e(o,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}return t(r,i),mont=r,r.prototype.validate=function(f){var n=f.normalize().x,o=n.redSqr(),s=o.redMul(n).redAdd(o.redMul(this.a)).redAdd(n);return s.redSqrt().redSqr().cmp(s)===0},t(c,i.BasePoint),r.prototype.decodePoint=function(f,n){return this.point(a.toArray(f,n),1)},r.prototype.point=function(f,n){return new c(this,f,n)},r.prototype.pointFromJSON=function(f){return c.fromJSON(this,f)},c.prototype.precompute=function(){},c.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},c.fromJSON=function(f,n){return new c(f,n[0],n[1]||f.one)},c.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)+">"},c.prototype.isInfinity=function(){return this.z.cmpn(0)===0},c.prototype.dbl=function(){var f=this.x.redAdd(this.z).redSqr(),n=this.x.redSub(this.z).redSqr(),o=f.redSub(n),s=f.redMul(n),u=o.redMul(n.redAdd(this.curve.a24.redMul(o)));return this.curve.point(s,u)},c.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.diffAdd=function(f,n){var o=this.x.redAdd(this.z),s=this.x.redSub(this.z),u=f.x.redAdd(f.z),h=f.x.redSub(f.z).redMul(o),l=u.redMul(s),d=n.z.redMul(h.redAdd(l).redSqr()),w=n.x.redMul(h.redISub(l).redSqr());return this.curve.point(d,w)},c.prototype.mul=function(f){for(var n=f.clone(),o=this,s=this.curve.point(null,null),u=[];n.cmpn(0)!==0;n.iushrn(1))u.push(n.andln(1));for(var h=u.length-1;h>=0;h--)u[h]===0?(o=o.diffAdd(s,this),s=s.dbl()):(s=o.diffAdd(s,this),o=o.dbl());return s},c.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.eq=function(f){return this.getX().cmp(f.getX())===0},c.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()},mont}function requireEdwards(){if(hasRequiredEdwards)return edwards;hasRequiredEdwards=1;var e=requireUtils$1(),t=requireBn$1(),i=requireInherits_browser(),a=requireBase$1(),r=e.assert;function c(n){this.twisted=(0|n.a)!=1,this.mOneA=this.twisted&&(0|n.a)==-1,this.extended=this.mOneA,a.call(this,"edwards",n),this.a=new t(n.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new t(n.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new t(n.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),r(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(0|n.c)==1}function f(n,o,s,u,h){a.BasePoint.call(this,n,"projective"),o===null&&s===null&&u===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 t(o,16),this.y=new t(s,16),this.z=u?new t(u,16):this.curve.one,this.t=h&&new t(h,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 i(c,a),edwards=c,c.prototype._mulA=function(n){return this.mOneA?n.redNeg():this.a.redMul(n)},c.prototype._mulC=function(n){return this.oneC?n:this.c.redMul(n)},c.prototype.jpoint=function(n,o,s,u){return this.point(n,o,s,u)},c.prototype.pointFromX=function(n,o){(n=new t(n,16)).red||(n=n.toRed(this.red));var s=n.redSqr(),u=this.c2.redSub(this.a.redMul(s)),h=this.one.redSub(this.c2.redMul(this.d).redMul(s)),l=u.redMul(h.redInvm()),d=l.redSqrt();if(d.redSqr().redSub(l).cmp(this.zero)!==0)throw new Error("invalid point");var w=d.fromRed().isOdd();return(o&&!w||!o&&w)&&(d=d.redNeg()),this.point(n,d)},c.prototype.pointFromY=function(n,o){(n=new t(n,16)).red||(n=n.toRed(this.red));var s=n.redSqr(),u=s.redSub(this.c2),h=s.redMul(this.d).redMul(this.c2).redSub(this.a),l=u.redMul(h.redInvm());if(l.cmp(this.zero)===0){if(o)throw new Error("invalid point");return this.point(this.zero,n)}var d=l.redSqrt();if(d.redSqr().redSub(l).cmp(this.zero)!==0)throw new Error("invalid point");return d.fromRed().isOdd()!==o&&(d=d.redNeg()),this.point(d,n)},c.prototype.validate=function(n){if(n.isInfinity())return!0;n.normalize();var o=n.x.redSqr(),s=n.y.redSqr(),u=o.redMul(this.a).redAdd(s),h=this.c2.redMul(this.one.redAdd(this.d.redMul(o).redMul(s)));return u.cmp(h)===0},i(f,a.BasePoint),c.prototype.pointFromJSON=function(n){return f.fromJSON(this,n)},c.prototype.point=function(n,o,s,u){return new f(this,n,o,s,u)},f.fromJSON=function(n,o){return new f(n,o[0],o[1],o[2])},f.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)+">"},f.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)},f.prototype._extDbl=function(){var n=this.x.redSqr(),o=this.y.redSqr(),s=this.z.redSqr();s=s.redIAdd(s);var u=this.curve._mulA(n),h=this.x.redAdd(this.y).redSqr().redISub(n).redISub(o),l=u.redAdd(o),d=l.redSub(s),w=u.redSub(o),R=h.redMul(d),q=l.redMul(w),A=h.redMul(w),M=d.redMul(l);return this.curve.point(R,q,M,A)},f.prototype._projDbl=function(){var n,o,s,u,h,l,d=this.x.redAdd(this.y).redSqr(),w=this.x.redSqr(),R=this.y.redSqr();if(this.curve.twisted){var q=(u=this.curve._mulA(w)).redAdd(R);this.zOne?(n=d.redSub(w).redSub(R).redMul(q.redSub(this.curve.two)),o=q.redMul(u.redSub(R)),s=q.redSqr().redSub(q).redSub(q)):(h=this.z.redSqr(),l=q.redSub(h).redISub(h),n=d.redSub(w).redISub(R).redMul(l),o=q.redMul(u.redSub(R)),s=q.redMul(l))}else u=w.redAdd(R),h=this.curve._mulC(this.z).redSqr(),l=u.redSub(h).redSub(h),n=this.curve._mulC(d.redISub(u)).redMul(l),o=this.curve._mulC(u).redMul(w.redISub(R)),s=u.redMul(l);return this.curve.point(n,o,s)},f.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},f.prototype._extAdd=function(n){var o=this.y.redSub(this.x).redMul(n.y.redSub(n.x)),s=this.y.redAdd(this.x).redMul(n.y.redAdd(n.x)),u=this.t.redMul(this.curve.dd).redMul(n.t),h=this.z.redMul(n.z.redAdd(n.z)),l=s.redSub(o),d=h.redSub(u),w=h.redAdd(u),R=s.redAdd(o),q=l.redMul(d),A=w.redMul(R),M=l.redMul(R),I=d.redMul(w);return this.curve.point(q,A,I,M)},f.prototype._projAdd=function(n){var o,s,u=this.z.redMul(n.z),h=u.redSqr(),l=this.x.redMul(n.x),d=this.y.redMul(n.y),w=this.curve.d.redMul(l).redMul(d),R=h.redSub(w),q=h.redAdd(w),A=this.x.redAdd(this.y).redMul(n.x.redAdd(n.y)).redISub(l).redISub(d),M=u.redMul(R).redMul(A);return this.curve.twisted?(o=u.redMul(q).redMul(d.redSub(this.curve._mulA(l))),s=R.redMul(q)):(o=u.redMul(q).redMul(d.redSub(l)),s=this.curve._mulC(R).redMul(q)),this.curve.point(M,o,s)},f.prototype.add=function(n){return this.isInfinity()?n:n.isInfinity()?this:this.curve.extended?this._extAdd(n):this._projAdd(n)},f.prototype.mul=function(n){return this._hasDoubles(n)?this.curve._fixedNafMul(this,n):this.curve._wnafMul(this,n)},f.prototype.mulAdd=function(n,o,s){return this.curve._wnafMulAdd(1,[this,o],[n,s],2,!1)},f.prototype.jmulAdd=function(n,o,s){return this.curve._wnafMulAdd(1,[this,o],[n,s],2,!0)},f.prototype.normalize=function(){if(this.zOne)return this;var n=this.z.redInvm();return this.x=this.x.redMul(n),this.y=this.y.redMul(n),this.t&&(this.t=this.t.redMul(n)),this.z=this.curve.one,this.zOne=!0,this},f.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},f.prototype.getX=function(){return this.normalize(),this.x.fromRed()},f.prototype.getY=function(){return this.normalize(),this.y.fromRed()},f.prototype.eq=function(n){return this===n||this.getX().cmp(n.getX())===0&&this.getY().cmp(n.getY())===0},f.prototype.eqXToP=function(n){var o=n.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(o)===0)return!0;for(var s=n.clone(),u=this.curve.redN.redMul(this.z);;){if(s.iadd(this.curve.n),s.cmp(this.curve.p)>=0)return!1;if(o.redIAdd(u),this.x.cmp(o)===0)return!0}},f.prototype.toP=f.prototype.normalize,f.prototype.mixedAdd=f.prototype.add,edwards}function requireCurve(){return hasRequiredCurve||(hasRequiredCurve=1,(function(e){var t=e;t.base=requireBase$1(),t.short=requireShort(),t.mont=requireMont(),t.edwards=requireEdwards()})(curve)),curve}var curves={},hash={},utils={},hasRequiredUtils;function requireUtils(){if(hasRequiredUtils)return utils;hasRequiredUtils=1;var e=requireMinimalisticAssert(),t=requireInherits_browser();function i(f,n){return(64512&f.charCodeAt(n))==55296&&!(n<0||n+1>=f.length)&&(64512&f.charCodeAt(n+1))==56320}function a(f){return(f>>>24|f>>>8&65280|f<<8&16711680|(255&f)<<24)>>>0}function r(f){return f.length===1?"0"+f:f}function c(f){return f.length===7?"0"+f:f.length===6?"00"+f:f.length===5?"000"+f:f.length===4?"0000"+f:f.length===3?"00000"+f:f.length===2?"000000"+f:f.length===1?"0000000"+f:f}return utils.inherits=t,utils.toArray=function(f,n){if(Array.isArray(f))return f.slice();if(!f)return[];var o=[];if(typeof f=="string")if(n){if(n==="hex")for((f=f.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(f="0"+f),u=0;u<f.length;u+=2)o.push(parseInt(f[u]+f[u+1],16))}else for(var s=0,u=0;u<f.length;u++){var h=f.charCodeAt(u);h<128?o[s++]=h:h<2048?(o[s++]=h>>6|192,o[s++]=63&h|128):i(f,u)?(h=65536+((1023&h)<<10)+(1023&f.charCodeAt(++u)),o[s++]=h>>18|240,o[s++]=h>>12&63|128,o[s++]=h>>6&63|128,o[s++]=63&h|128):(o[s++]=h>>12|224,o[s++]=h>>6&63|128,o[s++]=63&h|128)}else for(u=0;u<f.length;u++)o[u]=0|f[u];return o},utils.toHex=function(f){for(var n="",o=0;o<f.length;o++)n+=r(f[o].toString(16));return n},utils.htonl=a,utils.toHex32=function(f,n){for(var o="",s=0;s<f.length;s++){var u=f[s];n==="little"&&(u=a(u)),o+=c(u.toString(16))}return o},utils.zero2=r,utils.zero8=c,utils.join32=function(f,n,o,s){var u=o-n;e(u%4==0);for(var h=new Array(u/4),l=0,d=n;l<h.length;l++,d+=4){var w;w=s==="big"?f[d]<<24|f[d+1]<<16|f[d+2]<<8|f[d+3]:f[d+3]<<24|f[d+2]<<16|f[d+1]<<8|f[d],h[l]=w>>>0}return h},utils.split32=function(f,n){for(var o=new Array(4*f.length),s=0,u=0;s<f.length;s++,u+=4){var h=f[s];n==="big"?(o[u]=h>>>24,o[u+1]=h>>>16&255,o[u+2]=h>>>8&255,o[u+3]=255&h):(o[u+3]=h>>>24,o[u+2]=h>>>16&255,o[u+1]=h>>>8&255,o[u]=255&h)}return o},utils.rotr32=function(f,n){return f>>>n|f<<32-n},utils.rotl32=function(f,n){return f<<n|f>>>32-n},utils.sum32=function(f,n){return f+n>>>0},utils.sum32_3=function(f,n,o){return f+n+o>>>0},utils.sum32_4=function(f,n,o,s){return f+n+o+s>>>0},utils.sum32_5=function(f,n,o,s,u){return f+n+o+s+u>>>0},utils.sum64=function(f,n,o,s){var u=f[n],h=s+f[n+1]>>>0,l=(h<s?1:0)+o+u;f[n]=l>>>0,f[n+1]=h},utils.sum64_hi=function(f,n,o,s){return(n+s>>>0<n?1:0)+f+o>>>0},utils.sum64_lo=function(f,n,o,s){return n+s>>>0},utils.sum64_4_hi=function(f,n,o,s,u,h,l,d){var w=0,R=n;return w+=(R=R+s>>>0)<n?1:0,w+=(R=R+h>>>0)<h?1:0,f+o+u+l+(w+=(R=R+d>>>0)<d?1:0)>>>0},utils.sum64_4_lo=function(f,n,o,s,u,h,l,d){return n+s+h+d>>>0},utils.sum64_5_hi=function(f,n,o,s,u,h,l,d,w,R){var q=0,A=n;return q+=(A=A+s>>>0)<n?1:0,q+=(A=A+h>>>0)<h?1:0,q+=(A=A+d>>>0)<d?1:0,f+o+u+l+w+(q+=(A=A+R>>>0)<R?1:0)>>>0},utils.sum64_5_lo=function(f,n,o,s,u,h,l,d,w,R){return n+s+h+d+R>>>0},utils.rotr64_hi=function(f,n,o){return(n<<32-o|f>>>o)>>>0},utils.rotr64_lo=function(f,n,o){return(f<<32-o|n>>>o)>>>0},utils.shr64_hi=function(f,n,o){return f>>>o},utils.shr64_lo=function(f,n,o){return(f<<32-o|n>>>o)>>>0},utils}var common$1={},hasRequiredCommon$1;function requireCommon$1(){if(hasRequiredCommon$1)return common$1;hasRequiredCommon$1=1;var e=requireUtils(),t=requireMinimalisticAssert();function i(){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=i,i.prototype.update=function(a,r){if(a=e.toArray(a,r),this.pending?this.pending=this.pending.concat(a):this.pending=a,this.pendingTotal+=a.length,this.pending.length>=this._delta8){var c=(a=this.pending).length%this._delta8;this.pending=a.slice(a.length-c,a.length),this.pending.length===0&&(this.pending=null),a=e.join32(a,0,a.length-c,this.endian);for(var f=0;f<a.length;f+=this._delta32)this._update(a,f,f+this._delta32)}return this},i.prototype.digest=function(a){return this.update(this._pad()),t(this.pending===null),this._digest(a)},i.prototype._pad=function(){var a=this.pendingTotal,r=this._delta8,c=r-(a+this.padLength)%r,f=new Array(c+this.padLength);f[0]=128;for(var n=1;n<c;n++)f[n]=0;if(a<<=3,this.endian==="big"){for(var o=8;o<this.padLength;o++)f[n++]=0;f[n++]=0,f[n++]=0,f[n++]=0,f[n++]=0,f[n++]=a>>>24&255,f[n++]=a>>>16&255,f[n++]=a>>>8&255,f[n++]=255&a}else for(f[n++]=255&a,f[n++]=a>>>8&255,f[n++]=a>>>16&255,f[n++]=a>>>24&255,f[n++]=0,f[n++]=0,f[n++]=0,f[n++]=0,o=8;o<this.padLength;o++)f[n++]=0;return f},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 t(r,c,f){return r&c^~r&f}function i(r,c,f){return r&c^r&f^c&f}function a(r,c,f){return r^c^f}return common.ft_1=function(r,c,f,n){return r===0?t(c,f,n):r===1||r===3?a(c,f,n):r===2?i(c,f,n):void 0},common.ch32=t,common.maj32=i,common.p32=a,common.s0_256=function(r){return e(r,2)^e(r,13)^e(r,22)},common.s1_256=function(r){return e(r,6)^e(r,11)^e(r,25)},common.g0_256=function(r){return e(r,7)^e(r,18)^r>>>3},common.g1_256=function(r){return e(r,17)^e(r,19)^r>>>10},common}function require_1(){if(hasRequired_1)return _1;hasRequired_1=1;var e=requireUtils(),t=requireCommon$1(),i=requireCommon(),a=e.rotl32,r=e.sum32,c=e.sum32_5,f=i.ft_1,n=t.BlockHash,o=[1518500249,1859775393,2400959708,3395469782];function s(){if(!(this instanceof s))return new s;n.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}return e.inherits(s,n),_1=s,s.blockSize=512,s.outSize=160,s.hmacStrength=80,s.padLength=64,s.prototype._update=function(u,h){for(var l=this.W,d=0;d<16;d++)l[d]=u[h+d];for(;d<l.length;d++)l[d]=a(l[d-3]^l[d-8]^l[d-14]^l[d-16],1);var w=this.h[0],R=this.h[1],q=this.h[2],A=this.h[3],M=this.h[4];for(d=0;d<l.length;d++){var I=~~(d/20),$=c(a(w,5),f(I,R,q,A),M,l[d],o[I]);M=A,A=q,q=a(R,30),R=w,w=$}this.h[0]=r(this.h[0],w),this.h[1]=r(this.h[1],R),this.h[2]=r(this.h[2],q),this.h[3]=r(this.h[3],A),this.h[4]=r(this.h[4],M)},s.prototype._digest=function(u){return u==="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(),t=requireCommon$1(),i=requireCommon(),a=requireMinimalisticAssert(),r=e.sum32,c=e.sum32_4,f=e.sum32_5,n=i.ch32,o=i.maj32,s=i.s0_256,u=i.s1_256,h=i.g0_256,l=i.g1_256,d=t.BlockHash,w=[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 R(){if(!(this instanceof R))return new R;d.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=w,this.W=new Array(64)}return e.inherits(R,d),_256=R,R.blockSize=512,R.outSize=256,R.hmacStrength=192,R.padLength=64,R.prototype._update=function(q,A){for(var M=this.W,I=0;I<16;I++)M[I]=q[A+I];for(;I<M.length;I++)M[I]=c(l(M[I-2]),M[I-7],h(M[I-15]),M[I-16]);var $=this.h[0],S=this.h[1],C=this.h[2],T=this.h[3],v=this.h[4],B=this.h[5],p=this.h[6],g=this.h[7];for(a(this.k.length===M.length),I=0;I<M.length;I++){var b=f(g,u(v),n(v,B,p),this.k[I],M[I]),y=r(s($),o($,S,C));g=p,p=B,B=v,v=r(T,b),T=C,C=S,S=$,$=r(b,y)}this.h[0]=r(this.h[0],$),this.h[1]=r(this.h[1],S),this.h[2]=r(this.h[2],C),this.h[3]=r(this.h[3],T),this.h[4]=r(this.h[4],v),this.h[5]=r(this.h[5],B),this.h[6]=r(this.h[6],p),this.h[7]=r(this.h[7],g)},R.prototype._digest=function(q){return q==="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(),t=require_256();function i(){if(!(this instanceof i))return new i;t.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}return e.inherits(i,t),_224=i,i.blockSize=512,i.outSize=224,i.hmacStrength=192,i.padLength=64,i.prototype._digest=function(a){return a==="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(),t=requireCommon$1(),i=requireMinimalisticAssert(),a=e.rotr64_hi,r=e.rotr64_lo,c=e.shr64_hi,f=e.shr64_lo,n=e.sum64,o=e.sum64_hi,s=e.sum64_lo,u=e.sum64_4_hi,h=e.sum64_4_lo,l=e.sum64_5_hi,d=e.sum64_5_lo,w=t.BlockHash,R=[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 q(){if(!(this instanceof q))return new q;w.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=R,this.W=new Array(160)}function A(y,m,_,k,O){var F=y&_^~y&O;return F<0&&(F+=4294967296),F}function M(y,m,_,k,O,F){var j=m&k^~m&F;return j<0&&(j+=4294967296),j}function I(y,m,_,k,O){var F=y&_^y&O^_&O;return F<0&&(F+=4294967296),F}function $(y,m,_,k,O,F){var j=m&k^m&F^k&F;return j<0&&(j+=4294967296),j}function S(y,m){var _=a(y,m,28)^a(m,y,2)^a(m,y,7);return _<0&&(_+=4294967296),_}function C(y,m){var _=r(y,m,28)^r(m,y,2)^r(m,y,7);return _<0&&(_+=4294967296),_}function T(y,m){var _=a(y,m,14)^a(y,m,18)^a(m,y,9);return _<0&&(_+=4294967296),_}function v(y,m){var _=r(y,m,14)^r(y,m,18)^r(m,y,9);return _<0&&(_+=4294967296),_}function B(y,m){var _=a(y,m,1)^a(y,m,8)^c(y,m,7);return _<0&&(_+=4294967296),_}function p(y,m){var _=r(y,m,1)^r(y,m,8)^f(y,m,7);return _<0&&(_+=4294967296),_}function g(y,m){var _=a(y,m,19)^a(m,y,29)^c(y,m,6);return _<0&&(_+=4294967296),_}function b(y,m){var _=r(y,m,19)^r(m,y,29)^f(y,m,6);return _<0&&(_+=4294967296),_}return e.inherits(q,w),_512=q,q.blockSize=1024,q.outSize=512,q.hmacStrength=192,q.padLength=128,q.prototype._prepareBlock=function(y,m){for(var _=this.W,k=0;k<32;k++)_[k]=y[m+k];for(;k<_.length;k+=2){var O=g(_[k-4],_[k-3]),F=b(_[k-4],_[k-3]),j=_[k-14],N=_[k-13],U=B(_[k-30],_[k-29]),P=p(_[k-30],_[k-29]),D=_[k-32],G=_[k-31];_[k]=u(O,F,j,N,U,P,D,G),_[k+1]=h(O,F,j,N,U,P,D,G)}},q.prototype._update=function(y,m){this._prepareBlock(y,m);var _=this.W,k=this.h[0],O=this.h[1],F=this.h[2],j=this.h[3],N=this.h[4],U=this.h[5],P=this.h[6],D=this.h[7],G=this.h[8],K=this.h[9],ee=this.h[10],J=this.h[11],V=this.h[12],Q=this.h[13],X=this.h[14],Z=this.h[15];i(this.k.length===_.length);for(var ae=0;ae<_.length;ae+=2){var pe=X,ie=Z,be=T(G,K),oe=v(G,K),re=A(G,K,ee,J,V),de=M(G,K,ee,J,V,Q),ye=this.k[ae],se=this.k[ae+1],le=_[ae],Re=_[ae+1],ue=l(pe,ie,be,oe,re,de,ye,se,le,Re),qe=d(pe,ie,be,oe,re,de,ye,se,le,Re);pe=S(k,O),ie=C(k,O),be=I(k,O,F,j,N),oe=$(k,O,F,j,N,U);var $e=o(pe,ie,be,oe),fe=s(pe,ie,be,oe);X=V,Z=Q,V=ee,Q=J,ee=G,J=K,G=o(P,D,ue,qe),K=s(D,D,ue,qe),P=N,D=U,N=F,U=j,F=k,j=O,k=o(ue,qe,$e,fe),O=s(ue,qe,$e,fe)}n(this.h,0,k,O),n(this.h,2,F,j),n(this.h,4,N,U),n(this.h,6,P,D),n(this.h,8,G,K),n(this.h,10,ee,J),n(this.h,12,V,Q),n(this.h,14,X,Z)},q.prototype._digest=function(y){return y==="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(),t=require_512();function i(){if(!(this instanceof i))return new i;t.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}return e.inherits(i,t),_384=i,i.blockSize=1024,i.outSize=384,i.hmacStrength=192,i.padLength=128,i.prototype._digest=function(a){return a==="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(),t=requireCommon$1(),i=e.rotl32,a=e.sum32,r=e.sum32_3,c=e.sum32_4,f=t.BlockHash;function n(){if(!(this instanceof n))return new n;f.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function o(R,q,A,M){return R<=15?q^A^M:R<=31?q&A|~q&M:R<=47?(q|~A)^M:R<=63?q&M|A&~M:q^(A|~M)}function s(R){return R<=15?0:R<=31?1518500249:R<=47?1859775393:R<=63?2400959708:2840853838}function u(R){return R<=15?1352829926:R<=31?1548603684:R<=47?1836072691:R<=63?2053994217:0}e.inherits(n,f),ripemd.ripemd160=n,n.blockSize=512,n.outSize=160,n.hmacStrength=192,n.padLength=64,n.prototype._update=function(R,q){for(var A=this.h[0],M=this.h[1],I=this.h[2],$=this.h[3],S=this.h[4],C=A,T=M,v=I,B=$,p=S,g=0;g<80;g++){var b=a(i(c(A,o(g,M,I,$),R[h[g]+q],s(g)),d[g]),S);A=S,S=$,$=i(I,10),I=M,M=b,b=a(i(c(C,o(79-g,T,v,B),R[l[g]+q],u(g)),w[g]),p),C=p,p=B,B=i(v,10),v=T,T=b}b=r(this.h[1],I,B),this.h[1]=r(this.h[2],$,p),this.h[2]=r(this.h[3],S,C),this.h[3]=r(this.h[4],A,T),this.h[4]=r(this.h[0],M,v),this.h[0]=b},n.prototype._digest=function(R){return R==="hex"?e.toHex32(this.h,"little"):e.split32(this.h,"little")};var h=[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],w=[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(),t=requireMinimalisticAssert();function i(a,r,c){if(!(this instanceof i))return new i(a,r,c);this.Hash=a,this.blockSize=a.blockSize/8,this.outSize=a.outSize/8,this.inner=null,this.outer=null,this._init(e.toArray(r,c))}return hmac$2=i,i.prototype._init=function(a){a.length>this.blockSize&&(a=new this.Hash().update(a).digest()),t(a.length<=this.blockSize);for(var r=a.length;r<this.blockSize;r++)a.push(0);for(r=0;r<a.length;r++)a[r]^=54;for(this.inner=new this.Hash().update(a),r=0;r<a.length;r++)a[r]^=106;this.outer=new this.Hash().update(a)},i.prototype.update=function(a,r){return this.inner.update(a,r),this},i.prototype.digest=function(a){return this.outer.update(this.inner.digest()),this.outer.digest(a)},hmac$2}function requireHash(){return hasRequiredHash||(hasRequiredHash=1,(function(e){var t=e;t.utils=requireUtils(),t.common=requireCommon$1(),t.sha=requireSha(),t.ripemd=requireRipemd(),t.hmac=requireHmac$1(),t.sha1=t.sha.sha1,t.sha256=t.sha.sha256,t.sha224=t.sha.sha224,t.sha384=t.sha.sha384,t.sha512=t.sha.sha512,t.ripemd160=t.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 t,i=e,a=requireHash(),r=requireCurve(),c=requireUtils$1().assert;function f(o){o.type==="short"?this.curve=new r.short(o):o.type==="edwards"?this.curve=new r.edwards(o):this.curve=new r.mont(o),this.g=this.curve.g,this.n=this.curve.n,this.hash=o.hash,c(this.g.validate(),"Invalid curve"),c(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function n(o,s){Object.defineProperty(i,o,{configurable:!0,enumerable:!0,get:function(){var u=new f(s);return Object.defineProperty(i,o,{configurable:!0,enumerable:!0,value:u}),u}})}i.PresetCurve=f,n("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:a.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),n("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:a.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),n("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:a.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),n("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:a.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"]}),n("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:a.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"]}),n("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:a.sha256,gRed:!1,g:["9"]}),n("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:a.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{t=requireSecp256k1()}catch{t=void 0}n("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:a.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",t]})})(curves)),curves}function requireHmacDrbg(){if(hasRequiredHmacDrbg)return hmacDrbg;hasRequiredHmacDrbg=1;var e=requireHash(),t=requireUtils$2(),i=requireMinimalisticAssert();function a(r){if(!(this instanceof a))return new a(r);this.hash=r.hash,this.predResist=!!r.predResist,this.outLen=this.hash.outSize,this.minEntropy=r.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var c=t.toArray(r.entropy,r.entropyEnc||"hex"),f=t.toArray(r.nonce,r.nonceEnc||"hex"),n=t.toArray(r.pers,r.persEnc||"hex");i(c.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(c,f,n)}return hmacDrbg=a,a.prototype._init=function(r,c,f){var n=r.concat(c).concat(f);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var o=0;o<this.V.length;o++)this.K[o]=0,this.V[o]=1;this._update(n),this._reseed=1,this.reseedInterval=281474976710656},a.prototype._hmac=function(){return new e.hmac(this.hash,this.K)},a.prototype._update=function(r){var c=this._hmac().update(this.V).update([0]);r&&(c=c.update(r)),this.K=c.digest(),this.V=this._hmac().update(this.V).digest(),r&&(this.K=this._hmac().update(this.V).update([1]).update(r).digest(),this.V=this._hmac().update(this.V).digest())},a.prototype.reseed=function(r,c,f,n){typeof c!="string"&&(n=f,f=c,c=null),r=t.toArray(r,c),f=t.toArray(f,n),i(r.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(r.concat(f||[])),this._reseed=1},a.prototype.generate=function(r,c,f,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof c!="string"&&(n=f,f=c,c=null),f&&(f=t.toArray(f,n||"hex"),this._update(f));for(var o=[];o.length<r;)this.V=this._hmac().update(this.V).digest(),o=o.concat(this.V);var s=o.slice(0,r);return this._update(f),this._reseed++,t.encode(s,c)},hmacDrbg}function requireKey$1(){if(hasRequiredKey$1)return key$1;hasRequiredKey$1=1;var e=requireBn$1(),t=requireUtils$1().assert;function i(a,r){this.ec=a,this.priv=null,this.pub=null,r.priv&&this._importPrivate(r.priv,r.privEnc),r.pub&&this._importPublic(r.pub,r.pubEnc)}return key$1=i,i.fromPublic=function(a,r,c){return r instanceof i?r:new i(a,{pub:r,pubEnc:c})},i.fromPrivate=function(a,r,c){return r instanceof i?r:new i(a,{priv:r,privEnc:c})},i.prototype.validate=function(){var a=this.getPublic();return a.isInfinity()?{result:!1,reason:"Invalid public key"}:a.validate()?a.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"}},i.prototype.getPublic=function(a,r){return typeof a=="string"&&(r=a,a=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),r?this.pub.encode(r,a):this.pub},i.prototype.getPrivate=function(a){return a==="hex"?this.priv.toString(16,2):this.priv},i.prototype._importPrivate=function(a,r){this.priv=new e(a,r||16),this.priv=this.priv.umod(this.ec.curve.n)},i.prototype._importPublic=function(a,r){if(a.x||a.y)return this.ec.curve.type==="mont"?t(a.x,"Need x coordinate"):this.ec.curve.type!=="short"&&this.ec.curve.type!=="edwards"||t(a.x&&a.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(a.x,a.y));this.pub=this.ec.curve.decodePoint(a,r)},i.prototype.derive=function(a){return a.validate()||t(a.validate(),"public point not validated"),a.mul(this.priv).getX()},i.prototype.sign=function(a,r,c){return this.ec.sign(a,this,r,c)},i.prototype.verify=function(a,r,c){return this.ec.verify(a,r,this,void 0,c)},i.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$1(),t=requireUtils$1(),i=t.assert;function a(o,s){if(o instanceof a)return o;this._importDER(o,s)||(i(o.r&&o.s,"Signature without r or s"),this.r=new e(o.r,16),this.s=new e(o.s,16),o.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=o.recoveryParam)}function r(){this.place=0}function c(o,s){var u=o[s.place++];if(!(128&u))return u;var h=15&u;if(h===0||h>4||o[s.place]===0)return!1;for(var l=0,d=0,w=s.place;d<h;d++,w++)l<<=8,l|=o[w],l>>>=0;return!(l<=127)&&(s.place=w,l)}function f(o){for(var s=0,u=o.length-1;!o[s]&&!(128&o[s+1])&&s<u;)s++;return s===0?o:o.slice(s)}function n(o,s){if(s<128)o.push(s);else{var u=1+(Math.log(s)/Math.LN2>>>3);for(o.push(128|u);--u;)o.push(s>>>(u<<3)&255);o.push(s)}}return signature$1=a,a.prototype._importDER=function(o,s){o=t.toArray(o,s);var u=new r;if(o[u.place++]!==48)return!1;var h=c(o,u);if(h===!1||h+u.place!==o.length||o[u.place++]!==2)return!1;var l=c(o,u);if(l===!1||128&o[u.place])return!1;var d=o.slice(u.place,l+u.place);if(u.place+=l,o[u.place++]!==2)return!1;var w=c(o,u);if(w===!1||o.length!==w+u.place||128&o[u.place])return!1;var R=o.slice(u.place,w+u.place);if(d[0]===0){if(!(128&d[1]))return!1;d=d.slice(1)}if(R[0]===0){if(!(128&R[1]))return!1;R=R.slice(1)}return this.r=new e(d),this.s=new e(R),this.recoveryParam=null,!0},a.prototype.toDER=function(o){var s=this.r.toArray(),u=this.s.toArray();for(128&s[0]&&(s=[0].concat(s)),128&u[0]&&(u=[0].concat(u)),s=f(s),u=f(u);!(u[0]||128&u[1]);)u=u.slice(1);var h=[2];n(h,s.length),(h=h.concat(s)).push(2),n(h,u.length);var l=h.concat(u),d=[48];return n(d,l.length),d=d.concat(l),t.encode(d,o)},signature$1}function requireEc(){if(hasRequiredEc)return ec;hasRequiredEc=1;var e=requireBn$1(),t=requireHmacDrbg(),i=requireUtils$1(),a=requireCurves(),r=requireBrorand(),c=i.assert,f=requireKey$1(),n=requireSignature$1();function o(s){if(!(this instanceof o))return new o(s);typeof s=="string"&&(c(Object.prototype.hasOwnProperty.call(a,s),"Unknown curve "+s),s=a[s]),s instanceof a.PresetCurve&&(s={curve:s}),this.curve=s.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=s.curve.g,this.g.precompute(s.curve.n.bitLength()+1),this.hash=s.hash||s.curve.hash}return ec=o,o.prototype.keyPair=function(s){return new f(this,s)},o.prototype.keyFromPrivate=function(s,u){return f.fromPrivate(this,s,u)},o.prototype.keyFromPublic=function(s,u){return f.fromPublic(this,s,u)},o.prototype.genKeyPair=function(s){s||(s={});for(var u=new t({hash:this.hash,pers:s.pers,persEnc:s.persEnc||"utf8",entropy:s.entropy||r(this.hash.hmacStrength),entropyEnc:s.entropy&&s.entropyEnc||"utf8",nonce:this.n.toArray()}),h=this.n.byteLength(),l=this.n.sub(new e(2));;){var d=new e(u.generate(h));if(!(d.cmp(l)>0))return d.iaddn(1),this.keyFromPrivate(d)}},o.prototype._truncateToN=function(s,u,h){var l;if(e.isBN(s)||typeof s=="number")l=(s=new e(s,16)).byteLength();else if(typeof s=="object")l=s.length,s=new e(s,16);else{var d=s.toString();l=d.length+1>>>1,s=new e(d,16)}typeof h!="number"&&(h=8*l);var w=h-this.n.bitLength();return w>0&&(s=s.ushrn(w)),!u&&s.cmp(this.n)>=0?s.sub(this.n):s},o.prototype.sign=function(s,u,h,l){if(typeof h=="object"&&(l=h,h=null),l||(l={}),typeof s!="string"&&typeof s!="number"&&!e.isBN(s)){c(typeof s=="object"&&s&&typeof s.length=="number","Expected message to be an array-like, a hex string, or a BN instance"),c(s.length>>>0===s.length);for(var d=0;d<s.length;d++)c((255&s[d])===s[d])}u=this.keyFromPrivate(u,h),s=this._truncateToN(s,!1,l.msgBitLength),c(!s.isNeg(),"Can not sign a negative message");var w=this.n.byteLength(),R=u.getPrivate().toArray("be",w),q=s.toArray("be",w);c(new e(q).eq(s),"Can not sign message");for(var A=new t({hash:this.hash,entropy:R,nonce:q,pers:l.pers,persEnc:l.persEnc||"utf8"}),M=this.n.sub(new e(1)),I=0;;I++){var $=l.k?l.k(I):new e(A.generate(this.n.byteLength()));if(!(($=this._truncateToN($,!0)).cmpn(1)<=0||$.cmp(M)>=0)){var S=this.g.mul($);if(!S.isInfinity()){var C=S.getX(),T=C.umod(this.n);if(T.cmpn(0)!==0){var v=$.invm(this.n).mul(T.mul(u.getPrivate()).iadd(s));if((v=v.umod(this.n)).cmpn(0)!==0){var B=(S.getY().isOdd()?1:0)|(C.cmp(T)!==0?2:0);return l.canonical&&v.cmp(this.nh)>0&&(v=this.n.sub(v),B^=1),new n({r:T,s:v,recoveryParam:B})}}}}}},o.prototype.verify=function(s,u,h,l,d){d||(d={}),s=this._truncateToN(s,!1,d.msgBitLength),h=this.keyFromPublic(h,l);var w=(u=new n(u,"hex")).r,R=u.s;if(w.cmpn(1)<0||w.cmp(this.n)>=0||R.cmpn(1)<0||R.cmp(this.n)>=0)return!1;var q,A=R.invm(this.n),M=A.mul(s).umod(this.n),I=A.mul(w).umod(this.n);return this.curve._maxwellTrick?!(q=this.g.jmulAdd(M,h.getPublic(),I)).isInfinity()&&q.eqXToP(w):!(q=this.g.mulAdd(M,h.getPublic(),I)).isInfinity()&&q.getX().umod(this.n).cmp(w)===0},o.prototype.recoverPubKey=function(s,u,h,l){c((3&h)===h,"The recovery param is more than two bits"),u=new n(u,l);var d=this.n,w=new e(s),R=u.r,q=u.s,A=1&h,M=h>>1;if(R.cmp(this.curve.p.umod(this.curve.n))>=0&&M)throw new Error("Unable to find sencond key candinate");R=M?this.curve.pointFromX(R.add(this.curve.n),A):this.curve.pointFromX(R,A);var I=u.r.invm(d),$=d.sub(w).mul(I).umod(d),S=q.mul(I).umod(d);return this.g.mulAdd($,R,S)},o.prototype.getKeyRecoveryParam=function(s,u,h,l){if((u=new n(u,l)).recoveryParam!==null)return u.recoveryParam;for(var d=0;d<4;d++){var w;try{w=this.recoverPubKey(s,u,d)}catch{continue}if(w.eq(h))return d}throw new Error("Unable to find valid recovery factor")},ec}function requireKey(){if(hasRequiredKey)return key;hasRequiredKey=1;var e=requireUtils$1(),t=e.assert,i=e.parseBytes,a=e.cachedProperty;function r(c,f){this.eddsa=c,this._secret=i(f.secret),c.isPoint(f.pub)?this._pub=f.pub:this._pubBytes=i(f.pub)}return r.fromPublic=function(c,f){return f instanceof r?f:new r(c,{pub:f})},r.fromSecret=function(c,f){return f instanceof r?f:new r(c,{secret:f})},r.prototype.secret=function(){return this._secret},a(r,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),a(r,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),a(r,"privBytes",(function(){var c=this.eddsa,f=this.hash(),n=c.encodingLength-1,o=f.slice(0,c.encodingLength);return o[0]&=248,o[n]&=127,o[n]|=64,o})),a(r,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),a(r,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),a(r,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),r.prototype.sign=function(c){return t(this._secret,"KeyPair can only verify"),this.eddsa.sign(c,this)},r.prototype.verify=function(c,f){return this.eddsa.verify(c,f,this)},r.prototype.getSecret=function(c){return t(this._secret,"KeyPair is public only"),e.encode(this.secret(),c)},r.prototype.getPublic=function(c){return e.encode(this.pubBytes(),c)},key=r}function requireSignature(){if(hasRequiredSignature)return signature;hasRequiredSignature=1;var e=requireBn$1(),t=requireUtils$1(),i=t.assert,a=t.cachedProperty,r=t.parseBytes;function c(f,n){this.eddsa=f,typeof n!="object"&&(n=r(n)),Array.isArray(n)&&(i(n.length===2*f.encodingLength,"Signature has invalid size"),n={R:n.slice(0,f.encodingLength),S:n.slice(f.encodingLength)}),i(n.R&&n.S,"Signature without R or S"),f.isPoint(n.R)&&(this._R=n.R),n.S instanceof e&&(this._S=n.S),this._Rencoded=Array.isArray(n.R)?n.R:n.Rencoded,this._Sencoded=Array.isArray(n.S)?n.S:n.Sencoded}return a(c,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),a(c,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),a(c,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),a(c,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),c.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},c.prototype.toHex=function(){return t.encode(this.toBytes(),"hex").toUpperCase()},signature=c}function requireEddsa(){if(hasRequiredEddsa)return eddsa;hasRequiredEddsa=1;var e=requireHash(),t=requireCurves(),i=requireUtils$1(),a=i.assert,r=i.parseBytes,c=requireKey(),f=requireSignature();function n(o){if(a(o==="ed25519","only tested with ed25519 so far"),!(this instanceof n))return new n(o);o=t[o].curve,this.curve=o,this.g=o.g,this.g.precompute(o.n.bitLength()+1),this.pointClass=o.point().constructor,this.encodingLength=Math.ceil(o.n.bitLength()/8),this.hash=e.sha512}return eddsa=n,n.prototype.sign=function(o,s){o=r(o);var u=this.keyFromSecret(s),h=this.hashInt(u.messagePrefix(),o),l=this.g.mul(h),d=this.encodePoint(l),w=this.hashInt(d,u.pubBytes(),o).mul(u.priv()),R=h.add(w).umod(this.curve.n);return this.makeSignature({R:l,S:R,Rencoded:d})},n.prototype.verify=function(o,s,u){if(o=r(o),(s=this.makeSignature(s)).S().gte(s.eddsa.curve.n)||s.S().isNeg())return!1;var h=this.keyFromPublic(u),l=this.hashInt(s.Rencoded(),h.pubBytes(),o),d=this.g.mul(s.S());return s.R().add(h.pub().mul(l)).eq(d)},n.prototype.hashInt=function(){for(var o=this.hash(),s=0;s<arguments.length;s++)o.update(arguments[s]);return i.intFromLE(o.digest()).umod(this.curve.n)},n.prototype.keyFromPublic=function(o){return c.fromPublic(this,o)},n.prototype.keyFromSecret=function(o){return c.fromSecret(this,o)},n.prototype.makeSignature=function(o){return o instanceof f?o:new f(this,o)},n.prototype.encodePoint=function(o){var s=o.getY().toArray("le",this.encodingLength);return s[this.encodingLength-1]|=o.getX().isOdd()?128:0,s},n.prototype.decodePoint=function(o){var s=(o=i.parseBytes(o)).length-1,u=o.slice(0,s).concat(-129&o[s]),h=!!(128&o[s]),l=i.intFromLE(u);return this.curve.pointFromY(l,h)},n.prototype.encodeInt=function(o){return o.toArray("le",this.encodingLength)},n.prototype.decodeInt=function(o){return i.intFromLE(o)},n.prototype.isPoint=function(o){return o instanceof this.pointClass},eddsa}function requireElliptic(){return hasRequiredElliptic||(hasRequiredElliptic=1,(function(e){var t=e;t.version=require$$0.version,t.utils=requireUtils$1(),t.rand=requireBrorand(),t.curve=requireCurve(),t.curves=requireCurves(),t.ec=requireEc(),t.eddsa=requireEddsa()})(elliptic)),elliptic}var asn1$2={},asn1$1={},api={},vmBrowserify={},hasRequiredVmBrowserify,hasRequiredApi;function requireVmBrowserify(){return hasRequiredVmBrowserify||(hasRequiredVmBrowserify=1,(function(exports$1){var indexOf=function(e,t){if(e.indexOf)return e.indexOf(t);for(var i=0;i<e.length;i++)if(e[i]===t)return i;return-1},Object_keys=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var i in e)t.push(i);return t},forEach=function(e,t){if(e.forEach)return e.forEach(t);for(var i=0;i<e.length;i++)t(e[i],i,e)},defineProp=(function(){try{return Object.defineProperty({},"_",{}),function(e,t,i){Object.defineProperty(e,t,{writable:!0,enumerable:!1,configurable:!0,value:i})}}catch{return function(t,i,a){t[i]=a}}})(),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 t=document.createElement("iframe");t.style||(t.style={}),t.style.display="none",document.body.appendChild(t);var i=t.contentWindow,a=i.eval,r=i.execScript;!a&&r&&(r.call(i,"null"),a=i.eval),forEach(Object_keys(e),(function(n){i[n]=e[n]})),forEach(globals,(function(n){e[n]&&(i[n]=e[n])}));var c=Object_keys(i),f=a.call(i,this.code);return forEach(Object_keys(i),(function(n){(n in e||indexOf(c,n)===-1)&&(e[n]=i[n])})),forEach(globals,(function(n){n in e||defineProp(e,n,i[n])})),document.body.removeChild(t),f},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(e){var t=Script.createContext(e),i=this.runInContext(t);return e&&forEach(Object_keys(t),(function(a){e[a]=t[a]})),i},forEach(Object_keys(Script.prototype),(function(e){exports$1[e]=Script[e]=function(t){var i=Script(t);return i[e].apply(i,[].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 t=new Context;return typeof e=="object"&&forEach(Object_keys(e),(function(i){t[i]=e[i]})),t}})(vmBrowserify)),vmBrowserify}function requireApi(){return hasRequiredApi||(hasRequiredApi=1,(function(e){var t=requireAsn1$2(),i=requireInherits_browser();function a(r,c){this.name=r,this.body=c,this.decoders={},this.encoders={}}e.define=function(r,c){return new a(r,c)},a.prototype._createNamed=function(r){var c;try{c=requireVmBrowserify().runInThisContext("(function "+this.name+`(entity) {
|
|
31
|
-
this._initNamed(entity);
|
|
32
|
-
})`)}catch{c=function(n){this._initNamed(n)}}return i(c,r),c.prototype._initNamed=function(f){r.call(this,f)},new c(this)},a.prototype._getDecoder=function(r){return r=r||"der",this.decoders.hasOwnProperty(r)||(this.decoders[r]=this._createNamed(t.decoders[r])),this.decoders[r]},a.prototype.decode=function(r,c,f){return this._getDecoder(c).decode(r,f)},a.prototype._getEncoder=function(r){return r=r||"der",this.encoders.hasOwnProperty(r)||(this.encoders[r]=this._createNamed(t.encoders[r])),this.encoders[r]},a.prototype.encode=function(r,c,f){return this._getEncoder(c).encode(r,f)}})(api)),api}var base={},reporter={},hasRequiredReporter;function requireReporter(){if(hasRequiredReporter)return reporter;hasRequiredReporter=1;var e=requireInherits_browser();function t(a){this._reporterState={obj:null,path:[],options:a||{},errors:[]}}function i(a,r){this.path=a,this.rethrow(r)}return reporter.Reporter=t,t.prototype.isError=function(a){return a instanceof i},t.prototype.save=function(){var a=this._reporterState;return{obj:a.obj,pathLen:a.path.length}},t.prototype.restore=function(a){var r=this._reporterState;r.obj=a.obj,r.path=r.path.slice(0,a.pathLen)},t.prototype.enterKey=function(a){return this._reporterState.path.push(a)},t.prototype.exitKey=function(a){var r=this._reporterState;r.path=r.path.slice(0,a-1)},t.prototype.leaveKey=function(a,r,c){var f=this._reporterState;this.exitKey(a),f.obj!==null&&(f.obj[r]=c)},t.prototype.path=function(){return this._reporterState.path.join("/")},t.prototype.enterObject=function(){var a=this._reporterState,r=a.obj;return a.obj={},r},t.prototype.leaveObject=function(a){var r=this._reporterState,c=r.obj;return r.obj=a,c},t.prototype.error=function(a){var r,c=this._reporterState,f=a instanceof i;if(r=f?a:new i(c.path.map((function(n){return"["+JSON.stringify(n)+"]"})).join(""),a.message||a,a.stack),!c.options.partial)throw r;return f||c.errors.push(r),r},t.prototype.wrapResult=function(a){var r=this._reporterState;return r.options.partial?{result:this.isError(a)?null:a,errors:r.errors}:a},e(i,Error),i.prototype.rethrow=function(a){if(this.message=a+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,i),!this.stack)try{throw new Error(this.message)}catch(r){this.stack=r.stack}return this},reporter}var buffer={},hasRequiredBuffer,node,hasRequiredNode,hasRequiredBase;function requireBuffer(){if(hasRequiredBuffer)return buffer;hasRequiredBuffer=1;var e=requireInherits_browser(),t=requireBase().Reporter,i=requireDist().Buffer;function a(c,f){t.call(this,f),i.isBuffer(c)?(this.base=c,this.offset=0,this.length=c.length):this.error("Input not Buffer")}function r(c,f){if(Array.isArray(c))this.length=0,this.value=c.map((function(n){return n instanceof r||(n=new r(n,f)),this.length+=n.length,n}),this);else if(typeof c=="number"){if(!(0<=c&&c<=255))return f.error("non-byte EncoderBuffer value");this.value=c,this.length=1}else if(typeof c=="string")this.value=c,this.length=i.byteLength(c);else{if(!i.isBuffer(c))return f.error("Unsupported type: "+typeof c);this.value=c,this.length=c.length}}return e(a,t),buffer.DecoderBuffer=a,a.prototype.save=function(){return{offset:this.offset,reporter:t.prototype.save.call(this)}},a.prototype.restore=function(c){var f=new a(this.base);return f.offset=c.offset,f.length=this.offset,this.offset=c.offset,t.prototype.restore.call(this,c.reporter),f},a.prototype.isEmpty=function(){return this.offset===this.length},a.prototype.readUInt8=function(c){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(c||"DecoderBuffer overrun")},a.prototype.skip=function(c,f){if(!(this.offset+c<=this.length))return this.error(f||"DecoderBuffer overrun");var n=new a(this.base);return n._reporterState=this._reporterState,n.offset=this.offset,n.length=this.offset+c,this.offset+=c,n},a.prototype.raw=function(c){return this.base.slice(c?c.offset:this.offset,this.length)},buffer.EncoderBuffer=r,r.prototype.join=function(c,f){return c||(c=new i(this.length)),f||(f=0),this.length===0||(Array.isArray(this.value)?this.value.forEach((function(n){n.join(c,f),f+=n.length})):(typeof this.value=="number"?c[f]=this.value:typeof this.value=="string"?c.write(this.value,f):i.isBuffer(this.value)&&this.value.copy(c,f),f+=this.length)),c},buffer}function requireNode(){if(hasRequiredNode)return node;hasRequiredNode=1;var e=requireBase().Reporter,t=requireBase().EncoderBuffer,i=requireBase().DecoderBuffer,a=requireMinimalisticAssert(),r=["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"],c=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(r);function f(o,s){var u={};this._baseState=u,u.enc=o,u.parent=s||null,u.children=null,u.tag=null,u.args=null,u.reverseArgs=null,u.choice=null,u.optional=!1,u.any=!1,u.obj=!1,u.use=null,u.useDecoder=null,u.key=null,u.default=null,u.explicit=null,u.implicit=null,u.contains=null,u.parent||(u.children=[],this._wrap())}node=f;var n=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];return f.prototype.clone=function(){var o=this._baseState,s={};n.forEach((function(h){s[h]=o[h]}));var u=new this.constructor(s.parent);return u._baseState=s,u},f.prototype._wrap=function(){var o=this._baseState;c.forEach((function(s){this[s]=function(){var u=new this.constructor(this);return o.children.push(u),u[s].apply(u,arguments)}}),this)},f.prototype._init=function(o){var s=this._baseState;a(s.parent===null),o.call(this),s.children=s.children.filter((function(u){return u._baseState.parent===this}),this),a.equal(s.children.length,1,"Root node can have only one child")},f.prototype._useArgs=function(o){var s=this._baseState,u=o.filter((function(h){return h instanceof this.constructor}),this);o=o.filter((function(h){return!(h instanceof this.constructor)}),this),u.length!==0&&(a(s.children===null),s.children=u,u.forEach((function(h){h._baseState.parent=this}),this)),o.length!==0&&(a(s.args===null),s.args=o,s.reverseArgs=o.map((function(h){if(typeof h!="object"||h.constructor!==Object)return h;var l={};return Object.keys(h).forEach((function(d){d==(0|d)&&(d|=0);var w=h[d];l[w]=d})),l})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(o){f.prototype[o]=function(){var s=this._baseState;throw new Error(o+" not implemented for encoding: "+s.enc)}})),r.forEach((function(o){f.prototype[o]=function(){var s=this._baseState,u=Array.prototype.slice.call(arguments);return a(s.tag===null),s.tag=o,this._useArgs(u),this}})),f.prototype.use=function(o){a(o);var s=this._baseState;return a(s.use===null),s.use=o,this},f.prototype.optional=function(){return this._baseState.optional=!0,this},f.prototype.def=function(o){var s=this._baseState;return a(s.default===null),s.default=o,s.optional=!0,this},f.prototype.explicit=function(o){var s=this._baseState;return a(s.explicit===null&&s.implicit===null),s.explicit=o,this},f.prototype.implicit=function(o){var s=this._baseState;return a(s.explicit===null&&s.implicit===null),s.implicit=o,this},f.prototype.obj=function(){var o=this._baseState,s=Array.prototype.slice.call(arguments);return o.obj=!0,s.length!==0&&this._useArgs(s),this},f.prototype.key=function(o){var s=this._baseState;return a(s.key===null),s.key=o,this},f.prototype.any=function(){return this._baseState.any=!0,this},f.prototype.choice=function(o){var s=this._baseState;return a(s.choice===null),s.choice=o,this._useArgs(Object.keys(o).map((function(u){return o[u]}))),this},f.prototype.contains=function(o){var s=this._baseState;return a(s.use===null),s.contains=o,this},f.prototype._decode=function(o,s){var u=this._baseState;if(u.parent===null)return o.wrapResult(u.children[0]._decode(o,s));var h,l=u.default,d=!0,w=null;if(u.key!==null&&(w=o.enterKey(u.key)),u.optional){var R=null;if(u.explicit!==null?R=u.explicit:u.implicit!==null?R=u.implicit:u.tag!==null&&(R=u.tag),R!==null||u.any){if(d=this._peekTag(o,R,u.any),o.isError(d))return d}else{var q=o.save();try{u.choice===null?this._decodeGeneric(u.tag,o,s):this._decodeChoice(o,s),d=!0}catch{d=!1}o.restore(q)}}if(u.obj&&d&&(h=o.enterObject()),d){if(u.explicit!==null){var A=this._decodeTag(o,u.explicit);if(o.isError(A))return A;o=A}var M=o.offset;if(u.use===null&&u.choice===null){u.any&&(q=o.save());var I=this._decodeTag(o,u.implicit!==null?u.implicit:u.tag,u.any);if(o.isError(I))return I;u.any?l=o.raw(q):o=I}if(s&&s.track&&u.tag!==null&&s.track(o.path(),M,o.length,"tagged"),s&&s.track&&u.tag!==null&&s.track(o.path(),o.offset,o.length,"content"),u.any||(l=u.choice===null?this._decodeGeneric(u.tag,o,s):this._decodeChoice(o,s)),o.isError(l))return l;if(u.any||u.choice!==null||u.children===null||u.children.forEach((function(S){S._decode(o,s)})),u.contains&&(u.tag==="octstr"||u.tag==="bitstr")){var $=new i(l);l=this._getUse(u.contains,o._reporterState.obj)._decode($,s)}}return u.obj&&d&&(l=o.leaveObject(h)),u.key===null||l===null&&d!==!0?w!==null&&o.exitKey(w):o.leaveKey(w,u.key,l),l},f.prototype._decodeGeneric=function(o,s,u){var h=this._baseState;return o==="seq"||o==="set"?null:o==="seqof"||o==="setof"?this._decodeList(s,o,h.args[0],u):/str$/.test(o)?this._decodeStr(s,o,u):o==="objid"&&h.args?this._decodeObjid(s,h.args[0],h.args[1],u):o==="objid"?this._decodeObjid(s,null,null,u):o==="gentime"||o==="utctime"?this._decodeTime(s,o,u):o==="null_"?this._decodeNull(s,u):o==="bool"?this._decodeBool(s,u):o==="objDesc"?this._decodeStr(s,o,u):o==="int"||o==="enum"?this._decodeInt(s,h.args&&h.args[0],u):h.use!==null?this._getUse(h.use,s._reporterState.obj)._decode(s,u):s.error("unknown tag: "+o)},f.prototype._getUse=function(o,s){var u=this._baseState;return u.useDecoder=this._use(o,s),a(u.useDecoder._baseState.parent===null),u.useDecoder=u.useDecoder._baseState.children[0],u.implicit!==u.useDecoder._baseState.implicit&&(u.useDecoder=u.useDecoder.clone(),u.useDecoder._baseState.implicit=u.implicit),u.useDecoder},f.prototype._decodeChoice=function(o,s){var u=this._baseState,h=null,l=!1;return Object.keys(u.choice).some((function(d){var w=o.save(),R=u.choice[d];try{var q=R._decode(o,s);if(o.isError(q))return!1;h={type:d,value:q},l=!0}catch{return o.restore(w),!1}return!0}),this),l?h:o.error("Choice not matched")},f.prototype._createEncoderBuffer=function(o){return new t(o,this.reporter)},f.prototype._encode=function(o,s,u){var h=this._baseState;if(h.default===null||h.default!==o){var l=this._encodeValue(o,s,u);if(l!==void 0&&!this._skipDefault(l,s,u))return l}},f.prototype._encodeValue=function(o,s,u){var h=this._baseState;if(h.parent===null)return h.children[0]._encode(o,s||new e);var l=null;if(this.reporter=s,h.optional&&o===void 0){if(h.default===null)return;o=h.default}var d=null,w=!1;if(h.any)l=this._createEncoderBuffer(o);else if(h.choice)l=this._encodeChoice(o,s);else if(h.contains)d=this._getUse(h.contains,u)._encode(o,s),w=!0;else if(h.children)d=h.children.map((function(M){if(M._baseState.tag==="null_")return M._encode(null,s,o);if(M._baseState.key===null)return s.error("Child should have a key");var I=s.enterKey(M._baseState.key);if(typeof o!="object")return s.error("Child expected, but input is not object");var $=M._encode(o[M._baseState.key],s,o);return s.leaveKey(I),$}),this).filter((function(M){return M})),d=this._createEncoderBuffer(d);else if(h.tag==="seqof"||h.tag==="setof"){if(!h.args||h.args.length!==1)return s.error("Too many args for : "+h.tag);if(!Array.isArray(o))return s.error("seqof/setof, but data is not Array");var R=this.clone();R._baseState.implicit=null,d=this._createEncoderBuffer(o.map((function(M){var I=this._baseState;return this._getUse(I.args[0],o)._encode(M,s)}),R))}else h.use!==null?l=this._getUse(h.use,u)._encode(o,s):(d=this._encodePrimitive(h.tag,o),w=!0);if(!h.any&&h.choice===null){var q=h.implicit!==null?h.implicit:h.tag,A=h.implicit===null?"universal":"context";q===null?h.use===null&&s.error("Tag could be omitted only for .use()"):h.use===null&&(l=this._encodeComposite(q,w,A,d))}return h.explicit!==null&&(l=this._encodeComposite(h.explicit,!1,"context",l)),l},f.prototype._encodeChoice=function(o,s){var u=this._baseState,h=u.choice[o.type];return h||a(!1,o.type+" not found in "+JSON.stringify(Object.keys(u.choice))),h._encode(o.value,s)},f.prototype._encodePrimitive=function(o,s){var u=this._baseState;if(/str$/.test(o))return this._encodeStr(s,o);if(o==="objid"&&u.args)return this._encodeObjid(s,u.reverseArgs[0],u.args[1]);if(o==="objid")return this._encodeObjid(s,null,null);if(o==="gentime"||o==="utctime")return this._encodeTime(s,o);if(o==="null_")return this._encodeNull();if(o==="int"||o==="enum")return this._encodeInt(s,u.args&&u.reverseArgs[0]);if(o==="bool")return this._encodeBool(s);if(o==="objDesc")return this._encodeStr(s,o);throw new Error("Unsupported tag: "+o)},f.prototype._isNumstr=function(o){return/^[0-9 ]*$/.test(o)},f.prototype._isPrintstr=function(o){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(o)},node}function requireBase(){return hasRequiredBase||(hasRequiredBase=1,(function(e){var t=e;t.Reporter=requireReporter().Reporter,t.DecoderBuffer=requireBuffer().DecoderBuffer,t.EncoderBuffer=requireBuffer().EncoderBuffer,t.Node=requireNode()})(base)),base}var constants={},der={},hasRequiredDer$2,hasRequiredConstants;function requireDer$2(){return hasRequiredDer$2||(hasRequiredDer$2=1,(function(e){var t=requireConstants();e.tagClass={0:"universal",1:"application",2:"context",3:"private"},e.tagClassByName=t._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=t._reverse(e.tag)})(der)),der}function requireConstants(){return hasRequiredConstants||(hasRequiredConstants=1,(function(e){var t=e;t._reverse=function(i){var a={};return Object.keys(i).forEach((function(r){(0|r)==r&&(r|=0);var c=i[r];a[c]=r})),a},t.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(),t=requireAsn1$2(),i=t.base,a=t.bignum,r=t.constants.der;function c(s){this.enc="der",this.name=s.name,this.entity=s,this.tree=new f,this.tree._init(s.body)}function f(s){i.Node.call(this,"der",s)}function n(s,u){var h=s.readUInt8(u);if(s.isError(h))return h;var l=r.tagClass[h>>6],d=!(32&h);if(31&~h)h&=31;else{var w=h;for(h=0;!(128&~w);){if(w=s.readUInt8(u),s.isError(w))return w;h<<=7,h|=127&w}}return{cls:l,primitive:d,tag:h,tagStr:r.tag[h]}}function o(s,u,h){var l=s.readUInt8(h);if(s.isError(l))return l;if(!u&&l===128)return null;if(!(128&l))return l;var d=127&l;if(d>4)return s.error("length octect is too long");l=0;for(var w=0;w<d;w++){l<<=8;var R=s.readUInt8(h);if(s.isError(R))return R;l|=R}return l}return der_1$1=c,c.prototype.decode=function(s,u){return s instanceof i.DecoderBuffer||(s=new i.DecoderBuffer(s,u)),this.tree._decode(s,u)},e(f,i.Node),f.prototype._peekTag=function(s,u,h){if(s.isEmpty())return!1;var l=s.save(),d=n(s,'Failed to peek tag: "'+u+'"');return s.isError(d)?d:(s.restore(l),d.tag===u||d.tagStr===u||d.tagStr+"of"===u||h)},f.prototype._decodeTag=function(s,u,h){var l=n(s,'Failed to decode tag of "'+u+'"');if(s.isError(l))return l;var d=o(s,l.primitive,'Failed to get length of "'+u+'"');if(s.isError(d))return d;if(!h&&l.tag!==u&&l.tagStr!==u&&l.tagStr+"of"!==u)return s.error('Failed to match tag: "'+u+'"');if(l.primitive||d!==null)return s.skip(d,'Failed to match body of: "'+u+'"');var w=s.save(),R=this._skipUntilEnd(s,'Failed to skip indefinite length body: "'+this.tag+'"');return s.isError(R)?R:(d=s.offset-w.offset,s.restore(w),s.skip(d,'Failed to match body of: "'+u+'"'))},f.prototype._skipUntilEnd=function(s,u){for(;;){var h=n(s,u);if(s.isError(h))return h;var l,d=o(s,h.primitive,u);if(s.isError(d))return d;if(l=h.primitive||d!==null?s.skip(d):this._skipUntilEnd(s,u),s.isError(l))return l;if(h.tagStr==="end")break}},f.prototype._decodeList=function(s,u,h,l){for(var d=[];!s.isEmpty();){var w=this._peekTag(s,"end");if(s.isError(w))return w;var R=h.decode(s,"der",l);if(s.isError(R)&&w)break;d.push(R)}return d},f.prototype._decodeStr=function(s,u){if(u==="bitstr"){var h=s.readUInt8();return s.isError(h)?h:{unused:h,data:s.raw()}}if(u==="bmpstr"){var l=s.raw();if(l.length%2==1)return s.error("Decoding of string type: bmpstr length mismatch");for(var d="",w=0;w<l.length/2;w++)d+=String.fromCharCode(l.readUInt16BE(2*w));return d}if(u==="numstr"){var R=s.raw().toString("ascii");return this._isNumstr(R)?R:s.error("Decoding of string type: numstr unsupported characters")}if(u==="octstr"||u==="objDesc")return s.raw();if(u==="printstr"){var q=s.raw().toString("ascii");return this._isPrintstr(q)?q:s.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(u)?s.raw().toString():s.error("Decoding of string type: "+u+" unsupported")},f.prototype._decodeObjid=function(s,u,h){for(var l,d=[],w=0;!s.isEmpty();){var R=s.readUInt8();w<<=7,w|=127&R,128&R||(d.push(w),w=0)}128&R&&d.push(w);var q=d[0]/40|0,A=d[0]%40;if(l=h?d:[q,A].concat(d.slice(1)),u){var M=u[l.join(" ")];M===void 0&&(M=u[l.join(".")]),M!==void 0&&(l=M)}return l},f.prototype._decodeTime=function(s,u){var h=s.raw().toString();if(u==="gentime")var l=0|h.slice(0,4),d=0|h.slice(4,6),w=0|h.slice(6,8),R=0|h.slice(8,10),q=0|h.slice(10,12),A=0|h.slice(12,14);else{if(u!=="utctime")return s.error("Decoding "+u+" time is not supported yet");l=0|h.slice(0,2),d=0|h.slice(2,4),w=0|h.slice(4,6),R=0|h.slice(6,8),q=0|h.slice(8,10),A=0|h.slice(10,12),l=l<70?2e3+l:1900+l}return Date.UTC(l,d-1,w,R,q,A,0)},f.prototype._decodeNull=function(s){return null},f.prototype._decodeBool=function(s){var u=s.readUInt8();return s.isError(u)?u:u!==0},f.prototype._decodeInt=function(s,u){var h=s.raw(),l=new a(h);return u&&(l=u[l.toString(10)]||l),l},f.prototype._use=function(s,u){return typeof s=="function"&&(s=s(u)),s._getDecoder("der").tree},der_1$1}function requirePem$1(){if(hasRequiredPem$1)return pem$1;hasRequiredPem$1=1;var e=requireInherits_browser(),t=requireDist().Buffer,i=requireDer$1();function a(r){i.call(this,r),this.enc="pem"}return e(a,i),pem$1=a,a.prototype.decode=function(r,c){for(var f=r.toString().split(/[\r\n]+/g),n=c.label.toUpperCase(),o=/^-----(BEGIN|END) ([^-]+)-----$/,s=-1,u=-1,h=0;h<f.length;h++){var l=f[h].match(o);if(l!==null&&l[2]===n){if(s!==-1){if(l[1]!=="END")break;u=h;break}if(l[1]!=="BEGIN")break;s=h}}if(s===-1||u===-1)throw new Error("PEM section not found for: "+n);var d=f.slice(s+1,u).join("");d.replace(/[^a-z0-9\+\/=]+/gi,"");var w=new t(d,"base64");return i.prototype.decode.call(this,w,c)},pem$1}function requireDecoders(){return hasRequiredDecoders||(hasRequiredDecoders=1,(function(e){var t=e;t.der=requireDer$1(),t.pem=requirePem$1()})(decoders)),decoders}var encoders={},der_1,hasRequiredDer,pem,hasRequiredPem,hasRequiredEncoders,hasRequiredAsn1$2,certificate$1,hasRequiredCertificate$1,hasRequiredAsn1$1;function requireDer(){if(hasRequiredDer)return der_1;hasRequiredDer=1;var e=requireInherits_browser(),t=requireDist().Buffer,i=requireAsn1$2(),a=i.base,r=i.constants.der;function c(o){this.enc="der",this.name=o.name,this.entity=o,this.tree=new f,this.tree._init(o.body)}function f(o){a.Node.call(this,"der",o)}function n(o){return o<10?"0"+o:o}return der_1=c,c.prototype.encode=function(o,s){return this.tree._encode(o,s).join()},e(f,a.Node),f.prototype._encodeComposite=function(o,s,u,h){var l,d=(function(A,M,I,$){var S;if(A==="seqof"?A="seq":A==="setof"&&(A="set"),r.tagByName.hasOwnProperty(A))S=r.tagByName[A];else{if(typeof A!="number"||(0|A)!==A)return $.error("Unknown tag: "+A);S=A}return S>=31?$.error("Multi-octet tag encoding unsupported"):(M||(S|=32),S|=r.tagClassByName[I||"universal"]<<6,S)})(o,s,u,this.reporter);if(h.length<128)return(l=new t(2))[0]=d,l[1]=h.length,this._createEncoderBuffer([l,h]);for(var w=1,R=h.length;R>=256;R>>=8)w++;(l=new t(2+w))[0]=d,l[1]=128|w,R=1+w;for(var q=h.length;q>0;R--,q>>=8)l[R]=255&q;return this._createEncoderBuffer([l,h])},f.prototype._encodeStr=function(o,s){if(s==="bitstr")return this._createEncoderBuffer([0|o.unused,o.data]);if(s==="bmpstr"){for(var u=new t(2*o.length),h=0;h<o.length;h++)u.writeUInt16BE(o.charCodeAt(h),2*h);return this._createEncoderBuffer(u)}return s==="numstr"?this._isNumstr(o)?this._createEncoderBuffer(o):this.reporter.error("Encoding of string type: numstr supports only digits and space"):s==="printstr"?this._isPrintstr(o)?this._createEncoderBuffer(o):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(s)||s==="objDesc"?this._createEncoderBuffer(o):this.reporter.error("Encoding of string type: "+s+" unsupported")},f.prototype._encodeObjid=function(o,s,u){if(typeof o=="string"){if(!s)return this.reporter.error("string objid given, but no values map found");if(!s.hasOwnProperty(o))return this.reporter.error("objid not found in values map");o=s[o].split(/[\s\.]+/g);for(var h=0;h<o.length;h++)o[h]|=0}else if(Array.isArray(o))for(o=o.slice(),h=0;h<o.length;h++)o[h]|=0;if(!Array.isArray(o))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(o));if(!u){if(o[1]>=40)return this.reporter.error("Second objid identifier OOB");o.splice(0,2,40*o[0]+o[1])}var l=0;for(h=0;h<o.length;h++){var d=o[h];for(l++;d>=128;d>>=7)l++}var w=new t(l),R=w.length-1;for(h=o.length-1;h>=0;h--)for(d=o[h],w[R--]=127&d;(d>>=7)>0;)w[R--]=128|127&d;return this._createEncoderBuffer(w)},f.prototype._encodeTime=function(o,s){var u,h=new Date(o);return s==="gentime"?u=[n(h.getFullYear()),n(h.getUTCMonth()+1),n(h.getUTCDate()),n(h.getUTCHours()),n(h.getUTCMinutes()),n(h.getUTCSeconds()),"Z"].join(""):s==="utctime"?u=[n(h.getFullYear()%100),n(h.getUTCMonth()+1),n(h.getUTCDate()),n(h.getUTCHours()),n(h.getUTCMinutes()),n(h.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+s+" time is not supported yet"),this._encodeStr(u,"octstr")},f.prototype._encodeNull=function(){return this._createEncoderBuffer("")},f.prototype._encodeInt=function(o,s){if(typeof o=="string"){if(!s)return this.reporter.error("String int or enum given, but no values map");if(!s.hasOwnProperty(o))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(o));o=s[o]}if(typeof o!="number"&&!t.isBuffer(o)){var u=o.toArray();!o.sign&&128&u[0]&&u.unshift(0),o=new t(u)}if(t.isBuffer(o)){var h=o.length;o.length===0&&h++;var l=new t(h);return o.copy(l),o.length===0&&(l[0]=0),this._createEncoderBuffer(l)}if(o<128)return this._createEncoderBuffer(o);if(o<256)return this._createEncoderBuffer([0,o]);h=1;for(var d=o;d>=256;d>>=8)h++;for(d=(l=new Array(h)).length-1;d>=0;d--)l[d]=255&o,o>>=8;return 128&l[0]&&l.unshift(0),this._createEncoderBuffer(new t(l))},f.prototype._encodeBool=function(o){return this._createEncoderBuffer(o?255:0)},f.prototype._use=function(o,s){return typeof o=="function"&&(o=o(s)),o._getEncoder("der").tree},f.prototype._skipDefault=function(o,s,u){var h,l=this._baseState;if(l.default===null)return!1;var d=o.join();if(l.defaultBuffer===void 0&&(l.defaultBuffer=this._encodeValue(l.default,s,u).join()),d.length!==l.defaultBuffer.length)return!1;for(h=0;h<d.length;h++)if(d[h]!==l.defaultBuffer[h])return!1;return!0},der_1}function requirePem(){if(hasRequiredPem)return pem;hasRequiredPem=1;var e=requireInherits_browser(),t=requireDer();function i(a){t.call(this,a),this.enc="pem"}return e(i,t),pem=i,i.prototype.encode=function(a,r){for(var c=t.prototype.encode.call(this,a).toString("base64"),f=["-----BEGIN "+r.label+"-----"],n=0;n<c.length;n+=64)f.push(c.slice(n,n+64));return f.push("-----END "+r.label+"-----"),f.join(`
|
|
33
|
-
`)},pem}function requireEncoders(){return hasRequiredEncoders||(hasRequiredEncoders=1,(function(e){var t=e;t.der=requireDer(),t.pem=requirePem()})(encoders)),encoders}function requireAsn1$2(){return hasRequiredAsn1$2||(hasRequiredAsn1$2=1,(function(){var e=asn1$1;e.bignum=requireBn$1(),e.define=requireApi().define,e.base=requireBase(),e.constants=requireConstants(),e.decoders=requireDecoders(),e.encoders=requireEncoders()})()),asn1$1}function requireCertificate$1(){if(hasRequiredCertificate$1)return certificate$1;hasRequiredCertificate$1=1;var e=requireAsn1$2(),t=e.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),i=e.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),a=e.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),r=e.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())})),c=e.define("RelativeDistinguishedName",(function(){this.setof(i)})),f=e.define("RDNSequence",(function(){this.seqof(c)})),n=e.define("Name",(function(){this.choice({rdnSequence:this.use(f)})})),o=e.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(t),this.key("notAfter").use(t))})),s=e.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),u=e.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(a),this.key("issuer").use(n),this.key("validity").use(o),this.key("subject").use(n),this.key("subjectPublicKeyInfo").use(r),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(s).optional())})),h=e.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(u),this.key("signatureAlgorithm").use(a),this.key("signatureValue").bitstr())}));return certificate$1=h}function requireAsn1$1(){if(hasRequiredAsn1$1)return asn1$2;hasRequiredAsn1$1=1;var e=requireAsn1$2();asn1$2.certificate=requireCertificate$1();var t=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$2.RSAPrivateKey=t;var i=e.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));asn1$2.RSAPublicKey=i;var a=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())})),r=e.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())}));asn1$2.PublicKey=r;var c=e.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(a),this.key("subjectPrivateKey").octstr())}));asn1$2.PrivateKey=c;var f=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$2.EncryptedPrivateKey=f;var n=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$2.DSAPrivateKey=n,asn1$2.DSAparam=e.define("DSAparam",(function(){this.int()}));var o=e.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})})),s=e.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(o),this.key("publicKey").optional().explicit(1).bitstr())}));return asn1$2.ECPrivateKey=s,asn1$2.signature=e.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())})),asn1$2}const require$$1$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$1,hasRequiredFixProc$1,parseAsn1$1,hasRequiredParseAsn1$1;function requireFixProc$1(){if(hasRequiredFixProc$1)return fixProc$1;hasRequiredFixProc$1=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,t=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,i=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,a=requireEvp_bytestokey(),r=requireBrowser$6(),c=requireSafeBuffer$1().Buffer;return fixProc$1=function(f,n){var o,s=f.toString(),u=s.match(e);if(u){var h="aes"+u[1],l=c.from(u[2],"hex"),d=c.from(u[3].replace(/[\r\n]/g,""),"base64"),w=a(n,l.slice(0,8),parseInt(u[1],10)).key,R=[],q=r.createDecipheriv(h,w,l);R.push(q.update(d)),R.push(q.final()),o=c.concat(R)}else{var A=s.match(i);o=c.from(A[2].replace(/[\r\n]/g,""),"base64")}return{tag:s.match(t)[1],data:o}},fixProc$1}function requireParseAsn1$1(){if(hasRequiredParseAsn1$1)return parseAsn1$1;hasRequiredParseAsn1$1=1;var e=requireAsn1$1(),t=require$$1$1,i=requireFixProc$1(),a=requireBrowser$6(),r=requireBrowser$7().pbkdf2Sync,c=requireSafeBuffer$1().Buffer;function f(n){var o;typeof n!="object"||c.isBuffer(n)||(o=n.passphrase,n=n.key),typeof n=="string"&&(n=c.from(n));var s,u,h=i(n,o),l=h.tag,d=h.data;switch(l){case"CERTIFICATE":u=e.certificate.decode(d,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(u||(u=e.PublicKey.decode(d,"der")),s=u.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return e.RSAPublicKey.decode(u.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return u.subjectPrivateKey=u.subjectPublicKey,{type:"ec",data:u};case"1.2.840.10040.4.1":return u.algorithm.params.pub_key=e.DSAparam.decode(u.subjectPublicKey.data,"der"),{type:"dsa",data:u.algorithm.params};default:throw new Error("unknown key id "+s)}case"ENCRYPTED PRIVATE KEY":d=(function(w,R){var q=w.algorithm.decrypt.kde.kdeparams.salt,A=parseInt(w.algorithm.decrypt.kde.kdeparams.iters.toString(),10),M=t[w.algorithm.decrypt.cipher.algo.join(".")],I=w.algorithm.decrypt.cipher.iv,$=w.subjectPrivateKey,S=parseInt(M.split("-")[1],10)/8,C=r(R,q,A,S,"sha1"),T=a.createDecipheriv(M,C,I),v=[];return v.push(T.update($)),v.push(T.final()),c.concat(v)})(d=e.EncryptedPrivateKey.decode(d,"der"),o);case"PRIVATE KEY":switch(s=(u=e.PrivateKey.decode(d,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return e.RSAPrivateKey.decode(u.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:u.algorithm.curve,privateKey:e.ECPrivateKey.decode(u.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return u.algorithm.params.priv_key=e.DSAparam.decode(u.subjectPrivateKey,"der"),{type:"dsa",params:u.algorithm.params};default:throw new Error("unknown key id "+s)}case"RSA PUBLIC KEY":return e.RSAPublicKey.decode(d,"der");case"RSA PRIVATE KEY":return e.RSAPrivateKey.decode(d,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:e.DSAPrivateKey.decode(d,"der")};case"EC PRIVATE KEY":return{curve:(d=e.ECPrivateKey.decode(d,"der")).parameters.value,privateKey:d.privateKey};default:throw new Error("unknown key type "+l)}}return f.signature=e.signature,parseAsn1$1=f}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$1().Buffer,t=requireBrowser$8(),i=requireBrowserifyRsa(),a=requireElliptic().ec,r=requireBn(),c=requireParseAsn1$1(),f=require$$4;function n(h,l,d,w){if((h=e.from(h.toArray())).length<l.byteLength()){var R=e.alloc(l.byteLength()-h.length);h=e.concat([R,h])}var q=d.length,A=(function($,S){$=o($,S),$=$.mod(S);var C=e.from($.toArray());if(C.length<S.byteLength()){var T=e.alloc(S.byteLength()-C.length);C=e.concat([T,C])}return C})(d,l),M=e.alloc(q);M.fill(1);var I=e.alloc(q);return I=t(w,I).update(M).update(e.from([0])).update(h).update(A).digest(),M=t(w,I).update(M).digest(),{k:I=t(w,I).update(M).update(e.from([1])).update(h).update(A).digest(),v:M=t(w,I).update(M).digest()}}function o(h,l){var d=new r(h),w=(h.length<<3)-l.bitLength();return w>0&&d.ishrn(w),d}function s(h,l,d){var w,R;do{for(w=e.alloc(0);8*w.length<h.bitLength();)l.v=t(d,l.k).update(l.v).digest(),w=e.concat([w,l.v]);R=o(w,h),l.k=t(d,l.k).update(l.v).update(e.from([0])).digest(),l.v=t(d,l.k).update(l.v).digest()}while(R.cmp(h)!==-1);return R}function u(h,l,d,w){return h.toRed(r.mont(d)).redPow(l).fromRed().mod(w)}return sign.exports=function(h,l,d,w,R){var q=c(l);if(q.curve){if(w!=="ecdsa"&&w!=="ecdsa/rsa")throw new Error("wrong private key type");return(function($,S){var C=f[S.curve.join(".")];if(!C)throw new Error("unknown curve "+S.curve.join("."));var T=new a(C),v=T.keyFromPrivate(S.privateKey),B=v.sign($);return e.from(B.toDER())})(h,q)}if(q.type==="dsa"){if(w!=="dsa")throw new Error("wrong private key type");return(function($,S,C){for(var T,v=S.params.priv_key,B=S.params.p,p=S.params.q,g=S.params.g,b=new r(0),y=o($,p).mod(p),m=!1,_=n(v,p,$,C);m===!1;)b=u(g,T=s(p,_,C),B,p),(m=T.invm(p).imul(y.add(v.mul(b))).mod(p)).cmpn(0)===0&&(m=!1,b=new r(0));return(function(k,O){k=k.toArray(),O=O.toArray(),128&k[0]&&(k=[0].concat(k)),128&O[0]&&(O=[0].concat(O));var F=k.length+O.length+4,j=[48,F,2,k.length];return j=j.concat(k,[2,O.length],O),e.from(j)})(b,m)})(h,q,d)}if(w!=="rsa"&&w!=="ecdsa/rsa")throw new Error("wrong private key type");if(l.padding!==void 0&&l.padding!==1)throw new Error("illegal or unsupported padding mode");h=e.concat([R,h]);for(var A=q.modulus.byteLength(),M=[0,1];h.length+M.length+1<A;)M.push(255);M.push(0);for(var I=-1;++I<h.length;)M.push(h[I]);return i(M,q)},sign.exports.getKey=n,sign.exports.makeKey=s,sign.exports}function requireVerify(){if(hasRequiredVerify)return verify_1;hasRequiredVerify=1;var e=requireSafeBuffer$1().Buffer,t=requireBn(),i=requireElliptic().ec,a=requireParseAsn1$1(),r=require$$4;function c(f,n){if(f.cmpn(0)<=0)throw new Error("invalid sig");if(f.cmp(n)>=0)throw new Error("invalid sig")}return verify_1=function(f,n,o,s,u){var h=a(o);if(h.type==="ec"){if(s!=="ecdsa"&&s!=="ecdsa/rsa")throw new Error("wrong public key type");return(function(M,I,$){var S=r[$.data.algorithm.curve.join(".")];if(!S)throw new Error("unknown curve "+$.data.algorithm.curve.join("."));var C=new i(S),T=$.data.subjectPrivateKey.data;return C.verify(I,M,T)})(f,n,h)}if(h.type==="dsa"){if(s!=="dsa")throw new Error("wrong public key type");return(function(M,I,$){var S=$.data.p,C=$.data.q,T=$.data.g,v=$.data.pub_key,B=a.signature.decode(M,"der"),p=B.s,g=B.r;c(p,C),c(g,C);var b=t.mont(S),y=p.invm(C),m=T.toRed(b).redPow(new t(I).mul(y).mod(C)).fromRed().mul(v.toRed(b).redPow(g.mul(y).mod(C)).fromRed()).mod(S).mod(C);return m.cmp(g)===0})(f,n,h)}if(s!=="rsa"&&s!=="ecdsa/rsa")throw new Error("wrong public key type");n=e.concat([u,n]);for(var l=h.modulus.byteLength(),d=[1],w=0;n.length+d.length+2<l;)d.push(255),w+=1;d.push(0);for(var R=-1;++R<n.length;)d.push(n[R]);d=e.from(d);var q=t.mont(h.modulus);f=(f=new t(f).toRed(q)).redPow(new t(h.publicExponent)),f=e.from(f.fromRed().toArray());var A=w<8?1:0;for(l=Math.min(f.length,d.length),f.length!==d.length&&(A=1),R=-1;++R<l;)A|=f[R]^d[R];return A===0},verify_1}function requireBrowser$3(){if(hasRequiredBrowser$3)return browser$3;hasRequiredBrowser$3=1;var e=requireSafeBuffer$1().Buffer,t=requireBrowser$9(),i=requireReadableBrowser(),a=requireInherits_browser(),r=requireSign(),c=requireVerify(),f=require$$6;function n(h){i.Writable.call(this);var l=f[h];if(!l)throw new Error("Unknown message digest");this._hashType=l.hash,this._hash=t(l.hash),this._tag=l.id,this._signType=l.sign}function o(h){i.Writable.call(this);var l=f[h];if(!l)throw new Error("Unknown message digest");this._hash=t(l.hash),this._tag=l.id,this._signType=l.sign}function s(h){return new n(h)}function u(h){return new o(h)}return Object.keys(f).forEach((function(h){f[h].id=e.from(f[h].id,"hex"),f[h.toLowerCase()]=f[h]})),a(n,i.Writable),n.prototype._write=function(h,l,d){this._hash.update(h),d()},n.prototype.update=function(h,l){return this._hash.update(typeof h=="string"?e.from(h,l):h),this},n.prototype.sign=function(h,l){this.end();var d=this._hash.digest(),w=r(d,h,this._hashType,this._signType,this._tag);return l?w.toString(l):w},a(o,i.Writable),o.prototype._write=function(h,l,d){this._hash.update(h),d()},o.prototype.update=function(h,l){return this._hash.update(typeof h=="string"?e.from(h,l):h),this},o.prototype.verify=function(h,l,d){var w=typeof l=="string"?e.from(l,d):l;this.end();var R=this._hash.digest();return c(w,R,h,this._signType,this._tag)},browser$3={Sign:s,Verify:u,createSign:s,createVerify:u}}function requireBrowser$2(){if(hasRequiredBrowser$2)return browser$2;hasRequiredBrowser$2=1;var e=requireElliptic(),t=requireBn$1();browser$2=function(c){return new a(c)};var i={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 a(c){this.curveType=i[c],this.curveType||(this.curveType={name:c}),this.curve=new e.ec(this.curveType.name),this.keys=void 0}function r(c,f,n){Array.isArray(c)||(c=c.toArray());var o=new Buffer(c);if(n&&o.length<n){var s=new Buffer(n-o.length);s.fill(0),o=Buffer.concat([s,o])}return f?o.toString(f):o}return i.p224=i.secp224r1,i.p256=i.secp256r1=i.prime256v1,i.p192=i.secp192r1=i.prime192v1,i.p384=i.secp384r1,i.p521=i.secp521r1,a.prototype.generateKeys=function(c,f){return this.keys=this.curve.genKeyPair(),this.getPublicKey(c,f)},a.prototype.computeSecret=function(c,f,n){return f=f||"utf8",Buffer.isBuffer(c)||(c=new Buffer(c,f)),r(this.curve.keyFromPublic(c).getPublic().mul(this.keys.getPrivate()).getX(),n,this.curveType.byteLength)},a.prototype.getPublicKey=function(c,f){var n=this.keys.getPublic(f==="compressed",!0);return f==="hybrid"&&(n[n.length-1]%2?n[0]=7:n[0]=6),r(n,c)},a.prototype.getPrivateKey=function(c){return r(this.keys.getPrivate(),c)},a.prototype.setPublicKey=function(c,f){return f=f||"utf8",Buffer.isBuffer(c)||(c=new Buffer(c,f)),this.keys._importPublic(c),this},a.prototype.setPrivateKey=function(c,f){f=f||"utf8",Buffer.isBuffer(c)||(c=new Buffer(c,f));var n=new t(c);return n=n.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(n),this},browser$2}var browser$1={},asn1={},certificate,hasRequiredCertificate,hasRequiredAsn1;function requireCertificate(){if(hasRequiredCertificate)return certificate;hasRequiredCertificate=1;var e=requireAsn1$2(),t=e.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),i=e.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),a=e.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),r=e.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())})),c=e.define("RelativeDistinguishedName",(function(){this.setof(i)})),f=e.define("RDNSequence",(function(){this.seqof(c)})),n=e.define("Name",(function(){this.choice({rdnSequence:this.use(f)})})),o=e.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(t),this.key("notAfter").use(t))})),s=e.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),u=e.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(a),this.key("issuer").use(n),this.key("validity").use(o),this.key("subject").use(n),this.key("subjectPublicKeyInfo").use(r),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(s).optional())})),h=e.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(u),this.key("signatureAlgorithm").use(a),this.key("signatureValue").bitstr())}));return certificate=h}function requireAsn1(){if(hasRequiredAsn1)return asn1;hasRequiredAsn1=1;var e=requireAsn1$2();asn1.certificate=requireCertificate();var t=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.RSAPrivateKey=t;var i=e.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));asn1.RSAPublicKey=i;var a=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())})),r=e.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())}));asn1.PublicKey=r;var c=e.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(a),this.key("subjectPrivateKey").octstr())}));asn1.PrivateKey=c;var f=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.EncryptedPrivateKey=f;var n=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.DSAPrivateKey=n,asn1.DSAparam=e.define("DSAparam",(function(){this.int()}));var o=e.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})})),s=e.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(o),this.key("publicKey").optional().explicit(1).bitstr())}));return asn1.ECPrivateKey=s,asn1.signature=e.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())})),asn1}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,mgf,hasRequiredMgf,xor,hasRequiredXor,withPublic_1,hasRequiredWithPublic,publicEncrypt,hasRequiredPublicEncrypt,privateDecrypt,hasRequiredPrivateDecrypt,hasRequiredBrowser$1;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,t=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,i=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,a=requireEvp_bytestokey(),r=requireBrowser$6(),c=requireSafeBuffer$1().Buffer;return fixProc=function(f,n){var o,s=f.toString(),u=s.match(e);if(u){var h="aes"+u[1],l=c.from(u[2],"hex"),d=c.from(u[3].replace(/[\r\n]/g,""),"base64"),w=a(n,l.slice(0,8),parseInt(u[1],10)).key,R=[],q=r.createDecipheriv(h,w,l);R.push(q.update(d)),R.push(q.final()),o=c.concat(R)}else{var A=s.match(i);o=c.from(A[2].replace(/[\r\n]/g,""),"base64")}return{tag:s.match(t)[1],data:o}},fixProc}function requireParseAsn1(){if(hasRequiredParseAsn1)return parseAsn1;hasRequiredParseAsn1=1;var e=requireAsn1(),t=require$$1,i=requireFixProc(),a=requireBrowser$6(),r=requireBrowser$7(),c=requireSafeBuffer$1().Buffer;function f(n){var o;typeof n!="object"||c.isBuffer(n)||(o=n.passphrase,n=n.key),typeof n=="string"&&(n=c.from(n));var s,u,h=i(n,o),l=h.tag,d=h.data;switch(l){case"CERTIFICATE":u=e.certificate.decode(d,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(u||(u=e.PublicKey.decode(d,"der")),s=u.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return e.RSAPublicKey.decode(u.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return u.subjectPrivateKey=u.subjectPublicKey,{type:"ec",data:u};case"1.2.840.10040.4.1":return u.algorithm.params.pub_key=e.DSAparam.decode(u.subjectPublicKey.data,"der"),{type:"dsa",data:u.algorithm.params};default:throw new Error("unknown key id "+s)}case"ENCRYPTED PRIVATE KEY":d=(function(w,R){var q=w.algorithm.decrypt.kde.kdeparams.salt,A=parseInt(w.algorithm.decrypt.kde.kdeparams.iters.toString(),10),M=t[w.algorithm.decrypt.cipher.algo.join(".")],I=w.algorithm.decrypt.cipher.iv,$=w.subjectPrivateKey,S=parseInt(M.split("-")[1],10)/8,C=r.pbkdf2Sync(R,q,A,S,"sha1"),T=a.createDecipheriv(M,C,I),v=[];return v.push(T.update($)),v.push(T.final()),c.concat(v)})(d=e.EncryptedPrivateKey.decode(d,"der"),o);case"PRIVATE KEY":switch(s=(u=e.PrivateKey.decode(d,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return e.RSAPrivateKey.decode(u.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:u.algorithm.curve,privateKey:e.ECPrivateKey.decode(u.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return u.algorithm.params.priv_key=e.DSAparam.decode(u.subjectPrivateKey,"der"),{type:"dsa",params:u.algorithm.params};default:throw new Error("unknown key id "+s)}case"RSA PUBLIC KEY":return e.RSAPublicKey.decode(d,"der");case"RSA PRIVATE KEY":return e.RSAPrivateKey.decode(d,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:e.DSAPrivateKey.decode(d,"der")};case"EC PRIVATE KEY":return{curve:(d=e.ECPrivateKey.decode(d,"der")).parameters.value,privateKey:d.privateKey};default:throw new Error("unknown key type "+l)}}return f.signature=e.signature,parseAsn1=f}function requireMgf(){if(hasRequiredMgf)return mgf;hasRequiredMgf=1;var e=requireBrowser$9(),t=requireSafeBuffer$1().Buffer;function i(a){var r=t.allocUnsafe(4);return r.writeUInt32BE(a,0),r}return mgf=function(a,r){for(var c,f=t.alloc(0),n=0;f.length<r;)c=i(n++),f=t.concat([f,e("sha1").update(a).update(c).digest()]);return f.slice(0,r)}}function requireXor(){return hasRequiredXor?xor:(hasRequiredXor=1,xor=function(e,t){for(var i=e.length,a=-1;++a<i;)e[a]^=t[a];return e})}function requireWithPublic(){if(hasRequiredWithPublic)return withPublic_1;hasRequiredWithPublic=1;var e=requireBn$1(),t=requireSafeBuffer$1().Buffer;return withPublic_1=function(i,a){return t.from(i.toRed(e.mont(a.modulus)).redPow(new e(a.publicExponent)).fromRed().toArray())},withPublic_1}function requirePublicEncrypt(){if(hasRequiredPublicEncrypt)return publicEncrypt;hasRequiredPublicEncrypt=1;var e=requireParseAsn1(),t=requireBrowser$b(),i=requireBrowser$9(),a=requireMgf(),r=requireXor(),c=requireBn$1(),f=requireWithPublic(),n=requireBrowserifyRsa(),o=requireSafeBuffer$1().Buffer;return publicEncrypt=function(s,u,h){var l;l=s.padding?s.padding:h?1:4;var d,w=e(s);if(l===4)d=(function(R,q){var A=R.modulus.byteLength(),M=q.length,I=i("sha1").update(o.alloc(0)).digest(),$=I.length,S=2*$;if(M>A-S-2)throw new Error("message too long");var C=o.alloc(A-M-S-2),T=A-$-1,v=t($),B=r(o.concat([I,C,o.alloc(1,1),q],T),a(v,T)),p=r(v,a(B,$));return new c(o.concat([o.alloc(1),p,B],A))})(w,u);else if(l===1)d=(function(R,q,A){var M,I=q.length,$=R.modulus.byteLength();if(I>$-11)throw new Error("message too long");return M=A?o.alloc($-I-3,255):(function(S){for(var C,T=o.allocUnsafe(S),v=0,B=t(2*S),p=0;v<S;)p===B.length&&(B=t(2*S),p=0),(C=B[p++])&&(T[v++]=C);return T})($-I-3),new c(o.concat([o.from([0,A?1:2]),M,o.alloc(1),q],$))})(w,u,h);else{if(l!==3)throw new Error("unknown padding");if((d=new c(u)).cmp(w.modulus)>=0)throw new Error("data too long for modulus")}return h?n(d,w):f(d,w)},publicEncrypt}function requirePrivateDecrypt(){if(hasRequiredPrivateDecrypt)return privateDecrypt;hasRequiredPrivateDecrypt=1;var e=requireParseAsn1(),t=requireMgf(),i=requireXor(),a=requireBn$1(),r=requireBrowserifyRsa(),c=requireBrowser$9(),f=requireWithPublic(),n=requireSafeBuffer$1().Buffer;return privateDecrypt=function(o,s,u){var h;h=o.padding?o.padding:u?1:4;var l,d=e(o),w=d.modulus.byteLength();if(s.length>w||new a(s).cmp(d.modulus)>=0)throw new Error("decryption error");l=u?f(new a(s),d):r(s,d);var R=n.alloc(w-l.length);if(l=n.concat([R,l],w),h===4)return(function(q,A){var M=q.modulus.byteLength(),I=c("sha1").update(n.alloc(0)).digest(),$=I.length;if(A[0]!==0)throw new Error("decryption error");var S=A.slice(1,$+1),C=A.slice($+1),T=i(S,t(C,$)),v=i(C,t(T,M-$-1));if((function(p,g){p=n.from(p),g=n.from(g);var b=0,y=p.length;p.length!==g.length&&(b++,y=Math.min(p.length,g.length));for(var m=-1;++m<y;)b+=p[m]^g[m];return b})(I,v.slice(0,$)))throw new Error("decryption error");for(var B=$;v[B]===0;)B++;if(v[B++]!==1)throw new Error("decryption error");return v.slice(B)})(d,l);if(h===1)return(function(q,A,M){for(var I=A.slice(0,2),$=2,S=0;A[$++]!==0;)if($>=A.length){S++;break}var C=A.slice(2,$-1);if((I.toString("hex")!=="0002"&&!M||I.toString("hex")!=="0001"&&M)&&S++,C.length<8&&S++,S)throw new Error("decryption error");return A.slice($)})(0,l,u);if(h===3)return l;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(t,i){return e.publicEncrypt(t,i,!0)},e.publicDecrypt=function(t,i){return e.privateDecrypt(t,i,!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 t=requireSafeBuffer$1(),i=requireBrowser$b(),a=t.Buffer,r=t.kMaxLength,c=commonjsGlobal.crypto||commonjsGlobal.msCrypto,f=Math.pow(2,32)-1;function n(u,h){if(typeof u!="number"||u!=u)throw new TypeError("offset must be a number");if(u>f||u<0)throw new TypeError("offset must be a uint32");if(u>r||u>h)throw new RangeError("offset out of range")}function o(u,h,l){if(typeof u!="number"||u!=u)throw new TypeError("size must be a number");if(u>f||u<0)throw new TypeError("size must be a uint32");if(u+h>l||u>r)throw new RangeError("buffer too small")}function s(u,h,l,d){if(process$1.browser){var w=u.buffer,R=new Uint8Array(w,h,l);return c.getRandomValues(R),d?void process$1.nextTick((function(){d(null,u)})):u}if(!d)return i(l).copy(u,h),u;i(l,(function(q,A){if(q)return d(q);A.copy(u,h),d(null,u)}))}return c&&c.getRandomValues||!process$1.browser?(browser.randomFill=function(u,h,l,d){if(!(a.isBuffer(u)||u instanceof commonjsGlobal.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if(typeof h=="function")d=h,h=0,l=u.length;else if(typeof l=="function")d=l,l=u.length-h;else if(typeof d!="function")throw new TypeError('"cb" argument must be a function');return n(h,u.length),o(l,h,u.length),s(u,h,l,d)},browser.randomFillSync=function(u,h,l){if(h===void 0&&(h=0),!(a.isBuffer(u)||u instanceof commonjsGlobal.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return n(h,u.length),l===void 0&&(l=u.length-h),o(l,h,u.length),s(u,h,l)}):(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(),t=Object.keys(e),i=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(t);cryptoBrowserify.getHashes=function(){return i};var a=requireBrowser$7();cryptoBrowserify.pbkdf2=a.pbkdf2,cryptoBrowserify.pbkdf2Sync=a.pbkdf2Sync;var r=requireBrowser$5();cryptoBrowserify.Cipher=r.Cipher,cryptoBrowserify.createCipher=r.createCipher,cryptoBrowserify.Cipheriv=r.Cipheriv,cryptoBrowserify.createCipheriv=r.createCipheriv,cryptoBrowserify.Decipher=r.Decipher,cryptoBrowserify.createDecipher=r.createDecipher,cryptoBrowserify.Decipheriv=r.Decipheriv,cryptoBrowserify.createDecipheriv=r.createDecipheriv,cryptoBrowserify.getCiphers=r.getCiphers,cryptoBrowserify.listCiphers=r.listCiphers;var c=requireBrowser$4();cryptoBrowserify.DiffieHellmanGroup=c.DiffieHellmanGroup,cryptoBrowserify.createDiffieHellmanGroup=c.createDiffieHellmanGroup,cryptoBrowserify.getDiffieHellman=c.getDiffieHellman,cryptoBrowserify.createDiffieHellman=c.createDiffieHellman,cryptoBrowserify.DiffieHellman=c.DiffieHellman;var f=requireBrowser$3();cryptoBrowserify.createSign=f.createSign,cryptoBrowserify.Sign=f.Sign,cryptoBrowserify.createVerify=f.createVerify,cryptoBrowserify.Verify=f.Verify,cryptoBrowserify.createECDH=requireBrowser$2();var n=requireBrowser$1();cryptoBrowserify.publicEncrypt=n.publicEncrypt,cryptoBrowserify.privateEncrypt=n.privateEncrypt,cryptoBrowserify.publicDecrypt=n.publicDecrypt,cryptoBrowserify.privateDecrypt=n.privateDecrypt;var o=requireBrowser();return cryptoBrowserify.randomFill=o.randomFill,cryptoBrowserify.randomFillSync=o.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(t,i){var a;if(typeof window<"u"&&window.crypto&&(a=window.crypto),typeof self<"u"&&self.crypto&&(a=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(a=globalThis.crypto),!a&&typeof window<"u"&&window.msCrypto&&(a=window.msCrypto),!a&&commonjsGlobal!==void 0&&commonjsGlobal.crypto&&(a=commonjsGlobal.crypto),!a&&typeof commonjsRequire=="function")try{a=requireCryptoBrowserify()}catch{}var r=function(){if(a){if(typeof a.getRandomValues=="function")try{return a.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof a.randomBytes=="function")try{return a.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},c=Object.create||(function(){function q(){}return function(A){var M;return q.prototype=A,M=new q,q.prototype=null,M}})(),f={},n=f.lib={},o=n.Base={extend:function(q){var A=c(this);return q&&A.mixIn(q),A.hasOwnProperty("init")&&this.init!==A.init||(A.init=function(){A.$super.init.apply(this,arguments)}),A.init.prototype=A,A.$super=this,A},create:function(){var q=this.extend();return q.init.apply(q,arguments),q},init:function(){},mixIn:function(q){for(var A in q)q.hasOwnProperty(A)&&(this[A]=q[A]);q.hasOwnProperty("toString")&&(this.toString=q.toString)},clone:function(){return this.init.prototype.extend(this)}},s=n.WordArray=o.extend({init:function(q,A){q=this.words=q||[],this.sigBytes=A!=i?A:4*q.length},toString:function(q){return(q||h).stringify(this)},concat:function(q){var A=this.words,M=q.words,I=this.sigBytes,$=q.sigBytes;if(this.clamp(),I%4)for(var S=0;S<$;S++){var C=M[S>>>2]>>>24-S%4*8&255;A[I+S>>>2]|=C<<24-(I+S)%4*8}else for(var T=0;T<$;T+=4)A[I+T>>>2]=M[T>>>2];return this.sigBytes+=$,this},clamp:function(){var q=this.words,A=this.sigBytes;q[A>>>2]&=4294967295<<32-A%4*8,q.length=t.ceil(A/4)},clone:function(){var q=o.clone.call(this);return q.words=this.words.slice(0),q},random:function(q){for(var A=[],M=0;M<q;M+=4)A.push(r());return new s.init(A,q)}}),u=f.enc={},h=u.Hex={stringify:function(q){for(var A=q.words,M=q.sigBytes,I=[],$=0;$<M;$++){var S=A[$>>>2]>>>24-$%4*8&255;I.push((S>>>4).toString(16)),I.push((15&S).toString(16))}return I.join("")},parse:function(q){for(var A=q.length,M=[],I=0;I<A;I+=2)M[I>>>3]|=parseInt(q.substr(I,2),16)<<24-I%8*4;return new s.init(M,A/2)}},l=u.Latin1={stringify:function(q){for(var A=q.words,M=q.sigBytes,I=[],$=0;$<M;$++){var S=A[$>>>2]>>>24-$%4*8&255;I.push(String.fromCharCode(S))}return I.join("")},parse:function(q){for(var A=q.length,M=[],I=0;I<A;I++)M[I>>>2]|=(255&q.charCodeAt(I))<<24-I%4*8;return new s.init(M,A)}},d=u.Utf8={stringify:function(q){try{return decodeURIComponent(escape(l.stringify(q)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(q){return l.parse(unescape(encodeURIComponent(q)))}},w=n.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new s.init,this._nDataBytes=0},_append:function(q){typeof q=="string"&&(q=d.parse(q)),this._data.concat(q),this._nDataBytes+=q.sigBytes},_process:function(q){var A,M=this._data,I=M.words,$=M.sigBytes,S=this.blockSize,C=$/(4*S),T=(C=q?t.ceil(C):t.max((0|C)-this._minBufferSize,0))*S,v=t.min(4*T,$);if(T){for(var B=0;B<T;B+=S)this._doProcessBlock(I,B);A=I.splice(0,T),M.sigBytes-=v}return new s.init(A,v)},clone:function(){var q=o.clone.call(this);return q._data=this._data.clone(),q},_minBufferSize:0});n.Hasher=w.extend({cfg:o.extend(),init:function(q){this.cfg=this.cfg.extend(q),this.reset()},reset:function(){w.reset.call(this),this._doReset()},update:function(q){return this._append(q),this._process(),this},finalize:function(q){return q&&this._append(q),this._doFinalize()},blockSize:16,_createHelper:function(q){return function(A,M){return new q.init(M).finalize(A)}},_createHmacHelper:function(q){return function(A,M){return new R.HMAC.init(q,M).finalize(A)}}});var R=f.algo={};return f})(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=(f=requireCore(),i=(t=f).lib,a=i.Base,r=i.WordArray,(c=t.x64={}).Word=a.extend({init:function(n,o){this.high=n,this.low=o}}),c.WordArray=a.extend({init:function(n,o){n=this.words=n||[],this.sigBytes=o!=e?o:8*n.length},toX32:function(){for(var n=this.words,o=n.length,s=[],u=0;u<o;u++){var h=n[u];s.push(h.high),s.push(h.low)}return r.create(s,this.sigBytes)},clone:function(){for(var n=a.clone.call(this),o=n.words=this.words.slice(0),s=o.length,u=0;u<s;u++)o[u]=o[u].clone();return n}}),f)),x64Core$1.exports;var e,t,i,a,r,c,f}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 t=e.lib.WordArray,i=t.init,a=t.init=function(r){if(r instanceof ArrayBuffer&&(r=new Uint8Array(r)),(r instanceof Int8Array||typeof Uint8ClampedArray<"u"&&r instanceof Uint8ClampedArray||r instanceof Int16Array||r instanceof Uint16Array||r instanceof Int32Array||r instanceof Uint32Array||r instanceof Float32Array||r instanceof Float64Array)&&(r=new Uint8Array(r.buffer,r.byteOffset,r.byteLength)),r instanceof Uint8Array){for(var c=r.byteLength,f=[],n=0;n<c;n++)f[n>>>2]|=r[n]<<24-n%4*8;i.call(this,f,c)}else i.apply(this,arguments)};a.prototype=t}})(),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 t=e,i=t.lib.WordArray,a=t.enc;function r(c){return c<<8&4278255360|c>>>8&16711935}a.Utf16=a.Utf16BE={stringify:function(c){for(var f=c.words,n=c.sigBytes,o=[],s=0;s<n;s+=2){var u=f[s>>>2]>>>16-s%4*8&65535;o.push(String.fromCharCode(u))}return o.join("")},parse:function(c){for(var f=c.length,n=[],o=0;o<f;o++)n[o>>>1]|=c.charCodeAt(o)<<16-o%2*16;return i.create(n,2*f)}},a.Utf16LE={stringify:function(c){for(var f=c.words,n=c.sigBytes,o=[],s=0;s<n;s+=2){var u=r(f[s>>>2]>>>16-s%4*8&65535);o.push(String.fromCharCode(u))}return o.join("")},parse:function(c){for(var f=c.length,n=[],o=0;o<f;o++)n[o>>>1]|=r(c.charCodeAt(o)<<16-o%2*16);return i.create(n,2*f)}}})(),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 t=e,i=t.lib.WordArray;function a(r,c,f){for(var n=[],o=0,s=0;s<c;s++)if(s%4){var u=f[r.charCodeAt(s-1)]<<s%4*2|f[r.charCodeAt(s)]>>>6-s%4*2;n[o>>>2]|=u<<24-o%4*8,o++}return i.create(n,o)}t.enc.Base64={stringify:function(r){var c=r.words,f=r.sigBytes,n=this._map;r.clamp();for(var o=[],s=0;s<f;s+=3)for(var u=(c[s>>>2]>>>24-s%4*8&255)<<16|(c[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|c[s+2>>>2]>>>24-(s+2)%4*8&255,h=0;h<4&&s+.75*h<f;h++)o.push(n.charAt(u>>>6*(3-h)&63));var l=n.charAt(64);if(l)for(;o.length%4;)o.push(l);return o.join("")},parse:function(r){var c=r.length,f=this._map,n=this._reverseMap;if(!n){n=this._reverseMap=[];for(var o=0;o<f.length;o++)n[f.charCodeAt(o)]=o}var s=f.charAt(64);if(s){var u=r.indexOf(s);u!==-1&&(c=u)}return a(r,c,n)},_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 t=e,i=t.lib.WordArray;function a(r,c,f){for(var n=[],o=0,s=0;s<c;s++)if(s%4){var u=f[r.charCodeAt(s-1)]<<s%4*2|f[r.charCodeAt(s)]>>>6-s%4*2;n[o>>>2]|=u<<24-o%4*8,o++}return i.create(n,o)}t.enc.Base64url={stringify:function(r,c){c===void 0&&(c=!0);var f=r.words,n=r.sigBytes,o=c?this._safe_map:this._map;r.clamp();for(var s=[],u=0;u<n;u+=3)for(var h=(f[u>>>2]>>>24-u%4*8&255)<<16|(f[u+1>>>2]>>>24-(u+1)%4*8&255)<<8|f[u+2>>>2]>>>24-(u+2)%4*8&255,l=0;l<4&&u+.75*l<n;l++)s.push(o.charAt(h>>>6*(3-l)&63));var d=o.charAt(64);if(d)for(;s.length%4;)s.push(d);return s.join("")},parse:function(r,c){c===void 0&&(c=!0);var f=r.length,n=c?this._safe_map:this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var s=0;s<n.length;s++)o[n.charCodeAt(s)]=s}var u=n.charAt(64);if(u){var h=r.indexOf(u);h!==-1&&(f=h)}return a(r,f,o)},_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(t){var i=e,a=i.lib,r=a.WordArray,c=a.Hasher,f=i.algo,n=[];(function(){for(var d=0;d<64;d++)n[d]=4294967296*t.abs(t.sin(d+1))|0})();var o=f.MD5=c.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(d,w){for(var R=0;R<16;R++){var q=w+R,A=d[q];d[q]=16711935&(A<<8|A>>>24)|4278255360&(A<<24|A>>>8)}var M=this._hash.words,I=d[w+0],$=d[w+1],S=d[w+2],C=d[w+3],T=d[w+4],v=d[w+5],B=d[w+6],p=d[w+7],g=d[w+8],b=d[w+9],y=d[w+10],m=d[w+11],_=d[w+12],k=d[w+13],O=d[w+14],F=d[w+15],j=M[0],N=M[1],U=M[2],P=M[3];j=s(j,N,U,P,I,7,n[0]),P=s(P,j,N,U,$,12,n[1]),U=s(U,P,j,N,S,17,n[2]),N=s(N,U,P,j,C,22,n[3]),j=s(j,N,U,P,T,7,n[4]),P=s(P,j,N,U,v,12,n[5]),U=s(U,P,j,N,B,17,n[6]),N=s(N,U,P,j,p,22,n[7]),j=s(j,N,U,P,g,7,n[8]),P=s(P,j,N,U,b,12,n[9]),U=s(U,P,j,N,y,17,n[10]),N=s(N,U,P,j,m,22,n[11]),j=s(j,N,U,P,_,7,n[12]),P=s(P,j,N,U,k,12,n[13]),U=s(U,P,j,N,O,17,n[14]),j=u(j,N=s(N,U,P,j,F,22,n[15]),U,P,$,5,n[16]),P=u(P,j,N,U,B,9,n[17]),U=u(U,P,j,N,m,14,n[18]),N=u(N,U,P,j,I,20,n[19]),j=u(j,N,U,P,v,5,n[20]),P=u(P,j,N,U,y,9,n[21]),U=u(U,P,j,N,F,14,n[22]),N=u(N,U,P,j,T,20,n[23]),j=u(j,N,U,P,b,5,n[24]),P=u(P,j,N,U,O,9,n[25]),U=u(U,P,j,N,C,14,n[26]),N=u(N,U,P,j,g,20,n[27]),j=u(j,N,U,P,k,5,n[28]),P=u(P,j,N,U,S,9,n[29]),U=u(U,P,j,N,p,14,n[30]),j=h(j,N=u(N,U,P,j,_,20,n[31]),U,P,v,4,n[32]),P=h(P,j,N,U,g,11,n[33]),U=h(U,P,j,N,m,16,n[34]),N=h(N,U,P,j,O,23,n[35]),j=h(j,N,U,P,$,4,n[36]),P=h(P,j,N,U,T,11,n[37]),U=h(U,P,j,N,p,16,n[38]),N=h(N,U,P,j,y,23,n[39]),j=h(j,N,U,P,k,4,n[40]),P=h(P,j,N,U,I,11,n[41]),U=h(U,P,j,N,C,16,n[42]),N=h(N,U,P,j,B,23,n[43]),j=h(j,N,U,P,b,4,n[44]),P=h(P,j,N,U,_,11,n[45]),U=h(U,P,j,N,F,16,n[46]),j=l(j,N=h(N,U,P,j,S,23,n[47]),U,P,I,6,n[48]),P=l(P,j,N,U,p,10,n[49]),U=l(U,P,j,N,O,15,n[50]),N=l(N,U,P,j,v,21,n[51]),j=l(j,N,U,P,_,6,n[52]),P=l(P,j,N,U,C,10,n[53]),U=l(U,P,j,N,y,15,n[54]),N=l(N,U,P,j,$,21,n[55]),j=l(j,N,U,P,g,6,n[56]),P=l(P,j,N,U,F,10,n[57]),U=l(U,P,j,N,B,15,n[58]),N=l(N,U,P,j,k,21,n[59]),j=l(j,N,U,P,T,6,n[60]),P=l(P,j,N,U,m,10,n[61]),U=l(U,P,j,N,S,15,n[62]),N=l(N,U,P,j,b,21,n[63]),M[0]=M[0]+j|0,M[1]=M[1]+N|0,M[2]=M[2]+U|0,M[3]=M[3]+P|0},_doFinalize:function(){var d=this._data,w=d.words,R=8*this._nDataBytes,q=8*d.sigBytes;w[q>>>5]|=128<<24-q%32;var A=t.floor(R/4294967296),M=R;w[15+(q+64>>>9<<4)]=16711935&(A<<8|A>>>24)|4278255360&(A<<24|A>>>8),w[14+(q+64>>>9<<4)]=16711935&(M<<8|M>>>24)|4278255360&(M<<24|M>>>8),d.sigBytes=4*(w.length+1),this._process();for(var I=this._hash,$=I.words,S=0;S<4;S++){var C=$[S];$[S]=16711935&(C<<8|C>>>24)|4278255360&(C<<24|C>>>8)}return I},clone:function(){var d=c.clone.call(this);return d._hash=this._hash.clone(),d}});function s(d,w,R,q,A,M,I){var $=d+(w&R|~w&q)+A+I;return($<<M|$>>>32-M)+w}function u(d,w,R,q,A,M,I){var $=d+(w&q|R&~q)+A+I;return($<<M|$>>>32-M)+w}function h(d,w,R,q,A,M,I){var $=d+(w^R^q)+A+I;return($<<M|$>>>32-M)+w}function l(d,w,R,q,A,M,I){var $=d+(R^(w|~q))+A+I;return($<<M|$>>>32-M)+w}i.MD5=c._createHelper(o),i.HmacMD5=c._createHmacHelper(o)})(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=(n=requireCore(),t=(e=n).lib,i=t.WordArray,a=t.Hasher,r=e.algo,c=[],f=r.SHA1=a.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(o,s){for(var u=this._hash.words,h=u[0],l=u[1],d=u[2],w=u[3],R=u[4],q=0;q<80;q++){if(q<16)c[q]=0|o[s+q];else{var A=c[q-3]^c[q-8]^c[q-14]^c[q-16];c[q]=A<<1|A>>>31}var M=(h<<5|h>>>27)+R+c[q];M+=q<20?1518500249+(l&d|~l&w):q<40?1859775393+(l^d^w):q<60?(l&d|l&w|d&w)-1894007588:(l^d^w)-899497514,R=w,w=d,d=l<<30|l>>>2,l=h,h=M}u[0]=u[0]+h|0,u[1]=u[1]+l|0,u[2]=u[2]+d|0,u[3]=u[3]+w|0,u[4]=u[4]+R|0},_doFinalize:function(){var o=this._data,s=o.words,u=8*this._nDataBytes,h=8*o.sigBytes;return s[h>>>5]|=128<<24-h%32,s[14+(h+64>>>9<<4)]=Math.floor(u/4294967296),s[15+(h+64>>>9<<4)]=u,o.sigBytes=4*s.length,this._process(),this._hash},clone:function(){var o=a.clone.call(this);return o._hash=this._hash.clone(),o}}),e.SHA1=a._createHelper(f),e.HmacSHA1=a._createHmacHelper(f),n.SHA1)),sha1$1.exports;var e,t,i,a,r,c,f,n}var sha256$1={exports:{}},sha256=sha256$1.exports,hasRequiredSha256;function requireSha256(){return hasRequiredSha256||(hasRequiredSha256=1,sha256$1.exports=(e=requireCore(),(function(t){var i=e,a=i.lib,r=a.WordArray,c=a.Hasher,f=i.algo,n=[],o=[];(function(){function h(R){for(var q=t.sqrt(R),A=2;A<=q;A++)if(!(R%A))return!1;return!0}function l(R){return 4294967296*(R-(0|R))|0}for(var d=2,w=0;w<64;)h(d)&&(w<8&&(n[w]=l(t.pow(d,.5))),o[w]=l(t.pow(d,1/3)),w++),d++})();var s=[],u=f.SHA256=c.extend({_doReset:function(){this._hash=new r.init(n.slice(0))},_doProcessBlock:function(h,l){for(var d=this._hash.words,w=d[0],R=d[1],q=d[2],A=d[3],M=d[4],I=d[5],$=d[6],S=d[7],C=0;C<64;C++){if(C<16)s[C]=0|h[l+C];else{var T=s[C-15],v=(T<<25|T>>>7)^(T<<14|T>>>18)^T>>>3,B=s[C-2],p=(B<<15|B>>>17)^(B<<13|B>>>19)^B>>>10;s[C]=v+s[C-7]+p+s[C-16]}var g=w&R^w&q^R&q,b=(w<<30|w>>>2)^(w<<19|w>>>13)^(w<<10|w>>>22),y=S+((M<<26|M>>>6)^(M<<21|M>>>11)^(M<<7|M>>>25))+(M&I^~M&$)+o[C]+s[C];S=$,$=I,I=M,M=A+y|0,A=q,q=R,R=w,w=y+(b+g)|0}d[0]=d[0]+w|0,d[1]=d[1]+R|0,d[2]=d[2]+q|0,d[3]=d[3]+A|0,d[4]=d[4]+M|0,d[5]=d[5]+I|0,d[6]=d[6]+$|0,d[7]=d[7]+S|0},_doFinalize:function(){var h=this._data,l=h.words,d=8*this._nDataBytes,w=8*h.sigBytes;return l[w>>>5]|=128<<24-w%32,l[14+(w+64>>>9<<4)]=t.floor(d/4294967296),l[15+(w+64>>>9<<4)]=d,h.sigBytes=4*l.length,this._process(),this._hash},clone:function(){var h=c.clone.call(this);return h._hash=this._hash.clone(),h}});i.SHA256=c._createHelper(u),i.HmacSHA256=c._createHmacHelper(u)})(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=(c=requireCore(),requireSha256(),t=(e=c).lib.WordArray,i=e.algo,a=i.SHA256,r=i.SHA224=a.extend({_doReset:function(){this._hash=new t.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var f=a._doFinalize.call(this);return f.sigBytes-=4,f}}),e.SHA224=a._createHelper(r),e.HmacSHA224=a._createHmacHelper(r),c.SHA224)),sha224$1.exports;var e,t,i,a,r,c}var sha512$1={exports:{}},sha512=sha512$1.exports,hasRequiredSha512;function requireSha512(){return hasRequiredSha512||(hasRequiredSha512=1,sha512$1.exports=(e=requireCore(),requireX64Core(),(function(){var t=e,i=t.lib.Hasher,a=t.x64,r=a.Word,c=a.WordArray,f=t.algo;function n(){return r.create.apply(r,arguments)}var o=[n(1116352408,3609767458),n(1899447441,602891725),n(3049323471,3964484399),n(3921009573,2173295548),n(961987163,4081628472),n(1508970993,3053834265),n(2453635748,2937671579),n(2870763221,3664609560),n(3624381080,2734883394),n(310598401,1164996542),n(607225278,1323610764),n(1426881987,3590304994),n(1925078388,4068182383),n(2162078206,991336113),n(2614888103,633803317),n(3248222580,3479774868),n(3835390401,2666613458),n(4022224774,944711139),n(264347078,2341262773),n(604807628,2007800933),n(770255983,1495990901),n(1249150122,1856431235),n(1555081692,3175218132),n(1996064986,2198950837),n(2554220882,3999719339),n(2821834349,766784016),n(2952996808,2566594879),n(3210313671,3203337956),n(3336571891,1034457026),n(3584528711,2466948901),n(113926993,3758326383),n(338241895,168717936),n(666307205,1188179964),n(773529912,1546045734),n(1294757372,1522805485),n(1396182291,2643833823),n(1695183700,2343527390),n(1986661051,1014477480),n(2177026350,1206759142),n(2456956037,344077627),n(2730485921,1290863460),n(2820302411,3158454273),n(3259730800,3505952657),n(3345764771,106217008),n(3516065817,3606008344),n(3600352804,1432725776),n(4094571909,1467031594),n(275423344,851169720),n(430227734,3100823752),n(506948616,1363258195),n(659060556,3750685593),n(883997877,3785050280),n(958139571,3318307427),n(1322822218,3812723403),n(1537002063,2003034995),n(1747873779,3602036899),n(1955562222,1575990012),n(2024104815,1125592928),n(2227730452,2716904306),n(2361852424,442776044),n(2428436474,593698344),n(2756734187,3733110249),n(3204031479,2999351573),n(3329325298,3815920427),n(3391569614,3928383900),n(3515267271,566280711),n(3940187606,3454069534),n(4118630271,4000239992),n(116418474,1914138554),n(174292421,2731055270),n(289380356,3203993006),n(460393269,320620315),n(685471733,587496836),n(852142971,1086792851),n(1017036298,365543100),n(1126000580,2618297676),n(1288033470,3409855158),n(1501505948,4234509866),n(1607167915,987167468),n(1816402316,1246189591)],s=[];(function(){for(var h=0;h<80;h++)s[h]=n()})();var u=f.SHA512=i.extend({_doReset:function(){this._hash=new c.init([new r.init(1779033703,4089235720),new r.init(3144134277,2227873595),new r.init(1013904242,4271175723),new r.init(2773480762,1595750129),new r.init(1359893119,2917565137),new r.init(2600822924,725511199),new r.init(528734635,4215389547),new r.init(1541459225,327033209)])},_doProcessBlock:function(h,l){for(var d=this._hash.words,w=d[0],R=d[1],q=d[2],A=d[3],M=d[4],I=d[5],$=d[6],S=d[7],C=w.high,T=w.low,v=R.high,B=R.low,p=q.high,g=q.low,b=A.high,y=A.low,m=M.high,_=M.low,k=I.high,O=I.low,F=$.high,j=$.low,N=S.high,U=S.low,P=C,D=T,G=v,K=B,ee=p,J=g,V=b,Q=y,X=m,Z=_,ae=k,pe=O,ie=F,be=j,oe=N,re=U,de=0;de<80;de++){var ye,se,le=s[de];if(de<16)se=le.high=0|h[l+2*de],ye=le.low=0|h[l+2*de+1];else{var Re=s[de-15],ue=Re.high,qe=Re.low,$e=(ue>>>1|qe<<31)^(ue>>>8|qe<<24)^ue>>>7,fe=(qe>>>1|ue<<31)^(qe>>>8|ue<<24)^(qe>>>7|ue<<25),Be=s[de-2],Me=Be.high,ce=Be.low,Ee=(Me>>>19|ce<<13)^(Me<<3|ce>>>29)^Me>>>6,E=(ce>>>19|Me<<13)^(ce<<3|Me>>>29)^(ce>>>6|Me<<26),x=s[de-7],L=x.high,W=x.low,z=s[de-16],H=z.high,Y=z.low;se=(se=(se=$e+L+((ye=fe+W)>>>0<fe>>>0?1:0))+Ee+((ye+=E)>>>0<E>>>0?1:0))+H+((ye+=Y)>>>0<Y>>>0?1:0),le.high=se,le.low=ye}var te,he=X&ae^~X&ie,ge=Z&pe^~Z&be,ne=P&G^P&ee^G&ee,ve=D&K^D&J^K&J,xe=(P>>>28|D<<4)^(P<<30|D>>>2)^(P<<25|D>>>7),_e=(D>>>28|P<<4)^(D<<30|P>>>2)^(D<<25|P>>>7),Pe=(X>>>14|Z<<18)^(X>>>18|Z<<14)^(X<<23|Z>>>9),Ce=(Z>>>14|X<<18)^(Z>>>18|X<<14)^(Z<<23|X>>>9),we=o[de],Oe=we.high,ke=we.low,me=oe+Pe+((te=re+Ce)>>>0<re>>>0?1:0),Ie=_e+ve;oe=ie,re=be,ie=ae,be=pe,ae=X,pe=Z,X=V+(me=(me=(me=me+he+((te+=ge)>>>0<ge>>>0?1:0))+Oe+((te+=ke)>>>0<ke>>>0?1:0))+se+((te+=ye)>>>0<ye>>>0?1:0))+((Z=Q+te|0)>>>0<Q>>>0?1:0)|0,V=ee,Q=J,ee=G,J=K,G=P,K=D,P=me+(xe+ne+(Ie>>>0<_e>>>0?1:0))+((D=te+Ie|0)>>>0<te>>>0?1:0)|0}T=w.low=T+D,w.high=C+P+(T>>>0<D>>>0?1:0),B=R.low=B+K,R.high=v+G+(B>>>0<K>>>0?1:0),g=q.low=g+J,q.high=p+ee+(g>>>0<J>>>0?1:0),y=A.low=y+Q,A.high=b+V+(y>>>0<Q>>>0?1:0),_=M.low=_+Z,M.high=m+X+(_>>>0<Z>>>0?1:0),O=I.low=O+pe,I.high=k+ae+(O>>>0<pe>>>0?1:0),j=$.low=j+be,$.high=F+ie+(j>>>0<be>>>0?1:0),U=S.low=U+re,S.high=N+oe+(U>>>0<re>>>0?1:0)},_doFinalize:function(){var h=this._data,l=h.words,d=8*this._nDataBytes,w=8*h.sigBytes;return l[w>>>5]|=128<<24-w%32,l[30+(w+128>>>10<<5)]=Math.floor(d/4294967296),l[31+(w+128>>>10<<5)]=d,h.sigBytes=4*l.length,this._process(),this._hash.toX32()},clone:function(){var h=i.clone.call(this);return h._hash=this._hash.clone(),h},blockSize:32});t.SHA512=i._createHelper(u),t.HmacSHA512=i._createHmacHelper(u)})(),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=(n=requireCore(),requireX64Core(),requireSha512(),t=(e=n).x64,i=t.Word,a=t.WordArray,r=e.algo,c=r.SHA512,f=r.SHA384=c.extend({_doReset:function(){this._hash=new a.init([new i.init(3418070365,3238371032),new i.init(1654270250,914150663),new i.init(2438529370,812702999),new i.init(355462360,4144912697),new i.init(1731405415,4290775857),new i.init(2394180231,1750603025),new i.init(3675008525,1694076839),new i.init(1203062813,3204075428)])},_doFinalize:function(){var o=c._doFinalize.call(this);return o.sigBytes-=16,o}}),e.SHA384=c._createHelper(f),e.HmacSHA384=c._createHmacHelper(f),n.SHA384)),sha384$1.exports;var e,t,i,a,r,c,f,n}var sha3$1={exports:{}},sha3=sha3$1.exports,hasRequiredSha3;function requireSha3(){return hasRequiredSha3||(hasRequiredSha3=1,sha3$1.exports=(e=requireCore(),requireX64Core(),(function(t){var i=e,a=i.lib,r=a.WordArray,c=a.Hasher,f=i.x64.Word,n=i.algo,o=[],s=[],u=[];(function(){for(var d=1,w=0,R=0;R<24;R++){o[d+5*w]=(R+1)*(R+2)/2%64;var q=(2*d+3*w)%5;d=w%5,w=q}for(d=0;d<5;d++)for(w=0;w<5;w++)s[d+5*w]=w+(2*d+3*w)%5*5;for(var A=1,M=0;M<24;M++){for(var I=0,$=0,S=0;S<7;S++){if(1&A){var C=(1<<S)-1;C<32?$^=1<<C:I^=1<<C-32}128&A?A=A<<1^113:A<<=1}u[M]=f.create(I,$)}})();var h=[];(function(){for(var d=0;d<25;d++)h[d]=f.create()})();var l=n.SHA3=c.extend({cfg:c.cfg.extend({outputLength:512}),_doReset:function(){for(var d=this._state=[],w=0;w<25;w++)d[w]=new f.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(d,w){for(var R=this._state,q=this.blockSize/2,A=0;A<q;A++){var M=d[w+2*A],I=d[w+2*A+1];M=16711935&(M<<8|M>>>24)|4278255360&(M<<24|M>>>8),I=16711935&(I<<8|I>>>24)|4278255360&(I<<24|I>>>8),(U=R[A]).high^=I,U.low^=M}for(var $=0;$<24;$++){for(var S=0;S<5;S++){for(var C=0,T=0,v=0;v<5;v++)C^=(U=R[S+5*v]).high,T^=U.low;var B=h[S];B.high=C,B.low=T}for(S=0;S<5;S++){var p=h[(S+4)%5],g=h[(S+1)%5],b=g.high,y=g.low;for(C=p.high^(b<<1|y>>>31),T=p.low^(y<<1|b>>>31),v=0;v<5;v++)(U=R[S+5*v]).high^=C,U.low^=T}for(var m=1;m<25;m++){var _=(U=R[m]).high,k=U.low,O=o[m];O<32?(C=_<<O|k>>>32-O,T=k<<O|_>>>32-O):(C=k<<O-32|_>>>64-O,T=_<<O-32|k>>>64-O);var F=h[s[m]];F.high=C,F.low=T}var j=h[0],N=R[0];for(j.high=N.high,j.low=N.low,S=0;S<5;S++)for(v=0;v<5;v++){var U=R[m=S+5*v],P=h[m],D=h[(S+1)%5+5*v],G=h[(S+2)%5+5*v];U.high=P.high^~D.high&G.high,U.low=P.low^~D.low&G.low}U=R[0];var K=u[$];U.high^=K.high,U.low^=K.low}},_doFinalize:function(){var d=this._data,w=d.words;this._nDataBytes;var R=8*d.sigBytes,q=32*this.blockSize;w[R>>>5]|=1<<24-R%32,w[(t.ceil((R+1)/q)*q>>>5)-1]|=128,d.sigBytes=4*w.length,this._process();for(var A=this._state,M=this.cfg.outputLength/8,I=M/8,$=[],S=0;S<I;S++){var C=A[S],T=C.high,v=C.low;T=16711935&(T<<8|T>>>24)|4278255360&(T<<24|T>>>8),v=16711935&(v<<8|v>>>24)|4278255360&(v<<24|v>>>8),$.push(v),$.push(T)}return new r.init($,M)},clone:function(){for(var d=c.clone.call(this),w=d._state=this._state.slice(0),R=0;R<25;R++)w[R]=w[R].clone();return d}});i.SHA3=c._createHelper(l),i.HmacSHA3=c._createHmacHelper(l)})(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 t=e,i=t.lib,a=i.WordArray,r=i.Hasher,c=t.algo,f=a.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]),n=a.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]),o=a.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]),s=a.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]),u=a.create([0,1518500249,1859775393,2400959708,2840853838]),h=a.create([1352829926,1548603684,1836072691,2053994217,0]),l=c.RIPEMD160=r.extend({_doReset:function(){this._hash=a.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(I,$){for(var S=0;S<16;S++){var C=$+S,T=I[C];I[C]=16711935&(T<<8|T>>>24)|4278255360&(T<<24|T>>>8)}var v,B,p,g,b,y,m,_,k,O,F,j=this._hash.words,N=u.words,U=h.words,P=f.words,D=n.words,G=o.words,K=s.words;for(y=v=j[0],m=B=j[1],_=p=j[2],k=g=j[3],O=b=j[4],S=0;S<80;S+=1)F=v+I[$+P[S]]|0,F+=S<16?d(B,p,g)+N[0]:S<32?w(B,p,g)+N[1]:S<48?R(B,p,g)+N[2]:S<64?q(B,p,g)+N[3]:A(B,p,g)+N[4],F=(F=M(F|=0,G[S]))+b|0,v=b,b=g,g=M(p,10),p=B,B=F,F=y+I[$+D[S]]|0,F+=S<16?A(m,_,k)+U[0]:S<32?q(m,_,k)+U[1]:S<48?R(m,_,k)+U[2]:S<64?w(m,_,k)+U[3]:d(m,_,k)+U[4],F=(F=M(F|=0,K[S]))+O|0,y=O,O=k,k=M(_,10),_=m,m=F;F=j[1]+p+k|0,j[1]=j[2]+g+O|0,j[2]=j[3]+b+y|0,j[3]=j[4]+v+m|0,j[4]=j[0]+B+_|0,j[0]=F},_doFinalize:function(){var I=this._data,$=I.words,S=8*this._nDataBytes,C=8*I.sigBytes;$[C>>>5]|=128<<24-C%32,$[14+(C+64>>>9<<4)]=16711935&(S<<8|S>>>24)|4278255360&(S<<24|S>>>8),I.sigBytes=4*($.length+1),this._process();for(var T=this._hash,v=T.words,B=0;B<5;B++){var p=v[B];v[B]=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8)}return T},clone:function(){var I=r.clone.call(this);return I._hash=this._hash.clone(),I}});function d(I,$,S){return I^$^S}function w(I,$,S){return I&$|~I&S}function R(I,$,S){return(I|~$)^S}function q(I,$,S){return I&S|$&~S}function A(I,$,S){return I^($|~S)}function M(I,$){return I<<$|I>>>32-$}t.RIPEMD160=r._createHelper(l),t.HmacRIPEMD160=r._createHmacHelper(l)})(),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(),i=(t=e).lib.Base,a=t.enc.Utf8,void(t.algo.HMAC=i.extend({init:function(r,c){r=this._hasher=new r.init,typeof c=="string"&&(c=a.parse(c));var f=r.blockSize,n=4*f;c.sigBytes>n&&(c=r.finalize(c)),c.clamp();for(var o=this._oKey=c.clone(),s=this._iKey=c.clone(),u=o.words,h=s.words,l=0;l<f;l++)u[l]^=1549556828,h[l]^=909522486;o.sigBytes=s.sigBytes=n,this.reset()},reset:function(){var r=this._hasher;r.reset(),r.update(this._iKey)},update:function(r){return this._hasher.update(r),this},finalize:function(r){var c=this._hasher,f=c.finalize(r);return c.reset(),c.finalize(this._oKey.clone().concat(f))}})))),hmac$1.exports;var e,t,i,a}var pbkdf2$1={exports:{}},pbkdf2=pbkdf2$1.exports,hasRequiredPbkdf2;function requirePbkdf2(){return hasRequiredPbkdf2||(hasRequiredPbkdf2=1,pbkdf2$1.exports=(o=requireCore(),requireSha256(),requireHmac(),t=(e=o).lib,i=t.Base,a=t.WordArray,r=e.algo,c=r.SHA256,f=r.HMAC,n=r.PBKDF2=i.extend({cfg:i.extend({keySize:4,hasher:c,iterations:25e4}),init:function(s){this.cfg=this.cfg.extend(s)},compute:function(s,u){for(var h=this.cfg,l=f.create(h.hasher,s),d=a.create(),w=a.create([1]),R=d.words,q=w.words,A=h.keySize,M=h.iterations;R.length<A;){var I=l.update(u).finalize(w);l.reset();for(var $=I.words,S=$.length,C=I,T=1;T<M;T++){C=l.finalize(C),l.reset();for(var v=C.words,B=0;B<S;B++)$[B]^=v[B]}d.concat(I),q[0]++}return d.sigBytes=4*A,d}}),e.PBKDF2=function(s,u,h){return n.create(h).compute(s,u)},o.PBKDF2)),pbkdf2$1.exports;var e,t,i,a,r,c,f,n,o}var evpkdf$1={exports:{}},evpkdf=evpkdf$1.exports,hasRequiredEvpkdf;function requireEvpkdf(){return hasRequiredEvpkdf||(hasRequiredEvpkdf=1,evpkdf$1.exports=(n=requireCore(),requireSha1(),requireHmac(),t=(e=n).lib,i=t.Base,a=t.WordArray,r=e.algo,c=r.MD5,f=r.EvpKDF=i.extend({cfg:i.extend({keySize:4,hasher:c,iterations:1}),init:function(o){this.cfg=this.cfg.extend(o)},compute:function(o,s){for(var u,h=this.cfg,l=h.hasher.create(),d=a.create(),w=d.words,R=h.keySize,q=h.iterations;w.length<R;){u&&l.update(u),u=l.update(o).finalize(s),l.reset();for(var A=1;A<q;A++)u=l.finalize(u),l.reset();d.concat(u)}return d.sigBytes=4*R,d}}),e.EvpKDF=function(o,s,u){return f.create(u).compute(o,s)},n.EvpKDF)),evpkdf$1.exports;var e,t,i,a,r,c,f,n}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(t){var i=e,a=i.lib,r=a.Base,c=a.WordArray,f=a.BufferedBlockAlgorithm,n=i.enc;n.Utf8;var o=n.Base64,s=i.algo.EvpKDF,u=a.Cipher=f.extend({cfg:r.extend(),createEncryptor:function($,S){return this.create(this._ENC_XFORM_MODE,$,S)},createDecryptor:function($,S){return this.create(this._DEC_XFORM_MODE,$,S)},init:function($,S,C){this.cfg=this.cfg.extend(C),this._xformMode=$,this._key=S,this.reset()},reset:function(){f.reset.call(this),this._doReset()},process:function($){return this._append($),this._process()},finalize:function($){return $&&this._append($),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:(function(){function $(S){return typeof S=="string"?I:A}return function(S){return{encrypt:function(C,T,v){return $(T).encrypt(S,C,T,v)},decrypt:function(C,T,v){return $(T).decrypt(S,C,T,v)}}}})()});a.StreamCipher=u.extend({_doFinalize:function(){return this._process(!0)},blockSize:1});var h=i.mode={},l=a.BlockCipherMode=r.extend({createEncryptor:function($,S){return this.Encryptor.create($,S)},createDecryptor:function($,S){return this.Decryptor.create($,S)},init:function($,S){this._cipher=$,this._iv=S}}),d=h.CBC=(function(){var $=l.extend();function S(C,T,v){var B,p=this._iv;p?(B=p,this._iv=t):B=this._prevBlock;for(var g=0;g<v;g++)C[T+g]^=B[g]}return $.Encryptor=$.extend({processBlock:function(C,T){var v=this._cipher,B=v.blockSize;S.call(this,C,T,B),v.encryptBlock(C,T),this._prevBlock=C.slice(T,T+B)}}),$.Decryptor=$.extend({processBlock:function(C,T){var v=this._cipher,B=v.blockSize,p=C.slice(T,T+B);v.decryptBlock(C,T),S.call(this,C,T,B),this._prevBlock=p}}),$})(),w=(i.pad={}).Pkcs7={pad:function($,S){for(var C=4*S,T=C-$.sigBytes%C,v=T<<24|T<<16|T<<8|T,B=[],p=0;p<T;p+=4)B.push(v);var g=c.create(B,T);$.concat(g)},unpad:function($){var S=255&$.words[$.sigBytes-1>>>2];$.sigBytes-=S}};a.BlockCipher=u.extend({cfg:u.cfg.extend({mode:d,padding:w}),reset:function(){var $;u.reset.call(this);var S=this.cfg,C=S.iv,T=S.mode;this._xformMode==this._ENC_XFORM_MODE?$=T.createEncryptor:($=T.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==$?this._mode.init(this,C&&C.words):(this._mode=$.call(T,this,C&&C.words),this._mode.__creator=$)},_doProcessBlock:function($,S){this._mode.processBlock($,S)},_doFinalize:function(){var $,S=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(S.pad(this._data,this.blockSize),$=this._process(!0)):($=this._process(!0),S.unpad($)),$},blockSize:4});var R=a.CipherParams=r.extend({init:function($){this.mixIn($)},toString:function($){return($||this.formatter).stringify(this)}}),q=(i.format={}).OpenSSL={stringify:function($){var S=$.ciphertext,C=$.salt;return(C?c.create([1398893684,1701076831]).concat(C).concat(S):S).toString(o)},parse:function($){var S,C=o.parse($),T=C.words;return T[0]==1398893684&&T[1]==1701076831&&(S=c.create(T.slice(2,4)),T.splice(0,4),C.sigBytes-=16),R.create({ciphertext:C,salt:S})}},A=a.SerializableCipher=r.extend({cfg:r.extend({format:q}),encrypt:function($,S,C,T){T=this.cfg.extend(T);var v=$.createEncryptor(C,T),B=v.finalize(S),p=v.cfg;return R.create({ciphertext:B,key:C,iv:p.iv,algorithm:$,mode:p.mode,padding:p.padding,blockSize:$.blockSize,formatter:T.format})},decrypt:function($,S,C,T){return T=this.cfg.extend(T),S=this._parse(S,T.format),$.createDecryptor(C,T).finalize(S.ciphertext)},_parse:function($,S){return typeof $=="string"?S.parse($,this):$}}),M=(i.kdf={}).OpenSSL={execute:function($,S,C,T,v){if(T||(T=c.random(8)),v)B=s.create({keySize:S+C,hasher:v}).compute($,T);else var B=s.create({keySize:S+C}).compute($,T);var p=c.create(B.words.slice(S),4*C);return B.sigBytes=4*S,R.create({key:B,iv:p,salt:T})}},I=a.PasswordBasedCipher=A.extend({cfg:A.cfg.extend({kdf:M}),encrypt:function($,S,C,T){var v=(T=this.cfg.extend(T)).kdf.execute(C,$.keySize,$.ivSize,T.salt,T.hasher);T.iv=v.iv;var B=A.encrypt.call(this,$,S,v.key,T);return B.mixIn(v),B},decrypt:function($,S,C,T){T=this.cfg.extend(T),S=this._parse(S,T.format);var v=T.kdf.execute(C,$.keySize,$.ivSize,S.salt,T.hasher);return T.iv=v.iv,A.decrypt.call(this,$,S,v.key,T)}})})()))),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 t=e.lib.BlockCipherMode.extend();function i(a,r,c,f){var n,o=this._iv;o?(n=o.slice(0),this._iv=void 0):n=this._prevBlock,f.encryptBlock(n,0);for(var s=0;s<c;s++)a[r+s]^=n[s]}return t.Encryptor=t.extend({processBlock:function(a,r){var c=this._cipher,f=c.blockSize;i.call(this,a,r,f,c),this._prevBlock=a.slice(r,r+f)}}),t.Decryptor=t.extend({processBlock:function(a,r){var c=this._cipher,f=c.blockSize,n=a.slice(r,r+f);i.call(this,a,r,f,c),this._prevBlock=n}}),t})(),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=(i=requireCore(),requireCipherCore(),i.mode.CTR=(e=i.lib.BlockCipherMode.extend(),t=e.Encryptor=e.extend({processBlock:function(a,r){var c=this._cipher,f=c.blockSize,n=this._iv,o=this._counter;n&&(o=this._counter=n.slice(0),this._iv=void 0);var s=o.slice(0);c.encryptBlock(s,0),o[f-1]=o[f-1]+1|0;for(var u=0;u<f;u++)a[r+u]^=s[u]}}),e.Decryptor=t,e),i.mode.CTR)),modeCtr$1.exports;var e,t,i}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 t=e.lib.BlockCipherMode.extend();function i(c){if(255&~(c>>24))c+=1<<24;else{var f=c>>16&255,n=c>>8&255,o=255&c;f===255?(f=0,n===255?(n=0,o===255?o=0:++o):++n):++f,c=0,c+=f<<16,c+=n<<8,c+=o}return c}function a(c){return(c[0]=i(c[0]))===0&&(c[1]=i(c[1])),c}var r=t.Encryptor=t.extend({processBlock:function(c,f){var n=this._cipher,o=n.blockSize,s=this._iv,u=this._counter;s&&(u=this._counter=s.slice(0),this._iv=void 0),a(u);var h=u.slice(0);n.encryptBlock(h,0);for(var l=0;l<o;l++)c[f+l]^=h[l]}});return t.Decryptor=r,t})(),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=(i=requireCore(),requireCipherCore(),i.mode.OFB=(e=i.lib.BlockCipherMode.extend(),t=e.Encryptor=e.extend({processBlock:function(a,r){var c=this._cipher,f=c.blockSize,n=this._iv,o=this._keystream;n&&(o=this._keystream=n.slice(0),this._iv=void 0),c.encryptBlock(o,0);for(var s=0;s<f;s++)a[r+s]^=o[s]}}),e.Decryptor=t,e),i.mode.OFB)),modeOfb$1.exports;var e,t,i}var modeEcb$1={exports:{}},modeEcb=modeEcb$1.exports,hasRequiredModeEcb;function requireModeEcb(){return hasRequiredModeEcb||(hasRequiredModeEcb=1,modeEcb$1.exports=(t=requireCore(),requireCipherCore(),t.mode.ECB=((e=t.lib.BlockCipherMode.extend()).Encryptor=e.extend({processBlock:function(i,a){this._cipher.encryptBlock(i,a)}}),e.Decryptor=e.extend({processBlock:function(i,a){this._cipher.decryptBlock(i,a)}}),e),t.mode.ECB)),modeEcb$1.exports;var e,t}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(t,i){var a=t.sigBytes,r=4*i,c=r-a%r,f=a+c-1;t.clamp(),t.words[f>>>2]|=c<<24-f%4*8,t.sigBytes+=c},unpad:function(t){var i=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=i}},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(t,i){var a=4*i,r=a-t.sigBytes%a;t.concat(e.lib.WordArray.random(r-1)).concat(e.lib.WordArray.create([r<<24],1))},unpad:function(t){var i=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=i}},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(t,i){t.concat(e.lib.WordArray.create([2147483648],1)),e.pad.ZeroPadding.pad(t,i)},unpad:function(t){e.pad.ZeroPadding.unpad(t),t.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(t,i){var a=4*i;t.clamp(),t.sigBytes+=a-(t.sigBytes%a||a)},unpad:function(t){var i=t.words,a=t.sigBytes-1;for(a=t.sigBytes-1;a>=0;a--)if(i[a>>>2]>>>24-a%4*8&255){t.sigBytes=a+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=(a=requireCore(),requireCipherCore(),t=(e=a).lib.CipherParams,i=e.enc.Hex,e.format.Hex={stringify:function(r){return r.ciphertext.toString(i)},parse:function(r){var c=i.parse(r);return t.create({ciphertext:c})}},a.format.Hex)),formatHex$1.exports;var e,t,i,a}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 t=e,i=t.lib.BlockCipher,a=t.algo,r=[],c=[],f=[],n=[],o=[],s=[],u=[],h=[],l=[],d=[];(function(){for(var q=[],A=0;A<256;A++)q[A]=A<128?A<<1:A<<1^283;var M=0,I=0;for(A=0;A<256;A++){var $=I^I<<1^I<<2^I<<3^I<<4;$=$>>>8^255&$^99,r[M]=$,c[$]=M;var S=q[M],C=q[S],T=q[C],v=257*q[$]^16843008*$;f[M]=v<<24|v>>>8,n[M]=v<<16|v>>>16,o[M]=v<<8|v>>>24,s[M]=v,v=16843009*T^65537*C^257*S^16843008*M,u[$]=v<<24|v>>>8,h[$]=v<<16|v>>>16,l[$]=v<<8|v>>>24,d[$]=v,M?(M=S^q[q[q[T^S]]],I^=q[q[I]]):M=I=1}})();var w=[0,1,2,4,8,16,32,64,128,27,54],R=a.AES=i.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var q=this._keyPriorReset=this._key,A=q.words,M=q.sigBytes/4,I=4*((this._nRounds=M+6)+1),$=this._keySchedule=[],S=0;S<I;S++)S<M?$[S]=A[S]:(v=$[S-1],S%M?M>6&&S%M==4&&(v=r[v>>>24]<<24|r[v>>>16&255]<<16|r[v>>>8&255]<<8|r[255&v]):(v=r[(v=v<<8|v>>>24)>>>24]<<24|r[v>>>16&255]<<16|r[v>>>8&255]<<8|r[255&v],v^=w[S/M|0]<<24),$[S]=$[S-M]^v);for(var C=this._invKeySchedule=[],T=0;T<I;T++){if(S=I-T,T%4)var v=$[S];else v=$[S-4];C[T]=T<4||S<=4?v:u[r[v>>>24]]^h[r[v>>>16&255]]^l[r[v>>>8&255]]^d[r[255&v]]}}},encryptBlock:function(q,A){this._doCryptBlock(q,A,this._keySchedule,f,n,o,s,r)},decryptBlock:function(q,A){var M=q[A+1];q[A+1]=q[A+3],q[A+3]=M,this._doCryptBlock(q,A,this._invKeySchedule,u,h,l,d,c),M=q[A+1],q[A+1]=q[A+3],q[A+3]=M},_doCryptBlock:function(q,A,M,I,$,S,C,T){for(var v=this._nRounds,B=q[A]^M[0],p=q[A+1]^M[1],g=q[A+2]^M[2],b=q[A+3]^M[3],y=4,m=1;m<v;m++){var _=I[B>>>24]^$[p>>>16&255]^S[g>>>8&255]^C[255&b]^M[y++],k=I[p>>>24]^$[g>>>16&255]^S[b>>>8&255]^C[255&B]^M[y++],O=I[g>>>24]^$[b>>>16&255]^S[B>>>8&255]^C[255&p]^M[y++],F=I[b>>>24]^$[B>>>16&255]^S[p>>>8&255]^C[255&g]^M[y++];B=_,p=k,g=O,b=F}_=(T[B>>>24]<<24|T[p>>>16&255]<<16|T[g>>>8&255]<<8|T[255&b])^M[y++],k=(T[p>>>24]<<24|T[g>>>16&255]<<16|T[b>>>8&255]<<8|T[255&B])^M[y++],O=(T[g>>>24]<<24|T[b>>>16&255]<<16|T[B>>>8&255]<<8|T[255&p])^M[y++],F=(T[b>>>24]<<24|T[B>>>16&255]<<16|T[p>>>8&255]<<8|T[255&g])^M[y++],q[A]=_,q[A+1]=k,q[A+2]=O,q[A+3]=F},keySize:8});t.AES=i._createHelper(R)})(),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 t=e,i=t.lib,a=i.WordArray,r=i.BlockCipher,c=t.algo,f=[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],n=[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],o=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],s=[{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}],u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],h=c.DES=r.extend({_doReset:function(){for(var R=this._key.words,q=[],A=0;A<56;A++){var M=f[A]-1;q[A]=R[M>>>5]>>>31-M%32&1}for(var I=this._subKeys=[],$=0;$<16;$++){var S=I[$]=[],C=o[$];for(A=0;A<24;A++)S[A/6|0]|=q[(n[A]-1+C)%28]<<31-A%6,S[4+(A/6|0)]|=q[28+(n[A+24]-1+C)%28]<<31-A%6;for(S[0]=S[0]<<1|S[0]>>>31,A=1;A<7;A++)S[A]=S[A]>>>4*(A-1)+3;S[7]=S[7]<<5|S[7]>>>27}var T=this._invSubKeys=[];for(A=0;A<16;A++)T[A]=I[15-A]},encryptBlock:function(R,q){this._doCryptBlock(R,q,this._subKeys)},decryptBlock:function(R,q){this._doCryptBlock(R,q,this._invSubKeys)},_doCryptBlock:function(R,q,A){this._lBlock=R[q],this._rBlock=R[q+1],l.call(this,4,252645135),l.call(this,16,65535),d.call(this,2,858993459),d.call(this,8,16711935),l.call(this,1,1431655765);for(var M=0;M<16;M++){for(var I=A[M],$=this._lBlock,S=this._rBlock,C=0,T=0;T<8;T++)C|=s[T][((S^I[T])&u[T])>>>0];this._lBlock=S,this._rBlock=$^C}var v=this._lBlock;this._lBlock=this._rBlock,this._rBlock=v,l.call(this,1,1431655765),d.call(this,8,16711935),d.call(this,2,858993459),l.call(this,16,65535),l.call(this,4,252645135),R[q]=this._lBlock,R[q+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function l(R,q){var A=(this._lBlock>>>R^this._rBlock)&q;this._rBlock^=A,this._lBlock^=A<<R}function d(R,q){var A=(this._rBlock>>>R^this._lBlock)&q;this._lBlock^=A,this._rBlock^=A<<R}t.DES=r._createHelper(h);var w=c.TripleDES=r.extend({_doReset:function(){var R=this._key.words;if(R.length!==2&&R.length!==4&&R.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var q=R.slice(0,2),A=R.length<4?R.slice(0,2):R.slice(2,4),M=R.length<6?R.slice(0,2):R.slice(4,6);this._des1=h.createEncryptor(a.create(q)),this._des2=h.createEncryptor(a.create(A)),this._des3=h.createEncryptor(a.create(M))},encryptBlock:function(R,q){this._des1.encryptBlock(R,q),this._des2.decryptBlock(R,q),this._des3.encryptBlock(R,q)},decryptBlock:function(R,q){this._des3.decryptBlock(R,q),this._des2.encryptBlock(R,q),this._des1.decryptBlock(R,q)},keySize:6,ivSize:2,blockSize:2});t.TripleDES=r._createHelper(w)})(),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 t=e,i=t.lib.StreamCipher,a=t.algo,r=a.RC4=i.extend({_doReset:function(){for(var n=this._key,o=n.words,s=n.sigBytes,u=this._S=[],h=0;h<256;h++)u[h]=h;h=0;for(var l=0;h<256;h++){var d=h%s,w=o[d>>>2]>>>24-d%4*8&255;l=(l+u[h]+w)%256;var R=u[h];u[h]=u[l],u[l]=R}this._i=this._j=0},_doProcessBlock:function(n,o){n[o]^=c.call(this)},keySize:8,ivSize:0});function c(){for(var n=this._S,o=this._i,s=this._j,u=0,h=0;h<4;h++){s=(s+n[o=(o+1)%256])%256;var l=n[o];n[o]=n[s],n[s]=l,u|=n[(n[o]+n[s])%256]<<24-8*h}return this._i=o,this._j=s,u}t.RC4=i._createHelper(r);var f=a.RC4Drop=r.extend({cfg:r.cfg.extend({drop:192}),_doReset:function(){r._doReset.call(this);for(var n=this.cfg.drop;n>0;n--)c.call(this)}});t.RC4Drop=i._createHelper(f)})(),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 t=e,i=t.lib.StreamCipher,a=t.algo,r=[],c=[],f=[],n=a.Rabbit=i.extend({_doReset:function(){for(var s=this._key.words,u=this.cfg.iv,h=0;h<4;h++)s[h]=16711935&(s[h]<<8|s[h]>>>24)|4278255360&(s[h]<<24|s[h]>>>8);var l=this._X=[s[0],s[3]<<16|s[2]>>>16,s[1],s[0]<<16|s[3]>>>16,s[2],s[1]<<16|s[0]>>>16,s[3],s[2]<<16|s[1]>>>16],d=this._C=[s[2]<<16|s[2]>>>16,4294901760&s[0]|65535&s[1],s[3]<<16|s[3]>>>16,4294901760&s[1]|65535&s[2],s[0]<<16|s[0]>>>16,4294901760&s[2]|65535&s[3],s[1]<<16|s[1]>>>16,4294901760&s[3]|65535&s[0]];for(this._b=0,h=0;h<4;h++)o.call(this);for(h=0;h<8;h++)d[h]^=l[h+4&7];if(u){var w=u.words,R=w[0],q=w[1],A=16711935&(R<<8|R>>>24)|4278255360&(R<<24|R>>>8),M=16711935&(q<<8|q>>>24)|4278255360&(q<<24|q>>>8),I=A>>>16|4294901760&M,$=M<<16|65535&A;for(d[0]^=A,d[1]^=I,d[2]^=M,d[3]^=$,d[4]^=A,d[5]^=I,d[6]^=M,d[7]^=$,h=0;h<4;h++)o.call(this)}},_doProcessBlock:function(s,u){var h=this._X;o.call(this),r[0]=h[0]^h[5]>>>16^h[3]<<16,r[1]=h[2]^h[7]>>>16^h[5]<<16,r[2]=h[4]^h[1]>>>16^h[7]<<16,r[3]=h[6]^h[3]>>>16^h[1]<<16;for(var l=0;l<4;l++)r[l]=16711935&(r[l]<<8|r[l]>>>24)|4278255360&(r[l]<<24|r[l]>>>8),s[u+l]^=r[l]},blockSize:4,ivSize:2});function o(){for(var s=this._X,u=this._C,h=0;h<8;h++)c[h]=u[h];for(u[0]=u[0]+1295307597+this._b|0,u[1]=u[1]+3545052371+(u[0]>>>0<c[0]>>>0?1:0)|0,u[2]=u[2]+886263092+(u[1]>>>0<c[1]>>>0?1:0)|0,u[3]=u[3]+1295307597+(u[2]>>>0<c[2]>>>0?1:0)|0,u[4]=u[4]+3545052371+(u[3]>>>0<c[3]>>>0?1:0)|0,u[5]=u[5]+886263092+(u[4]>>>0<c[4]>>>0?1:0)|0,u[6]=u[6]+1295307597+(u[5]>>>0<c[5]>>>0?1:0)|0,u[7]=u[7]+3545052371+(u[6]>>>0<c[6]>>>0?1:0)|0,this._b=u[7]>>>0<c[7]>>>0?1:0,h=0;h<8;h++){var l=s[h]+u[h],d=65535&l,w=l>>>16,R=((d*d>>>17)+d*w>>>15)+w*w,q=((4294901760&l)*l|0)+((65535&l)*l|0);f[h]=R^q}s[0]=f[0]+(f[7]<<16|f[7]>>>16)+(f[6]<<16|f[6]>>>16)|0,s[1]=f[1]+(f[0]<<8|f[0]>>>24)+f[7]|0,s[2]=f[2]+(f[1]<<16|f[1]>>>16)+(f[0]<<16|f[0]>>>16)|0,s[3]=f[3]+(f[2]<<8|f[2]>>>24)+f[1]|0,s[4]=f[4]+(f[3]<<16|f[3]>>>16)+(f[2]<<16|f[2]>>>16)|0,s[5]=f[5]+(f[4]<<8|f[4]>>>24)+f[3]|0,s[6]=f[6]+(f[5]<<16|f[5]>>>16)+(f[4]<<16|f[4]>>>16)|0,s[7]=f[7]+(f[6]<<8|f[6]>>>24)+f[5]|0}t.Rabbit=i._createHelper(n)})(),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 t=e,i=t.lib.StreamCipher,a=t.algo,r=[],c=[],f=[],n=a.RabbitLegacy=i.extend({_doReset:function(){var s=this._key.words,u=this.cfg.iv,h=this._X=[s[0],s[3]<<16|s[2]>>>16,s[1],s[0]<<16|s[3]>>>16,s[2],s[1]<<16|s[0]>>>16,s[3],s[2]<<16|s[1]>>>16],l=this._C=[s[2]<<16|s[2]>>>16,4294901760&s[0]|65535&s[1],s[3]<<16|s[3]>>>16,4294901760&s[1]|65535&s[2],s[0]<<16|s[0]>>>16,4294901760&s[2]|65535&s[3],s[1]<<16|s[1]>>>16,4294901760&s[3]|65535&s[0]];this._b=0;for(var d=0;d<4;d++)o.call(this);for(d=0;d<8;d++)l[d]^=h[d+4&7];if(u){var w=u.words,R=w[0],q=w[1],A=16711935&(R<<8|R>>>24)|4278255360&(R<<24|R>>>8),M=16711935&(q<<8|q>>>24)|4278255360&(q<<24|q>>>8),I=A>>>16|4294901760&M,$=M<<16|65535&A;for(l[0]^=A,l[1]^=I,l[2]^=M,l[3]^=$,l[4]^=A,l[5]^=I,l[6]^=M,l[7]^=$,d=0;d<4;d++)o.call(this)}},_doProcessBlock:function(s,u){var h=this._X;o.call(this),r[0]=h[0]^h[5]>>>16^h[3]<<16,r[1]=h[2]^h[7]>>>16^h[5]<<16,r[2]=h[4]^h[1]>>>16^h[7]<<16,r[3]=h[6]^h[3]>>>16^h[1]<<16;for(var l=0;l<4;l++)r[l]=16711935&(r[l]<<8|r[l]>>>24)|4278255360&(r[l]<<24|r[l]>>>8),s[u+l]^=r[l]},blockSize:4,ivSize:2});function o(){for(var s=this._X,u=this._C,h=0;h<8;h++)c[h]=u[h];for(u[0]=u[0]+1295307597+this._b|0,u[1]=u[1]+3545052371+(u[0]>>>0<c[0]>>>0?1:0)|0,u[2]=u[2]+886263092+(u[1]>>>0<c[1]>>>0?1:0)|0,u[3]=u[3]+1295307597+(u[2]>>>0<c[2]>>>0?1:0)|0,u[4]=u[4]+3545052371+(u[3]>>>0<c[3]>>>0?1:0)|0,u[5]=u[5]+886263092+(u[4]>>>0<c[4]>>>0?1:0)|0,u[6]=u[6]+1295307597+(u[5]>>>0<c[5]>>>0?1:0)|0,u[7]=u[7]+3545052371+(u[6]>>>0<c[6]>>>0?1:0)|0,this._b=u[7]>>>0<c[7]>>>0?1:0,h=0;h<8;h++){var l=s[h]+u[h],d=65535&l,w=l>>>16,R=((d*d>>>17)+d*w>>>15)+w*w,q=((4294901760&l)*l|0)+((65535&l)*l|0);f[h]=R^q}s[0]=f[0]+(f[7]<<16|f[7]>>>16)+(f[6]<<16|f[6]>>>16)|0,s[1]=f[1]+(f[0]<<8|f[0]>>>24)+f[7]|0,s[2]=f[2]+(f[1]<<16|f[1]>>>16)+(f[0]<<16|f[0]>>>16)|0,s[3]=f[3]+(f[2]<<8|f[2]>>>24)+f[1]|0,s[4]=f[4]+(f[3]<<16|f[3]>>>16)+(f[2]<<16|f[2]>>>16)|0,s[5]=f[5]+(f[4]<<8|f[4]>>>24)+f[3]|0,s[6]=f[6]+(f[5]<<16|f[5]>>>16)+(f[4]<<16|f[4]>>>16)|0,s[7]=f[7]+(f[6]<<8|f[6]>>>24)+f[5]|0}t.RabbitLegacy=i._createHelper(n)})(),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 t=e,i=t.lib.BlockCipher,a=t.algo;const r=16,c=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],f=[[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 n={pbox:[],sbox:[]};function o(d,w){let R=w>>24&255,q=w>>16&255,A=w>>8&255,M=255&w,I=d.sbox[0][R]+d.sbox[1][q];return I^=d.sbox[2][A],I+=d.sbox[3][M],I}function s(d,w,R){let q,A=w,M=R;for(let I=0;I<r;++I)A^=d.pbox[I],M=o(d,A)^M,q=A,A=M,M=q;return q=A,A=M,M=q,M^=d.pbox[r],A^=d.pbox[r+1],{left:A,right:M}}function u(d,w,R){let q,A=w,M=R;for(let I=r+1;I>1;--I)A^=d.pbox[I],M=o(d,A)^M,q=A,A=M,M=q;return q=A,A=M,M=q,M^=d.pbox[1],A^=d.pbox[0],{left:A,right:M}}function h(d,w,R){for(let $=0;$<4;$++){d.sbox[$]=[];for(let S=0;S<256;S++)d.sbox[$][S]=f[$][S]}let q=0;for(let $=0;$<r+2;$++)d.pbox[$]=c[$]^w[q],q++,q>=R&&(q=0);let A=0,M=0,I=0;for(let $=0;$<r+2;$+=2)I=s(d,A,M),A=I.left,M=I.right,d.pbox[$]=A,d.pbox[$+1]=M;for(let $=0;$<4;$++)for(let S=0;S<256;S+=2)I=s(d,A,M),A=I.left,M=I.right,d.sbox[$][S]=A,d.sbox[$][S+1]=M;return!0}var l=a.Blowfish=i.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var d=this._keyPriorReset=this._key,w=d.words,R=d.sigBytes/4;h(n,w,R)}},encryptBlock:function(d,w){var R=s(n,d[w],d[w+1]);d[w]=R.left,d[w+1]=R.right},decryptBlock:function(d,w){var R=u(n,d[w],d[w+1]);d[w]=R.left,d[w+1]=R.right},blockSize:2,keySize:4,ivSize:2});t.Blowfish=i._createHelper(l)})(),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(((t,i)=>t+=(i&=63)<36?i.toString(36):i<62?(i-26).toString(36).toUpperCase():i>62?"-":"_"),"");export{trimStart as A,camelCase as B,requireUtil$1 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$1 as j,requireDist as k,requireStreamBrowserify as l,requireString_decoder as m,nanoid as n,requireSafeBuffer$1 as o,lodash as p,requireType as q,requireCryptoJs as r,requireEsDefineProperty as s,require_stream_readable$1 as t,require_stream_duplex$1 as u,require_stream_transform$1 as v,require_stream_passthrough$1 as w,requireEndOfStream as x,requirePipeline as y,requireInherits_browser as z};
|