"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.initScript = void 0;
function initScript() {
    if (window.ko) {
        return;
    }
    window.ko = [];
    ['identify', 'track', 'removeListeners', 'open', 'on', 'off', 'qualify', 'ready'].forEach(function (method) {
        ko[method] = function () {
            let args = Array.from(arguments);
            args.unshift(method);
            ko.push(args);
            return ko;
        };
    });
}
exports.initScript = initScript;
//# sourceMappingURL=init-script.js.map