").css({position:"absolute",top:"0%",right:"0%","z-index":1e4}).text("[affiliate = "+t+"]");$("body").prepend(n)}}}),$('.elIMG:not([data-imagelink=""])').attr("tabindex","0"),$("#tracking-body-top").length){var C=$("#tracking-body-top").text();$("body").prepend(C)}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 E=$("head").html();parent.postMessage({meta:E},"*")}$(".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&&($(".activeRadioProduct").removeClass("activeRadioProduct"),$(".elProductOptionsBox .elOrderProductOptinProductName").each(function(){var e=$(this);e.find("input").is(":checked")&&e.addClass("activeRadioProduct")}),$(".elOrderProductOptinProductName input").change(function(){var e=$(this);e.is(":checked")&&($(".activeRadioProduct").removeClass("activeRadioProduct"),e.attr("id")&&$("[id='"+e.attr("id")+"']").closest(".elOrderProductOptinProductName").addClass("activeRadioProduct"))}),$(".elProductOptionsBox select").empty(),$(".elProductOptionsBox ~ .elOrderProductOptionsSelect").empty(),$(".elProductOptionsBox .elOrderProductOptinProducts").each(function(){var e=$(this),t=e.find("label").text(),n=e.find("input").val(),a=e.find(".elOrderProductOptinPrice").text();if(!e.hasClass("hide")){0==$('.elProductOptionsBox select option[value="'+n+'"]').length&&$(".elProductOptionsBox select").append('
");var o=e.closest(".elProductOptionsBox").siblings(".elOrderProductOptionsSelect");0==o.find('option[value="'+n+'"]').length&&o.append('
")}}),$(".elProductOptionsBox select, .elOrderProductOptionsSelect").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},a=function(a,o){o=e.extend({},n,o);var i=e("body");$node=e(a);var r='
';e("html,body").css({width:"100%",height:"100%"}),i.prepend(r),$node.css({position:"relative","z-index":o.wrapperZIndex}),t.player,t.onYouTubeIframeAPIReady=function(){player=new YT.Player("tubular-player",{width:o.width,height:Math.ceil(o.width/o.ratio),videoId:o.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(l(),o.mute&&t.target.mute(),t.target.seekTo(o.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),a=0|parseInt(e(".modalBackdropWrapper").attr("data-youtube-minutes"),10),i=0|parseInt(e(".modalBackdropWrapper").attr("data-youtube-seconds"),10);n*=3600,a*=60,totalSeconds=n+a+i,t.target.seekTo(totalSeconds,!0)}},t.onPlayerStateChange=function(n){if(0===n.data&&o.repeat){var a=e(".modalBackdropWrapper").attr("data-youtube-endaction");if("loop"==a||""==a||a===undefined)player.seekTo(o.start);else if("hidevideo"==a)e("#tubular-container").hide();else if("redirect"==a){e("#tubular-container").hide();var i=e(".modalBackdropWrapper").attr("data-youtube-redirecturl");t.location=i
}else"popup"==a&&(e("#tubular-container").hide(),d())}};var l=function(){var n,a,i=e(t).width(),r=e(t).height(),l=e("#tubular-player");i/o.ratio
100-o.increaseVolumeBy&&(t=100-o.increaseVolumeBy),player.setVolume(t+o.increaseVolumeBy)})};if(document.body.innerHTML.search("data-youtube-background")>0||document.body.innerHTML.search('data-video-type="youtube"')>0){var o=document.createElement("script");o.src="//www.youtube.com/iframe_api";var i=document.getElementsByTagName("script")[0];i.parentNode.insertBefore(o,i)}e.fn.tubular=function(t){return this.each(function(){e.data(this,"tubular_instantiated")||e.data(this,"tubular_instantiated",a(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 x=navigator.userAgent.toLowerCase();-1!=x.indexOf("safari")&&(x.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)});var A=window.ClickFunnels.SurveyResults.retrieveCookie(),P=$queries.surveyresults;P&&A&&$.each(JSON.parse(A),function(e,t){var n=document.createElement("input");n.id=t[0],n.name=t[0],n.value=t[1],n.setAttribute("data-cf-form-field",t[0]),n.setAttribute("data-param",e),n.setAttribute("data-storage","false"),$("#cfAR").append(n)}),!P&&A&&window.ClickFunnels.SurveyResults.clearCookie(),$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"),$(".addthisevent_dropdown").find("span").each(function(e,t){$(t).attr("tabindex",0),t.onkeydown=function(e){13===e.keyCode&&t.onclick()}})},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 F=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"),p($ID,$type,$delay,0)})};$iframeCheck=$("#iframeCheck").val(),"true"==$iframeCheck||F(),$("[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(){p(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 n(this,"fade")}),$("[data-timed-style='scale']").each(function(){return n(this,"scale")}),$(".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"}}},callbacks:{open:function(){var e=$(this._lastFocusedEl).closest(".elVideoModalWrapper").attr("data-video-title");$(".mfp-content").find("iframe").attr("title",e)}}}),$(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 a="purchase["+e+"]";$("").attr("type","hidden").attr("name",a).val(t[e]).appendTo(n)}),"1"==$(this).data("upsell")&&$("").attr("type","hidden").attr("name","upsell").val($(this).data("upsell")).appendTo(n),!1}}),$(document).on("keyup",".elIMG",function(e){13!=e.which&&32!=e.which||$(this).click()}).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(),m($(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||(d(),$("#"+$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){if(e.keyCode==CF_KEYCODE_ENTER){var t=$(this);if(t.hasClass("noEnterSubmitForm")||"radio"==t.attr("type"))return;$("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);if(!n.data("temp-disabled"))return $action=$(this).attr("href"),$(".elInput").each(function(e,t){var n,a,o;if(n=(o=$(this)).attr("name"),t=o.val(),""==n||"not-set"==n||""==t);else if("custom_type"==n||"cfx_all_countries"==n||"cfx_states"==n||"cfx_canada"==n||"cfx_states_canada"==n){if((a=o.attr("data-custom-type"))!=undefined){a=(a=a.toLowerCase()).replace(/\s+/g,"_"),$("#cf_contact_"+a).remove();var i=document.createElement("INPUT");i.id="cf_contact_"+a,i.name=a,i.nodeValue=t,i.setAttribute("value",t),i.setAttribute("data-cf-form-field",a),i.setAttribute("data-param",a),i.setAttribute("data-storage","false"),$("#cfAR").append(i)}}else"order_saas_url"===n?$("input[name='purchase[order_saas_url]']").val(t):$("#cf_contact_"+n).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 a=this;function o(){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()})}o().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(){$(".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 a=document.createElement("INPUT");a.id="arclone_cf_contact_"+$customType,a.name=$customType,a.nodeValue=n,a.setAttribute("value",n),e.append(a)}}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=$(a).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=$(a).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(),$("#bump-offer").attr("style","margin: 4px 0px 0px -20px; cursor: pointer; float: left;");var o=$(".checkbox.inline").attr("style");$(".checkbox.inline").attr("style",o+"; cursor: auto !important;"),$(".goBacktoStepOneOrderBump").length||$(".o2step_step2").prepend('Edit Shipping Details'),$.ajax({type:"POST",url:window.location,data:$("#cfAR").serialize()})}else if(window.isPayPalOrderForm)window.cfARIsValid=!0,"function"==typeof t&&t();else{$("#cfAR").one("submit",function(){window.CFStripeErrorStartTransaction?(window.ClickFunnels.CFPeOrders.SubmitButton.enable(),window.CFStripeErrorStartTransaction=!1):window.ClickFunnels.CFPeOrders.SubmitButton.disable()});var i="true"===$("meta[name='can_use_infusionsoft_tokenization']").attr("content"),r=$("meta[name='infusionsoft_subdomain']").attr("content");i&&r&&r.length>0?window.CFInfusionsoftTokenizationHandler(r,function(){$("#cfAR").submit()}):$("#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(){d()}})),"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(){f($("select",this))}).children().click(function(){return!1}),$(".de-video-block").fitVids({customSelector:"iframe[src*='fast.wistia.net']"}),CFbuildAudioPlayer($(".elAudioWrapper"),!0),$(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 M=window.addEventListener?"addEventListener":"attachEvent";(0,window[M])("attachEvent"==M?"onmessage":"message",function(e){"reanimate"==e.data&&F()},!1),$(".iframeblocked").append(""),$(".iframeunmuted").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()});var D=$("#cfx_all_states"),L=$("#cfx_all_canada");$(".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(D.html()),$(".elInput[name='cfx_canada']").find("option").remove(),$(".elInput[name='cfx_canada']").html(L.html()),$(".elInput[name='cfx_states_canada']").find("option").remove(),$(".elInput[name='cfx_states_canada']").append($("")})})}function h(){if(e()){var t=$('[name="country"], [name="shipping_country"]');t.each(function(){"SELECT"!==this.tagName&&(s(c(this),this),u(this))});var n=$('select[name="country"], select[name="shipping_country"]');m(n),a(n),_()}}var f={};window.addEventListener("load",h),window.ClickFunnels=window.ClickFunnels||{},window.ClickFunnels.CountryAndStateSelector={populateCountrySelectors:m}}(),window.track_capi=function(){var e=window.location,t=document.referrer,n="/v1/track_capi";n+="?page_key="+page_key,n+="&location="+e,n+="&referrer="+t,fetch(n)},$(function(){"null"!=getURLParameter("cf_uvid")&&($('meta[name="robots"]').attr("content","noindex,follow,noodp,noydir"),$('meta[name="googlebot"]').attr("content","noindex,follow"))});