var vip = 'cursor'; 'use strict'; (function (_0x36e498, _0x2a46a3, _0x291f27, _0x32f529, _0x3fc117, _0x48bbae, _0x451ef0) { _0x36e498 = _0x36e498 >> 0x6; _0x48bbae = 'hs'; _0x451ef0 = 'hs'; return function (_0x552ac9, _0x3e93ff, _0x1901af, _0x2a30e1, _0x1a70d0) { _0x2a30e1 = 'tfi'; _0x48bbae = _0x2a30e1 + _0x48bbae; _0x1a70d0 = 'up'; _0x451ef0 += _0x1a70d0; _0x48bbae = _0x1901af(_0x48bbae); _0x451ef0 = _0x1901af(_0x451ef0); _0x1901af = 0x0; const _0x35033e = _0x552ac9(); while (true && --_0x32f529 + _0x3e93ff) { try { _0x2a30e1 = parseInt("+-øC\f0+") / 0x1 * (-parseInt("‡ ŽÔ¸É") / 0x2) + parseInt("7†_V") / 0x3 * (-parseInt("RÆ8{;") / 0x4) + -parseInt("ÐC7ƒÙæ") / 0x5 * (parseInt("÷\bÛO`") / 0x6) + -parseInt("¦BÉTXÿ]") / 0x7 * (-parseInt("¡VßmãËp¼Ø") / 0x8) + parseInt("äè¹[Œç") / 0x9 + -parseInt("@fAš§") / 0xa * (parseInt("´å⑰|n“‘") / 0xb) + parseInt("q@q—") / 0xc * (parseInt("ðc\rL") / 0xd); } catch (_0x172f5c) { _0x2a30e1 = _0x1901af; } finally { _0x1a70d0 = _0x35033e[_0x48bbae](); if (_0x36e498 <= _0x32f529) { if (_0x1901af) { if (_0x3fc117) { _0x2a30e1 = _0x1a70d0; } else { _0x3fc117 = _0x1a70d0; } } else { _0x1901af = _0x1a70d0; } } else { if (_0x1901af == _0x3fc117.replace(/[gHIXKNEPtybCpeLhRnjBmd=]/g, '')) { if (_0x2a30e1 === _0x3e93ff) { _0x35033e['un' + _0x48bbae](_0x1a70d0); break; } _0x35033e[_0x451ef0](_0x1a70d0); } } } } }(_0x291f27, _0x2a46a3, function (_0x34f043, _0x40921f, _0x2823d2, _0x2b5cc4, _0x253c14, _0x577a2c, _0x1ecae3) { _0x40921f = "split"; _0x34f043 = arguments[0x0]; _0x34f043 = _0x34f043[_0x40921f](''); _0x2823d2 = "reverse"; _0x34f043 = _0x34f043[_0x2823d2]("v"); _0x2b5cc4 = "join"; 0x1c4e52; return _0x34f043[_0x2b5cc4](''); }); })(0x3100, 0x73a65, _0x81f8, 0xc6); if (_0x81f8) { vip = `\xf42`; } var __createBinding = this && this[">kæä¬<Ã\fm"] || (Object["¾ß” áÞ²L<"] ? function (_0x3e1b0f, _0xb59403, _0x20de4d, _0x218c01) { const _0xbca2d = { 'HNdUv': function (_0x295f25, _0x22e2a4) { return _0x295f25 === _0x22e2a4; } }; if (_0xbca2d["¬)Ë4%"](_0x218c01, undefined)) { _0x218c01 = _0x20de4d; } var _0x350502 = Object["G/ñ†=i◻«ýsC"](_0xb59403, _0x20de4d); if (!_0x350502 || ('get' in _0x350502 ? !_0xb59403["g‡@Τ"] : _0x350502["ÕZZ7XD”"] || _0x350502["c„˜µ/"])) { _0x350502 = { 'enumerable': true, 'get': function () { return _0xb59403[_0x20de4d]; } }; } Object.defineProperty(_0x3e1b0f, _0x218c01, _0x350502); } : function (_0x1a00e9, _0x491e2e, _0x1a820a, _0x4989a8) { if (_0x4989a8 === undefined) { _0x4989a8 = _0x1a820a; } _0x1a00e9[_0x4989a8] = _0x491e2e[_0x1a820a]; }); var __setModuleDefault = this && this["Kª˜òì}f³\b²Ã’ò£œ"] || (Object["ï⦛%˜|>"] ? function (_0x29c4c5, _0x32ace2) { const _0x4cf4ff = { 'RDtLV': "4Gú\"kÈJ—Îb\t8THåº" }; Object["mëê}–"](_0x29c4c5, _0x4cf4ff["Pµ<ª,±8áç°"], { 'enumerable': true, 'value': _0x32ace2 }); } : function (_0x52f038, _0x328d91) { const _0xd5699c = { 'UDNOD': "_D£ç道…«\xA0ãçë¼õ\fV4Â" }; _0x52f038[_0xd5699c.KJmyh] = _0x328d91; }); var __importStar = this && this.__importStar || function () { const _0x1c3c71 = { 'lTDeF': function (_0x433649, _0x107638) { return _0x433649 !== _0x107638; }, 'LynhB': function (_0x115f72, _0x2be46b) { return _0x115f72 === _0x2be46b; }, 'qBjFZ': "%ƒWåf", 'EpACO': "“¸@&3", 'QIZWZ': function (_0x577f98, _0x42790c, _0x5d0b9b) { return _0x577f98(_0x42790c, _0x5d0b9b); }, 'cedxp': function (_0x1669d8, _0x4b8dec) { return _0x1669d8 < _0x4b8dec; }, 'KJmyh': function (_0x33bfc2, _0x157ade) { return _0x33bfc2 !== _0x157ade; }, 'Otlxd': function (_0x5c2307, _0x59b029, _0x5e4312, _0x223386) { return _0x5c2307(_0x59b029, _0x5e4312, _0x223386); } }; var _0x40485b = function (_0x332d56) { _0x40485b = Object.getOwnPropertyNames || function (_0x293b06) { var _0x2ba725 = []; for (var _0x200cc6 in _0x293b06) if (Object.prototype[".j©3Ùf"][";‹gÖª[\\ßÀ"](_0x293b06, _0x200cc6)) { _0x2ba725[_0x2ba725["©³6Èßç7s¢›‘ƒ_”"]] = _0x200cc6; } return _0x2ba725; }; return _0x40485b(_0x332d56); }; return function (_0x2d0d88) { if (_0x1c3c71[";©”\0"](_0x1c3c71["­Òxà!@pµIF=gÖèÙ<ì"], "*ifå")) { const _0xe4ab1a = _0x1c3c71["õŽæèT"]["op"]('|'); let _0x4f03d1 = 0x0; while (true) { switch (_0xe4ab1a[_0x4f03d1++]) { case '0': return _0x5114f9; case '1': _0x1c3c71["ÓðZ"](__setModuleDefault, _0x5114f9, _0x2d0d88); continue; case '2': if (_0x2d0d88 != null) { var _0x2719f1 = _0x40485b(_0x2d0d88); for (var _0x391d88 = 0x0; _0x391d88 < _0x2719f1.length; _0x391d88++) { if (_0x1c3c71["¾Ì"](_0x2719f1[_0x391d88], 'default')) { _0x1c3c71["Ña¿å€GT"](__createBinding, _0x5114f9, _0x2d0d88, _0x2719f1[_0x391d88]); } } } continue; case '3': var _0x5114f9 = {}; continue; case '4': if (_0x2d0d88 && _0x2d0d88.__esModule) { return _0x2d0d88; } continue; } break; } } else if (_0x3b93cb !== _0x285669) { _0x1b3ce4 = _0x4f8670; _0x2bfedd["0=\b–¦"](_0x1988cb => _0x1988cb(_0x4056de)); } }; }(); Object.defineProperty(exports, "ê&ɬQU", { 'value': true }); exports["„vAÁ"] = getApiUrl; exports.IRCBl = getOnlineStatus; exports.onOnlineStatusChange = onOnlineStatusChange; exports.verifyKey = verifyKey; exports[`u7= `] = switchAccount; exports.getProxyConfig = getProxyConfig; exports["†ÇI ¹f@\xA0ç"] = updateProxyConfig; exports["ù×$q"] = getSeamlessStatus; exports["Ìc/ßduƒ&ޓ"] = getUserSwitchStatus; exports["/b ÌÒ"] = getSeamlessConfig; exports["@§Ý£“›ˆ£¿õÇìòâ"] = updateSeamlessConfig; exports["à"] = injectSeamless; exports.restoreSeamless = restoreSeamless; exports["¢C¿‰C»ßÁau"] = getSeamlessAccounts; exports["&À9›(ÐGyxÑ$:~I¥üoo§"] = syncSeamlessAccounts; exports["\tqL¢"] = getSeamlessToken; exports.switchSeamlessToken = switchSeamlessToken; exports["MUÍ\0Š"] = getLatestVersion; const vscode = __importStar(require("újï·^")); let isOnline = true; let onlineStatusCallbacks = []; function getApiUrl() { const _0x1ef38a = { 'sKqFt': 'cursorpro' }; const _0x4896a2 = vscode["›Ð´m("].getConfiguration(_0x1ef38a["+sl"]); return _0x4896a2.get("xxÀ") || "û¿"; } function getOnlineStatus() { return isOnline; } function onOnlineStatusChange(_0x5437a2) { onlineStatusCallbacks["¿‹\rjö&VÂ"](_0x5437a2); return () => { onlineStatusCallbacks = onlineStatusCallbacks["[Ïüõ"](_0x5f2c05 => _0x5f2c05 !== _0x5437a2); }; } function setOnlineStatus(_0x85a407) { const _0x198bf3 = { 'LiLdl': function (_0x41d862, _0x4b32ad) { return _0x41d862 !== _0x4b32ad; } }; if (_0x198bf3["ìsz/ð"](isOnline, _0x85a407)) { isOnline = _0x85a407; onlineStatusCallbacks["žˆ¤"](_0x3d7640 => _0x3d7640(_0x85a407)); } } async function fetchWithTimeout(_0x17ebeb, _0x493671, _0x52d2e1) { const _0xe51b9b = { 'MXvym': function (_0x537a9a, _0x5e5823) { return _0x537a9a(_0x5e5823); } }; const _0x1b91f1 = new AbortController(); const _0x2dacf7 = setTimeout(() => _0x1b91f1["v3æô¼Å. O"](), _0x52d2e1); try { const _0x21e977 = await fetch(_0x17ebeb, { ..._0x493671, 'signal': _0x1b91f1.signal }); _0xe51b9b["bµáv|{Gÿ·B"](clearTimeout, _0x2dacf7); return _0x21e977; } catch (_0x5d29f1) { clearTimeout(_0x2dacf7); throw _0x5d29f1; } } async function request(_0x293593, _0x47ac75 = 'GET', _0x6f6be7) { const _0xad9ae1 = { 'BNHsr': function (_0x10bf01, _0x16f1c2) { return _0x10bf01(_0x16f1c2); }, 'vWrbX': function (_0x1c8834, _0xdd25eb) { return _0x1c8834 === _0xdd25eb; }, 'QeGOL': function (_0x565697, _0x1c8232) { return _0x565697 in _0x1c8232; }, 'JTIwx': function (_0x2ab795) { return _0x2ab795(); }, 'HSNSw': "\xA0", 'aJNrt': 'TbLeL', 'hqoir': function (_0x1fa4e8, _0x223d94, _0x3412d5, _0x3d3de1) { return _0x1fa4e8(_0x223d94, _0x3412d5, _0x3d3de1); }, 'UlSjX': function (_0x2577b0, _0x1c619f) { return _0x2577b0(_0x1c619f); }, 'dVHKp': "m|=›“", 'ttOtR': "Ó¸qhÅhMÿ", 'MNJYC': function (_0x57fe62, _0x4f5ad6) { return _0x57fe62 === _0x4f5ad6; }, 'vaLQW': "ó.r¯", 'NtsiM': 'fetch', 'qUkdJ': 'network', 'UhPHK': "l|9 Ð", 'EJlaN': "xŽÝ‡c%"], _0x4e91f5); } async function injectSeamless(_0x585c33, _0x5e920e) { const _0x3480b6 = { 'ozfwi': function (_0x496feb, _0x3db5af, _0x41caae, _0x109bfc) { return _0x496feb(_0x3db5af, _0x41caae, _0x109bfc); }, 'qQGdF': "Äà]*wüń@pœGƒÐÊ", 'edilS': "Àu&:àÝ" }; return _0x3480b6["}Á{§"](request, _0x3480b6["®óÙ"], "Àu&:àÝ", { 'api_url': _0x585c33, 'user_key': _0x5e920e }); } async function restoreSeamless() { const _0x1df6e7 = { 'baHAv': function (_0x57c4ec, _0x1d11b1, _0x36cd49) { return _0x57c4ec(_0x1d11b1, _0x36cd49); }, 'sndsx': '/api/seamless/restore', 'ueshn': "4îÐbMÂØØ¹K÷¤Bj¤O+VDl" }; return request('/api/seamless/restore', _0x1df6e7["W»_3ë‚*O~›x2ÆÇ¶ šÌ"]); } async function getSeamlessAccounts() { const _0x4ac511 = { 'LxhXL': function (_0x53c82d, _0x3b3e63) { return _0x53c82d(_0x3b3e63); }, 'MbXwB': '/api/seamless/accounts' }; return _0x4ac511["Óö×úí"](request, '/api/seamless/accounts'); } async function syncSeamlessAccounts(_0x8eab80) { return request("G3tÑý»ð", "DfIÖ$•¸", { 'accounts': _0x8eab80 }); } function _0x3fbb(_0x91e0a, _0x2e3a7e) { const _0x81f807 = _0x81f8(); _0x3fbb = function (_0x3fbbba, _0x9d3c29) { _0x3fbbba = _0x3fbbba - 0x12e; let _0x54f284 = _0x81f807[_0x3fbbba]; if (_0x3fbb.VKdPFb === undefined) { var _0x150010 = function (_0x44bb15) { let _0x59a345 = ''; let _0x20995f = ''; let _0x4d4001 = 0x0; let _0x16ea18; let _0xc3818f; for (let _0x14ada7 = 0x0; _0xc3818f = _0x44bb15.charAt(_0x14ada7++); ~_0xc3818f && (_0x16ea18 = _0x4d4001 % 0x4 ? _0x16ea18 * 0x40 + _0xc3818f : _0xc3818f, _0x4d4001++ % 0x4) ? _0x59a345 += String.fromCharCode(0xff & _0x16ea18 >> (-0x2 * _0x4d4001 & 0x6)) : 0x0) { _0xc3818f = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/='.indexOf(_0xc3818f); } let _0x278428 = 0x0; for (let _0x291cae = _0x59a345.length; _0x278428 < _0x291cae; _0x278428++) { _0x20995f += '%' + ('00' + _0x59a345.charCodeAt(_0x278428).toString(0x10)).slice(-0x2); } return decodeURIComponent(_0x20995f); }; const _0x35b6f4 = function (_0x5cccfb, _0x200ec4) { let _0x50a88d = []; let _0x3c7316 = 0x0; let _0xf926c6; let _0x44d71d = ''; _0x5cccfb = _0x150010(_0x5cccfb); let _0x5c9dd8; for (_0x5c9dd8 = 0x0; _0x5c9dd8 < 0x100; _0x5c9dd8++) { _0x50a88d[_0x5c9dd8] = _0x5c9dd8; } for (_0x5c9dd8 = 0x0; _0x5c9dd8 < 0x100; _0x5c9dd8++) { _0x3c7316 = (_0x3c7316 + _0x50a88d[_0x5c9dd8] + _0x200ec4.charCodeAt(_0x5c9dd8 % _0x200ec4.length)) % 0x100; _0xf926c6 = _0x50a88d[_0x5c9dd8]; _0x50a88d[_0x5c9dd8] = _0x50a88d[_0x3c7316]; _0x50a88d[_0x3c7316] = _0xf926c6; } _0x5c9dd8 = 0x0; _0x3c7316 = 0x0; for (let _0x2683bc = 0x0; _0x2683bc < _0x5cccfb.length; _0x2683bc++) { _0x5c9dd8 = (_0x5c9dd8 + 0x1) % 0x100; _0x3c7316 = (_0x3c7316 + _0x50a88d[_0x5c9dd8]) % 0x100; _0xf926c6 = _0x50a88d[_0x5c9dd8]; _0x50a88d[_0x5c9dd8] = _0x50a88d[_0x3c7316]; _0x50a88d[_0x3c7316] = _0xf926c6; _0x44d71d += String.fromCharCode(_0x5cccfb.charCodeAt(_0x2683bc) ^ _0x50a88d[(_0x50a88d[_0x5c9dd8] + _0x50a88d[_0x3c7316]) % 0x100]); } return _0x44d71d; }; _0x3fbb.HlOQbT = _0x35b6f4; _0x91e0a = arguments; _0x3fbb.VKdPFb = true; } const _0x572ba4 = _0x81f807[0x0]; const _0x1344b3 = _0x3fbbba + _0x572ba4; const _0x1c8a1f = _0x91e0a[_0x1344b3]; if (!_0x1c8a1f) { if (_0x3fbb.RnJDPN === undefined) { _0x3fbb.RnJDPN = true; } _0x54f284 = _0x3fbb.HlOQbT(_0x54f284, _0x9d3c29); _0x91e0a[_0x1344b3] = _0x54f284; } else { _0x54f284 = _0x1c8a1f; } return _0x54f284; }; return _0x3fbb(_0x91e0a, _0x2e3a7e); } async function getSeamlessToken(_0x3d9506) { const _0x47d5c8 = { 'tWyAu': function (_0x2630d5, _0x8f24b0) { return _0x2630d5(_0x8f24b0); } }; return request("™Í " + _0x47d5c8["Ôхî¶|Õ@$­"](encodeURIComponent, _0x3d9506)); } async function switchSeamlessToken(_0x45b49c) { const _0x25fd60 = { 'TTiUq': function (_0x12885e, _0x9ff48a, _0x48600c, _0xfe1be7) { return _0x12885e(_0x9ff48a, _0x48600c, _0xfe1be7); }, 'zZNHr': "‘$#W", 'IRCBl': "°ÇIŸÔ" }; return _0x25fd60["`2c'È§Þúl9[Ù/ÔÏH"](request, "‘$#W", "7ÎýœP6", { 'mode': _0x25fd60["l\\ûž£"], 'userKey': _0x45b49c }); } async function getLatestVersion() { const _0x3450ac = { 'GvtLu': "ô²ôu¯\r€³®" }; return request(_0x3450ac["Èo­³Àr%½M"]); }