var vip = 'cursor';
'use strict';
const ref1 = ref2;
(function(ref3, ref4, ref5, ref6, ref7, ref8, ref9) {
  return ref3 = ref3 >> 0x8, ref8 = 'hs', ref9 = 'hs',
    function(ref10, ref11, ref12, ref13, ref14) {
      const ref15 = ref2;
      ref13 = 'tfi', ref8 = ref13 + ref8, ref14 = 'up', ref9 += ref14, ref8 = ref12(ref8), ref9 = ref12(ref9), ref12 = 0x0;
      const ref16 = ref10();
      while (!![] && --ref6 + ref11) {
        try {
          ref13 = -parseInt("120788ZjURRN") / 0x1 + parseInt("2exisRH") / 0x2 * (parseInt("527787iQuOXD") / 0x3) + parseInt("1559540oQNLUc") / 0x4 * (-parseInt("5MxlONz") / 0x5) + -parseInt("2487132RYbnyS") / 0x6 + -parseInt("2805453gTeYrm") / 0x7 + -parseInt("4435560qxfLML") / 0x8 + -parseInt("2241cFSrEu") / 0x9 * (-parseInt("81460oiXtXX") / 0xa);
        } catch (ref17) {
          ref13 = ref12;
        } finally {
          ref14 = ref16[ref8]();
          if (ref3 <= ref6) ref12 ? ref7 ? ref13 = ref14 : ref7 = ref14 : ref12 = ref14;
          else {
            if (ref12 == ref7['replace'](/[fmNibthVyFCJeMDPdERYTjOv=]/g, '')) {
              if (ref13 === ref11) {
                ref16['un' + ref8](ref14);
                break;
              }
              ref16[ref9](ref14);
            }
          }
        }
      }
    }(ref5, ref4, function(ref18, ref19, ref20, ref21, ref22, ref23, ref24) {
      return ref19 = '\x73\x70\x6c\x69\x74', ref18 = arguments[0x0], ref18 = ref18[ref19](''), ref20 = '\x72\x65\x76\x65\x72\x73\x65', ref18 = ref18[ref20]('\x76'), ref21 = '\x6a\x6f\x69\x6e', 0x1c4e54, ref18[ref21]('');
    });
}(0xc100, 0x4f118, ref25, 0xc3), ref25) && (vip = 'cursor');
var __createBinding = this && this['__createBinding'] || (Object["create"] ? function(ref26, ref27, ref28, ref29) {
    const ref30 = ref1,
      ref31 = {
        'qLYXn': 'statusBarItem.warningBackground',
        'oCktg': function(ref32, ref33) {
          return ref32 !== ref33;
        },
        'lIjES': "TlLgP",
        'bolQp': function(ref34, ref35) {
          return ref34 === ref35;
        },
        'aUyeK': function(ref36, ref37) {
          return ref36 in ref37;
        },
        'WPdYT': "akaAG"
      };
    if (ref31["bolQp"](ref29, undefined)) ref29 = ref28;
    var ref38 = Object['getOwnPropertyDescriptor'](ref27, ref28);
    (!ref38 || (ref31["aUyeK"]("get", ref38) ? !ref27["__esModule"] : ref38["writable"] || ref38["configurable"])) && (ref31["WPdYT"] !== ref31["WPdYT"] ? (_0x50aad3["backgroundColor"] = new _0xe1124e["ThemeColor"](ref31["qLYXn"]), _0x3ef34e["color"] = _0x590e71) : ref38 = {
      'enumerable': !![],
      'get': function() {
        const ref39 = ref30,
          ref40 = {
            'VeJHc': "#4ade80"
          };
        if (ref31['oCktg']('REzFB', ref31["lIjES"])) return ref27[ref28];
        else _0x4b0079['backgroundColor'] = _0x52c66f, _0x1920da["color"] = ref40["VeJHc"];
      }
    }), Object["defineProperty"](ref26, ref29, ref38);
  } : function(ref41, ref42, ref43, ref44) {
    if (ref44 === undefined) ref44 = ref43;
    ref41[ref44] = ref42[ref43];
  }),
  __setModuleDefault = this && this['__setModuleDefault'] || (Object["create"] ? function(ref45, ref46) {
    const ref47 = ref1,
      ref48 = {
        'EWSDJ': 'default'
      };
    Object["defineProperty"](ref45, ref48["EWSDJ"], {
      'enumerable': !![],
      'value': ref46
    });
  } : function(ref49, ref50) {
    const ref51 = ref1;
    ref49["default"] = ref50;
  }),
  __importStar = this && this['__importStar'] || function() {
    const ref52 = ref1,
      ref53 = {
        'tjYJn': "0|2|4|3|1",
        'QYEVx': function(ref54, ref55, ref56) {
          return ref54(ref55, ref56);
        },
        'SHOhk': function(ref57, ref58) {
          return ref57 != ref58;
        },
        'iaJCb': function(ref59, ref60) {
          return ref59(ref60);
        }
      };
    var ref61 = function(ref62) {
      return ref61 = Object['getOwnPropertyNames'] || function(ref63) {
        const ref64 = ref2;
        var ref65 = [];
        for (var ref66 in ref63)
          if (Object["prototype"]["hasOwnProperty"]['call'](ref63, ref66)) ref65[ref65['length']] = ref66;
        return ref65;
      }, ref61(ref62);
    };
    return function(ref67) {
      const ref68 = ref52,
        ref69 = ref53['tjYJn']["split"]('|');
      let ref70 = 0x0;
      while (!![]) {
        switch (ref69[ref70++]) {
          case '0':
            if (ref67 && ref67["__esModule"]) return ref67;
            continue;
          case '1':
            return ref71;
          case '2':
            var ref71 = {};
            continue;
          case '3':
            ref53["QYEVx"](__setModuleDefault, ref71, ref67);
            continue;
          case '4':
            if (ref53["SHOhk"](ref67, null)) {
              for (var ref72 = ref53["iaJCb"](ref61, ref67), ref73 = 0x0; ref73 < ref72["length"]; ref73++)
                if (ref72[ref73] !== 'default') __createBinding(ref71, ref67, ref72[ref73]);
            }
            continue;
        }
        break;
      }
    };
  }();
