"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Functional_1 = require("../../../../../Class/Functional");
const _ids_1 = require("../../../../_ids");
class PushState extends Functional_1.Functional {
    constructor(system) {
        super({
            i: ['data', 'title', 'url'],
            o: [],
        }, {}, system, _ids_1.ID_PUSH_STATE);
    }
    async f({ data, title, url }, done) {
        const { api: { history: { pushState }, }, } = this.__system;
        pushState(data, title, url);
        done();
    }
}
exports.default = PushState;
//# sourceMappingURL=index.js.map