| Server IP : 108.167.142.43 / Your IP : 216.73.216.115 Web Server : Apache System : Linux gator4174.hostgator.com 5.14.0-687.39.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Aug 18 06:09:16 EDT 2026 x86_64 User : delarice ( 2406) PHP Version : 8.3.36 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home2/delarice/public_html/wp-content/plugins/elementor/assets/js/ |
Upload File : |
"use strict";(function(){var e=globalThis.elementorV2.frontendHandlers,getYoutubeVideoIdFromUrl=e=>{let t=e.match(/^(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtu\.be\/|youtube\.com\/(?:(?:watch)?\?(?:.*&)?vi?=|(?:embed|v|vi|user|shorts)\/))([^?&"'>]+)/);return t?t[1]:null},loadYouTubeAPI=()=>new Promise(e=>{if(window.YT&&window.YT.loaded){e(window.YT);return}let t=`https://www.youtube.com/iframe_api`;if(!document.querySelector(`script[src="${t}"]`)){let e=document.createElement(`script`);e.src=t;let n=document.getElementsByTagName(`script`)[0];n.parentNode.insertBefore(e,n)}let checkYT=()=>{window.YT&&window.YT.loaded?e(window.YT):setTimeout(checkYT,350)};checkYT()});(0,e.register)({elementType:`e-youtube`,id:`e-youtube-handler`,callback:({element:e})=>{let t=document.createElement(`div`);t.style.height=`100%`,e.appendChild(t);let n=e.getAttribute(`data-settings`),r=n?JSON.parse(n):{},i=getYoutubeVideoIdFromUrl(r.source);if(!i)return;let a,o,prepareYTVideo=e=>{let n={videoId:i,events:{onReady:()=>{r.mute&&a.mute(),r.autoplay&&a.playVideo()},onStateChange:t=>{t.data===e.PlayerState.ENDED&&r.loop&&a.seekTo(r.start||0)}},playerVars:{controls:+!!r.controls,rel:+!r.rel,cc_load_policy:+!!r.cc_load_policy,autoplay:+!!r.autoplay,start:r.start,end:r.end}};return r.privacy&&(n.host=`https://www.youtube-nocookie.com`,n.origin=window.location.hostname),a=new e.Player(t,n),a};return r.lazyload?(o=new IntersectionObserver(t=>{t[0].isIntersecting&&(loadYouTubeAPI().then(e=>prepareYTVideo(e)),o.unobserve(e))}),o.observe(e)):loadYouTubeAPI().then(e=>prepareYTVideo(e)),()=>{a&&typeof a.destroy==`function`&&(a.destroy(),a=null),e.contains(t)&&e.removeChild(t),o&&typeof o.disconnect==`function`&&(o.disconnect(),o=null)}}})})();