PageSourceSearch

https://zolak.tech/hubfs/hub_generated/template_assets/1/65035204804/1789141347890/template_popup-forms.min.js

js zolak.tech collected 2026-10-02 05:56:54 UTC 3,604 bytes, 2 lines download raw bytes

1const clsBtn=document.createElement("a");function formCLose(){const closeAll=document.querySelector("div.cssbox");if(closeAll){closeAll.remove();document.querySelector("body.hs-showing-pop-up").classList.remove("hs-showing-pop-up")}}function popTimeout(){setTimeout(()=>{formCLose()},7e3)}function getDemo(){const newDiv=document.createElement("div"),mainWrap=document.createElement("div"),formWrap=document.createElement("div"),bodyDoc=document.querySelector("body");bodyDoc.classList.add("hs-showing-pop-up"),newDiv.classList.add("pop_up","cssbox"),mainWrap.classList.add("main_wrapper"),formWrap.classList.add("form_wrapper");const popUpWrap=document.createElement("span");clsBtn.classList.add("cssbox_close"),popUpWrap.classList.add("cssbox_full"),bodyDoc.append(newDiv),newDiv.append(popUpWrap),popUpWrap.append(mainWrap),mainWrap.innerHTML="<div class='text-wrapper'><h2 class='title'>Book a Demo</h2><p class='content-message'><span class='accent'>Personalize shopping </span>with Zolak's <span class='accent'>furniture visualization </span>solutions</p></div>",mainWrap.append(formWrap),mainWrap.append(clsBtn),hbspt.forms.create({region:"eu1",portalId:"26282197",formId:"45594ccb-d974-4e6e-9add-e873102ff5d7",target:".form_wrapper",formInstanceId:"1",submitButtonClass:"button button--brutalist form",errorMessageClass:"zolak-input_error",cssClass:"zolak",onFormReady:function($form){document.querySelector("textarea.hs-fieldtype-textarea").value=""},onFormSubmit:function($form){document.querySelector(".text-wrapper").innerHTML="<h2 class='title' style='width: 80%; margin-bottom: 35px;'><span style='color: #3333ff;'>Thank You</span><br>for Choosing Zolak.</h2><p class='content-message'><span class='accent'>We've accepted your request.</span> Our team will be in touch with you shortly to follow up on the details.</p>",popTimeout()}})}function getReport(){const newDiv=document.createElement("div"),mainWrap=document.createElement("div"),formWrap=document.createElement("div"),bodyDoc=document.querySelector("body");bodyDoc.classList.add("hs-showing-pop-up"),newDiv.classList.add("pop_up","cssbox"),mainWrap.classList.add("main_wrapper"),formWrap.classList.add("form_wrapper");const popUpWrap=document.createElement("span");clsBtn.classList.add("cssbox_close"),popUpWrap.classList.add("cssbox_full"),bodyDoc.append(newDiv),newDiv.append(popUpWrap),popUpWrap.append(mainWrap),mainWrap.innerHTML="<div class='text-wrapper'><h2 class='title'>Get a Report</h2><p class='content-message'>Enter your <span class='accent'> contact details </span>and the <span class='accent'> document </span> will be sent to your email</p></div>",mainWrap.append(formWrap),mainWrap.append(clsBtn),hbspt.forms.create({region:"eu1",portalId:"26282197",formId:"b5a2e0d4-ebab-4a1f-a852-8178e155c8ca",target:".form_wrapper",formInstanceId:"2",submitButtonClass:"button button--brutalist form",errorMessageClass:"zolak-input_error",cssClass:"zolak report",onFormReady:function($form){document.querySelector("textarea.hs-fieldtype-textarea").value=""},onFormSubmit:function($form){document.querySelector(".text-wrapper").innerHTML="<h2 class='title' style='width: 65%; margin-bottom: 35px;'><span style='color: #3333ff;'>Thank You</span><br>for Your Request.</h2><p class='content-message'>Your <span class='accent'>document </span> has been sent.</p>",popTimeout()}})}clsBtn.classList.add("cssbox_close"),clsBtn.addEventListener("click",event=>{formCLose()});
2//# sourceURL=https://26282197.fs1.hubspotusercontent-eu1.net/hubfs/26282197/hub_generated/template_assets/1/65035204804/1789141347890/template_popup-forms.js

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.