PageSourceSearch

https://www.dacbeachcroft.com/scripts/HeroArticle-chunk.js?04ccde6a707bee5db64d

js dacbeachcroft.com collected 2026-09-25 03:51:42 UTC 4,365 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[9625],{3388:(e,r,t)=>{t.r(r),t.d(r,{default:()=>h});t(9785);var o=t(9357);function i(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function s(e,r,t){return r&&i(e.prototype,r),t&&i(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}const h=s((function e(r){var t,i,s,h=this;if(function(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}(this,e),s=function(e){if(window.outerWidth,"video"!==e){var r=h.heroContainer.dataset.bgimageMobile,t=h.heroContainer.dataset.bgimageWeb;o.l_.isSmallerThan.ipad()?h.heroBanner.style.background="url(".concat(r,")"):h.heroBanner.style.background="url(".concat(t,")")}else h.heroBanner.style.background="transparent",h.heroBanner.style.padding=0,o.l_.isSmallerThan.ipad()?(h.heroDekstopVideo.classList.remove("hide-element"),h.heroMobileVideo.classList.add("hide-element")):(h.heroDekstopVideo.classList.add("hide-element"),h.heroMobileVideo.classList.remove("hide-element"))},(i="changeHeroBanner")in(t=this)?Object.defineProperty(t,i,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[i]=s,this.$el=r,this.heroBanner=document.querySelector(".heroarticle"),this.heroAbout=this.$el.querySelector(".heroarticle__about"),this.heroArticle=this.$el.querySelector(".heroarticle__article"),this.heroCta=this.$el.querySelector(".heroarticle__cta"),this.heroTextArr=this.$el.querySelector(".heroarticle__txtarrow"),this.heroContainer=this.$el.querySelector(".heroarticle__container"),this.heroMobileVideo=this.$el.querySelector("#heroMobileVideo"),this.heroDekstopVideo=this.$el.querySelector("#heroDesktopVideo"),this.heroBannerEditor=this.$el.querySelector(".heroarticle--editor"),this.heroBannerEditor=this.$el.querySelector(".heroarticle--editor"),this.heroTextArrLabel=this.$el.querySelector(".heroarticle__txtarrow--label"),this.heroTxtArrArrow=this.$el.querySelector(".heroarticle__txtarrow--arrow"),this.heroTextArrHref=this.$el.querySelector(".heroarticle__txtarrow--label--ahref"),o.gT.checkForElement(this.heroTextArrHref)&&o.gT.checkForElement(this.heroAbout)&&o.gT.checkForElement(this.heroArticle)&&o.gT.checkForElement(this.heroCta)){var a=this.heroContainer.dataset.headerType,l=this.heroContainer.dataset.headerShowcta,n=this.heroBannerEditor.dataset.articleType,c=this.heroBannerEditor.dataset.editorMode;console.log("isEditorMode...",c),"true"===c.toLowerCase()&&this.heroBannerEditor.classList.remove("hide-element"),console.log("articleType...",n),"article"===a&&(this.heroAbout.classList.add("hide-element"),this.heroArticle.classList.remove("hide-element"),this.heroContainer.style.flexDirection="row-reverse",this.heroTextArr.classList.remove("hide-element")),"about"===a&&(this.heroArticle.classList.add("hide-element"),this.heroAbout.classList.remove("hide-element"),this.heroCta.classList.remove("hide-element"),this.heroContainer.style.flexDirection="row"),"video"===a&&(this.heroArticle.classList.add("hide-element"),this.heroAbout.classList.add("hide-element"),this.heroCta.classList.add("hide-element"),this.heroTextArr.classList.add("hide-element")),"true"===l?this.heroCta.classList.add("hide-element"):this.heroCta.classList.remove("hide-element"),"FeatureArticle"===n||"horizontal"==this.heroArticle.dataset.direction.toLowerCase()?(this.heroContainer.style.flexDirection="column-reverse",this.heroTextArr.style.flexDirection="row",this.heroTextArr.style.justifyContent="flex-start",this.heroTextArrLabel.style.writingMode="horizontal-tb",this.heroTextArrLabel.style.transform="rotate(0deg)",this.heroTextArrHref.classList.add("accent-color"),this.heroTxtArrArrow.classList.remove("heroarticle__txtarrow--arrow"),this.heroTxtArrArrow.classList.add("herobanner__txtarrow--arrow--right")):(this.heroContainer.style.flexDirection="row-reverse",this.heroTextArr.style.flexDirection="column-reverse",this.heroTextArr.style.justifyContent="end",this.heroTextArrHref.classList.remove("accent-color"),this.heroTxtArrArrow.classList.add("heroarticle__txtarrow--arrow"),this.heroTxtArrArrow.classList.remove("herobanner__txtarrow--arrow--right")),this.heroBanner.classList.remove("hide-element"),this.changeHeroBanner(a),window.addEventListener("resize",(function(){h.changeHeroBanner(a)}))}}))}}]);

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.