{"version":3,"sources":["polyfills/element-matches.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,QAAA,MAAM,eAAe,QAEjB,CAAC","file":"element-matches.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nconst matchesFuncName = ['matches', 'webkitMatchesSelector', 'msMatchesSelector'].filter(\n  name => typeof Element.prototype[name] === 'function'\n)[0];\n\nif (matchesFuncName !== 'matches') {\n  Element.prototype.matches = Element.prototype[matchesFuncName];\n}\n"]}