export 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;
        };
    });
}
//# sourceMappingURL=init-script.js.map