--- /dev/null
+"use strict";
+/* --------------------------------------------------------------------------------------------
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for license information.
+ * ------------------------------------------------------------------------------------------ */
+var __spreadArrays = (this && this.__spreadArrays) || function () {
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
+ r[k] = a[j];
+ return r;
+};
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.config = exports.loadMessageBundle = void 0;
+var ral_1 = require("../common/ral");
+var common_1 = require("../common/common");
+var common_2 = require("../common/common");
+Object.defineProperty(exports, "MessageFormat", { enumerable: true, get: function () { return common_2.MessageFormat; } });
+Object.defineProperty(exports, "BundleFormat", { enumerable: true, get: function () { return common_2.BundleFormat; } });
+function loadMessageBundle(_file) {
+ return function (key, message) {
+ var args = [];
+ for (var _i = 2; _i < arguments.length; _i++) {
+ args[_i - 2] = arguments[_i];
+ }
+ if (typeof key === 'number') {
+ throw new Error("Browser implementation does currently not support externalized strings.");
+ }
+ else {
+ return common_1.localize.apply(void 0, __spreadArrays([key, message], args));
+ }
+ };
+}
+exports.loadMessageBundle = loadMessageBundle;
+function config(options) {
+ common_1.setPseudo((options === null || options === void 0 ? void 0 : options.locale.toLowerCase()) === 'pseudo');
+ return loadMessageBundle;
+}
+exports.config = config;
+ral_1.default.install(Object.freeze({
+ loadMessageBundle: loadMessageBundle,
+ config: config
+}));
+//# sourceMappingURL=main.js.map
\ No newline at end of file