puppeteer-core
Version:
A high-level API to control headless Chrome over the DevTools Protocol
1 lines • 3.23 kB
Source Map (JSON)
{"version":3,"file":"TextContent.js","sourceRoot":"","sources":["../../../../src/injected/TextContent.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAMH,MAAM,yBAAyB,GAAG,IAAI,GAAG,CAAC,CAAC,UAAU,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;AAE1E;;;;GAIG;AACH,MAAM,qBAAqB,GAAG,CAAC,IAAU,EAA+B,EAAE;IACxE,IAAI,IAAI,YAAY,iBAAiB,EAAE,CAAC;QACtC,OAAO,IAAI,CAAC;IACd,CAAC;IACD,IAAI,IAAI,YAAY,mBAAmB,EAAE,CAAC;QACxC,OAAO,IAAI,CAAC;IACd,CAAC;IACD,IACE,IAAI,YAAY,gBAAgB;QAChC,CAAC,yBAAyB,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,EACzC,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC,CAAC;AAEF,MAAM,qBAAqB,GAAG,IAAI,GAAG,CAAC,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC;AAE3D;;;;GAIG;AACI,MAAM,6BAA6B,GAAG,CAAC,IAAU,EAAW,EAAE;IACnE,OAAO,CACL,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,CAAC,CAC5E,CAAC;AACJ,CAAC,CAAC;AAJW,QAAA,6BAA6B,iCAIxC;AAYF;;GAEG;AACH,MAAM,gBAAgB,GAAG,IAAI,OAAO,EAAqB,CAAC;AAC1D,MAAM,cAAc,GAAG,CAAC,IAAiB,EAAE,EAAE;IAC3C,OAAO,IAAI,EAAE,CAAC;QACZ,gBAAgB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QAC9B,IAAI,IAAI,YAA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