PageSourceSearch

https://casinosanalyzer.ca/build/midori/assets/js/analytics/authHeader.min.js?v=5801963

js casinosanalyzer.ca collected 2026-09-25 23:53:08 UTC 3,121 bytes, 1 lines download raw bytes

1import{utmParams}from"globals";import{amplitudeVersion,EVENT__ID,EVENT__CAT,ROUTE__ID,PAGE__CURRENT__PATH,PAGE__URL,PAGE__URL__FULL}from"amplitude";const headerSignUpClickTrack=()=>{const e=document.getElementById("profileHeaderNotAuth");e&&e.addEventListener("click",()=>{dataLayer.push(Object.assign({event:"addEvents_click",event_id:`d-v${amplitudeVersion}-e${EVENT__ID}`,event_cat:"w_website_placement_icon_header",event_name:"signup",page_current_path:JSON.stringify(PAGE__CURRENT__PATH),page_url:JSON.stringify(PAGE__URL),page_url_full:JSON.stringify(PAGE__URL__FULL),page_group:JSON.stringify(EVENT__CAT),page_route_id:JSON.stringify(ROUTE__ID),website_domain:JSON.stringify(document.location.hostname)},utmParams()))})},bannerMenuSignUpClickTrack=()=>{const e=document.getElementById("authBannerSignupButton");e&&e.addEventListener("click",()=>{dataLayer.push(Object.assign({event:"addEvents_click",event_cat:"w_website_placement_banner_menu",event_name:"signup",page_current_path:JSON.stringify(PAGE__CURRENT__PATH),page_url:JSON.stringify(PAGE__URL),page_url_full:JSON.stringify(PAGE__URL__FULL),page_group:JSON.stringify(EVENT__CAT),page_route_id:JSON.stringify(ROUTE__ID),website_domain:JSON.stringify(document.location.hostname)},utmParams()))})},buttonLoginSignUpClickTrack=()=>{const e=document.getElementById("authSignupButton");e&&e.addEventListener("click",()=>{dataLayer.push(Object.assign({event:"addEvents_click",event_cat:"w_website_placement_banner_menu",event_name:"login",page_current_path:JSON.stringify(PAGE__CURRENT__PATH),page_url:JSON.stringify(PAGE__URL),page_url_full:JSON.stringify(PAGE__URL__FULL),page_group:JSON.stringify(EVENT__CAT),page_route_id:JSON.stringify(ROUTE__ID),website_domain:JSON.stringify(document.location.hostname)},utmParams()))})},bannerMenuSignUpViewTrack=()=>{const e=document.getElementById("authBannerSignup"),t=new IntersectionObserver(t=>{e&&t.forEach(e=>{e.isIntersecting&&dataLayer.push(Object.assign({event:"addEvents_showBlock",event_cat:"w_website_placement_banner_menu",event_name:"view",page_url:JSON.stringify(PAGE__URL),page_url_full:JSON.stringify(PAGE__URL__FULL),page_current_path:JSON.stringify(PAGE__CURRENT__PATH),page_group:JSON.stringify(EVENT__CAT),page_route_id:JSON.stringify(ROUTE__ID),website_domain:JSON.stringify(document.location.hostname)},utmParams()))})},{root:null,rootMargin:"0px",threshold:1,once:!0});e&&t.observe(e)},clickProfileLogout=()=>{const e=document.getElementById("profileWidgetLogoutButton");e&&e.addEventListener("click",()=>{dataLayer.push(Object.assign({event:"addEvents_click",event_cat:"p_profile",event_name:"logout",page_url:JSON.stringify(PAGE__URL),page_url_full:JSON.stringify(PAGE__URL__FULL),page_current_path:JSON.stringify(document.location.pathname),page_group:JSON.stringify("p_profile"),page_route_id:JSON.stringify(document.body.dataset.routeId),website_domain:JSON.stringify(document.location.hostname)},utmParams()))})},initAuthHeader=()=>{headerSignUpClickTrack(),bannerMenuSignUpClickTrack(),bannerMenuSignUpViewTrack(),buttonLoginSignUpClickTrack(),clickProfileLogout()};export{initAuthHeader};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.