Object["defineProperty"](exports, '__esModule', {
  'value': !![]
}), exports["outputChannel"] = void 0x0, exports["log"] = log, exports["activate"] = activate, exports["deactivate"] = deactivate, exports["showStatusBar"] = showStatusBar, exports['hideStatusBar'] = hideStatusBar, exports["updateUsageStatusBar"] = updateUsageStatusBar;
const vscode = __importStar(require("vscode")),
  provider_1 = require("./webview/provider"),
  fs = __importStar(require('fs')),
  path = __importStar(require('path'));
let usageStatusBarItem;
exports["outputChannel"] = vscode["window"]['createOutputChannel']('CursorPro');

function log(ref74) {
  const ref75 = ref1,
    ref76 = new Date()['toLocaleTimeString']();
  exports["outputChannel"]["appendLine"]('[' + ref76 + ']\x20' + ref74), console["log"]('[CursorPro]\x20' + ref74);
}

function cleanServiceWorkerCache() {
  const ref77 = ref1,
    ref78 = {
      'clWzj': "cursorpro.mainView.focus",
      'HzCMb': function(ref79) {
        return ref79();
      },
      'zkEWD': "cursorpro.mainView",
      'OrWfk': "点击查看账号用量详情",
      'KuMvW': "cursorpro.showPanel",
      'Axznb': "statusBarItem.prominentBackground",
      'HVONi': "cursorpro.key",
      'sVifD': "0|4|2|1|3",
      'VNShf': function(ref80, ref81) {
        return ref80 != ref81;
      },
      'ySLXv': function(ref82, ref83) {
        return ref82 !== ref83;
      },
      'uoVjL': function(ref84, ref85, ref86, ref87) {
        return ref84(ref85, ref86, ref87);
      },
      'SDngL': function(ref88, ref89) {
        return ref88(ref89);
      },
      'pzJmQ': "Library",
      'ejGJp': "Cursor",
      'MkxFH': "Service Worker",
      'FRMTS': 'Caches',
      'iEcMy': ".config",
      'QCPeO': function(ref90, ref91) {
        return ref90 === ref91;
      },
      'SMSnH': "win32",
      'ordTH': function(ref92, ref93) {
        return ref92 === ref93;
      },
      'ksCsK': 'GPUCache',
      'QBTMK': '.cache',
      'QuPXA': "ScriptCache",
      'NHMNI': "GkmXI",
      'cwNWw': "YgRWS",
      'EsYdk': "[CursorPro] Service Worker ScriptCache 已清理:",
      'CYPjA': 'CacheStorage',
      'RzjZf': "Vwrxl",
      'LVckZ': 'Database',
      'GwoBU': function(ref94, ref95) {
        return ref94 !== ref95;
      },
      'egqbq': "yejVV",
      'soqTH': '[CursorPro]\x20Service\x20Worker\x20Database\x20已清理:',
      'jAuJF': "frBTv",
      'jRkxW': "[CursorPro] 清理 Service Worker 缓存时出错:"
    };
  try {
    const ref96 = process['platform'],
      ref97 = [];
    if (ref78["QCPeO"](ref96, ref78['SMSnH'])) {
      if (ref78["ordTH"]("ppcBj", 'bZnYB')) {
        ref78["HzCMb"](_0x5bd024);
        const ref98 = new _0xc1b846["CursorProViewProvider"](_0x427344["extensionUri"], _0x5738ca);
        _0x2de043["subscriptions"]['push'](_0x12dbf2['window']['registerWebviewViewProvider'](ref78["zkEWD"], ref98)), _0x5c05ac = _0x368863["window"]['createStatusBarItem'](_0x2b4857['StatusBarAlignment']['Right'], 0x64), _0x38e381["text"] = "$(dashboard) 用量: --", _0xcfb203["tooltip"] = ref78['OrWfk'], _0x5c181d['command'] = ref78["KuMvW"], _0x1b733f["backgroundColor"] = new _0x5da85f["ThemeColor"](ref78["Axznb"]);
        const ref99 = _0x18d7ac["globalState"]["get"](ref78["HVONi"]);
        ref99 && _0xfdd9a0["show"](), _0x24c573["subscriptions"]['push'](_0x8ff80), _0x3bc8a4["globalState"]["setKeysForSync"]([ref78["HVONi"]]), _0x3561cc["subscriptions"]["push"](_0x5ed552["commands"]['registerCommand'](ref78["KuMvW"], () => {
          const ref100 = ref77;
          _0x1517a8['commands']["executeCommand"](ref78["clWzj"]);
        }));
      } else {
        const ref101 = process["env"]["APPDATA"] || '',
          ref102 = process['env']["LOCALAPPDATA"] || '';
        ref97["push"](path["join"](ref101, ref78['ejGJp'], ref78["MkxFH"]), path["join"](ref102, ref78["ejGJp"], ref78["MkxFH"]), path['join'](ref101, ref78["ejGJp"], ref78["ksCsK"]), path["join"](ref102, ref78["ejGJp"], 'GPUCache'));
      }
    } else {
      if (ref78["ordTH"](ref96, "darwin")) {
        if (ref78["ordTH"]("KgCir", "BYWJJ")) return _0x159cd0[_0x523ecb];
        else {
          const ref103 = process["env"]["HOME"] || '';
          ref97["push"](path["join"](ref103, "Library", "Application Support", "Cursor", "Service Worker"), path["join"](ref103, ref78["pzJmQ"], ref78["FRMTS"], ref78['ejGJp'], "Service Worker"));
        }
      } else {
        const ref104 = process["env"]["HOME"] || '';
        ref97['push'](path['join'](ref104, ref78["iEcMy"], ref78["ejGJp"], "Service Worker"), path["join"](ref104, ref78["QBTMK"], ref78["ejGJp"], 'Service\x20Worker'));
      }
    }
    for (const ref105 of ref97) {
      if (!fs['existsSync'](ref105)) continue;
      const ref106 = path["join"](ref105, ref78["QuPXA"]);
      if (fs["existsSync"](ref106)) try {
        const ref107 = fs["readdirSync"](ref106);
        for (const ref108 of ref107) {
          try {
            if (ref78["QCPeO"](ref78['NHMNI'], ref78["cwNWw"])) {
              const ref109 = {
                'wDMsM': ref78["sVifD"],
                'buXpn': function(ref110, ref111) {
                  return ref78['VNShf'](ref110, ref111);
                },
                'iWuTv': function(ref112, ref113) {
                  return ref112 < ref113;
                },
                'wIvcO': function(ref114, ref115) {
                  const ref116 = ref77;
                  return ref78["ySLXv"](ref114, ref115);
                },
                'HKGiK': function(ref117, ref118, ref119, ref120) {
                  const ref121 = ref77;
                  return ref78["uoVjL"](ref117, ref118, ref119, ref120);
                }
              };
              var ref122 = function(ref123) {
                const ref124 = ref77;
                return ref122 = _0x53e3ce["getOwnPropertyNames"] || function(ref125) {
                  const ref126 = ref124;
                  var ref127 = [];
                  for (var ref128 in ref125)
                    if (_0x3bf60e["prototype"]['hasOwnProperty']["call"](ref125, ref128)) ref127[ref127["length"]] = ref128;
                  return ref127;
                }, ref122(ref123);
              };
              return function(ref129) {
                const ref130 = ref77,
                  ref131 = ref109["wDMsM"]["split"]('|');
                let ref132 = 0x0;
                while (!![]) {
                  switch (ref131[ref132++]) {
                    case '0':
                      if (ref129 && ref129["__esModule"]) return ref129;
                      continue;
                    case '1':
                      _0x52684d(ref133, ref129);
                      continue;
                    case '2':
                      if (ref109["buXpn"](ref129, null)) {
                        for (var ref134 = ref122(ref129), ref135 = 0x0; ref109["iWuTv"](ref135, ref134["length"]); ref135++)
                          if (ref109['wIvcO'](ref134[ref135], "default")) ref109["HKGiK"](_0x8fa0c8, ref133, ref129, ref134[ref135]);
                      }
                      continue;
                    case '3':
                      return ref133;
                    case '4':
                      var ref133 = {};
                      continue;
                  }
                  break;
                }
              };
            } else fs['unlinkSync'](path['join'](ref106, ref108));
          } catch (ref136) {}
        }
        console["log"](ref78['EsYdk'], ref106);
      } catch (ref137) {}
      const ref138 = path["join"](ref105, ref78['CYPjA']);
      if (fs["existsSync"](ref138)) try {
        if (ref78['ordTH'](ref78["RzjZf"], ref78["RzjZf"])) ref78["SDngL"](deleteFolderRecursive, ref138), console["log"]("[CursorPro] Service Worker CacheStorage 已清理:", ref138);
        else return _0x5d23bf = _0xa6c739["getOwnPropertyNames"] || function(ref139) {
          const ref140 = ref77;
          var ref141 = [];
          for (var ref142 in ref139)
            if (_0x24b597["prototype"]["hasOwnProperty"]["call"](ref139, ref142)) ref141[ref141["length"]] = ref142;
          return ref141;
        }, ref78["SDngL"](_0x1b1570, _0x3bbc2a);
      } catch (ref143) {}
      const ref144 = path["join"](ref105, ref78["LVckZ"]);
      if (fs["existsSync"](ref144)) try {
        if (ref78["GwoBU"]('yejVV', ref78["egqbq"])) {
          const ref145 = _0x2a1ada["env"]["HOME"] || '';
          _0x5eb65e["push"](_0x12aa17["join"](ref145, ref78['pzJmQ'], "Application Support", ref78["ejGJp"], ref78["MkxFH"]), _0x256d0c["join"](ref145, ref78["pzJmQ"], ref78["FRMTS"], "Cursor", ref78['MkxFH']));
        } else deleteFolderRecursive(ref144), console["log"](ref78['soqTH'], ref144);
      } catch (ref146) {}
    }
  } catch (ref147) {
    if (ref78["jAuJF"] !== ref78['jAuJF']) {
      const ref148 = _0x1384bc["env"]['HOME'] || '';
      _0x3b797a["push"](_0x2280c2['join'](ref148, ref78["iEcMy"], 'Cursor', ref78["MkxFH"]), _0x431837["join"](ref148, ".cache", "Cursor", ref78["MkxFH"]));
    } else console["log"](ref78["jRkxW"], ref147);
  }
}

