1!function(){var t={33726:function(t){!function(e){let o,a={},i=!1;function n(t,e){const o=e?t.parents(".safari-ios-decoration-fix"):t.parents(".safari-ios-decoration-fix-none");t.toggleClass("tcb-no-perspective",e),o.toggleClass("safari-ios-decoration-fix",!e).toggleClass("safari-ios-decoration-fix-none",e)}function s(t,e){const o=t.parents(".tve_ea_thrive_animation");o.length&&o.toggleClass("tcb-no-transform",e)}a.init=function(){o=a.videoScrolled.bind(this),document.addEventListener("scroll",o),e(".tcb-float-close-button").each(((t,e)=>{e.addEventListener("click",a.closeFloatVideo.bind(this,e),!1)}))},a.destroyFloating=function(){document.removeEventListener("scroll",o),e(".tcb-float-close-button").each(((t,e)=>{e.removeEventListener("click",a.closeFloatVideo.bind(this,e))}))},a.closeFloatVideo=function(t){e(t).parent(".tcb-video-float-container").addClass("tcb-float-closed"),a.videoScrolled()},a.videoScrolled=function(){e('.thrv_responsive_video[data-float="true"] .tcb-video-float-container iframe, .thrv_responsive_video[data-float="true"] .tcb-video-float-container video, .thrv_responsive_video[data-float="true"] .tcb-video-float-container .tve_responsive_video-no_video').each(((t,o)=>{let a=e(o),r=a.parents(".tcb-video-float-container"),d=a.parents(".thrv_responsive_video");const c=d.attr("data-float-position"),l=d.find(".video_overlay_image").attr("style")||"";let p=TCB_Front.getDisplayType()[0],u=parseInt(e("#wpadminbar").height());if(r.hasClass("tcb-float-closed")||!function(t){const e="true"===t.attr("data-float"),o=t.attr("data-float-visibility"),a=TCB_Front.getDisplayType();return!(t.parents(".tcb-post-list").length||(!e||o)&&-1!==o.indexOf(a))}(d)||TCB_Front.isInViewport(a.parents(".thrv_responsive_video"),parseInt(a.width))){if(r.removeClass(c).css({width:"",height:"","margin-top":""}).parents(".tcb-col,.thrv-content-box,.thrv-page-section,#content,.theme-section").css("z-index",""),d.find(".video_overlay_image").removeClass(c).css({cssText:l,height:"",width:""}),!i){let t=d.position().left,e={left:t,right:t+d.width()};c.includes("top")||c.includes("keep")?(e.top=-parseInt(d.attr(`data-float-width-${p}`)),r.css(e)):c.includes("bottom")&&(e.bottom=parseInt(TCB_Front.Utils.windowWidth()),r.css(e)),d.find(".video_overlay_image").css({top:"",left:"",bottom:"",right:"","margin-top":""}),i=!0}n(d,!1),s(d,!1)}else{void 0===d.attr(`data-float-width-${p}`)&&("m"===p&&(d.attr("data-float-width-m",TCB_Front.$window.width()+"px;"),d.attr("data-float-padding1-m",0),d.attr("data-float-padding2-m",0),u=0),"t"===p&&(p="d"));const t="height: "+function(t){const e=parseFloat(t.height()/t.width()).toFixed(2),o=TCB_Front.getDisplayType()[0],a=t.attr(`data-float-width-${o}`)||t.attr("data-float-width-d"),i=parseInt(a)*e;return a.includes("px")?i+"px":i*TCB_Front.$body.width()/100+"px"}(d)+" !important;",e="width: "+d.attr(`data-float-width-${p}`)+" !important;";let o="";if(c.includes("keep-original")){let t=d.attr(`data-float-padding1-${p}`);TCB_Front.Utils.hasAdminBar()&&u&&(o+=`margin-top: ${u}px;`),o+=`top: ${t} !important; `}else c.split("-").forEach(((t,e)=>{let a=d.attr(`data-float-padding${e+1}-${p}`);TCB_Front.Utils.hasAdminBar()&&t.includes("top")&&u&&(o+=`margin-top: ${u}px;`),o+=`${t}: ${a} !important; `}));c&&(r.addClass(c).css({cssText:e+t+o}).parents(".tcb-col,.thrv-content-box,.thrv-page-section,#content,.theme-section").css("z-index",(TCB_Front.highestZIndex||0)+10),a.css("height",""),d.find("video").length&&function(t){t.find("video").css({"object-fit":"cover",height:"100%"})}(d),d.find(".video_overlay_image").addClass(c).css({cssText:l+e+t+"z-index:100000 !important; top:inherit; left:inherit; bottom:inherit; right: inherit; margin-top: inherit;"}),n(d,!0),s(r,!0),i=!1)}}))},a.restoreFloatingVideos=function(){e(".thrv_responsive_video").each(((t,o)=>{const a=e(o),i=a.find(".tcb-video-float-container"),n=a.attr("data-float-position"),s=a.find(".video_overlay_image").attr("style")||"";i.removeClass(n).css({width:"",height:""}),a.find(".video_overlay_image").removeClass(n).css({cssText:s,height:"",width:"",top:"",left:"",bottom:"",right:"","margin-top":""})}))},t.exports=a}(ThriveGlobal.$j)},98071:function(t,e,o){t.exports=(t,e)=>{const a='.tcb-video-cover:not([data-preload="1"]) .tcb-video-cover-image',i=o(58647)(t,e),n=o(48042),s=[];class r{static initVideoLazyLoad(e){const o=e.find(".thrv_responsive_video.tcb-lazy-load");0!==o.length&&(TCB_Front.add_scroll_callback((e=>{e>0&&o.each(((e,o)=>{const i=t(o);if(r.hasVideoCover(i)){const t=i.find(a);t.length>0&&r.lazyLoadThumbnail(t)}else r.lazyLoadVideo(i,"external"===o.dataset.type)}))})),o.each(((e,o)=>{const a=t(o);a.off("click.lazyLoad").on("pointerover",(()=>r.preconnectAssets(a))).on("click.lazyLoad",(()=>r.lazyLoadVideo(a,"external"===o.dataset.type,!0)))})))}static preventIframeLoad(e,o,a){const i=t(o).closest(".thrv_responsive_video");
1return a&&!TCB_Front.Utils.isEditorPage()&&r.shouldLazyLoad(i)&&(e=!0),e}static shouldLazyLoad(t){return t.hasClass("tcb-lazy-load")&&(r.hasVideoCover(t)||!TCB_Front.isInViewport(t,-150)||r.isInsideScreenFiller(t))}static isInsideScreenFiller(t){return"hidden"===t.closest(".tve-leads-screen-filler").css("visibility")}static hasVideoCover(t){return t.find(".video_overlay_image, .tcb-video-cover").length>0}static lazyLoadVideo(e){let o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const i=e.find(o?"source":"iframe"),n=i.attr("src");if(i.hasClass("tcb-video-lazy-loaded")||n&&n.length>0||!e.is(":visible")||r.isInsideScreenFiller(i)||!TCB_Front.isInViewport(e,-150)&&!a)return;i.hasClass("vooplayer")&&!TCB_Front.vooplayerScriptsLoaded&&(t.getScript("https://s3.spotlightr.com/assets/vooplayer.js"),TCB_Front.vooplayerScriptsLoaded=1);let s=i.attr("data-src");s&&"null"!==s&&(s=TCB_Front.Hooks.applyFilters("tcb.video.lazy_load.src",s,e),i.attr("src",s),o&&i.closest("video")[0].load()),i.removeAttr("data-src").addClass("tcb-dr-done tcb-video-lazy-loaded")}static lazyLoadThumbnails(e){e.find(a).each(((e,o)=>{const a=t(o);a.closest(".tcb-lazy-load").length>0&&r.lazyLoadThumbnail(a)}))}static lazyLoadThumbnail(t){if(!TCB_Front.Utils.isEditorPage()&&(t.hasClass("tcb-src-loaded")||!t.is(":visible")||!TCB_Front.isInViewport(t.closest(".thrv_responsive_video"),-250)))return;const e=t.attr("data-src");e&&"null"!==e&&t.attr("src",e),t.removeAttr("data-src"),TCB_Front.Utils.isEditorPage()||t.addClass("tcb-src-loaded")}static preconnectAssets(t){const e=t.attr("data-type");if(s.includes(e))return;let o=[];switch(e){case"youtube":o=i.getAssetsToPreconnect();break;case"vimeo":o=r.getVimeoAssetsToPreconnect();break;case"wistia":o=r.getWistiaAssetsToPreconnect();break;case"external":const e=t.find("source").attr("data-src");void 0!==e&&(o=[new URL(e).origin]);break;case"vooplayer":o=n.getAssetsToPreconnect()}o.forEach((t=>r.addPreconnectLink(t))),s.push(e)}static addPreconnectLink(t){const e=document.createElement("link");e.rel="preconnect",e.href=t,document.head.append(e)}static getVimeoAssetsToPreconnect(){return["https://f.vimeocdn.com","https://player.vimeo.com","https://i.vimeocdn.com"]}
1static getWistiaAssetsToPreconnect(){return["https://fast.wistia.net"]}}return r}},82215:function(t,e,o){t.exports=(t,e)=>{const a=o(60232),i=o(58647)(t,e),n=o(48042),s=o(98071)(t,e);class r{static init(){r.initHooks()}static get identifier(){return".thrv_responsive_video"}static initHooks(){t(e).on("tcb_after_dom_ready",(()=>r.onDomReady())).on("tcb_after_lightbox_open",((e,o)=>{t(o).find(`${r.identifier}:not([data-type="dynamic"])`).each(((e,o)=>r.autoplayVideo(t(o))))})).on("tcb_before_lightbox_close",((e,o)=>r.pauseVideos(t(o)))).on("tcb_on_content_hide",((e,o)=>r.pauseVideos(t(o)))).on("tve-content-revealed",((e,o)=>r.maybeAutoplayVideo(t(o)))).on("tcb_toggle_open",((e,o)=>r.maybeAutoplayVideo(t(o)))).on("tcb_toggle_close",((e,o)=>r.pauseVideos(t(o)))).on("tcb_on_content_show",((e,o)=>r.maybeAutoplayVideo(t(o)))).on("tve_after_content_toggle",((t,e,o)=>{o&&s.lazyLoadThumbnails(e)})),TCB_Front.Hooks.addFilter("tcb.is_iframe_load_prevented",s.preventIframeLoad)}static onDomReady(){const e=t("body");r.pauseVideos(t(".tve_p_lb_content")),r.pauseVideos(t(`${r.identifier}:hidden`)),i.onDomReady(),TCB_Front.Utils.isEditorPage()||(r.maybeAutoplayVideo(e),s.initVideoLazyLoad(e),r.initOnClickEvent()),n.onDOMReady(),t(".tcb-video-background-el").each(((t,e)=>e.parentNode.classList.add("tcb-video-background-parent")))}static initOnClickEvent(){t(r.identifier).off("click.thumbnail").on("click.thumbnail",(e=>r.onClick(t(e.currentTarget),e)))}static onClick(t,e){const o=t.find(".video_overlay_image, .tcb-video-cover"),a=t.find(".tcb-video-float-container.tcb-float-closed");let i=t.find(".tcb-responsive-video").attr("data-provider"),n="";switch(i||(i=t.attr("data-type")),i){case"youtube":case"vimeo":n="&autoplay=1";break;case"wistia":n="&autoPlay=true"}if("vooplayer"===i&&t.find(".video-skin-player").css("z-index",""),TCB_Front.Hooks.doAction("tcb.video.before_autoplay",t,i),0===a.length&&["youtube","vimeo","wistia"].includes(i)){const e=t.find("iframe"),o=e.attr("src");0!==o.length&&(o.includes("?")||(n=`?${n.substring(1)}`),e.attr("src",o+n))}else r.maybePlayHtmlVideo(t,i,e);o.length>0&&o.fadeOut()}static maybePlayHtmlVideo(e,o,a){if((e.find(".tcb-video-cover:visible").length>0||!TCB_Front.browser.safari)&&(void 0===a||0===t(a.target).closest(".tcb-float-close-button").length)&&["custom","self","external"].includes(o)){const t=e.find("video").get(0);function o(e){setTimeout((function(){t[e]()}))}o(t.paused?"play":"pause")}}static maybeAutoplayVideo(e){let o;o=void 0===e?t(`${r.identifier}:not([data-type="dynamic"])`):e.find(`${r.identifier}:not([data-type="dynamic"])`),o.each(((e,o)=>{const a=t(o);0===a.parents(".tve_p_lb_content").length&&r.autoplayVideo(a)}))}static autoplayVideo(t){if(1!==parseInt(t.attr("data-autoplay")))return;const e=t.attr("data-type");let o="";switch(e){case"youtube":o="&autoplay=1&mute=1";break;case"vimeo":o="&autoplay=1&muted=1";break;case"wistia":o="&autoPlay=true&muted=true"}if(a.isCustomProvider(e)){const e=t.find("iframe");let a=e.attr("src")||e.attr("data-src");a&&0!==a.length&&-1===a.indexOf(o)&&(a.includes("?")?"?"===a.slice(-1)&&(o=o.substring(1)):o=`?${o.substring(1)}`,a+=o,e.attr({src:a,"data-src":a}))}else if(a.isSelfHosted(e)){const e=t.find("video").get(0);e&&(e.muted=!0,e.paused&&e.play())}}static pauseVideos(t){t.find("video").each(((t,e)=>e.pause()))}}return window.TCB_Front.playBackgroundYoutube=i.playBackgroundVideos,window.TCB_Front.refreshBackgroundYoutube=i.refreshBackgroundVideos,window.TCB_Front.onVideoClick=r.onClick,window.TCB_Front.changeAutoplayVideo=r.maybeAutoplayVideo,window.TCB_Front.makeAutoplayVideo=r.autoplayVideo,window.TCB_Front.floating=o(33726),r}},60232:function(t){const e=["youtube","vimeo","wistia"],o=["self","external","custom"];t.exports=class{static isCustomProvider(t){return e.includes(t)}static isSelfHosted(t){return o.includes(t)}}},48042:function(t){(e=>{class o{static onDOMReady(){document.addEventListener("vooPlayerReady",o.playBackgroundVoo,!1),document.addEventListener("vooPlayerReady",o.changeVooOnPlay,!1),TCB_Front.Utils.isEditorPage()?e(".tcb-video-background-el iframe.tcb-voo-bg").each((function(){const t=TVE.inner_$(this),e=t.attr("src");t.attr("src",e)})):(e('.thrv_responsive_video[data-type="vooplayer"]').each(((t,o)=>{const a=e(o),i=a.outerHeight(),n=a.find(".tcb-video-cover,.video_overlay_image"),s=a.find("iframe");n.length>0&&s.length>0&&(a.find(".video-skin-player").css("z-index","-1"),s.before(n.css({height:s.height(),"max-height":i})),s.css("max-height",i))}
1)),TCB_Front.floating.init())}static playBackgroundVoo(){e("iframe.tcb-voo-bg").each(((t,e)=>{const o=()=>{vooAPI(e.dataset.playerid,"onEnded",null,o),vooAPI(e.dataset.playerid,"play"),vooAPI(e.dataset.playerid,"volume",[0])};o()}))}static changeVooOnPlay(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:TCB_Front.$body;t&&t.jquery||(t=TCB_Front.$body),t.find("iframe.video-player-container").each(((t,o)=>{const a=()=>{e(o).css("pointer-events",""),e(o).parent().find("#theImg").remove()};o.src?a():vooAPI(o.dataset.playerid,"onPlay",null,(()=>{a()}))}))}static getAssetsToPreconnect(){return["https://s3.spotlightr.com"]}}t.exports=o,window.TCB_Front.changeVooOnPlay=o.changeVooOnPlay})(ThriveGlobal.$j)},26380:function(t){t.exports=(t,e)=>class{static fetchIframeApi(){t.ajax({url:"https://www.youtube.com/iframe_api",type:"get",crossDomain:!0,cache:!0,dataType:"script"})}static getDefaultPlayerParameters(t){const e={autoplay:1,cc_load_policy:0,controls:0,disablekb:1,fs:0,iv_load_policy:0,modestbranding:1,playsinline:1,rel:0,showinfo:0,playlist:t};return arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&(e.loop=1,e.listType="playlist"),e}static getAssetsToPreconnect(){return["https://www.youtube.com","https://www.google.com","https://googleads.g.doubleclick.net","https://static.doubleclick.net","https://www.gstatic.com"]}}},47101:function(t,e,o){t.exports=(t,e)=>{const a=o(26380)(t,e),i=".tcb-yt-bg";class n{static resetVideo(t){const e=t.find(i);if(e.length>0){const t=e.closest(".tcb-video-background-el"),o=TVE.Components.background.controls.video.video_settings.get_embed_code("background");t.html(o),n.playVideo(t.find(i))}}static playVideo(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t("div.tcb-yt-bg:visible");if(e.length)return void 0!==window.YT&&window.YT.Player?void e.each(((e,o)=>{let i,n=o.getAttribute("data-yt-id");i=34===n.length?new YT.Player(o.id,{playerVars:a.getDefaultPlayerParameters(n,!0),events:{onReady:t=>t.target.mute(),onStateChange:t=>t.target.mute()}}):new YT.Player(o.id,{videoId:n,playerVars:a.getDefaultPlayerParameters(n),events:{onReady:function(t){t.target.mute(),t.target.playVideo()},onStateChange:function(t){t.target&&t.target.mute&&t.target.mute(),t.data===(YT.PlayerState.ENDED||0)&&t.target.playVideo()}}}),t(i.getIframe()).data("tcb-yt-player",i)})):(window.onYouTubeIframeAPIReady=function(){n.playVideo(e)},void a.fetchIframeApi())}static refreshVideos(){window.YT&&window.YT.Player&&t("iframe.tcb-yt-bg").each(((e,o)=>{const a=t(o);a.data("tcb-yt-player")||n.playVideo(a)}))}}return n}},58647:function(t,e,o){t.exports=(t,e)=>{const a=o(47101)(t,e),i=o(26380)(t,e);class n{static onDomReady(){n.initHooks(),n.playBackgroundVideos()}static initHooks(){TCB_Front.Utils.isEditorPage()?(TVE.add_action("tcb.element.duplicate",((t,e)=>a.resetVideo(e))),["sync","activate","create_display"].forEach((t=>TVE.add_action(`tve.conditional_display.${t}`,(t=>a.resetVideo(t)))))):(TCB_Front.Hooks.addFilter("tcb.video.lazy_load.src",((t,e)=>(t.includes("&enablejsapi=1")||"youtube"!==e.attr("data-type")||(t+="&enablejsapi=1"),t))),TCB_Front.Hooks.addAction("tcb.video.before_autoplay",((e,o)=>{if("youtube"!==o)return;const a=e.find("iframe")[0];t.each(a.attributes,((t,e)=>{let o=!1;e&&e.name.includes("data-gtm-yt-inspected")&&(a.removeAttribute(e.name),o=!0),o&&a.removeAttribute("id")}))})))}static playBackgroundVideos(t){a.playVideo(t)}static refreshBackgroundVideos(){a.refreshVideos()}static getAssetsToPreconnect(){return i.getAssetsToPreconnect()}}return n}}},e={};function o(a){var i=e[a];if(void 0!==i)return i.exports;var n=e[a]={exports:{}};return t[a](n,n.exports,o),n.exports}void 0===TCB_Front.js_modules.video&&TCB_Front.setModuleLoadedStatus("video",!1),(t=>{if(TCB_Front.isModuleLoaded("video"))return;const e=o(82215)(t,window);e.init(),window.TCB_Front.video=e,TCB_Front.setModuleLoadedStatus("video",!0)})(ThriveGlobal.$j)}();
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.