mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
2 lines
1.6 MiB
JavaScript
2 lines
1.6 MiB
JavaScript
|
/*! For license information please see main.9ee296b0.js.LICENSE.txt */
|
||
|
(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[40179],{99782:function(e,p){"use strict";p.Z={title:"Puppeteer documentation",tagline:"Note: this documentation is WIP. Please use https://pptr.dev.",url:"https://puppeteer.github.io/",baseUrl:"/puppeteer/",onBrokenLinks:"warn",onBrokenMarkdownLinks:"ignore",favicon:"img/favicon.ico",organizationName:"puppeteer",projectName:"puppeteer",themeConfig:{hideableSidebar:!0,navbar:{style:"primary",title:"Puppeteer",logo:{alt:"My Site Logo",src:"img/logo.svg"},hideOnScroll:!0,items:[{to:"docs/puppeteer.puppeteer",label:"APIs",position:"left"},{to:"blog/contributing",label:"Contribute",position:"left"},{type:"docsVersionDropdown",position:"left",dropdownItemsBefore:[],dropdownItemsAfter:[]},{label:"Github",href:"https://github.com/puppeteer/puppeteer",position:"right"},{label:"Stack",href:"https://stackoverflow.com/questions/tagged/puppeteer",position:"right"},{label:"Version 1.0",href:"https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md",position:"right"}]},footer:{style:"dark",links:[]},prism:{theme:{plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},darkTheme:{plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},additionalLanguages:[]},colorMode:{defaultMode:"light",disableSwitch:!1,respectPrefersColorScheme:!1,switchConfig:{darkIcon:"\ud83c\udf1c",darkIconStyle:{},lightIcon:"\ud83c\udf1e",lightIconStyle:{}}},docs:{versionPersistence:"localStorage"},metadatas:[]},presets:[["@docusaurus/preset-classic",{docs:{sidebarPath:"/home/runner/work/puppeteer/puppeteer/website/sidebars.js",editUrl:"https://github.com/facebook/puppeteer/edit/main/website/"},theme:{customCss:"/home/runner/work/puppeteer/puppeteer/website/src/css/custom.css"}}]],baseUrlIssueBanner:!0,i18n:{defaultLocale:"en",locales:["en"],localeConfigs:{}},onDuplicateRoutes:"warn",customFields:{},plugins:[],themes:[],titleDelimiter:"|",noIndex:!1}},28845:function(e,p,t){"use strict";var r=t(67294),o=t(73935),n=t(73727),c=t(82203),s=t.n(c),u=function(e){var p=e.error,t=e.retry,o=e.pastDelay;return p?r.createElement("div",{style:{align:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"}},r.createElement("p",null,p.message),r.createElement("div",null,r.createElement("button",{type:"button",onClick:t},"Retry"))):o?r.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"}},r.createElement("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb"},r.createElement("g",{fill:"none",fillRule:"evenodd",transform:"t
|