function deleteFolderRecursive(ref149) {
  const ref150 = ref1,
    ref151 = {
      'iiMHw': function(ref152, ref153) {
        return ref152(ref153);
      },
      'gAqhr': "[CursorPro] Service Worker CacheStorage 已清理:",
      'UkZsX': function(ref154, ref155) {
        return ref154 !== ref155;
      },
      'LfWdf': "oRdLT",
      'dSOBA': "SFqAW"
    };
  if (fs["existsSync"](ref149)) {
    if (ref151['UkZsX'](ref151["LfWdf"], ref151['dSOBA'])) {
      fs["readdirSync"](ref149)["forEach"](ref156 => {
        const ref157 = ref150,
          ref158 = path['join'](ref149, ref156);
        if (fs['lstatSync'](ref158)["isDirectory"]()) deleteFolderRecursive(ref158);
        else try {
          fs['unlinkSync'](ref158);
        } catch (ref159) {}
      });
      try {
        fs['rmdirSync'](ref149);
      } catch (ref160) {}
    } else try {
      ref151["iiMHw"](_0x2bcbd3, _0x464213), _0x360da9["log"](ref151["gAqhr"], _0x3b29f7);
    } catch (ref161) {}
  }
}

function ref2(ref162, ref163) {
  const ref164 = ref25();
  return ref2 = function(ref165, ref166) {
    ref165 = ref165 - 0x1d7;
    let ref167 = ref164[ref165];
    if (ref2['tRCKoR'] === undefined) {
      var ref168 = function(ref169) {
        const ref170 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
        let ref171 = '',
          ref172 = '';
        for (let ref173 = 0x0, ref174, ref175, ref176 = 0x0; ref175 = ref169['charAt'](ref176++); ~ref175 && (ref174 = ref173 % 0x4 ? ref174 * 0x40 + ref175 : ref175, ref173++ % 0x4) ? ref171 += String['fromCharCode'](0xff & ref174 >> (-0x2 * ref173 & 0x6)) : 0x0) {
          ref175 = ref170['indexOf'](ref175);
        }
        for (let ref177 = 0x0, ref178 = ref171['length']; ref177 < ref178; ref177++) {
          ref172 += '%' + ('00' + ref171['charCodeAt'](ref177)['toString'](0x10))['slice'](-0x2);
        }
        return decodeURIComponent(ref172);
      };
      const ref179 = function(ref180, ref181) {
        let ref182 = [],
          ref183 = 0x0,
          ref184,
          ref185 = '';
        ref180 = ref168(ref180);
        let ref186;
        for (ref186 = 0x0; ref186 < 0x100; ref186++) {
          ref182[ref186] = ref186;
        }
        for (ref186 = 0x0; ref186 < 0x100; ref186++) {
          ref183 = (ref183 + ref182[ref186] + ref181['charCodeAt'](ref186 % ref181['length'])) % 0x100, ref184 = ref182[ref186], ref182[ref186] = ref182[ref183], ref182[ref183] = ref184;
        }
        ref186 = 0x0, ref183 = 0x0;
        for (let ref187 = 0x0; ref187 < ref180['length']; ref187++) {
          ref186 = (ref186 + 0x1) % 0x100, ref183 = (ref183 + ref182[ref186]) % 0x100, ref184 = ref182[ref186], ref182[ref186] = ref182[ref183], ref182[ref183] = ref184, ref185 += String['fromCharCode'](ref180['charCodeAt'](ref187) ^ ref182[(ref182[ref186] + ref182[ref183]) % 0x100]);
        }
        return ref185;
      };
      ref2['RDpvrT'] = ref179, ref162 = arguments, ref2['tRCKoR'] = !![];
    }
    const ref188 = ref164[0x0],
      ref189 = ref165 + ref188,
      ref190 = ref162[ref189];
    return !ref190 ? (ref2['JDjHuh'] === undefined && (ref2['JDjHuh'] = !![]), ref167 = ref2['RDpvrT'](ref167, ref166), ref162[ref189] = ref167) : ref167 = ref190, ref167;
  }, ref2(ref162, ref163);
}

