/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, {
/******/ configurable: false,
/******/ enumerable: true,
/******/ get: getter
/******/ });
/******/ }
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 29);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
var _folders = __webpack_require__(1);
var _folders2 = _interopRequireDefault(_folders);
var _errorcodes = __webpack_require__(31);
var _errorcodes2 = _interopRequireDefault(_errorcodes);
var _platform = __webpack_require__(32);
var _platform2 = _interopRequireDefault(_platform);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = {
VERSION: chrome.runtime.getManifest().version,
PLATFORM: _platform2.default.name,
BROWSERLANG: chrome.i18n.getUILanguage(),
FALLBACKLINK: "https://base0-sv.diltwo.com/client/",
SERVERSJSONFILE: _folders2.default.ASSETS + "/servers.json",
TIERUPDATETTL: 86400,
VERSIONSTATUSTTL: 86400,
UNINSTALLPATH: "/html/uninstalled.php",
TESTREQUESTREGEX: /http:\/\/verify[0-9]{6,12}n[0-9]{6,12}\.com/,
SERVICE: "SetupVPN",
SERVICESHORT: "setupvpn",
SHORTNAME: "sv",
REALM: "setupvpn.com",
CONTACTSUPPORTURL: "https://setupvpn.com/contact/",
PACSCRIPT: "js/PAC.js",
DOWNLOADLINKS: {
ANDROID: "https://play.google.com/store/apps/details?id=com.setupvpn.main",
DESKTOP: "http://desktopclient.net/gw/index.html#/setupvpn"
},
RATEUS: {
LINKS: {
FIREFOX: "https://addons.mozilla.org/en-US/firefox/addon/setupvpn/reviews/",
CHROME: "https://chrome.google.com/webstore/detail/setupvpn-lifetime-free-vp/oofgbpoabipfcfjapgnbbjjaenockbdp/reviews",
EDGE: false
},
INTERVAL: 1000 * 60 * 60 * 24 * 3, // 3 days
DONTASKINTERVAL: 1000 * 60 * 60 * 24 * 3 * 30 // 3 months
},
WEBRTCADDON: {
URL: _platform2.default.WebRTCAddon.url,
ID: _platform2.default.WebRTCAddon.id
},
PROXYADDONS: _platform2.default.proxyAddons,
EXCEPTIONADDONS: _platform2.default.exceptionAddons,
STORAGEKEYS: {
BASELINK: "baselink",
LASTBASELINK: "lastBaselink",
BASELINKNOTFOUND: "baselinkNotFound",
LOCALE: "locale",
LANGUAGE: "language",
USERDATA: "userData",
CONFIGDATA: "configData",
CONFIGDATATTL: "configDataTTL",
PROXYSEARCHFAILED: "proxySearchFailed",
PROXYSEARCHFAILEDCOUNTRY: "proxySearchFailedCountry",
PROXYSEARCHLOCK: "proxySearchLock",
ISPROXYON: "isProxyOn",
CURRENTPROXY: "currentSelectedProxy",
DCACHE: "dCache",
NOTIFICATIONS: "cachedNotifications",
RATEUSNEXTTIME: "ratingNextTime",
PROXYEXTENSIONS: "activeProxyExtensionList",
IPLOOKUPURL: "ipLookUpUrl",
STICKEDCOUNTRIES: "stickedCountries",
ISCOUNTRYSORTED: "isCountrySorted",
LASTSELECTEDTAB: "lastSelectedTab",
BYPASSLIST: "bypassList",
ISINAPPNOTIFICATIONOFF: "isInAppNotificationOff",
LASTLOGINRESULT: "lastLoginResult",
INSTALLID: "installId",
LASTRESENDACTIVATION: "lastResendActivation",
SERVERSJSON: 'serversJson',
TIERNEXTUPDATE: 'tierNextUpdate',
ERRCACHE: 'errCache',
ECACHE: 'eCache',
RCACHE: 'rCache',
HASHCACHE: 'hashCache',
BASELINKTYPE: 'baselinkType',
DEBUGVAL: "debugVal",
TIMEOUTSETTINGS: "timeoutSettings",
TEASERNEXT: 'teaserNext',
VERSIONSTATUSNEXTUPDATE: 'versionStatusNextTime',
VERSIONSTATUS: 'versionStatus',
LOGINTYPE: 'logintype',
LSER: 'localeLser',
COUNTRYLOCALE: 'countryLocale',
CONFIGHARDTTL: 'configHardTTL',
LASTLOGOUTREASON: 'lastLogoutReason',
COUNTRYSESSIONSTATE: 'countrySessionState',
LASTFAILEDSERVER: 'lastFailedServer',
LASTHB: 'lastHB',
BYPASSHOSTS: 'bypassHosts',
SHOWWP: 'showWP'
},
STATUS: {
BLOCKED: "BLOCKED",
OK: "OK"
},
IMAGES: {
ONICON: _folders2.default.IMAGES + "/setupvpn-48.png",
OFFICON: _folders2.default.IMAGES + "/setupvpn-48-grey.png",
HEADERLOGO: _folders2.default.IMAGES + "/setupvpn-150.png",
LOGOLARGE: _folders2.default.IMAGES + "/setupvpn-250.png",
FEATUREPINGIF: "/cdn/feature_pin.gif",
FEATURESORTGIF: "/cdn/feature_sorting.gif",
PERMERRORICON: _folders2.default.IMAGES + "/symbol48-permission-error.png",
PERMFIXGIF: "/cdn/permission-fix.gif",
OTHERTOOLSGIF: "/cdn/other-tools.gif"
},
ERRORCODES: _errorcodes2.default,
LOADINGIMG: '<img src="data:image/gif;base64,R0lGODlhEAAQAPIAAP///wAAAMLCwkJCQgAAAGJiYoKCgpKSkiH/' + 'C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAEAAQAAADMwi63P4wyk' + 'lrE2MIOggZnAdOmGYJRbExwroUmcG2LmDEwnHQLVsYOd2mBzkYDAdKa+dIAAAh+QQJCgAAACwAAAAAEAAQAAADNAi63P5OjCEgG' + '4QMu7DmikRxQlFUYDEZIGBMRVsaqHwctXXf7WEYB4Ag1xjihkMZsiUkKhIAIfkECQoAAAAsAAAAABAAEAAAAzYIujIjK8p' + 'ByJDMlFYvBoVjHA70GU7xSUJhmKtwHPAKzLO9HMaoKwJZ7Rf8AYPDDzKpZBqfvwQAIfkECQoAAAAsAAAAABAAEAAAAzMIu' + 'mIlK8oyhpHsnFZfhYumCYUhDAQxRIdhHBGqRoKw0R8DYlJd8z0fMDgsGo/IpHI5TAAAIfkECQoAAAAsAAAAABAAEAAAAzI' + 'IunInK0rnZBTwGPNMgQwmdsNgXGJUlIWEuR5oWUIpz8pAEAMe6TwfwyYsGo/IpFKSAAAh+QQJCgAAACwAAAAAEAAQAAAD' + 'Mwi6IMKQORfjdOe82p4wGccc4CEuQradylesojEMBgsUc2G7sDX3lQGBMLAJibufbSlKAAAh+QQJCgAAACwAAAAAEAAQ' + 'AAADMgi63P7wCRHZnFVdmgHu2nFwlWCI3WGc3TSWhUFGxTAUkGCbtgENBMJAEJsxgMLWzpEAACH5BAkKAAAALAAAAAA' + 'QABAAAAMyCLrc/jDKSatlQtScKdceCAjDII7HcQ4EMTCpyrCuUBjCYRgHVtqlAiB1YhiCnlsRkAAAOwAAAAAAAAAAAA==">'
};
/***/ }),
/* 1 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = {
VIEWS: './views',
ASSETS: './assets',
FLAGS: './images/flags',
IMAGES: './images',
LOCALE: './locale'
};
/***/ }),
/* 2 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } :
评论10