1(function () { 2 var pathname = window.location.pathname; 3 4 // NOTE: if its LP. 5 var isLanding = /^\/(sk|cz)?\/?$/.test(pathname); 6 if (!isLanding) return; 7 8 try { 9 var hasAccessToken = !!localStorage.getItem('access_token'); 10 var hasFacebookToken = !!localStorage.getItem('facebook_access_token'); 11 if (!hasAccessToken || hasFacebookToken) return; 12 13 var localeMatch = pathname.match(/^\/(sk|cz)(\/|$)/); 14 var prefix = localeMatch ? '/' + localeMatch[1] : ''; 15 window.location.replace(prefix + '/kalendar/'); 16 } catch (e) {} 17})();
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.