Done !
| Server IP : 51.91.236.255 / Your IP : 216.73.217.126 Web Server : Apache System : Linux webm003.cluster129.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : chloega ( 433239) PHP Version : 8.4.22 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/chloega/www/wp-content/themes/inspiro/assets/js/minified/ |
Upload File : |
function inspiroResponsiveEmbeds(){let e,i,n,a,o=document.querySelectorAll("body")[0];document.querySelectorAll("iframe").forEach(function(t){"wp-custom-header"===t.parentElement.id?o.classList.contains("full-height-iframe-video")&&(t.hasAttribute("data-initial-width")||t.setAttribute("data-initial-width",t.width),t.hasAttribute("data-initial-height")||t.setAttribute("data-initial-height",t.height),n=t.getAttribute("data-initial-width"),a=t.getAttribute("data-initial-height"),window.innerWidth<1200?(t.width=window.innerHeight+window.innerWidth,t.height=window.innerWidth):(t.width=n,t.height=a)):t.width&&t.height&&(e=parseFloat(t.width)/parseFloat(t.height),i=parseFloat(window.getComputedStyle(t.parentElement,null).width.replace("px","")),t.style.maxWidth="100%",t.style.maxHeight=Math.round(i/e).toString()+"px")})}(i=>{let e=i("body"),t=e.find(".custom-header"),n=(t.find(".site-branding"),e.find("#site-navigation")),a=e.find("#scroll-to-content"),o=e.find("#content"),d=e.find("#secondary"),s=e.find(".entry-content"),r=(e.find(".format-quote blockquote"),e.hasClass("has-header-image")||e.hasClass("has-header-video")),h=(e.hasClass("inspiro-front-page")||e.hasClass("home blog"),0),l,c,u;function g(){c=n.height(),u=n.outerHeight(),i("#wpadminbar").length&&(u+=i("#wpadminbar").outerHeight())}function p(){1<=i(window).outerWidth()?r||(t.css("padding-top",u),o.css("padding-top",u)):(t.css("padding-top","0"),o.css("padding-top",u))}function f(t){if(d.length&&!(!e.hasClass("has-sidebar")||e.hasClass("search")||e.hasClass("single-attachment")||e.hasClass("error404")||e.hasClass("inspiro-front-page"))){let e=d.offset().top+(d.height()+28);s.find(t).each(function(){var t=i(this);t.offset().top>e?t.addClass("below-entry-meta"):t.removeClass("below-entry-meta")})}}function m(){var t=document.createElement("div");try{return"backgroundAttachment"in t.style&&(!/iPad|iPhone|iPod/.test(navigator.userAgent)||window.MSStream)?(t.style.backgroundAttachment="fixed")===t.style.backgroundAttachment:!1}catch(t){return!1}}i(document).ready(function(){e.addClass("inspiro-page-ready"),n.length&&g(),a.length&&(i("body").hasClass("admin-bar")&&(h-=32),n.length?h-=24:c=0,a.on("click",function(t){t.preventDefault(),i(window).scrollTo("#content",{duration:600,offset:{top:h-c}})})),inspiroResponsiveEmbeds(),p(),f("blockquote.alignleft, blockquote.alignright"),!0===m()&&(document.documentElement.className+=" background-fixed")}),n.length&&i(window).on("resize",function(){g(),p()}),i(window).on("resize",function(){inspiroResponsiveEmbeds(),clearTimeout(l),l=setTimeout(function(){f("blockquote.alignleft, blockquote.alignright")},300)}),i(window).on("load",function(){e.addClass("inspiro-page-loaded")}),i(document).on("wp-custom-header-video-loaded",function(){e.addClass("has-header-video"),i("#wp-custom-header-video").attr("autoplay",!0),i("#wp-custom-header-video").attr("playsinline",!0)})})(jQuery);