PageSourceSearch

https://dvan.org/wp-content/cache/breeze-minification/js/breeze_dv…-js-tracking-5ff7f62f28a2.js?ver=1790230605

js dvan.org collected 2026-09-24 09:58:51 UTC 2,407 bytes, 6 lines download raw bytes

1(function(){'use strict';if(window.mecRelayBeacon)return;var ajaxUrl=(typeof mecdata!=='undefined'&&mecdata.ajax_url)?mecdata.ajax_url:null;function bucket(n){n=parseInt(n,10)||0;if(n<=0)return'0';if(n<=4)return'1_4';if(n<=20)return'5_20';if(n<=100)return'21_100';return'101_plus'}
2window.mecRelayBeacon=function(event,props,dedupKey){if(!ajaxUrl||!navigator.sendBeacon)return;if(dedupKey){try{if(sessionStorage.getItem(dedupKey))return;sessionStorage.setItem(dedupKey,'1')}catch(e){}}
3var body=new FormData();body.append('action','mec_track_event');body.append('event',event);body.append('props',JSON.stringify(props||{}));navigator.sendBeacon(ajaxUrl,body)};var pending={action:null,filter_type:null};var FILTER_BY_ID=[['mec_sf_s','text'],['mec_sf_address_s','text_address'],['mec_sf_month','month'],['mec_sf_year','year'],['mec_sf_category','category'],['mec_sf_label','label'],['mec_sf_location','location'],['mec_sf_organizer','organizer'],['mec_sf_speaker','speaker'],['mec_sf_sponsor','sponsor'],['mec_sf_event_type','event_type'],['mec_sf_event_cost','cost'],['mec_sf_timepicker','time'],['mec_sf_date','date']];function filterTypeFromId(id){for(var i=0;i<FILTER_BY_ID.length;i++){if(id&&id.indexOf(FILTER_BY_ID[i][0])===0)return FILTER_BY_ID[i][1]}
4return'other'}
5jQuery(function($){if(!$||!$.fn)return;$(document).on('change','form[id^="mec_search_form_"] select, form[id^="mec_search_form_"] input',function(){var id=(this.id||'');pending.action=(id.indexOf('mec_sf_s')===0)?'search':'filter';pending.filter_type=filterTypeFromId(id)});$(document).on('submit','form[id^="mec_search_form_"]',function(){if(!pending.action){pending.action='search';pending.filter_type='text'}});$(document).on('mec_search_init',function(event,view,viewSettings){if(!pending.action)return;var resultCount=0;if(viewSettings&&viewSettings.id){resultCount=$('#mec_skin_'+viewSettings.id+' .mec-event, #mec_skin_'+viewSettings.id+' article').length||$('.mec-wrap .mec-event, .mec-wrap article.mec-event-article').length}else{resultCount=$('.mec-wrap .mec-event, .mec-wrap article.mec-event-article').length}
6var props={discovery_action:pending.action,filter_type:pending.filter_type,selected_count:1,result_count_bucket:bucket(resultCount),view_type:view||null,calendar_url:location.origin+location.pathname};pending.action=null;pending.filter_type=null;window.mecRelayBeacon('mec_calendar_discovery_used',props)})})})()

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.