puppeteer-core
Version:
A high-level API to control headless Chrome over the DevTools Protocol
1 lines • 6.5 kB
Source Map (JSON)
{"version":3,"file":"PQuerySelector.js","sourceRoot":"","sources":["../../../../src/injected/PQuerySelector.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAGH,uEAA+D;AAE/D,iEAA4D;AAC5D,qEAA8D;AAC9D,iEAA4D;AAC5D,uCAA4C;AAC5C,mEAA8D;AAE9D,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;AAqC7C,MAAM,eAAe,GAAG,CAAC,IAAU,EAAyB,EAAE;IAC5D,OAAO,kBAAkB,IAAI,IAAI,CAAC;AACpC,CAAC,CAAC;AAEF,MAAM,YAAY;IAChB,gBAAgB,CAAmB;IACnC,iBAAiB,GAAsB,EAAE,CAAC;IAC1C,SAAS,GAA8C,SAAS,CAAC;IAEjE,QAAQ,CAA0B;IAElC,YAAY,OAAa,EAAE,eAAiC;QAC1D,IAAI,CAAC,QAAQ,GAAG,CAAC,OAAO,CAAC,CAAC;QAC1B,IAAI,CAAC,gBAAgB,GAAG,eAAe,CAAC;QACxC,IAAI,CAAC,KAAK,EAAE,CAAC;IACf,CAAC;IAED,KAAK,CAAC,GAAG;QACP,IAAI,OAAO,IAAI,CAAC,SAAS,KAAK,QAAQ,EAAE,CAAC;YACvC,QAAQ,IAAI,CAAC,SAAS,CAAC,SAAS,EAAE,EAAE,CAAC;gBACnC,KAAK,QAAQ;oBACX,sEAAsE;oBACtE,iEAAiE;oBACjE,2DAA2D;oBAC3D,qEAAqE;oBACrE,mEAAmE;oBACnE,4DAA4D;oBAC5D,IAAI,CAAC,KAAK,EAAE,CAAC;oBACb,MAAM;YACV,CAAC;QACH,CAAC;QAED,OAAO,IAAI,CAAC,SAAS,KAAK,SAAS,EAAE,IAAI,CAAC,KAAK,EAAE,EAAE,CAAC;YAClD,MAAM,QAAQ,GAAG,IAAI,CAAC,SAAS,CAAC;YAChC,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE,CAAC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