{"version":3,"sources":["assets/src/js/Services/ContactFormResponseService.js"],"names":["ContactFormResponse","showMessage"],"mappings":"AAAA,IAAIA,oBAAsB,WAEtB,MAAO,CACHC,YAAa","file":"ContactFormResponseService.js","sourcesContent":["var ContactFormResponse = function () {\r\n\r\n return {\r\n showMessage: function () {\r\n // $('document').on('submit', function () {\r\n // setTimeout(\r\n // $(\".mi-contact-form\").html(\" Thank you for contacting us!. We will answer you as soon as possible.\"),\r\n // 2000);\r\n // });\r\n\r\n // var mutationObserver = new MutationObserver(function (mutations) {\r\n // mutations.forEach(function (mutation) {\r\n // console.log(mutation);\r\n // });\r\n // });\r\n //\r\n // mutationObserver.observe(document.documentElement, {\r\n // attributes: true,\r\n // attributeFilter: ['style']\r\n // });\r\n\r\n\r\n // var target = document.querySelectorAll('img[data-sf-role=\"loading-img\"]');\r\n //\r\n // for (var i = 0; i < target.length; i++) {\r\n //\r\n // // create an observer instance\r\n // var observer = new MutationObserver(function (mutations) {\r\n // mutations.forEach(function (mutation) {\r\n // var foo = mutation.target.getAttribute(\"someAttribute\")\r\n //\r\n // if (foo == \"someValue\")\r\n // mutation.target.style.backgroundColor = \"red\";\r\n // });\r\n // });\r\n //\r\n // // configuration of the observer\r\n // var config = {attributes: true};\r\n //\r\n // // pass in the target node, as well as the observer options\r\n // observer.observe(target[i], config);\r\n // }\r\n //\r\n // // let's change an attribute in a second\r\n // setTimeout(function () {\r\n // target[2].setAttribute('someAttribute', 'someValue');\r\n // }, 1000);\r\n\r\n //\r\n // $(\"#mi-contact-form-email\").on('submit', function () {\r\n //\r\n // $(\".mi-contact-form\").promise().done(function () {\r\n // $(this).html(\" Thank you for contacting us!. We will answer you as soon as possible.\")\r\n // });\r\n // });\r\n }\r\n }\r\n};"]}