PageSourceSearch

https://www.ctimd.com/wp-content/themes/cti/dist/js/app.min.js?ver=1.1.0

js ctimd.com collected 2026-10-04 14:20:22 UTC 11,369 bytes, 1 lines download raw bytes

1function wdsAccordion(){const e=document.querySelectorAll(".accordion-item"),t=document.querySelectorAll(".accordion-item-content");function n(e){t.forEach(function(t){const n=e.target.parentNode.closest(".accordion-item-header");t.previousElementSibling===n?"false"===t.getAttribute("aria-hidden")?(t.setAttribute("aria-hidden","true"),t.parentElement.classList.remove("open")):(t.setAttribute("aria-hidden","false"),t.parentElement.classList.add("open")):(t.setAttribute("aria-hidden","true"),t.parentElement.classList.remove("open"))})}e.forEach(e=>{e.querySelector(".accordion-item-header").addEventListener("click",n)}),openHashLink()}function openHashLink(){if(!window.location.hash)return!1;const e=document.querySelector(window.location.hash).previousElementSibling.querySelector(".accordion-item-toggle");e&&e.click()}function wdsMobileMenu(){function e(e){e.preventDefault();const n=e.target.parentNode.closest(".menu-item-has-children"),o=n.querySelector("ul.sub-menu");!function(e){t(e).forEach(e=>{e.classList.remove("is-visible"),e.querySelector(".parent-indicator")&&e.querySelector(".parent-indicator").setAttribute("aria-expanded",!1),e.querySelector(".sub-menu")&&e.querySelector(".sub-menu").classList.remove("is-visible","animated","slideInLeft")})}(n),function(e,t){if(e.classList.contains("is-visible"))return void function(e,t){e.classList.remove("is-visible"),e.querySelector(".parent-indicator").setAttribute("aria-expanded",!1),t.classList.remove("is-visible","animated","slideInLeft")}(e,t);e.classList.add("is-visible"),e.querySelector(".parent-indicator").setAttribute("aria-expanded",!0),t.classList.add("is-visible","animated","slideInLeft")}(n,o)}document.querySelectorAll(".mobile-menu li.menu-item-has-children, .utility-navigation li.menu-item-has-children").forEach(t=>{t.querySelector("a").innerHTML+='<button type="button" aria-expanded="false" class="parent-indicator" aria-label="Open submenu"><span class="down-arrow"></span></button>',document.querySelectorAll(".parent-indicator").forEach(t=>{t.addEventListener("click",e)})});const t=function(e){const t=[];let n=e.parentNode.firstChild;for(;n;)1===n.nodeType&&n!==e&&t.push(n),n=n.nextSibling;return t}}function wdsModals(){const e=document.querySelectorAll(".modal-trigger"),t=document.querySelectorAll(".modal .close"),n=document.body;function o(e){const t=e.target.getAttribute("data-target"),o=document.querySelector(t),i=o.querySelectorAll("a, input, button");n.classList.add("modal-open"),o.classList.add("modal-open"),o.setAttribute("aria-hidden",!1),0<i.length&&i[0].focus()}function i(e){const t=e.target.getAttribute("data-target"),o=document.querySelector(t),i=o.querySelector("iframe");if(n.classList.remove("modal-open"),o.classList.remove("modal-open"),o.setAttribute("aria-hidden",!0),i){const e=i.getAttribute("src");i.setAttribute("src",""),i.setAttribute("src",e)}}e.forEach(e=>{e.addEventListener("click",o)}),t.forEach(e=>{e.addEventListener("click",i)}),n.addEventListener("keydown",function(e){if(!n.classList.contains("modal-open"))return;const t=document.querySelector(".modal.modal-open"),o=t.querySelector("iframe");if(27===e.keyCode&&(t.setAttribute("aria-hidden",!0),t.classList.remove("modal-open"),n.classList.remove("modal-open"),o)){const e=o.getAttribute("src");o.setAttribute("src",""),o.setAttribute("src",e)}}),n.addEventListener("click",function(e){const t=e.target;if(n.classList.contains("modal-open")&&t.classList.contains("modal-open")){const e=t.querySelector("iframe");if(n.classList.remove("modal-open"),t.classList.remove("modal-open"),t.setAttribute("aria-hidden",!0),e){const t=e.getAttribute("src");e.setAttribute("src",""),e.setAttribute("src",t)}}})}function wdsOffCanvas(){const e=document.querySelector(".off-canvas-open");if(!e)return;const t=document.querySelector(".off-canvas-container"),n=document.querySelector("body");function o(){t.classList.remove("is-visible"),e.classList.remove("is-visible"),n.classList.remove("menu-open"),t.setAttribute("aria-hidden",!0),e.setAttribute("aria-expanded",!1)}e.addEventListener("click",function(){"true"===e.getAttribute("aria-expanded")?o():(t.classList.add("is-visible"),e.classList.add("is-visible"),n.classList.add("menu-open"),t.setAttribute("aria-hidden",!1),e.setAttribute("aria-expanded",!0))}),document.body.addEventListener("keydown",function(e){27===e.ke
1yCode&&o()})}function wdgSearchReset(){const e=document.querySelectorAll(".reset-button");0!==e.length&&e.forEach(e=>{e.addEventListener("click",e=>{const t=document.getElementById(e.target.getAttribute("aria-controls"));t&&(e.preventDefault(),t.value="")})})}function setEqualHeights(){document.querySelectorAll(".title-columns-block__columns").forEach(e=>{const t=Array.from(e.querySelectorAll(".title-columns-block__column-title"));if(t.forEach(e=>e.style.height="auto"),!(window.innerWidth<900))for(let e=0;e<t.length;e+=3){const n=t.slice(e,e+3);let o=0;n.forEach(e=>{const t=e.offsetHeight;t>o&&(o=t)}),n.forEach(e=>{e.style.height=`${o}px`})}})}function wdsWindowReady(){document.body.classList.add("ready")}window.acf&&window.acf.addAction("render_block_preview/type=wds-accordion",wdsAccordion),wdsAccordion(),document.querySelectorAll(".accordion-tabs-block__tabs").forEach(e=>{e.querySelectorAll(".accordion-tabs-block__tab-title").forEach(t=>{t.addEventListener("click",function(){let t="true"===this.getAttribute("aria-expanded");if(e.querySelectorAll(".accordion-tabs-block__tab-title").forEach(e=>{e.setAttribute("aria-expanded","false");let t=document.getElementById(e.getAttribute("aria-controls"));t&&(t.style.display="none"),e.querySelector(".indicator").textContent="+"}),!t){this.setAttribute("aria-expanded","true");let e=document.getElementById(this.getAttribute("aria-controls"));e&&(e.style.display="block"),this.querySelector(".indicator").textContent="−"}})})}),window.wdsCarousel={},function(e,t,n){n.init=function(){n.cache(),e.acf&&n.doSlick(),n.meetsRequirements()&&n.bindEvents()},n.cache=function(){n.$c={window:t(e),theCarousels:t(".carousel-block, .icon-carousel-block")}},n.bindEvents=function(){n.$c.window.on("load",n.doSlick),n.$c.window.on("load",n.doFirstAnimation)},n.meetsRequirements=function(){return n.$c.theCarousels.length},n.doFirstAnimation=function(){const e=n.$c.theCarousels.find("[data-slick-index=0]").find(".slide-content"),t=e.attr("data-animation");e.addClass(t)},n.playBackgroundVideos=function(){t("video").each(function(){this.play()})},n.initializeCarousels=function(){e.acf&&n.cache();const o={autoplay:!1,arrows:!0,focusOnSelect:!0,waitForAnimate:!0,slidesToShow:3,variableWidth:!0},i={autoplay:!1,arrows:!0,focusOnSelect:!0,mobileFirst:!0,slidesToShow:3,waitForAnimate:!0,variableWidth:!0,responsive:[{breakpoint:480,settings:{slidesToShow:3}},{breakpoint:768,settings:{slidesToShow:5}},{breakpoint:900,settings:{slidesToShow:6}}]};n.$c.theCarousels.each(function(e,n){const a=t(n).find(".carousel-wrapper");if(a.hasClass("slick-initialized"))return!0;const r=t(n).find(".carousel-navigation .carousel-prev-button"),c=t(n).find(".carousel-navigation .carousel-next-button");t(n).hasClass("carousel-block")&&(o.prevArrow=r,o.nextArrow=c,a.slick(o)),t(n).hasClass("icon-carousel-block")&&(i.prevArrow=r,i.nextArrow=c,a.slick(i))})},n.doSlick=function(){t(document).ready(function(){n.playBackgroundVideos(),n.initializeCarousels()}),e.acf&&e.acf.addAction("render_block_preview",n.initializeCarousels)},t(n.init)}(window,jQuery,window.wdsCarousel),function(){const e=document.querySelector(".site-header-action");if(!e)return;const t=document.querySelector(".site-header-action .cta-button"),n=document.querySelector(".site-header-action .form-container");function o(){document.body.classList.contains("search-form-visible")?(n.setAttribute("aria-hidden","false"),t.setAttribute("aria-expanded","true")):(n.setAttribute("aria-hidden","true"),t.setAttribute("aria-expanded","false"))}function i(t){e.contains(t.target)||(document.body.classList.remove("search-form-visible"),o())}t&&n&&(t.addEventListener("click",function(){document.body.classList.toggle("search-form-visible"),o()}),document.body.addEventListener("keyup",i),document.body.addEventListener("touchstart",i),document.body.addEventListener("click",i))}(),document.body.className=document.body.className.replace("no-js","js"),"complete"!==document.readyState&&"loading"===document.readyState||document.documentElement.doScroll?document.addEventListener("DOMContentLoaded",wdsMobileMenu):wdsMobileMenu(),"complete"!==document.readyState&&"loading"===document.readyState||document.documentElement.doScroll?document.addEventListener("DOMContentLoaded",wdsModals):wdsModals(),function(){const e=document.querySelectorAll(".main-navigation .menu-item-has-children");function t(e){o(e.target.parentNode,".menu-item-has-children").forEach(e
1=>{e.classList.add("focus")})}function n(e){o(e.target.parentNode,".menu-item-has-children").forEach(e=>{e.classList.remove("focus")})}document.addEventListener("DOMContentLoaded",function(){e.forEach(e=>{const t=e.querySelector("a");t.innerHTML+=""})}),document.addEventListener("DOMContentLoaded",function(){e.forEach(e=>{e.addEventListener("focusin",t),e.addEventListener("focusout",n)})});const o=function(e,t){Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){const t=(this.document||this.ownerDocument).querySelectorAll(e);let n=t.length;for(;0>=--n&&t.item(n)!==this;);return-1>n});const n=[];for(;e&&e!==document;e=e.parentNode)t?e.matches(t)&&n.push(e):n.push(e);return n}}(),"complete"!==document.readyState&&"loading"===document.readyState||document.documentElement.doScroll?document.addEventListener("DOMContentLoaded",wdsOffCanvas):wdsOffCanvas(),"complete"!==document.readyState&&"loading"===document.readyState||document.documentElement.doScroll?document.addEventListener("DOMContentLoaded",wdgSearchReset):wdgSearchReset(),function(){const e=-1<navigator.userAgent.toLowerCase().indexOf("webkit"),t=-1<navigator.userAgent.toLowerCase().indexOf("opera"),n=-1<navigator.userAgent.toLowerCase().indexOf("msie");(e||t||n)&&document.getElementById&&window.addEventListener&&window.addEventListener("hashchange",function(){const e=location.hash.substring(1);if(!/^[A-z0-9_-]+$/.test(e))return;const t=document.getElementById(e);t&&(/^(?:a|select|input|button|textarea)$/i.test(t.tagName)||(t.tabIndex=-1),t.focus())},!1)}(),document.querySelectorAll("table").forEach(e=>{const t=e.querySelectorAll("th");0!==t.length&&e.querySelectorAll("tbody tr").forEach(e=>{e.querySelectorAll("td").forEach((e,n)=>{t[n].textContent&&e.setAttribute("data-label",t[n].textContent)})})}),document.addEventListener("DOMContentLoaded",setEqualHeights),window.addEventListener("resize",setEqualHeights),function(){function e(e){const t=e.target.parentNode,n=t.querySelector(".video-background");t.classList.toggle("video-toggled"),t.classList.contains("video-toggled")?n.pause():n.play()}document.querySelectorAll(".video-toggle").forEach(t=>{t.addEventListener("click",e)})}(),"complete"!==document.readyState&&"loading"===document.readyState||document.documentElement.doScroll?document.addEventListener("DOMContentLoaded",wdsWindowReady):wdsWindowReady();

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.