1$(function() { 2 3 /* ========================================================================== 4 $TICKETS 5 ========================================================================== */ 6 $('a[href*="venta-entradas.diariovasco.com"], .buy-tickets').on('click', function() { 7 8 pushEvent({ 9 "event": "entradas__acceder", 10 "label": $(this).data("place") 11 }); 12 13 }); 14 15 /* ========================================================================== 16 $AMIGOS DEL MUSEO 17 ========================================================================== */ 18 $('#formAmigos input').on('focus', function() { 19 20 var label = $(this).parent().find('label').text().replace('*','').trim(); 21 22 if( label == '' && $(this).parent().hasClass('bank') ) { 23 24 label = $(this).attr('placeholder').replace('...','').replace('â¦', ''); 25 26 } 27 28 pushEvent({ 29 "event": "amigos-museo__registro__foco", 30 "label": label 31 }); 32 33 }); 34 35 $('#formAmigos input').on('keypress', function() { 36 37 var label = $(this).parent().find('label').text().replace('*','').trim(); 38 39 if( label == '' && $(this).parent().hasClass('bank') ) { 40 41 label = $(this).attr('placeholder').replace('...','').replace('â¦', ''); 42 43 } 44 45 pushEvent({ 46 "event": "amigos-museo__registro__escribir", 47 "label": label 48 }); 49 50 }); 51 52 $('#formAmigos select').on('change', function() { 53 54 pushEvent({ 55 "event": "amigos-museo__registro__escribir", 56 "label": $(this).parent().find('label').text().replace('*','').trim() 57 }); 58 59 }); 60 61 $('#formAmigos input[type="checkbox"]').on('change', function() { 62 63 var label; 64 65 pushEvent({ 66 "event": "amigos-museo__registro__escribir", 67 "label": $(this).parent().text().replace('*','').trim() 68 }); 69 70 }); 71 72 /* ========================================================================== 73 $INSCRIPCIONES 74 ========================================================================== */ 75 $('#formMasterclass input, #formActividades input').on('focus', function() { 76 77 var label = $(this).parent().find('label:first-child').text().replace('*','').trim(); 78 79 if( label == '' && $(this).parent().hasClass('bank') ) { 80 81 label = $(this).attr('placeholder').replace('...','').replace('â¦', ''); 82 83 } 84 85 pushEvent({ 86 "event": "inscripcion__registro__foco", 87 "label": label 88 }); 89 90 }); 91 92 $('#formMasterclass input, #formActividades input').on('keypress', function() { 93 94 var label = $(this).parent().find('label:first-child').text().replace('*','').trim(); 95 96 if( label == '' && $(this).parent().hasClass('bank') ) { 97 98 label = $(this).attr('placeholder').replace('...','').replace('â¦', ''); 99 100 } 101 102 pushEvent({ 103 "event": "inscripcion__registro__escribir", 104 "label": label 105 }); 106 107 }); 108 109 $('#formMasterclass select, #formActividades select').on('change', function() { 110 111 pushEvent({ 112 "event": "inscripcion__registro__escribir", 113 "label": $(this).parent().find('label:first-child').text().replace('*','').trim() 114 }); 115 116 }); 117 118 $('#formMasterclass input[type="checkbox"], #formActividades input[type="checkbox"]').on('change', function() { 119 120 var label; 121 122 pushEvent({ 123 "event": "inscripcion__registro__escribir", 124 "label": $(this).parent().text().replace('*','').trim() 125 }); 126 127 }); 128 129});
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.