@opentiny/next 0.2.0 → 0.2.1

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/client.js CHANGED
@@ -2,594 +2,658 @@ import { JSONRPCMessageSchema, EmptyResultSchema, CreateMessageResultSchema, Lis
2
2
  import { Client } from "@modelcontextprotocol/sdk/client/index.js";
3
3
  import { SSEClientTransport } from "@modelcontextprotocol/sdk/client/sse.js";
4
4
  import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";
5
- const _0x18f33d = _0x216b, _0x34998a = _0x216b;
6
- (function(_0x1219d0, _0x565d17) {
7
- const _0x3b2161 = _0x216b, _0x420ef9 = _0x216b, _0x1e61cb = _0x1219d0();
5
+ function _0x5d34() {
6
+ const _0x1efc11 = ["xvQXC", "603309hhGmOf", "object", "160767aSXjlh", "kgSPd", "toString", "821472ICyrFe", "3022854AnmWAK", "replace", "1492478hKDkXm", "456955eGHvGi", "randomUUID", "getRandomValues", "4IGLajm", "HlhgH", "1409958waVENt", "696JipcmK"];
7
+ _0x5d34 = function() {
8
+ return _0x1efc11;
9
+ };
10
+ return _0x5d34();
11
+ }
12
+ (function(_0x4dc11c, _0x342bbc) {
13
+ const _0x3c49e9 = _0x289c, _0x37f6f6 = _0x289c, _0x426ff0 = _0x4dc11c();
8
14
  while (!![]) {
9
15
  try {
10
- const _0x2e2628 = -parseInt(_0x3b2161(220)) / (2200 + -13 * -581 + -92 * 106) * (-parseInt(_0x3b2161(231)) / (-11 * 390 + -5 * 395 + -1 * -6267)) + -parseInt(_0x3b2161(230)) / (-2282 + 6 * 1165 + 941 * -5) * (-parseInt(_0x420ef9(210)) / (-806 + -839 + -97 * -17)) + parseInt(_0x3b2161(215)) / (-1460 + -5008 + 6473) * (-parseInt(_0x420ef9(226)) / (5 * 37 + -7835 + -957 * -8)) + -parseInt(_0x420ef9(246)) / (4659 * 1 + -2290 + -2362) * (-parseInt(_0x420ef9(248)) / (-4354 * 1 + -7946 + -68 * -181)) + -parseInt(_0x3b2161(237)) / (-837 * -8 + 2261 * -3 + 96) + parseInt(_0x3b2161(217)) / (9937 + 5 * -1762 + -1117) + parseInt(_0x420ef9(240)) / (-778 * -2 + 2 * 3617 + -8779);
11
- if (_0x2e2628 === _0x565d17) break;
12
- else _0x1e61cb["push"](_0x1e61cb["shift"]());
13
- } catch (_0x3ba009) {
14
- _0x1e61cb["push"](_0x1e61cb["shift"]());
16
+ const _0xd0da30 = -parseInt(_0x3c49e9(362)) / (-2801 + 1626 + 1176) + parseInt(_0x3c49e9(365)) / (109 * -47 + -781 * -1 + 4344) + -parseInt(_0x3c49e9(371)) / (1449 + 5290 + -6736) + -parseInt(_0x37f6f6(369)) / (9948 + -1 * -5575 + -2217 * 7) * (-parseInt(_0x37f6f6(366)) / (-857 * -3 + 843 + 487 * -7)) + -parseInt(_0x3c49e9(363)) / (3198 * 2 + -664 * -9 + -12366) + -parseInt(_0x3c49e9(357)) / (-274 * 13 + -2 * 4478 + 12525) + -parseInt(_0x3c49e9(372)) / (8894 + -9603 + 717) * (-parseInt(_0x37f6f6(359)) / (7464 + 1 * -8275 + 820));
17
+ if (_0xd0da30 === _0x342bbc) break;
18
+ else _0x426ff0["push"](_0x426ff0["shift"]());
19
+ } catch (_0x5dc85b) {
20
+ _0x426ff0["push"](_0x426ff0["shift"]());
15
21
  }
16
22
  }
17
- })(_0x5302, 4 * -10671 + -18818 * 46 + 1546 * 1145);
18
- function _0x5302() {
19
- const _0x492a40 = ["port2", "784YOoHsd", "aNgjZ", "uHXQq", "endpoint", "randomUUID", "310fVhDsh", "function", "14157910hfcHGe", "onclose", "_sessionId", "1CAaqBb", "uPeJF", "YwhVR", "Failed to parse message: ", "AQkDE", "cViYB", "100074oBuzgC", "JHnRA", "listen", "postMessage", "2025RzrAsm", "743786XrAsRB", "ports", "_listen", "_started", "data", "addEventListener", "14725035AYFyKU", "FvGjR", "onmessage", "10957562DSeClm", "sessionId", "return this", "message", "fyFox", "xAEqe", "21AvMyrG", "MessagePort error: ", "1642520sDIGqR", "port1", "onerror", "nnagL", "_endpoint", "irjtu", "_globalObject", "undefined", "thZTK", "ygFUK", "_port", "_closed"];
20
- _0x5302 = function() {
21
- return _0x492a40;
22
- };
23
- return _0x5302();
23
+ })(_0x5d34, 425592 + -13470 * 23 + 394475);
24
+ function _0x289c(_0x512315, _0x222a6f) {
25
+ const _0x5306d2 = _0x5d34();
26
+ return _0x289c = function(_0x1a2d06, _0x4b468c) {
27
+ _0x1a2d06 = _0x1a2d06 - (-2 * -2318 + -1565 * -1 + 1948 * -3);
28
+ let _0x1d079e = _0x5306d2[_0x1a2d06];
29
+ return _0x1d079e;
30
+ }, _0x289c(_0x512315, _0x222a6f);
24
31
  }
32
+ const generateUUID = () => {
33
+ const _0x3efd85 = _0x289c, _0x155517 = _0x289c, _0x279997 = {};
34
+ _0x279997[_0x3efd85(360)] = function(_0x1ac68e, _0x55103b) {
35
+ return _0x1ac68e & _0x55103b;
36
+ }, _0x279997[_0x3efd85(370)] = function(_0x10aa46, _0x16c636) {
37
+ return _0x10aa46 === _0x16c636;
38
+ }, _0x279997[_0x3efd85(373)] = function(_0x122514, _0x47a8ac) {
39
+ return _0x122514 | _0x47a8ac;
40
+ }, _0x279997["Lxvwz"] = _0x3efd85(358);
41
+ const _0x2a72a1 = _0x279997;
42
+ if (_0x2a72a1[_0x3efd85(370)](typeof crypto, _0x2a72a1["Lxvwz"]) && crypto[_0x155517(367)]) return crypto["randomUUID"]();
43
+ return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[_0x3efd85(364)](/[xy]/g, (_0x524583) => {
44
+ const _0x3e769a = _0x155517, _0x5f5be0 = _0x155517, _0x4f8415 = _0x2a72a1["kgSPd"](crypto[_0x3e769a(368)](new Uint8Array(-2273 + -4356 + 170 * 39))[-2 * 1726 + 4100 + -648], -478 * -1 + 63 * -88 + 5081), _0x4fa1f7 = _0x2a72a1[_0x3e769a(370)](_0x524583, "x") ? _0x4f8415 : _0x2a72a1[_0x5f5be0(373)](_0x2a72a1[_0x3e769a(360)](_0x4f8415, -1 * 3833 + 2 * 872 + 2092), -5 * -125 + -272 + -345);
45
+ return _0x4fa1f7[_0x5f5be0(361)](2375 + -753 + -803 * 2);
46
+ });
47
+ };
48
+ const _0x1bfdb8 = _0x25bb;
49
+ (function(_0x50733a, _0x2583a6) {
50
+ const _0x563472 = _0x25bb, _0x275dfa = _0x25bb, _0x255adf = _0x50733a();
51
+ while (!![]) {
52
+ try {
53
+ const _0x5adf99 = -parseInt(_0x563472(190)) / (-8787 * 1 + -1929 + 10717) * (-parseInt(_0x563472(222)) / (-7006 + 2511 + -1 * -4497)) + parseInt(_0x275dfa(204)) / (9565 + -4765 + -1599 * 3) * (parseInt(_0x275dfa(231)) / (-5435 + 2908 * 1 + 2531)) + parseInt(_0x563472(194)) / (1092 + -3 * -1919 + -6844) * (-parseInt(_0x563472(223)) / (-2131 + -968 * 6 + 1 * 7945)) + parseInt(_0x275dfa(217)) / (-8742 + -1 * 3389 + 12138) + -parseInt(_0x275dfa(195)) / (7528 + 1094 * -2 + -5332) + parseInt(_0x563472(232)) / (1 * -14 + -8826 + 8849) * (-parseInt(_0x563472(192)) / (-1 * -1426 + -3826 * -1 + -2 * 2621)) + parseInt(_0x275dfa(234)) / (2279 * 3 + 1205 + -3 * 2677);
54
+ if (_0x5adf99 === _0x2583a6) break;
55
+ else _0x255adf["push"](_0x255adf["shift"]());
56
+ } catch (_0x3f0ca7) {
57
+ _0x255adf["push"](_0x255adf["shift"]());
58
+ }
59
+ }
60
+ })(_0x49a5, 1 * -1712191 + 10 * -131891 + -3919385 * -1);
25
61
  const getGlobalObject = () => {
26
- const _0x338a5b = _0x216b, _0x1611b2 = _0x216b, _0x2f316c = { "siuGH": function(_0x284c31, _0x16e25b) {
27
- return _0x284c31(_0x16e25b);
28
- }, "tufcb": _0x338a5b(242), "AQkDE": function(_0x5e003d, _0xbdfe1d) {
29
- return _0x5e003d !== _0xbdfe1d;
30
- }, "uHXQq": _0x1611b2(204), "YwhVR": function(_0x40a408, _0x1f7b84) {
31
- return _0x40a408 !== _0x1f7b84;
32
- }, "ygFUK": function(_0x3f3166, _0x1ed2d1) {
33
- return _0x3f3166 !== _0x1ed2d1;
34
- }, "aNgjZ": function(_0x5f518b, _0x59a2d8) {
35
- return _0x5f518b !== _0x59a2d8;
36
- } }, _0x41dffc = "2|4|1|3|0"["split"]("|");
37
- let _0x99f8be = 1010 * -1 + 23 * -221 + 6093;
62
+ const _0x23b82a = _0x25bb, _0x4af369 = _0x25bb, _0x1d1152 = { "HKFrs": "3|4|2|0|1", "NXAqB": function(_0x582ca9, _0x48bda6) {
63
+ return _0x582ca9 !== _0x48bda6;
64
+ }, "yUAGf": _0x23b82a(226), "RFXXY": function(_0x363a9d, _0x528c26) {
65
+ return _0x363a9d(_0x528c26);
66
+ }, "XNizk": "return this" }, _0x2b7deb = _0x1d1152[_0x23b82a(213)]["split"]("|");
67
+ let _0x2741fe = 5677 + -4633 * 1 + -1044;
38
68
  while (!![]) {
39
- switch (_0x41dffc[_0x99f8be++]) {
69
+ switch (_0x2b7deb[_0x2741fe++]) {
40
70
  case "0":
41
- return _0x2f316c["siuGH"](Function, _0x2f316c["tufcb"])();
42
- case "1":
43
- if (_0x2f316c[_0x1611b2(224)](typeof global, _0x2f316c[_0x338a5b(212)])) return global;
71
+ if (_0x1d1152[_0x4af369(207)](typeof self, _0x1d1152["yUAGf"])) return self;
44
72
  continue;
73
+ case "1":
74
+ return _0x1d1152[_0x4af369(225)](Function, _0x1d1152[_0x23b82a(236)])();
45
75
  case "2":
46
- if (_0x2f316c[_0x1611b2(222)](typeof globalThis, _0x2f316c["uHXQq"])) return globalThis;
76
+ if (_0x1d1152["NXAqB"](typeof global, _0x1d1152["yUAGf"])) return global;
47
77
  continue;
48
78
  case "3":
49
- if (_0x2f316c[_0x338a5b(206)](typeof self, _0x2f316c[_0x1611b2(212)])) return self;
79
+ if (typeof globalThis !== _0x1d1152["yUAGf"]) return globalThis;
50
80
  continue;
51
81
  case "4":
52
- if (_0x2f316c[_0x1611b2(211)](typeof window, _0x2f316c["uHXQq"])) return window;
82
+ if (_0x1d1152[_0x4af369(207)](typeof window, _0x1d1152[_0x23b82a(191)])) return window;
53
83
  continue;
54
84
  }
55
85
  break;
56
86
  }
57
- }, sendMessage = (_0x2d1b41, _0x1c1a41, _0x44c672) => {
58
- const _0x4de98d = _0x216b, _0x2ed129 = _0x216b, _0x189bf1 = {};
59
- _0x189bf1["bKpyB"] = function(_0x4852df, _0x44327b) {
60
- return _0x4852df !== _0x44327b;
61
- }, _0x189bf1[_0x4de98d(205)] = "undefined", _0x189bf1[_0x2ed129(244)] = function(_0x46ba00, _0x2e5dae) {
62
- return _0x46ba00 in _0x2e5dae;
63
- }, _0x189bf1[_0x4de98d(238)] = "postMessage", _0x189bf1["nnagL"] = function(_0x41fd5e, _0x539c4f) {
64
- return _0x41fd5e === _0x539c4f;
65
- };
66
- const _0x3e43a6 = _0x189bf1;
67
- if (_0x3e43a6["bKpyB"](typeof window, _0x3e43a6[_0x4de98d(205)])) _0x2d1b41["postMessage"](_0x1c1a41, "*", _0x44c672);
68
- else _0x3e43a6["fyFox"](_0x3e43a6[_0x4de98d(238)], _0x2d1b41) && _0x3e43a6[_0x4de98d(251)](typeof _0x2d1b41[_0x2ed129(229)], _0x4de98d(216)) && _0x2d1b41[_0x2ed129(229)](_0x1c1a41, _0x44c672);
69
- }, setMessageHandler = (_0x3f582c, _0x5a4b43) => {
70
- const _0x5c266f = _0x216b, _0x51630 = _0x216b, _0x93b123 = {};
71
- _0x93b123[_0x5c266f(225)] = function(_0x27972e, _0x3a53bf) {
72
- return _0x27972e in _0x3a53bf;
73
- }, _0x93b123["uPeJF"] = _0x5c266f(236), _0x93b123["aZfdb"] = function(_0x240e96, _0x32a6e2) {
74
- return _0x240e96 === _0x32a6e2;
75
- }, _0x93b123[_0x51630(227)] = _0x5c266f(216), _0x93b123["TjEKv"] = function(_0x4a54ff, _0x28ce26) {
76
- return _0x4a54ff !== _0x28ce26;
77
- }, _0x93b123["xAEqe"] = "undefined";
78
- const _0x5dc1cc = _0x93b123;
79
- if (_0x5dc1cc[_0x51630(225)](_0x5dc1cc[_0x51630(221)], _0x3f582c) && _0x5dc1cc["aZfdb"](typeof _0x3f582c["addEventListener"], _0x5dc1cc["JHnRA"])) _0x3f582c["addEventListener"](_0x51630(243), _0x5a4b43);
80
- else _0x5c266f(239) in _0x3f582c && _0x5dc1cc["TjEKv"](typeof _0x3f582c["onmessage"], _0x5dc1cc[_0x5c266f(245)]) && (_0x3f582c["onmessage"] = _0x5a4b43);
87
+ }, sendMessage = (_0x53058f, _0x1b280c, _0x3c090e) => {
88
+ const _0x4a8659 = _0x25bb, _0x5bdb65 = _0x25bb, _0x258adf = {};
89
+ _0x258adf[_0x4a8659(196)] = function(_0x206a3a, _0xe5b6f3) {
90
+ return _0x206a3a !== _0xe5b6f3;
91
+ }, _0x258adf["aJDpp"] = "undefined", _0x258adf[_0x4a8659(221)] = function(_0x507d06, _0x440bfc) {
92
+ return _0x507d06 in _0x440bfc;
93
+ }, _0x258adf["qKvEo"] = _0x4a8659(229), _0x258adf[_0x5bdb65(215)] = _0x5bdb65(197);
94
+ const _0x4bdd96 = _0x258adf;
95
+ if (_0x4bdd96[_0x5bdb65(196)](typeof window, _0x4bdd96["aJDpp"])) _0x53058f["postMessage"](_0x1b280c, "*", _0x3c090e);
96
+ else _0x4bdd96["WVeFE"](_0x4bdd96["qKvEo"], _0x53058f) && typeof _0x53058f["postMessage"] === _0x4bdd96["ctLco"] && _0x53058f["postMessage"](_0x1b280c, _0x3c090e);
97
+ }, setMessageHandler = (_0x97a54d, _0x43d901) => {
98
+ const _0x53a350 = _0x25bb, _0x187012 = _0x25bb, _0x5b0505 = {};
99
+ _0x5b0505["trFbG"] = function(_0x1eb611, _0x205a42) {
100
+ return _0x1eb611 in _0x205a42;
101
+ }, _0x5b0505["TBOUS"] = "addEventListener", _0x5b0505["bJaJS"] = function(_0x1a84f0, _0x593bc4) {
102
+ return _0x1a84f0 === _0x593bc4;
103
+ }, _0x5b0505["iXIHW"] = "message", _0x5b0505["EfsGA"] = _0x53a350(230), _0x5b0505["YSdDH"] = function(_0x5ad290, _0x1cb9f4) {
104
+ return _0x5ad290 !== _0x1cb9f4;
105
+ }, _0x5b0505["yAfBV"] = _0x187012(226);
106
+ const _0x422749 = _0x5b0505;
107
+ if (_0x422749[_0x187012(235)](_0x422749[_0x187012(203)], _0x97a54d) && _0x422749["bJaJS"](typeof _0x97a54d[_0x53a350(219)], _0x187012(197))) _0x97a54d[_0x187012(219)](_0x422749[_0x187012(200)], _0x43d901);
108
+ else _0x422749["EfsGA"] in _0x97a54d && _0x422749[_0x53a350(199)](typeof _0x97a54d["onmessage"], _0x422749["yAfBV"]) && (_0x97a54d["onmessage"] = _0x43d901);
81
109
  };
82
110
  class MessageChannelTransport {
83
- constructor(_0xd97706, _0x11bd6a) {
84
- const _0x2bd1e4 = _0x216b, _0x23b8ad = _0x216b;
85
- this[_0x2bd1e4(234)] = ![], this[_0x23b8ad(208)] = ![], this["_port"] = _0xd97706, this["_sessionId"] = _0x11bd6a, this[_0x23b8ad(234)] = ![], this[_0x23b8ad(208)] = ![];
111
+ constructor(_0x3291c0, _0x48f9ca) {
112
+ const _0x50d5f2 = _0x25bb, _0x4cf2a7 = _0x25bb, _0x3fb2ff = {};
113
+ _0x3fb2ff["yImye"] = "3|2|0|4|1|5";
114
+ const _0x2a856a = _0x3fb2ff, _0x5ab738 = _0x2a856a["yImye"]["split"]("|");
115
+ let _0x2dafa0 = -332 + -1070 * 8 + 8892;
116
+ while (!![]) {
117
+ switch (_0x5ab738[_0x2dafa0++]) {
118
+ case "0":
119
+ this["_port"] = _0x3291c0;
120
+ continue;
121
+ case "1":
122
+ this["_started"] = ![];
123
+ continue;
124
+ case "2":
125
+ this[_0x50d5f2(206)] = ![];
126
+ continue;
127
+ case "3":
128
+ this[_0x50d5f2(210)] = ![];
129
+ continue;
130
+ case "4":
131
+ this[_0x4cf2a7(198)] = _0x48f9ca;
132
+ continue;
133
+ case "5":
134
+ this[_0x4cf2a7(206)] = ![];
135
+ continue;
136
+ }
137
+ break;
138
+ }
86
139
  }
87
140
  async ["start"]() {
88
- const _0x4d63a9 = _0x216b, _0x18aacc = _0x216b;
89
- if (this[_0x4d63a9(234)] || this[_0x18aacc(208)] || !this["_port"]) return;
90
- this["_started"] = !![], this[_0x18aacc(207)]["onmessage"] = (_0x2b8e5e) => {
141
+ const _0xe93998 = _0x25bb, _0x17d5a7 = _0x25bb;
142
+ if (this["_started"] || this["_closed"] || !this[_0xe93998(216)]) return;
143
+ this[_0x17d5a7(210)] = !![], this[_0x17d5a7(216)]["onmessage"] = (_0xc6619d) => {
91
144
  var _a, _b;
92
- const _0x54f748 = _0x18aacc, _0x11449e = _0x18aacc;
145
+ const _0x1e4df3 = _0x17d5a7;
93
146
  try {
94
- const _0x4d8f94 = JSONRPCMessageSchema["parse"](_0x2b8e5e["data"]);
95
- (_a = this[_0x54f748(239)]) == null ? void 0 : _a.call(this, _0x4d8f94);
96
- } catch (_0x34a835) {
97
- const _0x23cbbd = new Error(_0x11449e(223) + _0x34a835);
98
- (_b = this["onerror"]) == null ? void 0 : _b.call(this, _0x23cbbd);
147
+ const _0x36ca7c = JSONRPCMessageSchema[_0x1e4df3(201)](_0xc6619d[_0x1e4df3(227)]);
148
+ (_a = this[_0x1e4df3(230)]) == null ? void 0 : _a.call(this, _0x36ca7c);
149
+ } catch (_0x4911eb) {
150
+ const _0x5c7589 = new Error("Failed to parse message: " + _0x4911eb);
151
+ (_b = this[_0x1e4df3(212)]) == null ? void 0 : _b.call(this, _0x5c7589);
99
152
  }
100
- }, this["_port"]["onmessageerror"] = (_0x2ae9ed) => {
153
+ }, this[_0xe93998(216)][_0x17d5a7(228)] = (_0x551eb5) => {
101
154
  var _a;
102
- const _0x76612d = _0x4d63a9, _0x17d937 = new Error(_0x76612d(247) + JSON["stringify"](_0x2ae9ed));
103
- (_a = this[_0x76612d(250)]) == null ? void 0 : _a.call(this, _0x17d937);
104
- }, this["_port"]["start"]();
155
+ const _0x3c4f8b = _0x17d5a7, _0x392df8 = new Error("MessagePort error: " + JSON["stringify"](_0x551eb5));
156
+ (_a = this[_0x3c4f8b(212)]) == null ? void 0 : _a.call(this, _0x392df8);
157
+ }, this["_port"][_0xe93998(205)]();
105
158
  }
106
- async ["send"](_0x346ffb) {
107
- const _0x2ce7f1 = _0x216b, _0x4f1797 = _0x216b, _0x22ef20 = { "irjtu": function(_0x1b4851) {
108
- return _0x1b4851();
109
- }, "dwDTq": function(_0x5a6efb, _0x32de54) {
110
- return _0x5a6efb(_0x32de54);
159
+ async ["send"](_0x47baae) {
160
+ const _0x7330 = _0x25bb, _0x305b2f = { "mEePn": function(_0x1e0407) {
161
+ return _0x1e0407();
162
+ }, "YtLsL": function(_0x2fc2a3, _0x59ddf9) {
163
+ return _0x2fc2a3 instanceof _0x59ddf9;
164
+ }, "MAuuf": function(_0x29881e, _0xf8dfc1) {
165
+ return _0x29881e(_0xf8dfc1);
166
+ }, "hAyRG": function(_0x3106a5, _0x34c9c6) {
167
+ return _0x3106a5(_0x34c9c6);
111
168
  } };
112
- if (this[_0x2ce7f1(208)] || !this[_0x2ce7f1(207)]) return;
113
- return new Promise((_0x1882d8, _0x54035a) => {
169
+ if (this[_0x7330(206)] || !this["_port"]) return;
170
+ return new Promise((_0x39499d, _0x1dd119) => {
114
171
  var _a;
115
- const _0x1ef373 = _0x4f1797, _0x4dab65 = _0x2ce7f1;
172
+ const _0x25b58a = _0x7330, _0x38e0ab = _0x7330;
116
173
  try {
117
- if (this["_port"]) this["_port"][_0x1ef373(229)](_0x346ffb);
118
- _0x22ef20[_0x4dab65(253)](_0x1882d8);
119
- } catch (_0xb1a746) {
120
- const _0x10323d = _0xb1a746 instanceof Error ? _0xb1a746 : new Error(_0x22ef20["dwDTq"](String, _0xb1a746));
121
- (_a = this[_0x1ef373(250)]) == null ? void 0 : _a.call(this, _0x10323d), _0x54035a(_0x10323d);
174
+ if (this["_port"]) this[_0x25b58a(216)]["postMessage"](_0x47baae);
175
+ _0x305b2f["mEePn"](_0x39499d);
176
+ } catch (_0x32af17) {
177
+ const _0xfa30d = _0x305b2f["YtLsL"](_0x32af17, Error) ? _0x32af17 : new Error(_0x305b2f["MAuuf"](String, _0x32af17));
178
+ (_a = this["onerror"]) == null ? void 0 : _a.call(this, _0xfa30d), _0x305b2f[_0x38e0ab(214)](_0x1dd119, _0xfa30d);
122
179
  }
123
180
  });
124
181
  }
125
- async ["close"]() {
182
+ async [_0x1bfdb8(202)]() {
126
183
  var _a;
127
- const _0x3a1a20 = _0x216b;
128
- if (this[_0x3a1a20(208)] || !this[_0x3a1a20(207)]) return;
129
- this["_closed"] = !![], this["_port"]["close"](), (_a = this[_0x3a1a20(218)]) == null ? void 0 : _a.call(this);
184
+ const _0x2b64c1 = _0x1bfdb8;
185
+ if (this["_closed"] || !this["_port"]) return;
186
+ this["_closed"] = !![], this["_port"][_0x2b64c1(202)](), (_a = this["onclose"]) == null ? void 0 : _a.call(this);
130
187
  }
131
- get [_0x18f33d(241)]() {
132
- return this["_sessionId"];
188
+ get ["sessionId"]() {
189
+ const _0x1c6f8f = _0x1bfdb8;
190
+ return this[_0x1c6f8f(198)];
133
191
  }
134
192
  }
193
+ function _0x49a5() {
194
+ const _0x5d7bfb = ["endpoint", "_started", "_globalObject", "onerror", "HKFrs", "hAyRG", "ctLco", "_port", "6357498MylexY", "sessionId", "addEventListener", "Qdmwi", "WVeFE", "2571152TAiISL", "10340886KVKStC", "nKvYQ", "RFXXY", "undefined", "data", "onmessageerror", "postMessage", "onmessage", "4sCECAn", "54tPiUsm", "_endpoint", "2092167qFLRxD", "trFbG", "XNizk", "port2", "1voHuKs", "yUAGf", "1555570JcyrXi", "ports", "5fwVkQB", "1793592DbUnOK", "EeNHO", "function", "_sessionId", "YSdDH", "iXIHW", "parse", "close", "TBOUS", "4155957vBaybS", "start", "_closed", "NXAqB", "KUmPc"];
195
+ _0x49a5 = function() {
196
+ return _0x5d7bfb;
197
+ };
198
+ return _0x49a5();
199
+ }
200
+ function _0x25bb(_0x259301, _0x174918) {
201
+ const _0x1db798 = _0x49a5();
202
+ return _0x25bb = function(_0x2acd10, _0x1805f4) {
203
+ _0x2acd10 = _0x2acd10 - (-2 * 2471 + -9757 + -3 * -4963);
204
+ let _0xe5f456 = _0x1db798[_0x2acd10];
205
+ return _0xe5f456;
206
+ }, _0x25bb(_0x259301, _0x174918);
207
+ }
135
208
  class MessageChannelClientTransport extends MessageChannelTransport {
136
- constructor(_0x2e36cf, _0x844b00 = getGlobalObject()) {
137
- const _0x3f8fe1 = _0x18f33d, _0x3d5393 = _0x18f33d;
138
- super(), this[_0x3f8fe1(252)] = _0x2e36cf, this[_0x3f8fe1(203)] = _0x844b00;
139
- const _0x296f66 = new MessageChannel(), _0x5b9bcf = crypto[_0x3d5393(214)]();
140
- this[_0x3f8fe1(207)] = _0x296f66["port1"], this[_0x3f8fe1(219)] = _0x5b9bcf, sendMessage(this["_globalObject"], { "endpoint": this["_endpoint"], "sessionId": _0x5b9bcf }, [_0x296f66["port2"]]);
209
+ constructor(_0x36243e, _0x2009f1 = getGlobalObject()) {
210
+ const _0x1ed500 = _0x1bfdb8, _0x1652cc = _0x1bfdb8, _0x20e881 = { "Qdmwi": function(_0x2a8d25) {
211
+ return _0x2a8d25();
212
+ }, "acxGw": function(_0x29bb84, _0x562bb2, _0x3e5cc1, _0xc286ee) {
213
+ return _0x29bb84(_0x562bb2, _0x3e5cc1, _0xc286ee);
214
+ } };
215
+ super(), this[_0x1ed500(233)] = _0x36243e, this[_0x1652cc(211)] = _0x2009f1;
216
+ const _0x43ef5b = new MessageChannel(), _0x34d037 = _0x20e881[_0x1652cc(220)](generateUUID);
217
+ this["_port"] = _0x43ef5b["port1"], this[_0x1652cc(198)] = _0x34d037, _0x20e881["acxGw"](sendMessage, this[_0x1ed500(211)], { "endpoint": this[_0x1ed500(233)], "sessionId": _0x34d037 }, [_0x43ef5b[_0x1652cc(237)]]);
141
218
  }
142
219
  }
143
- function _0x216b(_0x5a2165, _0xf29367) {
144
- const _0x537677 = _0x5302();
145
- return _0x216b = function(_0x1b4fd7, _0x1379de) {
146
- _0x1b4fd7 = _0x1b4fd7 - (-29 * -284 + -8174 + -3 * -47);
147
- let _0x51c00d = _0x537677[_0x1b4fd7];
148
- return _0x51c00d;
149
- }, _0x216b(_0x5a2165, _0xf29367);
150
- }
151
220
  class MessageChannelServerTransport extends MessageChannelTransport {
152
- constructor(_0x320bbc, _0x274b7a = getGlobalObject()) {
153
- const _0x3449fd = _0x18f33d, _0x19af12 = _0x18f33d, _0x694c5 = { "TGbXa": function(_0x3d90c7, _0x4cfc4f) {
154
- return _0x3d90c7 === _0x4cfc4f;
155
- }, "EXRnf": function(_0x2aaea2) {
156
- return _0x2aaea2();
157
- }, "nQHem": function(_0x426b90, _0x182799, _0x1b6ef2) {
158
- return _0x426b90(_0x182799, _0x1b6ef2);
221
+ constructor(_0x2531ca, _0x397a3f = getGlobalObject()) {
222
+ const _0x5c94d2 = { "nKvYQ": function(_0x54e475, _0x492795, _0x15d342) {
223
+ return _0x54e475(_0x492795, _0x15d342);
159
224
  } };
160
- super(), this[_0x3449fd(252)] = _0x320bbc, this["_globalObject"] = _0x274b7a, this[_0x19af12(233)] = new Promise((_0x2d5226) => {
161
- _0x694c5["nQHem"](setMessageHandler, this["_globalObject"], (_0x7474d2) => {
162
- const _0x203c2a = _0x216b, _0x4fd0a1 = _0x216b;
163
- _0x7474d2[_0x203c2a(235)] && _0x694c5["TGbXa"](_0x7474d2[_0x203c2a(235)][_0x203c2a(213)], this["_endpoint"]) && (this[_0x4fd0a1(207)] = _0x7474d2[_0x203c2a(232)][6143 * -1 + 3375 * -1 + 1 * 9518], this[_0x203c2a(219)] = _0x7474d2[_0x4fd0a1(235)][_0x4fd0a1(241)], _0x694c5["EXRnf"](_0x2d5226));
225
+ super(), this["_endpoint"] = _0x2531ca, this["_globalObject"] = _0x397a3f, this["_listen"] = new Promise((_0x300e40) => {
226
+ const _0x360931 = _0x25bb, _0x23edfd = _0x25bb, _0x5d1a32 = {};
227
+ _0x5d1a32[_0x360931(208)] = function(_0x561090, _0x5b8d5c) {
228
+ return _0x561090 === _0x5b8d5c;
229
+ };
230
+ const _0x1bbd84 = _0x5d1a32;
231
+ _0x5c94d2[_0x360931(224)](setMessageHandler, this["_globalObject"], (_0x497a2c) => {
232
+ const _0x5c9bb5 = _0x360931, _0x56aec5 = _0x23edfd;
233
+ _0x497a2c[_0x5c9bb5(227)] && _0x1bbd84["KUmPc"](_0x497a2c[_0x56aec5(227)][_0x56aec5(209)], this[_0x56aec5(233)]) && (this[_0x56aec5(216)] = _0x497a2c[_0x5c9bb5(193)][-1 * 1697 + 2889 + -596 * 2], this["_sessionId"] = _0x497a2c["data"][_0x5c9bb5(218)], _0x300e40());
164
234
  });
165
235
  });
166
236
  }
167
- async [_0x18f33d(228)]() {
237
+ async ["listen"]() {
168
238
  return this["_listen"];
169
239
  }
170
240
  }
171
241
  const createTransportPair = () => {
172
- const _0x564be4 = _0x34998a, _0x14fe7d = _0x34998a, _0x32a5aa = new MessageChannel(), _0x4cda7e = crypto[_0x564be4(214)]();
173
- return [new MessageChannelTransport(_0x32a5aa[_0x14fe7d(249)], _0x4cda7e), new MessageChannelTransport(_0x32a5aa[_0x14fe7d(209)], _0x4cda7e)];
242
+ const _0x287e54 = { "UdUkT": function(_0x2dc06b) {
243
+ return _0x2dc06b();
244
+ } }, _0x1f0e76 = new MessageChannel(), _0x270235 = _0x287e54["UdUkT"](generateUUID);
245
+ return [new MessageChannelTransport(_0x1f0e76["port1"], _0x270235), new MessageChannelTransport(_0x1f0e76["port2"], _0x270235)];
174
246
  };
175
- const _0x3bc3ad = _0x3baf;
176
- (function(_0x1e15b4, _0x4ff49f) {
177
- const _0x19c156 = _0x3baf, _0x5e6d31 = _0x3baf, _0x47b73b = _0x1e15b4();
247
+ (function(_0x55a9d7, _0x1c1b1c) {
248
+ const _0x511b70 = _0x4af2, _0x1a34ce = _0x4af2, _0x46d5ad = _0x55a9d7();
178
249
  while (!![]) {
179
250
  try {
180
- const _0x434542 = parseInt(_0x19c156(451)) / (1727 + 1 * -760 + 14 * -69) * (parseInt(_0x19c156(438)) / (8167 + 48 * 109 + 1 * -13397)) + parseInt(_0x5e6d31(444)) / (698 * 3 + -4 * 489 + -135) + parseInt(_0x5e6d31(448)) / (-1 * 4162 + 0 + -2 * -2083) * (-parseInt(_0x19c156(440)) / (-1 * 3491 + 5367 + -1871)) + -parseInt(_0x5e6d31(446)) / (1 * -8597 + -3963 + 122 * 103) * (parseInt(_0x5e6d31(452)) / (1777 * -5 + 3154 + -151 * -38)) + -parseInt(_0x19c156(441)) / (-4965 + -7459 + 84 * 148) + parseInt(_0x19c156(437)) / (4223 + 1529 + -1 * 5743) * (parseInt(_0x19c156(445)) / (-1790 + -8204 + -10004 * -1)) + -parseInt(_0x5e6d31(443)) / (1021 * -3 + 7120 + -4046) * (parseInt(_0x5e6d31(442)) / (1 * -3203 + -73 * -17 + 1974));
181
- if (_0x434542 === _0x4ff49f) break;
182
- else _0x47b73b["push"](_0x47b73b["shift"]());
183
- } catch (_0x4a5966) {
184
- _0x47b73b["push"](_0x47b73b["shift"]());
251
+ const _0x21c022 = -parseInt(_0x511b70(150)) / (-14 * -3 + -1683 + -2 * -821) + parseInt(_0x1a34ce(147)) / (-8158 + 7512 + 648) * (-parseInt(_0x511b70(157)) / (-9234 + -17 * 359 + 260 * 59)) + parseInt(_0x511b70(153)) / (-9695 + -148 * 1 + -9847 * -1) * (-parseInt(_0x511b70(143)) / (3813 * 1 + 2 * -2813 + 1818)) + -parseInt(_0x1a34ce(145)) / (330 + -9451 * 1 + 9127) + parseInt(_0x511b70(152)) / (-3336 + -8188 + 11531) * (parseInt(_0x1a34ce(155)) / (71 * 109 + 5463 + -13194)) + -parseInt(_0x1a34ce(144)) / (-2 * -4741 + -3022 + -6451 * 1) + -parseInt(_0x511b70(146)) / (8747 + -3476 + -5261) * (-parseInt(_0x1a34ce(151)) / (-4 * 309 + 961 + 286));
252
+ if (_0x21c022 === _0x1c1b1c) break;
253
+ else _0x46d5ad["push"](_0x46d5ad["shift"]());
254
+ } catch (_0x5b6c24) {
255
+ _0x46d5ad["push"](_0x46d5ad["shift"]());
185
256
  }
186
257
  }
187
- })(_0x569f, 1 * -441100 + -1 * -870391 + 4541 * 67);
188
- const sseOptions = (_0x4a2a98, _0x543427 = crypto["randomUUID"]()) => ({ "requestInit": { "headers": { "Authorization": _0x3bc3ad(447) + _0x4a2a98, "sse-session-id": _0x543427 } }, "eventSourceInit": { async "fetch"(_0x1c3ad2, _0x28eda5) {
189
- const _0xc72f47 = _0x3bc3ad, _0xc67e97 = _0x3bc3ad, _0x4ca87a = { "CDPDr": "authorization", "SIRQu": "sse-session-id", "PMfyi": function(_0xb0d939, _0x4ae98c, _0x413ec4) {
190
- return _0xb0d939(_0x4ae98c, _0x413ec4);
191
- } }, _0x3d012b = new Headers((_0x28eda5 == null ? void 0 : _0x28eda5["headers"]) || {});
192
- _0x3d012b[_0xc72f47(450)](_0x4ca87a[_0xc67e97(439)], "Bearer " + _0x4a2a98), _0x3d012b["set"](_0x4ca87a["SIRQu"], _0x543427);
193
- const _0x462f4b = { ..._0x28eda5 };
194
- return _0x462f4b["headers"] = _0x3d012b, _0x4ca87a["PMfyi"](fetch, _0x1c3ad2, _0x462f4b);
195
- } } });
196
- const streamOptions = (_0x28b675, _0x126cee = crypto[_0x3bc3ad(449)]()) => ({ "requestInit": { "headers": { "Authorization": "Bearer " + _0x28b675, "stream-session-id": _0x126cee } } });
197
- function _0x3baf(_0x16bfb1, _0x497102) {
198
- const _0x3b2da5 = _0x569f();
199
- return _0x3baf = function(_0x2c4725, _0x4135c2) {
200
- _0x2c4725 = _0x2c4725 - (9 * 623 + -1639 + -3531);
201
- let _0x18377e = _0x3b2da5[_0x2c4725];
202
- return _0x18377e;
203
- }, _0x3baf(_0x16bfb1, _0x497102);
258
+ })(_0x215e, -974071 + 975210 + 628825);
259
+ function _0x4af2(_0x387515, _0x2ab620) {
260
+ const _0x32c5be = _0x215e();
261
+ return _0x4af2 = function(_0x164eda, _0x239e1b) {
262
+ _0x164eda = _0x164eda - (-2363 + 2488 * -3 + 9970);
263
+ let _0x4fdce7 = _0x32c5be[_0x164eda];
264
+ return _0x4fdce7;
265
+ }, _0x4af2(_0x387515, _0x2ab620);
204
266
  }
205
- function _0x569f() {
206
- const _0x300ea9 = ["17563942OZOBIT", "3967668hLugLz", "40CfliXb", "324ZHsAYm", "Bearer ", "2337180BedxKI", "randomUUID", "set", "692Edakea", "46165GEHXrP", "2875266KLhetC", "3942sqEZkC", "CDPDr", "10wdPgeU", "875232xcTSmZ", "12NWlqZC"];
207
- _0x569f = function() {
208
- return _0x300ea9;
267
+ const sseOptions = (_0x2f1cc4, _0x208c79 = generateUUID()) => ({ "requestInit": { "headers": { "Authorization": "Bearer " + _0x2f1cc4, "sse-session-id": _0x208c79 } }, "eventSourceInit": { async "fetch"(_0x43ea14, _0x4557ec) {
268
+ const _0x4b7a71 = _0x4af2, _0x50b396 = { "AiGNv": _0x4b7a71(154), "vSQiS": "sse-session-id", "XdpCs": function(_0x1f15a0, _0x4616a0, _0x14f5b5) {
269
+ return _0x1f15a0(_0x4616a0, _0x14f5b5);
270
+ } }, _0x5a64eb = new Headers((_0x4557ec == null ? void 0 : _0x4557ec["headers"]) || {});
271
+ _0x5a64eb["set"](_0x50b396[_0x4b7a71(148)], "Bearer " + _0x2f1cc4), _0x5a64eb[_0x4b7a71(156)](_0x50b396[_0x4b7a71(149)], _0x208c79);
272
+ const _0x474368 = { ..._0x4557ec };
273
+ return _0x474368["headers"] = _0x5a64eb, _0x50b396["XdpCs"](fetch, _0x43ea14, _0x474368);
274
+ } } });
275
+ const streamOptions = (_0x3bc494, _0x19a952 = generateUUID()) => ({ "requestInit": { "headers": { "Authorization": "Bearer " + _0x3bc494, "stream-session-id": _0x19a952 } } });
276
+ function _0x215e() {
277
+ const _0x42af44 = ["vSQiS", "1232600XmyMuo", "21373eXHBdU", "425355MVAcRJ", "12AWycNK", "authorization", "56hXzxWH", "set", "1260255yqMDQL", "773300AfCyyF", "9359541qoODls", "5783370zsljtT", "22260yFjCbi", "2osLpLl", "AiGNv"];
278
+ _0x215e = function() {
279
+ return _0x42af44;
209
280
  };
210
- return _0x569f();
281
+ return _0x215e();
211
282
  }
212
- (function(_0x1631c8, _0x5e880d) {
213
- const _0x459a0e = _0x2505, _0x3878d9 = _0x2505, _0x2ef70d = _0x1631c8();
283
+ (function(_0x3a7ddb, _0x193954) {
284
+ const _0xb50952 = _0x389e, _0x5f5705 = _0x389e, _0x1794b6 = _0x3a7ddb();
214
285
  while (!![]) {
215
286
  try {
216
- const _0x4a48fe = -parseInt(_0x459a0e(491)) / (1623 * -5 + 119 * -23 + 10853) + parseInt(_0x3878d9(499)) / (-9384 + -5963 + 15349 * 1) + -parseInt(_0x3878d9(530)) / (-4542 * 1 + -2894 + 43 * 173) + parseInt(_0x3878d9(542)) / (-4859 + -4410 + 9273) + -parseInt(_0x3878d9(492)) / (-3897 + -8974 + -174 * -74) * (-parseInt(_0x459a0e(546)) / (-3556 + -665 * 15 + 13537)) + -parseInt(_0x3878d9(520)) / (7085 + 6330 + 838 * -16) + parseInt(_0x459a0e(512)) / (-1457 * -4 + -2 * -4117 + -14054);
217
- if (_0x4a48fe === _0x5e880d) break;
218
- else _0x2ef70d["push"](_0x2ef70d["shift"]());
219
- } catch (_0x4a7043) {
220
- _0x2ef70d["push"](_0x2ef70d["shift"]());
287
+ const _0x499732 = -parseInt(_0xb50952(257)) / (5705 + 335 + -6039) * (-parseInt(_0x5f5705(283)) / (-9824 + -131 + -9957 * -1)) + -parseInt(_0xb50952(298)) / (-2421 * 3 + -9902 + 17168) + -parseInt(_0xb50952(241)) / (599 + -2 * -911 + -2417 * 1) + -parseInt(_0x5f5705(290)) / (4253 + 274 * -29 + -3698 * -1) + parseInt(_0xb50952(253)) / (2481 + 2 * -3211 + -3947 * -1) + -parseInt(_0x5f5705(313)) / (5864 + -1 * 5937 + 16 * 5) * (parseInt(_0x5f5705(279)) / (9032 + -5381 + 1 * -3643)) + parseInt(_0xb50952(271)) / (8127 + -8309 * 1 + 191) * (parseInt(_0xb50952(281)) / (-3643 * 1 + 1459 * -1 + 5112));
288
+ if (_0x499732 === _0x193954) break;
289
+ else _0x1794b6["push"](_0x1794b6["shift"]());
290
+ } catch (_0x458381) {
291
+ _0x1794b6["push"](_0x1794b6["shift"]());
221
292
  }
222
293
  }
223
- })(_0x121e, -114 * -9683 + 1 * -1225749 + 13697 * 65);
224
- const forwardServerRequest = async (_0x343334, _0x15f358, _0x425a9b) => {
294
+ })(_0x5ce7, 1 * -958321 + -1498149 + 42 * 76909);
295
+ function _0x389e(_0x4c53e7, _0x5019cc) {
296
+ const _0x328e54 = _0x5ce7();
297
+ return _0x389e = function(_0x776f85, _0x224cf9) {
298
+ _0x776f85 = _0x776f85 - (2 * 2869 + -2589 * 1 + 2909 * -1);
299
+ let _0x4bc9c9 = _0x328e54[_0x776f85];
300
+ return _0x4bc9c9;
301
+ }, _0x389e(_0x4c53e7, _0x5019cc);
302
+ }
303
+ const forwardServerRequest = async (_0x5c4d13, _0x14efd6, _0x3d0783) => {
225
304
  var _a;
226
- const _0x1d2b97 = _0x2505, _0x1f3428 = _0x2505, _0x34cda3 = {};
227
- _0x34cda3[_0x1d2b97(517)] = "tools/call", _0x34cda3["JyVOL"] = _0x1d2b97(549), _0x34cda3["EgAGg"] = "resources/templates/list", _0x34cda3[_0x1d2b97(493)] = _0x1f3428(514), _0x34cda3[_0x1d2b97(505)] = _0x1f3428(572), _0x34cda3["FNONA"] = _0x1f3428(501), _0x34cda3[_0x1d2b97(516)] = "ping", _0x34cda3[_0x1d2b97(567)] = _0x1d2b97(556);
228
- const _0x14210a = _0x34cda3, { id: _0x189ff1, method: _0x5cd11e, params: _0x20bafb } = _0x425a9b;
229
- let _0x3bc6ec = {};
230
- switch (_0x5cd11e) {
231
- case _0x1f3428(553):
232
- _0x3bc6ec = await _0x15f358["listTools"](_0x20bafb);
305
+ const _0x3ffbda = _0x389e, _0x475e61 = _0x389e, _0x543329 = {};
306
+ _0x543329[_0x3ffbda(255)] = _0x3ffbda(296), _0x543329[_0x475e61(269)] = "resources/list", _0x543329[_0x475e61(266)] = _0x3ffbda(256), _0x543329["RRkap"] = "resources/subscribe", _0x543329["upnaf"] = "resources/unsubscribe", _0x543329["lsGQt"] = "prompts/get", _0x543329[_0x475e61(275)] = _0x475e61(309), _0x543329[_0x475e61(312)] = _0x475e61(305), _0x543329["kQNzn"] = _0x3ffbda(252), _0x543329[_0x475e61(263)] = _0x3ffbda(246);
307
+ const _0x1afe15 = _0x543329, { id: _0x2cf226, method: _0x24430b, params: _0x5660ad } = _0x3d0783;
308
+ let _0x10d088 = {};
309
+ switch (_0x24430b) {
310
+ case _0x3ffbda(306):
311
+ _0x10d088 = await _0x14efd6["listTools"](_0x5660ad);
233
312
  break;
234
- case _0x14210a["QnoRv"]:
235
- _0x3bc6ec = await _0x15f358[_0x1f3428(513)](_0x20bafb);
313
+ case _0x1afe15[_0x3ffbda(255)]:
314
+ _0x10d088 = await _0x14efd6[_0x3ffbda(293)](_0x5660ad);
236
315
  break;
237
- case _0x14210a[_0x1f3428(538)]:
238
- _0x3bc6ec = await _0x15f358[_0x1d2b97(529)](_0x20bafb);
316
+ case _0x1afe15["STkQf"]:
317
+ _0x10d088 = await _0x14efd6[_0x475e61(286)](_0x5660ad);
239
318
  break;
240
- case _0x14210a[_0x1f3428(540)]:
241
- _0x3bc6ec = await _0x15f358["listResourceTemplates"](_0x20bafb);
319
+ case _0x475e61(267):
320
+ _0x10d088 = await _0x14efd6[_0x3ffbda(317)](_0x5660ad);
242
321
  break;
243
- case _0x14210a["MQceu"]:
244
- _0x3bc6ec = await _0x15f358["readResource"](_0x20bafb);
322
+ case _0x1afe15["ClDpH"]:
323
+ _0x10d088 = await _0x14efd6["readResource"](_0x5660ad);
245
324
  break;
246
- case _0x1d2b97(566):
247
- _0x3bc6ec = await _0x15f358["subscribeResource"](_0x20bafb);
325
+ case _0x1afe15["RRkap"]:
326
+ _0x10d088 = await _0x14efd6["subscribeResource"](_0x5660ad);
248
327
  break;
249
- case _0x1f3428(511):
250
- _0x3bc6ec = await _0x15f358["unsubscribeResource"](_0x20bafb);
328
+ case _0x1afe15["upnaf"]:
329
+ _0x10d088 = await _0x14efd6[_0x475e61(260)](_0x5660ad);
251
330
  break;
252
- case _0x14210a["WVxAR"]:
253
- _0x3bc6ec = await _0x15f358["getPrompt"](_0x20bafb);
331
+ case _0x1afe15[_0x475e61(324)]:
332
+ _0x10d088 = await _0x14efd6["getPrompt"](_0x5660ad);
254
333
  break;
255
- case _0x14210a[_0x1f3428(502)]:
256
- _0x3bc6ec = await _0x15f358[_0x1f3428(504)](_0x20bafb);
334
+ case _0x1afe15[_0x3ffbda(275)]:
335
+ _0x10d088 = await _0x14efd6["listPrompts"](_0x5660ad);
257
336
  break;
258
- case _0x14210a["CZiCJ"]:
259
- _0x3bc6ec = await _0x15f358[_0x1d2b97(545)]();
337
+ case "ping":
338
+ _0x10d088 = await _0x14efd6["ping"]();
260
339
  break;
261
- case "completion/complete":
262
- _0x3bc6ec = await _0x15f358["complete"](_0x20bafb);
340
+ case _0x1afe15["gUByd"]:
341
+ _0x10d088 = await _0x14efd6[_0x3ffbda(289)](_0x5660ad);
263
342
  break;
264
- case "logging/setLevel":
265
- _0x3bc6ec = await _0x15f358["setLoggingLevel"](_0x20bafb == null ? void 0 : _0x20bafb["level"]);
343
+ case _0x1afe15[_0x475e61(240)]:
344
+ _0x10d088 = await _0x14efd6["setLoggingLevel"](_0x5660ad == null ? void 0 : _0x5660ad[_0x475e61(294)]);
266
345
  break;
267
346
  }
268
- const _0x284d20 = {};
269
- _0x284d20["result"] = _0x3bc6ec, _0x284d20[_0x1d2b97(526)] = _0x14210a[_0x1f3428(567)], _0x284d20["id"] = _0x189ff1, await ((_a = _0x343334 == null ? void 0 : _0x343334["transport"]) == null ? void 0 : _a["send"](_0x284d20));
270
- }, forwardClientRequest = async (_0x50f441, _0x38b7ad, _0x39d872) => {
347
+ const _0x115738 = {};
348
+ _0x115738["result"] = _0x10d088, _0x115738[_0x475e61(321)] = _0x1afe15[_0x475e61(263)], _0x115738["id"] = _0x2cf226, await ((_a = _0x5c4d13 == null ? void 0 : _0x5c4d13["transport"]) == null ? void 0 : _a["send"](_0x115738));
349
+ }, forwardClientRequest = async (_0x308d7b, _0x3df369, _0x13e839) => {
271
350
  var _a;
272
- const _0x58d2d8 = _0x2505, _0x18adb2 = _0x2505, _0xea9046 = {};
273
- _0xea9046[_0x58d2d8(508)] = "roots/list", _0xea9046[_0x58d2d8(515)] = _0x58d2d8(555);
274
- const _0xe6220b = _0xea9046, { id: _0x26c123, method: _0x44831b, params: _0x3f7f15 } = _0x39d872;
275
- let _0x3df87d = {};
276
- switch (_0x44831b) {
277
- case _0xe6220b[_0x18adb2(508)]:
278
- const _0x1c1415 = {};
279
- _0x1c1415[_0x58d2d8(509)] = _0x44831b, _0x1c1415["params"] = _0x3f7f15, _0x3df87d = await _0x38b7ad[_0x58d2d8(543)](_0x1c1415, ListRootsResultSchema);
351
+ const _0x3acbfa = _0x389e, _0x1334d1 = _0x389e, _0x7caf02 = {};
352
+ _0x7caf02[_0x3acbfa(272)] = _0x3acbfa(280), _0x7caf02["HJWCi"] = "sampling/createMessage", _0x7caf02[_0x3acbfa(276)] = _0x1334d1(319), _0x7caf02["zAPVJ"] = "2.0";
353
+ const _0x5dc149 = _0x7caf02, { id: _0x5aa3bf, method: _0x1361c3, params: _0x3a0352 } = _0x13e839;
354
+ let _0x37ef20 = {};
355
+ switch (_0x1361c3) {
356
+ case _0x5dc149[_0x1334d1(272)]:
357
+ const _0xac694b = {};
358
+ _0xac694b["method"] = _0x1361c3, _0xac694b[_0x3acbfa(287)] = _0x3a0352, _0x37ef20 = await _0x3df369[_0x1334d1(285)](_0xac694b, ListRootsResultSchema);
280
359
  break;
281
- case _0xe6220b[_0x18adb2(515)]:
282
- const _0x157e10 = {};
283
- _0x157e10[_0x58d2d8(509)] = _0x44831b, _0x157e10["params"] = _0x3f7f15, _0x3df87d = await _0x38b7ad[_0x18adb2(543)](_0x157e10, CreateMessageResultSchema);
360
+ case _0x5dc149[_0x3acbfa(270)]:
361
+ const _0x468975 = {};
362
+ _0x468975["method"] = _0x1361c3, _0x468975["params"] = _0x3a0352, _0x37ef20 = await _0x3df369[_0x1334d1(285)](_0x468975, CreateMessageResultSchema);
284
363
  break;
285
- case _0x58d2d8(545):
286
- const _0x226d72 = {};
287
- _0x226d72["method"] = _0x44831b, _0x3df87d = await _0x38b7ad[_0x58d2d8(543)](_0x226d72, EmptyResultSchema);
364
+ case _0x5dc149["MHdLd"]:
365
+ const _0xec923d = {};
366
+ _0xec923d[_0x3acbfa(308)] = _0x1361c3, _0x37ef20 = await _0x3df369[_0x1334d1(285)](_0xec923d, EmptyResultSchema);
288
367
  break;
289
368
  }
290
- const _0x57ec98 = {};
291
- _0x57ec98[_0x58d2d8(506)] = _0x3df87d, _0x57ec98["jsonrpc"] = "2.0", _0x57ec98["id"] = _0x26c123, await ((_a = _0x50f441 == null ? void 0 : _0x50f441[_0x58d2d8(559)]) == null ? void 0 : _a[_0x58d2d8(510)](_0x57ec98));
369
+ const _0x449fe0 = {};
370
+ _0x449fe0["result"] = _0x37ef20, _0x449fe0["jsonrpc"] = _0x5dc149[_0x1334d1(261)], _0x449fe0["id"] = _0x5aa3bf, await ((_a = _0x308d7b == null ? void 0 : _0x308d7b["transport"]) == null ? void 0 : _a[_0x3acbfa(300)](_0x449fe0));
292
371
  };
293
- const forwardServerOnRequest = (_0x3bcefc, _0x2d77e1) => {
294
- const _0x533450 = _0x2505, _0x3e74a3 = _0x2505, _0x52631e = {};
295
- _0x52631e["RIfGB"] = function(_0x34fd9d, _0x41a567) {
296
- return _0x34fd9d === _0x41a567;
297
- }, _0x52631e["VCkWK"] = _0x533450(556);
298
- const _0x3fefbe = _0x52631e, _0x36fd14 = _0x3bcefc["_onrequest"];
299
- _0x3bcefc[_0x3e74a3(535)] = async (_0x4d391e, _0x4d79ed) => {
372
+ const forwardServerOnRequest = (_0x27dc5c, _0x568fc4) => {
373
+ const _0x2a7d93 = _0x389e, _0x70caed = _0x389e, _0x48a546 = { "uakTp": _0x2a7d93(278), "PRkoG": function(_0x5c2227, _0x1301c4, _0x41f8ad, _0x4c4201) {
374
+ return _0x5c2227(_0x1301c4, _0x41f8ad, _0x4c4201);
375
+ }, "BPMzo": "2.0" }, _0x1057cb = _0x27dc5c[_0x2a7d93(322)];
376
+ _0x27dc5c[_0x70caed(322)] = async (_0x2e41e0, _0x2c3def) => {
300
377
  var _a;
301
- const _0x513b0a = _0x533450, _0xe10537 = _0x3e74a3, { id: _0x4955fa, method: _0x3361f4 } = _0x4d391e;
378
+ const _0x4571c5 = _0x2a7d93, _0x3d02b1 = _0x2a7d93, { id: _0x4f5e54, method: _0x3c76bd } = _0x2e41e0;
302
379
  try {
303
- _0x3fefbe["RIfGB"](_0x3361f4, _0x513b0a(570)) ? await _0x36fd14["call"](_0x3bcefc, _0x4d391e, _0x4d79ed) : await forwardServerRequest(_0x3bcefc, _0x2d77e1, _0x4d391e);
304
- } catch (_0x35e44a) {
305
- const { code: _0x344cb7, message: _0x380b86, data: _0x124ec3 } = _0x35e44a;
380
+ _0x3c76bd === _0x48a546[_0x4571c5(277)] ? await _0x1057cb[_0x4571c5(264)](_0x27dc5c, _0x2e41e0, _0x2c3def) : await _0x48a546[_0x4571c5(302)](forwardServerRequest, _0x27dc5c, _0x568fc4, _0x2e41e0);
381
+ } catch (_0x5006ec) {
382
+ const { code: _0x2407e9, message: _0x5aed23, data: _0x40147e } = _0x5006ec;
306
383
  try {
307
- const _0xca4a58 = {};
308
- _0xca4a58[_0xe10537(562)] = _0x344cb7, _0xca4a58["message"] = _0x380b86, _0xca4a58[_0x513b0a(522)] = _0x124ec3;
309
- const _0x146aad = {};
310
- _0x146aad[_0x513b0a(564)] = _0xca4a58, _0x146aad[_0xe10537(526)] = _0x3fefbe["VCkWK"], _0x146aad["id"] = _0x4955fa, await ((_a = _0x3bcefc == null ? void 0 : _0x3bcefc[_0x513b0a(559)]) == null ? void 0 : _a[_0xe10537(510)](_0x146aad));
384
+ const _0x8d37fc = {};
385
+ _0x8d37fc[_0x4571c5(295)] = _0x2407e9, _0x8d37fc["message"] = _0x5aed23, _0x8d37fc[_0x4571c5(315)] = _0x40147e;
386
+ const _0x4de494 = {};
387
+ _0x4de494[_0x3d02b1(259)] = _0x8d37fc, _0x4de494[_0x4571c5(321)] = _0x48a546["BPMzo"], _0x4de494["id"] = _0x4f5e54, await ((_a = _0x27dc5c == null ? void 0 : _0x27dc5c[_0x3d02b1(314)]) == null ? void 0 : _a[_0x4571c5(300)](_0x4de494));
311
388
  } catch {
312
389
  }
313
390
  }
314
391
  };
315
392
  };
316
- const forwardServerOnNotification = (_0x41cd8d, _0x265ecf) => {
317
- const _0x50de8d = _0x2505, _0x1a5c0b = {};
318
- _0x1a5c0b["FIaQk"] = function(_0xf0095d, _0x1b50c9) {
319
- return _0xf0095d !== _0x1b50c9;
320
- }, _0x1a5c0b["HvPyq"] = _0x50de8d(560), _0x1a5c0b["ttwxP"] = function(_0x3e64a1, _0x46226e) {
321
- return _0x3e64a1 !== _0x46226e;
322
- }, _0x1a5c0b["BnIzv"] = "notifications/cancelled";
323
- const _0x505d34 = _0x1a5c0b;
324
- _0x41cd8d["_onnotification"] = async (_0x36071e) => {
325
- const _0x1a7287 = _0x50de8d, { method: _0x8c144a, params: _0x4f2043 } = _0x36071e;
326
- if (_0x505d34[_0x1a7287(561)](_0x8c144a, _0x505d34["HvPyq"]) && (_0x505d34[_0x1a7287(550)](_0x8c144a, _0x505d34["BnIzv"]) || (_0x4f2043 == null ? void 0 : _0x4f2043[_0x1a7287(557)]))) try {
327
- await _0x265ecf[_0x1a7287(558)](_0x36071e);
393
+ function _0x5ce7() {
394
+ const _0x2adf5a = ["jQOHt", "logging/setLevel", "9148050QavroF", "addResponseListener", "DKcdb", "resources/read", "2dhabXO", "notifications/cancelled", "error", "unsubscribeResource", "zAPVJ", "taVWl", "tPJej", "call", "fallbackRequestHandler", "ClDpH", "resources/templates/list", "wFRTc", "STkQf", "HJWCi", "9HsXPHL", "EteND", "notifications/progress", "abort", "KRjHw", "MHdLd", "uakTp", "initialize", "1592OvFQRg", "roots/list", "24485730fwSTLx", "clearNotificationListener", "495382ohHKQU", "function", "request", "listResources", "params", "KfGLt", "complete", "5554650asvKKt", "vAQOh", "qGHPg", "callTool", "level", "code", "tools/call", "removeResponseListener", "3707892TeWMjJ", "clear", "send", "FqNTf", "PRkoG", "LyVnY", "length", "completion/complete", "tools/list", "ChEvV", "method", "prompts/list", "jatfb", "fEKFh", "gUByd", "9079gFgwwb", "transport", "data", "YbuGL", "listResourceTemplates", "handleListener", "ping", "UARSo", "jsonrpc", "_onrequest", "removeNotificationListener", "lsGQt", "kQNzn", "4359700wMGLtX", "addRequestListener", "Dplaa", "clearListener", "_requestHandlerAbortControllers", "2.0", "addNotificationListener", "push", "AroLw", "message"];
395
+ _0x5ce7 = function() {
396
+ return _0x2adf5a;
397
+ };
398
+ return _0x5ce7();
399
+ }
400
+ const forwardServerOnNotification = (_0x5f3aac, _0x2bdcd5) => {
401
+ const _0xb4015b = _0x389e, _0x4424e2 = _0x389e, _0x3faa0b = {};
402
+ _0x3faa0b["LyVnY"] = function(_0x5a2961, _0x19fff8) {
403
+ return _0x5a2961 !== _0x19fff8;
404
+ }, _0x3faa0b[_0xb4015b(249)] = "notifications/initialized", _0x3faa0b[_0x4424e2(311)] = "notifications/cancelled";
405
+ const _0x12d3ea = _0x3faa0b;
406
+ _0x5f3aac["_onnotification"] = async (_0x658a8d) => {
407
+ const _0x194fa4 = _0xb4015b, _0xd3ef49 = _0xb4015b, { method: _0x4bf9c9, params: _0x261f04 } = _0x658a8d;
408
+ if (_0x12d3ea[_0x194fa4(303)](_0x4bf9c9, _0x12d3ea[_0xd3ef49(249)]) && (_0x4bf9c9 !== _0x12d3ea[_0x194fa4(311)] || (_0x261f04 == null ? void 0 : _0x261f04["forward"]))) try {
409
+ await _0x2bdcd5["notification"](_0x658a8d);
328
410
  } catch {
329
411
  }
330
412
  };
331
413
  };
332
- const forwardClientOnRequest = (_0x3c2e90, _0x2f701d) => async (_0x1d519e) => {
414
+ const forwardClientOnRequest = (_0x34be45, _0x27f842) => async (_0x4571ee) => {
333
415
  var _a;
334
- const _0x217032 = _0x2505, _0x277ed3 = _0x2505, _0x377f5c = { "NxDKo": function(_0x1452b7, _0x4b1b25, _0x5ca272, _0x3bf558) {
335
- return _0x1452b7(_0x4b1b25, _0x5ca272, _0x3bf558);
336
- }, "lFYcT": _0x217032(556) };
416
+ const _0x35bbc3 = _0x389e, _0xd5ee3e = _0x389e, _0x2c60e8 = {};
417
+ _0x2c60e8[_0x35bbc3(292)] = "2.0";
418
+ const _0x1a394c = _0x2c60e8;
337
419
  try {
338
- await _0x377f5c[_0x277ed3(537)](forwardClientRequest, _0x3c2e90, _0x2f701d, _0x1d519e);
339
- } catch (_0x1cbf70) {
340
- const { code: _0x52e1cf, message: _0x4ba07a, data: _0x3ad80d } = _0x1cbf70;
420
+ await forwardClientRequest(_0x34be45, _0x27f842, _0x4571ee);
421
+ } catch (_0x4b58a8) {
422
+ const { code: _0x3b52be, message: _0x43e67e, data: _0x460c24 } = _0x4b58a8;
341
423
  try {
342
- const _0x4ad807 = {};
343
- _0x4ad807["code"] = _0x52e1cf, _0x4ad807["message"] = _0x4ba07a, _0x4ad807["data"] = _0x3ad80d;
344
- const _0x4ee658 = {};
345
- _0x4ee658["error"] = _0x4ad807, _0x4ee658["jsonrpc"] = _0x377f5c["lFYcT"], _0x4ee658["id"] = _0x1d519e["id"], await ((_a = _0x3c2e90 == null ? void 0 : _0x3c2e90["transport"]) == null ? void 0 : _a["send"](_0x4ee658));
424
+ const _0x586af5 = {};
425
+ _0x586af5["code"] = _0x3b52be, _0x586af5[_0xd5ee3e(250)] = _0x43e67e, _0x586af5["data"] = _0x460c24;
426
+ const _0x3002ef = {};
427
+ _0x3002ef[_0x35bbc3(259)] = _0x586af5, _0x3002ef["jsonrpc"] = _0x1a394c[_0x35bbc3(292)], _0x3002ef["id"] = _0x4571ee["id"], await ((_a = _0x34be45 == null ? void 0 : _0x34be45[_0xd5ee3e(314)]) == null ? void 0 : _a["send"](_0x3002ef));
346
428
  } catch {
347
429
  }
348
430
  }
349
431
  };
350
- function _0x121e() {
351
- const _0x46f9a8 = ["QnoRv", "clearRequestListener", "qnXFU", "899444cSrcoy", "KCjOY", "data", "plQTK", "message", "removeResponseListener", "jsonrpc", "removeNotificationListener", "splice", "listResources", "4057200NoxLRd", "addRequestListener", "indexOf", "_requestHandlers", "removeRequestListener", "_onrequest", "YKzMy", "NxDKo", "JyVOL", "removeListener", "EgAGg", "fallbackNotificationHandler", "1140200iNCvOR", "request", "requestId", "ping", "36frshse", "sUiAm", "length", "resources/list", "ttwxP", "_onresponse", "clear", "tools/list", "_requestHandlerAbortControllers", "sampling/createMessage", "2.0", "forward", "notification", "transport", "notifications/initialized", "FIaQk", "code", "UTvQF", "error", "jNPfh", "resources/subscribe", "oCGVq", "call", "wSjoE", "initialize", "addNotificationListener", "prompts/get", "857979dxoiPm", "103735RlcXjK", "MQceu", "includes", "function", "YoDTH", "notifications/progress", "EvJXI", "1645874ftABRG", "zZbJg", "prompts/list", "FNONA", "clearNotificationListener", "listPrompts", "WVxAR", "result", "JPeTF", "xwSrw", "method", "send", "resources/unsubscribe", "14998560dCfamG", "callTool", "resources/read", "XrCOE", "CZiCJ"];
352
- _0x121e = function() {
353
- return _0x46f9a8;
354
- };
355
- return _0x121e();
356
- }
357
- const forwardClientOnNotification = (_0x446a5b) => async (_0x46fb22) => {
432
+ const forwardClientOnNotification = (_0x4cb45e) => async (_0x158ed6) => {
358
433
  var _a;
359
- const _0x5a6118 = _0x2505, _0x2dde34 = _0x2505, _0x4d6d77 = {};
360
- _0x4d6d77[_0x5a6118(507)] = function(_0x205a2d, _0x59a19f) {
361
- return _0x205a2d !== _0x59a19f;
362
- }, _0x4d6d77["znUGw"] = "notifications/initialized", _0x4d6d77[_0x5a6118(521)] = "notifications/cancelled", _0x4d6d77["BuErD"] = "2.0";
363
- const _0x216f1a = _0x4d6d77, { method: _0x1bb731, params: _0x4223f2 } = _0x46fb22;
364
- if (_0x216f1a["JPeTF"](_0x1bb731, _0x216f1a["znUGw"]) && (_0x216f1a[_0x2dde34(507)](_0x1bb731, _0x216f1a[_0x5a6118(521)]) || (_0x4223f2 == null ? void 0 : _0x4223f2[_0x2dde34(557)]))) try {
365
- const _0x60d97c = { ..._0x46fb22 };
366
- _0x60d97c[_0x5a6118(526)] = _0x216f1a["BuErD"], await ((_a = _0x446a5b == null ? void 0 : _0x446a5b[_0x2dde34(559)]) == null ? void 0 : _a["send"](_0x60d97c));
434
+ const _0x5fdd9d = _0x389e, _0x448197 = _0x389e, _0x235af7 = {};
435
+ _0x235af7["jQOHt"] = "notifications/initialized", _0x235af7[_0x5fdd9d(310)] = function(_0x38778c, _0x48cd24) {
436
+ return _0x38778c !== _0x48cd24;
437
+ }, _0x235af7[_0x5fdd9d(262)] = _0x448197(258);
438
+ const _0x394d84 = _0x235af7, { method: _0x35ccf1, params: _0x19894a } = _0x158ed6;
439
+ if (_0x35ccf1 !== _0x394d84[_0x448197(251)] && (_0x394d84[_0x5fdd9d(310)](_0x35ccf1, _0x394d84[_0x5fdd9d(262)]) || (_0x19894a == null ? void 0 : _0x19894a["forward"]))) try {
440
+ const _0x583913 = { ..._0x158ed6 };
441
+ _0x583913["jsonrpc"] = _0x5fdd9d(246), await ((_a = _0x4cb45e == null ? void 0 : _0x4cb45e["transport"]) == null ? void 0 : _a["send"](_0x583913));
367
442
  } catch {
368
443
  }
369
444
  };
370
- function _0x2505(_0x2a247e, _0x293fd7) {
371
- const _0x4c22d5 = _0x121e();
372
- return _0x2505 = function(_0x32c3f5, _0x1eaa0e) {
373
- _0x32c3f5 = _0x32c3f5 - (-6150 + -7351 + 13992);
374
- let _0x2c4211 = _0x4c22d5[_0x32c3f5];
375
- return _0x2c4211;
376
- }, _0x2505(_0x2a247e, _0x293fd7);
377
- }
378
- const forwardClientOnResponse = (_0x47530c, _0x37a01b) => async (_0x5aa8f0) => {
445
+ const forwardClientOnResponse = (_0x49b3ee, _0x1bcb55) => async (_0x20fe15) => {
379
446
  var _a, _b;
380
- const _0x1339b6 = _0x2505, _0x3fdf21 = _0x2505, _0x421b37 = {};
381
- _0x421b37[_0x1339b6(496)] = "2.0";
382
- const _0x11f4d8 = _0x421b37;
447
+ const _0x2d3103 = _0x389e, _0x16f509 = _0x389e, _0x1074b0 = {};
448
+ _0x1074b0["vxoaP"] = _0x2d3103(246);
449
+ const _0x4af8a2 = _0x1074b0;
383
450
  try {
384
- await ((_a = _0x37a01b == null ? void 0 : _0x37a01b[_0x3fdf21(559)]) == null ? void 0 : _a["send"](_0x5aa8f0));
385
- } catch (_0x4b7d02) {
386
- const { code: _0x1cf529, message: _0x45c973, data: _0x1a6ea7 } = _0x4b7d02;
451
+ await ((_a = _0x1bcb55 == null ? void 0 : _0x1bcb55["transport"]) == null ? void 0 : _a["send"](_0x20fe15));
452
+ } catch (_0x4dbf02) {
453
+ const { code: _0x3adf06, message: _0x2d3c7b, data: _0x2756ac } = _0x4dbf02;
387
454
  try {
388
- const _0x49ded7 = {};
389
- _0x49ded7[_0x3fdf21(562)] = _0x1cf529, _0x49ded7[_0x3fdf21(524)] = _0x45c973, _0x49ded7[_0x3fdf21(522)] = _0x1a6ea7;
390
- const _0x525b8b = {};
391
- _0x525b8b[_0x1339b6(564)] = _0x49ded7, _0x525b8b[_0x1339b6(526)] = _0x11f4d8["YoDTH"], _0x525b8b["id"] = _0x5aa8f0["id"], await ((_b = _0x47530c == null ? void 0 : _0x47530c[_0x1339b6(559)]) == null ? void 0 : _b["send"](_0x525b8b));
455
+ const _0x801073 = {};
456
+ _0x801073[_0x16f509(295)] = _0x3adf06, _0x801073["message"] = _0x2d3c7b, _0x801073[_0x2d3103(315)] = _0x2756ac;
457
+ const _0x25a81c = {};
458
+ _0x25a81c[_0x2d3103(259)] = _0x801073, _0x25a81c["jsonrpc"] = _0x4af8a2["vxoaP"], _0x25a81c["id"] = _0x20fe15["id"], await ((_b = _0x49b3ee == null ? void 0 : _0x49b3ee[_0x16f509(314)]) == null ? void 0 : _b["send"](_0x25a81c));
392
459
  } catch {
393
460
  }
394
461
  }
395
462
  };
396
463
  const createHandleListener = () => {
397
- const _0x5ec856 = _0x2505, _0xed832f = { "jNPfh": function(_0x5e2521, _0x37e2b4) {
398
- return _0x5e2521(_0x37e2b4);
399
- }, "sUiAm": function(_0x26cbf5, _0x3ba75c) {
400
- return _0x26cbf5 instanceof _0x3ba75c;
401
- }, "bwDgD": function(_0x3ea511, _0x1a9bd9) {
402
- return _0x3ea511 === _0x1a9bd9;
403
- }, "qnXFU": _0x5ec856(495), "xiLRE": function(_0x590996, _0x571ccd) {
404
- return _0x590996 !== _0x571ccd;
405
- } }, _0x4a073a = [], _0x51d460 = (_0x161731) => {
406
- const _0x50a6e9 = _0x5ec856, _0x1f14f0 = [..._0x4a073a];
407
- let _0x1d568f;
408
- for (const _0x575c17 of _0x1f14f0) {
464
+ const _0x14f631 = _0x389e, _0x4676c6 = { "REOpj": function(_0x4198da, _0x5d67ce) {
465
+ return _0x4198da(_0x5d67ce);
466
+ }, "UARSo": function(_0x27912a, _0x2a191a) {
467
+ return _0x27912a === _0x2a191a;
468
+ }, "wFRTc": "function", "cboFW": function(_0x37ca4b, _0x1bdaa1) {
469
+ return _0x37ca4b !== _0x1bdaa1;
470
+ } }, _0x3d4a8e = [], _0x130821 = (_0x1334da) => {
471
+ const _0x233d74 = [..._0x3d4a8e];
472
+ let _0x19903a;
473
+ for (const _0x59d78f of _0x233d74) {
409
474
  try {
410
- _0x1d568f = _0xed832f[_0x50a6e9(565)](_0x575c17, _0x161731);
475
+ _0x19903a = _0x4676c6["REOpj"](_0x59d78f, _0x1334da);
411
476
  } catch {
412
477
  }
413
478
  }
414
- if (!_0xed832f[_0x50a6e9(547)](_0x1d568f, Promise)) return _0x1d568f;
415
- }, _0x487df = (_0x322676) => {
416
- const _0x49186e = _0x5ec856, _0x5e6d39 = _0x5ec856;
417
- _0xed832f["bwDgD"](typeof _0x322676, _0xed832f[_0x49186e(519)]) && !_0x4a073a[_0x5e6d39(494)](_0x322676) && _0x4a073a["push"](_0x322676);
418
- }, _0x391070 = (_0x30009f) => {
419
- const _0x47d903 = _0x5ec856, _0x20d6f5 = _0x5ec856, _0x40268a = _0x4a073a[_0x47d903(532)](_0x30009f);
420
- _0xed832f["xiLRE"](_0x40268a, -1) && _0x4a073a[_0x20d6f5(528)](_0x40268a, -3316 * -3 + -8169 * -1 + 4529 * -4);
421
- }, _0x79c954 = () => {
422
- const _0x4f4712 = _0x5ec856;
423
- _0x4a073a[_0x4f4712(548)] = 2796 + 381 * 3 + -303 * 13;
424
- }, _0x46f21f = {};
425
- return _0x46f21f["handleListener"] = _0x51d460, _0x46f21f["addListener"] = _0x487df, _0x46f21f[_0x5ec856(539)] = _0x391070, _0x46f21f["clearListener"] = _0x79c954, _0x46f21f;
426
- }, setClientListener = (_0x15b341) => {
427
- const _0x46f01b = _0x2505, _0x53b906 = _0x2505, _0x317ad4 = { "EvJXI": function(_0x32a051) {
428
- return _0x32a051();
479
+ if (!(_0x19903a instanceof Promise)) return _0x19903a;
480
+ }, _0x1c4719 = (_0x6a094d) => {
481
+ const _0x5c27b3 = _0x389e, _0x373d85 = _0x389e;
482
+ _0x4676c6[_0x5c27b3(320)](typeof _0x6a094d, _0x4676c6[_0x373d85(268)]) && !_0x3d4a8e["includes"](_0x6a094d) && _0x3d4a8e[_0x373d85(248)](_0x6a094d);
483
+ }, _0x52815b = (_0x5cb516) => {
484
+ const _0x2a4330 = _0x3d4a8e["indexOf"](_0x5cb516);
485
+ _0x4676c6["cboFW"](_0x2a4330, -1) && _0x3d4a8e["splice"](_0x2a4330, -241 * 1 + 321 * -6 + 2168);
486
+ }, _0x3eda68 = () => {
487
+ const _0x532f40 = _0x389e;
488
+ _0x3d4a8e[_0x532f40(304)] = -459 * 21 + 2 * -2763 + 1011 * 15;
489
+ }, _0x1f3623 = {};
490
+ return _0x1f3623[_0x14f631(318)] = _0x130821, _0x1f3623["addListener"] = _0x1c4719, _0x1f3623["removeListener"] = _0x52815b, _0x1f3623[_0x14f631(244)] = _0x3eda68, _0x1f3623;
491
+ }, setClientListener = (_0xa67e25) => {
492
+ const _0x3c676a = _0x389e, _0x107291 = _0x389e, _0x45201d = { "Dplaa": function(_0x427539) {
493
+ return _0x427539();
494
+ }, "KfGLt": function(_0x348224) {
495
+ return _0x348224();
429
496
  } };
430
497
  {
431
- const { handleListener: _0x3e5291, addListener: _0x1f1d09, removeListener: _0x45fb1e, clearListener: _0x4383d9 } = createHandleListener();
432
- _0x15b341[_0x46f01b(551)] = _0x3e5291, _0x15b341["addResponseListener"] = _0x1f1d09, _0x15b341[_0x46f01b(525)] = _0x45fb1e, _0x15b341["clearResponseListener"] = _0x4383d9;
498
+ const { handleListener: _0x116e1d, addListener: _0x1edd51, removeListener: _0x1623d8, clearListener: _0x160253 } = createHandleListener();
499
+ _0xa67e25["_onresponse"] = _0x116e1d, _0xa67e25["addResponseListener"] = _0x1edd51, _0xa67e25[_0x3c676a(297)] = _0x1623d8, _0xa67e25["clearResponseListener"] = _0x160253;
433
500
  }
434
501
  {
435
- const { handleListener: _0x224cd3, addListener: _0x46126e, removeListener: _0x40e5ed, clearListener: _0x2fc1cd } = _0x317ad4[_0x46f01b(498)](createHandleListener);
436
- _0x15b341["fallbackRequestHandler"] = _0x224cd3, _0x15b341[_0x46f01b(531)] = _0x46126e, _0x15b341[_0x53b906(534)] = _0x40e5ed, _0x15b341[_0x53b906(518)] = _0x2fc1cd;
502
+ const { handleListener: _0x3ef79d, addListener: _0x36d9e5, removeListener: _0x1fcb7b, clearListener: _0x10ea28 } = _0x45201d[_0x3c676a(243)](createHandleListener);
503
+ _0xa67e25[_0x3c676a(265)] = _0x3ef79d, _0xa67e25[_0x107291(242)] = _0x36d9e5, _0xa67e25["removeRequestListener"] = _0x1fcb7b, _0xa67e25["clearRequestListener"] = _0x10ea28;
437
504
  }
438
505
  {
439
- const { handleListener: _0x285644, addListener: _0x18387b, removeListener: _0x1750ec, clearListener: _0x3b3cb6 } = createHandleListener();
440
- _0x15b341[_0x53b906(541)] = _0x285644, _0x15b341["addNotificationListener"] = _0x18387b, _0x15b341[_0x46f01b(527)] = _0x1750ec, _0x15b341[_0x46f01b(503)] = _0x3b3cb6;
506
+ const { handleListener: _0x21759f, addListener: _0x1a2b9d, removeListener: _0x283abb, clearListener: _0xf93403 } = _0x45201d[_0x107291(288)](createHandleListener);
507
+ _0xa67e25["fallbackNotificationHandler"] = _0x21759f, _0xa67e25[_0x107291(247)] = _0x1a2b9d, _0xa67e25[_0x107291(323)] = _0x283abb, _0xa67e25[_0x3c676a(282)] = _0xf93403;
441
508
  }
442
509
  };
443
- const initClientHandler = (_0x34e9fd, _0x33dfea, { beforeInit: _0x577b68, afterInit: _0x4cc035 } = {}) => {
444
- const _0x1fe2bf = _0x2505, _0x501a46 = _0x2505, _0x27d4dd = { "GIvCU": function(_0x1c5e5e, _0x1ca685) {
445
- return _0x1c5e5e === _0x1ca685;
446
- }, "UTvQF": _0x1fe2bf(545), "gBQkp": function(_0x148ab0, _0xb4c000) {
447
- return _0x148ab0 === _0xb4c000;
448
- }, "zZbJg": "notifications/cancelled", "wSjoE": _0x1fe2bf(497), "juXOO": function(_0x265ede, _0x2fa8ac) {
449
- return _0x265ede === _0x2fa8ac;
450
- }, "YKzMy": "function", "Oakcf": function(_0x6775c6, _0xf1d9ca) {
451
- return _0x6775c6(_0xf1d9ca);
452
- }, "plQTK": function(_0xb205ff, _0x19bfa5) {
453
- return _0xb205ff === _0x19bfa5;
454
- }, "RZRLs": function(_0x4d783a) {
455
- return _0x4d783a();
510
+ const initClientHandler = (_0x434b5f, _0x238cde, { beforeInit: _0xaa72ce, afterInit: _0x471e82 } = {}) => {
511
+ const _0x35c179 = _0x389e, _0x39ff3e = _0x389e, _0x371c24 = { "ChEvV": function(_0x21d19c, _0x7715f7) {
512
+ return _0x21d19c === _0x7715f7;
513
+ }, "YbuGL": _0x35c179(319), "FqNTf": function(_0x37a6ab, _0x3c89f5) {
514
+ return _0x37a6ab === _0x3c89f5;
515
+ }, "WUrMn": _0x35c179(284), "vAQOh": function(_0x5ad5c3) {
516
+ return _0x5ad5c3();
517
+ }, "DiIVP": function(_0x20ef27, _0x3c47bc) {
518
+ return _0x20ef27(_0x3c47bc);
519
+ }, "ArGZD": function(_0x374747, _0x4ae463) {
520
+ return _0x374747 === _0x4ae463;
456
521
  } };
457
- _0x34e9fd[_0x501a46(533)][_0x1fe2bf(552)](), _0x34e9fd["_notificationHandlers"][_0x501a46(552)]();
458
- _0x27d4dd["juXOO"](typeof _0x577b68, _0x27d4dd[_0x501a46(536)]) && _0x577b68();
459
- const _0x3e7e05 = _0x34e9fd["_onresponse"];
460
- _0x27d4dd["Oakcf"](setClientListener, _0x34e9fd), _0x34e9fd["addResponseListener"]((_0xf2db43) => {
461
- const _0x38b842 = _0x1fe2bf;
462
- _0x3e7e05[_0x38b842(568)](_0x34e9fd, _0xf2db43);
463
- }), _0x34e9fd[_0x501a46(531)]((_0x1f047c) => {
464
- const _0x107a2a = _0x1fe2bf, { method: _0x174d42 } = _0x1f047c;
465
- if (_0x27d4dd["GIvCU"](_0x174d42, _0x27d4dd[_0x107a2a(563)])) return {};
466
- }), _0x34e9fd[_0x501a46(571)]((_0x1f8190) => {
467
- const _0x2174c5 = _0x1fe2bf, _0x2019f3 = _0x1fe2bf, { method: _0x3e718d, params: _0x4969f8 } = _0x1f8190;
468
- if (_0x27d4dd["gBQkp"](_0x3e718d, _0x27d4dd[_0x2174c5(500)])) {
469
- const _0x15c927 = _0x34e9fd[_0x2174c5(554)]["get"](_0x4969f8[_0x2019f3(544)]);
470
- _0x15c927 == null ? void 0 : _0x15c927["abort"](_0x4969f8 == null ? void 0 : _0x4969f8["reason"]);
471
- } else _0x27d4dd["GIvCU"](_0x3e718d, _0x27d4dd[_0x2174c5(569)]) && _0x34e9fd["_onprogress"](_0x1f8190);
472
- }), _0x27d4dd[_0x1fe2bf(523)](typeof _0x4cc035, _0x27d4dd["YKzMy"]) && _0x27d4dd["RZRLs"](_0x4cc035);
522
+ _0x434b5f["_requestHandlers"][_0x35c179(299)](), _0x434b5f["_notificationHandlers"]["clear"]();
523
+ typeof _0xaa72ce === _0x371c24["WUrMn"] && _0x371c24[_0x35c179(291)](_0xaa72ce);
524
+ const _0x2504f2 = _0x434b5f["_onresponse"];
525
+ _0x371c24["DiIVP"](setClientListener, _0x434b5f), _0x434b5f[_0x35c179(254)]((_0x2b1c87) => {
526
+ _0x2504f2["call"](_0x434b5f, _0x2b1c87);
527
+ }), _0x434b5f[_0x35c179(242)]((_0x2fa87a) => {
528
+ const _0xd40917 = _0x35c179, { method: _0x48e479 } = _0x2fa87a;
529
+ if (_0x371c24[_0xd40917(307)](_0x48e479, _0x371c24[_0xd40917(316)])) return {};
530
+ }), _0x434b5f["addNotificationListener"]((_0x16f826) => {
531
+ const _0x4ffb37 = _0x35c179, _0x544f53 = _0x39ff3e, { method: _0x1aefd7, params: _0x4e9a46 } = _0x16f826;
532
+ if (_0x371c24[_0x4ffb37(301)](_0x1aefd7, _0x4ffb37(258))) {
533
+ const _0x225a74 = _0x434b5f[_0x544f53(245)]["get"](_0x4e9a46["requestId"]);
534
+ _0x225a74 == null ? void 0 : _0x225a74[_0x4ffb37(274)](_0x4e9a46 == null ? void 0 : _0x4e9a46["reason"]);
535
+ } else _0x1aefd7 === _0x4ffb37(273) && _0x434b5f["_onprogress"](_0x16f826);
536
+ }), _0x371c24["ArGZD"](typeof _0x471e82, _0x371c24["WUrMn"]) && _0x471e82();
473
537
  };
474
- function _0x48d9(_0x422fde, _0x5e89e2) {
475
- const _0x18f8ea = _0x4558();
476
- return _0x48d9 = function(_0x188d91, _0x1edf57) {
477
- _0x188d91 = _0x188d91 - (131 * 70 + -9508 + 568);
478
- let _0x21a758 = _0x18f8ea[_0x188d91];
479
- return _0x21a758;
480
- }, _0x48d9(_0x422fde, _0x5e89e2);
481
- }
482
- (function(_0x5b764e, _0x5906dd) {
483
- const _0x674558 = _0x48d9, _0x341b9d = _0x48d9, _0x175944 = _0x5b764e();
538
+ (function(_0x3a51f9, _0x27e9aa) {
539
+ const _0x213d97 = _0x3f42, _0x226132 = _0x3f42, _0x1ff3f6 = _0x3a51f9();
484
540
  while (!![]) {
485
541
  try {
486
- const _0x407d68 = parseInt(_0x674558(237)) / (8427 + -11 + -8415) + -parseInt(_0x341b9d(253)) / (-2 * 1092 + -2643 + 4829) + -parseInt(_0x674558(254)) / (-677 * -9 + 5011 + -11101 * 1) + parseInt(_0x674558(243)) / (-1 * -8898 + 9 * -655 + -2999) + parseInt(_0x341b9d(256)) / (433 * 11 + 3291 + -8049) + -parseInt(_0x674558(246)) / (-2037 + 1190 + 853) * (parseInt(_0x341b9d(263)) / (3274 + 8578 + -1 * 11845)) + -parseInt(_0x341b9d(232)) / (1057 * 2 + 6267 + -8373) * (-parseInt(_0x674558(245)) / (1 * 4859 + -2815 + -2035));
487
- if (_0x407d68 === _0x5906dd) break;
488
- else _0x175944["push"](_0x175944["shift"]());
489
- } catch (_0x233169) {
490
- _0x175944["push"](_0x175944["shift"]());
542
+ const _0x447c57 = -parseInt(_0x213d97(286)) / (-3985 + 1 * -4629 + 8615) * (parseInt(_0x226132(296)) / (17 * -391 + 4980 + 1 * 1669)) + -parseInt(_0x213d97(283)) / (-6963 + 41 * 164 + -2 * -121) + parseInt(_0x213d97(306)) / (1 * -1137 + -3846 + 4987 * 1) * (-parseInt(_0x226132(285)) / (-1 * -1649 + -4259 + -1 * -2615)) + -parseInt(_0x213d97(305)) / (124 * 63 + 9811 + -17617) + -parseInt(_0x213d97(317)) / (-1 * -265 + 5846 + -6104) * (parseInt(_0x226132(318)) / (22 * -389 + 9648 + -541 * 2)) + parseInt(_0x226132(308)) / (-5 * 804 + 9632 + -5603 * 1) * (parseInt(_0x226132(304)) / (3 * 2927 + -753 + -211 * 38)) + -parseInt(_0x226132(292)) / (21 * 133 + -8233 * -1 + -1 * 11015) * (-parseInt(_0x213d97(314)) / (-7685 + -879 + -8 * -1072));
543
+ if (_0x447c57 === _0x27e9aa) break;
544
+ else _0x1ff3f6["push"](_0x1ff3f6["shift"]());
545
+ } catch (_0x52210d) {
546
+ _0x1ff3f6["push"](_0x1ff3f6["shift"]());
491
547
  }
492
548
  }
493
- })(_0x4558, -53 * -5517 + 836908 + -515009);
494
- function _0x4558() {
495
- const _0x3ca8f5 = ["tools", "1686916GKOOZL", "1324029mqirDX", "transport", "2562320rRDKSV", "WfSxF", "version", "removeRequestListener", "_eventSource", "BjBTm", "capabilities", "14RIYrlP", "removeNotificationListener", "YWlXb", "7900344vbZBcV", "KiSER", "qOneS", "mdlZU", "sampling", "1059556jLmWcy", "GWClL", "utrpt", "HSYjk", "name", "VxDUw", "300184qMFknc", "afterInit", "9zwfBBh", "2206524wuGggC", "1.0.0", "onclose", "resources", "yEFmj", "roots"];
496
- _0x4558 = function() {
497
- return _0x3ca8f5;
498
- };
499
- return _0x4558();
549
+ })(_0x40c7, 73514 + -9970 * -20 + 69651);
550
+ function _0x3f42(_0x38f123, _0x4c4a41) {
551
+ const _0x4c6b28 = _0x40c7();
552
+ return _0x3f42 = function(_0x8f66f0, _0x107472) {
553
+ _0x8f66f0 = _0x8f66f0 - (-5350 * -1 + -4 * 662 + 2420 * -1);
554
+ let _0x2c4baf = _0x4c6b28[_0x8f66f0];
555
+ return _0x2c4baf;
556
+ }, _0x3f42(_0x38f123, _0x4c4a41);
500
557
  }
501
- const forwardProxyClient = (_0x3f9b1c, _0x308f31) => {
502
- const _0x2825a8 = _0x48d9, _0x1f32ae = _0x48d9, _0x29ffe7 = { "WfSxF": function(_0x234725, _0x6c69d1, _0x525b81) {
503
- return _0x234725(_0x6c69d1, _0x525b81);
504
- }, "utrpt": function(_0x150254, _0x5d8074, _0x3dd1e2) {
505
- return _0x150254(_0x5d8074, _0x3dd1e2);
506
- }, "qOneS": function(_0x516860, _0x574cc4) {
507
- return _0x516860(_0x574cc4);
558
+ const forwardProxyClient = (_0x3ffec4, _0x512b11) => {
559
+ const _0x869d7 = _0x3f42, _0x585eb4 = _0x3f42, _0x177126 = { "wtkds": function(_0x5a4977, _0x2b1bf4, _0x4b88ef) {
560
+ return _0x5a4977(_0x2b1bf4, _0x4b88ef);
508
561
  } };
509
- _0x29ffe7[_0x2825a8(257)](forwardServerOnRequest, _0x3f9b1c, _0x308f31), _0x29ffe7[_0x2825a8(239)](forwardServerOnNotification, _0x3f9b1c, _0x308f31);
510
- const _0x130c1f = _0x29ffe7[_0x1f32ae(239)](forwardClientOnRequest, _0x308f31, _0x3f9b1c), _0x330f05 = forwardClientOnResponse(_0x308f31, _0x3f9b1c), _0x2b1e0e = _0x29ffe7[_0x2825a8(234)](forwardClientOnNotification, _0x3f9b1c);
511
- _0x308f31["addRequestListener"](_0x130c1f), _0x308f31["addResponseListener"](_0x330f05), _0x308f31["addNotificationListener"](_0x2b1e0e), _0x3f9b1c[_0x1f32ae(248)] = () => {
512
- const _0x53f402 = _0x1f32ae, _0x59b9f9 = _0x2825a8;
513
- _0x308f31[_0x53f402(259)](_0x130c1f), _0x308f31["removeResponseListener"](_0x330f05), _0x308f31[_0x59b9f9(230)](_0x2b1e0e);
562
+ _0x177126["wtkds"](forwardServerOnRequest, _0x3ffec4, _0x512b11), _0x177126[_0x869d7(310)](forwardServerOnNotification, _0x3ffec4, _0x512b11);
563
+ const _0x34aa96 = forwardClientOnRequest(_0x512b11, _0x3ffec4), _0xf28fb = _0x177126[_0x585eb4(310)](forwardClientOnResponse, _0x512b11, _0x3ffec4), _0x117a73 = forwardClientOnNotification(_0x3ffec4);
564
+ _0x512b11["addRequestListener"](_0x34aa96), _0x512b11["addResponseListener"](_0xf28fb), _0x512b11[_0x869d7(312)](_0x117a73), _0x3ffec4[_0x585eb4(321)] = () => {
565
+ const _0x599903 = _0x585eb4, _0x43399a = _0x585eb4;
566
+ _0x512b11[_0x599903(300)](_0x34aa96), _0x512b11["removeResponseListener"](_0xf28fb), _0x512b11[_0x43399a(299)](_0x117a73);
514
567
  };
515
- }, initWebClientHandler = (_0x3ae0ed, _0x5807ea) => {
516
- const _0x5b44e5 = _0x48d9, _0x49f035 = { "KiSER": function(_0x1e914d, _0x4fa171) {
517
- return _0x1e914d instanceof _0x4fa171;
518
- }, "BjBTm": "close", "VxDUw": function(_0x19024a, _0x133dc7, _0x27479d, _0x2d8fa0) {
519
- return _0x19024a(_0x133dc7, _0x27479d, _0x2d8fa0);
520
- } }, _0x3d80f4 = () => {
568
+ }, initWebClientHandler = (_0x395e7c, _0x46c4f2) => {
569
+ const _0x113deb = _0x3f42, _0x5c020f = _0x3f42, _0x2a8105 = { "pvctu": function(_0xebd8e4, _0x32c296) {
570
+ return _0xebd8e4 instanceof _0x32c296;
571
+ }, "Stdcb": _0x113deb(323), "MhUJa": function(_0x41cf16, _0xdefd83, _0x236512, _0x3d1937) {
572
+ return _0x41cf16(_0xdefd83, _0x236512, _0x3d1937);
573
+ } }, _0x38c7ec = () => {
521
574
  var _a;
522
- const _0x127116 = _0x48d9, _0x28c888 = _0x48d9;
523
- _0x49f035[_0x127116(233)](_0x5807ea, SSEClientTransport) && ((_a = _0x5807ea["_eventSource"]) == null ? void 0 : _a["addEventListener"](_0x49f035[_0x28c888(261)], () => {
575
+ const _0x11c915 = _0x113deb;
576
+ _0x2a8105["pvctu"](_0x46c4f2, SSEClientTransport) && ((_a = _0x46c4f2["_eventSource"]) == null ? void 0 : _a[_0x11c915(291)](_0x2a8105["Stdcb"], () => {
524
577
  var _a2;
525
- const _0x536ceb = _0x28c888;
526
- (_a2 = _0x5807ea[_0x536ceb(260)]) == null ? void 0 : _a2["close"]();
578
+ const _0xe9d09e = _0x11c915;
579
+ (_a2 = _0x46c4f2[_0xe9d09e(319)]) == null ? void 0 : _a2["close"]();
527
580
  }));
528
- }, _0x3286a5 = {};
529
- _0x3286a5[_0x5b44e5(244)] = _0x3d80f4, _0x49f035[_0x5b44e5(242)](initClientHandler, _0x3ae0ed, _0x5807ea, _0x3286a5);
581
+ }, _0x4db354 = {};
582
+ _0x4db354["afterInit"] = _0x38c7ec, _0x2a8105[_0x5c020f(298)](initClientHandler, _0x395e7c, _0x46c4f2, _0x4db354);
530
583
  };
531
- const createSseProxy = async (_0x1e447c) => {
532
- const _0x11a0d2 = _0x48d9, _0x398fef = _0x48d9, _0x3ca493 = { "OUQeA": function(_0x3b8c01, _0x10a015, _0x513a3d) {
533
- return _0x3b8c01(_0x10a015, _0x513a3d);
534
- }, "xuMjC": "mcp-sse-proxy-client", "YWlXb": _0x11a0d2(247), "ANZMj": function(_0x3cbf55, _0xb0e808, _0x1d98d5) {
535
- return _0x3cbf55(_0xb0e808, _0x1d98d5);
536
- } }, { client: _0x3bffad, url: _0xaae534, token: _0x2c6ea7, sessionId: _0x2b2814 } = _0x1e447c, _0x323f2d = _0x2b2814 || crypto["randomUUID"](), _0x14614e = new SSEClientTransport(new URL(_0xaae534), _0x3ca493["OUQeA"](sseOptions, _0x2c6ea7, _0x323f2d)), _0x26a716 = {};
537
- _0x26a716["listChanged"] = !![];
538
- const _0x56ea97 = {};
539
- _0x56ea97["prompts"] = {}, _0x56ea97[_0x398fef(249)] = {}, _0x56ea97["tools"] = {}, _0x56ea97["logging"] = {}, _0x56ea97[_0x398fef(251)] = _0x26a716, _0x56ea97[_0x11a0d2(236)] = {};
540
- const _0x1aeb70 = _0x56ea97, _0x50b289 = {};
541
- _0x50b289["name"] = _0x3ca493["xuMjC"], _0x50b289[_0x398fef(258)] = _0x3ca493[_0x11a0d2(231)];
542
- const _0x2a5d04 = {};
543
- _0x2a5d04[_0x11a0d2(262)] = _0x1aeb70;
544
- const _0x4ee01c = new Client(_0x50b289, _0x2a5d04);
545
- await _0x4ee01c["connect"](_0x14614e), _0x3ca493["ANZMj"](initWebClientHandler, _0x3bffad, _0x14614e), _0x3ca493["OUQeA"](forwardProxyClient, _0x4ee01c, _0x3bffad), _0x14614e["sessionId"] = _0x323f2d;
546
- const _0x2fc47f = {};
547
- return _0x2fc47f["transport"] = _0x14614e, _0x2fc47f["sessionId"] = _0x323f2d, _0x2fc47f;
584
+ const createSseProxy = async (_0x3476bd) => {
585
+ const _0x454b87 = _0x3f42, _0x45d35a = _0x3f42, _0x292cdb = { "fWZFK": function(_0x1a51fb) {
586
+ return _0x1a51fb();
587
+ }, "MHbif": function(_0x482437, _0x27e904, _0x1b9bd2) {
588
+ return _0x482437(_0x27e904, _0x1b9bd2);
589
+ }, "cGSyh": _0x454b87(284), "nAXtx": _0x45d35a(309), "NYETq": function(_0xbbe73a, _0x237ec4, _0x4b124c) {
590
+ return _0xbbe73a(_0x237ec4, _0x4b124c);
591
+ } }, { client: _0x2239f7, url: _0x4c8606, token: _0x184465, sessionId: _0x240bd1 } = _0x3476bd, _0xbd785d = _0x240bd1 || _0x292cdb["fWZFK"](generateUUID), _0x1ebb2c = new SSEClientTransport(new URL(_0x4c8606), _0x292cdb[_0x45d35a(290)](sseOptions, _0x184465, _0xbd785d)), _0x325a8a = {};
592
+ _0x325a8a[_0x454b87(316)] = !![];
593
+ const _0x1cedf0 = {};
594
+ _0x1cedf0["prompts"] = {}, _0x1cedf0[_0x45d35a(295)] = {}, _0x1cedf0[_0x45d35a(303)] = {}, _0x1cedf0[_0x45d35a(315)] = {}, _0x1cedf0[_0x454b87(288)] = _0x325a8a, _0x1cedf0["sampling"] = {};
595
+ const _0x3d4a35 = _0x1cedf0, _0x104240 = {};
596
+ _0x104240["name"] = _0x292cdb[_0x454b87(322)], _0x104240["version"] = _0x292cdb[_0x45d35a(302)];
597
+ const _0x5b7516 = {};
598
+ _0x5b7516["capabilities"] = _0x3d4a35;
599
+ const _0x2960cc = new Client(_0x104240, _0x5b7516);
600
+ await _0x2960cc["connect"](_0x1ebb2c), _0x292cdb[_0x45d35a(290)](initWebClientHandler, _0x2239f7, _0x1ebb2c), _0x292cdb["NYETq"](forwardProxyClient, _0x2960cc, _0x2239f7), _0x1ebb2c["sessionId"] = _0xbd785d;
601
+ const _0x13f204 = {};
602
+ return _0x13f204[_0x454b87(287)] = _0x1ebb2c, _0x13f204["sessionId"] = _0xbd785d, _0x13f204;
548
603
  };
549
- const createStreamProxy = async (_0x478e46) => {
550
- const _0x27de16 = _0x48d9, _0x560ccb = _0x48d9, _0x48b18d = { "HSYjk": function(_0x55844d, _0x8998a1, _0x300d90) {
551
- return _0x55844d(_0x8998a1, _0x300d90);
552
- }, "mdlZU": "mcp-stream-proxy-client", "yEFmj": "1.0.0", "GWClL": function(_0x4dfc29, _0x2d7a5b, _0x9e7f15) {
553
- return _0x4dfc29(_0x2d7a5b, _0x9e7f15);
554
- } }, { client: _0x3ce359, url: _0x50b5e5, token: _0x55ff91, sessionId: _0x399195 } = _0x478e46, _0x23ffd3 = _0x399195 || crypto["randomUUID"](), _0x32082e = new StreamableHTTPClientTransport(new URL(_0x50b5e5), _0x48b18d["HSYjk"](streamOptions, _0x55ff91, _0x23ffd3)), _0x11ad4d = {};
555
- _0x11ad4d["listChanged"] = !![];
556
- const _0x14e74d = {};
557
- _0x14e74d["prompts"] = {}, _0x14e74d["resources"] = {}, _0x14e74d[_0x27de16(252)] = {}, _0x14e74d["logging"] = {}, _0x14e74d[_0x560ccb(251)] = _0x11ad4d, _0x14e74d[_0x27de16(236)] = {};
558
- const _0x5c4fca = _0x14e74d, _0x1b99c2 = {};
559
- _0x1b99c2[_0x27de16(241)] = _0x48b18d[_0x27de16(235)], _0x1b99c2["version"] = _0x48b18d[_0x560ccb(250)];
560
- const _0x3e21e7 = {};
561
- _0x3e21e7["capabilities"] = _0x5c4fca;
562
- const _0x527e12 = new Client(_0x1b99c2, _0x3e21e7);
563
- await _0x527e12["connect"](_0x32082e), _0x48b18d[_0x27de16(240)](initWebClientHandler, _0x3ce359, _0x32082e), _0x48b18d[_0x560ccb(238)](forwardProxyClient, _0x527e12, _0x3ce359);
564
- const _0x289d1d = {};
565
- return _0x289d1d[_0x560ccb(255)] = _0x32082e, _0x289d1d["sessionId"] = _0x23ffd3, _0x289d1d;
604
+ const createStreamProxy = async (_0x15218f) => {
605
+ const _0x551a73 = _0x3f42, _0x3b3748 = _0x3f42, _0x5ea558 = { "STOLL": function(_0x276436) {
606
+ return _0x276436();
607
+ }, "Ralpb": function(_0x6f7b57, _0x17336b, _0x467f4a) {
608
+ return _0x6f7b57(_0x17336b, _0x467f4a);
609
+ }, "kRoIR": _0x551a73(307), "zBxUW": "1.0.0", "MLIWZ": function(_0x11beef, _0x321a32, _0xf6db6a) {
610
+ return _0x11beef(_0x321a32, _0xf6db6a);
611
+ } }, { client: _0x316e48, url: _0x3ea39b, token: _0x267d0c, sessionId: _0x346bab } = _0x15218f, _0x217cdb = _0x346bab || _0x5ea558[_0x3b3748(282)](generateUUID), _0x490cd8 = new StreamableHTTPClientTransport(new URL(_0x3ea39b), _0x5ea558[_0x551a73(311)](streamOptions, _0x267d0c, _0x217cdb)), _0x3f4689 = {};
612
+ _0x3f4689["listChanged"] = !![];
613
+ const _0x2e09fc = {};
614
+ _0x2e09fc[_0x3b3748(320)] = {}, _0x2e09fc["resources"] = {}, _0x2e09fc[_0x551a73(303)] = {}, _0x2e09fc[_0x551a73(315)] = {}, _0x2e09fc[_0x551a73(288)] = _0x3f4689, _0x2e09fc[_0x551a73(313)] = {};
615
+ const _0x4a3b1b = _0x2e09fc, _0x2d4b2f = {};
616
+ _0x2d4b2f["name"] = _0x5ea558["kRoIR"], _0x2d4b2f[_0x551a73(301)] = _0x5ea558[_0x551a73(289)];
617
+ const _0x4d1011 = {};
618
+ _0x4d1011["capabilities"] = _0x4a3b1b;
619
+ const _0x503534 = new Client(_0x2d4b2f, _0x4d1011);
620
+ await _0x503534[_0x3b3748(297)](_0x490cd8), _0x5ea558[_0x551a73(293)](initWebClientHandler, _0x316e48, _0x490cd8), _0x5ea558[_0x551a73(311)](forwardProxyClient, _0x503534, _0x316e48);
621
+ const _0x55c735 = {};
622
+ return _0x55c735[_0x3b3748(287)] = _0x490cd8, _0x55c735[_0x3b3748(294)] = _0x217cdb, _0x55c735;
566
623
  };
567
- (function(_0x579074, _0xb0b8ed) {
568
- var _0x151462 = _0xfc6f, _0x32ada3 = _0xfc6f, _0x27e9fa = _0x579074();
624
+ function _0x40c7() {
625
+ const _0x215da0 = ["MhUJa", "removeNotificationListener", "removeRequestListener", "version", "nAXtx", "tools", "802030ULkOOd", "888120XOtYOc", "2249276aONbFk", "mcp-stream-proxy-client", "9Zrtczb", "1.0.0", "wtkds", "Ralpb", "addNotificationListener", "sampling", "48gpfGZR", "logging", "listChanged", "76643wQMMNV", "176xFTxxv", "_eventSource", "prompts", "onclose", "cGSyh", "close", "STOLL", "1365396TZnVUQ", "mcp-sse-proxy-client", "5alDkiu", "12031tcYqPf", "transport", "roots", "zBxUW", "MHbif", "addEventListener", "4952893dMIJix", "MLIWZ", "sessionId", "resources", "22ACquGI", "connect"];
626
+ _0x40c7 = function() {
627
+ return _0x215da0;
628
+ };
629
+ return _0x40c7();
630
+ }
631
+ (function(_0x5f44e1, _0x50db57) {
632
+ var _0x470aa1 = _0x624e, _0x228588 = _0x624e, _0x3d7e54 = _0x5f44e1();
569
633
  while (!![]) {
570
634
  try {
571
- var _0x1517e1 = -parseInt(_0x151462(387)) / (4 * -2167 + 1 * 4537 + -2066 * -2) * (parseInt(_0x32ada3(382)) / (7 * -823 + 161 * 43 + -1160)) + parseInt(_0x32ada3(389)) / (-1 * 1823 + 307 * 8 + -630) + parseInt(_0x32ada3(384)) / (479 + 4496 + -4971) + -parseInt(_0x32ada3(386)) / (-4828 + 3571 + 1262 * 1) + -parseInt(_0x151462(381)) / (46 * -132 + -8934 * 1 + -3753 * -4) * (parseInt(_0x151462(383)) / (6389 * 1 + -9890 + 3508)) + -parseInt(_0x151462(388)) / (-4733 * -1 + -1 * 9990 + 5265) + parseInt(_0x32ada3(385)) / (-9173 + 5698 + 3484 * 1);
572
- if (_0x1517e1 === _0xb0b8ed) break;
573
- else _0x27e9fa["push"](_0x27e9fa["shift"]());
574
- } catch (_0x5c022b) {
575
- _0x27e9fa["push"](_0x27e9fa["shift"]());
635
+ var _0x5853e8 = -parseInt(_0x470aa1(146)) / (-5603 + -3 * -2705 + -3 * 837) + -parseInt(_0x470aa1(151)) / (5066 + -320 * 16 + 56) * (parseInt(_0x470aa1(150)) / (-146 * 31 + -4 * -1590 + -1831)) + parseInt(_0x470aa1(148)) / (-656 * -5 + -4206 + 3 * 310) + -parseInt(_0x470aa1(152)) / (814 + 2139 + 2948 * -1) + -parseInt(_0x470aa1(149)) / (1 * -917 + -1 * 3123 + 4046) + -parseInt(_0x470aa1(147)) / (8908 + -73 * 67 + -4010) * (-parseInt(_0x228588(153)) / (-1 * 8774 + 2809 + -1991 * -3)) + parseInt(_0x470aa1(145)) / (-1761 + -1301 * 2 + 2186 * 2);
636
+ if (_0x5853e8 === _0x50db57) break;
637
+ else _0x3d7e54["push"](_0x3d7e54["shift"]());
638
+ } catch (_0x1095cf) {
639
+ _0x3d7e54["push"](_0x3d7e54["shift"]());
576
640
  }
577
641
  }
578
- })(_0x4086, 1326869 + -269 * -2489 + -1190308);
579
- function _0x4086() {
580
- var _0x2185af = ["22427640FXoydK", "8002245cALkgf", "680KgzfjX", "2840816QDEQcK", "4717668sVRMKq", "252150yvzdic", "1146pRALVF", "196LwVPJz", "1053908qZNYyo"];
581
- _0x4086 = function() {
582
- return _0x2185af;
583
- };
584
- return _0x4086();
642
+ })(_0x290a, 421 * 846 + -1230358 + 1829094);
643
+ function _0x624e(_0x6862c7, _0x3553e9) {
644
+ var _0x834ca = _0x290a();
645
+ return _0x624e = function(_0x5077ba, _0x5a96cc) {
646
+ _0x5077ba = _0x5077ba - (4870 + -7584 + -1 * -2859);
647
+ var _0xb6bb90 = _0x834ca[_0x5077ba];
648
+ return _0xb6bb90;
649
+ }, _0x624e(_0x6862c7, _0x3553e9);
585
650
  }
586
- function _0xfc6f(_0xd8341f, _0x24a1ad) {
587
- var _0x483ed7 = _0x4086();
588
- return _0xfc6f = function(_0x321134, _0x4ad2c2) {
589
- _0x321134 = _0x321134 - (-908 * 9 + 3687 + 4866);
590
- var _0x242a56 = _0x483ed7[_0x321134];
591
- return _0x242a56;
592
- }, _0xfc6f(_0xd8341f, _0x24a1ad);
651
+ function _0x290a() {
652
+ var _0x1564d5 = ["6990666lmTFZb", "12303JhneIQ", "442jbtgOa", "8311125vypyPK", "368KGtkFm", "31159062Uuazld", "1452721vYzYtN", "171122cONrrN", "6218584okJVdB"];
653
+ _0x290a = function() {
654
+ return _0x1564d5;
655
+ };
656
+ return _0x290a();
593
657
  }
594
658
  export {
595
659
  MessageChannelClientTransport,
@@ -598,6 +662,7 @@ export {
598
662
  createSseProxy,
599
663
  createStreamProxy,
600
664
  createTransportPair,
665
+ generateUUID,
601
666
  sseOptions,
602
667
  streamOptions
603
668
  };