https://www.audiodramax.com/wp-content/plugins/elementor-for-sonaar/assets/js/sr-scripts.js?ver=1.10
1(function ($) { 2 "use strict"; 3 4 var isEditMode = false; 5 6 7 var MailChimp = function ($scope, $) { 8 var $mailChimp = $scope.find('.sr-mailchimp-wrap').eq(0), 9 $mailchimp_id = ($mailChimp.data("mailchimp-id") !== undefined) ? $mailChimp.data("mailchimp-id") : '', 10 $api_key = ($mailChimp.data("api-key") !== undefined) ? $mailChimp.data("api-key") : '', 11 $list_id = ($mailChimp.data("list-id") !== undefined) ? $mailChimp.data("list-id") : '', 12 $button_text = ($mailChimp.data("button-text") !== undefined) ? $mailChimp.data("button-text") : '', 13 $success_text = ($mailChimp.data("success-text") !== undefined) ? $mailChimp.data("success-text") : '', 14 $loading_text = ($mailChimp.data("loading-text") !== undefined) ? $mailChimp.data("loading-text") : ''; 15 //debugger; 16 17 sr_mailchimp_subscribe( 'sr-mailchimp-form-'+ $mailchimp_id +'', $api_key , $list_id , $button_text , $success_text , $loading_text ); 18 } 19 20 21 $(window).on('elementor/frontend/init', function () { 22 23 //Apply in the Editor mode only 24 if ( elementorFrontend.isEditMode() ) { 25 isEditMode = true; 26 27 //Load Music Player content in the Editor mode 28 elementorFrontend.hooks.addAction( 'frontend/element_ready/music-player.default', function( ) { 29 if (typeof setIronAudioplayers == 'function') { 30 setIronAudioplayers(); 31 } 32 }); 33 34 //Load Podcast Player content in the Editor mode 35 elementorFrontend.hooks.addAction( 'frontend/element_ready/podcast-player.default', function( ) { 36 if (typeof setIronAudioplayers == 'function') { 37 setIronAudioplayers(); 38 } 39 }); 40 41 //Podcast Archive content in the Editor mode 42 elementorFrontend.hooks.addAction( 'frontend/element_ready/podcast-archive.default', function( ) { 43 $('.sonaar-list').each( function(){ 44 var maxEpisode = $(this).data('item-per-page') 45 $(this).find('.sonaar-podcast-list-item').each( function(index){ 46 if(index >= maxEpisode){ 47 $(this).hide(); 48 } 49 }) 50 }) 51 }); 52 53 //Parallax Grid content in the Editor mode 54 elementorFrontend.hooks.addAction( 'frontend/element_ready/parallaxgrid.default', function( ) { 55 if (typeof setIronAudioplayers == 'function') { 56 IRON.grid_column(); 57 } 58 }); 59 60 } 61 62 elementorFrontend.hooks.addAction('frontend/element_ready/sonaar-mailchimp.default', MailChimp); 63 64 }); 65 66}(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.