UNPKG

puppeteer-core

Version:

A high-level API to control headless Chrome over the DevTools Protocol

1 lines 3.6 kB
{"version":3,"file":"CallbackRegistry.js","sourceRoot":"","sources":["../../../../src/common/CallbackRegistry.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,qDAA6C;AAC7C,uDAAkD;AAClD,qFAAiF;AAEjF,2CAA4D;AAC5D,uCAAqC;AAErC;;;;GAIG;AACH,MAAa,gBAAgB;IAC3B,UAAU,GAAG,IAAI,GAAG,EAAoB,CAAC;IACzC,YAAY,GAAG,IAAA,0DAA4B,GAAE,CAAC;IAE9C,MAAM,CACJ,KAAa,EACb,OAA2B,EAC3B,OAA6B;QAE7B,MAAM,QAAQ,GAAG,IAAI,QAAQ,CAAC,IAAI,CAAC,YAAY,EAAE,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC;QACnE,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,EAAE,QAAQ,CAAC,CAAC;QAC3C,IAAI,CAAC;YACH,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;QACvB,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,sEAAsE;YACtE,YAAY;YACZ,QAAQ,CAAC,OAAO,CAAC,KAAK,CAAC,oBAAU,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE;gBAC9C,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;YACtC,CAAC,CAAC,CAAC;YACH,QAAQ,CAAC,MAAM,CAAC,KAAc,CAAC,CAAC;YAChC,MAAM,KAAK,CAAC;QACd,CAAC;QACD,0CAA0C;QAC1C,OAAO,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,EAAE;YACnC,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;QACtC,CAAC,CAAC,CAAC;IACL,CAAC;IAED,MAAM,CAAC,EAAU,EAAE,OAAe,EA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