1var loginStatus = true; 2 3$(document).ready(function () { 4 if (loginStatus != undefined && !loginStatus) { 5 trackSignInType(loginStatus); 6 } 7 8 var params = new URLSearchParams(location.search); 9 10 if (params.has('errorReason') && params.get('errorReason') === 'GenericError') { 11 $('#genericError').removeClass('hidden'); 12 gaTaggingPush('Error', 'Payment', 'ApplePay-Login-Page-GenericError'); 13 } 14 15 $('.change-email').click(function () { 16 gaTaggingPush('Login', 'Change Email', ''); 17 }); 18 19 var customerEmail = window.sessionStorage.getItem('customerEmailInEmailSection'); 20 if (customerEmail) { 21 var $emailOrAccountNumberinput = $('#EmailOrAccountNumber'); 22 if ($emailOrAccountNumberinput.length) $emailOrAccountNumberinput.val(customerEmail); 23 } 24}); 25 26function gaTaggingPush(cat, action, label) { 27 if (firebase != undefined) { 28 firebase.push({ 29 'event': 'TrackGAEvent', 30 'link_category': cat, 31 'link_id': action, 32 'link_name': label 33 }); 34 } 35} 36 37function toggleDisableSignInButton(_this) { 38 if ($(_this).find('#SignInBtn').hasClass('disabled')) { 39 $(_this).find('#SignInBtn').removeAttr('disabled'); 40 $(_this).find('#SignInBtn').removeClass('disabled'); 41 } 42 else { 43 $(_this).find('#SignInBtn').attr('disabled', 'disabled'); 44 $(_this).find('#SignInBtn').addClass('disabled'); 45 } 46}
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.