{"version":3,"file":"notification.js","mappings":";;;;;;;AAAa;AACb;AACA,2CAA2C;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","sources":["C:\\source\\repos\\PortalLGPD\\src\\1 - Portal\\PortalLGPD\\lib\\ts\\notification.ts"],"sourcesContent":["\"use strict\";\r\nvar _a, _b, _c, _d;\r\nvar getNotificationLabel = function (id) { return document.querySelector(id); };\r\nvar hideNotification = function (e) {\r\n var lbl = e.target;\r\n var parent = lbl.parentElement;\r\n if (!parent)\r\n return;\r\n parent.classList.add('hidden');\r\n lbl.innerText = '';\r\n};\r\n(_a = getNotificationLabel('#label-notification')) === null || _a === void 0 ? void 0 : _a.addEventListener('click', hideNotification);\r\n(_b = getNotificationLabel('#label-success-notification')) === null || _b === void 0 ? void 0 : _b.addEventListener('click', hideNotification);\r\n(_c = getNotificationLabel('#label-backend-success-notification')) === null || _c === void 0 ? void 0 : _c.addEventListener('click', hideNotification);\r\n(_d = getNotificationLabel('#label-backend-error-notification')) === null || _d === void 0 ? void 0 : _d.addEventListener('click', hideNotification);\r\n"],"names":[],"sourceRoot":""}