"use strict";
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
    result["default"] = mod;
    return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
const Urlencode = __importStar(require("urlencode"));
function buildScheme(acase) {
    let scheme = `rubik:/test`;
    scheme = `${scheme}?caseId=${Urlencode.encode(acase.ID ? acase.ID : '')}`;
    scheme = `${scheme}&manifest=${Urlencode.encode(JSON.stringify(acase))}`;
    scheme = `${scheme}&source=rubik&portrait=true`;
    return scheme;
}
exports.buildScheme = buildScheme;
//# sourceMappingURL=tools.js.map