PageSourceSearch

https://www.dacbeachcroft.com/scripts/Testimonials-chunk.js?51c54ac34c9096110874

js dacbeachcroft.com collected 2026-09-25 03:51:43 UTC 1,937 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[9763],{1291:(e,t,i)=>{i.r(t),i.d(t,{default:()=>a});i(9785);var s=i(7179);function l(e,t){for(var i=0;i<t.length;i++){var s=t[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}const a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.$el=t,this.testimonialCarousel=this.$el.querySelector(".testimonials-glide"),this.testimonialSlides=this.$el.querySelectorAll(".glide__slides>li"),this.testimonialHeader=this.$el.querySelector(".testimonials__header"),"show-title-description"!==this.testimonialHeader.dataset.testimonialVariant.toLowerCase()&&this.testimonialHeader.classList.add("hide-element");var i=this.testimonialSlides.length,l=this.$el.querySelector(".glide__arrow--prev"),a=this.$el.querySelector(".glide__arrow--next"),n=this.testimonialSlides.length,r=new s.ZP(this.testimonialCarousel,{type:"slider",startAt:0,perView:1,rewind:!1});r&&(r.on(["mount.before","run"],(function(){0===r.index?(l.setAttribute("disabled","disabled"),l.classList.add("disable")):(l.removeAttribute("disabled"),l.classList.remove("disable")),r.index===i-1?(a.setAttribute("disabled","disabled"),a.classList.add("disable")):(a.removeAttribute("disabled"),a.classList.remove("disable")),console.log("testimonial slide length ...",n),n<=1&&(a.classList.add("hide-element"),l.classList.add("hide-element"))})),r.mount({Controls:s.ZX})),l.addEventListener("click",(function(e){e.preventDefault(),r.go("=2")})),a.addEventListener("click",(function(e){e.preventDefault(),r.go("=2")}))}var t,i,a;return t=e,(i=[{key:"disableButton",value:function(e){e.setAttribute("disabled","disabled")}},{key:"enableButton",value:function(e){e.removeAttribute("disabled")}}])&&l(t.prototype,i),a&&l(t,a),Object.defineProperty(t,"prototype",{writable:!1}),e}()}}]);

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.