{"version":3,"file":"Matches.mjs","sourceRoot":"","sources":["../../../src/meta/Matches.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,MAAM,CAAC,OAAO,cAAe,SAAQ,IAAI;IACxC;;;;OAIG;IACI,GAAG,CAAC,GAAoB,EAAE,KAAY;QAC5C,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,KAAK,CAAC,MAAM,CAAC;IAC3C,CAAC;CACD","sourcesContent":["import { Base } from './Base';\n\nexport default class Matches extends Base {\n\t/**\n\t * Determine if the target of a particular `Event` matches the virtual DOM key\n\t * @param key The virtual DOM key\n\t * @param event The event object\n\t */\n\tpublic get(key: string | number, event: Event): boolean {\n\t\treturn this.getNode(key) === event.target;\n\t}\n}\n"]}