1"use strict";(self.webpackChunkbabel_seed_project=self.webpackChunkbabel_seed_project||[]).push([[1350,7895,9521,2745],{6874:function(e,t,s){s.r(t),s.d(t,{default:function(){return i}});var o=s(2861),r=s(42),n=s(4092);class i{constructor(e){this.customMessage={formatEmailAddress:(0,n.getMessage)("formatEmailAddress"," "),emailAddressRequired:(0,n.getMessage)("emailAddressRequired"," "),firstNameRequired:(0,n.getMessage)("firstNameRequired"," "),lastNameRequired:(0,n.getMessage)("lastNameRequired"," "),messageRequired:(0,n.getMessage)("messageRequired"," ")};const t={container:document,component:'[data-component="ContactUsSimpleForm"]',onSuccess:null};this.options={...t,...e},this.$component=document.querySelector(this.options.component)}init(){if(!this.$component)return;const e=this.$component;this.antiForgeryToken=e.querySelector('[name="__RequestVerificationToken"]').value,this.submitApi=e.dataset.submitApi;const t=new r.ZP(e,{errorLabelCssClass:"form-msg",errorLabelStyle:{position:"relative"},errorFieldCssClass:["error"]}),s={"#firstName":[{rule:"required",errorMessage:this.customMessage.firstNameRequired}],"#lastName":[{rule:"required",errorMessage:this.customMessage.lastNameRequired}],"#emailAddress":[{rule:"required",errorMessage:this.customMessage.emailAddressRequired},{rule:"email",errorMessage:this.customMessage.formatEmailAddress}],"#message":[{rule:"required",errorMessage:this.customMessage.messageRequired}]};Object.keys(s).forEach((e=>{const o=document.querySelector(e);o&&t.addField(o,s[e])})),t.onFail((e=>{for(const t in e)if(e.hasOwnProperty(t)){const s=e[t].elem;s.closest(".form-group").addClass("error");const o=s.closest(".form-group").querySelector(".just-validate-error-label");[""," "].includes(o.innerHTML)&&o.removeClass("form-msg")}})).onSuccess((t=>{if(t){e.querySelectorAll(".error").removeClass("error");const t=new FormData(e);t.delete("__RequestVerificationToken"),this.submitForm(t).then((e=>{"function"==typeof this.options.onSuccess&&this.options.onSuccess(e)}))}}))}submitForm(e){return o.Z.post(this.submitApi,e,{headers:{RequestVerificationToken:this.antiForgeryToken}})}}},1601:function(e,t,s){s.r(t),s.d(t,{default:function(){return n}});var o=s(2861),r=s(42);class n{constructor(e){const t={container:document,component:'[data-component="OnlineContactUsForm"]',onSuccess:null};this.options={...t,...e},this.$component=document.querySelector(this.options.component)}init(){if(!this.$component)return;const e=this.$component;this.antiForgeryToken=e.querySelector('[name="__RequestVerificationToken"]').value,this.submitApi=e.dataset.submitApi;new r.ZP(e,{errorFieldCssClass:["error"]}).addField("#firstName",[{rule:"required",errorMessage:" "}]).addField("#lastName",[{rule:"required",errorMessage:" "}]).addField("#email",[{rule:"required",errorMessage:" "},{rule:"email",errorMessage:" "}]).onFail((e=>{for(const t in e)if(e.hasOwnProperty(t)){e[t].elem.closest(".form-group").addClass("error")}})).onSuccess((t=>{t.preventDefault(),"undefined"!=typeof grecaptcha&&grecaptcha&&grecaptcha.ready((()=>{grecaptcha.execute(window.recaptchaSiteKey,{action:"submit"}).then((t=>{e.querySelectorAll(".error").removeClass("error");const s=new FormData(e);s.delete("__RequestVerificationToken"),s.append("g-recaptcha-response",t),this.submitForm(s).then((e=>{"function"==typeof this.options.onSuccess&&this.options.onSuccess(e)}))}))}))}))}submitForm(e){return o.Z.post(this.submitApi,e,{headers:{RequestVerificationToken:this.antiForgeryToken}})}}},1282:function(e,t,s){s.r(t),s.d(t,{default:function(){return n}});var o=s(6874),r=s(1601);class n{constructor(e){this.options={component:'[data-component="ContactUsPage"]',...e},this.$component=document.querySelector(this.options.component)}init(){if(!this.$component)return;let e;e="online-form"===this.$component.dataset.form?new r.default({container:this.$component,onSuccess:t=>{e.$component.addClass("d-none");this.$component.querySelector(".submission-thank").removeClass("d-none")}}):new o.default({container:this.$component,onSuccess:t=>{e.$component.addClass("d-none");this.$component.querySelector(".submission-thank").removeClass("d-none")}}
1),e.init()}}},4092:function(e,t,s){s.r(t),s.d(t,{default:function(){return o},fbTrack:function(){return n},getMessage:function(){return r}});class o{static isMobile(){return navigator.userAgent.match(/Android|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i)}static isLeapYear(e){return 29===new Date(e,1,29).getDate()}static debounce(e,t){let s;return(...o)=>{clearTimeout(s),s=setTimeout((()=>{e.apply(this,o)}),t)}}static isValidInputNumber(e){const t=window.event?e.keyCode:e.which;return 8==t||9==t||46==t||37==t||39==t||!(t<48||t>57&&t<96||t>105)}static pauseInvisibleVideos(e){e.querySelectorAll("video").forEach((e=>{o.elementIsVisibleInViewport(e,!0)||e.paused||e.pause()}))}static pauseVideos(e){e.querySelectorAll("video").forEach((e=>{e.paused||e.pause()}))}static pauseInvisibleYouTubeIframes(e){e.querySelectorAll("iframe").forEach((e=>{e.src.includes("youtube.com/embed")&&e.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}))}static elementIsVisibleInViewport=(e,t=!1)=>{const{top:s,left:o,bottom:r,right:n}=e.getBoundingClientRect(),{innerHeight:i,innerWidth:a}=window;return t?(s>0&&s<i||r>0&&r<i)&&(o>0&&o<a||n>0&&n<a):s>=0&&o>=0&&r<=i&&n<=a};static checkMedia=e=>!!e.matches;static isFixedPosition=e=>{for(;e&&"body"!==e.nodeName.toLowerCase();){if(window.getComputedStyle(e).getPropertyValue("position").match(/fixed|sticky/i))return!0;e=e.parentNode}return!1};static isNotHidden=e=>{for(;e&&"body"!==e.nodeName.toLowerCase();){if("none"!==window.getComputedStyle(e).getPropertyValue("display")&&"0"!==window.getComputedStyle(e).getPropertyValue("opacity"))return!0;e=e.parentNode}return!1};static throttle=(e,t)=>{let s=null;return(...o)=>{null===s?(e(...o),s=setTimeout((()=>{s=null}),t)):o[0].preventDefault()}};static scrollToBlock=(e,t=null)=>{e&&(Number.isInteger(t)&&(e.style.scrollMargin=`${t}px`),e.scrollIntoView({block:"start",behavior:"smooth"}))};static cloneAndAppendElement=(e,t,s={})=>{const{deepClone:o=!0,modifyClone:r=null,modifyTarget:n=null,newId:i=null,addClassesToClone:a=[],addClassesToTarget:c=[],addClassesToSource:l=[]}=s;if(!e)return;const u=e.cloneNode(o);return i&&(u.id=i),Array.isArray(a)&&a.length>0&&u.classList.add(...a),"function"==typeof r&&r(u),t?(Array.isArray(c)&&c.length>0&&t.classList.add(...c),Array.isArray(l)&&l.length>0&&e.classList.add(...l),"function"==typeof n&&n(t),t.appendChild(u),u):void 0};static handleClickOutside=(e,t,s)=>{if(!e)return;const o=new Set(t.filter(Boolean));document.addEventListener("click",(t=>{if(!e.contains(t.target)){for(const e of o)if(e.contains(t.target))return;s()}}))};static isExternalURL=e=>{if(!e)return;const t=e=>e.replace("http://","").replace("https://","").split("/")[0];return t(location.href)!==t(e)};static isValidUrl=e=>{try{const t=new URL(e);return"http:"===t.protocol||"https:"===t.protocol}catch(e){return!1}};static pushToDataLayer=e=>{"undefined"!=typeof window&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push(e))};static setCookie=(e,t,s)=>{const o=new Date;o.setTime(o.getTime()+24*s*60*60*1e3);const r=`expires=${o.toUTCString()}`;document.cookie=`${e}=${t}; ${r}; path=/`};static getCookie=e=>{const t=`${e}=`,s=document.cookie.split(";");for(let e=0;e<s.length;e++){let o=s[e].trim();if(0===o.indexOf(t))return o.substring(t.length)}return null};static setSessionStorage=(e,t)=>
1{sessionStorage.setItem(e,t)};static getSessionStorage=e=>sessionStorage.getItem(e);static setLocalStorage=(e,t)=>{localStorage.setItem(e,t)};static getLocalStorage=e=>localStorage.getItem(e);static contains=(e,t)=>e===t||t.contains(e);static getMikmakProductNameOrVariant=(e=!0)=>{const t=document.getElementById("mikmak_embed__header-text-above-product"),s=t?t.textContent:"";if(!s)return"";const o=s.split(",");return e?o[0]:o.slice(1).join(",").trim()};static share=async e=>{const t="string"==typeof e?{url:e}:{...e};t.files&&(t.files=t.files.filter((e=>null!=e)));try{await navigator.share(t)}catch(e){console.error("Error sharing content:",e)}};static canShare(e){const t="string"==typeof e?{url:e}:{...e};return t.files&&(t.files=t.files.filter((e=>null!=e))),navigator.canShare(t)}static createBlobFromBase64(e,t="image/png"){const s=e.replace(/^data:image\/[a-z]+;base64,/,""),o=atob(s),r=new Uint8Array(o.length);for(let e=0;e<o.length;e++)r[e]=o.charCodeAt(e);return new Blob([r],{type:t})}static createFileFromBlob(e,t="shared-image.png"){return new File([e],t,{type:e.type,lastModified:Date.now()})}}const r=(e,t)=>window.customMessageValidate&&window.customMessageValidate[e]?window.customMessageValidate[e]:t,n=(e="track",t="SubmitReceiptNow")=>{window.fbq&&window.fbq(e,t)}}}]);
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.