"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.OkrTypeSetting = exports.OkrClassifySetting = exports.KrWeightSetting = void 0;
exports.getBSGlobal = getBSGlobal;

var _getBSGlobal, _getBSGlobal2, _getBSGlobal3;

function getBSGlobal(name) {
  return name ? BSGlobal && BSGlobal[name] : BSGlobal;
}

var _ref = ((_getBSGlobal = getBSGlobal("OkrAdvancedSetting")) === null || _getBSGlobal === void 0 ? void 0 : _getBSGlobal.KRSetting) || {},
    OkrTypeSetting = _ref.OkrTypeSetting;

exports.OkrTypeSetting = OkrTypeSetting;
var OkrClassifySetting = ((_getBSGlobal2 = getBSGlobal("OkrAdvancedSetting")) === null || _getBSGlobal2 === void 0 ? void 0 : _getBSGlobal2.KRSetting.OkrClassify) || {};
exports.OkrClassifySetting = OkrClassifySetting;
var KrWeightSetting = (_getBSGlobal3 = getBSGlobal("OkrAdvancedSetting")) === null || _getBSGlobal3 === void 0 ? void 0 : _getBSGlobal3.KRSetting.KrWeight;
exports.KrWeightSetting = KrWeightSetting;