(() => { var bundles = [['dynamicEngagements', () => { var define = true; !function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.obBundle=n():(e.obBundle=e.obBundle||{},e.obBundle.dynamicEngagement=n())}(self,()=>(()=>{"use strict";var t={d:(e,n)=>{for(var o in n)t.o(n,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})},o:(e,n)=>Object.prototype.hasOwnProperty.call(e,n),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{DynamicEngagements:()=>i,factory:()=>r});function n(){for(var e=[],n=0;n { var define = true; !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.obBundle=t():(e.obBundle=e.obBundle||{},e.obBundle.events=t())}(self,()=>(()=>{"use strict";var o={d:(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},e={};o.r(e),o.d(e,{EventsBinder:()=>a,factory:()=>function(){for(var e=[],t=0;t ")}function m(e){if(e)return e.id||(e.attribs?e.attribs.id:void 0)}function h(e){if(e)return e.className||(e.attribs?e.attribs.class:void 0)}function f(e,t){var n;if(void 0===t&&(t=window),!e)return[];var o=[];try{o=Array.from(null==(n=t.document)?void 0:n.querySelectorAll(e))}catch(n){i("ERROR: in querySelectorAll ".concat(n.message," ").concat(e," trying with sanitized selector")),o=Array.from(null==(t=t.document)?void 0:t.querySelectorAll(e.replace(/[^a-zA-Z0-9-_:.#\s()]/g,"")))}return i("last selector used ".concat(e," results ").concat(o.length)),o}var r,g=function(){return(g=Object.assign||function(e){for(var t,n=1,o=arguments.length;n "),o=t.split(" > ");if(0===n.length||0===o.length)return 1;for(var r=Math.max(n.length,o.length);n.length").map(function(e){return e.trim()}),o=/#([\w-]+)/,(r=n.filter(function(e){return o.test(e)})).length)?(n=n[n.length-1],r=r.join(" ").trim()+" "+n,f(r,e._window)):[]},function(e,t,n){if(null==n||!n.length)return[];n[0],n[1];var n=n[2].split(">").map(function(e){return e.trim()}),o=n.pop(),r=n.filter(function(e){return e.match(/.\w+$/)});if(!r.length)return[];for(var i=[],a=!0;!i.length&&r.length;)a||r.shift(),i=f(r.join(" ").trim()+" "+o,e._window),a=!1;return i},function(e,t,n){if(null==n||!n.length)return[];for(var o=n[0],r=o.replace(/:nth-of-type\(\d+\)/gi,""),i=[];o!==r&&i.length<3;)o=o.replace(/:nth-of-type\(\d+\)/,""),i=f(o,e._window);return i}],this.locationHref=e}return e})()),"undefined"!=typeof obBundle&&(new obBundle.events.EventsBinder).execute([{conversion:{name:"Get A Quote Start"},metadata:{conversionId:"00224ca8a9b08a1c8ef0fec760d9735601",cssPath:"div#navbarNav > div > a:nth-of-type(2)",tagName:"A",elText:"Get A Quote",finalUrl:"https://ascentialbuildings.com/",enableGlobalConversion:"/",groupAnchorElementsWithUrl:null,groupElementsWithText:"Get A Quote"},cssSelectors:["html > body > div:nth-of-type(1) > header#header > nav > div > div#navbarNav > div > a:nth-of-type(2)","html > body > div.page-wrapper > header.site-header > nav.navbar > div.container-fluid > div.collapse > div.d-flex > a.btn","html > body > div.page-wrapper > header.site-header.header-style-2 > nav.navbar.navbar-expand-lg > div.container-fluid > div.collapse.navbar-collapse > div.d-flex.flex-column > a.btn.btn-primary","html > body > div.page-wrapper > header.site-header.header-style-2.sticky-top > nav.navbar.navbar-expand-lg.navbar-light > div.container-fluid > div.collapse.navbar-collapse > div.d-flex.flex-column.flex-lg-row > a.btn.btn-primary.btn-lg"],domTrail:[{tagName:"A",elementAttributeNames:"class:btn btn-primary btn-lg;href:/contact?prod=Quote%20Request;",elementId:"",elementNthChild:2},{tagName:"DIV",elementAttributeNames:"class:d-flex flex-column flex-lg-row align-items-lg-center mt-3 mt-lg-0 ms-lg-auto;",elementId:"",elementNthChild:0},{tagName:"DIV",elementAttributeNames:"class:collapse navbar-collapse;id:navbarNav;",elementId:"navbarNav",elementNthChild:0},{tagName:"DIV",elementAttributeNames:"class:container-fluid;",elementId:"",elementNthChild:0},{tagName:"NAV",elementAttributeNames:"class:navbar navbar-expand-lg navbar-light bg-light;",elementId:"",elementNthChild:0},{tagName:"HEADER",elementAttributeNames:"id:header;class:site-header header-style-2 sticky-top;",elementId:"header",elementNthChild:0},{tagName:"DIV",elementAttributeNames:"class:page-wrapper;",elementId:"",elementNthChild:1},{tagName:"BODY",elementAttributeNames:"data-new-gr-c-s-check-loaded:14.1243.0;data-gr-ext-installed:;data-new-gr-c-s-loaded:14.1243.0;",elementId:"",elementNthChild:0},{tagName:"HTML",elementAttributeNames:"lang:en;class:;",elementId:"",elementNthChild:0}]},{conversion:{name:"Lead Submit"},metadata:{conversionId:"003e93d2327d78867c6211356e822f0131",cssPath:"section#contact-us-new > div > div > div > div > div:nth-of-type(2) > form > div:nth-of-type(2) > button",tagName:"BUTTON",elText:"Submit Request",finalUrl:"https://ascentialbuildings.com/contact/?prod=Quote%20Request",enableGlobalConversion:"",groupAnchorElementsWithUrl:null,groupElementsWithText:null},cssSelectors:["html > body > div:nth-of-type(1) > section#contact-us-new > div > div > div > div > div:nth-of-type(2) > form > div:nth-of-type(2) > button","html > body > div.page-wrapper > section.py-5 > div.container > div.row > div.col-lg-10 > div.card > div.card-body > form.contact-validation-active > div.d-grid > button.btn","html > body > div.page-wrapper > section.py-5.bg-body-tertiary > div.container > div.row.justify-content-center > div.col-lg-10.col-xl-8 > div.card.shadow-lg > div.card-body.p-4 > form.contact-validation-active > div.d-grid.mt-4 > button.btn.btn-primary","html > body > div.page-wrapper > section.py-5.bg-body-tertiary > div.container > div.row.justify-content-center > div.col-lg-10.col-xl-8 > div.card.shadow-lg.border-0 > div.card-body.p-4.p-md-5 > form.contact-validation-active > div.d-grid.mt-4 > button.btn.btn-primary.btn-lg"],domTrail:[{tagName:"BUTTON",elementAttributeNames:"type:submit;class:btn btn-primary btn-lg fw-semibold;",elementId:"",elementNthChild:0},{tagName:"DIV",elementAttributeNames:"class:d-grid mt-4;",elementId:"",elementNthChild:2},{tagName:"FORM",elementAttributeNames:"method:post;class:contact-validation-active;action:/inc/submit-contact-form.php;",elementId:"",elementNthChild:0},{tagName:"DIV",elementAttributeNames:"class:card-body p-4 p-md-5;",elementId:"",elementNthChild:2},{tagName:"DIV",elementAttributeNames:"class:card shadow-lg border-0;",elementId:"",elementNthChild:0},{tagName:"DIV",elementAttributeNames:"class:col-lg-10 col-xl-8;",elementId:"",elementNthChild:0},{tagName:"DIV",elementAttributeNames:"class:row justify-content-center;",elementId:"",elementNthChild:0},{tagName:"DIV",elementAttributeNames:"class:container;",elementId:"",elementNthChild:0},{tagName:"SECTION",elementAttributeNames:"class:py-5 bg-body-tertiary;id:contact-us-new;style:background-image: url('https://hosting.ascentialbuildings.com/email-hosting/ASB-Background-Img.webp'); background-position: center; background-size: cover; background-repeat: no-repeat;;",elementId:"contact-us-new",elementNthChild:0},{tagName:"DIV",elementAttributeNames:"class:page-wrapper;",elementId:"",elementNthChild:1},{tagName:"BODY",elementAttributeNames:"data-new-gr-c-s-check-loaded:14.1243.0;data-gr-ext-installed:;data-new-gr-c-s-loaded:14.1243.0;",elementId:"",elementNthChild:0},{tagName:"HTML",elementAttributeNames:"lang:en;",elementId:"",elementNthChild:0}]}]); }]]; for (var i = 0; i < bundles.length; i++) { var bundle = bundles[i]; bundle[1].call(window, bundle[2]); } })()