function loadTealium(n){try{if(typeof utag_data!="undefined"&&utag_data)utag_data.identity_gdprconsentlevel=n,loadTealiumAttempts=0,utagLoaded||(utagLoaded=!0,launchUtagView());else if(loadTealiumAttempts++,loadTealiumAttempts>10)throw"too many attempts";else setTimeout(function(){loadTealium(n)},500)}catch(t){appInsights.trackException("Error at loadTealium : "+t);console.log(t)}}function launchUtagView(){try{if(!utagViewDone)if(typeof utag!="undefined"&&utag)utagViewDone=!0,utag.view();else if(utagViewAttempts++,utagViewAttempts>10)throw"too many attempts";else setTimeout(launchUtagView,1e3)}catch(n){appInsights.trackException("Error at launchUtagView : "+n);console.log(n)}}var utagViewAttempts=0,utagViewDone=!1,loadTealiumAttempts=0