"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Functional_1 = require("../../../../../Class/Functional");
const _ids_1 = require("../../../../_ids");
class PostMessage extends Functional_1.Functional {
    constructor(system) {
        super({
            i: ['window', 'target', 'data'],
            o: [],
        }, {
            output: {
                window: {
                    ref: true,
                },
            },
        }, system, _ids_1.ID_POST_MESSAGE);
    }
    f({ window, target, data }, done) {
        const { api: { window: { open }, }, } = this.__system;
        done({});
    }
}
exports.default = PostMessage;
//# sourceMappingURL=index.js.map