PageSourceSearch

https://terrypeak.com/wp-content/themes/terrypeak/dist/scripts/main.js

js terrypeak.com collected 2026-10-04 01:50:26 UTC 6,259 bytes, 2 lines download raw bytes

1!function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=0)}([function(e,t,n){n(1),n(2),e.exports=n(7)},function(e,t,n){"use strict";var o,i,a,r,s;o=jQuery,function(){var e,t=document.querySelector(".navigation__nav"),n=document.querySelector(".navigation__toggle"),i=document.querySelector(".navigation__toggle .burger"),a=(document.querySelectorAll(".navigation__nav-link"),document.querySelectorAll(".dropdown-arrow")),r=document.querySelectorAll(".navigation__nav-list"),s=document.querySelector("body"),l=document.querySelector("html");null!==n&&n.addEventListener("click",(function(){t.classList.toggle("is-open"),i.classList.toggle("is-open");for(var e=0;e<r.length;e++)r[e].classList.remove("show");for(e=0;e<a.length;e++)a[0].classList.remove("is-open");t.classList.contains("is-open")?(s.classList.add("_disableScroll"),l.classList.add("_disableScroll")):(s.classList.remove("_disableScroll"),l.classList.remove("_disableScroll"))}));for(var c=0;c<a.length;c++)a[c].addEventListener("click",(function(e){var t;(t=o(this)).toggleClass("is-open"),t.next(".navigation__nav-list").toggleClass("show")}));window.addEventListener("resize",(function(){e||(e=setTimeout((function(){e=null,window.innerWidth>=991&&(t.classList.remove("is-open"),i.classList.remove("is-open"),s.classList.remove("_disableScroll"),l.classList.remove("_disableScroll"))}),66))}),!1)}(),function(){for(var e=o(".navigation-overlay"),t=document.querySelectorAll(".navigation__nav > .navigation__nav-list > .navigation__nav-item > .navigation__nav-link--sidebar"),n=0;n<t.length;n++)t[n].addEventListener("click",(function(){e.addClass("show"),e.find(".navigation-overlay__section").removeClass("active"),e.find("#"+o(this).data("nav-target")).addClass("active"),i()}));function i(){e.hasClass("show")?(o("body").addClass("_disableScroll"),o("html").addClass("_disableScroll")):(o("body").removeClass("_disableScroll"),o("html").removeClass("_disableScroll"))}o(".navigation-overlay__close").on("click",(function(){e.removeClass("show"),i()})),window.addEventListener("resize",(function(){window.innerWidth<=991&&(e.removeClass("show"),i())}))}(),i=o(".navigation").outerHeight(),a=o(".js-offset-header"),window.innerWidth<=991&&a.css("min-height","calc(100vh - "+i+"px)"),window.addEventListener("resize",(function(){i=o(".navigation").outerHeight(),window.innerWidth<=991?a.css("min-height","calc(100vh - "+i+"px)"):a.css("min-height","100vh")})),o("body").on("click","[data-action]",(function(e){e.preventDefault();var t=o(this),n=t.data("action"),i=t.data("target");switch(n){case"omnisearch--open":i=t.data("target"),o(i).addClass("show"),o(i).find(".form-control").focus(),o("body").addClass("omnisearch--open").append('<div class="mask mask--dark" data-action="omnisearch--close" data-target="'+i+'" />');break;case"omnisearch--close":i=t.data("target"),o('[data-action="search--open"]').removeClass("active"),o(i).removeClass("show"),o("body").removeClass("omnisearch--open").find(".mask").remove()}})),o(document).ready((function(){new Swiper(".slider--hero .swiper-container",{direction:"horizontal",speed:300,loop:!1,effect:"fade",allowTouchMove:!1,autoplay:{delay:5e3},pagination:{el:".slider__pagination-wrapper .swiper-pagination",clickable:!0,type:"bullets"},breakpoints:{991:{allowTouchMove:!0}}}),new Swiper(".slider--events .swiper-container",{direction:"horizontal",speed:600,loop:!1,shortSwipes:!1,longSwipesRatio:.1,longSwipesMs:200,spaceBetween:20,pagination:{el:".swiper-fraction-navigation .swiper-pagination",type:"fraction",clickable:!0,formatFractionCurrent:function(e){return e<10?"0"+e:e},formatFractionTotal:function(e){return e<10?"0"+e:e}},navigation:{prevEl:".swiper-custom-prev",nextEl:".swiper-custom-next"}}),new Swiper(".slider--image-gallery .swiper-container",{direction:"horizontal",speed:600,loop:!1,shortSwipes:!1,longSwipesRatio:.1,longSwipesMs:200,pagination:{el:".swiper-fraction-navigation .swiper-pagination",type:"fraction",clickable:!0,formatFractionCurrent:function(e){return e<10?"0"+e:e},formatFractionTotal:function(e){return e<10?"0"+e:e}},navigation:{prevEl:".swiper-custom-prev",nextEl:".swiper-custom-next"}})}
1)),r=o(".js-trails-container"),s=o(".js-trails-checkbox"),r.isotope({itemSelector:".js-trails-item",transitionDuration:"0",hiddenStyle:{opacity:0,transform:"translateX(-200px)"},visibleStyle:{opacity:1,transform:"translateX(0)"}}),s.change((function(){var e=[];s.filter(":checked").each((function(){e.push(this.value)})),e=e.join(", "),r.isotope({filter:e})})),r.on("arrangeComplete",(function(e,t){0==t.length?o(".filter-message").show():o(".filter-message").hide()})),o("#tribe-bar-date").attr("autocomplete","off"),o(".js-events-clear-filters").click((function(e){e.preventDefault(),o("#tribe-bar-form").tribe_clear_form()})),o(".gfield_select").focus((function(){o(this).parent().css("border","1px solid #1567ee")})),o(".gfield_select").focusout((function(){o(this).parent().css("border","1px solid #ced4da")})),o('[data-toggle="tooltip"]').tooltip(),document.addEventListener("DOMContentLoaded",(function(){var e=window.location.href,t=document.querySelectorAll(".tribe-events-sub-nav");e.endsWith("/events/")?t.forEach((function(e){e.style.display="none"})):e.includes("/events/list/page/")&&e.includes("tribe_event_display=past")&&t.forEach((function(e){e.style.display="block"}))}))},function(e,t){},,,,,function(e,t){}]);
2//# sourceMappingURL=main.js.map

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.