// Copyright 1999-2023. Plesk International GmbH. All rights reserved.

document.addEventListener('DOMContentLoaded', function () {
    if (!Jsw.Cookie.get('uat-iid') && !Jsw.Cookie.get('uat-sid')) {
        return;
    }
    Jsw.UAT.init({
        instanceId: Jsw.Cookie.get('uat-iid') || 'HWID.ISNO.TSET.0000.0000.0000.0000.0000',
        sessionId: Jsw.Cookie.get('uat-sid') || '0000',
        firehose: JSON.parse(atob('ewogICAgInN0cmVhbSI6ICJwbGVzay0xOC4wLXV4IiwKICAgICJub1Nlc3Npb25TdHJlYW0iOiAgInBsZXNrLTE4LjAtdXgtbm9fc2Vzc2lvbiIsCiAgICAicmVnaW9uIjogInVzLXdlc3QtMiIsCiAgICAiYWNjZXNzS2V5SWQiOiAiQUtJQVI0WUVZUkpMWk9DRzc2NlEiLAogICAgInNlY3JldEFjY2Vzc0tleSI6ICJ5KzdiRTlCMzIyZTVTVEVtSzlkQXdKVmYvTjltYU40ZVE1aDFEVDlkIiwKICAgICJlbmRwb2ludCI6ICJmaXJlaG9zZS51cy13ZXN0LTIuYW1hem9uYXdzLmNvbSIsCiAgICAiaHR0cE9wdGlvbnMiOiB7CiAgICAgICAgImNvbm5lY3RUaW1lb3V0IjogNTAwMCwKICAgICAgICAidGltZW91dCI6IDUwMDAKICAgIH0KfQ==')),
    });
});
