").css({position:"absolute",top:"0%",right:"0%","z-index":1e4}).text("[affiliate = "+t+"]");$("body").prepend(n)}}}),$("#tracking-body-top").length){var _=$("#tracking-body-top").text();$("body").prepend(_)}if($("#modalPopup").removeAttr("data-hide-on"),e("cf-screenshot-id")&&($("html").attr("style","background: #fff"),$("html").attr("class",""),$(".container").hide(),$(".row").hide(),$showElID=e("cf-screenshot-id"),$showElID.indexOf("row")>-1||$showElID.indexOf("xxx")>-1?($(".nodoBadge").remove(),$("#"+$showElID).show(),$("#"+$showElID).parent().parent().attr("style","padding: 10px;margin-bottom: 20px;margin-top: 20px"),$("#"+$showElID).parent().parent().show()):($showElID.indexOf("section")>-1||$showElID.indexOf("container")>-1)&&($(".nodoBadge").remove(),$("#"+$showElID).show(),$("#"+$showElID).attr("style",$("#"+$showElID).attr("style")+";margin-top: 25px;margin-bottom: 25px;"),$("#"+$showElID+" .row").show())),parent.postMessage){var T=$("head").html();parent.postMessage({meta:T},"*")}$(".containerWrapper .elInput[name='email'].required0").removeClass("required0").addClass("required1"),$("a").each(function(){target=$(this).attr("target"),"undefined"!=typeof target&&target.indexOf("_self")>=0&&$(this).attr("target","_parent"),str=$(this).attr("href"),"undefined"!=typeof str&&(str.indexOf("http")>=0||str.indexOf("www.")>=0)&&(target=$(this).attr("href"),"undefined"!=typeof target&&0==target.indexOf("_blank")&&$(this).attr("target","_parent"))}),$(".affLinkSideOptions").length&&$(".affLinkSideOptions").each(function(){$(this).find(".affLinkExtraOptions").first().html(' Turn OFF Popups'),$(this).find(".affLinkExtraOptions").slice(1,2).html('
Turn OFF AutoPlay'),$(this).find(".affLinkExtraOptions").last().html('
Turn On Cookie Preview')}),$(".elProductOptionsBox").length&&($(".elProductOptionsBox .elOrderProductOptinProductName").each(function(){$(this).find("input").is(":checked")&&($(".elProductOptionsBox .elOrderProductOptinProductName").removeClass("activeRadioProduct"),$(this).addClass("activeRadioProduct"))}),$(".elProductOptionsBox .elOrderProductOptinProductName input").change(function(){$(this).is(":checked")&&($(".elProductOptionsBox .elOrderProductOptinProductName").removeClass("activeRadioProduct"),$(this).parent().addClass("activeRadioProduct"))}),$(".elProductOptionsBox select").empty(),$(".elProductOptionsBox .elOrderProductOptinProducts").each(function(){title=$(this).find("label").text(),id=$(this).find("input").val(),price=$(this).find(".elOrderProductOptinPrice").text(),$(this).hasClass("hide")||$(".elProductOptionsBox select").append('
")}),$(".elProductOptionsBox select").change(function(){id=$(this).val(),$(".elOrderProductOptinProducts input").filter(function(){return $(this).val()===id}).prop("checked",!0).trigger("click").trigger("change")})),function(e,t){var n={ratio:16/9,videoId:"ZCAnLxRvNNc",mute:!0,repeat:!0,width:e(t).width(),wrapperZIndex:99,playButtonClass:"tubular-play",pauseButtonClass:"tubular-pause",muteButtonClass:"tubular-mute",volumeUpClass:"tubular-volume-up",volumeDownClass:"tubular-volume-down",increaseVolumeBy:10,start:0},i=function(i,r){r=e.extend({},n,r);var o=e("body");$node=e(i);var a='
';e("html,body").css({width:"100%",height:"100%"}),o.prepend(a),$node.css({position:"relative","z-index":r.wrapperZIndex}),t.player,t.onYouTubeIframeAPIReady=function(){player=new YT.Player("tubular-player",{width:r.width,height:Math.ceil(r.width/r.ratio),videoId:r.videoId,playerVars:{controls:0,showinfo:0,rel:0,iv_load_policy:3,modestbranding:1,wmode:"transparent"},events:{onReady:onPlayerReady,onStateChange:onPlayerStateChange}})},t.onPlayerReady=function(t){if(s(),r.mute&&t.target.mute(),t.target.seekTo(r.start),t.target.playVideo(),setTimeout(function(){e("#tubular-container").fadeIn(1500)},500),void 0!==e(".modalBackdropWrapper").attr("data-youtube-volume")&&"fadein"==e(".modalBackdropWrapper").attr("data-youtube-volume")&&(vol_number=0,t.target.unMute(),t.target.setVolume(0),fadeVolumeIn=setInterval(function(){vol_number+=5,t.target.setVolume(vol_number)},500),setTimeout(function(){clearInterval(fadeVolumeIn)},1e4)),
void 0!==e(".modalBackdropWrapper").attr("data-youtube-hours")||"undefined"!=e(".modalBackdropWrapper").attr("data-youtube-minutes")||"undefined"!=e(".modalBackdropWrapper").attr("data-youtube-seconds")){var n=0|parseInt(e(".modalBackdropWrapper").attr("data-youtube-hours"),10),i=0|parseInt(e(".modalBackdropWrapper").attr("data-youtube-minutes"),10),o=0|parseInt(e(".modalBackdropWrapper").attr("data-youtube-seconds"),10);n*=3600,i*=60,totalSeconds=n+i+o,t.target.seekTo(totalSeconds,!0)}},t.onPlayerStateChange=function(n){if(0===n.data&&r.repeat){var i=e(".modalBackdropWrapper").attr("data-youtube-endaction");if("loop"==i||""==i||i===undefined)player.seekTo(r.start);else if("hidevideo"==i)e("#tubular-container").hide();else if("redirect"==i){e("#tubular-container").hide();var o=e(".modalBackdropWrapper").attr("data-youtube-redirecturl");t.location=o}else"popup"==i&&(e("#tubular-container").hide(),u())}};var s=function(){var n,i,o=e(t).width(),a=e(t).height(),s=e("#tubular-player");o/r.ratio
100-r.increaseVolumeBy&&(t=100-r.increaseVolumeBy),player.setVolume(t+r.increaseVolumeBy)})},r=document.createElement("script");r.src="//www.youtube.com/iframe_api";var o=document.getElementsByTagName("script")[0];o.parentNode.insertBefore(r,o),e.fn.tubular=function(t){return this.each(function(){e.data(this,"tubular_instantiated")||e.data(this,"tubular_instantiated",i(this,t))})}}(jQuery,window),checkVideoAttr=$(".modalBackdropWrapper").attr("data-youtube-background"),showVideoBG=$(".modalBackdropWrapper").attr("data-youtube-selectbox"),"undefined"==typeof checkVideoAttr||0==t(checkVideoAttr)||"youtube"==showVideoBG&&(videoid=checkVideoAttr.replace("https://www.youtube.com/watch?v=",""),videoid=videoid.replace("https://youtu.be/",""),$("html").tubular({videoId:videoid}));var w=navigator.userAgent.toLowerCase();-1!=w.indexOf("safari")&&(w.indexOf("chrome")>-1||$(".social-likes__button").attr("style","padding-left: 20px !important")),$url=window.location.href,$queries=$.parseParams($url),$.each($queries,function(e,t){$(".elInput[name='"+e+"']").val(t)}),$queries.surveyresults&&$.each(JSON.parse($queries.surveyresults),function(e,t){$("#cfAR").append('')}),$utm_source=$queries.nodo_source,$pID=$("#page-id").val(),$rootID=$("#root-id").val(),$variantcheck=$("#variant-check").val(),$userID=$("#user-id").val(),setTimeout(function(){$(".addthisevent-drop").append("Add to Calendar")},1e3),$(".containerWrapper .de-video-block").each(function(){$videoType=$(this).attr("data-video-type"),"evp"==$videoType&&($video=$(this).attr("data-evp-url"),$visible=$(this).is(":visible"),0==$visible||(""==$video||$video==undefined?$(".elVideo",this).html("No Video Set..."):$(".elVideo",this).html($video)))}),$(".editor-video-holder").hide(),$(".editor-audio-holder").hide(),$.velocity.defaults.easing="easeInOutsine";var S=function(){$("[data-trigger='load']").each(function(){$(this).attr("data-trigger","ran"),$ID=$(this).attr("id"),$type=$(this).attr("data-animate"),$delay=$(this).attr("data-delay"),f($ID,$type,$delay,0)})};$iframeCheck=$("#iframeCheck").val(),"true"==$iframeCheck||S(),$("[data-trigger='scroll']").waypoint(function(){var e=$(this).attr("id"),t=$(this).attr("data-animate"),n=$(this).attr("data-delay");$(this).css("opacity",0),$(this).css("position","relative"),$(window).one("scroll",function(){f(e,t,n,0),$(".stickyTop").delay(n).sticky({center:!0,responsiveWidth:!0,getWidthFrom:".sticky-wrapper"})}),$(this).attr("data-trigger","done")},{offset:"75%",triggerOnce:!0}),$("[data-timed-style='fade']").each(function(){return $ID=$(this).attr("id"),!("mobile"==$(this).attr("data-hide-on")&&$(window).width()>500)&&(!("desktop"==$(this).attr("data-hide-on")&&$(window).width()<500)&&($(this).hide(),$(this).attr("data-timed-minutes")?($minutes=$(this).attr("data-timed-minutes"),""==$minutes?$minutes=0:$minutes=$(this).attr("data-timed-minutes")):$minutes=0,$minutes*=6e4,$(this).attr("data-timed-seconds")?($seconds=$(this).attr("data-timed-seconds"),""==$seconds?$seconds=0:$seconds=$(this).attr("data-timed-seconds")):$seconds=0,$seconds*=1e3,$total_ms=$minutes+$seconds,void(0==$total_ms?"modalPopup"==$ID?d($ID,"fade",0):($("#"+$ID).show(),$("#"+$ID).addClass("displayImportantTimed")):n($ID,$total_ms))))}),$("[data-timed-style='scale']").each(function(){return $ID=$(this).attr("id"),!("mobile"==$(this).attr("data-hide-on")&&$(window).width()>500)&&(!("desktop"==$(this).attr("data-hide-on")&&$(window).width()<500)&&($(this).hide(),$(this).css("display",""),$(this).attr("data-timed-minutes")?($minutes=$(this).attr("data-timed-minutes"),""==$minutes?$minutes=0:$minutes=$(this).attr("data-timed-minutes")):$minutes=0,$minutes*=6e4,$(this).attr("data-timed-seconds")?($seconds=$(this).attr("data-timed-seconds"),""==$seconds?$seconds=0:$seconds=$(this).attr("data-timed-seconds")):$seconds=0,$seconds*=1e3,$total_ms=$minutes+$seconds,void(0==$total_ms?"modalPopup"==$ID?d($ID,"scale",0):($("#"+$ID).show(),$("#"+$ID).addClass("displayImportantTimed")):i($ID,$total_ms))))}),$(".swipebox").magnificPopup({type:"image"}),$(".elVideoModalWrapper .swipebox").magnificPopup({type:"iframe",iframe:{patterns:{dailymotion:{index:"dailymotion.com",id:function(e){var t=e.match(/^.+dailymotion.com\/(video|hub)\/([^_]+)[^#]*(#video=([^_&]+))?/);return null!==t?t[4]!==undefined?t[4]:t[2]:null},src:"http://www.dailymotion.com/embed/video/%id%"},wistia:{index:"wistia.com",id:function(e){if($url=e,""!=$url&&$url!==undefined)return $url=$url.split("/"),$url=$url[$url.length-1],$url;$url="fqiy4bjdu8"},src:"//fast.wistia.net/embed/iframe/%id%?autoPlay=1&wmode=transparent"}}}}),$(document).on("click","[data-upsell]",function(e){var t=$(this).data("purchase");if(t){e.preventDefault();var n=$("#cfAR");return Object.keys(t).forEach(function(e){var i="purchase["+e+"]";$("").attr("type","hidden").attr("name",i).val(t[e]).appendTo(n)}),"1"==$(this).data("upsell")&&$("").attr("type","hidden").attr("name","upsell").val($(this).data("upsell")).appendTo(n),!1}}),$(document).on("click",".elIMG",function(){$(this).attr("data-imagelink")&&($url=$(this).attr("data-imagelink"),"#open-popup"==$url||"#close-popup"==$url||"#submit-form"==$url||($(this).attr("target")?($target=$(this).attr("target"),"_self"==$target?window.location.href=$url:window.open($url,"_blank")):window.location.href=$url))}),$(document).on("click",".modalBackdropWrapper",function(){return $(".containerModal").delay(0).velocity({opacity:0,top:-800},200,function(){$(".modalBackdropWrapper").css({opacity:0,top:-800}),$(".modalBackdropWrapper").hide(),$(".containerModal").hide()}),$(".containerWrapper").css("overflow","initial"),$(".containerWrapper").css("height",""),!1}),$(document).on("click",".closeLPModal",function(){return $(".containerModal").delay(0).velocity({opacity:0,top:-800},200,function(){$(".modalBackdropWrapper").css({opacity:0,top:-800}),$(".modalBackdropWrapper").hide(),$(".containerModal").hide()}),$(".containerWrapper").css("overflow","initial"),$(".containerWrapper").css("height",""),!1}),$(document).on("click","div[data-elbuttontype='2'] a",function(e){return e.stopPropagation(),p($(this).attr("data-show-button-ids"),$(this).attr("data-hide-button-ids")),!1}),$(document).on("click",".elButton",function(e){if("2"==$(this).parent().attr("data-elbuttontype"))return e.preventDefault(),!1}),$(document).on("click","a[href='#close-popup'], .elIMG[data-imagelink='#close-popup']",function(){return $(".closeLPModal").trigger("click"),!1}),$(document).on("click","a[href='#open-popup'], .elIMG[data-imagelink='#open-popup']",function(){var e=$(this).parent().attr("data-elbuttontype");return void 0!==e&&"2"==e||(u(),$("#"+$ID+" .de-video-block").each(function(){$videoType=$(this).attr("data-video-type"),"evp"==$videoType&&($video=$(this).attr("data-evp-url"),""==$video||$video==undefined?$(".elVideo",this).html("No Video Set..."):$(".elVideo",this).html($video))}),$("#"+$ID+" .de-video-block .elVideo iframe").each(function(){$autoplaycheck=$(this).attr("data-popup-autoplay"),"true"==$autoplaycheck&&($src=$(this).attr("src"),$src=$src.replace("autoplay=0","autoplay=1"),$src=$src.replace("autoPlay=0","autoPlay=1"),$(this).attr("src",$src),$(this).attr("data-popup-autoplay","played"))})),!1}),$(document).on("click","a[href='#print'], .elIMG[data-imagelink='#print']",function(){return window.print(),!1}),$(document).on("click",".btnToggle",function(){return $(this).is(".elB1")?($showThis=$(this).attr("data-show"),$root=$(this).closest(".de-editable").attr("id"),$hideThis=$("#"+$root+" .elB2").attr("data-show"),$($showThis).show(),$($hideThis).hide(),$(this).hasClass("btnToggleActive")||($getB1Color=$("#"+$root+" .elB1").css("color"),$getB2Color=$("#"+$root+" .elB2").css("color"),$(this).css("color",$getB2Color),$("#"+$root+" .elB2").css("color",$getB1Color)),$("#"+$root+" .btnToggle").removeClass("btnToggleActive"),$("#"+$root+" .btnToggle").removeClass("btnToggleDeactive"),$("#"+$root+" .elB1").addClass("btnToggleActive"),$("#"+$root+" .elB2").addClass("btnToggleDeactive")):($showThis=$(this).attr("data-show"),$root=$(this).closest(".de-editable").attr("id"),$hideThis=$("#"+$root+" .elB1").attr("data-show"),$($.trim($showThis)).show(),$($.trim($hideThis)).hide(),$(this).hasClass("btnToggleActive")||($getB1Color=$("#"+$root+" .elB1").css("color"),$getB2Color=$("#"+$root+" .elB2").css("color"),$(this).css("color",$getB1Color),$("#"+$root+" .elB1").css("color",$getB2Color)),$("#"+$root+" .btnToggle").removeClass("btnToggleActive"),$("#"+$root+" .btnToggle").removeClass("btnToggleDeactive"),$("#"+$root+" .elB2").addClass("btnToggleActive"),$("#"+$root+" .elB1").addClass("btnToggleDeactive")),!1}),$(".stickyTop").sticky({center:!0,responsiveWidth:!0,getWidthFrom:".sticky-wrapper"}),$(document).on("click","a[href*='#scroll-'], .elIMG[data-imagelink*='#scroll-']",function(){return $getHref=$(this).attr("href"),$getTitle=$getHref.split("#scroll-"),$getTitle=$getTitle[1],$getTitle=$getTitle.replace(/%20/g," "),$('.container[data-title="'+$getTitle+'"], .container [data-title="'+$getTitle+'"]').first().velocity("scroll",{duration:500}),!1}),$pID=$("#page-id").val(),$requiredCheck="",$(document).on("keypress",":input:not(textarea):not([type=submit])",function(e){13==e.keyCode&&($(this).hasClass("noEnterSubmitForm")||$("a[href='#submit-form']").trigger("click"))}),$(document).on("click","a[href='#submit-form'], .elIMG[data-imagelink='#submit-form'], a[href='#submit-form-2step'], a[href='#submit-form-2step-order'], a[href*='#yes-link'], .elIMG[data-imagelink*='#yes-link']",function(e,t){var n=$(this);return $action=$(this).attr("href"),$(".elInput").each(function(e,t){if(name=$(this).attr("name"),t=$(this).val(),""==name||"not-set"==name||""==t);else if("custom_type"==name){if($customType=$(this).attr("data-custom-type"),$customType!=undefined){$customType=$customType.toLowerCase(),$customType=$customType.replace(/\s+/g,"_"),$("#cf_contact_"+$customType).remove();var n=document.createElement("INPUT");n.id="cf_contact_"+$customType,n.name=$customType,n.nodeValue=t,n.setAttribute("value",t),n.setAttribute("data-cf-form-field",$customType),n.setAttribute("data-param",$customType),n.setAttribute("data-storage","false"),$("#cfAR").append(n)}}else"order_saas_url"===name?$("input[name='purchase[order_saas_url]']").val(t):$("#cf_contact_"+name).val(t)}).promise().done(function(){$requiredCheck="",$elementPathSelector="",$popupVisibleCheck=$(".modalBackdropWrapper").is(":visible"),1==$popupVisibleCheck?$elementPathSelector="#modalPopup .elInput.required1":$elementPathSelector=".elInput.required1",$($elementPathSelector).each(function(){$thisInput=$(this),$visible=$(this).is(":visible"),0==$visible||(""==$thisInput.val()?($requiredCheck="fail",$thisInput.css("border-color","#B91517"),$thisInput.css("border-width","3px")):"email"==$thisInput.attr("name")?(email=$thisInput.val(),h(email)?($thisInput.css("border-color","#4a8920"),$thisInput.css("border-width","3px")):($requiredCheck="fail",$thisInput.css("border-color","#B91517"),$thisInput.css("border-width","3px"))):($thisInput.css("border-color","#4a8920"),$thisInput.css("border-width","3px")))}).promise().done(function(){if($(".elInput.required0").css("border-color","#4a8920"),$(".elInput.required0").css("border-width","3px"),"fail"==$requiredCheck)return $(".otoloading").hide(),event.stopPropagation(),window.cfARIsValid=!1,"function"==typeof t&&t(),!1;var i=this;CFFacebookMessengerCheckbox.beforeSubmitForm().then(function(){return new Promise(function(e){var t=$.cookie("cf:clickpush:subscription");if(null!=t){var n=JSON.parse(t);$.each(n,function(e,t){$("").attr("type","hidden").attr("name","clickpush_subscription["+e+"]").attr("value",t).appendTo("#cfAR")})}e()})}).then(function(){try{$time_zone=Intl.DateTimeFormat().resolvedOptions().timeZone}catch(e){$time_zone="America/New_York"}if($("#cf_contact_time_zone").val($time_zone),$arService=$("#submit-form-action").attr("data-ar-service"),"HTML"==$arService)$(".containerWrapper .de-input-block").each(function(){$ID=$(this).attr("id"),$value=$(".elInput",this).val(),$(".nodoCustomHTML input[data-sync='"+$ID+"']").val($value)}).promise().done(function(){$("input[name=payment_method_nonce]").each(function(){$value=$(this).val(),$(".nodoCustomHTML input[data-sync='payment_method_nonce']").val($value),$("input[name='purchase[payment_method_nonce]']").val($value)}),$(".nodoHiddenFormFields .elInput").each(function(){$ID=$(this).attr("id"),$value=$(this).val(),$(".nodoCustomHTML input[data-sync='"+$ID+"']").val($value)}).promise().done(function(){n.text("Submitting..."),n.prop("disabled",!0),n.prop("href","javascript:return false;");var e=$("#cfAR").clone();e.find("input").each(function(){this.id="arclone_"+this.id}),$(".elInput").each(function(t,n){if(name=$(this).attr("name"),n=$(this).val(),""==name||"not-set"==name||""==n);else if("custom_type"==name){if($customType=$(this).attr("data-custom-type"),$customType!=undefined){$customType=$customType.toLowerCase(),$customType=$customType.replace(/\s+/g,"_"),$("#arclone_cf_contact_"+$customType).remove();var i=document.createElement("INPUT");i.id="arclone_cf_contact_"+$customType,i.name=$customType,i.nodeValue=n,i.setAttribute("value",n),e.append(i)}}else e.find("#arclone_cf_contact_"+name).val(n).attr("name","contact["+name+"]")}),$.ajax({type:"POST",url:$("head").attr("data-this-url")||window.location,data:e.serialize()}).always(function(){"#submit-form-2step"==$action?($stepOrderWrapper=$(i).closest(".elOrder2Step"),$stepOrderWrapper.find(".o2step_step1").hide(),$stepOrderWrapper.find(".o2step_step2").show(),$stepOrderWrapper.find(".order2Step-step").removeClass("order2StepActive"),$stepOrderWrapper.find(".order2Step-step-2").addClass("order2StepActive"),$stepOrderWrapper.find(".order2StepProgress").removeClass("order2Step25"),$stepOrderWrapper.find(".order2StepProgress").addClass("order2Step75"),$step2header=$stepOrderWrapper.find(".order2StepHeader"),$step2header.length&&$step2header.get(0).scrollIntoView()):($(".nodoCustomHTML input[type='submit']").remove(),$(".nodoCustomHTML form").submit())})})});else{$("#cfAR input[type='submit']").remove();try{"https://www.backpackcrm.com/orders"==$("#cfAR").attr("action")&&SendData(SendData("cfAR",$("#cfAR")[0].onsubmit))}catch(err){}if("#submit-form-2step"==$action){$stepOrderWrapper=$(i).closest(".elOrder2Step"),$stepOrderWrapper.find(".o2step_step1").hide(),$stepOrderWrapper.find(".o2step_step2").show();try{braintree_setup()}catch(e){}$stepOrderWrapper.find(".order2Step-step").removeClass("order2StepActive"),$stepOrderWrapper.find(".order2Step-step-2").addClass("order2StepActive"),$stepOrderWrapper.find(".order2StepProgress").removeClass("order2Step25"),$stepOrderWrapper.find(".order2StepProgress").addClass("order2Step75"),$step2header=$stepOrderWrapper.find(".order2StepHeader"),$step2header.length&&$step2header.get(0).scrollIntoView(),$("#bump-offer").attr("style","margin: 4px 0px 0px -20px; cursor: pointer; float: left;");var r=$(".checkbox.inline").attr("style");$(".checkbox.inline").attr("style",r+"; cursor: auto !important;"),$(".goBacktoStepOneOrderBump").length||$(".o2step_step2").prepend('Edit Shipping Details'),$.ajax({type:"POST",url:window.location,data:$("#cfAR").serialize()})}else window.isPayPalOrderForm?(window.cfARIsValid=!0,"function"==typeof t&&t()):($("#cfAR").submit(function(){"javascript:void(0)"!=n.attr("href")&&n.attr("data-href-original",n.attr("href")),n.attr("href","javascript:void(0)")}),$("#cfAR").submit())}})})}),!1}),$(document).on("click",".goBacktoStepOneOrderBump",function(){$stepOrderWrapper=$(this).closest(".elOrder2Step"),$stepOrderWrapper.find(".o2step_step2").hide(),$stepOrderWrapper.find(".o2step_step1").show(),$stepOrderWrapper.find(".order2Step-step").addClass("order2StepActive"),$stepOrderWrapper.find(".order2Step-step-2").removeClass("order2StepActive"),$stepOrderWrapper.find(".order2StepProgress").addClass("order2Step25"),$stepOrderWrapper.find(".order2StepProgress").removeClass("order2Step75"),$step2header=$stepOrderWrapper.find(".order2StepHeader"),$step2header.length&&$step2header.get(0).scrollIntoView()}),$("input, textarea").placeholder(),$("#modalPopup").hasClass("bounce")&&("true"==$queries.nopopup||ouibounce(!1,{aggressive:!0,timer:500,sensitivity:40,callback:function(){u()}})),"true"==$queries.noautoplay&&$(".elVideoWrapper").each(function(){$elem=$(this),$videoType=$elem.attr("data-video-type"),"youtube"==$videoType?($src=$(".elVideo iframe",this).attr("src"),$src=$src.replace("autoplay=1","autoplay=0"),$(".elVideo iframe",this).attr("src",$src)):"vimeo"==$videoType?($src=$(".elVideo iframe",this).attr("src"),$src=$src.replace("autoplay=1","autoplay=0"),$(".elVideo iframe",this).attr("src",$src)):"wistia"==$videoType&&($src=$(".elVideo iframe",this).attr("src"),$src=$src.replace("autoPlay=1","autoPlay=0"),$(".elVideo iframe",this).attr("src",$src))}),$(".elSelect").click(function(){m($("select",this))}).children().click(function(){return!1}),$(".de-video-block").fitVids({customSelector:"iframe[src*='fast.wistia.net']"});try{$("video").mediaelementplayer()}catch(err){}try{$(".elAudioWrapper").each(function(){var e=$(this).attr("data-audio-url")||"https://images.clickfunnels.com/images/SevenNationArmy.mp3",t=$(this).attr("data-audio-controls")||"yes",n=$(this).attr("data-audio-loop")||"no",i=$(this).attr("data-audio-autoplay")||"no",r={src:e,"class":"elAudioElement"};r.controls="no"!=t,r.loop="yes"==n,r.autoplay="yes"==i;var o=["playpause","current","progress","duration","volume"];r.controls||(o=["progress","volume"]);var a={audioWidth:"100%",audioHeight:"100%",enableAutosize:!0,enableProgressTooltip:!1,enableKeyboard:r.controls,features:o,loop:r.loop};r.autoplay&&(a.success=function(e){e.play()});$(this).find("audio").mediaelementplayer(a)})}catch(err){console.log(err)}$(document).on("click","#closeCFPOPUP",function(){parent.postMessage("closeCF","*")}),$(document).on("click","html",function(e){var t=$(e.target);(t.is(".container")||t.is(".containerWrapper")||t.is("html"))&&parent.postMessage("closeCF","*")});var k=window.addEventListener?"addEventListener":"attachEvent";(0,window[k])("attachEvent"==k?"onmessage":"message",function(e){"reanimate"==e.data&&S()},!1),$('.elVideoWrapper[data-video-type="youtube"][data-youtube-block-pause="true"],.elVideoWrapper[data-video-type="wistia"][data-wistia-block-pause="true"],.elVideoWrapper[data-video-type="vimeo"][data-vimeo-block-pause="true"]').length>0&&$(".iframeblocked").append("
"),$(document).on("keyup",".elInput",function(){$input=$(this),$val=$input.val(),$attr=$input.attr("name"),"custom_type"==$attr||$(".elInput[name='"+$attr+"']").not($(this)).val($val)}),$(document).on("change",".smsCountryCode",function(){$countryCode=$(this).val(),$(".mobileSMSPhoneInput").val($countryCode)}),$(document).on("click",".elAffCopyPasteImage",function(){$html=$.trim($(".elAffiliateImageAsset",this).html()),$(this).find(" .elAffiliateCopyPopup").fadeIn(),$(this).find(" .elAffiliateCopyPopup").find("textarea").eq(0).val($html),$(this).find(" .elAffiliateCopyPopup").find("textarea").eq(0).select()}),$(document).on("click",".elAffCopyPasteText",function(){$html=$.trim($(".elAffiliateTextAsset",this).html()),$(this).find(" .elAffiliateCopyPopup").fadeIn(),$(this).find(" .elAffiliateCopyPopup").find("textarea").eq(0).val($html),$(this).find(" .elAffiliateCopyPopup").find("textarea").eq(0).select()}),$(document).on("click",".elAffiliateCopyPopup .closeAffiliateCopy",function(e){$(this).parent().fadeOut(),e.stopPropagation()}),$(".elInput[name='cfx_all_countries']").find("option").remove(),$(".elInput[name='cfx_all_countries']").html($("#cfx_all_countries").html()),$(".elInput[name='cfx_states']").find("option").remove(),$(".elInput[name='cfx_states']").html($("#cfx_all_states").html()),$(".elInput[name='cfx_canada']").find("option").remove(),$(".elInput[name='cfx_canada']").html($("#cfx_all_canada").html()),$(".elInput[name='cfx_states_canada']").find("option").remove(),$(".elInput[name='cfx_states_canada']").html($("#cfx_all_states").html()),$(".elInput[name='cfx_states_canada']").append($("