PageSourceSearch

https://www.theindustry.fashion/wp-content/plugins/ap-plugin-scripteo/frontend/js/script.js?ver=7.1.2

js theindustry.fashion collected 2026-09-24 08:32:17 UTC 1,978 bytes, 68 lines download raw bytes

1function selectBillingModel()
2{
3	(function($){
4
5		var radioModel = $('input[name="ad_model"]:checked');
6		var radioValues = $(".bsaProInputsValues");
7		var radioValuesCPC = $(".bsaProInputsValuesCPC");
8		var radioValuesCPM = $(".bsaProInputsValuesCPM");
9		var radioValuesCPD = $(".bsaProInputsValuesCPD");
10
11		$('input[name="ad_limit_cpc"]').prop('checked', false);
12		$('input[name="ad_limit_cpm"]').prop('checked', false);
13		$('input[name="ad_limit_cpd"]').prop('checked', false);
14
15		$('input[name="ad_model"]').on('click', function() {
16			$('.bsaInputInnerModel').removeClass('bsaSelected');
17		});
18
19		radioValues.slideUp();
20
21		if ( radioModel.val() === 'cpc' ) {
22			radioValuesCPC.slideDown();
23			radioModel.parent(1).addClass('bsaSelected');
24		} else if ( radioModel.val() === 'cpm' ) {
25			radioValuesCPM.slideDown();
26			radioModel.parent(1).addClass('bsaSelected');
27		} else if ( radioModel.val() === 'cpd' ) {
28			radioValuesCPD.slideDown();
29			radioModel.parent(1).addClass('bsaSelected');
30		}
31
32	})(jQuery);
33}
34
35(function($){
36
37	$(document).ready(function(){
38
39		if ( $('#bsaSuccessProRedirect').length ) {
40			var getRedirectUrl = $('#bsa_payment_url').val();
41			setTimeout(function() {
42				window.location.replace(getRedirectUrl);
43			}, 2000);
44		}
45
46		if ( $('#bsaSuccessProAgencyRedirect').length ) {
47			var getAgencyRedirectUrl = $('#bsa_payment_agency_url').val();
48			setTimeout(function() {
49				window.location.replace(getAgencyRedirectUrl);
50			}, 2000);
51		}
52
53		var bsaProItem = $('.bsaProItem');
54		bsaProItem.each(function() {
55			if ( $(this).data('animation') != null && $(this).data('animation') !== 'none' ) {
56				$(this).addClass('bsaHidden').viewportChecker({
57					// Class to add to the elements when they are visible
58					classToAdd: 'animated ' + $(this).data('animation'),
59					offset: 100,
60					repeat: false,
61					callbackFunction: function(elem, action){}
62				});
63			}
64		});
65
66	});
67
68})(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.