document.write("
{ "success": 1, "data": { "total_count": 12, "start_offset": 0, "data": [ { "id": 44, "res_id": 6, "user_id": 0, "code": "contact", "type": "L", "is_global": false, "active": true, "file": "b05\\/themes\\/00000001\\/shadows\\/extensions\\/contact\\/contact.js", "templ_id": 0, "attributes": [ ], "linkedpages": [ { "id": 38, "secure": false, "code": "CTUS", "name": "Contact Us", "title": "", "ui_id": 152 } ], "source": "(function () {\\n\\t'use strict';\\n\\n\\tconst contactForm = document.querySelector('[data-hook=\\"contact-form\\"]');\\n\\n\\tif (contactForm) {\\n\\t\\tlet contactFormAction = contactForm.getAttribute('data-action');\\n\\t\\tlet contactFormButton = document.querySelector('[data-hook=\\"contact-form__submit\\"]');\\n\\t\\tlet requiredLabels = contactForm.querySelectorAll('label.is-required');\\n\\t\\tlet enableForm = function enableForm() {\\n\\t\\t\\tif (contactForm.action === document.location.href) {\\n\\t\\t\\t\\tcontactForm.setAttribute('action', contactFormAction);\\n\\t\\t\\t\\tcontactFormButton.removeAttribute('disabled');\\n\\t\\t\\t\\tArray.prototype.forEach.call(requiredLabels, function (label) {\\n\\t\\t\\t\\t\\tlet span = document.createElement('span');\\n\\n\\t\\t\\t\\t\\tspan.setAttribute('aria-hidden', 'true');\\n\\t\\t\\t\\t\\tspan.innerText = ' *';\\n\\t\\t\\t\\t\\tlabel.append(span);\\n\\t\\t\\t\\t});\\n\\t\\t\\t}\\n\\t\\t};\\n\\n\\t\\tcontactForm.classList.remove('u-hidden');\\n\\n\\t\\t\\/**\\n\\t\\t * Unlock the form if the user is utilizing a touch interface, keyboard navigation, or can hover over elements.\\n\\t\\t *\\/\\n\\t\\t['touchstart', 'keydown', 'mouseover'].forEach(function (type) {\\n\\t\\t\\twindow.addEventListener(type, function powerUp(event) {\\n\\t\\t\\t\\tenableForm();\\n\\t\\t\\t\\twindow.removeEventListener(type, powerUp, false);\\n\\t\\t\\t}, false);\\n\\t\\t});\\n\\t}\\n})();\\n", "source_user_id": 0 } ] } }