PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/rfstoolsupply.com/wp-content/plugins/complianz-gdpr/shepherd/js/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : //home/trave494/rfstoolsupply.com/wp-content/plugins/complianz-gdpr/shepherd/js/cmplz-tour.min.js |
jQuery(document).ready(function($){if(!window.Shepherd)return;var stepsArr=Object.entries(cmplz_tour.steps);var steps=[];stepsArr.forEach(([key,value])=>{steps[key]=value});var prevLink=[];var prevText=[];var nextLink=[];var nextText=[];var tour=new Shepherd.Tour;initTour();if(typeof window._wpLoadBlockEditor!=="undefined"){window._wpLoadBlockEditor.then(function(){setTimeout(function(){initTour()},2e3)})}function initTour(){for(var key in steps){if(steps.hasOwnProperty(key)){var step=steps[key];var stepCount=steps.length;if($(step.attach).length){if(key==0){prevLink[0]=cmplz_tour.configure_link;prevText[0]=cmplz_tour.configure_text}else{prevLink[key]=steps[key-1].link;prevText[key]=cmplz_tour.backBtnText}if(key<stepCount-1){nextLink[key]=steps[parseInt(key)+1].link;nextText[key]=cmplz_tour.nextBtnText}else{nextLink[key]=nextLink[key-1];nextText[key]=cmplz_tour.endTour}tour.on("cancel",cancel_tour);tour.options.defaults={classes:"shepherd-theme-arrows",scrollTo:true,scrollToHandler:function(e){if(typeof $(e).offset()!=="undefined"){$("html, body").animate({scrollTop:$(e).offset().top-200},1e3)}},showCancelLink:true,tetherOptions:{constraints:[{to:"scrollParent",attachment:"together",pin:false}]}};tour.addStep(key,{classes:"shepherd-theme-arrows cmplz-shepherd shepherd-has-cancel-link shepherd-step-"+key,attachTo:step.attach+" "+step.position,title:step.title,text:cmplz_tour.html.replace("{content}",step.text),buttons:[{text:prevText[key],classes:"button button-primary",action:function(){var step_id=$(this).closest(".shepherd-step").data("id");if(step_id==0){tour.cancel();window.location=prevLink[step_id]}else{if(prevLink.length>1&&prevLink[step_id]===steps[step_id].link){if(steps[parseInt(step_id)-1].hasOwnProperty("click")&&$(steps[parseInt(step_id)-1].click).length){$(steps[parseInt(step_id)-1].click).click()}tour.back()}else{window.location=prevLink[step_id]}}}},{text:nextText[key],action:function(){var step_id=$(this).closest(".shepherd-step").data("id");if(step_id==stepCount-1){tour.cancel()}else{if(nextLink.length>1&&nextLink[step_id]===steps[step_id].link){if(steps[parseInt(step_id)+1].hasOwnProperty("click")&&$(steps[parseInt(step_id)+1].click).length){$(steps[parseInt(step_id)+1].click).click()}tour.next()}else{window.location=nextLink[step_id]}}},classes:"button button-primary"}]});tour.start()}}}}function cancel_tour(){tour.canceled=true;$.ajax({type:"POST",url:cmplz_tour.ajaxurl,dataType:"json",data:{action:"cmplz_cancel_tour",token:cmplz_tour.token}})}});