1(self.webpackChunk_mvps_genesis_quickstart_theme=self.webpackChunk_mvps_genesis_quickstart_theme||[]).push([[3846],{9991:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});s(7155);var o=s(359);class a extends o.A{constructor(t){super(t)}onReady(){this.initScrollToCatalogDownload(),this.initCatalogRequestForm()}async initScrollToCatalogDownload(){const t=document.getElementsByClassName("js-scroll-to-catalog-download");if(!t.length)return;const{default:e}=await s.e(3151).then(s.bind(s,3151));new e(t,{scrollIntoViewOptions:{behavior:"smooth",block:"start",inline:"nearest"}})}initCatalogRequestForm(){const t=document.getElementById("js-catalog-form");t&&t.addEventListener("submit",this.handleCatalogRequestFormSubmit.bind(this))}async handleCatalogRequestFormSubmit(t){const e=t.target;if(!e)return;const s=e.querySelector('[type="submit"]'),o=e.getAttribute("action");if(!s||!o)return;t.preventDefault();const a=e.getElementsByClassName("g-catalog-request-form__message");for(const t of a)t.classList.add("u-hidden");s.disabled=!0,s.classList.add("g-button--submitting");const n=await fetch(o,{body:new FormData(e),method:"post"});s.disabled=!1,s.classList.remove("g-button--submitting");let l=document.getElementById("js-catalog-request-success-message");n.ok?e.reset():l=document.getElementById("js-catalog-request-error-message"),l&&(l.classList.remove("u-hidden"),l.scrollIntoView({behavior:"smooth",block:"center"}))}}},8806:()=>{},7155:(t,e,s)=>{var o=s(8806);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);(0,s(4424).A)("4d816f2a",o,!1,{})}}]); 2//# sourceMappingURL=page-code--CATREQ.e87a48e3e6bfad108e2d.chunk.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.