"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.initScript = void 0;
function initScript() {
    if (window.Ripe) {
        return;
    }
    window.Ripe = [];
    ['alias', 'group', 'identify', 'init', 'page', 'setIds', 'track'].forEach(function (method) {
        window.Ripe[method] = function () {
            let args = Array.from(arguments);
            args.unshift(method);
            window.Ripe.push(args);
            return window.Ripe;
        };
    });
}
exports.initScript = initScript;
//# sourceMappingURL=init-script.js.map