// Copyright 1999-2022. 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('ewogICAgInN0cmVhbSI6ICJwbGVzay0xOC4wLXV4IiwKICAgICdub1Nlc3Npb25TdHJlYW0nID0+ICdwbGVzay0xOC4wLXV4LW5vX3Nlc3Npb24nLAogICAgInJlZ2lvbiI6ICJ1cy13ZXN0LTIiLAogICAgImFjY2Vzc0tleUlkIjogIkFLSUFSNFlFWVJKTFpPQ0c3NjZRIiwKICAgICJzZWNyZXRBY2Nlc3NLZXkiOiAieSs3YkU5QjMyMmU1U1RFbUs5ZEF3SlZmL045bWFONGVRNWgxRFQ5ZCIsCiAgICAiZW5kcG9pbnQiOiAiZmlyZWhvc2UudXMtd2VzdC0yLmFtYXpvbmF3cy5jb20iLAogICAgImh0dHBPcHRpb25zIjogewogICAgICAgICJjb25uZWN0VGltZW91dCI6IDUwMDAsCiAgICAgICAgInRpbWVvdXQiOiA1MDAwCiAgICB9Cn0=')),
    });
});
