PageSourceSearch

https://securitiesce.com/wp-content/themes/securitiesce/theme/js/script.min.js?ver=1784565542

js securitiesce.com collected 2026-09-24 19:46:51 UTC 18,956 bytes, 1 lines download raw bytes

1(()=>{jQuery(document).ready(function(e){e(".menu-toggler").on("click",function(){let o=e(this).attr("data-menu-id"),t=e(`#${o}`),a=e(this).attr("aria-expanded")==="true";e(this).attr("aria-expanded",!a),t.toggleClass("mobile-only:!translate-y-0")}),e(".dropdown-menu").hide(),e(".menu-item-has-children").on("click",function(o){o.preventDefault(),o.stopPropagation();let t=e(this).find(".dropdown-menu");e(".dropdown-menu").not(t).removeClass("active").hide(),t.toggleClass("active").toggle()}),e("#primary_menu").scroll(function(){var o=e(this).scrollTop();console.log("Scrolling within #primary_menu at position:",o),o>50?e(".custom-logo").css("z-index","0"):e(".custom-logo").css("z-index","50")}),e(".stop-propagation").on("click",function(o){o.stopPropagation()}),e(".dropdown-menu").on("click",function(o){o.stopPropagation()})});jQuery(document).ready(function(e){e("span.stars").each(function(){var o=24,t=parseFloat(e(this).text()),a=Math.max(0,Math.min(5,t))*o;e(this).width(a)})});var Q=0,T="",p=new Array;var w={};var S=0,_=window.location.origin+"/";console.log(_);jQuery(function(e){jQuery("#exam-ui").length&&jQuery.ajax({type:"POST",url:ajaxObject.ajaxurl,async:!1,data:{action:"get_exam_data",data:"examId="+EXAM_REQUEST_ID},success:function(o){console.log(o,"response");var t=e.parseJSON(o);if(Q=t.id,T=t.name,p=t.questions,t.answers&&t.answers.length)for(var a=0;a<t.answers.length;a++){var i=t.answers[a];w[i.questionIndex-1]=i.answerId}console.log(e("#questions-container").length);var l=jQuery("#questions-container");l.length===0?console.error("Container not found!"):U(l),F(),R()}}),jQuery("#exam-time-left").length&&EXAM_TIME_LEFT&&j(),jQuery("#exam-time-left2").length&&EXAM_TIME_LEFT&&j()});function F(){jQuery("#loading").hide(),console.log("after hiding loading"),jQuery("#exam-name").text(T),jQuery("#question-count").text(p.length);var e;jQuery("#finish-exam-button").click(function(){M()}),jQuery("#finish-exam-button2").click(function(){M()}),jQuery("#exam-ui").show()}function R(){for(var e=-1,o="",t=0;t<p.length;t++)p[t].topic!=o&&(e++,o=p[t].topic),w[t]&&jQuery("#nav-list-"+t+" a").attr("class","question_answered_question")}function E(){jQuery("#exam-ui").hide(),jQuery("timeAndNav").hide()}function L(e,o){var t=o||typeof o>"u"?"<br />":"<br>";return(e+"").replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g,"$1"+t+"$2")}function U(e){for(var o=0;o<p.length;o++){var t=p[o],a=jQuery("<div />").addClass("questions-container my-12"),i=jQuery("<div />").addClass("flex flex-row items-center mb-4").append(jQuery('<h4 class="text-primary text-[24px] leading-[27px] font-bold"/>').text("Question "+(o+1)),'<div class="ml-4 h-[1px] w-[180px] bg-[#A3A2C4]"></div>');a.append(i),a.append(jQuery("<div />").attr("id","topic-name").html(t.topic)),a.append(jQuery('<div class="body-text text-[16px]" />').attr("id","question-text").html(L(t.text))),a.append(jQuery('<div class="mb-4"/>').attr("id","question-body").html(t.body)),a.append(jQuery("<input />").attr("type","hidden").attr("class","question-id").val(t.question_id));for(var l=jQuery('<ul class="exam-answer-choices"/>').addClass("unstyled"),n=0;n<t.answers.length;n++){var u=t.answers[n],d=jQuery('<li class="exam-answer-item"/>'),v=jQuery("<input class='exam-radio' type='radio' name='answer_"+o+"' id='answer_"+o+"_"+n+"' />");v.val(u.text);var f=jQuery('<span class="checkmark"/>'),r=jQuery("<label />");r.attr("for","answer_"+o+"_"+n),r.html(u.text),r.attr("class","question_choice"),d.append(v),d.append(r),d.append(f),l.append(d)}a.append(l),e.append(a)}}function M(){var e=[],o=!0;if(jQuery(".questions-container").each(function(){var t=jQuery(this).find(".question-id").val(),a=jQuery(this).find(".exam-answer-choices").find("input[type='radio']:checked").val();if(!a)return o=!1,!1;e.push({question_id:t,answer:a})}),!o){alert("Please select an answer for all questions before finishing the exam.");return}confirm("Are you sure you wish to finish this exam?")&&(jQuery("html, body").animate({scrollTop:0},500),jQuery.ajax({type:"POST",url:ajaxObject.ajaxurl,async:!1,data:{action:"finish_user_exam",data:{exam_id:Q,questions_data:e}},success:function(t){t=="success"&&(jQuery("#examContainer").hide(),jQuery("#getExamResult").show(),jQuery("#moreExamQuestions").show())}}))}jQuery(function(){jQuery("#cancelExamResult").click(function(){jQuery("#getExamResult").hide(),jQuery("#examContainer").show(),jQuery("#timeAndNav").hide(),E(),window.location=_+EXAM_MAIN_PAGE+"/exam-result"})});function q(e){var o=/^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/;return!!o.test(e)}jQuery(function(){jQuery(document).on("click","#submitExamResult",function(){console.log("clicked");var e=jQuery("#userExamEmail").val(),o=jQuery("#userChosenSeries").val();
1if(e=="")return jQuery("#userExamEmail").css("border","1px solid #ff0000"),jQuery("#userExamEmail").attr("placeholder","Please enter your email"),!1;q(e)?jQuery.ajax({type:"POST",url:ajaxObject.ajaxurl,async:!1,data:{action:"result_to_user_email",data:"examID="+EXAM_REQUEST_ID+"&email="+e+"&userChosenSeries="+o},success:function(t){t=="success"&&(jQuery("#loading").show(),jQuery("#loading").html("<p>Email has been sent to "+e+"</p>"),jQuery("#getExamResult").hide(),jQuery("#examContainer").show(),jQuery("#timeAndNav").hide(),E(),jQuery("#submitting").show(),window.location=_+EXAM_MAIN_PAGE+"/exam-result?examid="+EXAM_REQUEST_ID)},error:function(t,a,i){console.log("AJAX error",a,i)}}):(jQuery("#userExamEmail").css("border","1px solid #ff0000"),jQuery("#userExamEmail").val(""),jQuery("#userExamEmail").attr("placeholder","Please enter a valid email"))}),jQuery(document).on("focus","#userExamEmail",function(){jQuery(this).css("border","1px solid #ccc")})});function X(){E(),jQuery("#submitting").show();for(var e=new Array,o=0;o<p.length;o++){var t=p[o].id,a=null;w[t]&&(a=w[t]),a!=null&&e.push({index:o+1,answerId:a})}jQuery.ajax({type:"POST",url:ajaxObject.ajaxurl,async:!1,data:{action:"finish_user_exam",data:{exam_id:Q}},success:function(i){i=="success"?window.location=_+EXAM_MAIN_PAGE+"/exam-result":jQuery("#submitting").hide()}})}function j(){var e=EXAM_TIME_LEFT-S;S+=1;var a=Math.floor(e/60),o=e%60,t=Math.floor(a/60),a=a%60;t<10&&(t="0"+t),a<10&&(a="0"+a),o<10&&(o="0"+o),e<=0?(alert("Your exam has timed out. You will now be redirected to the exam submission screen."),jQuery("#exam-ui").length?X(!1):window.location=_+EXAM_MAIN_PAGE+"/exam-result"):(jQuery("#exam-time-left").val(t+":"+a+":"+o),jQuery("#exam-time-left2").val(t+":"+a+":"+o),setTimeout(j,1e3))}var b=["input","textarea","select"];b=b.join("|");function D(e){if(b.indexOf(e.target.tagName.toLowerCase())==-1)return!1}function z(){return!0}typeof document.onselectstart<"u"?document.onselectstart=new Function("return false"):(document.onmousedown=D,document.onmouseup=z);jQuery(document).ready(function(e){function o(){e("#product-col-2, #product-col-3").hide(),e("#product-col-1").show(),e('.tab-element[data-product-col="#product-col-1"]').addClass("active-tab"),e(document).on("click",".tab-element",function(){e(".tab-element").removeClass("active-tab"),e(this).addClass("active-tab"),e("#product-col-1, #product-col-2, #product-col-3").hide();var t=e(this).data("product-col");e(t).show()})}e(window).width()<=1280&&o()});var G=window.location.host;function W(e){var o=/^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/;return!!o.test(e)}jQuery(function(e){e(document).on("click","#freecouponbttn",function(){e("#formErrorCoupon").html("");var o=e("#freeCouponForm").attr("data-page"),t=e("#uName").val(),a=e("#uEmail").val();if(t===""&&a==="")return e("#formErrorCoupon").html('<p class="msg error">Please fill all fields.</p>'),e("#uName").addClass("errorField"),e("#uEmail").addClass("errorField"),!1;if(t==="")return e("#formErrorCoupon").html('<p class="msg error">Please enter your full name.</p>'),e("#uName").addClass("errorField"),!1;if(a==="")return e("#formErrorCoupon").html('<p class="msg error">Please enter your email address.</p>'),e("#uEmail").addClass("errorField"),!1;W(a)?(e("#freecouponbttn").hide(),e("#submittingText").show(),e.ajax({type:"POST",url:ajaxObject.ajaxurl,async:!0,data:{action:"post_user_free_coupon_data_definition",data:"fullname="+t+"&email="+a+"&pagename="+o},success:function(i){console.log(i),e("#freecouponbttn").show(),e("#submittingText").hide(),e("#formErrorCoupon").html('<p class="msg success">'+i+"</p>"),e(".userInput").val("")}})):(e("#formErrorCoupon").html('<p class="msg error">Please enter a valid email.</p>'),e("#uEmail").addClass("errorField"),e(document).on("focus","#uEmail",function(){e(this).removeClass("errorField"),e("#formErrorCoupon").html("")}))}),e(document).on("focus",".userInput",function(){e(this).removeClass("errorField");var o=e("#uName").val(),t=e("#uEmail").val();(o===""||t==="")&&e("#formErrorCoupon").html("")})});jQuery(document).ready(function(e){o();function o(){var t=window.location.href,a=t.split("/"),i=a[a.length-1].replace(/#/g,""),l=a[a.length-1].replace(/#TabContent/g,"");i?(e(".tabcontent").hide(),e(".tablinks").removeClass("active"),e("#"+i).show(),e("#tabBtn"+l).addClass("active")):(e(".tabcontent").hide().first().show(),e(".tablinks").removeClass("active").first().addClass("active"))}window.openTabContent=function(t,a){e(".tabcontent").hide(),e(".tablinks").removeClass("active"),e("#"+a).show(),e(t.currentTarget).addClass("active")},window.location.href.indexOf("privacy-policy")>-1&&e(window).scroll(function(){var t=e("#tab"),a=t.offset().top;e(window).scrollTop()>
1=a?t.addClass("tabFixedTop"):t.removeClass("tabFixedTop")})});jQuery(document).ready(function(e){e(window).click(function(a){var i=document.getElementById("reg_dialog");a.target==i&&e("#reg_dialog").fadeOut(500)});function o(){var a=e("#desired_username").val(),i=e("#email_address").val();return e.post("https://securitiesce.com/axis-lms.apicodekit/api_example1.php",{desired_username:a,email_address:i}).done(function(l){e("#reg_dialog").fadeIn(500),e(".close").click(function(){e("#reg_dialog").fadeOut(500)});var n=e.parseJSON(l);e(".popout-body").html("<p>"+n[1]+"</p>"),e(".popout-header-title").text(n[0]),n[0]=="SUCCESS"?(e("#desired_username").val(""),e("#email_address").val(""),e(".popout-footer").show(),e(".popout-header").removeClass("ptrack-error"),e(".popout-header").addClass("ptrack-success"),e(".popout-footer h4").click(function(){window.open(atob(n[2]),"_blank")})):(e(".popout-footer").hide(),e(".popout-header").removeClass("ptrack-success"),e(".popout-header").addClass("ptrack-error"))}),!1}function t(){var a=e("#redeem_pin_username").val(),i=e("#redeem_pin_password").val();return e.post("https://securitiesce.com/axis-lms.apicodekit/api_example3.php",{login_username:a,login_password:i}).done(function(l){console.log("Response data:",l);var n=e.parseJSON(l);n[0]=="ERROR"?(e("#reg_dialog").fadeIn(500),e(".close").click(function(){e("#reg_dialog").fadeOut(500)}),e(".popout-footer").hide(),e(".popout-header").removeClass("ptrack-success"),e(".popout-header").addClass("ptrack-error"),e(".popout-body").html("<p>"+n[1]+"</p>"),e(".popout-header-title").text(n[0])):location.href=atob(n[1])}),!1}e("#redeemPinForm").submit(function(a){a.preventDefault(),t()})});document.addEventListener("DOMContentLoaded",()=>{let e=document.querySelector(".scroll-box-packages"),o=document.querySelector(".show-temporarily");if(e&&o){let t=()=>{e.scrollTop>0?(o.classList.add("slightly-larger-than-xl:hidden"),o.classList.remove("slightly-larger-than-xl:block")):(o.classList.remove("slightly-larger-than-xl:hidden"),o.classList.add("slightly-larger-than-xl:block"))},a=()=>{e.scrollHeight>e.clientHeight?(t(),e.addEventListener("scroll",t)):o.style.display="none"};a(),window.addEventListener("resize",a)}});jQuery(document).ready(function(e){e(".demo-video-link").on("click",function(o){o.preventDefault();var t=e(this).data("video-url");e("#video-iframe").attr("src",t),e("#video-overlay").fadeIn()}),e("#close-video").on("click",function(){e("#video-iframe").attr("src",""),e("#video-overlay").fadeOut()}),e("#video-overlay").hide(),e("#video-iframe").attr("src","")});(function(e){function o(){function t(a,i){i=e.createElement("script"),i.src="https://image.providesupport.com/"+a,e.body.appendChild(i)}t("js/1g4r1deevlngf1ae0b2oaeg02g/safe-textlink-sync.js?ps_h=hq05&ps_t="+Date.now()+"&online-link-html=&offline-link-html=Live%20Chat%20Offline"),t("sjs/static.js")}e.readyState=="complete"?o():window.addEventListener("load",o)})(document);jQuery(document).ready(function(e){e(".custom-logo.logo-top img").removeAttr("width height").css("opacity",0),e(".custom-logo.logo-bottom img").removeAttr("width height").css("opacity",0);var o="affiliateOverride";function t(r){var s=null,c=window.location.search;if(c){var m=new URLSearchParams(c);s=m.get(r)}return s}function a(r){let s=r+"=",m=decodeURIComponent(document.cookie).split(";");for(let y=0;y<m.length;y++){let h=m[y];for(;h.charAt(0)==" ";)h=h.substring(1);if(h.indexOf(s)==0)return h.substring(s.length,h.length)}return""}function i(r,s){var c=new Image;c.onload=s,c.src=r}function l(){e(".custom-logo.logo-top img").css("opacity",1),e(".custom-logo.logo-bottom img").css("opacity",1)}function n(r){let c=r.toString().replace(/\D/g,"").slice(-10),m=`(${c.slice(0,3)}) ${c.slice(3,6)}-${c.slice(6,10)}`;return{link:`tel:+1-${c.slice(0,3)}-${c.slice(3,6)}-${c.slice(6,10)}`,text:m}}function u(r){if(r&&r.about_icons_text){var s=r.about_icons_text;s.icon_text_one&&e(".icon-text-1").text(s.icon_text_one),s.icon_text_two&&e(".icon-text-2").text(s.icon_text_two),s.icon_text_three&&e(".icon-text-3").text(s.icon_text_three),s.icon_text_four&&e(".icon-text-4").text(s.icon_text_four)}else console.log("No affiliate data or about_icons_text found")}function d(){var r=lscache.get(o);
1if(r){let O=function(){A++,A===g.length&&(r.top_logo&&s.length&&s.attr("src",r.top_logo).css("opacity",1),r.bottom_logo&&r.bottom_logo.trim()!==""&&c.length?c.attr("src",r.bottom_logo).attr("srcset",r.bottom_logo).attr("data-src",r.bottom_logo).attr("data-srcset",r.bottom_logo).css("opacity",1):c.css("opacity",1),r.about&&m.length&&m.html(r.about),u(r))};var B=O,s=e(".custom-logo.logo-top img"),c=e(".custom-logo.logo-bottom img"),m=e(".about-content"),y=e(".phone-number"),h=e(".phone-link"),P=e(".email-address"),N=e(".email-link"),k=r.hasOwnProperty("phone")?r.phone:"",x=r.hasOwnProperty("email")?r.email:"";if(k){var C=n(k);y.text(C.text),h.attr("href",C.link)}x&&(P.text(x),N.attr("href",x));var g=[];r.top_logo&&s.length&&g.push(r.top_logo),r.bottom_logo&&c.length&&g.push(r.bottom_logo),r.why_choose_section&&r.why_choose_section.title&&e(".why-choose-title").text(r.why_choose_section.title),r.why_choose_section&&(r.why_choose_section.card_one&&(r.why_choose_section.card_one.title&&e(".card-title-1").text(r.why_choose_section.card_one.title),r.why_choose_section.card_one.paragraph&&e(".card-description-1").html(r.why_choose_section.card_one.paragraph)),r.why_choose_section.card_two&&(r.why_choose_section.card_two.title&&e(".card-title-2").text(r.why_choose_section.card_two.title),r.why_choose_section.card_two.paragraph&&e(".card-description-2").html(r.why_choose_section.card_two.paragraph)),r.why_choose_section.card_three&&(r.why_choose_section.card_three.title&&e(".card-title-3").text(r.why_choose_section.card_three.title),r.why_choose_section.card_three.paragraph&&e(".card-description-3").html(r.why_choose_section.card_three.paragraph)),r.why_choose_section.card_four&&(r.why_choose_section.card_four.title&&e(".card-title-4").text(r.why_choose_section.card_four.title),r.why_choose_section.card_four.paragraph&&e(".card-description-4").html(r.why_choose_section.card_four.paragraph)));var A=0;g.length?g.forEach(function(I){i(I,O)}):l()}else l()}function v(){if(console.log("getting affiliate"),!window.hasOwnProperty("ajaxObject")||!window.ajaxObject.hasOwnProperty("affiliates"))return null;var r=a("affwp_ref");return console.log("cookie",r),r||(r=t("ref")),r&&window.ajaxObject.affiliates.find(s=>String(s.affiliates_reference)===String(r))||null}var f=v();console.log("affiliateData",f),f&&typeof f<"u"&&(f.hasOwnProperty("top_logo")&&f.top_logo||f.hasOwnProperty("bottom_logo")&&f.bottom_logo)&&lscache.set(o,f,60*24*14),d()});jQuery(document).ready(function(e){let o=e("#video-trigger"),t=e("#promo-video-modal"),a=e("#close-modal"),i=t.find("iframe"),l=new Vimeo.Player(i[0]);o.on("click",function(){t.removeClass("hidden"),l.play().catch(function(u){console.error("Error starting video:",u)})});function n(){t.addClass("hidden"),l.pause().catch(function(u){console.error("Error pausing video:",u)})}a.on("click",function(){n()}),t.on("click",function(u){e(u.target).is(t)&&n()})});jQuery(document).ready(function(e){e("#seriesSubpage").on("change",function(){var o=e(this).val();return o&&(window.location.href=o),!1}),e("#watchVideoBtn").on("click",function(){e("#video-trigger").removeClass("hidden")}),e(".video-thumbnail").on("click",function(){e("#promo-video-modal").removeClass("hidden")}),e("#close-modal, #promo-video-modal").on("click",function(o){(o.target.id==="close-modal"||o.target.id==="promo-video-modal")&&e("#promo-video-modal").addClass("hidden")})});jQuery(document).ready(function(e){e("#open-series-video").on("click",function(t){t.preventDefault();var a=e("#series-video-iframe"),i=a.data("src"),l=i.includes("?")?i+"&autoplay=1":i+"?autoplay=1";a.attr("src",l),e("#series-video-modal").removeClass("hidden")});function o(){e("#series-video-modal").addClass("hidden");var t=e("#series-video-iframe");t.attr("src","")}e("#close-series-modal").on("click",o),e(document).on("keydown",function(t){t.key==="Escape"&&o()})});jQuery(document).ready(function(e){e("#start-now-button").on("click",function(d){d.preventDefault();var v=e("#product-dropdown").val();v&&(window.location.href=v)});var o=e("#masthead"),t=e(window).scrollTop(),a=!1,i=50,l=1025;function n(){return e(window).width()>=l}function u(){var d=e(window).scrollTop();d>i&&n()&&(a=!0),a&&n()&&(e("body").addClass("lock-scroll"),o.addClass("hide-header")),(d<=0||!n())&&(a=!1,e("body").removeClass("lock-scroll"),o.removeClass("hide-header")),t=d}u(),e(window).scroll(u),e(window).resize(u),e(document).on("touchmove",function(d){e("body").hasClass("lock-scroll")&&d.preventDefault()},{passive:!1}),jQuery("#clients-flexslider").flexslider({animation:"slide",easing:"swing",animationLoop:!0,itemWidth:1,itemMargin:1,minItems:2,maxItems:9,controlNav:!1,directionNav:!1,move:2}),e("#sign-up-button").click(function(d){d.preventDefault(),e("html, body").animate({scrollTop:e("#tutor-form").offset().top},"slow")})});jQuery(document).ready(function(e){function o(){e("body").addClass("no-scroll")}function t(){e("body").removeClass("no-scroll")}function a(){e('.menu-toggler[aria-expanded="true"]').length>0?o():t()}a(),e(".menu-toggler").on("click",function(){a()})});})();

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.