';
parents[0].innerHTML = newContent;
}
}
});
}
const btn = document.querySelector('.navbar-toggler');
const menu = document.querySelector('.span_9 ');
const body = document.querySelector('body');
btn.addEventListener('click', () => {
if (btn.classList.contains('collapsed')) {
btn.classList.remove('collapsed');
menu.classList.remove('collapsed');
} else {
btn.classList.add('collapsed');
menu.classList.add('collapsed');
}
})
document.querySelectorAll(".hs-menu-depth-1.hs-item-has-children ").forEach(link => {
const a = link.querySelector('a')
a.removeAttribute("href")
});
const specifiedElement = document.querySelectorAll('.hs-menu-children-wrapper')
const header = document.querySelectorAll('.header-updated-menu')
const menuItemDepth1 = document.getElementsByClassName('hs-menu-depth-1 active');
document.addEventListener('click', event => {
const isClickInside = specifiedElement[0].contains(event.target)
const isClickInsideHeader = header[0].contains(event.target)
if(menuItemDepth1[0]){
if (!isClickInsideHeader ) {
if (!isClickInside ) {
menuItemDepth1[0].classList.remove('active');
}
}
}
})
Thanks for reaching out!<\/p>",
rawInlineMessage: "
Thanks for reaching out!<\/p>",
hsFormKey: "ef3650106528f7dc8f58c30ca6a6d95f",
css: '',
target: '#hs_form_target_widget_1727808666559',
contentType: "standard-page",
formsBaseUrl: '/_hcms/forms/',
formData: {
cssClass: 'hs-form stacked hs-custom-form'
}
};
options.getExtraMetaDataBeforeSubmit = function() {
var metadata = {};
if (hbspt.targetedContentMetadata) {
var count = hbspt.targetedContentMetadata.length;
var targetedContentData = [];
for (var i = 0; i < count; i++) {
var tc = hbspt.targetedContentMetadata[i];
if ( tc.length !== 3) {
continue;
}
targetedContentData.push({
definitionId: tc[0],
criterionId: tc[1],
smartTypeId: tc[2]
});
}
metadata["targetedContentMetadata"] = JSON.stringify(targetedContentData);
}
return metadata;
};
hbspt.forms.create(options);