puppeteer/assets/js/14eb3368.436e999c.js

1 line
11 KiB
JavaScript
Raw Normal View History

"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9817],{8064:(e,t,n)=>{n.d(t,{Z:()=>g});var a=n(67294),r=n(86010),i=n(65319),l=n(53964),s=n(87275),c=n(31984),o=n(70676),m=n(92210);function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u.apply(this,arguments)}function d(e){return a.createElement("svg",u({viewBox:"0 0 24 24"},e),a.createElement("path",{d:"M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z",fill:"currentColor"}))}const b={breadcrumbsContainer:"breadcrumbsContainer_Z_bl",breadcrumbHomeIcon:"breadcrumbHomeIcon_OVgt"};function h(){return h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},h.apply(this,arguments)}function p({children:e,href:t,isLast:n}){const r="breadcrumbs__link";return n?a.createElement("span",{className:r,itemProp:"name"},e):t?a.createElement(c.Z,{className:r,href:t,itemProp:"item"},a.createElement("span",{itemProp:"name"},e)):a.createElement("span",{className:r},e)}function v({children:e,active:t,index:n,addMicrodata:i}){return a.createElement("li",h({},i&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},{className:(0,r.Z)("breadcrumbs__item",{"breadcrumbs__item--active":t})}),e,a.createElement("meta",{itemProp:"position",content:String(n+1)}))}function f(){const e=(0,o.Z)("/");return a.createElement("li",{className:"breadcrumbs__item"},a.createElement(c.Z,{"aria-label":(0,m.I)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:(0,r.Z)("breadcrumbs__link",b.breadcrumbsItemLink),href:e},a.createElement(d,{className:b.breadcrumbHomeIcon})))}function g(){const e=(0,l.s1)(),t=(0,s.Ns)();return e?a.createElement("nav",{className:(0,r.Z)(i.k.docs.docBreadcrumbs,b.breadcrumbsContainer),"aria-label":(0,m.I)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"})},a.createElement("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList"},t&&a.createElement(f,null),e.map(((t,n)=>{const r=n===e.length-1;return a.createElement(v,{key:n,active:r,index:n,addMicrodata:!!t.href},a.createElement(p,{href:t.href,isLast:r},t.label))})))):null}},59485:(e,t,n)=>{n.r(t),n.d(t,{default:()=>V});var a=n(67294),r=n(34285),i=n(53964),l=n(70676),s=n(86010),c=n(31984),o=n(47785),m=n(92210);const u="cardContainer_fWXF",d="cardTitle_rnsV",b="cardDescription_PWke";function h({href:e,children:t}){return a.createElement(c.Z,{href:e,className:(0,s.Z)("card padding--lg",u)},t)}function p({href:e,icon:t,title:n,description:r}){return a.createElement(h,{href:e},a.createElement("h2",{className:(0,s.Z)("text--truncate",d),title:n},t," ",n),r&&a.createElement("p",{className:(0,s.Z)("text--truncate",b),title:r},r))}function v({item:e}){const t=(0,i.Wl)(e);return t?a.createElement(p,{href:t,icon:"\ud83d\uddc3\ufe0f",title:e.label,description:(0,m.I)({message:"{count} items",id:"theme.docs.DocCard.categoryDescription",description:"The default description for a category card in the generated index about how many items this category includes"},{count:e.items.length})}):null}function f({item:e}){const t=(0,o.Z)(e.href)?"\ud83d\udcc4\ufe0f":"\ud83d\udd17";var n;const r=(0,i.xz)(null!==(n=e.docId)&&void 0!==n?n:void 0);return a.createElement(p,{href:e.href,icon:t,title:e.label,description:null==r?void 0:r.description})}function g({item:e}){switch(e.type){case"link":return a.createElement(f,{item:e});case"category":return a.createElement(v,{item:e});default:throw new Error(`unknown item type ${JSON.stringify(e)}`)}}function E(){return E=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOw