"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getServer = void 0;
function getServer(uid) {
    switch (String(uid)[0]) {
        case '1':
        case '2':
            return 'cn_gf01';
        case '5':
            return 'cn_qd01';
        case '6':
            return 'os_usa';
        case '7':
            return 'os_euro';
        case '8':
            return 'os_asia';
        case '9':
            return 'os_cht';
        default:
            throw { code: -1, message: 'Invalid uid' };
    }
}
exports.getServer = getServer;
//# sourceMappingURL=getServerType.js.map