"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Functional_1 = require("../../../../Class/Functional");
const _ids_1 = require("../../../_ids");
class ClassToUnitBundle extends Functional_1.Functional {
    constructor(system) {
        super({
            i: ['class'],
            o: ['unit'],
        }, {}, system, _ids_1.ID_CLASS_TO_UNIT_BUNDLE);
    }
    f({ class: Class }, done) {
        const { __bundle } = Class;
        done({ unit: __bundle });
    }
}
exports.default = ClassToUnitBundle;
//# sourceMappingURL=index.js.map