!function(e){"use strict";e(".close-btn").click(function(){if(e(".custom-model-main").length>0){e(".custom-model-main").removeClass("model-open");const t=e(".pop-up-content-wrap iframe");t.attr("src","");const n=t.clone();t.replaceWith(n)}}),document.addEventListener("DOMContentLoaded",()=>{const e=document.getElementById("video-ss");function t(){const e=document.querySelector(".playButton");e&&e.remove()}function n(){e.paused||e.pause()}function o(){e.paused&&e.play().catch(e=>{console.error("Failed to play video:",e)})}e&&(e&&e.play().catch(n=>{e.muted=!0,e.play().catch(n=>{const o=document.createElement("button");o.className="playButton",o.textContent="Play Video",o.style.position="absolute",o.style.top="50%",o.style.left="50%",o.style.transform="translate(-50%, -50%)",o.style.zIndex="1000",o.addEventListener("click",()=>{e.play(),t()});const c=document.querySelector(".home-media-banner__content-section");c?c.appendChild(o):(console.error('Element with class "home-media-banner__content-section" not found'),document.body.appendChild(o))})}),document.addEventListener("visibilitychange",function(){"hidden"===document.visibilityState?n():"visible"===document.visibilityState&&o()}),window.addEventListener("blur",()=>{n()}),window.addEventListener("focus",()=>{o()}),e.addEventListener("play",t))})}(jQuery);; !function(t){"use strict";var i=t(window);function n(){t(".why-sutherland-main .counter_num").each(function(){if(t(this).hasClass("start")){var i=t(this).offset().top,n=i+t(this).outerHeight(),s=t(window).scrollTop(),o=s+t(window).height();if(n>s&&i0&&(jQuery(window).width()<1024?jQuery(".tabs-content-inner").hide():jQuery(".tabs-content-inner").show()),jQuery(window).on("resize orientationchange",function(){jQuery(".tabs-block-main").length})})}(jQuery);; !function(e){"use strict";var t=[];function r(){e(".insight-slider__inner").each(function(r){let i=e(this).find(".insight-slider__slide-main"),s=i.attr("data-slide-autoplay")||!0,o=i.attr("data-slide-arrows")||!0,n=i.attr("data-slide-dots")||!0;var a=!!e("body").hasClass("rtl");let d={autoplay:"true"===s,autoplaySpeed:7e3,pauseOnHover:"true"===s||!0===s,dots:"true"===n||!0===n,infinite:!0,arrows:"true"===o||!0===o,slidesToShow:2,slidesToScroll:1,swipeToSlide:!0,focusOnSelect:!0,centerMode:!0,prevArrow:e(this).find(".prevarrow"),nextArrow:e(this).find(".nextarrow"),rtl:a,responsive:[{breakpoint:1599,settings:{slidesToShow:1}}]};t[r]?t[r].slick("refresh"):t[r]=i.slick(d)})}e(document).ready(function(){document.querySelectorAll(".insights-block-wapper").forEach(function(e){e.removeAttribute("aria-describedby")}),r(),e(window).on("resize",function(){e(".sutherland-front-side").length>0&&r()})})}(jQuery);; !function(){"use strict";jQuery(document).ready(function(){var e=setInterval(function(){if(!jQuery("form.mktoForm").hasClass("mb-mk-loaded")&&void 0!==window.MktoForms2&&void 0!==window.loadMarketoForm){clearInterval(e);let o=jQuery("form.mktoForm").attr("data-munchkin"),t=jQuery("form.mktoForm").attr("data-formid");window.loadMarketoForm(o,t)}},500)}),document.addEventListener("DOMContentLoaded",function(){const e=document.querySelector(".wp-block-sutherland-contactus-form .marketo-form__column"),o=e.style.backgroundImage;if(e.style.backgroundImage="none","IntersectionObserver"in window){let t=new IntersectionObserver(function(n){n.forEach(function(n){n.isIntersecting&&(e.style.backgroundImage=o,t.unobserve(e))})});t.observe(e)}else e.style.backgroundImage=o})}(jQuery);;