puppeteer/assets/js/14eb3368.9dcd119f.js

1 line
11 KiB
JavaScript
Raw Normal View History

"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9817],{52013:(e,t,n)=>{n.d(t,{Z:()=>E});var a=n(67294),r=n(86010),i=n(65319),l=n(53605),s=n(87275),c=n(31984),o=n(92210),m=n(70676);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 h="breadcrumbHomeIcon_YNFT";function p(){const e=(0,m.Z)("/");return a.createElement("li",{className:"breadcrumbs__item"},a.createElement(c.Z,{"aria-label":(0,o.I)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:"breadcrumbs__link",href:e},a.createElement(d,{className:h})))}const b="breadcrumbsContainer_Z_bl";function v(){return v=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},v.apply(this,arguments)}function f({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 g({children:e,active:t,index:n,addMicrodata:i}){return a.createElement("li",v({},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 E(){const e=(0,l.s1)(),t=(0,s.Ns)();return e?a.createElement("nav",{className:(0,r.Z)(i.k.docs.docBreadcrumbs,b),"aria-label":(0,o.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(p,null),e.map(((t,n)=>{const r=n===e.length-1;return a.createElement(g,{key:n,active:r,index:n,addMicrodata:!!t.href},a.createElement(f,{href:t.href,isLast:r},t.label))})))):null}},59485:(e,t,n)=>{n.r(t),n.d(t,{default:()=>S});var a=n(67294),r=n(89712),i=n(53605),l=n(70676),s=n(86010),c=n(31984),o=n(47785),m=n(92210);const u="cardContainer_fWXF",d="cardTitle_rnsV",h="cardDescription_PWke";function p({href:e,children:t}){return a.createElement(c.Z,{href:e,className:(0,s.Z)("card padding--lg",u)},t)}function b({href:e,icon:t,title:n,description:r}){return a.createElement(p,{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",h),title:r},r))}function v({item:e}){const t=(0,i.Wl)(e);return t?a.createElement(b,{href:t,icon:"\ud83d\uddc3\ufe0f",title:e.label,description:null!==(n=e.description)&&void 0!==n?n:(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;var n}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);var l;return a.createElement(b,{href:e.href,icon:t,title:e.label,description:null!==(l=e.description)&&void 0!==l?l: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.hasOwnProperty.call