ccdeck 3.38.5 → 3.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +68 -9
- package/THIRD_PARTY_NOTICES.md +12 -3
- package/dist/web/assets/BrowserWatchModal-DdBoC2NT.js +1 -0
- package/dist/web/assets/TrafficRadar-CQdTrL4_.js +1 -0
- package/dist/web/assets/{UsageHistoryModal-o8amyWjp.js → UsageHistoryModal-W9_3fKq4.js} +1 -1
- package/dist/web/assets/index-BQRqT36t.css +1 -0
- package/dist/web/assets/index-DUlU5kmL.js +305 -0
- package/dist/web/index.html +3 -3
- package/package.json +8 -4
- package/release-notes.json +20 -1
- package/src/server/cswap-admin.mjs +74 -11
- package/src/server/index.mjs +7 -1
- package/src/server/request-gates.mjs +3 -0
- package/src/server/traffic-radar-capture.mjs +136 -0
- package/src/server/traffic-radar-codec-LICENSES.md +597 -0
- package/src/server/traffic-radar-codec-source.mjs +34 -0
- package/src/server/traffic-radar-codec.mjs +41 -0
- package/src/server/traffic-radar-config.mjs +87 -0
- package/src/server/traffic-radar-helper.mjs +43 -0
- package/src/server/traffic-radar-otlp.json +1 -0
- package/src/server/traffic-radar-routes.mjs +40 -0
- package/src/server/traffic-radar-wire.mjs +228 -0
- package/src/server/traffic-radar.mjs +134 -0
- package/dist/web/assets/BrowserWatchModal-DCC89YSC.js +0 -1
- package/dist/web/assets/index-BIkuTs0Y.css +0 -1
- package/dist/web/assets/index-Bg99W1Kp.js +0 -309
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { createRequire as radarRequire } from "node:module"; const require = radarRequire(import.meta.url);
|
|
2
|
+
var Xa=Object.create;var wn=Object.defineProperty;var Qa=Object.getOwnPropertyDescriptor;var e0=Object.getOwnPropertyNames;var t0=Object.getPrototypeOf,r0=Object.prototype.hasOwnProperty;var ge=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof require<"u"?require:e)[r]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var v=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var i0=(t,e,r,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of e0(e))!r0.call(t,n)&&n!==r&&wn(t,n,{get:()=>e[n],enumerable:!(i=Qa(e,n))||i.enumerable});return t};var bn=(t,e,r)=>(r=t!=null?Xa(t0(t)):{},i0(e||!t||!t.__esModule?wn(r,"default",{value:t,enumerable:!0}):r,t));var En=v(rr=>{rr.assert=function(e,r){if(!e)throw new Error(r)};rr.stringify=function(e){for(var r="",i=0;i<e.length;i++)r+=String.fromCharCode(e[i]);return r};rr.toArray=function(e){for(var r=[],i=0;i<e.length;i++){var n=e.charCodeAt(i),s=n>>>8,o=n&255;s?r.push(s,o):r.push(o)}return r}});var Sn=v(jr=>{jr.decode=[2608,2609,2610,2657,2659,2661,2665,2671,2675,2676,0,0,0,0,0,0,0,0,0,0,3104,3109,3117,3118,3119,3123,3124,3125,3126,3127,3128,3129,3133,3137,3167,3170,3172,3174,3175,3176,3180,3181,3182,3184,3186,3189,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3642,3650,3651,3652,3653,3654,3655,3656,3657,3658,3659,3660,3661,3662,3663,3664,3665,3666,3667,3668,3669,3670,3671,3673,3690,3691,3697,3702,3703,3704,3705,3706,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4134,4138,4140,4155,4184,4186,[1057,1058,1064,1065,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1087,0,1575,1579,1660,0,0,0,0,0,2083,2110,0,0,0,0,0,0,0,0,0,0,0,0,2560,2596,2624,2651,2653,2686,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3166,3197,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3644,3680,3707,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[1628,1731,1744,0,0,0,2176,2178,2179,2210,2232,2242,2272,2274,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2713,2721,2727,2732,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[2736,2737,2739,2769,2776,2777,2787,2789,2790,0,0,0,0,0,0,0,0,0,3201,3204,3205,3206,3208,3218,3226,3228,3232,3235,3236,3241,3242,3245,3250,3253,3257,3258,3259,3261,3262,3268,3270,3300,3304,3305,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3585,3719,3721,3722,3723,3724,3725,3727,3731,3733,3734,3735,3736,3739,3741,3742,3749,3750,3752,3758,3759,3764,3766,3767,3772,3775,3781,3815,3823,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4105,4238,4240,4241,4244,4255,4267,4302,4311,4321,4332,4333,[711,719,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[746,747,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1216,1217,1224,1225,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1226,1229,1234,1237,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1242,1243,1262,1264,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1266,1267,1279,0,0,0,1739,1740,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1747,1748,1750,1757,1758,1759,1777,1780,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1781,1782,1783,1784,1786,1787,1788,1789,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[1790,0,2050,2051,2052,2053,2054,2055,2056,2059,2060,2062,2063,2064,2065,2066,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[2067,2068,2069,2071,2072,2073,2074,2075,2076,2077,2078,2079,2175,2268,2297,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3082,3085,3094,3328,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]]]];jr.encode=[[13,8184],[23,8388568],[28,268435426],[28,268435427],[28,268435428],[28,268435429],[28,268435430],[28,268435431],[28,268435432],[24,16777194],[30,1073741820],[28,268435433],[28,268435434],[30,1073741821],[28,268435435],[28,268435436],[28,268435437],[28,268435438],[28,268435439],[28,268435440],[28,268435441],[28,268435442],[30,1073741822],[28,268435443],[28,268435444],[28,268435445],[28,268435446],[28,268435447],[28,268435448],[28,268435449],[28,268435450],[28,268435451],[6,20],[10,1016],[10,1017],[12,4090],[13,8185],[6,21],[8,248],[11,2042],[10,1018],[10,1019],[8,249],[11,2043],[8,250],[6,22],[6,23],[6,24],[5,0],[5,1],[5,2],[6,25],[6,26],[6,27],[6,28],[6,29],[6,30],[6,31],[7,92],[8,251],[15,32764],[6,32],[12,4091],[10,1020],[13,8186],[6,33],[7,93],[7,94],[7,95],[7,96],[7,97],[7,98],[7,99],[7,100],[7,101],[7,102],[7,103],[7,104],[7,105],[7,106],[7,107],[7,108],[7,109],[7,110],[7,111],[7,112],[7,113],[7,114],[8,252],[7,115],[8,253],[13,8187],[19,524272],[13,8188],[14,16380],[6,34],[15,32765],[5,3],[6,35],[5,4],[6,36],[5,5],[6,37],[6,38],[6,39],[5,6],[7,116],[7,117],[6,40],[6,41],[6,42],[5,7],[6,43],[7,118],[6,44],[5,8],[5,9],[6,45],[7,119],[7,120],[7,121],[7,122],[7,123],[15,32766],[11,2044],[14,16381],[13,8189],[28,268435452],[20,1048550],[22,4194258],[20,1048551],[20,1048552],[22,4194259],[22,4194260],[22,4194261],[23,8388569],[22,4194262],[23,8388570],[23,8388571],[23,8388572],[23,8388573],[23,8388574],[24,16777195],[23,8388575],[24,16777196],[24,16777197],[22,4194263],[23,8388576],[24,16777198],[23,8388577],[23,8388578],[23,8388579],[23,8388580],[21,2097116],[22,4194264],[23,8388581],[22,4194265],[23,8388582],[23,8388583],[24,16777199],[22,4194266],[21,2097117],[20,1048553],[22,4194267],[22,4194268],[23,8388584],[23,8388585],[21,2097118],[23,8388586],[22,4194269],[22,4194270],[24,16777200],[21,2097119],[22,4194271],[23,8388587],[23,8388588],[21,2097120],[21,2097121],[22,4194272],[21,2097122],[23,8388589],[22,4194273],[23,8388590],[23,8388591],[20,1048554],[22,4194274],[22,4194275],[22,4194276],[23,8388592],[22,4194277],[22,4194278],[23,8388593],[26,67108832],[26,67108833],[20,1048555],[19,524273],[22,4194279],[23,8388594],[22,4194280],[25,33554412],[26,67108834],[26,67108835],[26,67108836],[27,134217694],[27,134217695],[26,67108837],[24,16777201],[25,33554413],[19,524274],[21,2097123],[26,67108838],[27,134217696],[27,134217697],[26,67108839],[27,134217698],[24,16777202],[21,2097124],[21,2097125],[26,67108840],[26,67108841],[28,268435453],[27,134217699],[27,134217700],[27,134217701],[20,1048556],[24,16777203],[20,1048557],[21,2097126],[22,4194281],[21,2097127],[21,2097128],[23,8388595],[22,4194282],[22,4194283],[25,33554414],[25,33554415],[24,16777204],[24,16777205],[26,67108842],[23,8388596],[26,67108843],[27,134217702],[26,67108844],[26,67108845],[27,134217703],[27,134217704],[27,134217705],[27,134217706],[27,134217707],[28,268435454],[27,134217708],[27,134217709],[27,134217710],[27,134217711],[27,134217712],[26,67108846],[30,1073741823]]});var xn=v(Fr=>{Fr.table=[{name:":authority",value:"",nameSize:10,totalSize:42},{name:":method",value:"GET",nameSize:7,totalSize:42},{name:":method",value:"POST",nameSize:7,totalSize:43},{name:":path",value:"/",nameSize:5,totalSize:38},{name:":path",value:"/index.html",nameSize:5,totalSize:48},{name:":scheme",value:"http",nameSize:7,totalSize:43},{name:":scheme",value:"https",nameSize:7,totalSize:44},{name:":status",value:"200",nameSize:7,totalSize:42},{name:":status",value:"204",nameSize:7,totalSize:42},{name:":status",value:"206",nameSize:7,totalSize:42},{name:":status",value:"304",nameSize:7,totalSize:42},{name:":status",value:"400",nameSize:7,totalSize:42},{name:":status",value:"404",nameSize:7,totalSize:42},{name:":status",value:"500",nameSize:7,totalSize:42},{name:"accept-charset",value:"",nameSize:14,totalSize:46},{name:"accept-encoding",value:"gzip, deflate",nameSize:15,totalSize:60},{name:"accept-language",value:"",nameSize:15,totalSize:47},{name:"accept-ranges",value:"",nameSize:13,totalSize:45},{name:"accept",value:"",nameSize:6,totalSize:38},{name:"access-control-allow-origin",value:"",nameSize:27,totalSize:59},{name:"age",value:"",nameSize:3,totalSize:35},{name:"allow",value:"",nameSize:5,totalSize:37},{name:"authorization",value:"",nameSize:13,totalSize:45},{name:"cache-control",value:"",nameSize:13,totalSize:45},{name:"content-disposition",value:"",nameSize:19,totalSize:51},{name:"content-encoding",value:"",nameSize:16,totalSize:48},{name:"content-language",value:"",nameSize:16,totalSize:48},{name:"content-length",value:"",nameSize:14,totalSize:46},{name:"content-location",value:"",nameSize:16,totalSize:48},{name:"content-range",value:"",nameSize:13,totalSize:45},{name:"content-type",value:"",nameSize:12,totalSize:44},{name:"cookie",value:"",nameSize:6,totalSize:38},{name:"date",value:"",nameSize:4,totalSize:36},{name:"etag",value:"",nameSize:4,totalSize:36},{name:"expect",value:"",nameSize:6,totalSize:38},{name:"expires",value:"",nameSize:7,totalSize:39},{name:"from",value:"",nameSize:4,totalSize:36},{name:"host",value:"",nameSize:4,totalSize:36},{name:"if-match",value:"",nameSize:8,totalSize:40},{name:"if-modified-since",value:"",nameSize:17,totalSize:49},{name:"if-none-match",value:"",nameSize:13,totalSize:45},{name:"if-range",value:"",nameSize:8,totalSize:40},{name:"if-unmodified-since",value:"",nameSize:19,totalSize:51},{name:"last-modified",value:"",nameSize:13,totalSize:45},{name:"link",value:"",nameSize:4,totalSize:36},{name:"location",value:"",nameSize:8,totalSize:40},{name:"max-forwards",value:"",nameSize:12,totalSize:44},{name:"proxy-authenticate",value:"",nameSize:18,totalSize:50},{name:"proxy-authorization",value:"",nameSize:19,totalSize:51},{name:"range",value:"",nameSize:5,totalSize:37},{name:"referer",value:"",nameSize:7,totalSize:39},{name:"refresh",value:"",nameSize:7,totalSize:39},{name:"retry-after",value:"",nameSize:11,totalSize:43},{name:"server",value:"",nameSize:6,totalSize:38},{name:"set-cookie",value:"",nameSize:10,totalSize:42},{name:"strict-transport-security",value:"",nameSize:25,totalSize:57},{name:"transfer-encoding",value:"",nameSize:17,totalSize:49},{name:"user-agent",value:"",nameSize:10,totalSize:42},{name:"vary",value:"",nameSize:4,totalSize:36},{name:"via",value:"",nameSize:3,totalSize:35},{name:"www-authenticate",value:"",nameSize:16,totalSize:48}];Fr.map={":authority":{index:1,values:{"":1}},":method":{index:2,values:{GET:2,POST:3}},":path":{index:4,values:{"/":4,"/index.html":5}},":scheme":{index:6,values:{http:6,https:7}},":status":{index:8,values:{200:8,204:9,206:10,304:11,400:12,404:13,500:14}},"accept-charset":{index:15,values:{"":15}},"accept-encoding":{index:16,values:{"gzip, deflate":16}},"accept-language":{index:17,values:{"":17}},"accept-ranges":{index:18,values:{"":18}},accept:{index:19,values:{"":19}},"access-control-allow-origin":{index:20,values:{"":20}},age:{index:21,values:{"":21}},allow:{index:22,values:{"":22}},authorization:{index:23,values:{"":23}},"cache-control":{index:24,values:{"":24}},"content-disposition":{index:25,values:{"":25}},"content-encoding":{index:26,values:{"":26}},"content-language":{index:27,values:{"":27}},"content-length":{index:28,values:{"":28}},"content-location":{index:29,values:{"":29}},"content-range":{index:30,values:{"":30}},"content-type":{index:31,values:{"":31}},cookie:{index:32,values:{"":32}},date:{index:33,values:{"":33}},etag:{index:34,values:{"":34}},expect:{index:35,values:{"":35}},expires:{index:36,values:{"":36}},from:{index:37,values:{"":37}},host:{index:38,values:{"":38}},"if-match":{index:39,values:{"":39}},"if-modified-since":{index:40,values:{"":40}},"if-none-match":{index:41,values:{"":41}},"if-range":{index:42,values:{"":42}},"if-unmodified-since":{index:43,values:{"":43}},"last-modified":{index:44,values:{"":44}},link:{index:45,values:{"":45}},location:{index:46,values:{"":46}},"max-forwards":{index:47,values:{"":47}},"proxy-authenticate":{index:48,values:{"":48}},"proxy-authorization":{index:49,values:{"":49}},range:{index:50,values:{"":50}},referer:{index:51,values:{"":51}},refresh:{index:52,values:{"":52}},"retry-after":{index:53,values:{"":53}},server:{index:54,values:{"":54}},"set-cookie":{index:55,values:{"":55}},"strict-transport-security":{index:56,values:{"":56}},"transfer-encoding":{index:57,values:{"":57}},"user-agent":{index:58,values:{"":58}},vary:{index:59,values:{"":59}},via:{index:60,values:{"":60}},"www-authenticate":{index:61,values:{"":61}}}});var Rn=v((ju,Nn)=>{var On=rt(),n0=On.utils,ir=n0.assert;function He(t){this.static=On["static-table"],this.dynamic=[],this.size=0,this.maxSize=0,this.length=this.static.table.length,this.protocolMaxSize=t.maxSize,this.maxSize=this.protocolMaxSize,this.lookupDepth=t.lookupDepth||32}Nn.exports=He;He.create=function(e){return new He(e)};He.prototype.lookup=function(e){return ir(e!==0,"Zero indexed field"),ir(e<=this.length,"Indexed field OOB"),e<=this.static.table.length?this.static.table[e-1]:this.dynamic[this.length-e]};He.prototype.reverseLookup=function(e,r){var i=this.static.map[e];if(i&&i.values[r])return i.values[r];for(var n=Math.max(0,this.dynamic.length-this.lookupDepth),s=this.dynamic.length-1;s>=n;s--){var o=this.dynamic[s];if(o.name===e&&o.value===r)return this.length-s;if(o.name===e){if(i)break;return-(this.length-s)}}return i?-i.index:0};He.prototype.add=function(e,r,i,n){var s=i+n+32;this.dynamic.push({name:e,value:r,nameSize:i,totalSize:s}),this.size+=s,this.length++,this.evict()};He.prototype.evict=function(){for(;this.size>this.maxSize;){var e=this.dynamic.shift();this.size-=e.totalSize,this.length--}ir(this.size>=0,"Table size sanity check failed")};He.prototype.updateSize=function(e){ir(e<=this.protocolMaxSize,"Table size bigger than maximum"),this.maxSize=e,this.evict()}});var Bn=v((Fu,qn)=>{var In=ge("buffer").Buffer;function B(){this.offset=0,this.size=0,this.buffers=[]}qn.exports=B;B.prototype.isEmpty=function(){return this.size===0};B.prototype.clone=function(e){var r=new B;return r.offset=this.offset,r.size=e,r.buffers=this.buffers.slice(),r};B.prototype.toChunks=function(){if(this.size===0)return[];this.offset!==0&&(this.buffers[0]=this.buffers[0].slice(this.offset),this.offset=0);for(var e=[],r=0,i=0;r<=this.size&&i<this.buffers.length;i++){var n=this.buffers[i];r+=n.length,r>this.size&&(n=n.slice(0,n.length-(r-this.size)),this.buffers[i]=n),e.push(n)}return i<this.buffers.length&&(this.buffers.length=i),e};B.prototype.toString=function(e){return this.toChunks().map(function(r){return r.toString(e)}).join("")};B.prototype.use=function(e,r,i){this.buffers=[e],this.offset=r,this.size=i};B.prototype.push=function(e){e.length!==0&&(this.size+=e.length,this.buffers.push(e))};B.prototype.has=function(e){return this.size>=e};B.prototype.skip=function(e){if(this.size!==0){if(this.size-=e,this.offset+e<this.buffers[0].length){this.offset+=e;return}var r=e-(this.buffers[0].length-this.offset);this.offset=0;for(var i=1;r>0&&i<this.buffers.length;i++){var n=this.buffers[i];if(n.length>r){this.offset=r;break}r-=n.length}this.buffers=this.buffers.slice(i)}};B.prototype.copy=function(e,r,i,n){if(this.size!==0){if(i!==0)throw new Error("Unsupported offset in .copy()");var s=r,o=this.buffers[0],a=Math.min(n,o.length-this.offset);o.copy(e,s,this.offset,this.offset+a),s+=a;for(var f=n-a,h=1;f>0&&h<this.buffers.length;h++){var l=this.buffers[h],a=Math.min(f,l.length);l.copy(e,s,0,a),s+=a,f-=a}}};B.prototype.take=function(e){if(e===0)return new In(0);this.size-=e;var r=this.buffers[0].length-this.offset;if(r===e){var i=this.buffers.shift();return this.offset!==0&&(i=i.slice(this.offset),this.offset=0),i}else if(r>e){var i=this.buffers[0].slice(this.offset,this.offset+e);return this.offset+=e,i}for(var n=new In(e),s=0,o=this.offset,a=0;s!==e&&a<this.buffers.length;a++){var f=this.buffers[a],h=Math.min(f.length-o,e-s);if(f.copy(n,s,o,o+h),o+h<f.length){this.offset=o+h;break}else s+=h,o=0}return this.buffers=this.buffers.slice(a),this.buffers.length===0&&(this.offset=0),n};B.prototype.peekUInt8=function(){return this.buffers[0][this.offset]};B.prototype.readUInt8=function(){this.size-=1;var e=this.buffers[0],r=e[this.offset];return++this.offset===e.length&&(this.offset=0,this.buffers.shift()),r};B.prototype.readUInt16LE=function(){var e=this.buffers[0];this.size-=2;var r,i;return e.length-this.offset>=2?(r=e.readUInt16LE(this.offset),i=0,this.offset+=2):(r=e[this.offset]|this.buffers[1][0]<<8,i=1,this.offset=1),this.offset===this.buffers[i].length&&(this.offset=0,i++),i!==0&&(this.buffers=this.buffers.slice(i)),r};B.prototype.readUInt24LE=function(){var e=this.buffers[0],r,i,n=e.length-this.offset;if(n>=3)r=e.readUInt16LE(this.offset)|e[this.offset+2]<<16,i=0,this.offset+=3;else if(n>=2)r=e.readUInt16LE(this.offset)|this.buffers[1][0]<<16,i=1,this.offset=1;else return r=e[this.offset],this.offset=0,this.buffers.shift(),this.size-=1,r|=this.readUInt16LE()<<8,r;return this.size-=3,this.offset===this.buffers[i].length&&(this.offset=0,i++),i!==0&&(this.buffers=this.buffers.slice(i)),r};B.prototype.readUInt32LE=function(){var e=this.buffers[0],r,i,n=e.length-this.offset;if(n>=4)r=e.readUInt32LE(this.offset),i=0,this.offset+=4;else if(n>=3)r=(e.readUInt16LE(this.offset)|e[this.offset+2]<<16)+this.buffers[1][0]*16777216,i=1,this.offset=1;else return n>=2?(r=e.readUInt16LE(this.offset),this.offset=0,this.buffers.shift(),this.size-=2,r+=this.readUInt16LE()*65536,r):(r=e[this.offset],this.offset=0,this.buffers.shift(),this.size-=1,r+=this.readUInt24LE()*256,r);return this.size-=4,this.offset===this.buffers[i].length&&(this.offset=0,i++),i!==0&&(this.buffers=this.buffers.slice(i)),r};B.prototype.readUInt16BE=function(){var e=this.readUInt16LE();return(e&255)<<8|e>>8};B.prototype.readUInt24BE=function(){var e=this.readUInt24LE();return(e&255)<<16|(e>>8&255)<<8|e>>16};B.prototype.readUInt32BE=function(){var e=this.readUInt32LE();return((e&255)<<24|(e>>>8&255)<<16|(e>>>16&255)<<8|e>>>24)>>>0};function Tn(t){return t>=128?-(255^t)-1:t}B.prototype.peekInt8=function(){return Tn(this.peekUInt8())};B.prototype.readInt8=function(){return Tn(this.readUInt8())};function An(t){return t>=32768?-(65535^t)-1:t}B.prototype.readInt16BE=function(){return An(this.readUInt16BE())};B.prototype.readInt16LE=function(){return An(this.readUInt16LE())};function Ln(t){return t>=8388608?-(16777215^t)-1:t}B.prototype.readInt24BE=function(){return Ln(this.readUInt24BE())};B.prototype.readInt24LE=function(){return Ln(this.readUInt24LE())};function kn(t){return t>=2147483648?-(4294967295^t)-1:t}B.prototype.readInt32BE=function(){return kn(this.readUInt32BE())};B.prototype.readInt32LE=function(){return kn(this.readUInt32LE())}});var Dn=v((Pu,zn)=>{var Un=rt(),s0=Un.utils,Pr=Un.huffman.decode,Je=s0.assert,o0=Bn();function Re(){this.buffer=new o0,this.bitOffset=0,this._huffmanNode=null}zn.exports=Re;Re.create=function(){return new Re};Re.prototype.isEmpty=function(){return this.buffer.isEmpty()};Re.prototype.push=function(e){this.buffer.push(e)};Re.prototype.decodeBit=function(){Je(this.buffer.has(1),"Buffer too small for an int");var e,r=this.bitOffset;return++this.bitOffset===8?(e=this.buffer.readUInt8(),this.bitOffset=0):e=this.buffer.peekUInt8(),e>>>7-r&1};Re.prototype.skipBits=function(e){this.bitOffset+=e,this.buffer.skip(this.bitOffset>>3),this.bitOffset&=7};Re.prototype.decodeInt=function(){Je(this.buffer.has(1),"Buffer too small for an int");var e=8-this.bitOffset;this.bitOffset=0;var r=(1<<e)-1,i=this.buffer.readUInt8()&r;if(i!==r)return i;var n=0,s=!1,o=0;do i=this.buffer.readUInt8(),s=(i&128)===0,n<<=7,n|=i&127,o++;while(!s);return Je(s,"Incomplete data for multi-octet integer"),Je(o<=4,"Integer does not fit into 32 bits"),n=n>>>21|(n>>14&127)<<7|(n>>7&127)<<14|(n&127)<<21,n>>=(4-o)*7,n+=r,n};Re.prototype.decodeHuffmanWord=function(e,r,i){for(var n=Pr,s=this._huffmanNode,o=e,a=r;a>0;o&=(1<<a)-1){for(var f=Math.max(0,a-8);f<a;f++){var h=s[o>>>f];if(typeof h!="number"){s=h,a=f;break}if(h!==0){if(h>>>9!==a-f){h=0;continue}var l=h&511;Je(l!==256,"EOS in encoding"),i.push(l),s=n,a=f;break}}if(h===0)break}return this._huffmanNode=s,a};Re.prototype.decodeStr=function(){var e=this.decodeBit(),r=this.decodeInt();if(Je(this.buffer.has(r),"Not enough octets for string"),!e)return this.buffer.take(r);this._huffmanNode=Pr;for(var i=[],n=0,s=0,o=0,a=0;a<r;a++)n<<=8,n|=this.buffer.readUInt8(),s+=8,s=this.decodeHuffmanWord(n,s,i),o=n>>s,n&=(1<<s)-1;return Je(this._huffmanNode===Pr,"8-bit EOS"),Je(n+1===1<<s,"Final sequence is not EOS"),this._huffmanNode=null,i}});var Mn=v((Vu,Vr)=>{typeof Object.create=="function"?Vr.exports=function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:Vr.exports=function(e,r){if(r){e.super_=r;var i=function(){};i.prototype=r.prototype,e.prototype=new i,e.prototype.constructor=e}}});var Ze=v((Wu,Hr)=>{try{if(Wr=ge("util"),typeof Wr.inherits!="function")throw"";Hr.exports=Wr.inherits}catch{Hr.exports=Mn()}var Wr});var Ut=v((Hu,Jr)=>{"use strict";typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0?Jr.exports={nextTick:a0}:Jr.exports=process;function a0(t,e,r,i){if(typeof t!="function")throw new TypeError('"callback" argument must be a function');var n=arguments.length,s,o;switch(n){case 0:case 1:return process.nextTick(t);case 2:return process.nextTick(function(){t.call(null,e)});case 3:return process.nextTick(function(){t.call(null,e,r)});case 4:return process.nextTick(function(){t.call(null,e,r,i)});default:for(s=new Array(n-1),o=0;o<s.length;)s[o++]=arguments[o];return process.nextTick(function(){t.apply(null,s)})}}});var jn=v((Ju,Cn)=>{var f0={}.toString;Cn.exports=Array.isArray||function(t){return f0.call(t)=="[object Array]"}});var Zr=v((Zu,Fn)=>{Fn.exports=ge("stream")});var zt=v(($r,Vn)=>{var nr=ge("buffer"),ze=nr.Buffer;function Pn(t,e){for(var r in t)e[r]=t[r]}ze.from&&ze.alloc&&ze.allocUnsafe&&ze.allocUnsafeSlow?Vn.exports=nr:(Pn(nr,$r),$r.Buffer=pt);function pt(t,e,r){return ze(t,e,r)}Pn(ze,pt);pt.from=function(t,e,r){if(typeof t=="number")throw new TypeError("Argument must not be a number");return ze(t,e,r)};pt.alloc=function(t,e,r){if(typeof t!="number")throw new TypeError("Argument must be a number");var i=ze(t);return e!==void 0?typeof r=="string"?i.fill(e,r):i.fill(e):i.fill(0),i};pt.allocUnsafe=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return ze(t)};pt.allocUnsafeSlow=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return nr.SlowBuffer(t)}});var gt=v(te=>{function u0(t){return Array.isArray?Array.isArray(t):sr(t)==="[object Array]"}te.isArray=u0;function h0(t){return typeof t=="boolean"}te.isBoolean=h0;function l0(t){return t===null}te.isNull=l0;function d0(t){return t==null}te.isNullOrUndefined=d0;function c0(t){return typeof t=="number"}te.isNumber=c0;function p0(t){return typeof t=="string"}te.isString=p0;function g0(t){return typeof t=="symbol"}te.isSymbol=g0;function v0(t){return t===void 0}te.isUndefined=v0;function y0(t){return sr(t)==="[object RegExp]"}te.isRegExp=y0;function m0(t){return typeof t=="object"&&t!==null}te.isObject=m0;function _0(t){return sr(t)==="[object Date]"}te.isDate=_0;function w0(t){return sr(t)==="[object Error]"||t instanceof Error}te.isError=w0;function b0(t){return typeof t=="function"}te.isFunction=b0;function E0(t){return t===null||typeof t=="boolean"||typeof t=="number"||typeof t=="string"||typeof t=="symbol"||typeof t>"u"}te.isPrimitive=E0;te.isBuffer=ge("buffer").Buffer.isBuffer;function sr(t){return Object.prototype.toString.call(t)}});var Hn=v((Gu,Gr)=>{"use strict";function S0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var Wn=zt().Buffer,Dt=ge("util");function x0(t,e,r){t.copy(e,r)}Gr.exports=(function(){function t(){S0(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(r){var i={data:r,next:null};this.length>0?this.tail.next=i:this.head=i,this.tail=i,++this.length},t.prototype.unshift=function(r){var i={data:r,next:this.head};this.length===0&&(this.tail=i),this.head=i,++this.length},t.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}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(r){if(this.length===0)return"";for(var i=this.head,n=""+i.data;i=i.next;)n+=r+i.data;return n},t.prototype.concat=function(r){if(this.length===0)return Wn.alloc(0);for(var i=Wn.allocUnsafe(r>>>0),n=this.head,s=0;n;)x0(n.data,i,s),s+=n.data.length,n=n.next;return i},t})();Dt&&Dt.inspect&&Dt.inspect.custom&&(Gr.exports.prototype[Dt.inspect.custom]=function(){var t=Dt.inspect({length:this.length});return this.constructor.name+" "+t})});var Kr=v((Ku,Jn)=>{"use strict";var or=Ut();function O0(t,e){var r=this,i=this._readableState&&this._readableState.destroyed,n=this._writableState&&this._writableState.destroyed;return i||n?(e?e(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,or.nextTick(ar,this,t)):or.nextTick(ar,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(s){!e&&s?r._writableState?r._writableState.errorEmitted||(r._writableState.errorEmitted=!0,or.nextTick(ar,r,s)):or.nextTick(ar,r,s):e&&e(s)}),this)}function N0(){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 ar(t,e){t.emit("error",e)}Jn.exports={destroy:O0,undestroy:N0}});var $n=v((Yu,Zn)=>{Zn.exports=ge("util").deprecate});var Xr=v((Xu,rs)=>{"use strict";var it=Ut();rs.exports=V;function Kn(t){var e=this;this.next=null,this.entry=null,this.finish=function(){W0(e,t)}}var R0=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:it.nextTick,vt;V.WritableState=Ct;var Yn=Object.create(gt());Yn.inherits=Ze();var I0={deprecate:$n()},Xn=Zr(),ur=zt().Buffer,T0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function A0(t){return ur.from(t)}function L0(t){return ur.isBuffer(t)||t instanceof T0}var Qn=Kr();Yn.inherits(V,Xn);function k0(){}function Ct(t,e){vt=vt||nt(),t=t||{};var r=e instanceof vt;this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var i=t.highWaterMark,n=t.writableHighWaterMark,s=this.objectMode?16:16*1024;i||i===0?this.highWaterMark=i:r&&(n||n===0)?this.highWaterMark=n:this.highWaterMark=s,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 o=t.decodeStrings===!1;this.decodeStrings=!o,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(a){C0(e,a)},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 Kn(this)}Ct.prototype.getBuffer=function(){for(var e=this.bufferedRequest,r=[];e;)r.push(e),e=e.next;return r};(function(){try{Object.defineProperty(Ct.prototype,"buffer",{get:I0.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var fr;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(fr=Function.prototype[Symbol.hasInstance],Object.defineProperty(V,Symbol.hasInstance,{value:function(t){return fr.call(this,t)?!0:this!==V?!1:t&&t._writableState instanceof Ct}})):fr=function(t){return t instanceof this};function V(t){if(vt=vt||nt(),!fr.call(V,this)&&!(this instanceof vt))return new V(t);this._writableState=new Ct(t,this),this.writable=!0,t&&(typeof t.write=="function"&&(this._write=t.write),typeof t.writev=="function"&&(this._writev=t.writev),typeof t.destroy=="function"&&(this._destroy=t.destroy),typeof t.final=="function"&&(this._final=t.final)),Xn.call(this)}V.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function q0(t,e){var r=new Error("write after end");t.emit("error",r),it.nextTick(e,r)}function B0(t,e,r,i){var n=!0,s=!1;return r===null?s=new TypeError("May not write null values to stream"):typeof r!="string"&&r!==void 0&&!e.objectMode&&(s=new TypeError("Invalid non-string/buffer chunk")),s&&(t.emit("error",s),it.nextTick(i,s),n=!1),n}V.prototype.write=function(t,e,r){var i=this._writableState,n=!1,s=!i.objectMode&&L0(t);return s&&!ur.isBuffer(t)&&(t=A0(t)),typeof e=="function"&&(r=e,e=null),s?e="buffer":e||(e=i.defaultEncoding),typeof r!="function"&&(r=k0),i.ended?q0(this,r):(s||B0(this,i,t,r))&&(i.pendingcb++,n=z0(this,i,s,t,e,r)),n};V.prototype.cork=function(){var t=this._writableState;t.corked++};V.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,!t.writing&&!t.corked&&!t.bufferProcessing&&t.bufferedRequest&&es(this,t))};V.prototype.setDefaultEncoding=function(e){if(typeof e=="string"&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this};function U0(t,e,r){return!t.objectMode&&t.decodeStrings!==!1&&typeof e=="string"&&(e=ur.from(e,r)),e}Object.defineProperty(V.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function z0(t,e,r,i,n,s){if(!r){var o=U0(e,i,n);i!==o&&(r=!0,n="buffer",i=o)}var a=e.objectMode?1:i.length;e.length+=a;var f=e.length<e.highWaterMark;if(f||(e.needDrain=!0),e.writing||e.corked){var h=e.lastBufferedRequest;e.lastBufferedRequest={chunk:i,encoding:n,isBuf:r,callback:s,next:null},h?h.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else Yr(t,e,!1,a,i,n,s);return f}function Yr(t,e,r,i,n,s,o){e.writelen=i,e.writecb=o,e.writing=!0,e.sync=!0,r?t._writev(n,e.onwrite):t._write(n,s,e.onwrite),e.sync=!1}function D0(t,e,r,i,n){--e.pendingcb,r?(it.nextTick(n,i),it.nextTick(Mt,t,e),t._writableState.errorEmitted=!0,t.emit("error",i)):(n(i),t._writableState.errorEmitted=!0,t.emit("error",i),Mt(t,e))}function M0(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}function C0(t,e){var r=t._writableState,i=r.sync,n=r.writecb;if(M0(r),e)D0(t,r,i,e,n);else{var s=ts(r);!s&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&es(t,r),i?R0(Gn,t,r,s,n):Gn(t,r,s,n)}}function Gn(t,e,r,i){r||j0(t,e),e.pendingcb--,i(),Mt(t,e)}function j0(t,e){e.length===0&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}function es(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var i=e.bufferedRequestCount,n=new Array(i),s=e.corkedRequestsFree;s.entry=r;for(var o=0,a=!0;r;)n[o]=r,r.isBuf||(a=!1),r=r.next,o+=1;n.allBuffers=a,Yr(t,e,!0,e.length,n,"",s.finish),e.pendingcb++,e.lastBufferedRequest=null,s.next?(e.corkedRequestsFree=s.next,s.next=null):e.corkedRequestsFree=new Kn(e),e.bufferedRequestCount=0}else{for(;r;){var f=r.chunk,h=r.encoding,l=r.callback,_=e.objectMode?1:f.length;if(Yr(t,e,!1,_,f,h,l),r=r.next,e.bufferedRequestCount--,e.writing)break}r===null&&(e.lastBufferedRequest=null)}e.bufferedRequest=r,e.bufferProcessing=!1}V.prototype._write=function(t,e,r){r(new Error("_write() is not implemented"))};V.prototype._writev=null;V.prototype.end=function(t,e,r){var i=this._writableState;typeof t=="function"?(r=t,t=null,e=null):typeof e=="function"&&(r=e,e=null),t!=null&&this.write(t,e),i.corked&&(i.corked=1,this.uncork()),i.ending||V0(this,i,r)};function ts(t){return t.ending&&t.length===0&&t.bufferedRequest===null&&!t.finished&&!t.writing}function F0(t,e){t._final(function(r){e.pendingcb--,r&&t.emit("error",r),e.prefinished=!0,t.emit("prefinish"),Mt(t,e)})}function P0(t,e){!e.prefinished&&!e.finalCalled&&(typeof t._final=="function"?(e.pendingcb++,e.finalCalled=!0,it.nextTick(F0,t,e)):(e.prefinished=!0,t.emit("prefinish")))}function Mt(t,e){var r=ts(e);return r&&(P0(t,e),e.pendingcb===0&&(e.finished=!0,t.emit("finish"))),r}function V0(t,e,r){e.ending=!0,Mt(t,e),r&&(e.finished?it.nextTick(r):t.once("finish",r)),e.ended=!0,t.writable=!1}function W0(t,e,r){var i=t.entry;for(t.entry=null;i;){var n=i.callback;e.pendingcb--,n(r),i=i.next}e.corkedRequestsFree.next=t}Object.defineProperty(V.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}});V.prototype.destroy=Qn.destroy;V.prototype._undestroy=Qn.undestroy;V.prototype._destroy=function(t,e){this.end(),e(t)}});var nt=v((Qu,os)=>{"use strict";var is=Ut(),H0=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};os.exports=De;var ns=Object.create(gt());ns.inherits=Ze();var ss=ti(),ei=Xr();ns.inherits(De,ss);for(Qr=H0(ei.prototype),hr=0;hr<Qr.length;hr++)lr=Qr[hr],De.prototype[lr]||(De.prototype[lr]=ei.prototype[lr]);var Qr,lr,hr;function De(t){if(!(this instanceof De))return new De(t);ss.call(this,t),ei.call(this,t),t&&t.readable===!1&&(this.readable=!1),t&&t.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,t&&t.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",J0)}Object.defineProperty(De.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function J0(){this.allowHalfOpen||this._writableState.ended||is.nextTick(Z0,this)}function Z0(t){t.end()}Object.defineProperty(De.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(t){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=t,this._writableState.destroyed=t)}});De.prototype._destroy=function(t,e){this.push(null),this.end(),is.nextTick(e,t)}});var ni=v(fs=>{"use strict";var ii=zt().Buffer,as=ii.isEncoding||function(t){switch(t=""+t,t&&t.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 $0(t){if(!t)return"utf8";for(var e;;)switch(t){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 t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}function G0(t){var e=$0(t);if(typeof e!="string"&&(ii.isEncoding===as||!as(t)))throw new Error("Unknown encoding: "+t);return e||t}fs.StringDecoder=jt;function jt(t){this.encoding=G0(t);var e;switch(this.encoding){case"utf16le":this.text=tf,this.end=rf,e=4;break;case"utf8":this.fillLast=X0,e=4;break;case"base64":this.text=nf,this.end=sf,e=3;break;default:this.write=of,this.end=af;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=ii.allocUnsafe(e)}jt.prototype.write=function(t){if(t.length===0)return"";var e,r;if(this.lastNeed){if(e=this.fillLast(t),e===void 0)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<t.length?e?e+this.text(t,r):this.text(t,r):e||""};jt.prototype.end=ef;jt.prototype.text=Q0;jt.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length};function ri(t){return t<=127?0:t>>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}function K0(t,e,r){var i=e.length-1;if(i<r)return 0;var n=ri(e[i]);return n>=0?(n>0&&(t.lastNeed=n-1),n):--i<r||n===-2?0:(n=ri(e[i]),n>=0?(n>0&&(t.lastNeed=n-2),n):--i<r||n===-2?0:(n=ri(e[i]),n>=0?(n>0&&(n===2?n=0:t.lastNeed=n-3),n):0))}function Y0(t,e,r){if((e[0]&192)!==128)return t.lastNeed=0,"\uFFFD";if(t.lastNeed>1&&e.length>1){if((e[1]&192)!==128)return t.lastNeed=1,"\uFFFD";if(t.lastNeed>2&&e.length>2&&(e[2]&192)!==128)return t.lastNeed=2,"\uFFFD"}}function X0(t){var e=this.lastTotal-this.lastNeed,r=Y0(this,t,e);if(r!==void 0)return r;if(this.lastNeed<=t.length)return t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,e,0,t.length),this.lastNeed-=t.length}function Q0(t,e){var r=K0(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var i=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,i),t.toString("utf8",e,i)}function ef(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\uFFFD":e}function tf(t,e){if((t.length-e)%2===0){var r=t.toString("utf16le",e);if(r){var i=r.charCodeAt(r.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function rf(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function nf(t,e){var r=(t.length-e)%3;return r===0?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,r===1?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function sf(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function of(t){return t.toString(this.encoding)}function af(t){return t&&t.length?this.write(t):""}});var ti=v((rh,ws)=>{"use strict";var mt=Ut();ws.exports=D;var ff=jn(),Ft;D.ReadableState=gs;var th=ge("events").EventEmitter,ds=function(t,e){return t.listeners(e).length},ui=Zr(),Pt=zt().Buffer,uf=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function hf(t){return Pt.from(t)}function lf(t){return Pt.isBuffer(t)||t instanceof uf}var cs=Object.create(gt());cs.inherits=Ze();var si=ge("util"),T=void 0;si&&si.debuglog?T=si.debuglog("stream"):T=function(){};var df=Hn(),ps=Kr(),yt;cs.inherits(D,ui);var oi=["error","close","destroy","pause","resume"];function cf(t,e,r){if(typeof t.prependListener=="function")return t.prependListener(e,r);!t._events||!t._events[e]?t.on(e,r):ff(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]}function gs(t,e){Ft=Ft||nt(),t=t||{};var r=e instanceof Ft;this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var i=t.highWaterMark,n=t.readableHighWaterMark,s=this.objectMode?16:16*1024;i||i===0?this.highWaterMark=i:r&&(n||n===0)?this.highWaterMark=n:this.highWaterMark=s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new df,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=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(yt||(yt=ni().StringDecoder),this.decoder=new yt(t.encoding),this.encoding=t.encoding)}function D(t){if(Ft=Ft||nt(),!(this instanceof D))return new D(t);this._readableState=new gs(t,this),this.readable=!0,t&&(typeof t.read=="function"&&(this._read=t.read),typeof t.destroy=="function"&&(this._destroy=t.destroy)),ui.call(this)}Object.defineProperty(D.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}});D.prototype.destroy=ps.destroy;D.prototype._undestroy=ps.undestroy;D.prototype._destroy=function(t,e){this.push(null),e(t)};D.prototype.push=function(t,e){var r=this._readableState,i;return r.objectMode?i=!0:typeof t=="string"&&(e=e||r.defaultEncoding,e!==r.encoding&&(t=Pt.from(t,e),e=""),i=!0),vs(this,t,e,!1,i)};D.prototype.unshift=function(t){return vs(this,t,null,!0,!1)};function vs(t,e,r,i,n){var s=t._readableState;if(e===null)s.reading=!1,yf(t,s);else{var o;n||(o=pf(s,e)),o?t.emit("error",o):s.objectMode||e&&e.length>0?(typeof e!="string"&&!s.objectMode&&Object.getPrototypeOf(e)!==Pt.prototype&&(e=hf(e)),i?s.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):ai(t,s,e,!0):s.ended?t.emit("error",new Error("stream.push() after EOF")):(s.reading=!1,s.decoder&&!r?(e=s.decoder.write(e),s.objectMode||e.length!==0?ai(t,s,e,!1):ys(t,s)):ai(t,s,e,!1))):i||(s.reading=!1)}return gf(s)}function ai(t,e,r,i){e.flowing&&e.length===0&&!e.sync?(t.emit("data",r),t.read(0)):(e.length+=e.objectMode?1:r.length,i?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&dr(t)),ys(t,e)}function pf(t,e){var r;return!lf(e)&&typeof e!="string"&&e!==void 0&&!t.objectMode&&(r=new TypeError("Invalid non-string/buffer chunk")),r}function gf(t){return!t.ended&&(t.needReadable||t.length<t.highWaterMark||t.length===0)}D.prototype.isPaused=function(){return this._readableState.flowing===!1};D.prototype.setEncoding=function(t){return yt||(yt=ni().StringDecoder),this._readableState.decoder=new yt(t),this._readableState.encoding=t,this};var us=8388608;function vf(t){return t>=us?t=us:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function hs(t,e){return t<=0||e.length===0&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=vf(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}D.prototype.read=function(t){T("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(t!==0&&(e.emittedReadable=!1),t===0&&e.needReadable&&(e.length>=e.highWaterMark||e.ended))return T("read: emitReadable",e.length,e.ended),e.length===0&&e.ended?fi(this):dr(this),null;if(t=hs(t,e),t===0&&e.ended)return e.length===0&&fi(this),null;var i=e.needReadable;T("need readable",i),(e.length===0||e.length-t<e.highWaterMark)&&(i=!0,T("length less than watermark",i)),e.ended||e.reading?(i=!1,T("reading or ended",i)):i&&(T("do read"),e.reading=!0,e.sync=!0,e.length===0&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=hs(r,e)));var n;return t>0?n=ms(t,e):n=null,n===null?(e.needReadable=!0,t=0):e.length-=t,e.length===0&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&fi(this)),n!==null&&this.emit("data",n),n};function yf(t,e){if(!e.ended){if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,dr(t)}}function dr(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(T("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?mt.nextTick(ls,t):ls(t))}function ls(t){T("emit readable"),t.emit("readable"),hi(t)}function ys(t,e){e.readingMore||(e.readingMore=!0,mt.nextTick(mf,t,e))}function mf(t,e){for(var r=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length<e.highWaterMark&&(T("maybeReadMore read 0"),t.read(0),r!==e.length);)r=e.length;e.readingMore=!1}D.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))};D.prototype.pipe=function(t,e){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=t;break;case 1:i.pipes=[i.pipes,t];break;default:i.pipes.push(t);break}i.pipesCount+=1,T("pipe count=%d opts=%j",i.pipesCount,e);var n=(!e||e.end!==!1)&&t!==process.stdout&&t!==process.stderr,s=n?a:q;i.endEmitted?mt.nextTick(s):r.once("end",s),t.on("unpipe",o);function o(W,F){T("onunpipe"),W===r&&F&&F.hasUnpiped===!1&&(F.hasUnpiped=!0,l())}function a(){T("onend"),t.end()}var f=_f(r);t.on("drain",f);var h=!1;function l(){T("cleanup"),t.removeListener("close",N),t.removeListener("finish",A),t.removeListener("drain",f),t.removeListener("error",m),t.removeListener("unpipe",o),r.removeListener("end",a),r.removeListener("end",q),r.removeListener("data",y),h=!0,i.awaitDrain&&(!t._writableState||t._writableState.needDrain)&&f()}var _=!1;r.on("data",y);function y(W){T("ondata"),_=!1;var F=t.write(W);F===!1&&!_&&((i.pipesCount===1&&i.pipes===t||i.pipesCount>1&&_s(i.pipes,t)!==-1)&&!h&&(T("false write response, pause",i.awaitDrain),i.awaitDrain++,_=!0),r.pause())}function m(W){T("onerror",W),q(),t.removeListener("error",m),ds(t,"error")===0&&t.emit("error",W)}cf(t,"error",m);function N(){t.removeListener("finish",A),q()}t.once("close",N);function A(){T("onfinish"),t.removeListener("close",N),q()}t.once("finish",A);function q(){T("unpipe"),r.unpipe(t)}return t.emit("pipe",r),i.flowing||(T("pipe resume"),r.resume()),t};function _f(t){return function(){var e=t._readableState;T("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,e.awaitDrain===0&&ds(t,"data")&&(e.flowing=!0,hi(t))}}D.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(e.pipesCount===0)return this;if(e.pipesCount===1)return t&&t!==e.pipes?this:(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r),this);if(!t){var i=e.pipes,n=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var s=0;s<n;s++)i[s].emit("unpipe",this,{hasUnpiped:!1});return this}var o=_s(e.pipes,t);return o===-1?this:(e.pipes.splice(o,1),e.pipesCount-=1,e.pipesCount===1&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r),this)};D.prototype.on=function(t,e){var r=ui.prototype.on.call(this,t,e);if(t==="data")this._readableState.flowing!==!1&&this.resume();else if(t==="readable"){var i=this._readableState;!i.endEmitted&&!i.readableListening&&(i.readableListening=i.needReadable=!0,i.emittedReadable=!1,i.reading?i.length&&dr(this):mt.nextTick(wf,this))}return r};D.prototype.addListener=D.prototype.on;function wf(t){T("readable nexttick read 0"),t.read(0)}D.prototype.resume=function(){var t=this._readableState;return t.flowing||(T("resume"),t.flowing=!0,bf(this,t)),this};function bf(t,e){e.resumeScheduled||(e.resumeScheduled=!0,mt.nextTick(Ef,t,e))}function Ef(t,e){e.reading||(T("resume read 0"),t.read(0)),e.resumeScheduled=!1,e.awaitDrain=0,t.emit("resume"),hi(t),e.flowing&&!e.reading&&t.read(0)}D.prototype.pause=function(){return T("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(T("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function hi(t){var e=t._readableState;for(T("flow",e.flowing);e.flowing&&t.read()!==null;);}D.prototype.wrap=function(t){var e=this,r=this._readableState,i=!1;t.on("end",function(){if(T("wrapped end"),r.decoder&&!r.ended){var o=r.decoder.end();o&&o.length&&e.push(o)}e.push(null)}),t.on("data",function(o){if(T("wrapped data"),r.decoder&&(o=r.decoder.write(o)),!(r.objectMode&&o==null)&&!(!r.objectMode&&(!o||!o.length))){var a=e.push(o);a||(i=!0,t.pause())}});for(var n in t)this[n]===void 0&&typeof t[n]=="function"&&(this[n]=(function(o){return function(){return t[o].apply(t,arguments)}})(n));for(var s=0;s<oi.length;s++)t.on(oi[s],this.emit.bind(this,oi[s]));return this._read=function(o){T("wrapped _read",o),i&&(i=!1,t.resume())},this};Object.defineProperty(D.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});D._fromList=ms;function ms(t,e){if(e.length===0)return null;var r;return e.objectMode?r=e.buffer.shift():!t||t>=e.length?(e.decoder?r=e.buffer.join(""):e.buffer.length===1?r=e.buffer.head.data:r=e.buffer.concat(e.length),e.buffer.clear()):r=Sf(t,e.buffer,e.decoder),r}function Sf(t,e,r){var i;return t<e.head.data.length?(i=e.head.data.slice(0,t),e.head.data=e.head.data.slice(t)):t===e.head.data.length?i=e.shift():i=r?xf(t,e):Of(t,e),i}function xf(t,e){var r=e.head,i=1,n=r.data;for(t-=n.length;r=r.next;){var s=r.data,o=t>s.length?s.length:t;if(o===s.length?n+=s:n+=s.slice(0,t),t-=o,t===0){o===s.length?(++i,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=s.slice(o));break}++i}return e.length-=i,n}function Of(t,e){var r=Pt.allocUnsafe(t),i=e.head,n=1;for(i.data.copy(r),t-=i.data.length;i=i.next;){var s=i.data,o=t>s.length?s.length:t;if(s.copy(r,r.length-t,0,o),t-=o,t===0){o===s.length?(++n,i.next?e.head=i.next:e.head=e.tail=null):(e.head=i,i.data=s.slice(o));break}++n}return e.length-=n,r}function fi(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,mt.nextTick(Nf,e,t))}function Nf(t,e){!t.endEmitted&&t.length===0&&(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function _s(t,e){for(var r=0,i=t.length;r<i;r++)if(t[r]===e)return r;return-1}});var li=v((ih,Ss)=>{"use strict";Ss.exports=Me;var cr=nt(),Es=Object.create(gt());Es.inherits=Ze();Es.inherits(Me,cr);function Rf(t,e){var r=this._transformState;r.transforming=!1;var i=r.writecb;if(!i)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,e!=null&&this.push(e),i(t);var n=this._readableState;n.reading=!1,(n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}function Me(t){if(!(this instanceof Me))return new Me(t);cr.call(this,t),this._transformState={afterTransform:Rf.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&(typeof t.transform=="function"&&(this._transform=t.transform),typeof t.flush=="function"&&(this._flush=t.flush)),this.on("prefinish",If)}function If(){var t=this;typeof this._flush=="function"?this._flush(function(e,r){bs(t,e,r)}):bs(this,null,null)}Me.prototype.push=function(t,e){return this._transformState.needTransform=!1,cr.prototype.push.call(this,t,e)};Me.prototype._transform=function(t,e,r){throw new Error("_transform() is not implemented")};Me.prototype._write=function(t,e,r){var i=this._transformState;if(i.writecb=r,i.writechunk=t,i.writeencoding=e,!i.transforming){var n=this._readableState;(i.needTransform||n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}};Me.prototype._read=function(t){var e=this._transformState;e.writechunk!==null&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0};Me.prototype._destroy=function(t,e){var r=this;cr.prototype._destroy.call(this,t,function(i){e(i),r.emit("close")})};function bs(t,e,r){if(e)return t.emit("error",e);if(r!=null&&t.push(r),t._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(t._transformState.transforming)throw new Error("Calling transform done when still transforming");return t.push(null)}});var Rs=v((nh,Ns)=>{"use strict";Ns.exports=Vt;var xs=li(),Os=Object.create(gt());Os.inherits=Ze();Os.inherits(Vt,xs);function Vt(t){if(!(this instanceof Vt))return new Vt(t);xs.call(this,t)}Vt.prototype._transform=function(t,e,r){r(null,t)}});var di=v((Y,pr)=>{var Ie=ge("stream");process.env.READABLE_STREAM==="disable"&&Ie?(pr.exports=Ie,Y=pr.exports=Ie.Readable,Y.Readable=Ie.Readable,Y.Writable=Ie.Writable,Y.Duplex=Ie.Duplex,Y.Transform=Ie.Transform,Y.PassThrough=Ie.PassThrough,Y.Stream=Ie):(Y=pr.exports=ti(),Y.Stream=Ie||Y,Y.Readable=Y,Y.Writable=Xr(),Y.Duplex=nt(),Y.Transform=li(),Y.PassThrough=Rs())});var As=v((oh,Ts)=>{var pi=rt(),ci=pi.utils,Tf=pi.decoder,Af=pi.table,sh=ci.assert,Lf=Ze(),Is=di().Duplex;function ve(t){Is.call(this,{readableObjectMode:!0}),this._decoder=Tf.create(),this._table=Af.create(t.table)}Lf(ve,Is);Ts.exports=ve;ve.create=function(e){return new ve(e)};ve.prototype._read=function(){};ve.prototype._write=function(e,r,i){this._decoder.push(e),i(null)};ve.prototype.execute=function(e){for(;!this._decoder.isEmpty();)try{this._execute()}catch(i){return e?r(i):this.emit("error",i)}e&&r(null);function r(i){process.nextTick(function(){e(i)})}};ve.prototype.updateTableSize=function(e){this._table.updateSize(e)};ve.prototype._execute=function(){var e=this._decoder.decodeBit();if(e)return this._processIndexed();var r=this._decoder.decodeBit(),i=0;if(!r){var n=this._decoder.decodeBit();if(n)return this._processUpdate();i=this._decoder.decodeBit()}this._processLiteral(r,i)};ve.prototype._processIndexed=function(){var e=this._decoder.decodeInt(),r=this._table.lookup(e);this.push({name:r.name,value:r.value,neverIndex:!1})};ve.prototype._processLiteral=function(e,r){var i=this._decoder.decodeInt(),n,s;if(i===0)n=this._decoder.decodeStr(),s=n.length,n=ci.stringify(n);else{var o=this._table.lookup(i);s=o.nameSize,n=o.name}var a=this._decoder.decodeStr(),f=a.length;a=ci.stringify(a),e&&this._table.add(n,a,s,f),this.push({name:n,value:a,neverIndex:r!==0})};ve.prototype._processUpdate=function(){var e=this._decoder.decodeInt();this.updateTableSize(e)}});var qs=v((ah,ks)=>{ks.exports=Ls;function Ls(t,e){if(!t)throw new Error(e||"Assertion failed")}Ls.equal=function(e,r,i){if(e!=r)throw new Error(i||"Assertion failed: "+e+" != "+r)}});var Cs=v((fh,Ms)=>{var Bs=qs(),kf=ge("buffer").Buffer;function U(){this.buffers=[],this.toReserve=0,this.size=0,this.maxSize=0,this.avail=0,this.last=null,this.offset=0,this.sliceQueue=null,this.forceReserve=!1,this.reserveRate=64}Ms.exports=U;U.prototype.reserve=function(e){this.toReserve+=e,this.forceReserve&&(this.toReserve=Math.max(this.toReserve,this.reserveRate))};U.prototype._ensure=function(e){this.avail>=e||(this.toReserve===0&&(this.toReserve=this.reserveRate),this.toReserve=Math.max(e-this.avail,this.toReserve),this.avail===0&&this._next())};U.prototype._next=function(){var e;this.sliceQueue===null?e=new kf(this.toReserve):(e=this.sliceQueue.shift(),this.sliceQueue.length===0&&(this.sliceQueue=null)),this.toReserve=0,this.buffers.push(e),this.avail=e.length,this.offset=0,this.last=e};U.prototype._rangeCheck=function(){if(this.maxSize!==0&&this.size>this.maxSize)throw new RangeError("WBuf overflow")};U.prototype._move=function(e){this.size+=e,this.avail===0&&(this.last=null),this._rangeCheck()};U.prototype.slice=function(e,r){Bs(0<=e&&e<=this.size),Bs(0<=r&&r<=this.size),this.last===null&&this._next();var i=new U;if(e>=this.size-this.offset)return i.buffers.push(this.last),i.last=this.last,i.offset=e-this.size+this.offset,i.maxSize=r-e,i.avail=i.maxSize,i;for(var n=-1,s=0,o=-1,a=0,f=0;f<this.buffers.length;f++){var h=this.buffers[f],l=a+h.length;if(e>=a&&e<=l&&(n=f,s=e-a,o!==-1)||r>=a&&r<=l&&(o=f,n!==-1))break;a=l}return i.last=this.buffers[n],i.offset=s,i.maxSize=r-e,n<o&&(i.sliceQueue=this.buffers.slice(n+1,o+1),i.last=i.last.slice(i.offset),i.offset=0),i.avail=i.last.length-i.offset,i.buffers.push(i.last),i};U.prototype.skip=function(e){if(e===0)return this.slice(this.size,this.size);this._ensure(e);for(var r=e;r>0;){var i=Math.min(r,this.avail);r-=i,this.size+=i,i===this.avail?r!==0?this._next():(this.avail-=i,this.offset+=i):(this.offset+=i,this.avail-=i)}return this._rangeCheck(),this.slice(this.size-e,this.size)};U.prototype.write=function(e){for(var r=0,i=0;i<e.length;i++){var n=e.charCodeAt(i);n>255?r+=2:r+=1}this.reserve(r);for(var i=0;i<e.length;i++){var n=e.charCodeAt(i),s=n>>>8,o=n&255;s&&this.writeUInt8(s),this.writeUInt8(o)}};U.prototype.copyFrom=function(e,r,i){var n=r===void 0?0:r,s=i===void 0?e.length:i;if(n!==s){for(this._ensure(s-n);n<s;){var o=Math.min(s-n,this.avail);e.copy(this.last,this.offset,n,n+o),n+=o,this.size+=o,o===this.avail?n!==s?this._next():(this.avail=0,this.offset+=o):(this.offset+=o,this.avail-=o)}this._rangeCheck()}};U.prototype.writeUInt8=function(e){this._ensure(1),this.last[this.offset++]=e,this.avail--,this._move(1)};U.prototype.writeUInt16BE=function(e){this._ensure(2),this.avail>=2?(this.last.writeUInt16BE(e,this.offset),this.offset+=2,this.avail-=2):(this.last[this.offset]=e>>>8,this._next(),this.last[this.offset++]=e&255,this.avail--),this._move(2)};U.prototype.writeUInt24BE=function(e){this._ensure(3),this.avail>=3?(this.last.writeUInt16BE(e>>>8,this.offset),this.last[this.offset+2]=e&255,this.offset+=3,this.avail-=3,this._move(3)):this.avail>=2?(this.last.writeUInt16BE(e>>>8,this.offset),this._next(),this.last[this.offset++]=e&255,this.avail--,this._move(3)):(this.last[this.offset]=e>>>16,this._move(1),this._next(),this.writeUInt16BE(e&65535))};U.prototype.writeUInt32BE=function(e){this._ensure(4),this.avail>=4?(this.last.writeUInt32BE(e,this.offset),this.offset+=4,this.avail-=4,this._move(4)):this.avail>=3?(this.writeUInt24BE(e>>>8),this._next(),this.last[this.offset++]=e&255,this.avail--,this._move(1)):(this.writeUInt16BE(e>>>16),this.writeUInt16BE(e&65535))};U.prototype.writeUInt16LE=function(e){var r=(e&255)<<8|e>>>8;this.writeUInt16BE(r)};U.prototype.writeUInt24LE=function(e){var r=(e&255)<<16|(e>>>8&255)<<8|e>>>16;this.writeUInt24BE(r)};U.prototype.writeUInt32LE=function(e){this._ensure(4),this.avail>=4?(this.last.writeUInt32LE(e,this.offset),this.offset+=4,this.avail-=4,this._move(4)):this.avail>=3?(this.writeUInt24LE(e&16777215),this._next(),this.last[this.offset++]=e>>>24,this.avail--,this._move(1)):(this.writeUInt16LE(e&65535),this.writeUInt16LE(e>>>16))};U.prototype.render=function(){for(var e=this.size,r=[],i=0;i<this.buffers.length&&e>=0;i++){var n=this.buffers[i];e-=n.length,e>=0?r.push(n):r.push(n.slice(0,n.length+e))}return r};U.prototype.writeInt8=function(e){return e<0?this.writeUInt8(256+e):this.writeUInt8(e)};function Us(t){return t<0?65536+t:t}U.prototype.writeInt16LE=function(e){this.writeUInt16LE(Us(e))};U.prototype.writeInt16BE=function(e){this.writeUInt16BE(Us(e))};function zs(t){return t<0?16777216+t:t}U.prototype.writeInt24LE=function(e){this.writeUInt24LE(zs(e))};U.prototype.writeInt24BE=function(e){this.writeUInt24BE(zs(e))};function Ds(t){return t<0?4294967295+t+1:t}U.prototype.writeInt32LE=function(e){this.writeUInt32LE(Ds(e))};U.prototype.writeInt32BE=function(e){this.writeUInt32BE(Ds(e))};U.prototype.writeComb=function(e,r,i){if(e===1)return this.writeUInt8(i);r==="le"?e===2?this.writeUInt16LE(i):e===3?this.writeUInt24LE(i):e===4&&this.writeUInt32LE(i):e===2?this.writeUInt16BE(i):e===3?this.writeUInt24BE(i):e===4&&this.writeUInt32BE(i)}});var Ps=v((hh,Fs)=>{var js=rt(),qf=js.utils,Bf=js.huffman.encode,uh=qf.assert,Uf=Cs();function Ce(){this.buffer=new Uf,this.word=0,this.bitOffset=0}Fs.exports=Ce;Ce.create=function(){return new Ce};Ce.prototype.render=function(){return this.buffer.render()};Ce.prototype.encodeBit=function(e){var r;this.word<<=1,this.word|=e,this.bitOffset++,this.bitOffset===8&&(this.buffer.writeUInt8(this.word),this.word=0,this.bitOffset=0)};Ce.prototype.encodeBits=function(e,r){for(var i=e,n=r;n>0;){var s=Math.min(n,8-this.bitOffset),o=i>>>n-s;s===8?this.buffer.writeUInt8(o):(this.word<<=s,this.word|=o,this.bitOffset+=s,this.bitOffset===8&&(this.buffer.writeUInt8(this.word),this.word=0,this.bitOffset=0)),n-=s,i&=(1<<n)-1}};Ce.prototype.skipBits=function(e){this.bitOffset+=e,this.buffer.skip(this.bitOffset>>3),this.bitOffset&=7};Ce.prototype.encodeInt=function(e){var r=8-this.bitOffset;this.bitOffset=0;var i=(1<<r)-1;if(e<i)return this.buffer.writeUInt8(this.word<<r|e),s;var n=e-i;this.buffer.writeUInt8(this.word<<r|i);do{var s=n&127;n>>=7,n!==0&&(s|=128),this.buffer.writeUInt8(s)}while(n!==0)};Ce.prototype.encodeStr=function(e,r){if(this.encodeBit(r?1:0),!r){this.buffer.reserve(e.length+1),this.encodeInt(e.length);for(var i=0;i<e.length;i++)this.buffer.writeUInt8(e[i]);return}for(var n=[],s=0,o=0,i=0;i<e.length;i++){var a=Bf[e[i]];n.push(a),s+=a[0]}s%8!==0&&(o=8-s%8),s+=o,this.buffer.reserve(s/8+1),this.encodeInt(s/8);for(var i=0;i<n.length;i++){var a=n[i];this.encodeBits(a[1],a[0])}this.encodeBits(255>>>8-o,o)}});var Hs=v((lh,Ws)=>{var vi=rt(),gi=vi.utils,yi=vi.encoder,zf=vi.table,Df=gi.assert,Mf=Ze(),Vs=di().Duplex;function je(t){Vs.call(this,{writableObjectMode:!0}),this._encoder=null,this._table=zf.create(t.table)}Mf(je,Vs);Ws.exports=je;je.create=function(e){return new je(e)};je.prototype._read=function(){};je.prototype._write=function(s,r,i){Df(Array.isArray(s),"Compressor.write() expects list of headers"),this._encoder=yi.create();for(var n=0;n<s.length;n++)this._encodeHeader(s[n]);var s=this._encoder.render();this._encoder=null,i(null);for(var n=0;n<s.length;n++)this.push(s[n])};je.prototype.updateTableSize=function(e){if(e>=this._table.protocolMaxSize){e=this._table.protocolMaxSize;var r=yi.create();r.encodeBits(1,3),r.encodeInt(e);for(var i=r.render(),n=0;n<i.length;n++)this.push(i[n])}this._table.updateSize(e)};je.prototype.reset=function(){var e=yi.create(),r=this._table.maxSize;e.encodeBits(1,3),e.encodeInt(0),this._table.updateSize(0),e.encodeBits(1,3),e.encodeInt(r),this._table.updateSize(r);for(var i=e.render(),n=0;n<i.length;n++)this.push(i[n])};je.prototype._encodeHeader=function(e){if(e.neverIndex)var r=0,i=1,n=0,s=0;else var r=this._table.reverseLookup(e.name,e.value),n=r>0,s=e.incremental!==!1,i=0;if(this._encoder.encodeBit(n),n){this._encoder.encodeInt(r);return}var o=gi.toArray(e.name),a=gi.toArray(e.value);this._encoder.encodeBit(s),s?this._table.add(e.name,e.value,o.length,a.length):(this._encoder.encodeBit(0),this._encoder.encodeBit(i)),this._encoder.encodeInt(-r),r===0&&this._encoder.encodeStr(o,e.huffman!==!1),this._encoder.encodeStr(a,e.huffman!==!1)}});var rt=v(Js=>{var $e=Js;$e.utils=En();$e.huffman=Sn();$e["static-table"]=xn();$e.table=Rn();$e.decoder=Dn();$e.decompressor=As();$e.encoder=Ps();$e.compressor=Hs()});var mi=v((ch,Zs)=>{"use strict";Zs.exports=Cf;function Cf(t,e){for(var r=new Array(arguments.length-1),i=0,n=2,s=!0;n<arguments.length;)r[i++]=arguments[n++];return new Promise(function(a,f){r[i]=function(l){if(s)if(s=!1,l)f(l);else{for(var _=new Array(arguments.length-1),y=0;y<_.length;)_[y++]=arguments[y];a.apply(null,_)}};try{t.apply(e||null,r)}catch(h){s&&(s=!1,f(h))}})}});var Ks=v(Gs=>{"use strict";var gr=Gs;gr.length=function(e){var r=e.length;if(!r)return 0;for(;r>0&&e.charAt(r-1)==="=";)--r;return Math.floor(r*3/4)};var _t=new Array(64),vr=new Array(123);for(Ee=0;Ee<64;)vr[_t[Ee]=Ee<26?Ee+65:Ee<52?Ee+71:Ee<62?Ee-4:Ee-59|43]=Ee++;var Ee;vr[45]=62;vr[95]=63;gr.encode=function(e,r,i){for(var n=null,s=[],o=0,a=0,f;r<i;){var h=e[r++];switch(a){case 0:s[o++]=_t[h>>2],f=(h&3)<<4,a=1;break;case 1:s[o++]=_t[f|h>>4],f=(h&15)<<2,a=2;break;case 2:s[o++]=_t[f|h>>6],s[o++]=_t[h&63],a=0;break}o>8191&&((n||(n=[])).push(String.fromCharCode.apply(String,s)),o=0)}return a&&(s[o++]=_t[f],s[o++]=61,a===1&&(s[o++]=61)),n?(o&&n.push(String.fromCharCode.apply(String,s.slice(0,o))),n.join("")):String.fromCharCode.apply(String,s.slice(0,o))};var $s="invalid encoding";gr.decode=function(e,r,i){for(var n=i,s=0,o,a=0;a<e.length;){var f=e.charCodeAt(a++);if(f===61&&s>1)break;if((f=vr[f])===void 0)throw Error($s);switch(s){case 0:o=f,s=1;break;case 1:r[i++]=o<<2|(f&48)>>4,o=f,s=2;break;case 2:r[i++]=(o&15)<<4|(f&60)>>2,o=f,s=3;break;case 3:r[i++]=(o&3)<<6|f,s=0;break}}if(s===1)throw Error($s);return i-n};var jf=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/,Ff=/[-_]/,Pf=/^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2}(?:==)?|[A-Za-z0-9_-]{3}=?)?$/;gr.test=function(e){return jf.test(e)||Ff.test(e)&&Pf.test(e)}});var Xs=v((gh,Ys)=>{"use strict";Ys.exports=yr;function yr(){this._listeners=Object.create(null)}yr.prototype.on=function(e,r,i){return(this._listeners[e]||(this._listeners[e]=[])).push({fn:r,ctx:i||this}),this};yr.prototype.off=function(e,r){if(e===void 0)this._listeners=Object.create(null);else if(r===void 0)this._listeners[e]=[];else{var i=this._listeners[e];if(!i)return this;for(var n=0;n<i.length;)i[n].fn===r?i.splice(n,1):++n}return this};yr.prototype.emit=function(e){var r=this._listeners[e];if(r){for(var i=[],n=1;n<arguments.length;)i.push(arguments[n++]);for(n=0;n<r.length;)r[n].fn.apply(r[n++].ctx,i)}return this}});var so=v((vh,no)=>{"use strict";no.exports=Qs(Qs);function Qs(t){return typeof Float32Array<"u"?(function(){var e=new Float32Array([-0]),r=new Uint8Array(e.buffer),i=r[3]===128;function n(f,h,l){e[0]=f,h[l]=r[0],h[l+1]=r[1],h[l+2]=r[2],h[l+3]=r[3]}function s(f,h,l){e[0]=f,h[l]=r[3],h[l+1]=r[2],h[l+2]=r[1],h[l+3]=r[0]}t.writeFloatLE=i?n:s,t.writeFloatBE=i?s:n;function o(f,h){return r[0]=f[h],r[1]=f[h+1],r[2]=f[h+2],r[3]=f[h+3],e[0]}function a(f,h){return r[3]=f[h],r[2]=f[h+1],r[1]=f[h+2],r[0]=f[h+3],e[0]}t.readFloatLE=i?o:a,t.readFloatBE=i?a:o})():(function(){function e(i,n,s,o){var a=n<0?1:0;if(a&&(n=-n),n===0)i(1/n>0?0:2147483648,s,o);else if(isNaN(n))i(2143289344,s,o);else if(n>34028234663852886e22)i((a<<31|2139095040)>>>0,s,o);else if(n<11754943508222875e-54)i((a<<31|Math.round(n/1401298464324817e-60))>>>0,s,o);else{var f=Math.floor(Math.log(n)/Math.LN2),h=Math.round(n*Math.pow(2,-f)*8388608)&8388607;i((a<<31|f+127<<23|h)>>>0,s,o)}}t.writeFloatLE=e.bind(null,eo),t.writeFloatBE=e.bind(null,to);function r(i,n,s){var o=i(n,s),a=(o>>31)*2+1,f=o>>>23&255,h=o&8388607;return f===255?h?NaN:a*(1/0):f===0?a*1401298464324817e-60*h:a*Math.pow(2,f-150)*(h+8388608)}t.readFloatLE=r.bind(null,ro),t.readFloatBE=r.bind(null,io)})(),typeof Float64Array<"u"?(function(){var e=new Float64Array([-0]),r=new Uint8Array(e.buffer),i=r[7]===128;function n(f,h,l){e[0]=f,h[l]=r[0],h[l+1]=r[1],h[l+2]=r[2],h[l+3]=r[3],h[l+4]=r[4],h[l+5]=r[5],h[l+6]=r[6],h[l+7]=r[7]}function s(f,h,l){e[0]=f,h[l]=r[7],h[l+1]=r[6],h[l+2]=r[5],h[l+3]=r[4],h[l+4]=r[3],h[l+5]=r[2],h[l+6]=r[1],h[l+7]=r[0]}t.writeDoubleLE=i?n:s,t.writeDoubleBE=i?s:n;function o(f,h){return r[0]=f[h],r[1]=f[h+1],r[2]=f[h+2],r[3]=f[h+3],r[4]=f[h+4],r[5]=f[h+5],r[6]=f[h+6],r[7]=f[h+7],e[0]}function a(f,h){return r[7]=f[h],r[6]=f[h+1],r[5]=f[h+2],r[4]=f[h+3],r[3]=f[h+4],r[2]=f[h+5],r[1]=f[h+6],r[0]=f[h+7],e[0]}t.readDoubleLE=i?o:a,t.readDoubleBE=i?a:o})():(function(){function e(i,n,s,o,a,f){var h=o<0?1:0;if(h&&(o=-o),o===0)i(0,a,f+n),i(1/o>0?0:2147483648,a,f+s);else if(isNaN(o))i(0,a,f+n),i(2146959360,a,f+s);else if(o>17976931348623157e292)i(0,a,f+n),i((h<<31|2146435072)>>>0,a,f+s);else{var l;if(o<22250738585072014e-324)l=o/5e-324,i(l>>>0,a,f+n),i((h<<31|l/4294967296)>>>0,a,f+s);else{var _=Math.floor(Math.log(o)/Math.LN2);_===1024&&(_=1023),l=o*Math.pow(2,-_),i(l*4503599627370496>>>0,a,f+n),i((h<<31|_+1023<<20|l*1048576&1048575)>>>0,a,f+s)}}}t.writeDoubleLE=e.bind(null,eo,0,4),t.writeDoubleBE=e.bind(null,to,4,0);function r(i,n,s,o,a){var f=i(o,a+n),h=i(o,a+s),l=(h>>31)*2+1,_=h>>>20&2047,y=4294967296*(h&1048575)+f;return _===2047?y?NaN:l*(1/0):_===0?l*5e-324*y:l*Math.pow(2,_-1075)*(y+4503599627370496)}t.readDoubleLE=r.bind(null,ro,0,4),t.readDoubleBE=r.bind(null,io,4,0)})(),t}function eo(t,e,r){e[r]=t&255,e[r+1]=t>>>8&255,e[r+2]=t>>>16&255,e[r+3]=t>>>24}function to(t,e,r){e[r]=t>>>24,e[r+1]=t>>>16&255,e[r+2]=t>>>8&255,e[r+3]=t&255}function ro(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16|t[e+3]<<24)>>>0}function io(t,e){return(t[e]<<24|t[e+1]<<16|t[e+2]<<8|t[e+3])>>>0}});var fo=v(ao=>{"use strict";var _r=ao,mr=new TextDecoder("utf-8",{ignoreBOM:!0}),Wt,oo=64;try{Wt=new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0})}catch{Wt=mr}_r.length=function(e){for(var r=0,i=0,n=0;n<e.length;++n)i=e.charCodeAt(n),i<128?r+=1:i<2048?r+=2:(i&64512)===55296&&(e.charCodeAt(n+1)&64512)===56320?(++n,r+=4):r+=3;return r};function wt(t,e,r,i){var n=r===0&&i===e.length?e:e.subarray(r,i);return t.decode(n)}_r.read=function(e,r,i){if(i-r<1)return"";if(i-r>=oo)return wt(mr,e,r,i);for(var n="",s=r,o,a,f,h,l,_,y,m;s+7<i;s+=8){if(o=e[s],a=e[s+1],f=e[s+2],h=e[s+3],l=e[s+4],_=e[s+5],y=e[s+6],m=e[s+7],(o|a|f|h|l|_|y|m)&128)return n+wt(mr,e,s,i);n+=String.fromCharCode(o,a,f,h,l,_,y,m)}for(;s<i;++s){if(o=e[s],o&128)return n+wt(mr,e,s,i);n+=String.fromCharCode(o)}return n};_r.readStrict=function(e,r,i){if(i-r<1)return"";if(i-r>=oo)return wt(Wt,e,r,i);for(var n="",s=r,o,a,f,h,l,_,y,m;s+7<i;s+=8){if(o=e[s],a=e[s+1],f=e[s+2],h=e[s+3],l=e[s+4],_=e[s+5],y=e[s+6],m=e[s+7],(o|a|f|h|l|_|y|m)&128)return n+wt(Wt,e,s,i);n+=String.fromCharCode(o,a,f,h,l,_,y,m)}for(;s<i;++s){if(o=e[s],o&128)return n+wt(Wt,e,s,i);n+=String.fromCharCode(o)}return n};_r.write=function(e,r,i){for(var n=i,s,o,a=0;a<e.length;++a)s=e.charCodeAt(a),s<128?r[i++]=s:s<2048?(r[i++]=s>>6|192,r[i++]=s&63|128):(s&64512)===55296&&((o=e.charCodeAt(a+1))&64512)===56320?(s=65536+((s&1023)<<10)+(o&1023),++a,r[i++]=s>>18|240,r[i++]=s>>12&63|128,r[i++]=s>>6&63|128,r[i++]=s&63|128):(r[i++]=s>>12|224,r[i++]=s>>6&63|128,r[i++]=s&63|128);return i-n}});var ho=v((mh,uo)=>{"use strict";uo.exports=Vf;function Vf(t,e,r){var i=r||8192,n=i>>>1,s=null,o=i;return function(f){if(f<1||f>n)return t(f);o+f>i&&(s=t(i),o=0);var h=e.call(s,o,o+=f);return o&7&&(o=(o|7)+1),h}}});var co=v((_h,lo)=>{"use strict";lo.exports=J;var Ht;function J(t,e){this.lo=t>>>0,this.hi=e>>>0}var st=J.zero=new J(0,0);st.toNumber=function(){return 0};st.zzEncode=st.zzDecode=function(){return this};st.length=function(){return 1};var Wf=J.zeroHash="\0\0\0\0\0\0\0\0";J.fromNumber=function(e){if(e===0)return st;var r=e<0;r&&(e=-e);var i=e>>>0,n=(e-i)/4294967296>>>0;return r&&(n=~n>>>0,i=~i>>>0,++i>4294967295&&(i=0,++n>4294967295&&(n=0))),new J(i,n)};J.from=function(e){if(typeof e=="number")return J.fromNumber(e);if(typeof e=="string"||e instanceof String)if(Ht)e=Ht.fromString(e);else return J.fromNumber(parseInt(e,10));return e.low||e.high?new J(e.low>>>0,e.high>>>0):st};J.prototype.toNumber=function(e){if(!e&&this.hi>>>31){var r=~this.lo+1>>>0,i=~this.hi>>>0;return r||(i=i+1>>>0),-(r+i*4294967296)}return this.lo+this.hi*4294967296};J.prototype.toLong=function(e){return Ht?new Ht(this.lo|0,this.hi|0,!!e):{low:this.lo|0,high:this.hi|0,unsigned:!!e}};var Ge=String.prototype.charCodeAt;J.fromHash=function(e){return e===Wf?st:new J((Ge.call(e,0)|Ge.call(e,1)<<8|Ge.call(e,2)<<16|Ge.call(e,3)<<24)>>>0,(Ge.call(e,4)|Ge.call(e,5)<<8|Ge.call(e,6)<<16|Ge.call(e,7)<<24)>>>0)};J.prototype.toHash=function(){return String.fromCharCode(this.lo&255,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,this.hi&255,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)};J.prototype.zzEncode=function(){var e=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^e)>>>0,this.lo=(this.lo<<1^e)>>>0,this};J.prototype.zzDecode=function(){var e=-(this.lo&1);return this.lo=((this.lo>>>1|this.hi<<31)^e)>>>0,this.hi=(this.hi>>>1^e)>>>0,this};J.prototype.length=function(){var e=this.lo,r=(this.lo>>>28|this.hi<<4)>>>0,i=this.hi>>>24;return i===0?r===0?e<16384?e<128?1:2:e<2097152?3:4:r<16384?r<128?5:6:r<2097152?7:8:i<128?9:10};J._configure=function(t){Ht=t}});var po=v((Jt,_i)=>{(function(t,e){function r(i){return i.default||i}typeof define=="function"&&define.amd?define([],function(){var i={};return e(i),r(i)}):typeof Jt=="object"?(e(Jt),typeof _i=="object"&&(_i.exports=r(Jt))):(function(){var i={};e(i),t.Long=r(i)})()})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:Jt,function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;/**
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright 2009 The Closure Library Authors
|
|
5
|
+
* Copyright 2020 Daniel Wirtz / The long.js Authors.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*
|
|
19
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
20
|
+
*/var e=null;try{e=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch{}function r(d,u,g){this.low=d|0,this.high=u|0,this.unsigned=!!g}r.prototype.__isLong__,Object.defineProperty(r.prototype,"__isLong__",{value:!0});function i(d){return(d&&d.__isLong__)===!0}function n(d){var u=Math.clz32(d&-d);return d?31-u:u}r.isLong=i;var s={},o={};function a(d,u){var g,R,C;return u?(d>>>=0,(C=0<=d&&d<256)&&(R=o[d],R)?R:(g=h(d,0,!0),C&&(o[d]=g),g)):(d|=0,(C=-128<=d&&d<128)&&(R=s[d],R)?R:(g=h(d,d<0?-1:0,!1),C&&(s[d]=g),g))}r.fromInt=a;function f(d,u){if(isNaN(d))return u?Ue:he;if(u){if(d<0)return Ue;if(d>=q)return _n}else{if(d<=-W)return ne;if(d+1>=W)return mn}return d<0?f(-d,u).neg():h(d%A|0,d/A|0,u)}r.fromNumber=f;function h(d,u,g){return new r(d,u,g)}r.fromBits=h;var l=Math.pow;function _(d,u,g){if(d.length===0)throw Error("empty string");if(typeof u=="number"?(g=u,u=!1):u=!!u,d==="NaN"||d==="Infinity"||d==="+Infinity"||d==="-Infinity")return u?Ue:he;if(g=g||10,g<2||36<g)throw RangeError("radix");var R;if((R=d.indexOf("-"))>0)throw Error("interior hyphen");if(R===0)return _(d.substring(1),u,g).neg();for(var C=f(l(g,8)),z=he,H=0;H<d.length;H+=8){var se=Math.min(8,d.length-H),ce=parseInt(d.substring(H,H+se),g);if(se<8){var ee=f(l(g,se));z=z.mul(ee).add(f(ce))}else z=z.mul(C),z=z.add(f(ce))}return z.unsigned=u,z}r.fromString=_;function y(d,u){return typeof d=="number"?f(d,u):typeof d=="string"?_(d,u):h(d.low,d.high,typeof u=="boolean"?u:d.unsigned)}r.fromValue=y;var m=65536,N=1<<24,A=m*m,q=A*A,W=q/2,F=a(N),he=a(0);r.ZERO=he;var Ue=a(0,!0);r.UZERO=Ue;var ct=a(1);r.ONE=ct;var yn=a(1,!0);r.UONE=yn;var Cr=a(-1);r.NEG_ONE=Cr;var mn=h(-1,2147483647,!1);r.MAX_VALUE=mn;var _n=h(-1,-1,!0);r.MAX_UNSIGNED_VALUE=_n;var ne=h(0,-2147483648,!1);r.MIN_VALUE=ne;var c=r.prototype;c.toInt=function(){return this.unsigned?this.low>>>0:this.low},c.toNumber=function(){return this.unsigned?(this.high>>>0)*A+(this.low>>>0):this.high*A+(this.low>>>0)},c.toString=function(u){if(u=u||10,u<2||36<u)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative())if(this.eq(ne)){var g=f(u),R=this.div(g),C=R.mul(g).sub(this);return R.toString(u)+C.toInt().toString(u)}else return"-"+this.neg().toString(u);for(var z=f(l(u,6),this.unsigned),H=this,se="";;){var ce=H.div(z),ee=H.sub(ce.mul(z)).toInt()>>>0,P=ee.toString(u);if(H=ce,H.isZero())return P+se;for(;P.length<6;)P="0"+P;se=""+P+se}},c.getHighBits=function(){return this.high},c.getHighBitsUnsigned=function(){return this.high>>>0},c.getLowBits=function(){return this.low},c.getLowBitsUnsigned=function(){return this.low>>>0},c.getNumBitsAbs=function(){if(this.isNegative())return this.eq(ne)?64:this.neg().getNumBitsAbs();for(var u=this.high!=0?this.high:this.low,g=31;g>0&&(u&1<<g)==0;g--);return this.high!=0?g+33:g+1},c.isSafeInteger=function(){var u=this.high>>21;return u?this.unsigned?!1:u===-1&&!(this.low===0&&this.high===-2097152):!0},c.isZero=function(){return this.high===0&&this.low===0},c.eqz=c.isZero,c.isNegative=function(){return!this.unsigned&&this.high<0},c.isPositive=function(){return this.unsigned||this.high>=0},c.isOdd=function(){return(this.low&1)===1},c.isEven=function(){return(this.low&1)===0},c.equals=function(u){return i(u)||(u=y(u)),this.unsigned!==u.unsigned&&this.high>>>31===1&&u.high>>>31===1?!1:this.high===u.high&&this.low===u.low},c.eq=c.equals,c.notEquals=function(u){return!this.eq(u)},c.neq=c.notEquals,c.ne=c.notEquals,c.lessThan=function(u){return this.comp(u)<0},c.lt=c.lessThan,c.lessThanOrEqual=function(u){return this.comp(u)<=0},c.lte=c.lessThanOrEqual,c.le=c.lessThanOrEqual,c.greaterThan=function(u){return this.comp(u)>0},c.gt=c.greaterThan,c.greaterThanOrEqual=function(u){return this.comp(u)>=0},c.gte=c.greaterThanOrEqual,c.ge=c.greaterThanOrEqual,c.compare=function(u){if(i(u)||(u=y(u)),this.eq(u))return 0;var g=this.isNegative(),R=u.isNegative();return g&&!R?-1:!g&&R?1:this.unsigned?u.high>>>0>this.high>>>0||u.high===this.high&&u.low>>>0>this.low>>>0?-1:1:this.sub(u).isNegative()?-1:1},c.comp=c.compare,c.negate=function(){return!this.unsigned&&this.eq(ne)?ne:this.not().add(ct)},c.neg=c.negate,c.add=function(u){i(u)||(u=y(u));var g=this.high>>>16,R=this.high&65535,C=this.low>>>16,z=this.low&65535,H=u.high>>>16,se=u.high&65535,ce=u.low>>>16,ee=u.low&65535,P=0,pe=0,K=0,le=0;return le+=z+ee,K+=le>>>16,le&=65535,K+=C+ce,pe+=K>>>16,K&=65535,pe+=R+se,P+=pe>>>16,pe&=65535,P+=g+H,P&=65535,h(K<<16|le,P<<16|pe,this.unsigned)},c.subtract=function(u){return i(u)||(u=y(u)),this.add(u.neg())},c.sub=c.subtract,c.multiply=function(u){if(this.isZero())return this;if(i(u)||(u=y(u)),e){var g=e.mul(this.low,this.high,u.low,u.high);return h(g,e.get_high(),this.unsigned)}if(u.isZero())return this.unsigned?Ue:he;if(this.eq(ne))return u.isOdd()?ne:he;if(u.eq(ne))return this.isOdd()?ne:he;if(this.isNegative())return u.isNegative()?this.neg().mul(u.neg()):this.neg().mul(u).neg();if(u.isNegative())return this.mul(u.neg()).neg();if(this.lt(F)&&u.lt(F))return f(this.toNumber()*u.toNumber(),this.unsigned);var R=this.high>>>16,C=this.high&65535,z=this.low>>>16,H=this.low&65535,se=u.high>>>16,ce=u.high&65535,ee=u.low>>>16,P=u.low&65535,pe=0,K=0,le=0,tr=0;return tr+=H*P,le+=tr>>>16,tr&=65535,le+=z*P,K+=le>>>16,le&=65535,le+=H*ee,K+=le>>>16,le&=65535,K+=C*P,pe+=K>>>16,K&=65535,K+=z*ee,pe+=K>>>16,K&=65535,K+=H*ce,pe+=K>>>16,K&=65535,pe+=R*P+C*ee+z*ce+H*se,pe&=65535,h(le<<16|tr,pe<<16|K,this.unsigned)},c.mul=c.multiply,c.divide=function(u){if(i(u)||(u=y(u)),u.isZero())throw Error("division by zero");if(e){if(!this.unsigned&&this.high===-2147483648&&u.low===-1&&u.high===-1)return this;var g=(this.unsigned?e.div_u:e.div_s)(this.low,this.high,u.low,u.high);return h(g,e.get_high(),this.unsigned)}if(this.isZero())return this.unsigned?Ue:he;var R,C,z;if(this.unsigned){if(u.unsigned||(u=u.toUnsigned()),u.gt(this))return Ue;if(u.gt(this.shru(1)))return yn;z=Ue}else{if(this.eq(ne)){if(u.eq(ct)||u.eq(Cr))return ne;if(u.eq(ne))return ct;var H=this.shr(1);return R=H.div(u).shl(1),R.eq(he)?u.isNegative()?ct:Cr:(C=this.sub(u.mul(R)),z=R.add(C.div(u)),z)}else if(u.eq(ne))return this.unsigned?Ue:he;if(this.isNegative())return u.isNegative()?this.neg().div(u.neg()):this.neg().div(u).neg();if(u.isNegative())return this.div(u.neg()).neg();z=he}for(C=this;C.gte(u);){R=Math.max(1,Math.floor(C.toNumber()/u.toNumber()));for(var se=Math.ceil(Math.log(R)/Math.LN2),ce=se<=48?1:l(2,se-48),ee=f(R),P=ee.mul(u);P.isNegative()||P.gt(C);)R-=ce,ee=f(R,this.unsigned),P=ee.mul(u);ee.isZero()&&(ee=ct),z=z.add(ee),C=C.sub(P)}return z},c.div=c.divide,c.modulo=function(u){if(i(u)||(u=y(u)),e){var g=(this.unsigned?e.rem_u:e.rem_s)(this.low,this.high,u.low,u.high);return h(g,e.get_high(),this.unsigned)}return this.sub(this.div(u).mul(u))},c.mod=c.modulo,c.rem=c.modulo,c.not=function(){return h(~this.low,~this.high,this.unsigned)},c.countLeadingZeros=function(){return this.high?Math.clz32(this.high):Math.clz32(this.low)+32},c.clz=c.countLeadingZeros,c.countTrailingZeros=function(){return this.low?n(this.low):n(this.high)+32},c.ctz=c.countTrailingZeros,c.and=function(u){return i(u)||(u=y(u)),h(this.low&u.low,this.high&u.high,this.unsigned)},c.or=function(u){return i(u)||(u=y(u)),h(this.low|u.low,this.high|u.high,this.unsigned)},c.xor=function(u){return i(u)||(u=y(u)),h(this.low^u.low,this.high^u.high,this.unsigned)},c.shiftLeft=function(u){return i(u)&&(u=u.toInt()),(u&=63)===0?this:u<32?h(this.low<<u,this.high<<u|this.low>>>32-u,this.unsigned):h(0,this.low<<u-32,this.unsigned)},c.shl=c.shiftLeft,c.shiftRight=function(u){return i(u)&&(u=u.toInt()),(u&=63)===0?this:u<32?h(this.low>>>u|this.high<<32-u,this.high>>u,this.unsigned):h(this.high>>u-32,this.high>=0?0:-1,this.unsigned)},c.shr=c.shiftRight,c.shiftRightUnsigned=function(u){return i(u)&&(u=u.toInt()),(u&=63)===0?this:u<32?h(this.low>>>u|this.high<<32-u,this.high>>>u,this.unsigned):u===32?h(this.high,0,this.unsigned):h(this.high>>>u-32,0,this.unsigned)},c.shru=c.shiftRightUnsigned,c.shr_u=c.shiftRightUnsigned,c.rotateLeft=function(u){var g;return i(u)&&(u=u.toInt()),(u&=63)===0?this:u===32?h(this.high,this.low,this.unsigned):u<32?(g=32-u,h(this.low<<u|this.high>>>g,this.high<<u|this.low>>>g,this.unsigned)):(u-=32,g=32-u,h(this.high<<u|this.low>>>g,this.low<<u|this.high>>>g,this.unsigned))},c.rotl=c.rotateLeft,c.rotateRight=function(u){var g;return i(u)&&(u=u.toInt()),(u&=63)===0?this:u===32?h(this.high,this.low,this.unsigned):u<32?(g=32-u,h(this.high<<g|this.low>>>u,this.low<<g|this.high>>>u,this.unsigned)):(u-=32,g=32-u,h(this.low<<g|this.high>>>u,this.high<<g|this.low>>>u,this.unsigned))},c.rotr=c.rotateRight,c.toSigned=function(){return this.unsigned?h(this.low,this.high,!1):this},c.toUnsigned=function(){return this.unsigned?this:h(this.low,this.high,!0)},c.toBytes=function(u){return u?this.toBytesLE():this.toBytesBE()},c.toBytesLE=function(){var u=this.high,g=this.low;return[g&255,g>>>8&255,g>>>16&255,g>>>24,u&255,u>>>8&255,u>>>16&255,u>>>24]},c.toBytesBE=function(){var u=this.high,g=this.low;return[u>>>24,u>>>16&255,u>>>8&255,u&255,g>>>24,g>>>16&255,g>>>8&255,g&255]},r.fromBytes=function(u,g,R){return R?r.fromBytesLE(u,g):r.fromBytesBE(u,g)},r.fromBytesLE=function(u,g){return new r(u[0]|u[1]<<8|u[2]<<16|u[3]<<24,u[4]|u[5]<<8|u[6]<<16|u[7]<<24,g)},r.fromBytesBE=function(u,g){return new r(u[4]<<24|u[5]<<16|u[6]<<8|u[7],u[0]<<24|u[1]<<16|u[2]<<8|u[3],g)},typeof BigInt=="function"&&(r.fromBigInt=function(u,g){var R=Number(BigInt.asIntN(32,u)),C=Number(BigInt.asIntN(32,u>>BigInt(32)));return h(R,C,g)},r.fromValue=function(u,g){return typeof u=="bigint"?r.fromBigInt(u,g):y(u,g)},c.toBigInt=function(){var u=BigInt(this.low>>>0),g=BigInt(this.unsigned?this.high>>>0:this.high);return g<<BigInt(32)|u});var Uu=t.default=r})});var Te=v(wi=>{"use strict";var w=wi;w.asPromise=mi();w.base64=Ks();w.EventEmitter=Xs();w.float=so();w.utf8=fo();w.pool=ho();w.LongBits=co();function go(t){return t==="__proto__"||t==="prototype"||t==="constructor"}w.isUnsafeProperty=go;w.isNode=!!(typeof global<"u"&&global&&global.process&&global.process.versions&&global.process.versions.node);w.global=w.isNode&&global||typeof window<"u"&&window||typeof self<"u"&&self||typeof globalThis<"u"&&globalThis||wi;w.emptyArray=Object.freeze?Object.freeze([]):[];w.emptyObject=Object.freeze?Object.freeze({}):{};w.isInteger=Number.isInteger||function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e};w.isString=function(e){return typeof e=="string"||e instanceof String};w.isObject=function(e){return e&&typeof e=="object"};w.isset=w.isSet=function(e,r){var i=e[r];return i!=null&&Object.hasOwnProperty.call(e,r)?typeof i!="object"||(Array.isArray(i)?i.length:Object.keys(i).length)>0:!1};w.Buffer=(function(){try{var t=w.global.Buffer;return t.prototype.utf8Write||w.isNode?t:null}catch{return null}})();w.newBuffer=function(e){var r=w.Buffer;return typeof e=="number"?r?r.allocUnsafe(e):new Uint8Array(e):r?r.from(e):new Uint8Array(e)};w.rawField=function(e,r,i){var n=[],s=e<<3|r;for(s>>>=0;s>127;)n.push(s&127|128),s>>>=7;n.push(s);for(var o=0;o<i.length;++o)n.push(i[o]);return w.newBuffer(n)};w.Array=Uint8Array;w.Long=w.global.dcodeIO&&w.global.dcodeIO.Long||w.global.Long||(function(){try{var t=po();return t&&t.isLong?t:null}catch{return null}})();w.key2Re=/^(?:true|false|0|1)$/;w.key32Re=/^-?(?:0|[1-9][0-9]*)$/;w.key64Re=/^(?:[\x00-\xff]{8}|-?(?:0|[1-9][0-9]*))$/;w.longToHash=function(e){return e?w.LongBits.from(e).toHash():w.LongBits.zeroHash};w.longFromHash=function(e,r){var i=w.LongBits.fromHash(e);return w.Long?w.Long.fromBits(i.lo,i.hi,r):i.toNumber(!!r)};w.longFromKey=function(e,r){return w.key64Re.test(e)&&!w.key32Re.test(e)?w.longFromHash(e,r):e};w.boolFromKey=function(e){return e==="true"||e==="1"};function vo(t){var e=typeof arguments[arguments.length-1]=="boolean",r=e?arguments.length-1:arguments.length;e=e&&arguments[arguments.length-1];for(var i=1;i<r;++i){var n=arguments[i];if(n)for(var s=Object.keys(n),o=0;o<s.length;++o)!go(s[o])&&(!e||!Object.prototype.hasOwnProperty.call(t,s[o])||t[s[o]]===void 0)&&(t[s[o]]=n[s[o]])}return t}w.merge=vo;w.nestingLimit=32;w.recursionLimit=100;w.makeProp=function(e,r,i){Object.prototype.hasOwnProperty.call(e,r)||Object.defineProperty(e,r,{enumerable:i===void 0?!0:i,configurable:!0,writable:!0})};w.lcFirst=function(e){return e.charAt(0).toLowerCase()+e.substring(1)};function yo(t){function e(r,i){if(!(this instanceof e))return new e(r,i);Object.defineProperty(this,"message",{get:function(){return r}}),Error.captureStackTrace?Error.captureStackTrace(this,e):Object.defineProperty(this,"stack",{value:new Error().stack||""}),i&&vo(this,i)}return e.prototype=Object.create(Error.prototype,{constructor:{value:e,writable:!0,enumerable:!1,configurable:!0},name:{get:function(){return t},set:void 0,enumerable:!1,configurable:!0},toString:{value:function(){return this.name+": "+this.message},writable:!0,enumerable:!1,configurable:!0}}),e}w.newError=yo;w.ProtocolError=yo("ProtocolError");w.oneOfGetter=function(e){for(var r={},i=0;i<e.length;++i)r[e[i]]=1;return function(){for(var n=Object.keys(this),s=n.length-1;s>-1;--s)if(r[n[s]]===1&&this[n[s]]!==void 0&&this[n[s]]!==null)return n[s]}};w.oneOfSetter=function(e){return function(r){for(var i=0;i<e.length;++i)e[i]!==r&&delete this[e[i]]}};w.toJSONOptions={longs:String,enums:String,bytes:String,json:!0}});var br=v((bh,Eo)=>{"use strict";Eo.exports=b;var Ae=Te(),Ei,Fe=Ae.LongBits,mo=Ae.base64,bi=Ae.utf8;function b(){this.pos=0,this.buf=this.constructor.alloc(b.initialBufferSize),this.view=null,this.states=null}b.initialBufferSize=128;Object.defineProperty(b.prototype,"len",{configurable:!0,enumerable:!0,get:function(){return this.pos}});var _o=function(){return Ae.Buffer?function(){return(b.create=function(){return new Ei})()}:function(){return new b}};b.create=_o();b.alloc=function(e){return new Uint8Array(e)};b.alloc=Ae.pool(b.alloc,Uint8Array.prototype.subarray);function Si(t){return t<128?1:t<16384?2:t<2097152?3:t<268435456?4:5}b.prototype._reserve=function(e){var r=this.pos+e;if(r>this.buf.length){var i=this.buf.length<<1;i<r&&(i=r);var n=this.constructor.alloc(i);n.set(this.buf.subarray(0,this.pos),0),this.buf=n,this.view=null}};function Hf(t,e,r){for(var i=0;i<t.length;)e[r++]=t.charCodeAt(i++)}function ot(t,e,r){for(;t>127;)e[r++]=t&127|128,t>>>=7;return e[r]=t,r+1}b.prototype.uint32=function(e){e=e>>>0,this._reserve(5);var r=this.pos;return this.pos=ot(e,this.buf,r),this};b.prototype.int32=function(e){return(e|=0)<0?(this._reserve(10),Et(Fe.fromNumber(e),this.buf,this.pos),this.pos+=10,this):this.uint32(e)};b.prototype.sint32=function(e){return this.uint32((e<<1^e>>31)>>>0)};function Et(t,e,r){for(var i=t.lo,n=t.hi;n;)e[r++]=i&127|128,i=(i>>>7|n<<25)>>>0,n>>>=7;for(;i>127;)e[r++]=i&127|128,i=i>>>7;return e[r]=i,r+1}b.prototype.uint64=function(e){var r=Fe.from(e);this._reserve(10);var i=this.pos;return this.pos=Et(r,this.buf,i),this};b.prototype.int64=b.prototype.uint64;b.prototype.sint64=function(e){var r=Fe.from(e).zzEncode();this._reserve(10);var i=this.pos;return this.pos=Et(r,this.buf,i),this};b.prototype.bool=function(e){return this._reserve(1),this.buf[this.pos++]=e?1:0,this};function bt(t,e,r){e[r]=t&255,e[r+1]=t>>>8&255,e[r+2]=t>>>16&255,e[r+3]=t>>>24}b.prototype.fixed32=function(e){return this._reserve(4),bt(e>>>0,this.buf,this.pos),this.pos+=4,this};b.prototype.sfixed32=b.prototype.fixed32;b.prototype.fixed64=function(e){var r=Fe.from(e);return this._reserve(8),bt(r.lo,this.buf,this.pos),bt(r.hi,this.buf,this.pos+4),this.pos+=8,this};b.prototype.sfixed64=b.prototype.fixed64;b.prototype.float=function(e){return this._reserve(4),Ae.float.writeFloatLE(e,this.buf,this.pos),this.pos+=4,this};b.prototype.double=function(e){return this._reserve(8),Ae.float.writeDoubleLE(e,this.buf,this.pos),this.pos+=8,this};b.prototype.bytes=function(e){var r=e.length>>>0;if(!r)return this._reserve(1),this.buf[this.pos++]=0,this;if(Ae.isString(e)){var i=b.alloc(r=mo.length(e));mo.decode(e,i,0),e=i}return this.uint32(r),this._reserve(r),this.buf.set(e,this.pos),this.pos+=r,this};b.prototype.raw=function(e){var r=e.length>>>0;return r?(this._reserve(r),this.buf.set(e,this.pos),this.pos+=r,this):this};b.prototype._delim=function(e,r){var i=Si(r);return i>1&&this.buf.copyWithin(e+i,e+1,e+1+r),ot(r,this.buf,e),this.pos=e+i+r,this};b.prototype.string=function(e){var r=e.length;if(!r)return this._reserve(1),this.buf[this.pos++]=0,this;if(r<128){this._reserve(r*3+5);var i=this.pos;return this._delim(i,bi.write(e,this.buf,i+1))}var n=bi.length(e);return this.uint32(n),this._reserve(n),n===e.length?Hf(e,this.buf,this.pos):bi.write(e,this.buf,this.pos),this.pos+=n,this};b.prototype.uint32s=function(e){var r=e.length;this._reserve(r*5+5);for(var i=this.buf,n=this.pos,s=n+1,o=0;o<r;++o)s=ot(e[o]>>>0,i,s);return this._delim(n,s-n-1)};b.prototype.int32s=function(e){var r=e.length;this._reserve(r*10+5);for(var i=this.buf,n=this.pos,s=n+1,o,a=0;a<r;++a)(o=e[a]|0)<0?s=Et(Fe.fromNumber(o),i,s):s=ot(o,i,s);return this._delim(n,s-n-1)};b.prototype.sint32s=function(e){var r=e.length;this._reserve(r*5+5);for(var i=this.buf,n=this.pos,s=n+1,o=0;o<r;++o)s=ot((e[o]<<1^e[o]>>31)>>>0,i,s);return this._delim(n,s-n-1)};b.prototype.uint64s=function(e){var r=e.length;this._reserve(r*10+5);for(var i=this.buf,n=this.pos,s=n+1,o=0;o<r;++o)s=Et(Fe.from(e[o]),i,s);return this._delim(n,s-n-1)};b.prototype.int64s=b.prototype.uint64s;b.prototype.sint64s=function(e){var r=e.length;this._reserve(r*10+5);for(var i=this.buf,n=this.pos,s=n+1,o=0;o<r;++o)s=Et(Fe.from(e[o]).zzEncode(),i,s);return this._delim(n,s-n-1)};b.prototype.bools=function(e){var r=e.length;this.uint32(r),this._reserve(r);for(var i=this.buf,n=this.pos,s=0;s<r;++s)i[n++]=e[s]?1:0;return this.pos+=r,this};var wo=16,bo=128;function wr(t,e,r){var i=t.view;if(i||e<r)return i;var n=t.buf;return t.view=new DataView(n.buffer,n.byteOffset,n.byteLength)}b.prototype.fixed32s=function(e){var r=e.length,i=r*4;this.uint32(i),this._reserve(i);var n=this.pos,s,o=wr(this,r,bo);if(o)for(s=0;s<r;++s)o.setUint32(n,e[s]>>>0,!0),n+=4;else{var a=this.buf;for(s=0;s<r;++s)bt(e[s]>>>0,a,n),n+=4}return this.pos+=i,this};b.prototype.sfixed32s=b.prototype.fixed32s;b.prototype.fixed64s=function(e){var r=e.length,i=r*8;this.uint32(i),this._reserve(i);var n=this.pos,s,o,a=wr(this,r,bo);if(a)for(s=0;s<r;++s)o=Fe.from(e[s]),a.setUint32(n,o.lo,!0),a.setUint32(n+4,o.hi,!0),n+=8;else{var f=this.buf;for(s=0;s<r;++s)o=Fe.from(e[s]),bt(o.lo,f,n),bt(o.hi,f,n+4),n+=8}return this.pos+=i,this};b.prototype.sfixed64s=b.prototype.fixed64s;b.prototype.floats=function(e){var r=e.length,i=r*4;this.uint32(i),this._reserve(i);var n=this.pos,s,o=wr(this,r,wo);if(o)for(s=0;s<r;++s)o.setFloat32(n,e[s],!0),n+=4;else{var a=this.buf;for(s=0;s<r;++s)Ae.float.writeFloatLE(e[s],a,n),n+=4}return this.pos+=i,this};b.prototype.doubles=function(e){var r=e.length,i=r*8;this.uint32(i),this._reserve(i);var n=this.pos,s,o=wr(this,r,wo);if(o)for(s=0;s<r;++s)o.setFloat64(n,e[s],!0),n+=8;else{var a=this.buf;for(s=0;s<r;++s)Ae.float.writeDoubleLE(e[s],a,n),n+=8}return this.pos+=i,this};b.prototype.fork=function(){return this._reserve(1),(this.states||(this.states=[])).push(this.pos),this.pos+=1,this};b.prototype.reset=function(){var e=this.states;return e&&e.length?this.pos=e.pop():this.pos=0,this};b.prototype.ldelim=function(){var e=this.states,r,i;if(e&&e.length){var n=e.pop();r=this.pos-n-1,i=Si(r),i>1?(this._reserve(i-1),this.buf.copyWithin(n+i,n+1,n+1+r),this.pos+=i-1,ot(r,this.buf,n)):this.buf[n]=r}else r=this.pos,i=Si(r),this._reserve(i),this.buf.copyWithin(i,0,r),ot(r,this.buf,0),this.pos+=i;return this};b.prototype.finish=function(e){if(e)return this.buf.subarray(0,this.pos);var r=this.constructor.alloc(this.pos);return r.set(this.buf.subarray(0,this.pos),0),r};b.prototype.finishInto=function(e,r){return r===void 0&&(r=0),e.set(this.buf.subarray(0,this.pos),r),e};b._configure=function(t){Ei=t,b.create=_o(),Ei._configure()}});var Oo=v((Eh,xo)=>{"use strict";xo.exports=Ye;var So=br();Ye.prototype=Object.create(So.prototype,{constructor:{value:Ye,writable:!0,enumerable:!1,configurable:!0}});var Ke=Te();function Ye(){So.call(this)}var xi;Ye._configure=function(){Ye.alloc=Ke.Buffer&&Ke.Buffer.allocUnsafe,xi=Ke.Buffer&&Ke.Buffer.prototype.utf8Write?function(e,r,i){return r.utf8Write(e,i)}:function(e,r,i){return r.write(e,i)}};Ye.prototype.bytes=function(e){Ke.isString(e)&&(e=Ke.Buffer.from(e,"base64"));var r=e.length>>>0;return this.uint32(r),r&&(this._reserve(r),this.buf.set(e,this.pos),this.pos+=r),this};Ye.prototype.string=function(e){var r=e.length;if(!r)return this._reserve(1),this.buf[this.pos++]=0,this;if(r<128){this._reserve(r*3+5);var i=this.pos,n=this.buf;return this._delim(i,r<40?Ke.utf8.write(e,n,i+1):xi(e,n,i+1))}var s=Ke.Buffer.byteLength(e);return this.uint32(s),this._reserve(s),xi(e,this.buf,this.pos),this.pos+=s,this};Ye._configure()});var Sr=v((Sh,Bo)=>{"use strict";Bo.exports=E;var Se=Te(),Ni,Io=Se.LongBits,To=Se.utf8;function S(t,e){return RangeError("index out of range: "+t.pos+" + "+(e||1)+" > "+t.len)}function E(t){this.buf=t,this.pos=0,this.len=t.length,this.view=null,this.discardUnknown=E.discardUnknown}function No(t){if(Array.isArray(t)&&(t=new Uint8Array(t)),t instanceof Uint8Array)return new E(t);throw Error("illegal buffer")}var Ao=function(){return Se.Buffer?function(r){return(E.create=function(n){return Se.Buffer.isBuffer(n)?new Ni(n):No(n)})(r)}:No};E.create=Ao();E.prototype.raw=function(e,r){return this.buf.subarray(e,r)};function Lo(t){for(var e=0,r=0;r<4;++r){if(t.pos>=t.len)throw S(t);var i=t.buf[t.pos++];if(e=(e|(i&127)<<r*7)>>>0,i<128)return e}throw S(t)}E.prototype.uint32=function(){if(this.len-this.pos<5){if(this.pos>=this.len)throw S(this);if(this.buf[this.pos]>=128)return Lo(this)}var e=this.buf,r=this.pos,i=(e[r]&127)>>>0;if(e[r++]<128)return this.pos=r,i;if(i=(i|(e[r]&127)<<7)>>>0,e[r++]<128)return this.pos=r,i;if(i=(i|(e[r]&127)<<14)>>>0,e[r++]<128)return this.pos=r,i;if(i=(i|(e[r]&127)<<21)>>>0,e[r++]<128)return this.pos=r,i;if(i=(i|(e[r]&15)<<28)>>>0,e[r++]<128)return this.pos=r,i;for(var n=0;n<5;++n){if(r>=this.len)throw this.pos=r,S(this);if(e[r++]<128)return this.pos=r,i}throw this.pos=r,Error("invalid varint encoding")};E.prototype.tag=function(){if(this.len-this.pos<5){if(this.pos>=this.len)throw S(this);if(this.buf[this.pos]>=128)return Lo(this)}var e=this.buf,r=this.pos,i=(e[r]&127)>>>0;if(e[r++]<128)return this.pos=r,i;if(i=(i|(e[r]&127)<<7)>>>0,e[r++]<128)return this.pos=r,i;if(i=(i|(e[r]&127)<<14)>>>0,e[r++]<128)return this.pos=r,i;if(i=(i|(e[r]&127)<<21)>>>0,e[r++]<128)return this.pos=r,i;if(i=(i|(e[r]&15)<<28)>>>0,e[r]<128&&(e[r]&112)===0)return this.pos=r+1,i;throw this.pos=r+1,Error("invalid tag encoding")};E.prototype.int32=function(){return this.uint32()|0};E.prototype.sint32=function(){var e=this.uint32();return e>>>1^-(e&1)|0};function Oi(){var t=new Io(0,0),e=0;if(this.len-this.pos>4){for(;e<4;++e)if(t.lo=(t.lo|(this.buf[this.pos]&127)<<e*7)>>>0,this.buf[this.pos++]<128)return t;if(t.lo=(t.lo|(this.buf[this.pos]&127)<<28)>>>0,t.hi=(t.hi|(this.buf[this.pos]&127)>>4)>>>0,this.buf[this.pos++]<128)return t;e=0}else{for(;e<4;++e){if(this.pos>=this.len)throw S(this);if(t.lo=(t.lo|(this.buf[this.pos]&127)<<e*7)>>>0,this.buf[this.pos++]<128)return t}throw S(this)}if(this.len-this.pos>4){for(;e<5;++e)if(t.hi=(t.hi|(this.buf[this.pos]&127)<<e*7+3)>>>0,this.buf[this.pos++]<128)return t}else for(;e<5;++e){if(this.pos>=this.len)throw S(this);if(t.hi=(t.hi|(this.buf[this.pos]&127)<<e*7+3)>>>0,this.buf[this.pos++]<128)return t}throw Error("invalid varint encoding")}E.prototype.bool=function(){for(var e=!1,r,i=0;i<10;++i){if(this.pos>=this.len)throw S(this);if(r=this.buf[this.pos++],r&127&&(e=!0),r<128)return e}throw Error("invalid varint encoding")};function St(t,e){return(t[e-4]|t[e-3]<<8|t[e-2]<<16|t[e-1]<<24)>>>0}E.prototype.fixed32=function(){if(this.pos+4>this.len)throw S(this,4);return St(this.buf,this.pos+=4)};E.prototype.sfixed32=function(){if(this.pos+4>this.len)throw S(this,4);return St(this.buf,this.pos+=4)|0};function Ro(){if(this.pos+8>this.len)throw S(this,8);return new Io(St(this.buf,this.pos+=4),St(this.buf,this.pos+=4))}E.prototype.float=function(){if(this.pos+4>this.len)throw S(this,4);var e=Se.float.readFloatLE(this.buf,this.pos);return this.pos+=4,e};E.prototype.double=function(){if(this.pos+8>this.len)throw S(this,4);var e=Se.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,e};E.prototype.uint32s=function(e){e===void 0&&(e=[]);var r=this.uint32()+this.pos,i=this.len,n=this.buf,s=this.pos,o;if(r>i)throw S(this,r-this.pos);for(this.len=r;s<r;)o=n[s++],o<128?e.push(o):(this.pos=s-1,e.push(this.uint32()),s=this.pos);if(this.pos=s,s!==r)throw RangeError("index out of range");return this.len=i,e};E.prototype.int32s=function(e){e===void 0&&(e=[]);var r=this.uint32()+this.pos,i=this.len,n=this.buf,s=this.pos,o;if(r>i)throw S(this,r-this.pos);for(this.len=r;s<r;)o=n[s++],o<128?e.push(o):(this.pos=s-1,e.push(this.int32()),s=this.pos);if(this.pos=s,s!==r)throw RangeError("index out of range");return this.len=i,e};E.prototype.sint32s=function(e){e===void 0&&(e=[]);var r=this.uint32()+this.pos,i=this.len;if(r>i)throw S(this,r-this.pos);for(this.len=r;this.pos<r;)e.push(this.sint32());if(this.pos!==r)throw RangeError("index out of range");return this.len=i,e};E.prototype.bools=function(e){e===void 0&&(e=[]);var r=this.uint32()+this.pos,i=this.len,n=this.buf,s=this.pos,o;if(r>i)throw S(this,r-this.pos);for(this.len=r;s<r;)o=n[s++],o<128?e.push(o!==0):(this.pos=s-1,e.push(this.bool()),s=this.pos);if(this.pos=s,s!==r)throw RangeError("index out of range");return this.len=i,e};var ko=8,qo=128;function Er(t,e,r){var i=t.view;if(i||e<r)return i;var n=t.buf;return t.view=new DataView(n.buffer,n.byteOffset,n.byteLength)}E.prototype.fixed32s=function(e){e===void 0&&(e=[]);var r=this.uint32(),i=this.pos+r;if(i>this.len)throw S(this,r);var n=r>>>2,s=e.length,o=this.pos;e.length=s+n;var a=Er(this,n,qo);if(a)for(var f=0;f<n;++f,o+=4)e[s++]=a.getUint32(o,!0);else for(var h=this.buf,l=0;l<n;++l,o+=4)e[s++]=St(h,o+4);if(this.pos=o,o!==i)throw S(this,4);return e};E.prototype.sfixed32s=function(e){e===void 0&&(e=[]);var r=this.uint32(),i=this.pos+r;if(i>this.len)throw S(this,r);var n=r>>>2,s=e.length,o=this.pos;e.length=s+n;var a=Er(this,n,qo);if(a)for(var f=0;f<n;++f,o+=4)e[s++]=a.getInt32(o,!0);else for(var h=this.buf,l=0;l<n;++l,o+=4)e[s++]=St(h,o+4)|0;if(this.pos=o,o!==i)throw S(this,4);return e};E.prototype.floats=function(e){e===void 0&&(e=[]);var r=this.uint32(),i=this.pos+r;if(i>this.len)throw S(this,r);var n=r>>>2,s=e.length,o=this.pos;e.length=s+n;var a=Er(this,n,ko);if(a)for(var f=0;f<n;++f,o+=4)e[s++]=a.getFloat32(o,!0);else for(var h=this.buf,l=0;l<n;++l,o+=4)e[s++]=Se.float.readFloatLE(h,o);if(this.pos=o,o!==i)throw S(this,4);return e};E.prototype.doubles=function(e){e===void 0&&(e=[]);var r=this.uint32(),i=this.pos+r;if(i>this.len)throw S(this,r);var n=r>>>3,s=e.length,o=this.pos;e.length=s+n;var a=Er(this,n,ko);if(a)for(var f=0;f<n;++f,o+=8)e[s++]=a.getFloat64(o,!0);else for(var h=this.buf,l=0;l<n;++l,o+=8)e[s++]=Se.float.readDoubleLE(h,o);if(this.pos=o,o!==i)throw S(this,8);return e};E.prototype.uint64s=function(e){e===void 0&&(e=[]);var r=this.uint32()+this.pos,i=this.len;if(r>i)throw S(this,r-this.pos);for(this.len=r;this.pos<r;)e.push(this.uint64());if(this.pos!==r)throw RangeError("index out of range");return this.len=i,e};E.prototype.int64s=function(e){e===void 0&&(e=[]);var r=this.uint32()+this.pos,i=this.len;if(r>i)throw S(this,r-this.pos);for(this.len=r;this.pos<r;)e.push(this.int64());if(this.pos!==r)throw RangeError("index out of range");return this.len=i,e};E.prototype.sint64s=function(e){e===void 0&&(e=[]);var r=this.uint32()+this.pos,i=this.len;if(r>i)throw S(this,r-this.pos);for(this.len=r;this.pos<r;)e.push(this.sint64());if(this.pos!==r)throw RangeError("index out of range");return this.len=i,e};E.prototype.fixed64s=function(e){e===void 0&&(e=[]);var r=this.uint32(),i=this.pos+r,n=e.length;if(i>this.len)throw S(this,r);var s=r>>>3;e.length=n+s;for(var o=0;o<s;++o)e[n++]=this.fixed64();if(this.pos!==i)throw S(this,8);return e};E.prototype.sfixed64s=function(e){e===void 0&&(e=[]);var r=this.uint32(),i=this.pos+r,n=e.length;if(i>this.len)throw S(this,r);var s=r>>>3;e.length=n+s;for(var o=0;o<s;++o)e[n++]=this.sfixed64();if(this.pos!==i)throw S(this,8);return e};E.prototype.bytes=function(){var e=this.uint32(),r=this.pos,i=this.pos+e;if(i>this.len)throw S(this,e);return this.pos=i,this.raw(r,i)};E.prototype.string=function(){var e=this.uint32(),r=this.pos,i=this.pos+e;if(i>this.len)throw S(this,e);return this.pos=i,To.read(this.buf,r,i)};E.prototype.stringVerify=function(){var e=this.uint32(),r=this.pos,i=this.pos+e;if(i>this.len)throw S(this,e);return this.pos=i,To.readStrict(this.buf,r,i)};E.prototype.skip=function(e){if(typeof e=="number"){if(this.pos+e>this.len)throw S(this,e);this.pos+=e}else do if(this.pos>=this.len)throw S(this);while(this.buf[this.pos++]&128);return this};E.recursionLimit=Se.recursionLimit;E.discardUnknown=!0;E.prototype.skipType=function(t,e,r){if(e===void 0&&(e=0),e>E.recursionLimit)throw Error("max depth exceeded");if(r===0)throw Error("illegal tag: field number 0");switch(t){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;;){var i=this.tag(),n=i>>>3;if(t=i&7,!n)throw Error("illegal tag: field number 0");if(t===4){if(r!==void 0&&n!==r)throw Error("invalid end group tag");break}this.skipType(t,e+1,n)}break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+t+" at offset "+this.pos)}return this};E._configure=function(t){Ni=t,E.create=Ao(),Ni._configure();var e=Se.Long?"toLong":"toNumber";Se.merge(E.prototype,{int64:function(){return Oi.call(this)[e](!1)},uint64:function(){return Oi.call(this)[e](!0)},sint64:function(){return Oi.call(this).zzDecode()[e](!1)},fixed64:function(){return Ro.call(this)[e](!0)},sfixed64:function(){return Ro.call(this)[e](!1)}})}});var Mo=v((xh,Do)=>{"use strict";Do.exports=Xe;var zo=Sr();Xe.prototype=Object.create(zo.prototype,{constructor:{value:Xe,writable:!0,enumerable:!1,configurable:!0}});var Uo=Te();function Xe(t){zo.call(this,t)}Xe._configure=function(){Uo.Buffer&&(Xe.prototype._slice=Uo.Buffer.prototype.slice)};Xe.prototype.raw=function(e,r){return this._slice.call(this.buf,e,r)};Xe.prototype.string=function(){var e=this.uint32(),r=this.pos,i=this.pos+e;if(i>this.len)throw RangeError("index out of range: "+this.pos+" + "+e+" > "+this.len);return this.pos=i,this.buf.utf8Slice?this.buf.utf8Slice(r,i):this.buf.toString("utf-8",r,i)};Xe._configure()});var jo=v((Oh,Co)=>{"use strict";Co.exports=Zt;var Ri=Te();Zt.prototype=Object.create(Ri.EventEmitter.prototype,{constructor:{value:Zt,writable:!0,enumerable:!1,configurable:!0}});function Zt(t,e,r){if(typeof t!="function")throw TypeError("rpcImpl must be a function");Ri.EventEmitter.call(this),this.rpcImpl=t,this.requestDelimited=!!e,this.responseDelimited=!!r}Zt.prototype.rpcCall=function t(e,r,i,n,s){if(!n)throw TypeError("request must be specified");var o=this;if(!s)return Ri.asPromise(t,o,e,r,i,n);if(!o.rpcImpl){setTimeout(function(){s(Error("already ended"))},0);return}try{return o.rpcImpl(e,r[o.requestDelimited?"encodeDelimited":"encode"](n).finish(),function(f,h){if(f)return o.emit("error",f,e),s(f);if(h===null){o.end(!0);return}if(!(h instanceof i))try{h=i[o.responseDelimited?"decodeDelimited":"decode"](h)}catch(l){return o.emit("error",l,e),s(l)}return o.emit("data",h,e),s(null,h)})}catch(a){o.emit("error",a,e),setTimeout(function(){s(a)},0);return}};Zt.prototype.end=function(e){return this.rpcImpl&&(e||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this}});var Ii=v(Fo=>{"use strict";var Jf=Fo;Jf.Service=jo()});var Ti=v((Rh,Po)=>{"use strict";Po.exports=Object.create(null)});var Wo=v(re=>{"use strict";re.build="minimal";re.Writer=br();re.BufferWriter=Oo();re.Reader=Sr();re.BufferReader=Mo();re.util=Te();re.rpc=Ii();re.roots=Ti();re.configure=Vo;function Vo(){re.util.LongBits._configure(re.util.Long),re.Writer._configure(re.BufferWriter),re.Reader._configure(re.BufferReader)}Vo()});var Li=v(Ho=>{"use strict";var Ai=Ho;Ai.numberRe=/^(?![eE])[0-9]*(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?$/;Ai.typeRefRe=/^(?:\.?[a-zA-Z_][a-zA-Z_0-9]*)(?:\.[a-zA-Z_][a-zA-Z_0-9]*)*$/;Ai.reservedRe=/^(?:do|if|in|for|let|new|try|var|case|else|enum|eval|false|null|this|true|void|with|break|catch|class|const|super|throw|while|yield|delete|export|import|public|return|static|switch|typeof|default|extends|finally|package|private|continue|debugger|function|arguments|interface|protected|implements|instanceof)$/});var Zo=v((Ah,Jo)=>{"use strict";Jo.exports=ki;var Zf=Li(),$f=Zf.reservedRe;function ki(t,e){typeof t=="string"&&(e=t,t=void 0);var r=[];function i(s){if(typeof s!="string"){var o=n();if(ki.verbose&&console.log("codegen: "+o),o="return "+o,s){for(var a=Object.keys(s),f=new Array(a.length+1),h=new Array(a.length),l=0;l<a.length;)f[l]=a[l],h[l]=s[a[l++]];return f[l]=o,Function.apply(null,f).apply(null,h)}return Function(o)()}for(var _=new Array(arguments.length-1),y=0;y<_.length;)_[y]=arguments[++y];if(y=0,s=s.replace(/%([%dfijs])/g,function(N,A){var q=_[y++];switch(A){case"d":case"f":return q=Number(q),Object.is(q,-0)?"-0":String(q);case"i":return String(Math.floor(q));case"j":return JSON.stringify(q);case"s":return String(q)}return"%"}),y!==_.length)throw Error("parameter count mismatch");return r.push(s),i}function n(s){return"function "+Gf(s||e)+"("+(t&&t.join(",")||"")+`){
|
|
21
|
+
`+r.join(`
|
|
22
|
+
`)+`
|
|
23
|
+
}`}return Object.defineProperty(i,"toString",{value:n,writable:!0,enumerable:!0,configurable:!0}),i}ki.verbose=!1;function Gf(t){return!t||(t=String(t).replace(/[^\w$]/g,""),!t)?"":(/^\d/.test(t)&&(t="_"+t),$f.test(t)?t+"_":t)}});var qi=v((Lh,$o)=>{"use strict";var xt=null;try{xt=ge("fs"),(!xt||!xt.readFile||!xt.readFileSync)&&(xt=null)}catch{}$o.exports=xt});var Ko=v((kh,Go)=>{"use strict";Go.exports=$t;var Kf=mi(),Bi=qi();function $t(t,e,r){return typeof e=="function"?(r=e,e={}):e||(e={}),r?!e.xhr&&Bi&&Bi.readFile?Bi.readFile(t,function(n,s){return n&&typeof XMLHttpRequest<"u"?$t.xhr(t,e,r):n?r(n):r(null,e.binary?s:s.toString("utf8"))}):$t.xhr(t,e,r):Kf($t,this,t,e)}$t.xhr=function(e,r,i){var n=new XMLHttpRequest;n.onreadystatechange=function(){if(n.readyState===4){if(n.status!==0&&n.status!==200)return i(Error("status "+n.status));if(r.binary){var o=n.response;if(!o){o=[];for(var a=0;a<n.responseText.length;++a)o.push(n.responseText.charCodeAt(a)&255)}return i(null,typeof Uint8Array<"u"?new Uint8Array(o):o)}return i(null,n.responseText)}},r.binary&&("overrideMimeType"in n&&n.overrideMimeType("text/plain; charset=x-user-defined"),n.responseType="arraybuffer"),n.open("GET",e),n.send()}});var Qo=v(Xo=>{"use strict";var Di=Xo,zi=/^[a-zA-Z][a-zA-Z0-9+.-]+:\/\//;function Yf(t){if(typeof URL>"u"||!zi.test(t))return null;try{return new URL(t).href}catch{return null}}function Xf(t,e){if(typeof URL>"u"||!zi.test(t)||zi.test(e))return null;try{return new URL(e,t).href}catch{return null}}var Yo=Di.isAbsolute=function(e){return/^(?:\/|\w+:|\\\\\w+)/.test(e)},Ui=Di.normalize=function(e){var r=Yf(e);if(r)return r;var i=e.substring(0,2),n="";i==="\\\\"&&(n=i,e=e.substring(2)),e=e.replace(/\\/g,"/").replace(/\/{2,}/g,"/");var s=e.split("/"),o=Yo(e),a="";o&&(a=s.shift()+"/");for(var f=0;f<s.length;)s[f]===".."?f>0&&s[f-1]!==".."?s.splice(--f,2):o?s.splice(f,1):++f:s[f]==="."?s.splice(f,1):++f;return n+a+s.join("/")};Di.resolve=function(e,r,i){var n=Xf(e,r);return n||(i||(r=Ui(r)),Yo(r)?r:(i||(e=Ui(e)),(e=e.replace(/(?:\/|^)[^/]+$/,"")).length?Ui(e+"/"+r):r))}});var Nt=v((Bh,ra)=>{"use strict";ra.exports=O;var xr=ht();O.prototype=Object.create(xr.prototype,{constructor:{value:O,writable:!0,enumerable:!1,configurable:!0}});O.className="Namespace";var Mi=ut(),Qe=X(),Qf=Rt(),at,Ot,ft;O.fromJSON=function(e,r,i){if(i===void 0&&(i=0),i>Qe.recursionLimit)throw Error("max depth exceeded");return new O(e,r.options).addJSON(r.nested,i)};function ea(t,e){if(t&&t.length){for(var r={},i=0;i<t.length;++i)r[t[i].name]=t[i].toJSON(e);return r}}O.arrayToJSON=ea;O.isReservedId=function(e,r){if(e){for(var i=0;i<e.length;++i)if(typeof e[i]!="string"&&e[i][0]<=r&&e[i][1]>=r)return!0}return!1};O.isReservedName=function(e,r){if(e){for(var i=0;i<e.length;++i)if(e[i]===r)return!0}return!1};function O(t,e){xr.call(this,t,e),this.nested=void 0,this._nestedArray=null,this._lookupCache=Object.create(null),this._needsRecursiveFeatureResolution=!0,this._needsRecursiveResolve=!0}function ta(t){t._nestedArray=null,t._lookupCache=Object.create(null);for(var e=t;e=e.parent;)e._lookupCache=Object.create(null);return t}Object.defineProperty(O.prototype,"nestedArray",{get:function(){return this._nestedArray||(this._nestedArray=Qe.toArray(this.nested))}});O.prototype.toJSON=function(e){return Qe.toObject(["options",this.options,"nested",ea(this.nestedArray,e)])};O.prototype.addJSON=function(e,r){if(r===void 0&&(r=0),r>Qe.recursionLimit)throw Error("max depth exceeded");var i=this;if(e)for(var n=Object.keys(e),s=0,o;s<n.length;++s)o=e[n[s]],i.add((o.fields!==void 0?at.fromJSON:o.values!==void 0?ft.fromJSON:o.methods!==void 0?Ot.fromJSON:o.id!==void 0?Mi.fromJSON:O.fromJSON)(n[s],o,r+1));return this};O.prototype.get=function(e){return this.nested&&Object.prototype.hasOwnProperty.call(this.nested,e)?this.nested[e]:null};O.prototype.getEnum=function(e){if(this.nested&&Object.prototype.hasOwnProperty.call(this.nested,e)&&this.nested[e]instanceof ft)return this.nested[e].values;throw Error("no such enum: "+e)};O.prototype.add=function(e){if(!(e instanceof Mi&&e.extend!==void 0||e instanceof at||e instanceof Qf||e instanceof ft||e instanceof Ot||e instanceof O))throw TypeError("object must be a valid nested object");if(e.name==="__proto__")return this;if(!this.nested)this.nested={};else{var r=this.get(e.name);if(r)if(r instanceof O&&e instanceof O&&!(r instanceof at||r instanceof Ot)){for(var i=r.nestedArray,n=0;n<i.length;++n)e.add(i[n]);this.remove(r),this.nested||(this.nested={}),e.setOptions(r.options,!0)}else throw Error("duplicate name '"+e.name+"' in "+this)}this.nested[e.name]=e,this instanceof at||this instanceof Ot||this instanceof ft||this instanceof Mi||e._edition||(e._edition=e._defaultEdition),this._needsRecursiveFeatureResolution=!0,this._needsRecursiveResolve=!0;for(var s=this;s=s.parent;)s._needsRecursiveFeatureResolution=!0,s._needsRecursiveResolve=!0;return e.onAdd(this),ta(this)};O.prototype.remove=function(e){if(!(e instanceof xr))throw TypeError("object must be a ReflectionObject");if(e.parent!==this)throw Error(e+" is not a member of "+this);if(!Qe.remove(this.nested,e,e.name))throw Error(e+" is not a member of "+this);return Object.keys(this.nested).length||(this.nested=void 0),e.onRemove(this),ta(this)};O.prototype.define=function(e,r){if(Qe.isString(e))e=e.split(".");else if(!Array.isArray(e))throw TypeError("illegal path");if(e&&e.length&&e[0]==="")throw Error("path must be relative");if(e.length>Qe.recursionLimit)throw Error("max depth exceeded");for(var i=this;e.length>0;){var n=e.shift();if(i.nested&&i.nested[n]){if(i=i.nested[n],!(i instanceof O))throw Error("path conflicts with non-namespace objects")}else i.add(i=new O(n))}return r&&i.addJSON(r),i};O.prototype.resolveAll=function(){if(!this._needsRecursiveResolve)return this;this._needsRecursiveFeatureResolution&&this._resolveFeaturesRecursive(this._edition);var e=this.nestedArray,r=0;for(this.resolve();r<e.length;)e[r]instanceof O?e[r++].resolveAll():e[r++].resolve();return this._needsRecursiveResolve=!1,this};O.prototype._resolveFeaturesRecursive=function(e){return this._needsRecursiveFeatureResolution?(this._needsRecursiveFeatureResolution=!1,e=this._edition||e,xr.prototype._resolveFeaturesRecursive.call(this,e),this.nestedArray.forEach(r=>{r._resolveFeaturesRecursive(e)}),this):this};O.prototype.lookup=function(e,r,i){if(typeof r=="boolean"?(i=r,r=void 0):r&&!Array.isArray(r)&&(r=[r]),Qe.isString(e)&&e.length){if(e===".")return this.root;e=e.split(".")}else if(!e.length)return this;var n=e.join(".");if(e[0]==="")return this.root.lookup(e.slice(1),r);var s=this._lookupImpl(e,n);if(s&&(!r||r.indexOf(s.constructor)>-1)||(s=this.root._fullyQualifiedObjects&&this.root._fullyQualifiedObjects["."+n],s&&(!r||r.indexOf(s.constructor)>-1)))return s;if(i)return null;for(var o=this;o.parent;){if(s=o.parent._lookupImpl(e,n),s&&(!r||r.indexOf(s.constructor)>-1))return s;o=o.parent}return null};O.prototype._lookupImpl=function(e,r){if(Object.prototype.hasOwnProperty.call(this._lookupCache,r))return this._lookupCache[r];var i=this.get(e[0]),n=null;if(i)e.length===1?n=i:i instanceof O&&(e=e.slice(1),n=i._lookupImpl(e,e.join(".")));else for(var s=0;s<this.nestedArray.length;++s)if(this._nestedArray[s]instanceof O&&(i=this._nestedArray[s]._lookupImpl(e,r))){n=i;break}return this._lookupCache[r]=n,n};O.prototype.lookupType=function(e){var r=this.lookup(e,[at]);if(!r)throw Error("no such type: "+e);return r};O.prototype.lookupEnum=function(e){var r=this.lookup(e,[ft]);if(!r)throw Error("no such Enum '"+e+"' in "+this);return r};O.prototype.lookupTypeOrEnum=function(e){var r=this.lookup(e,[at,ft]);if(!r)throw Error("no such Type or Enum '"+e+"' in "+this);return r};O.prototype.lookupService=function(e){var r=this.lookup(e,[Ot]);if(!r)throw Error("no such Service '"+e+"' in "+this);return r};O._configure=function(t,e,r){at=t,Ot=e,ft=r}});var ji=v((Uh,ia)=>{"use strict";ia.exports=Le;var Ci=ut();Le.prototype=Object.create(Ci.prototype,{constructor:{value:Le,writable:!0,enumerable:!1,configurable:!0}});Le.className="MapField";var eu=lt(),It=X();function Le(t,e,r,i,n,s){if(Ci.call(this,t,e,i,void 0,void 0,n,s),!It.isString(r))throw TypeError("keyType must be a string");this.keyType=r,this.resolvedKeyType=null,this.map=!0}Le.fromJSON=function(e,r){var i=new Le(e,r.id,r.keyType,r.type,r.options,r.comment);return r.protoName&&(i.protoName=r.protoName),r.jsonName!==void 0?i.jsonName=r.jsonName:r.options&&r.options.json_name!==void 0&&(i.jsonName=r.options.json_name),i};Le.prototype.toJSON=function(e){var r=e?!!e.keepComments:!1;return It.toObject(["keyType",this.keyType,"type",this.type,"id",this.id,"extend",this.extend,"protoName",this.protoName!==this.name?this.protoName:void 0,"jsonName",this.jsonName!==It.jsonName(this.protoName||this.name)?this.jsonName:void 0,"options",this.options,"comment",r?this.comment:void 0])};Le.prototype.resolve=function(){if(this.resolved)return this;if(eu.mapKey[this.keyType]===void 0)throw Error("invalid key type: "+this.keyType);return Ci.prototype.resolve.call(this)};Le.d=function(e,r,i){return typeof i=="function"?i=It.decorateType(i).name:i&&typeof i=="object"&&(i=It.decorateEnum(i).name),function(s,o){It.decorateType(s.constructor).add(new Le(o,e,r,i))}}});var Pi=v((zh,na)=>{"use strict";na.exports=et;var Fi=ht();et.prototype=Object.create(Fi.prototype,{constructor:{value:et,writable:!0,enumerable:!1,configurable:!0}});et.className="Method";var Tt=X();function et(t,e,r,i,n,s,o,a,f){if(Tt.isObject(n)?(o=n,n=s=void 0):Tt.isObject(s)&&(o=s,s=void 0),!(e===void 0||Tt.isString(e)))throw TypeError("type must be a string");if(!Tt.isString(r))throw TypeError("requestType must be a string");if(!Tt.isString(i))throw TypeError("responseType must be a string");Fi.call(this,t,o),this.type=e||"rpc",this.requestType=r,this.requestStream=n?!0:void 0,this.responseType=i,this.responseStream=s?!0:void 0,this.path="/"+this.name,this.resolvedRequestType=null,this.resolvedResponseType=null,this.comment=a,this.parsedOptions=f}et.fromJSON=function(e,r){return new et(e,r.type,r.requestType,r.responseType,r.requestStream,r.responseStream,r.options,r.comment,r.parsedOptions)};et.prototype.toJSON=function(e){var r=e?!!e.keepComments:!1;return Tt.toObject(["type",this.type!=="rpc"&&this.type||void 0,"requestType",this.requestType,"requestStream",this.requestStream,"responseType",this.responseType,"responseStream",this.responseStream,"options",this.options,"comment",r?this.comment:void 0,"parsedOptions",this.parsedOptions])};et.prototype.resolve=function(){if(this.resolved)return this;if(this.parent){var e=this.parent.fullName;e.charAt(0)==="."&&(e=e.substring(1)),this.path="/"+e+"/"+this.name}else this.path="/"+this.name;return this.resolvedRequestType=this.parent.lookupType(this.requestType),this.resolvedResponseType=this.parent.lookupType(this.responseType),Fi.prototype.resolve.call(this)}});var Wi=v((Dh,aa)=>{"use strict";aa.exports=oe;var Pe=Nt();oe.prototype=Object.create(Pe.prototype,{constructor:{value:oe,writable:!0,enumerable:!1,configurable:!0}});oe.className="Service";var Vi=Pi(),Or=X(),sa=Ii();function oe(t,e){Pe.call(this,t,e),this.methods={},this._methodsArray=null}oe.fromJSON=function(e,r,i){if(i===void 0&&(i=0),i>Or.recursionLimit)throw Error("max depth exceeded");var n=new oe(e,r.options);if(r.methods)for(var s=Object.keys(r.methods),o=0;o<s.length;++o)n.add(Vi.fromJSON(s[o],r.methods[s[o]]));return r.nested&&n.addJSON(r.nested,i),r.edition&&(n._edition=r.edition),n.comment=r.comment,n._defaultEdition="proto3",n};oe.prototype.toJSON=function(e){var r=Pe.prototype.toJSON.call(this,e),i=e?!!e.keepComments:!1;return Or.toObject(["edition",this._editionToJSON(),"options",r&&r.options||void 0,"methods",Pe.arrayToJSON(this.methodsArray,e)||{},"nested",r&&r.nested||void 0,"comment",i?this.comment:void 0])};Object.defineProperty(oe.prototype,"methodsArray",{get:function(){return this._methodsArray||(this._methodsArray=Or.toArray(this.methods))}});function oa(t){return t._methodsArray=null,t}oe.prototype.get=function(e){return Object.prototype.hasOwnProperty.call(this.methods,e)?this.methods[e]:Pe.prototype.get.call(this,e)};oe.prototype.resolveAll=function(){if(!this._needsRecursiveResolve)return this;Pe.prototype.resolve.call(this);for(var e=this.methodsArray,r=0;r<e.length;++r)e[r].resolve();return this};oe.prototype._resolveFeaturesRecursive=function(e){return this._needsRecursiveFeatureResolution?(e=this._edition||e,Pe.prototype._resolveFeaturesRecursive.call(this,e),this.methodsArray.forEach(r=>{r._resolveFeaturesRecursive(e)}),this):this};oe.prototype.add=function(e){if(this.get(e.name))throw Error("duplicate name '"+e.name+"' in "+this);return e instanceof Vi?e.name==="__proto__"?this:(this.methods[e.name]=e,e.parent=this,oa(this)):Pe.prototype.add.call(this,e)};oe.prototype.remove=function(e){if(e instanceof Vi){if(this.methods[e.name]!==e)throw Error(e+" is not a member of "+this);return delete this.methods[e.name],e.parent=null,oa(this)}return Pe.prototype.remove.call(this,e)};oe.prototype.create=function(e,r,i){for(var n=new sa.Service(e,r,i),s=0,o;s<this.methodsArray.length;++s){var a=Or.lcFirst((o=this._methodsArray[s]).resolve().name).replace(/[^$\w_]/g,"");n[a]=(function(f,h,l){return function(y,m){return sa.Service.prototype.rpcCall.call(this,f,h,l,y,m)}})(o,o.resolvedRequestType.ctor,o.resolvedResponseType.ctor)}return n}});var Nr=v((Mh,fa)=>{"use strict";fa.exports=ke;var tu=Te();function ke(t){if(t)for(var e=Object.keys(t),r=0;r<e.length;++r)t[e[r]]!=null&&e[r]!=="__proto__"&&(this[e[r]]=t[e[r]])}ke.create=function(e){return this.$type.create(e)};ke.encode=function(e,r){return this.$type.encode(e,r)};ke.encodeDelimited=function(e,r){return this.$type.encodeDelimited(e,r)};ke.decode=function(e){return this.$type.decode(e)};ke.decodeDelimited=function(e){return this.$type.decodeDelimited(e)};ke.verify=function(e){return this.$type.verify(e)};ke.fromObject=function(e){return this.$type.fromObject(e)};ke.toObject=function(e,r){return this.$type.toObject(e,r)};ke.prototype.toJSON=function(){return this.$type.toObject(this,tu.toJSONOptions)}});var Hi=v((Ch,ua)=>{"use strict";ua.exports=iu;var Rr=qe(),Z=lt(),Ir=X();function ru(t){return"missing required '"+t.name+"'"}function Gt(t){return t._features.utf8_validation==="VERIFY"?"stringVerify":"string"}function At(t,e){return t("if(!r.discardUnknown){")('util.makeProp(m,"$unknowns",false);')("(m.$unknowns||(m.$unknowns=[])).push(%s)",e)("}")}function iu(t){for(var e=!1,r=!1,i=0;i<t.fieldsArray.length;++i){var n=t._fieldsArray[i];n.map&&(e=!0),(n.resolvedType instanceof Rr||!n.repeated&&!n.map&&!n.hasPresence)&&(r=!0)}var s=Ir.codegen(["r","l","z","q","g"])("if(!(r instanceof Reader))")("r=Reader.create(r)")("if(q===undefined)q=0")("if(q>Reader.recursionLimit)")('throw Error("max depth exceeded")')("var c,m"+(e?",k,v":r?",v":""))("if(l===undefined)")("c=r.len")("else{")("c=r.pos+l")("if(c>r.len)")('throw RangeError("index out of range")')("l=r.len")("r.len=c")("}")("m=g||new C")("while(r.pos<c){")("var s=r.pos")("var t=r.tag()")("if(t===z){")("z=undefined")("break")("}");for(t.fieldsArray.length&&s("var u=t&7")("switch(t>>>=3){"),i=0;i<t.fieldsArray.length;++i){var o=t._fieldsArray[i].resolve(),a=o.resolvedType instanceof Rr?"int32":o.type,f="m"+Ir.safeProp(o.name),h=o.resolvedType instanceof Rr&&o.resolvedType._features.enum_type==="CLOSED";if(o.map){s("case %i:{",o.id)("if(u!==2)")("break"),h||s("if(%s===util.emptyObject)",f)("%s={}",f),s("var c2=r.uint32()+r.pos")("if(c2>r.len)")('throw RangeError("index out of range")')("r.len=c2"),Z.defaults[o.keyType]!==void 0?s("k=%j",Z.defaults[o.keyType]):s("k=null"),Z.long[a]!==void 0?s("v=util.Long?util.Long.fromNumber(0,%j):0",a==="uint64"||a==="fixed64"):Z.defaults[a]!==void 0?s("v=%j",Z.defaults[a]):s("v=null"),s("while(r.pos<c2){")("var t2=r.tag()")("u=t2&7")("switch(t2>>>=3){")("case 1:")("if(u!==%i)",Z.mapKey[o.keyType])("break")("k=r.%s()",o.keyType==="string"?Gt(o):o.keyType)("continue")("case 2:")("if(u!==%i)",Z.basic[a]===void 0?2:Z.basic[a])("break"),Z.basic[a]===void 0?s("v=types[%i].decode(r,r.uint32(),undefined,q+1,v)",i):s("v=r.%s()",a==="string"?Gt(o):a),s("continue")("}")("r.skipType(u,q,t2)")("}"),s("if(r.pos!==c2)")('throw RangeError("index out of range")')("r.len=c"),h&&(s("if(types[%i].valuesById[v]===undefined){",i),At(s,"r.raw(s,r.pos)")("continue")("}")("if(%s===util.emptyObject)",f)("%s={}",f));var l=Z.basic[a]===void 0?"v||new types["+i+"].ctor":"v";Z.long[o.keyType]!==void 0?s('%s[typeof k==="object"?util.longToHash(k):k]=%s',f,l):(o.keyType==="string"&&s('if(k==="__proto__")')("util.makeProp(%s,k)",f),s("%s[k]=%s",f,l))}else o.repeated?(s("case %i:",o.id)("{"),Z.packed[a]!==void 0&&(s("if(u===2){"),h?(s("var c2=r.uint32()+r.pos")("if(c2>r.len)")('throw RangeError("index out of range")')("r.len=c2")("while(r.pos<c2){")("s=r.pos")("v=r.%s()",a)("if(types[%i].valuesById[v]!==undefined){",i)("if(!(%s&&%s.length))",f,f)("%s=[]",f)("%s.push(v)",f)("}else"),At(s,"util.rawField("+o.id+",0,r.raw(s,r.pos))")("}"),s("if(r.pos!==c2)")('throw RangeError("index out of range")')("r.len=c")):s("if(!(%s&&%s.length))",f,f)("%s=[]",f)("r.%ss(%s)",a,f),s("continue")("}")),s("if(u!==%i)",Z.basic[a]===void 0?o.delimited?3:2:Z.basic[a])("break"),h||s("if(!(%s&&%s.length))",f,f)("%s=[]",f),Z.basic[a]===void 0?o.delimited?s("%s.push(types[%i].decode(r,undefined,%i,q+1))",f,i,o.id*8+4):s("%s.push(types[%i].decode(r,r.uint32(),undefined,q+1))",f,i):h?(s("v=r.%s()",a)("if(types[%i].valuesById[v]!==undefined){",i)("if(!(%s&&%s.length))",f,f)("%s=[]",f)("%s.push(v)",f)("}else"),At(s,"r.raw(s,r.pos)")):s("%s.push(r.%s())",f,a==="string"?Gt(o):a)):Z.basic[a]===void 0?(s("case %i:{",o.id)("if(u!==%i)",o.delimited?3:2)("break"),o.delimited?s("%s=types[%i].decode(r,undefined,%i,q+1,%s)",f,i,o.id*8+4,f):s("%s=types[%i].decode(r,r.uint32(),undefined,q+1,%s)",f,i,f)):o.hasPresence?(s("case %i:{",o.id)("if(u!==%i)",Z.basic[a])("break"),h?(s("v=r.%s()",a)("if(types[%i].valuesById[v]!==undefined){",i)("%s=v",f),o.partOf&&s("m%s=%j",Ir.safeProp(o.partOf.name),o.name),s("}else"),At(s,"r.raw(s,r.pos)")):s("%s=r.%s()",f,a==="string"?Gt(o):a)):(s("case %i:{",o.id)("if(u!==%i)",Z.basic[a])("break"),h?(s("v=r.%s()",a)("if(types[%i].valuesById[v]!==undefined){",i)("if(v!==%j)",o.typeDefault)("%s=v",f)("else")("delete %s",f)("}else{"),At(s,"r.raw(s,r.pos)")("}")):(o.resolvedType instanceof Rr&&o.typeDefault!==0?s("if((v=r.%s())!==%j)",a,o.typeDefault):a==="string"?s("if((v=r.%s()).length)",Gt(o)):a==="bytes"?s("if((v=r.%s()).length)",a):Z.long[a]!==void 0?s('if(typeof(v=r.%s())==="object"?v.low||v.high:v!==0)',a):s(a==="double"||a==="float"?"if(!Object.is(v=r.%s(),0))":"if(v=r.%s())",a),s("%s=v",f)("else")("delete %s",f)));o.partOf&&!h&&s("m%s=%j",Ir.safeProp(o.partOf.name),o.name),s("continue")("}")}for(i&&s("}"),s("r.skipType(%s,q,t)",i?"u":"t&7"),At(s,"r.raw(s,r.pos)")("}")("if(l!==undefined){")("if(r.pos!==c)")('throw RangeError("index out of range")')("r.len=l")("}")("if(z!==undefined)")('throw Error("missing end group")'),i=0;i<t._fieldsArray.length;++i){var _=t._fieldsArray[i];_.required&&s("if(!Object.hasOwnProperty.call(m,%j))",_.name)("throw util.ProtocolError(%j,{instance:m})",ru(_))}return s("return m")}});var $i=v((jh,ha)=>{"use strict";ha.exports=ou;var nu=qe(),Ji=X();function de(t,e){return t.name+": "+e+(t.repeated&&e!=="array"?"[]":t.map&&e!=="object"?"{k:"+t.keyType+"}":"")+" expected"}function Zi(t,e,r,i){var n=e.resolvedType;if(n)if(n instanceof nu)if(n._features.enum_type==="CLOSED"){t("switch(%s){",i)("default:")("return%j",de(e,"enum value"));for(var s=Object.keys(n.values),o=0;o<s.length;++o)t("case %i:",n.values[s[o]]);t("break")("}")}else t('if(typeof %s!=="number"||(%s|0)!==%s)',i,i,i)("return%j",de(e,"enum value"));else t("{")("var e=types[%i].verify(%s,q+1);",r,i)("if(e)")("return%j+e",e.name+".")("}");else switch(e.type){case"int32":case"uint32":case"sint32":case"fixed32":case"sfixed32":t("if(!util.isInteger(%s))",i)("return%j",de(e,"integer"));break;case"int64":case"uint64":case"sint64":case"fixed64":case"sfixed64":t("if(!util.isInteger(%s)&&!(%s&&util.isInteger(%s.low)&&util.isInteger(%s.high)))",i,i,i,i)("return%j",de(e,"integer|Long"));break;case"float":case"double":t('if(typeof %s!=="number")',i)("return%j",de(e,"number"));break;case"bool":t('if(typeof %s!=="boolean")',i)("return%j",de(e,"boolean"));break;case"string":t("if(!util.isString(%s))",i)("return%j",de(e,"string"));break;case"bytes":t('if(!(%s&&typeof %s.length==="number"||util.isString(%s)))',i,i,i)("return%j",de(e,"buffer"));break}return t}function su(t,e,r){switch(e.keyType){case"int32":case"uint32":case"sint32":case"fixed32":case"sfixed32":t("if(!util.key32Re.test(%s))",r)("return%j",de(e,"integer key"));break;case"int64":case"uint64":case"sint64":case"fixed64":case"sfixed64":t("if(!util.key64Re.test(%s))",r)("return%j",de(e,"integer|Long key"));break;case"bool":t("if(!util.key2Re.test(%s))",r)("return%j",de(e,"boolean key"));break}return t}function ou(t){var e=Ji.codegen(["m","q"])('if(typeof m!=="object"||m===null)')("return%j","object expected")("if(q===undefined)q=0")("if(q>util.recursionLimit)")("return%j","max depth exceeded"),r=t.oneofsArray,i={};r.length&&e("var p={}");for(var n=0;n<t.fieldsArray.length;++n){var s=t._fieldsArray[n].resolve(),o="m"+Ji.safeProp(s.name);if(s.optional&&e("if(%s!=null&&Object.hasOwnProperty.call(m,%j)){",o,s.name),s.map)e("if(!util.isObject(%s))",o)("return%j",de(s,"object"))("var k=Object.keys(%s)",o)("for(var i=0;i<k.length;++i){"),su(e,s,"k[i]"),Zi(e,s,n,o+"[k[i]]")("}");else if(s.repeated)e("if(!Array.isArray(%s))",o)("return%j",de(s,"array"))("for(var i=0;i<%s.length;++i){",o),Zi(e,s,n,o+"[i]")("}");else{if(s.partOf){var a=Ji.safeProp(s.partOf.name);i[s.partOf.name]===1&&e("if(p%s===1)",a)("return%j",s.partOf.name+": multiple values"),i[s.partOf.name]=1,e("p%s=1",a)}Zi(e,s,n,o)}s.optional&&e("}")}return e("return null")}});var Xi=v(da=>{"use strict";var la=da,Ve=qe(),Yi=lt(),xe=X();function Gi(t,e,r,i,n){if(e.resolvedType)if(e.resolvedType instanceof Ve){var s=n?"m"+n+"[m"+n+".length]":"m"+i;t("switch(d%s){",i);for(var o=e.resolvedType.values,a=Object.keys(o),f=0;f<a.length;++f)t("case%j:",a[f])("case %i:",o[a[f]])("%s=%j",s,o[a[f]])("break");t("default:"),e.resolvedType._features.enum_type!=="CLOSED"&&t('if(typeof d%s==="number"&&(d%s|0)===d%s)',i,i,i)("%s=d%s",s,i),t("}")}else t("if(!util.isObject(d%s))",i)("throw TypeError(%j)",e.fullName+": object expected")("m%s=types[%i].fromObject(d%s,q+1)",i,r,i);else{var h=!1;switch(e.type){case"double":case"float":t("m%s=Number(d%s)",i,i);break;case"uint32":case"fixed32":t("m%s=d%s>>>0",i,i);break;case"int32":case"sint32":case"sfixed32":t("m%s=d%s|0",i,i);break;case"uint64":case"fixed64":h=!0;case"int64":case"sint64":case"sfixed64":t("if(util.Long)")("m%s=util.Long.fromValue(d%s,%j)",i,i,h)('else if(typeof d%s==="string")',i)("m%s=parseInt(d%s,10)",i,i)('else if(typeof d%s==="number")',i)("m%s=d%s",i,i)('else if(typeof d%s==="object")',i)("m%s=new util.LongBits(d%s.low>>>0,d%s.high>>>0).toNumber(%s)",i,i,i,h?"true":"");break;case"bytes":t('if(typeof d%s==="string")',i)("util.base64.decode(d%s,m%s=util.newBuffer(util.base64.length(d%s)),0)",i,i,i)("else if(d%s.length>=0)",i)("m%s=d%s",i,i);break;case"string":t("m%s=String(d%s)",i,i);break;case"bool":t("m%s=Boolean(d%s)",i,i);break}}return t}la.fromObject=function(e){var r=e.fieldsArray,i=xe.codegen(["d","q"])("if(d instanceof C)")("return d")("if(!util.isObject(d))")("throw TypeError(%j)",e.fullName+": object expected")("if(q===undefined)q=0")("if(q>util.recursionLimit)")('throw Error("max depth exceeded")');if(!r.length)return i("return new C");i("var m=new C");for(var n=0;n<r.length;++n){var s=r[n].resolve(),o=xe.safeProp(s.name),a=!s.hasPresence&&!s.repeated&&!s.map&&(s.resolvedType instanceof Ve||Yi.basic[s.type]!==void 0);s.map?(i("if(d%s){",o)("if(!util.isObject(d%s))",o)("throw TypeError(%j)",s.fullName+": object expected")("m%s={}",o)("for(var ks=Object.keys(d%s),i=0;i<ks.length;++i){",o),i('if(ks[i]==="__proto__")')("util.makeProp(m%s,ks[i])",o),Gi(i,s,n,o+"[ks[i]]")("}")("}")):s.repeated?(i("if(d%s){",o)("if(!Array.isArray(d%s))",o)("throw TypeError(%j)",s.fullName+": array expected"),s.resolvedType instanceof Ve?i("m%s=[]",o):i("m%s=Array(d%s.length)",o,o),i("for(var i=0;i<d%s.length;++i){",o),Gi(i,s,n,o+"[i]",s.resolvedType instanceof Ve?o:void 0)("}")("}")):(s.resolvedType instanceof Ve||i("if(d%s!=null){",o),a&&(s.resolvedType instanceof Ve?i('if(d%s!==%j&&(typeof d%s!=="string"||types[%i].values[d%s]!==%j)){',o,s.typeDefault,o,n,o,s.typeDefault):s.type==="string"?i('if(typeof d%s!=="string"||d%s.length){',o,o):s.type==="bytes"?i("if(d%s.length){",o):s.type==="bool"?i("if(d%s){",o):s.type==="double"||s.type==="float"?i("if(!Object.is(Number(d%s),0)){",o):Yi.long[s.type]!==void 0?i('if(typeof d%s==="object"?d%s.low||d%s.high:Number(d%s)!==0){',o,o,o,o):i("if(Number(d%s)!==0){",o)),Gi(i,s,n,o),a&&i("}"),s.resolvedType instanceof Ve||i("}"))}return i("return m")};function Ki(t,e,r,i,n){if(n||(n=i),e.resolvedType)e.resolvedType instanceof Ve?t("d%s=o.enums===String?(types[%i].values[m%s]===undefined?m%s:types[%i].values[m%s]):m%s",i,r,n,n,r,n,n):t("d%s=types[%i].toObject(m%s,o,q+1)",i,r,n);else{var s=!1;switch(e.type){case"double":case"float":t("d%s=o.json&&!isFinite(m%s)?String(m%s):m%s",i,n,n,n);break;case"uint64":case"fixed64":s=!0;case"int64":case"sint64":case"sfixed64":t('if(typeof BigInt!=="undefined"&&o.longs===BigInt)')('d%s=typeof m%s==="number"?BigInt(m%s):util.Long.fromBits(m%s.low>>>0,m%s.high>>>0,%j).toBigInt()',i,n,n,n,n,s)('else if(typeof m%s==="number")',n)("d%s=o.longs===String?String(m%s):m%s",i,n,n)("else")("d%s=o.longs===String?util.Long.prototype.toString.call(m%s):o.longs===Number?new util.LongBits(m%s.low>>>0,m%s.high>>>0).toNumber(%s):m%s",i,n,n,n,s?"true":"",n);break;case"bytes":t("d%s=o.bytes===String?util.base64.encode(m%s,0,m%s.length):o.bytes===Array?Array.prototype.slice.call(m%s):m%s",i,n,n,n,n);break;default:t("d%s=m%s",i,n);break}}return t}la.toObject=function(e){var r=e.fieldsArray.slice().sort(xe.compareFieldsById);if(!r.length)return xe.codegen()("return {}");for(var i=xe.codegen(["m","o","q"])("if(!o)")("o={}")("if(q===undefined)q=0")("if(q>util.recursionLimit)")('throw Error("max depth exceeded")')("var d={}"),n=[],s=[],o=[],a=0;a<r.length;++a)r[a].partOf||(r[a].resolve().repeated?n:r[a].map?s:o).push(r[a]);if(n.length){for(i("if(o.arrays||o.defaults){"),a=0;a<n.length;++a)i("d%s=[]",xe.safeProp(n[a].name));i("}")}if(s.length){for(i("if(o.objects||o.defaults){"),a=0;a<s.length;++a)i("d%s={}",xe.safeProp(s[a].name));i("}")}if(o.length){for(i("if(o.defaults){"),a=0;a<o.length;++a){var f=o[a],h=xe.safeProp(f.name);if(f.resolvedType instanceof Ve)i("d%s=o.enums===String?%j:%j",h,f.resolvedType.valuesById[f.typeDefault],f.typeDefault);else if(f.long)i("if(util.Long){")("var n=new util.Long(%i,%i,%j)",f.typeDefault.low,f.typeDefault.high,f.typeDefault.unsigned)('d%s=o.longs===String?n.toString():o.longs===Number?n.toNumber():typeof BigInt!=="undefined"&&o.longs===BigInt?n.toBigInt():n',h)("}else")('d%s=o.longs===String?%j:typeof BigInt!=="undefined"&&o.longs===BigInt?BigInt(%j):%i',h,f.typeDefault.toString(),f.typeDefault.toString(),f.typeDefault.toNumber());else if(f.bytes){var l=Array.prototype.slice.call(f.typeDefault);i("if(o.bytes===String)d%s=%j",h,xe.base64.encode(f.typeDefault,0,f.typeDefault.length))("else{")("d%s=%j",h,l)("if(o.bytes!==Array)d%s=util.newBuffer(d%s)",h,h)("}")}else(f.type==="double"||f.type==="float")&&typeof f.typeDefault=="number"&&(!isFinite(f.typeDefault)||Object.is(f.typeDefault,-0))?i("d%s=%f",h,f.typeDefault)("if(o.json&&!isFinite(d%s))d%s=String(d%s)",h,h,h):i("d%s=%j",h,f.typeDefault)}i("}")}var _=!1;for(a=0;a<r.length;++a){var f=r[a],y=e._fieldsArray.indexOf(f),h=xe.safeProp(f.name);if(f.map){_||(_=!0,i("var ks2")),i("if(m%s&&(ks2=Object.keys(m%s)).length){",h,h)("d%s={}",h);var m=Yi.long[f.keyType]!==void 0,N=h+"[ks2[j]]";i("for(var j=0;j<ks2.length;++j){"),m&&i("var k2=util.longFromKey(ks2[j],%j).toString()",f.keyType==="uint64"||f.keyType==="fixed64"),i('if(ks2[j]==="__proto__")')("util.makeProp(d%s,ks2[j])",h),Ki(i,f,y,m?h+"[k2]":N,N)("}")}else f.repeated?(i("if(m%s&&m%s.length){",h,h)("d%s=Array(m%s.length)",h,h)("for(var j=0;j<m%s.length;++j){",h),Ki(i,f,y,h+"[j]")("}")):(i("if(m%s!=null&&Object.hasOwnProperty.call(m,%j)){",h,f.name),Ki(i,f,y,h),f.partOf&&!f.partOf.isProto3Optional&&i("if(o.oneofs)")("d%s=%j",xe.safeProp(f.partOf.name),f.name));i("}")}return i("return d")}});var Qi=v(pa=>{"use strict";var au=pa,fu=Nr(),ca=Te();au[".google.protobuf.Any"]={fromObject:function(t,e){if(e===void 0&&(e=0),e>ca.recursionLimit)throw Error("max depth exceeded");if(t&&t["@type"]){var r=t["@type"].substring(t["@type"].lastIndexOf("/")+1),i=this.lookup(r,[this.constructor]);if(i){var n=t["@type"].charAt(0)==="."?t["@type"].slice(1):t["@type"];return n.indexOf("/")===-1&&(n="/"+n),this.create({type_url:n,value:i.encode(i.fromObject(t,e+1)).finish()})}}return this.fromObject(t,e)},toObject:function(t,e,r){if(r===void 0&&(r=0),r>ca.recursionLimit)throw Error("max depth exceeded");var i="type.googleapis.com/",n="",s="";if(e&&e.json&&t.type_url&&t.value){s=t.type_url.substring(t.type_url.lastIndexOf("/")+1),n=t.type_url.substring(0,t.type_url.lastIndexOf("/")+1);var o=this.lookup(s,[this.constructor]);o&&(t=o.decode(t.value,void 0,void 0,r+1))}if(!(t instanceof this.ctor)&&t instanceof fu){var a=t.$type.toObject(t,e,r+1),f=t.$type.fullName[0]==="."?t.$type.fullName.slice(1):t.$type.fullName;return n===""&&(n=i),s=n+f,a["@type"]=s,a}return this.toObject(t,e,r)}}});var nn=v((Vh,ya)=>{"use strict";ya.exports=L;var ye=Nt();L.prototype=Object.create(ye.prototype,{constructor:{value:L,writable:!0,enumerable:!1,configurable:!0}});L.className="Type";var uu=qe(),rn=Rt(),Tr=ut(),hu=ji(),lu=Wi(),en=Nr(),tn=Sr(),va=br(),$=X(),du=sn(),cu=Hi(),pu=$i(),ga=Xi(),gu=Qi();function L(t,e){t=t.replace(/\W/g,""),ye.call(this,t,e),this.fields={},this.oneofs=void 0,this.extensions=void 0,this.reserved=void 0,this.group=void 0,this.visibility=void 0,this._fieldsById=null,this._fieldsArray=null,this._oneofsArray=null,this._ctor=null,this._fieldsByJsonName=null}Object.defineProperties(L.prototype,{fieldsById:{get:function(){if(this._fieldsById)return this._fieldsById;this._fieldsById={};for(var t=Object.keys(this.fields),e=0;e<t.length;++e){var r=this.fields[t[e]],i=r.id;if(this._fieldsById[i])throw Error("duplicate id "+i+" in "+this);this._fieldsById[i]=r}return this._fieldsById}},fieldsArray:{get:function(){return this._fieldsArray||(this._fieldsArray=$.toArray(this.fields))}},oneofsArray:{get:function(){return this._oneofsArray||(this._oneofsArray=$.toArray(this.oneofs))}},ctor:{get:function(){return this._ctor||(this.ctor=L.generateConstructor(this)())},set:function(t){var e=t.prototype;e instanceof en||(t.prototype=new en,Object.defineProperty(t.prototype,"constructor",{value:t,writable:!0,enumerable:!1,configurable:!0}),$.merge(t.prototype,e)),t.$type=t.prototype.$type=this,$.merge(t,en,!0),this._ctor=t,delete this.decode,delete this.fromObject;for(var r=0,i;r<this.fieldsArray.length;++r)i=this._fieldsArray[r].resolve(),t.prototype[i.name]=i.defaultValue;var n={};for(r=0;r<this.oneofsArray.length;++r)n[this._oneofsArray[r].resolve().name]={get:$.oneOfGetter(this._oneofsArray[r].oneof),set:$.oneOfSetter(this._oneofsArray[r].oneof)};r&&Object.defineProperties(t.prototype,n)}}});L.generateConstructor=function(e){for(var r=$.codegen(["p"]),i=0,n;i<e.fieldsArray.length;++i)(n=e._fieldsArray[i]).map?r("this%s={}",$.safeProp(n.name)):n.repeated&&r("this%s=[]",$.safeProp(n.name));return r('if(p)for(var ks=Object.keys(p),i=0;i<ks.length;++i)if(p[ks[i]]!=null&&ks[i]!=="__proto__")')("this[ks[i]]=p[ks[i]]")};function Ar(t){return t._fieldsById=t._fieldsArray=t._oneofsArray=t._fieldsByJsonName=null,delete t.encode,delete t.decode,delete t.verify,t}L.fromJSON=function(e,r,i){if(i===void 0&&(i=0),i>$.nestingLimit)throw Error("max depth exceeded");var n=new L(e,r.options);n.extensions=r.extensions,n.reserved=r.reserved;for(var s=Object.keys(r.fields),o=0;o<s.length;++o)n.add((typeof r.fields[s[o]].keyType<"u"?hu.fromJSON:Tr.fromJSON)(s[o],r.fields[s[o]]));if(r.oneofs)for(s=Object.keys(r.oneofs),o=0;o<s.length;++o)n.add(rn.fromJSON(s[o],r.oneofs[s[o]]));if(r.nested)for(s=Object.keys(r.nested),o=0;o<s.length;++o){var a=r.nested[s[o]];n.add((a.id!==void 0?Tr.fromJSON:a.fields!==void 0?L.fromJSON:a.values!==void 0?uu.fromJSON:a.methods!==void 0?lu.fromJSON:ye.fromJSON)(s[o],a,i+1))}return r.extensions&&r.extensions.length&&(n.extensions=r.extensions),r.reserved&&r.reserved.length&&(n.reserved=r.reserved),r.group&&(n.group=!0),r.visibility&&(n.visibility=r.visibility),r.comment&&(n.comment=r.comment),r.edition&&(n._edition=r.edition),n._defaultEdition="proto3",n};L.prototype.toJSON=function(e){var r=ye.prototype.toJSON.call(this,e),i=e?!!e.keepComments:!1;return $.toObject(["edition",this._editionToJSON(),"options",r&&r.options||void 0,"oneofs",ye.arrayToJSON(this.oneofsArray,e),"fields",ye.arrayToJSON(this.fieldsArray.filter(function(n){return!n.declaringField}),e)||{},"extensions",this.extensions&&this.extensions.length?this.extensions:void 0,"reserved",this.reserved&&this.reserved.length?this.reserved:void 0,"group",this.group||void 0,"visibility",this.visibility,"nested",r&&r.nested||void 0,"comment",i?this.comment:void 0])};L.prototype.resolveAll=function(){if(!this._needsRecursiveResolve)return this;ye.prototype.resolveAll.call(this);var e=this.oneofsArray;for(i=0;i<e.length;)e[i++].resolve();for(var r=this.fieldsArray,i=0;i<r.length;)r[i++].resolve();return this};L.prototype._resolveFeaturesRecursive=function(e){return this._needsRecursiveFeatureResolution?(e=this._edition||e,ye.prototype._resolveFeaturesRecursive.call(this,e),this.oneofsArray.forEach(r=>{r._resolveFeatures(e)}),this.fieldsArray.forEach(r=>{r._resolveFeatures(e)}),this):this};L.prototype.get=function(e){return Object.prototype.hasOwnProperty.call(this.fields,e)?this.fields[e]:this.oneofs&&Object.prototype.hasOwnProperty.call(this.oneofs,e)?this.oneofs[e]:this.nested&&Object.prototype.hasOwnProperty.call(this.nested,e)?this.nested[e]:null};L.prototype.add=function(e){if(this.get(e.name))throw Error("duplicate name '"+e.name+"' in "+this);if(e instanceof Tr&&e.extend===void 0){if(this._fieldsById?this._fieldsById[e.id]:this.fieldsById[e.id])throw Error("duplicate id "+e.id+" in "+this);if(this.isReservedId(e.id))throw Error("id "+e.id+" is reserved in "+this);if(this.isReservedName(e.name)||e.name.charAt(0)==="$")throw Error("name '"+e.name+"' is reserved in "+this);return e.name==="__proto__"?this:(e.parent&&e.parent.remove(e),this.fields[e.name]=e,e.message=this,e.onAdd(this),Ar(this))}if(e instanceof rn){if(e.name.charAt(0)==="$")throw Error("name '"+e.name+"' is reserved in "+this);return e.name==="__proto__"?this:(this.oneofs||(this.oneofs={}),this.oneofs[e.name]=e,e.onAdd(this),Ar(this))}return ye.prototype.add.call(this,e)};L.prototype.remove=function(e){if(e instanceof Tr&&e.extend===void 0){if(!$.remove(this.fields,e,e.name))throw Error(e+" is not a member of "+this);return e.parent=null,e.onRemove(this),Ar(this)}if(e instanceof rn){if(!$.remove(this.oneofs,e,e.name))throw Error(e+" is not a member of "+this);return e.parent=null,e.onRemove(this),Ar(this)}return ye.prototype.remove.call(this,e)};L.prototype.isReservedId=function(e){return ye.isReservedId(this.reserved,e)};L.prototype.isReservedName=function(e){return ye.isReservedName(this.reserved,e)};L.prototype.create=function(e){return new this.ctor(e)};L.prototype.setup=function(){var e=this.root;if(e&&e._needsRecursiveFeatureResolution){var r=e._edition||this._edition;r&&e._resolveFeaturesRecursive(r)}for(var i=this.fullName,n=[],s=0;s<this.fieldsArray.length;++s)n.push(this._fieldsArray[s].resolve().resolvedType);this.encode=du(this)({Writer:va,types:n,util:$}),this.decode=cu(this)({Reader:tn,types:n,util:$,C:this.ctor}),this.verify=pu(this)({types:n,util:$}),this.fromObject=ga.fromObject(this)({types:n,util:$,C:this.ctor}),this.toObject=ga.toObject(this)({types:n,util:$});var o=gu[i];if(o){var a=Object.create(this);a._ctor=this.ctor,a.fromObject=this.fromObject,this.fromObject=o.fromObject.bind(a),a.toObject=this.toObject,this.toObject=o.toObject.bind(a)}return this};L.prototype.encode=function(e,r){return this.setup().encode.apply(this,arguments)};L.prototype.encodeDelimited=function(e,r){return this.encode(e,(r||va.create()).fork()).ldelim()};L.prototype.decode=function(e,r){return this.setup().decode.apply(this,arguments)};L.prototype.decodeDelimited=function(e){return e instanceof tn||(e=tn.create(e)),this.decode(e,e.uint32())};L.prototype.verify=function(e){return this.setup().verify.apply(this,arguments)};L.prototype.fromObject=function(e){return this.setup().fromObject.apply(this,arguments)};L.prototype.toObject=function(e,r){return this.setup().toObject.apply(this,arguments)};L.prototype.getTypeUrl=function(e){e===void 0&&(e="type.googleapis.com");var r=this.fullName;return e+"/"+(r.charAt(0)==="."?r.substring(1):r)};L.d=function(e){return function(i){$.decorateType(i,e)}}});var un=v((Wh,wa)=>{"use strict";wa.exports=ae;var qr=Nt();ae.prototype=Object.create(qr.prototype,{constructor:{value:ae,writable:!0,enumerable:!1,configurable:!0}});ae.className="Root";var Lr=ut(),on=qe(),vu=Rt(),Be=X(),an,fn,Lt;function ae(t){qr.call(this,"",t),this.deferred=[],this.files=[],this._edition="proto2",this._fullyQualifiedObjects={}}ae.fromJSON=function(e,r,i){if(i===void 0&&(i=0),i>Be.recursionLimit)throw Error("max depth exceeded");return r||(r=new ae),e.options&&r.setOptions(e.options),r.addJSON(e.nested,i).resolveAll()};ae.prototype.resolvePath=Be.path.resolve;ae.prototype.fetch=Be.fetch;function _a(){}ae.prototype.load=function t(e,r,i){typeof r=="function"&&(i=r,r=void 0);var n=this;if(!i)return Be.asPromise(t,n,e,r);var s=i===_a;function o(m,N){if(i){if(s)throw m;N&&N.resolveAll();var A=i;i=null,A(m,N)}}function a(m){var N=m.lastIndexOf("google/protobuf/");if(N>-1){var A=m.substring(N);if(Object.prototype.hasOwnProperty.call(Lt,A))return A}return Object.prototype.hasOwnProperty.call(Lt,m)?m:null}function f(m,N,A){A===void 0&&(A=0);try{if(A>Be.recursionLimit)throw Error("max depth exceeded");if(Be.isString(N)&&N.charAt(0)==="{"&&(N=JSON.parse(N)),!Be.isString(N))n.setOptions(N.options).addJSON(N.nested);else{fn.filename=m;var q=fn(N,n,r),W,F=0;if(q.imports)for(;F<q.imports.length;++F)(W=a(q.imports[F])||n.resolvePath(m,q.imports[F]))&&h(W,!1,A+1);if(q.weakImports)for(F=0;F<q.weakImports.length;++F)(W=a(q.weakImports[F])||n.resolvePath(m,q.weakImports[F]))&&h(W,!0,A+1)}}catch(he){o(he)}!s&&!l&&o(null,n)}function h(m,N,A){if(A===void 0&&(A=0),m=a(m)||m,!(n.files.indexOf(m)>-1)){if(n.files.push(m),Object.prototype.hasOwnProperty.call(Lt,m)){s?f(m,Lt[m],A):(++l,setTimeout(function(){--l,f(m,Lt[m],A)}));return}if(s){var q;try{q=Be.fs.readFileSync(m).toString("utf8")}catch(W){N||o(W);return}f(m,q,A)}else++l,n.fetch(m,function(W,F){if(--l,!!i){if(W){N?l||o(null,n):o(W);return}f(m,F,A)}})}}var l=0;Be.isString(e)&&(e=[e]);for(var _=0,y;_<e.length;++_)(y=n.resolvePath("",e[_]))&&h(y);return s?(n.resolveAll(),n):(l||o(null,n),n)};ae.prototype.loadSync=function(e,r){if(!Be.isNode)throw Error("not supported");return this.load(e,r,_a)};ae.prototype.resolveAll=function(){if(!this._needsRecursiveResolve)return this;if(this.deferred.length)throw Error("unresolvable extensions: "+this.deferred.map(function(e){return"'extend "+e.extend+"' in "+e.parent.fullName}).join(", "));return qr.prototype.resolveAll.call(this)};var kr=/^[A-Z]/;function ma(t,e){var r=e.parent.lookup(e.extend);if(r){var i=new Lr(e.fullName,e.id,e.type,e.rule,void 0,e.options);return r.get(i.name)||(i.declaringField=e,e.extensionField=i,r.add(i)),!0}return!1}ae.prototype._handleAdd=function(e){if(e instanceof Lr)e.extend!==void 0&&!e.extensionField&&(ma(this,e)||this.deferred.push(e));else if(e instanceof on)kr.test(e.name)&&(e.parent[e.name]=e.values);else if(!(e instanceof vu)){if(e instanceof an)for(var r=0;r<this.deferred.length;)ma(this,this.deferred[r])?this.deferred.splice(r,1):++r;for(var i=0;i<e.nestedArray.length;++i)this._handleAdd(e._nestedArray[i]);kr.test(e.name)&&(e.parent[e.name]=e)}(e instanceof an||e instanceof on||e instanceof Lr)&&(this._fullyQualifiedObjects[e.fullName]=e)};ae.prototype._handleRemove=function(e){if(e instanceof Lr){if(e.extend!==void 0)if(e.extensionField)e.extensionField.parent.remove(e.extensionField),e.extensionField=null;else{var r=this.deferred.indexOf(e);r>-1&&this.deferred.splice(r,1)}}else if(e instanceof on)kr.test(e.name)&&delete e.parent[e.name];else if(e instanceof qr){for(var i=0;i<e.nestedArray.length;++i)this._handleRemove(e._nestedArray[i]);kr.test(e.name)&&delete e.parent[e.name]}delete this._fullyQualifiedObjects[e.fullName]};ae._configure=function(t,e,r){an=t,fn=e,Lt=r}});var X=v((Hh,Sa)=>{"use strict";var M=Sa.exports=Te(),ba=Ti(),hn,ln;M.codegen=Zo();M.fetch=Ko();M.path=Qo();M.patterns=Li();var Ea=M.patterns.reservedRe;M.fs=qi();M.toArray=function(e){if(e){for(var r=Object.keys(e),i=new Array(r.length),n=0;n<r.length;)i[n]=e[r[n++]];return i}return[]};M.toObject=function(e){for(var r={},i=0;i<e.length;){var n=e[i++],s=e[i++];s!==void 0&&(r[n]=s)}return r};M.remove=function(e,r,i){if(!e)return!1;if(i!==void 0&&Object.prototype.hasOwnProperty.call(e,i)&&e[i]===r)return delete e[i],!0;for(var n=Object.keys(e),s=0;s<n.length;++s)if(e[n[s]]===r)return delete e[n[s]],!0;return!1};M.isReserved=function(e){return Ea.test(e)};M.safeProp=function(e){return!/^[$\w_]+$/.test(e)||Ea.test(e)?"["+JSON.stringify(e)+"]":"."+e};M.ucFirst=function(e){return e.charAt(0).toUpperCase()+e.substring(1)};var yu=/_([a-z])/g;M.camelCase=function(e){return e.substring(0,1)+e.substring(1).replace(yu,function(r,i){return i.toUpperCase()})};M.jsonName=function(e){for(var r="",i=!1,n=0;n<e.length;++n){var s=e.charAt(n);s==="_"?i=!0:i?(r+=s.toUpperCase(),i=!1):r+=s}return r};M.compareFieldsById=function(e,r){return e.id-r.id};M.decorateType=function(e,r){if(e.$type)return r&&e.$type.name!==r&&(M.decorateRoot.remove(e.$type),e.$type.name=r,M.decorateRoot.add(e.$type)),e.$type;hn||(hn=nn());var i=new hn(r||e.name);return M.decorateRoot.add(i),i.ctor=e,Object.defineProperty(e,"$type",{value:i,enumerable:!1}),Object.defineProperty(e.prototype,"$type",{value:i,enumerable:!1}),i};var mu=0;M.decorateEnum=function(e){if(e.$type)return e.$type;ln||(ln=qe());var r=new ln("Enum"+mu++,e);return M.decorateRoot.add(r),Object.defineProperty(e,"$type",{value:r,enumerable:!1}),r};M.setProperty=function(e,r,i,n){function s(o,a,f){var h=a.shift();if(M.isUnsafeProperty(h))return o;if(a.length>0)o[h]=s(o[h]||{},a,f);else{var l=o[h];if(l&&n)return o;l&&(f=[].concat(l).concat(f)),o[h]=f}return o}if(typeof e!="object")throw TypeError("dst must be an object");if(!r)throw TypeError("path must be specified");if(r=r.split("."),r.length>M.recursionLimit)throw Error("max depth exceeded");return s(e,r,i)};Object.defineProperty(M,"decorateRoot",{get:function(){return ba.decorated||(ba.decorated=new(un()))}})});var lt=v(xa=>{"use strict";var Kt=xa,_u=X(),wu=["double","float","int32","uint32","sint32","fixed32","sfixed32","int64","uint64","sint64","fixed64","sfixed64","bool","string","bytes"];function Yt(t,e){var r=0,i=Object.create(null);for(e|=0;r<t.length;)i[wu[r+e]]=t[r++];return i}Kt.basic=Yt([1,5,0,0,0,5,5,0,0,0,1,1,0,2,2]);Kt.defaults=Yt([0,0,0,0,0,0,0,0,0,0,0,0,!1,"",_u.emptyArray,null]);Kt.long=Yt([0,0,0,1,1],7);Kt.mapKey=Yt([0,0,0,5,5,0,0,0,1,1,0,2],2);Kt.packed=Yt([1,5,0,0,0,5,5,0,0,0,1,1,0])});var ut=v((Zh,Na)=>{"use strict";Na.exports=G;var Qt=ht();G.prototype=Object.create(Qt.prototype,{constructor:{value:G,writable:!0,enumerable:!1,configurable:!0}});G.className="Field";var Oa=qe(),Br=lt(),j=X(),Xt,bu=/^(?:required|optional|repeated)$/;G.fromJSON=function(e,r){var i=new G(e,r.id,r.type,r.rule,r.extend,r.options,r.comment);return r.edition&&(i._edition=r.edition),r.protoName&&(i.protoName=r.protoName),r.jsonName!==void 0?i.jsonName=r.jsonName:r.options&&r.options.json_name!==void 0&&(i.jsonName=r.options.json_name),i._defaultEdition="proto3",i};function G(t,e,r,i,n,s,o){if(j.isObject(i)?(o=n,s=i,i=n=void 0):j.isObject(n)&&(o=s,s=n,n=void 0),Qt.call(this,t,s),!j.isInteger(e)||e<0)throw TypeError("id must be a non-negative integer");if(!j.isString(r))throw TypeError("type must be a string");if(i!==void 0&&!bu.test(i=i.toString().toLowerCase()))throw TypeError("rule must be a string rule");if(n!==void 0&&!j.isString(n))throw TypeError("extend must be a string");this.rule=i&&i!=="optional"?i:void 0,this.type=r,this.id=e,this.extend=n||void 0,this.repeated=i==="repeated",this.map=!1,this.message=null,this.partOf=null,this.typeDefault=null,this.defaultValue=null,this.long=j.Long?Br.long[r]!==void 0:!1,this.bytes=r==="bytes",this.resolvedType=null,this.extensionField=null,this.declaringField=null,this.comment=o,this.protoName=void 0,this.jsonName=void 0}Object.defineProperty(G.prototype,"required",{get:function(){return this._features.field_presence==="LEGACY_REQUIRED"}});Object.defineProperty(G.prototype,"optional",{get:function(){return!this.required}});Object.defineProperty(G.prototype,"delimited",{get:function(){return this.resolvedType instanceof Xt&&this._features.message_encoding==="DELIMITED"}});Object.defineProperty(G.prototype,"packed",{get:function(){return this._features.repeated_field_encoding==="PACKED"}});Object.defineProperty(G.prototype,"hasPresence",{get:function(){return this.repeated||this.map?!1:this.partOf||this.declaringField||this.extensionField||this._features.field_presence!=="IMPLICIT"}});G.prototype.setOption=function(e,r,i){return Qt.prototype.setOption.call(this,e,r,i)};G.prototype.toJSON=function(e){var r=e?!!e.keepComments:!1;return j.toObject(["edition",this._editionToJSON(),"rule",this.rule!=="optional"&&this.rule||void 0,"type",this.type,"id",this.id,"extend",this.extend,"protoName",this.protoName!==this.name?this.protoName:void 0,"jsonName",this.jsonName!==j.jsonName(this.protoName||this.name)?this.jsonName:void 0,"options",this.options,"comment",r?this.comment:void 0])};G.prototype.resolve=function(){if(this.resolved)return this;if((this.typeDefault=Br.defaults[this.type])===void 0?(this.resolvedType=(this.declaringField?this.declaringField.parent:this.parent).lookupTypeOrEnum(this.type),this.resolvedType instanceof Xt?this.typeDefault=null:this.typeDefault=this.resolvedType.values[Object.keys(this.resolvedType.values)[0]]):this.options&&this.options.proto3_optional&&(this.typeDefault=null),this.options&&this.options.default!=null&&(this.typeDefault=this.options.default,this.resolvedType instanceof Oa&&typeof this.typeDefault=="string"&&(this.typeDefault=this.resolvedType.values[this.typeDefault])),this.options&&(this.options.packed!==void 0&&this.resolvedType&&!(this.resolvedType instanceof Oa)&&delete this.options.packed,Object.keys(this.options).length||(this.options=void 0)),this.long){var e=this.type==="uint64"||this.type==="fixed64";this.typeDefault=typeof this.typeDefault=="string"?j.Long.fromString(this.typeDefault,e):j.Long.fromNumber(this.typeDefault,e),Object.freeze&&Object.freeze(this.typeDefault)}else if(Br.long[this.type]!==void 0&&typeof this.typeDefault=="string")this.typeDefault=parseInt(this.typeDefault,10);else if(this.bytes&&typeof this.typeDefault=="string"){var r;j.base64.test(this.typeDefault)?j.base64.decode(this.typeDefault,r=j.newBuffer(j.base64.length(this.typeDefault)),0):j.utf8.write(this.typeDefault,r=j.newBuffer(j.utf8.length(this.typeDefault)),0),this.typeDefault=r}return this.map?this.defaultValue=j.emptyObject:this.repeated?this.defaultValue=j.emptyArray:this.defaultValue=this.typeDefault,this.parent instanceof Xt&&this.parent._ctor&&(this.parent._ctor.prototype[this.name]=this.defaultValue),this.protoName===void 0&&(this.protoName=this.name),this.jsonName===void 0&&(this.jsonName=j.jsonName(this.protoName)),Qt.prototype.resolve.call(this)};G.prototype._inferLegacyProtoFeatures=function(e){if(e!=="proto2"&&e!=="proto3")return{};var r={};if(this.rule==="required"&&(r.field_presence="LEGACY_REQUIRED"),this.parent&&Br.defaults[this.type]===void 0){var i=this.parent.get(this.type.split(".").pop());i&&i instanceof Xt&&i.group&&(r.message_encoding="DELIMITED")}return this.getOption("packed")===!0?r.repeated_field_encoding="PACKED":this.getOption("packed")===!1&&(r.repeated_field_encoding="EXPANDED"),r};G.prototype._resolveFeatures=function(e){return Qt.prototype._resolveFeatures.call(this,this._edition||e)};G.d=function(e,r,i,n){return typeof r=="function"?r=j.decorateType(r).name:r&&typeof r=="object"&&(r=j.decorateEnum(r).name),function(o,a){j.decorateType(o.constructor).add(new G(a,e,r,i,{default:n}))}};G._configure=function(e){Xt=e}});var Rt=v(($h,Ta)=>{"use strict";Ta.exports=fe;var zr=ht();fe.prototype=Object.create(zr.prototype,{constructor:{value:fe,writable:!0,enumerable:!1,configurable:!0}});fe.className="OneOf";var Ra=ut(),Ur=X();function fe(t,e,r,i){if(Array.isArray(e)||(r=e,e=void 0),zr.call(this,t,r),!(e===void 0||Array.isArray(e)))throw TypeError("fieldNames must be an Array");this.oneof=e||[],this.fieldsArray=[],this.comment=i}fe.fromJSON=function(e,r){return new fe(e,r.oneof,r.options,r.comment)};fe.prototype.toJSON=function(e){var r=e?!!e.keepComments:!1;return Ur.toObject(["options",this.options,"oneof",this.oneof,"comment",r?this.comment:void 0])};function Ia(t){if(t.parent)for(var e=0;e<t.fieldsArray.length;++e)t.fieldsArray[e].parent||t.parent.add(t.fieldsArray[e])}fe.prototype.add=function(e){if(!(e instanceof Ra))throw TypeError("field must be a Field");return e.parent&&e.parent!==this.parent&&e.parent.remove(e),this.oneof.push(e.name),this.fieldsArray.push(e),e.partOf=this,Ia(this),this};fe.prototype.remove=function(e){if(!(e instanceof Ra))throw TypeError("field must be a Field");var r=this.fieldsArray.indexOf(e);if(r<0)throw Error(e+" is not a member of "+this);return this.fieldsArray.splice(r,1),r=this.oneof.indexOf(e.name),r>-1&&this.oneof.splice(r,1),e.partOf=null,this};fe.prototype.onAdd=function(e){zr.prototype.onAdd.call(this,e);for(var r=this,i=0;i<this.oneof.length;++i){var n=e.get(this.oneof[i]);n&&!n.partOf&&(n.partOf=r,r.fieldsArray.push(n))}Ia(this)};fe.prototype.onRemove=function(e){for(var r=0,i;r<this.fieldsArray.length;++r)(i=this.fieldsArray[r]).parent&&i.parent.remove(i);zr.prototype.onRemove.call(this,e)};Object.defineProperty(fe.prototype,"isProto3Optional",{get:function(){if(this.fieldsArray==null||this.fieldsArray.length!==1)return!1;var t=this.fieldsArray[0];return t.options!=null&&t.options.proto3_optional===!0}});fe.d=function(){for(var e=new Array(arguments.length),r=0;r<arguments.length;)e[r]=arguments[r++];return function(n,s){Ur.decorateType(n.constructor).add(new fe(s,e)),Object.defineProperty(n,s,{get:Ur.oneOfGetter(e),set:Ur.oneOfSetter(e)})}}});var ht=v((Gh,Aa)=>{"use strict";Aa.exports=Q;Q.className="ReflectionObject";var Eu=Rt(),Oe=X(),Dr,Su={enum_type:"CLOSED",field_presence:"EXPLICIT",json_format:"LEGACY_BEST_EFFORT",message_encoding:"LENGTH_PREFIXED",repeated_field_encoding:"EXPANDED",utf8_validation:"NONE",enforce_naming_style:"STYLE_LEGACY",default_symbol_visibility:"EXPORT_ALL"},xu={enum_type:"OPEN",field_presence:"IMPLICIT",json_format:"ALLOW",message_encoding:"LENGTH_PREFIXED",repeated_field_encoding:"PACKED",utf8_validation:"VERIFY",enforce_naming_style:"STYLE_LEGACY",default_symbol_visibility:"EXPORT_ALL"},Ou={enum_type:"OPEN",field_presence:"EXPLICIT",json_format:"ALLOW",message_encoding:"LENGTH_PREFIXED",repeated_field_encoding:"PACKED",utf8_validation:"VERIFY",enforce_naming_style:"STYLE_LEGACY",default_symbol_visibility:"EXPORT_ALL"},Nu={enum_type:"OPEN",field_presence:"EXPLICIT",json_format:"ALLOW",message_encoding:"LENGTH_PREFIXED",repeated_field_encoding:"PACKED",utf8_validation:"VERIFY",enforce_naming_style:"STYLE2024",default_symbol_visibility:"EXPORT_TOP_LEVEL"},Ru={enum_type:"OPEN",field_presence:"EXPLICIT",json_format:"ALLOW",message_encoding:"LENGTH_PREFIXED",repeated_field_encoding:"PACKED",utf8_validation:"VERIFY",enforce_naming_style:"STYLE2026",default_symbol_visibility:"STRICT",enforce_proto_limits:"PROTO_LIMITS2026"};function Q(t,e){if(!Oe.isString(t))throw TypeError("name must be a string");if(e&&!Oe.isObject(e))throw TypeError("options must be an object");this.options=e,this.parsedOptions=null,this.name=t,this._edition=null,this._defaultEdition="proto2",this._features={},this._featuresResolved=!1,this.parent=null,this.resolved=!1,this.comment=null,this.filename=null}Object.defineProperties(Q.prototype,{root:{get:function(){for(var t=this;t.parent!==null;)t=t.parent;return t}},fullName:{get:function(){for(var t=[this.name],e=this.parent;e;)t.unshift(e.name),e=e.parent;return t.join(".")}}});Q.prototype.toJSON=function(){throw Error()};Q.prototype.onAdd=function(e){this.parent&&this.parent!==e&&this.parent.remove(this),this.parent=e,this.resolved=!1;var r=e.root;r instanceof Dr&&r._handleAdd(this)};Q.prototype.onRemove=function(e){var r=e.root;r instanceof Dr&&r._handleRemove(this),this.parent=null,this.resolved=!1};Q.prototype.resolve=function(){return this.resolved?this:(this.root instanceof Dr&&(this.resolved=!0),this)};Q.prototype._resolveFeaturesRecursive=function(e){return this._resolveFeatures(this._edition||e)};Q.prototype._resolveFeatures=function(e){if(!this._featuresResolved){var r={};if(!e)throw new Error("Unknown edition for "+this.fullName);var i=Oe.merge({},this.options&&this.options.features,this._inferLegacyProtoFeatures(e));if(this._edition){if(e==="proto2")r=Object.assign({},Su);else if(e==="proto3")r=Object.assign({},xu);else if(e==="2023")r=Object.assign({},Ou);else if(e==="2024")r=Object.assign({},Nu);else if(e==="2026")r=Object.assign({},Ru);else throw new Error("Unknown edition: "+e);this._features=Oe.merge(r,i)}else if(this.partOf instanceof Eu){var n=Oe.merge({},this.partOf._features);this._features=Oe.merge(n,i)}else if(!this.declaringField)if(this.parent){var s=Oe.merge({},this.parent._features);this._features=Oe.merge(s,i)}else throw new Error("Unable to find a parent for "+this.fullName);this.extensionField&&(this.extensionField._features=this._features),this._featuresResolved=!0}};Q.prototype._inferLegacyProtoFeatures=function(){return{}};Q.prototype.getOption=function(e){if(this.options&&Object.prototype.hasOwnProperty.call(this.options,e))return this.options[e]};Q.prototype.setOption=function(e,r,i){if(e==="__proto__")return this;if(this.options||(this.options={}),/^features\./.test(e))Oe.setProperty(this.options,e,r,i);else{var n=this.getOption(e);(!i||n===void 0)&&(n!==r&&(this.resolved=!1),this.options[e]=r)}return this};Q.prototype.setParsedOption=function(e,r,i){if(e==="__proto__")return this;this.parsedOptions||(this.parsedOptions=[]);var n=this.parsedOptions;if(i){var s=n.find(function(f){return Object.prototype.hasOwnProperty.call(f,e)});if(s){var o=s[e];Oe.setProperty(o,i,r)}else s={},s[e]=Oe.setProperty({},i,r),n.push(s)}else{var a={};a[e]=r,n.push(a)}return this};Q.prototype.setOptions=function(e,r){if(e)for(var i=Object.keys(e),n=0;n<i.length;++n)this.setOption(i[n],e[i[n]],r);return this};Object.defineProperty(Q.prototype,"toString",{value:function(){var e=this.constructor.className,r=this.fullName;return r.length?e+" "+r:e},writable:!0,enumerable:!1,configurable:!0});Q.prototype._editionToJSON=function(){if(!(!this._edition||this._edition==="proto3"))return this._edition};Q._configure=function(t){Dr=t}});var qe=v((Kh,ka)=>{"use strict";ka.exports=me;var dn=ht();me.prototype=Object.create(dn.prototype,{constructor:{value:me,writable:!0,enumerable:!1,configurable:!0}});me.className="Enum";var La=Nt(),kt=X();function me(t,e,r,i,n,s){if(dn.call(this,t,r),e&&typeof e!="object")throw TypeError("values must be an object");if(this.valuesById=Object.create(null),this.values=Object.create(this.valuesById),this.comment=i,this.comments=n||{},this.valuesOptions=s,this._valuesFeatures={},this.reserved=void 0,this.visibility=void 0,e)for(var o=Object.keys(e),a=0;a<o.length;++a)o[a]!=="__proto__"&&typeof e[o[a]]=="number"&&(this.values[o[a]]=e[o[a]],this.valuesById[e[o[a]]]===void 0&&(this.valuesById[e[o[a]]]=o[a]))}me.prototype._resolveFeatures=function(e){return e=this._edition||e,dn.prototype._resolveFeatures.call(this,e),Object.keys(this.values).forEach(r=>{var i=kt.merge({},this._features);this._valuesFeatures[r]=kt.merge(i,this.valuesOptions&&this.valuesOptions[r]&&this.valuesOptions[r].features||{})}),this};me.fromJSON=function(e,r){var i=new me(e,r.values,r.options,r.comment,r.comments,r.valuesOptions);return i.reserved=r.reserved,r.visibility&&(i.visibility=r.visibility),r.edition&&(i._edition=r.edition),i._defaultEdition="proto3",i};me.prototype.toJSON=function(e){var r=e?!!e.keepComments:!1;return kt.toObject(["edition",this._editionToJSON(),"options",this.options,"valuesOptions",this.valuesOptions,"values",this.values,"reserved",this.reserved&&this.reserved.length?this.reserved:void 0,"visibility",this.visibility,"comment",r?this.comment:void 0,"comments",r?this.comments:void 0])};me.prototype.add=function(e,r,i,n){if(!kt.isString(e))throw TypeError("name must be a string");if(!kt.isInteger(r))throw TypeError("id must be an integer");if(e==="__proto__")return this;if(this.values[e]!==void 0)throw Error("duplicate name '"+e+"' in "+this);if(this.isReservedId(r))throw Error("id "+r+" is reserved in "+this);if(this.isReservedName(e))throw Error("name '"+e+"' is reserved in "+this);if(this.valuesById[r]!==void 0){if(!(this.options&&this.options.allow_alias))throw Error("duplicate id "+r+" in "+this);this.values[e]=r}else this.valuesById[this.values[e]=r]=e;return n&&(this.valuesOptions===void 0&&(this.valuesOptions={}),this.valuesOptions[e]=n||null),this.comments[e]=i||null,this};me.prototype.remove=function(e){if(!kt.isString(e))throw TypeError("name must be a string");var r=this.values[e];if(r==null)throw Error("name '"+e+"' does not exist in "+this);return delete this.valuesById[r],delete this.values[e],delete this.comments[e],this.valuesOptions&&delete this.valuesOptions[e],this};me.prototype.isReservedId=function(e){return La.isReservedId(this.reserved,e)};me.prototype.isReservedName=function(e){return La.isReservedName(this.reserved,e)}});var sn=v((Yh,Ba)=>{"use strict";Ba.exports=Iu;var cn=qe(),tt=lt(),pn=X();function qa(t,e,r,i){return e.delimited?t("types[%i].encode(%s,w.uint32(%i),q+1).uint32(%i)",r,i,(e.id<<3|3)>>>0,(e.id<<3|4)>>>0):t("types[%i].encode(%s,w.uint32(%i).fork(),q+1).ldelim()",r,i,(e.id<<3|2)>>>0)}function Iu(t){for(var e=pn.codegen(["m","w","q"])("if(!w)")("w=Writer.create()")("if(q===undefined)q=0")("if(q>util.recursionLimit)")('throw Error("max depth exceeded")'),r,i,n=t.fieldsArray.slice().sort(pn.compareFieldsById),r=0;r<n.length;++r){var s=n[r].resolve(),o=t._fieldsArray.indexOf(s),a=s.resolvedType instanceof cn?"int32":s.type,f=tt.basic[a];i="m"+pn.safeProp(s.name),s.map?(e("if(%s!=null&&Object.hasOwnProperty.call(m,%j)){",i,s.name)("for(var ks=Object.keys(%s),i=0;i<ks.length;++i){",i),s.keyType==="bool"?e("w.uint32(%i).fork().uint32(%i).bool(util.boolFromKey(ks[i]))",(s.id<<3|2)>>>0,8|tt.mapKey[s.keyType]):tt.long[s.keyType]!==void 0?e("w.uint32(%i).fork().uint32(%i).%s(util.longFromKey(ks[i],%j))",(s.id<<3|2)>>>0,8|tt.mapKey[s.keyType],s.keyType,s.keyType==="uint64"||s.keyType==="fixed64"):e("w.uint32(%i).fork().uint32(%i).%s(ks[i])",(s.id<<3|2)>>>0,8|tt.mapKey[s.keyType],s.keyType),f===void 0?e("types[%i].encode(%s[ks[i]],w.uint32(18).fork(),q+1).ldelim().ldelim()",o,i):e(".uint32(%i).%s(%s[ks[i]]).ldelim()",16|f,a,i),e("}")("}")):s.repeated?(e("if(%s!=null&&%s.length){",i,i),s.packed&&tt.packed[a]!==void 0?e("w.uint32(%i).%ss(%s)",(s.id<<3|2)>>>0,a,i):(e("for(var i=0;i<%s.length;++i)",i),f===void 0?qa(e,s,o,i+"[i]"):e("w.uint32(%i).%s(%s[i])",(s.id<<3|f)>>>0,a,i)),e("}")):(s.required||(s.hasPresence||!(s.resolvedType instanceof cn||tt.basic[a]!==void 0)?e("if(%s!=null&&Object.hasOwnProperty.call(m,%j))",i,s.name):s.resolvedType instanceof cn?e("if(%s!=null&&Object.hasOwnProperty.call(m,%j)&&%s!==%j)",i,s.name,i,s.typeDefault):a==="bool"?e("if(%s!=null&&Object.hasOwnProperty.call(m,%j)&&%s!==false)",i,s.name,i):a==="string"?e('if(%s!=null&&Object.hasOwnProperty.call(m,%j)&&%s!=="")',i,s.name,i):a==="bytes"?e("if(%s!=null&&Object.hasOwnProperty.call(m,%j)&&%s.length)",i,s.name,i):a==="double"||a==="float"?e("if(%s!=null&&Object.hasOwnProperty.call(m,%j)&&!Object.is(%s,0))",i,s.name,i):tt.long[a]!==void 0?e('if(%s!=null&&Object.hasOwnProperty.call(m,%j)&&(typeof %s==="object"?%s.low||%s.high:%s!==0))',i,s.name,i,i,i,i):e("if(%s!=null&&Object.hasOwnProperty.call(m,%j)&&%s!==0)",i,s.name,i)),f===void 0?qa(e,s,o,i):e("w.uint32(%i).%s(%s)",(s.id<<3|f)>>>0,a,i))}return e('if(m.$unknowns!=null&&Object.hasOwnProperty.call(m,"$unknowns"))')("for(var i=0;i<m.$unknowns.length;++i)")("w.raw(m.$unknowns[i])")("return w")}});var za=v((x,Ua)=>{"use strict";x=Ua.exports=Wo();x.build="light";function Tu(t,e,r){return typeof e=="function"?(r=e,e=new x.Root):e||(e=new x.Root),e.load(t,r)}x.load=Tu;function Au(t,e){return e||(e=new x.Root),e.loadSync(t)}x.loadSync=Au;x.encoder=sn();x.decoder=Hi();x.verifier=$i();x.converter=Xi();x.ReflectionObject=ht();x.Namespace=Nt();x.Root=un();x.Enum=qe();x.Type=nn();x.Field=ut();x.OneOf=Rt();x.MapField=ji();x.Service=Wi();x.Method=Pi();x.Message=Nr();x.wrappers=Qi();x.types=lt();x.util=X();x.ReflectionObject._configure(x.Root);x.Namespace._configure(x.Type,x.Service,x.Enum);x.Root._configure(x.Type,void 0,{});x.Field._configure(x.Type)});var Ma=v((Xh,Da)=>{"use strict";Da.exports=za()});var Ya=bn(rt(),1),er=bn(Ma(),1);var Ca={nested:{opentelemetry:{nested:{proto:{nested:{collector:{nested:{logs:{nested:{v1:{options:{csharp_namespace:"OpenTelemetry.Proto.Collector.Logs.V1",java_multiple_files:!0,java_package:"io.opentelemetry.proto.collector.logs.v1",java_outer_classname:"LogsServiceProto",go_package:"go.opentelemetry.io/proto/otlp/collector/logs/v1"},nested:{LogsService:{methods:{Export:{requestType:"ExportLogsServiceRequest",responseType:"ExportLogsServiceResponse"}}},ExportLogsServiceRequest:{fields:{resourceLogs:{rule:"repeated",type:"opentelemetry.proto.logs.v1.ResourceLogs",id:1,protoName:"resource_logs"}}},ExportLogsServiceResponse:{fields:{partialSuccess:{type:"ExportLogsPartialSuccess",id:1,protoName:"partial_success"}}},ExportLogsPartialSuccess:{fields:{rejectedLogRecords:{type:"int64",id:1,protoName:"rejected_log_records"},errorMessage:{type:"string",id:2,protoName:"error_message"}}}}}}},trace:{nested:{v1:{options:{csharp_namespace:"OpenTelemetry.Proto.Collector.Trace.V1",java_multiple_files:!0,java_package:"io.opentelemetry.proto.collector.trace.v1",java_outer_classname:"TraceServiceProto",go_package:"go.opentelemetry.io/proto/otlp/collector/trace/v1"},nested:{TraceService:{methods:{Export:{requestType:"ExportTraceServiceRequest",responseType:"ExportTraceServiceResponse"}}},ExportTraceServiceRequest:{fields:{resourceSpans:{rule:"repeated",type:"opentelemetry.proto.trace.v1.ResourceSpans",id:1,protoName:"resource_spans"}}},ExportTraceServiceResponse:{fields:{partialSuccess:{type:"ExportTracePartialSuccess",id:1,protoName:"partial_success"}}},ExportTracePartialSuccess:{fields:{rejectedSpans:{type:"int64",id:1,protoName:"rejected_spans"},errorMessage:{type:"string",id:2,protoName:"error_message"}}}}}}},metrics:{nested:{v1:{options:{csharp_namespace:"OpenTelemetry.Proto.Collector.Metrics.V1",java_multiple_files:!0,java_package:"io.opentelemetry.proto.collector.metrics.v1",java_outer_classname:"MetricsServiceProto",go_package:"go.opentelemetry.io/proto/otlp/collector/metrics/v1"},nested:{MetricsService:{methods:{Export:{requestType:"ExportMetricsServiceRequest",responseType:"ExportMetricsServiceResponse"}}},ExportMetricsServiceRequest:{fields:{resourceMetrics:{rule:"repeated",type:"opentelemetry.proto.metrics.v1.ResourceMetrics",id:1,protoName:"resource_metrics"}}},ExportMetricsServiceResponse:{fields:{partialSuccess:{type:"ExportMetricsPartialSuccess",id:1,protoName:"partial_success"}}},ExportMetricsPartialSuccess:{fields:{rejectedDataPoints:{type:"int64",id:1,protoName:"rejected_data_points"},errorMessage:{type:"string",id:2,protoName:"error_message"}}}}}}}}},trace:{nested:{v1:{options:{csharp_namespace:"OpenTelemetry.Proto.Trace.V1",java_multiple_files:!0,java_package:"io.opentelemetry.proto.trace.v1",java_outer_classname:"TraceProto",go_package:"go.opentelemetry.io/proto/otlp/trace/v1"},nested:{TracesData:{fields:{resourceSpans:{rule:"repeated",type:"ResourceSpans",id:1,protoName:"resource_spans"}}},ResourceSpans:{fields:{resource:{type:"opentelemetry.proto.resource.v1.Resource",id:1},scopeSpans:{rule:"repeated",type:"ScopeSpans",id:2,protoName:"scope_spans"},schemaUrl:{type:"string",id:3,protoName:"schema_url"}},reserved:[[1e3,1e3]]},ScopeSpans:{fields:{scope:{type:"opentelemetry.proto.common.v1.InstrumentationScope",id:1},spans:{rule:"repeated",type:"Span",id:2},schemaUrl:{type:"string",id:3,protoName:"schema_url"}}},Span:{fields:{traceId:{type:"bytes",id:1,protoName:"trace_id"},spanId:{type:"bytes",id:2,protoName:"span_id"},traceState:{type:"string",id:3,protoName:"trace_state"},parentSpanId:{type:"bytes",id:4,protoName:"parent_span_id"},flags:{type:"fixed32",id:16},name:{type:"string",id:5},kind:{type:"SpanKind",id:6},startTimeUnixNano:{type:"fixed64",id:7,protoName:"start_time_unix_nano"},endTimeUnixNano:{type:"fixed64",id:8,protoName:"end_time_unix_nano"},attributes:{rule:"repeated",type:"opentelemetry.proto.common.v1.KeyValue",id:9},droppedAttributesCount:{type:"uint32",id:10,protoName:"dropped_attributes_count"},events:{rule:"repeated",type:"Event",id:11},droppedEventsCount:{type:"uint32",id:12,protoName:"dropped_events_count"},links:{rule:"repeated",type:"Link",id:13},droppedLinksCount:{type:"uint32",id:14,protoName:"dropped_links_count"},status:{type:"Status",id:15}},nested:{SpanKind:{values:{SPAN_KIND_UNSPECIFIED:0,SPAN_KIND_INTERNAL:1,SPAN_KIND_SERVER:2,SPAN_KIND_CLIENT:3,SPAN_KIND_PRODUCER:4,SPAN_KIND_CONSUMER:5}},Event:{fields:{timeUnixNano:{type:"fixed64",id:1,protoName:"time_unix_nano"},name:{type:"string",id:2},attributes:{rule:"repeated",type:"opentelemetry.proto.common.v1.KeyValue",id:3},droppedAttributesCount:{type:"uint32",id:4,protoName:"dropped_attributes_count"}}},Link:{fields:{traceId:{type:"bytes",id:1,protoName:"trace_id"},spanId:{type:"bytes",id:2,protoName:"span_id"},traceState:{type:"string",id:3,protoName:"trace_state"},attributes:{rule:"repeated",type:"opentelemetry.proto.common.v1.KeyValue",id:4},droppedAttributesCount:{type:"uint32",id:5,protoName:"dropped_attributes_count"},flags:{type:"fixed32",id:6}}}}},Status:{fields:{message:{type:"string",id:2},code:{type:"StatusCode",id:3}},reserved:[[1,1]],nested:{StatusCode:{values:{STATUS_CODE_UNSET:0,STATUS_CODE_OK:1,STATUS_CODE_ERROR:2}}}},SpanFlags:{values:{SPAN_FLAGS_DO_NOT_USE:0,SPAN_FLAGS_TRACE_FLAGS_MASK:255,SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK:256,SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK:512}}}}}},logs:{nested:{v1:{options:{csharp_namespace:"OpenTelemetry.Proto.Logs.V1",java_multiple_files:!0,java_package:"io.opentelemetry.proto.logs.v1",java_outer_classname:"LogsProto",go_package:"go.opentelemetry.io/proto/otlp/logs/v1"},nested:{LogsData:{fields:{resourceLogs:{rule:"repeated",type:"ResourceLogs",id:1,protoName:"resource_logs"}}},ResourceLogs:{fields:{resource:{type:"opentelemetry.proto.resource.v1.Resource",id:1},scopeLogs:{rule:"repeated",type:"ScopeLogs",id:2,protoName:"scope_logs"},schemaUrl:{type:"string",id:3,protoName:"schema_url"}},reserved:[[1e3,1e3]]},ScopeLogs:{fields:{scope:{type:"opentelemetry.proto.common.v1.InstrumentationScope",id:1},logRecords:{rule:"repeated",type:"LogRecord",id:2,protoName:"log_records"},schemaUrl:{type:"string",id:3,protoName:"schema_url"}}},SeverityNumber:{values:{SEVERITY_NUMBER_UNSPECIFIED:0,SEVERITY_NUMBER_TRACE:1,SEVERITY_NUMBER_TRACE2:2,SEVERITY_NUMBER_TRACE3:3,SEVERITY_NUMBER_TRACE4:4,SEVERITY_NUMBER_DEBUG:5,SEVERITY_NUMBER_DEBUG2:6,SEVERITY_NUMBER_DEBUG3:7,SEVERITY_NUMBER_DEBUG4:8,SEVERITY_NUMBER_INFO:9,SEVERITY_NUMBER_INFO2:10,SEVERITY_NUMBER_INFO3:11,SEVERITY_NUMBER_INFO4:12,SEVERITY_NUMBER_WARN:13,SEVERITY_NUMBER_WARN2:14,SEVERITY_NUMBER_WARN3:15,SEVERITY_NUMBER_WARN4:16,SEVERITY_NUMBER_ERROR:17,SEVERITY_NUMBER_ERROR2:18,SEVERITY_NUMBER_ERROR3:19,SEVERITY_NUMBER_ERROR4:20,SEVERITY_NUMBER_FATAL:21,SEVERITY_NUMBER_FATAL2:22,SEVERITY_NUMBER_FATAL3:23,SEVERITY_NUMBER_FATAL4:24}},LogRecordFlags:{values:{LOG_RECORD_FLAGS_DO_NOT_USE:0,LOG_RECORD_FLAGS_TRACE_FLAGS_MASK:255}},LogRecord:{fields:{timeUnixNano:{type:"fixed64",id:1,protoName:"time_unix_nano"},observedTimeUnixNano:{type:"fixed64",id:11,protoName:"observed_time_unix_nano"},severityNumber:{type:"SeverityNumber",id:2,protoName:"severity_number"},severityText:{type:"string",id:3,protoName:"severity_text"},body:{type:"opentelemetry.proto.common.v1.AnyValue",id:5},attributes:{rule:"repeated",type:"opentelemetry.proto.common.v1.KeyValue",id:6},droppedAttributesCount:{type:"uint32",id:7,protoName:"dropped_attributes_count"},flags:{type:"fixed32",id:8},traceId:{type:"bytes",id:9,protoName:"trace_id"},spanId:{type:"bytes",id:10,protoName:"span_id"},eventName:{type:"string",id:12,protoName:"event_name"}},reserved:[[4,4]]}}}}},metrics:{nested:{v1:{options:{csharp_namespace:"OpenTelemetry.Proto.Metrics.V1",java_multiple_files:!0,java_package:"io.opentelemetry.proto.metrics.v1",java_outer_classname:"MetricsProto",go_package:"go.opentelemetry.io/proto/otlp/metrics/v1"},nested:{MetricsData:{fields:{resourceMetrics:{rule:"repeated",type:"ResourceMetrics",id:1,protoName:"resource_metrics"}}},ResourceMetrics:{fields:{resource:{type:"opentelemetry.proto.resource.v1.Resource",id:1},scopeMetrics:{rule:"repeated",type:"ScopeMetrics",id:2,protoName:"scope_metrics"},schemaUrl:{type:"string",id:3,protoName:"schema_url"}},reserved:[[1e3,1e3]]},ScopeMetrics:{fields:{scope:{type:"opentelemetry.proto.common.v1.InstrumentationScope",id:1},metrics:{rule:"repeated",type:"Metric",id:2},schemaUrl:{type:"string",id:3,protoName:"schema_url"}}},Metric:{oneofs:{data:{oneof:["gauge","sum","histogram","exponentialHistogram","summary"]}},fields:{name:{type:"string",id:1},description:{type:"string",id:2},unit:{type:"string",id:3},gauge:{type:"Gauge",id:5},sum:{type:"Sum",id:7},histogram:{type:"Histogram",id:9},exponentialHistogram:{type:"ExponentialHistogram",id:10,protoName:"exponential_histogram"},summary:{type:"Summary",id:11},metadata:{rule:"repeated",type:"opentelemetry.proto.common.v1.KeyValue",id:12}},reserved:[[4,4],[6,6],[8,8]]},Gauge:{fields:{dataPoints:{rule:"repeated",type:"NumberDataPoint",id:1,protoName:"data_points"}}},Sum:{fields:{dataPoints:{rule:"repeated",type:"NumberDataPoint",id:1,protoName:"data_points"},aggregationTemporality:{type:"AggregationTemporality",id:2,protoName:"aggregation_temporality"},isMonotonic:{type:"bool",id:3,protoName:"is_monotonic"}}},Histogram:{fields:{dataPoints:{rule:"repeated",type:"HistogramDataPoint",id:1,protoName:"data_points"},aggregationTemporality:{type:"AggregationTemporality",id:2,protoName:"aggregation_temporality"}}},ExponentialHistogram:{fields:{dataPoints:{rule:"repeated",type:"ExponentialHistogramDataPoint",id:1,protoName:"data_points"},aggregationTemporality:{type:"AggregationTemporality",id:2,protoName:"aggregation_temporality"}}},Summary:{fields:{dataPoints:{rule:"repeated",type:"SummaryDataPoint",id:1,protoName:"data_points"}}},AggregationTemporality:{values:{AGGREGATION_TEMPORALITY_UNSPECIFIED:0,AGGREGATION_TEMPORALITY_DELTA:1,AGGREGATION_TEMPORALITY_CUMULATIVE:2}},DataPointFlags:{values:{DATA_POINT_FLAGS_DO_NOT_USE:0,DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK:1}},NumberDataPoint:{oneofs:{value:{oneof:["asDouble","asInt"]}},fields:{attributes:{rule:"repeated",type:"opentelemetry.proto.common.v1.KeyValue",id:7},startTimeUnixNano:{type:"fixed64",id:2,protoName:"start_time_unix_nano"},timeUnixNano:{type:"fixed64",id:3,protoName:"time_unix_nano"},asDouble:{type:"double",id:4,protoName:"as_double"},asInt:{type:"sfixed64",id:6,protoName:"as_int"},exemplars:{rule:"repeated",type:"Exemplar",id:5},flags:{type:"uint32",id:8}},reserved:[[1,1]]},HistogramDataPoint:{oneofs:{_sum:{oneof:["sum"]},_min:{oneof:["min"]},_max:{oneof:["max"]}},fields:{attributes:{rule:"repeated",type:"opentelemetry.proto.common.v1.KeyValue",id:9},startTimeUnixNano:{type:"fixed64",id:2,protoName:"start_time_unix_nano"},timeUnixNano:{type:"fixed64",id:3,protoName:"time_unix_nano"},count:{type:"fixed64",id:4},sum:{type:"double",id:5,options:{proto3_optional:!0}},bucketCounts:{rule:"repeated",type:"fixed64",id:6,protoName:"bucket_counts"},explicitBounds:{rule:"repeated",type:"double",id:7,protoName:"explicit_bounds"},exemplars:{rule:"repeated",type:"Exemplar",id:8},flags:{type:"uint32",id:10},min:{type:"double",id:11,options:{proto3_optional:!0}},max:{type:"double",id:12,options:{proto3_optional:!0}}},reserved:[[1,1]]},ExponentialHistogramDataPoint:{oneofs:{_sum:{oneof:["sum"]},_min:{oneof:["min"]},_max:{oneof:["max"]}},fields:{attributes:{rule:"repeated",type:"opentelemetry.proto.common.v1.KeyValue",id:1},startTimeUnixNano:{type:"fixed64",id:2,protoName:"start_time_unix_nano"},timeUnixNano:{type:"fixed64",id:3,protoName:"time_unix_nano"},count:{type:"fixed64",id:4},sum:{type:"double",id:5,options:{proto3_optional:!0}},scale:{type:"sint32",id:6},zeroCount:{type:"fixed64",id:7,protoName:"zero_count"},positive:{type:"Buckets",id:8},negative:{type:"Buckets",id:9},flags:{type:"uint32",id:10},exemplars:{rule:"repeated",type:"Exemplar",id:11},min:{type:"double",id:12,options:{proto3_optional:!0}},max:{type:"double",id:13,options:{proto3_optional:!0}},zeroThreshold:{type:"double",id:14,protoName:"zero_threshold"}},nested:{Buckets:{fields:{offset:{type:"sint32",id:1},bucketCounts:{rule:"repeated",type:"uint64",id:2,protoName:"bucket_counts"}}}}},SummaryDataPoint:{fields:{attributes:{rule:"repeated",type:"opentelemetry.proto.common.v1.KeyValue",id:7},startTimeUnixNano:{type:"fixed64",id:2,protoName:"start_time_unix_nano"},timeUnixNano:{type:"fixed64",id:3,protoName:"time_unix_nano"},count:{type:"fixed64",id:4},sum:{type:"double",id:5},quantileValues:{rule:"repeated",type:"ValueAtQuantile",id:6,protoName:"quantile_values"},flags:{type:"uint32",id:8}},reserved:[[1,1]],nested:{ValueAtQuantile:{fields:{quantile:{type:"double",id:1},value:{type:"double",id:2}}}}},Exemplar:{oneofs:{value:{oneof:["asDouble","asInt"]}},fields:{filteredAttributes:{rule:"repeated",type:"opentelemetry.proto.common.v1.KeyValue",id:7,protoName:"filtered_attributes"},timeUnixNano:{type:"fixed64",id:2,protoName:"time_unix_nano"},asDouble:{type:"double",id:3,protoName:"as_double"},asInt:{type:"sfixed64",id:6,protoName:"as_int"},spanId:{type:"bytes",id:4,protoName:"span_id"},traceId:{type:"bytes",id:5,protoName:"trace_id"}},reserved:[[1,1]]}}}}},common:{nested:{v1:{options:{csharp_namespace:"OpenTelemetry.Proto.Common.V1",java_multiple_files:!0,java_package:"io.opentelemetry.proto.common.v1",java_outer_classname:"CommonProto",go_package:"go.opentelemetry.io/proto/otlp/common/v1"},nested:{AnyValue:{oneofs:{value:{oneof:["stringValue","boolValue","intValue","doubleValue","arrayValue","kvlistValue","bytesValue"]}},fields:{stringValue:{type:"string",id:1,protoName:"string_value"},boolValue:{type:"bool",id:2,protoName:"bool_value"},intValue:{type:"int64",id:3,protoName:"int_value"},doubleValue:{type:"double",id:4,protoName:"double_value"},arrayValue:{type:"ArrayValue",id:5,protoName:"array_value"},kvlistValue:{type:"KeyValueList",id:6,protoName:"kvlist_value"},bytesValue:{type:"bytes",id:7,protoName:"bytes_value"}}},ArrayValue:{fields:{values:{rule:"repeated",type:"AnyValue",id:1}}},KeyValueList:{fields:{values:{rule:"repeated",type:"KeyValue",id:1}}},KeyValue:{fields:{key:{type:"string",id:1},value:{type:"AnyValue",id:2}}},InstrumentationScope:{fields:{name:{type:"string",id:1},version:{type:"string",id:2},attributes:{rule:"repeated",type:"KeyValue",id:3},droppedAttributesCount:{type:"uint32",id:4,protoName:"dropped_attributes_count"}}},EntityRef:{fields:{schemaUrl:{type:"string",id:1,protoName:"schema_url"},type:{type:"string",id:2},idKeys:{rule:"repeated",type:"string",id:3,protoName:"id_keys"},descriptionKeys:{rule:"repeated",type:"string",id:4,protoName:"description_keys"}}}}}}},resource:{nested:{v1:{options:{csharp_namespace:"OpenTelemetry.Proto.Resource.V1",java_multiple_files:!0,java_package:"io.opentelemetry.proto.resource.v1",java_outer_classname:"ResourceProto",go_package:"go.opentelemetry.io/proto/otlp/resource/v1"},nested:{Resource:{fields:{attributes:{rule:"repeated",type:"opentelemetry.proto.common.v1.KeyValue",id:1},droppedAttributesCount:{type:"uint32",id:2,protoName:"dropped_attributes_count"},entityRefs:{rule:"repeated",type:"opentelemetry.proto.common.v1.EntityRef",id:3,protoName:"entity_refs"}}}}}}}}}}}}};/**
|
|
24
|
+
* @license
|
|
25
|
+
* Copyright 2009 The Closure Library Authors
|
|
26
|
+
* Copyright 2020 Daniel Wirtz / The long.js Authors.
|
|
27
|
+
*
|
|
28
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
29
|
+
* you may not use this file except in compliance with the License.
|
|
30
|
+
* You may obtain a copy of the License at
|
|
31
|
+
*
|
|
32
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
33
|
+
*
|
|
34
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
35
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
36
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
37
|
+
* See the License for the specific language governing permissions and
|
|
38
|
+
* limitations under the License.
|
|
39
|
+
*
|
|
40
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
41
|
+
*/var _e=null;try{_e=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch{}function k(t,e,r){this.low=t|0,this.high=e|0,this.unsigned=!!r}k.prototype.__isLong__;Object.defineProperty(k.prototype,"__isLong__",{value:!0});function ie(t){return(t&&t.__isLong__)===!0}function ja(t){var e=Math.clz32(t&-t);return t?31-e:e}k.isLong=ie;var Fa={},Pa={};function dt(t,e){var r,i,n;return e?(t>>>=0,(n=0<=t&&t<256)&&(i=Pa[t],i)?i:(r=I(t,0,!0),n&&(Pa[t]=r),r)):(t|=0,(n=-128<=t&&t<128)&&(i=Fa[t],i)?i:(r=I(t,t<0?-1:0,!1),n&&(Fa[t]=r),r))}k.fromInt=dt;function we(t,e){if(isNaN(t))return e?We:Ne;if(e){if(t<0)return We;if(t>=Ja)return Ga}else{if(t<=-Wa)return ue;if(t+1>=Wa)return $a}return t<0?we(-t,e).neg():I(t%Bt|0,t/Bt|0,e)}k.fromNumber=we;function I(t,e,r){return new k(t,e,r)}k.fromBits=I;var Mr=Math.pow;function vn(t,e,r){if(t.length===0)throw Error("empty string");if(typeof e=="number"?(r=e,e=!1):e=!!e,t==="NaN"||t==="Infinity"||t==="+Infinity"||t==="-Infinity")return e?We:Ne;if(r=r||10,r<2||36<r)throw RangeError("radix");var i;if((i=t.indexOf("-"))>0)throw Error("interior hyphen");if(i===0)return vn(t.substring(1),e,r).neg();for(var n=we(Mr(r,8)),s=Ne,o=0;o<t.length;o+=8){var a=Math.min(8,t.length-o),f=parseInt(t.substring(o,o+a),r);if(a<8){var h=we(Mr(r,a));s=s.mul(h).add(we(f))}else s=s.mul(n),s=s.add(we(f))}return s.unsigned=e,s}k.fromString=vn;function be(t,e){return typeof t=="number"?we(t,e):typeof t=="string"?vn(t,e):I(t.low,t.high,typeof e=="boolean"?e:t.unsigned)}k.fromValue=be;var Va=65536,ku=1<<24,Bt=Va*Va,Ja=Bt*Bt,Wa=Ja/2,Ha=dt(ku),Ne=dt(0);k.ZERO=Ne;var We=dt(0,!0);k.UZERO=We;var qt=dt(1);k.ONE=qt;var Za=dt(1,!0);k.UONE=Za;var gn=dt(-1);k.NEG_ONE=gn;var $a=I(-1,2147483647,!1);k.MAX_VALUE=$a;var Ga=I(-1,-1,!0);k.MAX_UNSIGNED_VALUE=Ga;var ue=I(0,-2147483648,!1);k.MIN_VALUE=ue;var p=k.prototype;p.toInt=function(){return this.unsigned?this.low>>>0:this.low};p.toNumber=function(){return this.unsigned?(this.high>>>0)*Bt+(this.low>>>0):this.high*Bt+(this.low>>>0)};p.toString=function(e){if(e=e||10,e<2||36<e)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative())if(this.eq(ue)){var r=we(e),i=this.div(r),n=i.mul(r).sub(this);return i.toString(e)+n.toInt().toString(e)}else return"-"+this.neg().toString(e);for(var s=we(Mr(e,6),this.unsigned),o=this,a="";;){var f=o.div(s),h=o.sub(f.mul(s)).toInt()>>>0,l=h.toString(e);if(o=f,o.isZero())return l+a;for(;l.length<6;)l="0"+l;a=""+l+a}};p.getHighBits=function(){return this.high};p.getHighBitsUnsigned=function(){return this.high>>>0};p.getLowBits=function(){return this.low};p.getLowBitsUnsigned=function(){return this.low>>>0};p.getNumBitsAbs=function(){if(this.isNegative())return this.eq(ue)?64:this.neg().getNumBitsAbs();for(var e=this.high!=0?this.high:this.low,r=31;r>0&&(e&1<<r)==0;r--);return this.high!=0?r+33:r+1};p.isSafeInteger=function(){var e=this.high>>21;return e?this.unsigned?!1:e===-1&&!(this.low===0&&this.high===-2097152):!0};p.isZero=function(){return this.high===0&&this.low===0};p.eqz=p.isZero;p.isNegative=function(){return!this.unsigned&&this.high<0};p.isPositive=function(){return this.unsigned||this.high>=0};p.isOdd=function(){return(this.low&1)===1};p.isEven=function(){return(this.low&1)===0};p.equals=function(e){return ie(e)||(e=be(e)),this.unsigned!==e.unsigned&&this.high>>>31===1&&e.high>>>31===1?!1:this.high===e.high&&this.low===e.low};p.eq=p.equals;p.notEquals=function(e){return!this.eq(e)};p.neq=p.notEquals;p.ne=p.notEquals;p.lessThan=function(e){return this.comp(e)<0};p.lt=p.lessThan;p.lessThanOrEqual=function(e){return this.comp(e)<=0};p.lte=p.lessThanOrEqual;p.le=p.lessThanOrEqual;p.greaterThan=function(e){return this.comp(e)>0};p.gt=p.greaterThan;p.greaterThanOrEqual=function(e){return this.comp(e)>=0};p.gte=p.greaterThanOrEqual;p.ge=p.greaterThanOrEqual;p.compare=function(e){if(ie(e)||(e=be(e)),this.eq(e))return 0;var r=this.isNegative(),i=e.isNegative();return r&&!i?-1:!r&&i?1:this.unsigned?e.high>>>0>this.high>>>0||e.high===this.high&&e.low>>>0>this.low>>>0?-1:1:this.sub(e).isNegative()?-1:1};p.comp=p.compare;p.negate=function(){return!this.unsigned&&this.eq(ue)?ue:this.not().add(qt)};p.neg=p.negate;p.add=function(e){ie(e)||(e=be(e));var r=this.high>>>16,i=this.high&65535,n=this.low>>>16,s=this.low&65535,o=e.high>>>16,a=e.high&65535,f=e.low>>>16,h=e.low&65535,l=0,_=0,y=0,m=0;return m+=s+h,y+=m>>>16,m&=65535,y+=n+f,_+=y>>>16,y&=65535,_+=i+a,l+=_>>>16,_&=65535,l+=r+o,l&=65535,I(y<<16|m,l<<16|_,this.unsigned)};p.subtract=function(e){return ie(e)||(e=be(e)),this.add(e.neg())};p.sub=p.subtract;p.multiply=function(e){if(this.isZero())return this;if(ie(e)||(e=be(e)),_e){var r=_e.mul(this.low,this.high,e.low,e.high);return I(r,_e.get_high(),this.unsigned)}if(e.isZero())return this.unsigned?We:Ne;if(this.eq(ue))return e.isOdd()?ue:Ne;if(e.eq(ue))return this.isOdd()?ue:Ne;if(this.isNegative())return e.isNegative()?this.neg().mul(e.neg()):this.neg().mul(e).neg();if(e.isNegative())return this.mul(e.neg()).neg();if(this.lt(Ha)&&e.lt(Ha))return we(this.toNumber()*e.toNumber(),this.unsigned);var i=this.high>>>16,n=this.high&65535,s=this.low>>>16,o=this.low&65535,a=e.high>>>16,f=e.high&65535,h=e.low>>>16,l=e.low&65535,_=0,y=0,m=0,N=0;return N+=o*l,m+=N>>>16,N&=65535,m+=s*l,y+=m>>>16,m&=65535,m+=o*h,y+=m>>>16,m&=65535,y+=n*l,_+=y>>>16,y&=65535,y+=s*h,_+=y>>>16,y&=65535,y+=o*f,_+=y>>>16,y&=65535,_+=i*l+n*h+s*f+o*a,_&=65535,I(m<<16|N,_<<16|y,this.unsigned)};p.mul=p.multiply;p.divide=function(e){if(ie(e)||(e=be(e)),e.isZero())throw Error("division by zero");if(_e){if(!this.unsigned&&this.high===-2147483648&&e.low===-1&&e.high===-1)return this;var r=(this.unsigned?_e.div_u:_e.div_s)(this.low,this.high,e.low,e.high);return I(r,_e.get_high(),this.unsigned)}if(this.isZero())return this.unsigned?We:Ne;var i,n,s;if(this.unsigned){if(e.unsigned||(e=e.toUnsigned()),e.gt(this))return We;if(e.gt(this.shru(1)))return Za;s=We}else{if(this.eq(ue)){if(e.eq(qt)||e.eq(gn))return ue;if(e.eq(ue))return qt;var o=this.shr(1);return i=o.div(e).shl(1),i.eq(Ne)?e.isNegative()?qt:gn:(n=this.sub(e.mul(i)),s=i.add(n.div(e)),s)}else if(e.eq(ue))return this.unsigned?We:Ne;if(this.isNegative())return e.isNegative()?this.neg().div(e.neg()):this.neg().div(e).neg();if(e.isNegative())return this.div(e.neg()).neg();s=Ne}for(n=this;n.gte(e);){i=Math.max(1,Math.floor(n.toNumber()/e.toNumber()));for(var a=Math.ceil(Math.log(i)/Math.LN2),f=a<=48?1:Mr(2,a-48),h=we(i),l=h.mul(e);l.isNegative()||l.gt(n);)i-=f,h=we(i,this.unsigned),l=h.mul(e);h.isZero()&&(h=qt),s=s.add(h),n=n.sub(l)}return s};p.div=p.divide;p.modulo=function(e){if(ie(e)||(e=be(e)),_e){var r=(this.unsigned?_e.rem_u:_e.rem_s)(this.low,this.high,e.low,e.high);return I(r,_e.get_high(),this.unsigned)}return this.sub(this.div(e).mul(e))};p.mod=p.modulo;p.rem=p.modulo;p.not=function(){return I(~this.low,~this.high,this.unsigned)};p.countLeadingZeros=function(){return this.high?Math.clz32(this.high):Math.clz32(this.low)+32};p.clz=p.countLeadingZeros;p.countTrailingZeros=function(){return this.low?ja(this.low):ja(this.high)+32};p.ctz=p.countTrailingZeros;p.and=function(e){return ie(e)||(e=be(e)),I(this.low&e.low,this.high&e.high,this.unsigned)};p.or=function(e){return ie(e)||(e=be(e)),I(this.low|e.low,this.high|e.high,this.unsigned)};p.xor=function(e){return ie(e)||(e=be(e)),I(this.low^e.low,this.high^e.high,this.unsigned)};p.shiftLeft=function(e){return ie(e)&&(e=e.toInt()),(e&=63)===0?this:e<32?I(this.low<<e,this.high<<e|this.low>>>32-e,this.unsigned):I(0,this.low<<e-32,this.unsigned)};p.shl=p.shiftLeft;p.shiftRight=function(e){return ie(e)&&(e=e.toInt()),(e&=63)===0?this:e<32?I(this.low>>>e|this.high<<32-e,this.high>>e,this.unsigned):I(this.high>>e-32,this.high>=0?0:-1,this.unsigned)};p.shr=p.shiftRight;p.shiftRightUnsigned=function(e){return ie(e)&&(e=e.toInt()),(e&=63)===0?this:e<32?I(this.low>>>e|this.high<<32-e,this.high>>>e,this.unsigned):e===32?I(this.high,0,this.unsigned):I(this.high>>>e-32,0,this.unsigned)};p.shru=p.shiftRightUnsigned;p.shr_u=p.shiftRightUnsigned;p.rotateLeft=function(e){var r;return ie(e)&&(e=e.toInt()),(e&=63)===0?this:e===32?I(this.high,this.low,this.unsigned):e<32?(r=32-e,I(this.low<<e|this.high>>>r,this.high<<e|this.low>>>r,this.unsigned)):(e-=32,r=32-e,I(this.high<<e|this.low>>>r,this.low<<e|this.high>>>r,this.unsigned))};p.rotl=p.rotateLeft;p.rotateRight=function(e){var r;return ie(e)&&(e=e.toInt()),(e&=63)===0?this:e===32?I(this.high,this.low,this.unsigned):e<32?(r=32-e,I(this.high<<r|this.low>>>e,this.low<<r|this.high>>>e,this.unsigned)):(e-=32,r=32-e,I(this.low<<r|this.high>>>e,this.high<<r|this.low>>>e,this.unsigned))};p.rotr=p.rotateRight;p.toSigned=function(){return this.unsigned?I(this.low,this.high,!1):this};p.toUnsigned=function(){return this.unsigned?this:I(this.low,this.high,!0)};p.toBytes=function(e){return e?this.toBytesLE():this.toBytesBE()};p.toBytesLE=function(){var e=this.high,r=this.low;return[r&255,r>>>8&255,r>>>16&255,r>>>24,e&255,e>>>8&255,e>>>16&255,e>>>24]};p.toBytesBE=function(){var e=this.high,r=this.low;return[e>>>24,e>>>16&255,e>>>8&255,e&255,r>>>24,r>>>16&255,r>>>8&255,r&255]};k.fromBytes=function(e,r,i){return i?k.fromBytesLE(e,r):k.fromBytesBE(e,r)};k.fromBytesLE=function(e,r){return new k(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,r)};k.fromBytesBE=function(e,r){return new k(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],r)};typeof BigInt=="function"&&(k.fromBigInt=function(e,r){var i=Number(BigInt.asIntN(32,e)),n=Number(BigInt.asIntN(32,e>>BigInt(32)));return I(i,n,r)},k.fromValue=function(e,r){return typeof e=="bigint"?k.fromBigInt(e,r):be(e,r)},p.toBigInt=function(){var e=BigInt(this.low>>>0),r=BigInt(this.unsigned?this.high>>>0:this.high);return r<<BigInt(32)|e});var Ka=k;er.default.util.Long=Ka;er.default.configure();er.default.Reader.recursionLimit=32;var qu=er.default.Root.fromJSON(Ca),Bu={logs:"Logs",metrics:"Metrics",traces:"Trace"};function il(t,e,r){let n=`opentelemetry.proto.collector.${t==="traces"?"trace":t}.v1.Export${Bu[t]}Service${e==="request"?"Request":"Response"}`,s=qu.lookupType(n);return s.toObject(s.decode(r),{longs:String,bytes:String,enums:String,json:!0})}function nl(){let t=Ya.default.decompressor.create({table:{maxSize:4096}}),e=null;return t.on("error",r=>{e=r}),r=>{if(e)throw new Error("headers_unavailable");if(t.write(r),t.execute(),e)throw new Error("headers_unavailable");let i=Object.create(null),n;for(;(n=t.read())!==null;)[":method",":path",":status","grpc-status","grpc-encoding","content-type"].includes(n.name)&&(i[n.name]=n.value);return i}}export{il as decodeOtlp,nl as headerDecoder};
|