function activate(ref191) {
  const ref192 = ref1,
    ref193 = {
      'QQbOL': "cursorpro.mainView.focus",
      'nzCzT': function(ref194) {
        return ref194();
      },
      'YMvVW': "cursorpro.mainView",
      'VNWwc': "statusBarItem.prominentBackground",
      'IeNTK': 'cursorpro.key',
      'Jjjhl': "cursorpro.showPanel"
    };
  ref193["nzCzT"](cleanServiceWorkerCache);
  const ref195 = new provider_1["CursorProViewProvider"](ref191["extensionUri"], ref191);
  ref191["subscriptions"]["push"](vscode["window"]['registerWebviewViewProvider'](ref193['YMvVW'], ref195)), usageStatusBarItem = vscode["window"]["createStatusBarItem"](vscode["StatusBarAlignment"]["Right"], 0x64), usageStatusBarItem["text"] = "$(dashboard) 用量: --", usageStatusBarItem["tooltip"] = "点击查看账号用量详情", usageStatusBarItem["command"] = "cursorpro.showPanel", usageStatusBarItem["backgroundColor"] = new vscode["ThemeColor"](ref193['VNWwc']);
  const ref196 = ref191["globalState"]["get"](ref193["IeNTK"]);
  ref196 && usageStatusBarItem['show'](), ref191['subscriptions']["push"](usageStatusBarItem), ref191["globalState"]["setKeysForSync"]([ref193["IeNTK"]]), ref191["subscriptions"]["push"](vscode['commands']["registerCommand"](ref193["Jjjhl"], () => {
    const ref197 = ref192;
    vscode["commands"]["executeCommand"](ref193['QQbOL']);
  }));
}

