"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const boot_1 = require("../boot");
const makeRemoteUnitAPI_1 = require("../client/makeRemoteUnitAPI");
const RemoteRef_1 = require("../client/RemoteRef");
const service_1 = require("../client/service");
const post = (data) => {
    postMessage(data, null);
};
const system = (0, boot_1.boot)();
const api = (0, makeRemoteUnitAPI_1.makeRemoteUnitAPI)(system, ['$S']);
const ref = new RemoteRef_1.RemoteRef(api, post);
(0, service_1.init)(() => {
    return ref;
});
//# sourceMappingURL=system.js.map