PageSourceSearch

https://vaultrecordsent.com/wp-content/plugins/mage-eventpress/assets/frontend/mpwem_script.js?ver=1790341876

js vaultrecordsent.com collected 2026-09-25 13:12:09 UTC 3,584 bytes, 95 lines download raw bytes

1(function ($) {
2	"use strict";
3	//*****************************Faq***********************************//
4	$(document).on('click', '.mep-event-faq-set > a', function () {
5		let current = $(this);
6		if (current.hasClass("active")) {
7			current.removeClass("active");
8			current.siblings(".mep-event-faq-content").slideUp(200);
9			$(".mep-event-faq-set > a i").removeClass("fa-minus").addClass("fa-plus");
10		} else {
11			$(".mep-event-faq-set > a i").removeClass("fa-minus").addClass("fa-plus");
12			current.find("i").removeClass("fa-plus").addClass("fa-minus");
13			$(".mep-event-faq-set > a").removeClass("active");
14			current.addClass("active");
15			$(".mep-event-faq-content").slideUp(200);
16			current.siblings(".mep-event-faq-content").slideDown(200);
17		}
18	});
19	//****************************************************************//
20	//****************************************************************//
21	//****************************************************************//
22	//****************************************************************//
23}(jQuery));
24function mp_event_wo_commerce_price_format(price) {
25	let currency_position = jQuery('input[name="currency_position"]').val();
26	let currency_symbol = jQuery('input[name="currency_symbol"]').val();
27	let currency_decimal = jQuery('input[name="currency_decimal"]').val();
28	let currency_thousands_separator = jQuery('input[name="currency_thousands_separator"]').val();
29	let currency_number_of_decimal = jQuery('input[name="currency_number_of_decimal"]').val();
30	let price_text = '';
31
32	price = price.toFixed(currency_number_of_decimal);
33// console.log('price= '+ price);
34	let total_part = price.toString().split(".");
35	total_part[0] = total_part[0].replace(/\B(?=(\d{3})+(?!\d))/g, currency_thousands_separator);
36	price = total_part.join(currency_decimal);
37
38	if (currency_position === 'right') {
39		price_text = price + currency_symbol;
40	} else if (currency_position === 'right_space') {
41		price_text = price + ' ' + currency_symbol;
42	} else if (currency_position === 'left') {
43		price_text = currency_symbol + price;
44	} else {
45		price_text = currency_symbol + ' ' + price;
46	}
47	// console.log('price= '+ price_text);
48	return price_text;
49}
50(function ($) {
51//added by sumon
52	$(document).on('click', '.mep-event-list-loop .mp_event_visible_event_time', function (e) {
53		e.preventDefault();
54		let target = $(this);
55		$('.mep-event-list-loop .mp_event_visible_event_time').each(function () {
56			let current=$(this).siblings('ul.mp_event_more_date_list');
57			if(current.is(':visible')){
58				let active_text=$(this).data('active-text');
59				$(this).html(active_text);
60				current.slideUp(200);
61			}
62
63		}).promise().done(function () {
64			let current_list=target.siblings('ul.mp_event_more_date_list');
65			if(current_list.length>0){
66				if(current_list.is(':visible')){
67					current_list.slideUp(200);
68					target.html(target.data('active-text'));
69				}else{
70					current_list.slideDown(200);
71					target.html(target.data('hide-text'));
72				}
73			}else{
74				let event_id = target.data('event-id');
75				$.ajax({
76					type: 'POST',
77					url: mp_ajax_url,
78					data: {"action": "mep_event_list_date_schedule", "event_id":event_id},
79					beforeSend: function(){
80						target.html('<span class="fas fa-spinner fa-pulse"></span>');
81					},
82					success: function(data){
83						$(data).insertAfter(target);
84						target.html(target.data('hide-text'));
85					}
86				});
87			}
88
89
90		});
91	});
92	$(document).on('click', 'button.mep_view_vr_btn', function () {
93		$(this).closest('tr').next('tr.mep_virtual_event_info_sec').slideToggle('fast');
94	});
95}(jQuery));

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.