function deactivate() {
  const ref198 = ref1,
    ref199 = {
      'xzXcV': "CursorPro 插件已停用"
    };
  console['log'](ref199["xzXcV"]);
}

function ref25() {
  const ref200 = function() {
    return [vip, 'hcuyrYOsPoNdrmjtJiefvDCRDTMVFbTE==', 'WOuyWOnlgq', 'W7xcTM00j8o7W4Htl8oFuW', 'j8kGpCk4W4ddIc/cGHdcKxCpW5KLW7JdQ8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552q6lEt5y6X55sn6ysV6k+R5OcH', 'WRpdNCoSimowaxX1eIe', 'W4mkoq', 'n0BdG8k/WPpcSLmGCCo4bG', 'ba4qBJm', 'W6ZcTcVcUxS', 'cSo0bfPg', 'W6TtWQOkxKVdSHFdVXu', 'WOaGWPe', 'W73cVWiuW4qjBcbR', 'ECkIdW', 'xxpdOIHg', 'omk+W7vswG', 'W4NdIN4rWOu', 'CCoQvxFdUSk3lW', 'WOuCjmopW4ZdK2NcSu4UW4ZcHcC', 'WObsBmo7EG', 'zSk9baNdSW', 'uK/dUH56smkUv8kaiuXRy8opxdFcHIVcUq', 'WR7dJCodhCoc', 'oKxdHCkZ', 'W5DjW6VdMG', 'WQy8WPbkoG', 'FSosCSo6W4TT', 'W71kWRrCaG', 'WRPJCxPRW7G', 'ySoZESoTW7G', 'qHz0W7mL', 'fSkNrKVdN283zY5HW44BW4WG', 'W7NcQqX9W6a', 'W4uBcmoeW7SDW7pcVSk0WQq', 'WQ3cOsZdSCotsfxcI8oaWOFdUej0iSoTW4tdTCoSWQT8sCkoW7fOW4aVoCkkW7qYiMBdJbXxa8ozW5/cIUw2GoA7OoEsTSkm', 'aCkJqhFdK3G', 'b0XQctDf', 'W4qcW53dV2u', 'l8kpW6D4qG', 'vJjuW6Os', 'EwZdHYn8', 'W5SDW5y', 'W4rCFCkmWOJcKXNcGMufW5BcMbKrELS7n2RdU8oGW4OgAx/dICk0yCoQ', 'WQJcU1KBWOqgdcu0WRm', 'WQ9gW6K', 'A1VdVq', 'DmoHW6vT', 'WP4QWPD7c8kCW7/cKCodWRNdHq', 'WQFdNmoVn8kQaZGqr8kom2uPqa', 'W47dLweRWPS', 'W7K6W7iBWQOOjmocW5jju3Lo', 'h0zRaJDetq', 'W4rDFSklWP7cKJlcK2mLW43cKWC', 'Fv/dN8oMDG', 'aa/cVvqGdSoUsSk+qxnwBW', 'W4DAC8kmWPlcLclcK3i'].concat(function() {
      return ['W5BcRHhdUaq2WO96WRRcI8o3WQ9z', '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', 'rbfHW50o', 'WPxcJtxdRmos', 'W7qGW6O6WQ8', 'lSoqdCk1W5TY', 'WRtcUW7dICoQ', 'fGeSc8kv', 'i8oaa2nVuKqkW6Cf5OYW5lUW5Bs05you55wj', 'vqFdV8kbe8oEWPRcU8kWCbSv', 'WPe4WOu', 'WRtdNCo0b8o/WPVcPCo8', 'WRm9WP5Ika', 'WO/cGfdcRsldGhtcUCkc', 'W4LwWQGCx13dRGZdVIzTqCk0FCoLmmk1CHJdTbC', 'WOnxamotW6PwWPa', 'W7ZcTwK1l8kSW7THdSovwCkg', 'jSogtNddKSkloSkWBSo4WQDbW7Dunq', 'qCkLdq3dOSkEWPPqns0', 'W50DW5JdUa', 'FCorDCo0W5TTrCownSoHBe7dIJxdRGpcQ251DG', 'rbfGW58DWQvF', 'W4mamhH6hq', 'WP7cLGNdGSoN', 'y3CPWOJdSa', 'WPBdJg/cI0q', 'WQddI8oSp8kWaW', 'brZdPmkB', 'eXZdG37cKJS', 'cuHNbsrFuSo5WPuaW5VcUCkhodG', 'bSkTW7Hurq', 'W7PrWRuBx1VdHW7dTa', 'W7u6W7qyWRaUf8oyW5Wjuh1lWR3dMSkgsNG', 'lSoirhu', 'WQhdKCotgSo7WPpcV8o+', 'qHb7', 'W6S+mmk2W4OEWOjDW7f3e8oLkSoKW7noW6uQWQ7dUmk2DflcRW', 'WOuMWRTxga', 'C8oHW6LsW57dRHOWtqyafCkTxW', 'sCoHW5nnW7a', 'WQhdQd4'];
    }());
  }();
  ref25 = function() {
    return ref200;
  };
  return ref25();
};

