{"version":3,"sources":["webpack:///./portal/Components/Shared/elementClosestPolyfill.ts","webpack:///./portal/Components/Shared/applyPolyfills.ts"],"names":["Element","prototype","matches","elProt","msMatchesSelector","webkitMatchesSelector","closest","s","el","this","parentElement","parentNode","nodeType"],"mappings":"yHAAO,WACL,IAAKA,QAAQC,UAAUC,QAAS,CAC9B,IAAMC,EAASH,QAAQC,UACvBD,QAAQC,UAAUC,QAAUC,EAAOC,mBACPD,EAAOE,sBAGhCL,QAAQC,UAAUK,UACrBN,QAAQC,UAAUK,QAAU,SAAgDC,GAC1E,IAAIC,EAAKC,KAET,EAAG,CACD,GAAID,EAAGN,QAAQK,GAAI,OAAOC,EAC1BA,EAAKA,EAAGE,eAAiBF,EAAGG,iBACd,OAAPH,GAA+B,IAAhBA,EAAGI,UAC3B,OAAO,OCJX,K","file":"applyPolyfills/applyPolyfills.333fc374cce9e4b86b47.js","sourcesContent":["export function polyfill() {\r\n if (!Element.prototype.matches) {\r\n const elProt = Element.prototype as any;\r\n Element.prototype.matches = elProt.msMatchesSelector || \r\n elProt.webkitMatchesSelector;\r\n }\r\n\r\n if (!Element.prototype.closest) {\r\n Element.prototype.closest = function(s : K) {\r\n var el = this;\r\n\r\n do {\r\n if (el.matches(s)) return el;\r\n el = el.parentElement || el.parentNode;\r\n } while (el !== null && el.nodeType === 1);\r\n return null;\r\n };\r\n }\r\n}","// the following are polyfills for old browser (IE) support\r\nimport 'whatwg-fetch';\r\nimport 'core-js';\r\nimport { polyfill as closestpolyfill } from './elementClosestPolyfill';\r\n\r\nfunction applyPolyfills(){\r\n // old browsers (IE) are missing some ES features, so we pollyfill some\r\n\r\n // the `import 'whatwg-fetch' above auto-applies polyfills for window.fetch\r\n // the `import 'core-js' above auto-applies polyfills for most ES features\r\n\r\n closestpolyfill();\r\n}\r\n\r\napplyPolyfills();"],"sourceRoot":""}