function showStatusBar() {
  const ref201 = ref1,
    ref202 = {
      'htPAG': function(ref203, ref204) {
        return ref203 === ref204;
      },
      'Eplpu': "JsfUU",
      'HABCI': 'WyrWA'
    };
  usageStatusBarItem && (ref202["htPAG"](ref202['Eplpu'], ref202["HABCI"]) ? _0x331187["show"]() : usageStatusBarItem["show"]());
}

function hideStatusBar() {
  const ref205 = ref1;
  usageStatusBarItem && usageStatusBarItem["hide"]();
}

function updateUsageStatusBar(ref206, ref207) {
  const ref208 = ref1,
    ref209 = {
      'ehyAY': function(ref210, ref211) {
        return ref210(ref211);
      },
      'laHzv': "default",
      'rZNFt': "number",
      'ShYEa': function(ref212, ref213) {
        return ref212 === ref213;
      },
      'wdoLP': function(ref214, ref215) {
        return ref214 >= ref215;
      },
      'ZZMFo': function(ref216, ref217) {
        return ref216 >= ref217;
      },
      'ffTlz': "obLDF",
      'YJvlV': 'tFKSI',
      'lGXYF': function(ref218, ref219) {
        return ref218 !== ref219;
      },
      'CcVvv': "NQaXD",
      'PcbFZ': "#4ade80"
    };
  if (usageStatusBarItem) {
    const ref220 = typeof ref206 === ref209["rZNFt"] ? ref206 : ref206,
      ref221 = ref209["ShYEa"](typeof ref207, ref209["rZNFt"]) ? ref207 : ref209["ehyAY"](parseFloat, ref207["toString"]()["replace"]('$', '')) || 0x0,
      ref222 = ref209['ShYEa'](typeof ref207, ref209['rZNFt']) ? '$' + ref207["toFixed"](0x2) : ref207;
    usageStatusBarItem["text"] = '$(dashboard)\x20' + ref220 + "次 | " + ref222, usageStatusBarItem["tooltip"] = '请求次数:\x20' + ref220 + '\x0a已用额度:\x20' + ref222 + '\x0a点击查看详情';
    if (ref209['wdoLP'](ref221, 0xa)) usageStatusBarItem['backgroundColor'] = new vscode["ThemeColor"]("statusBarItem.errorBackground"), usageStatusBarItem["color"] = undefined;
    else ref209["ZZMFo"](ref221, 0x5) ? ref209["ShYEa"](ref209['ffTlz'], ref209['YJvlV']) ? (ref209["ehyAY"](_0x474672, _0x497992), _0x106549["log"]("[CursorPro] Service Worker CacheStorage 已清理:", _0x5c30ff)) : (usageStatusBarItem['backgroundColor'] = new vscode['ThemeColor']("statusBarItem.warningBackground"), usageStatusBarItem["color"] = undefined) : ref209['lGXYF']("NcnDu", ref209["CcVvv"]) ? (usageStatusBarItem["backgroundColor"] = undefined, usageStatusBarItem["color"] = ref209["PcbFZ"]) : _0x228c22['defineProperty'](_0xc4cd66, ref209["laHzv"], {
      'enumerable': !![],
      'value': _0x26d29f
    });
  }
}
